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