@htmlbricks/hb-sidenav-link 0.61.53 → 0.61.54
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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Wt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Qe=1,rm=2,tm=16,em=1,mm=2,Jt="[",st="[!",jt="]",Fr={},S=Symbol(),Zt=!1;var Qt=Array.isArray,om=Array.prototype.indexOf,Et=Array.from,lt=Object.keys,dt=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,nm=Object.prototype,am=Array.prototype,im=Object.getPrototypeOf,re=Object.isExtensible;function sm(r){for(var t=0;t<r.length;t++)r[t]()}function te(){var r,t,e=new Promise((m,n)=>{r=m,t=n});return{promise:e,resolve:r,reject:t}}const G=2,pt=4,At=8,cr=16,gr=32,jr=64,bt=128,mr=512,O=1024,L=2048,ur=4096,U=8192,Er=16384,zt=32768,Lr=65536,ee=1<<17,Rt=1<<18,Br=1<<19,lm=1<<20,Jr=32768,Tt=1<<21,Ct=1<<22,Ar=1<<23,Bt=Symbol("$state"),dm=Symbol("legacy props"),qr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Nt=3,Nr=8;function pm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function bm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function cm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function gm(){throw new Error("https://svelte.dev/e/hydration_failed")}function um(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function hm(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xm(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ym(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function vt(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function wm(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function or(r){h=r}let x;function M(r){if(r===null)throw vt(),Fr;return x=r}function ft(){return M(rr(x))}function J(r){if(h){if(rr(x)!==null)throw vt(),Fr;x=r}}function _m(r=1){if(h){for(var t=r,e=x;t--;)e=rr(e);x=e}}function ct(r=!0){for(var t=0,e=x;;){if(e.nodeType===Nr){var m=e.data;if(m===jt){if(t===0)return e;t-=1}else(m===Jt||m===st)&&(t+=1)}var n=rr(e);r&&e.remove(),e=n}}function me(r){if(!r||r.nodeType!==Nr)throw vt(),Fr;return r.data}function oe(r){return r===this.v}function km(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ne(r){return!km(r,this.v)}let $m=!1,Z=null;function Xr(r){Z=r}function ae(r,t=!1,e){Z={p:Z,i:!1,c:null,e:null,s:r,x:null,l:null}}function ie(r){var t=Z,e=t.e;if(e!==null){t.e=null;for(var m of e)Ae(m)}return r!==void 0&&(t.x=r),t.i=!0,Z=t.p,r??{}}function se(){return!0}let Sr=[];function le(){var r=Sr;Sr=[],sm(r)}function St(r){if(Sr.length===0&&!Zr){var t=Sr;queueMicrotask(()=>{t===Sr&&le()})}Sr.push(r)}function jm(){for(;Sr.length>0;)le()}function de(r){var t=y;if(t===null)return g.f|=Ar,r;if((t.f&zt)===0){if((t.f&bt)===0)throw r;t.b.error(r)}else Ur(r,t)}function Ur(r,t){for(;t!==null;){if((t.f&bt)!==0)try{t.b.error(r);return}catch(e){r=e}t=t.parent}throw r}const gt=new Set;let A=null,H=null,lr=[],ut=null,Gt=!1,Zr=!1;class nr{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#a=[];#i=[];skipped_effects=new Set;is_fork=!1;process(t){lr=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#o(m,e);this.is_fork||this.#l(),this.#m>0||this.is_fork?(this.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects)):(A=null,be(e.render_effects),be(e.effects),this.#s?.resolve()),H=null}#o(t,e){t.f^=O;for(var m=t.first;m!==null;){var n=m.f,o=(n&(gr|jr))!==0,a=o&&(n&O)!==0,i=a||(n&U)!==0||this.skipped_effects.has(m);if((m.f&bt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!i&&m.fn!==null){o?m.f^=O:(n&pt)!==0?e.effects.push(m):ot(m)&&((m.f&cr)!==0&&e.block_effects.push(m),nt(m));var s=m.first;if(s!==null){m=s;continue}}var l=m.parent;for(m=m.next;m===null&&l!==null;)l===e.effect&&(this.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#n(t){for(const e of t)((e.f&L)!==0?this.#a:this.#i).push(e),I(e,O)}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Ar)===0&&(this.current.set(t,t.v),H?.set(t,t.v))}activate(){A=this,this.apply()}deactivate(){A=null,H=null}flush(){if(this.activate(),lr.length>0){if(pe(),A!==null&&A!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#l(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#d()}#d(){if(gt.size>1){this.previous.clear();var t=H,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of gt){if(n===this){e=!1;continue}const o=[];for(const[i,s]of this.current){if(n.current.has(i))if(e&&s!==n.current.get(i))n.current.set(i,s);else continue;o.push(i)}if(o.length===0)continue;const a=[...n.current.keys()].filter(i=>!this.current.has(i));if(a.length>0){const i=new Set,s=new Map;for(const l of o)ve(l,a,i,s);if(lr.length>0){A=n,n.apply();for(const l of lr)n.#o(l,m);lr=[],n.deactivate()}}}A=null,H=t}this.committed=!0,gt.delete(this)}increment(t){this.#e+=1,t&&(this.#m+=1)}decrement(t){this.#e-=1,t&&(this.#m-=1),this.revive()}revive(){for(const t of this.#a)I(t,L),Gr(t);for(const t of this.#i)I(t,ur),Gr(t);this.#a=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=te()).promise}static ensure(){if(A===null){const t=A=new nr;gt.add(A),Zr||nr.enqueue(()=>{A===t&&t.flush()})}return A}static enqueue(t){St(t)}apply(){}}function Qr(r){var t=Zr;Zr=!0;try{for(var e;;){if(jm(),lr.length===0&&(A?.flush(),lr.length===0))return ut=null,e;pe()}}finally{Zr=t}}function pe(){var r=Mr;Gt=!0;try{var t=0;for(Ge(!0);lr.length>0;){var e=nr.ensure();if(t++>1e3){var m,n;Em()}e.process(lr),zr.clear()}}finally{Gt=!1,Ge(r),ut=null}}function Em(){try{cm()}catch(r){Ur(r,ut)}}let hr=null;function be(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(Er|U))===0&&ot(m)&&(hr=new Set,nt(m),m.deps===null&&m.first===null&&m.nodes_start===null&&(m.teardown===null&&m.ac===null?Ce(m):m.fn=null),hr?.size>0)){zr.clear();for(const n of hr){if((n.f&(Er|U))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)hr.has(a)&&(hr.delete(a),o.push(a)),a=a.parent;for(let i=o.length-1;i>=0;i--){const s=o[i];(s.f&(Er|U))===0&&nt(s)}}hr.clear()}}hr=null}}function ve(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const n of r.reactions){const o=n.f;(o&G)!==0?ve(n,t,e,m):(o&(Ct|cr))!==0&&(o&L)===0&&fe(n,t,m)&&(I(n,L),Gr(n))}}function fe(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const n of r.deps){if(t.includes(n))return!0;if((n.f&G)!==0&&fe(n,t,e))return e.set(n,!0),!0}return e.set(r,!1),!1}function Gr(r){for(var t=ut=r;t.parent!==null;){t=t.parent;var e=t.f;if(Gt&&t===y&&(e&cr)!==0&&(e&Rt)===0)return;if((e&(jr|gr))!==0){if((e&O)===0)return;t.f^=O}}lr.push(t)}function Am(r){let t=0,e=Or(0),m;return()=>{xt()&&(w(e),ze(()=>(t===0&&(m=Wm(()=>r(()=>tt(e)))),t+=1,()=>{St(()=>{t-=1,t===0&&(m?.(),m=void 0,tt(e))})})))}}var zm=Lr|Br|bt;function Rm(r,t,e){new Tm(r,t,e)}class Tm{parent;#t=!1;#r;#e=h?x:null;#m;#s;#a;#i=null;#o=null;#n=null;#l=null;#d=null;#v=0;#p=0;#f=!1;#b=null;#x=Am(()=>(this.#b=Or(this.#v),()=>{this.#b=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=y.b,this.#t=!!this.#m.pending,this.#a=yt(()=>{if(y.b=this,h){const o=this.#e;ft(),o.nodeType===Nr&&o.data===st?this.#w():this.#y()}else{var n=this.#u();try{this.#i=tr(()=>m(n))}catch(o){this.error(o)}this.#p>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},zm),h&&(this.#r=x)}#y(){try{this.#i=tr(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#o=tr(()=>t(this.#r)),nr.enqueue(()=>{var e=this.#u();this.#i=this.#c(()=>(nr.ensure(),tr(()=>this.#s(e)))),this.#p>0?this.#g():(Hr(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=Q(),this.#r.before(this.#d),t=this.#d),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#m.pending}#c(t){var e=y,m=g,n=Z;br(this.#a),q(this.#a),Xr(this.#a.ctx);try{return t()}catch(o){return de(o),null}finally{br(e),q(m),Xr(n)}}#g(){const t=this.#m.pending;this.#i!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Se(this.#i,this.#l)),this.#o===null&&(this.#o=tr(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#p+=t,this.#p===0&&(this.#t=!1,this.#o&&Hr(this.#o,()=>{this.#o=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#v+=t,this.#b&&rt(this.#b,this.#v)}get_effect_pending(){return this.#x(),w(this.#b)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#i&&(D(this.#i),this.#i=null),this.#o&&(D(this.#o),this.#o=null),this.#n&&(D(this.#n),this.#n=null),h&&(M(this.#e),_m(),M(ct()));var n=!1,o=!1;const a=()=>{if(n){wm();return}n=!0,o&&ym(),nr.ensure(),this.#v=0,this.#n!==null&&Hr(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#i=this.#c(()=>(this.#f=!1,tr(()=>this.#s(this.#r)))),this.#p>0?this.#g():this.#t=!1};var i=g;try{q(null),o=!0,e?.(t,a),o=!1}catch(s){Ur(s,this.#a&&this.#a.parent)}finally{q(i)}m&&St(()=>{this.#n=this.#c(()=>{nr.ensure(),this.#f=!0;try{return tr(()=>{m(this.#r,()=>t,()=>a)})}catch(s){return Ur(s,this.#a.parent),null}finally{this.#f=!1}})})}}function Cm(r,t,e,m){const n=Ot;if(e.length===0&&r.length===0){m(t.map(n));return}var o=A,a=y,i=Bm();function s(){Promise.all(e.map(l=>Nm(l))).then(l=>{i();try{m([...t.map(n),...l])}catch(b){(a.f&Er)===0&&Ur(b,a)}o?.deactivate(),ht()}).catch(l=>{Ur(l,a)})}r.length>0?Promise.all(r).then(()=>{i();try{return s()}finally{o?.deactivate(),ht()}}):s()}function Bm(){var r=y,t=g,e=Z,m=A;return function(o=!0){br(r),q(t),Xr(e),o&&m?.activate()}}function ht(){br(null),q(null),Xr(null)}function Ot(r){var t=G|L,e=g!==null&&(g.f&G)!==0?g:null;return y!==null&&(y.f|=Br),{ctx:Z,deps:null,effects:null,equals:oe,f:t,fn:r,reactions:null,rv:0,v:S,wv:0,parent:e??y,ac:null}}function Nm(r,t){let e=y;e===null&&pm();var m=e.b,n=void 0,o=Or(S),a=!g,i=new Map;return qm(()=>{var s=te();n=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===A&&l.committed&&l.deactivate(),ht()})}catch(d){s.reject(d),ht()}var l=A;if(a){var b=!m.is_pending();m.update_pending_count(1),l.increment(b),i.get(l)?.reject(qr),i.delete(l),i.set(l,s)}const f=(d,p=void 0)=>{if(l.activate(),p)p!==qr&&(o.f|=Ar,rt(o,p));else{(o.f&Ar)!==0&&(o.f^=Ar),rt(o,d);for(const[v,c]of i){if(i.delete(v),v===l)break;c.reject(qr)}}a&&(m.update_pending_count(-1),l.decrement(b))};s.promise.then(f,d=>f(null,d||"unknown"))}),Im(()=>{for(const s of i.values())s.reject(qr)}),new Promise(s=>{function l(b){function f(){b===n?s(o):l(n)}b.then(f,f)}l(n)})}function Sm(r){const t=Ot(r);return t.equals=ne,t}function ce(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)D(t[e])}}function Gm(r){for(var t=r.parent;t!==null;){if((t.f&G)===0)return t;t=t.parent}return null}function Mt(r){var t,e=y;br(Gm(r));try{r.f&=~Jr,ce(r),t=Fe(r)}finally{br(e)}return t}function ge(r){var t=Mt(r);if(r.equals(t)||(r.v=t,r.wv=Ie()),!Dr)if(H!==null)xt()&&H.set(r,r.v);else{var e=(r.f&mr)===0?ur:O;I(r,e)}}let Dt=new Set;const zr=new Map;let ue=!1;function Or(r,t){var e={f:0,v:r,reactions:null,equals:oe,rv:0,wv:0};return e}function Rr(r,t){const e=Or(r);return Hm(e),e}function he(r,t=!1,e=!0){const m=Or(r);return t||(m.equals=ne),m}function xr(r,t,e=!1){g!==null&&(!pr||(g.f&ee)!==0)&&se()&&(g.f&(G|cr|Ct|ee))!==0&&!wr?.includes(r)&&xm();let m=e?et(t):t;return rt(r,m)}function rt(r,t){if(!r.equals(t)){var e=r.v;Dr?zr.set(r,t):zr.set(r,e),r.v=t;var m=nr.ensure();m.capture(r,e),(r.f&G)!==0&&((r.f&L)!==0&&Mt(r),I(r,(r.f&mr)!==0?O:ur)),r.wv=Ie(),xe(r,L),y!==null&&(y.f&O)!==0&&(y.f&(gr|jr))===0&&(er===null?Vm([r]):er.push(r)),!m.is_fork&&Dt.size>0&&!ue&&Om()}return t}function Om(){ue=!1;const r=Array.from(Dt);for(const t of r)(t.f&O)!==0&&I(t,ur),ot(t)&&nt(t);Dt.clear()}function tt(r){xr(r,r.v+1)}function xe(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n],a=o.f,i=(a&L)===0;if(i&&I(o,t),(a&G)!==0){var s=o;H?.delete(s),(a&Jr)===0&&(a&mr&&(o.f|=Jr),xe(s,ur))}else i&&((a&cr)!==0&&hr!==null&&hr.add(o),Gr(o))}}function et(r){if(typeof r!="object"||r===null||Bt in r)return r;const t=im(r);if(t!==nm&&t!==am)return r;var e=new Map,m=Qt(r),n=Rr(0),o=Ir,a=i=>{if(Ir===o)return i();var s=g,l=Ir;q(null),De(o);var b=i();return q(s),De(l),b};return m&&e.set("length",Rr(r.length)),new Proxy(r,{defineProperty(i,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&um();var b=e.get(s);return b===void 0?b=a(()=>{var f=Rr(l.value);return e.set(s,f),f}):xr(b,l.value,!0),!0},deleteProperty(i,s){var l=e.get(s);if(l===void 0){if(s in i){const b=a(()=>Rr(S));e.set(s,b),tt(n)}}else xr(l,S),tt(n);return!0},get(i,s,l){if(s===Bt)return r;var b=e.get(s),f=s in i;if(b===void 0&&(!f||Yr(i,s)?.writable)&&(b=a(()=>{var p=et(f?i[s]:S),v=Rr(p);return v}),e.set(s,b)),b!==void 0){var d=w(b);return d===S?void 0:d}return Reflect.get(i,s,l)},getOwnPropertyDescriptor(i,s){var l=Reflect.getOwnPropertyDescriptor(i,s);if(l&&"value"in l){var b=e.get(s);b&&(l.value=w(b))}else if(l===void 0){var f=e.get(s),d=f?.v;if(f!==void 0&&d!==S)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(i,s){if(s===Bt)return!0;var l=e.get(s),b=l!==void 0&&l.v!==S||Reflect.has(i,s);if(l!==void 0||y!==null&&(!b||Yr(i,s)?.writable)){l===void 0&&(l=a(()=>{var d=b?et(i[s]):S,p=Rr(d);return p}),e.set(s,l));var f=w(l);if(f===S)return!1}return b},set(i,s,l,b){var f=e.get(s),d=s in i;if(m&&s==="length")for(var p=l;p<f.v;p+=1){var v=e.get(p+"");v!==void 0?xr(v,S):p in i&&(v=a(()=>Rr(S)),e.set(p+"",v))}if(f===void 0)(!d||Yr(i,s)?.writable)&&(f=a(()=>Rr(void 0)),xr(f,et(l)),e.set(s,f));else{d=f.v!==S;var c=a(()=>et(l));xr(f,c)}var u=Reflect.getOwnPropertyDescriptor(i,s);if(u?.set&&u.set.call(b,l),!d){if(m&&typeof s=="string"){var K=e.get("length"),$=Number(s);Number.isInteger($)&&$>=K.v&&xr(K,$+1)}tt(n)}return!0},ownKeys(i){w(n);var s=Reflect.ownKeys(i).filter(f=>{var d=e.get(f);return d===void 0||d.v!==S});for(var[l,b]of e)b.v!==S&&!(l in i)&&s.push(l);return s},setPrototypeOf(){hm()}})}var ye,we,_e,ke;function It(){if(ye===void 0){ye=window,we=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;_e=Yr(t,"firstChild").get,ke=Yr(t,"nextSibling").get,re(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),re(e)&&(e.__t=void 0)}}function Q(r=""){return document.createTextNode(r)}function Tr(r){return _e.call(r)}function rr(r){return ke.call(r)}function ar(r,t){if(!h)return Tr(r);var e=Tr(x);if(e===null)e=x.appendChild(Q());else if(t&&e.nodeType!==Nt){var m=Q();return e?.before(m),M(m),m}return M(e),e}function Pt(r,t=!1){if(!h){var e=Tr(r);return e instanceof Comment&&e.data===""?rr(e):e}if(t&&x?.nodeType!==Nt){var m=Q();return x?.before(m),M(m),m}return x}function ir(r,t=1,e=!1){let m=h?x:r;for(var n;t--;)n=m,m=rr(m);if(!h)return m;if(e&&m?.nodeType!==Nt){var o=Q();return m===null?n?.after(o):m.before(o),M(o),o}return M(m),m}function $e(r){r.textContent=""}function je(){return!1}function Ee(r){var t=g,e=y;q(null),br(null);try{return r()}finally{q(t),br(e)}}function Mm(r){y===null&&(g===null&&fm(),vm()),Dr&&bm()}function Dm(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function dr(r,t,e,m=!0){var n=y;n!==null&&(n.f&U)!==0&&(r|=U);var o={ctx:Z,deps:null,nodes_start:null,nodes_end:null,f:r|L|mr,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{nt(o),o.f|=zt}catch(s){throw D(o),s}else t!==null&&Gr(o);if(m){var a=o;if(e&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Br)===0&&(a=a.first,(r&cr)!==0&&(r&Lr)!==0&&a!==null&&(a.f|=Lr)),a!==null&&(a.parent=n,n!==null&&Dm(a,n),g!==null&&(g.f&G)!==0&&(r&jr)===0)){var i=g;(i.effects??=[]).push(a)}}return o}function xt(){return g!==null&&!pr}function Im(r){const t=dr(At,null,!1);return I(t,O),t.teardown=r,t}function Pm(r){Mm();var t=y.f,e=!g&&(t&gr)!==0&&(t&zt)===0;if(e){var m=Z;(m.e??=[]).push(r)}else return Ae(r)}function Ae(r){return dr(pt|lm,r,!1)}function Fm(r){nr.ensure();const t=dr(jr|Br,r,!0);return()=>{D(t)}}function Ym(r){nr.ensure();const t=dr(jr|Br,r,!0);return(e={})=>new Promise(m=>{e.outro?Hr(t,()=>{D(t),m(void 0)}):(D(t),m(void 0))})}function Lm(r){return dr(pt,r,!1)}function qm(r){return dr(Ct|Br,r,!0)}function ze(r,t=0){return dr(At|t,r,!0)}function yr(r,t=[],e=[],m=[],n=!1){Cm(m,t,e,o=>{dr(n?pt:At,()=>r(...o.map(w)),!0)})}function yt(r,t=0){var e=dr(cr|t,r,!0);return e}function tr(r,t=!0){return dr(gr|Br,r,!0,t)}function Re(r){var t=r.teardown;if(t!==null){const e=Dr,m=g;Oe(!0),q(null);try{t.call(null)}finally{Oe(e),q(m)}}}function Te(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const n=e.ac;n!==null&&Ee(()=>{n.abort(qr)});var m=e.next;(e.f&jr)!==0?e.parent=null:D(e,t),e=m}}function Xm(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&gr)===0&&D(t),t=e}}function D(r,t=!0){var e=!1;(t||(r.f&Rt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Um(r.nodes_start,r.nodes_end),e=!0),Te(r,t&&!e),wt(r,0),I(r,Er);var m=r.transitions;if(m!==null)for(const o of m)o.stop();Re(r);var n=r.parent;n!==null&&n.first!==null&&Ce(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function Um(r,t){for(;r!==null;){var e=r===t?null:rr(r);r.remove(),r=e}}function Ce(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Hr(r,t,e=!0){var m=[];Ft(r,m,!0),Be(m,()=>{e&&D(r),t&&t()})}function Be(r,t){var e=r.length;if(e>0){var m=()=>--e||t();for(var n of r)n.out(m)}else t()}function Ft(r,t,e){if((r.f&U)===0){if(r.f^=U,r.transitions!==null)for(const a of r.transitions)(a.is_global||e)&&t.push(a);for(var m=r.first;m!==null;){var n=m.next,o=(m.f&Lr)!==0||(m.f&gr)!==0&&(r.f&cr)!==0;Ft(m,t,o?e:!1),m=n}}}function Yt(r){Ne(r,!0)}function Ne(r,t){if((r.f&U)!==0){r.f^=U,(r.f&O)===0&&(I(r,L),Gr(r));for(var e=r.first;e!==null;){var m=e.next,n=(e.f&Lr)!==0||(e.f&gr)!==0;Ne(e,n?t:!1),e=m}if(r.transitions!==null)for(const o of r.transitions)(o.is_global||t)&&o.in()}}function Se(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var n=e===m?null:rr(e);t.append(e),e=n}}let Mr=!1;function Ge(r){Mr=r}let Dr=!1;function Oe(r){Dr=r}let g=null,pr=!1;function q(r){g=r}let y=null;function br(r){y=r}let wr=null;function Hm(r){g!==null&&(wr===null?wr=[r]:wr.push(r))}let P=null,V=0,er=null;function Vm(r){er=r}let Me=1,mt=0,Ir=mt;function De(r){Ir=r}function Ie(){return++Me}function ot(r){var t=r.f;if((t&L)!==0)return!0;if(t&G&&(r.f&=~Jr),(t&ur)!==0){var e=r.deps;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n];if(ot(o)&&ge(o),o.wv>r.wv)return!0}(t&mr)!==0&&H===null&&I(r,O)}return!1}function Pe(r,t,e=!0){var m=r.reactions;if(m!==null&&!wr?.includes(r))for(var n=0;n<m.length;n++){var o=m[n];(o.f&G)!==0?Pe(o,t,!1):t===o&&(e?I(o,L):(o.f&O)!==0&&I(o,ur),Gr(o))}}function Fe(r){var t=P,e=V,m=er,n=g,o=wr,a=Z,i=pr,s=Ir,l=r.f;P=null,V=0,er=null,g=(l&(gr|jr))===0?r:null,wr=null,Xr(r.ctx),pr=!1,Ir=++mt,r.ac!==null&&(Ee(()=>{r.ac.abort(qr)}),r.ac=null);try{r.f|=Tt;var b=r.fn,f=b(),d=r.deps;if(P!==null){var p;if(wt(r,V),d!==null&&V>0)for(d.length=V+P.length,p=0;p<P.length;p++)d[V+p]=P[p];else r.deps=d=P;if(Mr&&xt()&&(r.f&mr)!==0)for(p=V;p<d.length;p++)(d[p].reactions??=[]).push(r)}else d!==null&&V<d.length&&(wt(r,V),d.length=V);if(se()&&er!==null&&!pr&&d!==null&&(r.f&(G|ur|L))===0)for(p=0;p<er.length;p++)Pe(er[p],r);return n!==null&&n!==r&&(mt++,er!==null&&(m===null?m=er:m.push(...er))),(r.f&Ar)!==0&&(r.f^=Ar),f}catch(v){return de(v)}finally{r.f^=Tt,P=t,V=e,er=m,g=n,wr=o,Xr(a),pr=i,Ir=s}}function Km(r,t){let e=t.reactions;if(e!==null){var m=om.call(e,r);if(m!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[m]=e[n],e.pop())}}e===null&&(t.f&G)!==0&&(P===null||!P.includes(t))&&(I(t,ur),(t.f&mr)!==0&&(t.f^=mr,t.f&=~Jr),ce(t),wt(t,0))}function wt(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Km(r,e[m])}function nt(r){var t=r.f;if((t&Er)===0){I(r,O);var e=y,m=Mr;y=r,Mr=!0;try{(t&cr)!==0?Xm(r):Te(r),Re(r);var n=Fe(r);r.teardown=typeof n=="function"?n:null,r.wv=Me;var o;Zt&&$m&&(r.f&L)!==0&&r.deps}finally{Mr=m,y=e}}}function w(r){var t=r.f,e=(t&G)!==0;if(g!==null&&!pr){var m=y!==null&&(y.f&Er)!==0;if(!m&&!wr?.includes(r)){var n=g.deps;if((g.f&Tt)!==0)r.rv<mt&&(r.rv=mt,P===null&&n!==null&&n[V]===r?V++:P===null?P=[r]:P.includes(r)||P.push(r));else{(g.deps??=[]).push(r);var o=r.reactions;o===null?r.reactions=[g]:o.includes(g)||o.push(g)}}}if(Dr){if(zr.has(r))return zr.get(r);if(e){var a=r,i=a.v;return((a.f&O)===0&&a.reactions!==null||Le(a))&&(i=Mt(a)),zr.set(a,i),i}}else if(e){if(a=r,H?.has(a))return H.get(a);ot(a)&&ge(a),Mr&&xt()&&(a.f&mr)===0&&Ye(a)}else if(H?.has(r))return H.get(r);if((r.f&Ar)!==0)throw r.v;return r.v}function Ye(r){if(r.deps!==null){r.f^=mr;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&G)!==0&&(t.f&mr)===0&&Ye(t)}}function Le(r){if(r.v===S)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(zr.has(t)||(t.f&G)!==0&&Le(t))return!0;return!1}function Wm(r){var t=pr;try{return pr=!0,r()}finally{pr=t}}const Jm=-7169;function I(r,t){r.f=r.f&Jm|t}const qe=new Set,Lt=new Set;function Zm(r){for(var t=0;t<r.length;t++)qe.add(r[t]);for(var e of Lt)e(r)}let Xe=null;function _t(r){var t=this,e=t.ownerDocument,m=r.type,n=r.composedPath?.()||[],o=n[0]||r.target;Xe=r;var a=0,i=Xe===r&&r.__root;if(i){var s=n.indexOf(i);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=n.indexOf(t);if(l===-1)return;s<=l&&(a=s)}if(o=n[a]||r.target,o!==t){dt(r,"currentTarget",{configurable:!0,get(){return o||e}});var b=g,f=y;q(null),br(null);try{for(var d,p=[];o!==null;){var v=o.assignedSlot||o.parentNode||o.host||null;try{var c=o["__"+m];c!=null&&(!o.disabled||r.target===o)&&c.call(o,r)}catch(u){d?p.push(u):d=u}if(r.cancelBubble||v===t||v===null)break;o=v}if(d){for(let u of p)queueMicrotask(()=>{throw u});throw d}}finally{r.__root=t,delete r.currentTarget,q(b),br(f)}}}function Qm(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Vr(r,t){var e=y;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function F(r,t){var e=(t&em)!==0,m=(t&mm)!==0,n,o=!r.startsWith("<!>");return()=>{if(h)return Vr(x,null),x;n===void 0&&(n=Qm(o?r:"<!>"+r),e||(n=Tr(n)));var a=m||we?document.importNode(n,!0):n.cloneNode(!0);if(e){var i=Tr(a),s=a.lastChild;Vr(i,s)}else Vr(a,a);return a}}function Ue(){if(h)return Vr(x,null),x;var r=document.createDocumentFragment(),t=document.createComment(""),e=Q();return r.append(t,e),Vr(t,e),r}function B(r,t){if(h){y.nodes_end=x,ft();return}r!==null&&r.before(t)}const ro=["touchstart","touchmove"];function to(r){return ro.includes(r)}function _r(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function He(r,t){return Ve(r,t)}function eo(r,t){It(),t.intro=t.intro??!1;const e=t.target,m=h,n=x;try{for(var o=Tr(e);o&&(o.nodeType!==Nr||o.data!==Jt);)o=rr(o);if(!o)throw Fr;or(!0),M(o);const a=Ve(r,{...t,anchor:o});return or(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(i=>i.startsWith("https://svelte.dev/e/")))throw a;return a!==Fr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&gm(),It(),$e(e),or(!1),He(r,t)}finally{or(m),M(n)}}const Kr=new Map;function Ve(r,{target:t,anchor:e,props:m={},events:n,context:o,intro:a=!0}){It();var i=new Set,s=f=>{for(var d=0;d<f.length;d++){var p=f[d];if(!i.has(p)){i.add(p);var v=to(p);t.addEventListener(p,_t,{passive:v});var c=Kr.get(p);c===void 0?(document.addEventListener(p,_t,{passive:v}),Kr.set(p,1)):Kr.set(p,c+1)}}};s(Et(qe)),Lt.add(s);var l=void 0,b=Ym(()=>{var f=e??t.appendChild(Q());return Rm(f,{pending:()=>{}},d=>{if(o){ae({});var p=Z;p.c=o}if(n&&(m.$$events=n),h&&Vr(d,null),l=r(d,m)||{},h&&(y.nodes_end=x,x===null||x.nodeType!==Nr||x.data!==jt))throw vt(),Fr;o&&ie()}),()=>{for(var d of i){t.removeEventListener(d,_t);var p=Kr.get(d);--p===0?(document.removeEventListener(d,_t),Kr.delete(d)):Kr.set(d,p)}Lt.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return qt.set(l,b),l}let qt=new WeakMap;function mo(r,t){const e=qt.get(r);return e?(qt.delete(r),e(t)):Promise.resolve()}class oo{anchor;#t=new Map;#r=new Map;#e=new Map;#m=!0;constructor(t,e=!0){this.anchor=t,this.#m=e}#s=()=>{var t=A;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Yt(m);else{var n=this.#e.get(e);n&&(this.#r.set(e,n.effect),this.#e.delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),m=n.effect)}for(const[o,a]of this.#t){if(this.#t.delete(o),o===t)break;const i=this.#e.get(a);i&&(D(i.effect),this.#e.delete(a))}for(const[o,a]of this.#r){if(o===e)continue;const i=()=>{if(Array.from(this.#t.values()).includes(o)){var l=document.createDocumentFragment();Se(a,l),l.append(Q()),this.#e.set(o,{effect:a,fragment:l})}else D(a);this.#r.delete(o)};this.#m||!m?Hr(a,i,!1):i()}}};#a=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,n]of this.#e)e.includes(m)||(D(n.effect),this.#e.delete(m))};ensure(t,e){var m=A,n=je();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(n){var o=document.createDocumentFragment(),a=Q();o.append(a),this.#e.set(t,{effect:tr(()=>e(a)),fragment:o})}else this.#r.set(t,tr(()=>e(this.anchor)));if(this.#t.set(m,t),n){for(const[i,s]of this.#r)i===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[i,s]of this.#e)i===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#s),m.ondiscard(this.#a)}else h&&(this.anchor=x),this.#s()}}function vr(r,t,e=!1){h&&ft();var m=new oo(r),n=e?Lr:0;function o(a,i){if(h){const l=me(r)===st;if(a===l){var s=ct();M(s),m.anchor=s,or(!1),m.ensure(a,i),or(!0);return}}m.ensure(a,i)}yt(()=>{var a=!1;t((i,s=!0)=>{a=!0,o(s,i)}),a||o(!1,null)},n)}function no(r,t,e){for(var m=r.items,n=[],o=t.length,a=0;a<o;a++)Ft(t[a].e,n,!0);var i=o>0&&n.length===0&&e!==null;if(i){var s=e.parentNode;$e(s),s.append(e),m.clear(),fr(r,t[0].prev,t[o-1].next)}Be(n,()=>{for(var l=0;l<o;l++){var b=t[l];i||(m.delete(b.k),fr(r,b.prev,b.next)),D(b.e,!i)}})}function ao(r,t,e,m,n,o=null){var a=r,i={flags:t,items:new Map,first:null};{var s=r;a=h?M(Tr(s)):s.appendChild(Q())}h&&ft();var l=null,b=!1,f=new Map,d=Sm(()=>{var u=e();return Qt(u)?u:u==null?[]:Et(u)}),p,v;function c(){io(v,p,i,f,a,n,t,m,e),o!==null&&(p.length===0?l?Yt(l):l=tr(()=>o(a)):l!==null&&Hr(l,()=>{l=null}))}yt(()=>{v??=y,p=w(d);var u=p.length;if(b&&u===0)return;b=u===0;let K=!1;if(h){var $=me(a)===st;$!==(u===0)&&(a=ct(),M(a),or(!1),K=!0)}if(h){for(var _=null,j,k=0;k<u;k++){if(x.nodeType===Nr&&x.data===jt){a=x,K=!0,or(!1);break}var X=p[k],T=m(X,k);j=Xt(x,i,_,null,X,T,k,n,t,e),i.items.set(T,j),_=j}u>0&&M(ct())}if(h)u===0&&o&&(l=tr(()=>o(a)));else if(je()){var N=new Set,C=A;for(k=0;k<u;k+=1){X=p[k],T=m(X,k);var W=i.items.get(T)??f.get(T);W?Ke(W,X,k):(j=Xt(null,i,null,null,X,T,k,n,t,e,!0),f.set(T,j)),N.add(T)}for(const[sr,z]of i.items)N.has(sr)||C.skipped_effects.add(z.e);C.oncommit(c)}else c();K&&or(!0),w(d)}),h&&(a=x)}function io(r,t,e,m,n,o,a,i,s){var l=t.length,b=e.items,f=e.first,d=f,p,v=null,c=[],u=[],K,$,_,j;for(j=0;j<l;j+=1){if(K=t[j],$=i(K,j),_=b.get($),_===void 0){var k=m.get($);if(k!==void 0){m.delete($),b.set($,k);var X=v?v.next:d;fr(e,v,k),fr(e,k,X),Ut(k,X,n),v=k}else{var T=d?d.e.nodes_start:n;v=Xt(T,e,v,v===null?e.first:v.next,K,$,j,o,a,s)}b.set($,v),c=[],u=[],d=v.next;continue}if(Ke(_,K,j),(_.e.f&U)!==0&&Yt(_.e),_!==d){if(p!==void 0&&p.has(_)){if(c.length<u.length){var N=u[0],C;v=N.prev;var W=c[0],sr=c[c.length-1];for(C=0;C<c.length;C+=1)Ut(c[C],N,n);for(C=0;C<u.length;C+=1)p.delete(u[C]);fr(e,W.prev,sr.next),fr(e,v,W),fr(e,sr,N),d=N,v=sr,j-=1,c=[],u=[]}else p.delete(_),Ut(_,d,n),fr(e,_.prev,_.next),fr(e,_,v===null?e.first:v.next),fr(e,v,_),v=_;continue}for(c=[],u=[];d!==null&&d.k!==$;)(d.e.f&U)===0&&(p??=new Set).add(d),u.push(d),d=d.next;if(d===null)continue;_=d}c.push(_),v=_,d=_.next}if(d!==null||p!==void 0){for(var z=p===void 0?[]:Et(p);d!==null;)(d.e.f&U)===0&&z.push(d),d=d.next;var E=z.length;if(E>0){var Y=l===0?n:null;no(e,z,Y)}}r.first=e.first&&e.first.e,r.last=v&&v.e;for(var R of m.values())D(R.e);m.clear()}function Ke(r,t,e,m){rt(r.v,t),r.i=e}function Xt(r,t,e,m,n,o,a,i,s,l,b){var f=(s&Qe)!==0,d=(s&tm)===0,p=f?d?he(n,!1,!1):Or(n):n,v=(s&rm)===0?a:Or(a),c={i:v,v:p,k:o,a:null,e:null,prev:e,next:m};try{if(r===null){var u=document.createDocumentFragment();u.append(r=Q())}return c.e=tr(()=>i(r,p,v,l),h),c.e.prev=e&&e.e,c.e.next=m&&m.e,e===null?b||(t.first=c):(e.next=c,e.e.next=c.e),m!==null&&(m.prev=c,m.e.prev=c.e),c}finally{}}function Ut(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,n=t?t.e.nodes_start:e,o=r.e.nodes_start;o!==null&&o!==m;){var a=rr(o);n.before(o),o=a}}function fr(r,t,e){t===null?r.first=e:(t.next=e,t.e.next=e&&e.e),e!==null&&(e.prev=t,e.e.prev=t&&t.e)}function so(r,t){let e=null,m=h;var n;if(h){e=x;for(var o=Tr(document.head);o!==null&&(o.nodeType!==Nr||o.data!==r);)o=rr(o);if(o===null)or(!1);else{var a=rr(o);o.remove(),M(a)}}h||(n=document.head.appendChild(Q()));try{yt(()=>t(n),Rt)}finally{m&&(or(!0),M(e))}}function lo(r,t){Lm(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,m.appendChild(n)}})}function po(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function kr(r,t,e,m,n,o){var a=r.__className;if(h||a!==e||a===void 0){var i=po(e,m);(!h||i!==r.getAttribute("class"))&&(i==null?r.removeAttribute("class"):r.className=i),r.__className=e}return o}function kt(r,t,e,m){var n=m,o=!0,a=()=>(o&&(o=!1,n=m),n),i;i=r[t],i===void 0&&m!==void 0&&(i=a());var s;s=()=>{var d=r[t];return d===void 0?a():(o=!0,d)};var l=!1,b=Ot(()=>(l=!1,s())),f=y;return(function(d,p){if(arguments.length>0){const v=p?w(b):d;return xr(b,v),l=!0,n!==void 0&&(n=v),d}return Dr&&l||(f.f&Er)!==0?b.v:w(b)})}function bo(r){return new vo(r)}class vo{#t;#r;constructor(t){var e=new Map,m=(o,a)=>{var i=he(a,!1,!1);return e.set(o,i),i};const n=new Proxy({...t.props||{},$$events:{}},{get(o,a){return w(e.get(a)??m(a,Reflect.get(o,a)))},has(o,a){return a===dm?!0:(w(e.get(a)??m(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,i){return xr(e.get(a)??m(a,i),i),Reflect.set(o,a,i)}});this.#r=(t.hydrate?eo:He)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Qr(),this.#t=n.$$events;for(const o of Object.keys(this.#r))o==="$set"||o==="$destroy"||o==="$on"||dt(this,o,{get(){return this.#r[o]},set(a){this.#r[o]=a},enumerable:!0});this.#r.$set=o=>{Object.assign(n,o)},this.#r.$destroy=()=>{mo(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...n)=>e.call(this,...n);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(n=>n!==m)}}$destroy(){this.#r.$destroy()}}let We;typeof HTMLElement=="function"&&(We=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return n=>{const o=document.createElement("slot");m!=="default"&&(o.name=m),B(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=fo(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const n=this.$$g_p(m.name);n in this.$$d||(this.$$d[n]=$t(n,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=bo({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Fm(()=>{ze(()=>{this.$$r=!0;for(const m of lt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const n=$t(m,this.$$d[m],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,n)}this.$$r=!1})});for(const m in this.$$l)for(const n of this.$$l[m]){const o=this.$$c.$on(m,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=$t(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return lt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function $t(r,t,e,m){const n=e[r]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fo(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function co(r,t,e,m,n,o){let a=class extends We{constructor(){super(r,e,n),this.$$p_d=t}static get observedAttributes(){return lt(t).map(i=>(t[i].attribute||i).toLowerCase())}};return lt(t).forEach(i=>{dt(a.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(s){s=$t(i,s,t),this.$$d[i]=s;var l=this.$$c;if(l){var b=Yr(l,i)?.get;b?l[i]=s:l.$set({[i]:s})}}})}),m.forEach(i=>{dt(a.prototype,i,{get(){return this.$$c?.[i]}})}),r.element=a,a}var go=F('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),uo=F('<span style="float:right" class="svelte-pdmrmr">▼</span>'),ho=F('<span style="float:right" class="svelte-pdmrmr">►</span>'),xo=F('<span style="float:right"> </span>'),yo=F('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),wo=F('<span style="float:right"> </span>'),_o=F('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),ko=F('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),$o=F('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),jo=F('<span style="float:right"> </span>'),Eo=F('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),Ao=F('<span style="float:right"> </span>'),zo=F('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Ro=F('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),To=F('<span class="svelte-pdmrmr"><!></span>');const Co={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
|
|
1
|
+
(function(Jt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const rm=1,tm=2,em=16,mm=1,om=2,Zt="[",lt="[!",Et="]",Yr={},T=Symbol(),Qt=!1;var re=Array.isArray,nm=Array.prototype.indexOf,At=Array.from,dt=Object.keys,pt=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,am=Object.prototype,im=Array.prototype,sm=Object.getPrototypeOf,te=Object.isExtensible;function lm(r){for(var t=0;t<r.length;t++)r[t]()}function ee(){var r,t,e=new Promise((m,n)=>{r=m,t=n});return{promise:e,resolve:r,reject:t}}const C=2,bt=4,zt=8,ur=16,hr=32,Ar=64,vt=128,or=512,B=1024,L=2048,xr=4096,U=8192,zr=16384,Rt=32768,qr=65536,me=1<<17,Tt=1<<18,Nr=1<<19,dm=1<<20,Zr=32768,Ct=1<<21,Bt=1<<22,Rr=1<<23,Nt=Symbol("$state"),pm=Symbol("legacy props"),Xr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},St=3,Sr=8;function bm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function vm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function fm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function cm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function gm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function um(){throw new Error("https://svelte.dev/e/hydration_failed")}function hm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function xm(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ym(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function wm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ft(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function _m(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function nr(r){h=r}let x;function N(r){if(r===null)throw ft(),Yr;return x=r}function ct(){return N(tr(x))}function Z(r){if(h){if(tr(x)!==null)throw ft(),Yr;x=r}}function km(r=1){if(h){for(var t=r,e=x;t--;)e=tr(e);x=e}}function gt(r=!0){for(var t=0,e=x;;){if(e.nodeType===Sr){var m=e.data;if(m===Et){if(t===0)return e;t-=1}else(m===Zt||m===lt)&&(t+=1)}var n=tr(e);r&&e.remove(),e=n}}function oe(r){if(!r||r.nodeType!==Sr)throw ft(),Yr;return r.data}function ne(r){return r===this.v}function $m(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ae(r){return!$m(r,this.v)}let jm=!1,Q=null;function Ur(r){Q=r}function ie(r,t=!1,e){Q={p:Q,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=Q,e=t.e;if(e!==null){t.e=null;for(var m of e)ze(m)}return r!==void 0&&(t.x=r),t.i=!0,Q=t.p,r??{}}function le(){return!0}let Gr=[];function de(){var r=Gr;Gr=[],lm(r)}function Gt(r){if(Gr.length===0&&!Qr){var t=Gr;queueMicrotask(()=>{t===Gr&&de()})}Gr.push(r)}function Em(){for(;Gr.length>0;)de()}function pe(r){var t=y;if(t===null)return g.f|=Rr,r;if((t.f&Rt)===0){if((t.f&vt)===0)throw r;t.b.error(r)}else Hr(r,t)}function Hr(r,t){for(;t!==null;){if((t.f&vt)!==0)try{t.b.error(r);return}catch(e){r=e}t=t.parent}throw r}const ut=new Set;let E=null,H=null,pr=[],ht=null,Ot=!1,Qr=!1;class ar{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#a=[];#i=[];skipped_effects=new Set;is_fork=!1;process(t){pr=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#o(m,e);this.is_fork||this.#l(),this.#m>0||this.is_fork?(this.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects)):(E=null,ve(e.render_effects),ve(e.effects),this.#s?.resolve()),H=null}#o(t,e){t.f^=B;for(var m=t.first;m!==null;){var n=m.f,o=(n&(hr|Ar))!==0,a=o&&(n&B)!==0,i=a||(n&U)!==0||this.skipped_effects.has(m);if((m.f&vt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!i&&m.fn!==null){o?m.f^=B:(n&bt)!==0?e.effects.push(m):nt(m)&&((m.f&ur)!==0&&e.block_effects.push(m),at(m));var s=m.first;if(s!==null){m=s;continue}}var l=m.parent;for(m=m.next;m===null&&l!==null;)l===e.effect&&(this.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#n(t){for(const e of t)((e.f&L)!==0?this.#a:this.#i).push(e),G(e,B)}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Rr)===0&&(this.current.set(t,t.v),H?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E=null,H=null}flush(){if(this.activate(),pr.length>0){if(be(),E!==null&&E!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#l(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#d()}#d(){if(ut.size>1){this.previous.clear();var t=H,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of ut){if(n===this){e=!1;continue}const o=[];for(const[i,s]of this.current){if(n.current.has(i))if(e&&s!==n.current.get(i))n.current.set(i,s);else continue;o.push(i)}if(o.length===0)continue;const a=[...n.current.keys()].filter(i=>!this.current.has(i));if(a.length>0){const i=new Set,s=new Map;for(const l of o)fe(l,a,i,s);if(pr.length>0){E=n,n.apply();for(const l of pr)n.#o(l,m);pr=[],n.deactivate()}}}E=null,H=t}this.committed=!0,ut.delete(this)}increment(t){this.#e+=1,t&&(this.#m+=1)}decrement(t){this.#e-=1,t&&(this.#m-=1),this.revive()}revive(){for(const t of this.#a)G(t,L),Or(t);for(const t of this.#i)G(t,xr),Or(t);this.#a=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=ee()).promise}static ensure(){if(E===null){const t=E=new ar;ut.add(E),Qr||ar.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){Gt(t)}apply(){}}function rt(r){var t=Qr;Qr=!0;try{for(var e;;){if(Em(),pr.length===0&&(E?.flush(),pr.length===0))return ht=null,e;be()}}finally{Qr=t}}function be(){var r=Dr;Ot=!0;try{var t=0;for(Oe(!0);pr.length>0;){var e=ar.ensure();if(t++>1e3){var m,n;Am()}e.process(pr),Tr.clear()}}finally{Ot=!1,Oe(r),ht=null}}function Am(){try{gm()}catch(r){Hr(r,ht)}}let yr=null;function ve(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(zr|U))===0&&nt(m)&&(yr=new Set,at(m),m.deps===null&&m.first===null&&m.nodes_start===null&&(m.teardown===null&&m.ac===null?Be(m):m.fn=null),yr?.size>0)){Tr.clear();for(const n of yr){if((n.f&(zr|U))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)yr.has(a)&&(yr.delete(a),o.push(a)),a=a.parent;for(let i=o.length-1;i>=0;i--){const s=o[i];(s.f&(zr|U))===0&&at(s)}}yr.clear()}}yr=null}}function fe(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const n of r.reactions){const o=n.f;(o&C)!==0?fe(n,t,e,m):(o&(Bt|ur))!==0&&(o&L)===0&&ce(n,t,m)&&(G(n,L),Or(n))}}function ce(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const n of r.deps){if(t.includes(n))return!0;if((n.f&C)!==0&&ce(n,t,e))return e.set(n,!0),!0}return e.set(r,!1),!1}function Or(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Ot&&t===y&&(e&ur)!==0&&(e&Tt)===0)return;if((e&(Ar|hr))!==0){if((e&B)===0)return;t.f^=B}}pr.push(t)}function zm(r){let t=0,e=Mr(0),m;return()=>{yt()&&(w(e),Re(()=>(t===0&&(m=Jm(()=>r(()=>et(e)))),t+=1,()=>{Gt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var Rm=qr|Nr|vt;function Tm(r,t,e){new Cm(r,t,e)}class Cm{parent;#t=!1;#r;#e=h?x:null;#m;#s;#a;#i=null;#o=null;#n=null;#l=null;#d=null;#v=0;#p=0;#f=!1;#b=null;#x=zm(()=>(this.#b=Mr(this.#v),()=>{this.#b=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=y.b,this.#t=!!this.#m.pending,this.#a=wt(()=>{if(y.b=this,h){const o=this.#e;ct(),o.nodeType===Sr&&o.data===lt?this.#w():this.#y()}else{var n=this.#u();try{this.#i=er(()=>m(n))}catch(o){this.error(o)}this.#p>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},Rm),h&&(this.#r=x)}#y(){try{this.#i=er(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#o=er(()=>t(this.#r)),ar.enqueue(()=>{var e=this.#u();this.#i=this.#c(()=>(ar.ensure(),er(()=>this.#s(e)))),this.#p>0?this.#g():(Vr(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=rr(),this.#r.before(this.#d),t=this.#d),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#m.pending}#c(t){var e=y,m=g,n=Q;fr(this.#a),q(this.#a),Ur(this.#a.ctx);try{return t()}catch(o){return pe(o),null}finally{fr(e),q(m),Ur(n)}}#g(){const t=this.#m.pending;this.#i!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Ge(this.#i,this.#l)),this.#o===null&&(this.#o=er(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#p+=t,this.#p===0&&(this.#t=!1,this.#o&&Vr(this.#o,()=>{this.#o=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#v+=t,this.#b&&tt(this.#b,this.#v)}get_effect_pending(){return this.#x(),w(this.#b)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#i&&(S(this.#i),this.#i=null),this.#o&&(S(this.#o),this.#o=null),this.#n&&(S(this.#n),this.#n=null),h&&(N(this.#e),km(),N(gt()));var n=!1,o=!1;const a=()=>{if(n){_m();return}n=!0,o&&wm(),ar.ensure(),this.#v=0,this.#n!==null&&Vr(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#i=this.#c(()=>(this.#f=!1,er(()=>this.#s(this.#r)))),this.#p>0?this.#g():this.#t=!1};var i=g;try{q(null),o=!0,e?.(t,a),o=!1}catch(s){Hr(s,this.#a&&this.#a.parent)}finally{q(i)}m&&Gt(()=>{this.#n=this.#c(()=>{ar.ensure(),this.#f=!0;try{return er(()=>{m(this.#r,()=>t,()=>a)})}catch(s){return Hr(s,this.#a.parent),null}finally{this.#f=!1}})})}}function Bm(r,t,e,m){const n=Mt;if(e.length===0&&r.length===0){m(t.map(n));return}var o=E,a=y,i=Nm();function s(){Promise.all(e.map(l=>Sm(l))).then(l=>{i();try{m([...t.map(n),...l])}catch(v){(a.f&zr)===0&&Hr(v,a)}o?.deactivate(),xt()}).catch(l=>{Hr(l,a)})}r.length>0?Promise.all(r).then(()=>{i();try{return s()}finally{o?.deactivate(),xt()}}):s()}function Nm(){var r=y,t=g,e=Q,m=E;return function(o=!0){fr(r),q(t),Ur(e),o&&m?.activate()}}function xt(){fr(null),q(null),Ur(null)}function Mt(r){var t=C|L,e=g!==null&&(g.f&C)!==0?g:null;return y!==null&&(y.f|=Nr),{ctx:Q,deps:null,effects:null,equals:ne,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??y,ac:null}}function Sm(r,t){let e=y;e===null&&bm();var m=e.b,n=void 0,o=Mr(T),a=!g,i=new Map;return Xm(()=>{var s=ee();n=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===E&&l.committed&&l.deactivate(),xt()})}catch(d){s.reject(d),xt()}var l=E;if(a){var v=!m.is_pending();m.update_pending_count(1),l.increment(v),i.get(l)?.reject(Xr),i.delete(l),i.set(l,s)}const f=(d,p=void 0)=>{if(l.activate(),p)p!==Xr&&(o.f|=Rr,tt(o,p));else{(o.f&Rr)!==0&&(o.f^=Rr),tt(o,d);for(const[b,c]of i){if(i.delete(b),b===l)break;c.reject(Xr)}}a&&(m.update_pending_count(-1),l.decrement(v))};s.promise.then(f,d=>f(null,d||"unknown"))}),Pm(()=>{for(const s of i.values())s.reject(Xr)}),new Promise(s=>{function l(v){function f(){v===n?s(o):l(n)}v.then(f,f)}l(n)})}function Gm(r){const t=Mt(r);return t.equals=ae,t}function ge(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)S(t[e])}}function Om(r){for(var t=r.parent;t!==null;){if((t.f&C)===0)return t;t=t.parent}return null}function Dt(r){var t,e=y;fr(Om(r));try{r.f&=~Zr,ge(r),t=Ye(r)}finally{fr(e)}return t}function ue(r){var t=Dt(r);if(r.equals(t)||(r.v=t,r.wv=Pe()),!Ir)if(H!==null)yt()&&H.set(r,r.v);else{var e=(r.f&or)===0?xr:B;G(r,e)}}let It=new Set;const Tr=new Map;let he=!1;function Mr(r,t){var e={f:0,v:r,reactions:null,equals:ne,rv:0,wv:0};return e}function wr(r,t){const e=Mr(r);return Vm(e),e}function xe(r,t=!1,e=!0){const m=Mr(r);return t||(m.equals=ae),m}function ir(r,t,e=!1){g!==null&&(!vr||(g.f&me)!==0)&&le()&&(g.f&(C|ur|Bt|me))!==0&&!kr?.includes(r)&&ym();let m=e?mt(t):t;return tt(r,m)}function tt(r,t){if(!r.equals(t)){var e=r.v;Ir?Tr.set(r,t):Tr.set(r,e),r.v=t;var m=ar.ensure();m.capture(r,e),(r.f&C)!==0&&((r.f&L)!==0&&Dt(r),G(r,(r.f&or)!==0?B:xr)),r.wv=Pe(),ye(r,L),y!==null&&(y.f&B)!==0&&(y.f&(hr|Ar))===0&&(mr===null?Km([r]):mr.push(r)),!m.is_fork&&It.size>0&&!he&&Mm()}return t}function Mm(){he=!1;const r=Array.from(It);for(const t of r)(t.f&B)!==0&&G(t,xr),nt(t)&&at(t);It.clear()}function et(r){ir(r,r.v+1)}function ye(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n],a=o.f,i=(a&L)===0;if(i&&G(o,t),(a&C)!==0){var s=o;H?.delete(s),(a&Zr)===0&&(a&or&&(o.f|=Zr),ye(s,xr))}else i&&((a&ur)!==0&&yr!==null&&yr.add(o),Or(o))}}function mt(r){if(typeof r!="object"||r===null||Nt in r)return r;const t=sm(r);if(t!==am&&t!==im)return r;var e=new Map,m=re(r),n=wr(0),o=Pr,a=i=>{if(Pr===o)return i();var s=g,l=Pr;q(null),Ie(o);var v=i();return q(s),Ie(l),v};return m&&e.set("length",wr(r.length)),new Proxy(r,{defineProperty(i,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&hm();var v=e.get(s);return v===void 0?v=a(()=>{var f=wr(l.value);return e.set(s,f),f}):ir(v,l.value,!0),!0},deleteProperty(i,s){var l=e.get(s);if(l===void 0){if(s in i){const v=a(()=>wr(T));e.set(s,v),et(n)}}else ir(l,T),et(n);return!0},get(i,s,l){if(s===Nt)return r;var v=e.get(s),f=s in i;if(v===void 0&&(!f||Lr(i,s)?.writable)&&(v=a(()=>{var p=mt(f?i[s]:T),b=wr(p);return b}),e.set(s,v)),v!==void 0){var d=w(v);return d===T?void 0:d}return Reflect.get(i,s,l)},getOwnPropertyDescriptor(i,s){var l=Reflect.getOwnPropertyDescriptor(i,s);if(l&&"value"in l){var v=e.get(s);v&&(l.value=w(v))}else if(l===void 0){var f=e.get(s),d=f?.v;if(f!==void 0&&d!==T)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(i,s){if(s===Nt)return!0;var l=e.get(s),v=l!==void 0&&l.v!==T||Reflect.has(i,s);if(l!==void 0||y!==null&&(!v||Lr(i,s)?.writable)){l===void 0&&(l=a(()=>{var d=v?mt(i[s]):T,p=wr(d);return p}),e.set(s,l));var f=w(l);if(f===T)return!1}return v},set(i,s,l,v){var f=e.get(s),d=s in i;if(m&&s==="length")for(var p=l;p<f.v;p+=1){var b=e.get(p+"");b!==void 0?ir(b,T):p in i&&(b=a(()=>wr(T)),e.set(p+"",b))}if(f===void 0)(!d||Lr(i,s)?.writable)&&(f=a(()=>wr(void 0)),ir(f,mt(l)),e.set(s,f));else{d=f.v!==T;var c=a(()=>mt(l));ir(f,c)}var u=Reflect.getOwnPropertyDescriptor(i,s);if(u?.set&&u.set.call(v,l),!d){if(m&&typeof s=="string"){var K=e.get("length"),O=Number(s);Number.isInteger(O)&&O>=K.v&&ir(K,O+1)}et(n)}return!0},ownKeys(i){w(n);var s=Reflect.ownKeys(i).filter(f=>{var d=e.get(f);return d===void 0||d.v!==T});for(var[l,v]of e)v.v!==T&&!(l in i)&&s.push(l);return s},setPrototypeOf(){xm()}})}var we,_e,ke,$e;function Pt(){if(we===void 0){we=window,_e=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;ke=Lr(t,"firstChild").get,$e=Lr(t,"nextSibling").get,te(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),te(e)&&(e.__t=void 0)}}function rr(r=""){return document.createTextNode(r)}function Cr(r){return ke.call(r)}function tr(r){return $e.call(r)}function sr(r,t){if(!h)return Cr(r);var e=Cr(x);if(e===null)e=x.appendChild(rr());else if(t&&e.nodeType!==St){var m=rr();return e?.before(m),N(m),m}return N(e),e}function Ft(r,t=!1){if(!h){var e=Cr(r);return e instanceof Comment&&e.data===""?tr(e):e}if(t&&x?.nodeType!==St){var m=rr();return x?.before(m),N(m),m}return x}function lr(r,t=1,e=!1){let m=h?x:r;for(var n;t--;)n=m,m=tr(m);if(!h)return m;if(e&&m?.nodeType!==St){var o=rr();return m===null?n?.after(o):m.before(o),N(o),o}return N(m),m}function je(r){r.textContent=""}function Ee(){return!1}function Ae(r){var t=g,e=y;q(null),fr(null);try{return r()}finally{q(t),fr(e)}}function Dm(r){y===null&&(g===null&&cm(),fm()),Ir&&vm()}function Im(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function br(r,t,e,m=!0){var n=y;n!==null&&(n.f&U)!==0&&(r|=U);var o={ctx:Q,deps:null,nodes_start:null,nodes_end:null,f:r|L|or,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{at(o),o.f|=Rt}catch(s){throw S(o),s}else t!==null&&Or(o);if(m){var a=o;if(e&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Nr)===0&&(a=a.first,(r&ur)!==0&&(r&qr)!==0&&a!==null&&(a.f|=qr)),a!==null&&(a.parent=n,n!==null&&Im(a,n),g!==null&&(g.f&C)!==0&&(r&Ar)===0)){var i=g;(i.effects??=[]).push(a)}}return o}function yt(){return g!==null&&!vr}function Pm(r){const t=br(zt,null,!1);return G(t,B),t.teardown=r,t}function Fm(r){Dm();var t=y.f,e=!g&&(t&hr)!==0&&(t&Rt)===0;if(e){var m=Q;(m.e??=[]).push(r)}else return ze(r)}function ze(r){return br(bt|dm,r,!1)}function Ym(r){ar.ensure();const t=br(Ar|Nr,r,!0);return()=>{S(t)}}function Lm(r){ar.ensure();const t=br(Ar|Nr,r,!0);return(e={})=>new Promise(m=>{e.outro?Vr(t,()=>{S(t),m(void 0)}):(S(t),m(void 0))})}function qm(r){return br(bt,r,!1)}function Xm(r){return br(Bt|Nr,r,!0)}function Re(r,t=0){return br(zt|t,r,!0)}function _r(r,t=[],e=[],m=[],n=!1){Bm(m,t,e,o=>{br(n?bt:zt,()=>r(...o.map(w)),!0)})}function wt(r,t=0){var e=br(ur|t,r,!0);return e}function er(r,t=!0){return br(hr|Nr,r,!0,t)}function Te(r){var t=r.teardown;if(t!==null){const e=Ir,m=g;Me(!0),q(null);try{t.call(null)}finally{Me(e),q(m)}}}function Ce(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const n=e.ac;n!==null&&Ae(()=>{n.abort(Xr)});var m=e.next;(e.f&Ar)!==0?e.parent=null:S(e,t),e=m}}function Um(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&hr)===0&&S(t),t=e}}function S(r,t=!0){var e=!1;(t||(r.f&Tt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Hm(r.nodes_start,r.nodes_end),e=!0),Ce(r,t&&!e),_t(r,0),G(r,zr);var m=r.transitions;if(m!==null)for(const o of m)o.stop();Te(r);var n=r.parent;n!==null&&n.first!==null&&Be(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function Hm(r,t){for(;r!==null;){var e=r===t?null:tr(r);r.remove(),r=e}}function Be(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Vr(r,t,e=!0){var m=[];Yt(r,m,!0),Ne(m,()=>{e&&S(r),t&&t()})}function Ne(r,t){var e=r.length;if(e>0){var m=()=>--e||t();for(var n of r)n.out(m)}else t()}function Yt(r,t,e){if((r.f&U)===0){if(r.f^=U,r.transitions!==null)for(const a of r.transitions)(a.is_global||e)&&t.push(a);for(var m=r.first;m!==null;){var n=m.next,o=(m.f&qr)!==0||(m.f&hr)!==0&&(r.f&ur)!==0;Yt(m,t,o?e:!1),m=n}}}function Lt(r){Se(r,!0)}function Se(r,t){if((r.f&U)!==0){r.f^=U,(r.f&B)===0&&(G(r,L),Or(r));for(var e=r.first;e!==null;){var m=e.next,n=(e.f&qr)!==0||(e.f&hr)!==0;Se(e,n?t:!1),e=m}if(r.transitions!==null)for(const o of r.transitions)(o.is_global||t)&&o.in()}}function Ge(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var n=e===m?null:tr(e);t.append(e),e=n}}let Dr=!1;function Oe(r){Dr=r}let Ir=!1;function Me(r){Ir=r}let g=null,vr=!1;function q(r){g=r}let y=null;function fr(r){y=r}let kr=null;function Vm(r){g!==null&&(kr===null?kr=[r]:kr.push(r))}let I=null,V=0,mr=null;function Km(r){mr=r}let De=1,ot=0,Pr=ot;function Ie(r){Pr=r}function Pe(){return++De}function nt(r){var t=r.f;if((t&L)!==0)return!0;if(t&C&&(r.f&=~Zr),(t&xr)!==0){var e=r.deps;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n];if(nt(o)&&ue(o),o.wv>r.wv)return!0}(t&or)!==0&&H===null&&G(r,B)}return!1}function Fe(r,t,e=!0){var m=r.reactions;if(m!==null&&!kr?.includes(r))for(var n=0;n<m.length;n++){var o=m[n];(o.f&C)!==0?Fe(o,t,!1):t===o&&(e?G(o,L):(o.f&B)!==0&&G(o,xr),Or(o))}}function Ye(r){var t=I,e=V,m=mr,n=g,o=kr,a=Q,i=vr,s=Pr,l=r.f;I=null,V=0,mr=null,g=(l&(hr|Ar))===0?r:null,kr=null,Ur(r.ctx),vr=!1,Pr=++ot,r.ac!==null&&(Ae(()=>{r.ac.abort(Xr)}),r.ac=null);try{r.f|=Ct;var v=r.fn,f=v(),d=r.deps;if(I!==null){var p;if(_t(r,V),d!==null&&V>0)for(d.length=V+I.length,p=0;p<I.length;p++)d[V+p]=I[p];else r.deps=d=I;if(Dr&&yt()&&(r.f&or)!==0)for(p=V;p<d.length;p++)(d[p].reactions??=[]).push(r)}else d!==null&&V<d.length&&(_t(r,V),d.length=V);if(le()&&mr!==null&&!vr&&d!==null&&(r.f&(C|xr|L))===0)for(p=0;p<mr.length;p++)Fe(mr[p],r);return n!==null&&n!==r&&(ot++,mr!==null&&(m===null?m=mr:m.push(...mr))),(r.f&Rr)!==0&&(r.f^=Rr),f}catch(b){return pe(b)}finally{r.f^=Ct,I=t,V=e,mr=m,g=n,kr=o,Ur(a),vr=i,Pr=s}}function Wm(r,t){let e=t.reactions;if(e!==null){var m=nm.call(e,r);if(m!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[m]=e[n],e.pop())}}e===null&&(t.f&C)!==0&&(I===null||!I.includes(t))&&(G(t,xr),(t.f&or)!==0&&(t.f^=or,t.f&=~Zr),ge(t),_t(t,0))}function _t(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Wm(r,e[m])}function at(r){var t=r.f;if((t&zr)===0){G(r,B);var e=y,m=Dr;y=r,Dr=!0;try{(t&ur)!==0?Um(r):Ce(r),Te(r);var n=Ye(r);r.teardown=typeof n=="function"?n:null,r.wv=De;var o;Qt&&jm&&(r.f&L)!==0&&r.deps}finally{Dr=m,y=e}}}function w(r){var t=r.f,e=(t&C)!==0;if(g!==null&&!vr){var m=y!==null&&(y.f&zr)!==0;if(!m&&!kr?.includes(r)){var n=g.deps;if((g.f&Ct)!==0)r.rv<ot&&(r.rv=ot,I===null&&n!==null&&n[V]===r?V++:I===null?I=[r]:I.includes(r)||I.push(r));else{(g.deps??=[]).push(r);var o=r.reactions;o===null?r.reactions=[g]:o.includes(g)||o.push(g)}}}if(Ir){if(Tr.has(r))return Tr.get(r);if(e){var a=r,i=a.v;return((a.f&B)===0&&a.reactions!==null||qe(a))&&(i=Dt(a)),Tr.set(a,i),i}}else if(e){if(a=r,H?.has(a))return H.get(a);nt(a)&&ue(a),Dr&&yt()&&(a.f&or)===0&&Le(a)}else if(H?.has(r))return H.get(r);if((r.f&Rr)!==0)throw r.v;return r.v}function Le(r){if(r.deps!==null){r.f^=or;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&C)!==0&&(t.f&or)===0&&Le(t)}}function qe(r){if(r.v===T)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Tr.has(t)||(t.f&C)!==0&&qe(t))return!0;return!1}function Jm(r){var t=vr;try{return vr=!0,r()}finally{vr=t}}const Zm=-7169;function G(r,t){r.f=r.f&Zm|t}const Xe=new Set,qt=new Set;function Qm(r){for(var t=0;t<r.length;t++)Xe.add(r[t]);for(var e of qt)e(r)}let Ue=null;function kt(r){var t=this,e=t.ownerDocument,m=r.type,n=r.composedPath?.()||[],o=n[0]||r.target;Ue=r;var a=0,i=Ue===r&&r.__root;if(i){var s=n.indexOf(i);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=n.indexOf(t);if(l===-1)return;s<=l&&(a=s)}if(o=n[a]||r.target,o!==t){pt(r,"currentTarget",{configurable:!0,get(){return o||e}});var v=g,f=y;q(null),fr(null);try{for(var d,p=[];o!==null;){var b=o.assignedSlot||o.parentNode||o.host||null;try{var c=o["__"+m];c!=null&&(!o.disabled||r.target===o)&&c.call(o,r)}catch(u){d?p.push(u):d=u}if(r.cancelBubble||b===t||b===null)break;o=b}if(d){for(let u of p)queueMicrotask(()=>{throw u});throw d}}finally{r.__root=t,delete r.currentTarget,q(v),fr(f)}}}function ro(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Kr(r,t){var e=y;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function P(r,t){var e=(t&mm)!==0,m=(t&om)!==0,n,o=!r.startsWith("<!>");return()=>{if(h)return Kr(x,null),x;n===void 0&&(n=ro(o?r:"<!>"+r),e||(n=Cr(n)));var a=m||_e?document.importNode(n,!0):n.cloneNode(!0);if(e){var i=Cr(a),s=a.lastChild;Kr(i,s)}else Kr(a,a);return a}}function He(){if(h)return Kr(x,null),x;var r=document.createDocumentFragment(),t=document.createComment(""),e=rr();return r.append(t,e),Kr(t,e),r}function z(r,t){if(h){y.nodes_end=x,ct();return}r!==null&&r.before(t)}const to=["touchstart","touchmove"];function eo(r){return to.includes(r)}function $r(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function Ve(r,t){return Ke(r,t)}function mo(r,t){Pt(),t.intro=t.intro??!1;const e=t.target,m=h,n=x;try{for(var o=Cr(e);o&&(o.nodeType!==Sr||o.data!==Zt);)o=tr(o);if(!o)throw Yr;nr(!0),N(o);const a=Ke(r,{...t,anchor:o});return nr(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(i=>i.startsWith("https://svelte.dev/e/")))throw a;return a!==Yr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&um(),Pt(),je(e),nr(!1),Ve(r,t)}finally{nr(m),N(n)}}const Wr=new Map;function Ke(r,{target:t,anchor:e,props:m={},events:n,context:o,intro:a=!0}){Pt();var i=new Set,s=f=>{for(var d=0;d<f.length;d++){var p=f[d];if(!i.has(p)){i.add(p);var b=eo(p);t.addEventListener(p,kt,{passive:b});var c=Wr.get(p);c===void 0?(document.addEventListener(p,kt,{passive:b}),Wr.set(p,1)):Wr.set(p,c+1)}}};s(At(Xe)),qt.add(s);var l=void 0,v=Lm(()=>{var f=e??t.appendChild(rr());return Tm(f,{pending:()=>{}},d=>{if(o){ie({});var p=Q;p.c=o}if(n&&(m.$$events=n),h&&Kr(d,null),l=r(d,m)||{},h&&(y.nodes_end=x,x===null||x.nodeType!==Sr||x.data!==Et))throw ft(),Yr;o&&se()}),()=>{for(var d of i){t.removeEventListener(d,kt);var p=Wr.get(d);--p===0?(document.removeEventListener(d,kt),Wr.delete(d)):Wr.set(d,p)}qt.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Xt.set(l,v),l}let Xt=new WeakMap;function oo(r,t){const e=Xt.get(r);return e?(Xt.delete(r),e(t)):Promise.resolve()}class no{anchor;#t=new Map;#r=new Map;#e=new Map;#m=!0;constructor(t,e=!0){this.anchor=t,this.#m=e}#s=()=>{var t=E;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Lt(m);else{var n=this.#e.get(e);n&&(this.#r.set(e,n.effect),this.#e.delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),m=n.effect)}for(const[o,a]of this.#t){if(this.#t.delete(o),o===t)break;const i=this.#e.get(a);i&&(S(i.effect),this.#e.delete(a))}for(const[o,a]of this.#r){if(o===e)continue;const i=()=>{if(Array.from(this.#t.values()).includes(o)){var l=document.createDocumentFragment();Ge(a,l),l.append(rr()),this.#e.set(o,{effect:a,fragment:l})}else S(a);this.#r.delete(o)};this.#m||!m?Vr(a,i,!1):i()}}};#a=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,n]of this.#e)e.includes(m)||(S(n.effect),this.#e.delete(m))};ensure(t,e){var m=E,n=Ee();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(n){var o=document.createDocumentFragment(),a=rr();o.append(a),this.#e.set(t,{effect:er(()=>e(a)),fragment:o})}else this.#r.set(t,er(()=>e(this.anchor)));if(this.#t.set(m,t),n){for(const[i,s]of this.#r)i===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[i,s]of this.#e)i===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#s),m.ondiscard(this.#a)}else h&&(this.anchor=x),this.#s()}}function cr(r,t,e=!1){h&&ct();var m=new no(r),n=e?qr:0;function o(a,i){if(h){const l=oe(r)===lt;if(a===l){var s=gt();N(s),m.anchor=s,nr(!1),m.ensure(a,i),nr(!0);return}}m.ensure(a,i)}wt(()=>{var a=!1;t((i,s=!0)=>{a=!0,o(s,i)}),a||o(!1,null)},n)}function ao(r,t,e){for(var m=r.items,n=[],o=t.length,a=0;a<o;a++)Yt(t[a].e,n,!0);var i=o>0&&n.length===0&&e!==null;if(i){var s=e.parentNode;je(s),s.append(e),m.clear(),gr(r,t[0].prev,t[o-1].next)}Ne(n,()=>{for(var l=0;l<o;l++){var v=t[l];i||(m.delete(v.k),gr(r,v.prev,v.next)),S(v.e,!i)}})}function io(r,t,e,m,n,o=null){var a=r,i={flags:t,items:new Map,first:null};{var s=r;a=h?N(Cr(s)):s.appendChild(rr())}h&&ct();var l=null,v=!1,f=new Map,d=Gm(()=>{var u=e();return re(u)?u:u==null?[]:At(u)}),p,b;function c(){so(b,p,i,f,a,n,t,m,e),o!==null&&(p.length===0?l?Lt(l):l=er(()=>o(a)):l!==null&&Vr(l,()=>{l=null}))}wt(()=>{b??=y,p=w(d);var u=p.length;if(v&&u===0)return;v=u===0;let K=!1;if(h){var O=oe(a)===lt;O!==(u===0)&&(a=gt(),N(a),nr(!1),K=!0)}if(h){for(var _=null,A,k=0;k<u;k++){if(x.nodeType===Sr&&x.data===Et){a=x,K=!0,nr(!1);break}var X=p[k],F=m(X,k);A=Ut(x,i,_,null,X,F,k,n,t,e),i.items.set(F,A),_=A}u>0&&N(gt())}if(h)u===0&&o&&(l=er(()=>o(a)));else if(Ee()){var M=new Set,$=E;for(k=0;k<u;k+=1){X=p[k],F=m(X,k);var W=i.items.get(F)??f.get(F);W?We(W,X,k):(A=Ut(null,i,null,null,X,F,k,n,t,e,!0),f.set(F,A)),M.add(F)}for(const[J,dr]of i.items)M.has(J)||$.skipped_effects.add(dr.e);$.oncommit(c)}else c();K&&nr(!0),w(d)}),h&&(a=x)}function so(r,t,e,m,n,o,a,i,s){var l=t.length,v=e.items,f=e.first,d=f,p,b=null,c=[],u=[],K,O,_,A;for(A=0;A<l;A+=1){if(K=t[A],O=i(K,A),_=v.get(O),_===void 0){var k=m.get(O);if(k!==void 0){m.delete(O),v.set(O,k);var X=b?b.next:d;gr(e,b,k),gr(e,k,X),Ht(k,X,n),b=k}else{var F=d?d.e.nodes_start:n;b=Ut(F,e,b,b===null?e.first:b.next,K,O,A,o,a,s)}v.set(O,b),c=[],u=[],d=b.next;continue}if(We(_,K,A),(_.e.f&U)!==0&&Lt(_.e),_!==d){if(p!==void 0&&p.has(_)){if(c.length<u.length){var M=u[0],$;b=M.prev;var W=c[0],J=c[c.length-1];for($=0;$<c.length;$+=1)Ht(c[$],M,n);for($=0;$<u.length;$+=1)p.delete(u[$]);gr(e,W.prev,J.next),gr(e,b,W),gr(e,J,M),d=M,b=J,A-=1,c=[],u=[]}else p.delete(_),Ht(_,d,n),gr(e,_.prev,_.next),gr(e,_,b===null?e.first:b.next),gr(e,b,_),b=_;continue}for(c=[],u=[];d!==null&&d.k!==O;)(d.e.f&U)===0&&(p??=new Set).add(d),u.push(d),d=d.next;if(d===null)continue;_=d}c.push(_),b=_,d=_.next}if(d!==null||p!==void 0){for(var dr=p===void 0?[]:At(p);d!==null;)(d.e.f&U)===0&&dr.push(d),d=d.next;var D=dr.length;if(D>0){var j=l===0?n:null;ao(e,dr,j)}}r.first=e.first&&e.first.e,r.last=b&&b.e;for(var Y of m.values())S(Y.e);m.clear()}function We(r,t,e,m){tt(r.v,t),r.i=e}function Ut(r,t,e,m,n,o,a,i,s,l,v){var f=(s&rm)!==0,d=(s&em)===0,p=f?d?xe(n,!1,!1):Mr(n):n,b=(s&tm)===0?a:Mr(a),c={i:b,v:p,k:o,a:null,e:null,prev:e,next:m};try{if(r===null){var u=document.createDocumentFragment();u.append(r=rr())}return c.e=er(()=>i(r,p,b,l),h),c.e.prev=e&&e.e,c.e.next=m&&m.e,e===null?v||(t.first=c):(e.next=c,e.e.next=c.e),m!==null&&(m.prev=c,m.e.prev=c.e),c}finally{}}function Ht(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,n=t?t.e.nodes_start:e,o=r.e.nodes_start;o!==null&&o!==m;){var a=tr(o);n.before(o),o=a}}function gr(r,t,e){t===null?r.first=e:(t.next=e,t.e.next=e&&e.e),e!==null&&(e.prev=t,e.e.prev=t&&t.e)}function lo(r,t){let e=null,m=h;var n;if(h){e=x;for(var o=Cr(document.head);o!==null&&(o.nodeType!==Sr||o.data!==r);)o=tr(o);if(o===null)nr(!1);else{var a=tr(o);o.remove(),N(a)}}h||(n=document.head.appendChild(rr()));try{wt(()=>t(n),Tt)}finally{m&&(nr(!0),N(e))}}function po(r,t){qm(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,m.appendChild(n)}})}function bo(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function jr(r,t,e,m,n,o){var a=r.__className;if(h||a!==e||a===void 0){var i=bo(e,m);(!h||i!==r.getAttribute("class"))&&(i==null?r.removeAttribute("class"):r.className=i),r.__className=e}return o}function $t(r,t,e,m){var n=m,o=!0,a=()=>(o&&(o=!1,n=m),n),i;i=r[t],i===void 0&&m!==void 0&&(i=a());var s;s=()=>{var d=r[t];return d===void 0?a():(o=!0,d)};var l=!1,v=Mt(()=>(l=!1,s())),f=y;return(function(d,p){if(arguments.length>0){const b=p?w(v):d;return ir(v,b),l=!0,n!==void 0&&(n=b),d}return Ir&&l||(f.f&zr)!==0?v.v:w(v)})}function vo(r){return new fo(r)}class fo{#t;#r;constructor(t){var e=new Map,m=(o,a)=>{var i=xe(a,!1,!1);return e.set(o,i),i};const n=new Proxy({...t.props||{},$$events:{}},{get(o,a){return w(e.get(a)??m(a,Reflect.get(o,a)))},has(o,a){return a===pm?!0:(w(e.get(a)??m(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,i){return ir(e.get(a)??m(a,i),i),Reflect.set(o,a,i)}});this.#r=(t.hydrate?mo:Ve)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&rt(),this.#t=n.$$events;for(const o of Object.keys(this.#r))o==="$set"||o==="$destroy"||o==="$on"||pt(this,o,{get(){return this.#r[o]},set(a){this.#r[o]=a},enumerable:!0});this.#r.$set=o=>{Object.assign(n,o)},this.#r.$destroy=()=>{oo(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...n)=>e.call(this,...n);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(n=>n!==m)}}$destroy(){this.#r.$destroy()}}let Je;typeof HTMLElement=="function"&&(Je=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return n=>{const o=document.createElement("slot");m!=="default"&&(o.name=m),z(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=co(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const n=this.$$g_p(m.name);n in this.$$d||(this.$$d[n]=jt(n,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=vo({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ym(()=>{Re(()=>{this.$$r=!0;for(const m of dt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const n=jt(m,this.$$d[m],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,n)}this.$$r=!1})});for(const m in this.$$l)for(const n of this.$$l[m]){const o=this.$$c.$on(m,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=jt(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function jt(r,t,e,m){const n=e[r]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function co(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function go(r,t,e,m,n,o){let a=class extends Je{constructor(){super(r,e,n),this.$$p_d=t}static get observedAttributes(){return dt(t).map(i=>(t[i].attribute||i).toLowerCase())}};return dt(t).forEach(i=>{pt(a.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(s){s=jt(i,s,t),this.$$d[i]=s;var l=this.$$c;if(l){var v=Lr(l,i)?.get;v?l[i]=s:l.$set({[i]:s})}}})}),m.forEach(i=>{pt(a.prototype,i,{get(){return this.$$c?.[i]}})}),r.element=a,a}var uo=P('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),ho=P('<span style="float:right" class="svelte-pdmrmr">▼</span>'),xo=P('<span style="float:right" class="svelte-pdmrmr">►</span>'),yo=P('<span style="float:right"> </span>'),wo=P('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),_o=P('<span style="float:right"> </span>'),ko=P('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),$o=P('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),jo=P('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),Eo=P('<span style="float:right"> </span>'),Ao=P('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),zo=P('<span style="float:right"> </span>'),Ro=P('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),To=P('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Co=P('<span class="svelte-pdmrmr"><!></span>');const Bo={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
|
|
3
3
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
|
@@ -145,5 +145,5 @@ button.svelte-pdmrmr {margin:0;font-family:inherit;font-size:inherit;line-height
|
|
|
145
145
|
@media print {.d-print-inline.svelte-pdmrmr {display:inline !important;}.d-print-inline-block.svelte-pdmrmr {display:inline-block !important;}.d-print-block.svelte-pdmrmr {display:block !important;}.d-print-grid.svelte-pdmrmr {display:grid !important;}.d-print-inline-grid.svelte-pdmrmr {display:inline-grid !important;}.d-print-table.svelte-pdmrmr {display:table !important;}.d-print-table-row.svelte-pdmrmr {display:table-row !important;}.d-print-table-cell.svelte-pdmrmr {display:table-cell !important;}.d-print-flex.svelte-pdmrmr {display:flex !important;}.d-print-inline-flex.svelte-pdmrmr {display:inline-flex !important;}.d-print-none.svelte-pdmrmr {display:none !important;}
|
|
146
146
|
}:host {font-family:"Roboto", sans-serif;}.bd-placeholder-img.svelte-pdmrmr {font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;}
|
|
147
147
|
@media (min-width: 768px) {.bd-placeholder-img-lg.svelte-pdmrmr {font-size:3.5rem;}
|
|
148
|
-
}.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function
|
|
148
|
+
}.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function Ze(r,t){ie(t,!0),po(r,Bo);function e(b,c){t.$$host.dispatchEvent(new CustomEvent(b,{detail:c}))}function m(b){e("pageChange",{page:b})}let n=$t(t,"id",7,""),o=$t(t,"navlink"),a=$t(t,"navpage"),i=$t(t,"selected"),s=wr(!1);Fm(()=>{if(typeof o()=="string")try{o(JSON.parse(o())),ir(s,o().open===!0,!0)}catch{}i()===""||typeof i()=="string"&&(i()==="yes"||i()==="true")?i(!0):i()!==!0&&i(!1),console.log(o(),"navlink")});function l(){ir(s,w(s)!==!0,!0),console.log(w(s),"open")}var v={get id(){return n()},set id(b=""){n(b),rt()},get navlink(){return o()},set navlink(b){o(b),rt()},get navpage(){return a()},set navpage(b){a(b),rt()},get selected(){return i()},set selected(b){i(b),rt()}},f=Co();lo("pdmrmr",b=>{var c=uo();z(b,c)});var d=sr(f);{var p=b=>{var c=To(),u=sr(c);{var K=_=>{var A=jo(),k=Ft(A);k.__click=()=>{l()};var X=sr(k),F=lr(X),M=lr(F);{var $=D=>{var j=ho();z(D,j)},W=D=>{var j=xo();z(D,j)};cr(M,D=>{w(s)||o().subLinks&&o().subLinks.find(j=>j.key===a())?D($):D(W,!1)})}Z(k);var J=lr(k,2);{var dr=D=>{var j=$o();io(j,21,()=>o().subLinks,Y=>Y.key,(Y,R)=>{var Qe=He(),No=Ft(Qe);{var So=Jr=>{var Br=wo(),it=sr(Br),st=lr(it),Vt=lr(st);{var Kt=Fr=>{var Er=yo(),Wt=sr(Er,!0);Z(Er),_r(()=>{jr(Er,1,`${w(R).badge.class||"badge rounded-pill"} ${w(R).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(Wt,w(R).badge.text)}),z(Fr,Er)};cr(Vt,Fr=>{w(R).badge&&Fr(Kt)})}Z(Br),_r(()=>{jr(it,1,`bi me-2 bi-${w(R).icon??""}`,"svelte-pdmrmr"),$r(st,` ${w(R).label??""} `)}),z(Jr,Br)},Go=Jr=>{var Br=ko();Br.__click=()=>{m(w(R).key)};var it=sr(Br),st=lr(it),Vt=lr(st);{var Kt=Fr=>{var Er=_o(),Wt=sr(Er,!0);Z(Er),_r(()=>{jr(Er,1,`${w(R).badge.class||"badge rounded-pill"} ${w(R).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(Wt,w(R).badge.text)}),z(Fr,Er)};cr(Vt,Fr=>{w(R).badge&&Fr(Kt)})}Z(Br),_r(()=>{jr(it,1,`bi me-2 bi-${w(R).icon??""}`,"svelte-pdmrmr"),$r(st,` ${w(R).label??""} `)}),z(Jr,Br)};cr(No,Jr=>{w(R).key===a()||i()?Jr(So):Jr(Go,!1)})}z(Y,Qe)}),Z(j),z(D,j)};cr(J,D=>{(w(s)||o().subLinks&&o().subLinks.find(j=>j.key===a()))&&D(dr)})}_r(()=>{jr(X,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(F,` ${o().label??""} `)}),z(_,A)},O=_=>{var A=He(),k=Ft(A);{var X=M=>{var $=Ao(),W=sr($),J=lr(W),dr=lr(J);{var D=j=>{var Y=Eo(),R=sr(Y,!0);Z(Y),_r(()=>{jr(Y,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(R,o().badge.text)}),z(j,Y)};cr(dr,j=>{o().badge&&j(D)})}Z($),_r(()=>{jr(W,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(J,` ${o().label??""} `)}),z(M,$)},F=M=>{var $=Ro();$.__click=()=>{m(o().key)};var W=sr($),J=lr(W),dr=lr(J);{var D=j=>{var Y=zo(),R=sr(Y,!0);Z(Y),_r(()=>{jr(Y,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(R,o().badge.text)}),z(j,Y)};cr(dr,j=>{o().badge&&j(D)})}Z($),_r(()=>{jr(W,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(J,` ${o().label??""} `)}),z(M,$)};cr(k,M=>{o().key===a()||i()?M(X):M(F,!1)},!0)}z(_,A)};cr(u,_=>{o().subLinks?.length?_(K):_(O,!1)})}Z(c),z(b,c)};cr(d,b=>{o()&&b(p)})}return Z(f),z(r,f),se(v)}Qm(["click"]),customElements.define("hb-sidenav-link",go(Ze,{id:{},navlink:{},navpage:{},selected:{}},[],[],!0)),Jt.Component=Ze,Object.defineProperty(Jt,Symbol.toStringTag,{value:"Module"})})(this["sidenav-link"]=this["sidenav-link"]||{});
|
|
149
149
|
//# sourceMappingURL=main.iife.js.map
|