function k(){}const vt=t=>t;function Et(t,e){for(const n in e)t[n]=e[n];return t}function ot(t){return t()}function tt(){return Object.create(null)}function T(t){t.forEach(ot)}function G(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let z;function ee(t,e){return z||(z=document.createElement("a")),z.href=e,t===z.href}function kt(t){return Object.keys(t).length===0}function ct(t,...e){if(t==null)return k;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ne(t){let e;return ct(t,n=>e=n)(),e}function ie(t,e,n){t.$$.on_destroy.push(ct(e,n))}function se(t,e,n,i){if(t){const s=lt(t,e,n,i);return t[0](s)}}function lt(t,e,n,i){return t[1]&&i?Et(n.ctx.slice(),t[1](i(e))):n.ctx}function re(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],r=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),Y=at?t=>requestAnimationFrame(t):k;const S=new Set;function ut(t){S.forEach(e=>{e.c(t)||(S.delete(e),e.f())}),S.size!==0&&Y(ut)}function Nt(t){let e;return S.size===0&&Y(ut),{promise:new Promise(n=>{S.add(e={c:t,f:n})}),abort(){S.delete(e)}}}const he=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let I=!1;function At(){I=!0}function Mt(){I=!1}function St(t,e,n,i){for(;t>1);n(s)<=i?t=s+1:e=s}return t}function Ct(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:St(1,s,h=>e[n[h]].claim_order,a))-1;i[c]=n[f]+1;const d=f+1;n[d]=c,s=Math.max(d,s)}const l=[],r=[];let o=e.length-1;for(let c=n[s]+1;c!=0;c=i[c-1]){for(l.push(e[c-1]);o>=c;o--)r.push(e[o]);o--}for(;o>=0;o--)r.push(e[o]);l.reverse(),r.sort((c,a)=>c.claim_order-a.claim_order);for(let c=0,a=0;c=l[a].claim_order;)a++;const f=at.removeEventListener(e,n,i)}function ge(t){return function(e){return e.preventDefault(),t.call(this,e)}}function we(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function ht(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const Ot=["width","height"];function be(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&Ot.indexOf(i)===-1?t[i]=e[i]:ht(t,i,e[i])}function $e(t,e){for(const n in e)ht(t,n,e[n])}function zt(t){return Array.from(t.childNodes)}function mt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function pt(t,e,n,i,s=!1){mt(t);const l=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const o=t[r];if(e(o)){const c=n(o);return c===void 0?t.splice(r,1):t[r]=c,s?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function yt(t,e,n,i){return pt(t,s=>s.nodeName===e,s=>{const l=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function xe(t,e,n){return yt(t,e,n,U)}function ve(t,e,n){return yt(t,e,n,_t)}function Rt(t,e){return pt(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>Z(e),!0)}function Ee(t){return Rt(t," ")}function nt(t,e,n){for(let i=n;i{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{l=et(i.contentWindow,"resize",e),e()}),ft(t,i),()=>{(s||l&&i.contentWindow)&&l(),j(i)}}function Ce(t,e,n){t.classList[n?"add":"remove"](e)}function gt(t,e,{bubbles:n=!1,cancelable:i=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(t,n,i,e),s}function je(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const l=s.textContent.trim();l===`HEAD_${t}_END`?(i-=1,n.push(s)):l===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}class Bt{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=_t(n.nodeName):this.e=U(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n>>0}function Ft(t,e){const n={stylesheet:jt(e),rules:{}};return B.set(t,n),n}function st(t,e,n,i,s,l,r,o=0){const c=16.666/i;let a=`{ `;for(let y=0;y<=1;y+=c){const g=e+(n-e)*l(y);a+=y*100+`%{${r(g,1-g)}} `}const f=a+`100% {${r(n,1-n)}} }`,d=`__svelte_${Wt(f)}_${o}`,h=dt(t),{stylesheet:u,rules:_}=B.get(h)||Ft(h,t);_[d]||(_[d]=!0,u.insertRule(`@keyframes ${d} ${f}`,u.cssRules.length));const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${d} ${i}ms linear ${s}ms 1 both`,W+=1,d}function Gt(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),s=n.length-i.length;s&&(t.style.animation=i.join(", "),W-=s,W||It())}function It(){Y(()=>{W||(B.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&j(e)}),B.clear())})}let L;function P(t){L=t}function x(){if(!L)throw new Error("Function called outside component initialization");return L}function Pe(t){x().$$.before_update.push(t)}function Le(t){x().$$.on_mount.push(t)}function He(t){x().$$.after_update.push(t)}function Oe(t){x().$$.on_destroy.push(t)}function ze(){const t=x();return(e,n,{cancelable:i=!1}={})=>{const s=t.$$.callbacks[e];if(s){const l=gt(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,l)}),!l.defaultPrevented}return!0}}function Re(t,e){return x().$$.context.set(t,e),e}function qe(t){return x().$$.context.get(t)}function Be(t){return x().$$.context.has(t)}function We(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const M=[],rt=[];let C=[];const V=[],wt=Promise.resolve();let X=!1;function bt(){X||(X=!0,wt.then($t))}function Fe(){return bt(),wt}function F(t){C.push(t)}function Ge(t){V.push(t)}const K=new Set;let A=0;function $t(){if(A!==0)return;const t=L;do{try{for(;At.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),C=e}let D;function Kt(){return D||(D=Promise.resolve(),D.then(()=>{D=null})),D}function Q(t,e,n){t.dispatchEvent(gt(`${e?"intro":"outro"}${n}`))}const q=new Set;let $;function Ie(){$={r:0,c:[],p:$}}function Ue(){$.r||T($.c),$=$.p}function xt(t,e){t&&t.i&&(q.delete(t),t.i(e))}function Qt(t,e,n,i){if(t&&t.o){if(q.has(t))return;q.add(t),$.c.push(()=>{q.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const Vt={duration:0};function Je(t,e,n,i){const s={direction:"both"};let l=e(t,n,s),r=i?0:1,o=null,c=null,a=null;function f(){a&&Gt(t,a)}function d(u,_){const p=u.b-r;return _*=Math.abs(p),{a:r,b:u.b,d:p,duration:_,start:u.start,end:u.start+_,group:u.group}}function h(u){const{delay:_=0,duration:p=300,easing:y=vt,tick:g=k,css:v}=l||Vt,N={start:Tt()+_,b:u};u||(N.group=$,$.r+=1),o||c?c=N:(v&&(f(),a=st(t,r,u,p,_,y,v)),u&&g(0,1),o=d(N,p),F(()=>Q(t,u,"start")),Nt(E=>{if(c&&E>c.start&&(o=d(c,p),c=null,Q(t,o.b,"start"),v&&(f(),a=st(t,r,o.b,o.duration,0,y,l.css))),o){if(E>=o.end)g(r=o.b,1-r),Q(t,o.b,"end"),c||(o.b?f():--o.group.r||T(o.group.c)),o=null;else if(E>=o.start){const H=E-o.start;r=o.a+o.d*y(H/o.duration),g(r,1-r)}}return!!(o||c)}))}return{run(u){G(l)?Kt().then(()=>{l=l(s),h(u)}):h(u)},end(){f(),o=c=null}}}function Ke(t,e){t.d(1),e.delete(t.key)}function Qe(t,e){Qt(t,1,1,()=>{e.delete(t.key)})}function Ve(t,e,n,i,s,l,r,o,c,a,f,d){let h=t.length,u=l.length,_=h;const p={};for(;_--;)p[t[_].key]=_;const y=[],g=new Map,v=new Map,N=[];for(_=u;_--;){const m=d(s,l,_),w=n(m);let b=r.get(w);b?i&&N.push(()=>b.p(m,e)):(b=a(w,m),b.c()),g.set(w,y[_]=b),w in p&&v.set(w,Math.abs(_-p[w]))}const E=new Set,H=new Set;function J(m){xt(m,1),m.m(o,f),r.set(m.key,m),f=m.first,u--}for(;h&&u;){const m=y[u-1],w=t[h-1],b=m.key,O=w.key;m===w?(f=m.first,h--,u--):g.has(O)?!r.has(b)||E.has(b)?J(m):H.has(O)?h--:v.get(b)>v.get(O)?(H.add(b),J(m)):(E.add(O),h--):(c(w,r),h--)}for(;h--;){const m=t[h];g.has(m.key)||c(m,r)}for(;u;)J(y[u-1]);return T(N),y}function Xe(t,e){const n={},i={},s={$$scope:1};let l=t.length;for(;l--;){const r=t[l],o=e[l];if(o){for(const c in r)c in o||(i[c]=1);for(const c in o)s[c]||(n[c]=o[c],s[c]=1);t[l]=o}else for(const c in r)s[c]=1}for(const r in i)r in n||(n[r]=void 0);return n}function Ye(t){return typeof t=="object"&&t!==null?t:{}}function Ze(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function tn(t){t&&t.c()}function en(t,e){t&&t.l(e)}function Xt(t,e,n,i){const{fragment:s,after_update:l}=t.$$;s&&s.m(e,n),i||F(()=>{const r=t.$$.on_mount.map(ot).filter(G);t.$$.on_destroy?t.$$.on_destroy.push(...r):T(r),t.$$.on_mount=[]}),l.forEach(F)}function Yt(t,e){const n=t.$$;n.fragment!==null&&(Jt(n.after_update),T(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&&(M.push(t),bt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const _=u.length?u[0]:h;return a.ctx&&s(a.ctx[d],a.ctx[d]=_)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](_),f&&Zt(t,d)),h}):[],a.update(),f=!0,T(a.before_update),a.fragment=i?i(a.ctx):!1,e.target){if(e.hydrate){At();const d=zt(e.target);a.fragment&&a.fragment.l(d),d.forEach(j)}else a.fragment&&a.fragment.c();e.intro&&xt(t.$$.fragment),Xt(t,e.target,e.anchor,e.customElement),Mt(),$t()}P(c)}class sn{$destroy(){Yt(this,1),this.$destroy=k}$on(e,n){if(!G(n))return k;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!kt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ve as $,Xt as A,Yt as B,ze as C,ae as D,Et as E,le as F,se as G,Ce as H,be as I,Pt as J,et as K,oe as L,ce as M,re as N,Xe as O,T as P,We as Q,ie as R,sn as S,Re as T,Ze as U,Ge as V,Ye as W,Ve as X,Qe as Y,Oe as Z,_t as _,pe as a,$e as a0,k as a1,he as a2,me as a3,de as a4,ct as a5,_e as a6,ne as a7,G as a8,ge as a9,we as aa,qe as ab,F as ac,Se as ad,Ne as ae,Je as af,fe as ag,vt as ah,ue as ai,Ae as aj,Be as ak,Ke as al,Pe as am,ee as an,it as ao,ke as ap,je as aq,Ht as b,Ee as c,Qt as d,ye as e,Ue as f,xt as g,j as h,nn as i,He as j,U as k,xe as l,zt as m,ht as n,Le as o,Me as p,Z as q,Rt as r,te as s,Fe as t,Te as u,Ie as v,rt as w,De as x,tn as y,en as z};