1(async()=>{const{default:Swiper,Autoplay,Navigation}=await import("./swiper.esm-da447325.async.js");Swiper.use([Autoplay,Navigation]);class AnnouncementBar extends HTMLElement{constructor(){super();document.body.classList.add("announcement-bar-visible");this.swiperElement=this.querySelector("[data-swiper-announcement-bar]");this.swiperOptions={loop:true,autoplay:true,slidesPerView:1,direction:"horizontal",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}};this.init()}init(){this.swiperInstance=new Swiper(this.swiperElement,this.swiperOptions);if(Shopify.designMode&&this.swiperInstance){window.addEventListener("shopify:section:load",()=>{this.swiperInstance.update()});window.addEventListener("shopify:block:select",event=>{this.swiperInstance.update();this.handleThemeEditorEvents(event)})}}handleThemeEditorEvents(event){this.swiperInstance.slideTo(parseInt(event.target.dataset.swiperSlideIndex)+1)}}window.AnnouncementBar=AnnouncementBar;customElements.define("announcement-bar",AnnouncementBar)})(); 2//# sourceMappingURL=announcement-bar.js.map
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.