function O(){}const it=t=>t;function B(t,e){for(const n in e)t[n]=e[n];return t}function R(t){return t()}function st(){return Object.create(null)}function q(t){t.forEach(R)}function ct(t){return typeof t=="function"}function rt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function lt(t){return Object.keys(t).length===0}function C(t,...e){if(t==null){for(const i of e)i(void 0);return O}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ot(t){let e;return C(t,n=>e=n)(),e}function at(t,e,n){t.$$.on_destroy.push(C(e,n))}function ut(t,e,n,i){if(t){const s=D(t,e,n,i);return t[0](s)}}function D(t,e,n,i){return t[1]&&i?B(n.ctx.slice(),t[1](i(e))):n.ctx}function ft(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=[],c=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function G(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const r=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:F(1,s,P=>e[n[P]].claim_order,a))-1;i[r]=n[u]+1;const N=u+1;n[N]=r,s=Math.max(N,s)}const l=[],c=[];let o=e.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(l.push(e[r-1]);o>=r;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);l.reverse(),c.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=l[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function Q(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const V=["width","height"];function At(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&&V.indexOf(i)===-1?t[i]=e[i]:Q(t,i,e[i])}function kt(t){return t.dataset.svelteH}function Ct(t){let e;return{p(...n){e=n,e.forEach(i=>t.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function Dt(t){return Array.from(t.childNodes)}function L(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function M(t,e,n,i,s=!1){L(t);const l=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const o=t[c];if(e(o)){const r=n(o);return r===void 0?t.splice(c,1):t[c]=r,s?r===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function S(t,e,n,i){return M(t,s=>s.nodeName===e,s=>{const l=[];for(let c=0;cs.removeAttribute(c))},()=>i(e))}function Ht(t,e,n){return S(t,e,n,w)}function Lt(t,e,n){return S(t,e,n,H)}function X(t,e){return M(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},()=>T(e),!0)}function Mt(t){return X(t," ")}function A(t,e,n){for(let i=n;i0&&n.push(s);return n}class Z{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!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=H(n.nodeName):this.e=w(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{const s=t.$$.callbacks[e];if(s){const l=Y(e,n,{cancelable:i});return s.slice().forEach(c=>{c.call(t,l)}),!l.defaultPrevented}return!0}}function Ut(t,e){return h().$$.context.set(t,e),e}function Wt(t){return h().$$.context.get(t)}function Jt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const d=[],k=[];let _=[];const E=[],j=Promise.resolve();let v=!1;function $(){v||(v=!0,j.then(et))}function Kt(){return $(),j}function tt(t){_.push(t)}function Qt(t){E.push(t)}const b=new Set;let f=0;function et(){if(f!==0)return;const t=m;do{try{for(;ft.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{Lt as $,ft as A,I as B,Et as C,q as D,ct as E,tt as F,Y as G,it as H,st as I,et as J,lt as K,Vt as L,m as M,g as N,R as O,d as P,$ as Q,bt as R,xt as S,Bt as T,It as U,Ut as V,yt as W,zt as X,Wt as Y,Nt as Z,H as _,wt as a,Pt as a0,ot as a1,gt as a2,B as a3,dt as a4,pt as a5,C as a6,Jt as a7,y as a8,St as a9,Ct as aa,At as ab,mt as ac,vt as ad,Qt as ae,Rt as af,Dt as b,Ht as c,X as d,w as e,x as f,Mt as g,W as h,K as i,jt as j,at as k,Tt as l,Gt as m,O as n,Ft as o,Q as p,Ot as q,k as r,rt as s,T as t,qt as u,Kt as v,ut as w,kt as x,_t as y,ht as z};