@htmlbricks/hb-dashboard-indicator 0.61.50 → 0.61.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,12 +1,4 @@
1
- (function(ce){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const vn=2,jt="[",de="[!",ve="]",ft={},y=Symbol(),he=!1;var _e=Array.isArray,hn=Array.prototype.indexOf,_n=Array.from,Tt=Object.keys,ot=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,pn=Object.prototype,$n=Array.prototype,bn=Object.getPrototypeOf,pe=Object.isExtensible;function $e(t){for(var e=0;e<t.length;e++)t[e]()}function gn(){var t,e,n=new Promise((r,i)=>{t=r,e=i});return{promise:n,resolve:t,reject:e}}const T=2,zt=4,be=8,dt=16,U=32,H=64,ge=128,A=256,Nt=512,E=1024,S=2048,W=4096,K=8192,nt=16384,me=32768,Yt=65536,ye=1<<17,we=1<<18,vt=1<<19,mn=1<<20,Vt=1<<21,Bt=1<<22,rt=1<<23,Ut=Symbol("$state"),yn=Symbol("legacy props"),Ht=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ee=3,yt=8;function wn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function En(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function xn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Tn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Rn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Rt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let b=!1;function G(t){b=t}let $;function q(t){if(t===null)throw Rt(),ft;return $=t}function Wt(){return q(M($))}function I(t){if(b){if(M($)!==null)throw Rt(),ft;$=t}}function Sn(t=1){if(b){for(var e=t,n=$;e--;)n=M(n);$=n}}function Cn(){for(var t=0,e=$;;){if(e.nodeType===yt){var n=e.data;if(n===ve){if(t===0)return e;t-=1}else(n===jt||n===de)&&(t+=1)}var r=M(e);e.remove(),e=r}}function On(t){if(!t||t.nodeType!==yt)throw Rt(),ft;return t.data}function xe(t){return t===this.v}function An(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Pn(t){return!An(t,this.v)}let qn=!1,D=null;function St(t){D=t}function ke(t,e=!1,n){D={p:D,c:null,e:null,s:t,x:null,l:null}}function Te(t){var e=D,n=e.e;if(n!==null){e.e=null;for(var r of n)Jn(r)}return t!==void 0&&(e.x=t),D=e.p,t??{}}function Ne(){return!0}const Dn=new WeakMap;function Fn(t){var e=_;if(e===null)return p.f|=rt,t;if((e.f&me)===0){if((e.f&ge)===0)throw!e.parent&&t instanceof Error&&Re(t),t;e.b.error(t)}else Kt(t,e)}function Kt(t,e){for(;e!==null;){if((e.f&ge)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&Re(t),t}function Re(t){const e=Dn.get(t);e&&(ot(t,"message",{value:e.message}),ot(t,"stack",{value:e.stack}))}let Gt=[],Jt=[];function In(){var t=Gt;Gt=[],$e(t)}function Ln(){var t=Jt;Jt=[],$e(t)}function Mn(){Gt.length>0&&In(),Jt.length>0&&Ln()}function jn(){const t=_.b;return t===null&&wn(),t}function Se(t){var e=T|S,n=p!==null&&(p.f&T)!==0?p:null;return _===null||n!==null&&(n.f&A)!==0?e|=A:_.f|=vt,{ctx:D,deps:null,effects:null,equals:xe,f:e,fn:t,reactions:null,rv:0,v:y,wv:0,parent:n??_,ac:null}}function zn(t,e){let n=_;n===null&&En();var r=n.b,i=void 0,s=te(y),l=null,a=!p;return tr(()=>{try{var u=t();l&&Promise.resolve(u).catch(()=>{})}catch(c){u=Promise.reject(c)}var f=()=>u;i=l?.then(f,f)??Promise.resolve(u),l=i;var o=w,v=r.is_pending();a&&(r.update_pending_count(1),v||o.increment());const d=(c,h=void 0)=>{l=null,v||o.activate(),h?h!==Ht&&(s.f|=rt,ee(s,h)):((s.f&rt)!==0&&(s.f^=rt),ee(s,c)),a&&(r.update_pending_count(-1),v||o.decrement()),Ae()};if(i.then(d,c=>d(null,c||"unknown")),o)return()=>{queueMicrotask(()=>o.neuter())}}),new Promise(u=>{function f(o){function v(){o===i?u(s):f(i)}o.then(v,v)}f(i)})}function Ce(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)Z(e[n])}}function Yn(t){for(var e=t.parent;e!==null;){if((e.f&T)===0)return e;e=e.parent}return null}function Xt(t){var e,n=_;Q(Yn(t));try{Ce(t),e=rn(t)}finally{Q(n)}return e}function Oe(t){var e=Xt(t);if(t.equals(e)||(t.v=e,t.wv=en()),!bt){var n=(tt||(t.f&A)!==0)&&t.deps!==null?W:E;R(t,n)}}function Vn(t,e,n){const r=Se;if(e.length===0){n(t.map(r));return}var i=w,s=_,l=Bn(),a=jn();Promise.all(e.map(u=>zn(u))).then(u=>{i?.activate(),l();try{n([...t.map(r),...u])}catch(f){(s.f&nt)===0&&Kt(f,s)}i?.deactivate(),Ae()}).catch(u=>{a.error(u)})}function Bn(){var t=_,e=p,n=D,r=w;return function(){Q(t),F(e),St(n),r?.activate()}}function Ae(){Q(null),F(null),St(null)}const Zt=new Set;let w=null,Pe=new Set,Ct=[];function qe(){const t=Ct.shift();Ct.length>0&&queueMicrotask(qe),t()}let it=[],Ot=null,Qt=!1,At=!1;class st{current=new Map;#e=new Map;#t=new Set;#n=0;#f=null;#o=!1;#i=[];#l=[];#s=[];#r=[];#a=[];#c=[];#d=[];skipped_effects=new Set;process(e){it=[];for(const i of e)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#v();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#a=[],w=null,Fe(n),Fe(r),w===null?w=this:Zt.delete(this),this.#f?.resolve()}else this.#u(this.#s),this.#u(this.#r),this.#u(this.#a);for(const i of this.#i)gt(i);for(const i of this.#l)gt(i);this.#i=[],this.#l=[]}#h(e){e.f^=E;for(var n=e.first;n!==null;){var r=n.f,i=(r&(U|H))!==0,s=i&&(r&E)!==0,l=s||(r&K)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(i)n.f^=E;else if((r&zt)!==0)this.#r.push(n);else if((r&E)===0)if((r&Bt)!==0){var a=n.b?.is_pending()?this.#l:this.#i;a.push(n)}else Pt(n)&&((n.f&dt)!==0&&this.#a.push(n),gt(n));var u=n.first;if(u!==null){n=u;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#u(e){for(const n of e)((n.f&S)!==0?this.#c:this.#d).push(n),R(n,E);e.length=0}capture(e,n){this.#e.has(e)||this.#e.set(e,n),this.current.set(e,e.v)}activate(){w=this}deactivate(){w=null;for(const e of Pe)if(Pe.delete(e),e(),w!==null)break}neuter(){this.#o=!0}flush(){it.length>0?De():this.#v(),w===this&&(this.#n===0&&Zt.delete(this),this.deactivate())}#v(){if(!this.#o)for(const e of this.#t)e();this.#t.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const e of this.#c)R(e,S),_t(e);for(const e of this.#d)R(e,W),_t(e);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(e){this.#t.add(e)}settled(){return(this.#f??=gn()).promise}static ensure(){if(w===null){const e=w=new st;Zt.add(w),At||st.enqueue(()=>{w===e&&e.flush()})}return w}static enqueue(e){Ct.length===0&&queueMicrotask(qe),Ct.unshift(e)}}function ht(t){var e=At;At=!0;try{for(var n;;){if(Mn(),it.length===0&&(w?.flush(),it.length===0))return Ot=null,n;De()}}finally{At=e}}function De(){var t=$t;Qt=!0;try{var e=0;for(Xe(!0);it.length>0;){var n=st.ensure();if(e++>1e3){var r,i;Un()}n.process(it),J.clear()}}finally{Qt=!1,Xe(t),Ot=null}}function Un(){try{xn()}catch(t){Kt(t,Ot)}}let lt=null;function Fe(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(nt|K))===0&&Pt(r)&&(lt=[],gt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?We(r):r.fn=null),lt?.length>0)){J.clear();for(const i of lt)gt(i);lt=[]}}lt=null}}function _t(t){for(var e=Ot=t;e.parent!==null;){e=e.parent;var n=e.f;if(Qt&&e===_&&(n&dt)!==0)return;if((n&(H|U))!==0){if((n&E)===0)return;e.f^=E}}it.push(e)}const J=new Map;function te(t,e){var n={f:0,v:t,reactions:null,equals:xe,rv:0,wv:0};return n}function X(t,e){const n=te(t);return lr(n),n}function Hn(t,e=!1,n=!0){const r=te(t);return e||(r.equals=Pn),r}function L(t,e,n=!1){p!==null&&(!at||(p.f&ye)!==0)&&Ne()&&(p.f&(T|dt|Bt|ye))!==0&&!Y?.includes(t)&&Rn();let r=n?wt(e):e;return ee(t,r)}function ee(t,e){if(!t.equals(e)){var n=t.v;bt?J.set(t,e):J.set(t,n),t.v=e;var r=st.ensure();r.capture(t,n),(t.f&T)!==0&&((t.f&S)!==0&&Xt(t),R(t,(t.f&A)===0?E:W)),t.wv=en(),Ie(t,S),_!==null&&(_.f&E)!==0&&(_.f&(U|H))===0&&(C===null?ar([t]):C.push(t))}return e}function ne(t){L(t,t.v+1)}function Ie(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,a=(l&S)===0;a&&R(s,e),(l&T)!==0?Ie(s,W):a&&((l&dt)!==0&&lt!==null&&lt.push(s),_t(s))}}function wt(t){if(typeof t!="object"||t===null||Ut in t)return t;const e=bn(t);if(e!==pn&&e!==$n)return t;var n=new Map,r=_e(t),i=X(0),s=ut,l=a=>{if(ut===s)return a();var u=p,f=ut;F(null),tn(s);var o=a();return F(u),tn(f),o};return r&&n.set("length",X(t.length)),new Proxy(t,{defineProperty(a,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Tn();var o=n.get(u);return o===void 0?o=l(()=>{var v=X(f.value);return n.set(u,v),v}):L(o,f.value,!0),!0},deleteProperty(a,u){var f=n.get(u);if(f===void 0){if(u in a){const o=l(()=>X(y));n.set(u,o),ne(i)}}else L(f,y),ne(i);return!0},get(a,u,f){if(u===Ut)return t;var o=n.get(u),v=u in a;if(o===void 0&&(!v||ct(a,u)?.writable)&&(o=l(()=>{var c=wt(v?a[u]:y),h=X(c);return h}),n.set(u,o)),o!==void 0){var d=V(o);return d===y?void 0:d}return Reflect.get(a,u,f)},getOwnPropertyDescriptor(a,u){var f=Reflect.getOwnPropertyDescriptor(a,u);if(f&&"value"in f){var o=n.get(u);o&&(f.value=V(o))}else if(f===void 0){var v=n.get(u),d=v?.v;if(v!==void 0&&d!==y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(a,u){if(u===Ut)return!0;var f=n.get(u),o=f!==void 0&&f.v!==y||Reflect.has(a,u);if(f!==void 0||_!==null&&(!o||ct(a,u)?.writable)){f===void 0&&(f=l(()=>{var d=o?wt(a[u]):y,c=X(d);return c}),n.set(u,f));var v=V(f);if(v===y)return!1}return o},set(a,u,f,o){var v=n.get(u),d=u in a;if(r&&u==="length")for(var c=f;c<v.v;c+=1){var h=n.get(c+"");h!==void 0?L(h,y):c in a&&(h=l(()=>X(y)),n.set(c+"",h))}if(v===void 0)(!d||ct(a,u)?.writable)&&(v=l(()=>X(void 0)),L(v,wt(f)),n.set(u,v));else{d=v.v!==y;var m=l(()=>wt(f));L(v,m)}var B=Reflect.getOwnPropertyDescriptor(a,u);if(B?.set&&B.set.call(o,f),!d){if(r&&typeof u=="string"){var P=n.get("length"),k=Number(u);Number.isInteger(k)&&k>=P.v&&L(P,k+1)}ne(i)}return!0},ownKeys(a){V(i);var u=Reflect.ownKeys(a).filter(v=>{var d=n.get(v);return d===void 0||d.v!==y});for(var[f,o]of n)o.v!==y&&!(f in a)&&u.push(f);return u},setPrototypeOf(){Nn()}})}var Le,Me,je,ze;function re(){if(Le===void 0){Le=window,Me=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;je=ct(e,"firstChild").get,ze=ct(e,"nextSibling").get,pe(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),pe(n)&&(n.__t=void 0)}}function pt(t=""){return document.createTextNode(t)}function Et(t){return je.call(t)}function M(t){return ze.call(t)}function j(t,e){if(!b)return Et(t);var n=Et($);if(n===null)n=$.appendChild(pt());else if(e&&n.nodeType!==Ee){var r=pt();return n?.before(r),q(r),r}return q(n),n}function ie(t,e=1,n=!1){let r=b?$:t;for(var i;e--;)i=r,r=M(r);if(!b)return r;if(n&&r?.nodeType!==Ee){var s=pt();return r===null?i?.after(s):r.before(s),q(s),s}return q(r),r}function Wn(t){t.textContent=""}function Kn(){return!1}function Ye(t){var e=p,n=_;F(null),Q(null);try{return t()}finally{F(e),Q(n)}}function Gn(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function z(t,e,n,r=!0){var i=_;i!==null&&(i.f&K)!==0&&(t|=K);var s={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:t|S,first:null,fn:e,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{gt(s),s.f|=me}catch(u){throw Z(s),u}else e!==null&&_t(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&vt)===0&&(l=l.first),l!==null&&(l.parent=i,i!==null&&Gn(l,i),p!==null&&(p.f&T)!==0&&(t&H)===0)){var a=p;(a.effects??=[]).push(l)}}return s}function Jn(t){return z(zt|mn,t,!1)}function Xn(t){st.ensure();const e=z(H|vt,t,!0);return()=>{Z(e)}}function Zn(t){st.ensure();const e=z(H|vt,t,!0);return(n={})=>new Promise(r=>{n.outro?Ke(e,()=>{Z(e),r(void 0)}):(Z(e),r(void 0))})}function Qn(t){return z(zt,t,!1)}function tr(t){return z(Bt|vt,t,!0)}function er(t,e=0){return z(be|e,t,!0)}function Ve(t,e=[],n=[]){Vn(e,n,r=>{z(be,()=>t(...r.map(V)),!0)})}function Be(t,e=0){var n=z(dt|e,t,!0);return n}function se(t,e=!0){return z(U|vt,t,!0,e)}function Ue(t){var e=t.teardown;if(e!==null){const n=bt,r=p;Ze(!0),F(null);try{e.call(null)}finally{Ze(n),F(r)}}}function He(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const i=n.ac;i!==null&&Ye(()=>{i.abort(Ht)});var r=n.next;(n.f&H)!==0?n.parent=null:Z(n,e),n=r}}function nr(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&U)===0&&Z(e),e=n}}function Z(t,e=!0){var n=!1;(e||(t.f&we)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(rr(t.nodes_start,t.nodes_end),n=!0),He(t,e&&!n),qt(t,0),R(t,nt);var r=t.transitions;if(r!==null)for(const s of r)s.stop();Ue(t);var i=t.parent;i!==null&&i.first!==null&&We(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function rr(t,e){for(;t!==null;){var n=t===e?null:M(t);t.remove(),t=n}}function We(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function Ke(t,e){var n=[];Ge(t,n,!0),ir(n,()=>{Z(t),e&&e()})}function ir(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function Ge(t,e,n){if((t.f&K)===0){if(t.f^=K,t.transitions!==null)for(const l of t.transitions)(l.is_global||n)&&e.push(l);for(var r=t.first;r!==null;){var i=r.next,s=(r.f&Yt)!==0||(r.f&U)!==0;Ge(r,e,s?n:!1),r=i}}}function sr(t){Je(t,!0)}function Je(t,e){if((t.f&K)!==0){t.f^=K,(t.f&E)===0&&(R(t,S),_t(t));for(var n=t.first;n!==null;){var r=n.next,i=(n.f&Yt)!==0||(n.f&U)!==0;Je(n,i?e:!1),n=r}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||e)&&s.in()}}let $t=!1;function Xe(t){$t=t}let bt=!1;function Ze(t){bt=t}let p=null,at=!1;function F(t){p=t}let _=null;function Q(t){_=t}let Y=null;function lr(t){p!==null&&(Y===null?Y=[t]:Y.push(t))}let x=null,N=0,C=null;function ar(t){C=t}let Qe=1,xt=0,ut=xt;function tn(t){ut=t}let tt=!1;function en(){return++Qe}function Pt(t){var e=t.f;if((e&S)!==0)return!0;if((e&W)!==0){var n=t.deps,r=(e&A)!==0;if(n!==null){var i,s,l=(e&Nt)!==0,a=r&&_!==null&&!tt,u=n.length;if((l||a)&&(_===null||(_.f&nt)===0)){var f=t,o=f.parent;for(i=0;i<u;i++)s=n[i],(l||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);l&&(f.f^=Nt),a&&o!==null&&(o.f&A)===0&&(f.f^=A)}for(i=0;i<u;i++)if(s=n[i],Pt(s)&&Oe(s),s.wv>t.wv)return!0}(!r||_!==null&&!tt)&&R(t,E)}return!1}function nn(t,e,n=!0){var r=t.reactions;if(r!==null&&!Y?.includes(t))for(var i=0;i<r.length;i++){var s=r[i];(s.f&T)!==0?nn(s,e,!1):e===s&&(n?R(s,S):(s.f&E)!==0&&R(s,W),_t(s))}}function rn(t){var e=x,n=N,r=C,i=p,s=tt,l=Y,a=D,u=at,f=ut,o=t.f;x=null,N=0,C=null,tt=(o&A)!==0&&(at||!$t||p===null),p=(o&(U|H))===0?t:null,Y=null,St(t.ctx),at=!1,ut=++xt,t.ac!==null&&(Ye(()=>{t.ac.abort(Ht)}),t.ac=null);try{t.f|=Vt;var v=t.fn,d=v(),c=t.deps;if(x!==null){var h;if(qt(t,N),c!==null&&N>0)for(c.length=N+x.length,h=0;h<x.length;h++)c[N+h]=x[h];else t.deps=c=x;if(!tt||(o&T)!==0&&t.reactions!==null)for(h=N;h<c.length;h++)(c[h].reactions??=[]).push(t)}else c!==null&&N<c.length&&(qt(t,N),c.length=N);if(Ne()&&C!==null&&!at&&c!==null&&(t.f&(T|W|S))===0)for(h=0;h<C.length;h++)nn(C[h],t);return i!==null&&i!==t&&(xt++,C!==null&&(r===null?r=C:r.push(...C))),(t.f&rt)!==0&&(t.f^=rt),d}catch(m){return Fn(m)}finally{t.f^=Vt,x=e,N=n,C=r,p=i,tt=s,Y=l,St(a),at=u,ut=f}}function ur(t,e){let n=e.reactions;if(n!==null){var r=hn.call(n,t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(e.f&T)!==0&&(x===null||!x.includes(e))&&(R(e,W),(e.f&(A|Nt))===0&&(e.f^=Nt),Ce(e),qt(e,0))}function qt(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)ur(t,n[r])}function gt(t){var e=t.f;if((e&nt)===0){R(t,E);var n=_,r=$t;_=t,$t=!0;try{(e&dt)!==0?nr(t):He(t),Ue(t);var i=rn(t);t.teardown=typeof i=="function"?i:null,t.wv=Qe;var s;he&&qn&&(t.f&S)!==0&&t.deps}finally{$t=r,_=n}}}function V(t){var e=t.f,n=(e&T)!==0;if(p!==null&&!at){var r=_!==null&&(_.f&nt)!==0;if(!r&&!Y?.includes(t)){var i=p.deps;if((p.f&Vt)!==0)t.rv<xt&&(t.rv=xt,x===null&&i!==null&&i[N]===t?N++:x===null?x=[t]:(!tt||!x.includes(t))&&x.push(t));else{(p.deps??=[]).push(t);var s=t.reactions;s===null?t.reactions=[p]:s.includes(p)||s.push(p)}}}else if(n&&t.deps===null&&t.effects===null){var l=t,a=l.parent;a!==null&&(a.f&A)===0&&(l.f^=A)}if(bt){if(J.has(t))return J.get(t);if(n){l=t;var u=l.v;return((l.f&E)===0&&l.reactions!==null||sn(l))&&(u=Xt(l)),J.set(l,u),u}}else n&&(l=t,Pt(l)&&Oe(l));if((t.f&rt)!==0)throw t.v;return t.v}function sn(t){if(t.v===y)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(J.has(e)||(e.f&T)!==0&&sn(e))return!0;return!1}const fr=-7169;function R(t,e){t.f=t.f&fr|e}const ln=new Set,le=new Set;function or(t){for(var e=0;e<t.length;e++)ln.add(t[e]);for(var n of le)n(t)}let an=null;function Dt(t){var e=this,n=e.ownerDocument,r=t.type,i=t.composedPath?.()||[],s=i[0]||t.target;an=t;var l=0,a=an===t&&t.__root;if(a){var u=i.indexOf(a);if(u!==-1&&(e===document||e===window)){t.__root=e;return}var f=i.indexOf(e);if(f===-1)return;u<=f&&(l=u)}if(s=i[l]||t.target,s!==e){ot(t,"currentTarget",{configurable:!0,get(){return s||n}});var o=p,v=_;F(null),Q(null);try{for(var d,c=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+r];if(m!=null&&(!s.disabled||t.target===s))if(_e(m)){var[B,...P]=m;B.apply(s,[t,...P])}else m.call(s,t)}catch(k){d?c.push(k):d=k}if(t.cancelBubble||h===e||h===null)break;s=h}if(d){for(let k of c)queueMicrotask(()=>{throw k});throw d}}finally{t.__root=e,delete t.currentTarget,F(o),Q(v)}}}let O;function cr(){O=void 0}function dr(t){let e=null,n=b;var r;if(b){for(e=$,O===void 0&&(O=Et(document.head));O!==null&&(O.nodeType!==yt||O.data!==jt);)O=M(O);O===null?G(!1):O=q(M(O))}b||(r=document.head.appendChild(pt()));try{Be(()=>t(r),we)}finally{n&&(G(!0),O=$,q(e))}}function vr(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function ae(t,e){var n=_;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function ue(t,e){var n=(e&vn)!==0,r,i=!t.startsWith("<!>");return()=>{if(b)return ae($,null),$;r===void 0&&(r=vr(i?t:"<!>"+t),r=Et(r));var s=n||Me?document.importNode(r,!0):r.cloneNode(!0);return ae(s,s),s}}function Ft(t,e){if(b){_.nodes_end=$,Wt();return}t!==null&&t.before(e)}const hr=["touchstart","touchmove"];function _r(t){return hr.includes(t)}function fe(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function un(t,e){return fn(t,e)}function pr(t,e){re(),e.intro=e.intro??!1;const n=e.target,r=b,i=$;try{for(var s=Et(n);s&&(s.nodeType!==yt||s.data!==jt);)s=M(s);if(!s)throw ft;G(!0),q(s),Wt();const l=fn(t,{...e,anchor:s});if($===null||$.nodeType!==yt||$.data!==ve)throw Rt(),ft;return G(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==ft&&console.warn("Failed to hydrate: ",l),e.recover===!1&&kn(),re(),Wn(n),G(!1),un(t,e)}finally{G(r),q(i),cr()}}const mt=new Map;function fn(t,{target:e,anchor:n,props:r={},events:i,context:s,intro:l=!0}){re();var a=new Set,u=v=>{for(var d=0;d<v.length;d++){var c=v[d];if(!a.has(c)){a.add(c);var h=_r(c);e.addEventListener(c,Dt,{passive:h});var m=mt.get(c);m===void 0?(document.addEventListener(c,Dt,{passive:h}),mt.set(c,1)):mt.set(c,m+1)}}};u(_n(ln)),le.add(u);var f=void 0,o=Zn(()=>{var v=n??e.appendChild(pt());return se(()=>{if(s){ke({});var d=D;d.c=s}i&&(r.$$events=i),b&&ae(v,null),f=t(v,r)||{},b&&(_.nodes_end=$),s&&Te()}),()=>{for(var d of a){e.removeEventListener(d,Dt);var c=mt.get(d);--c===0?(document.removeEventListener(d,Dt),mt.delete(d)):mt.set(d,c)}le.delete(u),v!==n&&v.parentNode?.removeChild(v)}});return oe.set(f,o),f}let oe=new WeakMap;function $r(t,e){const n=oe.get(t);return n?(oe.delete(t),n(e)):Promise.resolve()}function br(t,e,n=!1){b&&Wt();var r=t,i=null,s=null,l=y,a=n?Yt:0,u=!1;const f=(c,h=!0)=>{u=!0,d(h,c)};var o=null;function v(){o!==null&&(o.lastChild.remove(),r.before(o),o=null);var c=l?i:s,h=l?s:i;c&&sr(c),h&&Ke(h,()=>{l?s=null:i=null})}const d=(c,h)=>{if(l===(l=c))return;let m=!1;if(b){const g=On(r)===de;!!l===g&&(r=Cn(),q(r),G(!1),m=!0)}var B=Kn(),P=r;if(B&&(o=document.createDocumentFragment(),o.append(P=pt())),l?i??=h&&se(()=>h(P)):s??=h&&se(()=>h(P)),B){var k=w,Lt=l?i:s,Mt=l?s:i;Lt&&k.skipped_effects.delete(Lt),Mt&&k.skipped_effects.add(Mt),k.add_callback(v)}else v();m&&G(!0)};Be(()=>{u=!1,e(f),u||d(null,null)},a),b&&(r=$)}function gr(t,e){Qn(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const i=document.createElement("style");i.id=e.hash,i.textContent=e.code,r.appendChild(i)}})}function mr(t,e,n){var r=t==null?"":""+t;return r=r?r+" "+e:e,r===""?null:r}function yr(t,e,n,r,i,s){var l=t.__className;if(b||l!==n||l===void 0){var a=mr(n,r);(!b||a!==t.getAttribute("class"))&&(a==null?t.removeAttribute("class"):t.className=a),t.__className=n}return s}function kt(t,e,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),a;a=t[e],a===void 0&&r!==void 0&&(a=l());var u;u=()=>{var d=t[e];return d===void 0?l():(s=!0,d)};var f=!1,o=Se(()=>(f=!1,u())),v=_;return(function(d,c){if(arguments.length>0){const h=c?V(o):d;return L(o,h),f=!0,i!==void 0&&(i=h),d}return bt&&f||(v.f&nt)!==0?o.v:V(o)})}function wr(t){return new Er(t)}class Er{#e;#t;constructor(e){var n=new Map,r=(s,l)=>{var a=Hn(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...e.props||{},$$events:{}},{get(s,l){return V(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===yn?!0:(V(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return L(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#t=(e.hydrate?pr:un)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&ht(),this.#e=i.$$events;for(const s of Object.keys(this.#t))s==="$set"||s==="$destroy"||s==="$on"||ot(this,s,{get(){return this.#t[s]},set(l){this.#t[s]=l},enumerable:!0});this.#t.$set=s=>{Object.assign(i,s)},this.#t.$destroy=()=>{$r(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...i)=>n.call(this,...i);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(i=>i!==r)}}$destroy(){this.#t.$destroy()}}let on;typeof HTMLElement=="function"&&(on=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),Ft(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=xr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=It(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=wr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Xn(()=>{er(()=>{this.$$r=!0;for(const r of Tt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=It(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(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=It(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Tt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function It(t,e,n,r){const i=n[t]?.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function xr(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function kr(t,e,n,r,i,s){let l=class extends on{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Tt(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Tt(e).forEach(a=>{ot(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){u=It(a,u,e),this.$$d[a]=u;var f=this.$$c;if(f){var o=ct(f,a)?.get;o?f[a]=u:f.$set({[a]:u})}}})}),r.forEach(a=>{ot(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}var Tr=ue('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Nr=(t,e,n)=>{e("dashboardIndicatorClick",{id:n()})},Rr=ue('<div class="panel-footer svelte-154qzdv"><span class="pull-left"> </span><span style="float:right"><i class="bi bi-arrow-right-circle-fill"></i></span> <div class="clearfix"></div></div>'),Sr=ue('<div class="panel panel-green svelte-154qzdv"><div class="panel-heading svelte-154qzdv"><div class="row svelte-154qzdv"><div><i id="icon"></i></div> <div id="panel-heading-content" class="svelte-154qzdv"><div id="number" class="svelte-154qzdv"> </div> <div> </div></div></div></div> <!></div>');const Cr={hash:"svelte-154qzdv",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;--hb--dashboard-indicator-background: #5cb85c;}#icon.svelte-154qzdv {font-size:400%;}.row.svelte-154qzdv {display:grid;grid-template-columns:max-content auto;}#panel-heading-content.svelte-154qzdv {text-align:right;}#number.svelte-154qzdv {font-size:300%;}.panel.svelte-154qzdv {background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);}.panel-green.svelte-154qzdv {border-color:var(--hb--dashboard-indicator-background);}.panel-green.svelte-154qzdv > .panel-heading:where(.svelte-154qzdv) {color:#fff;background-color:var(--hb--dashboard-indicator-background);}.panel-heading.svelte-154qzdv {padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px;}.panel-footer.svelte-154qzdv {padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:var(--hb--dashboard-indicator-background);cursor:pointer;}`};function cn(t,e){ke(e,!0),gr(t,Cr);/**
4
- * Svelte Dashboard Indicator WebComponent
5
- * =====================
6
- *
7
- * @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
8
- *
9
- * @license: MIT License
10
- *
11
- */function n(g,et){e.$$host.dispatchEvent(new CustomEvent(g,{detail:et}))}let r=kt(e,"id",7,""),i=kt(e,"number",7,0),s=kt(e,"text",7,""),l=kt(e,"link_label",7,""),a=kt(e,"icon",7,"hypnotize");var u={get id(){return r()},set id(g=""){r(g),ht()},get number(){return i()},set number(g=0){i(g),ht()},get text(){return s()},set text(g=""){s(g),ht()},get link_label(){return l()},set link_label(g=""){l(g),ht()},get icon(){return a()},set icon(g="hypnotize"){a(g),ht()}},f=Sr();dr(g=>{var et=Tr();Ft(g,et)});var o=j(f),v=j(o),d=j(v),c=j(d);I(d);var h=ie(d,2),m=j(h),B=j(m,!0);I(m);var P=ie(m,2),k=j(P,!0);I(P),I(h),I(v),I(o);var Lt=ie(o,2);{var Mt=g=>{var et=Rr();et.__click=[Nr,n,r];var dn=j(et),Or=j(dn,!0);I(dn),Sn(3),I(et),Ve(()=>fe(Or,l())),Ft(g,et)};br(Lt,g=>{l()&&g(Mt)})}return I(f),Ve(()=>{yr(c,1,`bi bi-${a()??""}`,"svelte-154qzdv"),fe(B,i()),fe(k,s())}),Ft(t,f),Te(u)}or(["click"]),customElements.define("hb-dashboard-indicator",kr(cn,{id:{},number:{},text:{},link_label:{},icon:{}},[],[],!0)),ce.Component=cn,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"})})(this["dashboard-indicator"]=this["dashboard-indicator"]||{});
1
+ (function(vt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const bn=2,pt="[",Je="[!",bt="]",de={},y=Symbol(),gt=!1;var gn=Array.isArray,$n=Array.prototype.indexOf,mn=Array.from,Me=Object.keys,je=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,yn=Object.prototype,wn=Array.prototype,En=Object.getPrototypeOf,$t=Object.isExtensible;function xn(e){for(var t=0;t<e.length;t++)e[t]()}function mt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const w=2,Ie=4,Xe=8,H=16,Q=32,ee=64,Le=128,D=512,E=1024,T=2048,U=4096,I=8192,te=16384,yt=32768,ve=65536,wt=1<<17,Ze=1<<18,ae=1<<19,kn=1<<20,Ee=32768,Qe=1<<21,et=1<<22,ne=1<<23,tt=Symbol("$state"),Tn=Symbol("legacy props"),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Et=3,be=8;function Sn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function An(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function On(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function re(e){b=e}let g;function O(e){if(e===null)throw qe(),de;return g=e}function nt(){return O(q(g))}function z(e){if(b){if(q(g)!==null)throw qe(),de;g=e}}function xt(e=1){if(b){for(var t=e,n=g;t--;)n=q(n);g=n}}function kt(e=!0){for(var t=0,n=g;;){if(n.nodeType===be){var r=n.data;if(r===bt){if(t===0)return n;t-=1}else(r===pt||r===Je)&&(t+=1)}var s=q(n);e&&n.remove(),n=s}}function Fn(e){if(!e||e.nodeType!==be)throw qe(),de;return e.data}function Tt(e){return e===this.v}function Mn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jn(e){return!Mn(e,this.v)}let In=!1,F=null;function ge(e){F=e}function St(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,l:null}}function Rt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)tr(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function At(){return!0}let oe=[];function Ct(){var e=oe;oe=[],xn(e)}function rt(e){if(oe.length===0&&!xe){var t=oe;queueMicrotask(()=>{t===oe&&Ct()})}oe.push(e)}function Ln(){for(;oe.length>0;)Ct()}function Nt(e){var t=v;if(t===null)return _.f|=ne,e;if((t.f&yt)===0){if((t.f&Le)===0)throw e;t.b.error(e)}else $e(e,t)}function $e(e,t){for(;t!==null;){if((t.f&Le)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Be=new Set;let $=null,A=null,L=[],Ye=null,st=!1,xe=!1;class M{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#l=[];#f=[];skipped_effects=new Set;is_fork=!1;process(t){L=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#s(r,n);this.is_fork||this.#o(),this.#r>0||this.is_fork?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):($=null,Pt(n.render_effects),Pt(n.effects),this.#a?.resolve()),A=null}#s(t,n){t.f^=E;for(var r=t.first;r!==null;){var s=r.f,i=(s&(Q|ee))!==0,l=i&&(s&E)!==0,f=l||(s&I)!==0||this.skipped_effects.has(r);if((r.f&Le)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){i?r.f^=E:(s&Ie)!==0?n.effects.push(r):Ne(r)&&((r.f&H)!==0&&n.block_effects.push(r),Oe(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#i(t){for(const n of t)((n.f&T)!==0?this.#l:this.#f).push(n),x(n,E)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ne)===0&&(this.current.set(t,t.v),A?.set(t,t.v))}activate(){$=this,this.apply()}deactivate(){$=null,A=null}flush(){if(this.activate(),L.length>0){if(Ot(),$!==null&&$!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#o(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Be.size>1){this.previous.clear();var t=A,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Be){if(s===this){n=!1;continue}const i=[];for(const[f,a]of this.current){if(s.current.has(f))if(n&&a!==s.current.get(f))s.current.set(f,a);else continue;i.push(f)}if(i.length===0)continue;const l=[...s.current.keys()].filter(f=>!this.current.has(f));if(l.length>0){const f=new Set,a=new Map;for(const o of i)Dt(o,l,f,a);if(L.length>0){$=s,s.apply();for(const o of L)s.#s(o,r);L=[],s.deactivate()}}}$=null,A=t}this.committed=!0,Be.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.#l)x(t,T),ue(t);for(const t of this.#f)x(t,U),ue(t);this.#l=[],this.#f=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=mt()).promise}static ensure(){if($===null){const t=$=new M;Be.add($),xe||M.enqueue(()=>{$===t&&t.flush()})}return $}static enqueue(t){rt(t)}apply(){}}function me(e){var t=xe;xe=!0;try{for(var n;;){if(Ln(),L.length===0&&($?.flush(),L.length===0))return Ye=null,n;Ot()}}finally{xe=t}}function Ot(){var e=ce;st=!0;try{var t=0;for(en(!0);L.length>0;){var n=M.ensure();if(t++>1e3){var r,s;qn()}n.process(L),se.clear()}}finally{st=!1,en(e),Ye=null}}function qn(){try{Rn()}catch(e){$e(e,Ye)}}let K=null;function Pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(te|I))===0&&Ne(r)&&(K=new Set,Oe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Jt(r):r.fn=null),K?.size>0)){se.clear();for(const s of K){if((s.f&(te|I))!==0)continue;const i=[s];let l=s.parent;for(;l!==null;)K.has(l)&&(K.delete(l),i.push(l)),l=l.parent;for(let f=i.length-1;f>=0;f--){const a=i[f];(a.f&(te|I))===0&&Oe(a)}}K.clear()}}K=null}}function Dt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&w)!==0?Dt(s,t,n,r):(i&(et|H))!==0&&(i&T)===0&&Ft(s,t,r)&&(x(s,T),ue(s))}}function Ft(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&w)!==0&&Ft(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function ue(e){for(var t=Ye=e;t.parent!==null;){t=t.parent;var n=t.f;if(st&&t===v&&(n&H)!==0&&(n&Ze)===0)return;if((n&(ee|Q))!==0){if((n&E)===0)return;t.f^=E}}L.push(t)}function Bn(e){let t=0,n=ke(0),r;return()=>{Ue()&&(j(n),zt(()=>(t===0&&(r=dr(()=>e(()=>Te(n)))),t+=1,()=>{rt(()=>{t-=1,t===0&&(r?.(),r=void 0,Te(n))})})))}}var Yn=ve|ae|Le;function Vn(e,t,n){new Hn(e,t,n)}class Hn{parent;#t=!1;#e;#n=b?g:null;#r;#a;#l;#f=null;#s=null;#i=null;#o=null;#u=null;#d=0;#c=0;#_=!1;#h=null;#$=Bn(()=>(this.#h=ke(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=v.b,this.#t=!!this.#r.pending,this.#l=ot(()=>{if(v.b=this,b){const i=this.#n;nt(),i.nodeType===be&&i.data===Je?this.#y():this.#m()}else{var s=this.#b();try{this.#f=J(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Yn),b&&(this.#e=g)}#m(){try{this.#f=J(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#s=J(()=>t(this.#e)),M.enqueue(()=>{var n=this.#b();this.#f=this.#v(()=>(M.ensure(),J(()=>this.#a(n)))),this.#c>0?this.#p():(Ae(this.#s,()=>{this.#s=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=le(),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}#v(t){var n=v,r=_,s=F;V(this.#l),R(this.#l),ge(this.#l.ctx);try{return t()}catch(i){return Nt(i),null}finally{V(n),R(r),ge(s)}}#p(){const t=this.#r.pending;this.#f!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Qt(this.#f,this.#o)),this.#s===null&&(this.#s=J(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#s&&Ae(this.#s,()=>{this.#s=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#g(t),this.#d+=t,this.#h&&He(this.#h,this.#d)}get_effect_pending(){return this.#$(),j(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#f&&(S(this.#f),this.#f=null),this.#s&&(S(this.#s),this.#s=null),this.#i&&(S(this.#i),this.#i=null),b&&(O(this.#n),xt(),O(kt()));var s=!1,i=!1;const l=()=>{if(s){Dn();return}s=!0,i&&Pn(),M.ensure(),this.#d=0,this.#i!==null&&Ae(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#f=this.#v(()=>(this.#_=!1,J(()=>this.#a(this.#e)))),this.#c>0?this.#p():this.#t=!1};var f=_;try{R(null),i=!0,n?.(t,l),i=!1}catch(a){$e(a,this.#l&&this.#l.parent)}finally{R(f)}r&&rt(()=>{this.#i=this.#v(()=>{M.ensure(),this.#_=!0;try{return J(()=>{r(this.#e,()=>t,()=>l)})}catch(a){return $e(a,this.#l.parent),null}finally{this.#_=!1}})})}}function Un(e,t,n,r){const s=Mt;if(n.length===0&&e.length===0){r(t.map(s));return}var i=$,l=v,f=zn();function a(){Promise.all(n.map(o=>Kn(o))).then(o=>{f();try{r([...t.map(s),...o])}catch(c){(l.f&te)===0&&$e(c,l)}i?.deactivate(),Ve()}).catch(o=>{$e(o,l)})}e.length>0?Promise.all(e).then(()=>{f();try{return a()}finally{i?.deactivate(),Ve()}}):a()}function zn(){var e=v,t=_,n=F,r=$;return function(i=!0){V(e),R(t),ge(n),i&&r?.activate()}}function Ve(){V(null),R(null),ge(null)}function Mt(e){var t=w|T,n=_!==null&&(_.f&w)!==0?_:null;return v!==null&&(v.f|=ae),{ctx:F,deps:null,effects:null,equals:Tt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:n??v,ac:null}}function Kn(e,t){let n=v;n===null&&Sn();var r=n.b,s=void 0,i=ke(y),l=!_,f=new Map;return ir(()=>{var a=mt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===$&&o.committed&&o.deactivate(),Ve()})}catch(u){a.reject(u),Ve()}var o=$;if(l){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),f.get(o)?.reject(pe),f.delete(o),f.set(o,a)}const d=(u,h=void 0)=>{if(o.activate(),h)h!==pe&&(i.f|=ne,He(i,h));else{(i.f&ne)!==0&&(i.f^=ne),He(i,u);for(const[p,N]of f){if(f.delete(p),p===o)break;N.reject(pe)}}l&&(r.update_pending_count(-1),o.decrement(c))};a.promise.then(d,u=>d(null,u||"unknown"))}),er(()=>{for(const a of f.values())a.reject(pe)}),new Promise(a=>{function o(c){function d(){c===s?a(i):o(s)}c.then(d,d)}o(s)})}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)S(t[n])}}function Wn(e){for(var t=e.parent;t!==null;){if((t.f&w)===0)return t;t=t.parent}return null}function it(e){var t,n=v;V(Wn(e));try{e.f&=~Ee,jt(e),t=fn(e)}finally{V(n)}return t}function It(e){var t=it(e);if(e.equals(t)||(e.v=t,e.wv=sn()),!ye)if(A!==null)Ue()&&A.set(e,e.v);else{var n=(e.f&D)===0?U:E;x(e,n)}}let lt=new Set;const se=new Map;let Lt=!1;function ke(e,t){var n={f:0,v:e,reactions:null,equals:Tt,rv:0,wv:0};return n}function ie(e,t){const n=ke(e);return ur(n),n}function Gn(e,t=!1,n=!0){const r=ke(e);return t||(r.equals=jn),r}function W(e,t,n=!1){_!==null&&(!Y||(_.f&wt)!==0)&&At()&&(_.f&(w|H|et|wt))!==0&&!X?.includes(e)&&On();let r=n?Se(t):t;return He(e,r)}function He(e,t){if(!e.equals(t)){var n=e.v;ye?se.set(e,t):se.set(e,n),e.v=t;var r=M.ensure();r.capture(e,n),(e.f&w)!==0&&((e.f&T)!==0&&it(e),x(e,(e.f&D)!==0?E:U)),e.wv=sn(),qt(e,T),v!==null&&(v.f&E)!==0&&(v.f&(Q|ee))===0&&(P===null?cr([e]):P.push(e)),!r.is_fork&&lt.size>0&&!Lt&&Jn()}return t}function Jn(){Lt=!1;const e=Array.from(lt);for(const t of e)(t.f&E)!==0&&x(t,U),Ne(t)&&Oe(t);lt.clear()}function Te(e){W(e,e.v+1)}function qt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],l=i.f,f=(l&T)===0;if(f&&x(i,t),(l&w)!==0){var a=i;A?.delete(a),(l&Ee)===0&&(l&D&&(i.f|=Ee),qt(a,U))}else f&&((l&H)!==0&&K!==null&&K.add(i),ue(i))}}function Se(e){if(typeof e!="object"||e===null||tt in e)return e;const t=En(e);if(t!==yn&&t!==wn)return e;var n=new Map,r=gn(e),s=ie(0),i=he,l=f=>{if(he===i)return f();var a=_,o=he;R(null),rn(i);var c=f();return R(a),rn(o),c};return r&&n.set("length",ie(e.length)),new Proxy(e,{defineProperty(f,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Cn();var c=n.get(a);return c===void 0?c=l(()=>{var d=ie(o.value);return n.set(a,d),d}):W(c,o.value,!0),!0},deleteProperty(f,a){var o=n.get(a);if(o===void 0){if(a in f){const c=l(()=>ie(y));n.set(a,c),Te(s)}}else W(o,y),Te(s);return!0},get(f,a,o){if(a===tt)return e;var c=n.get(a),d=a in f;if(c===void 0&&(!d||_e(f,a)?.writable)&&(c=l(()=>{var h=Se(d?f[a]:y),p=ie(h);return p}),n.set(a,c)),c!==void 0){var u=j(c);return u===y?void 0:u}return Reflect.get(f,a,o)},getOwnPropertyDescriptor(f,a){var o=Reflect.getOwnPropertyDescriptor(f,a);if(o&&"value"in o){var c=n.get(a);c&&(o.value=j(c))}else if(o===void 0){var d=n.get(a),u=d?.v;if(d!==void 0&&u!==y)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(f,a){if(a===tt)return!0;var o=n.get(a),c=o!==void 0&&o.v!==y||Reflect.has(f,a);if(o!==void 0||v!==null&&(!c||_e(f,a)?.writable)){o===void 0&&(o=l(()=>{var u=c?Se(f[a]):y,h=ie(u);return h}),n.set(a,o));var d=j(o);if(d===y)return!1}return c},set(f,a,o,c){var d=n.get(a),u=a in f;if(r&&a==="length")for(var h=o;h<d.v;h+=1){var p=n.get(h+"");p!==void 0?W(p,y):h in f&&(p=l(()=>ie(y)),n.set(h+"",p))}if(d===void 0)(!u||_e(f,a)?.writable)&&(d=l(()=>ie(void 0)),W(d,Se(o)),n.set(a,d));else{u=d.v!==y;var N=l(()=>Se(o));W(d,N)}var Z=Reflect.getOwnPropertyDescriptor(f,a);if(Z?.set&&Z.set.call(c,o),!u){if(r&&typeof a=="string"){var De=n.get("length"),Fe=Number(a);Number.isInteger(Fe)&&Fe>=De.v&&W(De,Fe+1)}Te(s)}return!0},ownKeys(f){j(s);var a=Reflect.ownKeys(f).filter(d=>{var u=n.get(d);return u===void 0||u.v!==y});for(var[o,c]of n)c.v!==y&&!(o in f)&&a.push(o);return a},setPrototypeOf(){Nn()}})}var Bt,Yt,Vt,Ht;function ft(){if(Bt===void 0){Bt=window,Yt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vt=_e(t,"firstChild").get,Ht=_e(t,"nextSibling").get,$t(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),$t(n)&&(n.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Re(e){return Vt.call(e)}function q(e){return Ht.call(e)}function G(e,t){if(!b)return Re(e);var n=Re(g);if(n===null)n=g.appendChild(le());else if(t&&n.nodeType!==Et){var r=le();return n?.before(r),O(r),r}return O(n),n}function at(e,t=1,n=!1){let r=b?g:e;for(var s;t--;)s=r,r=q(r);if(!b)return r;if(n&&r?.nodeType!==Et){var i=le();return r===null?s?.after(i):r.before(i),O(i),i}return O(r),r}function Xn(e){e.textContent=""}function Zn(){return!1}function Ut(e){var t=_,n=v;R(null),V(null);try{return e()}finally{R(t),V(n)}}function Qn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t,n,r=!0){var s=v;s!==null&&(s.f&I)!==0&&(e|=I);var i={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|T|D,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Oe(i),i.f|=yt}catch(a){throw S(i),a}else t!==null&&ue(i);if(r){var l=i;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ae)===0&&(l=l.first,(e&H)!==0&&(e&ve)!==0&&l!==null&&(l.f|=ve)),l!==null&&(l.parent=s,s!==null&&Qn(l,s),_!==null&&(_.f&w)!==0&&(e&ee)===0)){var f=_;(f.effects??=[]).push(l)}}return i}function Ue(){return _!==null&&!Y}function er(e){const t=B(Xe,null,!1);return x(t,E),t.teardown=e,t}function tr(e){return B(Ie|kn,e,!1)}function nr(e){M.ensure();const t=B(ee|ae,e,!0);return()=>{S(t)}}function rr(e){M.ensure();const t=B(ee|ae,e,!0);return(n={})=>new Promise(r=>{n.outro?Ae(t,()=>{S(t),r(void 0)}):(S(t),r(void 0))})}function sr(e){return B(Ie,e,!1)}function ir(e){return B(et|ae,e,!0)}function zt(e,t=0){return B(Xe|t,e,!0)}function Kt(e,t=[],n=[],r=[],s=!1){Un(r,t,n,i=>{B(s?Ie:Xe,()=>e(...i.map(j)),!0)})}function ot(e,t=0){var n=B(H|t,e,!0);return n}function J(e,t=!0){return B(Q|ae,e,!0,t)}function Wt(e){var t=e.teardown;if(t!==null){const n=ye,r=_;tn(!0),R(null);try{t.call(null)}finally{tn(n),R(r)}}}function Gt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ut(()=>{s.abort(pe)});var r=n.next;(n.f&ee)!==0?n.parent=null:S(n,t),n=r}}function lr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Q)===0&&S(t),t=n}}function S(e,t=!0){var n=!1;(t||(e.f&Ze)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(fr(e.nodes_start,e.nodes_end),n=!0),Gt(e,t&&!n),ze(e,0),x(e,te);var r=e.transitions;if(r!==null)for(const i of r)i.stop();Wt(e);var s=e.parent;s!==null&&s.first!==null&&Jt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function fr(e,t){for(;e!==null;){var n=e===t?null:q(e);e.remove(),e=n}}function Jt(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 Ae(e,t,n=!0){var r=[];Xt(e,r,!0),ar(r,()=>{n&&S(e),t&&t()})}function ar(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function Xt(e,t,n){if((e.f&I)===0){if(e.f^=I,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&ve)!==0||(r.f&Q)!==0&&(e.f&H)!==0;Xt(r,t,i?n:!1),r=s}}}function or(e){Zt(e,!0)}function Zt(e,t){if((e.f&I)!==0){e.f^=I,(e.f&E)===0&&(x(e,T),ue(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&ve)!==0||(n.f&Q)!==0;Zt(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function Qt(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:q(n);t.append(n),n=s}}let ce=!1;function en(e){ce=e}let ye=!1;function tn(e){ye=e}let _=null,Y=!1;function R(e){_=e}let v=null;function V(e){v=e}let X=null;function ur(e){_!==null&&(X===null?X=[e]:X.push(e))}let k=null,C=0,P=null;function cr(e){P=e}let nn=1,Ce=0,he=Ce;function rn(e){he=e}function sn(){return++nn}function Ne(e){var t=e.f;if((t&T)!==0)return!0;if(t&w&&(e.f&=~Ee),(t&U)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(Ne(i)&&It(i),i.wv>e.wv)return!0}(t&D)!==0&&A===null&&x(e,E)}return!1}function ln(e,t,n=!0){var r=e.reactions;if(r!==null&&!X?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&w)!==0?ln(i,t,!1):t===i&&(n?x(i,T):(i.f&E)!==0&&x(i,U),ue(i))}}function fn(e){var t=k,n=C,r=P,s=_,i=X,l=F,f=Y,a=he,o=e.f;k=null,C=0,P=null,_=(o&(Q|ee))===0?e:null,X=null,ge(e.ctx),Y=!1,he=++Ce,e.ac!==null&&(Ut(()=>{e.ac.abort(pe)}),e.ac=null);try{e.f|=Qe;var c=e.fn,d=c(),u=e.deps;if(k!==null){var h;if(ze(e,C),u!==null&&C>0)for(u.length=C+k.length,h=0;h<k.length;h++)u[C+h]=k[h];else e.deps=u=k;if(ce&&Ue()&&(e.f&D)!==0)for(h=C;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&C<u.length&&(ze(e,C),u.length=C);if(At()&&P!==null&&!Y&&u!==null&&(e.f&(w|U|T))===0)for(h=0;h<P.length;h++)ln(P[h],e);return s!==null&&s!==e&&(Ce++,P!==null&&(r===null?r=P:r.push(...P))),(e.f&ne)!==0&&(e.f^=ne),d}catch(p){return Nt(p)}finally{e.f^=Qe,k=t,C=n,P=r,_=s,X=i,ge(l),Y=f,he=a}}function hr(e,t){let n=t.reactions;if(n!==null){var r=$n.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&w)!==0&&(k===null||!k.includes(t))&&(x(t,U),(t.f&D)!==0&&(t.f^=D,t.f&=~Ee),jt(t),ze(t,0))}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)hr(e,n[r])}function Oe(e){var t=e.f;if((t&te)===0){x(e,E);var n=v,r=ce;v=e,ce=!0;try{(t&H)!==0?lr(e):Gt(e),Wt(e);var s=fn(e);e.teardown=typeof s=="function"?s:null,e.wv=nn;var i;gt&&In&&(e.f&T)!==0&&e.deps}finally{ce=r,v=n}}}function j(e){var t=e.f,n=(t&w)!==0;if(_!==null&&!Y){var r=v!==null&&(v.f&te)!==0;if(!r&&!X?.includes(e)){var s=_.deps;if((_.f&Qe)!==0)e.rv<Ce&&(e.rv=Ce,k===null&&s!==null&&s[C]===e?C++:k===null?k=[e]:k.includes(e)||k.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:i.includes(_)||i.push(_)}}}if(ye){if(se.has(e))return se.get(e);if(n){var l=e,f=l.v;return((l.f&E)===0&&l.reactions!==null||on(l))&&(f=it(l)),se.set(l,f),f}}else if(n){if(l=e,A?.has(l))return A.get(l);Ne(l)&&It(l),ce&&Ue()&&(l.f&D)===0&&an(l)}else if(A?.has(e))return A.get(e);if((e.f&ne)!==0)throw e.v;return e.v}function an(e){if(e.deps!==null){e.f^=D;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&w)!==0&&(t.f&D)===0&&an(t)}}function on(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&w)!==0&&on(t))return!0;return!1}function dr(e){var t=Y;try{return Y=!0,e()}finally{Y=t}}const _r=-7169;function x(e,t){e.f=e.f&_r|t}const un=new Set,ut=new Set;function vr(e){for(var t=0;t<e.length;t++)un.add(e[t]);for(var n of ut)n(e)}let cn=null;function Ke(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;cn=e;var l=0,f=cn===e&&e.__root;if(f){var a=s.indexOf(f);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;a<=o&&(l=a)}if(i=s[l]||e.target,i!==t){je(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=_,d=v;R(null),V(null);try{for(var u,h=[];i!==null;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var N=i["__"+r];N!=null&&(!i.disabled||e.target===i)&&N.call(i,e)}catch(Z){u?h.push(Z):u=Z}if(e.cancelBubble||p===t||p===null)break;i=p}if(u){for(let Z of h)queueMicrotask(()=>{throw Z});throw u}}finally{e.__root=t,delete e.currentTarget,R(c),V(d)}}}function pr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ct(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ht(e,t){var n=(t&bn)!==0,r,s=!e.startsWith("<!>");return()=>{if(b)return ct(g,null),g;r===void 0&&(r=pr(s?e:"<!>"+e),r=Re(r));var i=n||Yt?document.importNode(r,!0):r.cloneNode(!0);return ct(i,i),i}}function We(e,t){if(b){v.nodes_end=g,nt();return}e!==null&&e.before(t)}const br=["touchstart","touchmove"];function gr(e){return br.includes(e)}function dt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function hn(e,t){return dn(e,t)}function $r(e,t){ft(),t.intro=t.intro??!1;const n=t.target,r=b,s=g;try{for(var i=Re(n);i&&(i.nodeType!==be||i.data!==pt);)i=q(i);if(!i)throw de;re(!0),O(i);const l=dn(e,{...t,anchor:i});return re(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==de&&console.warn("Failed to hydrate: ",l),t.recover===!1&&An(),ft(),Xn(n),re(!1),hn(e,t)}finally{re(r),O(s)}}const we=new Map;function dn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:l=!0}){ft();var f=new Set,a=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!f.has(h)){f.add(h);var p=gr(h);t.addEventListener(h,Ke,{passive:p});var N=we.get(h);N===void 0?(document.addEventListener(h,Ke,{passive:p}),we.set(h,1)):we.set(h,N+1)}}};a(mn(un)),ut.add(a);var o=void 0,c=rr(()=>{var d=n??t.appendChild(le());return Vn(d,{pending:()=>{}},u=>{if(i){St({});var h=F;h.c=i}if(s&&(r.$$events=s),b&&ct(u,null),o=e(u,r)||{},b&&(v.nodes_end=g,g===null||g.nodeType!==be||g.data!==bt))throw qe(),de;i&&Rt()}),()=>{for(var u of f){t.removeEventListener(u,Ke);var h=we.get(u);--h===0?(document.removeEventListener(u,Ke),we.delete(u)):we.set(u,h)}ut.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return _t.set(o,c),o}let _t=new WeakMap;function mr(e,t){const n=_t.get(e);return n?(_t.delete(e),n(t)):Promise.resolve()}class yr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#a=()=>{var t=$;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)or(r);else{var s=this.#n.get(n);s&&(this.#e.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,l]of this.#t){if(this.#t.delete(i),i===t)break;const f=this.#n.get(l);f&&(S(f.effect),this.#n.delete(l))}for(const[i,l]of this.#e){if(i===n)continue;const f=()=>{if(Array.from(this.#t.values()).includes(i)){var o=document.createDocumentFragment();Qt(l,o),o.append(le()),this.#n.set(i,{effect:l,fragment:o})}else S(l);this.#e.delete(i)};this.#r||!r?Ae(l,f,!1):f()}}};#l=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#n)n.includes(r)||(S(s.effect),this.#n.delete(r))};ensure(t,n){var r=$,s=Zn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(s){var i=document.createDocumentFragment(),l=le();i.append(l),this.#n.set(t,{effect:J(()=>n(l)),fragment:i})}else this.#e.set(t,J(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[f,a]of this.#e)f===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[f,a]of this.#n)f===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#a),r.ondiscard(this.#l)}else b&&(this.anchor=g),this.#a()}}function wr(e,t,n=!1){b&&nt();var r=new yr(e),s=n?ve:0;function i(l,f){if(b){const o=Fn(e)===Je;if(l===o){var a=kt();O(a),r.anchor=a,re(!1),r.ensure(l,f),re(!0);return}}r.ensure(l,f)}ot(()=>{var l=!1;t((f,a=!0)=>{l=!0,i(a,f)}),l||i(!1,null)},s)}function Er(e,t){let n=null,r=b;var s;if(b){n=g;for(var i=Re(document.head);i!==null&&(i.nodeType!==be||i.data!==e);)i=q(i);if(i===null)re(!1);else{var l=q(i);i.remove(),O(l)}}b||(s=document.head.appendChild(le()));try{ot(()=>t(s),Ze)}finally{r&&(re(!0),O(n))}}function xr(e,t){sr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function kr(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Tr(e,t,n,r,s,i){var l=e.__className;if(b||l!==n||l===void 0){var f=kr(n,r);(!b||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=n}return i}function Pe(e,t,n,r){var s=r,i=!0,l=()=>(i&&(i=!1,s=r),s),f;f=e[t],f===void 0&&r!==void 0&&(f=l());var a;a=()=>{var u=e[t];return u===void 0?l():(i=!0,u)};var o=!1,c=Mt(()=>(o=!1,a())),d=v;return(function(u,h){if(arguments.length>0){const p=h?j(c):u;return W(c,p),o=!0,s!==void 0&&(s=p),u}return ye&&o||(d.f&te)!==0?c.v:j(c)})}function Sr(e){return new Rr(e)}class Rr{#t;#e;constructor(t){var n=new Map,r=(i,l)=>{var f=Gn(l,!1,!1);return n.set(i,f),f};const s=new Proxy({...t.props||{},$$events:{}},{get(i,l){return j(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===Tn?!0:(j(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,f){return W(n.get(l)??r(l,f),f),Reflect.set(i,l,f)}});this.#e=(t.hydrate?$r:hn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&me(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||je(this,i,{get(){return this.#e[i]},set(l){this.#e[i]=l},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{mr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==r)}}$destroy(){this.#e.$destroy()}}let _n;typeof HTMLElement=="function"&&(_n=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 s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),We(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ar(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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=Ge(s,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=Sr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=nr(()=>{zt(()=>{this.$$r=!0;for(const r of Me(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=Ge(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ge(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 Me(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ge(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ar(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Cr(e,t,n,r,s,i){let l=class extends _n{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Me(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Me(t).forEach(f=>{je(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(a){a=Ge(f,a,t),this.$$d[f]=a;var o=this.$$c;if(o){var c=_e(o,f)?.get;c?o[f]=a:o.$set({[f]:a})}}})}),r.forEach(f=>{je(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}var Nr=ht('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Or=ht('<div class="panel-footer svelte-1b4l8re"><span class="pull-left"> </span><span style="float:right"><i class="bi bi-arrow-right-circle-fill"></i></span> <div class="clearfix"></div></div>'),Pr=ht('<div class="panel panel-green svelte-1b4l8re"><div class="panel-heading svelte-1b4l8re"><div class="row svelte-1b4l8re"><div><i id="icon"></i></div> <div id="panel-heading-content" class="svelte-1b4l8re"><div id="number" class="svelte-1b4l8re"> </div> <div> </div></div></div></div> <!></div>');const Dr={hash:"svelte-1b4l8re",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;--hb--dashboard-indicator-background: #5cb85c;}#icon.svelte-1b4l8re {font-size:400%;}.row.svelte-1b4l8re {display:grid;grid-template-columns:max-content auto;}#panel-heading-content.svelte-1b4l8re {text-align:right;}#number.svelte-1b4l8re {font-size:300%;}.panel.svelte-1b4l8re {background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);}.panel-green.svelte-1b4l8re {border-color:var(--hb--dashboard-indicator-background);}.panel-green.svelte-1b4l8re > .panel-heading:where(.svelte-1b4l8re) {color:#fff;background-color:var(--hb--dashboard-indicator-background);}.panel-heading.svelte-1b4l8re {padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px;}.panel-footer.svelte-1b4l8re {padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:var(--hb--dashboard-indicator-background);cursor:pointer;}`};function vn(e,t){St(t,!0),xr(e,Dr);function n(m,fe){t.$$host.dispatchEvent(new CustomEvent(m,{detail:fe}))}let r=Pe(t,"id",7,""),s=Pe(t,"number",7,0),i=Pe(t,"text",7,""),l=Pe(t,"link_label",7,""),f=Pe(t,"icon",7,"hypnotize");var a={get id(){return r()},set id(m=""){r(m),me()},get number(){return s()},set number(m=0){s(m),me()},get text(){return i()},set text(m=""){i(m),me()},get link_label(){return l()},set link_label(m=""){l(m),me()},get icon(){return f()},set icon(m="hypnotize"){f(m),me()}},o=Pr();Er("1b4l8re",m=>{var fe=Nr();We(m,fe)});var c=G(o),d=G(c),u=G(d),h=G(u);z(u);var p=at(u,2),N=G(p),Z=G(N,!0);z(N);var De=at(N,2),Fe=G(De,!0);z(De),z(p),z(d),z(c);var Fr=at(c,2);{var Mr=m=>{var fe=Or();fe.__click=()=>{n("dashboardIndicatorClick",{id:r()})};var pn=G(fe),jr=G(pn,!0);z(pn),xt(3),z(fe),Kt(()=>dt(jr,l())),We(m,fe)};wr(Fr,m=>{l()&&m(Mr)})}return z(o),Kt(()=>{Tr(h,1,`bi bi-${f()??""}`,"svelte-1b4l8re"),dt(Z,s()),dt(Fe,i())}),We(e,o),Rt(a)}vr(["click"]),customElements.define("hb-dashboard-indicator",Cr(vn,{id:{},number:{},text:{},link_label:{},icon:{}},[],[],!0)),vt.Component=vn,Object.defineProperty(vt,Symbol.toStringTag,{value:"Module"})})(this["dashboard-indicator"]=this["dashboard-indicator"]||{});
12
4
  //# sourceMappingURL=main.iife.js.map