1import{r as l,n as a,t as r}from"./index-DS8uTh6M.js";import{C as c}from"./carousel-BBYnAxQO.js";import{a as m}from"./image-with-text-BF36CpRE.js";import{s as h}from"./shouldAnimate-CeW36j6E.js";import"./intersection-watcher-DADyd6E-.js";import"./media-queries-CokWIw5y.js";import"./delay-offset-CTJE-YpR.js";const s={slide:".swiper-slide",navigationDots:".swiper-pagination"};l("image-with-product-slider",{onLoad(){this._initCarousel(),h(this.container)&&(this.animateImageWithText=m(this.container))},_initCarousel(){const e=a("[data-next]",this.container),n=a("[data-prev]",this.container);this.carousel=c(this.container,{slidesPerView:1,spaceBetween:20,navigation:e&&n?{nextEl:e,prevEl:n}:!1,pagination:{el:s.navigationDots,clickable:!0},on:{afterInit(i){i.slideNext(),i.slidePrev();const t=r(s.slide,this.container);t.length!==0&&setTimeout(function(){t.forEach(o=>{o.toggleAttribute("inert",!o.classList.contains("swiper-slide-visible"))})},50)},slideChange:()=>{const i=r(s.slide,this.container);i.length!==0&&(document.body.classList.contains("user-is-tabbing")?setTimeout(function(){i.forEach(t=>{t.toggleAttribute("inert",!t.classList.contains("swiper-slide-visible"))})},50):i.forEach(t=>{t.removeAttribute("inert")}))}}})},onUnload(){var e;(e=this.animateImageWithText)==null||e.destroy()}});
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.