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