1import{S as e}from"./swiper-slider.Dp9oLI2c.min.js";class o extends HTMLElement{constructor(){super(),this.hotspotsButtons=this.querySelectorAll(".js-hotspots-button"),this.hotspotDots=this.querySelectorAll(".js-hotspots-dot"),this.carousel=this.querySelector(".js-hotspots-carousel"),this.init()}init(){this.initSwiper(),this.events()}initSwiper(){this.swiper=new e(this,{observer:!0,observeParents:!0,slidesPerView:"auto",spaceBetween:8,navigation:{prevEl:"[data-recently-view-prev]",nextEl:"[data-recently-view-next]"}})}events(){this.hotspotsButtons.forEach(t=>{t.addEventListener("click",()=>{[...this.hotspotDots].map(s=>s.classList.toggle("is-hidden")),this.carousel.classList.toggle("is-active")})})}}const n=()=>{customElements.get("hotspots-section")||customElements.define("hotspots-section",o)};export{n as default};
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.