var astraGetParents=function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),a=t.length;0<=--a&&t.item(a)!==this;);return-1 #ast-desktop-header .ast-desktop-header-content"),n=document.querySelector(".elementor-editor-active"),a&&(a.style.display="none"),window.innerWidth!==s&&(t&&null===n&&t.click(),document.body.classList.remove("ast-main-header-nav-open","ast-popup-nav-open"),e&&null==n&&e.click()),o(),AstraToggleSetup())}),document.addEventListener("DOMContentLoaded",function(){var e;AstraToggleSetup(),null!==(e=d.classList.contains("ast-header-break-point")?document.getElementById("ast-mobile-header"):document.getElementById("ast-desktop-header"))&&function(e,t){if(e&&t){var a=t.getElementsByTagName("button")[0];if(void 0!==a||void 0!==(a=t.getElementsByTagName("a")[0])){var n=e.getElementsByTagName("ul")[0];if(void 0!==n){n.setAttribute("aria-expanded","false"),-1===n.className.indexOf("nav-menu")&&(n.className+=" nav-menu"),"off-canvas"===c&&(document.getElementById("menu-toggle-close").onclick=function(){-1!==e.className.indexOf("toggled")?(e.className=e.className.replace(" toggled",""),a.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false")):(e.className+=" toggled",a.setAttribute("aria-expanded","true"),n.setAttribute("aria-expanded","true"))}),a.onclick=function(){-1!==e.className.indexOf("toggled")?(e.className=e.className.replace(" toggled",""),a.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false")):(e.className+=" toggled",a.setAttribute("aria-expanded","true"),n.setAttribute("aria-expanded","true"))};for(var s=n.getElementsByTagName("a"),o=n.getElementsByTagName("ul"),l=0,r=o.length;l .menu-link, ul.main-header-menu .ast-menu-toggle"):e[s].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var o=0;o #ast-mobile-header .main-header-bar-navigation");l=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-menu-toggle");e="0";if(null!==this.closest("#ast-fixed-header")&&(t=document.querySelectorAll("#ast-fixed-header > #ast-mobile-header .main-header-bar-navigation"),l=document.querySelectorAll("#ast-fixed-header .main-header-menu-toggle"),e="0"),void 0===t[e])return!1;for(var a=t[e].querySelectorAll(".menu-item-has-children"),n=0;n