@htmlbricks/hb-skeleton-component 0.61.40 → 0.61.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,6 +1,6 @@
1
- (function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const jr=1,Fr=2,qr=16,Yr=1,Hr=2,It="[",tt="[!",rt="]",ye={},A=Symbol(),Mt=!1;var nt=Array.isArray,Ur=Array.prototype.indexOf,st=Array.from,je=Object.keys,$e=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,Vr=Object.prototype,Br=Array.prototype,Gr=Object.getPrototypeOf,Dt=Object.isExtensible;function Lt(e){for(var t=0;t<e.length;t++)e[t]()}function Xr(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const M=2,it=4,jt=8,xe=16,J=32,ne=64,Ft=128,q=256,Fe=512,N=1024,Y=2048,se=4096,B=8192,ue=16384,lt=32768,at=65536,qt=1<<17,Wr=1<<18,ke=1<<19,zr=1<<20,ot=1<<21,ft=1<<22,ce=1<<23,ut=Symbol("$state"),Kr=Symbol("legacy props"),ct=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Yt=3,Pe=8;function Jr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Zr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Qr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function en(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function tn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function rn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function nn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function sn(){throw new Error("https://svelte.dev/e/hydration_failed")}function ln(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function an(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function on(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let R=!1;function Z(e){R=e}let T;function G(e){if(e===null)throw qe(),ye;return T=e}function Ie(){return G(le(T))}function Ye(e){if(R){if(le(T)!==null)throw qe(),ye;T=e}}function dt(){for(var e=0,t=T;;){if(t.nodeType===Pe){var r=t.data;if(r===rt){if(e===0)return t;e-=1}else(r===It||r===tt)&&(e+=1)}var n=le(t);t.remove(),t=n}}function Ht(e){if(!e||e.nodeType!==Pe)throw qe(),ye;return e.data}function Ut(e){return e===this.v}function fn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vt(e){return!fn(e,this.v)}let un=!1,H=null;function He(e){H=e}function Bt(e,t=!1,r){H={p:H,c:null,e:null,s:e,x:null,l:null}}function Gt(e){var t=H,r=t.e;if(r!==null){t.e=null;for(var n of r)dr(n)}return e!==void 0&&(t.x=e),H=t.p,e??{}}function Xt(){return!0}const cn=new WeakMap;function dn(e){var t=m;if(t===null)return y.f|=ce,e;if((t.f&lt)===0){if((t.f&Ft)===0)throw!t.parent&&e instanceof Error&&Wt(e),e;t.b.error(e)}else vt(e,t)}function vt(e,t){for(;t!==null;){if((t.f&Ft)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Wt(e),e}function Wt(e){const t=cn.get(e);t&&($e(e,"message",{value:t.message}),$e(e,"stack",{value:t.stack}))}let ht=[],_t=[];function vn(){var e=ht;ht=[],Lt(e)}function hn(){var e=_t;_t=[],Lt(e)}function _n(){ht.length>0&&vn(),_t.length>0&&hn()}function bn(){const e=m.b;return e===null&&Jr(),e}function bt(e){var t=M|Y,r=y!==null&&(y.f&M)!==0?y:null;return m===null||r!==null&&(r.f&q)!==0?t|=q:m.f|=ke,{ctx:H,deps:null,effects:null,equals:Ut,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:r??m,ac:null}}function pn(e,t){let r=m;r===null&&Qr();var n=r.b,s=void 0,i=De(A),l=null,a=!y;return Cn(()=>{try{var o=e();l&&Promise.resolve(o).catch(()=>{})}catch(v){o=Promise.reject(v)}var f=()=>o;s=l?.then(f,f)??Promise.resolve(o),l=s;var u=C,h=n.is_pending();a&&(n.update_pending_count(1),h||u.increment());const c=(v,d=void 0)=>{l=null,h||u.activate(),d?d!==ct&&(i.f|=ce,Ge(i,d)):((i.f&ce)!==0&&(i.f^=ce),Ge(i,v)),a&&(n.update_pending_count(-1),h||u.decrement()),Jt()};if(s.then(c,v=>c(null,v||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(o=>{function f(u){function h(){u===s?o(i):f(s)}u.then(h,h)}f(s)})}function gn(e){const t=bt(e);return t.equals=Vt,t}function zt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)X(t[r])}}function mn(e){for(var t=e.parent;t!==null;){if((t.f&M)===0)return t;t=t.parent}return null}function pt(e){var t,r=m;ae(mn(e));try{zt(e),t=Tr(e)}finally{ae(r)}return t}function Kt(e){var t=pt(e);if(e.equals(t)||(e.v=t,e.wv=xr()),!pe){var r=(oe||(e.f&q)!==0)&&e.deps!==null?se:N;j(e,r)}}function wn(e,t,r){const n=bt;if(t.length===0){r(e.map(n));return}var s=C,i=m,l=yn(),a=bn();Promise.all(t.map(o=>pn(o))).then(o=>{s?.activate(),l();try{r([...e.map(n),...o])}catch(f){(i.f&ue)===0&&vt(f,i)}s?.deactivate(),Jt()}).catch(o=>{a.error(o)})}function yn(){var e=m,t=y,r=H,n=C;return function(){ae(e),z(t),He(r),n?.activate()}}function Jt(){ae(null),z(null),He(null)}const gt=new Set;let C=null,Zt=new Set,Ue=[];function Qt(){const e=Ue.shift();Ue.length>0&&queueMicrotask(Qt),e()}let de=[],Ve=null,mt=!1,Be=!1;class ve{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#u=!1;#s=[];#l=[];#i=[];#n=[];#a=[];#c=[];#d=[];skipped_effects=new Set;process(t){de=[];for(const s of t)this.#h(s);if(this.#s.length===0&&this.#r===0){this.#v();var r=this.#i,n=this.#n;this.#i=[],this.#n=[],this.#a=[],C=null,tr(r),tr(n),C===null?C=this:gt.delete(this),this.#f?.resolve()}else this.#o(this.#i),this.#o(this.#n),this.#o(this.#a);for(const s of this.#s)Ae(s);for(const s of this.#l)Ae(s);this.#s=[],this.#l=[]}#h(t){t.f^=N;for(var r=t.first;r!==null;){var n=r.f,s=(n&(J|ne))!==0,i=s&&(n&N)!==0,l=i||(n&B)!==0||this.skipped_effects.has(r);if(!l&&r.fn!==null){if(s)r.f^=N;else if((n&it)!==0)this.#n.push(r);else if((n&N)===0)if((n&ft)!==0){var a=r.b?.is_pending()?this.#l:this.#s;a.push(r)}else We(r)&&((r.f&xe)!==0&&this.#a.push(r),Ae(r));var o=r.first;if(o!==null){r=o;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&Y)!==0?this.#c:this.#d).push(r),j(r,N);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){C=this}deactivate(){C=null;for(const t of Zt)if(Zt.delete(t),t(),C!==null)break}neuter(){this.#u=!0}flush(){de.length>0?er():this.#v(),C===this&&(this.#r===0&&gt.delete(this),this.deactivate())}#v(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)j(t,Y),Te(t);for(const t of this.#d)j(t,se),Te(t);this.#i=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Xr()).promise}static ensure(){if(C===null){const t=C=new ve;gt.add(C),Be||ve.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Ue.length===0&&queueMicrotask(Qt),Ue.unshift(t)}}function Me(e){var t=Be;Be=!0;try{for(var r;;){if(_n(),de.length===0&&(C?.flush(),de.length===0))return Ve=null,r;er()}}finally{Be=t}}function er(){var e=Ce;mt=!0;try{var t=0;for(wr(!0);de.length>0;){var r=ve.ensure();if(t++>1e3){var n,s;$n()}r.process(de),ie.clear()}}finally{mt=!1,wr(e),Ve=null}}function $n(){try{nn()}catch(e){vt(e,Ve)}}let he=null;function tr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ue|B))===0&&We(n)&&(he=[],Ae(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?pr(n):n.fn=null),he?.length>0)){ie.clear();for(const s of he)Ae(s);he=[]}}he=null}}function Te(e){for(var t=Ve=e;t.parent!==null;){t=t.parent;var r=t.f;if(mt&&t===m&&(r&xe)!==0)return;if((r&(ne|J))!==0){if((r&N)===0)return;t.f^=N}}de.push(t)}const ie=new Map;function De(e,t){var r={f:0,v:e,reactions:null,equals:Ut,rv:0,wv:0};return r}function Q(e,t){const r=De(e);return Pn(r),r}function rr(e,t=!1,r=!0){const n=De(e);return t||(n.equals=Vt),n}function ee(e,t,r=!1){y!==null&&(!W||(y.f&qt)!==0)&&Xt()&&(y.f&(M|xe|ft|qt))!==0&&!re?.includes(e)&&on();let n=r?Re(t):t;return Ge(e,n)}function Ge(e,t){if(!e.equals(t)){var r=e.v;pe?ie.set(e,t):ie.set(e,r),e.v=t;var n=ve.ensure();n.capture(e,r),(e.f&M)!==0&&((e.f&Y)!==0&&pt(e),j(e,(e.f&q)===0?N:se)),e.wv=xr(),nr(e,Y),m!==null&&(m.f&N)!==0&&(m.f&(J|ne))===0&&(U===null?In([e]):U.push(e))}return t}function wt(e){ee(e,e.v+1)}function nr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],l=i.f,a=(l&Y)===0;a&&j(i,t),(l&M)!==0?nr(i,se):a&&((l&xe)!==0&&he!==null&&he.push(i),Te(i))}}function Re(e){if(typeof e!="object"||e===null||ut in e)return e;const t=Gr(e);if(t!==Vr&&t!==Br)return e;var r=new Map,n=nt(e),s=Q(0),i=ge,l=a=>{if(ge===i)return a();var o=y,f=ge;z(null),Er(i);var u=a();return z(o),Er(f),u};return n&&r.set("length",Q(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&ln();var u=r.get(o);return u===void 0?u=l(()=>{var h=Q(f.value);return r.set(o,h),h}):ee(u,f.value,!0),!0},deleteProperty(a,o){var f=r.get(o);if(f===void 0){if(o in a){const u=l(()=>Q(A));r.set(o,u),wt(s)}}else ee(f,A),wt(s);return!0},get(a,o,f){if(o===ut)return e;var u=r.get(o),h=o in a;if(u===void 0&&(!h||Ee(a,o)?.writable)&&(u=l(()=>{var v=Re(h?a[o]:A),d=Q(v);return d}),r.set(o,u)),u!==void 0){var c=L(u);return c===A?void 0:c}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var u=r.get(o);u&&(f.value=L(u))}else if(f===void 0){var h=r.get(o),c=h?.v;if(h!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,o){if(o===ut)return!0;var f=r.get(o),u=f!==void 0&&f.v!==A||Reflect.has(a,o);if(f!==void 0||m!==null&&(!u||Ee(a,o)?.writable)){f===void 0&&(f=l(()=>{var c=u?Re(a[o]):A,v=Q(c);return v}),r.set(o,f));var h=L(f);if(h===A)return!1}return u},set(a,o,f,u){var h=r.get(o),c=o in a;if(n&&o==="length")for(var v=f;v<h.v;v+=1){var d=r.get(v+"");d!==void 0?ee(d,A):v in a&&(d=l(()=>Q(A)),r.set(v+"",d))}if(h===void 0)(!c||Ee(a,o)?.writable)&&(h=l(()=>Q(void 0)),ee(h,Re(f)),r.set(o,h));else{c=h.v!==A;var _=l(()=>Re(f));ee(h,_)}var p=Reflect.getOwnPropertyDescriptor(a,o);if(p?.set&&p.set.call(u,f),!c){if(n&&typeof o=="string"){var E=r.get("length"),w=Number(o);Number.isInteger(w)&&w>=E.v&&ee(E,w+1)}wt(s)}return!0},ownKeys(a){L(s);var o=Reflect.ownKeys(a).filter(h=>{var c=r.get(h);return c===void 0||c.v!==A});for(var[f,u]of r)u.v!==A&&!(f in a)&&o.push(f);return o},setPrototypeOf(){an()}})}var sr,ir,lr,ar;function yt(){if(sr===void 0){sr=window,ir=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;lr=Ee(t,"firstChild").get,ar=Ee(t,"nextSibling").get,Dt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Dt(r)&&(r.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function be(e){return lr.call(e)}function le(e){return ar.call(e)}function $t(e,t){if(!R)return be(e);var r=be(T);if(r===null)r=T.appendChild(_e());else if(t&&r.nodeType!==Yt){var n=_e();return r?.before(n),G(n),n}return G(r),r}function En(e,t){if(!R){var r=be(e);return r instanceof Comment&&r.data===""?le(r):r}return T}function Xe(e,t=1,r=!1){let n=R?T:e;for(var s;t--;)s=n,n=le(n);if(!R)return n;if(r&&n?.nodeType!==Yt){var i=_e();return n===null?s?.after(i):n.before(i),G(i),i}return G(n),n}function or(e){e.textContent=""}function fr(){return!1}function ur(e){var t=y,r=m;z(null),ae(null);try{return e()}finally{z(t),ae(r)}}function xn(e){m===null&&y===null&&rn(),y!==null&&(y.f&q)!==0&&m===null&&tn(),pe&&en()}function kn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function te(e,t,r,n=!0){var s=m;s!==null&&(s.f&B)!==0&&(e|=B);var i={ctx:H,deps:null,nodes_start:null,nodes_end:null,f:e|Y,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ae(i),i.f|=lt}catch(o){throw X(i),o}else t!==null&&Te(i);if(n){var l=i;if(r&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ke)===0&&(l=l.first),l!==null&&(l.parent=s,s!==null&&kn(l,s),y!==null&&(y.f&M)!==0&&(e&ne)===0)){var a=y;(a.effects??=[]).push(l)}}return i}function cr(e){xn();var t=m.f,r=!y&&(t&J)!==0&&(t&lt)===0;if(r){var n=H;(n.e??=[]).push(e)}else return dr(e)}function dr(e){return te(it|zr,e,!1)}function Tn(e){ve.ensure();const t=te(ne|ke,e,!0);return()=>{X(t)}}function Rn(e){ve.ensure();const t=te(ne|ke,e,!0);return(r={})=>new Promise(n=>{r.outro?Et(t,()=>{X(t),n(void 0)}):(X(t),n(void 0))})}function Sn(e){return te(it,e,!1)}function Cn(e){return te(ft|ke,e,!0)}function An(e,t=0){return te(jt|t,e,!0)}function vr(e,t=[],r=[]){wn(t,r,n=>{te(jt,()=>e(...n.map(L)),!0)})}function hr(e,t=0){var r=te(xe|t,e,!0);return r}function Se(e,t=!0){return te(J|ke,e,!0,t)}function _r(e){var t=e.teardown;if(t!==null){const r=pe,n=y;yr(!0),z(null);try{t.call(null)}finally{yr(r),z(n)}}}function br(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&ur(()=>{s.abort(ct)});var n=r.next;(r.f&ne)!==0?r.parent=null:X(r,t),r=n}}function Nn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&J)===0&&X(t),t=r}}function X(e,t=!0){var r=!1;(t||(e.f&Wr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(On(e.nodes_start,e.nodes_end),r=!0),br(e,t&&!r),ze(e,0),j(e,ue);var n=e.transitions;if(n!==null)for(const i of n)i.stop();_r(e);var s=e.parent;s!==null&&s.first!==null&&pr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function On(e,t){for(;e!==null;){var r=e===t?null:le(e);e.remove(),e=r}}function pr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Et(e,t){var r=[];xt(e,r,!0),gr(r,()=>{X(e),t&&t()})}function gr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function xt(e,t,r){if((e.f&B)===0){if(e.f^=B,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&at)!==0||(n.f&J)!==0;xt(n,t,i?r:!1),n=s}}}function kt(e){mr(e,!0)}function mr(e,t){if((e.f&B)!==0){e.f^=B,(e.f&N)===0&&(j(e,Y),Te(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&at)!==0||(r.f&J)!==0;mr(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let Ce=!1;function wr(e){Ce=e}let pe=!1;function yr(e){pe=e}let y=null,W=!1;function z(e){y=e}let m=null;function ae(e){m=e}let re=null;function Pn(e){y!==null&&(re===null?re=[e]:re.push(e))}let O=null,D=0,U=null;function In(e){U=e}let $r=1,Le=0,ge=Le;function Er(e){ge=e}let oe=!1;function xr(){return++$r}function We(e){var t=e.f;if((t&Y)!==0)return!0;if((t&se)!==0){var r=e.deps,n=(t&q)!==0;if(r!==null){var s,i,l=(t&Fe)!==0,a=n&&m!==null&&!oe,o=r.length;if((l||a)&&(m===null||(m.f&ue)===0)){var f=e,u=f.parent;for(s=0;s<o;s++)i=r[s],(l||!i?.reactions?.includes(f))&&(i.reactions??=[]).push(f);l&&(f.f^=Fe),a&&u!==null&&(u.f&q)===0&&(f.f^=q)}for(s=0;s<o;s++)if(i=r[s],We(i)&&Kt(i),i.wv>e.wv)return!0}(!n||m!==null&&!oe)&&j(e,N)}return!1}function kr(e,t,r=!0){var n=e.reactions;if(n!==null&&!re?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&M)!==0?kr(i,t,!1):t===i&&(r?j(i,Y):(i.f&N)!==0&&j(i,se),Te(i))}}function Tr(e){var t=O,r=D,n=U,s=y,i=oe,l=re,a=H,o=W,f=ge,u=e.f;O=null,D=0,U=null,oe=(u&q)!==0&&(W||!Ce||y===null),y=(u&(J|ne))===0?e:null,re=null,He(e.ctx),W=!1,ge=++Le,e.ac!==null&&(ur(()=>{e.ac.abort(ct)}),e.ac=null);try{e.f|=ot;var h=e.fn,c=h(),v=e.deps;if(O!==null){var d;if(ze(e,D),v!==null&&D>0)for(v.length=D+O.length,d=0;d<O.length;d++)v[D+d]=O[d];else e.deps=v=O;if(!oe||(u&M)!==0&&e.reactions!==null)for(d=D;d<v.length;d++)(v[d].reactions??=[]).push(e)}else v!==null&&D<v.length&&(ze(e,D),v.length=D);if(Xt()&&U!==null&&!W&&v!==null&&(e.f&(M|se|Y))===0)for(d=0;d<U.length;d++)kr(U[d],e);return s!==null&&s!==e&&(Le++,U!==null&&(n===null?n=U:n.push(...U))),(e.f&ce)!==0&&(e.f^=ce),c}catch(_){return dn(_)}finally{e.f^=ot,O=t,D=r,U=n,y=s,oe=i,re=l,He(a),W=o,ge=f}}function Mn(e,t){let r=t.reactions;if(r!==null){var n=Ur.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&M)!==0&&(O===null||!O.includes(t))&&(j(t,se),(t.f&(q|Fe))===0&&(t.f^=Fe),zt(t),ze(t,0))}function ze(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Mn(e,r[n])}function Ae(e){var t=e.f;if((t&ue)===0){j(e,N);var r=m,n=Ce;m=e,Ce=!0;try{(t&xe)!==0?Nn(e):br(e),_r(e);var s=Tr(e);e.teardown=typeof s=="function"?s:null,e.wv=$r;var i;Mt&&un&&(e.f&Y)!==0&&e.deps}finally{Ce=n,m=r}}}function L(e){var t=e.f,r=(t&M)!==0;if(y!==null&&!W){var n=m!==null&&(m.f&ue)!==0;if(!n&&!re?.includes(e)){var s=y.deps;if((y.f&ot)!==0)e.rv<Le&&(e.rv=Le,O===null&&s!==null&&s[D]===e?D++:O===null?O=[e]:(!oe||!O.includes(e))&&O.push(e));else{(y.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[y]:i.includes(y)||i.push(y)}}}else if(r&&e.deps===null&&e.effects===null){var l=e,a=l.parent;a!==null&&(a.f&q)===0&&(l.f^=q)}if(pe){if(ie.has(e))return ie.get(e);if(r){l=e;var o=l.v;return((l.f&N)===0&&l.reactions!==null||Rr(l))&&(o=pt(l)),ie.set(l,o),o}}else r&&(l=e,We(l)&&Kt(l));if((e.f&ce)!==0)throw e.v;return e.v}function Rr(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ie.has(t)||(t.f&M)!==0&&Rr(t))return!0;return!1}function Dn(e){var t=W;try{return W=!0,e()}finally{W=t}}const Ln=-7169;function j(e,t){e.f=e.f&Ln|t}const Sr=new Set,Tt=new Set;function jn(e){for(var t=0;t<e.length;t++)Sr.add(e[t]);for(var r of Tt)r(e)}let Cr=null;function Ke(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Cr=e;var l=0,a=Cr===e&&e.__root;if(a){var o=s.indexOf(a);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(i=s[l]||e.target,i!==t){$e(e,"currentTarget",{configurable:!0,get(){return i||r}});var u=y,h=m;z(null),ae(null);try{for(var c,v=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var _=i["__"+n];if(_!=null&&(!i.disabled||e.target===i))if(nt(_)){var[p,...E]=_;p.apply(i,[e,...E])}else _.call(i,e)}catch(w){c?v.push(w):c=w}if(e.cancelBubble||d===t||d===null)break;i=d}if(c){for(let w of v)queueMicrotask(()=>{throw w});throw c}}finally{e.__root=t,delete e.currentTarget,z(u),ae(h)}}}function Fn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Je(e,t){var r=m;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Rt(e,t){var r=(t&Yr)!==0,n=(t&Hr)!==0,s,i=!e.startsWith("<!>");return()=>{if(R)return Je(T,null),T;s===void 0&&(s=Fn(i?e:"<!>"+e),r||(s=be(s)));var l=n||ir?document.importNode(s,!0):s.cloneNode(!0);if(r){var a=be(l),o=l.lastChild;Je(a,o)}else Je(l,l);return l}}function Ze(e,t){if(R){m.nodes_end=T,Ie();return}e!==null&&e.before(t)}const qn=["touchstart","touchmove"];function Yn(e){return qn.includes(e)}function St(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Ar(e,t){return Nr(e,t)}function Hn(e,t){yt(),t.intro=t.intro??!1;const r=t.target,n=R,s=T;try{for(var i=be(r);i&&(i.nodeType!==Pe||i.data!==It);)i=le(i);if(!i)throw ye;Z(!0),G(i),Ie();const l=Nr(e,{...t,anchor:i});if(T===null||T.nodeType!==Pe||T.data!==rt)throw qe(),ye;return Z(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==ye&&console.warn("Failed to hydrate: ",l),t.recover===!1&&sn(),yt(),or(r),Z(!1),Ar(e,t)}finally{Z(n),G(s)}}const Ne=new Map;function Nr(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:l=!0}){yt();var a=new Set,o=h=>{for(var c=0;c<h.length;c++){var v=h[c];if(!a.has(v)){a.add(v);var d=Yn(v);t.addEventListener(v,Ke,{passive:d});var _=Ne.get(v);_===void 0?(document.addEventListener(v,Ke,{passive:d}),Ne.set(v,1)):Ne.set(v,_+1)}}};o(st(Sr)),Tt.add(o);var f=void 0,u=Rn(()=>{var h=r??t.appendChild(_e());return Se(()=>{if(i){Bt({});var c=H;c.c=i}s&&(n.$$events=s),R&&Je(h,null),f=e(h,n)||{},R&&(m.nodes_end=T),i&&Gt()}),()=>{for(var c of a){t.removeEventListener(c,Ke);var v=Ne.get(c);--v===0?(document.removeEventListener(c,Ke),Ne.delete(c)):Ne.set(c,v)}Tt.delete(o),h!==r&&h.parentNode?.removeChild(h)}});return Ct.set(f,u),f}let Ct=new WeakMap;function Un(e,t){const r=Ct.get(e);return r?(Ct.delete(e),r(t)):Promise.resolve()}function Vn(e){H===null&&Zr(),cr(()=>{const t=Dn(e);if(typeof t=="function")return t})}function Bn(e,t,r=!1){R&&Ie();var n=e,s=null,i=null,l=A,a=r?at:0,o=!1;const f=(v,d=!0)=>{o=!0,c(d,v)};var u=null;function h(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var v=l?s:i,d=l?i:s;v&&kt(v),d&&Et(d,()=>{l?i=null:s=null})}const c=(v,d)=>{if(l===(l=v))return;let _=!1;if(R){const k=Ht(n)===tt;!!l===k&&(n=dt(),G(n),Z(!1),_=!0)}var p=fr(),E=n;if(p&&(u=document.createDocumentFragment(),u.append(E=_e())),l?s??=d&&Se(()=>d(E)):i??=d&&Se(()=>d(E)),p){var w=C,b=l?s:i,x=l?i:s;b&&w.skipped_effects.delete(b),x&&w.skipped_effects.add(x),w.add_callback(h)}else h();_&&Z(!0)};hr(()=>{o=!1,t(f),o||c(null,null)},a),R&&(n=T)}function Gn(e,t){return t}function Xn(e,t,r){for(var n=e.items,s=[],i=t.length,l=0;l<i;l++)xt(t[l].e,s,!0);var a=i>0&&s.length===0&&r!==null;if(a){var o=r.parentNode;or(o),o.append(r),n.clear(),K(e,t[0].prev,t[i-1].next)}gr(s,()=>{for(var f=0;f<i;f++){var u=t[f];a||(n.delete(u.k),K(e,u.prev,u.next)),X(u.e,!a)}})}function Wn(e,t,r,n,s,i=null){var l=e,a={flags:t,items:new Map,first:null};{var o=e;l=R?G(be(o)):o.appendChild(_e())}R&&Ie();var f=null,u=!1,h=new Map,c=gn(()=>{var p=r();return nt(p)?p:p==null?[]:st(p)}),v,d;function _(){zn(d,v,a,h,l,s,t,n,r),i!==null&&(v.length===0?f?kt(f):f=Se(()=>i(l)):f!==null&&Et(f,()=>{f=null}))}hr(()=>{d??=m,v=L(c);var p=v.length;if(u&&p===0)return;u=p===0;let E=!1;if(R){var w=Ht(l)===tt;w!==(p===0)&&(l=dt(),G(l),Z(!1),E=!0)}if(R){for(var b=null,x,k=0;k<p;k++){if(T.nodeType===Pe&&T.data===rt){l=T,E=!0,Z(!1);break}var P=v[k],S=n(P,k);x=At(T,a,b,null,P,S,k,s,t,r),a.items.set(S,x),b=x}p>0&&G(dt())}if(R)p===0&&i&&(f=Se(()=>i(l)));else if(fr()){var V=new Set,I=C;for(k=0;k<p;k+=1){P=v[k],S=n(P,k);var fe=a.items.get(S)??h.get(S);fe?Or(fe,P,k):(x=At(null,a,null,null,P,S,k,s,t,r,!0),h.set(S,x)),V.add(S)}for(const[me,we]of a.items)V.has(me)||I.skipped_effects.add(we.e);I.add_callback(_)}else _();E&&Z(!0),L(c)}),R&&(l=T)}function zn(e,t,r,n,s,i,l,a,o){var f=t.length,u=r.items,h=r.first,c=h,v,d=null,_=[],p=[],E,w,b,x;for(x=0;x<f;x+=1){if(E=t[x],w=a(E,x),b=u.get(w),b===void 0){var k=n.get(w);if(k!==void 0){n.delete(w),u.set(w,k);var P=d?d.next:c;K(r,d,k),K(r,k,P),Nt(k,P,s),d=k}else{var S=c?c.e.nodes_start:s;d=At(S,r,d,d===null?r.first:d.next,E,w,x,i,l,o)}u.set(w,d),_=[],p=[],c=d.next;continue}if(Or(b,E,x),(b.e.f&B)!==0&&kt(b.e),b!==c){if(v!==void 0&&v.has(b)){if(_.length<p.length){var V=p[0],I;d=V.prev;var fe=_[0],me=_[_.length-1];for(I=0;I<_.length;I+=1)Nt(_[I],V,s);for(I=0;I<p.length;I+=1)v.delete(p[I]);K(r,fe.prev,me.next),K(r,d,fe),K(r,me,V),c=V,d=me,x-=1,_=[],p=[]}else v.delete(b),Nt(b,c,s),K(r,b.prev,b.next),K(r,b,d===null?r.first:d.next),K(r,d,b),d=b;continue}for(_=[],p=[];c!==null&&c.k!==w;)(c.e.f&B)===0&&(v??=new Set).add(c),p.push(c),c=c.next;if(c===null)continue;b=c}_.push(b),d=b,c=b.next}if(c!==null||v!==void 0){for(var we=v===void 0?[]:st(v);c!==null;)(c.e.f&B)===0&&we.push(c),c=c.next;var $=we.length;if($>0){var g=f===0?s:null;Xn(r,we,g)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var F of n.values())X(F.e);n.clear()}function Or(e,t,r,n){Ge(e.v,t),e.i=r}function At(e,t,r,n,s,i,l,a,o,f,u){var h=(o&jr)!==0,c=(o&qr)===0,v=h?c?rr(s,!1,!1):De(s):s,d=(o&Fr)===0?l:De(l),_={i:d,v,k:i,a:null,e:null,prev:r,next:n};try{if(e===null){var p=document.createDocumentFragment();p.append(e=_e())}return _.e=Se(()=>a(e,v,d,f),R),_.e.prev=r&&r.e,_.e.next=n&&n.e,r===null?u||(t.first=_):(r.next=_,r.e.next=_.e),n!==null&&(n.prev=_,n.e.prev=_.e),_}finally{}}function Nt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,s=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==null&&i!==n;){var l=le(i);s.before(i),i=l}}function K(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Kn(e,t,r,n,s){R&&Ie();var i=t.$$slots?.[r],l=!1;i===!0&&(i=t[r],l=!0),i===void 0||i(e,l?()=>n:n)}function Jn(e){const t={};e.children&&(t.default=!0);for(const r in e.$$slots)t[r]=!0;return t}function Zn(e,t){Sn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function Qe(e,t,r,n){var s=n,i=!0,l=()=>(i&&(i=!1,s=n),s),a;a=e[t],a===void 0&&n!==void 0&&(a=l());var o;o=()=>{var c=e[t];return c===void 0?l():(i=!0,c)};var f=!1,u=bt(()=>(f=!1,o())),h=m;return(function(c,v){if(arguments.length>0){const d=v?L(u):c;return ee(u,d),f=!0,s!==void 0&&(s=d),c}return pe&&f||(h.f&ue)!==0?u.v:L(u)})}function Qn(e){return new es(e)}class es{#t;#e;constructor(t){var r=new Map,n=(i,l)=>{var a=rr(l,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,l){return L(r.get(l)??n(l,Reflect.get(i,l)))},has(i,l){return l===Kr?!0:(L(r.get(l)??n(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,a){return ee(r.get(l)??n(l,a),a),Reflect.set(i,l,a)}});this.#e=(t.hydrate?Hn:Ar)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Me(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||$e(this,i,{get(){return this.#e[i]},set(l){this.#e[i]=l},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Un(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Pr;typeof HTMLElement=="function"&&(Pr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),Ze(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ts(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=et(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=Qn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Tn(()=>{An(()=>{this.$$r=!0;for(const n of je(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=et(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=et(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function et(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 ts(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function rs(e,t,r,n,s,i){let l=class extends Pr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return je(t).map(a=>(t[a].attribute||a).toLowerCase())}};return je(t).forEach(a=>{$e(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=et(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var u=Ee(f,a)?.get;u?f[a]=o:f.$set({[a]:o})}}})}),n.forEach(a=>{$e(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}function ns(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oe={},Ot,Ir;function ss(){if(Ir)return Ot;Ir=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,o=`
3
- `,f="/",u="*",h="",c="comment",v="declaration";Ot=function(_,p){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];p=p||{};var E=1,w=1;function b($){var g=$.match(t);g&&(E+=g.length);var F=$.lastIndexOf(o);w=~F?$.length-F:w+$.length}function x(){var $={line:E,column:w};return function(g){return g.position=new k($),V(),g}}function k($){this.start=$,this.end={line:E,column:w},this.source=p.source}k.prototype.content=_;function P($){var g=new Error(p.source+":"+E+":"+w+": "+$);if(g.reason=$,g.filename=p.source,g.line=E,g.column=w,g.source=_,!p.silent)throw g}function S($){var g=$.exec(_);if(g){var F=g[0];return b(F),_=_.slice(F.length),g}}function V(){S(r)}function I($){var g;for($=$||[];g=fe();)g!==!1&&$.push(g);return $}function fe(){var $=x();if(!(f!=_.charAt(0)||u!=_.charAt(1))){for(var g=2;h!=_.charAt(g)&&(u!=_.charAt(g)||f!=_.charAt(g+1));)++g;if(g+=2,h===_.charAt(g-1))return P("End of comment missing");var F=_.slice(2,g-2);return w+=2,b(F),_=_.slice(g),w+=2,$({type:c,comment:F})}}function me(){var $=x(),g=S(n);if(g){if(fe(),!S(s))return P("property missing ':'");var F=S(i),ds=$({type:v,property:d(g[0].replace(e,h)),value:F?d(F[0].replace(e,h)):h});return S(l),ds}}function we(){var $=[];I($);for(var g;g=me();)g!==!1&&($.push(g),I($));return $}return V(),we()};function d(_){return _?_.replace(a,h):h}return Ot}var Mr;function is(){if(Mr)return Oe;Mr=1;var e=Oe&&Oe.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.default=r;var t=e(ss());function r(n,s){var i=null;if(!n||typeof n!="string")return i;var l=(0,t.default)(n),a=typeof s=="function";return l.forEach(function(o){if(o.type==="declaration"){var f=o.property,u=o.value;a?s(f,u,o):u&&(i=i||{},i[f]=u)}}),i}return Oe}var ls=is();const Dr=ns(ls);Dr.default;var as=(e,t)=>t(),os=Rt('<span class="svelte-t6mhe0"> </span>'),fs=Rt('<div class="svelte-t6mhe0"></div>'),us=Rt('<div part="testpart" id="skeletontest" class="svelte-t6mhe0"> </div> <!> <div part="testpart" class="svelte-t6mhe0"> </div> slot: <!> /endslot<br class="svelte-t6mhe0"/> ',1);const cs={hash:"svelte-t6mhe0",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");:host {font-family:"Roboto", sans-serif;}
1
+ (function(Mt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const qr=1,Vr=2,Yr=16,Hr=1,Ur=2,Dt="[",rt="[!",nt="]",$e={},O=Symbol(),It=!1;var it=Array.isArray,Br=Array.prototype.indexOf,st=Array.from,Fe=Object.keys,Ee=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Gr=Object.prototype,Wr=Array.prototype,Xr=Object.getPrototypeOf,Lt=Object.isExtensible;function jt(e){for(var t=0;t<e.length;t++)e[t]()}function zr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const D=2,at=4,Ft=8,ke=16,K=32,ne=64,qt=128,q=256,qe=512,A=1024,V=2048,ie=4096,B=8192,fe=16384,lt=32768,ot=65536,Vt=1<<17,Jr=1<<18,Te=1<<19,Kr=1<<20,ut=1<<21,ft=1<<22,ce=1<<23,ct=Symbol("$state"),Zr=Symbol("legacy props"),dt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Yt=3,Me=8;function Qr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function en(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function tn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function nn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function sn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function an(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ln(){throw new Error("https://svelte.dev/e/hydration_failed")}function on(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function un(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ve(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let C=!1;function Z(e){C=e}let T;function G(e){if(e===null)throw Ve(),$e;return T=e}function De(){return G(ae(T))}function Ye(e){if(C){if(ae(T)!==null)throw Ve(),$e;T=e}}function vt(){for(var e=0,t=T;;){if(t.nodeType===Me){var r=t.data;if(r===nt){if(e===0)return t;e-=1}else(r===Dt||r===rt)&&(e+=1)}var n=ae(t);t.remove(),t=n}}function Ht(e){if(!e||e.nodeType!==Me)throw Ve(),$e;return e.data}function Ut(e){return e===this.v}function cn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bt(e){return!cn(e,this.v)}let dn=!1,Y=null;function He(e){Y=e}function Gt(e,t=!1,r){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Wt(e){var t=Y,r=t.e;if(r!==null){t.e=null;for(var n of r)vr(n)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function Xt(){return!0}const vn=new WeakMap;function hn(e){var t=p;if(t===null)return y.f|=ce,e;if((t.f&lt)===0){if((t.f&qt)===0)throw!t.parent&&e instanceof Error&&zt(e),e;t.b.error(e)}else ht(e,t)}function ht(e,t){for(;t!==null;){if((t.f&qt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&zt(e),e}function zt(e){const t=vn.get(e);t&&(Ee(e,"message",{value:t.message}),Ee(e,"stack",{value:t.stack}))}let _t=[],bt=[];function _n(){var e=_t;_t=[],jt(e)}function bn(){var e=bt;bt=[],jt(e)}function gn(){_t.length>0&&_n(),bt.length>0&&bn()}function mn(){const e=p.b;return e===null&&Qr(),e}function gt(e){var t=D|V,r=y!==null&&(y.f&D)!==0?y:null;return p===null||r!==null&&(r.f&q)!==0?t|=q:p.f|=Te,{ctx:Y,deps:null,effects:null,equals:Ut,f:t,fn:e,reactions:null,rv:0,v:O,wv:0,parent:r??p,ac:null}}function pn(e,t){let r=p;r===null&&tn();var n=r.b,i=void 0,s=Le(O),a=null,l=!y;return An(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(v){o=Promise.reject(v)}var u=()=>o;i=a?.then(u,u)??Promise.resolve(o),a=i;var f=N,h=n.is_pending();l&&(n.update_pending_count(1),h||f.increment());const c=(v,d=void 0)=>{a=null,h||f.activate(),d?d!==dt&&(s.f|=ce,We(s,d)):((s.f&ce)!==0&&(s.f^=ce),We(s,v)),l&&(n.update_pending_count(-1),h||f.decrement()),Zt()};if(i.then(c,v=>c(null,v||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(o=>{function u(f){function h(){f===i?o(s):u(i)}f.then(h,h)}u(i)})}function wn(e){const t=gt(e);return t.equals=Bt,t}function Jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)W(t[r])}}function yn(e){for(var t=e.parent;t!==null;){if((t.f&D)===0)return t;t=t.parent}return null}function mt(e){var t,r=p;le(yn(e));try{Jt(e),t=Cr(e)}finally{le(r)}return t}function Kt(e){var t=mt(e);if(e.equals(t)||(e.v=t,e.wv=kr()),!ge){var r=(oe||(e.f&q)!==0)&&e.deps!==null?ie:A;j(e,r)}}function $n(e,t,r){const n=gt;if(t.length===0){r(e.map(n));return}var i=N,s=p,a=En(),l=mn();Promise.all(t.map(o=>pn(o))).then(o=>{i?.activate(),a();try{r([...e.map(n),...o])}catch(u){(s.f&fe)===0&&ht(u,s)}i?.deactivate(),Zt()}).catch(o=>{l.error(o)})}function En(){var e=p,t=y,r=Y,n=N;return function(){le(e),z(t),He(r),n?.activate()}}function Zt(){le(null),z(null),He(null)}const pt=new Set;let N=null,Qt=new Set,Ue=[];function er(){const e=Ue.shift();Ue.length>0&&queueMicrotask(er),e()}let de=[],Be=null,wt=!1,Ge=!1;class ve{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#a=[];#s=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){de=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#l=[],N=null,rr(r),rr(n),N===null?N=this:pt.delete(this),this.#u?.resolve()}else this.#o(this.#s),this.#o(this.#n),this.#o(this.#l);for(const i of this.#i)Ae(i);for(const i of this.#a)Ae(i);this.#i=[],this.#a=[]}#h(t){t.f^=A;for(var r=t.first;r!==null;){var n=r.f,i=(n&(K|ne))!==0,s=i&&(n&A)!==0,a=s||(n&B)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=A;else if((n&at)!==0)this.#n.push(r);else if((n&A)===0)if((n&ft)!==0){var l=r.b?.is_pending()?this.#a:this.#i;l.push(r)}else ze(r)&&((r.f&ke)!==0&&this.#l.push(r),Ae(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#o(t){for(const r of t)((r.f&V)!==0?this.#c:this.#d).push(r),j(r,A);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){N=this}deactivate(){N=null;for(const t of Qt)if(Qt.delete(t),t(),N!==null)break}neuter(){this.#f=!0}flush(){de.length>0?tr():this.#v(),N===this&&(this.#r===0&&pt.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)j(t,V),Ce(t);for(const t of this.#d)j(t,ie),Ce(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=zr()).promise}static ensure(){if(N===null){const t=N=new ve;pt.add(N),Ge||ve.enqueue(()=>{N===t&&t.flush()})}return N}static enqueue(t){Ue.length===0&&queueMicrotask(er),Ue.unshift(t)}}function Ie(e){var t=Ge;Ge=!0;try{for(var r;;){if(gn(),de.length===0&&(N?.flush(),de.length===0))return Be=null,r;tr()}}finally{Ge=t}}function tr(){var e=Oe;wt=!0;try{var t=0;for(yr(!0);de.length>0;){var r=ve.ensure();if(t++>1e3){var n,i;xn()}r.process(de),se.clear()}}finally{wt=!1,yr(e),Be=null}}function xn(){try{an()}catch(e){ht(e,Be)}}let he=null;function rr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(fe|B))===0&&ze(n)&&(he=[],Ae(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?mr(n):n.fn=null),he?.length>0)){se.clear();for(const i of he)Ae(i);he=[]}}he=null}}function Ce(e){for(var t=Be=e;t.parent!==null;){t=t.parent;var r=t.f;if(wt&&t===p&&(r&ke)!==0)return;if((r&(ne|K))!==0){if((r&A)===0)return;t.f^=A}}de.push(t)}const se=new Map;function Le(e,t){var r={f:0,v:e,reactions:null,equals:Ut,rv:0,wv:0};return r}function Q(e,t){const r=Le(e);return Dn(r),r}function nr(e,t=!1,r=!0){const n=Le(e);return t||(n.equals=Bt),n}function ee(e,t,r=!1){y!==null&&(!X||(y.f&Vt)!==0)&&Xt()&&(y.f&(D|ke|ft|Vt))!==0&&!re?.includes(e)&&fn();let n=r?Re(t):t;return We(e,n)}function We(e,t){if(!e.equals(t)){var r=e.v;ge?se.set(e,t):se.set(e,r),e.v=t;var n=ve.ensure();n.capture(e,r),(e.f&D)!==0&&((e.f&V)!==0&&mt(e),j(e,(e.f&q)===0?A:ie)),e.wv=kr(),ir(e,V),p!==null&&(p.f&A)!==0&&(p.f&(K|ne))===0&&(H===null?In([e]):H.push(e))}return t}function yt(e){ee(e,e.v+1)}function ir(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,l=(a&V)===0;l&&j(s,t),(a&D)!==0?ir(s,ie):l&&((a&ke)!==0&&he!==null&&he.push(s),Ce(s))}}function Re(e){if(typeof e!="object"||e===null||ct in e)return e;const t=Xr(e);if(t!==Gr&&t!==Wr)return e;var r=new Map,n=it(e),i=Q(0),s=me,a=l=>{if(me===s)return l();var o=y,u=me;z(null),xr(s);var f=l();return z(o),xr(u),f};return n&&r.set("length",Q(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&on();var f=r.get(o);return f===void 0?f=a(()=>{var h=Q(u.value);return r.set(o,h),h}):ee(f,u.value,!0),!0},deleteProperty(l,o){var u=r.get(o);if(u===void 0){if(o in l){const f=a(()=>Q(O));r.set(o,f),yt(i)}}else ee(u,O),yt(i);return!0},get(l,o,u){if(o===ct)return e;var f=r.get(o),h=o in l;if(f===void 0&&(!h||xe(l,o)?.writable)&&(f=a(()=>{var v=Re(h?l[o]:O),d=Q(v);return d}),r.set(o,f)),f!==void 0){var c=L(f);return c===O?void 0:c}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var f=r.get(o);f&&(u.value=L(f))}else if(u===void 0){var h=r.get(o),c=h?.v;if(h!==void 0&&c!==O)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,o){if(o===ct)return!0;var u=r.get(o),f=u!==void 0&&u.v!==O||Reflect.has(l,o);if(u!==void 0||p!==null&&(!f||xe(l,o)?.writable)){u===void 0&&(u=a(()=>{var c=f?Re(l[o]):O,v=Q(c);return v}),r.set(o,u));var h=L(u);if(h===O)return!1}return f},set(l,o,u,f){var h=r.get(o),c=o in l;if(n&&o==="length")for(var v=u;v<h.v;v+=1){var d=r.get(v+"");d!==void 0?ee(d,O):v in l&&(d=a(()=>Q(O)),r.set(v+"",d))}if(h===void 0)(!c||xe(l,o)?.writable)&&(h=a(()=>Q(void 0)),ee(h,Re(u)),r.set(o,h));else{c=h.v!==O;var _=a(()=>Re(u));ee(h,_)}var g=Reflect.getOwnPropertyDescriptor(l,o);if(g?.set&&g.set.call(f,u),!c){if(n&&typeof o=="string"){var E=r.get("length"),w=Number(o);Number.isInteger(w)&&w>=E.v&&ee(E,w+1)}yt(i)}return!0},ownKeys(l){L(i);var o=Reflect.ownKeys(l).filter(h=>{var c=r.get(h);return c===void 0||c.v!==O});for(var[u,f]of r)f.v!==O&&!(u in l)&&o.push(u);return o},setPrototypeOf(){un()}})}var sr,ar,lr,or;function $t(){if(sr===void 0){sr=window,ar=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;lr=xe(t,"firstChild").get,or=xe(t,"nextSibling").get,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(r)&&(r.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function be(e){return lr.call(e)}function ae(e){return or.call(e)}function Et(e,t){if(!C)return be(e);var r=be(T);if(r===null)r=T.appendChild(_e());else if(t&&r.nodeType!==Yt){var n=_e();return r?.before(n),G(n),n}return G(r),r}function kn(e,t){if(!C){var r=be(e);return r instanceof Comment&&r.data===""?ae(r):r}return T}function Xe(e,t=1,r=!1){let n=C?T:e;for(var i;t--;)i=n,n=ae(n);if(!C)return n;if(r&&n?.nodeType!==Yt){var s=_e();return n===null?i?.after(s):n.before(s),G(s),s}return G(n),n}function ur(e){e.textContent=""}function fr(){return!1}function cr(e){var t=y,r=p;z(null),le(null);try{return e()}finally{z(t),le(r)}}function Tn(e){p===null&&y===null&&sn(),y!==null&&(y.f&q)!==0&&p===null&&nn(),ge&&rn()}function Cn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function te(e,t,r,n=!0){var i=p;i!==null&&(i.f&B)!==0&&(e|=B);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ae(s),s.f|=lt}catch(o){throw W(s),o}else t!==null&&Ce(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Te)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&Cn(a,i),y!==null&&(y.f&D)!==0&&(e&ne)===0)){var l=y;(l.effects??=[]).push(a)}}return s}function dr(e){Tn();var t=p.f,r=!y&&(t&K)!==0&&(t&lt)===0;if(r){var n=Y;(n.e??=[]).push(e)}else return vr(e)}function vr(e){return te(at|Kr,e,!1)}function Rn(e){ve.ensure();const t=te(ne|Te,e,!0);return()=>{W(t)}}function Nn(e){ve.ensure();const t=te(ne|Te,e,!0);return(r={})=>new Promise(n=>{r.outro?xt(t,()=>{W(t),n(void 0)}):(W(t),n(void 0))})}function On(e){return te(at,e,!1)}function An(e){return te(ft|Te,e,!0)}function Sn(e,t=0){return te(Ft|t,e,!0)}function hr(e,t=[],r=[]){$n(t,r,n=>{te(Ft,()=>e(...n.map(L)),!0)})}function _r(e,t=0){var r=te(ke|t,e,!0);return r}function Ne(e,t=!0){return te(K|Te,e,!0,t)}function br(e){var t=e.teardown;if(t!==null){const r=ge,n=y;$r(!0),z(null);try{t.call(null)}finally{$r(r),z(n)}}}function gr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&cr(()=>{i.abort(dt)});var n=r.next;(r.f&ne)!==0?r.parent=null:W(r,t),r=n}}function Pn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&K)===0&&W(t),t=r}}function W(e,t=!0){var r=!1;(t||(e.f&Jr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Mn(e.nodes_start,e.nodes_end),r=!0),gr(e,t&&!r),Je(e,0),j(e,fe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();br(e);var i=e.parent;i!==null&&i.first!==null&&mr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Mn(e,t){for(;e!==null;){var r=e===t?null:ae(e);e.remove(),e=r}}function mr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function xt(e,t){var r=[];kt(e,r,!0),pr(r,()=>{W(e),t&&t()})}function pr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function kt(e,t,r){if((e.f&B)===0){if(e.f^=B,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&ot)!==0||(n.f&K)!==0;kt(n,t,s?r:!1),n=i}}}function Tt(e){wr(e,!0)}function wr(e,t){if((e.f&B)!==0){e.f^=B,(e.f&A)===0&&(j(e,V),Ce(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&ot)!==0||(r.f&K)!==0;wr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Oe=!1;function yr(e){Oe=e}let ge=!1;function $r(e){ge=e}let y=null,X=!1;function z(e){y=e}let p=null;function le(e){p=e}let re=null;function Dn(e){y!==null&&(re===null?re=[e]:re.push(e))}let S=null,I=0,H=null;function In(e){H=e}let Er=1,je=0,me=je;function xr(e){me=e}let oe=!1;function kr(){return++Er}function ze(e){var t=e.f;if((t&V)!==0)return!0;if((t&ie)!==0){var r=e.deps,n=(t&q)!==0;if(r!==null){var i,s,a=(t&qe)!==0,l=n&&p!==null&&!oe,o=r.length;if((a||l)&&(p===null||(p.f&fe)===0)){var u=e,f=u.parent;for(i=0;i<o;i++)s=r[i],(a||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);a&&(u.f^=qe),l&&f!==null&&(f.f&q)===0&&(u.f^=q)}for(i=0;i<o;i++)if(s=r[i],ze(s)&&Kt(s),s.wv>e.wv)return!0}(!n||p!==null&&!oe)&&j(e,A)}return!1}function Tr(e,t,r=!0){var n=e.reactions;if(n!==null&&!re?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&D)!==0?Tr(s,t,!1):t===s&&(r?j(s,V):(s.f&A)!==0&&j(s,ie),Ce(s))}}function Cr(e){var t=S,r=I,n=H,i=y,s=oe,a=re,l=Y,o=X,u=me,f=e.f;S=null,I=0,H=null,oe=(f&q)!==0&&(X||!Oe||y===null),y=(f&(K|ne))===0?e:null,re=null,He(e.ctx),X=!1,me=++je,e.ac!==null&&(cr(()=>{e.ac.abort(dt)}),e.ac=null);try{e.f|=ut;var h=e.fn,c=h(),v=e.deps;if(S!==null){var d;if(Je(e,I),v!==null&&I>0)for(v.length=I+S.length,d=0;d<S.length;d++)v[I+d]=S[d];else e.deps=v=S;if(!oe||(f&D)!==0&&e.reactions!==null)for(d=I;d<v.length;d++)(v[d].reactions??=[]).push(e)}else v!==null&&I<v.length&&(Je(e,I),v.length=I);if(Xt()&&H!==null&&!X&&v!==null&&(e.f&(D|ie|V))===0)for(d=0;d<H.length;d++)Tr(H[d],e);return i!==null&&i!==e&&(je++,H!==null&&(n===null?n=H:n.push(...H))),(e.f&ce)!==0&&(e.f^=ce),c}catch(_){return hn(_)}finally{e.f^=ut,S=t,I=r,H=n,y=i,oe=s,re=a,He(l),X=o,me=u}}function Ln(e,t){let r=t.reactions;if(r!==null){var n=Br.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&D)!==0&&(S===null||!S.includes(t))&&(j(t,ie),(t.f&(q|qe))===0&&(t.f^=qe),Jt(t),Je(t,0))}function Je(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ln(e,r[n])}function Ae(e){var t=e.f;if((t&fe)===0){j(e,A);var r=p,n=Oe;p=e,Oe=!0;try{(t&ke)!==0?Pn(e):gr(e),br(e);var i=Cr(e);e.teardown=typeof i=="function"?i:null,e.wv=Er;var s;It&&dn&&(e.f&V)!==0&&e.deps}finally{Oe=n,p=r}}}function L(e){var t=e.f,r=(t&D)!==0;if(y!==null&&!X){var n=p!==null&&(p.f&fe)!==0;if(!n&&!re?.includes(e)){var i=y.deps;if((y.f&ut)!==0)e.rv<je&&(e.rv=je,S===null&&i!==null&&i[I]===e?I++:S===null?S=[e]:(!oe||!S.includes(e))&&S.push(e));else{(y.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[y]:s.includes(y)||s.push(y)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&q)===0&&(a.f^=q)}if(ge){if(se.has(e))return se.get(e);if(r){a=e;var o=a.v;return((a.f&A)===0&&a.reactions!==null||Rr(a))&&(o=mt(a)),se.set(a,o),o}}else r&&(a=e,ze(a)&&Kt(a));if((e.f&ce)!==0)throw e.v;return e.v}function Rr(e){if(e.v===O)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&D)!==0&&Rr(t))return!0;return!1}function jn(e){var t=X;try{return X=!0,e()}finally{X=t}}const Fn=-7169;function j(e,t){e.f=e.f&Fn|t}const Nr=new Set,Ct=new Set;function qn(e){for(var t=0;t<e.length;t++)Nr.add(e[t]);for(var r of Ct)r(e)}let Or=null;function Ke(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Or=e;var a=0,l=Or===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;o<=u&&(a=o)}if(s=i[a]||e.target,s!==t){Ee(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=y,h=p;z(null),le(null);try{for(var c,v=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+n];if(_!=null&&(!s.disabled||e.target===s))if(it(_)){var[g,...E]=_;g.apply(s,[e,...E])}else _.call(s,e)}catch(w){c?v.push(w):c=w}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let w of v)queueMicrotask(()=>{throw w});throw c}}finally{e.__root=t,delete e.currentTarget,z(f),le(h)}}}function Vn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ze(e,t){var r=p;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Rt(e,t){var r=(t&Hr)!==0,n=(t&Ur)!==0,i,s=!e.startsWith("<!>");return()=>{if(C)return Ze(T,null),T;i===void 0&&(i=Vn(s?e:"<!>"+e),r||(i=be(i)));var a=n||ar?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=be(a),o=a.lastChild;Ze(l,o)}else Ze(a,a);return a}}function Qe(e,t){if(C){p.nodes_end=T,De();return}e!==null&&e.before(t)}const Yn=["touchstart","touchmove"];function Hn(e){return Yn.includes(e)}function Nt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Ar(e,t){return Sr(e,t)}function Un(e,t){$t(),t.intro=t.intro??!1;const r=t.target,n=C,i=T;try{for(var s=be(r);s&&(s.nodeType!==Me||s.data!==Dt);)s=ae(s);if(!s)throw $e;Z(!0),G(s),De();const a=Sr(e,{...t,anchor:s});if(T===null||T.nodeType!==Me||T.data!==nt)throw Ve(),$e;return Z(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==$e&&console.warn("Failed to hydrate: ",a),t.recover===!1&&ln(),$t(),ur(r),Z(!1),Ar(e,t)}finally{Z(n),G(i)}}const Se=new Map;function Sr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){$t();var l=new Set,o=h=>{for(var c=0;c<h.length;c++){var v=h[c];if(!l.has(v)){l.add(v);var d=Hn(v);t.addEventListener(v,Ke,{passive:d});var _=Se.get(v);_===void 0?(document.addEventListener(v,Ke,{passive:d}),Se.set(v,1)):Se.set(v,_+1)}}};o(st(Nr)),Ct.add(o);var u=void 0,f=Nn(()=>{var h=r??t.appendChild(_e());return Ne(()=>{if(s){Gt({});var c=Y;c.c=s}i&&(n.$$events=i),C&&Ze(h,null),u=e(h,n)||{},C&&(p.nodes_end=T),s&&Wt()}),()=>{for(var c of l){t.removeEventListener(c,Ke);var v=Se.get(c);--v===0?(document.removeEventListener(c,Ke),Se.delete(c)):Se.set(c,v)}Ct.delete(o),h!==r&&h.parentNode?.removeChild(h)}});return Ot.set(u,f),u}let Ot=new WeakMap;function Bn(e,t){const r=Ot.get(e);return r?(Ot.delete(e),r(t)):Promise.resolve()}function Gn(e){Y===null&&en(),dr(()=>{const t=jn(e);if(typeof t=="function")return t})}function Wn(e,t,r=!1){C&&De();var n=e,i=null,s=null,a=O,l=r?ot:0,o=!1;const u=(v,d=!0)=>{o=!0,c(d,v)};var f=null;function h(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var v=a?i:s,d=a?s:i;v&&Tt(v),d&&xt(d,()=>{a?s=null:i=null})}const c=(v,d)=>{if(a===(a=v))return;let _=!1;if(C){const k=Ht(n)===rt;!!a===k&&(n=vt(),G(n),Z(!1),_=!0)}var g=fr(),E=n;if(g&&(f=document.createDocumentFragment(),f.append(E=_e())),a?i??=d&&Ne(()=>d(E)):s??=d&&Ne(()=>d(E)),g){var w=N,b=a?i:s,x=a?s:i;b&&w.skipped_effects.delete(b),x&&w.skipped_effects.add(x),w.add_callback(h)}else h();_&&Z(!0)};_r(()=>{o=!1,t(u),o||c(null,null)},l),C&&(n=T)}function Xn(e,t){return t}function zn(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)kt(t[a].e,i,!0);var l=s>0&&i.length===0&&r!==null;if(l){var o=r.parentNode;ur(o),o.append(r),n.clear(),J(e,t[0].prev,t[s-1].next)}pr(i,()=>{for(var u=0;u<s;u++){var f=t[u];l||(n.delete(f.k),J(e,f.prev,f.next)),W(f.e,!l)}})}function Jn(e,t,r,n,i,s=null){var a=e,l={flags:t,items:new Map,first:null};{var o=e;a=C?G(be(o)):o.appendChild(_e())}C&&De();var u=null,f=!1,h=new Map,c=wn(()=>{var g=r();return it(g)?g:g==null?[]:st(g)}),v,d;function _(){Kn(d,v,l,h,a,i,t,n,r),s!==null&&(v.length===0?u?Tt(u):u=Ne(()=>s(a)):u!==null&&xt(u,()=>{u=null}))}_r(()=>{d??=p,v=L(c);var g=v.length;if(f&&g===0)return;f=g===0;let E=!1;if(C){var w=Ht(a)===rt;w!==(g===0)&&(a=vt(),G(a),Z(!1),E=!0)}if(C){for(var b=null,x,k=0;k<g;k++){if(T.nodeType===Me&&T.data===nt){a=T,E=!0,Z(!1);break}var P=v[k],R=n(P,k);x=At(T,l,b,null,P,R,k,i,t,r),l.items.set(R,x),b=x}g>0&&G(vt())}if(C)g===0&&s&&(u=Ne(()=>s(a)));else if(fr()){var U=new Set,M=N;for(k=0;k<g;k+=1){P=v[k],R=n(P,k);var ue=l.items.get(R)??h.get(R);ue?Pr(ue,P,k):(x=At(null,l,null,null,P,R,k,i,t,r,!0),h.set(R,x)),U.add(R)}for(const[we,ye]of l.items)U.has(we)||M.skipped_effects.add(ye.e);M.add_callback(_)}else _();E&&Z(!0),L(c)}),C&&(a=T)}function Kn(e,t,r,n,i,s,a,l,o){var u=t.length,f=r.items,h=r.first,c=h,v,d=null,_=[],g=[],E,w,b,x;for(x=0;x<u;x+=1){if(E=t[x],w=l(E,x),b=f.get(w),b===void 0){var k=n.get(w);if(k!==void 0){n.delete(w),f.set(w,k);var P=d?d.next:c;J(r,d,k),J(r,k,P),St(k,P,i),d=k}else{var R=c?c.e.nodes_start:i;d=At(R,r,d,d===null?r.first:d.next,E,w,x,s,a,o)}f.set(w,d),_=[],g=[],c=d.next;continue}if(Pr(b,E,x),(b.e.f&B)!==0&&Tt(b.e),b!==c){if(v!==void 0&&v.has(b)){if(_.length<g.length){var U=g[0],M;d=U.prev;var ue=_[0],we=_[_.length-1];for(M=0;M<_.length;M+=1)St(_[M],U,i);for(M=0;M<g.length;M+=1)v.delete(g[M]);J(r,ue.prev,we.next),J(r,d,ue),J(r,we,U),c=U,d=we,x-=1,_=[],g=[]}else v.delete(b),St(b,c,i),J(r,b.prev,b.next),J(r,b,d===null?r.first:d.next),J(r,d,b),d=b;continue}for(_=[],g=[];c!==null&&c.k!==w;)(c.e.f&B)===0&&(v??=new Set).add(c),g.push(c),c=c.next;if(c===null)continue;b=c}_.push(b),d=b,c=b.next}if(c!==null||v!==void 0){for(var ye=v===void 0?[]:st(v);c!==null;)(c.e.f&B)===0&&ye.push(c),c=c.next;var $=ye.length;if($>0){var m=u===0?i:null;zn(r,ye,m)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var F of n.values())W(F.e);n.clear()}function Pr(e,t,r,n){We(e.v,t),e.i=r}function At(e,t,r,n,i,s,a,l,o,u,f){var h=(o&qr)!==0,c=(o&Yr)===0,v=h?c?nr(i,!1,!1):Le(i):i,d=(o&Vr)===0?a:Le(a),_={i:d,v,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var g=document.createDocumentFragment();g.append(e=_e())}return _.e=Ne(()=>l(e,v,d,u),C),_.e.prev=r&&r.e,_.e.next=n&&n.e,r===null?f||(t.first=_):(r.next=_,r.e.next=_.e),n!==null&&(n.prev=_,n.e.prev=_.e),_}finally{}}function St(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=ae(s);i.before(s),s=a}}function J(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Zn(e,t,r,n,i){C&&De();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0||s(e,a?()=>n:n)}function Qn(e){const t={};e.children&&(t.default=!0);for(const r in e.$$slots)t[r]=!0;return t}function ei(e,t){On(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function et(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var u=!1,f=gt(()=>(u=!1,o())),h=p;return(function(c,v){if(arguments.length>0){const d=v?L(f):c;return ee(f,d),u=!0,i!==void 0&&(i=d),c}return ge&&u||(h.f&fe)!==0?f.v:L(f)})}function ti(e){return new ri(e)}class ri{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=nr(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return L(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Zr?!0:(L(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return ee(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?Un:Ar)(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)&&Ie(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ee(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Bn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Mr;typeof HTMLElement=="function"&&(Mr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),Qe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ni(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=tt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ti({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Rn(()=>{Sn(()=>{this.$$r=!0;for(const n of Fe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=tt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=tt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function tt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ni(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ii(e,t,r,n,i,s){let a=class extends Mr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Fe(t).forEach(l=>{Ee(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=tt(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var f=xe(u,l)?.get;f?u[l]=o:u.$set({[l]:o})}}})}),n.forEach(l=>{Ee(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}function si(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pe={},Pt,Dr;function ai(){if(Dr)return Pt;Dr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
3
+ `,u="/",f="*",h="",c="comment",v="declaration";Pt=function(_,g){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];g=g||{};var E=1,w=1;function b($){var m=$.match(t);m&&(E+=m.length);var F=$.lastIndexOf(o);w=~F?$.length-F:w+$.length}function x(){var $={line:E,column:w};return function(m){return m.position=new k($),U(),m}}function k($){this.start=$,this.end={line:E,column:w},this.source=g.source}k.prototype.content=_;function P($){var m=new Error(g.source+":"+E+":"+w+": "+$);if(m.reason=$,m.filename=g.source,m.line=E,m.column=w,m.source=_,!g.silent)throw m}function R($){var m=$.exec(_);if(m){var F=m[0];return b(F),_=_.slice(F.length),m}}function U(){R(r)}function M($){var m;for($=$||[];m=ue();)m!==!1&&$.push(m);return $}function ue(){var $=x();if(!(u!=_.charAt(0)||f!=_.charAt(1))){for(var m=2;h!=_.charAt(m)&&(f!=_.charAt(m)||u!=_.charAt(m+1));)++m;if(m+=2,h===_.charAt(m-1))return P("End of comment missing");var F=_.slice(2,m-2);return w+=2,b(F),_=_.slice(m),w+=2,$({type:c,comment:F})}}function we(){var $=x(),m=R(n);if(m){if(ue(),!R(i))return P("property missing ':'");var F=R(s),_i=$({type:v,property:d(m[0].replace(e,h)),value:F?d(F[0].replace(e,h)):h});return R(a),_i}}function ye(){var $=[];M($);for(var m;m=we();)m!==!1&&($.push(m),M($));return $}return U(),ye()};function d(_){return _?_.replace(l,h):h}return Pt}var Ir;function li(){if(Ir)return Pe;Ir=1;var e=Pe&&Pe.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.default=r;var t=e(ai());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),l=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var u=o.property,f=o.value;l?i(u,f,o):f&&(s=s||{},s[u]=f)}}),s}return Pe}var oi=li();const Lr=si(oi);Lr.default;var pe={},jr;function ui(){if(jr)return pe;jr=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.LanguageTranslator=void 0,pe.getChildStyleToPass=e,pe.addComponent=t;function e(n,i){var s,a,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var o=function(c){var v=i?.filter(function(d){return d.name===c&&d.defaultValue!==n[c]});v&&(l+="".concat(c,":").concat(n[c],";"))},u=0,f=Object.keys(n);u<f.length;u++){var h=f[u];o(h)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,l,o,u="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(u=(o=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),u},n.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",u=n.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(o=f[i])}return o},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return l.format(i)},n})();return pe.LanguageTranslator=r,pe}ui();var fi=(e,t)=>t(),ci=Rt('<span class="svelte-t6mhe0"> </span>'),di=Rt('<div class="svelte-t6mhe0"></div>'),vi=Rt('<div part="testpart" id="skeletontest" class="svelte-t6mhe0"> </div> <!> <div part="testpart" class="svelte-t6mhe0"> </div> slot: <!> /endslot<br class="svelte-t6mhe0"/> ',1);const hi={hash:"svelte-t6mhe0",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");:host {font-family:"Roboto", sans-serif;}
4
4
  /*!
5
5
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
6
6
  * Copyright 2011-2021 The Bootstrap Authors
@@ -56,5 +56,5 @@
56
56
  @media (min-width: 1200px) {
57
57
  }
58
58
  @media (min-width: 1400px) {
59
- }`};function Lr(e,t){const r=Jn(t);Bt(t,!0),Zn(e,cs);function n(b,x){t.$$host.dispatchEvent(new CustomEvent(b,{detail:x}))}let s=Qe(t,"id",7,""),i=Qe(t,"string"),l=Qe(t,"json"),a=Qe(t,"boolean");Re({}),cr(()=>{if(i()||i(""),typeof l()=="string")try{l(JSON.parse(l()))}catch(b){console.error("error parsing json",b)}a()===""&&a(!0),typeof a()=="string"&&a(!(a()==="no"||a()==="false")),a()||a(!1)}),Vn(()=>{console.log(t.$$host?.shadowRoot?.querySelector("#skeletontest"))});function o(){n("event",{test:!0})}var f={get id(){return s()},set id(b=""){s(b),Me()},get string(){return i()},set string(b){i(b),Me()},get json(){return l()},set json(b){l(b),Me()},get boolean(){return a()},set boolean(b){a(b),Me()}},u=us(),h=En(u);h.__click=[as,o];var c=$t(h,!0);Ye(h);var v=Xe(h,2);{var d=b=>{var x=fs();Wn(x,21,()=>Object.keys(l()),Gn,(k,P)=>{var S=os(),V=$t(S);Ye(S),vr(()=>St(V,`${L(P)??""}: ${l()[L(P)]??""}`)),Ze(k,S)}),Ye(x),Ze(b,x)};Bn(v,b=>{l()&&typeof l()=="object"&&b(d)})}var _=Xe(v,2),p=$t(_,!0);Ye(_);var E=Xe(_,2);Kn(E,t,"skelcontent",{});var w=Xe(E,3);return w.nodeValue=` slot debug: ${Object.keys(r)[0]??""}/endslot`,vr(()=>{St(c,i()),St(p,a())}),Ze(e,u),Gt(f)}jn(["click"]),customElements.define("hb-skeleton-component",rs(Lr,{id:{},string:{},json:{},boolean:{}},["skelcontent"],[],!0)),Pt.Component=Lr,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["skeleton-component"]=this["skeleton-component"]||{});
59
+ }`};function Fr(e,t){const r=Qn(t);Gt(t,!0),ei(e,hi);function n(b,x){t.$$host.dispatchEvent(new CustomEvent(b,{detail:x}))}let i=et(t,"id",7,""),s=et(t,"string"),a=et(t,"json"),l=et(t,"boolean");Re({}),dr(()=>{if(s()||s(""),typeof a()=="string")try{a(JSON.parse(a()))}catch(b){console.error("error parsing json",b)}l()===""&&l(!0),typeof l()=="string"&&l(!(l()==="no"||l()==="false")),l()||l(!1)}),Gn(()=>{console.log(t.$$host?.shadowRoot?.querySelector("#skeletontest"))});function o(){n("event",{test:!0})}var u={get id(){return i()},set id(b=""){i(b),Ie()},get string(){return s()},set string(b){s(b),Ie()},get json(){return a()},set json(b){a(b),Ie()},get boolean(){return l()},set boolean(b){l(b),Ie()}},f=vi(),h=kn(f);h.__click=[fi,o];var c=Et(h,!0);Ye(h);var v=Xe(h,2);{var d=b=>{var x=di();Jn(x,21,()=>Object.keys(a()),Xn,(k,P)=>{var R=ci(),U=Et(R);Ye(R),hr(()=>Nt(U,`${L(P)??""}: ${a()[L(P)]??""}`)),Qe(k,R)}),Ye(x),Qe(b,x)};Wn(v,b=>{a()&&typeof a()=="object"&&b(d)})}var _=Xe(v,2),g=Et(_,!0);Ye(_);var E=Xe(_,2);Zn(E,t,"skelcontent",{});var w=Xe(E,3);return w.nodeValue=` slot debug: ${Object.keys(r)[0]??""}/endslot`,hr(()=>{Nt(c,s()),Nt(g,l())}),Qe(e,f),Wt(u)}qn(["click"]),customElements.define("hb-skeleton-component",ii(Fr,{id:{},string:{},json:{},boolean:{}},["skelcontent"],[],!0)),Mt.Component=Fr,Object.defineProperty(Mt,Symbol.toStringTag,{value:"Module"})})(this["skeleton-component"]=this["skeleton-component"]||{});
60
60
  //# sourceMappingURL=main.iife.js.map