@htmlbricks/hb-sidebar-cards-navigator 0.66.0 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +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,4 +1,4 @@
|
|
|
1
|
-
(function(Mt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ft=1,jt=2,qt=4,sr=8,fr=16,lr=1,ar=4,or=8,ur=16,cr=1,hr=2,Bt="[",Je="[!",pt="]",Ne={},S=Symbol(),dr="http://www.w3.org/1999/xhtml",gt=!1;var Ht=Array.isArray,vr=Array.prototype.indexOf,mt=Array.from,Ke=Object.keys,Xe=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyDescriptors,pr=Object.prototype,gr=Array.prototype,Ut=Object.getPrototypeOf,Yt=Object.isExtensible;function mr(e){for(var t=0;t<e.length;t++)e[t]()}function Vt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const C=2,wt=4,bt=8,ie=16,se=32,ce=64,Ze=128,G=512,N=1024,L=2048,fe=4096,D=8192,le=16384,Qe=32768,xe=65536,Wt=1<<17,yt=1<<18,me=1<<19,wr=1<<20,we=32768,$t=1<<21,Et=1<<22,he=1<<23,et=Symbol("$state"),zt=Symbol("legacy props"),br=Symbol(""),Oe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Gt=3,be=8;function yr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function $r(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Er(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Tr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function kr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Sr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Or(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function tt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Pr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function M(e){g=e}let $;function P(e){if(e===null)throw tt(),Ne;return $=e}function nt(){return P(H($))}function rt(e){if(g){if(H($)!==null)throw tt(),Ne;$=e}}function Jt(e=1){if(g){for(var t=e,n=$;t--;)n=H(n);$=n}}function it(e=!0){for(var t=0,n=$;;){if(n.nodeType===be){var r=n.data;if(r===pt){if(t===0)return n;t-=1}else(r===Bt||r===Je)&&(t+=1)}var i=H(n);e&&n.remove(),n=i}}function Kt(e){if(!e||e.nodeType!==be)throw tt(),Ne;return e.data}function Xt(e){return e===this.v}function Rr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Zt(e){return!Rr(e,this.v)}let Ir=!1,j=null;function Pe(e){j=e}function Qt(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,l:null}}function en(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)An(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,e??{}}function tn(){return!0}let ye=[];function nn(){var e=ye;ye=[],mr(e)}function qe(e){if(ye.length===0&&!Be){var t=ye;queueMicrotask(()=>{t===ye&&nn()})}ye.push(e)}function Lr(){for(;ye.length>0;)nn()}function rn(e){var t=y;if(t===null)return m.f|=he,e;if((t.f&Qe)===0){if((t.f&Ze)===0)throw e;t.b.error(e)}else Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&Ze)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const st=new Set;let A=null,q=null,B=[],ft=null,Tt=!1,Be=!1;class J{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){B=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(A=null,fn(n.render_effects),fn(n.effects),this.#a?.resolve()),q=null}#f(t,n){t.f^=N;for(var r=t.first;r!==null;){var i=r.f,s=(i&(se|ce))!==0,f=s&&(i&N)!==0,a=f||(i&D)!==0||this.skipped_effects.has(r);if((r.f&Ze)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){s?r.f^=N:(i&wt)!==0?n.effects.push(r):Ye(r)&&((r.f&ie)!==0&&n.block_effects.push(r),Ve(r));var l=r.first;if(l!==null){r=l;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&L)!==0?this.#s:this.#i).push(n),this.#o(n.deps),O(n,N)}#o(t){if(t!==null)for(const n of t)(n.f&C)===0||(n.f&we)===0||(n.f^=we,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&he)===0&&(this.current.set(t,t.v),q?.set(t,t.v))}activate(){A=this,this.apply()}deactivate(){A===this&&(A=null,q=null)}flush(){if(this.activate(),B.length>0){if(sn(),A!==null&&A!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(st.size>1){this.previous.clear();var t=q,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of st){if(s===this){n=!1;continue}const f=[];for(const[l,o]of this.current){if(s.current.has(l))if(n&&o!==s.current.get(l))s.current.set(l,o);else continue;f.push(l)}if(f.length===0)continue;const a=[...s.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var i=B;B=[];const l=new Set,o=new Map;for(const c of f)ln(c,a,l,o);if(B.length>0){A=s,s.apply();for(const c of B)s.#f(c,r);s.deactivate()}B=i}}A=null,q=t}this.committed=!0,st.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)O(t,L),$e(t);for(const t of this.#i)O(t,fe),$e(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=Vt()).promise}static ensure(){if(A===null){const t=A=new J;st.add(A),Be||J.enqueue(()=>{A===t&&t.flush()})}return A}static enqueue(t){qe(t)}apply(){}}function At(e){var t=Be;Be=!0;try{for(var n;;){if(Lr(),B.length===0&&(A?.flush(),B.length===0))return ft=null,n;sn()}}finally{Be=t}}function sn(){var e=_e;Tt=!0;var t=null;try{var n=0;for(ct(!0);B.length>0;){var r=J.ensure();if(n++>1e3){var i,s;Dr()}r.process(B),de.clear()}}finally{Tt=!1,ct(e),ft=null}}function Dr(){try{Ar()}catch(e){Re(e,ft)}}let ae=null;function fn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(le|D))===0&&Ye(r)&&(ae=new Set,Ve(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Nn(r):r.fn=null),ae?.size>0)){de.clear();for(const i of ae){if((i.f&(le|D))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)ae.has(f)&&(ae.delete(f),s.push(f)),f=f.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(le|D))===0&&Ve(l)}}ae.clear()}}ae=null}}function ln(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&C)!==0?ln(i,t,n,r):(s&(Et|ie))!==0&&(s&L)===0&&an(i,t,r)&&(O(i,L),$e(i))}}function an(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&C)!==0&&an(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function $e(e){for(var t=ft=e;t.parent!==null;){t=t.parent;var n=t.f;if(Tt&&t===y&&(n&ie)!==0&&(n&yt)===0)return;if((n&(ce|se))!==0){if((n&N)===0)return;t.f^=N}}B.push(t)}function Mr(e){let t=0,n=Ee(0),r;return()=>{ot()&&(b(n),kn(()=>(t===0&&(r=Hn(()=>e(()=>He(n)))),t+=1,()=>{qe(()=>{t-=1,t===0&&(r?.(),r=void 0,He(n))})})))}}var Fr=xe|me|Ze;function jr(e,t,n){new qr(e,t,n)}class qr{parent;#t=!1;#e;#n=g?$:null;#r;#a;#s;#i=null;#f=null;#l=null;#o=null;#u=null;#c=0;#h=0;#v=!1;#d=null;#w=Mr(()=>(this.#d=Ee(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=y.b,this.#t=!!this.#r.pending,this.#s=ut(()=>{if(y.b=this,g){const s=this.#n;nt(),s.nodeType===be&&s.data===Je?this.#y():this.#b()}else{var i=this.#g();try{this.#i=U(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Fr),g&&(this.#e=$)}#b(){try{this.#i=U(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#f=U(()=>t(this.#e)),J.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(J.ensure(),U(()=>this.#a(n)))),this.#h>0?this.#p():(De(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=X(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=y,r=m,i=j;Y(this.#s),x(this.#s),Pe(this.#s.ctx);try{return t()}catch(s){return rn(s),null}finally{Y(n),x(r),Pe(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Pn(this.#i,this.#o)),this.#f===null&&(this.#f=U(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#f&&De(this.#f,()=>{this.#f=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#d&&Ie(this.#d,this.#c)}get_effect_pending(){return this.#w(),b(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(R(this.#i),this.#i=null),this.#f&&(R(this.#f),this.#f=null),this.#l&&(R(this.#l),this.#l=null),g&&(P(this.#n),Jt(),P(it()));var i=!1,s=!1;const f=()=>{if(i){Pr();return}i=!0,s&&Or(),J.ensure(),this.#c=0,this.#l!==null&&De(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,U(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var a=m;try{x(null),s=!0,n?.(t,f),s=!1}catch(l){Re(l,this.#s&&this.#s.parent)}finally{x(a)}r&&qe(()=>{this.#l=this.#_(()=>{J.ensure(),this.#v=!0;try{return U(()=>{r(this.#e,()=>t,()=>f)})}catch(l){return Re(l,this.#s.parent),null}finally{this.#v=!1}})})}}function Br(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)Rt(t[s].e,r,!0);xn(r,()=>{var f=r.length===0&&n!==null;if(f){var a=n,l=a.parentNode;$n(l),l.append(a),e.items.clear(),ee(e,t[0].prev,t[i-1].next)}for(var o=0;o<i;o++){var c=t[o];f||(e.items.delete(c.k),ee(e,c.prev,c.next)),R(c.e,!f)}e.first===t[0]&&(e.first=t[0].prev)})}function on(e,t,n,r,i,s=null){var f=e,a=new Map,l=null,o=(t&qt)!==0,c=(t&Ft)!==0,v=(t&jt)!==0;if(o){var h=e;f=g?P(ve(h)):h.appendChild(X())}g&&nt();var u=null,_=un(()=>{var T=n();return Ht(T)?T:T==null?[]:mt(T)}),w,d=!0;function p(){Hr(k,w,f,t,r),u!==null&&(w.length===0?(u.fragment?(f.before(u.fragment),u.fragment=null):It(u.effect),E.first=u.effect):De(u.effect,()=>{u=null}))}var E=ut(()=>{w=b(_);var T=w.length;let pe=!1;if(g){var Se=Kt(f)===Je;Se!==(T===0)&&(f=it(),P(f),M(!1),pe=!0)}for(var W=new Set,z=A,re=null,ze=En(),Z=0;Z<T;Z+=1){g&&$.nodeType===be&&$.data===pt&&(f=$,pe=!0,M(!1));var je=w[Z],Ge=r(je,Z),Q=d?null:a.get(Ge);Q?(c&&Ie(Q.v,je),v?Ie(Q.i,Z):Q.i=Z,ze&&z.skipped_effects.delete(Q.e)):(Q=Ur(d?f:null,re,je,Ge,Z,i,t,n),d&&(Q.o=!0,re===null?l=Q:re.next=Q,re=Q),a.set(Ge,Q)),W.add(Ge)}if(T===0&&s&&!u)if(d)u={fragment:null,effect:U(()=>s(f))};else{var rr=document.createDocumentFragment(),ir=X();rr.append(ir),u={fragment:rr,effect:U(()=>s(ir))}}if(g&&T>0&&P(it()),!d)if(ze){for(const[ji,qi]of a)W.has(ji)||z.skipped_effects.add(qi.e);z.oncommit(p),z.ondiscard(()=>{})}else p();pe&&M(!0),b(_)}),k={effect:E,items:a,first:l};d=!1,g&&(f=$)}function Hr(e,t,n,r,i){var s=(r&sr)!==0,f=t.length,a=e.items,l=e.first,o,c=null,v,h=[],u=[],_,w,d,p;if(s)for(p=0;p<f;p+=1)_=t[p],w=i(_,p),d=a.get(w),d.a?.measure(),(v??=new Set).add(d);for(p=0;p<f;p+=1){if(_=t[p],w=i(_,p),d=a.get(w),e.first??=d,!d.o){d.o=!0;var E=c?c.next:l;ee(e,c,d),ee(e,d,E),kt(d,E,n),c=d,h=[],u=[],l=c.next;continue}if((d.e.f&D)!==0&&(It(d.e),s&&(d.a?.unfix(),(v??=new Set).delete(d))),d!==l){if(o!==void 0&&o.has(d)){if(h.length<u.length){var k=u[0],T;c=k.prev;var pe=h[0],Se=h[h.length-1];for(T=0;T<h.length;T+=1)kt(h[T],k,n);for(T=0;T<u.length;T+=1)o.delete(u[T]);ee(e,pe.prev,Se.next),ee(e,c,pe),ee(e,Se,k),l=k,c=Se,p-=1,h=[],u=[]}else o.delete(d),kt(d,l,n),ee(e,d.prev,d.next),ee(e,d,c===null?e.first:c.next),ee(e,c,d),c=d;continue}for(h=[],u=[];l!==null&&l.k!==w;)(l.e.f&D)===0&&(o??=new Set).add(l),u.push(l),l=l.next;if(l===null)continue;d=l}h.push(d),c=d,l=d.next}if(l!==null||o!==void 0){for(var W=o===void 0?[]:mt(o);l!==null;)(l.e.f&D)===0&&W.push(l),l=l.next;var z=W.length;if(z>0){var re=(r&qt)!==0&&f===0?n:null;if(s){for(p=0;p<z;p+=1)W[p].a?.measure();for(p=0;p<z;p+=1)W[p].a?.fix()}Br(e,W,re)}}s&&qe(()=>{if(v!==void 0)for(d of v)d.a?.apply()})}function Ur(e,t,n,r,i,s,f,a){var l=(f&Ft)!==0,o=(f&fr)===0,c=l?o?vn(n,!1,!1):Ee(n):n,v=(f&jt)===0?i:Ee(i),h={i:v,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var u=document.createDocumentFragment();u.append(e=X())}return h.e=U(()=>s(e,c,v,a)),t!==null&&(t.next=h),h}finally{}}function kt(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 f=H(s);i.before(s),s=f}}function ee(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Yr(e,t,n,r){const i=at;if(n.length===0&&e.length===0){r(t.map(i));return}var s=A,f=y,a=Vr();function l(){Promise.all(n.map(o=>Wr(o))).then(o=>{a();try{r([...t.map(i),...o])}catch(c){(f.f&le)===0&&Re(c,f)}s?.deactivate(),lt()}).catch(o=>{Re(o,f)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{s?.deactivate(),lt()}}):l()}function Vr(){var e=y,t=m,n=j,r=A;return function(s=!0){Y(e),x(t),Pe(n),s&&r?.activate()}}function lt(){Y(null),x(null),Pe(null)}function at(e){var t=C|L,n=m!==null&&(m.f&C)!==0?m:null;return y!==null&&(y.f|=me),{ctx:j,deps:null,effects:null,equals:Xt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??y,ac:null}}function Wr(e,t){let n=y;n===null&&yr();var r=n.b,i=void 0,s=Ee(S),f=!m,a=new Map;return ni(()=>{var l=Vt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{o===A&&o.committed&&o.deactivate(),lt()})}catch(h){l.reject(h),lt()}var o=A;if(f){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),a.get(o)?.reject(Oe),a.delete(o),a.set(o,l)}const v=(h,u=void 0)=>{if(o.activate(),u)u!==Oe&&(s.f|=he,Ie(s,u));else{(s.f&he)!==0&&(s.f^=he),Ie(s,h);for(const[_,w]of a){if(a.delete(_),_===o)break;w.reject(Oe)}}f&&(r.update_pending_count(-1),o.decrement(c))};l.promise.then(v,h=>v(null,h||"unknown"))}),Tn(()=>{for(const l of a.values())l.reject(Oe)}),new Promise(l=>{function o(c){function v(){c===i?l(s):o(i)}c.then(v,v)}o(i)})}function zr(e){const t=at(e);return In(t),t}function un(e){const t=at(e);return t.equals=Zt,t}function cn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)R(t[n])}}function Gr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&le)===0?t:null;t=t.parent}return null}function Ct(e){var t,n=y;Y(Gr(e));try{e.f&=~we,cn(e),t=jn(e)}finally{Y(n)}return t}function hn(e){var t=Ct(e);if(e.equals(t)||(A?.is_fork||(e.v=t),e.wv=Mn()),!Te)if(q!==null)ot()&&q.set(e,t);else{var n=(e.f&G)===0?fe:N;O(e,n)}}let St=new Set;const de=new Map;let dn=!1;function Ee(e,t){var n={f:0,v:e,reactions:null,equals:Xt,rv:0,wv:0};return n}function oe(e,t){const n=Ee(e);return In(n),n}function vn(e,t=!1,n=!0){const r=Ee(e);return t||(r.equals=Zt),r}function K(e,t,n=!1){m!==null&&(!ne||(m.f&Wt)!==0)&&tn()&&(m.f&(C|ie|Et|Wt))!==0&&!ue?.includes(e)&&xr();let r=n?Le(t):t;return Ie(e,r)}function Ie(e,t){if(!e.equals(t)){var n=e.v;Te?de.set(e,t):de.set(e,n),e.v=t;var r=J.ensure();r.capture(e,n),(e.f&C)!==0&&((e.f&L)!==0&&Ct(e),O(e,(e.f&G)!==0?N:fe)),e.wv=Mn(),_n(e,L),y!==null&&(y.f&N)!==0&&(y.f&(se|ce))===0&&(V===null?si([e]):V.push(e)),!r.is_fork&&St.size>0&&!dn&&Jr()}return t}function Jr(){dn=!1;var e=_e;ct(!0);const t=Array.from(St);try{for(const n of t)(n.f&N)!==0&&O(n,fe),Ye(n)&&Ve(n)}finally{ct(e)}St.clear()}function He(e){K(e,e.v+1)}function _n(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,a=(f&L)===0;if(a&&O(s,t),(f&C)!==0){var l=s;q?.delete(l),(f&we)===0&&(f&G&&(s.f|=we),_n(l,fe))}else a&&((f&ie)!==0&&ae!==null&&ae.add(s),$e(s))}}function Le(e){if(typeof e!="object"||e===null||et in e)return e;const t=Ut(e);if(t!==pr&&t!==gr)return e;var n=new Map,r=Ht(e),i=oe(0),s=Ae,f=a=>{if(Ae===s)return a();var l=m,o=Ae;x(null),Dn(s);var c=a();return x(l),Dn(o),c};return r&&n.set("length",oe(e.length)),new Proxy(e,{defineProperty(a,l,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Sr();var c=n.get(l);return c===void 0?c=f(()=>{var v=oe(o.value);return n.set(l,v),v}):K(c,o.value,!0),!0},deleteProperty(a,l){var o=n.get(l);if(o===void 0){if(l in a){const c=f(()=>oe(S));n.set(l,c),He(i)}}else K(o,S),He(i);return!0},get(a,l,o){if(l===et)return e;var c=n.get(l),v=l in a;if(c===void 0&&(!v||ge(a,l)?.writable)&&(c=f(()=>{var u=Le(v?a[l]:S),_=oe(u);return _}),n.set(l,c)),c!==void 0){var h=b(c);return h===S?void 0:h}return Reflect.get(a,l,o)},getOwnPropertyDescriptor(a,l){var o=Reflect.getOwnPropertyDescriptor(a,l);if(o&&"value"in o){var c=n.get(l);c&&(o.value=b(c))}else if(o===void 0){var v=n.get(l),h=v?.v;if(v!==void 0&&h!==S)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return o},has(a,l){if(l===et)return!0;var o=n.get(l),c=o!==void 0&&o.v!==S||Reflect.has(a,l);if(o!==void 0||y!==null&&(!c||ge(a,l)?.writable)){o===void 0&&(o=f(()=>{var h=c?Le(a[l]):S,u=oe(h);return u}),n.set(l,o));var v=b(o);if(v===S)return!1}return c},set(a,l,o,c){var v=n.get(l),h=l in a;if(r&&l==="length")for(var u=o;u<v.v;u+=1){var _=n.get(u+"");_!==void 0?K(_,S):u in a&&(_=f(()=>oe(S)),n.set(u+"",_))}if(v===void 0)(!h||ge(a,l)?.writable)&&(v=f(()=>oe(void 0)),K(v,Le(o)),n.set(l,v));else{h=v.v!==S;var w=f(()=>Le(o));K(v,w)}var d=Reflect.getOwnPropertyDescriptor(a,l);if(d?.set&&d.set.call(c,o),!h){if(r&&typeof l=="string"){var p=n.get("length"),E=Number(l);Number.isInteger(E)&&E>=p.v&&K(p,E+1)}He(i)}return!0},ownKeys(a){b(i);var l=Reflect.ownKeys(a).filter(v=>{var h=n.get(v);return h===void 0||h.v!==S});for(var[o,c]of n)c.v!==S&&!(o in a)&&l.push(o);return l},setPrototypeOf(){Nr()}})}var pn,gn,mn,wn;function Nt(){if(pn===void 0){pn=window,gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;mn=ge(t,"firstChild").get,wn=ge(t,"nextSibling").get,Yt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Yt(n)&&(n.__t=void 0)}}function X(e=""){return document.createTextNode(e)}function ve(e){return mn.call(e)}function H(e){return wn.call(e)}function xt(e,t){if(!g)return ve(e);var n=ve($);return n===null&&(n=$.appendChild(X())),P(n),n}function bn(e,t=!1){if(!g){var n=ve(e);return n instanceof Comment&&n.data===""?H(n):n}if(t&&$?.nodeType!==Gt){var r=X();return $?.before(r),P(r),r}return $}function yn(e,t=1,n=!1){let r=g?$:e;for(var i;t--;)i=r,r=H(r);if(!g)return r;if(n&&r?.nodeType!==Gt){var s=X();return r===null?i?.after(s):r.before(s),P(s),s}return P(r),r}function $n(e){e.textContent=""}function En(){return!1}function Ot(e){var t=m,n=y;x(null),Y(null);try{return e()}finally{x(t),Y(n)}}function Kr(e){y===null&&(m===null&&Tr(),Er()),Te&&$r()}function Xr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n){var r=y;r!==null&&(r.f&D)!==0&&(e|=D);var i={ctx:j,deps:null,nodes_start:null,nodes_end:null,f:e|L|G,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Ve(i),i.f|=Qe}catch(a){throw R(i),a}else t!==null&&$e(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&me)===0&&(s=s.first,(e&ie)!==0&&(e&xe)!==0&&s!==null&&(s.f|=xe)),s!==null&&(s.parent=r,r!==null&&Xr(s,r),m!==null&&(m.f&C)!==0&&(e&ce)===0)){var f=m;(f.effects??=[]).push(s)}return i}function ot(){return m!==null&&!ne}function Tn(e){const t=te(bt,null,!1);return O(t,N),t.teardown=e,t}function Zr(e){Kr();var t=y.f,n=!m&&(t&se)!==0&&(t&Qe)===0;if(n){var r=j;(r.e??=[]).push(e)}else return An(e)}function An(e){return te(wt|wr,e,!1)}function Qr(e){J.ensure();const t=te(ce|me,e,!0);return()=>{R(t)}}function ei(e){J.ensure();const t=te(ce|me,e,!0);return(n={})=>new Promise(r=>{n.outro?De(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function ti(e){return te(wt,e,!1)}function ni(e){return te(Et|me,e,!0)}function kn(e,t=0){return te(bt|t,e,!0)}function Pt(e,t=[],n=[],r=[]){Yr(r,t,n,i=>{te(bt,()=>e(...i.map(b)),!0)})}function ut(e,t=0){var n=te(ie|t,e,!0);return n}function U(e){return te(se|me,e,!0)}function Cn(e){var t=e.teardown;if(t!==null){const n=Te,r=m;Rn(!0),x(null);try{t.call(null)}finally{Rn(n),x(r)}}}function Sn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ot(()=>{i.abort(Oe)});var r=n.next;(n.f&ce)!==0?n.parent=null:R(n,t),n=r}}function ri(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&se)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&yt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ii(e.nodes_start,e.nodes_end),n=!0),Sn(e,t&&!n),ht(e,0),O(e,le);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Cn(e);var i=e.parent;i!==null&&i.first!==null&&Nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ii(e,t){for(;e!==null;){var n=e===t?null:H(e);e.remove(),e=n}}function Nn(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 De(e,t,n=!0){var r=[];Rt(e,r,!0),xn(r,()=>{n&&R(e),t&&t()})}function xn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Rt(e,t,n){if((e.f&D)===0){if(e.f^=D,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&xe)!==0||(r.f&se)!==0&&(e.f&ie)!==0;Rt(r,t,s?n:!1),r=i}}}function It(e){On(e,!0)}function On(e,t){if((e.f&D)!==0){e.f^=D,(e.f&N)===0&&(O(e,L),$e(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&xe)!==0||(n.f&se)!==0;On(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Pn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:H(n);t.append(n),n=i}}let _e=!1;function ct(e){_e=e}let Te=!1;function Rn(e){Te=e}let m=null,ne=!1;function x(e){m=e}let y=null;function Y(e){y=e}let ue=null;function In(e){m!==null&&(ue===null?ue=[e]:ue.push(e))}let I=null,F=0,V=null;function si(e){V=e}let Ln=1,Ue=0,Ae=Ue;function Dn(e){Ae=e}function Mn(){return++Ln}function Ye(e){var t=e.f;if((t&L)!==0)return!0;if(t&C&&(e.f&=~we),(t&fe)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ye(s)&&hn(s),s.wv>e.wv)return!0}(t&G)!==0&&q===null&&O(e,N)}return!1}function Fn(e,t,n=!0){var r=e.reactions;if(r!==null&&!ue?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&C)!==0?Fn(s,t,!1):t===s&&(n?O(s,L):(s.f&N)!==0&&O(s,fe),$e(s))}}function jn(e){var t=I,n=F,r=V,i=m,s=ue,f=j,a=ne,l=Ae,o=e.f;I=null,F=0,V=null,m=(o&(se|ce))===0?e:null,ue=null,Pe(e.ctx),ne=!1,Ae=++Ue,e.ac!==null&&(Ot(()=>{e.ac.abort(Oe)}),e.ac=null);try{e.f|=$t;var c=e.fn,v=c(),h=e.deps;if(I!==null){var u;if(ht(e,F),h!==null&&F>0)for(h.length=F+I.length,u=0;u<I.length;u++)h[F+u]=I[u];else e.deps=h=I;if(_e&&ot()&&(e.f&G)!==0)for(u=F;u<h.length;u++)(h[u].reactions??=[]).push(e)}else h!==null&&F<h.length&&(ht(e,F),h.length=F);if(tn()&&V!==null&&!ne&&h!==null&&(e.f&(C|fe|L))===0)for(u=0;u<V.length;u++)Fn(V[u],e);return i!==null&&i!==e&&(Ue++,V!==null&&(r===null?r=V:r.push(...V))),(e.f&he)!==0&&(e.f^=he),v}catch(_){return rn(_)}finally{e.f^=$t,I=t,F=n,V=r,m=i,ue=s,Pe(f),ne=a,Ae=l}}function fi(e,t){let n=t.reactions;if(n!==null){var r=vr.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&C)!==0&&(I===null||!I.includes(t))&&(O(t,fe),(t.f&G)!==0&&(t.f^=G,t.f&=~we),cn(t),ht(t,0))}function ht(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)fi(e,n[r])}function Ve(e){var t=e.f;if((t&le)===0){O(e,N);var n=y,r=_e;y=e,_e=!0;try{(t&ie)!==0?ri(e):Sn(e),Cn(e);var i=jn(e);e.teardown=typeof i=="function"?i:null,e.wv=Ln;var s;gt&&Ir&&(e.f&L)!==0&&e.deps}finally{_e=r,y=n}}}function b(e){var t=e.f,n=(t&C)!==0;if(m!==null&&!ne){var r=y!==null&&(y.f&le)!==0;if(!r&&!ue?.includes(e)){var i=m.deps;if((m.f&$t)!==0)e.rv<Ue&&(e.rv=Ue,I===null&&i!==null&&i[F]===e?F++:I===null?I=[e]:I.includes(e)||I.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:s.includes(m)||s.push(m)}}}if(Te){if(de.has(e))return de.get(e);if(n){var f=e,a=f.v;return((f.f&N)===0&&f.reactions!==null||Bn(f))&&(a=Ct(f)),de.set(f,a),a}}else n&&!q?.has(e)&&(f=e,Ye(f)&&hn(f),_e&&ot()&&(f.f&G)===0&&qn(f));if(q?.has(e))return q.get(e);if((e.f&he)!==0)throw e.v;return e.v}function qn(e){if(e.deps!==null){e.f^=G;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&G)===0&&qn(t)}}function Bn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(de.has(t)||(t.f&C)!==0&&Bn(t))return!0;return!1}function Hn(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const li=-7169;function O(e,t){e.f=e.f&li|t}const ai=new Set,Un=new Set;function oi(e,t,n,r={}){function i(s){if(r.capture||We.call(t,s),!s.cancelBubble)return Ot(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?qe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Yn(e,t,n,r,i){var s={capture:r,passive:i},f=oi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Tn(()=>{t.removeEventListener(e,f,s)})}let Vn=null;function We(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Vn=e;var f=0,a=Vn===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;l<=o&&(f=l)}if(s=i[f]||e.target,s!==t){Xe(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=m,v=y;x(null),Y(null);try{for(var h,u=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+r];w!=null&&(!s.disabled||e.target===s)&&w.call(s,e)}catch(d){h?u.push(d):h=d}if(e.cancelBubble||_===t||_===null)break;s=_}if(h){for(let d of u)queueMicrotask(()=>{throw d});throw h}}finally{e.__root=t,delete e.currentTarget,x(c),Y(v)}}}function ui(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function dt(e,t){var n=y;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Me(e,t){var n=(t&cr)!==0,r=(t&hr)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return dt($,null),$;i===void 0&&(i=ui(s?e:"<!>"+e),n||(i=ve(i)));var f=r||gn?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=ve(f),l=f.lastChild;dt(a,l)}else dt(f,f);return f}}function ke(e,t){if(g){var n=y;((n.f&Qe)===0||n.nodes_end===null)&&(n.nodes_end=$),nt();return}e!==null&&e.before(t)}const ci=["touchstart","touchmove"];function hi(e){return ci.includes(e)}function Wn(e,t){return zn(e,t)}function di(e,t){Nt(),t.intro=t.intro??!1;const n=t.target,r=g,i=$;try{for(var s=ve(n);s&&(s.nodeType!==be||s.data!==Bt);)s=H(s);if(!s)throw Ne;M(!0),P(s);const f=zn(e,{...t,anchor:s});return M(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw f;return f!==Ne&&console.warn("Failed to hydrate: ",f),t.recover===!1&&kr(),Nt(),$n(n),M(!1),Wn(e,t)}finally{M(r),P(i)}}const Fe=new Map;function zn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0}){Nt();var a=new Set,l=v=>{for(var h=0;h<v.length;h++){var u=v[h];if(!a.has(u)){a.add(u);var _=hi(u);t.addEventListener(u,We,{passive:_});var w=Fe.get(u);w===void 0?(document.addEventListener(u,We,{passive:_}),Fe.set(u,1)):Fe.set(u,w+1)}}};l(mt(ai)),Un.add(l);var o=void 0,c=ei(()=>{var v=n??t.appendChild(X());return jr(v,{pending:()=>{}},h=>{if(s){Qt({});var u=j;u.c=s}if(i&&(r.$$events=i),g&&dt(h,null),o=e(h,r)||{},g&&(y.nodes_end=$,$===null||$.nodeType!==be||$.data!==pt))throw tt(),Ne;s&&en()}),()=>{for(var h of a){t.removeEventListener(h,We);var u=Fe.get(h);--u===0?(document.removeEventListener(h,We),Fe.delete(h)):Fe.set(h,u)}Un.delete(l),v!==n&&v.parentNode?.removeChild(v)}});return Lt.set(o,c),o}let Lt=new WeakMap;function vi(e,t){const n=Lt.get(e);return n?(Lt.delete(e),n(t)):Promise.resolve()}class _i{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#s=()=>{var t=A;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)It(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#n.get(f);a&&(R(a.effect),this.#n.delete(f))}for(const[s,f]of this.#e){if(s===n||this.#r.has(s))continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();Pn(f,o),o.append(X()),this.#n.set(s,{effect:f,fragment:o})}else R(f);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),De(f,a,!1)):a()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(R(i.effect),this.#n.delete(r))};ensure(t,n){var r=A,i=En();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),f=X();s.append(f),this.#n.set(t,{effect:U(()=>n(f)),fragment:s})}else this.#e.set(t,U(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[a,l]of this.#e)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#n)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else g&&(this.anchor=$),this.#s()}}function Gn(e,t,n=!1){g&&nt();var r=new _i(e),i=n?xe:0;function s(f,a){if(g){const o=Kt(e)===Je;if(f===o){var l=it();P(l),r.anchor=l,M(!1),r.ensure(f,a),M(!0);return}}r.ensure(f,a)}ut(()=>{var f=!1;t((a,l=!0)=>{f=!0,s(l,a)}),f||s(!1,null)},i)}function pi(e,t){let n=null,r=g;var i;if(g){n=$;for(var s=ve(document.head);s!==null&&(s.nodeType!==be||s.data!==e);)s=H(s);if(s===null)M(!1);else{var f=H(s);s.remove(),P(f)}}g||(i=document.head.appendChild(X()));try{ut(()=>t(i),yt)}finally{r&&(M(!0),P(n))}}function gi(e,t){ti(()=>{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 mi(e,t,n){var r=e==null?"":""+e;return r===""?null:r}function wi(e,t){return e==null?null:String(e)}function bi(e,t,n,r,i,s){var f=e.__className;if(g||f!==n||f===void 0){var a=mi(n);(!g||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return s}function yi(e,t,n,r){var i=e.__style;if(g||i!==t){var s=wi(t);(!g||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const $i=Symbol("is custom element"),Ei=Symbol("is html");function Ti(e,t,n,r){var i=Ai(e);g&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[br]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Kn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Jn(e,t,n){var r=m,i=y;let s=g;g&&M(!1),x(null),Y(null);try{t!=="style"&&(Dt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Kn(e).includes(t):n&&typeof n=="object")?e[t]=n:Ti(e,t,n==null?n:String(n))}finally{x(r),Y(i),s&&M(!0)}}function Ai(e){return e.__attributes??={[$i]:e.nodeName.includes("-"),[Ei]:e.namespaceURI===dr}}var Dt=new Map;function Kn(e){var t=e.getAttribute("is")||e.nodeName,n=Dt.get(t);if(n)return n;Dt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=_r(i);for(var f in r)r[f].set&&n.push(f);i=Ut(i)}return n}let vt=!1;function ki(e){var t=vt;try{return vt=!1,[e(),vt]}finally{vt=t}}function Xn(e,t,n,r){var i=(n&or)!==0,s=(n&ur)!==0,f=r,a=!0,l=()=>(a&&(a=!1,f=s?Hn(r):r),f),o;if(i){var c=et in e||zt in e;o=ge(e,t)?.set??(c&&t in e?E=>e[t]=E:void 0)}var v,h=!1;i?[v,h]=ki(()=>e[t]):v=e[t],v===void 0&&r!==void 0&&(v=l(),o&&(Cr(),o(v)));var u;if(u=()=>{var E=e[t];return E===void 0?l():(a=!0,E)},(n&ar)===0)return u;if(o){var _=e.$$legacy;return(function(E,k){return arguments.length>0?((!k||_||h)&&o(k?u():E),E):u()})}var w=!1,d=((n&lr)!==0?at:un)(()=>(w=!1,u()));i&&b(d);var p=y;return(function(E,k){if(arguments.length>0){const T=k?b(d):i?Le(E):E;return K(d,T),w=!0,f!==void 0&&(f=T),E}return Te&&w||(p.f&le)!==0?d.v:b(d)})}function Ci(e){return new Si(e)}class Si{#t;#e;constructor(t){var n=new Map,r=(s,f)=>{var a=vn(f,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return b(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===zt?!0:(b(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,a){return K(n.get(f)??r(f,a),a),Reflect.set(s,f,a)}});this.#e=(t.hydrate?di:Wn)(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)&&At(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Xe(this,s,{get(){return this.#e[s]},set(f){this.#e[s]=f},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{vi(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 Zn;typeof HTMLElement=="function"&&(Zn=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),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ni(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]=_t(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=Ci({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Qr(()=>{kn(()=>{this.$$r=!0;for(const r of Ke(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=_t(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]=_t(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 Ke(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _t(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 Ni(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function xi(e,t,n,r,i,s){let f=class extends Zn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Ke(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Ke(t).forEach(a=>{Xe(f.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=_t(a,l,t),this.$$d[a]=l;var o=this.$$c;if(o){var c=ge(o,a)?.get;c?o[a]=l:o.$set({[a]:l})}}})}),r.forEach(a=>{Xe(f.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=f,f}const Qn={version:"0.66.0"};var Ce={},er;function Oi(){if(er)return Ce;er=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.LanguageTranslator=void 0,Ce.getChildStyleToPass=e,Ce.addComponent=t;function e(r,i){var s,f,a="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((f=i?.filter(function(h){return Object.keys(r).includes(h.name)}))===null||f===void 0)&&f.length))for(var l=function(h){var u=i?.filter(function(_){return _.name===h&&_.defaultValue!==r[h]});u&&(a+="".concat(h,":").concat(r[h],";"))},o=0,c=Object.keys(r);o<c.length;o++){var v=c[o];l(v)}}catch(h){console.error("error getting child style to pass",h)}finally{return a}}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 f=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(f),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(f)}document.head.appendChild(a)}catch(o){console.warn(o)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,f){return r.formatDate(i,s,f||this.lang)},r.getDefaultLang=function(){var i,s,f,a="en";return navigator?.languages&&(!((f=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||f===void 0)&&f.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(i,s,f){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(f&&(!((a=s[f])===null||a===void 0)&&a[i]))return s[f][i];var l="",o=r.getDefaultLang();if(!f||o!==f){var c=s?.[o];c?.[i]&&(l=c[i])}return l},r.formatDate=function(i,s,f){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(f||r.getDefaultLang(),s);return a.format(i)},r})();return Ce.LanguageTranslator=n,Ce}var tr=Oi(),Pi=Me('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Ri=Me('<div class="sidebar-card-row"><hb-sidenav-button></hb-sidenav-button></div>',2),Ii=Me('<div class="sidebar-card-rows-container"></div>'),Li=Me('<div class="sidebar-card-container"><!></div>'),Di=Me('<hb-navbar><i slot="nav-switcher"></i></hb-navbar> <!>',3),Mi=Me('to be done, ref <a href="https://web.telegram.org/z/">https://web.telegram.com</a> left panel <!>',1);const Fi={hash:"svelte-1l0lk50",code:`@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");
|
|
3
|
-
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}`};function
|
|
1
|
+
(function(qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const pr=1,gr=2,zt=4,mr=8,wr=16,br=1,yr=4,$r=8,Er=16,Tr=1,Sr=2,Yt="[",pt="[!",Vt="[?",gt="]",Ie={},x=Symbol(),Ut="http://www.w3.org/1999/xhtml",Ar=!1;var Wt=Array.isArray,Nr=Array.prototype.indexOf,Pe=Array.prototype.includes,Xe=Array.from,Ze=Object.keys,Qe=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,kr=Object.getOwnPropertyDescriptors,Cr=Object.prototype,xr=Array.prototype,Gt=Object.getPrototypeOf,Jt=Object.isExtensible;const Rr=()=>{};function Or(e){for(var t=0;t<e.length;t++)e[t]()}function Kt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const C=2,Me=4,et=8,Xt=1<<24,ce=16,X=32,de=64,mt=128,B=512,N=1024,O=2048,ne=4096,D=8192,q=16384,he=32768,Zt=1<<25,Le=65536,Qt=1<<17,en=1<<18,ve=1<<19,Ir=1<<20,re=1<<25,Se=65536,wt=1<<21,bt=1<<22,_e=1<<23,tt=Symbol("$state"),tn=Symbol("legacy props"),Pr=Symbol(""),fe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Mr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),yt=3,De=8;function Lr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Dr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Fr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function jr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Br(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function qr(){throw new Error("https://svelte.dev/e/hydration_failed")}function zr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Yr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Vr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Wr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function nt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Gr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function F(e){y=e}let T;function I(e){if(e===null)throw nt(),Ie;return T=e}function rt(){return I(Y(T))}function it(e){if(y){if(Y(T)!==null)throw nt(),Ie;T=e}}function nn(e=1){if(y){for(var t=e,n=T;t--;)n=Y(n);T=n}}function st(e=!0){for(var t=0,n=T;;){if(n.nodeType===De){var r=n.data;if(r===gt){if(t===0)return n;t-=1}else(r===Yt||r===pt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Y(n);e&&n.remove(),n=i}}function rn(e){if(!e||e.nodeType!==De)throw nt(),Ie;return e.data}function sn(e){return e===this.v}function Jr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ln(e){return!Jr(e,this.v)}let Kr=!1,z=null;function Fe(e){z=e}function fn(e,t=!1,n){z={p:z,i:!1,c:null,e:null,s:e,x:null,r:w,l:null}}function on(e){var t=z,n=t.e;if(n!==null){t.e=null;for(var r of n)Dn(r)}return e!==void 0&&(t.x=e),t.i=!0,z=t.p,e??{}}function an(){return!0}let Ae=[];function un(){var e=Ae;Ae=[],Or(e)}function pe(e){if(Ae.length===0&&!Ve){var t=Ae;queueMicrotask(()=>{t===Ae&&un()})}Ae.push(e)}function Xr(){for(;Ae.length>0;)un()}function cn(e){var t=w;if(t===null)return m.f|=_e,e;if((t.f&he)===0&&(t.f&Me)===0)throw e;ge(e,t)}function ge(e,t){for(;t!==null;){if((t.f&mt)!==0){if((t.f&he)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Zr=-7169;function A(e,t){e.f=e.f&Zr|t}function $t(e){(e.f&B)!==0||e.deps===null?A(e,N):A(e,ne)}function dn(e){if(e!==null)for(const t of e)(t.f&C)===0||(t.f&Se)===0||(t.f^=Se,dn(t.deps))}function hn(e,t,n){(e.f&O)!==0?t.add(e):(e.f&ne)!==0&&n.add(e),dn(e.deps),A(e,N)}let lt=!1;function Qr(e){var t=lt;try{return lt=!1,[e(),lt]}finally{lt=t}}const me=new Set;let S=null,Z=null,Et=null,Ve=!1,Tt=!1,je=null,ft=null;var vn=0;let ei=1;class oe{id=ei++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#f=new Set;#o=new Map;is_fork=!1;#c=!1;#a=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#a)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)A(r,O),this.schedule(r);for(r of n.m)A(r,ne),this.schedule(r)}}#h(){if(vn++>1e3&&(me.delete(this),ti()),!this.#d()){for(const f of this.#l)this.#f.delete(f),A(f,O),this.schedule(f);for(const f of this.#f)A(f,ne),this.schedule(f)}const t=this.#r;this.#r=[],this.apply();var n=je=[],r=[],i=ft=[];for(const f of t)try{this.#u(f,n,r)}catch(o){throw wn(f),o}if(S=null,i.length>0){var s=oe.ensure();for(const f of i)s.schedule(f)}if(je=null,ft=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[f,o]of this.#o)mn(f,o)}else{this.#t.size===0&&me.delete(this),this.#l.clear(),this.#f.clear();for(const f of this.#e)f(this);this.#e.clear(),_n(r),_n(n),this.#s?.resolve()}var l=S;if(this.#r.length>0){const f=l??=this;f.#r.push(...this.#r.filter(o=>!f.#r.includes(o)))}l!==null&&(me.add(l),l.#h()),me.has(this)||this.#p()}#u(t,n,r){t.f^=N;for(var i=t.first;i!==null;){var s=i.f,l=(s&(X|de))!==0,f=l&&(s&N)!==0,o=f||(s&D)!==0||this.#o.has(i);if(!o&&i.fn!==null){l?i.f^=N:(s&Me)!==0?n.push(i):We(i)&&((s&ce)!==0&&this.#f.add(i),qe(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)hn(t[n],this.#l,this.#f)}capture(t,n,r=!1){n!==x&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&_e)===0&&(this.current.set(t,[t.v,r]),Z?.set(t,t.v))}activate(){S=this}deactivate(){S=null,Z=null}flush(){try{Tt=!0,S=this,this.#h()}finally{vn=0,Et=null,je=null,ft=null,Tt=!1,S=null,Z=null,we.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),me.delete(this)}#p(){for(const a of me){var t=a.id<this.id,n=[];for(const[u,[_,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&_!==r)a.current.set(u,[_,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,l=new Map;for(var f of n)pn(f,i,s,l);if(a.#r.length>0){a.apply();for(var o of a.#r)a.#u(o,[],[]);a.#r=[]}a.deactivate()}}for(const a of me)a.#a.has(this)&&(a.#a.delete(this),a.#a.size===0&&!a.#d()&&(a.activate(),a.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,pe(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#f.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Kt()).promise}static ensure(){if(S===null){const t=S=new oe;Tt||(me.add(S),Ve||pe(()=>{S===t&&t.flush()}))}return S}apply(){{Z=null;return}}schedule(t){if(Et=t,t.b?.is_pending&&(t.f&(Me|et|Xt))!==0&&(t.f&he)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(je!==null&&n===w&&(m===null||(m.f&C)===0))return;if((r&(de|X))!==0){if((r&N)===0)return;n.f^=N}}this.#r.push(n)}}function St(e){var t=Ve;Ve=!0;try{for(var n;;){if(Xr(),S===null)return n;S.flush()}}finally{Ve=t}}function ti(){try{Br()}catch(e){ge(e,Et)}}let ae=null;function _n(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(q|D))===0&&We(r)&&(ae=new Set,qe(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Hn(r),ae?.size>0)){we.clear();for(const i of ae){if((i.f&(q|D))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ae.has(l)&&(ae.delete(l),s.push(l)),l=l.parent;for(let f=s.length-1;f>=0;f--){const o=s[f];(o.f&(q|D))===0&&qe(o)}}ae.clear()}}ae=null}}function pn(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&C)!==0?pn(i,t,n,r):(s&(bt|ce))!==0&&(s&O)===0&&gn(i,t,r)&&(A(i,O),At(i))}}function gn(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(Pe.call(t,i))return!0;if((i.f&C)!==0&&gn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function At(e){S.schedule(e)}function mn(e,t){if(!((e.f&X)!==0&&(e.f&N)!==0)){(e.f&O)!==0?t.d.push(e):(e.f&ne)!==0&&t.m.push(e),A(e,N);for(var n=e.first;n!==null;)mn(n,t),n=n.next}}function wn(e){A(e,N);for(var t=e.first;t!==null;)wn(t),t=t.next}function ni(e){let t=0,n=Ne(0),r;return()=>{It()&&(E(n),Fn(()=>(t===0&&(r=Zn(()=>e(()=>Ue(n)))),t+=1,()=>{pe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ue(n))})})))}}var ri=Le|ve;function ii(e,t,n,r){new si(e,t,n,r)}class si{parent;is_pending=!1;transform_error;#e;#n=y?T:null;#t;#i;#s;#r=null;#l=null;#f=null;#o=null;#c=0;#a=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=ni(()=>(this.#u=Ne(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=w;l.b=this,l.f|=mt,r(s)},this.parent=w.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=ut(()=>{if(y){const s=this.#n;rt();const l=s.data===pt;if(s.data.startsWith(Vt)){const o=JSON.parse(s.data.slice(Vt.length));this.#y(o)}else l?this.#$():this.#p()}else this.#w()},ri),y&&(this.#e=T)}#p(){try{this.#r=V(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#f=V(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=V(()=>t(this.#e)),pe(()=>{var n=this.#o=document.createDocumentFragment(),r=ee();n.append(r),this.#r=this.#m(()=>V(()=>this.#i(r))),this.#a===0&&(this.#e.before(n),this.#o=null,ke(this.#l,()=>{this.#l=null}),this.#g(S))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#a=0,this.#c=0,this.#r=V(()=>{this.#i(this.#e)}),this.#a>0){var t=this.#o=document.createDocumentFragment();Dt(this.#r,t);const n=this.#t.pending;this.#l=V(()=>n(this.#e))}else this.#g(S)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){hn(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=w,r=m,i=z;U(this.#s),M(this.#s),Fe(this.#s.ctx);try{return oe.ensure(),t()}catch(s){return cn(s),null}finally{U(n),M(r),Fe(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#a+=t,this.#a===0&&(this.#g(n),this.#l&&ke(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,pe(()=>{this.#d=!1,this.#u&&He(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),E(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(P(this.#r),this.#r=null),this.#l&&(P(this.#l),this.#l=null),this.#f&&(P(this.#f),this.#f=null),y&&(I(this.#n),nn(),I(st()));var i=!1,s=!1;const l=()=>{if(i){Gr();return}i=!0,s&&Wr(),this.#f!==null&&ke(this.#f,()=>{this.#f=null}),this.#m(()=>{this.#w()})},f=o=>{try{s=!0,n?.(o,l),s=!1}catch(a){ge(a,this.#s&&this.#s.parent)}r&&(this.#f=this.#m(()=>{try{return V(()=>{var a=w;a.b=this,a.f|=mt,r(this.#e,()=>o,()=>l)})}catch(a){return ge(a,this.#s.parent),null}}))};pe(()=>{var o;try{o=this.transform_error(t)}catch(a){ge(a,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(f,a=>ge(a,this.#s&&this.#s.parent)):f(o)})}}function li(e,t,n,r){const i=at;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=w,f=fi(),o=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){f();try{r(c)}catch(d){(l.f&q)===0&&ge(d,l)}ot()}if(n.length===0){o.then(()=>a(t.map(i)));return}var u=bn();function _(){Promise.all(n.map(c=>oi(c))).then(c=>a([...t.map(i),...c])).catch(c=>ge(c,l)).finally(()=>u())}o?o.then(()=>{f(),_(),ot()}):_()}function fi(){var e=w,t=m,n=z,r=S;return function(s=!0){U(e),M(t),Fe(n),s&&(e.f&q)===0&&(r?.activate(),r?.apply())}}function ot(e=!0){U(null),M(null),Fe(null),e&&S?.deactivate()}function bn(){var e=w,t=e.b,n=S,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function at(e){var t=C|O,n=m!==null&&(m.f&C)!==0?m:null;return w!==null&&(w.f|=ve),{ctx:z,deps:null,effects:null,equals:sn,f:t,fn:e,reactions:null,rv:0,v:x,wv:0,parent:n??w,ac:null}}function oi(e,t,n){let r=w;r===null&&Lr();var i=void 0,s=Ne(x),l=!m,f=new Map;return bi(()=>{var o=w,a=Kt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(ot)}catch(d){a.reject(d),ot()}var u=S;if(l){if((o.f&he)!==0)var _=bn();if(r.b.is_rendered())f.get(u)?.reject(fe),f.delete(u);else{for(const d of f.values())d.reject(fe);f.clear()}f.set(u,a)}const c=(d,v=void 0)=>{if(_){var p=v===fe;_(p)}if(!(v===fe||(o.f&q)!==0)){if(u.activate(),v)s.f|=_e,He(s,v);else{(s.f&_e)!==0&&(s.f^=_e),He(s,d);for(const[h,g]of f){if(f.delete(h),h===u)break;g.reject(fe)}}u.deactivate()}};a.promise.then(c,d=>c(null,d||"unknown"))}),Ln(()=>{for(const o of f.values())o.reject(fe)}),new Promise(o=>{function a(u){function _(){u===i?o(s):a(i)}u.then(_,_)}a(i)})}function ai(e){const t=at(e);return Yn(t),t}function yn(e){const t=at(e);return t.equals=ln,t}function ui(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)P(t[n])}}function ci(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&q)===0?t:null;t=t.parent}return null}function Nt(e){var t,n=w;U(ci(e));try{e.f&=~Se,ui(e),t=Jn(e)}finally{U(n)}return t}function $n(e){var t=e.v,n=Nt(e);if(!e.equals(n)&&(e.wv=Wn(),(!S?.is_fork||e.deps===null)&&(e.v=n,S?.capture(e,t,!0),e.deps===null))){A(e,N);return}ye||(Z!==null?(It()||S?.is_fork)&&Z.set(e,n):$t(e))}function di(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(fe),t.teardown=Rr,t.ac=null,Ge(t,0),Mt(t))}function En(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&qe(t)}let kt=new Set;const we=new Map;let Tn=!1;function Ne(e,t){var n={f:0,v:e,reactions:null,equals:sn,rv:0,wv:0};return n}function ue(e,t){const n=Ne(e);return Yn(n),n}function Sn(e,t=!1,n=!0){const r=Ne(e);return t||(r.equals=ln),r}function Q(e,t,n=!1){m!==null&&(!te||(m.f&Qt)!==0)&&an()&&(m.f&(C|ce|bt|Qt))!==0&&(W===null||!Pe.call(W,e))&&Ur();let r=n?Be(t):t;return He(e,r,ft)}function He(e,t,n=null){if(!e.equals(t)){var r=e.v;ye?we.set(e,t):we.set(e,r),e.v=t;var i=oe.ensure();if(i.capture(e,r),(e.f&C)!==0){const s=e;(e.f&O)!==0&&Nt(s),Z===null&&$t(s)}e.wv=Wn(),An(e,O,n),w!==null&&(w.f&N)!==0&&(w.f&(X|de))===0&&(G===null?Ei([e]):G.push(e)),!i.is_fork&&kt.size>0&&!Tn&&hi()}return t}function hi(){Tn=!1;for(const e of kt)(e.f&N)!==0&&A(e,ne),We(e)&&qe(e);kt.clear()}function Ue(e){Q(e,e.v+1)}function An(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],f=l.f,o=(f&O)===0;if(o&&A(l,t),(f&C)!==0){var a=l;Z?.delete(a),(f&Se)===0&&(f&B&&(l.f|=Se),An(a,ne,n))}else if(o){var u=l;(f&ce)!==0&&ae!==null&&ae.add(u),n!==null?n.push(u):At(u)}}}function Be(e){if(typeof e!="object"||e===null||tt in e)return e;const t=Gt(e);if(t!==Cr&&t!==xr)return e;var n=new Map,r=Wt(e),i=ue(0),s=xe,l=f=>{if(xe===s)return f();var o=m,a=xe;M(null),Un(s);var u=f();return M(o),Un(a),u};return r&&n.set("length",ue(e.length)),new Proxy(e,{defineProperty(f,o,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Yr();var u=n.get(o);return u===void 0?l(()=>{var _=ue(a.value);return n.set(o,_),_}):Q(u,a.value,!0),!0},deleteProperty(f,o){var a=n.get(o);if(a===void 0){if(o in f){const u=l(()=>ue(x));n.set(o,u),Ue(i)}}else Q(a,x),Ue(i);return!0},get(f,o,a){if(o===tt)return e;var u=n.get(o),_=o in f;if(u===void 0&&(!_||Te(f,o)?.writable)&&(u=l(()=>{var d=Be(_?f[o]:x),v=ue(d);return v}),n.set(o,u)),u!==void 0){var c=E(u);return c===x?void 0:c}return Reflect.get(f,o,a)},getOwnPropertyDescriptor(f,o){var a=Reflect.getOwnPropertyDescriptor(f,o);if(a&&"value"in a){var u=n.get(o);u&&(a.value=E(u))}else if(a===void 0){var _=n.get(o),c=_?.v;if(_!==void 0&&c!==x)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(f,o){if(o===tt)return!0;var a=n.get(o),u=a!==void 0&&a.v!==x||Reflect.has(f,o);if(a!==void 0||w!==null&&(!u||Te(f,o)?.writable)){a===void 0&&(a=l(()=>{var c=u?Be(f[o]):x,d=ue(c);return d}),n.set(o,a));var _=E(a);if(_===x)return!1}return u},set(f,o,a,u){var _=n.get(o),c=o in f;if(r&&o==="length")for(var d=a;d<_.v;d+=1){var v=n.get(d+"");v!==void 0?Q(v,x):d in f&&(v=l(()=>ue(x)),n.set(d+"",v))}if(_===void 0)(!c||Te(f,o)?.writable)&&(_=l(()=>ue(void 0)),Q(_,Be(a)),n.set(o,_));else{c=_.v!==x;var p=l(()=>Be(a));Q(_,p)}var h=Reflect.getOwnPropertyDescriptor(f,o);if(h?.set&&h.set.call(u,a),!c){if(r&&typeof o=="string"){var g=n.get("length"),$=Number(o);Number.isInteger($)&&$>=g.v&&Q(g,$+1)}Ue(i)}return!0},ownKeys(f){E(i);var o=Reflect.ownKeys(f).filter(_=>{var c=n.get(_);return c===void 0||c.v!==x});for(var[a,u]of n)u.v!==x&&!(a in f)&&o.push(a);return o},setPrototypeOf(){Vr()}})}var Nn,kn,Cn,xn;function Ct(){if(Nn===void 0){Nn=window,kn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Cn=Te(t,"firstChild").get,xn=Te(t,"nextSibling").get,Jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Jt(n)&&(n.__t=void 0)}}function ee(e=""){return document.createTextNode(e)}function be(e){return Cn.call(e)}function Y(e){return xn.call(e)}function xt(e,t){if(!y)return be(e);var n=be(T);return n===null&&(n=T.appendChild(ee())),I(n),n}function Rn(e,t=!1){if(!y){var n=be(e);return n instanceof Comment&&n.data===""?Y(n):n}if(t){if(T?.nodeType!==yt){var r=ee();return T?.before(r),I(r),r}Mn(T)}return T}function On(e,t=1,n=!1){let r=y?T:e;for(var i;t--;)i=r,r=Y(r);if(!y)return r;if(n){if(r?.nodeType!==yt){var s=ee();return r===null?i?.after(s):r.before(s),I(s),s}Mn(r)}return I(r),r}function In(e){e.textContent=""}function Pn(){return!1}function Rt(e,t,n){return document.createElementNS(Ut,e,void 0)}function Mn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===yt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Ot(e){var t=m,n=w;M(null),U(null);try{return e()}finally{M(t),U(n)}}function vi(e){w===null&&(m===null&&Hr(),jr()),ye&&Fr()}function _i(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ie(e,t){var n=w;n!==null&&(n.f&D)!==0&&(e|=D);var r={ctx:z,deps:null,nodes:null,f:e|O|B,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&Me)!==0)je!==null?je.push(r):oe.ensure().schedule(r);else if(t!==null){try{qe(r)}catch(l){throw P(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ve)===0&&(i=i.first,(e&ce)!==0&&(e&Le)!==0&&i!==null&&(i.f|=Le))}if(i!==null&&(i.parent=n,n!==null&&_i(i,n),m!==null&&(m.f&C)!==0&&(e&de)===0)){var s=m;(s.effects??=[]).push(i)}return r}function It(){return m!==null&&!te}function Ln(e){const t=ie(et,null);return A(t,N),t.teardown=e,t}function pi(e){vi();var t=w.f,n=!m&&(t&X)!==0&&(t&he)===0;if(n){var r=z;(r.e??=[]).push(e)}else return Dn(e)}function Dn(e){return ie(Me|Ir,e)}function gi(e){oe.ensure();const t=ie(de|ve,e);return()=>{P(t)}}function mi(e){oe.ensure();const t=ie(de|ve,e);return(n={})=>new Promise(r=>{n.outro?ke(t,()=>{P(t),r(void 0)}):(P(t),r(void 0))})}function wi(e){return ie(Me,e)}function bi(e){return ie(bt|ve,e)}function Fn(e,t=0){return ie(et|t,e)}function Pt(e,t=[],n=[],r=[]){li(r,t,n,i=>{ie(et,()=>e(...i.map(E)))})}function ut(e,t=0){var n=ie(ce|t,e);return n}function V(e){return ie(X|ve,e)}function jn(e){var t=e.teardown;if(t!==null){const n=ye,r=m;zn(!0),M(null);try{t.call(null)}finally{zn(n),M(r)}}}function Mt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ot(()=>{i.abort(fe)});var r=n.next;(n.f&de)!==0?n.parent=null:P(n,t),n=r}}function yi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&X)===0&&P(t),t=n}}function P(e,t=!0){var n=!1;(t||(e.f&en)!==0)&&e.nodes!==null&&e.nodes.end!==null&&($i(e.nodes.start,e.nodes.end),n=!0),A(e,Zt),Mt(e,t&&!n),Ge(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();jn(e),e.f^=Zt,e.f|=q;var i=e.parent;i!==null&&i.first!==null&&Hn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function $i(e,t){for(;e!==null;){var n=e===t?null:Y(e);e.remove(),e=n}}function Hn(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 ke(e,t,n=!0){var r=[];Bn(e,r,!0);var i=()=>{n&&P(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var f of r)f.out(l)}else i()}function Bn(e,t,n){if((e.f&D)===0){e.f^=D;var r=e.nodes&&e.nodes.t;if(r!==null)for(const f of r)(f.is_global||n)&&t.push(f);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&Le)!==0||(i.f&X)!==0&&(e.f&ce)!==0;Bn(i,t,l?n:!1),i=s}}}function Lt(e){qn(e,!0)}function qn(e,t){if((e.f&D)!==0){e.f^=D,(e.f&N)===0&&(A(e,O),oe.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Le)!==0||(n.f&X)!==0;qn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function Dt(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Y(n);t.append(n),n=i}}let ct=!1,ye=!1;function zn(e){ye=e}let m=null,te=!1;function M(e){m=e}let w=null;function U(e){w=e}let W=null;function Yn(e){m!==null&&(W===null?W=[e]:W.push(e))}let L=null,j=0,G=null;function Ei(e){G=e}let Vn=1,Ce=0,xe=Ce;function Un(e){xe=e}function Wn(){return++Vn}function We(e){var t=e.f;if((t&O)!==0)return!0;if(t&C&&(e.f&=~Se),(t&ne)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(We(s)&&$n(s),s.wv>e.wv)return!0}(t&B)!==0&&Z===null&&A(e,N)}return!1}function Gn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(W!==null&&Pe.call(W,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&C)!==0?Gn(s,t,!1):t===s&&(n?A(s,O):(s.f&N)!==0&&A(s,ne),At(s))}}function Jn(e){var t=L,n=j,r=G,i=m,s=W,l=z,f=te,o=xe,a=e.f;L=null,j=0,G=null,m=(a&(X|de))===0?e:null,W=null,Fe(e.ctx),te=!1,xe=++Ce,e.ac!==null&&(Ot(()=>{e.ac.abort(fe)}),e.ac=null);try{e.f|=wt;var u=e.fn,_=u();e.f|=he;var c=e.deps,d=S?.is_fork;if(L!==null){var v;if(d||Ge(e,j),c!==null&&j>0)for(c.length=j+L.length,v=0;v<L.length;v++)c[j+v]=L[v];else e.deps=c=L;if(It()&&(e.f&B)!==0)for(v=j;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!d&&c!==null&&j<c.length&&(Ge(e,j),c.length=j);if(an()&&G!==null&&!te&&c!==null&&(e.f&(C|ne|O))===0)for(v=0;v<G.length;v++)Gn(G[v],e);if(i!==null&&i!==e){if(Ce++,i.deps!==null)for(let p=0;p<n;p+=1)i.deps[p].rv=Ce;if(t!==null)for(const p of t)p.rv=Ce;G!==null&&(r===null?r=G:r.push(...G))}return(e.f&_e)!==0&&(e.f^=_e),_}catch(p){return cn(p)}finally{e.f^=wt,L=t,j=n,G=r,m=i,W=s,Fe(l),te=f,xe=o}}function Ti(e,t){let n=t.reactions;if(n!==null){var r=Nr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&C)!==0&&(L===null||!Pe.call(L,t))){var s=t;(s.f&B)!==0&&(s.f^=B,s.f&=~Se),$t(s),di(s),Ge(s,0)}}function Ge(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ti(e,n[r])}function qe(e){var t=e.f;if((t&q)===0){A(e,N);var n=w,r=ct;w=e,ct=!0;try{(t&(ce|Xt))!==0?yi(e):Mt(e),jn(e);var i=Jn(e);e.teardown=typeof i=="function"?i:null,e.wv=Vn;var s;Ar&&Kr&&(e.f&O)!==0&&e.deps}finally{ct=r,w=n}}}function E(e){var t=e.f,n=(t&C)!==0;if(m!==null&&!te){var r=w!==null&&(w.f&q)!==0;if(!r&&(W===null||!Pe.call(W,e))){var i=m.deps;if((m.f&wt)!==0)e.rv<Ce&&(e.rv=Ce,L===null&&i!==null&&i[j]===e?j++:L===null?L=[e]:L.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:Pe.call(s,m)||s.push(m)}}}if(ye&&we.has(e))return we.get(e);if(n){var l=e;if(ye){var f=l.v;return((l.f&N)===0&&l.reactions!==null||Xn(l))&&(f=Nt(l)),we.set(l,f),f}var o=(l.f&B)===0&&!te&&m!==null&&(ct||(m.f&B)!==0),a=(l.f&he)===0;We(l)&&(o&&(l.f|=B),$n(l)),o&&!a&&(En(l),Kn(l))}if(Z?.has(e))return Z.get(e);if((e.f&_e)!==0)throw e.v;return e.v}function Kn(e){if(e.f|=B,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&B)===0&&(En(t),Kn(t))}function Xn(e){if(e.v===x)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(we.has(t)||(t.f&C)!==0&&Xn(t))return!0;return!1}function Zn(e){var t=te;try{return te=!0,e()}finally{te=t}}const dt=Symbol("events"),Si=new Set,Qn=new Set;function Ai(e,t,n,r={}){function i(s){if(r.capture||Ft.call(t,s),!s.cancelBubble)return Ot(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?pe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function er(e,t,n,r,i){var s={capture:r,passive:i},l=Ai(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Ln(()=>{t.removeEventListener(e,l,s)})}let tr=null;function Ft(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;tr=e;var l=0,f=tr===e&&e[dt];if(f){var o=i.indexOf(f);if(o!==-1&&(t===document||t===window)){e[dt]=t;return}var a=i.indexOf(t);if(a===-1)return;o<=a&&(l=o)}if(s=i[l]||e.target,s!==t){Qe(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=m,_=w;M(null),U(null);try{for(var c,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var p=s[dt]?.[r];p!=null&&(!s.disabled||e.target===s)&&p.call(s,e)}catch(h){c?d.push(h):c=h}if(e.cancelBubble||v===t||v===null)break;s=v}if(c){for(let h of d)queueMicrotask(()=>{throw h});throw c}}finally{e[dt]=t,delete e.currentTarget,M(u),U(_)}}}const Ni=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ki(e){return Ni?.createHTML(e)??e}function Ci(e){var t=Rt("template");return t.innerHTML=ki(e.replaceAll("<!>","<!---->")),t.content}function ht(e,t){var n=w;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ze(e,t){var n=(t&Tr)!==0,r=(t&Sr)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return ht(T,null),T;i===void 0&&(i=Ci(s?e:"<!>"+e),n||(i=be(i)));var l=r||kn?document.importNode(i,!0):i.cloneNode(!0);if(n){var f=be(l),o=l.lastChild;ht(f,o)}else ht(l,l);return l}}function Re(e,t){if(y){var n=w;((n.f&he)===0||n.nodes.end===null)&&(n.nodes.end=T),rt();return}e!==null&&e.before(t)}const xi=["touchstart","touchmove"];function Ri(e){return xi.includes(e)}function nr(e,t){return rr(e,t)}function Oi(e,t){Ct(),t.intro=t.intro??!1;const n=t.target,r=y,i=T;try{for(var s=be(n);s&&(s.nodeType!==De||s.data!==Yt);)s=Y(s);if(!s)throw Ie;F(!0),I(s);const l=rr(e,{...t,anchor:s});return F(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==Ie&&console.warn("Failed to hydrate: ",l),t.recover===!1&&qr(),Ct(),In(n),F(!1),nr(e,t)}finally{F(r),I(i)}}const vt=new Map;function rr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:f}){Ct();var o=void 0,a=mi(()=>{var u=n??t.appendChild(ee());ii(u,{pending:()=>{}},d=>{fn({});var v=z;if(s&&(v.c=s),i&&(r.$$events=i),y&&ht(d,null),o=e(d,r)||{},y&&(w.nodes.end=T,T===null||T.nodeType!==De||T.data!==gt))throw nt(),Ie;on()},f);var _=new Set,c=d=>{for(var v=0;v<d.length;v++){var p=d[v];if(!_.has(p)){_.add(p);var h=Ri(p);for(const b of[t,document]){var g=vt.get(b);g===void 0&&(g=new Map,vt.set(b,g));var $=g.get(p);$===void 0?(b.addEventListener(p,Ft,{passive:h}),g.set(p,1)):g.set(p,$+1)}}}};return c(Xe(Si)),Qn.add(c),()=>{for(var d of _)for(const h of[t,document]){var v=vt.get(h),p=v.get(d);--p==0?(h.removeEventListener(d,Ft),v.delete(d),v.size===0&&vt.delete(h)):v.set(d,p)}Qn.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return jt.set(o,a),o}let jt=new WeakMap;function Ii(e,t){const n=jt.get(e);return n?(jt.delete(e),n(t)):Promise.resolve()}class Pi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Lt(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const f=this.#t.get(l);f&&(P(f.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const f=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();Dt(l,a),a.append(ee()),this.#t.set(s,{effect:l,fragment:a})}else P(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),ke(l,f,!1)):f()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(P(i.effect),this.#t.delete(r))};ensure(t,n){var r=S,i=Pn();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=ee();s.append(l),this.#t.set(t,{effect:V(()=>n(l)),fragment:s})}else this.#n.set(t,V(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[f,o]of this.#n)f===t?r.unskip_effect(o):r.skip_effect(o);for(const[f,o]of this.#t)f===t?r.unskip_effect(o.effect):r.skip_effect(o.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else y&&(this.anchor=T),this.#r(r)}}function ir(e,t,n=!1){var r;y&&(r=T,rt());var i=new Pi(e),s=n?Le:0;function l(f,o){if(y){var a=rn(r);if(f!==parseInt(a.substring(1))){var u=st();I(u),i.anchor=u,F(!1),i.ensure(f,o),F(!0);return}}i.ensure(f,o)}ut(()=>{var f=!1;t((o,a=0)=>{f=!0,l(a,o)}),f||l(-1,null)},s)}function Mi(e,t,n){for(var r=[],i=t.length,s,l=t.length,f=0;f<i;f++){let _=t[f];ke(_,()=>{if(s){if(s.pending.delete(_),s.done.add(_),s.pending.size===0){var c=e.outrogroups;Ht(e,Xe(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=r.length===0&&n!==null;if(o){var a=n,u=a.parentNode;In(u),u.append(a),e.items.clear()}Ht(e,t,!o)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function Ht(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const l of e.pending.values())for(const f of l)r.add(e.items.get(f).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=re;const l=document.createDocumentFragment();Dt(s,l)}else P(t[i],n)}}var sr;function lr(e,t,n,r,i,s=null){var l=e,f=new Map,o=(t&zt)!==0;if(o){var a=e;l=y?I(be(a)):a.appendChild(ee())}y&&rt();var u=null,_=yn(()=>{var b=n();return Wt(b)?b:b==null?[]:Xe(b)}),c,d=new Map,v=!0;function p(b){($.effect.f&q)===0&&($.pending.delete(b),$.fallback=u,Li($,c,l,t,r),u!==null&&(c.length===0?(u.f&re)===0?Lt(u):(u.f^=re,Ke(u,null,l)):ke(u,()=>{u=null})))}function h(b){$.pending.delete(b)}var g=ut(()=>{c=E(_);var b=c.length;let k=!1;if(y){var Ye=rn(l)===pt;Ye!==(b===0)&&(l=st(),I(l),F(!1),k=!0)}for(var se=new Set,R=S,le=Pn(),J=0;J<b;J+=1){y&&T.nodeType===De&&T.data===gt&&(l=T,k=!0,F(!1));var H=c[J],Ee=r(H,J),K=v?null:f.get(Ee);K?(K.v&&He(K.v,H),K.i&&He(K.i,J),le&&R.unskip_effect(K.e)):(K=Di(f,v?l:sr??=ee(),H,Ee,J,i,t,n),v||(K.e.f|=re),f.set(Ee,K)),se.add(Ee)}if(b===0&&s&&!u&&(v?u=V(()=>s(l)):(u=V(()=>s(sr??=ee())),u.f|=re)),b>se.size&&Dr(),y&&b>0&&I(st()),!v)if(d.set(R,se),le){for(const[_r,fs]of f)se.has(_r)||R.skip_effect(fs.e);R.oncommit(p),R.ondiscard(h)}else p(R);k&&F(!0),E(_)}),$={effect:g,items:f,pending:d,outrogroups:null,fallback:u};v=!1,y&&(l=T)}function Je(e){for(;e!==null&&(e.f&X)===0;)e=e.next;return e}function Li(e,t,n,r,i){var s=(r&mr)!==0,l=t.length,f=e.items,o=Je(e.effect.first),a,u=null,_,c=[],d=[],v,p,h,g;if(s)for(g=0;g<l;g+=1)v=t[g],p=i(v,g),h=f.get(p).e,(h.f&re)===0&&(h.nodes?.a?.measure(),(_??=new Set).add(h));for(g=0;g<l;g+=1){if(v=t[g],p=i(v,g),h=f.get(p).e,e.outrogroups!==null)for(const H of e.outrogroups)H.pending.delete(h),H.done.delete(h);if((h.f&D)!==0&&(Lt(h),s&&(h.nodes?.a?.unfix(),(_??=new Set).delete(h))),(h.f&re)!==0)if(h.f^=re,h===o)Ke(h,null,n);else{var $=u?u.next:o;h===e.effect.last&&(e.effect.last=h.prev),h.prev&&(h.prev.next=h.next),h.next&&(h.next.prev=h.prev),$e(e,u,h),$e(e,h,$),Ke(h,$,n),u=h,c=[],d=[],o=Je(u.next);continue}if(h!==o){if(a!==void 0&&a.has(h)){if(c.length<d.length){var b=d[0],k;u=b.prev;var Ye=c[0],se=c[c.length-1];for(k=0;k<c.length;k+=1)Ke(c[k],b,n);for(k=0;k<d.length;k+=1)a.delete(d[k]);$e(e,Ye.prev,se.next),$e(e,u,Ye),$e(e,se,b),o=b,u=se,g-=1,c=[],d=[]}else a.delete(h),Ke(h,o,n),$e(e,h.prev,h.next),$e(e,h,u===null?e.effect.first:u.next),$e(e,u,h),u=h;continue}for(c=[],d=[];o!==null&&o!==h;)(a??=new Set).add(o),d.push(o),o=Je(o.next);if(o===null)continue}(h.f&re)===0&&c.push(h),u=h,o=Je(h.next)}if(e.outrogroups!==null){for(const H of e.outrogroups)H.pending.size===0&&(Ht(e,Xe(H.done)),e.outrogroups?.delete(H));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||a!==void 0){var R=[];if(a!==void 0)for(h of a)(h.f&D)===0&&R.push(h);for(;o!==null;)(o.f&D)===0&&o!==e.fallback&&R.push(o),o=Je(o.next);var le=R.length;if(le>0){var J=(r&zt)!==0&&l===0?n:null;if(s){for(g=0;g<le;g+=1)R[g].nodes?.a?.measure();for(g=0;g<le;g+=1)R[g].nodes?.a?.fix()}Mi(e,R,J)}}s&&pe(()=>{if(_!==void 0)for(h of _)h.nodes?.a?.apply()})}function Di(e,t,n,r,i,s,l,f){var o=(l&pr)!==0?(l&wr)===0?Sn(n,!1,!1):Ne(n):null,a=(l&gr)!==0?Ne(i):null;return{v:o,i:a,e:V(()=>(s(t,o??n,a??i,f),()=>{e.delete(r)}))}}function Ke(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&re)===0?t.nodes.start:n;r!==null;){var l=Y(r);if(s.before(r),r===i)return;r=l}}function $e(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Fi(e,t){let n=null,r=y;var i;if(y){n=T;for(var s=be(document.head);s!==null&&(s.nodeType!==De||s.data!==e);)s=Y(s);if(s===null)F(!1);else{var l=Y(s);s.remove(),I(l)}}y||(i=document.head.appendChild(ee()));try{ut(()=>t(i),en|ve)}finally{r&&(F(!0),I(n))}}function ji(e,t){wi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Rt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Hi(e,t,n){var r=e==null?"":""+e;return r===""?null:r}function Bi(e,t){return e==null?null:String(e)}function qi(e,t,n,r,i,s){var l=e.__className;if(y||l!==n||l===void 0){var f=Hi(n);(!y||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=n}return s}function zi(e,t,n,r){var i=e.__style;if(y||i!==t){var s=Bi(t);(!y||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Yi=Symbol("is custom element"),Vi=Symbol("is html"),Ui=Mr?"link":"LINK";function Wi(e,t,n,r){var i=Gi(e);y&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Ui)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Pr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&or(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function fr(e,t,n){var r=m,i=w;let s=y;y&&F(!1),M(null),U(null);try{t!=="style"&&(Bt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?or(e).includes(t):n&&typeof n=="object")?e[t]=n:Wi(e,t,n==null?n:String(n))}finally{M(r),U(i),s&&F(!0)}}function Gi(e){return e.__attributes??={[Yi]:e.nodeName.includes("-"),[Vi]:e.namespaceURI===Ut}}var Bt=new Map;function or(e){var t=e.getAttribute("is")||e.nodeName,n=Bt.get(t);if(n)return n;Bt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=kr(i);for(var l in r)r[l].set&&n.push(l);i=Gt(i)}return n}function ar(e,t,n,r){var i=(n&$r)!==0,s=(n&Er)!==0,l=r,f=!0,o=()=>(f&&(f=!1,l=s?Zn(r):r),l);let a;if(i){var u=tt in e||tn in e;a=Te(e,t)?.set??(u&&t in e?$=>e[t]=$:void 0)}var _,c=!1;i?[_,c]=Qr(()=>e[t]):_=e[t],_===void 0&&r!==void 0&&(_=o(),a&&(zr(),a(_)));var d;if(d=()=>{var $=e[t];return $===void 0?o():(f=!0,$)},(n&yr)===0)return d;if(a){var v=e.$$legacy;return(function($,b){return arguments.length>0?((!b||v||c)&&a(b?d():$),$):d()})}var p=!1,h=((n&br)!==0?at:yn)(()=>(p=!1,d()));i&&E(h);var g=w;return(function($,b){if(arguments.length>0){const k=b?E(h):i?Be($):$;return Q(h,k),p=!0,l!==void 0&&(l=k),$}return ye&&p||(g.f&q)!==0?h.v:E(h)})}function Ji(e){return new Ki(e)}class Ki{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var f=Sn(l,!1,!1);return n.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return E(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===tn?!0:(E(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,f){return Q(n.get(l)??r(l,f),f),Reflect.set(s,l,f)}});this.#n=(t.hydrate?Oi:nr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&St(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Qe(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Ii(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let ur;typeof HTMLElement=="function"&&(ur=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}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=Rt("slot");r!=="default"&&(s.name=r),Re(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Xi(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]=_t(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=Ji({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=gi(()=>{Fn(()=>{this.$$r=!0;for(const r of Ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=_t(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]=_t(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 Ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _t(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 Xi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Zi(e,t,n,r,i,s){let l=class extends ur{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Ze(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Ze(t).forEach(f=>{Qe(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(o){o=_t(f,o,t),this.$$d[f]=o;var a=this.$$c;if(a){var u=Te(a,f)?.get;u?a[f]=o:a.$set({[f]:o})}}})}),r.forEach(f=>{Qe(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}const cr={version:"0.66.1"};var Oe={},dr;function Qi(){if(dr)return Oe;dr=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.LanguageTranslator=void 0,Oe.getChildStyleToPass=e,Oe.addComponent=t;function e(r,i){var s,l,f="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||l===void 0)&&l.length))for(var o=function(c){var d=i?.filter(function(v){return v.name===c&&v.defaultValue!==r[c]});d&&(f+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var _=u[a];o(_)}}catch(c){console.error("error getting child style to pass",c)}finally{return f}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var f=document.createElement("script");if(f.id=s+"-script",f.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)f.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];f.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(f)}catch(a){console.warn(a)}}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,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,f="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(f=navigator.languages[0].split("-")[0].toLowerCase()),f},r.getDictionaryWord=function(i,s,l){var f;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((f=s[l])===null||f===void 0)&&f[i]))return s[l][i];var o="",a=r.getDefaultLang();if(!l||a!==l){var u=s?.[a];u?.[i]&&(o=u[i])}return o},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var f=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return f.format(i)},r})();return Oe.LanguageTranslator=n,Oe}var hr=Qi(),es=ze('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),ts=ze('<div class="sidebar-card-row"><hb-sidenav-button></hb-sidenav-button></div>',2),ns=ze('<div class="sidebar-card-rows-container"></div>'),rs=ze('<div class="sidebar-card-container"><!></div>'),is=ze('<hb-navbar><i slot="nav-switcher"></i></hb-navbar> <!>',3),ss=ze('to be done, ref <a href="https://web.telegram.org/z/">https://web.telegram.com</a> left panel <!>',1);const ls={hash:"svelte-1l0lk50",code:`@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");
|
|
3
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}`};function vr(e,t){fn(t,!0),ji(e,ls);function n(d,v){t.$$host.dispatchEvent(new CustomEvent(d,{detail:v}))}let r=ar(t,"id",7,""),i=ar(t,"panels",23,()=>[]),s=ue(""),l=ai(()=>E(s)?i().find(d=>d.id===E(s)):i()?.find?.(d=>d.main)||i()?.find?.(d=>!d.parentPanelId));pi(()=>{if(r()||r(""),typeof i()=="string")try{i(JSON.parse(i()))}catch(d){console.error("error parsing panels",d)}});function f(d,v){const p=E(l)?.cards.find(g=>g.id===v),h=p?.rows.find(g=>g.key===d);if(h){const g=Object.assign({},E(l));delete g.cards;const $=Object.assign({},p);delete g.rows;const b={id:r(),row:h,panel:g,card:$};n("itemClick",b),h.switchToPanelId&&Q(s,h.switchToPanelId,!0)}}hr.addComponent({repoName:"@htmlbricks/hb-navbar",version:cr.version}),hr.addComponent({repoName:"@htmlbricks/hb-sidenav-button",version:cr.version});function o(d){const v={text:d.text,key:d.key};return d.bootstrapIcon&&(v.bootstrapIcon=d.bootstrapIcon),d.badge&&(v.badge=d.badge),v}var a={get id(){return r()},set id(d=""){r(d),St()},get panels(){return i()},set panels(d=[]){i(d),St()}};nn();var u=ss();Fi("1l0lk50",d=>{var v=es();Re(d,v)});var _=On(Rn(u),3);{var c=d=>{var v=is(),p=Rn(v);Pt(()=>fr(p,"companybrandname",E(l).title));var h=xt(p);it(p);var g=On(p,2);lr(g,17,()=>E(l).cards,$=>$.id+"_c_"+E(l).id,($,b)=>{var k=rs(),Ye=xt(k);{var se=R=>{var le=ns();lr(le,21,()=>E(b).rows,J=>J.key+"_r_"+E(b).id,(J,H)=>{var Ee=ts(),K=xt(Ee);Pt(()=>fr(K,"navlink",JSON.stringify(o(E(H))))),it(Ee),er("pageChange",K,_r=>{f(E(H).key,E(b).id)}),Re(J,Ee)}),it(le),Re(R,le)};ir(Ye,R=>{E(b).rows&&E(b).rows.length>0&&R(se)})}it(k),Re($,k)}),Pt(()=>{zi(h,`font-weight:bold;cursor:${E(l).parentPanelId?"pointer":""}`),qi(h,1,`bi bi-${E(l).parentPanelId?"arrow-left":"list"}`)}),er("navmenuswitch",p,$=>{E(l)?.parentPanelId&&Q(s,E(l)?.parentPanelId,!0)}),Re(d,v)};ir(_,d=>{E(l)&&d(c)})}return Re(e,u),on(a)}customElements.define("hb-sidebar-cards-navigator",Zi(vr,{id:{},panels:{}},[],[],{mode:"open"})),qt.Component=vr,Object.defineProperty(qt,Symbol.toStringTag,{value:"Module"})})(this["sidebar-cards-navigator"]=this["sidebar-cards-navigator"]||{});
|
|
4
4
|
//# sourceMappingURL=main.iife.js.map
|