|
|
|
}`,u=`__svelte_${Rt(p)}_${l}`,h=gt(t),{stylesheet:d,rules:c}=D.get(h)||Bt(h,t);c[u]||(c[u]=!0,d.insertRule(`@keyframes ${u} ${p}`,d.cssRules.length));const m=t.style.animation||"";return t.style.animation=`${m?`${m}, `:""}${u} ${r}ms linear ${i}ms 1 both`,F+=1,u}function Z(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),i=n.length-r.length;i&&(t.style.animation=r.join(", "),F-=i,F||Dt())}function Dt(){X(()=>{F||(D.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&w(e)}),D.clear())})}let I;function M(t){I=t}function Ft(){if(!I)throw new Error("Function called outside component initialization");return I}function wt(t){Ft().$$.on_mount.push(t)}const L=[],ct=[];let N=[];const ft=[],zt=Promise.resolve();let G=!1;function Tt(){G||(G=!0,zt.then(vt))}function x(t){N.push(t)}const W=new Set;let A=0;function vt(){if(A!==0)return;const t=I;do{try{for(;A<L.length;){const e=L[A];A++,M(e),Ut(e.$$)}}catch(e){throw L.length=0,A=0,e}for(M(null),L.length=0,A=0;ct.length;)ct.pop()();for(let e=0;e<N.length;e+=1){const n=N[e];W.has(n)||(W.add(n),n())}N.length=0}while(L.length);for(;ft.length;)ft.pop()();G=!1,W.clear(),M(t)}function Ut(t){if(t.fragment!==null){t.update(),C(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(x)}}function Vt(t){const e=[],n=[];N.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),N=e}let q;function xt(){return q||(q=Promise.resolve(),q.then(()=>{q=null})),q}function z(t,e,n){t.dispatchEvent(jt(`${e?"intro":"outro"}${n}`))}const B=new Set;let b;function Jt(){b={r:0,c:[],p:b}}function Kt(){b.r||C(b.c),b=b.p}function y(t,e){t&&t.i&&(B.delete(t),t.i(e))}function T(t,e,n,r){if(t&&t.o){if(B.has(t))return;B.add(t),b.c.push(()=>{B.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}const bt={duration:0};function U(t,e,n){const r={direction:"in"};let i=e(t,n,r),o=!1,s,l,a=0;function f(){s&&Z(t,s)}function p(){const{delay:h=0,duration:d=300,easing:c=H,tick:m=v,css:_}=i||bt;_&&(s=yt(t,0,1,d,h,c,_,a++)),m(0,1);const $=mt()+h,j=$+d;l&&l.abort(),o=!0,x(()=>z(t,!0,"start")),l=_t(J=>{if(o){if(J>=j)return m(1,0),z(t,!0,"end"),f(),o=!1;if(J>=$){const it=c((J-$)/d);m(it,1-it)}}return o})}let u=!1;return{start(){u||(u=!0,Z(t),V(i)?(i=i(r),xt().then(p)):p())},invalidate(){u=!1},end(){o&&(f(),o=!1)}}}function lt(t,e,n){const r={direction:"out"};let i=e(t,n,r),o=!0,s;const l=b;l.r+=1;let a;function f(){const{delay:p=0,duration:u=300,easing:h=H,tick:d=v,css:c}=i||bt;c&&(s=yt(t,1,0,u,p,h,c));const m=mt()+p,_=m+u;x(()=>z(t,!1,"start")),"inert"in t&&(a=t.inert,t.inert=!0),_t($=>{if(o){if($>=_)return d(0,1),z(t,!1,"end"),--l.r||C(l.c),!1;if($>=m){const j=h(($-m)/u);d(1-j,j)}}return o})}return V(i)?xt().then(()=>{i=i(r),f()}):f(),{end(p){p&&"inert"in t&&(t.inert=a),p&&i.tick&&i.tick(1,0),o&&(s&&Z(t,s),o=!1)}}}function Wt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function kt(t){t&&t.c()}function tt(t,e,n){const{fragment:r,after_update:i}=t.$$;r&&r.m(e,n),x(()=>{const o=t.$$.on_mount.map(dt).filter(V);t.$$.on_destroy?t.$$.on_destroy.push(...o):C(o),t.$$.on_mount=[]}),i.forEach(x)}function et(t,e){const n=t.$$;n.fragment!==null&&(Vt(n.after_update),C(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Zt(t,e){t.$$.dirty[0]===-1&&(L.push(t),Tt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function nt(t,e,n,r,i,o,s=null,l=[-1]){const a=I;M(t);const f=t.$$={fragment:null,ctx:[],props:o,update:v,not_equal:i,bound:ot(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ot(),dirty:l,skip_bound:!1,root:e.target||a.$$.root};s&&s(f.root);let p=!1;if(f.ctx=n?n(t,e.props||{},(u,h,...d)=>{const c=d.length?d[0]:h;return f.ctx&&i(f.ctx[u],f.ctx[u]=c)&&(!f.skip_bound&&f.bound[u]&&f.bound[u](c),p&&Zt(t,u)),h}):[],f.update(),p=!0,C(f.before_update),f.fragment=r?r(f.ctx):!1,e.target){if(e.hydrate){const u=It(e.target);f.fragment&&f.fragment.l(u),u.forEach(w)}else f.fragment&&f.fragment.c();e.intr
|
|
|
|
`}}function te(t,e){const{delay:n=0,duration:r=400,easing:i=At}=e,o=parseFloat(getComputedStyle(t).strokeWidth);return{delay:n,duration:r,easing:i,css:s=>`opacity: ${s}; stroke-width: ${s*o}`}}const ee="M45.41,108.86A21.81,21.81,0,0,1,22,100.18,20.2,20.2,0,0,1,18.53,84.9a19,19,0,0,1,.65-2.57l.52-1.58,1.41,1a35.32,35.32,0,0,0,10.75,5.37l1,.31-.1,1a6.2,6.2,0,0,0,1.11,4.08A6.57,6.57,0,0,0,41,95.19a6,6,0,0,0,1.68-.74L70.11,76.94a5.76,5.76,0,0,0,2.59-3.83,6.09,6.09,0,0,0-1-4.6,6.58,6.58,0,0,0-7.06-2.62,6.21,6.21,0,0,0-1.69.74L52.43,73.31a19.88,19.88,0,0,1-5.58,2.45,21.82,21.82,0,0,1-23.43-8.68A20.2,20.2,0,0,1,20,51.8a19,19,0,0,1,8.56-12.7L56,21.59a19.88,19.88,0,0,1,5.58-2.45A21.81,21.81,0,0,1,85,27.82,20.2,20.2,0,0,1,88.47,43.1a19,19,0,0,1-.65,2.57l-.52,1.58-1.41-1a35.32,35.32,0,0,0-10.75-5.37l-1-.31.1-1a6.2,6.2,0,0,0-1.11-4.08,6.57,6.57,0,0,0-7.06-2.62,6,6,0,0,0-1.68.74L36.89,51.06a5.71,5.71,0,0,0-2.58,3.83,6,6,0,0,0,1,4.6,6.58,6.58,0,0,0,7.06,2.62,6.21,6.21,0,0,0,1.69-.74l10.48-6.68a19.88,19.88,0,0,1,5.58-2.45,21.82,21.82,0,0,1,23.43,8.68A20.2,20.2,0,0,1,87,76.2a19,19,0,0,1-8.56,12.7L51,106.41a19.88,19.88,0,0,1-5.58,2.45",ne="M65,34 L37,52 A1 1 0 0 0 44 60 L70.5,44.5 A1 1 0 0 0 65,34Z M64,67 L36,85 A1 1 0 0 0 42 94 L68,77.5 A1 1 0 0 0 64,67Z";function re(t,e,n){const r=t.slice();return r[1]=e[n],r[3]=n,r}function ut(t){let e,n,r,i,o,s,l,a,f,p,u,h=Wt("JANKBOARD"),d=[];for(let c=0;c<h.length;c+=1)d[c]=ie(re(t,h,c));return{c(){e=R("svg"),n=R("g"),r=R("path"),o=R("path"),a=Y(),f=S("div");for(let c=0;c<d.length;c+=1)d[c].c();P(r,"stroke","#ff3e00"),P(r,"fill","#ff3e00"),P(r,"stroke-width","50"),g(r,"d",ne),g(r,"class","svelte-pb5q44"),P(o,"stroke","#ff3e00"),P(o,"stroke-width","2"),g(o,"stroke-linecap","round"),g(o,"d",ee),g(o,"class","svelte-pb5q44"),g(n,"opacity","0.35"),g(e,"xmlns","http://www.w3.org/2000/svg"),g(e,"viewBox","0 0 103 124"),g(e,"class","svelte-pb5q44"),g(f,"class","centered svelte-pb5q44")},m(c,m){k(c,e,m),E(e,n),E(n,r),E(n,o),k(c,a,m),k(c,f,m);for(let _=0;_<d.length;_+=1)d[_]&&d[_].m(f,null);u=!0},i(c){if(!u){c&&(i||x(()=>{i=U(r,te,{duration:400,delay:1e3,easing:Xt}),i.start()})),c&&(s||x(()=>{s=U(o,Yt,{duration:1e3}),s.start()})),l&&l.end(1);for(let m=0;m<h.length;m+=1)y(d[m]);p&&p.end(1),u=!0}},o(c){c&&(l=lt(n,Lt,{duration:200})),c&&(p=lt(f,Ot,{y:-20,duration:800})),u=!1},d(c){c&&(w(e),w(a),w(f)),c&&l&&l.end(),qt(d,c),c&&p&&p.end()}}}function ie(t){let e,n;return{c(){e=S("span"),e.textContent=`${t[1]}`,g(e,"class","svelte-pb5q44")},m(r,i){k(r,e,i)},p:v,i(r){n||x(()=>{n=U(e,Lt,{delay:1e3+t[3]*150,duration:800}),n.start()})},o:v,d(r){r&&w(e)}}}function oe(t){let e,n=t[0]&&ut(t);return{c(){n&&n.c(),e=Mt()},m(r,i){n&&n.m(r,i),k(r,e,i)},p(r,[i]){r[0]?n?i&1&&y(n,1):(n=ut(r),n.c(),y(n,1),n.m(e.parentNode,e)):n&&(Jt(),T(n,1,1,()=>{n=null}),Kt())},i(r){y(n)},o(r){T(n)},d(r){r&&w(e),n&&n.d(r)}}}function se(t,e,n){let r=!1;return wt(()=>{n(0,r=!0)}),[r]}class ce extends rt{constructor(e){super(),nt(this,e,se,oe,Q,{})}}function at(t){let e,n;return{c(){e=S("p"),e.textContent="Loading 3D assets...",g(e,"class","text-4xl text-slate-300 absolute bottom-20 animate-pulse font-medium")},m(r,i){k(r,e,i)},i(r){r&&(n||x(()=>{n=U(e,Ot,{duration:150,y:25,easing:Qt}),n.start()}))},o:v,d(r){r&&w(e)}}}function fe(t){let e,n,r,i,o;r=new ce({});let s=t[0]&&at();return{c(){e=S("div"),n=S("div"),kt(r.$$.fragment),i=Y(),s&&s.c(),g(n,"class","max-w-64"),g(e,"class","absolute w-screen h-screen flex justify-center items-center flex-col overflow-hidden select-none bg svelte-nxgbzl")},m(l,a){k(l,e,a),E(e,n),tt(r,n,null),E(e,i),s&&s.m(e,null),o=!0},p(l,[a]){l[0]?s?a&1&&y(s,1):(s=at(),s.c(),y(s,1),s.m(e,null)):s&&(s.d(1),s=null)},i(l){o||(y(r.$$.fragment,l),y(s),o=!0)},o(l){T(r.$$.fragment,l),o=!1},d(l){l&&w(e),et(r),s&&s.d()}}}function le(t,e,n){let r=!1;return wt(()=>{setTimeout(()=>{n(0,r=!0)},3e3)}),[r]}class ue extends rt{constructor(e){super(),nt(this,e,le,fe,Q,{})}}function ae(t){let e,n,r;return n=new ue({}),{c(){e=Y(),kt(n.$$.fragment),document.title="Jankboard 2"},m(i,o){k(i,e,o),tt(n,i,o),r=!0},p:v,i(i){r||(y(n.$$.fragment,i),r=!0
|