@htmlbricks/hb-sidenav-button 0.62.0 → 0.62.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 CHANGED
@@ -1,5 +1,5 @@
1
- (function(Ee){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const zr=2,ze="[",ne="[!",Ae="]",wt={},x=Symbol(),Re=!1;var Ar=Array.isArray,Rr=Array.prototype.indexOf,Tr=Array.from,Yt=Object.keys,qt=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,Sr=Object.prototype,Br=Array.prototype,Cr=Object.getPrototypeOf,Te=Object.isExtensible;function Nr(t){for(var e=0;e<t.length;e++)t[e]()}function Se(){var t,e,r=new Promise((a,n)=>{t=a,e=n});return{promise:r,resolve:t,reject:e}}const y=2,Xt=4,ie=8,K=16,W=32,rt=64,Ut=128,O=512,k=1024,j=2048,J=4096,I=8192,at=16384,se=32768,ht=65536,Be=1<<17,le=1<<18,bt=1<<19,Gr=1<<20,St=32768,be=1<<21,me=1<<22,ot=1<<23,de=Symbol("$state"),Or=Symbol("legacy props"),xt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},pe=3,yt=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(),wt;return g=t}function ve(){return R(D(g))}function kt(t){if(w){if(D(g)!==null)throw Vt(),wt;g=t}}function Hr(t=1){if(w){for(var e=t,r=g;e--;)r=D(r);g=r}}function Ce(t=!0){for(var e=0,r=g;;){if(r.nodeType===yt){var a=r.data;if(a===Ae){if(e===0)return r;e-=1}else(a===ze||a===ne)&&(e+=1)}var n=D(r);t&&r.remove(),r=n}}function Kr(t){if(!t||t.nodeType!==yt)throw Vt(),wt;return t.data}function Ne(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,C=null;function _t(t){C=t}function Ge(t,e=!1,r){C={p:C,i:!1,c:null,e:null,s:t,x:null,l:null}}function Oe(t){var e=C,r=e.e;if(r!==null){e.e=null;for(var a of r)er(a)}return t!==void 0&&(e.x=t),e.i=!0,C=e.p,t??{}}function Pe(){return!0}let mt=[];function De(){var t=mt;mt=[],Nr(t)}function ce(t){if(mt.length===0&&!Bt){var e=mt;queueMicrotask(()=>{e===mt&&De()})}mt.push(t)}function Qr(){for(;mt.length>0;)De()}function Me(t){var e=f;if(e===null)return c.f|=ot,t;if((e.f&se)===0){if((e.f&Ut)===0)throw t;e.b.error(t)}else $t(t,e)}function $t(t,e){for(;e!==null;){if((e.f&Ut)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Ht=new Set;let h=null,T=null,L=[],Kt=null,fe=!1,Bt=!1;class P{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#a=0;#l=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;process(e){L=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of e)this.#o(a,r);this.is_fork||this.#b(),this.#a>0||this.is_fork?(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects)):(h=null,Ie(r.render_effects),Ie(r.effects),this.#l?.resolve()),T=null}#o(e,r){e.f^=k;for(var a=e.first;a!==null;){var n=a.f,o=(n&(W|rt))!==0,i=o&&(n&k)!==0,s=i||(n&I)!==0||this.skipped_effects.has(a);if((a.f&Ut)!==0&&a.b?.is_pending()&&(r={parent:r,effect:a,effects:[],render_effects:[],block_effects:[]}),!s&&a.fn!==null){o?a.f^=k:(n&Xt)!==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.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects),r=r.parent),a=b.next,b=b.parent}}#n(e){for(const r of e)((r.f&j)!==0?this.#i:this.#s).push(r),_(r,k)}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&ot)===0&&(this.current.set(e,e.v),T?.set(e,e.v))}activate(){h=this,this.apply()}deactivate(){h=null,T=null}flush(){if(this.activate(),L.length>0){if(Fe(),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()}#b(){if(this.#a===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#m()}#m(){if(Ht.size>1){this.previous.clear();var e=T,r=!0,a={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of Ht){if(n===this){r=!1;continue}const o=[];for(const[s,l]of this.current){if(n.current.has(s))if(r&&l!==n.current.get(s))n.current.set(s,l);else continue;o.push(s)}if(o.length===0)continue;const i=[...n.current.keys()].filter(s=>!this.current.has(s));if(i.length>0){const s=new Set,l=new Map;for(const b of o)Le(b,i,s,l);if(L.length>0){h=n,n.apply();for(const b of L)n.#o(b,a);L=[],n.deactivate()}}}h=null,T=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.#i)_(e,j),dt(e);for(const e of this.#s)_(e,J),dt(e);this.#i=[],this.#s=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#l??=Se()).promise}static ensure(){if(h===null){const e=h=new P;Ht.add(h),Bt||P.enqueue(()=>{h===e&&e.flush()})}return h}static enqueue(e){ce(e)}apply(){}}function ge(t){var e=Bt;Bt=!0;try{for(var r;;){if(Qr(),L.length===0&&(h?.flush(),L.length===0))return Kt=null,r;Fe()}}finally{Bt=e}}function Fe(){var t=pt;fe=!0;try{var e=0;for(br(!0);L.length>0;){var r=P.ensure();if(e++>1e3){var a,n;ta()}r.process(L),it.clear()}}finally{fe=!1,br(t),Kt=null}}function ta(){try{Ir()}catch(t){$t(t,Kt)}}let Z=null;function Ie(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(at|I))===0&&Dt(a)&&(Z=new Set,Mt(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null&&a.ac===null?nr(a):a.fn=null),Z?.size>0)){it.clear();for(const n of Z){if((n.f&(at|I))!==0)continue;const o=[n];let i=n.parent;for(;i!==null;)Z.has(i)&&(Z.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(at|I))===0&&Mt(l)}}Z.clear()}}Z=null}}function Le(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&y)!==0?Le(n,e,r,a):(o&(me|K))!==0&&(o&j)===0&&Ye(n,e,a)&&(_(n,j),dt(n))}}function Ye(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&y)!==0&&Ye(n,e,r))return r.set(n,!0),!0}return r.set(t,!1),!1}function dt(t){for(var e=Kt=t;e.parent!==null;){e=e.parent;var r=e.f;if(fe&&e===f&&(r&K)!==0&&(r&le)===0)return;if((r&(rt|W))!==0){if((r&k)===0)return;e.f^=k}}L.push(e)}function ea(t){let e=0,r=Ct(0),a;return()=>{Qt()&&(M(r),rr(()=>(e===0&&(a=Aa(()=>t(()=>Nt(r)))),e+=1,()=>{ce(()=>{e-=1,e===0&&(a?.(),a=void 0,Nt(r))})})))}}var ra=ht|bt|Ut;function aa(t,e,r){new oa(t,e,r)}class oa{parent;#e=!1;#t;#r=w?g:null;#a;#l;#i;#s=null;#o=null;#n=null;#b=null;#m=null;#v=0;#d=0;#c=!1;#p=null;#h=ea(()=>(this.#p=Ct(this.#v),()=>{this.#p=null}));constructor(e,r,a){this.#t=e,this.#a=r,this.#l=a,this.parent=f.b,this.#e=!!this.#a.pending,this.#i=xe(()=>{if(f.b=this,w){const o=this.#r;ve(),o.nodeType===yt&&o.data===ne?this.#y():this.#x()}else{var n=this.#w();try{this.#s=tt(()=>a(n))}catch(o){this.error(o)}this.#d>0?this.#g():this.#e=!1}return()=>{this.#m?.remove()}},ra),w&&(this.#t=g)}#x(){try{this.#s=tt(()=>this.#l(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#a.pending;e&&(this.#o=tt(()=>e(this.#t)),P.enqueue(()=>{var r=this.#w();this.#s=this.#f(()=>(P.ensure(),tt(()=>this.#l(r)))),this.#d>0?this.#g():(Ot(this.#o,()=>{this.#o=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=C;U(this.#i),z(this.#i),_t(this.#i.ctx);try{return e()}catch(o){return Me(o),null}finally{U(r),z(a),_t(n)}}#g(){const e=this.#a.pending;this.#s!==null&&(this.#b=document.createDocumentFragment(),this.#b.append(this.#m),lr(this.#s,this.#b)),this.#o===null&&(this.#o=tt(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#d+=e,this.#d===0&&(this.#e=!1,this.#o&&Ot(this.#o,()=>{this.#o=null}),this.#b&&(this.#t.before(this.#b),this.#b=null))}update_pending_count(e){this.#u(e),this.#v+=e,this.#p&&Jt(this.#p,this.#v)}get_effect_pending(){return this.#h(),M(this.#p)}error(e){var r=this.#a.onerror;let a=this.#a.failed;if(this.#c||!r&&!a)throw e;this.#s&&(E(this.#s),this.#s=null),this.#o&&(E(this.#o),this.#o=null),this.#n&&(E(this.#n),this.#n=null),w&&(R(this.#r),Hr(),R(Ce()));var n=!1,o=!1;const i=()=>{if(n){Vr();return}n=!0,o&&Ur(),P.ensure(),this.#v=0,this.#n!==null&&Ot(this.#n,()=>{this.#n=null}),this.#e=this.has_pending_snippet(),this.#s=this.#f(()=>(this.#c=!1,tt(()=>this.#l(this.#t)))),this.#d>0?this.#g():this.#e=!1};var s=c;try{z(null),o=!0,r?.(e,i),o=!1}catch(l){$t(l,this.#i&&this.#i.parent)}finally{z(s)}a&&ce(()=>{this.#n=this.#f(()=>{P.ensure(),this.#c=!0;try{return tt(()=>{a(this.#t,()=>e,()=>i)})}catch(l){return $t(l,this.#i.parent),null}finally{this.#c=!1}})})}}function na(t,e,r,a){const n=qe;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&at)===0&&$t(m,i)}o?.deactivate(),Wt()}).catch(b=>{$t(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=C,a=h;return function(o=!0){U(t),z(e),_t(r),o&&a?.activate()}}function Wt(){U(null),z(null),_t(null)}function qe(t){var e=y|j,r=c!==null&&(c.f&y)!==0?c:null;return f!==null&&(f.f|=bt),{ctx:C,deps:null,effects:null,equals:Ne,f:e,fn:t,reactions:null,rv:0,v:x,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(x),i=!c,s=new Map;return xa(()=>{var l=Se();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(xt),s.delete(b),s.set(b,l)}const v=(d,p=void 0)=>{if(b.activate(),p)p!==xt&&(o.f|=ot,Jt(o,p));else{(o.f&ot)!==0&&(o.f^=ot),Jt(o,d);for(const[u,F]of s){if(s.delete(u),u===b)break;F.reject(xt)}}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(xt)}),new Promise(l=>{function b(m){function v(){m===n?l(o):b(n)}m.then(v,v)}b(n)})}function Xe(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&y)===0)return e;e=e.parent}return null}function we(t){var e,r=f;U(la(t));try{t.f&=~St,Xe(t),e=fr(t)}finally{U(r)}return e}function Ue(t){var e=we(t);if(t.equals(e)||(t.v=e,t.wv=vr()),!vt)if(T!==null)Qt()&&T.set(t,t.v);else{var r=(t.f&O)===0?J:k;_(t,r)}}let ue=new Set;const it=new Map;let Ve=!1;function Ct(t,e){var r={f:0,v:t,reactions:null,equals:Ne,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 Q(t,e,r=!1){c!==null&&(!X||(c.f&Be)!==0)&&Pe()&&(c.f&(y|K|me|Be))!==0&&!et?.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;vt?it.set(t,e):it.set(t,r),t.v=e;var a=P.ensure();a.capture(t,r),(t.f&y)!==0&&((t.f&j)!==0&&we(t),_(t,(t.f&O)!==0?k:J)),t.wv=vr(),He(t,j),f!==null&&(f.f&k)!==0&&(f.f&(W|rt))===0&&(N===null?Ea([t]):N.push(t)),!a.is_fork&&ue.size>0&&!Ve&&ma()}return e}function ma(){Ve=!1;const t=Array.from(ue);for(const e of t)(e.f&k)!==0&&_(e,J),Dt(e)&&Mt(e);ue.clear()}function Nt(t){Q(t,t.v+1)}function He(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&y)!==0){var l=o;T?.delete(l),(i&St)===0&&(i&O&&(o.f|=St),He(l,J))}else s&&((i&K)!==0&&Z!==null&&Z.add(o),dt(o))}}function Gt(t){if(typeof t!="object"||t===null||de 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=ct,i=s=>{if(ct===o)return s();var l=c,b=ct;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}):Q(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(x));r.set(l,m),Nt(n)}}else Q(b,x),Nt(n);return!0},get(s,l,b){if(l===de)return t;var m=r.get(l),v=l in s;if(m===void 0&&(!v||ut(s,l)?.writable)&&(m=i(()=>{var p=Gt(v?s[l]:x),u=st(p);return u}),r.set(l,m)),m!==void 0){var d=M(m);return d===x?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=M(m))}else if(b===void 0){var v=r.get(l),d=v?.v;if(v!==void 0&&d!==x)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return b},has(s,l){if(l===de)return!0;var b=r.get(l),m=b!==void 0&&b.v!==x||Reflect.has(s,l);if(b!==void 0||f!==null&&(!m||ut(s,l)?.writable)){b===void 0&&(b=i(()=>{var d=m?Gt(s[l]):x,p=st(d);return p}),r.set(l,b));var v=M(b);if(v===x)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?Q(u,x):p in s&&(u=i(()=>st(x)),r.set(p+"",u))}if(v===void 0)(!d||ut(s,l)?.writable)&&(v=i(()=>st(void 0)),Q(v,Gt(b)),r.set(l,v));else{d=v.v!==x;var F=i(()=>Gt(b));Q(v,F)}var V=Reflect.getOwnPropertyDescriptor(s,l);if(V?.set&&V.set.call(m,b),!d){if(a&&typeof l=="string"){var oe=r.get("length"),It=Number(l);Number.isInteger(It)&&It>=oe.v&&Q(oe,It+1)}Nt(n)}return!0},ownKeys(s){M(n);var l=Reflect.ownKeys(s).filter(v=>{var d=r.get(v);return d===void 0||d.v!==x});for(var[b,m]of r)m.v!==x&&!(b in s)&&l.push(b);return l},setPrototypeOf(){qr()}})}var Ke,We,Je,Ze;function he(){if(Ke===void 0){Ke=window,We=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Je=ut(e,"firstChild").get,Ze=ut(e,"nextSibling").get,Te(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Te(r)&&(r.__t=void 0)}}function Y(t=""){return document.createTextNode(t)}function jt(t){return Je.call(t)}function D(t){return Ze.call(t)}function Et(t,e){if(!w)return jt(t);var r=jt(g);if(r===null)r=g.appendChild(Y());else if(e&&r.nodeType!==pe){var a=Y();return r?.before(a),R(a),a}return R(r),r}function Zt(t,e=!1){if(!w){var r=jt(t);return r instanceof Comment&&r.data===""?D(r):r}if(e&&g?.nodeType!==pe){var a=Y();return g?.before(a),R(a),a}return g}function Qe(t,e=1,r=!1){let a=w?g:t;for(var n;e--;)n=a,a=D(a);if(!w)return a;if(r&&a?.nodeType!==pe){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 tr(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()),vt&&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,a=!0){var n=f;n!==null&&(n.f&I)!==0&&(t|=I);var o={ctx:C,deps:null,nodes_start:null,nodes_end:null,f:t|j|O,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Mt(o),o.f|=se}catch(l){throw E(o),l}else e!==null&&dt(o);if(a){var i=o;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&bt)===0&&(i=i.first,(t&K)!==0&&(t&ht)!==0&&i!==null&&(i.f|=ht)),i!==null&&(i.parent=n,n!==null&&ca(i,n),c!==null&&(c.f&y)!==0&&(t&rt)===0)){var s=c;(s.effects??=[]).push(i)}}return o}function Qt(){return c!==null&&!X}function fa(t){const e=q(ie,null,!1);return _(e,k),e.teardown=t,e}function ga(t){va();var e=f.f,r=!c&&(e&W)!==0&&(e&se)===0;if(r){var a=C;(a.e??=[]).push(t)}else return er(t)}function er(t){return q(Xt|Gr,t,!1)}function wa(t){P.ensure();const e=q(rt|bt,t,!0);return()=>{E(e)}}function ua(t){P.ensure();const e=q(rt|bt,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(Xt,t,!1)}function xa(t){return q(me|bt,t,!0)}function rr(t,e=0){return q(ie|e,t,!0)}function zt(t,e=[],r=[],a=[],n=!1){na(a,e,r,o=>{q(n?Xt:ie,()=>t(...o.map(M)),!0)})}function xe(t,e=0){var r=q(K|e,t,!0);return r}function tt(t,e=!0){return q(W|bt,t,!0,e)}function ar(t){var e=t.teardown;if(e!==null){const r=vt,a=c;mr(!0),z(null);try{e.call(null)}finally{mr(r),z(a)}}}function or(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const n=r.ac;n!==null&&tr(()=>{n.abort(xt)});var a=r.next;(r.f&rt)!==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&le)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(ka(t.nodes_start,t.nodes_end),r=!0),or(t,e&&!r),te(t,0),_(t,at);var a=t.transitions;if(a!==null)for(const o of a)o.stop();ar(t);var n=t.parent;n!==null&&n.first!==null&&nr(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:D(t);t.remove(),t=r}}function nr(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=[];ir(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 ir(t,e,r){if((t.f&I)===0){if(t.f^=I,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&ht)!==0||(a.f&W)!==0&&(t.f&K)!==0;ir(a,e,o?r:!1),a=n}}}function $a(t){sr(t,!0)}function sr(t,e){if((t.f&I)!==0){t.f^=I,(t.f&k)===0&&(_(t,j),dt(t));for(var r=t.first;r!==null;){var a=r.next,n=(r.f&ht)!==0||(r.f&W)!==0;sr(r,n?e:!1),r=a}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}function lr(t,e){for(var r=t.nodes_start,a=t.nodes_end;r!==null;){var n=r===a?null:D(r);e.append(r),r=n}}let pt=!1;function br(t){pt=t}let vt=!1;function mr(t){vt=t}let c=null,X=!1;function z(t){c=t}let f=null;function U(t){f=t}let et=null;function ja(t){c!==null&&(et===null?et=[t]:et.push(t))}let $=null,S=0,N=null;function Ea(t){N=t}let dr=1,Pt=0,ct=Pt;function pr(t){ct=t}function vr(){return++dr}function Dt(t){var e=t.f;if((e&j)!==0)return!0;if(e&y&&(t.f&=~St),(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)&&Ue(o),o.wv>t.wv)return!0}(e&O)!==0&&T===null&&_(t,k)}return!1}function cr(t,e,r=!0){var a=t.reactions;if(a!==null&&!et?.includes(t))for(var n=0;n<a.length;n++){var o=a[n];(o.f&y)!==0?cr(o,e,!1):e===o&&(r?_(o,j):(o.f&k)!==0&&_(o,J),dt(o))}}function fr(t){var e=$,r=S,a=N,n=c,o=et,i=C,s=X,l=ct,b=t.f;$=null,S=0,N=null,c=(b&(W|rt))===0?t:null,et=null,_t(t.ctx),X=!1,ct=++Pt,t.ac!==null&&(tr(()=>{t.ac.abort(xt)}),t.ac=null);try{t.f|=be;var m=t.fn,v=m(),d=t.deps;if($!==null){var p;if(te(t,S),d!==null&&S>0)for(d.length=S+$.length,p=0;p<$.length;p++)d[S+p]=$[p];else t.deps=d=$;if(pt&&Qt()&&(t.f&O)!==0)for(p=S;p<d.length;p++)(d[p].reactions??=[]).push(t)}else d!==null&&S<d.length&&(te(t,S),d.length=S);if(Pe()&&N!==null&&!X&&d!==null&&(t.f&(y|J|j))===0)for(p=0;p<N.length;p++)cr(N[p],t);return n!==null&&n!==t&&(Pt++,N!==null&&(a===null?a=N:a.push(...N))),(t.f&ot)!==0&&(t.f^=ot),v}catch(u){return Me(u)}finally{t.f^=be,$=e,S=r,N=a,c=n,et=o,_t(i),X=s,ct=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&y)!==0&&($===null||!$.includes(e))&&(_(e,J),(e.f&O)!==0&&(e.f^=O,e.f&=~St),Xe(e),te(e,0))}function te(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&at)===0){_(t,k);var r=f,a=pt;f=t,pt=!0;try{(e&K)!==0?ya(t):or(t),ar(t);var n=fr(t);t.teardown=typeof n=="function"?n:null,t.wv=dr;var o;Re&&Zr&&(t.f&j)!==0&&t.deps}finally{pt=a,f=r}}}function M(t){var e=t.f,r=(e&y)!==0;if(c!==null&&!X){var a=f!==null&&(f.f&at)!==0;if(!a&&!et?.includes(t)){var n=c.deps;if((c.f&be)!==0)t.rv<Pt&&(t.rv=Pt,$===null&&n!==null&&n[S]===t?S++:$===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(vt){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=we(i)),it.set(i,s),s}}else if(r){if(i=t,T?.has(i))return T.get(i);Dt(i)&&Ue(i),pt&&Qt()&&(i.f&O)===0&&gr(i)}else if(T?.has(t))return T.get(t);if((t.f&ot)!==0)throw t.v;return t.v}function gr(t){if(t.deps!==null){t.f^=O;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&y)!==0&&(e.f&O)===0&&gr(e)}}function wr(t){if(t.v===x)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(it.has(e)||(e.f&y)!==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,ye=new Set;function Ta(t){for(var e=0;e<t.length;e++)ur.add(t[e]);for(var r of ye)r(t)}let hr=null;function ee(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 F=o["__"+a];F!=null&&(!o.disabled||t.target===o)&&F.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 ft(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=jt(a));var o=r||We?document.importNode(a,!0):a.cloneNode(!0);return Ft(o,o),o}}function re(){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 G(t,e){if(w){f.nodes_end=g,ve();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){he(),e.intro=e.intro??!1;const r=e.target,a=w,n=g;try{for(var o=jt(r);o&&(o.nodeType!==yt||o.data!==ze);)o=D(o);if(!o)throw wt;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(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==wt&&console.warn("Failed to hydrate: ",i),e.recover===!1&&Lr(),he(),da(r),nt(!1),yr(t,e)}finally{nt(a),R(n)}}const At=new Map;function kr(t,{target:e,anchor:r,props:a={},events:n,context:o,intro:i=!0}){he();var s=new Set,l=v=>{for(var d=0;d<v.length;d++){var p=v[d];if(!s.has(p)){s.add(p);var u=Ca(p);e.addEventListener(p,ee,{passive:u});var F=At.get(p);F===void 0?(document.addEventListener(p,ee,{passive:u}),At.set(p,1)):At.set(p,F+1)}}};l(Tr(ur)),ye.add(l);var b=void 0,m=ua(()=>{var v=r??e.appendChild(Y());return aa(v,{pending:()=>{}},d=>{if(o){Ge({});var p=C;p.c=o}if(n&&(a.$$events=n),w&&Ft(d,null),b=t(d,a)||{},w&&(f.nodes_end=g,g===null||g.nodeType!==yt||g.data!==Ae))throw Vt(),wt;o&&Oe()}),()=>{for(var d of s){e.removeEventListener(d,ee);var p=At.get(d);--p===0?(document.removeEventListener(d,ee),At.delete(d)):At.set(d,p)}ye.delete(l),v!==r&&v.parentNode?.removeChild(v)}});return ke.set(b,m),b}let ke=new WeakMap;function Ga(t,e){const r=ke.get(t);return r?(ke.delete(t),r(e)):Promise.resolve()}class Oa{anchor;#e=new Map;#t=new Map;#r=new Map;#a=!0;constructor(e,r=!0){this.anchor=e,this.#a=r}#l=()=>{var e=h;if(this.#e.has(e)){var r=this.#e.get(e),a=this.#t.get(r);if(a)$a(a);else{var n=this.#r.get(r);n&&(this.#t.set(r,n.effect),this.#r.delete(r),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),a=n.effect)}for(const[o,i]of this.#e){if(this.#e.delete(o),o===e)break;const s=this.#r.get(i);s&&(E(s.effect),this.#r.delete(i))}for(const[o,i]of this.#t){if(o===r)continue;const s=()=>{if(Array.from(this.#e.values()).includes(o)){var b=document.createDocumentFragment();lr(i,b),b.append(Y()),this.#r.set(o,{effect:i,fragment:b})}else E(i);this.#t.delete(o)};this.#a||!a?Ot(i,s,!1):s()}}};#i=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[a,n]of this.#r)r.includes(a)||(E(n.effect),this.#r.delete(a))};ensure(e,r){var a=h,n=pa();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(n){var o=document.createDocumentFragment(),i=Y();o.append(i),this.#r.set(e,{effect:tt(()=>r(i)),fragment:o})}else this.#t.set(e,tt(()=>r(this.anchor)));if(this.#e.set(a,e),n){for(const[s,l]of this.#t)s===e?a.skipped_effects.delete(l):a.skipped_effects.add(l);for(const[s,l]of this.#r)s===e?a.skipped_effects.delete(l.effect):a.skipped_effects.add(l.effect);a.oncommit(this.#l),a.ondiscard(this.#i)}else w&&(this.anchor=g),this.#l()}}function Rt(t,e,r=!1){w&&ve();var a=new Oa(t),n=r?ht:0;function o(i,s){if(w){const b=Kr(t)===ne;if(i===b){var l=Ce();R(l),a.anchor=l,nt(!1),a.ensure(i,s),nt(!0);return}}a.ensure(i,s)}xe(()=>{var i=!1;e((s,l=!0)=>{i=!0,o(l,s)}),i||o(!1,null)},n)}function Pa(t,e){let r=null,a=w;var n;if(w){r=g;for(var o=jt(document.head);o!==null&&(o.nodeType!==yt||o.data!==t);)o=D(o);if(o===null)nt(!1);else{var i=D(o);o.remove(),R(i)}}w||(n=document.head.appendChild(Y()));try{xe(()=>e(n),le)}finally{a&&(nt(!0),R(r))}}function Da(t,e){ha(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const n=document.createElement("style");n.id=e.hash,n.textContent=e.code,a.appendChild(n)}})}function Ma(t,e,r){var a=t==null?"":""+t;return a=a?a+" "+e:e,a===""?null:a}function Tt(t,e,r,a,n,o){var i=t.__className;if(w||i!==r||i===void 0){var s=Ma(r,a);(!w||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=r}return o}function _r(t,e,r,a){var n=a,o=!0,i=()=>(o&&(o=!1,n=a),n),s;s=t[e],s===void 0&&a!==void 0&&(s=i());var l;l=()=>{var d=t[e];return d===void 0?i():(o=!0,d)};var b=!1,m=qe(()=>(b=!1,l())),v=f;return(function(d,p){if(arguments.length>0){const u=p?M(m):d;return Q(m,u),b=!0,n!==void 0&&(n=u),d}return vt&&b||(v.f&at)!==0?m.v:M(m)})}function Fa(t){return new Ia(t)}class Ia{#e;#t;constructor(e){var r=new Map,a=(o,i)=>{var s=ba(i,!1,!1);return r.set(o,s),s};const n=new Proxy({...e.props||{},$$events:{}},{get(o,i){return M(r.get(i)??a(i,Reflect.get(o,i)))},has(o,i){return i===Or?!0:(M(r.get(i)??a(i,Reflect.get(o,i))),Reflect.has(o,i))},set(o,i,s){return Q(r.get(i)??a(i,s),s),Reflect.set(o,i,s)}});this.#t=(e.hydrate?Na:yr)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&ge(),this.#e=n.$$events;for(const o of Object.keys(this.#t))o==="$set"||o==="$destroy"||o==="$on"||qt(this,o,{get(){return this.#t[o]},set(i){this.#t[o]=i},enumerable:!0});this.#t.$set=o=>{Object.assign(n,o)},this.#t.$destroy=()=>{Ga(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const a=(...n)=>r.call(this,...n);return this.#e[e].push(a),()=>{this.#e[e]=this.#e[e].filter(n=>n!==a)}}$destroy(){this.#t.$destroy()}}let $r;typeof HTMLElement=="function"&&($r=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}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 n=>{const o=document.createElement("slot");a!=="default"&&(o.name=a),G(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=La(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 n=this.$$g_p(a.name);n in this.$$d||(this.$$d[n]=ae(n,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=Fa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=wa(()=>{rr(()=>{this.$$r=!0;for(const a of Yt(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const n=ae(a,this.$$d[a],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,n)}this.$$r=!1})});for(const a in this.$$l)for(const n of this.$$l[a]){const o=this.$$c.$on(a,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ae(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 Yt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function ae(t,e,r,a){const n=r[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(n){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(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function La(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Ya(t,e,r,a,n,o){let i=class extends $r{constructor(){super(t,r,n),this.$$p_d=e}static get observedAttributes(){return Yt(e).map(s=>(e[s].attribute||s).toLowerCase())}};return Yt(e).forEach(s=>{qt(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){l=ae(s,l,e),this.$$d[s]=l;var b=this.$$c;if(b){var m=ut(b,s)?.get;m?b[s]=l:b.$set({[s]:l})}}})}),a.forEach(s=>{qt(i.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=i,i}var qa=ft('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1wba643"/>'),Xa=ft('<span class="chkb svelte-1wba643"><i></i></span>'),Ua=ft('<span class="chkb svelte-1wba643"><i></i></span>'),Va=ft("<i></i>"),Ha=ft('<span style="float:right"> </span>'),Ka=ft('<span class="switcher svelte-1wba643"><i></i></span>'),Wa=ft('<li part="li" class="nav-item svelte-1wba643"><button style="color:black;"><!> <!></button></li>');const Ja={hash:"svelte-1wba643",code:`@charset "UTF-8";
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(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==ut&&console.warn("Failed to hydrate: ",i),e.recover===!1&&Lr(),ye(),da(r),nt(!1),yr(t,e)}finally{nt(a),R(n)}}const Rt=new Map;function kr(t,{target:e,anchor:r,props:a={},events:n,context:o,intro:i=!0}){ye();var s=new Set,l=v=>{for(var d=0;d<v.length;d++){var p=v[d];if(!s.has(p)){s.add(p);var u=Ca(p);e.addEventListener(p,re,{passive:u});var I=Rt.get(p);I===void 0?(document.addEventListener(p,re,{passive:u}),Rt.set(p,1)):Rt.set(p,I+1)}}};l(Tr(ur)),_e.add(l);var b=void 0,m=ua(()=>{var v=r??e.appendChild(Y());return aa(v,{pending:()=>{}},d=>{if(o){Oe({});var p=B;p.c=o}if(n&&(a.$$events=n),w&&Ft(d,null),b=t(d,a)||{},w&&(f.nodes_end=g,g===null||g.nodeType!==kt||g.data!==Te))throw Vt(),ut;o&&Pe()}),()=>{for(var d of s){e.removeEventListener(d,re);var p=Rt.get(d);--p===0?(document.removeEventListener(d,re),Rt.delete(d)):Rt.set(d,p)}_e.delete(l),v!==r&&v.parentNode?.removeChild(v)}});return $e.set(b,m),b}let $e=new WeakMap;function Ga(t,e){const r=$e.get(t);return r?($e.delete(t),r(e)):Promise.resolve()}class Oa{anchor;#e=new Map;#t=new Map;#r=new Map;#a=new Set;#l=!0;constructor(e,r=!0){this.anchor=e,this.#l=r}#n=()=>{var e=h;if(this.#e.has(e)){var r=this.#e.get(e),a=this.#t.get(r);if(a)$a(a),this.#a.delete(r);else{var n=this.#r.get(r);n&&(this.#t.set(r,n.effect),this.#r.delete(r),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),a=n.effect)}for(const[o,i]of this.#e){if(this.#e.delete(o),o===e)break;const s=this.#r.get(i);s&&(E(s.effect),this.#r.delete(i))}for(const[o,i]of this.#t){if(o===r||this.#a.has(o))continue;const s=()=>{if(Array.from(this.#e.values()).includes(o)){var b=document.createDocumentFragment();br(i,b),b.append(Y()),this.#r.set(o,{effect:i,fragment:b})}else E(i);this.#a.delete(o),this.#t.delete(o)};this.#l||!a?(this.#a.add(o),Ot(i,s,!1)):s()}}};#o=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[a,n]of this.#r)r.includes(a)||(E(n.effect),this.#r.delete(a))};ensure(e,r){var a=h,n=pa();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(n){var o=document.createDocumentFragment(),i=Y();o.append(i),this.#r.set(e,{effect:et(()=>r(i)),fragment:o})}else this.#t.set(e,et(()=>r(this.anchor)));if(this.#e.set(a,e),n){for(const[s,l]of this.#t)s===e?a.skipped_effects.delete(l):a.skipped_effects.add(l);for(const[s,l]of this.#r)s===e?a.skipped_effects.delete(l.effect):a.skipped_effects.add(l.effect);a.oncommit(this.#n),a.ondiscard(this.#o)}else w&&(this.anchor=g),this.#n()}}function Tt(t,e,r=!1){w&&fe();var a=new Oa(t),n=r?xt:0;function o(i,s){if(w){const b=Kr(t)===ie;if(i===b){var l=Ne();R(l),a.anchor=l,nt(!1),a.ensure(i,s),nt(!0);return}}a.ensure(i,s)}ke(()=>{var i=!1;e((s,l=!0)=>{i=!0,o(l,s)}),i||o(!1,null)},n)}function Pa(t,e){let r=null,a=w;var n;if(w){r=g;for(var o=Et(document.head);o!==null&&(o.nodeType!==kt||o.data!==t);)o=M(o);if(o===null)nt(!1);else{var i=M(o);o.remove(),R(i)}}w||(n=document.head.appendChild(Y()));try{ke(()=>e(n),me)}finally{a&&(nt(!0),R(r))}}function Da(t,e){ha(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const n=document.createElement("style");n.id=e.hash,n.textContent=e.code,a.appendChild(n)}})}function Ma(t,e,r){var a=t==null?"":""+t;return a=a?a+" "+e:e,a===""?null:a}function St(t,e,r,a,n,o){var i=t.__className;if(w||i!==r||i===void 0){var s=Ma(r,a);(!w||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=r}return o}function _r(t,e,r,a){var n=a,o=!0,i=()=>(o&&(o=!1,n=a),n),s;s=t[e],s===void 0&&a!==void 0&&(s=i());var l;l=()=>{var d=t[e];return d===void 0?i():(o=!0,d)};var b=!1,m=Xe(()=>(b=!1,l())),v=f;return(function(d,p){if(arguments.length>0){const u=p?F(m):d;return tt(m,u),b=!0,n!==void 0&&(n=u),d}return ct&&b||(v.f&Z)!==0?m.v:F(m)})}function Fa(t){return new Ia(t)}class Ia{#e;#t;constructor(e){var r=new Map,a=(o,i)=>{var s=ba(i,!1,!1);return r.set(o,s),s};const n=new Proxy({...e.props||{},$$events:{}},{get(o,i){return F(r.get(i)??a(i,Reflect.get(o,i)))},has(o,i){return i===Or?!0:(F(r.get(i)??a(i,Reflect.get(o,i))),Reflect.has(o,i))},set(o,i,s){return tt(r.get(i)??a(i,s),s),Reflect.set(o,i,s)}});this.#t=(e.hydrate?Na:yr)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&ue(),this.#e=n.$$events;for(const o of Object.keys(this.#t))o==="$set"||o==="$destroy"||o==="$on"||qt(this,o,{get(){return this.#t[o]},set(i){this.#t[o]=i},enumerable:!0});this.#t.$set=o=>{Object.assign(n,o)},this.#t.$destroy=()=>{Ga(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const a=(...n)=>r.call(this,...n);return this.#e[e].push(a),()=>{this.#e[e]=this.#e[e].filter(n=>n!==a)}}$destroy(){this.#t.$destroy()}}let $r;typeof HTMLElement=="function"&&($r=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}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 n=>{const o=document.createElement("slot");a!=="default"&&(o.name=a),O(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=La(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 n=this.$$g_p(a.name);n in this.$$d||(this.$$d[n]=oe(n,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=Fa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=wa(()=>{ar(()=>{this.$$r=!0;for(const a of Yt(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const n=oe(a,this.$$d[a],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,n)}this.$$r=!1})});for(const a in this.$$l)for(const n of this.$$l[a]){const o=this.$$c.$on(a,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=oe(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 Yt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function oe(t,e,r,a){const n=r[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(n){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(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function La(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Ya(t,e,r,a,n,o){let i=class extends $r{constructor(){super(t,r,n),this.$$p_d=e}static get observedAttributes(){return Yt(e).map(s=>(e[s].attribute||s).toLowerCase())}};return Yt(e).forEach(s=>{qt(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){l=oe(s,l,e),this.$$d[s]=l;var b=this.$$c;if(b){var m=ht(b,s)?.get;m?b[s]=l:b.$set({[s]:l})}}})}),a.forEach(s=>{qt(i.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=i,i}var qa=gt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1wba643"/>'),Xa=gt('<span class="chkb svelte-1wba643"><i></i></span>'),Ua=gt('<span class="chkb svelte-1wba643"><i></i></span>'),Va=gt("<i></i>"),Ha=gt('<span style="float:right"> </span>'),Ka=gt('<span class="switcher svelte-1wba643"><i></i></span>'),Wa=gt('<li part="li" class="nav-item svelte-1wba643"><button style="color:black;"><!> <!></button></li>');const Ja={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
  /*!
@@ -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 jr(t,e){Ge(e,!0),Da(t,Ja);function r(m,v){e.$$host.dispatchEvent(new CustomEvent(m,{detail:v}))}function a(m){r("pageChange",{page:m})}let n=_r(e,"id",7,""),o=_r(e,"navlink");ga(()=>{if(typeof o()=="string")try{o(JSON.parse(o()))}catch{}});var i={get id(){return n()},set id(m=""){n(m),ge()},get navlink(){return o()},set navlink(m){o(m),ge()}},s=re();Pa("1wba643",m=>{var v=qa();G(m,v)});var l=Zt(s);{var b=m=>{var v=Wa(),d=Et(v);d.__click=()=>{a(o().key)};var p=Et(d);{var u=B=>{var A=Xa(),gt=Et(A);kt(A),zt(()=>Tt(gt,1,`bi bi-check-circle${o().value?"-fill":""}`,"svelte-1wba643")),G(B,A)},F=B=>{var A=re(),gt=Zt(A);{var _e=H=>{var lt=Ua(),$e=Et(lt);kt(lt),zt(()=>Tt($e,1,`bi bi-circle${o().value?"-fill":""}`,"svelte-1wba643")),G(H,lt)},Lt=H=>{var lt=re(),$e=Zt(lt);{var Qa=je=>{var Er=Va();zt(()=>Tt(Er,1,`bi me-2 bi-${o().bootstrapIcon??""}`,"svelte-1wba643")),G(je,Er)};Rt($e,je=>{o().bootstrapIcon&&je(Qa)},!0)}G(H,lt)};Rt(gt,H=>{!o().badge&&o().type==="radio"?H(_e):H(Lt,!1)},!0)}G(B,A)};Rt(p,B=>{!o().badge&&o().type==="checkbox"?B(u):B(F,!1)})}var V=Qe(p),oe=Qe(V);{var It=B=>{var A=Ha(),gt=Et(A,!0);kt(A),zt(()=>{Tt(A,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-1wba643"),xr(gt,o().badge.text)}),G(B,A)},Za=B=>{var A=re(),gt=Zt(A);{var _e=Lt=>{var H=Ka(),lt=Et(H);kt(H),zt(()=>Tt(lt,1,`bi bi-toggle-${o().value?"on":"off"}`,"svelte-1wba643")),G(Lt,H)};Rt(gt,Lt=>{o().type==="switch"&&Lt(_e)},!0)}G(B,A)};Rt(oe,B=>{o().badge?B(It):B(Za,!1)})}kt(d),kt(v),zt(()=>{Tt(d,1,`custom-button btn nav-link ${o().selected?"btn-outline-primary active":""}`,"svelte-1wba643"),xr(V,` ${o().text??""} `)}),G(m,v)};Rt(l,m=>{o()&&m(b)})}return G(t,s),Oe(i)}Ta(["click"]),customElements.define("hb-sidenav-button",Ya(jr,{id:{},navlink:{}},[],[],!0)),Ee.Component=jr,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})})(this["sidenav-button"]=this["sidenav-button"]||{});
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 jr(t,e){Oe(e,!0),Da(t,Ja);function r(m,v){e.$$host.dispatchEvent(new CustomEvent(m,{detail:v}))}function a(m){r("pageChange",{page:m})}let n=_r(e,"id",7,""),o=_r(e,"navlink");ga(()=>{if(typeof o()=="string")try{o(JSON.parse(o()))}catch{}});var i={get id(){return n()},set id(m=""){n(m),ue()},get navlink(){return o()},set navlink(m){o(m),ue()}},s=ae();Pa("1wba643",m=>{var v=qa();O(m,v)});var l=Zt(s);{var b=m=>{var v=Wa(),d=zt(v);d.__click=()=>{a(o().key)};var p=zt(d);{var u=S=>{var A=Xa(),wt=zt(A);_t(A),At(()=>St(wt,1,`bi bi-check-circle${o().value?"-fill":""}`,"svelte-1wba643")),O(S,A)},I=S=>{var A=ae(),wt=Zt(A);{var je=H=>{var bt=Ua(),Ee=zt(bt);_t(bt),At(()=>St(Ee,1,`bi bi-circle${o().value?"-fill":""}`,"svelte-1wba643")),O(H,bt)},Lt=H=>{var bt=ae(),Ee=Zt(bt);{var Qa=ze=>{var Er=Va();At(()=>St(Er,1,`bi me-2 bi-${o().bootstrapIcon??""}`,"svelte-1wba643")),O(ze,Er)};Tt(Ee,ze=>{o().bootstrapIcon&&ze(Qa)},!0)}O(H,bt)};Tt(wt,H=>{!o().badge&&o().type==="radio"?H(je):H(Lt,!1)},!0)}O(S,A)};Tt(p,S=>{!o().badge&&o().type==="checkbox"?S(u):S(I,!1)})}var V=tr(p),ne=tr(V);{var It=S=>{var A=Ha(),wt=zt(A,!0);_t(A),At(()=>{St(A,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-1wba643"),xr(wt,o().badge.text)}),O(S,A)},Za=S=>{var A=ae(),wt=Zt(A);{var je=Lt=>{var H=Ka(),bt=zt(H);_t(H),At(()=>St(bt,1,`bi bi-toggle-${o().value?"on":"off"}`,"svelte-1wba643")),O(Lt,H)};Tt(wt,Lt=>{o().type==="switch"&&Lt(je)},!0)}O(S,A)};Tt(ne,S=>{o().badge?S(It):S(Za,!1)})}_t(d),_t(v),At(()=>{St(d,1,`custom-button btn nav-link ${o().selected?"btn-outline-primary active":""}`,"svelte-1wba643"),xr(V,` ${o().text??""} `)}),O(m,v)};Tt(l,m=>{o()&&m(b)})}return O(t,s),Pe(i)}Ta(["click"]),customElements.define("hb-sidenav-button",Ya(jr,{id:{},navlink:{}},[],[],!0)),Ae.Component=jr,Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"})})(this["sidenav-button"]=this["sidenav-button"]||{});
149
149
  //# sourceMappingURL=main.iife.js.map