1(()=>{if(customElements.get("infinite-scroll"))return;class InfiniteScroll extends HTMLElement{constructor(){super(),this.spinner=document.getElementById("spinner")}connectedCallback(){this.init()}init(){const handleIntersection=(entries,observer)=>{entries[0].isIntersecting&&(observer.unobserve(this),this.dataset.next&&(spinnerLoader.enable(this.spinner),fetch(this.dataset.next).then(response=>response.text()).then(text=>{const collection=new DOMParser().parseFromString(text,"text/html").querySelector("[data-filter-wrapper]");collection.querySelectorAll("card-product").forEach(cardProduct=>{document.getElementById("product-grid").appendChild(cardProduct)});const infiniteScrollMarkup=collection.querySelector("[data-infinite-scroll]");document.querySelector("[data-infinite-scroll]").innerHTML=infiniteScrollMarkup.innerHTML,spinnerLoader.disable(this.spinner)})))};new IntersectionObserver(handleIntersection.bind(this),{rootMargin:"0px 0px 200px 0px"}).observe(this)}}customElements.define("infinite-scroll",InfiniteScroll)})(); 2//# sourceMappingURL=/cdn/shop/t/44/assets/infinite-scroll.js.map?v=168083801327363632201790672731
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.