@htmlbricks/hb-faq-component 0.61.51 → 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,9 +1,8 @@
1
- (function(Lt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Jn=1,Kn=2,Zn=16,Qn=1,er=2,lt="[",st="[!",at="]",ve={},O=Symbol(),tr="http://www.w3.org/1999/xhtml",It=!1;var ot=Array.isArray,nr=Array.prototype.indexOf,ft=Array.from,ze=Object.keys,Ne=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyDescriptors,ir=Object.prototype,lr=Array.prototype,Ft=Object.getPrototypeOf,jt=Object.isExtensible;function Yt(e){for(var t=0;t<e.length;t++)e[t]()}function sr(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const L=2,ut=4,Ht=8,Ce=16,ee=32,le=64,Vt=128,Y=256,We=512,q=1024,H=2048,se=4096,G=8192,de=16384,ct=32768,vt=65536,Ut=1<<17,Bt=1<<18,Oe=1<<19,ar=1<<20,dt=1<<21,ht=1<<22,he=1<<23,_t=Symbol("$state"),or=Symbol("legacy props"),fr=Symbol(""),pt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Gt=3,_e=8;function ur(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function cr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function vr(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 hr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function _r(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function pr(){throw new Error("https://svelte.dev/e/hydration_failed")}function gr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function wr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ye(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let b=!1;function z(e){b=e}let A;function P(e){if(e===null)throw Ye(),ve;return A=e}function ke(){return P(X(A))}function pe(e){if(b){if(X(A)!==null)throw Ye(),ve;A=e}}function gt(){for(var e=0,t=A;;){if(t.nodeType===_e){var n=t.data;if(n===at){if(e===0)return t;e-=1}else(n===lt||n===st)&&(e+=1)}var r=X(t);t.remove(),t=r}}function zt(e){if(!e||e.nodeType!==_e)throw Ye(),ve;return e.data}function Wt(e){return e===this.v}function $r(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Xt(e){return!$r(e,this.v)}let yr=!1,W=null;function Xe(e){W=e}function Jt(e,t=!1,n){W={p:W,c:null,e:null,s:e,x:null,l:null}}function Kt(e){var t=W,n=t.e;if(n!==null){t.e=null;for(var r of n)mn(r)}return e!==void 0&&(t.x=e),W=t.p,e??{}}function Zt(){return!0}const Er=new WeakMap;function br(e){var t=w;if(t===null)return $.f|=he,e;if((t.f&ct)===0){if((t.f&Vt)===0)throw!t.parent&&e instanceof Error&&Qt(e),e;t.b.error(e)}else mt(e,t)}function mt(e,t){for(;t!==null;){if((t.f&Vt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Qt(e),e}function Qt(e){const t=Er.get(e);t&&(Ne(e,"message",{value:t.message}),Ne(e,"stack",{value:t.stack}))}let wt=[],$t=[];function Tr(){var e=wt;wt=[],Yt(e)}function xr(){var e=$t;$t=[],Yt(e)}function Ar(){wt.length>0&&Tr(),$t.length>0&&xr()}function Nr(){const e=w.b;return e===null&&ur(),e}function yt(e){var t=L|H,n=$!==null&&($.f&L)!==0?$:null;return w===null||n!==null&&(n.f&Y)!==0?t|=Y:w.f|=Oe,{ctx:W,deps:null,effects:null,equals:Wt,f:t,fn:e,reactions:null,rv:0,v:O,wv:0,parent:n??w,ac:null}}function Rr(e,t){let n=w;n===null&&cr();var r=n.b,i=void 0,l=Ve(O),s=null,a=!$;return jr(()=>{try{var o=e();s&&Promise.resolve(o).catch(()=>{})}catch(h){o=Promise.reject(h)}var f=()=>o;i=s?.then(f,f)??Promise.resolve(o),s=i;var v=C,c=r.is_pending();a&&(r.update_pending_count(1),c||v.increment());const u=(h,d=void 0)=>{s=null,c||v.activate(),d?d!==pt&&(l.f|=he,Qe(l,d)):((l.f&he)!==0&&(l.f^=he),Qe(l,h)),a&&(r.update_pending_count(-1),c||v.decrement()),nn()};if(i.then(u,h=>u(null,h||"unknown")),v)return()=>{queueMicrotask(()=>v.neuter())}}),new Promise(o=>{function f(v){function c(){v===i?o(l):f(i)}v.then(c,c)}f(i)})}function Cr(e){const t=yt(e);return t.equals=Xt,t}function en(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)J(t[n])}}function Or(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return t;t=t.parent}return null}function Et(e){var t,n=w;fe(Or(e));try{en(e),t=kn(e)}finally{fe(n)}return t}function tn(e){var t=Et(e);if(e.equals(t)||(e.v=t,e.wv=Cn()),!$e){var n=(ue||(e.f&Y)!==0)&&e.deps!==null?se:q;F(e,n)}}function kr(e,t,n){const r=yt;if(t.length===0){n(e.map(r));return}var i=C,l=w,s=qr(),a=Nr();Promise.all(t.map(o=>Rr(o))).then(o=>{i?.activate(),s();try{n([...e.map(r),...o])}catch(f){(l.f&de)===0&&mt(f,l)}i?.deactivate(),nn()}).catch(o=>{a.error(o)})}function qr(){var e=w,t=$,n=W,r=C;return function(){fe(e),K(t),Xe(n),r?.activate()}}function nn(){fe(null),K(null),Xe(null)}const bt=new Set;let C=null,rn=new Set,Je=[];function ln(){const e=Je.shift();Je.length>0&&queueMicrotask(ln),e()}let ge=[],Ke=null,Tt=!1,Ze=!1;class me{current=new Map;#t=new Map;#e=new Set;#n=0;#f=null;#u=!1;#i=[];#s=[];#l=[];#r=[];#a=[];#c=[];#v=[];skipped_effects=new Set;process(t){ge=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#d();var n=this.#l,r=this.#r;this.#l=[],this.#r=[],this.#a=[],C=null,an(n),an(r),C===null?C=this:bt.delete(this),this.#f?.resolve()}else this.#o(this.#l),this.#o(this.#r),this.#o(this.#a);for(const i of this.#i)De(i);for(const i of this.#s)De(i);this.#i=[],this.#s=[]}#h(t){t.f^=q;for(var n=t.first;n!==null;){var r=n.f,i=(r&(ee|le))!==0,l=i&&(r&q)!==0,s=l||(r&G)!==0||this.skipped_effects.has(n);if(!s&&n.fn!==null){if(i)n.f^=q;else if((r&ut)!==0)this.#r.push(n);else if((r&q)===0)if((r&ht)!==0){var a=n.b?.is_pending()?this.#s:this.#i;a.push(n)}else et(n)&&((n.f&Ce)!==0&&this.#a.push(n),De(n));var o=n.first;if(o!==null){n=o;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#o(t){for(const n of t)((n.f&H)!==0?this.#c:this.#v).push(n),F(n,q);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){C=this}deactivate(){C=null;for(const t of rn)if(rn.delete(t),t(),C!==null)break}neuter(){this.#u=!0}flush(){ge.length>0?sn():this.#d(),C===this&&(this.#n===0&&bt.delete(this),this.deactivate())}#d(){if(!this.#u)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.#c)F(t,H),qe(t);for(const t of this.#v)F(t,se),qe(t);this.#l=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=sr()).promise}static ensure(){if(C===null){const t=C=new me;bt.add(C),Ze||me.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Je.length===0&&queueMicrotask(ln),Je.unshift(t)}}function He(e){var t=Ze;Ze=!0;try{for(var n;;){if(Ar(),ge.length===0&&(C?.flush(),ge.length===0))return Ke=null,n;sn()}}finally{Ze=t}}function sn(){var e=Me;Tt=!0;try{var t=0;for(xn(!0);ge.length>0;){var n=me.ensure();if(t++>1e3){var r,i;Sr()}n.process(ge),ae.clear()}}finally{Tt=!1,xn(e),Ke=null}}function Sr(){try{_r()}catch(e){mt(e,Ke)}}let we=null;function an(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(de|G))===0&&et(r)&&(we=[],De(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?En(r):r.fn=null),we?.length>0)){ae.clear();for(const i of we)De(i);we=[]}}we=null}}function qe(e){for(var t=Ke=e;t.parent!==null;){t=t.parent;var n=t.f;if(Tt&&t===w&&(n&Ce)!==0)return;if((n&(le|ee))!==0){if((n&q)===0)return;t.f^=q}}ge.push(t)}const ae=new Map;function Ve(e,t){var n={f:0,v:e,reactions:null,equals:Wt,rv:0,wv:0};return n}function te(e,t){const n=Ve(e);return Vr(n),n}function on(e,t=!1,n=!0){const r=Ve(e);return t||(r.equals=Xt),r}function ne(e,t,n=!1){$!==null&&(!ye||($.f&Ut)!==0)&&Zt()&&($.f&(L|Ce|ht|Ut))!==0&&!ie?.includes(e)&&wr();let r=n?Se(t):t;return Qe(e,r)}function Qe(e,t){if(!e.equals(t)){var n=e.v;$e?ae.set(e,t):ae.set(e,n),e.v=t;var r=me.ensure();r.capture(e,n),(e.f&L)!==0&&((e.f&H)!==0&&Et(e),F(e,(e.f&Y)===0?q:se)),e.wv=Cn(),fn(e,H),w!==null&&(w.f&q)!==0&&(w.f&(ee|le))===0&&(U===null?Ur([e]):U.push(e))}return t}function xt(e){ne(e,e.v+1)}function fn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var l=n[i],s=l.f,a=(s&H)===0;a&&F(l,t),(s&L)!==0?fn(l,se):a&&((s&Ce)!==0&&we!==null&&we.push(l),qe(l))}}function Se(e){if(typeof e!="object"||e===null||_t in e)return e;const t=Ft(e);if(t!==ir&&t!==lr)return e;var n=new Map,r=ot(e),i=te(0),l=Ee,s=a=>{if(Ee===l)return a();var o=$,f=Ee;K(null),Rn(l);var v=a();return K(o),Rn(f),v};return r&&n.set("length",te(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&gr();var v=n.get(o);return v===void 0?v=s(()=>{var c=te(f.value);return n.set(o,c),c}):ne(v,f.value,!0),!0},deleteProperty(a,o){var f=n.get(o);if(f===void 0){if(o in a){const v=s(()=>te(O));n.set(o,v),xt(i)}}else ne(f,O),xt(i);return!0},get(a,o,f){if(o===_t)return e;var v=n.get(o),c=o in a;if(v===void 0&&(!c||Re(a,o)?.writable)&&(v=s(()=>{var h=Se(c?a[o]:O),d=te(h);return d}),n.set(o,v)),v!==void 0){var u=R(v);return u===O?void 0:u}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var v=n.get(o);v&&(f.value=R(v))}else if(f===void 0){var c=n.get(o),u=c?.v;if(c!==void 0&&u!==O)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(a,o){if(o===_t)return!0;var f=n.get(o),v=f!==void 0&&f.v!==O||Reflect.has(a,o);if(f!==void 0||w!==null&&(!v||Re(a,o)?.writable)){f===void 0&&(f=s(()=>{var u=v?Se(a[o]):O,h=te(u);return h}),n.set(o,f));var c=R(f);if(c===O)return!1}return v},set(a,o,f,v){var c=n.get(o),u=o in a;if(r&&o==="length")for(var h=f;h<c.v;h+=1){var d=n.get(h+"");d!==void 0?ne(d,O):h in a&&(d=s(()=>te(O)),n.set(h+"",d))}if(c===void 0)(!u||Re(a,o)?.writable)&&(c=s(()=>te(void 0)),ne(c,Se(f)),n.set(o,c));else{u=c.v!==O;var _=s(()=>Se(f));ne(c,_)}var p=Reflect.getOwnPropertyDescriptor(a,o);if(p?.set&&p.set.call(v,f),!u){if(r&&typeof o=="string"){var E=n.get("length"),m=Number(o);Number.isInteger(m)&&m>=E.v&&ne(E,m+1)}xt(i)}return!0},ownKeys(a){R(i);var o=Reflect.ownKeys(a).filter(c=>{var u=n.get(c);return u===void 0||u.v!==O});for(var[f,v]of n)v.v!==O&&!(f in a)&&o.push(f);return o},setPrototypeOf(){mr()}})}var un,cn,vn,dn;function At(){if(un===void 0){un=window,cn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;vn=Re(t,"firstChild").get,dn=Re(t,"nextSibling").get,jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),jt(n)&&(n.__t=void 0)}}function oe(e=""){return document.createTextNode(e)}function V(e){return vn.call(e)}function X(e){return dn.call(e)}function Ue(e,t){if(!b)return V(e);var n=V(A);if(n===null)n=A.appendChild(oe());else if(t&&n.nodeType!==Gt){var r=oe();return n?.before(r),P(r),r}return P(n),n}function hn(e,t){if(!b){var n=V(e);return n instanceof Comment&&n.data===""?X(n):n}return A}function Be(e,t=1,n=!1){let r=b?A:e;for(var i;t--;)i=r,r=X(r);if(!b)return r;if(n&&r?.nodeType!==Gt){var l=oe();return r===null?i?.after(l):r.before(l),P(l),l}return P(r),r}function _n(e){e.textContent=""}function pn(){return!1}function gn(e){var t=$,n=w;K(null),fe(null);try{return e()}finally{K(t),fe(n)}}function Pr(e){w===null&&$===null&&hr(),$!==null&&($.f&Y)!==0&&w===null&&dr(),$e&&vr()}function Mr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function re(e,t,n,r=!0){var i=w;i!==null&&(i.f&G)!==0&&(e|=G);var l={ctx:W,deps:null,nodes_start:null,nodes_end:null,f:e|H,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{De(l),l.f|=ct}catch(o){throw J(l),o}else t!==null&&qe(l);if(r){var s=l;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Oe)===0&&(s=s.first),s!==null&&(s.parent=i,i!==null&&Mr(s,i),$!==null&&($.f&L)!==0&&(e&le)===0)){var a=$;(a.effects??=[]).push(s)}}return l}function Dr(e){Pr();var t=w.f,n=!$&&(t&ee)!==0&&(t&ct)===0;if(n){var r=W;(r.e??=[]).push(e)}else return mn(e)}function mn(e){return re(ut|ar,e,!1)}function Lr(e){me.ensure();const t=re(le|Oe,e,!0);return()=>{J(t)}}function Ir(e){me.ensure();const t=re(le|Oe,e,!0);return(n={})=>new Promise(r=>{n.outro?Ct(t,()=>{J(t),r(void 0)}):(J(t),r(void 0))})}function Fr(e){return re(ut,e,!1)}function jr(e){return re(ht|Oe,e,!0)}function Yr(e,t=0){return re(Ht|t,e,!0)}function Nt(e,t=[],n=[]){kr(t,n,r=>{re(Ht,()=>e(...r.map(R)),!0)})}function Rt(e,t=0){var n=re(Ce|t,e,!0);return n}function Pe(e,t=!0){return re(ee|Oe,e,!0,t)}function wn(e){var t=e.teardown;if(t!==null){const n=$e,r=$;An(!0),K(null);try{t.call(null)}finally{An(n),K(r)}}}function $n(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&gn(()=>{i.abort(pt)});var r=n.next;(n.f&le)!==0?n.parent=null:J(n,t),n=r}}function Hr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ee)===0&&J(t),t=n}}function J(e,t=!0){var n=!1;(t||(e.f&Bt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(yn(e.nodes_start,e.nodes_end),n=!0),$n(e,t&&!n),tt(e,0),F(e,de);var r=e.transitions;if(r!==null)for(const l of r)l.stop();wn(e);var i=e.parent;i!==null&&i.first!==null&&En(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function yn(e,t){for(;e!==null;){var n=e===t?null:X(e);e.remove(),e=n}}function En(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 Ct(e,t){var n=[];Ot(e,n,!0),bn(n,()=>{J(e),t&&t()})}function bn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Ot(e,t,n){if((e.f&G)===0){if(e.f^=G,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,l=(r.f&vt)!==0||(r.f&ee)!==0;Ot(r,t,l?n:!1),r=i}}}function kt(e){Tn(e,!0)}function Tn(e,t){if((e.f&G)!==0){e.f^=G,(e.f&q)===0&&(F(e,H),qe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&vt)!==0||(n.f&ee)!==0;Tn(n,i?t:!1),n=r}if(e.transitions!==null)for(const l of e.transitions)(l.is_global||t)&&l.in()}}let Me=!1;function xn(e){Me=e}let $e=!1;function An(e){$e=e}let $=null,ye=!1;function K(e){$=e}let w=null;function fe(e){w=e}let ie=null;function Vr(e){$!==null&&(ie===null?ie=[e]:ie.push(e))}let S=null,I=0,U=null;function Ur(e){U=e}let Nn=1,Ge=0,Ee=Ge;function Rn(e){Ee=e}let ue=!1;function Cn(){return++Nn}function et(e){var t=e.f;if((t&H)!==0)return!0;if((t&se)!==0){var n=e.deps,r=(t&Y)!==0;if(n!==null){var i,l,s=(t&We)!==0,a=r&&w!==null&&!ue,o=n.length;if((s||a)&&(w===null||(w.f&de)===0)){var f=e,v=f.parent;for(i=0;i<o;i++)l=n[i],(s||!l?.reactions?.includes(f))&&(l.reactions??=[]).push(f);s&&(f.f^=We),a&&v!==null&&(v.f&Y)===0&&(f.f^=Y)}for(i=0;i<o;i++)if(l=n[i],et(l)&&tn(l),l.wv>e.wv)return!0}(!r||w!==null&&!ue)&&F(e,q)}return!1}function On(e,t,n=!0){var r=e.reactions;if(r!==null&&!ie?.includes(e))for(var i=0;i<r.length;i++){var l=r[i];(l.f&L)!==0?On(l,t,!1):t===l&&(n?F(l,H):(l.f&q)!==0&&F(l,se),qe(l))}}function kn(e){var t=S,n=I,r=U,i=$,l=ue,s=ie,a=W,o=ye,f=Ee,v=e.f;S=null,I=0,U=null,ue=(v&Y)!==0&&(ye||!Me||$===null),$=(v&(ee|le))===0?e:null,ie=null,Xe(e.ctx),ye=!1,Ee=++Ge,e.ac!==null&&(gn(()=>{e.ac.abort(pt)}),e.ac=null);try{e.f|=dt;var c=e.fn,u=c(),h=e.deps;if(S!==null){var d;if(tt(e,I),h!==null&&I>0)for(h.length=I+S.length,d=0;d<S.length;d++)h[I+d]=S[d];else e.deps=h=S;if(!ue||(v&L)!==0&&e.reactions!==null)for(d=I;d<h.length;d++)(h[d].reactions??=[]).push(e)}else h!==null&&I<h.length&&(tt(e,I),h.length=I);if(Zt()&&U!==null&&!ye&&h!==null&&(e.f&(L|se|H))===0)for(d=0;d<U.length;d++)On(U[d],e);return i!==null&&i!==e&&(Ge++,U!==null&&(r===null?r=U:r.push(...U))),(e.f&he)!==0&&(e.f^=he),u}catch(_){return br(_)}finally{e.f^=dt,S=t,I=n,U=r,$=i,ue=l,ie=s,Xe(a),ye=o,Ee=f}}function Br(e,t){let n=t.reactions;if(n!==null){var r=nr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&L)!==0&&(S===null||!S.includes(t))&&(F(t,se),(t.f&(Y|We))===0&&(t.f^=We),en(t),tt(t,0))}function tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Br(e,n[r])}function De(e){var t=e.f;if((t&de)===0){F(e,q);var n=w,r=Me;w=e,Me=!0;try{(t&Ce)!==0?Hr(e):$n(e),wn(e);var i=kn(e);e.teardown=typeof i=="function"?i:null,e.wv=Nn;var l;It&&yr&&(e.f&H)!==0&&e.deps}finally{Me=r,w=n}}}function R(e){var t=e.f,n=(t&L)!==0;if($!==null&&!ye){var r=w!==null&&(w.f&de)!==0;if(!r&&!ie?.includes(e)){var i=$.deps;if(($.f&dt)!==0)e.rv<Ge&&(e.rv=Ge,S===null&&i!==null&&i[I]===e?I++:S===null?S=[e]:(!ue||!S.includes(e))&&S.push(e));else{($.deps??=[]).push(e);var l=e.reactions;l===null?e.reactions=[$]:l.includes($)||l.push($)}}}else if(n&&e.deps===null&&e.effects===null){var s=e,a=s.parent;a!==null&&(a.f&Y)===0&&(s.f^=Y)}if($e){if(ae.has(e))return ae.get(e);if(n){s=e;var o=s.v;return((s.f&q)===0&&s.reactions!==null||qn(s))&&(o=Et(s)),ae.set(s,o),o}}else n&&(s=e,et(s)&&tn(s));if((e.f&he)!==0)throw e.v;return e.v}function qn(e){if(e.v===O)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ae.has(t)||(t.f&L)!==0&&qn(t))return!0;return!1}const Gr=-7169;function F(e,t){e.f=e.f&Gr|t}const Sn=new Set,qt=new Set;function zr(e){for(var t=0;t<e.length;t++)Sn.add(e[t]);for(var n of qt)n(e)}let Pn=null;function nt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],l=i[0]||e.target;Pn=e;var s=0,a=Pn===e&&e.__root;if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(s=o)}if(l=i[s]||e.target,l!==t){Ne(e,"currentTarget",{configurable:!0,get(){return l||n}});var v=$,c=w;K(null),fe(null);try{for(var u,h=[];l!==null;){var d=l.assignedSlot||l.parentNode||l.host||null;try{var _=l["__"+r];if(_!=null&&(!l.disabled||e.target===l))if(ot(_)){var[p,...E]=_;p.apply(l,[e,...E])}else _.call(l,e)}catch(m){u?h.push(m):u=m}if(e.cancelBubble||d===t||d===null)break;l=d}if(u){for(let m of h)queueMicrotask(()=>{throw m});throw u}}finally{e.__root=t,delete e.currentTarget,K(v),fe(c)}}}let B;function Wr(){B=void 0}function Xr(e){let t=null,n=b;var r;if(b){for(t=A,B===void 0&&(B=V(document.head));B!==null&&(B.nodeType!==_e||B.data!==lt);)B=X(B);B===null?z(!1):B=P(X(B))}b||(r=document.head.appendChild(oe()));try{Rt(()=>e(r),Bt)}finally{n&&(z(!0),B=A,P(t))}}function Mn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Le(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Ie(e,t){var n=(t&Qn)!==0,r=(t&er)!==0,i,l=!e.startsWith("<!>");return()=>{if(b)return Le(A,null),A;i===void 0&&(i=Mn(l?e:"<!>"+e),n||(i=V(i)));var s=r||cn?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=V(s),o=s.lastChild;Le(a,o)}else Le(s,s);return s}}function be(e,t){if(b){w.nodes_end=A,ke();return}e!==null&&e.before(t)}const Jr=["touchstart","touchmove"];function Kr(e){return Jr.includes(e)}function Dn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Ln(e,t){return In(e,t)}function Zr(e,t){At(),t.intro=t.intro??!1;const n=t.target,r=b,i=A;try{for(var l=V(n);l&&(l.nodeType!==_e||l.data!==lt);)l=X(l);if(!l)throw ve;z(!0),P(l),ke();const s=In(e,{...t,anchor:l});if(A===null||A.nodeType!==_e||A.data!==at)throw Ye(),ve;return z(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw s;return s!==ve&&console.warn("Failed to hydrate: ",s),t.recover===!1&&pr(),At(),_n(n),z(!1),Ln(e,t)}finally{z(r),P(i),Wr()}}const Fe=new Map;function In(e,{target:t,anchor:n,props:r={},events:i,context:l,intro:s=!0}){At();var a=new Set,o=c=>{for(var u=0;u<c.length;u++){var h=c[u];if(!a.has(h)){a.add(h);var d=Kr(h);t.addEventListener(h,nt,{passive:d});var _=Fe.get(h);_===void 0?(document.addEventListener(h,nt,{passive:d}),Fe.set(h,1)):Fe.set(h,_+1)}}};o(ft(Sn)),qt.add(o);var f=void 0,v=Ir(()=>{var c=n??t.appendChild(oe());return Pe(()=>{if(l){Jt({});var u=W;u.c=l}i&&(r.$$events=i),b&&Le(c,null),f=e(c,r)||{},b&&(w.nodes_end=A),l&&Kt()}),()=>{for(var u of a){t.removeEventListener(u,nt);var h=Fe.get(u);--h===0?(document.removeEventListener(u,nt),Fe.delete(u)):Fe.set(u,h)}qt.delete(o),c!==n&&c.parentNode?.removeChild(c)}});return St.set(f,v),f}let St=new WeakMap;function Qr(e,t){const n=St.get(e);return n?(St.delete(e),n(t)):Promise.resolve()}function Fn(e,t,n=!1){b&&ke();var r=e,i=null,l=null,s=O,a=n?vt:0,o=!1;const f=(h,d=!0)=>{o=!0,u(d,h)};var v=null;function c(){v!==null&&(v.lastChild.remove(),r.before(v),v=null);var h=s?i:l,d=s?l:i;h&&kt(h),d&&Ct(d,()=>{s?l=null:i=null})}const u=(h,d)=>{if(s===(s=h))return;let _=!1;if(b){const x=zt(r)===st;!!s===x&&(r=gt(),P(r),z(!1),_=!0)}var p=pn(),E=r;if(p&&(v=document.createDocumentFragment(),v.append(E=oe())),s?i??=d&&Pe(()=>d(E)):l??=d&&Pe(()=>d(E)),p){var m=C,y=s?i:l,N=s?l:i;y&&m.skipped_effects.delete(y),N&&m.skipped_effects.add(N),m.add_callback(c)}else c();_&&z(!0)};Rt(()=>{o=!1,t(f),o||u(null,null)},a),b&&(r=A)}function ei(e,t,n){for(var r=e.items,i=[],l=t.length,s=0;s<l;s++)Ot(t[s].e,i,!0);var a=l>0&&i.length===0&&n!==null;if(a){var o=n.parentNode;_n(o),o.append(n),r.clear(),Z(e,t[0].prev,t[l-1].next)}bn(i,()=>{for(var f=0;f<l;f++){var v=t[f];a||(r.delete(v.k),Z(e,v.prev,v.next)),J(v.e,!a)}})}function jn(e,t,n,r,i,l=null){var s=e,a={flags:t,items:new Map,first:null};{var o=e;s=b?P(V(o)):o.appendChild(oe())}b&&ke();var f=null,v=!1,c=new Map,u=Cr(()=>{var p=n();return ot(p)?p:p==null?[]:ft(p)}),h,d;function _(){ti(d,h,a,c,s,i,t,r,n),l!==null&&(h.length===0?f?kt(f):f=Pe(()=>l(s)):f!==null&&Ct(f,()=>{f=null}))}Rt(()=>{d??=w,h=R(u);var p=h.length;if(v&&p===0)return;v=p===0;let E=!1;if(b){var m=zt(s)===st;m!==(p===0)&&(s=gt(),P(s),z(!1),E=!0)}if(b){for(var y=null,N,x=0;x<p;x++){if(A.nodeType===_e&&A.data===at){s=A,E=!0,z(!1);break}var M=h[x],k=r(M,x);N=Pt(A,a,y,null,M,k,x,i,t,n),a.items.set(k,N),y=N}p>0&&P(gt())}if(b)p===0&&l&&(f=Pe(()=>l(s)));else if(pn()){var Q=new Set,D=C;for(x=0;x<p;x+=1){M=h[x],k=r(M,x);var ce=a.items.get(k)??c.get(k);ce?Yn(ce,M,x):(N=Pt(null,a,null,null,M,k,x,i,t,n,!0),c.set(k,N)),Q.add(k)}for(const[xe,Ae]of a.items)Q.has(xe)||D.skipped_effects.add(Ae.e);D.add_callback(_)}else _();E&&z(!0),R(u)}),b&&(s=A)}function ti(e,t,n,r,i,l,s,a,o){var f=t.length,v=n.items,c=n.first,u=c,h,d=null,_=[],p=[],E,m,y,N;for(N=0;N<f;N+=1){if(E=t[N],m=a(E,N),y=v.get(m),y===void 0){var x=r.get(m);if(x!==void 0){r.delete(m),v.set(m,x);var M=d?d.next:u;Z(n,d,x),Z(n,x,M),Mt(x,M,i),d=x}else{var k=u?u.e.nodes_start:i;d=Pt(k,n,d,d===null?n.first:d.next,E,m,N,l,s,o)}v.set(m,d),_=[],p=[],u=d.next;continue}if(Yn(y,E,N),(y.e.f&G)!==0&&kt(y.e),y!==u){if(h!==void 0&&h.has(y)){if(_.length<p.length){var Q=p[0],D;d=Q.prev;var ce=_[0],xe=_[_.length-1];for(D=0;D<_.length;D+=1)Mt(_[D],Q,i);for(D=0;D<p.length;D+=1)h.delete(p[D]);Z(n,ce.prev,xe.next),Z(n,d,ce),Z(n,xe,Q),u=Q,d=xe,N-=1,_=[],p=[]}else h.delete(y),Mt(y,u,i),Z(n,y.prev,y.next),Z(n,y,d===null?n.first:d.next),Z(n,d,y),d=y;continue}for(_=[],p=[];u!==null&&u.k!==m;)(u.e.f&G)===0&&(h??=new Set).add(u),p.push(u),u=u.next;if(u===null)continue;y=u}_.push(y),d=y,u=y.next}if(u!==null||h!==void 0){for(var Ae=h===void 0?[]:ft(h);u!==null;)(u.e.f&G)===0&&Ae.push(u),u=u.next;var T=Ae.length;if(T>0){var g=f===0?i:null;ei(n,Ae,g)}}e.first=n.first&&n.first.e,e.last=d&&d.e;for(var j of r.values())J(j.e);r.clear()}function Yn(e,t,n,r){Qe(e.v,t),e.i=n}function Pt(e,t,n,r,i,l,s,a,o,f,v){var c=(o&Jn)!==0,u=(o&Zn)===0,h=c?u?on(i,!1,!1):Ve(i):i,d=(o&Kn)===0?s:Ve(s),_={i:d,v:h,k:l,a:null,e:null,prev:n,next:r};try{if(e===null){var p=document.createDocumentFragment();p.append(e=oe())}return _.e=Pe(()=>a(e,h,d,f),b),_.e.prev=n&&n.e,_.e.next=r&&r.e,n===null?v||(t.first=_):(n.next=_,n.e.next=_.e),r!==null&&(r.prev=_,r.e.prev=_.e),_}finally{}}function Mt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,l=e.e.nodes_start;l!==null&&l!==r;){var s=X(l);i.before(l),l=s}}function Z(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 ni(e,t,n=!1,r=!1,i=!1){var l=e,s="";Nt(()=>{var a=w;if(s===(s=t()??"")){b&&ke();return}if(a.nodes_start!==null&&(yn(a.nodes_start,a.nodes_end),a.nodes_start=a.nodes_end=null),s!==""){if(b){A.data;for(var o=ke(),f=o;o!==null&&(o.nodeType!==_e||o.data!=="");)f=o,o=X(o);if(o===null)throw Ye(),ve;Le(A,f),l=P(o);return}var v=s+"";n?v=`<svg>${v}</svg>`:r&&(v=`<math>${v}</math>`);var c=Mn(v);if((n||r)&&(c=V(c)),Le(V(c),c.lastChild),n||r)for(;V(c);)l.before(V(c));else l.before(c)}})}function ri(e,t){Fr(()=>{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 ii(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function li(e,t,n,r,i,l){var s=e.__className;if(b||s!==n||s===void 0){var a=ii(n,r);(!b||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return l}const si=Symbol("is custom element"),ai=Symbol("is html");function Hn(e,t,n,r){var i=oi(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[fr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&fi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function oi(e){return e.__attributes??={[si]:e.nodeName.includes("-"),[ai]:e.namespaceURI===tr}}var Vn=new Map;function fi(e){var t=e.getAttribute("is")||e.nodeName,n=Vn.get(t);if(n)return n;Vn.set(t,n=[]);for(var r,i=e,l=Element.prototype;l!==i;){r=rr(i);for(var s in r)r[s].set&&n.push(s);i=Ft(i)}return n}function rt(e,t,n,r){var i=r,l=!0,s=()=>(l&&(l=!1,i=r),i),a;a=e[t],a===void 0&&r!==void 0&&(a=s());var o;o=()=>{var u=e[t];return u===void 0?s():(l=!0,u)};var f=!1,v=yt(()=>(f=!1,o())),c=w;return(function(u,h){if(arguments.length>0){const d=h?R(v):u;return ne(v,d),f=!0,i!==void 0&&(i=d),u}return $e&&f||(c.f&de)!==0?v.v:R(v)})}function ui(e){return new ci(e)}class ci{#t;#e;constructor(t){var n=new Map,r=(l,s)=>{var a=on(s,!1,!1);return n.set(l,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(l,s){return R(n.get(s)??r(s,Reflect.get(l,s)))},has(l,s){return s===or?!0:(R(n.get(s)??r(s,Reflect.get(l,s))),Reflect.has(l,s))},set(l,s,a){return ne(n.get(s)??r(s,a),a),Reflect.set(l,s,a)}});this.#e=(t.hydrate?Zr:Ln)(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)&&He(),this.#t=i.$$events;for(const l of Object.keys(this.#e))l==="$set"||l==="$destroy"||l==="$on"||Ne(this,l,{get(){return this.#e[l]},set(s){this.#e[l]=s},enumerable:!0});this.#e.$set=l=>{Object.assign(i,l)},this.#e.$destroy=()=>{Qr(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 Un;typeof HTMLElement=="function"&&(Un=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 l=document.createElement("slot");r!=="default"&&(l.name=r),be(i,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=vi(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]=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=ui({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Lr(()=>{Yr(()=>{this.$$r=!0;for(const r of ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=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 l=this.$$c.$on(r,i);this.$$l_u.set(i,l)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=it(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function it(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 vi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function di(e,t,n,r,i,l){let s=class extends Un{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ze(t).map(a=>(t[a].attribute||a).toLowerCase())}};return ze(t).forEach(a=>{Ne(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=it(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var v=Re(f,a)?.get;v?f[a]=o:f.$set({[a]:o})}}})}),r.forEach(a=>{Ne(s.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=s,s}function hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var je={},Dt,Bn;function _i(){if(Bn)return Dt;Bn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,a=/^\s+|\s+$/g,o=`
3
- `,f="/",v="*",c="",u="comment",h="declaration";Dt=function(_,p){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];p=p||{};var E=1,m=1;function y(T){var g=T.match(t);g&&(E+=g.length);var j=T.lastIndexOf(o);m=~j?T.length-j:m+T.length}function N(){var T={line:E,column:m};return function(g){return g.position=new x(T),Q(),g}}function x(T){this.start=T,this.end={line:E,column:m},this.source=p.source}x.prototype.content=_;function M(T){var g=new Error(p.source+":"+E+":"+m+": "+T);if(g.reason=T,g.filename=p.source,g.line=E,g.column=m,g.source=_,!p.silent)throw g}function k(T){var g=T.exec(_);if(g){var j=g[0];return y(j),_=_.slice(j.length),g}}function Q(){k(n)}function D(T){var g;for(T=T||[];g=ce();)g!==!1&&T.push(g);return T}function ce(){var T=N();if(!(f!=_.charAt(0)||v!=_.charAt(1))){for(var g=2;c!=_.charAt(g)&&(v!=_.charAt(g)||f!=_.charAt(g+1));)++g;if(g+=2,c===_.charAt(g-1))return M("End of comment missing");var j=_.slice(2,g-2);return m+=2,y(j),_=_.slice(g),m+=2,T({type:u,comment:j})}}function xe(){var T=N(),g=k(r);if(g){if(ce(),!k(i))return M("property missing ':'");var j=k(l),Ni=T({type:h,property:d(g[0].replace(e,c)),value:j?d(j[0].replace(e,c)):c});return k(s),Ni}}function Ae(){var T=[];D(T);for(var g;g=xe();)g!==!1&&(T.push(g),D(T));return T}return Q(),Ae()};function d(_){return _?_.replace(a,c):c}return Dt}var Gn;function pi(){if(Gn)return je;Gn=1;var e=je&&je.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(je,"__esModule",{value:!0}),je.default=n;var t=e(_i());function n(r,i){var l=null;if(!r||typeof r!="string")return l;var s=(0,t.default)(r),a=typeof i=="function";return s.forEach(function(o){if(o.type==="declaration"){var f=o.property,v=o.value;a?i(f,v,o):v&&(l=l||{},l[f]=v)}}),l}return je}var gi=pi();const zn=hi(gi);zn.default;var Te={},Wn;function mi(){if(Wn)return Te;Wn=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.LanguageTranslator=void 0,Te.getChildStyleToPass=e,Te.addComponent=t;function e(r,i){var l,s,a="";try{if(r&&i?.length&&(!((l=Object.keys(r))===null||l===void 0)&&l.length)&&(!((s=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||s===void 0)&&s.length))for(var o=function(u){var h=i?.filter(function(d){return d.name===u&&d.defaultValue!==r[u]});h&&(a+="".concat(u,":").concat(r[u],";"))},f=0,v=Object.keys(r);f<v.length;f++){var c=v[f];o(c)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}function t(r){var i,l=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!l)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var s=r?.iifePath||"main.iife.js";if(!document.getElementById(l+"-script"))try{var a=document.createElement("script");if(a.id=l+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(s),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=l.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(l.replace(o+"-",""),"/").concat(s)}document.head.appendChild(a)}catch(f){console.warn(f)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,l){return r.getDictionaryWord(i,this.dictionary,l||this.lang)},r.prototype.translateDate=function(i,l,s){return r.formatDate(i,l,s||this.lang)},r.getDefaultLang=function(){var i,l,s,a,o,f="en";return navigator?.languages&&(!((s=(l=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||l===void 0?void 0:l.toLowerCase())===null||s===void 0)&&s.length)&&(f=(o=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),f},r.getDictionaryWord=function(i,l,s){var a;if(!i)throw new Error("no wordKey provided");if(!l)throw new Error("no dictionary provided");if(s&&(!((a=l[s])===null||a===void 0)&&a[i]))return l[s][i];var o="",f=r.getDefaultLang();if(!s||f!==s){var v=l?.[f];v?.[i]&&(o=v[i])}return o},r.formatDate=function(i,l,s){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(s||r.getDefaultLang(),l);return a.format(i)},r})();return Te.LanguageTranslator=n,Te}mi();var wi=Ie('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),$i=Ie('<div class="break svelte-1ltpl7q"></div>'),yi=(e,t,n)=>{R(t).catchAll?n(void 0):n(R(t).key)},Ei=Ie('<!> <div class="topic svelte-1ltpl7q"><div class="topic_content svelte-1ltpl7q"><i></i> </div></div>',1),bi=Ie('<div class="faq-question svelte-1ltpl7q"><input type="checkbox" class="panel svelte-1ltpl7q"/> <div class="plus svelte-1ltpl7q">+</div> <label class="panel-title svelte-1ltpl7q"> </label> <div class="panel-content svelte-1ltpl7q"><!></div></div>'),Ti=Ie('<div class="faq-content svelte-1ltpl7q"></div>'),xi=Ie('<div id="topics" class="svelte-1ltpl7q"></div> <!>',1);const Ai={hash:"svelte-1ltpl7q",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");
1
+ (function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Wn=1,Gn=2,Jn=16,Kn=1,Xn=2,Lt="[",Ze="[!",ht="]",_e={},C=Symbol(),Zn="http://www.w3.org/1999/xhtml",It=!1;var Ft=Array.isArray,Qn=Array.prototype.indexOf,vt=Array.from,Qe=Object.keys,et=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,er=Object.getOwnPropertyDescriptors,tr=Object.prototype,nr=Array.prototype,qt=Object.getPrototypeOf,jt=Object.isExtensible;function rr(e){for(var t=0;t<e.length;t++)e[t]()}function Bt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const R=2,tt=4,_t=8,re=16,ie=32,ue=64,nt=128,Y=512,S=1024,P=2048,se=4096,I=8192,ce=16384,pt=32768,Ne=65536,zt=1<<17,gt=1<<18,pe=1<<19,ir=1<<20,Fe=32768,mt=1<<21,wt=1<<22,de=1<<23,yt=Symbol("$state"),sr=Symbol("legacy props"),lr=Symbol(""),Ce=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$t=3,he=8;function fr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ar(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function or(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ur(e){throw new Error("https://svelte.dev/e/effect_orphan")}function cr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function dr(){throw new Error("https://svelte.dev/e/hydration_failed")}function hr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function vr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function _r(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function pr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function gr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function U(e){g=e}let y;function N(e){if(e===null)throw qe(),_e;return y=e}function Re(){return N(q(y))}function ge(e){if(g){if(q(y)!==null)throw qe(),_e;y=e}}function mr(e=1){if(g){for(var t=e,n=y;t--;)n=q(n);y=n}}function rt(e=!0){for(var t=0,n=y;;){if(n.nodeType===he){var r=n.data;if(r===ht){if(t===0)return n;t-=1}else(r===Lt||r===Ze)&&(t+=1)}var i=q(n);e&&n.remove(),n=i}}function Ht(e){if(!e||e.nodeType!==he)throw qe(),_e;return e.data}function Vt(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 Yt(e){return!wr(e,this.v)}let yr=!1,B=null;function Se(e){B=e}function Ut(e,t=!1,n){B={p:B,i:!1,c:null,e:null,s:e,x:null,l:null}}function Wt(e){var t=B,n=t.e;if(n!==null){t.e=null;for(var r of n)_n(r)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,e??{}}function Gt(){return!0}let me=[];function Jt(){var e=me;me=[],rr(e)}function bt(e){if(me.length===0&&!je){var t=me;queueMicrotask(()=>{t===me&&Jt()})}me.push(e)}function $r(){for(;me.length>0;)Jt()}function Kt(e){var t=w;if(t===null)return m.f|=de,e;if((t.f&pt)===0){if((t.f&nt)===0)throw e;t.b.error(e)}else Oe(e,t)}function Oe(e,t){for(;t!==null;){if((t.f&nt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const it=new Set;let k=null,F=null,X=[],st=null,Et=!1,je=!1;class W{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){X=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#o(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(k=null,Zt(n.render_effects),Zt(n.effects),this.#a?.resolve()),F=null}#i(t,n){t.f^=S;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ie|ue))!==0,l=s&&(i&S)!==0,f=l||(i&I)!==0||this.skipped_effects.has(r);if((r.f&nt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){s?r.f^=S:(i&tt)!==0?n.effects.push(r):We(r)&&((r.f&re)!==0&&n.block_effects.push(r),Ge(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.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#s(t){for(const n of t)((n.f&P)!==0?this.#l:this.#f).push(n),D(n,S)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&de)===0&&(this.current.set(t,t.v),F?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k=null,F=null}flush(){if(this.activate(),X.length>0){if(Xt(),k!==null&&k!==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(it.size>1){this.previous.clear();var t=F,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of it){if(i===this){n=!1;continue}const s=[];for(const[f,a]of this.current){if(i.current.has(f))if(n&&a!==i.current.get(f))i.current.set(f,a);else continue;s.push(f)}if(s.length===0)continue;const l=[...i.current.keys()].filter(f=>!this.current.has(f));if(l.length>0){const f=new Set,a=new Map;for(const o of s)Qt(o,l,f,a);if(X.length>0){k=i,i.apply();for(const o of X)i.#i(o,r);X=[],i.deactivate()}}}k=null,F=t}this.committed=!0,it.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)D(t,P),we(t);for(const t of this.#f)D(t,se),we(t);this.#l=[],this.#f=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=Bt()).promise}static ensure(){if(k===null){const t=k=new W;it.add(k),je||W.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){bt(t)}apply(){}}function Be(e){var t=je;je=!0;try{for(var n;;){if($r(),X.length===0&&(k?.flush(),X.length===0))return st=null,n;Xt()}}finally{je=t}}function Xt(){var e=$e;Et=!0;try{var t=0;for(kn(!0);X.length>0;){var n=W.ensure();if(t++>1e3){var r,i;br()}n.process(X),ve.clear()}}finally{Et=!1,kn(e),st=null}}function br(){try{cr()}catch(e){Oe(e,st)}}let le=null;function Zt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ce|I))===0&&We(r)&&(le=new Set,Ge(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?yn(r):r.fn=null),le?.size>0)){ve.clear();for(const i of le){if((i.f&(ce|I))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)le.has(l)&&(le.delete(l),s.push(l)),l=l.parent;for(let f=s.length-1;f>=0;f--){const a=s[f];(a.f&(ce|I))===0&&Ge(a)}}le.clear()}}le=null}}function Qt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&R)!==0?Qt(i,t,n,r):(s&(wt|re))!==0&&(s&P)===0&&en(i,t,r)&&(D(i,P),we(i))}}function en(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&R)!==0&&en(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function we(e){for(var t=st=e;t.parent!==null;){t=t.parent;var n=t.f;if(Et&&t===w&&(n&re)!==0&&(n&gt)===0)return;if((n&(ue|ie))!==0){if((n&S)===0)return;t.f^=S}}X.push(t)}function Er(e){let t=0,n=ye(0),r;return()=>{ft()&&(b(n),pn(()=>(t===0&&(r=Yr(()=>e(()=>He(n)))),t+=1,()=>{bt(()=>{t-=1,t===0&&(r?.(),r=void 0,He(n))})})))}}var kr=Ne|pe|nt;function xr(e,t,n){new Tr(e,t,n)}class Tr{parent;#t=!1;#e;#n=g?y:null;#r;#a;#l;#f=null;#i=null;#s=null;#o=null;#u=null;#h=0;#c=0;#v=!1;#d=null;#w=Er(()=>(this.#d=ye(this.#h),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=w.b,this.#t=!!this.#r.pending,this.#l=at(()=>{if(w.b=this,g){const s=this.#n;Re(),s.nodeType===he&&s.data===Ze?this.#$():this.#y()}else{var i=this.#g();try{this.#f=H(()=>r(i))}catch(s){this.error(s)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},kr),g&&(this.#e=y)}#y(){try{this.#f=H(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#i=H(()=>t(this.#e)),W.enqueue(()=>{var n=this.#g();this.#f=this.#_(()=>(W.ensure(),H(()=>this.#a(n)))),this.#c>0?this.#p():(Me(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=G(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=w,r=m,i=B;ee(this.#l),L(this.#l),Se(this.#l.ctx);try{return t()}catch(s){return Kt(s),null}finally{ee(n),L(r),Se(i)}}#p(){const t=this.#r.pending;this.#f!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),En(this.#f,this.#o)),this.#i===null&&(this.#i=H(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Me(this.#i,()=>{this.#i=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#h+=t,this.#d&&ze(this.#d,this.#h)}get_effect_pending(){return this.#w(),b(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#f&&(O(this.#f),this.#f=null),this.#i&&(O(this.#i),this.#i=null),this.#s&&(O(this.#s),this.#s=null),g&&(N(this.#n),mr(),N(rt()));var i=!1,s=!1;const l=()=>{if(i){gr();return}i=!0,s&&pr(),W.ensure(),this.#h=0,this.#s!==null&&Me(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#f=this.#_(()=>(this.#v=!1,H(()=>this.#a(this.#e)))),this.#c>0?this.#p():this.#t=!1};var f=m;try{L(null),s=!0,n?.(t,l),s=!1}catch(a){Oe(a,this.#l&&this.#l.parent)}finally{L(f)}r&&bt(()=>{this.#s=this.#_(()=>{W.ensure(),this.#v=!0;try{return H(()=>{r(this.#e,()=>t,()=>l)})}catch(a){return Oe(a,this.#l.parent),null}finally{this.#v=!1}})})}}function Ar(e,t,n,r){const i=kt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=k,l=w,f=Nr();function a(){Promise.all(n.map(o=>Cr(o))).then(o=>{f();try{r([...t.map(i),...o])}catch(h){(l.f&ce)===0&&Oe(h,l)}s?.deactivate(),lt()}).catch(o=>{Oe(o,l)})}e.length>0?Promise.all(e).then(()=>{f();try{return a()}finally{s?.deactivate(),lt()}}):a()}function Nr(){var e=w,t=m,n=B,r=k;return function(s=!0){ee(e),L(t),Se(n),s&&r?.activate()}}function lt(){ee(null),L(null),Se(null)}function kt(e){var t=R|P,n=m!==null&&(m.f&R)!==0?m:null;return w!==null&&(w.f|=pe),{ctx:B,deps:null,effects:null,equals:Vt,f:t,fn:e,reactions:null,rv:0,v:C,wv:0,parent:n??w,ac:null}}function Cr(e,t){let n=w;n===null&&fr();var r=n.b,i=void 0,s=ye(C),l=!m,f=new Map;return jr(()=>{var a=Bt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===k&&o.committed&&o.deactivate(),lt()})}catch(u){a.reject(u),lt()}var o=k;if(l){var h=!r.is_pending();r.update_pending_count(1),o.increment(h),f.get(o)?.reject(Ce),f.delete(o),f.set(o,a)}const c=(u,d=void 0)=>{if(o.activate(),d)d!==Ce&&(s.f|=de,ze(s,d));else{(s.f&de)!==0&&(s.f^=de),ze(s,u);for(const[v,_]of f){if(f.delete(v),v===o)break;_.reject(Ce)}}l&&(r.update_pending_count(-1),o.decrement(h))};a.promise.then(c,u=>c(null,u||"unknown"))}),Pr(()=>{for(const a of f.values())a.reject(Ce)}),new Promise(a=>{function o(h){function c(){h===i?a(s):o(i)}h.then(c,c)}o(i)})}function Rr(e){const t=kt(e);return t.equals=Yt,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)O(t[n])}}function Sr(e){for(var t=e.parent;t!==null;){if((t.f&R)===0)return t;t=t.parent}return null}function xt(e){var t,n=w;ee(Sr(e));try{e.f&=~Fe,tn(e),t=Rn(e)}finally{ee(n)}return t}function nn(e){var t=xt(e);if(e.equals(t)||(e.v=t,e.wv=Nn()),!be)if(F!==null)ft()&&F.set(e,e.v);else{var n=(e.f&Y)===0?se:S;D(e,n)}}let Tt=new Set;const ve=new Map;let rn=!1;function ye(e,t){var n={f:0,v:e,reactions:null,equals:Vt,rv:0,wv:0};return n}function fe(e,t){const n=ye(e);return zr(n),n}function sn(e,t=!1,n=!0){const r=ye(e);return t||(r.equals=Yt),r}function ae(e,t,n=!1){m!==null&&(!Q||(m.f&zt)!==0)&&Gt()&&(m.f&(R|re|wt|zt))!==0&&!oe?.includes(e)&&_r();let r=n?De(t):t;return ze(e,r)}function ze(e,t){if(!e.equals(t)){var n=e.v;be?ve.set(e,t):ve.set(e,n),e.v=t;var r=W.ensure();r.capture(e,n),(e.f&R)!==0&&((e.f&P)!==0&&xt(e),D(e,(e.f&Y)!==0?S:se)),e.wv=Nn(),ln(e,P),w!==null&&(w.f&S)!==0&&(w.f&(ie|ue))===0&&(V===null?Hr([e]):V.push(e)),!r.is_fork&&Tt.size>0&&!rn&&Or()}return t}function Or(){rn=!1;const e=Array.from(Tt);for(const t of e)(t.f&S)!==0&&D(t,se),We(t)&&Ge(t);Tt.clear()}function He(e){ae(e,e.v+1)}function ln(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,f=(l&P)===0;if(f&&D(s,t),(l&R)!==0){var a=s;F?.delete(a),(l&Fe)===0&&(l&Y&&(s.f|=Fe),ln(a,se))}else f&&((l&re)!==0&&le!==null&&le.add(s),we(s))}}function De(e){if(typeof e!="object"||e===null||yt in e)return e;const t=qt(e);if(t!==tr&&t!==nr)return e;var n=new Map,r=Ft(e),i=fe(0),s=Ee,l=f=>{if(Ee===s)return f();var a=m,o=Ee;L(null),An(s);var h=f();return L(a),An(o),h};return r&&n.set("length",fe(e.length)),new Proxy(e,{defineProperty(f,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&hr();var h=n.get(a);return h===void 0?h=l(()=>{var c=fe(o.value);return n.set(a,c),c}):ae(h,o.value,!0),!0},deleteProperty(f,a){var o=n.get(a);if(o===void 0){if(a in f){const h=l(()=>fe(C));n.set(a,h),He(i)}}else ae(o,C),He(i);return!0},get(f,a,o){if(a===yt)return e;var h=n.get(a),c=a in f;if(h===void 0&&(!c||Ae(f,a)?.writable)&&(h=l(()=>{var d=De(c?f[a]:C),v=fe(d);return v}),n.set(a,h)),h!==void 0){var u=b(h);return u===C?void 0:u}return Reflect.get(f,a,o)},getOwnPropertyDescriptor(f,a){var o=Reflect.getOwnPropertyDescriptor(f,a);if(o&&"value"in o){var h=n.get(a);h&&(o.value=b(h))}else if(o===void 0){var c=n.get(a),u=c?.v;if(c!==void 0&&u!==C)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(f,a){if(a===yt)return!0;var o=n.get(a),h=o!==void 0&&o.v!==C||Reflect.has(f,a);if(o!==void 0||w!==null&&(!h||Ae(f,a)?.writable)){o===void 0&&(o=l(()=>{var u=h?De(f[a]):C,d=fe(u);return d}),n.set(a,o));var c=b(o);if(c===C)return!1}return h},set(f,a,o,h){var c=n.get(a),u=a in f;if(r&&a==="length")for(var d=o;d<c.v;d+=1){var v=n.get(d+"");v!==void 0?ae(v,C):d in f&&(v=l(()=>fe(C)),n.set(d+"",v))}if(c===void 0)(!u||Ae(f,a)?.writable)&&(c=l(()=>fe(void 0)),ae(c,De(o)),n.set(a,c));else{u=c.v!==C;var _=l(()=>De(o));ae(c,_)}var p=Reflect.getOwnPropertyDescriptor(f,a);if(p?.set&&p.set.call(h,o),!u){if(r&&typeof a=="string"){var T=n.get("length"),A=Number(a);Number.isInteger(A)&&A>=T.v&&ae(T,A+1)}He(i)}return!0},ownKeys(f){b(i);var a=Reflect.ownKeys(f).filter(c=>{var u=n.get(c);return u===void 0||u.v!==C});for(var[o,h]of n)h.v!==C&&!(o in f)&&a.push(o);return a},setPrototypeOf(){vr()}})}var fn,an,on,un;function At(){if(fn===void 0){fn=window,an=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=Ae(t,"firstChild").get,un=Ae(t,"nextSibling").get,jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),jt(n)&&(n.__t=void 0)}}function G(e=""){return document.createTextNode(e)}function z(e){return on.call(e)}function q(e){return un.call(e)}function Ve(e,t){if(!g)return z(e);var n=z(y);if(n===null)n=y.appendChild(G());else if(t&&n.nodeType!==$t){var r=G();return n?.before(r),N(r),r}return N(n),n}function cn(e,t=!1){if(!g){var n=z(e);return n instanceof Comment&&n.data===""?q(n):n}if(t&&y?.nodeType!==$t){var r=G();return y?.before(r),N(r),r}return y}function Ye(e,t=1,n=!1){let r=g?y:e;for(var i;t--;)i=r,r=q(r);if(!g)return r;if(n&&r?.nodeType!==$t){var s=G();return r===null?i?.after(s):r.before(s),N(s),s}return N(r),r}function dn(e){e.textContent=""}function hn(){return!1}function vn(e){var t=m,n=w;L(null),ee(null);try{return e()}finally{L(t),ee(n)}}function Dr(e){w===null&&(m===null&&ur(),or()),be&&ar()}function Mr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Z(e,t,n,r=!0){var i=w;i!==null&&(i.f&I)!==0&&(e|=I);var s={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|P|Y,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{Ge(s),s.f|=pt}catch(a){throw O(s),a}else t!==null&&we(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&pe)===0&&(l=l.first,(e&re)!==0&&(e&Ne)!==0&&l!==null&&(l.f|=Ne)),l!==null&&(l.parent=i,i!==null&&Mr(l,i),m!==null&&(m.f&R)!==0&&(e&ue)===0)){var f=m;(f.effects??=[]).push(l)}}return s}function ft(){return m!==null&&!Q}function Pr(e){const t=Z(_t,null,!1);return D(t,S),t.teardown=e,t}function Lr(e){Dr();var t=w.f,n=!m&&(t&ie)!==0&&(t&pt)===0;if(n){var r=B;(r.e??=[]).push(e)}else return _n(e)}function _n(e){return Z(tt|ir,e,!1)}function Ir(e){W.ensure();const t=Z(ue|pe,e,!0);return()=>{O(t)}}function Fr(e){W.ensure();const t=Z(ue|pe,e,!0);return(n={})=>new Promise(r=>{n.outro?Me(t,()=>{O(t),r(void 0)}):(O(t),r(void 0))})}function qr(e){return Z(tt,e,!1)}function jr(e){return Z(wt|pe,e,!0)}function pn(e,t=0){return Z(_t|t,e,!0)}function Nt(e,t=[],n=[],r=[],i=!1){Ar(r,t,n,s=>{Z(i?tt:_t,()=>e(...s.map(b)),!0)})}function at(e,t=0){var n=Z(re|t,e,!0);return n}function H(e,t=!0){return Z(ie|pe,e,!0,t)}function gn(e){var t=e.teardown;if(t!==null){const n=be,r=m;xn(!0),L(null);try{t.call(null)}finally{xn(n),L(r)}}}function mn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&vn(()=>{i.abort(Ce)});var r=n.next;(n.f&ue)!==0?n.parent=null:O(n,t),n=r}}function Br(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ie)===0&&O(t),t=n}}function O(e,t=!0){var n=!1;(t||(e.f&gt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(wn(e.nodes_start,e.nodes_end),n=!0),mn(e,t&&!n),ot(e,0),D(e,ce);var r=e.transitions;if(r!==null)for(const s of r)s.stop();gn(e);var i=e.parent;i!==null&&i.first!==null&&yn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function wn(e,t){for(;e!==null;){var n=e===t?null:q(e);e.remove(),e=n}}function yn(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 Me(e,t,n=!0){var r=[];Ct(e,r,!0),$n(r,()=>{n&&O(e),t&&t()})}function $n(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Ct(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 i=r.next,s=(r.f&Ne)!==0||(r.f&ie)!==0&&(e.f&re)!==0;Ct(r,t,s?n:!1),r=i}}}function Rt(e){bn(e,!0)}function bn(e,t){if((e.f&I)!==0){e.f^=I,(e.f&S)===0&&(D(e,P),we(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ne)!==0||(n.f&ie)!==0;bn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function En(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:q(n);t.append(n),n=i}}let $e=!1;function kn(e){$e=e}let be=!1;function xn(e){be=e}let m=null,Q=!1;function L(e){m=e}let w=null;function ee(e){w=e}let oe=null;function zr(e){m!==null&&(oe===null?oe=[e]:oe.push(e))}let M=null,j=0,V=null;function Hr(e){V=e}let Tn=1,Ue=0,Ee=Ue;function An(e){Ee=e}function Nn(){return++Tn}function We(e){var t=e.f;if((t&P)!==0)return!0;if(t&R&&(e.f&=~Fe),(t&se)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(We(s)&&nn(s),s.wv>e.wv)return!0}(t&Y)!==0&&F===null&&D(e,S)}return!1}function Cn(e,t,n=!0){var r=e.reactions;if(r!==null&&!oe?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&R)!==0?Cn(s,t,!1):t===s&&(n?D(s,P):(s.f&S)!==0&&D(s,se),we(s))}}function Rn(e){var t=M,n=j,r=V,i=m,s=oe,l=B,f=Q,a=Ee,o=e.f;M=null,j=0,V=null,m=(o&(ie|ue))===0?e:null,oe=null,Se(e.ctx),Q=!1,Ee=++Ue,e.ac!==null&&(vn(()=>{e.ac.abort(Ce)}),e.ac=null);try{e.f|=mt;var h=e.fn,c=h(),u=e.deps;if(M!==null){var d;if(ot(e,j),u!==null&&j>0)for(u.length=j+M.length,d=0;d<M.length;d++)u[j+d]=M[d];else e.deps=u=M;if($e&&ft()&&(e.f&Y)!==0)for(d=j;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&j<u.length&&(ot(e,j),u.length=j);if(Gt()&&V!==null&&!Q&&u!==null&&(e.f&(R|se|P))===0)for(d=0;d<V.length;d++)Cn(V[d],e);return i!==null&&i!==e&&(Ue++,V!==null&&(r===null?r=V:r.push(...V))),(e.f&de)!==0&&(e.f^=de),c}catch(v){return Kt(v)}finally{e.f^=mt,M=t,j=n,V=r,m=i,oe=s,Se(l),Q=f,Ee=a}}function Vr(e,t){let n=t.reactions;if(n!==null){var r=Qn.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&R)!==0&&(M===null||!M.includes(t))&&(D(t,se),(t.f&Y)!==0&&(t.f^=Y,t.f&=~Fe),tn(t),ot(t,0))}function ot(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Vr(e,n[r])}function Ge(e){var t=e.f;if((t&ce)===0){D(e,S);var n=w,r=$e;w=e,$e=!0;try{(t&re)!==0?Br(e):mn(e),gn(e);var i=Rn(e);e.teardown=typeof i=="function"?i:null,e.wv=Tn;var s;It&&yr&&(e.f&P)!==0&&e.deps}finally{$e=r,w=n}}}function b(e){var t=e.f,n=(t&R)!==0;if(m!==null&&!Q){var r=w!==null&&(w.f&ce)!==0;if(!r&&!oe?.includes(e)){var i=m.deps;if((m.f&mt)!==0)e.rv<Ue&&(e.rv=Ue,M===null&&i!==null&&i[j]===e?j++:M===null?M=[e]:M.includes(e)||M.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:s.includes(m)||s.push(m)}}}if(be){if(ve.has(e))return ve.get(e);if(n){var l=e,f=l.v;return((l.f&S)===0&&l.reactions!==null||On(l))&&(f=xt(l)),ve.set(l,f),f}}else if(n){if(l=e,F?.has(l))return F.get(l);We(l)&&nn(l),$e&&ft()&&(l.f&Y)===0&&Sn(l)}else if(F?.has(e))return F.get(e);if((e.f&de)!==0)throw e.v;return e.v}function Sn(e){if(e.deps!==null){e.f^=Y;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&R)!==0&&(t.f&Y)===0&&Sn(t)}}function On(e){if(e.v===C)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ve.has(t)||(t.f&R)!==0&&On(t))return!0;return!1}function Yr(e){var t=Q;try{return Q=!0,e()}finally{Q=t}}const Ur=-7169;function D(e,t){e.f=e.f&Ur|t}const Dn=new Set,St=new Set;function Wr(e){for(var t=0;t<e.length;t++)Dn.add(e[t]);for(var n of St)n(e)}let Mn=null;function ut(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Mn=e;var l=0,f=Mn===e&&e.__root;if(f){var a=i.indexOf(f);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(l=a)}if(s=i[l]||e.target,s!==t){et(e,"currentTarget",{configurable:!0,get(){return s||n}});var h=m,c=w;L(null),ee(null);try{for(var u,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+r];_!=null&&(!s.disabled||e.target===s)&&_.call(s,e)}catch(p){u?d.push(p):u=p}if(e.cancelBubble||v===t||v===null)break;s=v}if(u){for(let p of d)queueMicrotask(()=>{throw p});throw u}}finally{e.__root=t,delete e.currentTarget,L(h),ee(c)}}}function Pn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Pe(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Le(e,t){var n=(t&Kn)!==0,r=(t&Xn)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return Pe(y,null),y;i===void 0&&(i=Pn(s?e:"<!>"+e),n||(i=z(i)));var l=r||an?document.importNode(i,!0):i.cloneNode(!0);if(n){var f=z(l),a=l.lastChild;Pe(f,a)}else Pe(l,l);return l}}function ke(e,t){if(g){w.nodes_end=y,Re();return}e!==null&&e.before(t)}const Gr=["touchstart","touchmove"];function Jr(e){return Gr.includes(e)}function Ln(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function In(e,t){return Fn(e,t)}function Kr(e,t){At(),t.intro=t.intro??!1;const n=t.target,r=g,i=y;try{for(var s=z(n);s&&(s.nodeType!==he||s.data!==Lt);)s=q(s);if(!s)throw _e;U(!0),N(s);const l=Fn(e,{...t,anchor:s});return U(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==_e&&console.warn("Failed to hydrate: ",l),t.recover===!1&&dr(),At(),dn(n),U(!1),In(e,t)}finally{U(r),N(i)}}const Ie=new Map;function Fn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){At();var f=new Set,a=c=>{for(var u=0;u<c.length;u++){var d=c[u];if(!f.has(d)){f.add(d);var v=Jr(d);t.addEventListener(d,ut,{passive:v});var _=Ie.get(d);_===void 0?(document.addEventListener(d,ut,{passive:v}),Ie.set(d,1)):Ie.set(d,_+1)}}};a(vt(Dn)),St.add(a);var o=void 0,h=Fr(()=>{var c=n??t.appendChild(G());return xr(c,{pending:()=>{}},u=>{if(s){Ut({});var d=B;d.c=s}if(i&&(r.$$events=i),g&&Pe(u,null),o=e(u,r)||{},g&&(w.nodes_end=y,y===null||y.nodeType!==he||y.data!==ht))throw qe(),_e;s&&Wt()}),()=>{for(var u of f){t.removeEventListener(u,ut);var d=Ie.get(u);--d===0?(document.removeEventListener(u,ut),Ie.delete(u)):Ie.set(u,d)}St.delete(a),c!==n&&c.parentNode?.removeChild(c)}});return Ot.set(o,h),o}let Ot=new WeakMap;function Xr(e,t){const n=Ot.get(e);return n?(Ot.delete(e),n(t)):Promise.resolve()}class Zr{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=k;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Rt(r);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const f=this.#n.get(l);f&&(O(f.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n)continue;const f=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();En(l,o),o.append(G()),this.#n.set(s,{effect:l,fragment:o})}else O(l);this.#e.delete(s)};this.#r||!r?Me(l,f,!1):f()}}};#l=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(O(i.effect),this.#n.delete(r))};ensure(t,n){var r=k,i=hn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=G();s.append(l),this.#n.set(t,{effect:H(()=>n(l)),fragment:s})}else this.#e.set(t,H(()=>n(this.anchor)));if(this.#t.set(r,t),i){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 g&&(this.anchor=y),this.#a()}}function qn(e,t,n=!1){g&&Re();var r=new Zr(e),i=n?Ne:0;function s(l,f){if(g){const o=Ht(e)===Ze;if(l===o){var a=rt();N(a),r.anchor=a,U(!1),r.ensure(l,f),U(!0);return}}r.ensure(l,f)}at(()=>{var l=!1;t((f,a=!0)=>{l=!0,s(a,f)}),l||s(!1,null)},i)}function Qr(e,t,n){for(var r=e.items,i=[],s=t.length,l=0;l<s;l++)Ct(t[l].e,i,!0);var f=s>0&&i.length===0&&n!==null;if(f){var a=n.parentNode;dn(a),a.append(n),r.clear(),te(e,t[0].prev,t[s-1].next)}$n(i,()=>{for(var o=0;o<s;o++){var h=t[o];f||(r.delete(h.k),te(e,h.prev,h.next)),O(h.e,!f)}})}function jn(e,t,n,r,i,s=null){var l=e,f={flags:t,items:new Map,first:null};{var a=e;l=g?N(z(a)):a.appendChild(G())}g&&Re();var o=null,h=!1,c=new Map,u=Rr(()=>{var p=n();return Ft(p)?p:p==null?[]:vt(p)}),d,v;function _(){ei(v,d,f,c,l,i,t,r,n),s!==null&&(d.length===0?o?Rt(o):o=H(()=>s(l)):o!==null&&Me(o,()=>{o=null}))}at(()=>{v??=w,d=b(u);var p=d.length;if(h&&p===0)return;h=p===0;let T=!1;if(g){var A=Ht(l)===Ze;A!==(p===0)&&(l=rt(),N(l),U(!1),T=!0)}if(g){for(var $=null,x,E=0;E<p;E++){if(y.nodeType===he&&y.data===ht){l=y,T=!0,U(!1);break}var J=d[E],ne=r(J,E);x=Dt(y,f,$,null,J,ne,E,i,t,n),f.items.set(ne,x),$=x}p>0&&N(rt())}if(g)p===0&&s&&(o=H(()=>s(l)));else if(hn()){var Te=new Set,K=k;for(E=0;E<p;E+=1){J=d[E],ne=r(J,E);var Je=f.items.get(ne)??c.get(ne);Je?Bn(Je,J,E):(x=Dt(null,f,null,null,J,ne,E,i,t,n,!0),c.set(ne,x)),Te.add(ne)}for(const[Ke,Xe]of f.items)Te.has(Ke)||K.skipped_effects.add(Xe.e);K.oncommit(_)}else _();T&&U(!0),b(u)}),g&&(l=y)}function ei(e,t,n,r,i,s,l,f,a){var o=t.length,h=n.items,c=n.first,u=c,d,v=null,_=[],p=[],T,A,$,x;for(x=0;x<o;x+=1){if(T=t[x],A=f(T,x),$=h.get(A),$===void 0){var E=r.get(A);if(E!==void 0){r.delete(A),h.set(A,E);var J=v?v.next:u;te(n,v,E),te(n,E,J),Mt(E,J,i),v=E}else{var ne=u?u.e.nodes_start:i;v=Dt(ne,n,v,v===null?n.first:v.next,T,A,x,s,l,a)}h.set(A,v),_=[],p=[],u=v.next;continue}if(Bn($,T,x),($.e.f&I)!==0&&Rt($.e),$!==u){if(d!==void 0&&d.has($)){if(_.length<p.length){var Te=p[0],K;v=Te.prev;var Je=_[0],Ke=_[_.length-1];for(K=0;K<_.length;K+=1)Mt(_[K],Te,i);for(K=0;K<p.length;K+=1)d.delete(p[K]);te(n,Je.prev,Ke.next),te(n,v,Je),te(n,Ke,Te),u=Te,v=Ke,x-=1,_=[],p=[]}else d.delete($),Mt($,u,i),te(n,$.prev,$.next),te(n,$,v===null?n.first:v.next),te(n,v,$),v=$;continue}for(_=[],p=[];u!==null&&u.k!==A;)(u.e.f&I)===0&&(d??=new Set).add(u),p.push(u),u=u.next;if(u===null)continue;$=u}_.push($),v=$,u=$.next}if(u!==null||d!==void 0){for(var Xe=d===void 0?[]:vt(d);u!==null;)(u.e.f&I)===0&&Xe.push(u),u=u.next;var bi=Xe.length;if(bi>0){var Ei=o===0?i:null;Qr(n,Xe,Ei)}}e.first=n.first&&n.first.e,e.last=v&&v.e;for(var ki of r.values())O(ki.e);r.clear()}function Bn(e,t,n,r){ze(e.v,t),e.i=n}function Dt(e,t,n,r,i,s,l,f,a,o,h){var c=(a&Wn)!==0,u=(a&Jn)===0,d=c?u?sn(i,!1,!1):ye(i):i,v=(a&Gn)===0?l:ye(l),_={i:v,v:d,k:s,a:null,e:null,prev:n,next:r};try{if(e===null){var p=document.createDocumentFragment();p.append(e=G())}return _.e=H(()=>f(e,d,v,o),g),_.e.prev=n&&n.e,_.e.next=r&&r.e,n===null?h||(t.first=_):(n.next=_,n.e.next=_.e),r!==null&&(r.prev=_,r.e.prev=_.e),_}finally{}}function Mt(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 l=q(s);i.before(s),s=l}}function te(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 ti(e,t,n=!1,r=!1,i=!1){var s=e,l="";Nt(()=>{var f=w;if(l===(l=t()??"")){g&&Re();return}if(f.nodes_start!==null&&(wn(f.nodes_start,f.nodes_end),f.nodes_start=f.nodes_end=null),l!==""){if(g){y.data;for(var a=Re(),o=a;a!==null&&(a.nodeType!==he||a.data!=="");)o=a,a=q(a);if(a===null)throw qe(),_e;Pe(y,o),s=N(a);return}var h=l+"";n?h=`<svg>${h}</svg>`:r&&(h=`<math>${h}</math>`);var c=Pn(h);if((n||r)&&(c=z(c)),Pe(z(c),c.lastChild),n||r)for(;z(c);)s.before(z(c));else s.before(c)}})}function ni(e,t){let n=null,r=g;var i;if(g){n=y;for(var s=z(document.head);s!==null&&(s.nodeType!==he||s.data!==e);)s=q(s);if(s===null)U(!1);else{var l=q(s);s.remove(),N(l)}}g||(i=document.head.appendChild(G()));try{at(()=>t(i),gt)}finally{r&&(U(!0),N(n))}}function ri(e,t){qr(()=>{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 ii(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function si(e,t,n,r,i,s){var l=e.__className;if(g||l!==n||l===void 0){var f=ii(n,r);(!g||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=n}return s}const li=Symbol("is custom element"),fi=Symbol("is html");function zn(e,t,n,r){var i=ai(e);g&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[lr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&oi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ai(e){return e.__attributes??={[li]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Zn}}var Hn=new Map;function oi(e){var t=e.getAttribute("is")||e.nodeName,n=Hn.get(t);if(n)return n;Hn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=er(i);for(var l in r)r[l].set&&n.push(l);i=qt(i)}return n}function ct(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),f;f=e[t],f===void 0&&r!==void 0&&(f=l());var a;a=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var o=!1,h=kt(()=>(o=!1,a())),c=w;return(function(u,d){if(arguments.length>0){const v=d?b(h):u;return ae(h,v),o=!0,i!==void 0&&(i=v),u}return be&&o||(c.f&ce)!==0?h.v:b(h)})}function ui(e){return new ci(e)}class ci{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var f=sn(l,!1,!1);return n.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return b(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===sr?!0:(b(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,f){return ae(n.get(l)??r(l,f),f),Reflect.set(s,l,f)}});this.#e=(t.hydrate?Kr:In)(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)&&Be(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||et(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Xr(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 Vn;typeof HTMLElement=="function"&&(Vn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=di(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]=dt(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=ui({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ir(()=>{pn(()=>{this.$$r=!0;for(const r of Qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=dt(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]=dt(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 Qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function dt(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 di(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function hi(e,t,n,r,i,s){let l=class extends Vn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Qe(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Qe(t).forEach(f=>{et(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(a){a=dt(f,a,t),this.$$d[f]=a;var o=this.$$c;if(o){var h=Ae(o,f)?.get;h?o[f]=a:o.$set({[f]:a})}}})}),r.forEach(f=>{et(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}var xe={},Yn;function vi(){if(Yn)return xe;Yn=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.LanguageTranslator=void 0,xe.getChildStyleToPass=e,xe.addComponent=t;function e(r,i){var s,l,f="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||l===void 0)&&l.length))for(var a=function(u){var d=i?.filter(function(v){return v.name===u&&v.defaultValue!==r[u]});d&&(f+="".concat(u,":").concat(r[u],";"))},o=0,h=Object.keys(r);o<h.length;o++){var c=h[o];a(c)}}catch(u){console.error("error getting child style to pass",u)}finally{return f}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var f=document.createElement("script");if(f.id=s+"-script",f.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)f.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];f.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(l)}document.head.appendChild(f)}catch(o){console.warn(o)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,f="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(f=navigator.languages[0].split("-")[0].toLowerCase()),f},r.getDictionaryWord=function(i,s,l){var f;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((f=s[l])===null||f===void 0)&&f[i]))return s[l][i];var a="",o=r.getDefaultLang();if(!l||o!==l){var h=s?.[o];h?.[i]&&(a=h[i])}return a},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var f=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return f.format(i)},r})();return xe.LanguageTranslator=n,xe}vi();var _i=Le('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),pi=Le('<div class="break svelte-1s0fskg"></div>'),gi=Le('<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>',1),mi=Le('<div class="faq-question svelte-1s0fskg"><input type="checkbox" class="panel svelte-1s0fskg"/> <div class="plus svelte-1s0fskg">+</div> <label class="panel-title svelte-1s0fskg"> </label> <div class="panel-content svelte-1s0fskg"><!></div></div>'),wi=Le('<div class="faq-content svelte-1s0fskg"></div>'),yi=Le('<div id="topics" class="svelte-1s0fskg"></div> <!>',1);const $i={hash:"svelte-1s0fskg",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");
4
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}
5
- @media screen and (min-width: 800px) {#topics.svelte-1ltpl7q {display:flex;flex-wrap:wrap;}.topic.svelte-1ltpl7q {flex:1;padding:20px;}.topic_content.svelte-1ltpl7q {padding:30px;}
4
+ @media screen and (min-width: 800px) {#topics.svelte-1s0fskg {display:flex;flex-wrap:wrap;}.topic.svelte-1s0fskg {flex:1;padding:20px;}.topic_content.svelte-1s0fskg {padding:30px;}
6
5
  }
7
- @media screen and (max-width: 800px) {.topic.svelte-1ltpl7q {padding:10px;}.topic_content.svelte-1ltpl7q {padding:10px;}
8
- }.break.svelte-1ltpl7q {flex-basis:100%;height:0;width:0;}.topic_content.svelte-1ltpl7q {border:1px solid black;text-align:center;cursor:pointer;}.faq-header.svelte-1ltpl7q {font-size:42px;border-bottom:1px dotted #ccc;padding:24px;}.faq-content.svelte-1ltpl7q {margin:0 auto;}.faq-question.svelte-1ltpl7q {padding:20px 0;border-bottom:1px dotted #ccc;overflow-x:hidden;}.panel-title.svelte-1ltpl7q {font-size:24px;width:100%;position:relative;margin:0;padding:10px 10px 0 50px;display:block;cursor:pointer;}.panel-content.svelte-1ltpl7q {font-size:20px;padding:0px 14px;margin:0 40px;height:0;overflow:hidden;z-index:-1;position:relative;opacity:0;-webkit-transition:0.4s ease;-moz-transition:0.4s ease;-o-transition:0.4s ease;transition:0.4s ease;}.panel.svelte-1ltpl7q:checked ~ .panel-content:where(.svelte-1ltpl7q) {height:auto;opacity:1;padding:14px;}.plus.svelte-1ltpl7q {position:absolute;margin-left:20px;margin-top:4px;z-index:5;font-size:42px;line-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-transition:0.2s ease;-moz-transition:0.2s ease;-o-transition:0.2s ease;transition:0.2s ease;}.panel.svelte-1ltpl7q:checked ~ .plus:where(.svelte-1ltpl7q) {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}.panel.svelte-1ltpl7q {display:none;}i.svelte-1ltpl7q {font-size:1.8rem;vertical-align:middle;margin-right:5px;}`};function Xn(e,t){Jt(t,!0),ri(e,Ai);let n=rt(t,"id",7,""),r=rt(t,"info",7,void 0),i=rt(t,"topics",7,void 0),l=rt(t,"filter",7,void 0);Se({}),Dr(()=>{if(typeof r()=="string")try{r(JSON.parse(r()))}catch(c){console.error("error parsing info",c)}if(typeof i()=="string")try{i(JSON.parse(i()));let c=0;i()?.length&&i(i().map(u=>(u.index=c,c++,u)))}catch(c){console.error("error parsing topics",c)}});var s={get id(){return n()},set id(c=""){n(c),He()},get info(){return r()},set info(c=void 0){r(c),He()},get topics(){return i()},set topics(c=void 0){i(c),He()},get filter(){return l()},set filter(c=void 0){l(c),He()}},a=xi();Xr(c=>{var u=wi();be(c,u)});var o=hn(a);jn(o,21,()=>Array.isArray(i())?i():[],c=>c.index,(c,u)=>{var h=Ei(),d=hn(h);{var _=N=>{var x=$i();be(N,x)};Fn(d,N=>{R(u).index&&R(u).index%5===0&&N(_)})}var p=Be(d,2);p.__click=[yi,u,l];var E=Ue(p),m=Ue(E),y=Be(m);pe(E),pe(p),Nt(()=>{li(m,1,`bi bi-${R(u).icon??""}`,"svelte-1ltpl7q"),Dn(y,` ${R(u).label??""}`)}),be(c,h)}),pe(o);var f=Be(o,2);{var v=c=>{var u=Ti();jn(u,21,()=>r().filter(h=>l()?h.topic===l():!0),h=>h.title,(h,d)=>{var _=bi(),p=Ue(_),E=Be(p,4),m=Ue(E,!0);pe(E);var y=Be(E,2),N=Ue(y);ni(N,()=>R(d).text),pe(y),pe(_),Nt((x,M)=>{Hn(p,"id",`q1_${x??""}`),Hn(E,"for",`q1_${M??""}`),Dn(m,R(d).title)},[()=>R(d).title.replace(/ /g,""),()=>R(d).title.replace(/ /g,"")]),be(h,_)}),pe(u),be(c,u)};Fn(f,c=>{Array.isArray(r())&&c(v)})}return be(e,a),Kt(s)}zr(["click"]),customElements.define("hb-faq-component",di(Xn,{id:{},info:{},topics:{},filter:{}},[],[],!0)),Lt.Component=Xn,Object.defineProperty(Lt,Symbol.toStringTag,{value:"Module"})})(this["faq-component"]=this["faq-component"]||{});
6
+ @media screen and (max-width: 800px) {.topic.svelte-1s0fskg {padding:10px;}.topic_content.svelte-1s0fskg {padding:10px;}
7
+ }.break.svelte-1s0fskg {flex-basis:100%;height:0;width:0;}.topic_content.svelte-1s0fskg {border:1px solid black;text-align:center;cursor:pointer;}.faq-header.svelte-1s0fskg {font-size:42px;border-bottom:1px dotted #ccc;padding:24px;}.faq-content.svelte-1s0fskg {margin:0 auto;}.faq-question.svelte-1s0fskg {padding:20px 0;border-bottom:1px dotted #ccc;overflow-x:hidden;}.panel-title.svelte-1s0fskg {font-size:24px;width:100%;position:relative;margin:0;padding:10px 10px 0 50px;display:block;cursor:pointer;}.panel-content.svelte-1s0fskg {font-size:20px;padding:0px 14px;margin:0 40px;height:0;overflow:hidden;z-index:-1;position:relative;opacity:0;-webkit-transition:0.4s ease;-moz-transition:0.4s ease;-o-transition:0.4s ease;transition:0.4s ease;}.panel.svelte-1s0fskg:checked ~ .panel-content:where(.svelte-1s0fskg) {height:auto;opacity:1;padding:14px;}.plus.svelte-1s0fskg {position:absolute;margin-left:20px;margin-top:4px;z-index:5;font-size:42px;line-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-transition:0.2s ease;-moz-transition:0.2s ease;-o-transition:0.2s ease;transition:0.2s ease;}.panel.svelte-1s0fskg:checked ~ .plus:where(.svelte-1s0fskg) {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}.panel.svelte-1s0fskg {display:none;}i.svelte-1s0fskg {font-size:1.8rem;vertical-align:middle;margin-right:5px;}`};function Un(e,t){Ut(t,!0),ri(e,$i);let n=ct(t,"id",7,""),r=ct(t,"info",7,void 0),i=ct(t,"topics",7,void 0),s=ct(t,"filter",7,void 0);De({}),Lr(()=>{if(typeof r()=="string")try{r(JSON.parse(r()))}catch(c){console.error("error parsing info",c)}if(typeof i()=="string")try{i(JSON.parse(i()));let c=0;i()?.length&&i(i().map(u=>(u.index=c,c++,u)))}catch(c){console.error("error parsing topics",c)}});var l={get id(){return n()},set id(c=""){n(c),Be()},get info(){return r()},set info(c=void 0){r(c),Be()},get topics(){return i()},set topics(c=void 0){i(c),Be()},get filter(){return s()},set filter(c=void 0){s(c),Be()}},f=yi();ni("1s0fskg",c=>{var u=_i();ke(c,u)});var a=cn(f);jn(a,21,()=>Array.isArray(i())?i():[],c=>c.index,(c,u)=>{var d=gi(),v=cn(d);{var _=x=>{var E=pi();ke(x,E)};qn(v,x=>{b(u).index&&b(u).index%5===0&&x(_)})}var p=Ye(v,2);p.__click=()=>{b(u).catchAll?s(void 0):s(b(u).key)};var T=Ve(p),A=Ve(T),$=Ye(A);ge(T),ge(p),Nt(()=>{si(A,1,`bi bi-${b(u).icon??""}`,"svelte-1s0fskg"),Ln($,` ${b(u).label??""}`)}),ke(c,d)}),ge(a);var o=Ye(a,2);{var h=c=>{var u=wi();jn(u,21,()=>r().filter(d=>s()?d.topic===s():!0),d=>d.title,(d,v)=>{var _=mi(),p=Ve(_),T=Ye(p,4),A=Ve(T,!0);ge(T);var $=Ye(T,2),x=Ve($);ti(x,()=>b(v).text),ge($),ge(_),Nt((E,J)=>{zn(p,"id",`q1_${E??""}`),zn(T,"for",`q1_${J??""}`),Ln(A,b(v).title)},[()=>b(v).title.replace(/ /g,""),()=>b(v).title.replace(/ /g,"")]),ke(d,_)}),ge(u),ke(c,u)};qn(o,c=>{Array.isArray(r())&&c(h)})}return ke(e,f),Wt(l)}Wr(["click"]),customElements.define("hb-faq-component",hi(Un,{id:{},info:{},topics:{},filter:{}},[],[],!0)),Pt.Component=Un,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["faq-component"]=this["faq-component"]||{});
9
8
  //# sourceMappingURL=main.iife.js.map