1customElements.get("slideshow-component")||customElements.define("slideshow-component",class extends SliderComponent{constructor(){super()}init(){super.init(),this.sliderControlWrapper=this.querySelector(".slider-buttons"),this.enableSliderLooping=!0,this.autoplayButtonQuerySelector=".slideshow__autoplay",this.autoPlayPausedClass="slideshow__autoplay--paused",this.sliderControlWrapper&&(this.sliderItemsToShow.length>0&&(this.currentPage=1),this.slider.addEventListener("scroll",this.setSlideVisibility.bind(this)),this.setSlideVisibility(),this.querySelectorAll(".banner__price").forEach(ele=>{ele.innerHTML=Shopify.showPrice(ele.dataset.price*1)}))}update(){super.update();const activeSlide=this.querySelector(".slideshow__slide.active");activeSlide&&activeSlide.classList.remove("active"),this.querySelector(`.slideshow__slide:nth-child(${this.currentPage})`).classList.add("active"),this.prevButton&&this.prevButton.removeAttribute("disabled")}setSlideVisibility(){this.sliderItemsToShow.forEach((item,index)=>{const linkElements=item.querySelectorAll("a");index===this.currentPage-1?(linkElements.length&&linkElements.forEach(button=>{button.removeAttribute("tabindex")}),item.setAttribute("aria-hidden","false"),item.removeAttribute("tabindex")):(linkElements.length&&linkElements.forEach(button=>{button.setAttribute("tabindex","-1")}),item.setAttribute("aria-hidden","true"),item.setAttribute("tabindex","-1"))})}play(){super.play(),this.sliderAutoplayButton&&(this.sliderAutoplayButton.classList.remove(this.autoPlayPausedClass),this.sliderAutoplayButton.querySelector(".slideshow__progress__path").getAnimations().forEach(anim=>{anim.cancel(),anim.play()}))}pause(){super.pause(),this.sliderAutoplayButton&&(this.sliderAutoplayButton.classList.add(this.autoPlayPausedClass),this.sliderAutoplayButton.querySelector(".slideshow__progress__path").getAnimations().forEach(anim=>{anim.pause()}))}}); 2//# sourceMappingURL=/cdn/shop/t/60/assets/slideshow.js.map?v=22323170401846664581772534453
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.