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