diff --git a/static/bundled/js/B6XYrL.js b/static/bundled/js/B6XYrL.js new file mode 100644 index 0000000..e3c07fe --- /dev/null +++ b/static/bundled/js/B6XYrL.js @@ -0,0 +1,6 @@ +import{u as e,o as t,d as n,f as s,i,g as a,h as r,b as o,s as c,F as l,j as d,t as p,e as u,l as v,p as f,_ as g,c as h}from"./main.js";var y=p("
"),m=p("");function x(e,t){return Math.floor(Math.random()*(t-e+1))+e}function w(d){const p=Array(d.ijs.length),[u,{setIndex:v}]=e(),f=e=>{d.isAnimating()||(v(e),d.setIsOpen(!0))};return t((()=>{p.forEach(((e,t)=>{var n,s;t<5&&(e.src=e.dataset.src),e.addEventListener("click",(()=>{f(t)}),{passive:!0}),e.addEventListener("keydown",(()=>{f(t)}),{passive:!0}),n=e,s=e=>!(e.intersectionRatio<=0||(t+5{for(const n of e)if(s(n)){t.disconnect();break}})).observe(n)}))})),n(s((()=>{d.isOpen()}),(()=>{d.isOpen()||p[u().index].scrollIntoView({behavior:"auto",block:"center"})}),{defer:!0})),g=y(),i(g,a(l,{get each(){return d.ijs},children:(e,t)=>(()=>{var n=m();n.$$keydown=()=>{f(t())},n.$$click=()=>{f(t())};var s=p[t()];return"function"==typeof s?r(s,n):p[t()]=n,o((s=>{var i=e.loImgH,a=e.loImgW,r=e.loUrl,o=e.alt,l=`translate3d(${0!==t()?x(-25,25):0}%, ${0!==t()?x(-30,30):0}%, 0)`;return i!==s.e&&c(n,"height",s.e=i),a!==s.t&&c(n,"width",s.t=a),r!==s.a&&c(n,"data-src",s.a=r),o!==s.o&&c(n,"alt",s.o=o),l!==s.i&&(null!=(s.i=l)?n.style.setProperty("transform",l):n.style.removeProperty("transform")),s}),{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),n})()})),g;var g}d(["click","keydown"]);var I=p("