1window.Eurus.loadedScript.has("sticky-atc.js")||(window.Eurus.loadedScript.add("sticky-atc.js"),requestAnimationFrame(()=>{document.addEventListener("alpine:init",()=>{Alpine.data("xStickyATC",(sectionId,is_combined,showAssociatedOnly)=>({openDetailOnMobile:!1,currentAvailableOptions:[],options:[],init(){showAssociatedOnly&&document.addEventListener(`eurus:media-gallery-ready:${sectionId}`,()=>{this.renderMedia()},{once:!0}),document.addEventListener(`eurus:product-page-variant-select:updated:${sectionId}`,e=>{this.renderVariant(e.detail.html),this.renderProductPrice(e.detail.html),this.renderMedia(e.detail.html)})},renderProductPrice(html){Array.from(document.getElementsByClassName(`price-sticky-${sectionId}`)).forEach(destination=>{const source=html.getElementById("price-sticky-"+sectionId);source&&destination&&(destination.innerHTML=source.innerHTML)})},renderMedia(html){if(showAssociatedOnly)this.$nextTick(()=>{const destination=document.getElementById("product-image-sticky-"+sectionId)?.querySelector("img"),source=document.querySelector(".product-media-container")?.querySelector(".media_active img")?.getAttribute("src");source&&destination&&destination.setAttribute("src",source)});else{const destination=document.getElementById("product-image-sticky-"+sectionId),source=html.getElementById("product-image-sticky-"+sectionId);source&&destination&&(destination.innerHTML=source.innerHTML)}},renderVariant(html){const destination=document.getElementById("variant-update-sticky-"+sectionId),source=html.getElementById("variant-update-sticky-"+sectionId);source&&destination&&(destination.innerHTML=source.innerHTML)},changeOptionSticky(event){Array.from(event.target.options).forEach(option=>{option.removeAttribute("selected"),option.selected&&option.setAttribute("selected","")});const targetUrl=event.target.selectedOptions[0].dataset.productUrl,variantEl=document.getElementById("variant-update-sticky-"+sectionId);document.dispatchEvent(new CustomEvent(`eurus:product-page-variant-select-sticky:updated:${sectionId}`,{detail:{targetUrl,variantElSticky:variantEl}}))}}))})})); 2//# sourceMappingURL=/cdn/shop/t/52/assets/sticky-atc.js.map?v=94554532438528210021790882093
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.