var F=Object.defineProperty;var G=(t,e,n)=>e in t?F(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>(G(t,typeof e!="symbol"?e+"":e,n),n);function L(){}const bt=t=>t;function U(t,e){for(const n in e)t[n]=e[n];return t}function gt(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function J(t){return t()}function xt(){return Object.create(null)}function K(t){t.forEach(J)}function Q(t){return typeof t=="function"}function wt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function Et(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function Tt(t){return Object.keys(t).length===0}function M(t,...e){if(t==null){for(const i of e)i(void 0);return L}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function vt(t){let e;return M(t,n=>e=n)(),e}function Nt(t,e,n){t.$$.on_destroy.push(M(e,n))}function kt(t,e,n,i){if(t){const s=P(t,e,n,i);return t[0](s)}}function P(t,e,n,i){return t[1]&&i?U(n.ctx.slice(),t[1](i(e))):n.ctx}function At(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 o=[],r=Math.max(e.dirty.length,s.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function Y(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:X(1,s,I=>e[n[I]].claim_order,a))-1;i[c]=n[u]+1;const j=u+1;n[j]=c,s=Math.max(j,s)}const o=[],r=[];let l=e.length-1;for(let c=n[s]+1;c!=0;c=i[c-1]){for(o.push(e[c-1]);l>=c;l--)r.push(e[l]);l--}for(;l>=0;l--)r.push(e[l]);o.reverse(),r.sort((c,a)=>c.claim_order-a.claim_order);for(let c=0,a=0;c=o[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function Ft(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Gt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function C(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const it=["width","height"];function st(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&&it.indexOf(i)===-1?t[i]=e[i]:C(t,i,e[i])}function Ut(t,e){for(const n in e)C(t,n,e[n])}function rt(t,e){Object.keys(e).forEach(n=>{ot(t,n,e[n])})}function ot(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:C(t,e,n)}function Jt(t){return/-/.test(t)?rt:st}function Kt(t){return t.dataset.svelteH}function Qt(t){return t===""?null:+t}function Vt(t){return Array.from(t.childNodes)}function z(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function B(t,e,n,i,s=!1){z(t);const o=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const l=t[r];if(e(l)){const c=n(l);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,l}}return i()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function R(t,e,n,i){return B(t,s=>s.nodeName===e,s=>{const o=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Xt(t,e,n){return R(t,e,n,w)}function Yt(t,e,n){return R(t,e,n,q)}function ct(t,e){return B(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},()=>A(e),!0)}function Zt(t){return ct(t," ")}function S(t,e,n){for(let i=n;i{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{o=D(i.contentWindow,"resize",e),e()}),O(t,i),()=>{(s||o&&i.contentWindow)&&o(),b(i)}}function oe(t,e,n){t.classList.toggle(e,!!n)}function ft(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function ce(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const o=s.textContent.trim();o===`HEAD_${t}_END`?(i-=1,n.push(s)):o===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}class _t{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");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=q(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 o=ft(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,o)}),!o.defaultPrevented}return!0}}function he(t,e){return _().$$.context.set(t,e),e}function me(t){return _().$$.context.get(t)}function pe(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],H=[];let h=[];const N=[],W=Promise.resolve();let k=!1;function dt(){k||(k=!0,W.then(mt))}function ye(){return dt(),W}function ht(t){h.push(t)}function be(t){N.push(t)}const v=new Set;let d=0;function mt(){if(d!==0)return;const t=g;do{try{for(;dt.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{Tt as $,Ot as A,bt as B,gt as C,_ as D,T as E,mt as F,q as G,Yt as H,E as I,$t as J,fe as K,ue as L,ne as M,H as N,le as O,ye as P,me as Q,U as R,Ut as S,St as T,Dt as U,Z as V,Bt as W,K as X,Q as Y,ft as Z,xt as _,Wt as a,ge as a0,g as a1,J as a2,m as a3,dt as a4,qt as a5,zt as a6,de as a7,he as a8,st as a9,Pt as aa,ee as ab,Rt as ac,Et as ad,be as ae,Qt as af,M as ag,Jt as ah,Ht as ai,_e as aj,Lt as ak,vt as al,ie as am,Ft as an,se as ao,re as ap,Mt as aq,te as ar,ae as as,ce as at,Xt as b,kt as c,Vt as d,w as e,Zt as f,b as g,C as h,nt as i,tt as j,Gt as k,D as l,jt as m,At as n,pe as o,Kt as p,ht as q,It as r,wt as s,oe as t,Ct as u,Nt as v,A as w,ct as x,lt as y,L as z};