PageSourceSearch

https://blitzway.com/cdn/shop/t/59/compiled_assets/scripts.js?v=48693610451017946911790646358

js blitzway.com collected 2026-10-02 11:41:32 UTC 5,359 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(__sections__.header)try{class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type")==="always"||this.getAttribute("data-sticky-type")==="reduce-logo-size",this.headerBounds={},this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.predictiveSearch=this.querySelector("predictive-search"),this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(this.predictiveSearch&&this.predictiveSearch.isOpen)return;let annoucementBar=document.querySelector(".announcement-bar-section"),announceHeight=annoucementBar?annoucementBar.clientHeight:0,windowWidth=window.innerWidth,headerTop=announceHeight,headerTopwide=announceHeight-2,collectionTopSlider=document.querySelector("[collection-outer-slider]"),headerHeight=document.querySelector(".section-header").clientHeight,collectionSliderTop=headerTopwide+headerHeight,staticpagetopbar=document.querySelector("[static-page-top-bar]");if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(windowWidth<767&&annoucementBar&&(annoucementBar.style.position="sticky",window.__bwHomeHeaderGeometry?.markMobileSticky(annoucementBar)),this.header.classList.add("scrolled-past-header"),windowWidth>3e3?(this.header.style.top=`${annoucementBar?headerTopwide:0}px`,document.documentElement.classList.contains("bw-home-header-geometry")&&this.header.style.setProperty("--bw-initial-header-offset",this.header.style.top),collectionTopSlider&&(collectionTopSlider.style.top=`${collectionSliderTop}px`)):(this.header.style.top=`${annoucementBar?headerTop-1:0}px`,document.documentElement.classList.contains("bw-home-header-geometry")&&this.header.style.setProperty("--bw-initial-header-offset",this.header.style.top),collectionTopSlider&&(collectionTopSlider.style.top=`${collectionSliderTop-1}px`)),staticpagetopbar&&(staticpagetopbar.style.position="fixed",staticpagetopbar.style.top=`${headerHeight+announceHeight-2}px`,staticpagetopbar.style.paddingTop="0"),this.preventHide)return;requestAnimationFrame(this.hide.bind(this))}else scrollTop<this.currentScrollTop&&scrollTop>this.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),windowWidth>3e3?(this.header.style.top=`${annoucementBar?headerTopwide:0}px`,document.documentElement.classList.contains("bw-home-header-geometry")&&this.header.style.setProperty("--bw-initial-header-offset",this.header.style.top),collectionTopSlider&&(collectionTopSlider.style.top=`${collectionSliderTop}px`)):(this.header.style.top=`${annoucementBar?headerTop-1:0}px`,document.documentElement.classList.contains("bw-home-header-geometry")&&this.header.style.setProperty("--bw-initial-header-offset",this.header.style.top),collectionTopSlider&&(collectionTopSlider.style.top=`${collectionSliderTop-1}px`)),staticpagetopbar&&(staticpagetopbar.style.position="fixed",staticpagetopbar.style.top=`${headerHeight+announceHeight-2}px`,staticpagetopbar.style.paddingTop="0"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)),staticpagetopbar&&(staticpagetopbar.style.position="relative",staticpagetopbar.style.top="0",staticpagetopbar.style.paddingTop=`${announceHeight-2}px`));this.currentScrollTop=scrollTop}hide(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.closeMenuDisclosure(),this.closeSearchModal())}reveal(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-sticky","animate"),this.header.classList.remove("shopify-section-header-hidden"))}reset(){this.headerIsAlwaysSticky||this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("header-menu"),this.disclosures.forEac
1h(disclosure=>disclosure.close())}closeSearchModal(){this.searchModal=this.searchModal||this.header.querySelector("details-modal"),this.searchModal.close(!1)}}customElements.define("sticky-header",StickyHeader)}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/59/compiled_assets/scripts.js.map?v=48693610451017946911790646358

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.