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