@htmlbricks/hb-skeleton-component 0.65.23 → 0.66.1

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,11 +1,11 @@
1
- (function(vt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const dr=2,bt="[",pt="[!",gt="]",pe={},w=Symbol(),hr="http://www.w3.org/1999/xhtml",Ge=!1;var _r=Array.isArray,vr=Array.prototype.indexOf,br=Array.from,Ne=Object.keys,Re=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,pr=Object.getOwnPropertyDescriptors,gr=Object.prototype,mr=Array.prototype,mt=Object.getPrototypeOf,yt=Object.isExtensible;function yr(e){for(var t=0;t<e.length;t++)e[t]()}function wt(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const y=2,Xe=4,Ze=8,B=16,re=32,W=64,Oe=128,O=512,$=1024,T=2048,H=4096,G=8192,Y=16384,Qe=32768,Pe=65536,$t=1<<17,Et=1<<18,ne=1<<19,wr=1<<20,se=32768,et=1<<21,tt=1<<22,X=1<<23,rt=Symbol("$state"),$r=Symbol("legacy props"),ue=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xt=3,je=8;function Er(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function xr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function kr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Sr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Tr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ar(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Cr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function nt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Nr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function Me(e){m=e}let p;function V(e){if(e===null)throw nt(),pe;return p=e}function st(){return V(ee(p))}function ge(e){if(m){if(ee(p)!==null)throw nt(),pe;p=e}}function Rr(e=1){if(m){for(var t=e,r=p;t--;)r=ee(r);p=r}}function Or(e=!0){for(var t=0,r=p;;){if(r.nodeType===je){var n=r.data;if(n===gt){if(t===0)return r;t-=1}else(n===bt||n===pt)&&(t+=1)}var i=ee(r);e&&r.remove(),r=i}}function kt(e){return e===this.v}function Pr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jr(e){return!Pr(e,this.v)}let Mr=!1,P=null;function ce(e){P=e}function St(e,t=!1,r){P={p:P,i:!1,c:null,e:null,s:e,x:null,l:null}}function Tt(e){var t=P,r=t.e;if(r!==null){t.e=null;for(var n of r)Xr(n)}return e!==void 0&&(t.x=e),t.i=!0,P=t.p,e??{}}function At(){return!0}let ie=[];function Ct(){var e=ie;ie=[],yr(e)}function it(e){if(ie.length===0&&!me){var t=ie;queueMicrotask(()=>{t===ie&&Ct()})}ie.push(e)}function Dr(){for(;ie.length>0;)Ct()}function Nt(e){var t=v;if(t===null)return _.f|=X,e;if((t.f&Qe)===0){if((t.f&Oe)===0)throw e;t.b.error(e)}else de(e,t)}function de(e,t){for(;t!==null;){if((t.f&Oe)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const De=new Set;let g=null,C=null,N=[],Ie=null,ot=!1,me=!1;class j{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#f=0;#i=0;#a=null;#o=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#i>0}process(t){N=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#r(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects)):(g=null,Ot(r.render_effects),Ot(r.effects),this.#a?.resolve()),C=null}#r(t,r){t.f^=$;for(var n=t.first;n!==null;){var i=n.f,s=(i&(re|W))!==0,o=s&&(i&$)!==0,f=o||(i&G)!==0||this.skipped_effects.has(n);if((n.f&Oe)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!f&&n.fn!==null){s?n.f^=$:(i&Xe)!==0?r.effects.push(n):Te(n)&&((n.f&B)!==0&&r.block_effects.push(n),Ae(n));var l=n.first;if(l!==null){n=l;continue}}var a=n.parent;for(n=n.next;n===null&&a!==null;)a===r.effect&&(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects),r=r.parent),n=a.next,a=a.parent}}#n(t){for(const r of t)((r.f&T)!==0?this.#o:this.#s).push(r),this.#l(r.deps),x(r,$)}#l(t){if(t!==null)for(const r of t)(r.f&y)===0||(r.f&se)===0||(r.f^=se,this.#l(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&X)===0&&(this.current.set(t,t.v),C?.set(t,t.v))}activate(){g=this,this.apply()}deactivate(){g===this&&(g=null,C=null)}flush(){if(this.activate(),N.length>0){if(Rt(),g!==null&&g!==this)return}else this.#f===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#i===0){for(const t of this.#t)t();this.#t.clear()}this.#f===0&&this.#c()}#c(){if(De.size>1){this.previous.clear();var t=C,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of De){if(s===this){r=!1;continue}const o=[];for(const[l,a]of this.current){if(s.current.has(l))if(r&&a!==s.current.get(l))s.current.set(l,a);else continue;o.push(l)}if(o.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){var i=N;N=[];const l=new Set,a=new Map;for(const c of o)Pt(c,f,l,a);if(N.length>0){g=s,s.apply();for(const c of N)s.#r(c,n);s.deactivate()}N=i}}g=null,C=t}this.committed=!0,De.delete(this)}increment(t){this.#f+=1,t&&(this.#i+=1)}decrement(t){this.#f-=1,t&&(this.#i-=1),this.revive()}revive(){for(const t of this.#o)x(t,T),he(t);for(const t of this.#s)x(t,H),he(t);this.#o=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=wt()).promise}static ensure(){if(g===null){const t=g=new j;De.add(g),me||j.enqueue(()=>{g===t&&t.flush()})}return g}static enqueue(t){it(t)}apply(){}}function ye(e){var t=me;me=!0;try{for(var r;;){if(Dr(),N.length===0&&(g?.flush(),N.length===0))return Ie=null,r;Rt()}}finally{me=t}}function Rt(){var e=te;ot=!0;var t=null;try{var r=0;for(He(!0);N.length>0;){var n=j.ensure();if(r++>1e3){var i,s;Ir()}n.process(N),Z.clear()}}finally{ot=!1,He(e),Ie=null}}function Ir(){try{xr()}catch(e){de(e,Ie)}}let z=null;function Ot(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Y|G))===0&&Te(n)&&(z=new Set,Ae(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Jt(n):n.fn=null),z?.size>0)){Z.clear();for(const i of z){if((i.f&(Y|G))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)z.has(o)&&(z.delete(o),s.push(o)),o=o.parent;for(let f=s.length-1;f>=0;f--){const l=s[f];(l.f&(Y|G))===0&&Ae(l)}}z.clear()}}z=null}}function Pt(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?Pt(i,t,r,n):(s&(tt|B))!==0&&(s&T)===0&&jt(i,t,n)&&(x(i,T),he(i))}}function jt(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&y)!==0&&jt(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function he(e){for(var t=Ie=e;t.parent!==null;){t=t.parent;var r=t.f;if(ot&&t===v&&(r&B)!==0&&(r&Et)===0)return;if((r&(W|re))!==0){if((r&$)===0)return;t.f^=$}}N.push(t)}function Lr(e){let t=0,r=we(0),n;return()=>{qe()&&(S(r),Yt(()=>(t===0&&(n=cn(()=>e(()=>$e(r)))),t+=1,()=>{it(()=>{t-=1,t===0&&(n?.(),n=void 0,$e(r))})})))}}var Fr=Pe|ne|Oe;function Ur(e,t,r){new qr(e,t,r)}class qr{parent;#t=!1;#e;#f=m?p:null;#i;#a;#o;#s=null;#r=null;#n=null;#l=null;#u=null;#c=0;#d=0;#_=!1;#h=null;#m=Lr(()=>(this.#h=we(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#i=r,this.#a=n,this.parent=v.b,this.#t=!!this.#i.pending,this.#o=nn(()=>{if(v.b=this,m){const s=this.#f;st(),s.nodeType===je&&s.data===pt?this.#w():this.#y()}else{var i=this.#p();try{this.#s=oe(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#b():this.#t=!1}return()=>{this.#u?.remove()}},Fr),m&&(this.#e=p)}#y(){try{this.#s=oe(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#i.pending;t&&(this.#r=oe(()=>t(this.#e)),j.enqueue(()=>{var r=this.#p();this.#s=this.#v(()=>(j.ensure(),oe(()=>this.#a(r)))),this.#d>0?this.#b():(Be(this.#r,()=>{this.#r=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=_e(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#v(t){var r=v,n=_,i=P;q(this.#o),k(this.#o),ce(this.#o.ctx);try{return t()}catch(s){return Nt(s),null}finally{q(r),k(n),ce(i)}}#b(){const t=this.#i.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#u),fn(this.#s,this.#l)),this.#r===null&&(this.#r=oe(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#r&&Be(this.#r,()=>{this.#r=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Fe(this.#h,this.#c)}get_effect_pending(){return this.#m(),S(this.#h)}error(t){var r=this.#i.onerror;let n=this.#i.failed;if(this.#_||!r&&!n)throw t;this.#s&&(M(this.#s),this.#s=null),this.#r&&(M(this.#r),this.#r=null),this.#n&&(M(this.#n),this.#n=null),m&&(V(this.#f),Rr(),V(Or()));var i=!1,s=!1;const o=()=>{if(i){Nr();return}i=!0,s&&Cr(),j.ensure(),this.#c=0,this.#n!==null&&Be(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,oe(()=>this.#a(this.#e)))),this.#d>0?this.#b():this.#t=!1};var f=_;try{k(null),s=!0,r?.(t,o),s=!1}catch(l){de(l,this.#o&&this.#o.parent)}finally{k(f)}n&&it(()=>{this.#n=this.#v(()=>{j.ensure(),this.#_=!0;try{return oe(()=>{n(this.#e,()=>t,()=>o)})}catch(l){return de(l,this.#o.parent),null}finally{this.#_=!1}})})}}function Br(e,t,r,n){const i=lt;if(r.length===0&&e.length===0){n(t.map(i));return}var s=g,o=v,f=Hr();function l(){Promise.all(r.map(a=>Yr(a))).then(a=>{f();try{n([...t.map(i),...a])}catch(c){(o.f&Y)===0&&de(c,o)}s?.deactivate(),Le()}).catch(a=>{de(a,o)})}e.length>0?Promise.all(e).then(()=>{f();try{return l()}finally{s?.deactivate(),Le()}}):l()}function Hr(){var e=v,t=_,r=P,n=g;return function(s=!0){q(e),k(t),ce(r),s&&n?.activate()}}function Le(){q(null),k(null),ce(null)}function lt(e){var t=y|T,r=_!==null&&(_.f&y)!==0?_:null;return v!==null&&(v.f|=ne),{ctx:P,deps:null,effects:null,equals:kt,f:t,fn:e,reactions:null,rv:0,v:w,wv:0,parent:r??v,ac:null}}function Yr(e,t){let r=v;r===null&&Er();var n=r.b,i=void 0,s=we(w),o=!_,f=new Map;return tn(()=>{var l=wt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{a===g&&a.committed&&a.deactivate(),Le()})}catch(u){l.reject(u),Le()}var a=g;if(o){var c=!n.is_pending();n.update_pending_count(1),a.increment(c),f.get(a)?.reject(ue),f.delete(a),f.set(a,l)}const h=(u,d=void 0)=>{if(a.activate(),d)d!==ue&&(s.f|=X,Fe(s,d));else{(s.f&X)!==0&&(s.f^=X),Fe(s,u);for(const[b,D]of f){if(f.delete(b),b===a)break;D.reject(ue)}}o&&(n.update_pending_count(-1),a.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),Gr(()=>{for(const l of f.values())l.reject(ue)}),new Promise(l=>{function a(c){function h(){c===i?l(s):a(i)}c.then(h,h)}a(i)})}function ft(e){const t=lt(e);return Gt(t),t}function Mt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)M(t[r])}}function Vr(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&Y)===0?t:null;t=t.parent}return null}function at(e){var t,r=v;q(Vr(e));try{e.f&=~se,Mt(e),t=tr(e)}finally{q(r)}return t}function Dt(e){var t=at(e);if(e.equals(t)||(g?.is_fork||(e.v=t),e.wv=Qt()),!ve)if(C!==null)qe()&&C.set(e,t);else{var r=(e.f&O)===0?H:$;x(e,r)}}let ut=new Set;const Z=new Map;let It=!1;function we(e,t){var r={f:0,v:e,reactions:null,equals:kt,rv:0,wv:0};return r}function Q(e,t){const r=we(e);return Gt(r),r}function zr(e,t=!1,r=!0){const n=we(e);return t||(n.equals=jr),n}function J(e,t,r=!1){_!==null&&(!U||(_.f&$t)!==0)&&At()&&(_.f&(y|B|tt|$t))!==0&&!K?.includes(e)&&Ar();let n=r?Ee(t):t;return Fe(e,n)}function Fe(e,t){if(!e.equals(t)){var r=e.v;ve?Z.set(e,t):Z.set(e,r),e.v=t;var n=j.ensure();n.capture(e,r),(e.f&y)!==0&&((e.f&T)!==0&&at(e),x(e,(e.f&O)!==0?$:H)),e.wv=Qt(),Lt(e,T),v!==null&&(v.f&$)!==0&&(v.f&(re|W))===0&&(R===null?an([e]):R.push(e)),!n.is_fork&&ut.size>0&&!It&&Jr()}return t}function Jr(){It=!1;var e=te;He(!0);const t=Array.from(ut);try{for(const r of t)(r.f&$)!==0&&x(r,H),Te(r)&&Ae(r)}finally{He(e)}ut.clear()}function $e(e){J(e,e.v+1)}function Lt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,f=(o&T)===0;if(f&&x(s,t),(o&y)!==0){var l=s;C?.delete(l),(o&se)===0&&(o&O&&(s.f|=se),Lt(l,H))}else f&&((o&B)!==0&&z!==null&&z.add(s),he(s))}}function Ee(e){if(typeof e!="object"||e===null||rt in e)return e;const t=mt(e);if(t!==gr&&t!==mr)return e;var r=new Map,n=_r(e),i=Q(0),s=le,o=f=>{if(le===s)return f();var l=_,a=le;k(null),Zt(s);var c=f();return k(l),Zt(a),c};return n&&r.set("length",Q(e.length)),new Proxy(e,{defineProperty(f,l,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Sr();var c=r.get(l);return c===void 0?c=o(()=>{var h=Q(a.value);return r.set(l,h),h}):J(c,a.value,!0),!0},deleteProperty(f,l){var a=r.get(l);if(a===void 0){if(l in f){const c=o(()=>Q(w));r.set(l,c),$e(i)}}else J(a,w),$e(i);return!0},get(f,l,a){if(l===rt)return e;var c=r.get(l),h=l in f;if(c===void 0&&(!h||ae(f,l)?.writable)&&(c=o(()=>{var d=Ee(h?f[l]:w),b=Q(d);return b}),r.set(l,c)),c!==void 0){var u=S(c);return u===w?void 0:u}return Reflect.get(f,l,a)},getOwnPropertyDescriptor(f,l){var a=Reflect.getOwnPropertyDescriptor(f,l);if(a&&"value"in a){var c=r.get(l);c&&(a.value=S(c))}else if(a===void 0){var h=r.get(l),u=h?.v;if(h!==void 0&&u!==w)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return a},has(f,l){if(l===rt)return!0;var a=r.get(l),c=a!==void 0&&a.v!==w||Reflect.has(f,l);if(a!==void 0||v!==null&&(!c||ae(f,l)?.writable)){a===void 0&&(a=o(()=>{var u=c?Ee(f[l]):w,d=Q(u);return d}),r.set(l,a));var h=S(a);if(h===w)return!1}return c},set(f,l,a,c){var h=r.get(l),u=l in f;if(n&&l==="length")for(var d=a;d<h.v;d+=1){var b=r.get(d+"");b!==void 0?J(b,w):d in f&&(b=o(()=>Q(w)),r.set(d+"",b))}if(h===void 0)(!u||ae(f,l)?.writable)&&(h=o(()=>Q(void 0)),J(h,Ee(a)),r.set(l,h));else{u=h.v!==w;var D=o(()=>Ee(a));J(h,D)}var I=Reflect.getOwnPropertyDescriptor(f,l);if(I?.set&&I.set.call(c,a),!u){if(n&&typeof l=="string"){var We=r.get("length"),fe=Number(l);Number.isInteger(fe)&&fe>=We.v&&J(We,fe+1)}$e(i)}return!0},ownKeys(f){S(i);var l=Reflect.ownKeys(f).filter(h=>{var u=r.get(h);return u===void 0||u.v!==w});for(var[a,c]of r)c.v!==w&&!(a in f)&&l.push(a);return l},setPrototypeOf(){Tr()}})}var Ft,Ut,qt,Bt;function ct(){if(Ft===void 0){Ft=window,Ut=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;qt=ae(t,"firstChild").get,Bt=ae(t,"nextSibling").get,yt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),yt(r)&&(r.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function Ue(e){return qt.call(e)}function ee(e){return Bt.call(e)}function xe(e,t){if(!m)return Ue(e);var r=Ue(p);return r===null&&(r=p.appendChild(_e())),V(r),r}function ke(e,t=1,r=!1){let n=m?p:e;for(var i;t--;)i=n,n=ee(n);if(!m)return n;if(r&&n?.nodeType!==xt){var s=_e();return n===null?i?.after(s):n.before(s),V(s),s}return V(n),n}function Kr(e){e.textContent=""}function Ht(e){var t=_,r=v;k(null),q(null);try{return e()}finally{k(t),q(r)}}function Wr(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function F(e,t,r){var n=v;n!==null&&(n.f&G)!==0&&(e|=G);var i={ctx:P,deps:null,nodes_start:null,nodes_end:null,f:e|T|O,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ae(i),i.f|=Qe}catch(f){throw M(i),f}else t!==null&&he(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ne)===0&&(s=s.first,(e&B)!==0&&(e&Pe)!==0&&s!==null&&(s.f|=Pe)),s!==null&&(s.parent=n,n!==null&&Wr(s,n),_!==null&&(_.f&y)!==0&&(e&W)===0)){var o=_;(o.effects??=[]).push(s)}return i}function qe(){return _!==null&&!U}function Gr(e){const t=F(Ze,null,!1);return x(t,$),t.teardown=e,t}function Xr(e){return F(Xe|wr,e,!1)}function Zr(e){j.ensure();const t=F(W|ne,e,!0);return()=>{M(t)}}function Qr(e){j.ensure();const t=F(W|ne,e,!0);return(r={})=>new Promise(n=>{r.outro?Be(t,()=>{M(t),n(void 0)}):(M(t),n(void 0))})}function en(e){return F(Xe,e,!1)}function tn(e){return F(tt|ne,e,!0)}function Yt(e,t=0){return F(Ze|t,e,!0)}function rn(e,t=[],r=[],n=[]){Br(n,t,r,i=>{F(Ze,()=>e(...i.map(S)),!0)})}function nn(e,t=0){var r=F(B|t,e,!0);return r}function oe(e){return F(re|ne,e,!0)}function Vt(e){var t=e.teardown;if(t!==null){const r=ve,n=_;Wt(!0),k(null);try{t.call(null)}finally{Wt(r),k(n)}}}function zt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Ht(()=>{i.abort(ue)});var n=r.next;(r.f&W)!==0?r.parent=null:M(r,t),r=n}}function sn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&re)===0&&M(t),t=r}}function M(e,t=!0){var r=!1;(t||(e.f&Et)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(on(e.nodes_start,e.nodes_end),r=!0),zt(e,t&&!r),Ye(e,0),x(e,Y);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Vt(e);var i=e.parent;i!==null&&i.first!==null&&Jt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function on(e,t){for(;e!==null;){var r=e===t?null:ee(e);e.remove(),e=r}}function Jt(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 Be(e,t,r=!0){var n=[];Kt(e,n,!0),ln(n,()=>{r&&M(e),t&&t()})}function ln(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&G)===0){if(e.f^=G,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Pe)!==0||(n.f&re)!==0&&(e.f&B)!==0;Kt(n,t,s?r:!1),n=i}}}function fn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:ee(r);t.append(r),r=i}}let te=!1;function He(e){te=e}let ve=!1;function Wt(e){ve=e}let _=null,U=!1;function k(e){_=e}let v=null;function q(e){v=e}let K=null;function Gt(e){_!==null&&(K===null?K=[e]:K.push(e))}let E=null,A=0,R=null;function an(e){R=e}let Xt=1,Se=0,le=Se;function Zt(e){le=e}function Qt(){return++Xt}function Te(e){var t=e.f;if((t&T)!==0)return!0;if(t&y&&(e.f&=~se),(t&H)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Te(s)&&Dt(s),s.wv>e.wv)return!0}(t&O)!==0&&C===null&&x(e,$)}return!1}function er(e,t,r=!0){var n=e.reactions;if(n!==null&&!K?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&y)!==0?er(s,t,!1):t===s&&(r?x(s,T):(s.f&$)!==0&&x(s,H),he(s))}}function tr(e){var t=E,r=A,n=R,i=_,s=K,o=P,f=U,l=le,a=e.f;E=null,A=0,R=null,_=(a&(re|W))===0?e:null,K=null,ce(e.ctx),U=!1,le=++Se,e.ac!==null&&(Ht(()=>{e.ac.abort(ue)}),e.ac=null);try{e.f|=et;var c=e.fn,h=c(),u=e.deps;if(E!==null){var d;if(Ye(e,A),u!==null&&A>0)for(u.length=A+E.length,d=0;d<E.length;d++)u[A+d]=E[d];else e.deps=u=E;if(te&&qe()&&(e.f&O)!==0)for(d=A;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&A<u.length&&(Ye(e,A),u.length=A);if(At()&&R!==null&&!U&&u!==null&&(e.f&(y|H|T))===0)for(d=0;d<R.length;d++)er(R[d],e);return i!==null&&i!==e&&(Se++,R!==null&&(n===null?n=R:n.push(...R))),(e.f&X)!==0&&(e.f^=X),h}catch(b){return Nt(b)}finally{e.f^=et,E=t,A=r,R=n,_=i,K=s,ce(o),U=f,le=l}}function un(e,t){let r=t.reactions;if(r!==null){var n=vr.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&y)!==0&&(E===null||!E.includes(t))&&(x(t,H),(t.f&O)!==0&&(t.f^=O,t.f&=~se),Mt(t),Ye(t,0))}function Ye(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)un(e,r[n])}function Ae(e){var t=e.f;if((t&Y)===0){x(e,$);var r=v,n=te;v=e,te=!0;try{(t&B)!==0?sn(e):zt(e),Vt(e);var i=tr(e);e.teardown=typeof i=="function"?i:null,e.wv=Xt;var s;Ge&&Mr&&(e.f&T)!==0&&e.deps}finally{te=n,v=r}}}function S(e){var t=e.f,r=(t&y)!==0;if(_!==null&&!U){var n=v!==null&&(v.f&Y)!==0;if(!n&&!K?.includes(e)){var i=_.deps;if((_.f&et)!==0)e.rv<Se&&(e.rv=Se,E===null&&i!==null&&i[A]===e?A++:E===null?E=[e]:E.includes(e)||E.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(ve){if(Z.has(e))return Z.get(e);if(r){var o=e,f=o.v;return((o.f&$)===0&&o.reactions!==null||nr(o))&&(f=at(o)),Z.set(o,f),f}}else r&&!C?.has(e)&&(o=e,Te(o)&&Dt(o),te&&qe()&&(o.f&O)===0&&rr(o));if(C?.has(e))return C.get(e);if((e.f&X)!==0)throw e.v;return e.v}function rr(e){if(e.deps!==null){e.f^=O;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&O)===0&&rr(t)}}function nr(e){if(e.v===w)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Z.has(t)||(t.f&y)!==0&&nr(t))return!0;return!1}function cn(e){var t=U;try{return U=!0,e()}finally{U=t}}const dn=-7169;function x(e,t){e.f=e.f&dn|t}const sr=new Set,dt=new Set;function hn(e){for(var t=0;t<e.length;t++)sr.add(e[t]);for(var r of dt)r(e)}let ir=null;function Ve(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;ir=e;var o=0,f=ir===e&&e.__root;if(f){var l=i.indexOf(f);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var a=i.indexOf(t);if(a===-1)return;l<=a&&(o=l)}if(s=i[o]||e.target,s!==t){Re(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=_,h=v;k(null),q(null);try{for(var u,d=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var D=s["__"+n];D!=null&&(!s.disabled||e.target===s)&&D.call(s,e)}catch(I){u?d.push(I):u=I}if(e.cancelBubble||b===t||b===null)break;s=b}if(u){for(let I of d)queueMicrotask(()=>{throw I});throw u}}finally{e.__root=t,delete e.currentTarget,k(c),q(h)}}}function _n(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ce(e,t){var r=v;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function vn(e,t){var r=(t&dr)!==0,n,i=!e.startsWith("<!>");return()=>{if(m)return Ce(p,null),p;n===void 0&&(n=_n(i?e:"<!>"+e),n=Ue(n));var s=r||Ut?document.importNode(n,!0):n.cloneNode(!0);return Ce(s,s),s}}function bn(e=""){if(!m){var t=_e(e+"");return Ce(t,t),t}var r=p;return r.nodeType!==xt&&(r.before(r=_e()),V(r)),Ce(r,r),r}function ht(e,t){if(m){var r=v;((r.f&Qe)===0||r.nodes_end===null)&&(r.nodes_end=p),st();return}e!==null&&e.before(t)}const pn=["touchstart","touchmove"];function gn(e){return pn.includes(e)}function ze(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function or(e,t){return lr(e,t)}function mn(e,t){ct(),t.intro=t.intro??!1;const r=t.target,n=m,i=p;try{for(var s=Ue(r);s&&(s.nodeType!==je||s.data!==bt);)s=ee(s);if(!s)throw pe;Me(!0),V(s);const o=lr(e,{...t,anchor:s});return Me(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(f=>f.startsWith("https://svelte.dev/e/")))throw o;return o!==pe&&console.warn("Failed to hydrate: ",o),t.recover===!1&&kr(),ct(),Kr(r),Me(!1),or(e,t)}finally{Me(n),V(i)}}const be=new Map;function lr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){ct();var f=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!f.has(d)){f.add(d);var b=gn(d);t.addEventListener(d,Ve,{passive:b});var D=be.get(d);D===void 0?(document.addEventListener(d,Ve,{passive:b}),be.set(d,1)):be.set(d,D+1)}}};l(br(sr)),dt.add(l);var a=void 0,c=Qr(()=>{var h=r??t.appendChild(_e());return Ur(h,{pending:()=>{}},u=>{if(s){St({});var d=P;d.c=s}if(i&&(n.$$events=i),m&&Ce(u,null),a=e(u,n)||{},m&&(v.nodes_end=p,p===null||p.nodeType!==je||p.data!==gt))throw nt(),pe;s&&Tt()}),()=>{for(var u of f){t.removeEventListener(u,Ve);var d=be.get(u);--d===0?(document.removeEventListener(u,Ve),be.delete(u)):be.set(u,d)}dt.delete(l),h!==r&&h.parentNode?.removeChild(h)}});return _t.set(a,c),a}let _t=new WeakMap;function yn(e,t){const r=_t.get(e);return r?(_t.delete(e),r(t)):Promise.resolve()}function wn(e,t,r,n,i){m&&st();var s=t.$$slots?.[r],o=!1;s===!0&&(s=t[r],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>n:n)}function $n(e,t){en(()=>{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)}})}const En=Symbol("is custom element"),xn=Symbol("is html");function kn(e,t,r,n){var i=Sn(e);m&&(i[t]=e.getAttribute(t)),i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&Tn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Sn(e){return e.__attributes??={[En]:e.nodeName.includes("-"),[xn]:e.namespaceURI===hr}}var fr=new Map;function Tn(e){var t=e.getAttribute("is")||e.nodeName,r=fr.get(t);if(r)return r;fr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=pr(i);for(var o in n)n[o].set&&r.push(o);i=mt(i)}return r}function Je(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),f;f=e[t],f===void 0&&n!==void 0&&(f=o());var l;l=()=>{var u=e[t];return u===void 0?o():(s=!0,u)};var a=!1,c=lt(()=>(a=!1,l())),h=v;return(function(u,d){if(arguments.length>0){const b=d?S(c):u;return J(c,b),a=!0,i!==void 0&&(i=b),u}return ve&&a||(h.f&Y)!==0?c.v:S(c)})}function An(e){return new Cn(e)}class Cn{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var f=zr(o,!1,!1);return r.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return S(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===$r?!0:(S(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,f){return J(r.get(o)??n(o,f),f),Reflect.set(s,o,f)}});this.#e=(t.hydrate?mn:or)(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)&&ye(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Re(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{yn(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 ar;typeof HTMLElement=="function"&&(ar=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),ht(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Nn(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]=Ke(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=An({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Zr(()=>{Yt(()=>{this.$$r=!0;for(const n of Ne(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Ke(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]=Ke(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 Ne(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ke(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 Nn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Rn(e,t,r,n,i,s){let o=class extends ar{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Ne(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Ne(t).forEach(f=>{Re(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(l){l=Ke(f,l,t),this.$$d[f]=l;var a=this.$$c;if(a){var c=ae(a,f)?.get;c?a[f]=l:a.$set({[f]:l})}}})}),n.forEach(f=>{Re(o.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=o,o}var On=vn('<div class="skeleton-root svelte-10p6erh"><p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <button class="btn btn-primary svelte-10p6erh">Dispatch Event</button> <!></div>');const Pn={hash:"svelte-10p6erh",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(bt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const kn=2,$t="[",yt="[!",Et="[?",xt="]",ye={},T=Symbol(),Tt="http://www.w3.org/1999/xhtml",Sn=!1;var An=Array.isArray,Nn=Array.prototype.indexOf,_e=Array.prototype.includes,Rn=Array.from,je=Object.keys,Ie=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,On=Object.getOwnPropertyDescriptors,Cn=Object.prototype,Dn=Array.prototype,kt=Object.getPrototypeOf,St=Object.isExtensible;const Mn=()=>{};function Pn(e){for(var t=0;t<e.length;t++)e[t]()}function At(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,pe=4,Le=8,Nt=1<<24,K=16,W=32,X=64,Xe=128,O=512,E=1024,k=2048,H=4096,Z=8192,P=16384,le=32768,Rt=1<<25,Fe=65536,Ot=1<<17,jn=1<<18,oe=1<<19,In=1<<20,fe=65536,Ze=1<<21,Qe=1<<22,Q=1<<23,et=Symbol("$state"),Ln=Symbol("legacy props"),U=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},tt=3,nt=8;function Fn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Bn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Hn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Vn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Un(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function zn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function Be(e){x=e}let w;function z(e){if(e===null)throw rt(),ye;return w=e}function it(){return z(se(w))}function Ee(e){if(x){if(se(w)!==null)throw rt(),ye;w=e}}function Jn(e=1){if(x){for(var t=e,n=w;t--;)n=se(n);w=n}}function Gn(e=!0){for(var t=0,n=w;;){if(n.nodeType===nt){var r=n.data;if(r===xt){if(t===0)return n;t-=1}else(r===$t||r===yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=se(n);e&&n.remove(),n=i}}function Ct(e){return e===this.v}function Kn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Wn(e){return!Kn(e,this.v)}let Xn=!1,j=null;function ge(e){j=e}function Dt(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Mt(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)gr(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,e??{}}function Pt(){return!0}let ue=[];function jt(){var e=ue;ue=[],Pn(e)}function me(e){if(ue.length===0&&!xe){var t=ue;queueMicrotask(()=>{t===ue&&jt()})}ue.push(e)}function Zn(){for(;ue.length>0;)jt()}function It(e){var t=p;if(t===null)return v.f|=Q,e;if((t.f&le)===0&&(t.f&pe)===0)throw e;ee(e,t)}function ee(e,t){for(;t!==null;){if((t.f&Xe)!==0){if((t.f&le)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Qn=-7169;function $(e,t){e.f=e.f&Qn|t}function st(e){(e.f&O)!==0||e.deps===null?$(e,E):$(e,H)}function Lt(e){if(e!==null)for(const t of e)(t.f&y)===0||(t.f&fe)===0||(t.f^=fe,Lt(t.deps))}function Ft(e,t,n){(e.f&k)!==0?t.add(e):(e.f&H)!==0&&n.add(e),Lt(e.deps),$(e,E)}const te=new Set;let m=null,I=null,lt=null,xe=!1,ot=!1,we=null,He=null;var Bt=0;let er=1;class ne{id=er++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#s=new Map;#f=new Map;#l=null;#t=[];#r=new Set;#i=new Set;#o=new Map;is_fork=!1;#c=!1;#u=new Set;#h(){return this.is_fork||this.#f.size>0}#_(){for(const r of this.#u)for(const i of r.#f.keys()){for(var t=!1,n=i;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)$(r,k),this.schedule(r);for(r of n.m)$(r,H),this.schedule(r)}}#d(){if(Bt++>1e3&&(te.delete(this),tr()),!this.#h()){for(const l of this.#r)this.#i.delete(l),$(l,k),this.schedule(l);for(const l of this.#i)$(l,H),this.schedule(l)}const t=this.#t;this.#t=[],this.apply();var n=we=[],r=[],i=He=[];for(const l of t)try{this.#a(l,n,r)}catch(u){throw Ut(l),u}if(m=null,i.length>0){var s=ne.ensure();for(const l of i)s.schedule(l)}if(we=null,He=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,u]of this.#o)qt(l,u)}else{this.#s.size===0&&te.delete(this),this.#r.clear(),this.#i.clear();for(const l of this.#e)l(this);this.#e.clear(),Ht(r),Ht(n),this.#l?.resolve()}var o=m;if(this.#t.length>0){const l=o??=this;l.#t.push(...this.#t.filter(u=>!l.#t.includes(u)))}o!==null&&(te.add(o),o.#d()),te.has(this)||this.#p()}#a(t,n,r){t.f^=E;for(var i=t.first;i!==null;){var s=i.f,o=(s&(W|X))!==0,l=o&&(s&E)!==0,u=l||(s&Z)!==0||this.#o.has(i);if(!u&&i.fn!==null){o?i.f^=E:(s&pe)!==0?n.push(i):Oe(i)&&((s&K)!==0&&this.#i.add(i),$e(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var a=i.next;if(a!==null){i=a;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)Ft(t[n],this.#r,this.#i)}capture(t,n,r=!1){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Q)===0&&(this.current.set(t,[t.v,r]),I?.set(t,t.v))}activate(){m=this}deactivate(){m=null,I=null}flush(){try{ot=!0,m=this,this.#d()}finally{Bt=0,lt=null,we=null,He=null,ot=!1,m=null,I=null,re.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),te.delete(this)}#p(){for(const f of te){var t=f.id<this.id,n=[];for(const[a,[h,c]]of this.current){if(f.current.has(a)){var r=f.current.get(a)[0];if(t&&h!==r)f.current.set(a,[h,c]);else continue}n.push(a)}var i=[...f.current.keys()].filter(a=>!this.current.has(a));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,o=new Map;for(var l of n)Vt(l,i,s,o);if(f.#t.length>0){f.apply();for(var u of f.#t)f.#a(u,[],[]);f.#t=[]}f.deactivate()}}for(const f of te)f.#u.has(this)&&(f.#u.delete(this),f.#u.size===0&&!f.#h()&&(f.activate(),f.#d()))}increment(t,n){let r=this.#s.get(n)??0;if(this.#s.set(n,r+1),t){let i=this.#f.get(n)??0;this.#f.set(n,i+1)}}decrement(t,n,r){let i=this.#s.get(n)??0;if(i===1?this.#s.delete(n):this.#s.set(n,i-1),t){let s=this.#f.get(n)??0;s===1?this.#f.delete(n):this.#f.set(n,s-1)}this.#c||r||(this.#c=!0,me(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#r.add(r);for(const r of n)this.#i.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#l??=At()).promise}static ensure(){if(m===null){const t=m=new ne;ot||(te.add(m),xe||me(()=>{m===t&&t.flush()}))}return m}apply(){{I=null;return}}schedule(t){if(lt=t,t.b?.is_pending&&(t.f&(pe|Le|Nt))!==0&&(t.f&le)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(we!==null&&n===p&&(v===null||(v.f&y)===0))return;if((r&(X|W))!==0){if((r&E)===0)return;n.f^=E}}this.#t.push(n)}}function Te(e){var t=xe;xe=!0;try{for(var n;;){if(Zn(),m===null)return n;m.flush()}}finally{xe=t}}function tr(){try{Bn()}catch(e){ee(e,lt)}}let J=null;function Ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(P|Z))===0&&Oe(r)&&(J=new Set,$e(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ln(r),J?.size>0)){re.clear();for(const i of J){if((i.f&(P|Z))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)J.has(o)&&(J.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const u=s[l];(u.f&(P|Z))===0&&$e(u)}}J.clear()}}J=null}}function Vt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?Vt(i,t,n,r):(s&(Qe|K))!==0&&(s&k)===0&&Yt(i,t,r)&&($(i,k),ft(i))}}function Yt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(_e.call(t,i))return!0;if((i.f&y)!==0&&Yt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ft(e){m.schedule(e)}function qt(e,t){if(!((e.f&W)!==0&&(e.f&E)!==0)){(e.f&k)!==0?t.d.push(e):(e.f&H)!==0&&t.m.push(e),$(e,E);for(var n=e.first;n!==null;)qt(n,t),n=n.next}}function Ut(e){$(e,E);for(var t=e.first;t!==null;)Ut(t),t=t.next}function nr(e){let t=0,n=ke(0),r;return()=>{vt()&&(A(n),rn(()=>(t===0&&(r=Nr(()=>e(()=>Se(n)))),t+=1,()=>{me(()=>{t-=1,t===0&&(r?.(),r=void 0,Se(n))})})))}}var rr=Fe|oe;function ir(e,t,n,r){new sr(e,t,n,r)}class sr{parent;is_pending=!1;transform_error;#e;#n=x?w:null;#s;#f;#l;#t=null;#r=null;#i=null;#o=null;#c=0;#u=0;#h=!1;#_=new Set;#d=new Set;#a=null;#v=nr(()=>(this.#a=ke(this.#c),()=>{this.#a=null}));constructor(t,n,r,i){this.#e=t,this.#s=n,this.#f=s=>{var o=p;o.b=this,o.f|=Xe,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#l=Er(()=>{if(x){const s=this.#n;it();const o=s.data===yt;if(s.data.startsWith(Et)){const u=JSON.parse(s.data.slice(Et.length));this.#$(u)}else o?this.#y():this.#p()}else this.#w()},rr),x&&(this.#e=w)}#p(){try{this.#t=ae(()=>this.#f(this.#e))}catch(t){this.error(t)}}#$(t){const n=this.#s.failed;n&&(this.#i=ae(()=>{n(this.#e,()=>t,()=>()=>{})}))}#y(){const t=this.#s.pending;t&&(this.is_pending=!0,this.#r=ae(()=>t(this.#e)),me(()=>{var n=this.#o=document.createDocumentFragment(),r=be();n.append(r),this.#t=this.#m(()=>ae(()=>this.#f(r))),this.#u===0&&(this.#e.before(n),this.#o=null,Ue(this.#r,()=>{this.#r=null}),this.#g(m))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#c=0,this.#t=ae(()=>{this.#f(this.#e)}),this.#u>0){var t=this.#o=document.createDocumentFragment();kr(this.#t,t);const n=this.#s.pending;this.#r=ae(()=>n(this.#e))}else this.#g(m)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){Ft(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#s.pending}#m(t){var n=p,r=v,i=j;Y(this.#l),C(this.#l),ge(this.#l.ctx);try{return ne.ensure(),t()}catch(s){return It(s),null}finally{Y(n),C(r),ge(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#u+=t,this.#u===0&&(this.#g(n),this.#r&&Ue(this.#r,()=>{this.#r=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#a||this.#h)&&(this.#h=!0,me(()=>{this.#h=!1,this.#a&&Ye(this.#a,this.#c)}))}get_effect_pending(){return this.#v(),A(this.#a)}error(t){var n=this.#s.onerror;let r=this.#s.failed;if(!n&&!r)throw t;this.#t&&(L(this.#t),this.#t=null),this.#r&&(L(this.#r),this.#r=null),this.#i&&(L(this.#i),this.#i=null),x&&(z(this.#n),Jn(),z(Gn()));var i=!1,s=!1;const o=()=>{if(i){zn();return}i=!0,s&&Un(),this.#i!==null&&Ue(this.#i,()=>{this.#i=null}),this.#m(()=>{this.#w()})},l=u=>{try{s=!0,n?.(u,o),s=!1}catch(f){ee(f,this.#l&&this.#l.parent)}r&&(this.#i=this.#m(()=>{try{return ae(()=>{var f=p;f.b=this,f.f|=Xe,r(this.#e,()=>u,()=>o)})}catch(f){return ee(f,this.#l.parent),null}}))};me(()=>{var u;try{u=this.transform_error(t)}catch(f){ee(f,this.#l&&this.#l.parent);return}u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(l,f=>ee(f,this.#l&&this.#l.parent)):l(u)})}}function lr(e,t,n,r){const i=ut;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=or(),u=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){l();try{r(c)}catch(_){(o.f&P)===0&&ee(_,o)}Ve()}if(n.length===0){u.then(()=>f(t.map(i)));return}var a=zt();function h(){Promise.all(n.map(c=>fr(c))).then(c=>f([...t.map(i),...c])).catch(c=>ee(c,o)).finally(()=>a())}u?u.then(()=>{l(),h(),Ve()}):h()}function or(){var e=p,t=v,n=j,r=m;return function(s=!0){Y(e),C(t),ge(n),s&&(e.f&P)===0&&(r?.activate(),r?.apply())}}function Ve(e=!0){Y(null),C(null),ge(null),e&&m?.deactivate()}function zt(){var e=p,t=e.b,n=m,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 ut(e){var t=y|k,n=v!==null&&(v.f&y)!==0?v:null;return p!==null&&(p.f|=oe),{ctx:j,deps:null,effects:null,equals:Ct,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function fr(e,t,n){let r=p;r===null&&Fn();var i=void 0,s=ke(T),o=!v,l=new Map;return $r(()=>{var u=p,f=At();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ve)}catch(_){f.reject(_),Ve()}var a=m;if(o){if((u.f&le)!==0)var h=zt();if(r.b.is_rendered())l.get(a)?.reject(U),l.delete(a);else{for(const _ of l.values())_.reject(U);l.clear()}l.set(a,f)}const c=(_,d=void 0)=>{if(h){var g=d===U;h(g)}if(!(d===U||(u.f&P)!==0)){if(a.activate(),d)s.f|=Q,Ye(s,d);else{(s.f&Q)!==0&&(s.f^=Q),Ye(s,_);for(const[b,R]of l){if(l.delete(b),b===a)break;R.reject(U)}}a.deactivate()}};f.promise.then(c,_=>c(null,_||"unknown"))}),pr(()=>{for(const u of l.values())u.reject(U)}),new Promise(u=>{function f(a){function h(){a===i?u(s):f(i)}a.then(h,h)}f(i)})}function at(e){const t=ut(e);return un(t),t}function ur(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function ar(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&P)===0?t:null;t=t.parent}return null}function ct(e){var t,n=p;Y(ar(e));try{e.f&=~fe,ur(e),t=_n(e)}finally{Y(n)}return t}function Jt(e){var t=e.v,n=ct(e);if(!e.equals(n)&&(e.wv=hn(),(!m?.is_fork||e.deps===null)&&(e.v=n,m?.capture(e,t,!0),e.deps===null))){$(e,E);return}ce||(I!==null?(vt()||m?.is_fork)&&I.set(e,n):st(e))}function cr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(U),t.teardown=Mn,t.ac=null,Ce(t,0),pt(t))}function Gt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&$e(t)}let ht=new Set;const re=new Map;let Kt=!1;function ke(e,t){var n={f:0,v:e,reactions:null,equals:Ct,rv:0,wv:0};return n}function ie(e,t){const n=ke(e);return un(n),n}function hr(e,t=!1,n=!0){const r=ke(e);return t||(r.equals=Wn),r}function G(e,t,n=!1){v!==null&&(!F||(v.f&Ot)!==0)&&Pt()&&(v.f&(y|K|Qe|Ot))!==0&&(D===null||!_e.call(D,e))&&qn();let r=n?Ae(t):t;return Ye(e,r,He)}function Ye(e,t,n=null){if(!e.equals(t)){var r=e.v;ce?re.set(e,t):re.set(e,r),e.v=t;var i=ne.ensure();if(i.capture(e,r),(e.f&y)!==0){const s=e;(e.f&k)!==0&&ct(s),I===null&&st(s)}e.wv=hn(),Wt(e,k,n),p!==null&&(p.f&E)!==0&&(p.f&(W|X))===0&&(M===null?Sr([e]):M.push(e)),!i.is_fork&&ht.size>0&&!Kt&&dr()}return t}function dr(){Kt=!1;for(const e of ht)(e.f&E)!==0&&$(e,H),Oe(e)&&$e(e);ht.clear()}function Se(e){G(e,e.v+1)}function Wt(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,u=(l&k)===0;if(u&&$(o,t),(l&y)!==0){var f=o;I?.delete(f),(l&fe)===0&&(l&O&&(o.f|=fe),Wt(f,H,n))}else if(u){var a=o;(l&K)!==0&&J!==null&&J.add(a),n!==null?n.push(a):ft(a)}}}function Ae(e){if(typeof e!="object"||e===null||et in e)return e;const t=kt(e);if(t!==Cn&&t!==Dn)return e;var n=new Map,r=An(e),i=ie(0),s=de,o=l=>{if(de===s)return l();var u=v,f=de;C(null),cn(s);var a=l();return C(u),cn(f),a};return r&&n.set("length",ie(e.length)),new Proxy(e,{defineProperty(l,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Vn();var a=n.get(u);return a===void 0?o(()=>{var h=ie(f.value);return n.set(u,h),h}):G(a,f.value,!0),!0},deleteProperty(l,u){var f=n.get(u);if(f===void 0){if(u in l){const a=o(()=>ie(T));n.set(u,a),Se(i)}}else G(f,T),Se(i);return!0},get(l,u,f){if(u===et)return e;var a=n.get(u),h=u in l;if(a===void 0&&(!h||ve(l,u)?.writable)&&(a=o(()=>{var _=Ae(h?l[u]:T),d=ie(_);return d}),n.set(u,a)),a!==void 0){var c=A(a);return c===T?void 0:c}return Reflect.get(l,u,f)},getOwnPropertyDescriptor(l,u){var f=Reflect.getOwnPropertyDescriptor(l,u);if(f&&"value"in f){var a=n.get(u);a&&(f.value=A(a))}else if(f===void 0){var h=n.get(u),c=h?.v;if(h!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(l,u){if(u===et)return!0;var f=n.get(u),a=f!==void 0&&f.v!==T||Reflect.has(l,u);if(f!==void 0||p!==null&&(!a||ve(l,u)?.writable)){f===void 0&&(f=o(()=>{var c=a?Ae(l[u]):T,_=ie(c);return _}),n.set(u,f));var h=A(f);if(h===T)return!1}return a},set(l,u,f,a){var h=n.get(u),c=u in l;if(r&&u==="length")for(var _=f;_<h.v;_+=1){var d=n.get(_+"");d!==void 0?G(d,T):_ in l&&(d=o(()=>ie(T)),n.set(_+"",d))}if(h===void 0)(!c||ve(l,u)?.writable)&&(h=o(()=>ie(void 0)),G(h,Ae(f)),n.set(u,h));else{c=h.v!==T;var g=o(()=>Ae(f));G(h,g)}var b=Reflect.getOwnPropertyDescriptor(l,u);if(b?.set&&b.set.call(a,f),!c){if(r&&typeof u=="string"){var R=n.get("length"),q=Number(u);Number.isInteger(q)&&q>=R.v&&G(R,q+1)}Se(i)}return!0},ownKeys(l){A(i);var u=Reflect.ownKeys(l).filter(h=>{var c=n.get(h);return c===void 0||c.v!==T});for(var[f,a]of n)a.v!==T&&!(f in l)&&u.push(f);return u},setPrototypeOf(){Yn()}})}var Xt,Zt,Qt,en;function dt(){if(Xt===void 0){Xt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Qt=ve(t,"firstChild").get,en=ve(t,"nextSibling").get,St(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),St(n)&&(n.__t=void 0)}}function be(e=""){return document.createTextNode(e)}function qe(e){return Qt.call(e)}function se(e){return en.call(e)}function Ne(e,t){if(!x)return qe(e);var n=qe(w);return n===null&&(n=w.appendChild(be())),z(n),n}function Re(e,t=1,n=!1){let r=x?w:e;for(var i;t--;)i=r,r=se(r);if(!x)return r;if(n){if(r?.nodeType!==tt){var s=be();return r===null?i?.after(s):r.before(s),z(s),s}tn(r)}return z(r),r}function _r(e){e.textContent=""}function _t(e,t,n){return document.createElementNS(Tt,e,void 0)}function tn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===tt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function nn(e){var t=v,n=p;C(null),Y(null);try{return e()}finally{C(t),Y(n)}}function vr(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=p;n!==null&&(n.f&Z)!==0&&(e|=Z);var r={ctx:j,deps:null,nodes:null,f:e|k|O,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&pe)!==0)we!==null?we.push(r):ne.ensure().schedule(r);else if(t!==null){try{$e(r)}catch(o){throw L(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&oe)===0&&(i=i.first,(e&K)!==0&&(e&Fe)!==0&&i!==null&&(i.f|=Fe))}if(i!==null&&(i.parent=n,n!==null&&vr(i,n),v!==null&&(v.f&y)!==0&&(e&X)===0)){var s=v;(s.effects??=[]).push(i)}return r}function vt(){return v!==null&&!F}function pr(e){const t=V(Le,null);return $(t,E),t.teardown=e,t}function gr(e){return V(pe|In,e)}function mr(e){ne.ensure();const t=V(X|oe,e);return()=>{L(t)}}function wr(e){ne.ensure();const t=V(X|oe,e);return(n={})=>new Promise(r=>{n.outro?Ue(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function br(e){return V(pe,e)}function $r(e){return V(Qe|oe,e)}function rn(e,t=0){return V(Le|t,e)}function yr(e,t=[],n=[],r=[]){lr(r,t,n,i=>{V(Le,()=>e(...i.map(A)))})}function Er(e,t=0){var n=V(K|t,e);return n}function ae(e){return V(W|oe,e)}function sn(e){var t=e.teardown;if(t!==null){const n=ce,r=v;fn(!0),C(null);try{t.call(null)}finally{fn(n),C(r)}}}function pt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&nn(()=>{i.abort(U)});var r=n.next;(n.f&X)!==0?n.parent=null:L(n,t),n=r}}function xr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&jn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Tr(e.nodes.start,e.nodes.end),n=!0),$(e,Rt),pt(e,t&&!n),Ce(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();sn(e),e.f^=Rt,e.f|=P;var i=e.parent;i!==null&&i.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Tr(e,t){for(;e!==null;){var n=e===t?null:se(e);e.remove(),e=n}}function ln(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 Ue(e,t,n=!0){var r=[];on(e,r,!0);var i=()=>{n&&L(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function on(e,t,n){if((e.f&Z)===0){e.f^=Z;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&Fe)!==0||(i.f&W)!==0&&(e.f&K)!==0;on(i,t,o?n:!1),i=s}}}function kr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:se(n);t.append(n),n=i}}let ze=!1,ce=!1;function fn(e){ce=e}let v=null,F=!1;function C(e){v=e}let p=null;function Y(e){p=e}let D=null;function un(e){v!==null&&(D===null?D=[e]:D.push(e))}let S=null,N=0,M=null;function Sr(e){M=e}let an=1,he=0,de=he;function cn(e){de=e}function hn(){return++an}function Oe(e){var t=e.f;if((t&k)!==0)return!0;if(t&y&&(e.f&=~fe),(t&H)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Oe(s)&&Jt(s),s.wv>e.wv)return!0}(t&O)!==0&&I===null&&$(e,E)}return!1}function dn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(D!==null&&_e.call(D,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?dn(s,t,!1):t===s&&(n?$(s,k):(s.f&E)!==0&&$(s,H),ft(s))}}function _n(e){var t=S,n=N,r=M,i=v,s=D,o=j,l=F,u=de,f=e.f;S=null,N=0,M=null,v=(f&(W|X))===0?e:null,D=null,ge(e.ctx),F=!1,de=++he,e.ac!==null&&(nn(()=>{e.ac.abort(U)}),e.ac=null);try{e.f|=Ze;var a=e.fn,h=a();e.f|=le;var c=e.deps,_=m?.is_fork;if(S!==null){var d;if(_||Ce(e,N),c!==null&&N>0)for(c.length=N+S.length,d=0;d<S.length;d++)c[N+d]=S[d];else e.deps=c=S;if(vt()&&(e.f&O)!==0)for(d=N;d<c.length;d++)(c[d].reactions??=[]).push(e)}else!_&&c!==null&&N<c.length&&(Ce(e,N),c.length=N);if(Pt()&&M!==null&&!F&&c!==null&&(e.f&(y|H|k))===0)for(d=0;d<M.length;d++)dn(M[d],e);if(i!==null&&i!==e){if(he++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=he;if(t!==null)for(const g of t)g.rv=he;M!==null&&(r===null?r=M:r.push(...M))}return(e.f&Q)!==0&&(e.f^=Q),h}catch(g){return It(g)}finally{e.f^=Ze,S=t,N=n,M=r,v=i,D=s,ge(o),F=l,de=u}}function Ar(e,t){let n=t.reactions;if(n!==null){var r=Nn.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&y)!==0&&(S===null||!_e.call(S,t))){var s=t;(s.f&O)!==0&&(s.f^=O,s.f&=~fe),st(s),cr(s),Ce(s,0)}}function Ce(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ar(e,n[r])}function $e(e){var t=e.f;if((t&P)===0){$(e,E);var n=p,r=ze;p=e,ze=!0;try{(t&(K|Nt))!==0?xr(e):pt(e),sn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=an;var s;Sn&&Xn&&(e.f&k)!==0&&e.deps}finally{ze=r,p=n}}}function A(e){var t=e.f,n=(t&y)!==0;if(v!==null&&!F){var r=p!==null&&(p.f&P)!==0;if(!r&&(D===null||!_e.call(D,e))){var i=v.deps;if((v.f&Ze)!==0)e.rv<he&&(e.rv=he,S===null&&i!==null&&i[N]===e?N++:S===null?S=[e]:S.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:_e.call(s,v)||s.push(v)}}}if(ce&&re.has(e))return re.get(e);if(n){var o=e;if(ce){var l=o.v;return((o.f&E)===0&&o.reactions!==null||pn(o))&&(l=ct(o)),re.set(o,l),l}var u=(o.f&O)===0&&!F&&v!==null&&(ze||(v.f&O)!==0),f=(o.f&le)===0;Oe(o)&&(u&&(o.f|=O),Jt(o)),u&&!f&&(Gt(o),vn(o))}if(I?.has(e))return I.get(e);if((e.f&Q)!==0)throw e.v;return e.v}function vn(e){if(e.f|=O,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&O)===0&&(Gt(t),vn(t))}function pn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(re.has(t)||(t.f&y)!==0&&pn(t))return!0;return!1}function Nr(e){var t=F;try{return F=!0,e()}finally{F=t}}const De=Symbol("events"),gn=new Set,gt=new Set;function Rr(e,t,n){(t[De]??={})[e]=n}function Or(e){for(var t=0;t<e.length;t++)gn.add(e[t]);for(var n of gt)n(e)}let mn=null;function wn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;mn=e;var o=0,l=mn===e&&e[De];if(l){var u=i.indexOf(l);if(u!==-1&&(t===document||t===window)){e[De]=t;return}var f=i.indexOf(t);if(f===-1)return;u<=f&&(o=u)}if(s=i[o]||e.target,s!==t){Ie(e,"currentTarget",{configurable:!0,get(){return s||n}});var a=v,h=p;C(null),Y(null);try{for(var c,_=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[De]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(b){c?_.push(b):c=b}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let b of _)queueMicrotask(()=>{throw b});throw c}}finally{e[De]=t,delete e.currentTarget,C(a),Y(h)}}}const Cr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Dr(e){return Cr?.createHTML(e)??e}function Mr(e){var t=_t("template");return t.innerHTML=Dr(e.replaceAll("<!>","<!---->")),t.content}function Me(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Pr(e,t){var n=(t&kn)!==0,r,i=!e.startsWith("<!>");return()=>{if(x)return Me(w,null),w;r===void 0&&(r=Mr(i?e:"<!>"+e),r=qe(r));var s=n||Zt?document.importNode(r,!0):r.cloneNode(!0);return Me(s,s),s}}function jr(e=""){if(!x){var t=be(e+"");return Me(t,t),t}var n=w;return n.nodeType!==tt?(n.before(n=be()),z(n)):tn(n),Me(n,n),n}function mt(e,t){if(x){var n=p;((n.f&le)===0||n.nodes.end===null)&&(n.nodes.end=w),it();return}e!==null&&e.before(t)}const Ir=["touchstart","touchmove"];function Lr(e){return Ir.includes(e)}function Je(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function bn(e,t){return $n(e,t)}function Fr(e,t){dt(),t.intro=t.intro??!1;const n=t.target,r=x,i=w;try{for(var s=qe(n);s&&(s.nodeType!==nt||s.data!==$t);)s=se(s);if(!s)throw ye;Be(!0),z(s);const o=$n(e,{...t,anchor:s});return Be(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==ye&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Hn(),dt(),_r(n),Be(!1),bn(e,t)}finally{Be(r),z(i)}}const Ge=new Map;function $n(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){dt();var u=void 0,f=wr(()=>{var a=n??t.appendChild(be());ir(a,{pending:()=>{}},_=>{Dt({});var d=j;if(s&&(d.c=s),i&&(r.$$events=i),x&&Me(_,null),u=e(_,r)||{},x&&(p.nodes.end=w,w===null||w.nodeType!==nt||w.data!==xt))throw rt(),ye;Mt()},l);var h=new Set,c=_=>{for(var d=0;d<_.length;d++){var g=_[d];if(!h.has(g)){h.add(g);var b=Lr(g);for(const Pe of[t,document]){var R=Ge.get(Pe);R===void 0&&(R=new Map,Ge.set(Pe,R));var q=R.get(g);q===void 0?(Pe.addEventListener(g,wn,{passive:b}),R.set(g,1)):R.set(g,q+1)}}}};return c(Rn(gn)),gt.add(c),()=>{for(var _ of h)for(const b of[t,document]){var d=Ge.get(b),g=d.get(_);--g==0?(b.removeEventListener(_,wn),d.delete(_),d.size===0&&Ge.delete(b)):d.set(_,g)}gt.delete(c),a!==n&&a.parentNode?.removeChild(a)}});return wt.set(u,f),u}let wt=new WeakMap;function Br(e,t){const n=wt.get(e);return n?(wt.delete(e),n(t)):Promise.resolve()}function Hr(e,t,n,r,i){x&&it();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t[n],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>r:r)}function Vr(e,t){br(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=_t("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}const Yr=Symbol("is custom element"),qr=Symbol("is html");function Ur(e,t,n,r){var i=zr(e);x&&(i[t]=e.getAttribute(t)),i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&Jr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function zr(e){return e.__attributes??={[Yr]:e.nodeName.includes("-"),[qr]:e.namespaceURI===Tt}}var yn=new Map;function Jr(e){var t=e.getAttribute("is")||e.nodeName,n=yn.get(t);if(n)return n;yn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=On(i);for(var o in r)r[o].set&&n.push(o);i=kt(i)}return n}function Ke(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var u;u=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var f=!1,a=ut(()=>(f=!1,u())),h=p;return(function(c,_){if(arguments.length>0){const d=_?A(a):c;return G(a,d),f=!0,i!==void 0&&(i=d),c}return ce&&f||(h.f&P)!==0?a.v:A(a)})}function Gr(e){return new Kr(e)}class Kr{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=hr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return A(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===Ln?!0:(A(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return G(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?Fr:bn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Te(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Ie(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Br(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let En;typeof HTMLElement=="function"&&(En=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 i=>{const s=_t("slot");r!=="default"&&(s.name=r),mt(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Wr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=We(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Gr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=mr(()=>{rn(()=>{this.$$r=!0;for(const r of je(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=We(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=We(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 je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function We(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Wr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Xr(e,t,n,r,i,s){let o=class extends En{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return je(t).map(l=>(t[l].attribute||l).toLowerCase())}};return je(t).forEach(l=>{Ie(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){u=We(l,u,t),this.$$d[l]=u;var f=this.$$c;if(f){var a=ve(f,l)?.get;a?f[l]=u:f.$set({[l]:u})}}})}),r.forEach(l=>{Ie(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var Zr=Pr('<div class="skeleton-root svelte-10p6erh"><p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <button class="btn btn-primary svelte-10p6erh">Dispatch Event</button> <!></div>');const Qr={hash:"svelte-10p6erh",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;}
3
3
  /*!
4
4
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
5
5
  * Copyright 2011-2021 The Bootstrap Authors
6
6
  * Copyright 2011-2021 Twitter, Inc.
7
7
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
8
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-10p6erh,
8
+ */.svelte-10p6erh,
9
9
  .svelte-10p6erh::before,
10
10
  .svelte-10p6erh::after {box-sizing:border-box;}
11
11
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -56,5 +56,5 @@ button.svelte-10p6erh {margin:0;font-family:inherit;font-size:inherit;line-heigh
56
56
  @media (min-width: 1200px) {
57
57
  }
58
58
  @media (min-width: 1400px) {
59
- }`};function ur(e,t){St(t,!0),$n(e,Pn);let r=Je(t,"id",7,""),n=Je(t,"string",7,""),i=Je(t,"json",7,"{}"),s=Je(t,"boolean",7,!1),o=ft(()=>n()?n().toUpperCase():""),f=ft(()=>{if(typeof i()=="object")return i();try{return JSON.parse(i()||"{}")}catch{return{}}}),l=ft(()=>s()===!0||s()==="true"||s()==="");function a(){t.$$host.dispatchEvent(new CustomEvent("event",{detail:{test:!0}}))}var c={get id(){return r()},set id(L=""){r(L),ye()},get string(){return n()},set string(L=""){n(L),ye()},get json(){return i()},set json(L="{}"){i(L),ye()},get boolean(){return s()},set boolean(L=!1){s(L),ye()}},h=On(),u=xe(h),d=xe(u);ge(u);var b=ke(u,2),D=xe(b);ge(b);var I=ke(b,2),We=xe(I);ge(I);var fe=ke(I,2),jn=xe(fe);ge(fe);var cr=ke(fe,2);cr.__click=a;var Mn=ke(cr,2);return wn(Mn,t,"content",{},L=>{var Dn=bn("Default slot content");ht(L,Dn)}),ge(h),rn(L=>{kn(h,"id",r()),ze(d,`String: ${n()??""}`),ze(D,`Upper: ${S(o)??""}`),ze(We,`Boolean: ${S(l)??""}`),ze(jn,`JSON keys: ${L??""}`)},[()=>Object.keys(S(f)).join(", ")]),ht(e,h),Tt(c)}hn(["click"]),customElements.define("hb-skeleton-component",Rn(ur,{id:{},string:{},json:{},boolean:{}},["content"],[],!0)),vt.Component=ur,Object.defineProperty(vt,Symbol.toStringTag,{value:"Module"})})(this["skeleton-component"]=this["skeleton-component"]||{});
59
+ }`};function xn(e,t){Dt(t,!0),Vr(e,Qr);let n=Ke(t,"id",7,""),r=Ke(t,"string",7,""),i=Ke(t,"json",7,"{}"),s=Ke(t,"boolean",7,!1),o=at(()=>r()?r().toUpperCase():""),l=at(()=>{if(typeof i()=="object")return i();try{return JSON.parse(i()||"{}")}catch{return{}}}),u=at(()=>s()===!0||s()==="true"||s()==="");function f(){t.$$host.dispatchEvent(new CustomEvent("event",{detail:{test:!0}}))}var a={get id(){return n()},set id(B=""){n(B),Te()},get string(){return r()},set string(B=""){r(B),Te()},get json(){return i()},set json(B="{}"){i(B),Te()},get boolean(){return s()},set boolean(B=!1){s(B),Te()}},h=Zr(),c=Ne(h),_=Ne(c);Ee(c);var d=Re(c,2),g=Ne(d);Ee(d);var b=Re(d,2),R=Ne(b);Ee(b);var q=Re(b,2),Pe=Ne(q);Ee(q);var Tn=Re(q,2),ei=Re(Tn,2);return Hr(ei,t,"content",{},B=>{var ti=jr("Default slot content");mt(B,ti)}),Ee(h),yr(B=>{Ur(h,"id",n()),Je(_,`String: ${r()??""}`),Je(g,`Upper: ${A(o)??""}`),Je(R,`Boolean: ${A(u)??""}`),Je(Pe,`JSON keys: ${B??""}`)},[()=>Object.keys(A(l)).join(", ")]),Rr("click",Tn,f),mt(e,h),Mt(a)}Or(["click"]),customElements.define("hb-skeleton-component",Xr(xn,{id:{},string:{},json:{},boolean:{}},["content"],[],{mode:"open"})),bt.Component=xn,Object.defineProperty(bt,Symbol.toStringTag,{value:"Module"})})(this["skeleton-component"]=this["skeleton-component"]||{});
60
60
  //# sourceMappingURL=main.iife.js.map