1customElements.get("collection-carousel")||customElements.define("collection-carousel",class extends HTMLElement{constructor(){super(),this.viewportNode=this.querySelector(".custom-featured-collection__slider-viewport"),this.prevBtnNode=this.querySelector(".custom-featured-collection__prev"),this.nextBtnNode=this.querySelector(".custom-featured-collection__next"),this.embla=EmblaCarousel(this.viewportNode,{align:"start",slidesToScroll:1}),this.prevBtnNode.addEventListener("click",this.previous.bind(this),!1),this.nextBtnNode.addEventListener("click",this.next.bind(this),!1),this.embla.on("select",this.togglePrevNextBtnsState.bind(this)).on("init",this.togglePrevNextBtnsState.bind(this)).on("reInit",this.togglePrevNextBtnsState.bind(this))}previous(e){e.preventDefault(),this.embla.scrollPrev()}next(e){e.preventDefault(),this.embla.scrollNext()}togglePrevNextBtnsState(){this.embla.canScrollPrev()?this.prevBtnNode.classList.remove("arrow-button--disabled"):this.prevBtnNode.classList.add("arrow-button--disabled"),this.embla.canScrollNext()?this.nextBtnNode.classList.remove("arrow-button--disabled"):this.nextBtnNode.classList.add("arrow-button--disabled")}}); 2//# sourceMappingURL=/cdn/shop/t/321/assets/collection-carousel.js.map?v=70848260473130062751746785252
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.