text: /* Do not modify this file directly. It is compiled from other files. */
  /* global ajaxurl */
  !function(){function e(){var e=document.querySelector("#wpadminbar"),t=document.querySelector("#wpwrap"),n=document.querySelector("#adminmenu");if(e){!function(){var e=document.querySelector(".wp-submenu .current > a");if(!e)return;e.focus()}(),o("false");var r=e.querySelector("#wp-admin-bar-blog");if(r&&r.addEventListener("click",function(n){n.preventDefault();for(var r=e.querySelectorAll(".hover"),a=0;a<r.length;a++)r[a].classList.remove("hover");if(t.classList.toggle("wp-responsive-open"),t.classList.contains("wp-responsive-open")){o("true");var u=document.querySelector("#adminmenu a");u&&u.focus()}else o("false")}),n){var a=n.querySelector("#collapse-button");a&&a.addEventListener("click",function(e){setTimeout(function(){var t,n,r,a,o,u;u=e.target.parentNode.ariaExpanded,t="POST",n=ajaxurl,r="application/x-www-form-urlencoded; charset=UTF-8",a="action=sidebar_state&expanded="+u,(o=new XMLHttpRequest).open(t,n,!0),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),r&&o.setRequestHeader("Content-Type",r),o.withCredentials=!0,o.send(a)},50)})}}function o(t){for(var n=e.querySelectorAll("#wp-admin-bar-blog a"),r=0;r<n.length;r++)n[r].setAttribute("aria-expanded",t)}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}();