1if(!customElements.get("wls-hero")){class WLSHero extends HTMLElement{constructor(){super()}connectedCallback(){this.handleVideoTextColor(),this.tryAutoplayVideos(),this.addEventListener("touchstart",()=>this.tryAutoplayVideos(),{once:!0})}handleVideoTextColor(){const isMobile=window.innerWidth<768,showColorMobile=this.getAttribute("data-show-video-text-color-during-loading-mobile")==="true",showColorDesktop=this.getAttribute("data-show-video-text-color-during-loading-desktop")==="true",colorVideo=this.getAttribute("data-text-color-video"),colorDefault=this.getAttribute("data-text-color"),videos=this.querySelectorAll(".wls-hero__video video");if(!videos.length)return;let shouldShowColor=!1;isMobile&&showColorMobile&&(shouldShowColor=!0),!isMobile&&showColorDesktop&&(shouldShowColor=!0),shouldShowColor&&(this.style.color=colorVideo,videos.forEach(video=>{video.addEventListener("playing",()=>{this.style.color=colorDefault},{once:!0})}))}tryAutoplayVideos(){this.querySelectorAll(".wls-hero__video video").forEach(video=>{if(!video.paused)return;const playPromise=video.play();playPromise!==void 0&&playPromise.catch(()=>{})})}}window.customElements.define("wls-hero",WLSHero)} 2//# sourceMappingURL=/cdn/shop/t/120/assets/wls-hero.js.map?v=77096360540744348821782979573
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.