PageSourceSearch

https://liforme.com/cdn/shop/t/481/assets/product-media.js?v=172259445497281583461790085712

js liforme.com collected 2026-09-25 23:50:32 UTC 1,017 bytes, 2 lines download raw bytes

1class ProductMedia extends HTMLElement{constructor(){super(),this.gallerySlider=document.querySelector(".js-gallery-slider"),this.productMediaCarousel=this.parentElement.querySelector(".js-product-media-carousel"),this.modalTriggers=[...this.querySelectorAll(".js-product-media-trigger"),...this.productMediaCarousel.querySelectorAll(".js-product-media-trigger")],this.modalTriggers.length&&this.gallerySlider&&this.modalTriggers.forEach(trigger=>{trigger.addEventListener("click",()=>{const mediaId=trigger.getAttribute("data-media-id"),slides=Array.from(this.gallerySlider.querySelectorAll(".js-carousel-slide"));if(mediaId){const matchedIndex=slides.findIndex(slide=>slide.getAttribute("data-media-id")===mediaId);if(matchedIndex>=0){this.gallerySlider.scrollToSlide(matchedIndex);return}}this.gallerySlider.scrollToSlide(trigger.getAttribute("data-index"))})})}}customElements.define("product-media",ProductMedia);
2//# sourceMappingURL=/cdn/shop/t/481/assets/product-media.js.map?v=172259445497281583461790085712

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.