@htmlbricks/hb-faq-component 0.66.6 → 0.66.8

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,8 +1,9 @@
1
- (function(zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const sr=1,ir=2,lr=16,fr=1,or=2,jt="[",gt="[!",Ht="[?",wt="]",ye={},N=Symbol(),Vt="http://www.w3.org/1999/xhtml",ar="http://www.w3.org/2000/svg",ur="http://www.w3.org/1998/Math/MathML",cr=!1;var Yt=Array.isArray,dr=Array.prototype.indexOf,Ce=Array.prototype.includes,Qe=Array.from,et=Object.keys,tt=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,hr=Object.getOwnPropertyDescriptors,vr=Object.prototype,_r=Array.prototype,Bt=Object.getPrototypeOf,Ut=Object.isExtensible;const pr=()=>{};function gr(e){for(var t=0;t<e.length;t++)e[t]()}function Gt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const S=2,Oe=4,nt=8,Kt=1<<24,ae=16,J=32,ue=64,mt=128,z=512,x=1024,R=2048,Q=4096,I=8192,j=16384,ce=32768,Jt=1<<25,De=65536,Wt=1<<17,Xt=1<<18,de=1<<19,wr=1<<20,re=1<<25,be=65536,yt=1<<21,bt=1<<22,he=1<<23,$t=Symbol("$state"),mr=Symbol("legacy props"),yr=Symbol(""),se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},br=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),rt=3,$e=8;function $r(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Er(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function kr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Sr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ar(){throw new Error("https://svelte.dev/e/hydration_failed")}function Nr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Cr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Mr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function He(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Or(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function W(e){m=e}let y;function A(e){if(e===null)throw He(),ye;return y=e}function Ie(){return A(L(y))}function Ee(e){if(m){if(L(y)!==null)throw He(),ye;y=e}}function Dr(e=1){if(m){for(var t=e,n=y;t--;)n=L(n);y=n}}function st(e=!0){for(var t=0,n=y;;){if(n.nodeType===$e){var r=n.data;if(r===wt){if(t===0)return n;t-=1}else(r===jt||r===gt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=L(n);e&&n.remove(),n=s}}function Zt(e){if(!e||e.nodeType!==$e)throw He(),ye;return e.data}function Qt(e){return e===this.v}function Ir(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function en(e){return!Ir(e,this.v)}let Pr=!1,H=null;function Pe(e){H=e}function tn(e,t=!1,n){H={p:H,i:!1,c:null,e:null,s:e,x:null,r:w,l:null}}function nn(e){var t=H,n=t.e;if(n!==null){t.e=null;for(var r of n)Nn(r)}return e!==void 0&&(t.x=e),t.i=!0,H=t.p,e??{}}function rn(){return!0}let ke=[];function sn(){var e=ke;ke=[],gr(e)}function Le(e){if(ke.length===0&&!Ve){var t=ke;queueMicrotask(()=>{t===ke&&sn()})}ke.push(e)}function Lr(){for(;ke.length>0;)sn()}function ln(e){var t=w;if(t===null)return g.f|=he,e;if((t.f&ce)===0&&(t.f&Oe)===0)throw e;ve(e,t)}function ve(e,t){for(;t!==null;){if((t.f&mt)!==0){if((t.f&ce)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Fr=-7169;function T(e,t){e.f=e.f&Fr|t}function Et(e){(e.f&z)!==0||e.deps===null?T(e,x):T(e,Q)}function fn(e){if(e!==null)for(const t of e)(t.f&S)===0||(t.f&be)===0||(t.f^=be,fn(t.deps))}function on(e,t,n){(e.f&R)!==0?t.add(e):(e.f&Q)!==0&&n.add(e),fn(e.deps),T(e,x)}const _e=new Set;let E=null,X=null,kt=null,Ve=!1,Tt=!1,Fe=null,it=null;var an=0;let qr=1;class ie{id=qr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#s=new Map;#i=null;#r=[];#l=new Set;#f=new Set;#o=new Map;is_fork=!1;#c=!1;#a=new Set;#d(){return this.is_fork||this.#s.size>0}#v(){for(const r of this.#a)for(const s of r.#s.keys()){for(var t=!1,n=s;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)T(r,R),this.schedule(r);for(r of n.m)T(r,Q),this.schedule(r)}}#h(){if(an++>1e3&&(_e.delete(this),zr()),!this.#d()){for(const l of this.#l)this.#f.delete(l),T(l,R),this.schedule(l);for(const l of this.#f)T(l,Q),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Fe=[],r=[],s=it=[];for(const l of t)try{this.#u(l,n,r)}catch(a){throw vn(l),a}if(E=null,s.length>0){var i=ie.ensure();for(const l of s)i.schedule(l)}if(Fe=null,it=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[l,a]of this.#o)hn(l,a)}else{this.#t.size===0&&_e.delete(this),this.#l.clear(),this.#f.clear();for(const l of this.#e)l(this);this.#e.clear(),un(r),un(n),this.#i?.resolve()}var f=E;if(this.#r.length>0){const l=f??=this;l.#r.push(...this.#r.filter(a=>!l.#r.includes(a)))}f!==null&&(_e.add(f),f.#h()),_e.has(this)||this.#p()}#u(t,n,r){t.f^=x;for(var s=t.first;s!==null;){var i=s.f,f=(i&(J|ue))!==0,l=f&&(i&x)!==0,a=l||(i&I)!==0||this.#o.has(s);if(!a&&s.fn!==null){f?s.f^=x:(i&Oe)!==0?n.push(s):Ke(s)&&((i&ae)!==0&&this.#f.add(s),ze(s));var o=s.first;if(o!==null){s=o;continue}}for(;s!==null;){var c=s.next;if(c!==null){s=c;break}s=s.parent}}}#_(t){for(var n=0;n<t.length;n+=1)on(t[n],this.#l,this.#f)}capture(t,n,r=!1){n!==N&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&he)===0&&(this.current.set(t,[t.v,r]),X?.set(t,t.v))}activate(){E=this}deactivate(){E=null,X=null}flush(){try{Tt=!0,E=this,this.#h()}finally{an=0,kt=null,Fe=null,it=null,Tt=!1,E=null,X=null,pe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),_e.delete(this)}#p(){for(const o of _e){var t=o.id<this.id,n=[];for(const[c,[v,d]]of this.current){if(o.current.has(c)){var r=o.current.get(c)[0];if(t&&v!==r)o.current.set(c,[v,d]);else continue}n.push(c)}var s=[...o.current.keys()].filter(c=>!this.current.has(c));if(s.length===0)t&&o.discard();else if(n.length>0){o.activate();var i=new Set,f=new Map;for(var l of n)cn(l,s,i,f);if(o.#r.length>0){o.apply();for(var a of o.#r)o.#u(a,[],[]);o.#r=[]}o.deactivate()}}for(const o of _e)o.#a.has(this)&&(o.#a.delete(this),o.#a.size===0&&!o.#d()&&(o.activate(),o.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let s=this.#s.get(n)??0;this.#s.set(n,s+1)}}decrement(t,n,r){let s=this.#t.get(n)??0;if(s===1?this.#t.delete(n):this.#t.set(n,s-1),t){let i=this.#s.get(n)??0;i===1?this.#s.delete(n):this.#s.set(n,i-1)}this.#c||r||(this.#c=!0,Le(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#f.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#i??=Gt()).promise}static ensure(){if(E===null){const t=E=new ie;Tt||(_e.add(E),Ve||Le(()=>{E===t&&t.flush()}))}return E}apply(){{X=null;return}}schedule(t){if(kt=t,t.b?.is_pending&&(t.f&(Oe|nt|Kt))!==0&&(t.f&ce)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Fe!==null&&n===w&&(g===null||(g.f&S)===0))return;if((r&(ue|J))!==0){if((r&x)===0)return;n.f^=x}}this.#r.push(n)}}function Ye(e){var t=Ve;Ve=!0;try{for(var n;;){if(Lr(),E===null)return n;E.flush()}}finally{Ve=t}}function zr(){try{Sr()}catch(e){ve(e,kt)}}let le=null;function un(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(j|I))===0&&Ke(r)&&(le=new Set,ze(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&On(r),le?.size>0)){pe.clear();for(const s of le){if((s.f&(j|I))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)le.has(f)&&(le.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(j|I))===0&&ze(a)}}le.clear()}}le=null}}function cn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&S)!==0?cn(s,t,n,r):(i&(bt|ae))!==0&&(i&R)===0&&dn(s,t,r)&&(T(s,R),xt(s))}}function dn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Ce.call(t,s))return!0;if((s.f&S)!==0&&dn(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function xt(e){E.schedule(e)}function hn(e,t){if(!((e.f&J)!==0&&(e.f&x)!==0)){(e.f&R)!==0?t.d.push(e):(e.f&Q)!==0&&t.m.push(e),T(e,x);for(var n=e.first;n!==null;)hn(n,t),n=n.next}}function vn(e){T(e,x);for(var t=e.first;t!==null;)vn(t),t=t.next}function jr(e){let t=0,n=Te(0),r;return()=>{Ct()&&(k(n),Rn(()=>(t===0&&(r=cs(()=>e(()=>Be(n)))),t+=1,()=>{Le(()=>{t-=1,t===0&&(r?.(),r=void 0,Be(n))})})))}}var Hr=De|de;function Vr(e,t,n,r){new Yr(e,t,n,r)}class Yr{parent;is_pending=!1;transform_error;#e;#n=m?y:null;#t;#s;#i;#r=null;#l=null;#f=null;#o=null;#c=0;#a=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=jr(()=>(this.#u=Te(this.#c),()=>{this.#u=null}));constructor(t,n,r,s){this.#e=t,this.#t=n,this.#s=i=>{var f=w;f.b=this,f.f|=mt,r(i)},this.parent=w.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#i=ut(()=>{if(m){const i=this.#n;Ie();const f=i.data===gt;if(i.data.startsWith(Ht)){const a=JSON.parse(i.data.slice(Ht.length));this.#b(a)}else f?this.#$():this.#p()}else this.#m()},Hr),m&&(this.#e=y)}#p(){try{this.#r=Y(()=>this.#s(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#t.failed;n&&(this.#f=Y(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=Y(()=>t(this.#e)),Le(()=>{var n=this.#o=document.createDocumentFragment(),r=V();n.append(r),this.#r=this.#w(()=>Y(()=>this.#s(r))),this.#a===0&&(this.#e.before(n),this.#o=null,xe(this.#l,()=>{this.#l=null}),this.#g(E))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#a=0,this.#c=0,this.#r=Y(()=>{this.#s(this.#e)}),this.#a>0){var t=this.#o=document.createDocumentFragment();It(this.#r,t);const n=this.#t.pending;this.#l=Y(()=>n(this.#e))}else this.#g(E)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){on(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var n=w,r=g,s=H;te(this.#i),B(this.#i),Pe(this.#i.ctx);try{return ie.ensure(),t()}catch(i){return ln(i),null}finally{te(n),B(r),Pe(s)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#a+=t,this.#a===0&&(this.#g(n),this.#l&&xe(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Le(()=>{this.#d=!1,this.#u&&qe(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(C(this.#r),this.#r=null),this.#l&&(C(this.#l),this.#l=null),this.#f&&(C(this.#f),this.#f=null),m&&(A(this.#n),Dr(),A(st()));var s=!1,i=!1;const f=()=>{if(s){Or();return}s=!0,i&&Mr(),this.#f!==null&&xe(this.#f,()=>{this.#f=null}),this.#w(()=>{this.#m()})},l=a=>{try{i=!0,n?.(a,f),i=!1}catch(o){ve(o,this.#i&&this.#i.parent)}r&&(this.#f=this.#w(()=>{try{return Y(()=>{var o=w;o.b=this,o.f|=mt,r(this.#e,()=>a,()=>f)})}catch(o){return ve(o,this.#i.parent),null}}))};Le(()=>{var a;try{a=this.transform_error(t)}catch(o){ve(o,this.#i&&this.#i.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,o=>ve(o,this.#i&&this.#i.parent)):l(a)})}}function Br(e,t,n,r){const s=ft;var i=e.filter(d=>!d.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var f=w,l=Ur(),a=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(d=>d.promise)):null;function o(d){l();try{r(d)}catch(h){(f.f&j)===0&&ve(h,f)}lt()}if(n.length===0){a.then(()=>o(t.map(s)));return}var c=_n();function v(){Promise.all(n.map(d=>Gr(d))).then(d=>o([...t.map(s),...d])).catch(d=>ve(d,f)).finally(()=>c())}a?a.then(()=>{l(),v(),lt()}):v()}function Ur(){var e=w,t=g,n=H,r=E;return function(i=!0){te(e),B(t),Pe(n),i&&(e.f&j)===0&&(r?.activate(),r?.apply())}}function lt(e=!0){te(null),B(null),Pe(null),e&&E?.deactivate()}function _n(){var e=w,t=e.b,n=E,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(s=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,s)}}function ft(e){var t=S|R,n=g!==null&&(g.f&S)!==0?g:null;return w!==null&&(w.f|=de),{ctx:H,deps:null,effects:null,equals:Qt,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:n??w,ac:null}}function Gr(e,t,n){let r=w;r===null&&$r();var s=void 0,i=Te(N),f=!g,l=new Map;return fs(()=>{var a=w,o=Gt();s=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(lt)}catch(h){o.reject(h),lt()}var c=E;if(f){if((a.f&ce)!==0)var v=_n();if(r.b.is_rendered())l.get(c)?.reject(se),l.delete(c);else{for(const h of l.values())h.reject(se);l.clear()}l.set(c,o)}const d=(h,u=void 0)=>{if(v){var _=u===se;v(_)}if(!(u===se||(a.f&j)!==0)){if(c.activate(),u)i.f|=he,qe(i,u);else{(i.f&he)!==0&&(i.f^=he),qe(i,h);for(const[$,b]of l){if(l.delete($),$===c)break;b.reject(se)}}c.deactivate()}};o.promise.then(d,h=>d(null,h||"unknown"))}),ns(()=>{for(const a of l.values())a.reject(se)}),new Promise(a=>{function o(c){function v(){c===s?a(i):o(s)}c.then(v,v)}o(s)})}function Kr(e){const t=ft(e);return Ln(t),t}function Jr(e){const t=ft(e);return t.equals=en,t}function Wr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)C(t[n])}}function Xr(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return(t.f&j)===0?t:null;t=t.parent}return null}function St(e){var t,n=w;te(Xr(e));try{e.f&=~be,Wr(e),t=Hn(e)}finally{te(n)}return t}function pn(e){var t=e.v,n=St(e);if(!e.equals(n)&&(e.wv=zn(),(!E?.is_fork||e.deps===null)&&(e.v=n,E?.capture(e,t,!0),e.deps===null))){T(e,x);return}we||(X!==null?(Ct()||E?.is_fork)&&X.set(e,n):Et(e))}function Zr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(se),t.teardown=pr,t.ac=null,Je(t,0),Ot(t))}function gn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&ze(t)}let At=new Set;const pe=new Map;let wn=!1;function Te(e,t){var n={f:0,v:e,reactions:null,equals:Qt,rv:0,wv:0};return n}function ge(e,t){const n=Te(e);return Ln(n),n}function mn(e,t=!1,n=!0){const r=Te(e);return t||(r.equals=en),r}function fe(e,t,n=!1){g!==null&&(!Z||(g.f&Wt)!==0)&&rn()&&(g.f&(S|ae|bt|Wt))!==0&&(U===null||!Ce.call(U,e))&&Cr();let r=n?Ue(t):t;return qe(e,r,it)}function qe(e,t,n=null){if(!e.equals(t)){var r=e.v;we?pe.set(e,t):pe.set(e,r),e.v=t;var s=ie.ensure();if(s.capture(e,r),(e.f&S)!==0){const i=e;(e.f&R)!==0&&St(i),X===null&&Et(i)}e.wv=zn(),yn(e,R,n),w!==null&&(w.f&x)!==0&&(w.f&(J|ue))===0&&(G===null?as([e]):G.push(e)),!s.is_fork&&At.size>0&&!wn&&Qr()}return t}function Qr(){wn=!1;for(const e of At)(e.f&x)!==0&&T(e,Q),Ke(e)&&ze(e);At.clear()}function Be(e){fe(e,e.v+1)}function yn(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var f=r[i],l=f.f,a=(l&R)===0;if(a&&T(f,t),(l&S)!==0){var o=f;X?.delete(o),(l&be)===0&&(l&z&&(f.f|=be),yn(o,Q,n))}else if(a){var c=f;(l&ae)!==0&&le!==null&&le.add(c),n!==null?n.push(c):xt(c)}}}function Ue(e){if(typeof e!="object"||e===null||$t in e)return e;const t=Bt(e);if(t!==vr&&t!==_r)return e;var n=new Map,r=Yt(e),s=ge(0),i=Ae,f=l=>{if(Ae===i)return l();var a=g,o=Ae;B(null),qn(i);var c=l();return B(a),qn(o),c};return r&&n.set("length",ge(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Nr();var c=n.get(a);return c===void 0?f(()=>{var v=ge(o.value);return n.set(a,v),v}):fe(c,o.value,!0),!0},deleteProperty(l,a){var o=n.get(a);if(o===void 0){if(a in l){const c=f(()=>ge(N));n.set(a,c),Be(s)}}else fe(o,N),Be(s);return!0},get(l,a,o){if(a===$t)return e;var c=n.get(a),v=a in l;if(c===void 0&&(!v||Me(l,a)?.writable)&&(c=f(()=>{var h=Ue(v?l[a]:N),u=ge(h);return u}),n.set(a,c)),c!==void 0){var d=k(c);return d===N?void 0:d}return Reflect.get(l,a,o)},getOwnPropertyDescriptor(l,a){var o=Reflect.getOwnPropertyDescriptor(l,a);if(o&&"value"in o){var c=n.get(a);c&&(o.value=k(c))}else if(o===void 0){var v=n.get(a),d=v?.v;if(v!==void 0&&d!==N)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return o},has(l,a){if(a===$t)return!0;var o=n.get(a),c=o!==void 0&&o.v!==N||Reflect.has(l,a);if(o!==void 0||w!==null&&(!c||Me(l,a)?.writable)){o===void 0&&(o=f(()=>{var d=c?Ue(l[a]):N,h=ge(d);return h}),n.set(a,o));var v=k(o);if(v===N)return!1}return c},set(l,a,o,c){var v=n.get(a),d=a in l;if(r&&a==="length")for(var h=o;h<v.v;h+=1){var u=n.get(h+"");u!==void 0?fe(u,N):h in l&&(u=f(()=>ge(N)),n.set(h+"",u))}if(v===void 0)(!d||Me(l,a)?.writable)&&(v=f(()=>ge(void 0)),fe(v,Ue(o)),n.set(a,v));else{d=v.v!==N;var _=f(()=>Ue(o));fe(v,_)}var $=Reflect.getOwnPropertyDescriptor(l,a);if($?.set&&$.set.call(c,o),!d){if(r&&typeof a=="string"){var b=n.get("length"),p=Number(a);Number.isInteger(p)&&p>=b.v&&fe(b,p+1)}Be(s)}return!0},ownKeys(l){k(s);var a=Reflect.ownKeys(l).filter(v=>{var d=n.get(v);return d===void 0||d.v!==N});for(var[o,c]of n)c.v!==N&&!(o in l)&&a.push(o);return a},setPrototypeOf(){Rr()}})}var bn,$n,En,kn;function Nt(){if(bn===void 0){bn=window,$n=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;En=Me(t,"firstChild").get,kn=Me(t,"nextSibling").get,Ut(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ut(n)&&(n.__t=void 0)}}function V(e=""){return document.createTextNode(e)}function P(e){return En.call(e)}function L(e){return kn.call(e)}function ot(e,t){if(!m)return P(e);var n=P(y);if(n===null)n=y.appendChild(V());else if(t&&n.nodeType!==rt){var r=V();return n?.before(r),A(r),r}return t&&Rt(n),A(n),n}function Tn(e,t=!1){if(!m){var n=P(e);return n instanceof Comment&&n.data===""?L(n):n}if(t){if(y?.nodeType!==rt){var r=V();return y?.before(r),A(r),r}Rt(y)}return y}function Ge(e,t=1,n=!1){let r=m?y:e;for(var s;t--;)s=r,r=L(r);if(!m)return r;if(n){if(r?.nodeType!==rt){var i=V();return r===null?s?.after(i):r.before(i),A(i),i}Rt(r)}return A(r),r}function xn(e){e.textContent=""}function Sn(){return!1}function at(e,t,n){return document.createElementNS(t??Vt,e,void 0)}function Rt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===rt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function An(e){var t=g,n=w;B(null),te(null);try{return e()}finally{B(t),te(n)}}function es(e){w===null&&(g===null&&xr(),Tr()),we&&kr()}function ts(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ee(e,t){var n=w;n!==null&&(n.f&I)!==0&&(e|=I);var r={ctx:H,deps:null,nodes:null,f:e|R|z,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&Oe)!==0)Fe!==null?Fe.push(r):ie.ensure().schedule(r);else if(t!==null){try{ze(r)}catch(f){throw C(r),f}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&de)===0&&(s=s.first,(e&ae)!==0&&(e&De)!==0&&s!==null&&(s.f|=De))}if(s!==null&&(s.parent=n,n!==null&&ts(s,n),g!==null&&(g.f&S)!==0&&(e&ue)===0)){var i=g;(i.effects??=[]).push(s)}return r}function Ct(){return g!==null&&!Z}function ns(e){const t=ee(nt,null);return T(t,x),t.teardown=e,t}function rs(e){es();var t=w.f,n=!g&&(t&J)!==0&&(t&ce)===0;if(n){var r=H;(r.e??=[]).push(e)}else return Nn(e)}function Nn(e){return ee(Oe|wr,e)}function ss(e){ie.ensure();const t=ee(ue|de,e);return()=>{C(t)}}function is(e){ie.ensure();const t=ee(ue|de,e);return(n={})=>new Promise(r=>{n.outro?xe(t,()=>{C(t),r(void 0)}):(C(t),r(void 0))})}function ls(e){return ee(Oe,e)}function fs(e){return ee(bt|de,e)}function Rn(e,t=0){return ee(nt|t,e)}function Mt(e,t=[],n=[],r=[]){Br(r,t,n,s=>{ee(nt,()=>e(...s.map(k)))})}function ut(e,t=0){var n=ee(ae|t,e);return n}function Y(e){return ee(J|de,e)}function Cn(e){var t=e.teardown;if(t!==null){const n=we,r=g;Pn(!0),B(null);try{t.call(null)}finally{Pn(n),B(r)}}}function Ot(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&An(()=>{s.abort(se)});var r=n.next;(n.f&ue)!==0?n.parent=null:C(n,t),n=r}}function os(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&J)===0&&C(t),t=n}}function C(e,t=!0){var n=!1;(t||(e.f&Xt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Mn(e.nodes.start,e.nodes.end),n=!0),T(e,Jt),Ot(e,t&&!n),Je(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Cn(e),e.f^=Jt,e.f|=j;var s=e.parent;s!==null&&s.first!==null&&On(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Mn(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function On(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 xe(e,t,n=!0){var r=[];Dn(e,r,!0);var s=()=>{n&&C(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var l of r)l.out(f)}else s()}function Dn(e,t,n){if((e.f&I)===0){e.f^=I;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&De)!==0||(s.f&J)!==0&&(e.f&ae)!==0;Dn(s,t,f?n:!1),s=i}}}function Dt(e){In(e,!0)}function In(e,t){if((e.f&I)!==0){e.f^=I,(e.f&x)===0&&(T(e,R),ie.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&De)!==0||(n.f&J)!==0;In(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const f of i)(f.is_global||t)&&f.in()}}function It(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:L(n);t.append(n),n=s}}let ct=!1,we=!1;function Pn(e){we=e}let g=null,Z=!1;function B(e){g=e}let w=null;function te(e){w=e}let U=null;function Ln(e){g!==null&&(U===null?U=[e]:U.push(e))}let D=null,F=0,G=null;function as(e){G=e}let Fn=1,Se=0,Ae=Se;function qn(e){Ae=e}function zn(){return++Fn}function Ke(e){var t=e.f;if((t&R)!==0)return!0;if(t&S&&(e.f&=~be),(t&Q)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Ke(i)&&pn(i),i.wv>e.wv)return!0}(t&z)!==0&&X===null&&T(e,x)}return!1}function jn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(U!==null&&Ce.call(U,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&S)!==0?jn(i,t,!1):t===i&&(n?T(i,R):(i.f&x)!==0&&T(i,Q),xt(i))}}function Hn(e){var t=D,n=F,r=G,s=g,i=U,f=H,l=Z,a=Ae,o=e.f;D=null,F=0,G=null,g=(o&(J|ue))===0?e:null,U=null,Pe(e.ctx),Z=!1,Ae=++Se,e.ac!==null&&(An(()=>{e.ac.abort(se)}),e.ac=null);try{e.f|=yt;var c=e.fn,v=c();e.f|=ce;var d=e.deps,h=E?.is_fork;if(D!==null){var u;if(h||Je(e,F),d!==null&&F>0)for(d.length=F+D.length,u=0;u<D.length;u++)d[F+u]=D[u];else e.deps=d=D;if(Ct()&&(e.f&z)!==0)for(u=F;u<d.length;u++)(d[u].reactions??=[]).push(e)}else!h&&d!==null&&F<d.length&&(Je(e,F),d.length=F);if(rn()&&G!==null&&!Z&&d!==null&&(e.f&(S|Q|R))===0)for(u=0;u<G.length;u++)jn(G[u],e);if(s!==null&&s!==e){if(Se++,s.deps!==null)for(let _=0;_<n;_+=1)s.deps[_].rv=Se;if(t!==null)for(const _ of t)_.rv=Se;G!==null&&(r===null?r=G:r.push(...G))}return(e.f&he)!==0&&(e.f^=he),v}catch(_){return ln(_)}finally{e.f^=yt,D=t,F=n,G=r,g=s,U=i,Pe(f),Z=l,Ae=a}}function us(e,t){let n=t.reactions;if(n!==null){var r=dr.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&S)!==0&&(D===null||!Ce.call(D,t))){var i=t;(i.f&z)!==0&&(i.f^=z,i.f&=~be),Et(i),Zr(i),Je(i,0)}}function Je(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)us(e,n[r])}function ze(e){var t=e.f;if((t&j)===0){T(e,x);var n=w,r=ct;w=e,ct=!0;try{(t&(ae|Kt))!==0?os(e):Ot(e),Cn(e);var s=Hn(e);e.teardown=typeof s=="function"?s:null,e.wv=Fn;var i;cr&&Pr&&(e.f&R)!==0&&e.deps}finally{ct=r,w=n}}}function k(e){var t=e.f,n=(t&S)!==0;if(g!==null&&!Z){var r=w!==null&&(w.f&j)!==0;if(!r&&(U===null||!Ce.call(U,e))){var s=g.deps;if((g.f&yt)!==0)e.rv<Se&&(e.rv=Se,D===null&&s!==null&&s[F]===e?F++:D===null?D=[e]:D.push(e));else{(g.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[g]:Ce.call(i,g)||i.push(g)}}}if(we&&pe.has(e))return pe.get(e);if(n){var f=e;if(we){var l=f.v;return((f.f&x)===0&&f.reactions!==null||Yn(f))&&(l=St(f)),pe.set(f,l),l}var a=(f.f&z)===0&&!Z&&g!==null&&(ct||(g.f&z)!==0),o=(f.f&ce)===0;Ke(f)&&(a&&(f.f|=z),pn(f)),a&&!o&&(gn(f),Vn(f))}if(X?.has(e))return X.get(e);if((e.f&he)!==0)throw e.v;return e.v}function Vn(e){if(e.f|=z,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&z)===0&&(gn(t),Vn(t))}function Yn(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(pe.has(t)||(t.f&S)!==0&&Yn(t))return!0;return!1}function cs(e){var t=Z;try{return Z=!0,e()}finally{Z=t}}const We=Symbol("events"),Bn=new Set,Pt=new Set;function ds(e,t,n){(t[We]??={})[e]=n}function hs(e){for(var t=0;t<e.length;t++)Bn.add(e[t]);for(var n of Pt)n(e)}let Un=null;function Gn(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Un=e;var f=0,l=Un===e&&e[We];if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e[We]=t;return}var o=s.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(i=s[f]||e.target,i!==t){tt(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=g,v=w;B(null),te(null);try{for(var d,h=[];i!==null;){var u=i.assignedSlot||i.parentNode||i.host||null;try{var _=i[We]?.[r];_!=null&&(!i.disabled||e.target===i)&&_.call(i,e)}catch($){d?h.push($):d=$}if(e.cancelBubble||u===t||u===null)break;i=u}if(d){for(let $ of h)queueMicrotask(()=>{throw $});throw d}}finally{e[We]=t,delete e.currentTarget,B(c),te(v)}}}const vs=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function _s(e){return vs?.createHTML(e)??e}function ps(e){var t=at("template");return t.innerHTML=_s(e.replaceAll("<!>","<!---->")),t.content}function Ne(e,t){var n=w;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function je(e,t){var n=(t&fr)!==0,r=(t&or)!==0,s,i=!e.startsWith("<!>");return()=>{if(m)return Ne(y,null),y;s===void 0&&(s=ps(i?e:"<!>"+e),n||(s=P(s)));var f=r||$n?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=P(f),a=f.lastChild;Ne(l,a)}else Ne(f,f);return f}}function Re(e,t){if(m){var n=w;((n.f&ce)===0||n.nodes.end===null)&&(n.nodes.end=y),Ie();return}e!==null&&e.before(t)}const gs=["touchstart","touchmove"];function ws(e){return gs.includes(e)}function Kn(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Jn(e,t){return Wn(e,t)}function ms(e,t){Nt(),t.intro=t.intro??!1;const n=t.target,r=m,s=y;try{for(var i=P(n);i&&(i.nodeType!==$e||i.data!==jt);)i=L(i);if(!i)throw ye;W(!0),A(i);const f=Wn(e,{...t,anchor:i});return W(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==ye&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Ar(),Nt(),xn(n),W(!1),Jn(e,t)}finally{W(r),A(s)}}const dt=new Map;function Wn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0,transformError:l}){Nt();var a=void 0,o=is(()=>{var c=n??t.appendChild(V());Vr(c,{pending:()=>{}},h=>{tn({});var u=H;if(i&&(u.c=i),s&&(r.$$events=s),m&&Ne(h,null),a=e(h,r)||{},m&&(w.nodes.end=y,y===null||y.nodeType!==$e||y.data!==wt))throw He(),ye;nn()},l);var v=new Set,d=h=>{for(var u=0;u<h.length;u++){var _=h[u];if(!v.has(_)){v.add(_);var $=ws(_);for(const M of[t,document]){var b=dt.get(M);b===void 0&&(b=new Map,dt.set(M,b));var p=b.get(_);p===void 0?(M.addEventListener(_,Gn,{passive:$}),b.set(_,1)):b.set(_,p+1)}}}};return d(Qe(Bn)),Pt.add(d),()=>{for(var h of v)for(const $ of[t,document]){var u=dt.get($),_=u.get(h);--_==0?($.removeEventListener(h,Gn),u.delete(h),u.size===0&&dt.delete($)):u.set(h,_)}Pt.delete(d),c!==n&&c.parentNode?.removeChild(c)}});return Lt.set(a,o),a}let Lt=new WeakMap;function ys(e,t){const n=Lt.get(e);return n?(Lt.delete(e),n(t)):Promise.resolve()}class bs{anchor;#e=new Map;#n=new Map;#t=new Map;#s=new Set;#i=!0;constructor(t,n=!0){this.anchor=t,this.#i=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Dt(r),this.#s.delete(n);else{var s=this.#t.get(n);s&&(this.#n.set(n,s.effect),this.#t.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,f]of this.#e){if(this.#e.delete(i),i===t)break;const l=this.#t.get(f);l&&(C(l.effect),this.#t.delete(f))}for(const[i,f]of this.#n){if(i===n||this.#s.has(i))continue;const l=()=>{if(Array.from(this.#e.values()).includes(i)){var o=document.createDocumentFragment();It(f,o),o.append(V()),this.#t.set(i,{effect:f,fragment:o})}else C(f);this.#s.delete(i),this.#n.delete(i)};this.#i||!r?(this.#s.add(i),xe(f,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,s]of this.#t)n.includes(r)||(C(s.effect),this.#t.delete(r))};ensure(t,n){var r=E,s=Sn();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(s){var i=document.createDocumentFragment(),f=V();i.append(f),this.#t.set(t,{effect:Y(()=>n(f)),fragment:i})}else this.#n.set(t,Y(()=>n(this.anchor)));if(this.#e.set(r,t),s){for(const[l,a]of this.#n)l===t?r.unskip_effect(a):r.skip_effect(a);for(const[l,a]of this.#t)l===t?r.unskip_effect(a.effect):r.skip_effect(a.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else m&&(this.anchor=y),this.#r(r)}}function Xn(e,t,n=!1){var r;m&&(r=y,Ie());var s=new bs(e),i=n?De:0;function f(l,a){if(m){var o=Zt(r);if(l!==parseInt(o.substring(1))){var c=st();A(c),s.anchor=c,W(!1),s.ensure(l,a),W(!0);return}}s.ensure(l,a)}ut(()=>{var l=!1;t((a,o=0)=>{l=!0,f(o,a)}),l||f(-1,null)},i)}function $s(e,t,n){for(var r=[],s=t.length,i,f=t.length,l=0;l<s;l++){let v=t[l];xe(v,()=>{if(i){if(i.pending.delete(v),i.done.add(v),i.pending.size===0){var d=e.outrogroups;Ft(e,Qe(i.done)),d.delete(i),d.size===0&&(e.outrogroups=null)}}else f-=1},!1)}if(f===0){var a=r.length===0&&n!==null;if(a){var o=n,c=o.parentNode;xn(c),c.append(o),e.items.clear()}Ft(e,t,!a)}else i={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(i)}function Ft(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const f of e.pending.values())for(const l of f)r.add(e.items.get(l).e)}for(var s=0;s<t.length;s++){var i=t[s];if(r?.has(i)){i.f|=re;const f=document.createDocumentFragment();It(i,f)}else C(t[s],n)}}var Zn;function Qn(e,t,n,r,s,i=null){var f=e,l=new Map;{var a=e;f=m?A(P(a)):a.appendChild(V())}m&&Ie();var o=null,c=Jr(()=>{var p=n();return Yt(p)?p:p==null?[]:Qe(p)}),v,d=new Map,h=!0;function u(p){(b.effect.f&j)===0&&(b.pending.delete(p),b.fallback=o,Es(b,v,f,t,r),o!==null&&(v.length===0?(o.f&re)===0?Dt(o):(o.f^=re,Ze(o,null,f)):xe(o,()=>{o=null})))}function _(p){b.pending.delete(p)}var $=ut(()=>{v=k(c);var p=v.length;let M=!1;if(m){var ne=Zt(f)===gt;ne!==(p===0)&&(f=st(),A(f),W(!1),M=!0)}for(var O=new Set,K=E,_t=Sn(),q=0;q<p;q+=1){m&&y.nodeType===$e&&y.data===wt&&(f=y,M=!0,W(!1));var qt=v[q],pt=r(qt,q),oe=h?null:l.get(pt);oe?(oe.v&&qe(oe.v,qt),oe.i&&qe(oe.i,q),_t&&K.unskip_effect(oe.e)):(oe=ks(l,h?f:Zn??=V(),qt,pt,q,s,t,n),h||(oe.e.f|=re),l.set(pt,oe)),O.add(pt)}if(p===0&&i&&!o&&(h?o=Y(()=>i(f)):(o=Y(()=>i(Zn??=V())),o.f|=re)),p>O.size&&Er(),m&&p>0&&A(st()),!h)if(d.set(K,O),_t){for(const[Us,Gs]of l)O.has(Us)||K.skip_effect(Gs.e);K.oncommit(u),K.ondiscard(_)}else u(K);M&&W(!0),k(c)}),b={effect:$,items:l,pending:d,outrogroups:null,fallback:o};h=!1,m&&(f=y)}function Xe(e){for(;e!==null&&(e.f&J)===0;)e=e.next;return e}function Es(e,t,n,r,s){var i=t.length,f=e.items,l=Xe(e.effect.first),a,o=null,c=[],v=[],d,h,u,_;for(_=0;_<i;_+=1){if(d=t[_],h=s(d,_),u=f.get(h).e,e.outrogroups!==null)for(const q of e.outrogroups)q.pending.delete(u),q.done.delete(u);if((u.f&I)!==0&&Dt(u),(u.f&re)!==0)if(u.f^=re,u===l)Ze(u,null,n);else{var $=o?o.next:l;u===e.effect.last&&(e.effect.last=u.prev),u.prev&&(u.prev.next=u.next),u.next&&(u.next.prev=u.prev),me(e,o,u),me(e,u,$),Ze(u,$,n),o=u,c=[],v=[],l=Xe(o.next);continue}if(u!==l){if(a!==void 0&&a.has(u)){if(c.length<v.length){var b=v[0],p;o=b.prev;var M=c[0],ne=c[c.length-1];for(p=0;p<c.length;p+=1)Ze(c[p],b,n);for(p=0;p<v.length;p+=1)a.delete(v[p]);me(e,M.prev,ne.next),me(e,o,M),me(e,ne,b),l=b,o=ne,_-=1,c=[],v=[]}else a.delete(u),Ze(u,l,n),me(e,u.prev,u.next),me(e,u,o===null?e.effect.first:o.next),me(e,o,u),o=u;continue}for(c=[],v=[];l!==null&&l!==u;)(a??=new Set).add(l),v.push(l),l=Xe(l.next);if(l===null)continue}(u.f&re)===0&&c.push(u),o=u,l=Xe(u.next)}if(e.outrogroups!==null){for(const q of e.outrogroups)q.pending.size===0&&(Ft(e,Qe(q.done)),e.outrogroups?.delete(q));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||a!==void 0){var O=[];if(a!==void 0)for(u of a)(u.f&I)===0&&O.push(u);for(;l!==null;)(l.f&I)===0&&l!==e.fallback&&O.push(l),l=Xe(l.next);var K=O.length;if(K>0){var _t=i===0?n:null;$s(e,O,_t)}}}function ks(e,t,n,r,s,i,f,l){var a=(f&sr)!==0?(f&lr)===0?mn(n,!1,!1):Te(n):null,o=(f&ir)!==0?Te(s):null;return{v:a,i:o,e:Y(()=>(i(t,a??n,o??s,l),()=>{e.delete(r)}))}}function Ze(e,t,n){if(e.nodes)for(var r=e.nodes.start,s=e.nodes.end,i=t&&(t.f&re)===0?t.nodes.start:n;r!==null;){var f=L(r);if(i.before(r),r===s)return;r=f}}function me(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Ts(e,t,n=!1,r=!1,s=!1,i=!1){var f=e,l="";if(n){var a=e;m&&(f=A(P(a)))}Mt(()=>{var o=w;if(l===(l=t()??"")){m&&Ie();return}if(n&&!m){o.nodes=null,a.innerHTML=l,l!==""&&Ne(P(a),a.lastChild);return}if(o.nodes!==null&&(Mn(o.nodes.start,o.nodes.end),o.nodes=null),l!==""){if(m){y.data;for(var c=Ie(),v=c;c!==null&&(c.nodeType!==$e||c.data!=="");)v=c,c=L(c);if(c===null)throw He(),ye;Ne(y,v),f=A(c);return}var d=r?ar:s?ur:void 0,h=at(r?"svg":s?"math":"template",d);h.innerHTML=l;var u=r||s?h:h.content;if(Ne(P(u),u.lastChild),r||s)for(;P(u);)f.before(P(u));else f.before(u)}})}function xs(e,t){let n=null,r=m;var s;if(m){n=y;for(var i=P(document.head);i!==null&&(i.nodeType!==$e||i.data!==e);)i=L(i);if(i===null)W(!1);else{var f=L(i);i.remove(),A(f)}}m||(s=document.head.appendChild(V()));try{ut(()=>t(s),Xt|de)}finally{r&&(W(!0),A(n))}}function Ss(e,t){ls(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=at("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function As(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Ns(e,t,n,r,s,i){var f=e.__className;if(m||f!==n||f===void 0){var l=As(n,r);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return i}const Rs=Symbol("is custom element"),Cs=Symbol("is html"),Ms=br?"link":"LINK";function er(e,t,n,r){var s=Os(e);m&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Ms)||s[t]!==(s[t]=n)&&(t==="loading"&&(e[yr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Ds(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Os(e){return e.__attributes??={[Rs]:e.nodeName.includes("-"),[Cs]:e.namespaceURI===Vt}}var tr=new Map;function Ds(e){var t=e.getAttribute("is")||e.nodeName,n=tr.get(t);if(n)return n;tr.set(t,n=[]);for(var r,s=e,i=Element.prototype;i!==s;){r=hr(s);for(var f in r)r[f].set&&n.push(f);s=Bt(s)}return n}function ht(e,t,n,r){var s=r,i=!0,f=()=>(i&&(i=!1,s=r),s),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var a;a=()=>{var d=e[t];return d===void 0?f():(i=!0,d)};var o=!1,c=ft(()=>(o=!1,a())),v=w;return(function(d,h){if(arguments.length>0){const u=h?k(c):d;return fe(c,u),o=!0,s!==void 0&&(s=u),d}return we&&o||(v.f&j)!==0?c.v:k(c)})}function Is(e){return new Ps(e)}class Ps{#e;#n;constructor(t){var n=new Map,r=(i,f)=>{var l=mn(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return k(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===mr?!0:(k(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return fe(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#n=(t.hydrate?ms:Jn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ye(),this.#e=s.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||tt(this,i,{get(){return this.#n[i]},set(f){this.#n[i]=f},enumerable:!0});this.#n.$set=i=>{Object.assign(s,i)},this.#n.$destroy=()=>{ys(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#n.$destroy()}}let nr;typeof HTMLElement=="function"&&(nr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=at("slot");r!=="default"&&(i.name=r),Re(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ls(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=vt(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Is({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ss(()=>{Rn(()=>{this.$$r=!0;for(const r of et(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=vt(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=vt(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 et(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function vt(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ls(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Fs(e,t,n,r,s,i){let f=class extends nr{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return et(t).map(l=>(t[l].attribute||l).toLowerCase())}};return et(t).forEach(l=>{tt(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=vt(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var c=Me(o,l)?.get;c?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{tt(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var qs=je('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),zs=je('<div class="break svelte-1s0fskg"></div>'),js=je('<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>',1),Hs=je('<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>'),Vs=je('<div class="faq-content svelte-1s0fskg"></div>'),Ys=je('<div id="topics" class="svelte-1s0fskg"></div> <!>',1);const Bs={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");
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=`http://www.w3.org/2000/svg`,a=`http://www.w3.org/1998/Math/MathML`,o=Array.isArray,s=Array.prototype.indexOf,c=Array.prototype.includes,l=Array.from,u=Object.keys,d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyDescriptors,m=Object.prototype,h=Array.prototype,g=Object.getPrototypeOf,_=Object.isExtensible,v=()=>{};function y(e){for(var t=0;t<e.length;t++)e[t]()}function b(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var x=1024,S=2048,C=4096,w=8192,ee=16384,te=32768,ne=1<<25,re=65536,ie=1<<18,ae=1<<19,oe=1<<20,se=1<<25,ce=65536,le=1<<21,ue=1<<22,de=1<<23,fe=Symbol(`$state`),pe=Symbol(`legacy props`),me=Symbol(``),T=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},he=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ge(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function _e(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function ve(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ye(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function be(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function xe(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Se(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Ce(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function we(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Te(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function De(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Oe(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function ke(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function D(e){E=e}var O;function k(e){if(e===null)throw Oe(),t;return O=e}function Ae(){return k(B(O))}function je(e){if(E){if(B(O)!==null)throw Oe(),t;O=e}}function Me(e=1){if(E){for(var t=e,n=O;t--;)n=B(n);O=n}}function Ne(e=!0){for(var t=0,n=O;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=B(n);e&&n.remove(),n=i}}function Pe(e){if(!e||e.nodeType!==8)throw Oe(),t;return e.data}function Fe(e){return e===this.v}function Ie(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Le(e){return!Ie(e,this.v)}var Re=!1,ze=!1,A=null;function Be(e){A=e}function Ve(e,t=!1,n){A={p:A,i:!1,c:null,e:null,s:e,x:null,r:q,l:ze&&!t?{s:null,u:null,$:[]}:null}}function He(e){var t=A,n=t.e;if(n!==null){t.e=null;for(var r of n)fn(r)}return e!==void 0&&(t.x=e),t.i=!0,A=t.p,e??{}}function Ue(){return!ze||A!==null&&A.l===null}var We=[];function Ge(){var e=We;We=[],y(e)}function Ke(e){if(We.length===0&&!it){var t=We;queueMicrotask(()=>{t===We&&Ge()})}We.push(e)}function qe(){for(;We.length>0;)Ge()}function Je(e){var t=q;if(t===null)return W.f|=de,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ye(e,t)}function Ye(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(S|C|x);function j(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?j(e,x):j(e,C)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ce,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),j(e,x)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var M=new Set,N=null,P=null,rt=null,it=!1,at=!1,ot=null,st=null,ct=0,lt=1,ut=class e{id=lt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)j(n,S),this.schedule(n);for(n of t.m)j(n,C),this.schedule(n)}}#p(){if(ct++>1e3&&(M.delete(this),ft()),!this.#d()){for(let e of this.#o)this.#s.delete(e),j(e,S),this.schedule(e);for(let e of this.#s)j(e,C),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=ot=[],r=[],i=st=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw vt(e),t}if(N=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(ot=null,st=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)_t(e,t)}else{this.#n.size===0&&M.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),pt(r),pt(n),this.#i?.resolve()}var o=N;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(M.add(o),o.#p()),M.has(this)||this.#g()}#m(e,t,n){e.f^=x;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=x:i&4?t.push(r):Re&&i&16777224?n.push(r):Vn(r)&&(i&16&&this.#s.add(r),Kn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),P?.set(e,e.v))}activate(){N=this}deactivate(){N=null,P=null}flush(){try{at=!0,N=this,this.#p()}finally{ct=0,rt=null,ot=null,st=null,at=!1,N=null,P=null,I.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),M.delete(this)}#g(){for(let c of M){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)mt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of M)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Ke(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=b()).promise}static ensure(){if(N===null){let t=N=new e;at||(M.add(N),it||Ke(()=>{N===t&&t.flush()}))}return N}apply(){if(!Re||!this.is_fork&&M.size===1){P=null;return}P=new Map;for(let[e,[t]]of this.current)P.set(e,t);for(let n of M)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)P.has(e)||P.set(e,t)}}schedule(e){if(rt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(ot!==null&&t===q&&(Re||(W===null||!(W.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=x}}this.#a.push(t)}};function dt(e){var t=it;it=!0;try{var n;for(e&&(N!==null&&!N.is_fork&&N.flush(),n=e());;){if(qe(),N===null)return n;N.flush()}}finally{it=t}}function ft(){try{xe()}catch(e){Ye(e,rt)}}var F=null;function pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Vn(r)&&(F=new Set,Kn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&wn(r),F?.size>0)){I.clear();for(let e of F){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)F.has(n)&&(F.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Kn(n)}}F.clear()}}F=null}}function mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?mt(i,t,n,r):e&4194320&&!(e&2048)&&ht(i,t,r)&&(j(i,S),gt(i))}}function ht(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(c.call(t,r))return!0;if(r.f&2&&ht(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function gt(e){N.schedule(e)}function _t(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),j(e,x);for(var n=e.first;n!==null;)_t(n,t),n=n.next}}function vt(e){j(e,x);for(var t=e.first;t!==null;)vt(t),t=t.next}function yt(e){let t=0,n=zt(0),r;return()=>{ln()&&($(n),_n(()=>(t===0&&(r=Yn(()=>e(()=>Wt(n)))),t+=1,()=>{Ke(()=>{--t,t===0&&(r?.(),r=void 0,Wt(n))})})))}}var bt=re|ae;function xt(e,t,n,r){new St(e,t,n,r)}var St=class{parent;is_pending=!1;transform_error;#e;#t=E?O:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=yt(()=>(this.#m=zt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=yn(()=>{if(E){let e=this.#t;Ae();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},bt),E&&(this.#e=O)}#g(){try{this.#a=H(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=H(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=H(()=>e(this.#e)),Ke(()=>{var e=this.#c=document.createDocumentFragment(),t=R();e.append(t),this.#a=this.#x(()=>H(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Tn(this.#o,()=>{this.#o=null}),this.#b(N))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=H(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();kn(this.#a,e);let t=this.#n.pending;this.#o=H(()=>t(this.#e))}else this.#b(N)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=q,n=W,r=A;J(this.#i),K(this.#i),Be(this.#i.ctx);try{return ut.ensure(),e()}catch(e){return Je(e),null}finally{J(t),K(n),Be(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Tn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Ke(()=>{this.#d=!1,this.#m&&Ht(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(U(this.#a),null),this.#o&&=(U(this.#o),null),this.#s&&=(U(this.#s),null),E&&(k(this.#t),Me(),k(Ne()));var r=!1,i=!1;let a=()=>{if(r){ke();return}r=!0,i&&De(),this.#s!==null&&Tn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Ye(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return H(()=>{var t=q;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ye(e,this.#i.parent),null}}))};Ke(()=>{var t;try{t=this.transform_error(e)}catch(e){Ye(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ye(e,this.#i&&this.#i.parent)):o(t)})}};function Ct(e,t,n,r){let i=Ue()?Dt:At;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=q,s=wt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Ye(e,o)}Tt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Et();function d(){Promise.all(n.map(e=>Ot(e))).then(e=>l([...t.map(i),...e])).catch(e=>Ye(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Tt()}):d()}function wt(){var e=q,t=W,n=A,r=N;return function(i=!0){J(e),K(t),Be(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Tt(e=!0){J(null),K(null),Be(null),e&&N?.deactivate()}function Et(){var e=q,t=e.b,n=N,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Dt(e){var t=2|S,r=W!==null&&W.f&2?W:null;return q!==null&&(q.f|=ae),{ctx:A,deps:null,effects:null,equals:Fe,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??q,ac:null}}function Ot(e,t,r){let i=q;i===null&&ge();var a=void 0,o=zt(n),s=!W,c=new Map;return gn(()=>{var t=q,n=b();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Tt)}catch(e){n.reject(e),Tt()}var r=N;if(s){if(t.f&32768)var l=Et();if(i.b.is_rendered())c.get(r)?.reject(T),c.delete(r);else{for(let e of c.values())e.reject(T);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===T),!(n===T||t.f&16384)){if(r.activate(),n)o.f|=de,Ht(o,n);else{o.f&8388608&&(o.f^=de),Ht(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(T)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),un(()=>{for(let e of c.values())e.reject(T)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function kt(e){let t=Dt(e);return Re||Pn(t),t}function At(e){let t=Dt(e);return t.equals=Le,t}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function Mt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Nt(e){var t,n=q;J(Mt(e));try{e.f&=~ce,jt(e),t=Un(e)}finally{J(n)}return t}function Pt(e){var t=e.v,n=Nt(e);if(!e.equals(n)&&(e.wv=Bn(),(!N?.is_fork||e.deps===null)&&(e.v=n,N?.capture(e,t,!0),e.deps===null))){j(e,x);return}Mn||(P===null?Ze(e):(ln()||N?.is_fork)&&P.set(e,n))}function Ft(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(T),t.teardown=v,t.ac=null,Gn(t,0),xn(t))}function It(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Kn(t)}var Lt=new Set,I=new Map,Rt=!1;function zt(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function Bt(e,t){let n=zt(e,t);return Pn(n),n}function Vt(e,t=!1,n=!0){let r=zt(e);return t||(r.equals=Le),ze&&n&&A!==null&&A.l!==null&&(A.l.s??=[]).push(r),r}function L(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&Ue()&&W.f&4325394&&(Y===null||!c.call(Y,e))&&Ee(),Ht(e,n?Kt(t):t,st)}function Ht(e,t,n=null){if(!e.equals(t)){var r=e.v;Mn?I.set(e,t):I.set(e,r),e.v=t;var i=ut.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Nt(t),P===null&&Ze(t)}e.wv=Bn(),Gt(e,S,n),Ue()&&q!==null&&q.f&1024&&!(q.f&96)&&(Q===null?Fn([e]):Q.push(e)),!i.is_fork&&Lt.size>0&&!Rt&&Ut()}return t}function Ut(){Rt=!1;for(let e of Lt)e.f&1024&&j(e,C),Vn(e)&&Kn(e);Lt.clear()}function Wt(e){L(e,e.v+1)}function Gt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ue(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===q)){var l=(c&S)===0;if(l&&j(s,t),c&2){var u=s;P?.delete(u),c&65536||(c&512&&(s.f|=ce),Gt(u,C,n))}else if(l){var d=s;c&16&&F!==null&&F.add(d),n===null?gt(d):n.push(d)}}}}function Kt(e){if(typeof e!=`object`||!e||fe in e)return e;let t=g(e);if(t!==m&&t!==h)return e;var r=new Map,i=o(e),a=Bt(0),s=null,c=Rn,l=e=>{if(Rn===c)return e();var t=W,n=Rn;K(null),zn(c);var r=e();return K(t),zn(n),r};return i&&r.set(`length`,Bt(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&we();var i=r.get(t);return i===void 0?l(()=>{var e=Bt(n.value,s);return r.set(t,e),e}):L(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>Bt(n,s));r.set(t,e),Wt(a)}}else L(i,n),Wt(a);return!0},get(t,i,a){if(i===fe)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||f(t,i)?.writable)&&(o=l(()=>Bt(Kt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var u=$(o);return u===n?void 0:u}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=$(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===fe)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||q!==null&&(!a||f(e,t)?.writable))&&(i===void 0&&(i=l(()=>Bt(a?Kt(e[t]):n,s)),r.set(t,i)),$(i)===n)?!1:a},set(e,t,o,c){var u=r.get(t),d=t in e;if(i&&t===`length`)for(var p=o;p<u.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>Bt(n,s)),r.set(p+``,m)):L(m,n)}if(u===void 0)(!d||f(e,t)?.writable)&&(u=l(()=>Bt(void 0,s)),L(u,Kt(o)),r.set(t,u));else{d=u.v!==n;var h=l(()=>Kt(o));L(u,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,o),!d){if(i&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&L(_,v+1)}Wt(a)}return!0},ownKeys(e){$(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,o]of r)o.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Te()}})}var qt,Jt,Yt,Xt;function Zt(){if(qt===void 0){qt=window,Jt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Yt=f(t,`firstChild`).get,Xt=f(t,`nextSibling`).get,_(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),_(n)&&(n.__t=void 0)}}function R(e=``){return document.createTextNode(e)}function z(e){return Yt.call(e)}function B(e){return Xt.call(e)}function Qt(e,t){if(!E)return z(e);var n=z(O);if(n===null)n=O.appendChild(R());else if(t&&n.nodeType!==3){var r=R();return n?.before(r),k(r),r}return t&&an(n),k(n),n}function $t(e,t=!1){if(!E){var n=z(e);return n instanceof Comment&&n.data===``?B(n):n}if(t){if(O?.nodeType!==3){var r=R();return O?.before(r),k(r),r}an(O)}return O}function en(e,t=1,n=!1){let r=E?O:e;for(var i;t--;)i=r,r=B(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=R();return r===null?i?.after(a):r.before(a),k(a),a}an(r)}return k(r),r}function tn(e){e.textContent=``}function nn(){return!Re||F!==null?!1:(q.f&te)!==0}function rn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function an(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function on(e){var t=W,n=q;K(null),J(null);try{return e()}finally{K(t),J(n)}}function sn(e){q===null&&(W===null&&be(e),ye()),Mn&&ve(e)}function cn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=q;n!==null&&n.f&8192&&(e|=w);var r={ctx:A,deps:null,nodes:null,f:e|S|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)ot===null?ut.ensure().schedule(r):ot.push(r);else if(t!==null){try{Kn(r)}catch(e){throw U(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=re))}if(i!==null&&(i.parent=n,n!==null&&cn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function ln(){return W!==null&&!G}function un(e){let t=V(8,null);return j(t,x),t.teardown=e,t}function dn(e){sn(`$effect`);var t=q.f;if(!W&&t&32&&!(t&32768)){var n=A;(n.e??=[]).push(e)}else return fn(e)}function fn(e){return V(4|oe,e)}function pn(e){ut.ensure();let t=V(64|ae,e);return()=>{U(t)}}function mn(e){ut.ensure();let t=V(64|ae,e);return(e={})=>new Promise(n=>{e.outro?Tn(t,()=>{U(t),n(void 0)}):(U(t),n(void 0))})}function hn(e){return V(4,e)}function gn(e){return V(ue|ae,e)}function _n(e,t=0){return V(8|t,e)}function vn(e,t=[],n=[],r=[]){Ct(r,t,n,t=>{V(8,()=>e(...t.map($)))})}function yn(e,t=0){return V(16|t,e)}function H(e){return V(32|ae,e)}function bn(e){var t=e.teardown;if(t!==null){let e=Mn,n=W;Nn(!0),K(null);try{t.call(null)}finally{Nn(e),K(n)}}}function xn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&on(()=>{e.abort(T)});var r=n.next;n.f&64?n.parent=null:U(n,t),n=r}}function Sn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||U(t),t=n}}function U(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Cn(e.nodes.start,e.nodes.end),n=!0),j(e,ne),xn(e,t&&!n),Gn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();bn(e),e.f^=ne,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&wn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Cn(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function wn(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 Tn(e,t,n=!0){var r=[];En(e,r,!0);var i=()=>{n&&U(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function En(e,t,n){if(!(e.f&8192)){e.f^=w;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;En(i,t,o?n:!1),i=a}}}function Dn(e){On(e,!0)}function On(e,t){if(e.f&8192){e.f^=w,e.f&1024||(j(e,S),ut.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;On(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function kn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:B(n);t.append(n),n=i}}var An=null,jn=!1,Mn=!1;function Nn(e){Mn=e}var W=null,G=!1;function K(e){W=e}var q=null;function J(e){q=e}var Y=null;function Pn(e){W!==null&&(!Re||W.f&2)&&(Y===null?Y=[e]:Y.push(e))}var X=null,Z=0,Q=null;function Fn(e){Q=e}var In=1,Ln=0,Rn=Ln;function zn(e){Rn=e}function Bn(){return++In}function Vn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Vn(a)&&Pt(a),a.wv>e.wv)return!0}t&512&&P===null&&j(e,x)}return!1}function Hn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Re&&Y!==null&&c.call(Y,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Hn(a,t,!1):t===a&&(n?j(a,S):a.f&1024&&j(a,C),gt(a))}}function Un(e){var t=X,n=Z,r=Q,i=W,a=Y,o=A,s=G,c=Rn,l=e.f;X=null,Z=0,Q=null,W=l&96?null:e,Y=null,Be(e.ctx),G=!1,Rn=++Ln,e.ac!==null&&(on(()=>{e.ac.abort(T)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=te;var f=e.deps,p=N?.is_fork;if(X!==null){var m;if(p||Gn(e,Z),f!==null&&Z>0)for(f.length=Z+X.length,m=0;m<X.length;m++)f[Z+m]=X[m];else e.deps=f=X;if(ln()&&e.f&512)for(m=Z;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Z<f.length&&(Gn(e,Z),f.length=Z);if(Ue()&&Q!==null&&!G&&f!==null&&!(e.f&6146))for(m=0;m<Q.length;m++)Hn(Q[m],e);if(i!==null&&i!==e){if(Ln++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ln;if(t!==null)for(let e of t)e.rv=Ln;Q!==null&&(r===null?r=Q:r.push(...Q))}return e.f&8388608&&(e.f^=de),d}catch(e){return Je(e)}finally{e.f^=le,X=t,Z=n,Q=r,W=i,Y=a,Be(o),G=s,Rn=c}}function Wn(e,t){let n=t.reactions;if(n!==null){var r=s.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(X===null||!c.call(X,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~ce),Ze(a),Ft(a),Gn(a,0)}}function Gn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Wn(e,n[r])}function Kn(e){var t=e.f;if(!(t&16384)){j(e,x);var n=q,r=jn;q=e,jn=!0;try{t&16777232?Sn(e):xn(e),bn(e);var i=Un(e);e.teardown=typeof i==`function`?i:null,e.wv=In}finally{jn=r,q=n}}}function $(e){var t=(e.f&2)!=0;if(An?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(Y===null||!c.call(Y,e))){var n=W.deps;if(W.f&2097152)e.rv<Ln&&(e.rv=Ln,X===null&&n!==null&&n[Z]===e?Z++:X===null?X=[e]:X.push(e));else{(W.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[W]:c.call(r,W)||r.push(W)}}if(Mn&&I.has(e))return I.get(e);if(t){var i=e;if(Mn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Jn(i))&&(a=Nt(i)),I.set(i,a),a}var o=(i.f&512)==0&&!G&&W!==null&&(jn||(W.f&512)!=0),s=(i.f&te)===0;Vn(i)&&(o&&(i.f|=512),Pt(i)),o&&!s&&(It(i),qn(i))}if(P?.has(e))return P.get(e);if(e.f&8388608)throw e.v;return e.v}function qn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(It(t),qn(t))}function Jn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(I.has(t)||t.f&2&&Jn(t))return!0;return!1}function Yn(e){var t=G;try{return G=!0,e()}finally{G=t}}var Xn=Symbol(`events`),Zn=new Set,Qn=new Set;function $n(e,t,n){(t[Xn]??={})[e]=n}function er(e){for(var t=0;t<e.length;t++)Zn.add(e[t]);for(var n of Qn)n(e)}var tr=null;function nr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;tr=e;var o=0,s=tr===e&&e[Xn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Xn]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){d(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=W,f=q;K(null),J(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Xn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Xn]=t,delete e.currentTarget,K(u),J(f)}}}var rr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ir(e){return rr?.createHTML(e)??e}function ar(e){var t=rn(`template`);return t.innerHTML=ir(e.replaceAll(`<!>`,`<!---->`)),t.content}function or(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function sr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(E)return or(O,null),O;i===void 0&&(i=ar(a?e:`<!>`+e),n||(i=z(i)));var t=r||Jt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=z(t),s=t.lastChild;or(o,s)}else or(t,t);return t}}function cr(e,t){if(E){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=O),Ae();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var lr=[`touchstart`,`touchmove`];function ur(e){return lr.includes(e)}function dr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function fr(e,t){return hr(e,t)}function pr(e,n){Zt(),n.intro=n.intro??!1;let r=n.target,i=E,a=O;try{for(var o=z(r);o&&(o.nodeType!==8||o.data!==`[`);)o=B(o);if(!o)throw t;D(!0),k(o);let i=hr(e,{...n,anchor:o});return D(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Se(),Zt(),tn(r),D(!1),fr(e,n)}finally{D(i),k(a)}}var mr=new Map;function hr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:s=!0,transformError:c}){Zt();var u=void 0,d=mn(()=>{var s=r??n.appendChild(R());xt(s,{pending:()=>{}},n=>{Ve({});var r=A;if(o&&(r.c=o),a&&(i.$$events=a),E&&or(n,null),u=e(n,i)||{},E&&(q.nodes.end=O,O===null||O.nodeType!==8||O.data!==`]`))throw Oe(),t;He()},c);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=ur(r);for(let e of[n,document]){var a=mr.get(e);a===void 0&&(a=new Map,mr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,nr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(l(Zn)),Qn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=mr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,nr),t.delete(e),t.size===0&&mr.delete(r)):t.set(e,i)}Qn.delete(f),s!==r&&s.parentNode?.removeChild(s)}});return gr.set(u,d),u}var gr=new WeakMap;function _r(e,t){let n=gr.get(e);return n?(gr.delete(e),n(t)):Promise.resolve()}var vr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Dn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(U(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();kn(r,t),t.append(R()),this.#n.set(e,{effect:r,fragment:t})}else U(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Tn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(U(n.effect),this.#n.delete(e))};ensure(e,t){var n=N,r=nn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=R();i.append(a),this.#n.set(e,{effect:H(()=>t(a)),fragment:i})}else this.#t.set(e,H(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=O),this.#a(n)}};function yr(e,t,n=!1){var r;E&&(r=O,Ae());var i=new vr(e),a=n?re:0;function o(e,t){if(E){var n=Pe(r);if(e!==parseInt(n.substring(1))){var a=Ne();k(a),i.anchor=a,D(!1),i.ensure(e,t),D(!0);return}}i.ensure(e,t)}yn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function br(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s<i;s++){let n=t[s];Tn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;xr(e,l(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var u=n,d=u.parentNode;tn(d),d.append(u),e.items.clear()}xr(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function xr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=se,kn(a,document.createDocumentFragment())):U(t[i],n)}}var Sr;function Cr(e,t,n,r,i,a=null){var s=e,c=new Map;if(t&4){var u=e;s=E?k(z(u)):u.appendChild(R())}E&&Ae();var d=null,f=At(()=>{var e=n();return o(e)?e:e==null?[]:l(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Tr(v,p,s,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=se,Dr(d,null,s)):Dn(d):Tn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:yn(()=>{p=$(f);var e=p.length;let o=!1;E&&Pe(s)===`[!`!=(e===0)&&(s=Ne(),k(s),D(!1),o=!0);for(var l=new Set,u=N,v=nn(),y=0;y<e;y+=1){E&&O.nodeType===8&&O.data===`]`&&(s=O,o=!0,D(!1));var b=p[y],x=r(b,y),S=h?null:c.get(x);S?(S.v&&Ht(S.v,b),S.i&&Ht(S.i,y),v&&u.unskip_effect(S.e)):(S=Er(c,h?s:Sr??=R(),b,x,y,i,t,n),h||(S.e.f|=se),c.set(x,S)),l.add(x)}if(e===0&&a&&!d&&(h?d=H(()=>a(s)):(d=H(()=>a(Sr??=R())),d.f|=se)),e>l.size&&_e(``,``,``),E&&e>0&&k(Ne()),!h)if(m.set(u,l),v){for(let[e,t]of c)l.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);o&&D(!0),$(f)}),flags:t,items:c,pending:m,outrogroups:null,fallback:d};h=!1,E&&(s=O)}function wr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Tr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,s=e.items,c=wr(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=s.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=s.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Dn(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=se,_===c)Dr(_,null,n);else{var y=d?d.next:c;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Or(e,d,_),Or(e,_,y),Dr(_,y,n),d=_,p=[],m=[],c=wr(d.next);continue}if(_!==c){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],C=p[p.length-1];for(x=0;x<p.length;x+=1)Dr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Or(e,S.prev,C.next),Or(e,d,S),Or(e,C,b),c=b,d=C,--v,p=[],m=[]}else u.delete(_),Dr(_,c,n),Or(e,_.prev,_.next),Or(e,_,d===null?e.effect.first:d.next),Or(e,d,_),d=_;continue}for(p=[],m=[];c!==null&&c!==_;)(u??=new Set).add(c),m.push(c),c=wr(c.next);if(c===null)continue}_.f&33554432||p.push(_),d=_,c=wr(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(xr(e,l(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||u!==void 0){var w=[];if(u!==void 0)for(_ of u)_.f&8192||w.push(_);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&w.push(c),c=wr(c.next);var ee=w.length;if(ee>0){var te=r&4&&o===0?n:null;if(a){for(v=0;v<ee;v+=1)w[v].nodes?.a?.measure();for(v=0;v<ee;v+=1)w[v].nodes?.a?.fix()}br(e,w,te)}}a&&Ke(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Er(e,t,n,r,i,a,o,s){var c=o&1?o&16?zt(n):Vt(n,!1,!1):null,l=o&2?zt(i):null;return{v:c,i:l,e:H(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Dr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=B(r);if(a.before(r),r===i)return;r=o}}function Or(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function kr(e,n,r=!1,o=!1,s=!1,c=!1){var l=e,u=``;if(r){var d=e;E&&(l=k(z(d)))}vn(()=>{var e=q;if(u===(u=n()??``)){E&&Ae();return}if(r&&!E){e.nodes=null,d.innerHTML=u,u!==``&&or(z(d),d.lastChild);return}if(e.nodes!==null&&(Cn(e.nodes.start,e.nodes.end),e.nodes=null),u!==``){if(E){for(var c=O.data,f=Ae(),p=f;f!==null&&(f.nodeType!==8||f.data!==``);)p=f,f=B(f);if(f===null)throw Oe(),t;or(O,p),l=k(f);return}var m=rn(o?`svg`:s?`math`:`template`,o?i:s?a:void 0);m.innerHTML=u;var h=o||s?m:m.content;if(or(z(h),h.lastChild),o||s)for(;z(h);)l.before(z(h));else l.before(h)}})}function Ar(e,t){let n=null,r=E;var i;if(E){n=O;for(var a=z(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=B(a);if(a===null)D(!1);else{var o=B(a);a.remove(),k(o)}}E||(i=document.head.appendChild(R()));try{yn(()=>t(i),ie|ae)}finally{r&&(D(!0),k(n))}}function jr(e,t){hn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=rn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var Mr=[...`
3
+ \r\f\xA0\v`];function Nr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Mr.includes(r[o-1]))&&(s===r.length||Mr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Pr(e,t,n,r,i,a){var o=e.__className;if(E||o!==n||o===void 0){var s=Nr(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}var Fr=Symbol(`is custom element`),Ir=Symbol(`is html`),Lr=he?`link`:`LINK`;function Rr(e,t,n,r){var i=zr(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Lr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Vr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function zr(e){return e.__attributes??={[Fr]:e.nodeName.includes(`-`),[Ir]:e.namespaceURI===r}}var Br=new Map;function Vr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Br.get(t);if(n)return n;Br.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=p(i),r)r[o].set&&n.push(o);i=g(i)}return n}function Hr(e,t,n,r){var i=!ze||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Yn(r):r),s);let u;if(a){var d=fe in e||pe in e;u=f(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),u&&(i&&Ce(t),u(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(u){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&u(t?h():e),e):h()})}var _=!1,v=(n&1?Dt:At)(()=>(_=!1,h()));a&&$(v);var y=q;return(function(e,t){if(arguments.length>0){let n=t?$(v):i&&a?Kt(e):e;return L(v,n),_=!0,s!==void 0&&(s=n),e}return Mn&&_||y.f&16384?v.v:$(v)})}function Ur(e){return new Wr(e)}var Wr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Vt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe?!0:($(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return L(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?pr:fr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Re&&(!e?.props?.$$host||e.sync===!1)&&dt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||d(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{_r(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Gr;typeof HTMLElement==`function`&&(Gr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=rn(`slot`);e!==`default`&&(n.name=e),cr(t,n)}}let t={},n=qr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Kr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Ur({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=pn(()=>{_n(()=>{this.$$r=!0;for(let e of u(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Kr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Kr(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 u(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Kr(e,t,n,r){let 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 qr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Jr(e,t,n,r,i,a){let o=class extends Gr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return u(t).map(e=>(t[e].attribute||e).toLowerCase())}};return u(t).forEach(e=>{d(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Kr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(f(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{d(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Yr=sr(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>`),Xr=sr(`<div class="break svelte-1s0fskg"></div>`),Zr=sr(`<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>`,1),Qr=sr(`<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>`),$r=sr(`<div class="faq-content svelte-1s0fskg"></div>`),ei=sr(`<div id="topics" class="svelte-1s0fskg"></div> <!>`,1),ti={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");
3
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}
4
5
  @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;}
5
6
  }
6
7
  @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 rr(e,t){tn(t,!0),Ss(e,Bs);let n=ht(t,"id",7,""),r=ht(t,"info",7,void 0),s=ht(t,"topics",7,void 0),i=ht(t,"filter",7,void 0);rs(()=>{if(typeof r()=="string")try{r(JSON.parse(r()))}catch(d){console.error("error parsing info",d)}if(typeof s()=="string")try{s(JSON.parse(s()));let d=0;s()?.length&&s(s().map(h=>(h.index=d,d++,h)))}catch(d){console.error("error parsing topics",d)}});var f={get id(){return n()},set id(d=""){n(d),Ye()},get info(){return r()},set info(d=void 0){r(d),Ye()},get topics(){return s()},set topics(d=void 0){s(d),Ye()},get filter(){return i()},set filter(d=void 0){i(d),Ye()}},l=Ys();xs("1s0fskg",d=>{var h=qs();Re(d,h)});var a=Tn(l);Qn(a,21,()=>Array.isArray(s())?s():[],d=>d.index,(d,h)=>{var u=js(),_=Tn(u);{var $=O=>{var K=zs();Re(O,K)};Xn(_,O=>{k(h).index&&k(h).index%5===0&&O($)})}var b=Ge(_,2),p=ot(b),M=ot(p),ne=Ge(M);Ee(p),Ee(b),Mt(()=>{Ns(M,1,`bi bi-${k(h).icon??""}`,"svelte-1s0fskg"),Kn(ne,` ${k(h).label??""}`)}),ds("click",b,()=>{k(h).catchAll?i(void 0):i(k(h).key)}),Re(d,u)}),Ee(a);var o=Ge(a,2);{var c=d=>{var h=Vs();Qn(h,21,()=>r().filter(u=>i()?u.topic===i():!0),u=>u.title,(u,_)=>{var $=Hs(),b=ot($),p=Ge(b,4),M=ot(p,!0);Ee(p);var ne=Ge(p,2);Ts(ne,()=>k(_).text,!0),Ee(ne),Ee($),Mt((O,K)=>{er(b,"id",`q1_${O??""}`),er(p,"for",`q1_${K??""}`),Kn(M,k(_).title)},[()=>k(_).title.replace(/ /g,""),()=>k(_).title.replace(/ /g,"")]),Re(u,$)}),Ee(h),Re(d,h)},v=Kr(()=>Array.isArray(r()));Xn(o,d=>{k(v)&&d(c)})}return Re(e,l),nn(f)}hs(["click"]),customElements.define("hb-faq-component",Fs(rr,{id:{},info:{},topics:{},filter:{}},[],[],{mode:"open"})),zt.Component=rr,Object.defineProperty(zt,Symbol.toStringTag,{value:"Module"})})(this["faq-component"]=this["faq-component"]||{});
8
- //# sourceMappingURL=main.iife.js.map
8
+ }.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 ni(e,t){Ve(t,!0),jr(e,ti);let n=Hr(t,`id`,7,``),r=Hr(t,`info`,7,void 0),i=Hr(t,`topics`,7,void 0),a=Hr(t,`filter`,7,void 0);dn(()=>{if(typeof r()==`string`)try{r(JSON.parse(r()))}catch(e){console.error(`error parsing info`,e)}if(typeof i()==`string`)try{i(JSON.parse(i()));let e=0;i()?.length&&i(i().map(t=>(t.index=e,e++,t)))}catch(e){console.error(`error parsing topics`,e)}});var o={get id(){return n()},set id(e=``){n(e),dt()},get info(){return r()},set info(e=void 0){r(e),dt()},get topics(){return i()},set topics(e=void 0){i(e),dt()},get filter(){return a()},set filter(e=void 0){a(e),dt()}},s=ei();Ar(`1s0fskg`,e=>{cr(e,Yr())});var c=$t(s);Cr(c,21,()=>Array.isArray(i())?i():[],e=>e.index,(e,t)=>{var n=Zr(),r=$t(n),i=e=>{cr(e,Xr())};yr(r,e=>{$(t).index&&$(t).index%5==0&&e(i)});var o=en(r,2),s=Qt(o),c=Qt(s),l=en(c);je(s),je(o),vn(()=>{Pr(c,1,`bi bi-${$(t).icon??``}`,`svelte-1s0fskg`),dr(l,` ${$(t).label??``}`)}),$n(`click`,o,()=>{$(t).catchAll?a(void 0):a($(t).key)}),cr(e,n)}),je(c);var l=en(c,2),u=e=>{var t=$r();Cr(t,21,()=>r().filter(e=>a()?e.topic===a():!0),e=>e.title,(e,t)=>{var n=Qr(),r=Qt(n),i=en(r,4),a=Qt(i,!0);je(i);var o=en(i,2);kr(o,()=>$(t).text,!0),je(o),je(n),vn((e,n)=>{Rr(r,`id`,`q1_${e??``}`),Rr(i,`for`,`q1_${n??``}`),dr(a,$(t).title)},[()=>$(t).title.replace(/ /g,``),()=>$(t).title.replace(/ /g,``)]),cr(e,n)}),je(t),cr(e,t)},d=kt(()=>Array.isArray(r()));return yr(l,e=>{$(d)&&e(u)}),cr(e,s),He(o)}er([`click`]),customElements.define(`hb-faq-component`,Jr(ni,{id:{},info:{},topics:{},filter:{}},[],[],{mode:`open`})),e.Component=ni})(this[`faq-component`]=this[`faq-component`]||{});
9
+ //# sourceMappingURL=main.iife.js.map