1(async()=>{const{Core}=await importModule("Core"),{Swiper}=await importModule("Swiper"),{$isEmpty,$fetch,$replaceContent}=await importModule("Utils"),RQ_SECTION="r_cart-notification-recommendations-swiper",CN_SHOW="!show";customElements.define("cart-notification-recommendations",class extends Core{elements={content:"[data-content]",spacer:"[data-spacer]",navPrev:"[data-nav-prev]",navNext:"[data-nav-next]"};async render(){const $doc=await $fetch("/recommendations/products",{params:{product_id:this.productId,limit:20,section_id:RQ_SECTION,intent:"related"},select:"[data-template]"});if($isEmpty($doc)){this.remove();return}$replaceContent(this.$content,$doc);const offset=parseFloat(getComputedStyle(this.$spacer).paddingRight),swiper=new Swiper(this.$content.querySelector("[data-swiper]"),{spaceBetween:10,slidesOffsetBefore:offset,slidesOffsetAfter:offset,breakpoints:{1:{slidesPerView:1.3},992:{slidesPerView:2.3}},navigation:{nextEl:this.$navNext,prevEl:this.$navPrev,disabledClass:"!disabled"},on:{afterInit:()=>{this.classList.add(CN_SHOW)}}})}get productId(){return this.getAttribute("product-id")}})})(); 2//# sourceMappingURL=/cdn/shop/t/29/assets/cart-notification-recommendations.js.map?v=87504339182874889241678313980
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.