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.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),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()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}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)){if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.header.classList.add("scrolled-past-header"),this.preventHide)return;requestAnimationFrame(this.hide.bind(this))}else scrollTop<this.currentScrollTop&&scrollTop>this.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),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)));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.forEach(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)}})(),(function(){if(!(!__sections__["ss-product-content"]&&!Shopify.designMode))try{(function(){function init(){var lb=document.getElementById("ss-lightbox");if(!lb)return;var lbVideo=lb.querySelector(".ss-lightbox__video"),lbClose=lb.querySelector(".ss-lightbox__close"),lbBackdrop=lb.querySelector(".ss-lightbox__backdrop"),lbPlayPause=document.getElementById("ss-lb-playpause"),lbMute=document.getElementById("ss-lb-mute"),lbStage=lb.querySelector(".ss-lightbox__stage");function openLightbox(src){lbVideo.setAttribute("src",src),lbVideo.load(),lb.removeAttribute("hidden"),document.body.style.overflow="hidden",lbVideo.muted=!1,lbStage.removeAttribute("data-paused"),lbStage.removeAttribute("data-muted"),lbVideo.play().catch(function(){}),lbClose.focus()}function closeLightbox(){lb.setAttribute("hidden",""),lbVideo.pause(),lbVideo.removeAttribute("src"),lbVideo.load(),document.body.style.overflow=""}document.querySelectorAll(".ss-pc__ugc-media[data-video-src]").forEach(function(card){card.addEventListener("click",function(){var src=card.getAttribute("data-video-src");src&&openLightbox(src)}),card.addEventListener("keydown",function(e){if(e.key==="Enter"||e.key===" "){e.preventDefault();var src=card.getAttribute("data-video-src");src&&openLightbox(src)}})});function syncPlayPause(){lbVideo.paused?(lbStage.setAttribute("data-paused",""),lbPlayPause&&lbPlayPause.setAttribute("aria-label","Play video")):(lbStage.removeAttribute("data-paused"),lbPlayPause&&lbPlayPause.setAttribute("aria-label","Pause video"))}function syncMute(){lbVideo.muted?(lbStage.setAttribute("data-muted",""),lbMute&&lbMute.
1setAttribute("aria-label","Unmute")):(lbStage.removeAttribute("data-muted"),lbMute&&lbMute.setAttribute("aria-label","Mute"))}lbVideo.addEventListener("play",syncPlayPause),lbVideo.addEventListener("pause",syncPlayPause),lbVideo.addEventListener("click",function(){lbVideo.paused?lbVideo.play().catch(function(){}):lbVideo.pause()}),lbPlayPause&&lbPlayPause.addEventListener("click",function(){lbVideo.paused?lbVideo.play().catch(function(){}):lbVideo.pause()}),lbMute&&lbMute.addEventListener("click",function(){lbVideo.muted=!lbVideo.muted,syncMute()}),lbClose.addEventListener("click",closeLightbox),lbBackdrop.addEventListener("click",closeLightbox),document.addEventListener("keydown",function(e){e.key==="Escape"&&!lb.hasAttribute("hidden")&&closeLightbox()})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",init):init()})()}catch(e){console.error(e)}})(),(function(){if(!(!__sections__["ss-video-strip"]&&!Shopify.designMode))try{(function(){function init(){var lb=document.getElementById("ss-lightbox");if(!lb)return;var lbVideo=lb.querySelector(".ss-lightbox__video"),lbClose=lb.querySelector(".ss-lightbox__close"),lbBackdrop=lb.querySelector(".ss-lightbox__backdrop"),shopBar=document.getElementById("ss-lightbox-shop"),shopImg=document.getElementById("ss-lb-shop-img"),shopName=document.getElementById("ss-lb-shop-name"),shopPrice=document.getElementById("ss-lb-shop-price"),shopBtn=document.getElementById("ss-lb-shop-btn"),lbPlayPause=document.getElementById("ss-lb-playpause"),lbMute=document.getElementById("ss-lb-mute"),lbStage=lb.querySelector(".ss-lightbox__stage");function openLightbox(src,shopData){lbVideo.setAttribute("src",src),lbVideo.load(),shopBar&&shopData&&shopData.url?(shopImg&&(shopImg.src=shopData.img||"",shopImg.style.display=shopData.img?"block":"none"),shopName&&(shopName.textContent=shopData.name||""),shopPrice&&(shopPrice.textContent=shopData.price||""),shopBtn&&(shopBtn.href=shopData.url),shopBar.style.display="flex"):shopBar&&(shopBar.style.display="none"),lb.removeAttribute("hidden"),document.body.style.overflow="hidden",lbVideo.muted=!1,lbStage.removeAttribute("data-paused"),lbStage.removeAttribute("data-muted"),lbVideo.play().catch(function(){}),lbClose.focus()}function closeLightbox(){lb.setAttribute("hidden",""),lbVideo.pause(),lbVideo.removeAttribute("src"),lbVideo.load(),document.body.style.overflow=""}document.querySelectorAll(".ss-video__media--playable").forEach(function(card){function getShopData(){return{url:card.getAttribute("data-shop-url"),name:card.getAttribute("data-shop-name"),price:card.getAttribute("data-shop-price"),img:card.getAttribute("data-shop-img")}}card.addEventListener("click",function(){var src=card.getAttribute("data-video-src");src&&openLightbox(src,getShopData())}),card.addEventListener("keydown",function(e){if(e.key==="Enter"||e.key===" "){e.preventDefault();var src=card.getAttribute("data-video-src");src&&openLightbox(src,getShopData())}})});function syncPlayPause(){lbVideo.paused?(lbStage.setAttribute("data-paused",""),lbPlayPause&&lbPlayPause.setAttribute("aria-label","Play video")):(lbStage.removeAttribute("data-paused"),lbPlayPause&&lbPlayPause.setAttribute("aria-label","Pause video"))}function syncMute(){lbVideo.muted?(lbStage.setAttribute("data-muted",""),lbMute&&lbMute.setAttribute("aria-label","Unmute")):(lbStage.removeAttribute("data-muted"),lbMute&&lbMute.setAttribute("aria-label","Mute"))}lbVideo.addEventListener("play",syncPlayPause),lbVideo.addEventListener("pause",syncPlayPause),lbVideo.addEventListener("click",function(){lbVideo.paused?lbVideo.play().catch(function(){}):lbVideo.pause()}),lbPlayPause&&lbPlayPause.addEventListener("click",function(){lbVideo.paused?lbVideo.play().catch(function(){}):lbVideo.pause()}),lbMute&&lbMute.addEventListener("click",function(){lbVideo.muted=!lbVideo.muted,syncMute()}),lbClose.addEventListener("click",closeLightbox),lbBackdrop.addEventListener("click",closeLightbox),document.addEventListener("keydown",function(e){e.key==="Escape"&&!lb.hasAttribute("hidden")&&closeLightbox()})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",init):init()})()}catch(e){console.error(e)}})()})(); 2//# sourceMappingURL=/cdn/shop/t/27/compiled_assets/scripts.js.map?v=51994352427828191861790666987
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.