1import{I as y,S as v}from"./splide-extension-intersection.esm.DHe9NNeT.js";(()=>{const _=document.querySelectorAll("[data-carousel]");if(!_.length)return;const l=e=>{const i=e.querySelector(".splide__arrows"),r=e.querySelector(".splide__pagination"),o=e.querySelector(".splide__track"),t=e.querySelector(".splide__pages"),p="onwheel"in document.createElement("div")?"wheel":"mousewheel";let u=0;const c=new v(e,{type:"loop",autoWidth:!0,updateOnMove:!0,omitEnd:!0,focus:0,arrows:!!i,pagination:!!r,flickPower:200});c.on("ready",()=>{var n;return(n=window.myLazyLoad)==null?void 0:n.update()});const m=n=>{const s=n,a=s.deltaX,f=s.deltaY;a&&(s.preventDefault(),s.stopPropagation(),!(f||s.timeStamp-u<300)&&(u=s.timeStamp,c.go(a>0?">":"<")))};return t&&(c.on("pagination:mounted",n=>{const s=n.items.findIndex(a=>a.button.classList.contains("is-active"));t.innerHTML=`${s+1}/${n.items.length}`}),c.on("pagination:updated",n=>{const s=n.items.findIndex(a=>a.button.classList.contains("is-active"));t.innerHTML=`${s+1}/${n.items.length}`})),o==null||o.addEventListener(p,m),c},d=e=>{const i=e.querySelector<HTMLElement>"[data-carousel-main]",r=e.querySelector<HTMLElement>"[data-carousel-nav]";if(!i||!r)return;const o=l(i),t=l(r);t.options.__proto__.focus="center",t.options.__proto__.type="slide",t.options.__proto__.rewind=!0,t.options.__proto__.omitEnd=!1,t.options.__proto__.cloneStatus=!1,t.options.__proto__.isNavigation=!0,o.options.__proto__.type="fade",o.options.__proto__.rewind=!0,o.sync(t),o.mount(),t.mount()};_.forEach(e=>{const i=new IntersectionObserver(r=>{r.forEach(o=>{if(o.isIntersecting){if(i.disconnect(),e.dataset.gallery!==void 0)return d(e),!1;const t=l(e);t.on("overflow",p=>{p?t.options.__proto__.type="loop":t.options.__proto__.type="slide"}),t.mount({Intersection:y})}})});i.observe(e)})})();
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.