@htmlbricks/hb-sidebar-desktop 0.65.23 → 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(on){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const fn=1,un=2,cn=4,_r=8,br=16,gr=1,mr=4,yr=8,wr=16,xr=1,$r=2,dn="[",ht="[!",Rt="]",We={},L=Symbol(),Er="http://www.w3.org/1999/xhtml",Lt=!1;var hn=Array.isArray,kr=Array.prototype.indexOf,Mt=Array.from,vt=Object.keys,pt=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyDescriptors,Sr=Object.prototype,Ar=Array.prototype,vn=Object.getPrototypeOf,pn=Object.isExtensible;function Cr(e){for(var t=0;t<e.length;t++)e[t]()}function _n(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const N=2,Dt=4,Pt=8,ve=16,pe=32,$e=64,_t=128,re=512,M=1024,q=2048,_e=4096,H=8192,be=16384,bt=32768,ze=65536,bn=1<<17,It=1<<18,Re=1<<19,Nr=1<<20,Le=32768,Ft=1<<21,jt=1<<22,Ee=1<<23,gt=Symbol("$state"),gn=Symbol("legacy props"),Or=Symbol(""),Je=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},mt=3,Me=8;function Rr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Lr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Dr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ir(){throw new Error("https://svelte.dev/e/hydration_failed")}function Fr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function jr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Br(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Hr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function yt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ur(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let _=!1;function U(e){_=e}let y;function O(e){if(e===null)throw yt(),We;return y=e}function rt(){return O(Z(y))}function De(e){if(_){if(Z(y)!==null)throw yt(),We;y=e}}function Vr(e=1){if(_){for(var t=e,n=y;t--;)n=Z(n);y=n}}function wt(e=!0){for(var t=0,n=y;;){if(n.nodeType===Me){var r=n.data;if(r===Rt){if(t===0)return n;t-=1}else(r===dn||r===ht)&&(t+=1)}var i=Z(n);e&&n.remove(),n=i}}function mn(e){if(!e||e.nodeType!==Me)throw yt(),We;return e.data}function yn(e){return e===this.v}function Yr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wn(e){return!Yr(e,this.v)}let Wr=!1,G=null;function Ge(e){G=e}function xn(e,t=!1,n){G={p:G,i:!1,c:null,e:null,s:e,x:null,l:null}}function $n(e){var t=G,n=t.e;if(n!==null){t.e=null;for(var r of n)Vn(r)}return e!==void 0&&(t.x=e),t.i=!0,G=t.p,e??{}}function En(){return!0}let Pe=[];function kn(){var e=Pe;Pe=[],Cr(e)}function it(e){if(Pe.length===0&&!st){var t=Pe;queueMicrotask(()=>{t===Pe&&kn()})}Pe.push(e)}function zr(){for(;Pe.length>0;)kn()}function Tn(e){var t=w;if(t===null)return b.f|=Ee,e;if((t.f&bt)===0){if((t.f&_t)===0)throw e;t.b.error(e)}else Ke(e,t)}function Ke(e,t){for(;t!==null;){if((t.f&_t)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const xt=new Set;let S=null,K=null,X=[],$t=null,Bt=!1,st=!1;class ie{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){X=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(S=null,An(n.render_effects),An(n.effects),this.#o?.resolve()),K=null}#a(t,n){t.f^=M;for(var r=t.first;r!==null;){var i=r.f,s=(i&(pe|$e))!==0,a=s&&(i&M)!==0,o=a||(i&H)!==0||this.skipped_effects.has(r);if((r.f&_t)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=M:(i&Dt)!==0?n.effects.push(r):ft(r)&&((r.f&ve)!==0&&n.block_effects.push(r),ut(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#l(t){for(const n of t)((n.f&q)!==0?this.#s:this.#i).push(n),this.#f(n.deps),P(n,M)}#f(t){if(t!==null)for(const n of t)(n.f&N)===0||(n.f&Le)===0||(n.f^=Le,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&Ee)===0&&(this.current.set(t,t.v),K?.set(t,t.v))}activate(){S=this,this.apply()}deactivate(){S===this&&(S=null,K=null)}flush(){if(this.activate(),X.length>0){if(Sn(),S!==null&&S!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(xt.size>1){this.previous.clear();var t=K,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of xt){if(s===this){n=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(n&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=X;X=[];const l=new Set,f=new Map;for(const c of a)Cn(c,o,l,f);if(X.length>0){S=s,s.apply();for(const c of X)s.#a(c,r);s.deactivate()}X=i}}S=null,K=t}this.committed=!0,xt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)P(t,q),Ie(t);for(const t of this.#i)P(t,_e),Ie(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=_n()).promise}static ensure(){if(S===null){const t=S=new ie;xt.add(S),st||ie.enqueue(()=>{S===t&&t.flush()})}return S}static enqueue(t){it(t)}apply(){}}function ke(e){var t=st;st=!0;try{for(var n;;){if(zr(),X.length===0&&(S?.flush(),X.length===0))return $t=null,n;Sn()}}finally{st=t}}function Sn(){var e=Ae;Bt=!0;var t=null;try{var n=0;for(St(!0);X.length>0;){var r=ie.ensure();if(n++>1e3){var i,s;Jr()}r.process(X),Te.clear()}}finally{Bt=!1,St(e),$t=null}}function Jr(){try{Pr()}catch(e){Ke(e,$t)}}let ge=null;function An(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(be|H))===0&&ft(r)&&(ge=new Set,ut(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Jn(r):r.fn=null),ge?.size>0)){Te.clear();for(const i of ge){if((i.f&(be|H))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ge.has(a)&&(ge.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(be|H))===0&&ut(l)}}ge.clear()}}ge=null}}function Cn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&N)!==0?Cn(i,t,n,r):(s&(jt|ve))!==0&&(s&q)===0&&Nn(i,t,r)&&(P(i,q),Ie(i))}}function Nn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&N)!==0&&Nn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ie(e){for(var t=$t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Bt&&t===w&&(n&ve)!==0&&(n&It)===0)return;if((n&($e|pe))!==0){if((n&M)===0)return;t.f^=M}}X.push(t)}function Gr(e){let t=0,n=Fe(0),r;return()=>{kt()&&(A(n),Yn(()=>(t===0&&(r=ar(()=>e(()=>lt(n)))),t+=1,()=>{it(()=>{t-=1,t===0&&(r?.(),r=void 0,lt(n))})})))}}var Kr=ze|Re|_t;function Xr(e,t,n){new Zr(e,t,n)}class Zr{parent;#t=!1;#e;#n=_?y:null;#r;#o;#s;#i=null;#a=null;#l=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#m=Gr(()=>(this.#h=Fe(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=w.b,this.#t=!!this.#r.pending,this.#s=Tt(()=>{if(w.b=this,_){const s=this.#n;rt(),s.nodeType===Me&&s.data===ht?this.#w():this.#y()}else{var i=this.#b();try{this.#i=Q(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},Kr),_&&(this.#e=y)}#y(){try{this.#i=Q(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#r.pending;t&&(this.#a=Q(()=>t(this.#e)),ie.enqueue(()=>{var n=this.#b();this.#i=this.#p(()=>(ie.ensure(),Q(()=>this.#o(n)))),this.#d>0?this.#_():(Qe(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=I(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#p(t){var n=w,r=b,i=G;ee(this.#s),D(this.#s),Ge(this.#s.ctx);try{return t()}catch(s){return Tn(s),null}finally{ee(n),D(r),Ge(i)}}#_(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),Xn(this.#i,this.#f)),this.#a===null&&(this.#a=Q(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&Qe(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Xe(this.#h,this.#c)}get_effect_pending(){return this.#m(),A(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(F(this.#i),this.#i=null),this.#a&&(F(this.#a),this.#a=null),this.#l&&(F(this.#l),this.#l=null),_&&(O(this.#n),Vr(),O(wt()));var i=!1,s=!1;const a=()=>{if(i){Ur();return}i=!0,s&&Hr(),ie.ensure(),this.#c=0,this.#l!==null&&Qe(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#p(()=>(this.#v=!1,Q(()=>this.#o(this.#e)))),this.#d>0?this.#_():this.#t=!1};var o=b;try{D(null),s=!0,n?.(t,a),s=!1}catch(l){Ke(l,this.#s&&this.#s.parent)}finally{D(o)}r&&it(()=>{this.#l=this.#p(()=>{ie.ensure(),this.#v=!0;try{return Q(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return Ke(l,this.#s.parent),null}finally{this.#v=!1}})})}}function Qr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)zt(t[s].e,r,!0);Gn(r,()=>{var a=r.length===0&&n!==null;if(a){var o=n,l=o.parentNode;qn(l),l.append(o),e.items.clear(),ae(e,t[0].prev,t[i-1].next)}for(var f=0;f<i;f++){var c=t[f];a||(e.items.delete(c.k),ae(e,c.prev,c.next)),F(c.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function at(e,t,n,r,i,s=null){var a=e,o=new Map,l=null,f=(t&cn)!==0,c=(t&fn)!==0,h=(t&un)!==0;if(f){var u=e;a=_?O(Se(u)):u.appendChild(I())}_&&rt();var d=null,g=On(()=>{var k=n();return hn(k)?k:k==null?[]:Mt(k)}),$,v=!0;function x(){ei(Y,$,a,t,r),d!==null&&($.length===0?(d.fragment?(a.before(d.fragment),d.fragment=null):Jt(d.effect),T.first=d.effect):Qe(d.effect,()=>{d=null}))}var T=Tt(()=>{$=A(g);var k=$.length;let we=!1;if(_){var Ye=mn(a)===ht;Ye!==(k===0)&&(a=wt(),O(a),U(!1),we=!0)}for(var se=new Set,he=S,Ne=null,Ot=Hn(),xe=0;xe<k;xe+=1){_&&y.nodeType===Me&&y.data===Rt&&(a=y,we=!0,U(!1));var dt=$[xe],p=r(dt,xe),m=v?null:o.get(p);m?(c&&Xe(m.v,dt),h?Xe(m.i,xe):m.i=xe,Ot&&he.skipped_effects.delete(m.e)):(m=ti(v?a:null,Ne,dt,p,xe,i,t,n),v&&(m.o=!0,Ne===null?l=m:Ne.next=m,Ne=m),o.set(p,m)),se.add(p)}if(k===0&&s&&!d)if(v)d={fragment:null,effect:Q(()=>s(a))};else{var W=document.createDocumentFragment(),E=I();W.append(E),d={fragment:W,effect:Q(()=>s(E))}}if(_&&k>0&&O(wt()),!v)if(Ot){for(const[R,C]of o)se.has(R)||he.skipped_effects.add(C.e);he.oncommit(x),he.ondiscard(()=>{})}else x();we&&U(!0),A(g)}),Y={effect:T,items:o,first:l};v=!1,_&&(a=y)}function ei(e,t,n,r,i){var s=(r&_r)!==0,a=t.length,o=e.items,l=e.first,f,c=null,h,u=[],d=[],g,$,v,x;if(s)for(x=0;x<a;x+=1)g=t[x],$=i(g,x),v=o.get($),v.a?.measure(),(h??=new Set).add(v);for(x=0;x<a;x+=1){if(g=t[x],$=i(g,x),v=o.get($),e.first??=v,!v.o){v.o=!0;var T=c?c.next:l;ae(e,c,v),ae(e,v,T),qt(v,T,n),c=v,u=[],d=[],l=c.next;continue}if((v.e.f&H)!==0&&(Jt(v.e),s&&(v.a?.unfix(),(h??=new Set).delete(v))),v!==l){if(f!==void 0&&f.has(v)){if(u.length<d.length){var Y=d[0],k;c=Y.prev;var we=u[0],Ye=u[u.length-1];for(k=0;k<u.length;k+=1)qt(u[k],Y,n);for(k=0;k<d.length;k+=1)f.delete(d[k]);ae(e,we.prev,Ye.next),ae(e,c,we),ae(e,Ye,Y),l=Y,c=Ye,x-=1,u=[],d=[]}else f.delete(v),qt(v,l,n),ae(e,v.prev,v.next),ae(e,v,c===null?e.first:c.next),ae(e,c,v),c=v;continue}for(u=[],d=[];l!==null&&l.k!==$;)(l.e.f&H)===0&&(f??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;v=l}u.push(v),c=v,l=v.next}if(l!==null||f!==void 0){for(var se=f===void 0?[]:Mt(f);l!==null;)(l.e.f&H)===0&&se.push(l),l=l.next;var he=se.length;if(he>0){var Ne=(r&cn)!==0&&a===0?n:null;if(s){for(x=0;x<he;x+=1)se[x].a?.measure();for(x=0;x<he;x+=1)se[x].a?.fix()}Qr(e,se,Ne)}}s&&it(()=>{if(h!==void 0)for(v of h)v.a?.apply()})}function ti(e,t,n,r,i,s,a,o){var l=(a&fn)!==0,f=(a&br)===0,c=l?f?Dn(n,!1,!1):Fe(n):n,h=(a&un)===0?i:Fe(i),u={i:h,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var d=document.createDocumentFragment();d.append(e=I())}return u.e=Q(()=>s(e,c,h,o)),t!==null&&(t.next=u),u}finally{}}function qt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var a=Z(s);i.before(s),s=a}}function ae(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function ni(e,t,n,r){const i=Ht;if(n.length===0&&e.length===0){r(t.map(i));return}var s=S,a=w,o=ri();function l(){Promise.all(n.map(f=>ii(f))).then(f=>{o();try{r([...t.map(i),...f])}catch(c){(a.f&be)===0&&Ke(c,a)}s?.deactivate(),Et()}).catch(f=>{Ke(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),Et()}}):l()}function ri(){var e=w,t=b,n=G,r=S;return function(s=!0){ee(e),D(t),Ge(n),s&&r?.activate()}}function Et(){ee(null),D(null),Ge(null)}function Ht(e){var t=N|q,n=b!==null&&(b.f&N)!==0?b:null;return w!==null&&(w.f|=Re),{ctx:G,deps:null,effects:null,equals:yn,f:t,fn:e,reactions:null,rv:0,v:L,wv:0,parent:n??w,ac:null}}function ii(e,t){let n=w;n===null&&Rr();var r=n.b,i=void 0,s=Fe(L),a=!b,o=new Map;return hi(()=>{var l=_n();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===S&&f.committed&&f.deactivate(),Et()})}catch(u){l.reject(u),Et()}var f=S;if(a){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),o.get(f)?.reject(Je),o.delete(f),o.set(f,l)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==Je&&(s.f|=Ee,Xe(s,d));else{(s.f&Ee)!==0&&(s.f^=Ee),Xe(s,u);for(const[g,$]of o){if(o.delete(g),g===f)break;$.reject(Je)}}a&&(r.update_pending_count(-1),f.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),Un(()=>{for(const l of o.values())l.reject(Je)}),new Promise(l=>{function f(c){function h(){c===i?l(s):f(i)}c.then(h,h)}f(i)})}function On(e){const t=Ht(e);return t.equals=wn,t}function Rn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)F(t[n])}}function si(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&be)===0?t:null;t=t.parent}return null}function Ut(e){var t,n=w;ee(si(e));try{e.f&=~Le,Rn(e),t=rr(e)}finally{ee(n)}return t}function Ln(e){var t=Ut(e);if(e.equals(t)||(S?.is_fork||(e.v=t),e.wv=tr()),!qe)if(K!==null)kt()&&K.set(e,t);else{var n=(e.f&re)===0?_e:M;P(e,n)}}let Vt=new Set;const Te=new Map;let Mn=!1;function Fe(e,t){var n={f:0,v:e,reactions:null,equals:yn,rv:0,wv:0};return n}function le(e,t){const n=Fe(e);return _i(n),n}function Dn(e,t=!1,n=!0){const r=Fe(e);return t||(r.equals=wn),r}function me(e,t,n=!1){b!==null&&(!ce||(b.f&bn)!==0)&&En()&&(b.f&(N|ve|jt|bn))!==0&&!ye?.includes(e)&&qr();let r=n?je(t):t;return Xe(e,r)}function Xe(e,t){if(!e.equals(t)){var n=e.v;qe?Te.set(e,t):Te.set(e,n),e.v=t;var r=ie.ensure();r.capture(e,n),(e.f&N)!==0&&((e.f&q)!==0&&Ut(e),P(e,(e.f&re)!==0?M:_e)),e.wv=tr(),Pn(e,q),w!==null&&(w.f&M)!==0&&(w.f&(pe|$e))===0&&(te===null?bi([e]):te.push(e)),!r.is_fork&&Vt.size>0&&!Mn&&ai()}return t}function ai(){Mn=!1;var e=Ae;St(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&M)!==0&&P(n,_e),ft(n)&&ut(n)}finally{St(e)}Vt.clear()}function lt(e){me(e,e.v+1)}function Pn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,o=(a&q)===0;if(o&&P(s,t),(a&N)!==0){var l=s;K?.delete(l),(a&Le)===0&&(a&re&&(s.f|=Le),Pn(l,_e))}else o&&((a&ve)!==0&&ge!==null&&ge.add(s),Ie(s))}}function je(e){if(typeof e!="object"||e===null||gt in e)return e;const t=vn(e);if(t!==Sr&&t!==Ar)return e;var n=new Map,r=hn(e),i=le(0),s=He,a=o=>{if(He===s)return o();var l=b,f=He;D(null),er(s);var c=o();return D(l),er(f),c};return r&&n.set("length",le(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&jr();var c=n.get(l);return c===void 0?c=a(()=>{var h=le(f.value);return n.set(l,h),h}):me(c,f.value,!0),!0},deleteProperty(o,l){var f=n.get(l);if(f===void 0){if(l in o){const c=a(()=>le(L));n.set(l,c),lt(i)}}else me(f,L),lt(i);return!0},get(o,l,f){if(l===gt)return e;var c=n.get(l),h=l in o;if(c===void 0&&(!h||Oe(o,l)?.writable)&&(c=a(()=>{var d=je(h?o[l]:L),g=le(d);return g}),n.set(l,c)),c!==void 0){var u=A(c);return u===L?void 0:u}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var c=n.get(l);c&&(f.value=A(c))}else if(f===void 0){var h=n.get(l),u=h?.v;if(h!==void 0&&u!==L)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(o,l){if(l===gt)return!0;var f=n.get(l),c=f!==void 0&&f.v!==L||Reflect.has(o,l);if(f!==void 0||w!==null&&(!c||Oe(o,l)?.writable)){f===void 0&&(f=a(()=>{var u=c?je(o[l]):L,d=le(u);return d}),n.set(l,f));var h=A(f);if(h===L)return!1}return c},set(o,l,f,c){var h=n.get(l),u=l in o;if(r&&l==="length")for(var d=f;d<h.v;d+=1){var g=n.get(d+"");g!==void 0?me(g,L):d in o&&(g=a(()=>le(L)),n.set(d+"",g))}if(h===void 0)(!u||Oe(o,l)?.writable)&&(h=a(()=>le(void 0)),me(h,je(f)),n.set(l,h));else{u=h.v!==L;var $=a(()=>je(f));me(h,$)}var v=Reflect.getOwnPropertyDescriptor(o,l);if(v?.set&&v.set.call(c,f),!u){if(r&&typeof l=="string"){var x=n.get("length"),T=Number(l);Number.isInteger(T)&&T>=x.v&&me(x,T+1)}lt(i)}return!0},ownKeys(o){A(i);var l=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==L});for(var[f,c]of n)c.v!==L&&!(f in o)&&l.push(f);return l},setPrototypeOf(){Br()}})}var In,Fn,jn,Bn;function Yt(){if(In===void 0){In=window,Fn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;jn=Oe(t,"firstChild").get,Bn=Oe(t,"nextSibling").get,pn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),pn(n)&&(n.__t=void 0)}}function I(e=""){return document.createTextNode(e)}function Se(e){return jn.call(e)}function Z(e){return Bn.call(e)}function Be(e,t){if(!_)return Se(e);var n=Se(y);if(n===null)n=y.appendChild(I());else if(t&&n.nodeType!==mt){var r=I();return n?.before(r),O(r),r}return O(n),n}function Ze(e,t=!1){if(!_){var n=Se(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t&&y?.nodeType!==mt){var r=I();return y?.before(r),O(r),r}return y}function oe(e,t=1,n=!1){let r=_?y:e;for(var i;t--;)i=r,r=Z(r);if(!_)return r;if(n&&r?.nodeType!==mt){var s=I();return r===null?i?.after(s):r.before(s),O(s),s}return O(r),r}function qn(e){e.textContent=""}function Hn(){return!1}function Wt(e){var t=b,n=w;D(null),ee(null);try{return e()}finally{D(t),ee(n)}}function li(e){w===null&&(b===null&&Dr(),Mr()),qe&&Lr()}function oi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function fe(e,t,n){var r=w;r!==null&&(r.f&H)!==0&&(e|=H);var i={ctx:G,deps:null,nodes_start:null,nodes_end:null,f:e|q|re,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ut(i),i.f|=bt}catch(o){throw F(i),o}else t!==null&&Ie(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Re)===0&&(s=s.first,(e&ve)!==0&&(e&ze)!==0&&s!==null&&(s.f|=ze)),s!==null&&(s.parent=r,r!==null&&oi(s,r),b!==null&&(b.f&N)!==0&&(e&$e)===0)){var a=b;(a.effects??=[]).push(s)}return i}function kt(){return b!==null&&!ce}function Un(e){const t=fe(Pt,null,!1);return P(t,M),t.teardown=e,t}function fi(e){li();var t=w.f,n=!b&&(t&pe)!==0&&(t&bt)===0;if(n){var r=G;(r.e??=[]).push(e)}else return Vn(e)}function Vn(e){return fe(Dt|Nr,e,!1)}function ui(e){ie.ensure();const t=fe($e|Re,e,!0);return()=>{F(t)}}function ci(e){ie.ensure();const t=fe($e|Re,e,!0);return(n={})=>new Promise(r=>{n.outro?Qe(t,()=>{F(t),r(void 0)}):(F(t),r(void 0))})}function di(e){return fe(Dt,e,!1)}function hi(e){return fe(jt|Re,e,!0)}function Yn(e,t=0){return fe(Pt|t,e,!0)}function ue(e,t=[],n=[],r=[]){ni(r,t,n,i=>{fe(Pt,()=>e(...i.map(A)),!0)})}function Tt(e,t=0){var n=fe(ve|t,e,!0);return n}function Q(e){return fe(pe|Re,e,!0)}function Wn(e){var t=e.teardown;if(t!==null){const n=qe,r=b;Zn(!0),D(null);try{t.call(null)}finally{Zn(n),D(r)}}}function zn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Wt(()=>{i.abort(Je)});var r=n.next;(n.f&$e)!==0?n.parent=null:F(n,t),n=r}}function vi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&pe)===0&&F(t),t=n}}function F(e,t=!0){var n=!1;(t||(e.f&It)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(pi(e.nodes_start,e.nodes_end),n=!0),zn(e,t&&!n),At(e,0),P(e,be);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Wn(e);var i=e.parent;i!==null&&i.first!==null&&Jn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function pi(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function Jn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Qe(e,t,n=!0){var r=[];zt(e,r,!0),Gn(r,()=>{n&&F(e),t&&t()})}function Gn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function zt(e,t,n){if((e.f&H)===0){if(e.f^=H,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ze)!==0||(r.f&pe)!==0&&(e.f&ve)!==0;zt(r,t,s?n:!1),r=i}}}function Jt(e){Kn(e,!0)}function Kn(e,t){if((e.f&H)!==0){e.f^=H,(e.f&M)===0&&(P(e,q),Ie(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ze)!==0||(n.f&pe)!==0;Kn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Xn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Z(n);t.append(n),n=i}}let Ae=!1;function St(e){Ae=e}let qe=!1;function Zn(e){qe=e}let b=null,ce=!1;function D(e){b=e}let w=null;function ee(e){w=e}let ye=null;function _i(e){b!==null&&(ye===null?ye=[e]:ye.push(e))}let j=null,V=0,te=null;function bi(e){te=e}let Qn=1,ot=0,He=ot;function er(e){He=e}function tr(){return++Qn}function ft(e){var t=e.f;if((t&q)!==0)return!0;if(t&N&&(e.f&=~Le),(t&_e)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(ft(s)&&Ln(s),s.wv>e.wv)return!0}(t&re)!==0&&K===null&&P(e,M)}return!1}function nr(e,t,n=!0){var r=e.reactions;if(r!==null&&!ye?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&N)!==0?nr(s,t,!1):t===s&&(n?P(s,q):(s.f&M)!==0&&P(s,_e),Ie(s))}}function rr(e){var t=j,n=V,r=te,i=b,s=ye,a=G,o=ce,l=He,f=e.f;j=null,V=0,te=null,b=(f&(pe|$e))===0?e:null,ye=null,Ge(e.ctx),ce=!1,He=++ot,e.ac!==null&&(Wt(()=>{e.ac.abort(Je)}),e.ac=null);try{e.f|=Ft;var c=e.fn,h=c(),u=e.deps;if(j!==null){var d;if(At(e,V),u!==null&&V>0)for(u.length=V+j.length,d=0;d<j.length;d++)u[V+d]=j[d];else e.deps=u=j;if(Ae&&kt()&&(e.f&re)!==0)for(d=V;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&V<u.length&&(At(e,V),u.length=V);if(En()&&te!==null&&!ce&&u!==null&&(e.f&(N|_e|q))===0)for(d=0;d<te.length;d++)nr(te[d],e);return i!==null&&i!==e&&(ot++,te!==null&&(r===null?r=te:r.push(...te))),(e.f&Ee)!==0&&(e.f^=Ee),h}catch(g){return Tn(g)}finally{e.f^=Ft,j=t,V=n,te=r,b=i,ye=s,Ge(a),ce=o,He=l}}function gi(e,t){let n=t.reactions;if(n!==null){var r=kr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&N)!==0&&(j===null||!j.includes(t))&&(P(t,_e),(t.f&re)!==0&&(t.f^=re,t.f&=~Le),Rn(t),At(t,0))}function At(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)gi(e,n[r])}function ut(e){var t=e.f;if((t&be)===0){P(e,M);var n=w,r=Ae;w=e,Ae=!0;try{(t&ve)!==0?vi(e):zn(e),Wn(e);var i=rr(e);e.teardown=typeof i=="function"?i:null,e.wv=Qn;var s;Lt&&Wr&&(e.f&q)!==0&&e.deps}finally{Ae=r,w=n}}}function A(e){var t=e.f,n=(t&N)!==0;if(b!==null&&!ce){var r=w!==null&&(w.f&be)!==0;if(!r&&!ye?.includes(e)){var i=b.deps;if((b.f&Ft)!==0)e.rv<ot&&(e.rv=ot,j===null&&i!==null&&i[V]===e?V++:j===null?j=[e]:j.includes(e)||j.push(e));else{(b.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[b]:s.includes(b)||s.push(b)}}}if(qe){if(Te.has(e))return Te.get(e);if(n){var a=e,o=a.v;return((a.f&M)===0&&a.reactions!==null||sr(a))&&(o=Ut(a)),Te.set(a,o),o}}else n&&!K?.has(e)&&(a=e,ft(a)&&Ln(a),Ae&&kt()&&(a.f&re)===0&&ir(a));if(K?.has(e))return K.get(e);if((e.f&Ee)!==0)throw e.v;return e.v}function ir(e){if(e.deps!==null){e.f^=re;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&re)===0&&ir(t)}}function sr(e){if(e.v===L)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Te.has(t)||(t.f&N)!==0&&sr(t))return!0;return!1}function ar(e){var t=ce;try{return ce=!0,e()}finally{ce=t}}const mi=-7169;function P(e,t){e.f=e.f&mi|t}const yi=new Set,lr=new Set;function wi(e,t,n,r={}){function i(s){if(r.capture||ct.call(t,s),!s.cancelBubble)return Wt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?it(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Gt(e,t,n,r,i){var s={capture:r,passive:i},a=wi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Un(()=>{t.removeEventListener(e,a,s)})}let or=null;function ct(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;or=e;var a=0,o=or===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){pt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=b,h=w;D(null),ee(null);try{for(var u,d=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var $=s["__"+r];$!=null&&(!s.disabled||e.target===s)&&$.call(s,e)}catch(v){u?d.push(v):u=v}if(e.cancelBubble||g===t||g===null)break;s=g}if(u){for(let v of d)queueMicrotask(()=>{throw v});throw u}}finally{e.__root=t,delete e.currentTarget,D(c),ee(h)}}}function xi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ce(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function de(e,t){var n=(t&xr)!==0,r=(t&$r)!==0,i,s=!e.startsWith("<!>");return()=>{if(_)return Ce(y,null),y;i===void 0&&(i=xi(s?e:"<!>"+e),n||(i=Se(i)));var a=r||Fn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Se(a),l=a.lastChild;Ce(o,l)}else Ce(a,a);return a}}function $i(e=""){if(!_){var t=I(e+"");return Ce(t,t),t}var n=y;return n.nodeType!==mt&&(n.before(n=I()),O(n)),Ce(n,n),n}function Kt(){if(_)return Ce(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),n=I();return e.append(t,n),Ce(t,n),e}function B(e,t){if(_){var n=w;((n.f&bt)===0||n.nodes_end===null)&&(n.nodes_end=y),rt();return}e!==null&&e.before(t)}const Ei=["touchstart","touchmove"];function ki(e){return Ei.includes(e)}function Xt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function fr(e,t){return ur(e,t)}function Ti(e,t){Yt(),t.intro=t.intro??!1;const n=t.target,r=_,i=y;try{for(var s=Se(n);s&&(s.nodeType!==Me||s.data!==dn);)s=Z(s);if(!s)throw We;U(!0),O(s);const a=ur(e,{...t,anchor:s});return U(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==We&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Ir(),Yt(),qn(n),U(!1),fr(e,t)}finally{U(r),O(i)}}const et=new Map;function ur(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){Yt();var o=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!o.has(d)){o.add(d);var g=ki(d);t.addEventListener(d,ct,{passive:g});var $=et.get(d);$===void 0?(document.addEventListener(d,ct,{passive:g}),et.set(d,1)):et.set(d,$+1)}}};l(Mt(yi)),lr.add(l);var f=void 0,c=ci(()=>{var h=n??t.appendChild(I());return Xr(h,{pending:()=>{}},u=>{if(s){xn({});var d=G;d.c=s}if(i&&(r.$$events=i),_&&Ce(u,null),f=e(u,r)||{},_&&(w.nodes_end=y,y===null||y.nodeType!==Me||y.data!==Rt))throw yt(),We;s&&$n()}),()=>{for(var u of o){t.removeEventListener(u,ct);var d=et.get(u);--d===0?(document.removeEventListener(u,ct),et.delete(u)):et.set(u,d)}lr.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return Zt.set(f,c),f}let Zt=new WeakMap;function Si(e,t){const n=Zt.get(e);return n?(Zt.delete(e),n(t)):Promise.resolve()}class Ai{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#o=!0;constructor(t,n=!0){this.anchor=t,this.#o=n}#s=()=>{var t=S;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Jt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(a);o&&(F(o.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Xn(a,f),f.append(I()),this.#n.set(s,{effect:a,fragment:f})}else F(a);this.#r.delete(s),this.#e.delete(s)};this.#o||!r?(this.#r.add(s),Qe(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(F(i.effect),this.#n.delete(r))};ensure(t,n){var r=S,i=Hn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=I();s.append(a),this.#n.set(t,{effect:Q(()=>n(a)),fragment:s})}else this.#e.set(t,Q(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,l]of this.#e)o===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[o,l]of this.#n)o===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else _&&(this.anchor=y),this.#s()}}function tt(e,t,n=!1){_&&rt();var r=new Ai(e),i=n?ze:0;function s(a,o){if(_){const f=mn(e)===ht;if(a===f){var l=wt();O(l),r.anchor=l,U(!1),r.ensure(a,o),U(!0);return}}r.ensure(a,o)}Tt(()=>{var a=!1;t((o,l=!0)=>{a=!0,s(l,o)}),a||s(!1,null)},i)}function Qt(e,t,n,r,i){_&&rt();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n==="default"?"children":n],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>r:r)}function Ci(e,t){let n=null,r=_;var i;if(_){n=y;for(var s=Se(document.head);s!==null&&(s.nodeType!==Me||s.data!==e);)s=Z(s);if(s===null)U(!1);else{var a=Z(s);s.remove(),O(a)}}_||(i=document.head.appendChild(I()));try{Tt(()=>t(i),It)}finally{r&&(U(!0),O(n))}}function Ni(e,t){di(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Oi(e,t,n){var r=""+e;return r}function Ri(e,t){return e==null?null:String(e)}function en(e,t,n,r,i,s){var a=e.__className;if(_||a!==n||a===void 0){var o=Oi(n);(!_||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function tn(e,t,n,r){var i=e.__style;if(_||i!==t){var s=Ri(t);(!_||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Li=Symbol("is custom element"),Mi=Symbol("is html");function cr(e,t,n,r){var i=Di(e);_&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Or]=n),n==null?e.removeAttribute(t):typeof n!="string"&&dr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function nt(e,t,n){var r=b,i=w;let s=_;_&&U(!1),D(null),ee(null);try{t!=="style"&&(nn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?dr(e).includes(t):n&&typeof n=="object")?e[t]=n:cr(e,t,n==null?n:String(n))}finally{D(r),ee(i),s&&U(!0)}}function Di(e){return e.__attributes??={[Li]:e.nodeName.includes("-"),[Mi]:e.namespaceURI===Er}}var nn=new Map;function dr(e){var t=e.getAttribute("is")||e.nodeName,n=nn.get(t);if(n)return n;nn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Tr(i);for(var a in r)r[a].set&&n.push(a);i=vn(i)}return n}let Ct=!1;function Pi(e){var t=Ct;try{return Ct=!1,[e(),Ct]}finally{Ct=t}}function Ue(e,t,n,r){var i=(n&yr)!==0,s=(n&wr)!==0,a=r,o=!0,l=()=>(o&&(o=!1,a=s?ar(r):r),a),f;if(i){var c=gt in e||gn in e;f=Oe(e,t)?.set??(c&&t in e?T=>e[t]=T:void 0)}var h,u=!1;i?[h,u]=Pi(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=l(),f&&(Fr(),f(h)));var d;if(d=()=>{var T=e[t];return T===void 0?l():(o=!0,T)},(n&mr)===0)return d;if(f){var g=e.$$legacy;return(function(T,Y){return arguments.length>0?((!Y||g||u)&&f(Y?d():T),T):d()})}var $=!1,v=((n&gr)!==0?Ht:On)(()=>($=!1,d()));i&&A(v);var x=w;return(function(T,Y){if(arguments.length>0){const k=Y?A(v):i?je(T):T;return me(v,k),$=!0,a!==void 0&&(a=k),T}return qe&&$||(x.f&be)!==0?v.v:A(v)})}function Ii(e){return new Fi(e)}class Fi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var o=Dn(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return A(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===gn?!0:(A(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return me(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Ti:fr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ke(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||pt(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Si(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let hr;typeof HTMLElement=="function"&&(hr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),B(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ji(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Ii({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ui(()=>{Yn(()=>{this.$$r=!0;for(const r of vt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Nt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return vt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ji(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Bi(e,t,n,r,i,s){let a=class extends hr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return vt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return vt(t).forEach(o=>{pt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Nt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var c=Oe(f,o)?.get;c?f[o]=l:f.$set({[o]:l})}}})}),r.forEach(o=>{pt(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const qi={version:"0.65.23"};var Ve={},vr;function Hi(){if(vr)return Ve;vr=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.LanguageTranslator=void 0,Ve.getChildStyleToPass=e,Ve.addComponent=t;function e(r,i){var s,a,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||a===void 0)&&a.length))for(var l=function(u){var d=i?.filter(function(g){return g.name===u&&g.defaultValue!==r[u]});d&&(o+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var h=c[f];l(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(f){console.warn(f)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,o="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",f=r.getDefaultLang();if(!a||f!==a){var c=s?.[f];c?.[i]&&(l=c[i])}return l},r.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return o.format(i)},r})();return Ve.LanguageTranslator=n,Ve}var Ui=Hi(),Vi=de('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-127py2f"/>'),Yi=de('<img style="height:40px;margin-right:10px" alt="" class="svelte-127py2f"/>'),Wi=de('<div style="margin-top:10px" class="svelte-127py2f"><!> </div>'),zi=de("<hb-sidenav-link></hb-sidenav-link>",2),Ji=de("<hb-sidenav-link></hb-sidenav-link>",2),Gi=de('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),Ki=de("<hb-sidenav-link></hb-sidenav-link>",2),Xi=de('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),Zi=de('<hr class="svelte-127py2f"/> <!>',1),Qi=de('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-127py2f"><!> <div class="d-flex flex-column p-3 bg-light svelte-127py2f" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-127py2f"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-127py2f" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const es={hash:"svelte-127py2f",code:`@charset "UTF-8";
1
+ (function(an){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ln=1,fn=2,on=4,vr=8,_r=16,pr=1,mr=4,gr=8,wr=16,yr=1,br=2,un="[",dt="[!",Ot="]",Ye={},L=Symbol(),$r="http://www.w3.org/1999/xhtml",Rt=!1;var cn=Array.isArray,xr=Array.prototype.indexOf,Dt=Array.from,ht=Object.keys,vt=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,Er=Object.getOwnPropertyDescriptors,kr=Object.prototype,Tr=Array.prototype,dn=Object.getPrototypeOf,hn=Object.isExtensible;function Ar(e){for(var t=0;t<e.length;t++)e[t]()}function vn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const R=2,Lt=4,Pt=8,he=16,ve=32,be=64,_t=128,ne=512,P=1024,U=2048,_e=4096,Y=8192,pe=16384,pt=32768,We=65536,_n=1<<17,Mt=1<<18,De=1<<19,Cr=1<<20,Le=32768,It=1<<21,Ft=1<<22,$e=1<<23,mt=Symbol("$state"),pn=Symbol("legacy props"),Sr=Symbol(""),ze=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gt=3,Pe=8;function Nr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Or(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Rr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Dr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Pr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Mr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ir(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Fr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function jr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Br(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function wt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function qr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let p=!1;function W(e){p=e}let w;function D(e){if(e===null)throw wt(),Ye;return w=e}function rt(){return D(Z(w))}function Me(e){if(p){if(Z(w)!==null)throw wt(),Ye;w=e}}function Hr(e=1){if(p){for(var t=e,n=w;t--;)n=Z(n);w=n}}function yt(e=!0){for(var t=0,n=w;;){if(n.nodeType===Pe){var r=n.data;if(r===Ot){if(t===0)return n;t-=1}else(r===un||r===dt)&&(t+=1)}var i=Z(n);e&&n.remove(),n=i}}function mn(e){if(!e||e.nodeType!==Pe)throw wt(),Ye;return e.data}function gn(e){return e===this.v}function Ur(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wn(e){return!Ur(e,this.v)}let Vr=!1,G=null;function Je(e){G=e}function yn(e,t=!1,n){G={p:G,i:!1,c:null,e:null,s:e,x:null,l:null}}function bn(e){var t=G,n=t.e;if(n!==null){t.e=null;for(var r of n)Hn(r)}return e!==void 0&&(t.x=e),t.i=!0,G=t.p,e??{}}function $n(){return!0}let Ie=[];function xn(){var e=Ie;Ie=[],Ar(e)}function it(e){if(Ie.length===0&&!st){var t=Ie;queueMicrotask(()=>{t===Ie&&xn()})}Ie.push(e)}function Yr(){for(;Ie.length>0;)xn()}function En(e){var t=y;if(t===null)return m.f|=$e,e;if((t.f&pt)===0){if((t.f&_t)===0)throw e;t.b.error(e)}else Ge(e,t)}function Ge(e,t){for(;t!==null;){if((t.f&_t)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const bt=new Set;let A=null,K=null,X=[],$t=null,jt=!1,st=!1;class re{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#f=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){X=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(A=null,Tn(n.render_effects),Tn(n.effects),this.#f?.resolve()),K=null}#a(t,n){t.f^=P;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ve|be))!==0,a=s&&(i&P)!==0,f=a||(i&Y)!==0||this.skipped_effects.has(r);if((r.f&_t)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){s?r.f^=P:(i&Lt)!==0?n.effects.push(r):ot(r)&&((r.f&he)!==0&&n.block_effects.push(r),ut(r));var l=r.first;if(l!==null){r=l;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&U)!==0?this.#s:this.#i).push(n),this.#o(n.deps),I(n,P)}#o(t){if(t!==null)for(const n of t)(n.f&R)===0||(n.f&Le)===0||(n.f^=Le,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&$e)===0&&(this.current.set(t,t.v),K?.set(t,t.v))}activate(){A=this,this.apply()}deactivate(){A===this&&(A=null,K=null)}flush(){if(this.activate(),X.length>0){if(kn(),A!==null&&A!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(bt.size>1){this.previous.clear();var t=K,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of bt){if(s===this){n=!1;continue}const a=[];for(const[l,o]of this.current){if(s.current.has(l))if(n&&o!==s.current.get(l))s.current.set(l,o);else continue;a.push(l)}if(a.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){var i=X;X=[];const l=new Set,o=new Map;for(const c of a)An(c,f,l,o);if(X.length>0){A=s,s.apply();for(const c of X)s.#a(c,r);s.deactivate()}X=i}}A=null,K=t}this.committed=!0,bt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)I(t,U),Fe(t);for(const t of this.#i)I(t,_e),Fe(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#f??=vn()).promise}static ensure(){if(A===null){const t=A=new re;bt.add(A),st||re.enqueue(()=>{A===t&&t.flush()})}return A}static enqueue(t){it(t)}apply(){}}function xe(e){var t=st;st=!0;try{for(var n;;){if(Yr(),X.length===0&&(A?.flush(),X.length===0))return $t=null,n;kn()}}finally{st=t}}function kn(){var e=Ae;jt=!0;var t=null;try{var n=0;for(Tt(!0);X.length>0;){var r=re.ensure();if(n++>1e3){var i,s;Wr()}r.process(X),Ee.clear()}}finally{jt=!1,Tt(e),$t=null}}function Wr(){try{Lr()}catch(e){Ge(e,$t)}}let me=null;function Tn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(pe|Y))===0&&ot(r)&&(me=new Set,ut(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Wn(r):r.fn=null),me?.size>0)){Ee.clear();for(const i of me){if((i.f&(pe|Y))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)me.has(a)&&(me.delete(a),s.push(a)),a=a.parent;for(let f=s.length-1;f>=0;f--){const l=s[f];(l.f&(pe|Y))===0&&ut(l)}}me.clear()}}me=null}}function An(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&R)!==0?An(i,t,n,r):(s&(Ft|he))!==0&&(s&U)===0&&Cn(i,t,r)&&(I(i,U),Fe(i))}}function Cn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&R)!==0&&Cn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Fe(e){for(var t=$t=e;t.parent!==null;){t=t.parent;var n=t.f;if(jt&&t===y&&(n&he)!==0&&(n&Mt)===0)return;if((n&(be|ve))!==0){if((n&P)===0)return;t.f^=P}}X.push(t)}function zr(e){let t=0,n=je(0),r;return()=>{Et()&&(S(n),Un(()=>(t===0&&(r=ir(()=>e(()=>lt(n)))),t+=1,()=>{it(()=>{t-=1,t===0&&(r?.(),r=void 0,lt(n))})})))}}var Jr=We|De|_t;function Gr(e,t,n){new Kr(e,t,n)}class Kr{parent;#t=!1;#e;#n=p?w:null;#r;#f;#s;#i=null;#a=null;#l=null;#o=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#w=zr(()=>(this.#h=je(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#f=r,this.parent=y.b,this.#t=!!this.#r.pending,this.#s=kt(()=>{if(y.b=this,p){const s=this.#n;rt(),s.nodeType===Pe&&s.data===dt?this.#b():this.#y()}else{var i=this.#m();try{this.#i=Q(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Jr),p&&(this.#e=w)}#y(){try{this.#i=Q(()=>this.#f(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#a=Q(()=>t(this.#e)),re.enqueue(()=>{var n=this.#m();this.#i=this.#_(()=>(re.ensure(),Q(()=>this.#f(n)))),this.#d>0?this.#p():(Qe(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#m(){var t=this.#e;return this.#t&&(this.#u=F(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=y,r=m,i=G;ee(this.#s),M(this.#s),Je(this.#s.ctx);try{return t()}catch(s){return En(s),null}finally{ee(n),M(r),Je(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Gn(this.#i,this.#o)),this.#a===null&&(this.#a=Q(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&Qe(this.#a,()=>{this.#a=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Ke(this.#h,this.#c)}get_effect_pending(){return this.#w(),S(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(j(this.#i),this.#i=null),this.#a&&(j(this.#a),this.#a=null),this.#l&&(j(this.#l),this.#l=null),p&&(D(this.#n),Hr(),D(yt()));var i=!1,s=!1;const a=()=>{if(i){qr();return}i=!0,s&&Br(),re.ensure(),this.#c=0,this.#l!==null&&Qe(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,Q(()=>this.#f(this.#e)))),this.#d>0?this.#p():this.#t=!1};var f=m;try{M(null),s=!0,n?.(t,a),s=!1}catch(l){Ge(l,this.#s&&this.#s.parent)}finally{M(f)}r&&it(()=>{this.#l=this.#_(()=>{re.ensure(),this.#v=!0;try{return Q(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return Ge(l,this.#s.parent),null}finally{this.#v=!1}})})}}function Xr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)Wt(t[s].e,r,!0);zn(r,()=>{var a=r.length===0&&n!==null;if(a){var f=n,l=f.parentNode;jn(l),l.append(f),e.items.clear(),se(e,t[0].prev,t[i-1].next)}for(var o=0;o<i;o++){var c=t[o];a||(e.items.delete(c.k),se(e,c.prev,c.next)),j(c.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function at(e,t,n,r,i,s=null){var a=e,f=new Map,l=null,o=(t&on)!==0,c=(t&ln)!==0,h=(t&fn)!==0;if(o){var u=e;a=p?D(Te(u)):u.appendChild(F())}p&&rt();var d=null,g=Sn(()=>{var k=n();return cn(k)?k:k==null?[]:Dt(k)}),b,v=!0;function $(){Zr(H,b,a,t,r),d!==null&&(b.length===0?(d.fragment?(a.before(d.fragment),d.fragment=null):zt(d.effect),T.first=d.effect):Qe(d.effect,()=>{d=null}))}var T=kt(()=>{b=S(g);var k=b.length;let Se=!1;if(p){var Ne=mn(a)===dt;Ne!==(k===0)&&(a=yt(),D(a),W(!1),Se=!0)}for(var ce=new Set,de=A,Oe=null,Nt=Bn(),ye=0;ye<k;ye+=1){p&&w.nodeType===Pe&&w.data===Ot&&(a=w,Se=!0,W(!1));var _=b[ye],E=r(_,ye),C=v?null:f.get(E);C?(c&&Ke(C.v,_),h?Ke(C.i,ye):C.i=ye,Nt&&de.skipped_effects.delete(C.e)):(C=Qr(v?a:null,Oe,_,E,ye,i,t,n),v&&(C.o=!0,Oe===null?l=C:Oe.next=C,Oe=C),f.set(E,C)),ce.add(E)}if(k===0&&s&&!d)if(v)d={fragment:null,effect:Q(()=>s(a))};else{var x=document.createDocumentFragment(),O=F();x.append(O),d={fragment:x,effect:Q(()=>s(O))}}if(p&&k>0&&D(yt()),!v)if(Nt){for(const[N,V]of f)ce.has(N)||de.skipped_effects.add(V.e);de.oncommit($),de.ondiscard(()=>{})}else $();Se&&W(!0),S(g)}),H={effect:T,items:f,first:l};v=!1,p&&(a=w)}function Zr(e,t,n,r,i){var s=(r&vr)!==0,a=t.length,f=e.items,l=e.first,o,c=null,h,u=[],d=[],g,b,v,$;if(s)for($=0;$<a;$+=1)g=t[$],b=i(g,$),v=f.get(b),v.a?.measure(),(h??=new Set).add(v);for($=0;$<a;$+=1){if(g=t[$],b=i(g,$),v=f.get(b),e.first??=v,!v.o){v.o=!0;var T=c?c.next:l;se(e,c,v),se(e,v,T),Bt(v,T,n),c=v,u=[],d=[],l=c.next;continue}if((v.e.f&Y)!==0&&(zt(v.e),s&&(v.a?.unfix(),(h??=new Set).delete(v))),v!==l){if(o!==void 0&&o.has(v)){if(u.length<d.length){var H=d[0],k;c=H.prev;var Se=u[0],Ne=u[u.length-1];for(k=0;k<u.length;k+=1)Bt(u[k],H,n);for(k=0;k<d.length;k+=1)o.delete(d[k]);se(e,Se.prev,Ne.next),se(e,c,Se),se(e,Ne,H),l=H,c=Ne,$-=1,u=[],d=[]}else o.delete(v),Bt(v,l,n),se(e,v.prev,v.next),se(e,v,c===null?e.first:c.next),se(e,c,v),c=v;continue}for(u=[],d=[];l!==null&&l.k!==b;)(l.e.f&Y)===0&&(o??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;v=l}u.push(v),c=v,l=v.next}if(l!==null||o!==void 0){for(var ce=o===void 0?[]:Dt(o);l!==null;)(l.e.f&Y)===0&&ce.push(l),l=l.next;var de=ce.length;if(de>0){var Oe=(r&on)!==0&&a===0?n:null;if(s){for($=0;$<de;$+=1)ce[$].a?.measure();for($=0;$<de;$+=1)ce[$].a?.fix()}Xr(e,ce,Oe)}}s&&it(()=>{if(h!==void 0)for(v of h)v.a?.apply()})}function Qr(e,t,n,r,i,s,a,f){var l=(a&ln)!==0,o=(a&_r)===0,c=l?o?Dn(n,!1,!1):je(n):n,h=(a&fn)===0?i:je(i),u={i:h,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var d=document.createDocumentFragment();d.append(e=F())}return u.e=Q(()=>s(e,c,h,f)),t!==null&&(t.next=u),u}finally{}}function Bt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var a=Z(s);i.before(s),s=a}}function se(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function ei(e,t,n,r){const i=qt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=A,a=y,f=ti();function l(){Promise.all(n.map(o=>ni(o))).then(o=>{f();try{r([...t.map(i),...o])}catch(c){(a.f&pe)===0&&Ge(c,a)}s?.deactivate(),xt()}).catch(o=>{Ge(o,a)})}e.length>0?Promise.all(e).then(()=>{f();try{return l()}finally{s?.deactivate(),xt()}}):l()}function ti(){var e=y,t=m,n=G,r=A;return function(s=!0){ee(e),M(t),Je(n),s&&r?.activate()}}function xt(){ee(null),M(null),Je(null)}function qt(e){var t=R|U,n=m!==null&&(m.f&R)!==0?m:null;return y!==null&&(y.f|=De),{ctx:G,deps:null,effects:null,equals:gn,f:t,fn:e,reactions:null,rv:0,v:L,wv:0,parent:n??y,ac:null}}function ni(e,t){let n=y;n===null&&Nr();var r=n.b,i=void 0,s=je(L),a=!m,f=new Map;return ci(()=>{var l=vn();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{o===A&&o.committed&&o.deactivate(),xt()})}catch(u){l.reject(u),xt()}var o=A;if(a){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),f.get(o)?.reject(ze),f.delete(o),f.set(o,l)}const h=(u,d=void 0)=>{if(o.activate(),d)d!==ze&&(s.f|=$e,Ke(s,d));else{(s.f&$e)!==0&&(s.f^=$e),Ke(s,u);for(const[g,b]of f){if(f.delete(g),g===o)break;b.reject(ze)}}a&&(r.update_pending_count(-1),o.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),qn(()=>{for(const l of f.values())l.reject(ze)}),new Promise(l=>{function o(c){function h(){c===i?l(s):o(i)}c.then(h,h)}o(i)})}function Sn(e){const t=qt(e);return t.equals=wn,t}function Nn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function ri(e){for(var t=e.parent;t!==null;){if((t.f&R)===0)return(t.f&pe)===0?t:null;t=t.parent}return null}function Ht(e){var t,n=y;ee(ri(e));try{e.f&=~Le,Nn(e),t=tr(e)}finally{ee(n)}return t}function On(e){var t=Ht(e);if(e.equals(t)||(A?.is_fork||(e.v=t),e.wv=Qn()),!qe)if(K!==null)Et()&&K.set(e,t);else{var n=(e.f&ne)===0?_e:P;I(e,n)}}let Ut=new Set;const Ee=new Map;let Rn=!1;function je(e,t){var n={f:0,v:e,reactions:null,equals:gn,rv:0,wv:0};return n}function ke(e,t){const n=je(e);return vi(n),n}function Dn(e,t=!1,n=!0){const r=je(e);return t||(r.equals=wn),r}function ge(e,t,n=!1){m!==null&&(!oe||(m.f&_n)!==0)&&$n()&&(m.f&(R|he|Ft|_n))!==0&&!we?.includes(e)&&jr();let r=n?Xe(t):t;return Ke(e,r)}function Ke(e,t){if(!e.equals(t)){var n=e.v;qe?Ee.set(e,t):Ee.set(e,n),e.v=t;var r=re.ensure();r.capture(e,n),(e.f&R)!==0&&((e.f&U)!==0&&Ht(e),I(e,(e.f&ne)!==0?P:_e)),e.wv=Qn(),Ln(e,U),y!==null&&(y.f&P)!==0&&(y.f&(ve|be))===0&&(te===null?_i([e]):te.push(e)),!r.is_fork&&Ut.size>0&&!Rn&&ii()}return t}function ii(){Rn=!1;var e=Ae;Tt(!0);const t=Array.from(Ut);try{for(const n of t)(n.f&P)!==0&&I(n,_e),ot(n)&&ut(n)}finally{Tt(e)}Ut.clear()}function lt(e){ge(e,e.v+1)}function Ln(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,f=(a&U)===0;if(f&&I(s,t),(a&R)!==0){var l=s;K?.delete(l),(a&Le)===0&&(a&ne&&(s.f|=Le),Ln(l,_e))}else f&&((a&he)!==0&&me!==null&&me.add(s),Fe(s))}}function Xe(e){if(typeof e!="object"||e===null||mt in e)return e;const t=dn(e);if(t!==kr&&t!==Tr)return e;var n=new Map,r=cn(e),i=ke(0),s=He,a=f=>{if(He===s)return f();var l=m,o=He;M(null),Zn(s);var c=f();return M(l),Zn(o),c};return r&&n.set("length",ke(e.length)),new Proxy(e,{defineProperty(f,l,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Ir();var c=n.get(l);return c===void 0?c=a(()=>{var h=ke(o.value);return n.set(l,h),h}):ge(c,o.value,!0),!0},deleteProperty(f,l){var o=n.get(l);if(o===void 0){if(l in f){const c=a(()=>ke(L));n.set(l,c),lt(i)}}else ge(o,L),lt(i);return!0},get(f,l,o){if(l===mt)return e;var c=n.get(l),h=l in f;if(c===void 0&&(!h||Re(f,l)?.writable)&&(c=a(()=>{var d=Xe(h?f[l]:L),g=ke(d);return g}),n.set(l,c)),c!==void 0){var u=S(c);return u===L?void 0:u}return Reflect.get(f,l,o)},getOwnPropertyDescriptor(f,l){var o=Reflect.getOwnPropertyDescriptor(f,l);if(o&&"value"in o){var c=n.get(l);c&&(o.value=S(c))}else if(o===void 0){var h=n.get(l),u=h?.v;if(h!==void 0&&u!==L)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(f,l){if(l===mt)return!0;var o=n.get(l),c=o!==void 0&&o.v!==L||Reflect.has(f,l);if(o!==void 0||y!==null&&(!c||Re(f,l)?.writable)){o===void 0&&(o=a(()=>{var u=c?Xe(f[l]):L,d=ke(u);return d}),n.set(l,o));var h=S(o);if(h===L)return!1}return c},set(f,l,o,c){var h=n.get(l),u=l in f;if(r&&l==="length")for(var d=o;d<h.v;d+=1){var g=n.get(d+"");g!==void 0?ge(g,L):d in f&&(g=a(()=>ke(L)),n.set(d+"",g))}if(h===void 0)(!u||Re(f,l)?.writable)&&(h=a(()=>ke(void 0)),ge(h,Xe(o)),n.set(l,h));else{u=h.v!==L;var b=a(()=>Xe(o));ge(h,b)}var v=Reflect.getOwnPropertyDescriptor(f,l);if(v?.set&&v.set.call(c,o),!u){if(r&&typeof l=="string"){var $=n.get("length"),T=Number(l);Number.isInteger(T)&&T>=$.v&&ge($,T+1)}lt(i)}return!0},ownKeys(f){S(i);var l=Reflect.ownKeys(f).filter(h=>{var u=n.get(h);return u===void 0||u.v!==L});for(var[o,c]of n)c.v!==L&&!(o in f)&&l.push(o);return l},setPrototypeOf(){Fr()}})}var Pn,Mn,In,Fn;function Vt(){if(Pn===void 0){Pn=window,Mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;In=Re(t,"firstChild").get,Fn=Re(t,"nextSibling").get,hn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),hn(n)&&(n.__t=void 0)}}function F(e=""){return document.createTextNode(e)}function Te(e){return In.call(e)}function Z(e){return Fn.call(e)}function Be(e,t){if(!p)return Te(e);var n=Te(w);if(n===null)n=w.appendChild(F());else if(t&&n.nodeType!==gt){var r=F();return n?.before(r),D(r),r}return D(n),n}function Ze(e,t=!1){if(!p){var n=Te(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t&&w?.nodeType!==gt){var r=F();return w?.before(r),D(r),r}return w}function ae(e,t=1,n=!1){let r=p?w:e;for(var i;t--;)i=r,r=Z(r);if(!p)return r;if(n&&r?.nodeType!==gt){var s=F();return r===null?i?.after(s):r.before(s),D(s),s}return D(r),r}function jn(e){e.textContent=""}function Bn(){return!1}function Yt(e){var t=m,n=y;M(null),ee(null);try{return e()}finally{M(t),ee(n)}}function si(e){y===null&&(m===null&&Dr(),Rr()),qe&&Or()}function ai(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function le(e,t,n){var r=y;r!==null&&(r.f&Y)!==0&&(e|=Y);var i={ctx:G,deps:null,nodes_start:null,nodes_end:null,f:e|U|ne,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ut(i),i.f|=pt}catch(f){throw j(i),f}else t!==null&&Fe(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&De)===0&&(s=s.first,(e&he)!==0&&(e&We)!==0&&s!==null&&(s.f|=We)),s!==null&&(s.parent=r,r!==null&&ai(s,r),m!==null&&(m.f&R)!==0&&(e&be)===0)){var a=m;(a.effects??=[]).push(s)}return i}function Et(){return m!==null&&!oe}function qn(e){const t=le(Pt,null,!1);return I(t,P),t.teardown=e,t}function li(e){si();var t=y.f,n=!m&&(t&ve)!==0&&(t&pt)===0;if(n){var r=G;(r.e??=[]).push(e)}else return Hn(e)}function Hn(e){return le(Lt|Cr,e,!1)}function fi(e){re.ensure();const t=le(be|De,e,!0);return()=>{j(t)}}function oi(e){re.ensure();const t=le(be|De,e,!0);return(n={})=>new Promise(r=>{n.outro?Qe(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function ui(e){return le(Lt,e,!1)}function ci(e){return le(Ft|De,e,!0)}function Un(e,t=0){return le(Pt|t,e,!0)}function fe(e,t=[],n=[],r=[]){ei(r,t,n,i=>{le(Pt,()=>e(...i.map(S)),!0)})}function kt(e,t=0){var n=le(he|t,e,!0);return n}function Q(e){return le(ve|De,e,!0)}function Vn(e){var t=e.teardown;if(t!==null){const n=qe,r=m;Kn(!0),M(null);try{t.call(null)}finally{Kn(n),M(r)}}}function Yn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Yt(()=>{i.abort(ze)});var r=n.next;(n.f&be)!==0?n.parent=null:j(n,t),n=r}}function di(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ve)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&Mt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(hi(e.nodes_start,e.nodes_end),n=!0),Yn(e,t&&!n),At(e,0),I(e,pe);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Vn(e);var i=e.parent;i!==null&&i.first!==null&&Wn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function hi(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function Wn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Qe(e,t,n=!0){var r=[];Wt(e,r,!0),zn(r,()=>{n&&j(e),t&&t()})}function zn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Wt(e,t,n){if((e.f&Y)===0){if(e.f^=Y,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&We)!==0||(r.f&ve)!==0&&(e.f&he)!==0;Wt(r,t,s?n:!1),r=i}}}function zt(e){Jn(e,!0)}function Jn(e,t){if((e.f&Y)!==0){e.f^=Y,(e.f&P)===0&&(I(e,U),Fe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&We)!==0||(n.f&ve)!==0;Jn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Gn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Z(n);t.append(n),n=i}}let Ae=!1;function Tt(e){Ae=e}let qe=!1;function Kn(e){qe=e}let m=null,oe=!1;function M(e){m=e}let y=null;function ee(e){y=e}let we=null;function vi(e){m!==null&&(we===null?we=[e]:we.push(e))}let B=null,z=0,te=null;function _i(e){te=e}let Xn=1,ft=0,He=ft;function Zn(e){He=e}function Qn(){return++Xn}function ot(e){var t=e.f;if((t&U)!==0)return!0;if(t&R&&(e.f&=~Le),(t&_e)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(ot(s)&&On(s),s.wv>e.wv)return!0}(t&ne)!==0&&K===null&&I(e,P)}return!1}function er(e,t,n=!0){var r=e.reactions;if(r!==null&&!we?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&R)!==0?er(s,t,!1):t===s&&(n?I(s,U):(s.f&P)!==0&&I(s,_e),Fe(s))}}function tr(e){var t=B,n=z,r=te,i=m,s=we,a=G,f=oe,l=He,o=e.f;B=null,z=0,te=null,m=(o&(ve|be))===0?e:null,we=null,Je(e.ctx),oe=!1,He=++ft,e.ac!==null&&(Yt(()=>{e.ac.abort(ze)}),e.ac=null);try{e.f|=It;var c=e.fn,h=c(),u=e.deps;if(B!==null){var d;if(At(e,z),u!==null&&z>0)for(u.length=z+B.length,d=0;d<B.length;d++)u[z+d]=B[d];else e.deps=u=B;if(Ae&&Et()&&(e.f&ne)!==0)for(d=z;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&z<u.length&&(At(e,z),u.length=z);if($n()&&te!==null&&!oe&&u!==null&&(e.f&(R|_e|U))===0)for(d=0;d<te.length;d++)er(te[d],e);return i!==null&&i!==e&&(ft++,te!==null&&(r===null?r=te:r.push(...te))),(e.f&$e)!==0&&(e.f^=$e),h}catch(g){return En(g)}finally{e.f^=It,B=t,z=n,te=r,m=i,we=s,Je(a),oe=f,He=l}}function pi(e,t){let n=t.reactions;if(n!==null){var r=xr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&R)!==0&&(B===null||!B.includes(t))&&(I(t,_e),(t.f&ne)!==0&&(t.f^=ne,t.f&=~Le),Nn(t),At(t,0))}function At(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)pi(e,n[r])}function ut(e){var t=e.f;if((t&pe)===0){I(e,P);var n=y,r=Ae;y=e,Ae=!0;try{(t&he)!==0?di(e):Yn(e),Vn(e);var i=tr(e);e.teardown=typeof i=="function"?i:null,e.wv=Xn;var s;Rt&&Vr&&(e.f&U)!==0&&e.deps}finally{Ae=r,y=n}}}function S(e){var t=e.f,n=(t&R)!==0;if(m!==null&&!oe){var r=y!==null&&(y.f&pe)!==0;if(!r&&!we?.includes(e)){var i=m.deps;if((m.f&It)!==0)e.rv<ft&&(e.rv=ft,B===null&&i!==null&&i[z]===e?z++:B===null?B=[e]:B.includes(e)||B.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:s.includes(m)||s.push(m)}}}if(qe){if(Ee.has(e))return Ee.get(e);if(n){var a=e,f=a.v;return((a.f&P)===0&&a.reactions!==null||rr(a))&&(f=Ht(a)),Ee.set(a,f),f}}else n&&!K?.has(e)&&(a=e,ot(a)&&On(a),Ae&&Et()&&(a.f&ne)===0&&nr(a));if(K?.has(e))return K.get(e);if((e.f&$e)!==0)throw e.v;return e.v}function nr(e){if(e.deps!==null){e.f^=ne;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&R)!==0&&(t.f&ne)===0&&nr(t)}}function rr(e){if(e.v===L)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ee.has(t)||(t.f&R)!==0&&rr(t))return!0;return!1}function ir(e){var t=oe;try{return oe=!0,e()}finally{oe=t}}const mi=-7169;function I(e,t){e.f=e.f&mi|t}const gi=new Set,sr=new Set;function wi(e,t,n,r={}){function i(s){if(r.capture||ct.call(t,s),!s.cancelBubble)return Yt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?it(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Jt(e,t,n,r,i){var s={capture:r,passive:i},a=wi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&qn(()=>{t.removeEventListener(e,a,s)})}let ar=null;function ct(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;ar=e;var a=0,f=ar===e&&e.__root;if(f){var l=i.indexOf(f);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;l<=o&&(a=l)}if(s=i[a]||e.target,s!==t){vt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=m,h=y;M(null),ee(null);try{for(var u,d=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var b=s["__"+r];b!=null&&(!s.disabled||e.target===s)&&b.call(s,e)}catch(v){u?d.push(v):u=v}if(e.cancelBubble||g===t||g===null)break;s=g}if(u){for(let v of d)queueMicrotask(()=>{throw v});throw u}}finally{e.__root=t,delete e.currentTarget,M(c),ee(h)}}}function yi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ce(e,t){var n=y;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ue(e,t){var n=(t&yr)!==0,r=(t&br)!==0,i,s=!e.startsWith("<!>");return()=>{if(p)return Ce(w,null),w;i===void 0&&(i=yi(s?e:"<!>"+e),n||(i=Te(i)));var a=r||Mn?document.importNode(i,!0):i.cloneNode(!0);if(n){var f=Te(a),l=a.lastChild;Ce(f,l)}else Ce(a,a);return a}}function bi(e=""){if(!p){var t=F(e+"");return Ce(t,t),t}var n=w;return n.nodeType!==gt&&(n.before(n=F()),D(n)),Ce(n,n),n}function Gt(){if(p)return Ce(w,null),w;var e=document.createDocumentFragment(),t=document.createComment(""),n=F();return e.append(t,n),Ce(t,n),e}function q(e,t){if(p){var n=y;((n.f&pt)===0||n.nodes_end===null)&&(n.nodes_end=w),rt();return}e!==null&&e.before(t)}const $i=["touchstart","touchmove"];function xi(e){return $i.includes(e)}function Kt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function lr(e,t){return fr(e,t)}function Ei(e,t){Vt(),t.intro=t.intro??!1;const n=t.target,r=p,i=w;try{for(var s=Te(n);s&&(s.nodeType!==Pe||s.data!==un);)s=Z(s);if(!s)throw Ye;W(!0),D(s);const a=fr(e,{...t,anchor:s});return W(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(f=>f.startsWith("https://svelte.dev/e/")))throw a;return a!==Ye&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Pr(),Vt(),jn(n),W(!1),lr(e,t)}finally{W(r),D(i)}}const et=new Map;function fr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){Vt();var f=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!f.has(d)){f.add(d);var g=xi(d);t.addEventListener(d,ct,{passive:g});var b=et.get(d);b===void 0?(document.addEventListener(d,ct,{passive:g}),et.set(d,1)):et.set(d,b+1)}}};l(Dt(gi)),sr.add(l);var o=void 0,c=oi(()=>{var h=n??t.appendChild(F());return Gr(h,{pending:()=>{}},u=>{if(s){yn({});var d=G;d.c=s}if(i&&(r.$$events=i),p&&Ce(u,null),o=e(u,r)||{},p&&(y.nodes_end=w,w===null||w.nodeType!==Pe||w.data!==Ot))throw wt(),Ye;s&&bn()}),()=>{for(var u of f){t.removeEventListener(u,ct);var d=et.get(u);--d===0?(document.removeEventListener(u,ct),et.delete(u)):et.set(u,d)}sr.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return Xt.set(o,c),o}let Xt=new WeakMap;function ki(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}class Ti{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#f=!0;constructor(t,n=!0){this.anchor=t,this.#f=n}#s=()=>{var t=A;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)zt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const f=this.#n.get(a);f&&(j(f.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const f=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();Gn(a,o),o.append(F()),this.#n.set(s,{effect:a,fragment:o})}else j(a);this.#r.delete(s),this.#e.delete(s)};this.#f||!r?(this.#r.add(s),Qe(a,f,!1)):f()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(j(i.effect),this.#n.delete(r))};ensure(t,n){var r=A,i=Bn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=F();s.append(a),this.#n.set(t,{effect:Q(()=>n(a)),fragment:s})}else this.#e.set(t,Q(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[f,l]of this.#e)f===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[f,l]of this.#n)f===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else p&&(this.anchor=w),this.#s()}}function tt(e,t,n=!1){p&&rt();var r=new Ti(e),i=n?We:0;function s(a,f){if(p){const o=mn(e)===dt;if(a===o){var l=yt();D(l),r.anchor=l,W(!1),r.ensure(a,f),W(!0);return}}r.ensure(a,f)}kt(()=>{var a=!1;t((f,l=!0)=>{a=!0,s(l,f)}),a||s(!1,null)},i)}function Zt(e,t,n,r,i){p&&rt();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n==="default"?"children":n],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>r:r)}function Ai(e,t){let n=null,r=p;var i;if(p){n=w;for(var s=Te(document.head);s!==null&&(s.nodeType!==Pe||s.data!==e);)s=Z(s);if(s===null)W(!1);else{var a=Z(s);s.remove(),D(a)}}p||(i=document.head.appendChild(F()));try{kt(()=>t(i),Mt)}finally{r&&(W(!0),D(n))}}function Ci(e,t){ui(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Si(e,t,n){var r=""+e;return r}function Qt(e,t,n,r,i,s){var a=e.__className;if(p||a!==n||a===void 0){var f=Si(n);(!p||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=n}return s}const Ni=Symbol("is custom element"),Oi=Symbol("is html");function or(e,t,n,r){var i=Ri(e);p&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Sr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ur(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function nt(e,t,n){var r=m,i=y;let s=p;p&&W(!1),M(null),ee(null);try{t!=="style"&&(en.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ur(e).includes(t):n&&typeof n=="object")?e[t]=n:or(e,t,n==null?n:String(n))}finally{M(r),ee(i),s&&W(!0)}}function Ri(e){return e.__attributes??={[Ni]:e.nodeName.includes("-"),[Oi]:e.namespaceURI===$r}}var en=new Map;function ur(e){var t=e.getAttribute("is")||e.nodeName,n=en.get(t);if(n)return n;en.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Er(i);for(var a in r)r[a].set&&n.push(a);i=dn(i)}return n}let Ct=!1;function Di(e){var t=Ct;try{return Ct=!1,[e(),Ct]}finally{Ct=t}}function Ue(e,t,n,r){var i=(n&gr)!==0,s=(n&wr)!==0,a=r,f=!0,l=()=>(f&&(f=!1,a=s?ir(r):r),a),o;if(i){var c=mt in e||pn in e;o=Re(e,t)?.set??(c&&t in e?T=>e[t]=T:void 0)}var h,u=!1;i?[h,u]=Di(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=l(),o&&(Mr(),o(h)));var d;if(d=()=>{var T=e[t];return T===void 0?l():(f=!0,T)},(n&mr)===0)return d;if(o){var g=e.$$legacy;return(function(T,H){return arguments.length>0?((!H||g||u)&&o(H?d():T),T):d()})}var b=!1,v=((n&pr)!==0?qt:Sn)(()=>(b=!1,d()));i&&S(v);var $=y;return(function(T,H){if(arguments.length>0){const k=H?S(v):i?Xe(T):T;return ge(v,k),b=!0,a!==void 0&&(a=k),T}return qe&&b||($.f&pe)!==0?v.v:S(v)})}function Li(e){return new Pi(e)}class Pi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var f=Dn(a,!1,!1);return n.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return S(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===pn?!0:(S(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,f){return ge(n.get(a)??r(a,f),f),Reflect.set(s,a,f)}});this.#e=(t.hydrate?Ei:lr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&xe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||vt(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ki(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let cr;typeof HTMLElement=="function"&&(cr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),q(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Mi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=St(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Li({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fi(()=>{Un(()=>{this.$$r=!0;for(const r of ht(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=St(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=St(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ht(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function St(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Mi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Ii(e,t,n,r,i,s){let a=class extends cr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ht(t).map(f=>(t[f].attribute||f).toLowerCase())}};return ht(t).forEach(f=>{vt(a.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(l){l=St(f,l,t),this.$$d[f]=l;var o=this.$$c;if(o){var c=Re(o,f)?.get;c?o[f]=l:o.$set({[f]:l})}}})}),r.forEach(f=>{vt(a.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=a,a}const Fi={version:"0.66.0"};var Ve={},dr;function ji(){if(dr)return Ve;dr=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.LanguageTranslator=void 0,Ve.getChildStyleToPass=e,Ve.addComponent=t;function e(r,i){var s,a,f="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||a===void 0)&&a.length))for(var l=function(u){var d=i?.filter(function(g){return g.name===u&&g.defaultValue!==r[u]});d&&(f+="".concat(u,":").concat(r[u],";"))},o=0,c=Object.keys(r);o<c.length;o++){var h=c[o];l(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return f}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var f=document.createElement("script");if(f.id=s+"-script",f.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)f.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];f.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(f)}catch(o){console.warn(o)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,f="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(f=navigator.languages[0].split("-")[0].toLowerCase()),f},r.getDictionaryWord=function(i,s,a){var f;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((f=s[a])===null||f===void 0)&&f[i]))return s[a][i];var l="",o=r.getDefaultLang();if(!a||o!==a){var c=s?.[o];c?.[i]&&(l=c[i])}return l},r.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var f=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return f.format(i)},r})();return Ve.LanguageTranslator=n,Ve}var Bi=ji(),qi=ue('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-127py2f"/>'),Hi=ue('<img style="height:40px;margin-right:10px" alt="" class="svelte-127py2f"/>'),Ui=ue('<div style="margin-top:10px" class="svelte-127py2f"><!> </div>'),Vi=ue("<hb-sidenav-link></hb-sidenav-link>",2),Yi=ue("<hb-sidenav-link></hb-sidenav-link>",2),Wi=ue('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),zi=ue("<hb-sidenav-link></hb-sidenav-link>",2),Ji=ue('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),Gi=ue('<hr class="svelte-127py2f"/> <!>',1),Ki=ue('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-127py2f"><!> <div class="d-flex flex-column p-3 bg-light svelte-127py2f" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-127py2f"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-127py2f" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const Xi={hash:"svelte-127py2f",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-127py2f,
10
+ */.svelte-127py2f,
11
11
  .svelte-127py2f::before,
12
12
  .svelte-127py2f::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -143,5 +143,5 @@ ul.svelte-127py2f {margin-top:0;margin-bottom:1rem;}img.svelte-127py2f {vertical
143
143
  @media print {
144
144
  }#webcomponent.svelte-127py2f {font-family:"Roboto", sans-serif;}
145
145
  @media (min-width: 768px) {
146
- }:host {display:block;width:240px;height:100%;}`};function pr(e,t){xn(t,!0),Ni(e,es);let n=Ue(t,"id",7,""),r=Ue(t,"companylogouri",7,"https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"),i=Ue(t,"navlinks",23,()=>[]),s=Ue(t,"navpage",7,"home"),a=Ue(t,"groups",23,()=>[]),o=Ue(t,"companytitle",7,""),l=Ue(t,"enablefooter",7,!0);je({});let f=le("");fi(()=>{(!l()||l()==="no")&&l(!1);try{typeof a()=="string"&&a(JSON.parse(a())),typeof i()=="string"&&i(JSON.parse(i()))}catch{}});function c(p,m){t.$$host.dispatchEvent(new CustomEvent(p,{detail:m}))}function h(p){console.log(p),c("pageChange",{page:p})}Ui.addComponent({repoName:"@htmlbricks/hb-sidenav-link",version:qi.version});var u={get id(){return n()},set id(p=""){n(p),ke()},get companylogouri(){return r()},set companylogouri(p="https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"){r(p),ke()},get navlinks(){return i()},set navlinks(p=[]){i(p),ke()},get navpage(){return s()},set navpage(p="home"){s(p),ke()},get groups(){return a()},set groups(p=[]){a(p),ke()},get companytitle(){return o()},set companytitle(p=""){o(p),ke()},get enablefooter(){return l()},set enablefooter(p=!0){l(p),ke()}},d=Qi();Ci("127py2f",p=>{var m=Vi();B(p,m)});var g=Be(d);Qt(g,t,"test",{},null);var $=oe(g,2),v=Be($),x=Be(v);Qt(x,t,"header",{part:"header"},null);var T=oe(x,2);{var Y=p=>{var m=Wi(),W=Be(m);{var E=C=>{var ne=Yi();ue(()=>cr(ne,"src",r())),B(C,ne)};tt(W,C=>{r()&&C(E)})}var R=oe(W);De(m),ue(()=>Xt(R,` ${o()??""}`)),B(p,m)};tt(T,p=>{o()&&p(Y)})}De(v);var k=oe(v,2),we=Be(k);{var Ye=p=>{var m=Kt(),W=Ze(m);at(W,17,()=>i().filter(E=>!E.group),E=>E.key,(E,R)=>{var C=zi();tn(C,A(f)),ue(()=>nt(C,"navlink",JSON.stringify(A(R)))),ue(()=>nt(C,"navpage",s())),en(C,1,"svelte-127py2f"),Gt("pageChange",C,ne=>h(ne.detail.page)),B(E,C)}),B(p,m)};tt(we,p=>{i()?.length&&typeof i()=="object"&&i().filter(m=>!m.group)?.length&&p(Ye)})}var se=oe(we,2);{var he=p=>{var m=Kt(),W=Ze(m);at(W,17,a,E=>E.key,(E,R)=>{var C=Gi(),ne=Ze(C),rn=Be(ne,!0);De(ne);var sn=oe(ne,4);at(sn,17,()=>i().filter(z=>z.group&&z.group===A(R).key),z=>z.key,(z,an)=>{var J=Ji();tn(J,A(f)),ue(()=>nt(J,"navlink",JSON.stringify(A(an)))),ue(()=>nt(J,"navpage",s())),en(J,1,"svelte-127py2f"),Gt("pageChange",J,ln=>h(ln.detail.page)),B(z,J)}),ue(()=>Xt(rn,A(R).label)),B(E,C)}),B(p,m)};tt(se,p=>{a()?.length&&i().length&&typeof i()=="object"&&p(he)})}var Ne=oe(se,2);{var Ot=p=>{var m=Kt(),W=Ze(m);at(W,16,()=>i().filter(E=>E.group&&(!a()?.length||!a().map(R=>R.key).includes(E.group))).map(E=>E.group).filter((E,R,C)=>C.indexOf(E)===R),E=>E,(E,R)=>{var C=Xi(),ne=Ze(C),rn=Be(ne,!0);De(ne);var sn=oe(ne,4);at(sn,17,()=>i().filter(z=>z.group&&z.group===R),z=>z.key,(z,an)=>{var J=Ki();tn(J,A(f)),ue(()=>nt(J,"navlink",JSON.stringify(A(an)))),ue(()=>nt(J,"navpage",s())),en(J,1,"svelte-127py2f"),Gt("pageChange",J,ln=>h(ln.detail.page)),B(z,J)}),ue(()=>Xt(rn,R)),B(E,C)}),B(p,m)};tt(Ne,p=>{typeof i()=="object"&&i()?.length&&p(Ot)})}De(k);var xe=oe(k,2);{var dt=p=>{var m=Zi(),W=oe(Ze(m),2);Qt(W,t,"footer",{},E=>{var R=$i("footer");B(E,R)}),B(p,m)};tt(xe,p=>{l()&&p(dt)})}return De($),De(d),B(e,d),$n(u)}customElements.define("hb-sidebar-desktop",Bi(pr,{id:{},companylogouri:{},navlinks:{},navpage:{},groups:{},companytitle:{},enablefooter:{}},["test","header","footer"],[],!0)),on.Component=pr,Object.defineProperty(on,Symbol.toStringTag,{value:"Module"})})(this["sidebar-desktop"]=this["sidebar-desktop"]||{});
146
+ }:host {display:block;width:240px;height:100%;}`};function hr(e,t){yn(t,!0),Ci(e,Xi);let n=Ue(t,"id",7,""),r=Ue(t,"companylogouri",7,"https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"),i=Ue(t,"navlinks",23,()=>[]),s=Ue(t,"navpage",7,"home"),a=Ue(t,"groups",23,()=>[]),f=Ue(t,"companytitle",7,""),l=Ue(t,"enablefooter",7,!0);li(()=>{(!l()||l()==="no")&&l(!1);try{typeof a()=="string"&&a(JSON.parse(a())),typeof i()=="string"&&i(JSON.parse(i()))}catch{}});function o(_,E){t.$$host.dispatchEvent(new CustomEvent(_,{detail:E}))}function c(_){console.log(_),o("pageChange",{page:_})}Bi.addComponent({repoName:"@htmlbricks/hb-sidenav-link",version:Fi.version});var h={get id(){return n()},set id(_=""){n(_),xe()},get companylogouri(){return r()},set companylogouri(_="https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"){r(_),xe()},get navlinks(){return i()},set navlinks(_=[]){i(_),xe()},get navpage(){return s()},set navpage(_="home"){s(_),xe()},get groups(){return a()},set groups(_=[]){a(_),xe()},get companytitle(){return f()},set companytitle(_=""){f(_),xe()},get enablefooter(){return l()},set enablefooter(_=!0){l(_),xe()}},u=Ki();Ai("127py2f",_=>{var E=qi();q(_,E)});var d=Be(u);Zt(d,t,"test",{},null);var g=ae(d,2),b=Be(g),v=Be(b);Zt(v,t,"header",{part:"header"},null);var $=ae(v,2);{var T=_=>{var E=Ui(),C=Be(E);{var x=N=>{var V=Hi();fe(()=>or(V,"src",r())),q(N,V)};tt(C,N=>{r()&&N(x)})}var O=ae(C);Me(E),fe(()=>Kt(O,` ${f()??""}`)),q(_,E)};tt($,_=>{f()&&_(T)})}Me(b);var H=ae(b,2),k=Be(H);{var Se=_=>{var E=Gt(),C=Ze(E);at(C,17,()=>i().filter(x=>!x.group),x=>x.key,(x,O)=>{var N=Vi();fe(()=>nt(N,"navlink",JSON.stringify(S(O)))),fe(()=>nt(N,"navpage",s())),Qt(N,1,"svelte-127py2f"),Jt("pageChange",N,V=>c(V.detail.page)),q(x,N)}),q(_,E)};tt(k,_=>{i()?.length&&typeof i()=="object"&&i().filter(E=>!E.group)?.length&&_(Se)})}var Ne=ae(k,2);{var ce=_=>{var E=Gt(),C=Ze(E);at(C,17,a,x=>x.key,(x,O)=>{var N=Wi(),V=Ze(N),tn=Be(V,!0);Me(V);var nn=ae(V,4);at(nn,17,()=>i().filter(J=>J.group&&J.group===S(O).key),J=>J.key,(J,rn)=>{var ie=Yi();fe(()=>nt(ie,"navlink",JSON.stringify(S(rn)))),fe(()=>nt(ie,"navpage",s())),Qt(ie,1,"svelte-127py2f"),Jt("pageChange",ie,sn=>c(sn.detail.page)),q(J,ie)}),fe(()=>Kt(tn,S(O).label)),q(x,N)}),q(_,E)};tt(Ne,_=>{a()?.length&&i().length&&typeof i()=="object"&&_(ce)})}var de=ae(Ne,2);{var Oe=_=>{var E=Gt(),C=Ze(E);at(C,16,()=>i().filter(x=>x.group&&(!a()?.length||!a().map(O=>O.key).includes(x.group))).map(x=>x.group).filter((x,O,N)=>N.indexOf(x)===O),x=>x,(x,O)=>{var N=Ji(),V=Ze(N),tn=Be(V,!0);Me(V);var nn=ae(V,4);at(nn,17,()=>i().filter(J=>J.group&&J.group===O),J=>J.key,(J,rn)=>{var ie=zi();fe(()=>nt(ie,"navlink",JSON.stringify(S(rn)))),fe(()=>nt(ie,"navpage",s())),Qt(ie,1,"svelte-127py2f"),Jt("pageChange",ie,sn=>c(sn.detail.page)),q(J,ie)}),fe(()=>Kt(tn,O)),q(x,N)}),q(_,E)};tt(de,_=>{typeof i()=="object"&&i()?.length&&_(Oe)})}Me(H);var Nt=ae(H,2);{var ye=_=>{var E=Gi(),C=ae(Ze(E),2);Zt(C,t,"footer",{},x=>{var O=bi("footer");q(x,O)}),q(_,E)};tt(Nt,_=>{l()&&_(ye)})}return Me(g),Me(u),q(e,u),bn(h)}customElements.define("hb-sidebar-desktop",Ii(hr,{id:{},companylogouri:{},navlinks:{},navpage:{},groups:{},companytitle:{},enablefooter:{}},["test","header","footer"],[],!0)),an.Component=hr,Object.defineProperty(an,Symbol.toStringTag,{value:"Module"})})(this["sidebar-desktop"]=this["sidebar-desktop"]||{});
147
147
  //# sourceMappingURL=main.iife.js.map