|
|
|
}`,a=`__svelte_${Ut(p)}_${s}`,_=kt(t),{stylesheet:m,rules:f}=K.get(_)||Vt(_,t);f[a]||(f[a]=!0,m.insertRule(`@keyframes ${a} ${p}`,m.cssRules.length));const h=t.style.animation||"";return t.style.animation=`${h?`${h}, `:""}${a} ${i}ms linear ${o}ms 1 both`,W+=1,a}function J(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),o=n.length-i.length;o&&(t.style.animation=i.join(", "),W-=o,W||Kt())}function Kt(){ot(()=>{W||(K.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&$(e)}),K.clear())})}let D;function B(t){D=t}function Wt(){if(!D)throw new Error("Function called outside component initialization");return D}function Lt(t){Wt().$$.on_mount.push(t)}const q=[],ht=[];let j=[];const _t=[],Zt=Promise.resolve();let et=!1;function Jt(){et||(et=!0,Zt.then(Ot))}function b(t){j.push(t)}const Y=new Set;let P=0;function Ot(){if(P!==0)return;const t=D;do{try{for(;P<q.length;){const e=q[P];P++,B(e),Gt(e.$$)}}catch(e){throw q.length=0,P=0,e}for(B(null),q.length=0,P=0;ht.length;)ht.pop()();for(let e=0;e<j.length;e+=1){const n=j[e];Y.has(n)||(Y.add(n),n())}j.length=0}while(q.length);for(;_t.length;)_t.pop()();et=!1,Y.clear(),B(t)}function Gt(t){if(t.fragment!==null){t.update(),S(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(b)}}function Ht(t){const e=[],n=[];j.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),j=e}let R;function ft(){return R||(R=Promise.resolve(),R.then(()=>{R=null})),R}function C(t,e,n){t.dispatchEvent(Tt(`${e?"intro":"outro"}${n}`))}const V=new Set;let x;function Et(){x={r:0,c:[],p:x}}function Ct(){x.r||S(x.c),x=x.p}function k(t,e){t&&t.i&&(V.delete(t),t.i(e))}function z(t,e,n,i){if(t&&t.o){if(V.has(t))return;V.add(t),x.c.push(()=>{V.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ct={duration:0};function nt(t,e,n){const i={direction:"in"};let o=e(t,n,i),r=!1,l,s,u=0;function c(){l&&J(t,l)}function p(){const{delay:_=0,duration:m=300,easing:f=Q,tick:h=A,css:g}=o||ct;g&&(l=Z(t,0,1,m,_,f,g,u++)),h(0,1);const y=rt()+_,L=y+m;s&&s.abort(),r=!0,b(()=>C(t,!0,"start")),s=st(E=>{if(r){if(E>=L)return h(1,0),C(t,!0,"end"),c(),r=!1;if(E>=y){const N=f((E-y)/m);h(N,1-N)}}return r})}let a=!1;return{start(){a||(a=!0,J(t),F(o)?(o=o(i),ft().then(p)):p())},invalidate(){a=!1},end(){r&&(c(),r=!1)}}}function gt(t,e,n){const i={direction:"out"};let o=e(t,n,i),r=!0,l;const s=x;s.r+=1;let u;function c(){const{delay:p=0,duration:a=300,easing:_=Q,tick:m=A,css:f}=o||ct;f&&(l=Z(t,1,0,a,p,_,f));const h=rt()+p,g=h+a;b(()=>C(t,!1,"start")),"inert"in t&&(u=t.inert,t.inert=!0),st(y=>{if(r){if(y>=g)return m(0,1),C(t,!1,"end"),--s.r||S(s.c),!1;if(y>=h){const L=_((y-h)/a);m(1-L,L)}}return r})}return F(o)?ft().then(()=>{o=o(i),c()}):c(),{end(p){p&&"inert"in t&&(t.inert=u),p&&o.tick&&o.tick(1,0),r&&(l&&J(t,l),r=!1)}}}function G(t,e,n,i){let r=e(t,n,{direction:"both"}),l=i?0:1,s=null,u=null,c=null,p;function a(){c&&J(t,c)}function _(f,h){const g=f.b-l;return h*=Math.abs(g),{a:l,b:f.b,d:g,duration:h,start:f.start,end:f.start+h,group:f.group}}function m(f){const{delay:h=0,duration:g=300,easing:y=Q,tick:L=A,css:E}=r||ct,N={start:rt()+h,b:f};f||(N.group=x,x.r+=1),"inert"in t&&(f?p!==void 0&&(t.inert=p):(p=t.inert,t.inert=!0)),s||u?u=N:(E&&(a(),c=Z(t,l,f,g,h,y,E)),f&&L(0,1),s=_(N,g),b(()=>C(t,f,"start")),st(T=>{if(u&&T>u.start&&(s=_(u,g),u=null,C(t,s.b,"start"),E&&(a(),c=Z(t,l,s.b,s.duration,0,y,r.css))),s){if(T>=s.end)L(l=s.b,1-l),C(t,s.b,"end"),u||(s.b?a():--s.group.r||S(s.group.c)),s=null;else if(T>=s.start){const qt=T-s.start;l=s.a+s.d*y(qt/s.duration),L(l,1-l)}}return!!(s||u)}))}return{run(f){F(r)?ft().then(()=>{r=r({direction:f?"in":"out"}),m(f)}):m(f)},end(){a(),s=u=null}}}function Qt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function St(t){t&&t.c()}function ut(t,e,n){const{fragment:i,after_update:o}=t.$$;i&&i.m(e,n),b(()=>{const r=t.$$.on_mount.map(vt).filter(F);t.$$.on_destroy?t.$$.on_destroy.push(...r):S(r),t.$$.on_mount=[]}),o.forEach(b)}function at(t,e){const n=t.$$;n.fragment!==null&&(Ht(n.after_up
|
|
|
|
`}}function ie(t,e){const{delay:n=0,duration:i=400,easing:o=Pt}=e,r=parseFloat(getComputedStyle(t).strokeWidth);return{delay:n,duration:i,easing:o,css:l=>`opacity: ${l}; stroke-width: ${l*r}`}}const re="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",oe="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 se(t,e,n){const i=t.slice();return i[1]=e[n],i[3]=n,i}function yt(t){let e,n,i,o,r,l,s,u,c,p,a,_=Qt("JANKBOARD"),m=[];for(let f=0;f<_.length;f+=1)m[f]=le(se(t,_,f));return{c(){e=U("svg"),n=U("g"),i=U("path"),r=U("path"),u=lt(),c=v("div");for(let f=0;f<m.length;f+=1)m[f].c();I(i,"stroke","#ff3e00"),I(i,"fill","#ff3e00"),I(i,"stroke-width","50"),d(i,"d",oe),d(i,"class","svelte-pb5q44"),I(r,"stroke","#ff3e00"),I(r,"stroke-width","2"),d(r,"stroke-linecap","round"),d(r,"d",re),d(r,"class","svelte-pb5q44"),d(n,"opacity","0.35"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 103 124"),d(e,"class","svelte-pb5q44"),d(c,"class","centered svelte-pb5q44")},m(f,h){O(f,e,h),w(e,n),w(n,i),w(n,r),O(f,u,h),O(f,c,h);for(let g=0;g<m.length;g+=1)m[g]&&m[g].m(c,null);a=!0},i(f){if(!a){f&&(o||b(()=>{o=nt(i,ie,{duration:400,delay:1e3,easing:te}),o.start()})),f&&(l||b(()=>{l=nt(r,ne,{duration:1e3}),l.start()})),s&&s.end(1);for(let h=0;h<_.length;h+=1)k(m[h]);p&&p.end(1),a=!0}},o(f){f&&(s=gt(n,H,{duration:200})),f&&(p=gt(c,ee,{y:-20,duration:800})),a=!1},d(f){f&&($(e),$(u),$(c)),f&&s&&s.end(),Bt(m,f),f&&p&&p.end()}}}function le(t){let e,n;return{c(){e=v("span"),e.textContent=`${t[1]}`,d(e,"class","svelte-pb5q44")},m(i,o){O(i,e,o)},p:A,i(i){n||b(()=>{n=nt(e,H,{delay:1e3+t[3]*150,duration:800}),n.start()})},o:A,d(i){i&&$(e)}}}function fe(t){let e,n=t[0]&&yt(t);return{c(){n&&n.c(),e=Dt()},m(i,o){n&&n.m(i,o),O(i,e,o)},p(i,[o]){i[0]?n?o&1&&k(n,1):(n=yt(i),n.c(),k(n,1),n.m(e.parentNode,e)):n&&(Et(),z(n,1,1,()=>{n=null}),Ct())},i(i){k(n)},o(i){z(n)},d(i){i&&$(e),n&&n.d(i)}}}function ce(t,e,n){let i=!1;return Lt(()=>{n(0,i=!0)}),[i]}class ue extends pt{constructor(e){super(),dt(this,e,ce,fe,it,{})}}function wt(t){let e,n,i;return{c(){e=v("p"),e.textContent="Loading 3D assets...please wait",d(e,"class","text-5xl text-slate-300 absolute bottom-20 animate-pulse")},m(o,r){O(o,e,r),i=!0},i(o){i||(o&&b(()=>{i&&(n||(n=G(e,H,{duration:300},!0)),n.run(1))}),i=!0)},o(o){o&&(n||(n=G(e,H,{duration:300},!1)),n.run(0)),i=!1},d(o){o&&$(e),o&&n&&n.end()}}}function ae(t){let e,n,i,o,r,l;i=new ue({});let s=t[0]&&wt();return{c(){e=v("div"),n=v("div"),St(i.$$.fragment),o=lt(),s&&s.c(),d(n,"class","max-w-64"),d(e,"class","absolute w-screen h-screen flex justify-center items-center flex-col overflow-hidden select-none bg svelte-1hm2i9q")},m(u,c){O(u,e,c),w(e,n),ut(i,n,null),w(e,o),s&&s.m(e,null),l=!0},p(u,[c]){u[0]?s?c&1&&k(s,1):(s=wt(),s.c(),k(s,1),s.m(e,null)):s&&(Et(),z(s,1,1,()=>{s=null}),Ct())},i(u){l||(k(i.$$.fragment,u),k(s),u&&b(()=>{l&&(r||(r=G(e,$t,{duration:300,amount:.5},!0)),r.run(1))}),l=!0)},o(u){z(i.$$.fragment,u),z(s),u&&(r||(r=G(e,$t,{duration:300,amount:.5},!1)),r.run(0)),l=!1},d(u){u&&$(e),at(i),s&&s.d(),u&&r&&r.end()}}}function de(t,e,n){let i=!1;return Lt(()=>{setTimeout(()=>{n(0,i=!0)},3e3)}
|