@htmlbricks/hb-sidenav-link 0.65.22 → 0.66.0

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 CHANGED
@@ -1,5 +1,5 @@
1
- (function(Zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ze=1,Qe=2,rm=16,tm=1,em=2,Qt="[",lt="[!",At="]",Lr={},T=Symbol(),zt=!1;var re=Array.isArray,mm=Array.prototype.indexOf,Rt=Array.from,dt=Object.keys,pt=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,nm=Object.prototype,om=Array.prototype,am=Object.getPrototypeOf,te=Object.isExtensible;function im(r){for(var t=0;t<r.length;t++)r[t]()}function ee(){var r,t,e=new Promise((m,o)=>{r=m,t=o});return{promise:e,resolve:r,reject:t}}const z=2,Tt=4,Ct=8,cr=16,gr=32,Ar=64,bt=128,er=512,C=1024,I=2048,ur=4096,q=8192,hr=16384,vt=32768,Xr=65536,me=1<<17,Bt=1<<18,Sr=1<<19,sm=1<<20,Gr=32768,Nt=1<<21,St=1<<22,zr=1<<23,Gt=Symbol("$state"),lm=Symbol("legacy props"),Ur=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ot=3,Or=8;function dm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function pm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function bm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function vm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function fm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cm(){throw new Error("https://svelte.dev/e/hydration_failed")}function gm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function um(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hm(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ft(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function ym(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function mr(r){g=r}let u;function B(r){if(r===null)throw ft(),Lr;return u=r}function ct(){return B(J(u))}function H(r){if(g){if(J(u)!==null)throw ft(),Lr;u=r}}function wm(r=1){if(g){for(var t=r,e=u;t--;)e=J(e);u=e}}function gt(r=!0){for(var t=0,e=u;;){if(e.nodeType===Or){var m=e.data;if(m===At){if(t===0)return e;t-=1}else(m===Qt||m===lt)&&(t+=1)}var o=J(e);r&&e.remove(),e=o}}function ne(r){if(!r||r.nodeType!==Or)throw ft(),Lr;return r.data}function oe(r){return r===this.v}function _m(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ae(r){return!_m(r,this.v)}let km=!1,V=null;function Hr(r){V=r}function ie(r,t=!1,e){V={p:V,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=V,e=t.e;if(e!==null){t.e=null;for(var m of e)ze(m)}return r!==void 0&&(t.x=r),t.i=!0,V=t.p,r??{}}function le(){return!0}let Mr=[];function de(){var r=Mr;Mr=[],im(r)}function Mt(r){if(Mr.length===0&&!Qr){var t=Mr;queueMicrotask(()=>{t===Mr&&de()})}Mr.push(r)}function $m(){for(;Mr.length>0;)de()}function pe(r){var t=h;if(t===null)return c.f|=zr,r;if((t.f&vt)===0){if((t.f&bt)===0)throw r;t.b.error(r)}else Vr(r,t)}function Vr(r,t){for(;t!==null;){if((t.f&bt)!==0)try{t.b.error(r);return}catch(e){r=e}t=t.parent}throw r}const ut=new Set;let w=null,K=null,W=[],ht=null,Dt=!1,Qr=!1;class nr{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#o=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#m>0}process(t){W=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#a(m,e);this.is_fork||this.#d(),this.is_deferred()?(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects)):(w=null,ve(e.render_effects),ve(e.effects),this.#s?.resolve()),K=null}#a(t,e){t.f^=C;for(var m=t.first;m!==null;){var o=m.f,n=(o&(gr|Ar))!==0,i=n&&(o&C)!==0,a=i||(o&q)!==0||this.skipped_effects.has(m);if((m.f&bt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!a&&m.fn!==null){n?m.f^=C:(o&Tt)!==0?e.effects.push(m):ot(m)&&((m.f&cr)!==0&&e.block_effects.push(m),at(m));var s=m.first;if(s!==null){m=s;continue}}var l=m.parent;for(m=m.next;m===null&&l!==null;)l===e.effect&&(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#i(t){for(const e of t)((e.f&I)!==0?this.#o:this.#n).push(e),this.#l(e.deps),N(e,C)}#l(t){if(t!==null)for(const e of t)(e.f&z)===0||(e.f&Gr)===0||(e.f^=Gr,this.#l(e.deps))}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&zr)===0&&(this.current.set(t,t.v),K?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,K=null)}flush(){if(this.activate(),W.length>0){if(be(),w!==null&&w!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#d(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#p()}#p(){if(ut.size>1){this.previous.clear();var t=K,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of ut){if(n===this){e=!1;continue}const i=[];for(const[s,l]of this.current){if(n.current.has(s))if(e&&l!==n.current.get(s))n.current.set(s,l);else continue;i.push(s)}if(i.length===0)continue;const a=[...n.current.keys()].filter(s=>!this.current.has(s));if(a.length>0){var o=W;W=[];const s=new Set,l=new Map;for(const d of i)fe(d,a,s,l);if(W.length>0){w=n,n.apply();for(const d of W)n.#a(d,m);n.deactivate()}W=o}}w=null,K=t}this.committed=!0,ut.delete(this)}increment(t){this.#e+=1,t&&(this.#m+=1)}decrement(t){this.#e-=1,t&&(this.#m-=1),this.revive()}revive(){for(const t of this.#o)N(t,I),Dr(t);for(const t of this.#n)N(t,ur),Dr(t);this.#o=[],this.#n=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=ee()).promise}static ensure(){if(w===null){const t=w=new nr;ut.add(w),Qr||nr.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){Mt(t)}apply(){}}function rt(r){var t=Qr;Qr=!0;try{for(var e;;){if($m(),W.length===0&&(w?.flush(),W.length===0))return ht=null,e;be()}}finally{Qr=t}}function be(){var r=Cr;Dt=!0;var t=null;try{var e=0;for(_t(!0);W.length>0;){var m=nr.ensure();if(e++>1e3){var o,n;jm()}m.process(W),Rr.clear()}}finally{Dt=!1,_t(r),ht=null}}function jm(){try{fm()}catch(r){Vr(r,ht)}}let xr=null;function ve(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(hr|q))===0&&ot(m)&&(xr=new Set,at(m),m.deps===null&&m.first===null&&m.nodes_start===null&&(m.teardown===null&&m.ac===null?Be(m):m.fn=null),xr?.size>0)){Rr.clear();for(const o of xr){if((o.f&(hr|q))!==0)continue;const n=[o];let i=o.parent;for(;i!==null;)xr.has(i)&&(xr.delete(i),n.push(i)),i=i.parent;for(let a=n.length-1;a>=0;a--){const s=n[a];(s.f&(hr|q))===0&&at(s)}}xr.clear()}}xr=null}}function fe(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const o of r.reactions){const n=o.f;(n&z)!==0?fe(o,t,e,m):(n&(St|cr))!==0&&(n&I)===0&&ce(o,t,m)&&(N(o,I),Dr(o))}}function ce(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const o of r.deps){if(t.includes(o))return!0;if((o.f&z)!==0&&ce(o,t,e))return e.set(o,!0),!0}return e.set(r,!1),!1}function Dr(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Dt&&t===h&&(e&cr)!==0&&(e&Bt)===0)return;if((e&(Ar|gr))!==0){if((e&C)===0)return;t.f^=C}}W.push(t)}function Em(r){let t=0,e=Fr(0),m;return()=>{yt()&&(x(e),Re(()=>(t===0&&(m=Qm(()=>r(()=>et(e)))),t+=1,()=>{Mt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var Am=Xr|Sr|bt;function zm(r,t,e){new Rm(r,t,e)}class Rm{parent;#t=!1;#r;#e=g?u:null;#m;#s;#o;#n=null;#a=null;#i=null;#l=null;#d=null;#p=0;#b=0;#f=!1;#v=null;#x=Em(()=>(this.#v=Fr(this.#p),()=>{this.#v=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=h.b,this.#t=!!this.#m.pending,this.#o=wt(()=>{if(h.b=this,g){const n=this.#e;ct(),n.nodeType===Or&&n.data===lt?this.#w():this.#y()}else{var o=this.#u();try{this.#n=Z(()=>m(o))}catch(n){this.error(n)}this.#b>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},Am),g&&(this.#r=u)}#y(){try{this.#n=Z(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#a=Z(()=>t(this.#r)),nr.enqueue(()=>{var e=this.#u();this.#n=this.#c(()=>(nr.ensure(),Z(()=>this.#s(e)))),this.#b>0?this.#g():(Kr(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=X(),this.#r.before(this.#d),t=this.#d),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#m.pending}#c(t){var e=h,m=c,o=V;vr(this.#o),P(this.#o),Hr(this.#o.ctx);try{return t()}catch(n){return pe(n),null}finally{vr(e),P(m),Hr(o)}}#g(){const t=this.#m.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Ge(this.#n,this.#l)),this.#a===null&&(this.#a=Z(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#b+=t,this.#b===0&&(this.#t=!1,this.#a&&Kr(this.#a,()=>{this.#a=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#p+=t,this.#v&&tt(this.#v,this.#p)}get_effect_pending(){return this.#x(),x(this.#v)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#n&&(S(this.#n),this.#n=null),this.#a&&(S(this.#a),this.#a=null),this.#i&&(S(this.#i),this.#i=null),g&&(B(this.#e),wm(),B(gt()));var o=!1,n=!1;const i=()=>{if(o){ym();return}o=!0,n&&xm(),nr.ensure(),this.#p=0,this.#i!==null&&Kr(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#n=this.#c(()=>(this.#f=!1,Z(()=>this.#s(this.#r)))),this.#b>0?this.#g():this.#t=!1};var a=c;try{P(null),n=!0,e?.(t,i),n=!1}catch(s){Vr(s,this.#o&&this.#o.parent)}finally{P(a)}m&&Mt(()=>{this.#i=this.#c(()=>{nr.ensure(),this.#f=!0;try{return Z(()=>{m(this.#r,()=>t,()=>i)})}catch(s){return Vr(s,this.#o.parent),null}finally{this.#f=!1}})})}}function Tm(r,t,e){for(var m=[],o=t.length,n=0;n<o;n++)Xt(t[n].e,m,!0);Ne(m,()=>{var i=m.length===0&&e!==null;if(i){var a=e,s=a.parentNode;je(s),s.append(a),r.items.clear(),dr(r,t[0].prev,t[o-1].next)}for(var l=0;l<o;l++){var d=t[l];i||(r.items.delete(d.k),dr(r,d.prev,d.next)),S(d.e,!i)}r.first===t[0]&&(r.first=t[0].prev)})}function Cm(r,t,e,m,o,n=null){var i=r,a=new Map,s=null;{var l=r;i=g?B(Tr(l)):l.appendChild(X())}g&&ct();var d=null,f=Mm(()=>{var k=e();return re(k)?k:k==null?[]:Rt(k)}),p,v=!0;function b(){Bm(Y,p,i,t,m),d!==null&&(p.length===0?(d.fragment?(i.before(d.fragment),d.fragment=null):Ut(d.effect),y.first=d.effect):Kr(d.effect,()=>{d=null}))}var y=wt(()=>{p=x(f);var k=p.length;let j=!1;if(g){var sr=ne(i)===lt;sr!==(k===0)&&(i=gt(),B(i),mr(!1),j=!0)}for(var rr=new Set,M=w,lr=null,jr=Ee(),D=0;D<k;D+=1){g&&u.nodeType===Or&&u.data===At&&(i=u,j=!0,mr(!1));var L=p[D],tr=m(L,D),E=v?null:a.get(tr);E?(tt(E.v,L),E.i=D,jr&&M.skipped_effects.delete(E.e)):(E=Nm(v?i:null,lr,L,tr,D,o,t,e),v&&(E.o=!0,lr===null?s=E:lr.next=E,lr=E),a.set(tr,E)),rr.add(tr)}if(k===0&&n&&!d)if(v)d={fragment:null,effect:Z(()=>n(i))};else{var Br=document.createDocumentFragment(),R=X();Br.append(R),d={fragment:Br,effect:Z(()=>n(R))}}if(g&&k>0&&B(gt()),!v)if(jr){for(const[_,F]of a)rr.has(_)||M.skipped_effects.add(F.e);M.oncommit(b),M.ondiscard(()=>{})}else b();j&&mr(!0),x(f)}),Y={effect:y,items:a,first:s};v=!1,g&&(i=u)}function Bm(r,t,e,m,o){var n=t.length,i=r.items,a=r.first,s,l=null,d=[],f=[],p,v,b,y;for(y=0;y<n;y+=1){if(p=t[y],v=o(p,y),b=i.get(v),r.first??=b,!b.o){b.o=!0;var Y=l?l.next:a;dr(r,l,b),dr(r,b,Y),Ft(b,Y,e),l=b,d=[],f=[],a=l.next;continue}if((b.e.f&q)!==0&&Ut(b.e),b!==a){if(s!==void 0&&s.has(b)){if(d.length<f.length){var k=f[0],j;l=k.prev;var sr=d[0],rr=d[d.length-1];for(j=0;j<d.length;j+=1)Ft(d[j],k,e);for(j=0;j<f.length;j+=1)s.delete(f[j]);dr(r,sr.prev,rr.next),dr(r,l,sr),dr(r,rr,k),a=k,l=rr,y-=1,d=[],f=[]}else s.delete(b),Ft(b,a,e),dr(r,b.prev,b.next),dr(r,b,l===null?r.first:l.next),dr(r,l,b),l=b;continue}for(d=[],f=[];a!==null&&a.k!==v;)(a.e.f&q)===0&&(s??=new Set).add(a),f.push(a),a=a.next;if(a===null)continue;b=a}d.push(b),l=b,a=b.next}if(a!==null||s!==void 0){for(var M=s===void 0?[]:Rt(s);a!==null;)(a.e.f&q)===0&&M.push(a),a=a.next;var lr=M.length;if(lr>0){var jr=n===0?e:null;Tm(r,M,jr)}}}function Nm(r,t,e,m,o,n,i,a){var s=(i&Ze)!==0,l=(i&rm)===0,d=s?l?xe(e,!1,!1):Fr(e):e,f=(i&Qe)===0?o:Fr(o),p={i:f,v:d,k:m,a:null,e:null,o:!1,prev:t,next:null};try{if(r===null){var v=document.createDocumentFragment();v.append(r=X())}return p.e=Z(()=>n(r,d,f,a)),t!==null&&(t.next=p),p}finally{}}function Ft(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,o=t?t.e.nodes_start:e,n=r.e.nodes_start;n!==null&&n!==m;){var i=J(n);o.before(n),n=i}}function dr(r,t,e){t===null?(r.first=e,r.effect.first=e&&e.e):(t.e.next&&(t.e.next.prev=null),t.next=e,t.e.next=e&&e.e),e===null?r.effect.last=t&&t.e:(e.e.prev&&(e.e.prev.next=null),e.prev=t,e.e.prev=t&&t.e)}function Sm(r,t,e,m){const o=It;if(e.length===0&&r.length===0){m(t.map(o));return}var n=w,i=h,a=Gm();function s(){Promise.all(e.map(l=>Om(l))).then(l=>{a();try{m([...t.map(o),...l])}catch(d){(i.f&hr)===0&&Vr(d,i)}n?.deactivate(),xt()}).catch(l=>{Vr(l,i)})}r.length>0?Promise.all(r).then(()=>{a();try{return s()}finally{n?.deactivate(),xt()}}):s()}function Gm(){var r=h,t=c,e=V,m=w;return function(n=!0){vr(r),P(t),Hr(e),n&&m?.activate()}}function xt(){vr(null),P(null),Hr(null)}function It(r){var t=z|I,e=c!==null&&(c.f&z)!==0?c:null;return h!==null&&(h.f|=Sr),{ctx:V,deps:null,effects:null,equals:oe,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??h,ac:null}}function Om(r,t){let e=h;e===null&&dm();var m=e.b,o=void 0,n=Fr(T),i=!c,a=new Map;return Hm(()=>{var s=ee();o=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===w&&l.committed&&l.deactivate(),xt()})}catch(p){s.reject(p),xt()}var l=w;if(i){var d=!m.is_pending();m.update_pending_count(1),l.increment(d),a.get(l)?.reject(Ur),a.delete(l),a.set(l,s)}const f=(p,v=void 0)=>{if(l.activate(),v)v!==Ur&&(n.f|=zr,tt(n,v));else{(n.f&zr)!==0&&(n.f^=zr),tt(n,p);for(const[b,y]of a){if(a.delete(b),b===l)break;y.reject(Ur)}}i&&(m.update_pending_count(-1),l.decrement(d))};s.promise.then(f,p=>f(null,p||"unknown"))}),Ym(()=>{for(const s of a.values())s.reject(Ur)}),new Promise(s=>{function l(d){function f(){d===o?s(n):l(o)}d.then(f,f)}l(o)})}function Mm(r){const t=It(r);return t.equals=ae,t}function ge(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)S(t[e])}}function Dm(r){for(var t=r.parent;t!==null;){if((t.f&z)===0)return(t.f&hr)===0?t:null;t=t.parent}return null}function Pt(r){var t,e=h;vr(Dm(r));try{r.f&=~Gr,ge(r),t=Pe(r)}finally{vr(e)}return t}function ue(r){var t=Pt(r);if(r.equals(t)||(w?.is_fork||(r.v=t),r.wv=Fe()),!Ir)if(K!==null)yt()&&K.set(r,t);else{var e=(r.f&er)===0?ur:C;N(r,e)}}let Yt=new Set;const Rr=new Map;let he=!1;function Fr(r,t){var e={f:0,v:r,reactions:null,equals:oe,rv:0,wv:0};return e}function yr(r,t){const e=Fr(r);return Wm(e),e}function xe(r,t=!1,e=!0){const m=Fr(r);return t||(m.equals=ae),m}function or(r,t,e=!1){c!==null&&(!br||(c.f&me)!==0)&&le()&&(c.f&(z|cr|St|me))!==0&&!_r?.includes(r)&&hm();let m=e?mt(t):t;return tt(r,m)}function tt(r,t){if(!r.equals(t)){var e=r.v;Ir?Rr.set(r,t):Rr.set(r,e),r.v=t;var m=nr.ensure();m.capture(r,e),(r.f&z)!==0&&((r.f&I)!==0&&Pt(r),N(r,(r.f&er)!==0?C:ur)),r.wv=Fe(),ye(r,I),h!==null&&(h.f&C)!==0&&(h.f&(gr|Ar))===0&&(Q===null?Jm([r]):Q.push(r)),!m.is_fork&&Yt.size>0&&!he&&Fm()}return t}function Fm(){he=!1;var r=Cr;_t(!0);const t=Array.from(Yt);try{for(const e of t)(e.f&C)!==0&&N(e,ur),ot(e)&&at(e)}finally{_t(r)}Yt.clear()}function et(r){or(r,r.v+1)}function ye(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o],i=n.f,a=(i&I)===0;if(a&&N(n,t),(i&z)!==0){var s=n;K?.delete(s),(i&Gr)===0&&(i&er&&(n.f|=Gr),ye(s,ur))}else a&&((i&cr)!==0&&xr!==null&&xr.add(n),Dr(n))}}function mt(r){if(typeof r!="object"||r===null||Gt in r)return r;const t=am(r);if(t!==nm&&t!==om)return r;var e=new Map,m=re(r),o=yr(0),n=Pr,i=a=>{if(Pr===n)return a();var s=c,l=Pr;P(null),De(n);var d=a();return P(s),De(l),d};return m&&e.set("length",yr(r.length)),new Proxy(r,{defineProperty(a,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&gm();var d=e.get(s);return d===void 0?d=i(()=>{var f=yr(l.value);return e.set(s,f),f}):or(d,l.value,!0),!0},deleteProperty(a,s){var l=e.get(s);if(l===void 0){if(s in a){const d=i(()=>yr(T));e.set(s,d),et(o)}}else or(l,T),et(o);return!0},get(a,s,l){if(s===Gt)return r;var d=e.get(s),f=s in a;if(d===void 0&&(!f||qr(a,s)?.writable)&&(d=i(()=>{var v=mt(f?a[s]:T),b=yr(v);return b}),e.set(s,d)),d!==void 0){var p=x(d);return p===T?void 0:p}return Reflect.get(a,s,l)},getOwnPropertyDescriptor(a,s){var l=Reflect.getOwnPropertyDescriptor(a,s);if(l&&"value"in l){var d=e.get(s);d&&(l.value=x(d))}else if(l===void 0){var f=e.get(s),p=f?.v;if(f!==void 0&&p!==T)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return l},has(a,s){if(s===Gt)return!0;var l=e.get(s),d=l!==void 0&&l.v!==T||Reflect.has(a,s);if(l!==void 0||h!==null&&(!d||qr(a,s)?.writable)){l===void 0&&(l=i(()=>{var p=d?mt(a[s]):T,v=yr(p);return v}),e.set(s,l));var f=x(l);if(f===T)return!1}return d},set(a,s,l,d){var f=e.get(s),p=s in a;if(m&&s==="length")for(var v=l;v<f.v;v+=1){var b=e.get(v+"");b!==void 0?or(b,T):v in a&&(b=i(()=>yr(T)),e.set(v+"",b))}if(f===void 0)(!p||qr(a,s)?.writable)&&(f=i(()=>yr(void 0)),or(f,mt(l)),e.set(s,f));else{p=f.v!==T;var y=i(()=>mt(l));or(f,y)}var Y=Reflect.getOwnPropertyDescriptor(a,s);if(Y?.set&&Y.set.call(d,l),!p){if(m&&typeof s=="string"){var k=e.get("length"),j=Number(s);Number.isInteger(j)&&j>=k.v&&or(k,j+1)}et(o)}return!0},ownKeys(a){x(o);var s=Reflect.ownKeys(a).filter(f=>{var p=e.get(f);return p===void 0||p.v!==T});for(var[l,d]of e)d.v!==T&&!(l in a)&&s.push(l);return s},setPrototypeOf(){um()}})}var we,_e,ke,$e;function Lt(){if(we===void 0){we=window,_e=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;ke=qr(t,"firstChild").get,$e=qr(t,"nextSibling").get,te(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),te(e)&&(e.__t=void 0)}}function X(r=""){return document.createTextNode(r)}function Tr(r){return ke.call(r)}function J(r){return $e.call(r)}function ar(r,t){if(!g)return Tr(r);var e=Tr(u);if(e===null)e=u.appendChild(X());else if(t&&e.nodeType!==Ot){var m=X();return e?.before(m),B(m),m}return B(e),e}function qt(r,t=!1){if(!g){var e=Tr(r);return e instanceof Comment&&e.data===""?J(e):e}if(t&&u?.nodeType!==Ot){var m=X();return u?.before(m),B(m),m}return u}function ir(r,t=1,e=!1){let m=g?u:r;for(var o;t--;)o=m,m=J(m);if(!g)return m;if(e&&m?.nodeType!==Ot){var n=X();return m===null?o?.after(n):m.before(n),B(n),n}return B(m),m}function je(r){r.textContent=""}function Ee(){return!1}function Ae(r){var t=c,e=h;P(null),vr(null);try{return r()}finally{P(t),vr(e)}}function Im(r){h===null&&(c===null&&vm(),bm()),Ir&&pm()}function Pm(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function pr(r,t,e){var m=h;m!==null&&(m.f&q)!==0&&(r|=q);var o={ctx:V,deps:null,nodes_start:null,nodes_end:null,f:r|I|er,first:null,fn:t,last:null,next:null,parent:m,b:m&&m.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{at(o),o.f|=vt}catch(a){throw S(o),a}else t!==null&&Dr(o);var n=o;if(e&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&Sr)===0&&(n=n.first,(r&cr)!==0&&(r&Xr)!==0&&n!==null&&(n.f|=Xr)),n!==null&&(n.parent=m,m!==null&&Pm(n,m),c!==null&&(c.f&z)!==0&&(r&Ar)===0)){var i=c;(i.effects??=[]).push(n)}return o}function yt(){return c!==null&&!br}function Ym(r){const t=pr(Ct,null,!1);return N(t,C),t.teardown=r,t}function Lm(r){Im();var t=h.f,e=!c&&(t&gr)!==0&&(t&vt)===0;if(e){var m=V;(m.e??=[]).push(r)}else return ze(r)}function ze(r){return pr(Tt|sm,r,!1)}function qm(r){nr.ensure();const t=pr(Ar|Sr,r,!0);return()=>{S(t)}}function Xm(r){nr.ensure();const t=pr(Ar|Sr,r,!0);return(e={})=>new Promise(m=>{e.outro?Kr(t,()=>{S(t),m(void 0)}):(S(t),m(void 0))})}function Um(r){return pr(Tt,r,!1)}function Hm(r){return pr(St|Sr,r,!0)}function Re(r,t=0){return pr(Ct|t,r,!0)}function wr(r,t=[],e=[],m=[]){Sm(m,t,e,o=>{pr(Ct,()=>r(...o.map(x)),!0)})}function wt(r,t=0){var e=pr(cr|t,r,!0);return e}function Z(r){return pr(gr|Sr,r,!0)}function Te(r){var t=r.teardown;if(t!==null){const e=Ir,m=c;Oe(!0),P(null);try{t.call(null)}finally{Oe(e),P(m)}}}function Ce(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const o=e.ac;o!==null&&Ae(()=>{o.abort(Ur)});var m=e.next;(e.f&Ar)!==0?e.parent=null:S(e,t),e=m}}function Vm(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&gr)===0&&S(t),t=e}}function S(r,t=!0){var e=!1;(t||(r.f&Bt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Km(r.nodes_start,r.nodes_end),e=!0),Ce(r,t&&!e),kt(r,0),N(r,hr);var m=r.transitions;if(m!==null)for(const n of m)n.stop();Te(r);var o=r.parent;o!==null&&o.first!==null&&Be(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function Km(r,t){for(;r!==null;){var e=r===t?null:J(r);r.remove(),r=e}}function Be(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Kr(r,t,e=!0){var m=[];Xt(r,m,!0),Ne(m,()=>{e&&S(r),t&&t()})}function Ne(r,t){var e=r.length;if(e>0){var m=()=>--e||t();for(var o of r)o.out(m)}else t()}function Xt(r,t,e){if((r.f&q)===0){if(r.f^=q,r.transitions!==null)for(const i of r.transitions)(i.is_global||e)&&t.push(i);for(var m=r.first;m!==null;){var o=m.next,n=(m.f&Xr)!==0||(m.f&gr)!==0&&(r.f&cr)!==0;Xt(m,t,n?e:!1),m=o}}}function Ut(r){Se(r,!0)}function Se(r,t){if((r.f&q)!==0){r.f^=q,(r.f&C)===0&&(N(r,I),Dr(r));for(var e=r.first;e!==null;){var m=e.next,o=(e.f&Xr)!==0||(e.f&gr)!==0;Se(e,o?t:!1),e=m}if(r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&n.in()}}function Ge(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var o=e===m?null:J(e);t.append(e),e=o}}let Cr=!1;function _t(r){Cr=r}let Ir=!1;function Oe(r){Ir=r}let c=null,br=!1;function P(r){c=r}let h=null;function vr(r){h=r}let _r=null;function Wm(r){c!==null&&(_r===null?_r=[r]:_r.push(r))}let G=null,U=0,Q=null;function Jm(r){Q=r}let Me=1,nt=0,Pr=nt;function De(r){Pr=r}function Fe(){return++Me}function ot(r){var t=r.f;if((t&I)!==0)return!0;if(t&z&&(r.f&=~Gr),(t&ur)!==0){var e=r.deps;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o];if(ot(n)&&ue(n),n.wv>r.wv)return!0}(t&er)!==0&&K===null&&N(r,C)}return!1}function Ie(r,t,e=!0){var m=r.reactions;if(m!==null&&!_r?.includes(r))for(var o=0;o<m.length;o++){var n=m[o];(n.f&z)!==0?Ie(n,t,!1):t===n&&(e?N(n,I):(n.f&C)!==0&&N(n,ur),Dr(n))}}function Pe(r){var t=G,e=U,m=Q,o=c,n=_r,i=V,a=br,s=Pr,l=r.f;G=null,U=0,Q=null,c=(l&(gr|Ar))===0?r:null,_r=null,Hr(r.ctx),br=!1,Pr=++nt,r.ac!==null&&(Ae(()=>{r.ac.abort(Ur)}),r.ac=null);try{r.f|=Nt;var d=r.fn,f=d(),p=r.deps;if(G!==null){var v;if(kt(r,U),p!==null&&U>0)for(p.length=U+G.length,v=0;v<G.length;v++)p[U+v]=G[v];else r.deps=p=G;if(Cr&&yt()&&(r.f&er)!==0)for(v=U;v<p.length;v++)(p[v].reactions??=[]).push(r)}else p!==null&&U<p.length&&(kt(r,U),p.length=U);if(le()&&Q!==null&&!br&&p!==null&&(r.f&(z|ur|I))===0)for(v=0;v<Q.length;v++)Ie(Q[v],r);return o!==null&&o!==r&&(nt++,Q!==null&&(m===null?m=Q:m.push(...Q))),(r.f&zr)!==0&&(r.f^=zr),f}catch(b){return pe(b)}finally{r.f^=Nt,G=t,U=e,Q=m,c=o,_r=n,Hr(i),br=a,Pr=s}}function Zm(r,t){let e=t.reactions;if(e!==null){var m=mm.call(e,r);if(m!==-1){var o=e.length-1;o===0?e=t.reactions=null:(e[m]=e[o],e.pop())}}e===null&&(t.f&z)!==0&&(G===null||!G.includes(t))&&(N(t,ur),(t.f&er)!==0&&(t.f^=er,t.f&=~Gr),ge(t),kt(t,0))}function kt(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Zm(r,e[m])}function at(r){var t=r.f;if((t&hr)===0){N(r,C);var e=h,m=Cr;h=r,Cr=!0;try{(t&cr)!==0?Vm(r):Ce(r),Te(r);var o=Pe(r);r.teardown=typeof o=="function"?o:null,r.wv=Me;var n;zt&&km&&(r.f&I)!==0&&r.deps}finally{Cr=m,h=e}}}function x(r){var t=r.f,e=(t&z)!==0;if(c!==null&&!br){var m=h!==null&&(h.f&hr)!==0;if(!m&&!_r?.includes(r)){var o=c.deps;if((c.f&Nt)!==0)r.rv<nt&&(r.rv=nt,G===null&&o!==null&&o[U]===r?U++:G===null?G=[r]:G.includes(r)||G.push(r));else{(c.deps??=[]).push(r);var n=r.reactions;n===null?r.reactions=[c]:n.includes(c)||n.push(c)}}}if(Ir){if(Rr.has(r))return Rr.get(r);if(e){var i=r,a=i.v;return((i.f&C)===0&&i.reactions!==null||Le(i))&&(a=Pt(i)),Rr.set(i,a),a}}else e&&!K?.has(r)&&(i=r,ot(i)&&ue(i),Cr&&yt()&&(i.f&er)===0&&Ye(i));if(K?.has(r))return K.get(r);if((r.f&zr)!==0)throw r.v;return r.v}function Ye(r){if(r.deps!==null){r.f^=er;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&z)!==0&&(t.f&er)===0&&Ye(t)}}function Le(r){if(r.v===T)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Rr.has(t)||(t.f&z)!==0&&Le(t))return!0;return!1}function Qm(r){var t=br;try{return br=!0,r()}finally{br=t}}const rn=-7169;function N(r,t){r.f=r.f&rn|t}const qe=new Set,Ht=new Set;function tn(r){for(var t=0;t<r.length;t++)qe.add(r[t]);for(var e of Ht)e(r)}let Xe=null;function $t(r){var t=this,e=t.ownerDocument,m=r.type,o=r.composedPath?.()||[],n=o[0]||r.target;Xe=r;var i=0,a=Xe===r&&r.__root;if(a){var s=o.indexOf(a);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=o.indexOf(t);if(l===-1)return;s<=l&&(i=s)}if(n=o[i]||r.target,n!==t){pt(r,"currentTarget",{configurable:!0,get(){return n||e}});var d=c,f=h;P(null),vr(null);try{for(var p,v=[];n!==null;){var b=n.assignedSlot||n.parentNode||n.host||null;try{var y=n["__"+m];y!=null&&(!n.disabled||r.target===n)&&y.call(n,r)}catch(Y){p?v.push(Y):p=Y}if(r.cancelBubble||b===t||b===null)break;n=b}if(p){for(let Y of v)queueMicrotask(()=>{throw Y});throw p}}finally{r.__root=t,delete r.currentTarget,P(d),vr(f)}}}function en(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Wr(r,t){var e=h;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function O(r,t){var e=(t&tm)!==0,m=(t&em)!==0,o,n=!r.startsWith("<!>");return()=>{if(g)return Wr(u,null),u;o===void 0&&(o=en(n?r:"<!>"+r),e||(o=Tr(o)));var i=m||_e?document.importNode(o,!0):o.cloneNode(!0);if(e){var a=Tr(i),s=i.lastChild;Wr(a,s)}else Wr(i,i);return i}}function Ue(){if(g)return Wr(u,null),u;var r=document.createDocumentFragment(),t=document.createComment(""),e=X();return r.append(t,e),Wr(t,e),r}function $(r,t){if(g){var e=h;((e.f&vt)===0||e.nodes_end===null)&&(e.nodes_end=u),ct();return}r!==null&&r.before(t)}const mn=["touchstart","touchmove"];function nn(r){return mn.includes(r)}function kr(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function He(r,t){return Ve(r,t)}function on(r,t){Lt(),t.intro=t.intro??!1;const e=t.target,m=g,o=u;try{for(var n=Tr(e);n&&(n.nodeType!==Or||n.data!==Qt);)n=J(n);if(!n)throw Lr;mr(!0),B(n);const i=Ve(r,{...t,anchor:n});return mr(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw i;return i!==Lr&&console.warn("Failed to hydrate: ",i),t.recover===!1&&cm(),Lt(),je(e),mr(!1),He(r,t)}finally{mr(m),B(o)}}const Jr=new Map;function Ve(r,{target:t,anchor:e,props:m={},events:o,context:n,intro:i=!0}){Lt();var a=new Set,s=f=>{for(var p=0;p<f.length;p++){var v=f[p];if(!a.has(v)){a.add(v);var b=nn(v);t.addEventListener(v,$t,{passive:b});var y=Jr.get(v);y===void 0?(document.addEventListener(v,$t,{passive:b}),Jr.set(v,1)):Jr.set(v,y+1)}}};s(Rt(qe)),Ht.add(s);var l=void 0,d=Xm(()=>{var f=e??t.appendChild(X());return zm(f,{pending:()=>{}},p=>{if(n){ie({});var v=V;v.c=n}if(o&&(m.$$events=o),g&&Wr(p,null),l=r(p,m)||{},g&&(h.nodes_end=u,u===null||u.nodeType!==Or||u.data!==At))throw ft(),Lr;n&&se()}),()=>{for(var p of a){t.removeEventListener(p,$t);var v=Jr.get(p);--v===0?(document.removeEventListener(p,$t),Jr.delete(p)):Jr.set(p,v)}Ht.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Vt.set(l,d),l}let Vt=new WeakMap;function an(r,t){const e=Vt.get(r);return e?(Vt.delete(r),e(t)):Promise.resolve()}class sn{anchor;#t=new Map;#r=new Map;#e=new Map;#m=new Set;#s=!0;constructor(t,e=!0){this.anchor=t,this.#s=e}#o=()=>{var t=w;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Ut(m),this.#m.delete(e);else{var o=this.#e.get(e);o&&(this.#r.set(e,o.effect),this.#e.delete(e),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),m=o.effect)}for(const[n,i]of this.#t){if(this.#t.delete(n),n===t)break;const a=this.#e.get(i);a&&(S(a.effect),this.#e.delete(i))}for(const[n,i]of this.#r){if(n===e||this.#m.has(n))continue;const a=()=>{if(Array.from(this.#t.values()).includes(n)){var l=document.createDocumentFragment();Ge(i,l),l.append(X()),this.#e.set(n,{effect:i,fragment:l})}else S(i);this.#m.delete(n),this.#r.delete(n)};this.#s||!m?(this.#m.add(n),Kr(i,a,!1)):a()}}};#n=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,o]of this.#e)e.includes(m)||(S(o.effect),this.#e.delete(m))};ensure(t,e){var m=w,o=Ee();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(o){var n=document.createDocumentFragment(),i=X();n.append(i),this.#e.set(t,{effect:Z(()=>e(i)),fragment:n})}else this.#r.set(t,Z(()=>e(this.anchor)));if(this.#t.set(m,t),o){for(const[a,s]of this.#r)a===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[a,s]of this.#e)a===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#o),m.ondiscard(this.#n)}else g&&(this.anchor=u),this.#o()}}function fr(r,t,e=!1){g&&ct();var m=new sn(r),o=e?Xr:0;function n(i,a){if(g){const l=ne(r)===lt;if(i===l){var s=gt();B(s),m.anchor=s,mr(!1),m.ensure(i,a),mr(!0);return}}m.ensure(i,a)}wt(()=>{var i=!1;t((a,s=!0)=>{i=!0,n(s,a)}),i||n(!1,null)},o)}function ln(r,t){let e=null,m=g;var o;if(g){e=u;for(var n=Tr(document.head);n!==null&&(n.nodeType!==Or||n.data!==r);)n=J(n);if(n===null)mr(!1);else{var i=J(n);n.remove(),B(i)}}g||(o=document.head.appendChild(X()));try{wt(()=>t(o),Bt)}finally{m&&(mr(!0),B(e))}}function dn(r,t){Um(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,m.appendChild(o)}})}function pn(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function $r(r,t,e,m,o,n){var i=r.__className;if(g||i!==e||i===void 0){var a=pn(e,m);(!g||a!==r.getAttribute("class"))&&(a==null?r.removeAttribute("class"):r.className=a),r.__className=e}return n}function jt(r,t,e,m){var o=m,n=!0,i=()=>(n&&(n=!1,o=m),o),a;a=r[t],a===void 0&&m!==void 0&&(a=i());var s;s=()=>{var p=r[t];return p===void 0?i():(n=!0,p)};var l=!1,d=It(()=>(l=!1,s())),f=h;return(function(p,v){if(arguments.length>0){const b=v?x(d):p;return or(d,b),l=!0,o!==void 0&&(o=b),p}return Ir&&l||(f.f&hr)!==0?d.v:x(d)})}function bn(r){return new vn(r)}class vn{#t;#r;constructor(t){var e=new Map,m=(n,i)=>{var a=xe(i,!1,!1);return e.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,i){return x(e.get(i)??m(i,Reflect.get(n,i)))},has(n,i){return i===lm?!0:(x(e.get(i)??m(i,Reflect.get(n,i))),Reflect.has(n,i))},set(n,i,a){return or(e.get(i)??m(i,a),a),Reflect.set(n,i,a)}});this.#r=(t.hydrate?on:He)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&rt(),this.#t=o.$$events;for(const n of Object.keys(this.#r))n==="$set"||n==="$destroy"||n==="$on"||pt(this,n,{get(){return this.#r[n]},set(i){this.#r[n]=i},enumerable:!0});this.#r.$set=n=>{Object.assign(o,n)},this.#r.$destroy=()=>{an(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...o)=>e.call(this,...o);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(o=>o!==m)}}$destroy(){this.#r.$destroy()}}let Ke;typeof HTMLElement=="function"&&(Ke=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return o=>{const n=document.createElement("slot");m!=="default"&&(n.name=m),$(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=fn(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const o=this.$$g_p(m.name);o in this.$$d||(this.$$d[o]=Et(o,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=bn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qm(()=>{Re(()=>{this.$$r=!0;for(const m of dt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const o=Et(m,this.$$d[m],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,o)}this.$$r=!1})});for(const m in this.$$l)for(const o of this.$$l[m]){const n=this.$$c.$on(m,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Et(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function Et(r,t,e,m){const o=e[r]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fn(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function cn(r,t,e,m,o,n){let i=class extends Ke{constructor(){super(r,e,o),this.$$p_d=t}static get observedAttributes(){return dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return dt(t).forEach(a=>{pt(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=Et(a,s,t),this.$$d[a]=s;var l=this.$$c;if(l){var d=qr(l,a)?.get;d?l[a]=s:l.$set({[a]:s})}}})}),m.forEach(a=>{pt(i.prototype,a,{get(){return this.$$c?.[a]}})}),r.element=i,i}var gn=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),un=O('<span style="float:right" class="svelte-pdmrmr">▼</span>'),hn=O('<span style="float:right" class="svelte-pdmrmr">►</span>'),xn=O('<span style="float:right"> </span>'),yn=O('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),wn=O('<span style="float:right"> </span>'),_n=O('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),kn=O('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),$n=O('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),jn=O('<span style="float:right"> </span>'),En=O('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),An=O('<span style="float:right"> </span>'),zn=O('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Rn=O('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Tn=O('<span class="svelte-pdmrmr"><!></span>');const Cn={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
1
+ (function(Zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ze=1,Qe=2,rm=16,tm=1,em=2,Qt="[",lt="[!",zt="]",Lr={},T=Symbol(),At=!1;var re=Array.isArray,mm=Array.prototype.indexOf,Rt=Array.from,dt=Object.keys,pt=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,nm=Object.prototype,om=Array.prototype,am=Object.getPrototypeOf,te=Object.isExtensible;function im(r){for(var t=0;t<r.length;t++)r[t]()}function ee(){var r,t,e=new Promise((m,o)=>{r=m,t=o});return{promise:e,resolve:r,reject:t}}const A=2,Tt=4,Bt=8,cr=16,gr=32,zr=64,vt=128,er=512,B=1024,F=2048,ur=4096,q=8192,hr=16384,bt=32768,Xr=65536,me=1<<17,Ct=1<<18,Gr=1<<19,sm=1<<20,Or=32768,Nt=1<<21,Gt=1<<22,Ar=1<<23,Ot=Symbol("$state"),lm=Symbol("legacy props"),Vr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},St=3,Sr=8;function dm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function pm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function bm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function fm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cm(){throw new Error("https://svelte.dev/e/hydration_failed")}function gm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function um(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hm(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ft(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function ym(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function mr(r){g=r}let u;function C(r){if(r===null)throw ft(),Lr;return u=r}function ct(){return C(J(u))}function H(r){if(g){if(J(u)!==null)throw ft(),Lr;u=r}}function wm(r=1){if(g){for(var t=r,e=u;t--;)e=J(e);u=e}}function gt(r=!0){for(var t=0,e=u;;){if(e.nodeType===Sr){var m=e.data;if(m===zt){if(t===0)return e;t-=1}else(m===Qt||m===lt)&&(t+=1)}var o=J(e);r&&e.remove(),e=o}}function ne(r){if(!r||r.nodeType!==Sr)throw ft(),Lr;return r.data}function oe(r){return r===this.v}function _m(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ae(r){return!_m(r,this.v)}let km=!1,U=null;function Hr(r){U=r}function ie(r,t=!1,e){U={p:U,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=U,e=t.e;if(e!==null){t.e=null;for(var m of e)Ae(m)}return r!==void 0&&(t.x=r),t.i=!0,U=t.p,r??{}}function le(){return!0}let Dr=[];function de(){var r=Dr;Dr=[],im(r)}function Dt(r){if(Dr.length===0&&!Qr){var t=Dr;queueMicrotask(()=>{t===Dr&&de()})}Dr.push(r)}function $m(){for(;Dr.length>0;)de()}function pe(r){var t=h;if(t===null)return c.f|=Ar,r;if((t.f&bt)===0){if((t.f&vt)===0)throw r;t.b.error(r)}else Ur(r,t)}function Ur(r,t){for(;t!==null;){if((t.f&vt)!==0)try{t.b.error(r);return}catch(e){r=e}t=t.parent}throw r}const ut=new Set;let w=null,K=null,W=[],ht=null,Mt=!1,Qr=!1;class nr{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#o=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#m>0}process(t){W=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#a(m,e);this.is_fork||this.#d(),this.is_deferred()?(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects)):(w=null,be(e.render_effects),be(e.effects),this.#s?.resolve()),K=null}#a(t,e){t.f^=B;for(var m=t.first;m!==null;){var o=m.f,n=(o&(gr|zr))!==0,i=n&&(o&B)!==0,a=i||(o&q)!==0||this.skipped_effects.has(m);if((m.f&vt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!a&&m.fn!==null){n?m.f^=B:(o&Tt)!==0?e.effects.push(m):ot(m)&&((m.f&cr)!==0&&e.block_effects.push(m),at(m));var s=m.first;if(s!==null){m=s;continue}}var l=m.parent;for(m=m.next;m===null&&l!==null;)l===e.effect&&(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#i(t){for(const e of t)((e.f&F)!==0?this.#o:this.#n).push(e),this.#l(e.deps),N(e,B)}#l(t){if(t!==null)for(const e of t)(e.f&A)===0||(e.f&Or)===0||(e.f^=Or,this.#l(e.deps))}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Ar)===0&&(this.current.set(t,t.v),K?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,K=null)}flush(){if(this.activate(),W.length>0){if(ve(),w!==null&&w!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#d(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#p()}#p(){if(ut.size>1){this.previous.clear();var t=K,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of ut){if(n===this){e=!1;continue}const i=[];for(const[s,l]of this.current){if(n.current.has(s))if(e&&l!==n.current.get(s))n.current.set(s,l);else continue;i.push(s)}if(i.length===0)continue;const a=[...n.current.keys()].filter(s=>!this.current.has(s));if(a.length>0){var o=W;W=[];const s=new Set,l=new Map;for(const d of i)fe(d,a,s,l);if(W.length>0){w=n,n.apply();for(const d of W)n.#a(d,m);n.deactivate()}W=o}}w=null,K=t}this.committed=!0,ut.delete(this)}increment(t){this.#e+=1,t&&(this.#m+=1)}decrement(t){this.#e-=1,t&&(this.#m-=1),this.revive()}revive(){for(const t of this.#o)N(t,F),Mr(t);for(const t of this.#n)N(t,ur),Mr(t);this.#o=[],this.#n=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=ee()).promise}static ensure(){if(w===null){const t=w=new nr;ut.add(w),Qr||nr.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){Dt(t)}apply(){}}function rt(r){var t=Qr;Qr=!0;try{for(var e;;){if($m(),W.length===0&&(w?.flush(),W.length===0))return ht=null,e;ve()}}finally{Qr=t}}function ve(){var r=Br;Mt=!0;var t=null;try{var e=0;for(_t(!0);W.length>0;){var m=nr.ensure();if(e++>1e3){var o,n;jm()}m.process(W),Rr.clear()}}finally{Mt=!1,_t(r),ht=null}}function jm(){try{fm()}catch(r){Ur(r,ht)}}let xr=null;function be(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(hr|q))===0&&ot(m)&&(xr=new Set,at(m),m.deps===null&&m.first===null&&m.nodes_start===null&&(m.teardown===null&&m.ac===null?Ce(m):m.fn=null),xr?.size>0)){Rr.clear();for(const o of xr){if((o.f&(hr|q))!==0)continue;const n=[o];let i=o.parent;for(;i!==null;)xr.has(i)&&(xr.delete(i),n.push(i)),i=i.parent;for(let a=n.length-1;a>=0;a--){const s=n[a];(s.f&(hr|q))===0&&at(s)}}xr.clear()}}xr=null}}function fe(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const o of r.reactions){const n=o.f;(n&A)!==0?fe(o,t,e,m):(n&(Gt|cr))!==0&&(n&F)===0&&ce(o,t,m)&&(N(o,F),Mr(o))}}function ce(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const o of r.deps){if(t.includes(o))return!0;if((o.f&A)!==0&&ce(o,t,e))return e.set(o,!0),!0}return e.set(r,!1),!1}function Mr(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Mt&&t===h&&(e&cr)!==0&&(e&Ct)===0)return;if((e&(zr|gr))!==0){if((e&B)===0)return;t.f^=B}}W.push(t)}function Em(r){let t=0,e=Pr(0),m;return()=>{yt()&&(x(e),Re(()=>(t===0&&(m=Qm(()=>r(()=>et(e)))),t+=1,()=>{Dt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var zm=Xr|Gr|vt;function Am(r,t,e){new Rm(r,t,e)}class Rm{parent;#t=!1;#r;#e=g?u:null;#m;#s;#o;#n=null;#a=null;#i=null;#l=null;#d=null;#p=0;#v=0;#f=!1;#b=null;#x=Em(()=>(this.#b=Pr(this.#p),()=>{this.#b=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=h.b,this.#t=!!this.#m.pending,this.#o=wt(()=>{if(h.b=this,g){const n=this.#e;ct(),n.nodeType===Sr&&n.data===lt?this.#w():this.#y()}else{var o=this.#u();try{this.#n=Z(()=>m(o))}catch(n){this.error(n)}this.#v>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},zm),g&&(this.#r=u)}#y(){try{this.#n=Z(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#a=Z(()=>t(this.#r)),nr.enqueue(()=>{var e=this.#u();this.#n=this.#c(()=>(nr.ensure(),Z(()=>this.#s(e)))),this.#v>0?this.#g():(Kr(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=X(),this.#r.before(this.#d),t=this.#d),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#m.pending}#c(t){var e=h,m=c,o=U;br(this.#o),I(this.#o),Hr(this.#o.ctx);try{return t()}catch(n){return pe(n),null}finally{br(e),I(m),Hr(o)}}#g(){const t=this.#m.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Oe(this.#n,this.#l)),this.#a===null&&(this.#a=Z(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#v+=t,this.#v===0&&(this.#t=!1,this.#a&&Kr(this.#a,()=>{this.#a=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#p+=t,this.#b&&tt(this.#b,this.#p)}get_effect_pending(){return this.#x(),x(this.#b)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#n&&(G(this.#n),this.#n=null),this.#a&&(G(this.#a),this.#a=null),this.#i&&(G(this.#i),this.#i=null),g&&(C(this.#e),wm(),C(gt()));var o=!1,n=!1;const i=()=>{if(o){ym();return}o=!0,n&&xm(),nr.ensure(),this.#p=0,this.#i!==null&&Kr(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#n=this.#c(()=>(this.#f=!1,Z(()=>this.#s(this.#r)))),this.#v>0?this.#g():this.#t=!1};var a=c;try{I(null),n=!0,e?.(t,i),n=!1}catch(s){Ur(s,this.#o&&this.#o.parent)}finally{I(a)}m&&Dt(()=>{this.#i=this.#c(()=>{nr.ensure(),this.#f=!0;try{return Z(()=>{m(this.#r,()=>t,()=>i)})}catch(s){return Ur(s,this.#o.parent),null}finally{this.#f=!1}})})}}function Tm(r,t,e){for(var m=[],o=t.length,n=0;n<o;n++)Xt(t[n].e,m,!0);Ne(m,()=>{var i=m.length===0&&e!==null;if(i){var a=e,s=a.parentNode;je(s),s.append(a),r.items.clear(),dr(r,t[0].prev,t[o-1].next)}for(var l=0;l<o;l++){var d=t[l];i||(r.items.delete(d.k),dr(r,d.prev,d.next)),G(d.e,!i)}r.first===t[0]&&(r.first=t[0].prev)})}function Bm(r,t,e,m,o,n=null){var i=r,a=new Map,s=null;{var l=r;i=g?C(Tr(l)):l.appendChild(X())}g&&ct();var d=null,f=Dm(()=>{var k=e();return re(k)?k:k==null?[]:Rt(k)}),p,b=!0;function v(){Cm(Y,p,i,t,m),d!==null&&(p.length===0?(d.fragment?(i.before(d.fragment),d.fragment=null):Vt(d.effect),y.first=d.effect):Kr(d.effect,()=>{d=null}))}var y=wt(()=>{p=x(f);var k=p.length;let j=!1;if(g){var sr=ne(i)===lt;sr!==(k===0)&&(i=gt(),C(i),mr(!1),j=!0)}for(var rr=new Set,D=w,lr=null,jr=Ee(),M=0;M<k;M+=1){g&&u.nodeType===Sr&&u.data===zt&&(i=u,j=!0,mr(!1));var L=p[M],tr=m(L,M),E=b?null:a.get(tr);E?(tt(E.v,L),E.i=M,jr&&D.skipped_effects.delete(E.e)):(E=Nm(b?i:null,lr,L,tr,M,o,t,e),b&&(E.o=!0,lr===null?s=E:lr.next=E,lr=E),a.set(tr,E)),rr.add(tr)}if(k===0&&n&&!d)if(b)d={fragment:null,effect:Z(()=>n(i))};else{var Cr=document.createDocumentFragment(),R=X();Cr.append(R),d={fragment:Cr,effect:Z(()=>n(R))}}if(g&&k>0&&C(gt()),!b)if(jr){for(const[_,P]of a)rr.has(_)||D.skipped_effects.add(P.e);D.oncommit(v),D.ondiscard(()=>{})}else v();j&&mr(!0),x(f)}),Y={effect:y,items:a,first:s};b=!1,g&&(i=u)}function Cm(r,t,e,m,o){var n=t.length,i=r.items,a=r.first,s,l=null,d=[],f=[],p,b,v,y;for(y=0;y<n;y+=1){if(p=t[y],b=o(p,y),v=i.get(b),r.first??=v,!v.o){v.o=!0;var Y=l?l.next:a;dr(r,l,v),dr(r,v,Y),Pt(v,Y,e),l=v,d=[],f=[],a=l.next;continue}if((v.e.f&q)!==0&&Vt(v.e),v!==a){if(s!==void 0&&s.has(v)){if(d.length<f.length){var k=f[0],j;l=k.prev;var sr=d[0],rr=d[d.length-1];for(j=0;j<d.length;j+=1)Pt(d[j],k,e);for(j=0;j<f.length;j+=1)s.delete(f[j]);dr(r,sr.prev,rr.next),dr(r,l,sr),dr(r,rr,k),a=k,l=rr,y-=1,d=[],f=[]}else s.delete(v),Pt(v,a,e),dr(r,v.prev,v.next),dr(r,v,l===null?r.first:l.next),dr(r,l,v),l=v;continue}for(d=[],f=[];a!==null&&a.k!==b;)(a.e.f&q)===0&&(s??=new Set).add(a),f.push(a),a=a.next;if(a===null)continue;v=a}d.push(v),l=v,a=v.next}if(a!==null||s!==void 0){for(var D=s===void 0?[]:Rt(s);a!==null;)(a.e.f&q)===0&&D.push(a),a=a.next;var lr=D.length;if(lr>0){var jr=n===0?e:null;Tm(r,D,jr)}}}function Nm(r,t,e,m,o,n,i,a){var s=(i&Ze)!==0,l=(i&rm)===0,d=s?l?xe(e,!1,!1):Pr(e):e,f=(i&Qe)===0?o:Pr(o),p={i:f,v:d,k:m,a:null,e:null,o:!1,prev:t,next:null};try{if(r===null){var b=document.createDocumentFragment();b.append(r=X())}return p.e=Z(()=>n(r,d,f,a)),t!==null&&(t.next=p),p}finally{}}function Pt(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,o=t?t.e.nodes_start:e,n=r.e.nodes_start;n!==null&&n!==m;){var i=J(n);o.before(n),n=i}}function dr(r,t,e){t===null?(r.first=e,r.effect.first=e&&e.e):(t.e.next&&(t.e.next.prev=null),t.next=e,t.e.next=e&&e.e),e===null?r.effect.last=t&&t.e:(e.e.prev&&(e.e.prev.next=null),e.prev=t,e.e.prev=t&&t.e)}function Gm(r,t,e,m){const o=Ft;if(e.length===0&&r.length===0){m(t.map(o));return}var n=w,i=h,a=Om();function s(){Promise.all(e.map(l=>Sm(l))).then(l=>{a();try{m([...t.map(o),...l])}catch(d){(i.f&hr)===0&&Ur(d,i)}n?.deactivate(),xt()}).catch(l=>{Ur(l,i)})}r.length>0?Promise.all(r).then(()=>{a();try{return s()}finally{n?.deactivate(),xt()}}):s()}function Om(){var r=h,t=c,e=U,m=w;return function(n=!0){br(r),I(t),Hr(e),n&&m?.activate()}}function xt(){br(null),I(null),Hr(null)}function Ft(r){var t=A|F,e=c!==null&&(c.f&A)!==0?c:null;return h!==null&&(h.f|=Gr),{ctx:U,deps:null,effects:null,equals:oe,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??h,ac:null}}function Sm(r,t){let e=h;e===null&&dm();var m=e.b,o=void 0,n=Pr(T),i=!c,a=new Map;return Hm(()=>{var s=ee();o=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===w&&l.committed&&l.deactivate(),xt()})}catch(p){s.reject(p),xt()}var l=w;if(i){var d=!m.is_pending();m.update_pending_count(1),l.increment(d),a.get(l)?.reject(Vr),a.delete(l),a.set(l,s)}const f=(p,b=void 0)=>{if(l.activate(),b)b!==Vr&&(n.f|=Ar,tt(n,b));else{(n.f&Ar)!==0&&(n.f^=Ar),tt(n,p);for(const[v,y]of a){if(a.delete(v),v===l)break;y.reject(Vr)}}i&&(m.update_pending_count(-1),l.decrement(d))};s.promise.then(f,p=>f(null,p||"unknown"))}),Ym(()=>{for(const s of a.values())s.reject(Vr)}),new Promise(s=>{function l(d){function f(){d===o?s(n):l(o)}d.then(f,f)}l(o)})}function Dm(r){const t=Ft(r);return t.equals=ae,t}function ge(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)G(t[e])}}function Mm(r){for(var t=r.parent;t!==null;){if((t.f&A)===0)return(t.f&hr)===0?t:null;t=t.parent}return null}function It(r){var t,e=h;br(Mm(r));try{r.f&=~Or,ge(r),t=Ie(r)}finally{br(e)}return t}function ue(r){var t=It(r);if(r.equals(t)||(w?.is_fork||(r.v=t),r.wv=Pe()),!Fr)if(K!==null)yt()&&K.set(r,t);else{var e=(r.f&er)===0?ur:B;N(r,e)}}let Yt=new Set;const Rr=new Map;let he=!1;function Pr(r,t){var e={f:0,v:r,reactions:null,equals:oe,rv:0,wv:0};return e}function yr(r,t){const e=Pr(r);return Wm(e),e}function xe(r,t=!1,e=!0){const m=Pr(r);return t||(m.equals=ae),m}function or(r,t,e=!1){c!==null&&(!vr||(c.f&me)!==0)&&le()&&(c.f&(A|cr|Gt|me))!==0&&!_r?.includes(r)&&hm();let m=e?mt(t):t;return tt(r,m)}function tt(r,t){if(!r.equals(t)){var e=r.v;Fr?Rr.set(r,t):Rr.set(r,e),r.v=t;var m=nr.ensure();m.capture(r,e),(r.f&A)!==0&&((r.f&F)!==0&&It(r),N(r,(r.f&er)!==0?B:ur)),r.wv=Pe(),ye(r,F),h!==null&&(h.f&B)!==0&&(h.f&(gr|zr))===0&&(Q===null?Jm([r]):Q.push(r)),!m.is_fork&&Yt.size>0&&!he&&Pm()}return t}function Pm(){he=!1;var r=Br;_t(!0);const t=Array.from(Yt);try{for(const e of t)(e.f&B)!==0&&N(e,ur),ot(e)&&at(e)}finally{_t(r)}Yt.clear()}function et(r){or(r,r.v+1)}function ye(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o],i=n.f,a=(i&F)===0;if(a&&N(n,t),(i&A)!==0){var s=n;K?.delete(s),(i&Or)===0&&(i&er&&(n.f|=Or),ye(s,ur))}else a&&((i&cr)!==0&&xr!==null&&xr.add(n),Mr(n))}}function mt(r){if(typeof r!="object"||r===null||Ot in r)return r;const t=am(r);if(t!==nm&&t!==om)return r;var e=new Map,m=re(r),o=yr(0),n=Ir,i=a=>{if(Ir===n)return a();var s=c,l=Ir;I(null),Me(n);var d=a();return I(s),Me(l),d};return m&&e.set("length",yr(r.length)),new Proxy(r,{defineProperty(a,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&gm();var d=e.get(s);return d===void 0?d=i(()=>{var f=yr(l.value);return e.set(s,f),f}):or(d,l.value,!0),!0},deleteProperty(a,s){var l=e.get(s);if(l===void 0){if(s in a){const d=i(()=>yr(T));e.set(s,d),et(o)}}else or(l,T),et(o);return!0},get(a,s,l){if(s===Ot)return r;var d=e.get(s),f=s in a;if(d===void 0&&(!f||qr(a,s)?.writable)&&(d=i(()=>{var b=mt(f?a[s]:T),v=yr(b);return v}),e.set(s,d)),d!==void 0){var p=x(d);return p===T?void 0:p}return Reflect.get(a,s,l)},getOwnPropertyDescriptor(a,s){var l=Reflect.getOwnPropertyDescriptor(a,s);if(l&&"value"in l){var d=e.get(s);d&&(l.value=x(d))}else if(l===void 0){var f=e.get(s),p=f?.v;if(f!==void 0&&p!==T)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return l},has(a,s){if(s===Ot)return!0;var l=e.get(s),d=l!==void 0&&l.v!==T||Reflect.has(a,s);if(l!==void 0||h!==null&&(!d||qr(a,s)?.writable)){l===void 0&&(l=i(()=>{var p=d?mt(a[s]):T,b=yr(p);return b}),e.set(s,l));var f=x(l);if(f===T)return!1}return d},set(a,s,l,d){var f=e.get(s),p=s in a;if(m&&s==="length")for(var b=l;b<f.v;b+=1){var v=e.get(b+"");v!==void 0?or(v,T):b in a&&(v=i(()=>yr(T)),e.set(b+"",v))}if(f===void 0)(!p||qr(a,s)?.writable)&&(f=i(()=>yr(void 0)),or(f,mt(l)),e.set(s,f));else{p=f.v!==T;var y=i(()=>mt(l));or(f,y)}var Y=Reflect.getOwnPropertyDescriptor(a,s);if(Y?.set&&Y.set.call(d,l),!p){if(m&&typeof s=="string"){var k=e.get("length"),j=Number(s);Number.isInteger(j)&&j>=k.v&&or(k,j+1)}et(o)}return!0},ownKeys(a){x(o);var s=Reflect.ownKeys(a).filter(f=>{var p=e.get(f);return p===void 0||p.v!==T});for(var[l,d]of e)d.v!==T&&!(l in a)&&s.push(l);return s},setPrototypeOf(){um()}})}var we,_e,ke,$e;function Lt(){if(we===void 0){we=window,_e=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;ke=qr(t,"firstChild").get,$e=qr(t,"nextSibling").get,te(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),te(e)&&(e.__t=void 0)}}function X(r=""){return document.createTextNode(r)}function Tr(r){return ke.call(r)}function J(r){return $e.call(r)}function ar(r,t){if(!g)return Tr(r);var e=Tr(u);if(e===null)e=u.appendChild(X());else if(t&&e.nodeType!==St){var m=X();return e?.before(m),C(m),m}return C(e),e}function qt(r,t=!1){if(!g){var e=Tr(r);return e instanceof Comment&&e.data===""?J(e):e}if(t&&u?.nodeType!==St){var m=X();return u?.before(m),C(m),m}return u}function ir(r,t=1,e=!1){let m=g?u:r;for(var o;t--;)o=m,m=J(m);if(!g)return m;if(e&&m?.nodeType!==St){var n=X();return m===null?o?.after(n):m.before(n),C(n),n}return C(m),m}function je(r){r.textContent=""}function Ee(){return!1}function ze(r){var t=c,e=h;I(null),br(null);try{return r()}finally{I(t),br(e)}}function Fm(r){h===null&&(c===null&&bm(),vm()),Fr&&pm()}function Im(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function pr(r,t,e){var m=h;m!==null&&(m.f&q)!==0&&(r|=q);var o={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:r|F|er,first:null,fn:t,last:null,next:null,parent:m,b:m&&m.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{at(o),o.f|=bt}catch(a){throw G(o),a}else t!==null&&Mr(o);var n=o;if(e&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&Gr)===0&&(n=n.first,(r&cr)!==0&&(r&Xr)!==0&&n!==null&&(n.f|=Xr)),n!==null&&(n.parent=m,m!==null&&Im(n,m),c!==null&&(c.f&A)!==0&&(r&zr)===0)){var i=c;(i.effects??=[]).push(n)}return o}function yt(){return c!==null&&!vr}function Ym(r){const t=pr(Bt,null,!1);return N(t,B),t.teardown=r,t}function Lm(r){Fm();var t=h.f,e=!c&&(t&gr)!==0&&(t&bt)===0;if(e){var m=U;(m.e??=[]).push(r)}else return Ae(r)}function Ae(r){return pr(Tt|sm,r,!1)}function qm(r){nr.ensure();const t=pr(zr|Gr,r,!0);return()=>{G(t)}}function Xm(r){nr.ensure();const t=pr(zr|Gr,r,!0);return(e={})=>new Promise(m=>{e.outro?Kr(t,()=>{G(t),m(void 0)}):(G(t),m(void 0))})}function Vm(r){return pr(Tt,r,!1)}function Hm(r){return pr(Gt|Gr,r,!0)}function Re(r,t=0){return pr(Bt|t,r,!0)}function wr(r,t=[],e=[],m=[]){Gm(m,t,e,o=>{pr(Bt,()=>r(...o.map(x)),!0)})}function wt(r,t=0){var e=pr(cr|t,r,!0);return e}function Z(r){return pr(gr|Gr,r,!0)}function Te(r){var t=r.teardown;if(t!==null){const e=Fr,m=c;Se(!0),I(null);try{t.call(null)}finally{Se(e),I(m)}}}function Be(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const o=e.ac;o!==null&&ze(()=>{o.abort(Vr)});var m=e.next;(e.f&zr)!==0?e.parent=null:G(e,t),e=m}}function Um(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&gr)===0&&G(t),t=e}}function G(r,t=!0){var e=!1;(t||(r.f&Ct)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Km(r.nodes_start,r.nodes_end),e=!0),Be(r,t&&!e),kt(r,0),N(r,hr);var m=r.transitions;if(m!==null)for(const n of m)n.stop();Te(r);var o=r.parent;o!==null&&o.first!==null&&Ce(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function Km(r,t){for(;r!==null;){var e=r===t?null:J(r);r.remove(),r=e}}function Ce(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Kr(r,t,e=!0){var m=[];Xt(r,m,!0),Ne(m,()=>{e&&G(r),t&&t()})}function Ne(r,t){var e=r.length;if(e>0){var m=()=>--e||t();for(var o of r)o.out(m)}else t()}function Xt(r,t,e){if((r.f&q)===0){if(r.f^=q,r.transitions!==null)for(const i of r.transitions)(i.is_global||e)&&t.push(i);for(var m=r.first;m!==null;){var o=m.next,n=(m.f&Xr)!==0||(m.f&gr)!==0&&(r.f&cr)!==0;Xt(m,t,n?e:!1),m=o}}}function Vt(r){Ge(r,!0)}function Ge(r,t){if((r.f&q)!==0){r.f^=q,(r.f&B)===0&&(N(r,F),Mr(r));for(var e=r.first;e!==null;){var m=e.next,o=(e.f&Xr)!==0||(e.f&gr)!==0;Ge(e,o?t:!1),e=m}if(r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&n.in()}}function Oe(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var o=e===m?null:J(e);t.append(e),e=o}}let Br=!1;function _t(r){Br=r}let Fr=!1;function Se(r){Fr=r}let c=null,vr=!1;function I(r){c=r}let h=null;function br(r){h=r}let _r=null;function Wm(r){c!==null&&(_r===null?_r=[r]:_r.push(r))}let O=null,V=0,Q=null;function Jm(r){Q=r}let De=1,nt=0,Ir=nt;function Me(r){Ir=r}function Pe(){return++De}function ot(r){var t=r.f;if((t&F)!==0)return!0;if(t&A&&(r.f&=~Or),(t&ur)!==0){var e=r.deps;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o];if(ot(n)&&ue(n),n.wv>r.wv)return!0}(t&er)!==0&&K===null&&N(r,B)}return!1}function Fe(r,t,e=!0){var m=r.reactions;if(m!==null&&!_r?.includes(r))for(var o=0;o<m.length;o++){var n=m[o];(n.f&A)!==0?Fe(n,t,!1):t===n&&(e?N(n,F):(n.f&B)!==0&&N(n,ur),Mr(n))}}function Ie(r){var t=O,e=V,m=Q,o=c,n=_r,i=U,a=vr,s=Ir,l=r.f;O=null,V=0,Q=null,c=(l&(gr|zr))===0?r:null,_r=null,Hr(r.ctx),vr=!1,Ir=++nt,r.ac!==null&&(ze(()=>{r.ac.abort(Vr)}),r.ac=null);try{r.f|=Nt;var d=r.fn,f=d(),p=r.deps;if(O!==null){var b;if(kt(r,V),p!==null&&V>0)for(p.length=V+O.length,b=0;b<O.length;b++)p[V+b]=O[b];else r.deps=p=O;if(Br&&yt()&&(r.f&er)!==0)for(b=V;b<p.length;b++)(p[b].reactions??=[]).push(r)}else p!==null&&V<p.length&&(kt(r,V),p.length=V);if(le()&&Q!==null&&!vr&&p!==null&&(r.f&(A|ur|F))===0)for(b=0;b<Q.length;b++)Fe(Q[b],r);return o!==null&&o!==r&&(nt++,Q!==null&&(m===null?m=Q:m.push(...Q))),(r.f&Ar)!==0&&(r.f^=Ar),f}catch(v){return pe(v)}finally{r.f^=Nt,O=t,V=e,Q=m,c=o,_r=n,Hr(i),vr=a,Ir=s}}function Zm(r,t){let e=t.reactions;if(e!==null){var m=mm.call(e,r);if(m!==-1){var o=e.length-1;o===0?e=t.reactions=null:(e[m]=e[o],e.pop())}}e===null&&(t.f&A)!==0&&(O===null||!O.includes(t))&&(N(t,ur),(t.f&er)!==0&&(t.f^=er,t.f&=~Or),ge(t),kt(t,0))}function kt(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Zm(r,e[m])}function at(r){var t=r.f;if((t&hr)===0){N(r,B);var e=h,m=Br;h=r,Br=!0;try{(t&cr)!==0?Um(r):Be(r),Te(r);var o=Ie(r);r.teardown=typeof o=="function"?o:null,r.wv=De;var n;At&&km&&(r.f&F)!==0&&r.deps}finally{Br=m,h=e}}}function x(r){var t=r.f,e=(t&A)!==0;if(c!==null&&!vr){var m=h!==null&&(h.f&hr)!==0;if(!m&&!_r?.includes(r)){var o=c.deps;if((c.f&Nt)!==0)r.rv<nt&&(r.rv=nt,O===null&&o!==null&&o[V]===r?V++:O===null?O=[r]:O.includes(r)||O.push(r));else{(c.deps??=[]).push(r);var n=r.reactions;n===null?r.reactions=[c]:n.includes(c)||n.push(c)}}}if(Fr){if(Rr.has(r))return Rr.get(r);if(e){var i=r,a=i.v;return((i.f&B)===0&&i.reactions!==null||Le(i))&&(a=It(i)),Rr.set(i,a),a}}else e&&!K?.has(r)&&(i=r,ot(i)&&ue(i),Br&&yt()&&(i.f&er)===0&&Ye(i));if(K?.has(r))return K.get(r);if((r.f&Ar)!==0)throw r.v;return r.v}function Ye(r){if(r.deps!==null){r.f^=er;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&A)!==0&&(t.f&er)===0&&Ye(t)}}function Le(r){if(r.v===T)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Rr.has(t)||(t.f&A)!==0&&Le(t))return!0;return!1}function Qm(r){var t=vr;try{return vr=!0,r()}finally{vr=t}}const rn=-7169;function N(r,t){r.f=r.f&rn|t}const qe=new Set,Ht=new Set;function tn(r){for(var t=0;t<r.length;t++)qe.add(r[t]);for(var e of Ht)e(r)}let Xe=null;function $t(r){var t=this,e=t.ownerDocument,m=r.type,o=r.composedPath?.()||[],n=o[0]||r.target;Xe=r;var i=0,a=Xe===r&&r.__root;if(a){var s=o.indexOf(a);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=o.indexOf(t);if(l===-1)return;s<=l&&(i=s)}if(n=o[i]||r.target,n!==t){pt(r,"currentTarget",{configurable:!0,get(){return n||e}});var d=c,f=h;I(null),br(null);try{for(var p,b=[];n!==null;){var v=n.assignedSlot||n.parentNode||n.host||null;try{var y=n["__"+m];y!=null&&(!n.disabled||r.target===n)&&y.call(n,r)}catch(Y){p?b.push(Y):p=Y}if(r.cancelBubble||v===t||v===null)break;n=v}if(p){for(let Y of b)queueMicrotask(()=>{throw Y});throw p}}finally{r.__root=t,delete r.currentTarget,I(d),br(f)}}}function en(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Wr(r,t){var e=h;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function S(r,t){var e=(t&tm)!==0,m=(t&em)!==0,o,n=!r.startsWith("<!>");return()=>{if(g)return Wr(u,null),u;o===void 0&&(o=en(n?r:"<!>"+r),e||(o=Tr(o)));var i=m||_e?document.importNode(o,!0):o.cloneNode(!0);if(e){var a=Tr(i),s=i.lastChild;Wr(a,s)}else Wr(i,i);return i}}function Ve(){if(g)return Wr(u,null),u;var r=document.createDocumentFragment(),t=document.createComment(""),e=X();return r.append(t,e),Wr(t,e),r}function $(r,t){if(g){var e=h;((e.f&bt)===0||e.nodes_end===null)&&(e.nodes_end=u),ct();return}r!==null&&r.before(t)}const mn=["touchstart","touchmove"];function nn(r){return mn.includes(r)}function kr(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function He(r,t){return Ue(r,t)}function on(r,t){Lt(),t.intro=t.intro??!1;const e=t.target,m=g,o=u;try{for(var n=Tr(e);n&&(n.nodeType!==Sr||n.data!==Qt);)n=J(n);if(!n)throw Lr;mr(!0),C(n);const i=Ue(r,{...t,anchor:n});return mr(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw i;return i!==Lr&&console.warn("Failed to hydrate: ",i),t.recover===!1&&cm(),Lt(),je(e),mr(!1),He(r,t)}finally{mr(m),C(o)}}const Jr=new Map;function Ue(r,{target:t,anchor:e,props:m={},events:o,context:n,intro:i=!0}){Lt();var a=new Set,s=f=>{for(var p=0;p<f.length;p++){var b=f[p];if(!a.has(b)){a.add(b);var v=nn(b);t.addEventListener(b,$t,{passive:v});var y=Jr.get(b);y===void 0?(document.addEventListener(b,$t,{passive:v}),Jr.set(b,1)):Jr.set(b,y+1)}}};s(Rt(qe)),Ht.add(s);var l=void 0,d=Xm(()=>{var f=e??t.appendChild(X());return Am(f,{pending:()=>{}},p=>{if(n){ie({});var b=U;b.c=n}if(o&&(m.$$events=o),g&&Wr(p,null),l=r(p,m)||{},g&&(h.nodes_end=u,u===null||u.nodeType!==Sr||u.data!==zt))throw ft(),Lr;n&&se()}),()=>{for(var p of a){t.removeEventListener(p,$t);var b=Jr.get(p);--b===0?(document.removeEventListener(p,$t),Jr.delete(p)):Jr.set(p,b)}Ht.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Ut.set(l,d),l}let Ut=new WeakMap;function an(r,t){const e=Ut.get(r);return e?(Ut.delete(r),e(t)):Promise.resolve()}class sn{anchor;#t=new Map;#r=new Map;#e=new Map;#m=new Set;#s=!0;constructor(t,e=!0){this.anchor=t,this.#s=e}#o=()=>{var t=w;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Vt(m),this.#m.delete(e);else{var o=this.#e.get(e);o&&(this.#r.set(e,o.effect),this.#e.delete(e),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),m=o.effect)}for(const[n,i]of this.#t){if(this.#t.delete(n),n===t)break;const a=this.#e.get(i);a&&(G(a.effect),this.#e.delete(i))}for(const[n,i]of this.#r){if(n===e||this.#m.has(n))continue;const a=()=>{if(Array.from(this.#t.values()).includes(n)){var l=document.createDocumentFragment();Oe(i,l),l.append(X()),this.#e.set(n,{effect:i,fragment:l})}else G(i);this.#m.delete(n),this.#r.delete(n)};this.#s||!m?(this.#m.add(n),Kr(i,a,!1)):a()}}};#n=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,o]of this.#e)e.includes(m)||(G(o.effect),this.#e.delete(m))};ensure(t,e){var m=w,o=Ee();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(o){var n=document.createDocumentFragment(),i=X();n.append(i),this.#e.set(t,{effect:Z(()=>e(i)),fragment:n})}else this.#r.set(t,Z(()=>e(this.anchor)));if(this.#t.set(m,t),o){for(const[a,s]of this.#r)a===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[a,s]of this.#e)a===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#o),m.ondiscard(this.#n)}else g&&(this.anchor=u),this.#o()}}function fr(r,t,e=!1){g&&ct();var m=new sn(r),o=e?Xr:0;function n(i,a){if(g){const l=ne(r)===lt;if(i===l){var s=gt();C(s),m.anchor=s,mr(!1),m.ensure(i,a),mr(!0);return}}m.ensure(i,a)}wt(()=>{var i=!1;t((a,s=!0)=>{i=!0,n(s,a)}),i||n(!1,null)},o)}function ln(r,t){let e=null,m=g;var o;if(g){e=u;for(var n=Tr(document.head);n!==null&&(n.nodeType!==Sr||n.data!==r);)n=J(n);if(n===null)mr(!1);else{var i=J(n);n.remove(),C(i)}}g||(o=document.head.appendChild(X()));try{wt(()=>t(o),Ct)}finally{m&&(mr(!0),C(e))}}function dn(r,t){Vm(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,m.appendChild(o)}})}function pn(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function $r(r,t,e,m,o,n){var i=r.__className;if(g||i!==e||i===void 0){var a=pn(e,m);(!g||a!==r.getAttribute("class"))&&(a==null?r.removeAttribute("class"):r.className=a),r.__className=e}return n}function jt(r,t,e,m){var o=m,n=!0,i=()=>(n&&(n=!1,o=m),o),a;a=r[t],a===void 0&&m!==void 0&&(a=i());var s;s=()=>{var p=r[t];return p===void 0?i():(n=!0,p)};var l=!1,d=Ft(()=>(l=!1,s())),f=h;return(function(p,b){if(arguments.length>0){const v=b?x(d):p;return or(d,v),l=!0,o!==void 0&&(o=v),p}return Fr&&l||(f.f&hr)!==0?d.v:x(d)})}function vn(r){return new bn(r)}class bn{#t;#r;constructor(t){var e=new Map,m=(n,i)=>{var a=xe(i,!1,!1);return e.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,i){return x(e.get(i)??m(i,Reflect.get(n,i)))},has(n,i){return i===lm?!0:(x(e.get(i)??m(i,Reflect.get(n,i))),Reflect.has(n,i))},set(n,i,a){return or(e.get(i)??m(i,a),a),Reflect.set(n,i,a)}});this.#r=(t.hydrate?on:He)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&rt(),this.#t=o.$$events;for(const n of Object.keys(this.#r))n==="$set"||n==="$destroy"||n==="$on"||pt(this,n,{get(){return this.#r[n]},set(i){this.#r[n]=i},enumerable:!0});this.#r.$set=n=>{Object.assign(o,n)},this.#r.$destroy=()=>{an(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...o)=>e.call(this,...o);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(o=>o!==m)}}$destroy(){this.#r.$destroy()}}let Ke;typeof HTMLElement=="function"&&(Ke=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return o=>{const n=document.createElement("slot");m!=="default"&&(n.name=m),$(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=fn(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const o=this.$$g_p(m.name);o in this.$$d||(this.$$d[o]=Et(o,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=vn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qm(()=>{Re(()=>{this.$$r=!0;for(const m of dt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const o=Et(m,this.$$d[m],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,o)}this.$$r=!1})});for(const m in this.$$l)for(const o of this.$$l[m]){const n=this.$$c.$on(m,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Et(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function Et(r,t,e,m){const o=e[r]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fn(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function cn(r,t,e,m,o,n){let i=class extends Ke{constructor(){super(r,e,o),this.$$p_d=t}static get observedAttributes(){return dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return dt(t).forEach(a=>{pt(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=Et(a,s,t),this.$$d[a]=s;var l=this.$$c;if(l){var d=qr(l,a)?.get;d?l[a]=s:l.$set({[a]:s})}}})}),m.forEach(a=>{pt(i.prototype,a,{get(){return this.$$c?.[a]}})}),r.element=i,i}var gn=S('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),un=S('<span style="float:right" class="svelte-pdmrmr">▼</span>'),hn=S('<span style="float:right" class="svelte-pdmrmr">►</span>'),xn=S('<span style="float:right"> </span>'),yn=S('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),wn=S('<span style="float:right"> </span>'),_n=S('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),kn=S('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),$n=S('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),jn=S('<span style="float:right"> </span>'),En=S('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),zn=S('<span style="float:right"> </span>'),An=S('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Rn=S('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Tn=S('<span class="svelte-pdmrmr"><!></span>');const Bn={hash:"svelte-pdmrmr",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
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-pdmrmr,
10
+ */.svelte-pdmrmr,
11
11
  .svelte-pdmrmr::before,
12
12
  .svelte-pdmrmr::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -145,5 +145,5 @@ button.svelte-pdmrmr {margin:0;font-family:inherit;font-size:inherit;line-height
145
145
  @media print {.d-print-inline.svelte-pdmrmr {display:inline !important;}.d-print-inline-block.svelte-pdmrmr {display:inline-block !important;}.d-print-block.svelte-pdmrmr {display:block !important;}.d-print-grid.svelte-pdmrmr {display:grid !important;}.d-print-inline-grid.svelte-pdmrmr {display:inline-grid !important;}.d-print-table.svelte-pdmrmr {display:table !important;}.d-print-table-row.svelte-pdmrmr {display:table-row !important;}.d-print-table-cell.svelte-pdmrmr {display:table-cell !important;}.d-print-flex.svelte-pdmrmr {display:flex !important;}.d-print-inline-flex.svelte-pdmrmr {display:inline-flex !important;}.d-print-none.svelte-pdmrmr {display:none !important;}
146
146
  }:host {font-family:"Roboto", sans-serif;}.bd-placeholder-img.svelte-pdmrmr {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-pdmrmr {font-size:3.5rem;}
148
- }.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function We(r,t){ie(t,!0),dn(r,Cn);function e(b,y){t.$$host.dispatchEvent(new CustomEvent(b,{detail:y}))}function m(b){e("pageChange",{page:b})}let o=jt(t,"id",7,""),n=jt(t,"navlink"),i=jt(t,"navpage"),a=jt(t,"selected"),s=yr(!1);Lm(()=>{if(typeof n()=="string")try{n(JSON.parse(n())),or(s,n().open===!0,!0)}catch{}a()===""||typeof a()=="string"&&(a()==="yes"||a()==="true")?a(!0):a()!==!0&&a(!1),console.log(n(),"navlink")});function l(){or(s,x(s)!==!0,!0),console.log(x(s),"open")}var d={get id(){return o()},set id(b=""){o(b),rt()},get navlink(){return n()},set navlink(b){n(b),rt()},get navpage(){return i()},set navpage(b){i(b),rt()},get selected(){return a()},set selected(b){a(b),rt()}},f=Tn();ln("pdmrmr",b=>{var y=gn();$(b,y)});var p=ar(f);{var v=b=>{var y=Rn(),Y=ar(y);{var k=sr=>{var rr=$n(),M=qt(rr);M.__click=()=>{l()};var lr=ar(M),jr=ir(lr),D=ir(jr);{var L=R=>{var _=un();$(R,_)},tr=R=>{var _=hn();$(R,_)};fr(D,R=>{x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i())?R(L):R(tr,!1)})}H(M);var E=ir(M,2);{var Br=R=>{var _=kn();Cm(_,21,()=>n().subLinks,F=>F.key,(F,A)=>{var Je=Ue(),Bn=qt(Je);{var Nn=Zr=>{var Nr=yn(),it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=xn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(A).badge.class||"badge rounded-pill"} ${x(A).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(A).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(A).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(A).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(A).label??""} `)}),$(Zr,Nr)},Sn=Zr=>{var Nr=_n();Nr.__click=()=>{m(x(A).key)};var it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=wn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(A).badge.class||"badge rounded-pill"} ${x(A).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(A).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(A).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(A).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(A).label??""} `)}),$(Zr,Nr)};fr(Bn,Zr=>{x(A).key===i()||a()?Zr(Nn):Zr(Sn,!1)})}$(F,Je)}),H(_),$(R,_)};fr(E,R=>{(x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i()))&&R(Br)})}wr(()=>{$r(lr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(jr,` ${n().label??""} `)}),$(sr,rr)},j=sr=>{var rr=Ue(),M=qt(rr);{var lr=D=>{var L=En(),tr=ar(L),E=ir(tr),Br=ir(E);{var R=_=>{var F=jn(),A=ar(F,!0);H(F),wr(()=>{$r(F,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(A,n().badge.text)}),$(_,F)};fr(Br,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(D,L)},jr=D=>{var L=zn();L.__click=()=>{m(n().key)};var tr=ar(L),E=ir(tr),Br=ir(E);{var R=_=>{var F=An(),A=ar(F,!0);H(F),wr(()=>{$r(F,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(A,n().badge.text)}),$(_,F)};fr(Br,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(D,L)};fr(M,D=>{n().key===i()||a()?D(lr):D(jr,!1)},!0)}$(sr,rr)};fr(Y,sr=>{n().subLinks?.length?sr(k):sr(j,!1)})}H(y),$(b,y)};fr(p,b=>{n()&&b(v)})}return H(f),$(r,f),se(d)}tn(["click"]),customElements.define("hb-sidenav-link",cn(We,{id:{},navlink:{},navpage:{},selected:{}},[],[],!0)),Zt.Component=We,Object.defineProperty(Zt,Symbol.toStringTag,{value:"Module"})})(this["sidenav-link"]=this["sidenav-link"]||{});
148
+ }.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function We(r,t){ie(t,!0),dn(r,Bn);function e(v,y){t.$$host.dispatchEvent(new CustomEvent(v,{detail:y}))}function m(v){e("pageChange",{page:v})}let o=jt(t,"id",7,""),n=jt(t,"navlink"),i=jt(t,"navpage"),a=jt(t,"selected"),s=yr(!1);Lm(()=>{if(typeof n()=="string")try{n(JSON.parse(n())),or(s,n().open===!0,!0)}catch{}a()===""||typeof a()=="string"&&(a()==="yes"||a()==="true")?a(!0):a()!==!0&&a(!1),console.log(n(),"navlink")});function l(){or(s,x(s)!==!0,!0),console.log(x(s),"open")}var d={get id(){return o()},set id(v=""){o(v),rt()},get navlink(){return n()},set navlink(v){n(v),rt()},get navpage(){return i()},set navpage(v){i(v),rt()},get selected(){return a()},set selected(v){a(v),rt()}},f=Tn();ln("pdmrmr",v=>{var y=gn();$(v,y)});var p=ar(f);{var b=v=>{var y=Rn(),Y=ar(y);{var k=sr=>{var rr=$n(),D=qt(rr);D.__click=()=>{l()};var lr=ar(D),jr=ir(lr),M=ir(jr);{var L=R=>{var _=un();$(R,_)},tr=R=>{var _=hn();$(R,_)};fr(M,R=>{x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i())?R(L):R(tr,!1)})}H(D);var E=ir(D,2);{var Cr=R=>{var _=kn();Bm(_,21,()=>n().subLinks,P=>P.key,(P,z)=>{var Je=Ve(),Cn=qt(Je);{var Nn=Zr=>{var Nr=yn(),it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=xn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(z).badge.class||"badge rounded-pill"} ${x(z).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(z).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(z).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(z).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(z).label??""} `)}),$(Zr,Nr)},Gn=Zr=>{var Nr=_n();Nr.__click=()=>{m(x(z).key)};var it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=wn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(z).badge.class||"badge rounded-pill"} ${x(z).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(z).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(z).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(z).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(z).label??""} `)}),$(Zr,Nr)};fr(Cn,Zr=>{x(z).key===i()||a()?Zr(Nn):Zr(Gn,!1)})}$(P,Je)}),H(_),$(R,_)};fr(E,R=>{(x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i()))&&R(Cr)})}wr(()=>{$r(lr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(jr,` ${n().label??""} `)}),$(sr,rr)},j=sr=>{var rr=Ve(),D=qt(rr);{var lr=M=>{var L=En(),tr=ar(L),E=ir(tr),Cr=ir(E);{var R=_=>{var P=jn(),z=ar(P,!0);H(P),wr(()=>{$r(P,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(z,n().badge.text)}),$(_,P)};fr(Cr,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(M,L)},jr=M=>{var L=An();L.__click=()=>{m(n().key)};var tr=ar(L),E=ir(tr),Cr=ir(E);{var R=_=>{var P=zn(),z=ar(P,!0);H(P),wr(()=>{$r(P,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(z,n().badge.text)}),$(_,P)};fr(Cr,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(M,L)};fr(D,M=>{n().key===i()||a()?M(lr):M(jr,!1)},!0)}$(sr,rr)};fr(Y,sr=>{n().subLinks?.length?sr(k):sr(j,!1)})}H(y),$(v,y)};fr(p,v=>{n()&&v(b)})}return H(f),$(r,f),se(d)}tn(["click"]),customElements.define("hb-sidenav-link",cn(We,{id:{},navlink:{},navpage:{},selected:{}},[],[],!0)),Zt.Component=We,Object.defineProperty(Zt,Symbol.toStringTag,{value:"Module"})})(this["sidenav-link"]=this["sidenav-link"]||{});
149
149
  //# sourceMappingURL=main.iife.js.map