1if(!customElements.get("instagram-carousel")){class a extends HTMLElement{constructor(){if(super(),this.app=this.querySelector(".instafeed-shopify"),this.app){this.swiper=void 0,this.items=this.querySelector(".swiper-wrapper");const i=new MutationObserver(e=>{e.forEach(e=>{e.target.querySelectorAll(".instafeed-new-layout-item").forEach(e=>{var s=document.createElement("div");s.classList.add("swiper-slide"),s.append(e),this.items.append(s),8===this.items.querySelectorAll(".swiper-slide").length&&(i.disconnect(),this.init())})})});(this.observer=i).observe(this.app,{subtree:!1,childList:!0})}}init(){var e,s,i;void 0===this.swiper&&(e=this.querySelector(".swiper-scrollbar"),s=this.querySelector(".arrow--left"),i=this.querySelector(".arrow--right"),this.swiper=new Swiper(this.querySelector(".swiper-container"),{loop:!1,grabCursor:!0,speed:500,spaceBetween:16,slidesPerView:2,grid:{fill:"row",rows:2},scrollbar:{el:e,enabled:!0},navigation:{nextEl:i,prevEl:s},breakpoints:{768:{spaceBetween:24,slidesPerView:3,grid:!1},1200:{spaceBetween:24,slidesPerView:4,grid:!1}}}))}disconnectedCallback(){this.observer&&this.observer.disconnect(),void 0!==this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=void 0)}}customElements.define("instagram-carousel",a)}
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.