(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i{class FooterMenu extends DetailsDisclosure{constructor(){super(),this.reset(!1),window.addEventListener("on:breakpoint-change",this.reset.bind(this))}reset(){const isLargeScreen=window.matchMedia(theme.mediaQueries.md).matches,isConfirmNewsletter=!isLargeScreen&&window.location.hash==="#footer-signup_form"&&this.querySelector("#footer-signup_form")!==null;this.disclosure.open=isLargeScreen||isConfirmNewsletter,isLargeScreen?this.toggle.setAttribute("tabindex","-1"):this.toggle.removeAttribute("tabindex")}}customElements.define("footer-menu",FooterMenu)})}catch(e){console.error(e)}}(),function(){if(__sections__.header)try{customElements.whenDefined("details-disclosure").then(()=>{class NavMenu extends DetailsDisclosure{constructor(){super(),this.matches(".js-mega-nav")&&(this.reset(!1),window.addEventListener("on:breakpoint-change",this.reset.bind(this)))}reset(resize=!0){const isLargeScreen=window.matchMedia(theme.mediaQueries.md).matches;this.disclosure.open=isLargeScreen,isLargeScreen?this.toggle.setAttribute("tabindex","-1"):this.toggle.removeAttribute("tabindex")}handleToggle(e){this.matches(".js-mega-nav")&&window.matchMedia(theme.mediaQueries.md).matches||super.handleToggle(e)}}customElements.define("nav-menu",NavMenu)})}catch(e){console.error(e)}}()})(); //# sourceMappingURL=/cdn/shop/t/23/compiled_assets/scripts.js.map?7347=