function R(){}const st=t=>t;function lt(t,e){for(const n in e)t[n]=e[n];return t}function J(t){return t()}function I(){return Object.create(null)}function $(t){t.forEach(J)}function K(t){return typeof t=="function"}function Ot(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let A;function qt(t,e){return A||(A=document.createElement("a")),A.href=e,t===A.href}function ot(t){return Object.keys(t).length===0}function Tt(t,e,n,r){if(t){const c=Q(t,e,n,r);return t[0](c)}}function Q(t,e,n,r){return t[1]&&r?lt(n.ctx.slice(),t[1](r(e))):n.ctx}function zt(t,e,n,r){if(t[2]&&r){const c=t[2](r(n));if(e.dirty===void 0)return c;if(typeof c=="object"){const o=[],i=Math.max(e.dirty.length,c.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let r=0;rwindow.performance.now():()=>Date.now(),F=U?t=>requestAnimationFrame(t):R;const x=new Set;function V(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),x.size!==0&&F(V)}function at(t){let e;return x.size===0&&F(V),{promise:new Promise(n=>{x.add(e={c:t,f:n})}),abort(){x.delete(e)}}}let O=!1;function ft(){O=!0}function _t(){O=!1}function dt(t,e,n,r){for(;t>1);n(c)<=r?t=c+1:e=c}return t}function ht(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const s=[];for(let u=0;u0&&e[n[c]].claim_order<=u?c+1:dt(1,c,a=>e[n[a]].claim_order,u))-1;r[s]=n[_]+1;const f=_+1;n[f]=s,c=Math.max(f,c)}const o=[],i=[];let l=e.length-1;for(let s=n[c]+1;s!=0;s=r[s-1]){for(o.push(e[s-1]);l>=s;l--)i.push(e[l]);l--}for(;l>=0;l--)i.push(e[l]);o.reverse(),i.sort((s,u)=>s.claim_order-u.claim_order);for(let s=0,u=0;s=o[u].claim_order;)u++;const _=ut.removeEventListener(e,n,r)}function Jt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Kt(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function bt(t){return Array.from(t.childNodes)}function wt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Z(t,e,n,r,c=!1){wt(t);const o=(()=>{for(let i=t.claim_info.last_index;i=0;i--){const l=t[i];if(e(l)){const s=n(l);return s===void 0?t.splice(i,1):t[i]=s,c?s===void 0&&t.claim_info.last_index--:t.claim_info.last_index=i,l}}return r()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function tt(t,e,n,r){return Z(t,c=>c.nodeName===e,c=>{const o=[];for(let i=0;ic.removeAttribute(i))},()=>r(e))}function Qt(t,e,n){return tt(t,e,n,Y)}function Ut(t,e,n){return tt(t,e,n,$t)}function vt(t,e){return Z(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>H(e),!0)}function Vt(t){return vt(t," ")}function Xt(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function Yt(t,e,n,r){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function et(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const c=document.createEvent("CustomEvent");return c.initCustomEvent(t,n,r,e),c}const M=new Map;let D=0;function Et(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function kt(t,e){const n={stylesheet:pt(e),rules:{}};return M.set(t,n),n}function W(t,e,n,r,c,o,i,l=0){const s=16.666/r;let u=`{ `;for(let p=0;p<=1;p+=s){const g=e+(n-e)*o(p);u+=p*100+`%{${i(g,1-g)}} `}const _=u+`100% {${i(n,1-n)}} }`,f=`__svelte_${Et(_)}_${l}`,a=X(t),{stylesheet:d,rules:h}=M.get(a)||kt(a,t);h[f]||(h[f]=!0,d.insertRule(`@keyframes ${f} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${c}ms 1 both`,D+=1,f}function Nt(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),c=n.length-r.length;c&&(t.style.animation=r.join(", "),D-=c,D||At())}function At(){F(()=>{D||(M.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),M.clear())})}let E;function v(t){E=t}function k(){if(!E)throw new Error("Function called outside component initialization");return E}function Zt(t){k().$$.on_mount.push(t)}function te(t){k().$$.after_update.push(t)}function ee(t){k().$$.on_destroy.push(t)}function ne(){const t=k();return(e,n,{cancelable:r=!1}={})=>{const c=t.$$.callbacks[e];if(c){const o=et(e,n,{cancelable:r});return c.slice().forEach(i=>{i.call(t,o)}),!o.defaultPrevented}return!0}}function ie(t,e){return k().$$.context.set(t,e),e}const w=[],G=[],j=[],B=[],nt=Promise.resolve();let L=!1;function it(){L||(L=!0,nt.then(rt))}function re(){return it(),nt}function P(t){j.push(t)}function ce(t){B.push(t)}const T=new Set;let S=0;function rt(){const t=E;do{for(;S{b=null})),b}function z(t,e,n){t.dispatchEvent(et(`${e?"intro":"outro"}${n}`))}const C=new Set;let m;function se(){m={r:0,c:[],p:m}}function le(){m.r||$(m.c),m=m.p}function Ct(t,e){t&&t.i&&(C.delete(t),t.i(e))}function oe(t,e,n,r){if(t&&t.o){if(C.has(t))return;C.add(t),m.c.push(()=>{C.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const Mt={duration:0};function ue(t,e,n,r){let c=e(t,n),o=r?0:1,i=null,l=null,s=null;function u(){s&&Nt(t,s)}function _(a,d){const h=a.b-o;return d*=Math.abs(h),{a:o,b:a.b,d:h,duration:d,start:a.start,end:a.start+d,group:a.group}}function f(a){const{delay:d=0,duration:h=300,easing:y=st,tick:p=R,css:g}=c||Mt,q={start:ut()+d,b:a};a||(q.group=m,m.r+=1),i||l?l=q:(g&&(u(),s=W(t,o,a,h,d,y,g)),a&&p(0,1),i=_(q,h),P(()=>z(t,a,"start")),at(N=>{if(l&&N>l.start&&(i=_(l,h),l=null,z(t,i.b,"start"),g&&(u(),s=W(t,o,i.b,i.duration,0,y,c.css))),i){if(N>=i.end)p(o=i.b,1-o),z(t,i.b,"end"),l||(i.b?u():--i.group.r||$(i.group.c)),i=null;else if(N>=i.start){const ct=N-i.start;o=i.a+i.d*y(ct/i.duration),p(o,1-o)}}return!!(i||l)}))}return{run(a){K(c)?jt().then(()=>{c=c(),f(a)}):f(a)},end(){u(),i=l=null}}}function ae(t,e){const n={},r={},c={$$scope:1};let o=t.length;for(;o--;){const i=t[o],l=e[o];if(l){for(const s in i)s in l||(r[s]=1);for(const s in l)c[s]||(n[s]=l[s],c[s]=1);t[o]=l}else for(const s in i)c[s]=1}for(const i in r)i in n||(n[i]=void 0);return n}function fe(t){return typeof t=="object"&&t!==null?t:{}}function _e(t,e,n){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function de(t){t&&t.c()}function he(t,e){t&&t.l(e)}function Dt(t,e,n,r){const{fragment:c,on_mount:o,on_destroy:i,after_update:l}=t.$$;c&&c.m(e,n),r||P(()=>{const s=o.map(J).filter(K);i?i.push(...s):$(s),t.$$.on_mount=[]}),l.forEach(P)}function Pt(t,e){const n=t.$$;n.fragment!==null&&($(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rt(t,e){t.$$.dirty[0]===-1&&(w.push(t),it(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=d.length?d[0]:a;return u.ctx&&c(u.ctx[f],u.ctx[f]=h)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](h),_&&Rt(t,f)),a}):[],u.update(),_=!0,$(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){ft();const f=bt(e.target);u.fragment&&u.fragment.l(f),f.forEach(xt)}else u.fragment&&u.fragment.c();e.intro&&Ct(t.$$.fragment),Dt(t,e.target,e.anchor,e.customElement),_t(),rt()}v(s)}class pe{$destroy(){Pt(this,1),this.$destroy=R}$on(e,n){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const c=r.indexOf(n);c!==-1&&r.splice(c,1)}}$set(e){this.$$set&&!ot(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ae as A,fe as B,Pt as C,lt as D,re as E,Tt as F,Bt as G,Lt as H,zt as I,gt as J,Gt as K,Ht as L,ne as M,$t as N,Ut as O,st as P,P as Q,ue as R,pe as S,qt as T,$ as U,ee as V,G as W,ce as X,_e as Y,Kt as Z,bt as a,Jt as b,Qt as c,xt as d,Y as e,Yt as f,Ft as g,vt as h,me as i,Xt as j,It as k,Wt as l,Vt as m,R as n,se as o,oe as p,le as q,Ct as r,Ot as s,H as t,ie as u,te as v,Zt as w,de as x,he as y,Dt as z};