(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");ievent.code.toUpperCase()==="ESCAPE"&&this.close()),this.summary.addEventListener("click",this.onSummaryClick.bind(this)),document.addEventListener("matchMobile",this.close.bind(this)),document.addEventListener("unmatchMobile",this.open.bind(this)),FoxThemeSettings.isMobile&&this.close()}onSummaryClick(event){event.preventDefault(),event.target.closest("details").hasAttribute("open")?this.close():this.open()}open(){this.details.setAttribute("open",!0)}close(){!this.summaryIsEmpty&&this.details.removeAttribute("open")}}customElements.define("footer-collapsible",FooterCollapsible)}catch(e){console.error(e)}}(),function(){if(__sections__.header)try{class HeaderMenu extends DetailsDisclosure{constructor(){super(),this.header=document.querySelector(".site-header__wrapper")}onToggle(){this.header&&(this.header.preventReveal=this.mainDetailsToggle.open)}}customElements.define("header-menu",HeaderMenu)}catch(e){console.error(e)}}(),function(){if(__sections__["mobile-sticky-bar"])try{class MobileStickyBar extends HTMLElement{constructor(){super(),document.body.classList.add("mobile-sticky-bar-enabled")}connectedCallback(){this.init()}init(){const isMobile=window.matchMedia("(max-width: 639px)");isMobile.addEventListener("change",this.checkDevice.bind(this)),this.checkDevice(isMobile)}checkDevice(e){const sectionHeight=this.clientHeight+"px";document.documentElement.style.setProperty("--f-mobile-navbar-height",sectionHeight)}}customElements.define("mobile-sticky-bar",MobileStickyBar)}catch(e){console.error(e)}}(),function(){if(!(!__sections__.press&&!window.DesignMode))try{class PressNavComponent extends SliderComponent{constructor(){super(),document.addEventListener("matchMobile",()=>this.slider.instance.resize()),document.addEventListener("unmatchMobile",()=>this.slider.instance.resize())}}customElements.define("press-nav-component",PressNavComponent)}catch(e){console.error(e)}}()})(); //# sourceMappingURL=/cdn/shop/t/3/compiled_assets/scripts.js.map?1146=