1import{E as d,_ as r}from"./index-20260717T080738-sh.js";import{P as l}from"./photoswipe-20260717T080738-sh.js";class s extends d{onStart(){const n=new l({gallery:this,bgOpacity:0,showHideAnimationType:"fade",children:"a",pswpModule:()=>r(()=>import("./photoswipe-20260717T080738-sh.js").then(t=>t.p),[])});n.addFilter("itemData",(t,o)=>{var i;const e=(i=t.element)==null?void 0:i.dataset.videoUrl;return e&&(t.videoUrl=e,t.type="video"),t}),n.on("contentLoad",t=>{const{content:o}=t;if(o.type==="video"){t.preventDefault(),o.element=document.createElement("div"),o.element.className="pswp__video-container";const e=document.createElement("video");e.className="pswp__video",e.src=o.data.videoUrl,e.controls=!0,e.muted=!0,e.loop=!0,e.playsInline=!0,e.autoplay=!0,o.element.appendChild(e)}}),n.init()}}customElements.define("photos-swipe",s);export{s as PhotosSwipe};
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.