@htmlbricks/hb-sidenav-button 0.65.23 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +4 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -9
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Ae){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const zr=2,Re="[",ie="[!",Te="]",ut={},y=Symbol(),se=!1;var Ar=Array.isArray,Rr=Array.prototype.indexOf,Tr=Array.from,Yt=Object.keys,qt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,Sr=Object.prototype,Br=Array.prototype,Cr=Object.getPrototypeOf,Se=Object.isExtensible;function Nr(t){for(var e=0;e<t.length;e++)t[e]()}function Be(){var t,e,r=new Promise((a,n)=>{t=a,e=n});return{promise:r,resolve:t,reject:e}}const x=2,le=4,be=8,K=16,W=32,at=64,Xt=128,P=512,k=1024,j=2048,J=4096,L=8192,Z=16384,Ut=32768,xt=65536,Ce=1<<17,me=1<<18,mt=1<<19,Gr=1<<20,dt=32768,de=1<<21,pe=1<<22,ot=1<<23,ve=Symbol("$state"),Or=Symbol("legacy props"),yt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ce=3,kt=8;function Pr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Dr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ir(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Lr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Yr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Xr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ur(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Vt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function nt(t){w=t}let g;function R(t){if(t===null)throw Vt(),ut;return g=t}function fe(){return R(M(g))}function _t(t){if(w){if(M(g)!==null)throw Vt(),ut;g=t}}function Hr(t=1){if(w){for(var e=t,r=g;e--;)r=M(r);g=r}}function Ne(t=!0){for(var e=0,r=g;;){if(r.nodeType===kt){var a=r.data;if(a===Te){if(e===0)return r;e-=1}else(a===Re||a===ie)&&(e+=1)}var n=M(r);t&&r.remove(),r=n}}function Kr(t){if(!t||t.nodeType!==kt)throw Vt(),ut;return t.data}function Ge(t){return t===this.v}function Wr(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Jr(t){return!Wr(t,this.v)}let Zr=!1,B=null;function $t(t){B=t}function Oe(t,e=!1,r){B={p:B,i:!1,c:null,e:null,s:t,x:null,l:null}}function Pe(t){var e=B,r=e.e;if(r!==null){e.e=null;for(var a of r)rr(a)}return t!==void 0&&(e.x=t),e.i=!0,B=e.p,t??{}}function De(){return!0}let pt=[];function Me(){var t=pt;pt=[],Nr(t)}function ge(t){if(pt.length===0&&!Bt){var e=pt;queueMicrotask(()=>{e===pt&&Me()})}pt.push(t)}function Qr(){for(;pt.length>0;)Me()}function Fe(t){var e=f;if(e===null)return c.f|=ot,t;if((e.f&Ut)===0){if((e.f&Xt)===0)throw t;e.b.error(t)}else jt(t,e)}function jt(t,e){for(;e!==null;){if((e.f&Xt)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Ht=new Set;let h=null,C=null,N=[],Kt=null,we=!1,Bt=!1;class D{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#a=0;#l=null;#n=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#a>0}process(e){N=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of e)this.#i(a,r);this.is_fork||this.#m(),this.is_deferred()?(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects)):(h=null,Le(r.render_effects),Le(r.effects),this.#l?.resolve()),C=null}#i(e,r){e.f^=k;for(var a=e.first;a!==null;){var n=a.f,o=(n&(W|at))!==0,i=o&&(n&k)!==0,s=i||(n&L)!==0||this.skipped_effects.has(a);if((a.f&Xt)!==0&&a.b?.is_pending()&&(r={parent:r,effect:a,effects:[],render_effects:[],block_effects:[]}),!s&&a.fn!==null){o?a.f^=k:(n&le)!==0?r.effects.push(a):Dt(a)&&((a.f&K)!==0&&r.block_effects.push(a),Mt(a));var l=a.first;if(l!==null){a=l;continue}}var b=a.parent;for(a=a.next;a===null&&b!==null;)b===r.effect&&(this.#s(r.effects),this.#s(r.render_effects),this.#s(r.block_effects),r=r.parent),a=b.next,b=b.parent}}#s(e){for(const r of e)((r.f&j)!==0?this.#n:this.#o).push(r),this.#b(r.deps),_(r,k)}#b(e){if(e!==null)for(const r of e)(r.f&x)===0||(r.f&dt)===0||(r.f^=dt,this.#b(r.deps))}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&ot)===0&&(this.current.set(e,e.v),C?.set(e,e.v))}activate(){h=this,this.apply()}deactivate(){h===this&&(h=null,C=null)}flush(){if(this.activate(),N.length>0){if(Ie(),h!==null&&h!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#m(){if(this.#a===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#d()}#d(){if(Ht.size>1){this.previous.clear();var e=C,r=!0,a={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of Ht){if(o===this){r=!1;continue}const i=[];for(const[l,b]of this.current){if(o.current.has(l))if(r&&b!==o.current.get(l))o.current.set(l,b);else continue;i.push(l)}if(i.length===0)continue;const s=[...o.current.keys()].filter(l=>!this.current.has(l));if(s.length>0){var n=N;N=[];const l=new Set,b=new Map;for(const m of i)Ye(m,s,l,b);if(N.length>0){h=o,o.apply();for(const m of N)o.#i(m,a);o.deactivate()}N=n}}h=null,C=e}this.committed=!0,Ht.delete(this)}increment(e){this.#r+=1,e&&(this.#a+=1)}decrement(e){this.#r-=1,e&&(this.#a-=1),this.revive()}revive(){for(const e of this.#n)_(e,j),vt(e);for(const e of this.#o)_(e,J),vt(e);this.#n=[],this.#o=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#l??=Be()).promise}static ensure(){if(h===null){const e=h=new D;Ht.add(h),Bt||D.enqueue(()=>{h===e&&e.flush()})}return h}static enqueue(e){ge(e)}apply(){}}function ue(t){var e=Bt;Bt=!0;try{for(var r;;){if(Qr(),N.length===0&&(h?.flush(),N.length===0))return Kt=null,r;Ie()}}finally{Bt=e}}function Ie(){var t=lt;we=!0;var e=null;try{var r=0;for(te(!0);N.length>0;){var a=D.ensure();if(r++>1e3){var n,o;ta()}a.process(N),it.clear()}}finally{we=!1,te(t),Kt=null}}function ta(){try{Ir()}catch(t){jt(t,Kt)}}let Q=null;function Le(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(Z|L))===0&&Dt(a)&&(Q=new Set,Mt(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null&&a.ac===null?ir(a):a.fn=null),Q?.size>0)){it.clear();for(const n of Q){if((n.f&(Z|L))!==0)continue;const o=[n];let i=n.parent;for(;i!==null;)Q.has(i)&&(Q.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(Z|L))===0&&Mt(l)}}Q.clear()}}Q=null}}function Ye(t,e,r,a){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const n of t.reactions){const o=n.f;(o&x)!==0?Ye(n,e,r,a):(o&(pe|K))!==0&&(o&j)===0&&qe(n,e,a)&&(_(n,j),vt(n))}}function qe(t,e,r){const a=r.get(t);if(a!==void 0)return a;if(t.deps!==null)for(const n of t.deps){if(e.includes(n))return!0;if((n.f&x)!==0&&qe(n,e,r))return r.set(n,!0),!0}return r.set(t,!1),!1}function vt(t){for(var e=Kt=t;e.parent!==null;){e=e.parent;var r=e.f;if(we&&e===f&&(r&K)!==0&&(r&me)===0)return;if((r&(at|W))!==0){if((r&k)===0)return;e.f^=k}}N.push(e)}function ea(t){let e=0,r=Ct(0),a;return()=>{Qt()&&(F(r),ar(()=>(e===0&&(a=Aa(()=>t(()=>Nt(r)))),e+=1,()=>{ge(()=>{e-=1,e===0&&(a?.(),a=void 0,Nt(r))})})))}}var ra=xt|mt|Xt;function aa(t,e,r){new oa(t,e,r)}class oa{parent;#e=!1;#t;#r=w?g:null;#a;#l;#n;#o=null;#i=null;#s=null;#b=null;#m=null;#d=0;#p=0;#c=!1;#v=null;#h=ea(()=>(this.#v=Ct(this.#d),()=>{this.#v=null}));constructor(e,r,a){this.#t=e,this.#a=r,this.#l=a,this.parent=f.b,this.#e=!!this.#a.pending,this.#n=ke(()=>{if(f.b=this,w){const o=this.#r;fe(),o.nodeType===kt&&o.data===ie?this.#y():this.#x()}else{var n=this.#w();try{this.#o=et(()=>a(n))}catch(o){this.error(o)}this.#p>0?this.#g():this.#e=!1}return()=>{this.#m?.remove()}},ra),w&&(this.#t=g)}#x(){try{this.#o=et(()=>this.#l(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#a.pending;e&&(this.#i=et(()=>e(this.#t)),D.enqueue(()=>{var r=this.#w();this.#o=this.#f(()=>(D.ensure(),et(()=>this.#l(r)))),this.#p>0?this.#g():(Ot(this.#i,()=>{this.#i=null}),this.#e=!1)}))}#w(){var e=this.#t;return this.#e&&(this.#m=Y(),this.#t.before(this.#m),e=this.#m),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#a.pending}#f(e){var r=f,a=c,n=B;U(this.#n),z(this.#n),$t(this.#n.ctx);try{return e()}catch(o){return Fe(o),null}finally{U(r),z(a),$t(n)}}#g(){const e=this.#a.pending;this.#o!==null&&(this.#b=document.createDocumentFragment(),this.#b.append(this.#m),br(this.#o,this.#b)),this.#i===null&&(this.#i=et(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#p+=e,this.#p===0&&(this.#e=!1,this.#i&&Ot(this.#i,()=>{this.#i=null}),this.#b&&(this.#t.before(this.#b),this.#b=null))}update_pending_count(e){this.#u(e),this.#d+=e,this.#v&&Jt(this.#v,this.#d)}get_effect_pending(){return this.#h(),F(this.#v)}error(e){var r=this.#a.onerror;let a=this.#a.failed;if(this.#c||!r&&!a)throw e;this.#o&&(E(this.#o),this.#o=null),this.#i&&(E(this.#i),this.#i=null),this.#s&&(E(this.#s),this.#s=null),w&&(R(this.#r),Hr(),R(Ne()));var n=!1,o=!1;const i=()=>{if(n){Vr();return}n=!0,o&&Ur(),D.ensure(),this.#d=0,this.#s!==null&&Ot(this.#s,()=>{this.#s=null}),this.#e=this.has_pending_snippet(),this.#o=this.#f(()=>(this.#c=!1,et(()=>this.#l(this.#t)))),this.#p>0?this.#g():this.#e=!1};var s=c;try{z(null),o=!0,r?.(e,i),o=!1}catch(l){jt(l,this.#n&&this.#n.parent)}finally{z(s)}a&&ge(()=>{this.#s=this.#f(()=>{D.ensure(),this.#c=!0;try{return et(()=>{a(this.#t,()=>e,()=>i)})}catch(l){return jt(l,this.#n.parent),null}finally{this.#c=!1}})})}}function na(t,e,r,a){const n=Xe;if(r.length===0&&t.length===0){a(e.map(n));return}var o=h,i=f,s=ia();function l(){Promise.all(r.map(b=>sa(b))).then(b=>{s();try{a([...e.map(n),...b])}catch(m){(i.f&Z)===0&&jt(m,i)}o?.deactivate(),Wt()}).catch(b=>{jt(b,i)})}t.length>0?Promise.all(t).then(()=>{s();try{return l()}finally{o?.deactivate(),Wt()}}):l()}function ia(){var t=f,e=c,r=B,a=h;return function(o=!0){U(t),z(e),$t(r),o&&a?.activate()}}function Wt(){U(null),z(null),$t(null)}function Xe(t){var e=x|j,r=c!==null&&(c.f&x)!==0?c:null;return f!==null&&(f.f|=mt),{ctx:B,deps:null,effects:null,equals:Ge,f:e,fn:t,reactions:null,rv:0,v:y,wv:0,parent:r??f,ac:null}}function sa(t,e){let r=f;r===null&&Pr();var a=r.b,n=void 0,o=Ct(y),i=!c,s=new Map;return xa(()=>{var l=Be();n=l.promise;try{Promise.resolve(t()).then(l.resolve,l.reject).then(()=>{b===h&&b.committed&&b.deactivate(),Wt()})}catch(d){l.reject(d),Wt()}var b=h;if(i){var m=!a.is_pending();a.update_pending_count(1),b.increment(m),s.get(b)?.reject(yt),s.delete(b),s.set(b,l)}const v=(d,p=void 0)=>{if(b.activate(),p)p!==yt&&(o.f|=ot,Jt(o,p));else{(o.f&ot)!==0&&(o.f^=ot),Jt(o,d);for(const[u,I]of s){if(s.delete(u),u===b)break;I.reject(yt)}}i&&(a.update_pending_count(-1),b.decrement(m))};l.promise.then(v,d=>v(null,d||"unknown"))}),fa(()=>{for(const l of s.values())l.reject(yt)}),new Promise(l=>{function b(m){function v(){m===n?l(o):b(n)}m.then(v,v)}b(n)})}function Ue(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)E(e[r])}}function la(t){for(var e=t.parent;e!==null;){if((e.f&x)===0)return(e.f&Z)===0?e:null;e=e.parent}return null}function he(t){var e,r=f;U(la(t));try{t.f&=~dt,Ue(t),e=fr(t)}finally{U(r)}return e}function Ve(t){var e=he(t);if(t.equals(e)||(h?.is_fork||(t.v=e),t.wv=vr()),!ct)if(C!==null)Qt()&&C.set(t,e);else{var r=(t.f&P)===0?J:k;_(t,r)}}let xe=new Set;const it=new Map;let He=!1;function Ct(t,e){var r={f:0,v:t,reactions:null,equals:Ge,rv:0,wv:0};return r}function st(t,e){const r=Ct(t);return ja(r),r}function ba(t,e=!1,r=!0){const a=Ct(t);return e||(a.equals=Jr),a}function tt(t,e,r=!1){c!==null&&(!X||(c.f&Ce)!==0)&&De()&&(c.f&(x|K|pe|Ce))!==0&&!rt?.includes(t)&&Xr();let a=r?Gt(e):e;return Jt(t,a)}function Jt(t,e){if(!t.equals(e)){var r=t.v;ct?it.set(t,e):it.set(t,r),t.v=e;var a=D.ensure();a.capture(t,r),(t.f&x)!==0&&((t.f&j)!==0&&he(t),_(t,(t.f&P)!==0?k:J)),t.wv=vr(),Ke(t,j),f!==null&&(f.f&k)!==0&&(f.f&(W|at))===0&&(G===null?Ea([t]):G.push(t)),!a.is_fork&&xe.size>0&&!He&&ma()}return e}function ma(){He=!1;var t=lt;te(!0);const e=Array.from(xe);try{for(const r of e)(r.f&k)!==0&&_(r,J),Dt(r)&&Mt(r)}finally{te(t)}xe.clear()}function Nt(t){tt(t,t.v+1)}function Ke(t,e){var r=t.reactions;if(r!==null)for(var a=r.length,n=0;n<a;n++){var o=r[n],i=o.f,s=(i&j)===0;if(s&&_(o,e),(i&x)!==0){var l=o;C?.delete(l),(i&dt)===0&&(i&P&&(o.f|=dt),Ke(l,J))}else s&&((i&K)!==0&&Q!==null&&Q.add(o),vt(o))}}function Gt(t){if(typeof t!="object"||t===null||ve in t)return t;const e=Cr(t);if(e!==Sr&&e!==Br)return t;var r=new Map,a=Ar(t),n=st(0),o=ft,i=s=>{if(ft===o)return s();var l=c,b=ft;z(null),pr(o);var m=s();return z(l),pr(b),m};return a&&r.set("length",st(t.length)),new Proxy(t,{defineProperty(s,l,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&Yr();var m=r.get(l);return m===void 0?m=i(()=>{var v=st(b.value);return r.set(l,v),v}):tt(m,b.value,!0),!0},deleteProperty(s,l){var b=r.get(l);if(b===void 0){if(l in s){const m=i(()=>st(y));r.set(l,m),Nt(n)}}else tt(b,y),Nt(n);return!0},get(s,l,b){if(l===ve)return t;var m=r.get(l),v=l in s;if(m===void 0&&(!v||ht(s,l)?.writable)&&(m=i(()=>{var p=Gt(v?s[l]:y),u=st(p);return u}),r.set(l,m)),m!==void 0){var d=F(m);return d===y?void 0:d}return Reflect.get(s,l,b)},getOwnPropertyDescriptor(s,l){var b=Reflect.getOwnPropertyDescriptor(s,l);if(b&&"value"in b){var m=r.get(l);m&&(b.value=F(m))}else if(b===void 0){var v=r.get(l),d=v?.v;if(v!==void 0&&d!==y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return b},has(s,l){if(l===ve)return!0;var b=r.get(l),m=b!==void 0&&b.v!==y||Reflect.has(s,l);if(b!==void 0||f!==null&&(!m||ht(s,l)?.writable)){b===void 0&&(b=i(()=>{var d=m?Gt(s[l]):y,p=st(d);return p}),r.set(l,b));var v=F(b);if(v===y)return!1}return m},set(s,l,b,m){var v=r.get(l),d=l in s;if(a&&l==="length")for(var p=b;p<v.v;p+=1){var u=r.get(p+"");u!==void 0?tt(u,y):p in s&&(u=i(()=>st(y)),r.set(p+"",u))}if(v===void 0)(!d||ht(s,l)?.writable)&&(v=i(()=>st(void 0)),tt(v,Gt(b)),r.set(l,v));else{d=v.v!==y;var I=i(()=>Gt(b));tt(v,I)}var V=Reflect.getOwnPropertyDescriptor(s,l);if(V?.set&&V.set.call(m,b),!d){if(a&&typeof l=="string"){var ne=r.get("length"),It=Number(l);Number.isInteger(It)&&It>=ne.v&&tt(ne,It+1)}Nt(n)}return!0},ownKeys(s){F(n);var l=Reflect.ownKeys(s).filter(v=>{var d=r.get(v);return d===void 0||d.v!==y});for(var[b,m]of r)m.v!==y&&!(b in s)&&l.push(b);return l},setPrototypeOf(){qr()}})}var We,Je,Ze,Qe;function ye(){if(We===void 0){We=window,Je=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ze=ht(e,"firstChild").get,Qe=ht(e,"nextSibling").get,Se(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Se(r)&&(r.__t=void 0)}}function Y(t=""){return document.createTextNode(t)}function Et(t){return Ze.call(t)}function M(t){return Qe.call(t)}function zt(t,e){if(!w)return Et(t);var r=Et(g);if(r===null)r=g.appendChild(Y());else if(e&&r.nodeType!==ce){var a=Y();return r?.before(a),R(a),a}return R(r),r}function Zt(t,e=!1){if(!w){var r=Et(t);return r instanceof Comment&&r.data===""?M(r):r}if(e&&g?.nodeType!==ce){var a=Y();return g?.before(a),R(a),a}return g}function tr(t,e=1,r=!1){let a=w?g:t;for(var n;e--;)n=a,a=M(a);if(!w)return a;if(r&&a?.nodeType!==ce){var o=Y();return a===null?n?.after(o):a.before(o),R(o),o}return R(a),a}function da(t){t.textContent=""}function pa(){return!1}function er(t){var e=c,r=f;z(null),U(null);try{return t()}finally{z(e),U(r)}}function va(t){f===null&&(c===null&&Fr(),Mr()),ct&&Dr()}function ca(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function q(t,e,r){var a=f;a!==null&&(a.f&L)!==0&&(t|=L);var n={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:t|j|P,first:null,fn:e,last:null,next:null,parent:a,b:a&&a.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Mt(n),n.f|=Ut}catch(s){throw E(n),s}else e!==null&&vt(n);var o=n;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&mt)===0&&(o=o.first,(t&K)!==0&&(t&xt)!==0&&o!==null&&(o.f|=xt)),o!==null&&(o.parent=a,a!==null&&ca(o,a),c!==null&&(c.f&x)!==0&&(t&at)===0)){var i=c;(i.effects??=[]).push(o)}return n}function Qt(){return c!==null&&!X}function fa(t){const e=q(be,null,!1);return _(e,k),e.teardown=t,e}function ga(t){va();var e=f.f,r=!c&&(e&W)!==0&&(e&Ut)===0;if(r){var a=B;(a.e??=[]).push(t)}else return rr(t)}function rr(t){return q(le|Gr,t,!1)}function wa(t){D.ensure();const e=q(at|mt,t,!0);return()=>{E(e)}}function ua(t){D.ensure();const e=q(at|mt,t,!0);return(r={})=>new Promise(a=>{r.outro?Ot(e,()=>{E(e),a(void 0)}):(E(e),a(void 0))})}function ha(t){return q(le,t,!1)}function xa(t){return q(pe|mt,t,!0)}function ar(t,e=0){return q(be|e,t,!0)}function At(t,e=[],r=[],a=[]){na(a,e,r,n=>{q(be,()=>t(...n.map(F)),!0)})}function ke(t,e=0){var r=q(K|e,t,!0);return r}function et(t){return q(W|mt,t,!0)}function or(t){var e=t.teardown;if(e!==null){const r=ct,a=c;mr(!0),z(null);try{e.call(null)}finally{mr(r),z(a)}}}function nr(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const n=r.ac;n!==null&&er(()=>{n.abort(yt)});var a=r.next;(r.f&at)!==0?r.parent=null:E(r,e),r=a}}function ya(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&W)===0&&E(e),e=r}}function E(t,e=!0){var r=!1;(e||(t.f&me)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(ka(t.nodes_start,t.nodes_end),r=!0),nr(t,e&&!r),ee(t,0),_(t,Z);var a=t.transitions;if(a!==null)for(const o of a)o.stop();or(t);var n=t.parent;n!==null&&n.first!==null&&ir(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function ka(t,e){for(;t!==null;){var r=t===e?null:M(t);t.remove(),t=r}}function ir(t){var e=t.parent,r=t.prev,a=t.next;r!==null&&(r.next=a),a!==null&&(a.prev=r),e!==null&&(e.first===t&&(e.first=a),e.last===t&&(e.last=r))}function Ot(t,e,r=!0){var a=[];sr(t,a,!0),_a(a,()=>{r&&E(t),e&&e()})}function _a(t,e){var r=t.length;if(r>0){var a=()=>--r||e();for(var n of t)n.out(a)}else e()}function sr(t,e,r){if((t.f&L)===0){if(t.f^=L,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var a=t.first;a!==null;){var n=a.next,o=(a.f&xt)!==0||(a.f&W)!==0&&(t.f&K)!==0;sr(a,e,o?r:!1),a=n}}}function $a(t){lr(t,!0)}function lr(t,e){if((t.f&L)!==0){t.f^=L,(t.f&k)===0&&(_(t,j),vt(t));for(var r=t.first;r!==null;){var a=r.next,n=(r.f&xt)!==0||(r.f&W)!==0;lr(r,n?e:!1),r=a}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}function br(t,e){for(var r=t.nodes_start,a=t.nodes_end;r!==null;){var n=r===a?null:M(r);e.append(r),r=n}}let lt=!1;function te(t){lt=t}let ct=!1;function mr(t){ct=t}let c=null,X=!1;function z(t){c=t}let f=null;function U(t){f=t}let rt=null;function ja(t){c!==null&&(rt===null?rt=[t]:rt.push(t))}let $=null,T=0,G=null;function Ea(t){G=t}let dr=1,Pt=0,ft=Pt;function pr(t){ft=t}function vr(){return++dr}function Dt(t){var e=t.f;if((e&j)!==0)return!0;if(e&x&&(t.f&=~dt),(e&J)!==0){var r=t.deps;if(r!==null)for(var a=r.length,n=0;n<a;n++){var o=r[n];if(Dt(o)&&Ve(o),o.wv>t.wv)return!0}(e&P)!==0&&C===null&&_(t,k)}return!1}function cr(t,e,r=!0){var a=t.reactions;if(a!==null&&!rt?.includes(t))for(var n=0;n<a.length;n++){var o=a[n];(o.f&x)!==0?cr(o,e,!1):e===o&&(r?_(o,j):(o.f&k)!==0&&_(o,J),vt(o))}}function fr(t){var e=$,r=T,a=G,n=c,o=rt,i=B,s=X,l=ft,b=t.f;$=null,T=0,G=null,c=(b&(W|at))===0?t:null,rt=null,$t(t.ctx),X=!1,ft=++Pt,t.ac!==null&&(er(()=>{t.ac.abort(yt)}),t.ac=null);try{t.f|=de;var m=t.fn,v=m(),d=t.deps;if($!==null){var p;if(ee(t,T),d!==null&&T>0)for(d.length=T+$.length,p=0;p<$.length;p++)d[T+p]=$[p];else t.deps=d=$;if(lt&&Qt()&&(t.f&P)!==0)for(p=T;p<d.length;p++)(d[p].reactions??=[]).push(t)}else d!==null&&T<d.length&&(ee(t,T),d.length=T);if(De()&&G!==null&&!X&&d!==null&&(t.f&(x|J|j))===0)for(p=0;p<G.length;p++)cr(G[p],t);return n!==null&&n!==t&&(Pt++,G!==null&&(a===null?a=G:a.push(...G))),(t.f&ot)!==0&&(t.f^=ot),v}catch(u){return Fe(u)}finally{t.f^=de,$=e,T=r,G=a,c=n,rt=o,$t(i),X=s,ft=l}}function za(t,e){let r=e.reactions;if(r!==null){var a=Rr.call(r,t);if(a!==-1){var n=r.length-1;n===0?r=e.reactions=null:(r[a]=r[n],r.pop())}}r===null&&(e.f&x)!==0&&($===null||!$.includes(e))&&(_(e,J),(e.f&P)!==0&&(e.f^=P,e.f&=~dt),Ue(e),ee(e,0))}function ee(t,e){var r=t.deps;if(r!==null)for(var a=e;a<r.length;a++)za(t,r[a])}function Mt(t){var e=t.f;if((e&Z)===0){_(t,k);var r=f,a=lt;f=t,lt=!0;try{(e&K)!==0?ya(t):nr(t),or(t);var n=fr(t);t.teardown=typeof n=="function"?n:null,t.wv=dr;var o;se&&Zr&&(t.f&j)!==0&&t.deps}finally{lt=a,f=r}}}function F(t){var e=t.f,r=(e&x)!==0;if(c!==null&&!X){var a=f!==null&&(f.f&Z)!==0;if(!a&&!rt?.includes(t)){var n=c.deps;if((c.f&de)!==0)t.rv<Pt&&(t.rv=Pt,$===null&&n!==null&&n[T]===t?T++:$===null?$=[t]:$.includes(t)||$.push(t));else{(c.deps??=[]).push(t);var o=t.reactions;o===null?t.reactions=[c]:o.includes(c)||o.push(c)}}}if(ct){if(it.has(t))return it.get(t);if(r){var i=t,s=i.v;return((i.f&k)===0&&i.reactions!==null||wr(i))&&(s=he(i)),it.set(i,s),s}}else r&&!C?.has(t)&&(i=t,Dt(i)&&Ve(i),lt&&Qt()&&(i.f&P)===0&&gr(i));if(C?.has(t))return C.get(t);if((t.f&ot)!==0)throw t.v;return t.v}function gr(t){if(t.deps!==null){t.f^=P;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&x)!==0&&(e.f&P)===0&&gr(e)}}function wr(t){if(t.v===y)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(it.has(e)||(e.f&x)!==0&&wr(e))return!0;return!1}function Aa(t){var e=X;try{return X=!0,t()}finally{X=e}}const Ra=-7169;function _(t,e){t.f=t.f&Ra|e}const ur=new Set,_e=new Set;function Ta(t){for(var e=0;e<t.length;e++)ur.add(t[e]);for(var r of _e)r(t)}let hr=null;function re(t){var e=this,r=e.ownerDocument,a=t.type,n=t.composedPath?.()||[],o=n[0]||t.target;hr=t;var i=0,s=hr===t&&t.__root;if(s){var l=n.indexOf(s);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var b=n.indexOf(e);if(b===-1)return;l<=b&&(i=l)}if(o=n[i]||t.target,o!==e){qt(t,"currentTarget",{configurable:!0,get(){return o||r}});var m=c,v=f;z(null),U(null);try{for(var d,p=[];o!==null;){var u=o.assignedSlot||o.parentNode||o.host||null;try{var I=o["__"+a];I!=null&&(!o.disabled||t.target===o)&&I.call(o,t)}catch(V){d?p.push(V):d=V}if(t.cancelBubble||u===e||u===null)break;o=u}if(d){for(let V of p)queueMicrotask(()=>{throw V});throw d}}finally{t.__root=e,delete t.currentTarget,z(m),U(v)}}}function Sa(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Ft(t,e){var r=f;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function gt(t,e){var r=(e&zr)!==0,a,n=!t.startsWith("<!>");return()=>{if(w)return Ft(g,null),g;a===void 0&&(a=Sa(n?t:"<!>"+t),a=Et(a));var o=r||Je?document.importNode(a,!0):a.cloneNode(!0);return Ft(o,o),o}}function ae(){if(w)return Ft(g,null),g;var t=document.createDocumentFragment(),e=document.createComment(""),r=Y();return t.append(e,r),Ft(e,r),t}function O(t,e){if(w){var r=f;((r.f&Ut)===0||r.nodes_end===null)&&(r.nodes_end=g),fe();return}t!==null&&t.before(e)}const Ba=["touchstart","touchmove"];function Ca(t){return Ba.includes(t)}function xr(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function yr(t,e){return kr(t,e)}function Na(t,e){ye(),e.intro=e.intro??!1;const r=e.target,a=w,n=g;try{for(var o=Et(r);o&&(o.nodeType!==kt||o.data!==Re);)o=M(o);if(!o)throw ut;nt(!0),R(o);const i=kr(t,{...e,anchor:o});return nt(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
-
`).some(
|
|
1
|
+
(function(_e){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Sr=2,$e="[",je="[!",Ee="[?",ze="]",xt={},E=Symbol(),Br="http://www.w3.org/1999/xhtml",Nr=!1;var Cr=Array.isArray,Or=Array.prototype.indexOf,yt=Array.prototype.includes,Gr=Array.from,Vt=Object.keys,Xt=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Dr=Object.prototype,Mr=Array.prototype,Pr=Object.getPrototypeOf,Ae=Object.isExtensible;const Fr=()=>{};function Ir(t){for(var e=0;e<t.length;e++)t[e]()}function Re(){var t,e,r=new Promise((a,o)=>{t=a,e=o});return{promise:r,resolve:t,reject:e}}const $=2,_t=4,Ht=8,Te=1<<24,rt=16,q=32,at=64,re=128,C=512,k=1024,z=2048,V=4096,X=8192,P=16384,nt=32768,Se=1<<25,$t=65536,Be=1<<17,Ne=1<<18,ot=1<<19,Lr=1<<20,ct=65536,ae=1<<21,ne=1<<22,it=1<<23,oe=Symbol("$state"),Yr=Symbol("legacy props"),W=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ut=3,Ct=8;function qr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Vr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Xr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ur(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Wr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Kt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function ta(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function st(t){h=t}let w;function B(t){if(t===null)throw Kt(),xt;return w=t}function ie(){return B(I(w))}function jt(t){if(h){if(I(w)!==null)throw Kt(),xt;w=t}}function ea(t=1){if(h){for(var e=t,r=w;e--;)r=I(r);w=r}}function Ce(t=!0){for(var e=0,r=w;;){if(r.nodeType===Ct){var a=r.data;if(a===ze){if(e===0)return r;e-=1}else(a===$e||a===je||a[0]==="["&&!isNaN(Number(a.slice(1))))&&(e+=1)}var o=I(r);t&&r.remove(),r=o}}function ra(t){if(!t||t.nodeType!==Ct)throw Kt(),xt;return t.data}function Oe(t){return t===this.v}function aa(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function na(t){return!aa(t,this.v)}let oa=!1,O=null;function Et(t){O=t}function Ge(t,e=!1,r){O={p:O,i:!1,c:null,e:null,s:t,x:null,r:g,l:null}}function De(t){var e=O,r=e.e;if(r!==null){e.e=null;for(var a of r)sr(a)}return t!==void 0&&(e.x=t),e.i=!0,O=e.p,t??{}}function Me(){return!0}let ft=[];function Pe(){var t=ft;ft=[],Ir(t)}function zt(t){if(ft.length===0&&!Ot){var e=ft;queueMicrotask(()=>{e===ft&&Pe()})}ft.push(t)}function ia(){for(;ft.length>0;)Pe()}function Fe(t){var e=g;if(e===null)return f.f|=it,t;if((e.f&nt)===0&&(e.f&_t)===0)throw t;lt(t,e)}function lt(t,e){for(;e!==null;){if((e.f&re)!==0){if((e.f&nt)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}const sa=-7169;function y(t,e){t.f=t.f&sa|e}function se(t){(t.f&C)!==0||t.deps===null?y(t,k):y(t,V)}function Ie(t){if(t!==null)for(const e of t)(e.f&$)===0||(e.f&ct)===0||(e.f^=ct,Ie(e.deps))}function Le(t,e,r){(t.f&z)!==0?e.add(t):(t.f&V)!==0&&r.add(t),Ie(t.deps),y(t,k)}const bt=new Set;let x=null,F=null,le=null,Ot=!1,be=!1,At=null,Wt=null;var Ye=0;let la=1;class J{id=la++;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=new Map;#n=new Map;#o=null;#a=[];#i=new Set;#s=new Set;#l=new Map;is_fork=!1;#d=!1;#b=new Set;#p(){return this.is_fork||this.#n.size>0}#c(){for(const a of this.#b)for(const o of a.#n.keys()){for(var e=!1,r=o;r.parent!==null;){if(this.#l.has(r)){e=!0;break}r=r.parent}if(!e)return!0}return!1}skip_effect(e){this.#l.has(e)||this.#l.set(e,{d:[],m:[]})}unskip_effect(e){var r=this.#l.get(e);if(r){this.#l.delete(e);for(var a of r.d)y(a,z),this.schedule(a);for(a of r.m)y(a,V),this.schedule(a)}}#v(){if(Ye++>1e3&&(bt.delete(this),ba()),!this.#p()){for(const i of this.#i)this.#s.delete(i),y(i,z),this.schedule(i);for(const i of this.#s)y(i,V),this.schedule(i)}const e=this.#a;this.#a=[],this.apply();var r=At=[],a=[],o=Wt=[];for(const i of e)try{this.#m(i,r,a)}catch(l){throw Ue(i),l}if(x=null,o.length>0){var n=J.ensure();for(const i of o)n.schedule(i)}if(At=null,Wt=null,this.#p()||this.#c()){this.#f(a),this.#f(r);for(const[i,l]of this.#l)He(i,l)}else{this.#e.size===0&&bt.delete(this),this.#i.clear(),this.#s.clear();for(const i of this.#t)i(this);this.#t.clear(),qe(a),qe(r),this.#o?.resolve()}var s=x;if(this.#a.length>0){const i=s??=this;i.#a.push(...this.#a.filter(l=>!i.#a.includes(l)))}s!==null&&(bt.add(s),s.#v()),bt.has(this)||this.#g()}#m(e,r,a){e.f^=k;for(var o=e.first;o!==null;){var n=o.f,s=(n&(q|at))!==0,i=s&&(n&k)!==0,l=i||(n&X)!==0||this.#l.has(o);if(!l&&o.fn!==null){s?o.f^=k:(n&_t)!==0?r.push(o):Ft(o)&&((n&rt)!==0&&this.#s.add(o),Bt(o));var b=o.first;if(b!==null){o=b;continue}}for(;o!==null;){var m=o.next;if(m!==null){o=m;break}o=o.parent}}}#f(e){for(var r=0;r<e.length;r+=1)Le(e[r],this.#i,this.#s)}capture(e,r,a=!1){r!==E&&!this.previous.has(e)&&this.previous.set(e,r),(e.f&it)===0&&(this.current.set(e,[e.v,a]),F?.set(e,e.v))}activate(){x=this}deactivate(){x=null,F=null}flush(){try{be=!0,x=this,this.#v()}finally{Ye=0,le=null,At=null,Wt=null,be=!1,x=null,F=null,mt.clear()}}discard(){for(const e of this.#r)e(this);this.#r.clear(),bt.delete(this)}#g(){for(const b of bt){var e=b.id<this.id,r=[];for(const[m,[p,d]]of this.current){if(b.current.has(m)){var a=b.current.get(m)[0];if(e&&p!==a)b.current.set(m,[p,d]);else continue}r.push(m)}var o=[...b.current.keys()].filter(m=>!this.current.has(m));if(o.length===0)e&&b.discard();else if(r.length>0){b.activate();var n=new Set,s=new Map;for(var i of r)Ve(i,o,n,s);if(b.#a.length>0){b.apply();for(var l of b.#a)b.#m(l,[],[]);b.#a=[]}b.deactivate()}}for(const b of bt)b.#b.has(this)&&(b.#b.delete(this),b.#b.size===0&&!b.#p()&&(b.activate(),b.#v()))}increment(e,r){let a=this.#e.get(r)??0;if(this.#e.set(r,a+1),e){let o=this.#n.get(r)??0;this.#n.set(r,o+1)}}decrement(e,r,a){let o=this.#e.get(r)??0;if(o===1?this.#e.delete(r):this.#e.set(r,o-1),e){let n=this.#n.get(r)??0;n===1?this.#n.delete(r):this.#n.set(r,n-1)}this.#d||a||(this.#d=!0,zt(()=>{this.#d=!1,this.flush()}))}transfer_effects(e,r){for(const a of e)this.#i.add(a);for(const a of r)this.#s.add(a);e.clear(),r.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#r.add(e)}settled(){return(this.#o??=Re()).promise}static ensure(){if(x===null){const e=x=new J;be||(bt.add(x),Ot||zt(()=>{x===e&&e.flush()}))}return x}apply(){{F=null;return}}schedule(e){if(le=e,e.b?.is_pending&&(e.f&(_t|Ht|Te))!==0&&(e.f&nt)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var a=r.f;if(At!==null&&r===g&&(f===null||(f.f&$)===0))return;if((a&(at|q))!==0){if((a&k)===0)return;r.f^=k}}this.#a.push(r)}}function me(t){var e=Ot;Ot=!0;try{for(var r;;){if(ia(),x===null)return r;x.flush()}}finally{Ot=e}}function ba(){try{Ur()}catch(t){lt(t,le)}}let Z=null;function qe(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(P|X))===0&&Ft(a)&&(Z=new Set,Bt(a),a.deps===null&&a.first===null&&a.nodes===null&&a.teardown===null&&a.ac===null&&mr(a),Z?.size>0)){mt.clear();for(const o of Z){if((o.f&(P|X))!==0)continue;const n=[o];let s=o.parent;for(;s!==null;)Z.has(s)&&(Z.delete(s),n.push(s)),s=s.parent;for(let i=n.length-1;i>=0;i--){const l=n[i];(l.f&(P|X))===0&&Bt(l)}}Z.clear()}}Z=null}}function Ve(t,e,r,a){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const o of t.reactions){const n=o.f;(n&$)!==0?Ve(o,e,r,a):(n&(ne|rt))!==0&&(n&z)===0&&Xe(o,e,a)&&(y(o,z),de(o))}}function Xe(t,e,r){const a=r.get(t);if(a!==void 0)return a;if(t.deps!==null)for(const o of t.deps){if(yt.call(e,o))return!0;if((o.f&$)!==0&&Xe(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function de(t){x.schedule(t)}function He(t,e){if(!((t.f&q)!==0&&(t.f&k)!==0)){(t.f&z)!==0?e.d.push(t):(t.f&V)!==0&&e.m.push(t),y(t,k);for(var r=t.first;r!==null;)He(r,e),r=r.next}}function Ue(t){y(t,k);for(var e=t.first;e!==null;)Ue(e),e=e.next}function ma(t){let e=0,r=Gt(0),a;return()=>{we()&&(Y(r),lr(()=>(e===0&&(a=Pa(()=>t(()=>Dt(r)))),e+=1,()=>{zt(()=>{e-=1,e===0&&(a?.(),a=void 0,Dt(r))})})))}}var da=$t|ot;function pa(t,e,r,a){new va(t,e,r,a)}class va{parent;is_pending=!1;transform_error;#t;#r=h?w:null;#e;#n;#o;#a=null;#i=null;#s=null;#l=null;#d=0;#b=0;#p=!1;#c=new Set;#v=new Set;#m=null;#f=ma(()=>(this.#m=Gt(this.#d),()=>{this.#m=null}));constructor(e,r,a,o){this.#t=e,this.#e=r,this.#n=n=>{var s=g;s.b=this,s.f|=re,a(n)},this.parent=g.b,this.transform_error=o??this.parent?.transform_error??(n=>n),this.#o=ue(()=>{if(h){const n=this.#r;ie();const s=n.data===je;if(n.data.startsWith(Ee)){const l=JSON.parse(n.data.slice(Ee.length));this.#y(l)}else s?this.#k():this.#g()}else this.#h()},da),h&&(this.#t=w)}#g(){try{this.#a=tt(()=>this.#n(this.#t))}catch(e){this.error(e)}}#y(e){const r=this.#e.failed;r&&(this.#s=tt(()=>{r(this.#t,()=>e,()=>()=>{})}))}#k(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#i=tt(()=>e(this.#t)),zt(()=>{var r=this.#l=document.createDocumentFragment(),a=H();r.append(a),this.#a=this.#u(()=>tt(()=>this.#n(a))),this.#b===0&&(this.#t.before(r),this.#l=null,Pt(this.#i,()=>{this.#i=null}),this.#w(x))}))}#h(){try{if(this.is_pending=this.has_pending_snippet(),this.#b=0,this.#d=0,this.#a=tt(()=>{this.#n(this.#t)}),this.#b>0){var e=this.#l=document.createDocumentFragment();vr(this.#a,e);const r=this.#e.pending;this.#i=tt(()=>r(this.#t))}else this.#w(x)}catch(r){this.error(r)}}#w(e){this.is_pending=!1,e.transfer_effects(this.#c,this.#v)}defer_effect(e){Le(e,this.#c,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#u(e){var r=g,a=f,o=O;K(this.#o),G(this.#o),Et(this.#o.ctx);try{return J.ensure(),e()}catch(n){return Fe(n),null}finally{K(r),G(a),Et(o)}}#x(e,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#x(e,r);return}this.#b+=e,this.#b===0&&(this.#w(r),this.#i&&Pt(this.#i,()=>{this.#i=null}),this.#l&&(this.#t.before(this.#l),this.#l=null))}update_pending_count(e,r){this.#x(e,r),this.#d+=e,!(!this.#m||this.#p)&&(this.#p=!0,zt(()=>{this.#p=!1,this.#m&&Zt(this.#m,this.#d)}))}get_effect_pending(){return this.#f(),Y(this.#m)}error(e){var r=this.#e.onerror;let a=this.#e.failed;if(!r&&!a)throw e;this.#a&&(R(this.#a),this.#a=null),this.#i&&(R(this.#i),this.#i=null),this.#s&&(R(this.#s),this.#s=null),h&&(B(this.#r),ea(),B(Ce()));var o=!1,n=!1;const s=()=>{if(o){ta();return}o=!0,n&&Qr(),this.#s!==null&&Pt(this.#s,()=>{this.#s=null}),this.#u(()=>{this.#h()})},i=l=>{try{n=!0,r?.(l,s),n=!1}catch(b){lt(b,this.#o&&this.#o.parent)}a&&(this.#s=this.#u(()=>{try{return tt(()=>{var b=g;b.b=this,b.f|=re,a(this.#t,()=>l,()=>s)})}catch(b){return lt(b,this.#o.parent),null}}))};zt(()=>{var l;try{l=this.transform_error(e)}catch(b){lt(b,this.#o&&this.#o.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(i,b=>lt(b,this.#o&&this.#o.parent)):i(l)})}}function ca(t,e,r,a){const o=We;var n=t.filter(d=>!d.settled);if(r.length===0&&n.length===0){a(e.map(o));return}var s=g,i=fa(),l=n.length===1?n[0].promise:n.length>1?Promise.all(n.map(d=>d.promise)):null;function b(d){i();try{a(d)}catch(c){(s.f&P)===0&<(c,s)}Jt()}if(r.length===0){l.then(()=>b(e.map(o)));return}var m=Ke();function p(){Promise.all(r.map(d=>ga(d))).then(d=>b([...e.map(o),...d])).catch(d=>lt(d,s)).finally(()=>m())}l?l.then(()=>{i(),p(),Jt()}):p()}function fa(){var t=g,e=f,r=O,a=x;return function(n=!0){K(t),G(e),Et(r),n&&(t.f&P)===0&&(a?.activate(),a?.apply())}}function Jt(t=!0){K(null),G(null),Et(null),t&&x?.deactivate()}function Ke(){var t=g,e=t.b,r=x,a=e.is_rendered();return e.update_pending_count(1,r),r.increment(a,t),(o=!1)=>{e.update_pending_count(-1,r),r.decrement(a,t,o)}}function We(t){var e=$|z,r=f!==null&&(f.f&$)!==0?f:null;return g!==null&&(g.f|=ot),{ctx:O,deps:null,effects:null,equals:Oe,f:e,fn:t,reactions:null,rv:0,v:E,wv:0,parent:r??g,ac:null}}function ga(t,e,r){let a=g;a===null&&qr();var o=void 0,n=Gt(E),s=!f,i=new Map;return Ba(()=>{var l=g,b=Re();o=b.promise;try{Promise.resolve(t()).then(b.resolve,b.reject).finally(Jt)}catch(c){b.reject(c),Jt()}var m=x;if(s){if((l.f&nt)!==0)var p=Ke();if(a.b.is_rendered())i.get(m)?.reject(W),i.delete(m);else{for(const c of i.values())c.reject(W);i.clear()}i.set(m,b)}const d=(c,v=void 0)=>{if(p){var u=v===W;p(u)}if(!(v===W||(l.f&P)!==0)){if(m.activate(),v)n.f|=it,Zt(n,v);else{(n.f&it)!==0&&(n.f^=it),Zt(n,c);for(const[j,S]of i){if(i.delete(j),j===m)break;S.reject(W)}}m.deactivate()}};b.promise.then(d,c=>d(null,c||"unknown"))}),za(()=>{for(const l of i.values())l.reject(W)}),new Promise(l=>{function b(m){function p(){m===o?l(n):b(o)}m.then(p,p)}b(o)})}function wa(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)R(e[r])}}function ua(t){for(var e=t.parent;e!==null;){if((e.f&$)===0)return(e.f&P)===0?e:null;e=e.parent}return null}function pe(t){var e,r=g;K(ua(t));try{t.f&=~ct,wa(t),e=hr(t)}finally{K(r)}return e}function Je(t){var e=t.v,r=pe(t);if(!t.equals(r)&&(t.wv=wr(),(!x?.is_fork||t.deps===null)&&(t.v=r,x?.capture(t,e,!0),t.deps===null))){y(t,k);return}pt||(F!==null?(we()||x?.is_fork)&&F.set(t,r):se(t))}function ha(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(W),e.teardown=Fr,e.ac=null,It(e,0),he(e))}function Ze(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&Bt(e)}let ve=new Set;const mt=new Map;let Qe=!1;function Gt(t,e){var r={f:0,v:t,reactions:null,equals:Oe,rv:0,wv:0};return r}function dt(t,e){const r=Gt(t);return Ga(r),r}function xa(t,e=!1,r=!0){const a=Gt(t);return e||(a.equals=na),a}function Q(t,e,r=!1){f!==null&&(!L||(f.f&Be)!==0)&&Me()&&(f.f&($|rt|ne|Be))!==0&&(D===null||!yt.call(D,t))&&Zr();let a=r?Mt(e):e;return Zt(t,a,Wt)}function Zt(t,e,r=null){if(!t.equals(e)){var a=t.v;pt?mt.set(t,e):mt.set(t,a),t.v=e;var o=J.ensure();if(o.capture(t,a),(t.f&$)!==0){const n=t;(t.f&z)!==0&&pe(n),F===null&&se(n)}t.wv=wr(),tr(t,z,r),g!==null&&(g.f&k)!==0&&(g.f&(q|at))===0&&(M===null?Da([t]):M.push(t)),!o.is_fork&&ve.size>0&&!Qe&&ya()}return e}function ya(){Qe=!1;for(const t of ve)(t.f&k)!==0&&y(t,V),Ft(t)&&Bt(t);ve.clear()}function Dt(t){Q(t,t.v+1)}function tr(t,e,r){var a=t.reactions;if(a!==null)for(var o=a.length,n=0;n<o;n++){var s=a[n],i=s.f,l=(i&z)===0;if(l&&y(s,e),(i&$)!==0){var b=s;F?.delete(b),(i&ct)===0&&(i&C&&(s.f|=ct),tr(b,V,r))}else if(l){var m=s;(i&rt)!==0&&Z!==null&&Z.add(m),r!==null?r.push(m):de(m)}}}function Mt(t){if(typeof t!="object"||t===null||oe in t)return t;const e=Pr(t);if(e!==Dr&&e!==Mr)return t;var r=new Map,a=Cr(t),o=dt(0),n=wt,s=i=>{if(wt===n)return i();var l=f,b=wt;G(null),gr(n);var m=i();return G(l),gr(b),m};return a&&r.set("length",dt(t.length)),new Proxy(t,{defineProperty(i,l,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&Wr();var m=r.get(l);return m===void 0?s(()=>{var p=dt(b.value);return r.set(l,p),p}):Q(m,b.value,!0),!0},deleteProperty(i,l){var b=r.get(l);if(b===void 0){if(l in i){const m=s(()=>dt(E));r.set(l,m),Dt(o)}}else Q(b,E),Dt(o);return!0},get(i,l,b){if(l===oe)return t;var m=r.get(l),p=l in i;if(m===void 0&&(!p||kt(i,l)?.writable)&&(m=s(()=>{var c=Mt(p?i[l]:E),v=dt(c);return v}),r.set(l,m)),m!==void 0){var d=Y(m);return d===E?void 0:d}return Reflect.get(i,l,b)},getOwnPropertyDescriptor(i,l){var b=Reflect.getOwnPropertyDescriptor(i,l);if(b&&"value"in b){var m=r.get(l);m&&(b.value=Y(m))}else if(b===void 0){var p=r.get(l),d=p?.v;if(p!==void 0&&d!==E)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return b},has(i,l){if(l===oe)return!0;var b=r.get(l),m=b!==void 0&&b.v!==E||Reflect.has(i,l);if(b!==void 0||g!==null&&(!m||kt(i,l)?.writable)){b===void 0&&(b=s(()=>{var d=m?Mt(i[l]):E,c=dt(d);return c}),r.set(l,b));var p=Y(b);if(p===E)return!1}return m},set(i,l,b,m){var p=r.get(l),d=l in i;if(a&&l==="length")for(var c=b;c<p.v;c+=1){var v=r.get(c+"");v!==void 0?Q(v,E):c in i&&(v=s(()=>dt(E)),r.set(c+"",v))}if(p===void 0)(!d||kt(i,l)?.writable)&&(p=s(()=>dt(void 0)),Q(p,Mt(b)),r.set(l,p));else{d=p.v!==E;var u=s(()=>Mt(b));Q(p,u)}var j=Reflect.getOwnPropertyDescriptor(i,l);if(j?.set&&j.set.call(m,b),!d){if(a&&typeof l=="string"){var S=r.get("length"),vt=Number(l);Number.isInteger(vt)&&vt>=S.v&&Q(S,vt+1)}Dt(o)}return!0},ownKeys(i){Y(o);var l=Reflect.ownKeys(i).filter(p=>{var d=r.get(p);return d===void 0||d.v!==E});for(var[b,m]of r)m.v!==E&&!(b in i)&&l.push(b);return l},setPrototypeOf(){Jr()}})}var er,rr,ar,nr;function ce(){if(er===void 0){er=window,rr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;ar=kt(e,"firstChild").get,nr=kt(e,"nextSibling").get,Ae(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ae(r)&&(r.__t=void 0)}}function H(t=""){return document.createTextNode(t)}function Rt(t){return ar.call(t)}function I(t){return nr.call(t)}function Tt(t,e){if(!h)return Rt(t);var r=Rt(w);if(r===null)r=w.appendChild(H());else if(e&&r.nodeType!==Ut){var a=H();return r?.before(a),B(a),a}return e&&ge(r),B(r),r}function ka(t,e=!1){if(!h){var r=Rt(t);return r instanceof Comment&&r.data===""?I(r):r}if(e){if(w?.nodeType!==Ut){var a=H();return w?.before(a),B(a),a}ge(w)}return w}function or(t,e=1,r=!1){let a=h?w:t;for(var o;e--;)o=a,a=I(a);if(!h)return a;if(r){if(a?.nodeType!==Ut){var n=H();return a===null?o?.after(n):a.before(n),B(n),n}ge(a)}return B(a),a}function _a(t){t.textContent=""}function $a(){return!1}function fe(t,e,r){return document.createElementNS(Br,t,void 0)}function ge(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Ut;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function ir(t){var e=f,r=g;G(null),K(null);try{return t()}finally{G(e),K(r)}}function ja(t){g===null&&(f===null&&Hr(),Xr()),pt&&Vr()}function Ea(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function U(t,e){var r=g;r!==null&&(r.f&X)!==0&&(t|=X);var a={ctx:O,deps:null,nodes:null,f:t|z|C,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},o=a;if((t&_t)!==0)At!==null?At.push(a):J.ensure().schedule(a);else if(e!==null){try{Bt(a)}catch(s){throw R(a),s}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&ot)===0&&(o=o.first,(t&rt)!==0&&(t&$t)!==0&&o!==null&&(o.f|=$t))}if(o!==null&&(o.parent=r,r!==null&&Ea(o,r),f!==null&&(f.f&$)!==0&&(t&at)===0)){var n=f;(n.effects??=[]).push(o)}return a}function we(){return f!==null&&!L}function za(t){const e=U(Ht,null);return y(e,k),e.teardown=t,e}function Aa(t){ja();var e=g.f,r=!f&&(e&q)!==0&&(e&nt)===0;if(r){var a=O;(a.e??=[]).push(t)}else return sr(t)}function sr(t){return U(_t|Lr,t)}function Ra(t){J.ensure();const e=U(at|ot,t);return()=>{R(e)}}function Ta(t){J.ensure();const e=U(at|ot,t);return(r={})=>new Promise(a=>{r.outro?Pt(e,()=>{R(e),a(void 0)}):(R(e),a(void 0))})}function Sa(t){return U(_t,t)}function Ba(t){return U(ne|ot,t)}function lr(t,e=0){return U(Ht|e,t)}function St(t,e=[],r=[],a=[]){ca(a,e,r,o=>{U(Ht,()=>t(...o.map(Y)))})}function ue(t,e=0){var r=U(rt|e,t);return r}function tt(t){return U(q|ot,t)}function br(t){var e=t.teardown;if(e!==null){const r=pt,a=f;cr(!0),G(null);try{e.call(null)}finally{cr(r),G(a)}}}function he(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&ir(()=>{o.abort(W)});var a=r.next;(r.f&at)!==0?r.parent=null:R(r,e),r=a}}function Na(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&q)===0&&R(e),e=r}}function R(t,e=!0){var r=!1;(e||(t.f&Ne)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(Ca(t.nodes.start,t.nodes.end),r=!0),y(t,Se),he(t,e&&!r),It(t,0);var a=t.nodes&&t.nodes.t;if(a!==null)for(const n of a)n.stop();br(t),t.f^=Se,t.f|=P;var o=t.parent;o!==null&&o.first!==null&&mr(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function Ca(t,e){for(;t!==null;){var r=t===e?null:I(t);t.remove(),t=r}}function mr(t){var e=t.parent,r=t.prev,a=t.next;r!==null&&(r.next=a),a!==null&&(a.prev=r),e!==null&&(e.first===t&&(e.first=a),e.last===t&&(e.last=r))}function Pt(t,e,r=!0){var a=[];dr(t,a,!0);var o=()=>{r&&R(t),e&&e()},n=a.length;if(n>0){var s=()=>--n||o();for(var i of a)i.out(s)}else o()}function dr(t,e,r){if((t.f&X)===0){t.f^=X;var a=t.nodes&&t.nodes.t;if(a!==null)for(const i of a)(i.is_global||r)&&e.push(i);for(var o=t.first;o!==null;){var n=o.next,s=(o.f&$t)!==0||(o.f&q)!==0&&(t.f&rt)!==0;dr(o,e,s?r:!1),o=n}}}function Oa(t){pr(t,!0)}function pr(t,e){if((t.f&X)!==0){t.f^=X,(t.f&k)===0&&(y(t,z),J.ensure().schedule(t));for(var r=t.first;r!==null;){var a=r.next,o=(r.f&$t)!==0||(r.f&q)!==0;pr(r,o?e:!1),r=a}var n=t.nodes&&t.nodes.t;if(n!==null)for(const s of n)(s.is_global||e)&&s.in()}}function vr(t,e){if(t.nodes)for(var r=t.nodes.start,a=t.nodes.end;r!==null;){var o=r===a?null:I(r);e.append(r),r=o}}let Qt=!1,pt=!1;function cr(t){pt=t}let f=null,L=!1;function G(t){f=t}let g=null;function K(t){g=t}let D=null;function Ga(t){f!==null&&(D===null?D=[t]:D.push(t))}let T=null,N=0,M=null;function Da(t){M=t}let fr=1,gt=0,wt=gt;function gr(t){wt=t}function wr(){return++fr}function Ft(t){var e=t.f;if((e&z)!==0)return!0;if(e&$&&(t.f&=~ct),(e&V)!==0){for(var r=t.deps,a=r.length,o=0;o<a;o++){var n=r[o];if(Ft(n)&&Je(n),n.wv>t.wv)return!0}(e&C)!==0&&F===null&&y(t,k)}return!1}function ur(t,e,r=!0){var a=t.reactions;if(a!==null&&!(D!==null&&yt.call(D,t)))for(var o=0;o<a.length;o++){var n=a[o];(n.f&$)!==0?ur(n,e,!1):e===n&&(r?y(n,z):(n.f&k)!==0&&y(n,V),de(n))}}function hr(t){var e=T,r=N,a=M,o=f,n=D,s=O,i=L,l=wt,b=t.f;T=null,N=0,M=null,f=(b&(q|at))===0?t:null,D=null,Et(t.ctx),L=!1,wt=++gt,t.ac!==null&&(ir(()=>{t.ac.abort(W)}),t.ac=null);try{t.f|=ae;var m=t.fn,p=m();t.f|=nt;var d=t.deps,c=x?.is_fork;if(T!==null){var v;if(c||It(t,N),d!==null&&N>0)for(d.length=N+T.length,v=0;v<T.length;v++)d[N+v]=T[v];else t.deps=d=T;if(we()&&(t.f&C)!==0)for(v=N;v<d.length;v++)(d[v].reactions??=[]).push(t)}else!c&&d!==null&&N<d.length&&(It(t,N),d.length=N);if(Me()&&M!==null&&!L&&d!==null&&(t.f&($|V|z))===0)for(v=0;v<M.length;v++)ur(M[v],t);if(o!==null&&o!==t){if(gt++,o.deps!==null)for(let u=0;u<r;u+=1)o.deps[u].rv=gt;if(e!==null)for(const u of e)u.rv=gt;M!==null&&(a===null?a=M:a.push(...M))}return(t.f&it)!==0&&(t.f^=it),p}catch(u){return Fe(u)}finally{t.f^=ae,T=e,N=r,M=a,f=o,D=n,Et(s),L=i,wt=l}}function Ma(t,e){let r=e.reactions;if(r!==null){var a=Or.call(r,t);if(a!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[a]=r[o],r.pop())}}if(r===null&&(e.f&$)!==0&&(T===null||!yt.call(T,e))){var n=e;(n.f&C)!==0&&(n.f^=C,n.f&=~ct),se(n),ha(n),It(n,0)}}function It(t,e){var r=t.deps;if(r!==null)for(var a=e;a<r.length;a++)Ma(t,r[a])}function Bt(t){var e=t.f;if((e&P)===0){y(t,k);var r=g,a=Qt;g=t,Qt=!0;try{(e&(rt|Te))!==0?Na(t):he(t),br(t);var o=hr(t);t.teardown=typeof o=="function"?o:null,t.wv=fr;var n;Nr&&oa&&(t.f&z)!==0&&t.deps}finally{Qt=a,g=r}}}function Y(t){var e=t.f,r=(e&$)!==0;if(f!==null&&!L){var a=g!==null&&(g.f&P)!==0;if(!a&&(D===null||!yt.call(D,t))){var o=f.deps;if((f.f&ae)!==0)t.rv<gt&&(t.rv=gt,T===null&&o!==null&&o[N]===t?N++:T===null?T=[t]:T.push(t));else{(f.deps??=[]).push(t);var n=t.reactions;n===null?t.reactions=[f]:yt.call(n,f)||n.push(f)}}}if(pt&&mt.has(t))return mt.get(t);if(r){var s=t;if(pt){var i=s.v;return((s.f&k)===0&&s.reactions!==null||yr(s))&&(i=pe(s)),mt.set(s,i),i}var l=(s.f&C)===0&&!L&&f!==null&&(Qt||(f.f&C)!==0),b=(s.f&nt)===0;Ft(s)&&(l&&(s.f|=C),Je(s)),l&&!b&&(Ze(s),xr(s))}if(F?.has(t))return F.get(t);if((t.f&it)!==0)throw t.v;return t.v}function xr(t){if(t.f|=C,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&$)!==0&&(e.f&C)===0&&(Ze(e),xr(e))}function yr(t){if(t.v===E)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(mt.has(e)||(e.f&$)!==0&&yr(e))return!0;return!1}function Pa(t){var e=L;try{return L=!0,t()}finally{L=e}}const Lt=Symbol("events"),kr=new Set,xe=new Set;function Fa(t,e,r){(e[Lt]??={})[t]=r}function Ia(t){for(var e=0;e<t.length;e++)kr.add(t[e]);for(var r of xe)r(t)}let _r=null;function $r(t){var e=this,r=e.ownerDocument,a=t.type,o=t.composedPath?.()||[],n=o[0]||t.target;_r=t;var s=0,i=_r===t&&t[Lt];if(i){var l=o.indexOf(i);if(l!==-1&&(e===document||e===window)){t[Lt]=e;return}var b=o.indexOf(e);if(b===-1)return;l<=b&&(s=l)}if(n=o[s]||t.target,n!==e){Xt(t,"currentTarget",{configurable:!0,get(){return n||r}});var m=f,p=g;G(null),K(null);try{for(var d,c=[];n!==null;){var v=n.assignedSlot||n.parentNode||n.host||null;try{var u=n[Lt]?.[a];u!=null&&(!n.disabled||t.target===n)&&u.call(n,t)}catch(j){d?c.push(j):d=j}if(t.cancelBubble||v===e||v===null)break;n=v}if(d){for(let j of c)queueMicrotask(()=>{throw j});throw d}}finally{t[Lt]=e,delete t.currentTarget,G(m),K(p)}}}const La=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Ya(t){return La?.createHTML(t)??t}function qa(t){var e=fe("template");return e.innerHTML=Ya(t.replaceAll("<!>","<!---->")),e.content}function Yt(t,e){var r=g;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function ut(t,e){var r=(e&Sr)!==0,a,o=!t.startsWith("<!>");return()=>{if(h)return Yt(w,null),w;a===void 0&&(a=qa(o?t:"<!>"+t),a=Rt(a));var n=r||rr?document.importNode(a,!0):a.cloneNode(!0);return Yt(n,n),n}}function Va(){if(h)return Yt(w,null),w;var t=document.createDocumentFragment(),e=document.createComment(""),r=H();return t.append(e,r),Yt(e,r),t}function et(t,e){if(h){var r=g;((r.f&nt)===0||r.nodes.end===null)&&(r.nodes.end=w),ie();return}t!==null&&t.before(e)}const Xa=["touchstart","touchmove"];function Ha(t){return Xa.includes(t)}function jr(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=`${r}`)}function Er(t,e){return zr(t,e)}function Ua(t,e){ce(),e.intro=e.intro??!1;const r=e.target,a=h,o=w;try{for(var n=Rt(r);n&&(n.nodeType!==Ct||n.data!==$e);)n=I(n);if(!n)throw xt;st(!0),B(n);const s=zr(t,{...e,anchor:n});return st(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
|
|
2
|
+
`).some(i=>i.startsWith("https://svelte.dev/e/")))throw s;return s!==xt&&console.warn("Failed to hydrate: ",s),e.recover===!1&&Kr(),ce(),_a(r),st(!1),Er(t,e)}finally{st(a),B(o)}}const te=new Map;function zr(t,{target:e,anchor:r,props:a={},events:o,context:n,intro:s=!0,transformError:i}){ce();var l=void 0,b=Ta(()=>{var m=r??e.appendChild(H());pa(m,{pending:()=>{}},c=>{Ge({});var v=O;if(n&&(v.c=n),o&&(a.$$events=o),h&&Yt(c,null),l=t(c,a)||{},h&&(g.nodes.end=w,w===null||w.nodeType!==Ct||w.data!==ze))throw Kt(),xt;De()},i);var p=new Set,d=c=>{for(var v=0;v<c.length;v++){var u=c[v];if(!p.has(u)){p.add(u);var j=Ha(u);for(const qt of[e,document]){var S=te.get(qt);S===void 0&&(S=new Map,te.set(qt,S));var vt=S.get(u);vt===void 0?(qt.addEventListener(u,$r,{passive:j}),S.set(u,1)):S.set(u,vt+1)}}}};return d(Gr(kr)),xe.add(d),()=>{for(var c of p)for(const j of[e,document]){var v=te.get(j),u=v.get(c);--u==0?(j.removeEventListener(c,$r),v.delete(c),v.size===0&&te.delete(j)):v.set(c,u)}xe.delete(d),m!==r&&m.parentNode?.removeChild(m)}});return ye.set(l,b),l}let ye=new WeakMap;function Ka(t,e){const r=ye.get(t);return r?(ye.delete(t),r(e)):Promise.resolve()}class Wa{anchor;#t=new Map;#r=new Map;#e=new Map;#n=new Set;#o=!0;constructor(e,r=!0){this.anchor=e,this.#o=r}#a=e=>{if(this.#t.has(e)){var r=this.#t.get(e),a=this.#r.get(r);if(a)Oa(a),this.#n.delete(r);else{var o=this.#e.get(r);o&&(this.#r.set(r,o.effect),this.#e.delete(r),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),a=o.effect)}for(const[n,s]of this.#t){if(this.#t.delete(n),n===e)break;const i=this.#e.get(s);i&&(R(i.effect),this.#e.delete(s))}for(const[n,s]of this.#r){if(n===r||this.#n.has(n))continue;const i=()=>{if(Array.from(this.#t.values()).includes(n)){var b=document.createDocumentFragment();vr(s,b),b.append(H()),this.#e.set(n,{effect:s,fragment:b})}else R(s);this.#n.delete(n),this.#r.delete(n)};this.#o||!a?(this.#n.add(n),Pt(s,i,!1)):i()}}};#i=e=>{this.#t.delete(e);const r=Array.from(this.#t.values());for(const[a,o]of this.#e)r.includes(a)||(R(o.effect),this.#e.delete(a))};ensure(e,r){var a=x,o=$a();if(r&&!this.#r.has(e)&&!this.#e.has(e))if(o){var n=document.createDocumentFragment(),s=H();n.append(s),this.#e.set(e,{effect:tt(()=>r(s)),fragment:n})}else this.#r.set(e,tt(()=>r(this.anchor)));if(this.#t.set(a,e),o){for(const[i,l]of this.#r)i===e?a.unskip_effect(l):a.skip_effect(l);for(const[i,l]of this.#e)i===e?a.unskip_effect(l.effect):a.skip_effect(l.effect);a.oncommit(this.#a),a.ondiscard(this.#i)}else h&&(this.anchor=w),this.#a(a)}}function ke(t,e,r=!1){var a;h&&(a=w,ie());var o=new Wa(t),n=r?$t:0;function s(i,l){if(h){var b=ra(a);if(i!==parseInt(b.substring(1))){var m=Ce();B(m),o.anchor=m,st(!1),o.ensure(i,l),st(!0);return}}o.ensure(i,l)}ue(()=>{var i=!1;e((l,b=0)=>{i=!0,s(b,l)}),i||s(-1,null)},n)}function Ja(t,e){let r=null,a=h;var o;if(h){r=w;for(var n=Rt(document.head);n!==null&&(n.nodeType!==Ct||n.data!==t);)n=I(n);if(n===null)st(!1);else{var s=I(n);n.remove(),B(s)}}h||(o=document.head.appendChild(H()));try{ue(()=>e(o),Ne|ot)}finally{a&&(st(!0),B(r))}}function Za(t,e){Sa(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const o=fe("style");o.id=e.hash,o.textContent=e.code,a.appendChild(o)}})}function Qa(t,e,r){var a=t==null?"":""+t;return a=a?a+" "+e:e,a===""?null:a}function Nt(t,e,r,a,o,n){var s=t.__className;if(h||s!==r||s===void 0){var i=Qa(r,a);(!h||i!==t.getAttribute("class"))&&(i==null?t.removeAttribute("class"):t.className=i),t.__className=r}return n}function Ar(t,e,r,a){var o=a,n=!0,s=()=>(n&&(n=!1,o=a),o),i;i=t[e],i===void 0&&a!==void 0&&(i=s());var l;l=()=>{var d=t[e];return d===void 0?s():(n=!0,d)};var b=!1,m=We(()=>(b=!1,l())),p=g;return(function(d,c){if(arguments.length>0){const v=c?Y(m):d;return Q(m,v),b=!0,o!==void 0&&(o=v),d}return pt&&b||(p.f&P)!==0?m.v:Y(m)})}function tn(t){return new en(t)}class en{#t;#r;constructor(e){var r=new Map,a=(n,s)=>{var i=xa(s,!1,!1);return r.set(n,i),i};const o=new Proxy({...e.props||{},$$events:{}},{get(n,s){return Y(r.get(s)??a(s,Reflect.get(n,s)))},has(n,s){return s===Yr?!0:(Y(r.get(s)??a(s,Reflect.get(n,s))),Reflect.has(n,s))},set(n,s,i){return Q(r.get(s)??a(s,i),i),Reflect.set(n,s,i)}});this.#r=(e.hydrate?Ua:Er)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&me(),this.#t=o.$$events;for(const n of Object.keys(this.#r))n==="$set"||n==="$destroy"||n==="$on"||Xt(this,n,{get(){return this.#r[n]},set(s){this.#r[n]=s},enumerable:!0});this.#r.$set=n=>{Object.assign(o,n)},this.#r.$destroy=()=>{Ka(this.#r)}}$set(e){this.#r.$set(e)}$on(e,r){this.#t[e]=this.#t[e]||[];const a=(...o)=>r.call(this,...o);return this.#t[e].push(a),()=>{this.#t[e]=this.#t[e].filter(o=>o!==a)}}$destroy(){this.#r.$destroy()}}let Rr;typeof HTMLElement=="function"&&(Rr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const a=this.$$c.$on(t,e);this.$$l_u.set(e,a)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const a=this.$$l_u.get(e);a&&(a(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(a){return o=>{const n=fe("slot");a!=="default"&&(n.name=a),et(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=rn(this);for(const a of this.$$s)a in r&&(a==="default"&&!this.$$d.children?(this.$$d.children=t(a),e.default=!0):e[a]=t(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=ee(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=tn({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Ra(()=>{lr(()=>{this.$$r=!0;for(const a of Vt(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const o=ee(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const n=this.$$c.$on(a,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ee(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Vt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function ee(t,e,r,a){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function rn(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function an(t,e,r,a,o,n){let s=class extends Rr{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Vt(e).map(i=>(e[i].attribute||i).toLowerCase())}};return Vt(e).forEach(i=>{Xt(s.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(l){l=ee(i,l,e),this.$$d[i]=l;var b=this.$$c;if(b){var m=kt(b,i)?.get;m?b[i]=l:b.$set({[i]:l})}}})}),a.forEach(i=>{Xt(s.prototype,i,{get(){return this.$$c?.[i]}})}),t.element=s,s}var nn=ut('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1wba643"/>'),on=ut('<span class="chkb svelte-1wba643"><i></i></span>'),sn=ut('<span class="chkb svelte-1wba643"><i></i></span>'),ln=ut("<i></i>"),bn=ut('<span style="float:right"> </span>'),mn=ut('<span class="switcher svelte-1wba643"><i></i></span>'),dn=ut('<li part="li" class="nav-item svelte-1wba643"><button style="color:black;"><!> <!></button></li>');const pn={hash:"svelte-1wba643",code:`@charset "UTF-8";
|
|
3
3
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
8
8
|
* Copyright 2011-2021 Twitter, Inc.
|
|
9
9
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
10
|
-
|
|
10
|
+
*/.svelte-1wba643,
|
|
11
11
|
.svelte-1wba643::before,
|
|
12
12
|
.svelte-1wba643::after {box-sizing:border-box;}
|
|
13
13
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
@@ -145,5 +145,5 @@ button.svelte-1wba643 {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
145
145
|
@media print {.d-print-inline.svelte-1wba643 {display:inline !important;}.d-print-inline-block.svelte-1wba643 {display:inline-block !important;}.d-print-block.svelte-1wba643 {display:block !important;}.d-print-grid.svelte-1wba643 {display:grid !important;}.d-print-inline-grid.svelte-1wba643 {display:inline-grid !important;}.d-print-table.svelte-1wba643 {display:table !important;}.d-print-table-row.svelte-1wba643 {display:table-row !important;}.d-print-table-cell.svelte-1wba643 {display:table-cell !important;}.d-print-flex.svelte-1wba643 {display:flex !important;}.d-print-inline-flex.svelte-1wba643 {display:inline-flex !important;}.d-print-none.svelte-1wba643 {display:none !important;}
|
|
146
146
|
}:host {font-family:"Roboto", sans-serif;}.bd-placeholder-img.svelte-1wba643 {font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;}
|
|
147
147
|
@media (min-width: 768px) {.bd-placeholder-img-lg.svelte-1wba643 {font-size:3.5rem;}
|
|
148
|
-
}.nav-item.svelte-1wba643:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-1wba643 {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}.switcher.svelte-1wba643 {float:right;font-size:1.6em;}.nav-link.svelte-1wba643 {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-1wba643 {list-style:none;}`};function
|
|
148
|
+
}.nav-item.svelte-1wba643:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-1wba643 {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}.switcher.svelte-1wba643 {float:right;font-size:1.6em;}.nav-link.svelte-1wba643 {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-1wba643 {list-style:none;}`};function Tr(t,e){Ge(e,!0),Za(t,pn);function r(m,p){e.$$host.dispatchEvent(new CustomEvent(m,{detail:p}))}function a(m){r("pageChange",{page:m})}let o=Ar(e,"id",7,""),n=Ar(e,"navlink");Aa(()=>{if(typeof n()=="string")try{n(JSON.parse(n()))}catch{}});var s={get id(){return o()},set id(m=""){o(m),me()},get navlink(){return n()},set navlink(m){n(m),me()}},i=Va();Ja("1wba643",m=>{var p=nn();et(m,p)});var l=ka(i);{var b=m=>{var p=dn(),d=Tt(p),c=Tt(d);{var v=A=>{var _=on(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-check-circle${n().value?"-fill":""}`,"svelte-1wba643")),et(A,_)},u=A=>{var _=sn(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-circle${n().value?"-fill":""}`,"svelte-1wba643")),et(A,_)},j=A=>{var _=ln();St(()=>Nt(_,1,`bi me-2 bi-${n().bootstrapIcon??""}`,"svelte-1wba643")),et(A,_)};ke(c,A=>{!n().badge&&n().type==="checkbox"?A(v):!n().badge&&n().type==="radio"?A(u,1):n().bootstrapIcon&&A(j,2)})}var S=or(c),vt=or(S);{var qt=A=>{var _=bn(),ht=Tt(_,!0);jt(_),St(()=>{Nt(_,1,`${(n().badge.class||"badge rounded-pill")??""} ${(n().badge.classcolor||"bg-secondary")??""}`,"svelte-1wba643"),jr(ht,n().badge.text)}),et(A,_)},vn=A=>{var _=mn(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-toggle-${n().value?"on":"off"}`,"svelte-1wba643")),et(A,_)};ke(vt,A=>{n().badge?A(qt):n().type==="switch"&&A(vn,1)})}jt(d),jt(p),St(()=>{Nt(d,1,`custom-button btn nav-link ${n().selected?"btn-outline-primary active":""}`,"svelte-1wba643"),jr(S,` ${n().text??""} `)}),Fa("click",d,()=>{a(n().key)}),et(m,p)};ke(l,m=>{n()&&m(b)})}return et(t,i),De(s)}Ia(["click"]),customElements.define("hb-sidenav-button",an(Tr,{id:{},navlink:{}},[],[],{mode:"open"})),_e.Component=Tr,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})})(this["sidenav-button"]=this["sidenav-button"]||{});
|
|
149
149
|
//# sourceMappingURL=main.iife.js.map
|