1class CartRecommendations extends HTMLElement{constructor(){super()}connectedCallback(){new IntersectionObserver(this.handleIntersection.bind(this)).observe(this)}handleIntersection(entries,observer){entries[0].isIntersecting&&(observer.unobserve(this),fetch(this.dataset.url).then(response=>response.text()).then(text=>{const html=new DOMParser().parseFromString(text,"text/html").querySelector(".shopify-section");if(html===null)return;const recommendations=html.querySelector("cart-recommendations");recommendations&&recommendations.innerHTML.trim().length&&(this.innerHTML=recommendations.innerHTML);const miniCartMain=document.querySelector("#main-cart-items");miniCartMain&&(miniCartMain.scrollTop-=miniCartMain.scrollHeight)}).catch(e=>{console.error(e)}))}}customElements.define("cart-recommendations",CartRecommendations); 2//# sourceMappingURL=/cdn/shop/t/31/assets/cart-recommendations.js.map?v=115943921382507826741781642254
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.