@htmlbricks/hb-table 0.61.12 → 0.61.13
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 +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(Ea){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $r=1,Er=2,ja=4,Ji=8,Xi=16,Zi=1,Ki=4,Qi=8,to=16,eo=1,ro=2,Hr="[",Br="[!",qr="]",Qe={},Ot=Symbol(),ao="http://www.w3.org/1999/xhtml",Sa=!1;var Ur=Array.isArray,io=Array.prototype.indexOf,Wr=Array.from,jr=Object.keys,tr=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,oo=Object.getOwnPropertyDescriptors,no=Object.prototype,lo=Array.prototype,Ma=Object.getPrototypeOf,Ca=Object.isExtensible;function Ta(t){for(var e=0;e<t.length;e++)t[e]()}function so(){var t,e,r=new Promise((a,o)=>{t=a,e=o});return{promise:r,resolve:t,reject:e}}const Gt=2,Vr=4,Gr=8,er=16,ke=32,Oe=64,Oa=128,ee=256,Sr=512,Nt=1024,re=2048,Ae=4096,be=8192,Fe=16384,Jr=32768,Xr=65536,Aa=1<<17,Da=1<<18,rr=1<<19,bo=1<<20,Zr=1<<21,Kr=1<<22,He=1<<23,Mr=Symbol("$state"),Na=Symbol("legacy props"),mo=Symbol(""),Qr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ta=3,ar=8;function vo(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function po(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function co(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function go(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fo(t){throw new Error("https://svelte.dev/e/effect_orphan")}function uo(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ho(){throw new Error("https://svelte.dev/e/hydration_failed")}function xo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function wo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function yo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function _o(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Cr(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let G=!1;function Jt(t){G=t}let it;function qt(t){if(t===null)throw Cr(),Qe;return it=t}function pr(){return qt(pe(it))}function P(t){if(G){if(pe(it)!==null)throw Cr(),Qe;it=t}}function ea(){for(var t=0,e=it;;){if(e.nodeType===ar){var r=e.data;if(r===qr){if(t===0)return e;t-=1}else(r===Hr||r===Br)&&(t+=1)}var a=pe(e);e.remove(),e=a}}function za(t){if(!t||t.nodeType!==ar)throw Cr(),Qe;return t.data}function Ia(t){return t===this.v}function ko(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function La(t){return!ko(t,this.v)}let $o=!1,me=null;function Tr(t){me=t}function Ra(t,e=!1,r){me={p:me,c:null,e:null,s:t,x:null,l:null}}function Pa(t){var e=me,r=e.e;if(r!==null){e.e=null;for(var a of r)si(a)}return t!==void 0&&(e.x=t),me=e.p,t??{}}function Ya(){return!0}const Eo=new WeakMap;function jo(t){var e=U;if(e===null)return X.f|=He,t;if((e.f&Jr)===0){if((e.f&Oa)===0)throw!e.parent&&t instanceof Error&&Fa(t),t;e.b.error(t)}else ra(t,e)}function ra(t,e){for(;e!==null;){if((e.f&Oa)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t instanceof Error&&Fa(t),t}function Fa(t){const e=Eo.get(t);e&&(tr(t,"message",{value:e.message}),tr(t,"stack",{value:e.stack}))}const So=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let cr=[],gr=[];function Ha(){var t=cr;cr=[],Ta(t)}function Ba(){var t=gr;gr=[],Ta(t)}function qa(t){cr.length===0&&queueMicrotask(Ha),cr.push(t)}function Mo(t){gr.length===0&&So(Ba),gr.push(t)}function Co(){cr.length>0&&Ha(),gr.length>0&&Ba()}function To(){const t=U.b;return t===null&&vo(),t}function Or(t){var e=Gt|re,r=X!==null&&(X.f&Gt)!==0?X:null;return U===null||r!==null&&(r.f&ee)!==0?e|=ee:U.f|=rr,{ctx:me,deps:null,effects:null,equals:Ia,f:e,fn:t,reactions:null,rv:0,v:Ot,wv:0,parent:r??U,ac:null}}function Oo(t,e){let r=U;r===null&&po();var a=r.b,o=void 0,n=fr(Ot),l=null,b=!X;return qo(()=>{try{var m=t();l&&Promise.resolve(m).catch(()=>{})}catch(y){m=Promise.reject(y)}var d=()=>m;o=l?.then(d,d)??Promise.resolve(m),l=o;var p=Mt,u=a.is_pending();b&&(a.update_pending_count(1),u||p.increment());const _=(y,c=void 0)=>{l=null,u||p.activate(),c?c!==Qr&&(n.f|=He,ur(n,c)):((n.f&He)!==0&&(n.f^=He),ur(n,y)),b&&(a.update_pending_count(-1),u||p.decrement()),Ga()};if(o.then(_,y=>_(null,y||"unknown")),p)return()=>{queueMicrotask(()=>p.neuter())}}),new Promise(m=>{function d(p){function u(){p===o?m(n):d(o)}p.then(u,u)}d(o)})}function Ar(t){const e=Or(t);return fi(e),e}function Ua(t){const e=Or(t);return e.equals=La,e}function Wa(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)ge(e[r])}}function Ao(t){for(var e=t.parent;e!==null;){if((e.f&Gt)===0)return e;e=e.parent}return null}function aa(t){var e,r=U;ue(Ao(t));try{Wa(t),e=yi(t)}finally{ue(r)}return e}function Va(t){var e=aa(t);if(t.equals(e)||(t.v=e,t.wv=xi()),!We){var r=(ze||(t.f&ee)!==0)&&t.deps!==null?Ae:Nt;Ut(t,r)}}function Do(t,e,r){const a=Or;if(e.length===0){r(t.map(a));return}var o=Mt,n=U,l=No(),b=To();Promise.all(e.map(m=>Oo(m))).then(m=>{o?.activate(),l();try{r([...t.map(a),...m])}catch(d){(n.f&Fe)===0&&ra(d,n)}o?.deactivate(),Ga()}).catch(m=>{b.error(m)})}function No(){var t=U,e=X,r=me,a=Mt;return function(){ue(t),ie(e),Tr(r),a?.activate()}}function Ga(){ue(null),ie(null),Tr(null)}const ia=new Set;let Mt=null,Ja=new Set,Dr=[];function Xa(){const t=Dr.shift();Dr.length>0&&queueMicrotask(Xa),t()}let Be=[],Nr=null,oa=!1,zr=!1;class qe{current=new Map;#e=new Map;#t=new Set;#r=0;#b=null;#m=!1;#i=[];#n=[];#o=[];#a=[];#l=[];#d=[];#v=[];skipped_effects=new Set;process(e){Be=[];for(const o of e)this.#c(o);if(this.#i.length===0&&this.#r===0){this.#p();var r=this.#o,a=this.#a;this.#o=[],this.#a=[],this.#l=[],Mt=null,Ka(r),Ka(a),Mt===null?Mt=this:ia.delete(this),this.#b?.resolve()}else this.#s(this.#o),this.#s(this.#a),this.#s(this.#l);for(const o of this.#i)lr(o);for(const o of this.#n)lr(o);this.#i=[],this.#n=[]}#c(e){e.f^=Nt;for(var r=e.first;r!==null;){var a=r.f,o=(a&(ke|Oe))!==0,n=o&&(a&Nt)!==0,l=n||(a&be)!==0||this.skipped_effects.has(r);if(!l&&r.fn!==null){if(o)r.f^=Nt;else if((a&Vr)!==0)this.#a.push(r);else if((a&Nt)===0)if((a&Kr)!==0){var b=r.b?.is_pending()?this.#n:this.#i;b.push(r)}else Ir(r)&&((r.f&er)!==0&&this.#l.push(r),lr(r));var m=r.first;if(m!==null){r=m;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)r=d.next,d=d.parent}}#s(e){for(const r of e)((r.f&re)!==0?this.#d:this.#v).push(r),Ut(r,Nt);e.length=0}capture(e,r){this.#e.has(e)||this.#e.set(e,r),this.current.set(e,e.v)}activate(){Mt=this}deactivate(){Mt=null;for(const e of Ja)if(Ja.delete(e),e(),Mt!==null)break}neuter(){this.#m=!0}flush(){Be.length>0?Za():this.#p(),Mt===this&&(this.#r===0&&ia.delete(this),this.deactivate())}#p(){if(!this.#m)for(const e of this.#t)e();this.#t.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const e of this.#d)Ut(e,re),ir(e);for(const e of this.#v)Ut(e,Ae),ir(e);this.#o=[],this.#a=[],this.flush()}else this.deactivate()}add_callback(e){this.#t.add(e)}settled(){return(this.#b??=so()).promise}static ensure(){if(Mt===null){const e=Mt=new qe;ia.add(Mt),zr||qe.enqueue(()=>{Mt===e&&e.flush()})}return Mt}static enqueue(e){Dr.length===0&&queueMicrotask(Xa),Dr.unshift(e)}}function zt(t){var e=zr;zr=!0;try{for(var r;;){if(Co(),Be.length===0&&(Mt?.flush(),Be.length===0))return Nr=null,r;Za()}}finally{zr=e}}function Za(){var t=nr;oa=!0;try{var e=0;for(ci(!0);Be.length>0;){var r=qe.ensure();if(e++>1e3){var a,o;zo()}r.process(Be),De.clear()}}finally{oa=!1,ci(t),Nr=null}}function zo(){try{uo()}catch(t){ra(t,Nr)}}let Ue=null;function Ka(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(Fe|be))===0&&Ir(a)&&(Ue=[],lr(a),a.deps===null&&a.first===null&&a.nodes_start===null&&(a.teardown===null&&a.ac===null?di(a):a.fn=null),Ue?.length>0)){De.clear();for(const o of Ue)lr(o);Ue=[]}}Ue=null}}function ir(t){for(var e=Nr=t;e.parent!==null;){e=e.parent;var r=e.f;if(oa&&e===U&&(r&er)!==0)return;if((r&(Oe|ke))!==0){if((r&Nt)===0)return;e.f^=Nt}}Be.push(e)}const De=new Map;function fr(t,e){var r={f:0,v:t,reactions:null,equals:Ia,rv:0,wv:0};return r}function _t(t,e){const r=fr(t);return fi(r),r}function Qa(t,e=!1,r=!0){const a=fr(t);return e||(a.equals=La),a}function lt(t,e,r=!1){X!==null&&(!fe||(X.f&Aa)!==0)&&Ya()&&(X.f&(Gt|er|Kr|Aa))!==0&&!$e?.includes(t)&&_o();let a=r?ae(e):e;return ur(t,a)}function ur(t,e){if(!t.equals(e)){var r=t.v;We?De.set(t,e):De.set(t,r),t.v=e;var a=qe.ensure();a.capture(t,r),(t.f&Gt)!==0&&((t.f&re)!==0&&aa(t),Ut(t,(t.f&ee)===0?Nt:Ae)),t.wv=xi(),ti(t,re),U!==null&&(U.f&Nt)!==0&&(U.f&(ke|Oe))===0&&(oe===null?Go([t]):oe.push(t))}return e}function na(t){lt(t,t.v+1)}function ti(t,e){var r=t.reactions;if(r!==null)for(var a=r.length,o=0;o<a;o++){var n=r[o],l=n.f,b=(l&re)===0;b&&Ut(n,e),(l&Gt)!==0?ti(n,Ae):b&&((l&er)!==0&&Ue!==null&&Ue.push(n),ir(n))}}function ae(t){if(typeof t!="object"||t===null||Mr in t)return t;const e=Ma(t);if(e!==no&&e!==lo)return t;var r=new Map,a=Ur(t),o=_t(0),n=Ve,l=b=>{if(Ve===n)return b();var m=X,d=Ve;ie(null),hi(n);var p=b();return ie(m),hi(d),p};return a&&r.set("length",_t(t.length)),new Proxy(t,{defineProperty(b,m,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&wo();var p=r.get(m);return p===void 0?p=l(()=>{var u=_t(d.value);return r.set(m,u),u}):lt(p,d.value,!0),!0},deleteProperty(b,m){var d=r.get(m);if(d===void 0){if(m in b){const p=l(()=>_t(Ot));r.set(m,p),na(o)}}else lt(d,Ot),na(o);return!0},get(b,m,d){if(m===Mr)return t;var p=r.get(m),u=m in b;if(p===void 0&&(!u||Ye(b,m)?.writable)&&(p=l(()=>{var y=ae(u?b[m]:Ot),c=_t(y);return c}),r.set(m,p)),p!==void 0){var _=i(p);return _===Ot?void 0:_}return Reflect.get(b,m,d)},getOwnPropertyDescriptor(b,m){var d=Reflect.getOwnPropertyDescriptor(b,m);if(d&&"value"in d){var p=r.get(m);p&&(d.value=i(p))}else if(d===void 0){var u=r.get(m),_=u?.v;if(u!==void 0&&_!==Ot)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return d},has(b,m){if(m===Mr)return!0;var d=r.get(m),p=d!==void 0&&d.v!==Ot||Reflect.has(b,m);if(d!==void 0||U!==null&&(!p||Ye(b,m)?.writable)){d===void 0&&(d=l(()=>{var _=p?ae(b[m]):Ot,y=_t(_);return y}),r.set(m,d));var u=i(d);if(u===Ot)return!1}return p},set(b,m,d,p){var u=r.get(m),_=m in b;if(a&&m==="length")for(var y=d;y<u.v;y+=1){var c=r.get(y+"");c!==void 0?lt(c,Ot):y in b&&(c=l(()=>_t(Ot)),r.set(y+"",c))}if(u===void 0)(!_||Ye(b,m)?.writable)&&(u=l(()=>_t(void 0)),lt(u,ae(d)),r.set(m,u));else{_=u.v!==Ot;var $=l(()=>ae(d));lt(u,$)}var M=Reflect.getOwnPropertyDescriptor(b,m);if(M?.set&&M.set.call(p,d),!_){if(a&&typeof m=="string"){var z=r.get("length"),S=Number(m);Number.isInteger(S)&&S>=z.v&<(z,S+1)}na(o)}return!0},ownKeys(b){i(o);var m=Reflect.ownKeys(b).filter(u=>{var _=r.get(u);return _===void 0||_.v!==Ot});for(var[d,p]of r)p.v!==Ot&&!(d in b)&&m.push(d);return m},setPrototypeOf(){yo()}})}var ei,ri,ai,ii;function la(){if(ei===void 0){ei=window,ri=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;ai=Ye(e,"firstChild").get,ii=Ye(e,"nextSibling").get,Ca(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ca(r)&&(r.__t=void 0)}}function de(t=""){return document.createTextNode(t)}function Ne(t){return ai.call(t)}function pe(t){return ii.call(t)}function q(t,e){if(!G)return Ne(t);var r=Ne(it);if(r===null)r=it.appendChild(de());else if(e&&r.nodeType!==ta){var a=de();return r?.before(a),qt(a),a}return qt(r),r}function vt(t,e){if(!G){var r=Ne(t);return r instanceof Comment&&r.data===""?pe(r):r}return it}function mt(t,e=1,r=!1){let a=G?it:t;for(var o;e--;)o=a,a=pe(a);if(!G)return a;if(r&&a?.nodeType!==ta){var n=de();return a===null?o?.after(n):a.before(n),qt(n),n}return qt(a),a}function oi(t){t.textContent=""}function ni(){return!1}let li=!1;function Io(){li||(li=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{if(!t.defaultPrevented)for(const e of t.target.elements)e.__on_r?.()})},{capture:!0}))}function sa(t){var e=X,r=U;ie(null),ue(null);try{return t()}finally{ie(e),ue(r)}}function Lo(t){U===null&&X===null&&fo(),X!==null&&(X.f&ee)!==0&&U===null&&go(),We&&co()}function Ro(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function ce(t,e,r,a=!0){var o=U;o!==null&&(o.f&be)!==0&&(t|=be);var n={ctx:me,deps:null,nodes_start:null,nodes_end:null,f:t|re,first:null,fn:e,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{lr(n),n.f|=Jr}catch(m){throw ge(n),m}else e!==null&&ir(n);if(a){var l=n;if(r&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&rr)===0&&(l=l.first),l!==null&&(l.parent=o,o!==null&&Ro(l,o),X!==null&&(X.f&Gt)!==0&&(t&Oe)===0)){var b=X;(b.effects??=[]).push(l)}}return n}function Po(t){const e=ce(Gr,null,!1);return Ut(e,Nt),e.teardown=t,e}function Yo(t){Lo();var e=U.f,r=!X&&(e&ke)!==0&&(e&Jr)===0;if(r){var a=me;(a.e??=[]).push(t)}else return si(t)}function si(t){return ce(Vr|bo,t,!1)}function Fo(t){qe.ensure();const e=ce(Oe|rr,t,!0);return()=>{ge(e)}}function Ho(t){qe.ensure();const e=ce(Oe|rr,t,!0);return(r={})=>new Promise(a=>{r.outro?ma(e,()=>{ge(e),a(void 0)}):(ge(e),a(void 0))})}function Bo(t){return ce(Vr,t,!1)}function qo(t){return ce(Kr|rr,t,!0)}function Uo(t,e=0){return ce(Gr|e,t,!0)}function B(t,e=[],r=[]){Do(e,r,a=>{ce(Gr,()=>t(...a.map(i)),!0)})}function ba(t,e=0){var r=ce(er|e,t,!0);return r}function or(t,e=!0){return ce(ke|rr,t,!0,e)}function bi(t){var e=t.teardown;if(e!==null){const r=We,a=X;gi(!0),ie(null);try{e.call(null)}finally{gi(r),ie(a)}}}function mi(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&sa(()=>{o.abort(Qr)});var a=r.next;(r.f&Oe)!==0?r.parent=null:ge(r,e),r=a}}function Wo(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&ke)===0&&ge(e),e=r}}function ge(t,e=!0){var r=!1;(e||(t.f&Da)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Vo(t.nodes_start,t.nodes_end),r=!0),mi(t,e&&!r),Lr(t,0),Ut(t,Fe);var a=t.transitions;if(a!==null)for(const n of a)n.stop();bi(t);var o=t.parent;o!==null&&o.first!==null&&di(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Vo(t,e){for(;t!==null;){var r=t===e?null:pe(t);t.remove(),t=r}}function di(t){var e=t.parent,r=t.prev,a=t.next;r!==null&&(r.next=a),a!==null&&(a.prev=r),e!==null&&(e.first===t&&(e.first=a),e.last===t&&(e.last=r))}function ma(t,e){var r=[];da(t,r,!0),vi(r,()=>{ge(t),e&&e()})}function vi(t,e){var r=t.length;if(r>0){var a=()=>--r||e();for(var o of t)o.out(a)}else e()}function da(t,e,r){if((t.f&be)===0){if(t.f^=be,t.transitions!==null)for(const l of t.transitions)(l.is_global||r)&&e.push(l);for(var a=t.first;a!==null;){var o=a.next,n=(a.f&Xr)!==0||(a.f&ke)!==0;da(a,e,n?r:!1),a=o}}}function va(t){pi(t,!0)}function pi(t,e){if((t.f&be)!==0){t.f^=be,(t.f&Nt)===0&&(Ut(t,re),ir(t));for(var r=t.first;r!==null;){var a=r.next,o=(r.f&Xr)!==0||(r.f&ke)!==0;pi(r,o?e:!1),r=a}if(t.transitions!==null)for(const n of t.transitions)(n.is_global||e)&&n.in()}}let nr=!1;function ci(t){nr=t}let We=!1;function gi(t){We=t}let X=null,fe=!1;function ie(t){X=t}let U=null;function ue(t){U=t}let $e=null;function fi(t){X!==null&&($e===null?$e=[t]:$e.push(t))}let Ft=null,Xt=0,oe=null;function Go(t){oe=t}let ui=1,hr=0,Ve=hr;function hi(t){Ve=t}let ze=!1;function xi(){return++ui}function Ir(t){var e=t.f;if((e&re)!==0)return!0;if((e&Ae)!==0){var r=t.deps,a=(e&ee)!==0;if(r!==null){var o,n,l=(e&Sr)!==0,b=a&&U!==null&&!ze,m=r.length;if((l||b)&&(U===null||(U.f&Fe)===0)){var d=t,p=d.parent;for(o=0;o<m;o++)n=r[o],(l||!n?.reactions?.includes(d))&&(n.reactions??=[]).push(d);l&&(d.f^=Sr),b&&p!==null&&(p.f&ee)===0&&(d.f^=ee)}for(o=0;o<m;o++)if(n=r[o],Ir(n)&&Va(n),n.wv>t.wv)return!0}(!a||U!==null&&!ze)&&Ut(t,Nt)}return!1}function wi(t,e,r=!0){var a=t.reactions;if(a!==null&&!$e?.includes(t))for(var o=0;o<a.length;o++){var n=a[o];(n.f&Gt)!==0?wi(n,e,!1):e===n&&(r?Ut(n,re):(n.f&Nt)!==0&&Ut(n,Ae),ir(n))}}function yi(t){var e=Ft,r=Xt,a=oe,o=X,n=ze,l=$e,b=me,m=fe,d=Ve,p=t.f;Ft=null,Xt=0,oe=null,ze=(p&ee)!==0&&(fe||!nr||X===null),X=(p&(ke|Oe))===0?t:null,$e=null,Tr(t.ctx),fe=!1,Ve=++hr,t.ac!==null&&(sa(()=>{t.ac.abort(Qr)}),t.ac=null);try{t.f|=Zr;var u=t.fn,_=u(),y=t.deps;if(Ft!==null){var c;if(Lr(t,Xt),y!==null&&Xt>0)for(y.length=Xt+Ft.length,c=0;c<Ft.length;c++)y[Xt+c]=Ft[c];else t.deps=y=Ft;if(!ze||(p&Gt)!==0&&t.reactions!==null)for(c=Xt;c<y.length;c++)(y[c].reactions??=[]).push(t)}else y!==null&&Xt<y.length&&(Lr(t,Xt),y.length=Xt);if(Ya()&&oe!==null&&!fe&&y!==null&&(t.f&(Gt|Ae|re))===0)for(c=0;c<oe.length;c++)wi(oe[c],t);return o!==null&&o!==t&&(hr++,oe!==null&&(a===null?a=oe:a.push(...oe))),(t.f&He)!==0&&(t.f^=He),_}catch($){return jo($)}finally{t.f^=Zr,Ft=e,Xt=r,oe=a,X=o,ze=n,$e=l,Tr(b),fe=m,Ve=d}}function Jo(t,e){let r=e.reactions;if(r!==null){var a=io.call(r,t);if(a!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[a]=r[o],r.pop())}}r===null&&(e.f&Gt)!==0&&(Ft===null||!Ft.includes(e))&&(Ut(e,Ae),(e.f&(ee|Sr))===0&&(e.f^=Sr),Wa(e),Lr(e,0))}function Lr(t,e){var r=t.deps;if(r!==null)for(var a=e;a<r.length;a++)Jo(t,r[a])}function lr(t){var e=t.f;if((e&Fe)===0){Ut(t,Nt);var r=U,a=nr;U=t,nr=!0;try{(e&er)!==0?Wo(t):mi(t),bi(t);var o=yi(t);t.teardown=typeof o=="function"?o:null,t.wv=ui;var n;Sa&&$o&&(t.f&re)!==0&&t.deps}finally{nr=a,U=r}}}function i(t){var e=t.f,r=(e&Gt)!==0;if(X!==null&&!fe){var a=U!==null&&(U.f&Fe)!==0;if(!a&&!$e?.includes(t)){var o=X.deps;if((X.f&Zr)!==0)t.rv<hr&&(t.rv=hr,Ft===null&&o!==null&&o[Xt]===t?Xt++:Ft===null?Ft=[t]:(!ze||!Ft.includes(t))&&Ft.push(t));else{(X.deps??=[]).push(t);var n=t.reactions;n===null?t.reactions=[X]:n.includes(X)||n.push(X)}}}else if(r&&t.deps===null&&t.effects===null){var l=t,b=l.parent;b!==null&&(b.f&ee)===0&&(l.f^=ee)}if(We){if(De.has(t))return De.get(t);if(r){l=t;var m=l.v;return((l.f&Nt)===0&&l.reactions!==null||_i(l))&&(m=aa(l)),De.set(l,m),m}}else r&&(l=t,Ir(l)&&Va(l));if((t.f&He)!==0)throw t.v;return t.v}function _i(t){if(t.v===Ot)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(De.has(e)||(e.f&Gt)!==0&&_i(e))return!0;return!1}function Xo(t){var e=fe;try{return fe=!0,t()}finally{fe=e}}const Zo=-7169;function Ut(t,e){t.f=t.f&Zo|e}const ki=new Set,pa=new Set;function Ko(t,e,r,a={}){function o(n){if(a.capture||wr.call(e,n),!n.cancelBubble)return sa(()=>r?.call(this,n))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?qa(()=>{e.addEventListener(t,o,a)}):e.addEventListener(t,o,a),o}function xr(t,e,r,a,o){var n={capture:a,passive:o},l=Ko(t,e,r,n);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Po(()=>{e.removeEventListener(t,l,n)})}function Qo(t){for(var e=0;e<t.length;e++)ki.add(t[e]);for(var r of pa)r(t)}let $i=null;function wr(t){var e=this,r=e.ownerDocument,a=t.type,o=t.composedPath?.()||[],n=o[0]||t.target;$i=t;var l=0,b=$i===t&&t.__root;if(b){var m=o.indexOf(b);if(m!==-1&&(e===document||e===window)){t.__root=e;return}var d=o.indexOf(e);if(d===-1)return;m<=d&&(l=m)}if(n=o[l]||t.target,n!==e){tr(t,"currentTarget",{configurable:!0,get(){return n||r}});var p=X,u=U;ie(null),ue(null);try{for(var _,y=[];n!==null;){var c=n.assignedSlot||n.parentNode||n.host||null;try{var $=n["__"+a];if($!=null&&(!n.disabled||t.target===n))if(Ur($)){var[M,...z]=$;M.apply(n,[t,...z])}else $.call(n,t)}catch(S){_?y.push(S):_=S}if(t.cancelBubble||c===e||c===null)break;n=c}if(_){for(let S of y)queueMicrotask(()=>{throw S});throw _}}finally{t.__root=e,delete t.currentTarget,ie(p),ue(u)}}}let ne;function tn(){ne=void 0}function en(t){let e=null,r=G;var a;if(G){for(e=it,ne===void 0&&(ne=Ne(document.head));ne!==null&&(ne.nodeType!==ar||ne.data!==Hr);)ne=pe(ne);ne===null?Jt(!1):ne=qt(pe(ne))}G||(a=document.head.appendChild(de()));try{ba(()=>t(a),Da)}finally{r&&(Jt(!0),ne=it,qt(e))}}function rn(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Ie(t,e){var r=U;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function C(t,e){var r=(e&eo)!==0,a=(e&ro)!==0,o,n=!t.startsWith("<!>");return()=>{if(G)return Ie(it,null),it;o===void 0&&(o=rn(n?t:"<!>"+t),r||(o=Ne(o)));var l=a||ri?document.importNode(o,!0):o.cloneNode(!0);if(r){var b=Ne(l),m=l.lastChild;Ie(b,m)}else Ie(l,l);return l}}function sr(t=""){if(!G){var e=de(t+"");return Ie(e,e),e}var r=it;return r.nodeType!==ta&&(r.before(r=de()),qt(r)),Ie(r,r),r}function Ct(){if(G)return Ie(it,null),it;var t=document.createDocumentFragment(),e=document.createComment(""),r=de();return t.append(e,r),Ie(e,r),t}function w(t,e){if(G){U.nodes_end=it,pr();return}t!==null&&t.before(e)}const an=["touchstart","touchmove"];function on(t){return an.includes(t)}function Ht(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function Ei(t,e){return ji(t,e)}function nn(t,e){la(),e.intro=e.intro??!1;const r=e.target,a=G,o=it;try{for(var n=Ne(r);n&&(n.nodeType!==ar||n.data!==Hr);)n=pe(n);if(!n)throw Qe;Jt(!0),qt(n),pr();const l=ji(t,{...e,anchor:n});if(it===null||it.nodeType!==ar||it.data!==qr)throw Cr(),Qe;return Jt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(b=>b.startsWith("https://svelte.dev/e/")))throw l;return l!==Qe&&console.warn("Failed to hydrate: ",l),e.recover===!1&&ho(),la(),oi(r),Jt(!1),Ei(t,e)}finally{Jt(a),qt(o),tn()}}const br=new Map;function ji(t,{target:e,anchor:r,props:a={},events:o,context:n,intro:l=!0}){la();var b=new Set,m=u=>{for(var _=0;_<u.length;_++){var y=u[_];if(!b.has(y)){b.add(y);var c=on(y);e.addEventListener(y,wr,{passive:c});var $=br.get(y);$===void 0?(document.addEventListener(y,wr,{passive:c}),br.set(y,1)):br.set(y,$+1)}}};m(Wr(ki)),pa.add(m);var d=void 0,p=Ho(()=>{var u=r??e.appendChild(de());return or(()=>{if(n){Ra({});var _=me;_.c=n}o&&(a.$$events=o),G&&Ie(u,null),d=t(u,a)||{},G&&(U.nodes_end=it),n&&Pa()}),()=>{for(var _ of b){e.removeEventListener(_,wr);var y=br.get(_);--y===0?(document.removeEventListener(_,wr),br.delete(_)):br.set(_,y)}pa.delete(m),u!==r&&u.parentNode?.removeChild(u)}});return ca.set(d,p),d}let ca=new WeakMap;function ln(t,e){const r=ca.get(t);return r?(ca.delete(t),r(e)):Promise.resolve()}function O(t,e,r=!1){G&&pr();var a=t,o=null,n=null,l=Ot,b=r?Xr:0,m=!1;const d=(y,c=!0)=>{m=!0,_(c,y)};var p=null;function u(){p!==null&&(p.lastChild.remove(),a.before(p),p=null);var y=l?o:n,c=l?n:o;y&&va(y),c&&ma(c,()=>{l?n=null:o=null})}const _=(y,c)=>{if(l===(l=y))return;let $=!1;if(G){const I=za(a)===Br;!!l===I&&(a=ea(),qt(a),Jt(!1),$=!0)}var M=ni(),z=a;if(M&&(p=document.createDocumentFragment(),p.append(z=de())),l?o??=c&&or(()=>c(z)):n??=c&&or(()=>c(z)),M){var S=Mt,J=l?o:n,ct=l?n:o;J&&S.skipped_effects.delete(J),ct&&S.skipped_effects.add(ct),S.add_callback(u)}else u();$&&Jt(!0)};ba(()=>{m=!1,e(d),m||_(null,null)},b),G&&(a=it)}function sn(t,e,r){for(var a=t.items,o=[],n=e.length,l=0;l<n;l++)da(e[l].e,o,!0);var b=n>0&&o.length===0&&r!==null;if(b){var m=r.parentNode;oi(m),m.append(r),a.clear(),xe(t,e[0].prev,e[n-1].next)}vi(o,()=>{for(var d=0;d<n;d++){var p=e[d];b||(a.delete(p.k),xe(t,p.prev,p.next)),ge(p.e,!b)}})}function he(t,e,r,a,o,n=null){var l=t,b={flags:e,items:new Map,first:null},m=(e&ja)!==0;if(m){var d=t;l=G?qt(Ne(d)):d.appendChild(de())}G&&pr();var p=null,u=!1,_=new Map,y=Ua(()=>{var z=r();return Ur(z)?z:z==null?[]:Wr(z)}),c,$;function M(){bn($,c,b,_,l,o,e,a,r),n!==null&&(c.length===0?p?va(p):p=or(()=>n(l)):p!==null&&ma(p,()=>{p=null}))}ba(()=>{$??=U,c=i(y);var z=c.length;if(u&&z===0)return;u=z===0;let S=!1;if(G){var J=za(l)===Br;J!==(z===0)&&(l=ea(),qt(l),Jt(!1),S=!0)}if(G){for(var ct=null,I,k=0;k<z;k++){if(it.nodeType===ar&&it.data===qr){l=it,S=!0,Jt(!1);break}var x=c[k],W=a(x,k);I=ga(it,b,ct,null,x,W,k,o,e,r),b.items.set(W,I),ct=I}z>0&&qt(ea())}if(G)z===0&&n&&(p=or(()=>n(l)));else if(ni()){var st=new Set,L=Mt;for(k=0;k<z;k+=1){x=c[k],W=a(x,k);var Y=b.items.get(W)??_.get(W);Y?(e&($r|Er))!==0&&Si(Y,x,k,e):(I=ga(null,b,null,null,x,W,k,o,e,r,!0),_.set(W,I)),st.add(W)}for(const[$t,R]of b.items)st.has($t)||L.skipped_effects.add(R.e);L.add_callback(M)}else M();S&&Jt(!0),i(y)}),G&&(l=it)}function bn(t,e,r,a,o,n,l,b,m){var d=(l&Ji)!==0,p=(l&($r|Er))!==0,u=e.length,_=r.items,y=r.first,c=y,$,M=null,z,S=[],J=[],ct,I,k,x;if(d)for(x=0;x<u;x+=1)ct=e[x],I=b(ct,x),k=_.get(I),k!==void 0&&(k.a?.measure(),(z??=new Set).add(k));for(x=0;x<u;x+=1){if(ct=e[x],I=b(ct,x),k=_.get(I),k===void 0){var W=a.get(I);if(W!==void 0){a.delete(I),_.set(I,W);var st=M?M.next:c;xe(r,M,W),xe(r,W,st),fa(W,st,o),M=W}else{var L=c?c.e.nodes_start:o;M=ga(L,r,M,M===null?r.first:M.next,ct,I,x,n,l,m)}_.set(I,M),S=[],J=[],c=M.next;continue}if(p&&Si(k,ct,x,l),(k.e.f&be)!==0&&(va(k.e),d&&(k.a?.unfix(),(z??=new Set).delete(k))),k!==c){if($!==void 0&&$.has(k)){if(S.length<J.length){var Y=J[0],$t;M=Y.prev;var R=S[0],g=S[S.length-1];for($t=0;$t<S.length;$t+=1)fa(S[$t],Y,o);for($t=0;$t<J.length;$t+=1)$.delete(J[$t]);xe(r,R.prev,g.next),xe(r,M,R),xe(r,g,Y),c=Y,M=g,x-=1,S=[],J=[]}else $.delete(k),fa(k,c,o),xe(r,k.prev,k.next),xe(r,k,M===null?r.first:M.next),xe(r,M,k),M=k;continue}for(S=[],J=[];c!==null&&c.k!==I;)(c.e.f&be)===0&&($??=new Set).add(c),J.push(c),c=c.next;if(c===null)continue;k=c}S.push(k),M=k,c=k.next}if(c!==null||$!==void 0){for(var f=$===void 0?[]:Wr($);c!==null;)(c.e.f&be)===0&&f.push(c),c=c.next;var h=f.length;if(h>0){var j=(l&ja)!==0&&u===0?o:null;if(d){for(x=0;x<h;x+=1)f[x].a?.measure();for(x=0;x<h;x+=1)f[x].a?.fix()}sn(r,f,j)}}d&&qa(()=>{if(z!==void 0)for(k of z)k.a?.apply()}),t.first=r.first&&r.first.e,t.last=M&&M.e;for(var E of a.values())ge(E.e);a.clear()}function Si(t,e,r,a){(a&$r)!==0&&ur(t.v,e),(a&Er)!==0?ur(t.i,r):t.i=r}function ga(t,e,r,a,o,n,l,b,m,d,p){var u=(m&$r)!==0,_=(m&Xi)===0,y=u?_?Qa(o,!1,!1):fr(o):o,c=(m&Er)===0?l:fr(l),$={i:c,v:y,k:n,a:null,e:null,prev:r,next:a};try{if(t===null){var M=document.createDocumentFragment();M.append(t=de())}return $.e=or(()=>b(t,y,c,d),G),$.e.prev=r&&r.e,$.e.next=a&&a.e,r===null?p||(e.first=$):(r.next=$,r.e.next=$.e),a!==null&&(a.prev=$,a.e.prev=$.e),$}finally{}}function fa(t,e,r){for(var a=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,n=t.e.nodes_start;n!==null&&n!==a;){var l=pe(n);o.before(n),n=l}}function xe(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function Mi(t,e,r,a,o){G&&pr();var n=e.$$slots?.[r],l=!1;n===!0&&(n=e[r==="default"?"children":r],l=!0),n===void 0?o!==null&&o(t):n(t,l?()=>a:a)}function mn(t,e){Bo(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,a.appendChild(o)}})}function dn(t,e,r){var a=t==null?"":""+t;return e&&(a=a?a+" "+e:e),a===""?null:a}function vn(t,e){return t==null?null:String(t)}function Zt(t,e,r,a,o,n){var l=t.__className;if(G||l!==r||l===void 0){var b=dn(r,a);(!G||b!==t.getAttribute("class"))&&(b==null?t.removeAttribute("class"):t.className=b),t.__className=r}return n}function ua(t,e,r,a){var o=t.__style;if(G||o!==e){var n=vn(e);(!G||n!==t.getAttribute("style"))&&(n==null?t.removeAttribute("style"):t.style.cssText=n),t.__style=e}return a}const pn=Symbol("is custom element"),cn=Symbol("is html");function gn(t){if(G){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var a=t.value;yr(t,"value",null),t.value=a}if(t.hasAttribute("checked")){var o=t.checked;yr(t,"checked",null),t.checked=o}}};t.__on_r=r,Mo(r),Io()}}function yr(t,e,r,a){var o=fn(t);G&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[mo]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Ci(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function kt(t,e,r){var a=X,o=U;let n=G;G&&Jt(!1),ie(null),ue(null);try{e!=="style"&&(ha.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?Ci(t).includes(e):r&&typeof r=="object")?t[e]=r:yr(t,e,r==null?r:String(r))}finally{ie(a),ue(o),n&&Jt(!0)}}function fn(t){return t.__attributes??={[pn]:t.nodeName.includes("-"),[cn]:t.namespaceURI===ao}}var ha=new Map;function Ci(t){var e=t.getAttribute("is")||t.nodeName,r=ha.get(e);if(r)return r;ha.set(e,r=[]);for(var a,o=t,n=Element.prototype;n!==o;){a=oo(o);for(var l in a)a[l].set&&r.push(l);o=Ma(o)}return r}let Rr=!1;function un(t){var e=Rr;try{return Rr=!1,[t(),Rr]}finally{Rr=e}}function Bt(t,e,r,a){var o=(r&Qi)!==0,n=(r&to)!==0,l=a,b=!0,m=()=>(b&&(b=!1,l=n?Xo(a):a),l),d;if(o){var p=Mr in t||Na in t;d=Ye(t,e)?.set??(p&&e in t?S=>t[e]=S:void 0)}var u,_=!1;o?[u,_]=un(()=>t[e]):u=t[e],u===void 0&&a!==void 0&&(u=m(),d&&(xo(),d(u)));var y;if(y=()=>{var S=t[e];return S===void 0?m():(b=!0,S)},(r&Ki)===0)return y;if(d){var c=t.$$legacy;return(function(S,J){return arguments.length>0?((!J||c||_)&&d(J?y():S),S):y()})}var $=!1,M=((r&Zi)!==0?Or:Ua)(()=>($=!1,y()));o&&i(M);var z=U;return(function(S,J){if(arguments.length>0){const ct=J?i(M):o?ae(S):S;return lt(M,ct),$=!0,l!==void 0&&(l=ct),S}return We&&$||(z.f&Fe)!==0?M.v:i(M)})}function hn(t){return new xn(t)}class xn{#e;#t;constructor(e){var r=new Map,a=(n,l)=>{var b=Qa(l,!1,!1);return r.set(n,b),b};const o=new Proxy({...e.props||{},$$events:{}},{get(n,l){return i(r.get(l)??a(l,Reflect.get(n,l)))},has(n,l){return l===Na?!0:(i(r.get(l)??a(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,b){return lt(r.get(l)??a(l,b),b),Reflect.set(n,l,b)}});this.#t=(e.hydrate?nn:Ei)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&zt(),this.#e=o.$$events;for(const n of Object.keys(this.#t))n==="$set"||n==="$destroy"||n==="$on"||tr(this,n,{get(){return this.#t[n]},set(l){this.#t[n]=l},enumerable:!0});this.#t.$set=n=>{Object.assign(o,n)},this.#t.$destroy=()=>{ln(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const a=(...o)=>r.call(this,...o);return this.#e[e].push(a),()=>{this.#e[e]=this.#e[e].filter(o=>o!==a)}}$destroy(){this.#t.$destroy()}}let Ti;typeof HTMLElement=="function"&&(Ti=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const a=this.$$c.$on(t,e);this.$$l_u.set(e,a)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const a=this.$$l_u.get(e);a&&(a(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(a){return o=>{const n=document.createElement("slot");a!=="default"&&(n.name=a),w(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=wn(this);for(const a of this.$$s)a in r&&(a==="default"&&!this.$$d.children?(this.$$d.children=t(a),e.default=!0):e[a]=t(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Pr(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=hn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Fo(()=>{Uo(()=>{this.$$r=!0;for(const a of jr(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const o=Pr(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const n=this.$$c.$on(a,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Pr(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return jr(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Pr(t,e,r,a){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function wn(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function yn(t,e,r,a,o,n){let l=class extends Ti{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return jr(e).map(b=>(e[b].attribute||b).toLowerCase())}};return jr(e).forEach(b=>{tr(l.prototype,b,{get(){return this.$$c&&b in this.$$c?this.$$c[b]:this.$$d[b]},set(m){m=Pr(b,m,e),this.$$d[b]=m;var d=this.$$c;if(d){var p=Ye(d,b)?.get;p?d[b]=m:d.$set({[b]:m})}}})}),a.forEach(b=>{tr(l.prototype,b,{get(){return this.$$c?.[b]}})}),t.element=l,l}function Oi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Yr={exports:{}},_n=Yr.exports,Ai;function Di(){return Ai||(Ai=1,(function(t,e){(function(r,a){t.exports=a()})(_n,(function(){var r=1e3,a=6e4,o=36e5,n="millisecond",l="second",b="minute",m="hour",d="day",p="week",u="month",_="quarter",y="year",c="date",$="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var f=["th","st","nd","rd"],h=g%100;return"["+g+(f[(h-20)%10]||f[h]||f[0])+"]"}},J=function(g,f,h){var j=String(g);return!j||j.length>=f?g:""+Array(f+1-j.length).join(h)+g},ct={s:J,z:function(g){var f=-g.utcOffset(),h=Math.abs(f),j=Math.floor(h/60),E=h%60;return(f<=0?"+":"-")+J(j,2,"0")+":"+J(E,2,"0")},m:function g(f,h){if(f.date()<h.date())return-g(h,f);var j=12*(h.year()-f.year())+(h.month()-f.month()),E=f.clone().add(j,u),A=h-E<0,D=f.clone().add(j+(A?-1:1),u);return+(-(j+(h-E)/(A?E-D:D-E))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:u,y,w:p,d,D:c,h:m,m:b,s:l,ms:n,Q:_}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},I="en",k={};k[I]=S;var x="$isDayjsObject",W=function(g){return g instanceof $t||!(!g||!g[x])},st=function g(f,h,j){var E;if(!f)return I;if(typeof f=="string"){var A=f.toLowerCase();k[A]&&(E=A),h&&(k[A]=h,E=A);var D=f.split("-");if(!E&&D.length>1)return g(D[0])}else{var ot=f.name;k[ot]=f,E=ot}return!j&&E&&(I=E),E||!j&&I},L=function(g,f){if(W(g))return g.clone();var h=typeof f=="object"?f:{};return h.date=g,h.args=arguments,new $t(h)},Y=ct;Y.l=st,Y.i=W,Y.w=function(g,f){return L(g,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var $t=(function(){function g(h){this.$L=st(h.locale,null,!0),this.parse(h),this.$x=this.$x||h.x||{},this[x]=!0}var f=g.prototype;return f.parse=function(h){this.$d=(function(j){var E=j.date,A=j.utc;if(E===null)return new Date(NaN);if(Y.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var D=E.match(M);if(D){var ot=D[2]-1||0,gt=(D[7]||"0").substring(0,3);return A?new Date(Date.UTC(D[1],ot,D[3]||1,D[4]||0,D[5]||0,D[6]||0,gt)):new Date(D[1],ot,D[3]||1,D[4]||0,D[5]||0,D[6]||0,gt)}}return new Date(E)})(h),this.init()},f.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},f.$utils=function(){return Y},f.isValid=function(){return this.$d.toString()!==$},f.isSame=function(h,j){var E=L(h);return this.startOf(j)<=E&&E<=this.endOf(j)},f.isAfter=function(h,j){return L(h)<this.startOf(j)},f.isBefore=function(h,j){return this.endOf(j)<L(h)},f.$g=function(h,j,E){return Y.u(h)?this[j]:this.set(E,h)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(h,j){var E=this,A=!!Y.u(j)||j,D=Y.p(h),ot=function(Se,It){var we=Y.w(E.$u?Date.UTC(E.$y,It,Se):new Date(E.$y,It,Se),E);return A?we:we.endOf(d)},gt=function(Se,It){return Y.w(E.toDate()[Se].apply(E.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(It)),E)},ft=this.$W,Et=this.$M,Wt=this.$D,Ee="set"+(this.$u?"UTC":"");switch(D){case y:return A?ot(1,0):ot(31,11);case u:return A?ot(1,Et):ot(0,Et+1);case p:var je=this.$locale().weekStart||0,Ge=(ft<je?ft+7:ft)-je;return ot(A?Wt-Ge:Wt+(6-Ge),Et);case d:case c:return gt(Ee+"Hours",0);case m:return gt(Ee+"Minutes",1);case b:return gt(Ee+"Seconds",2);case l:return gt(Ee+"Milliseconds",3);default:return this.clone()}},f.endOf=function(h){return this.startOf(h,!1)},f.$set=function(h,j){var E,A=Y.p(h),D="set"+(this.$u?"UTC":""),ot=(E={},E[d]=D+"Date",E[c]=D+"Date",E[u]=D+"Month",E[y]=D+"FullYear",E[m]=D+"Hours",E[b]=D+"Minutes",E[l]=D+"Seconds",E[n]=D+"Milliseconds",E)[A],gt=A===d?this.$D+(j-this.$W):j;if(A===u||A===y){var ft=this.clone().set(c,1);ft.$d[ot](gt),ft.init(),this.$d=ft.set(c,Math.min(this.$D,ft.daysInMonth())).$d}else ot&&this.$d[ot](gt);return this.init(),this},f.set=function(h,j){return this.clone().$set(h,j)},f.get=function(h){return this[Y.p(h)]()},f.add=function(h,j){var E,A=this;h=Number(h);var D=Y.p(j),ot=function(Et){var Wt=L(A);return Y.w(Wt.date(Wt.date()+Math.round(Et*h)),A)};if(D===u)return this.set(u,this.$M+h);if(D===y)return this.set(y,this.$y+h);if(D===d)return ot(1);if(D===p)return ot(7);var gt=(E={},E[b]=a,E[m]=o,E[l]=r,E)[D]||1,ft=this.$d.getTime()+h*gt;return Y.w(ft,this)},f.subtract=function(h,j){return this.add(-1*h,j)},f.format=function(h){var j=this,E=this.$locale();if(!this.isValid())return E.invalidDate||$;var A=h||"YYYY-MM-DDTHH:mm:ssZ",D=Y.z(this),ot=this.$H,gt=this.$m,ft=this.$M,Et=E.weekdays,Wt=E.months,Ee=E.meridiem,je=function(It,we,Je,dr){return It&&(It[we]||It(j,A))||Je[we].slice(0,dr)},Ge=function(It){return Y.s(ot%12||12,It,"0")},Se=Ee||function(It,we,Je){var dr=It<12?"AM":"PM";return Je?dr.toLowerCase():dr};return A.replace(z,(function(It,we){return we||(function(Je){switch(Je){case"YY":return String(j.$y).slice(-2);case"YYYY":return Y.s(j.$y,4,"0");case"M":return ft+1;case"MM":return Y.s(ft+1,2,"0");case"MMM":return je(E.monthsShort,ft,Wt,3);case"MMMM":return je(Wt,ft);case"D":return j.$D;case"DD":return Y.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return je(E.weekdaysMin,j.$W,Et,2);case"ddd":return je(E.weekdaysShort,j.$W,Et,3);case"dddd":return Et[j.$W];case"H":return String(ot);case"HH":return Y.s(ot,2,"0");case"h":return Ge(1);case"hh":return Ge(2);case"a":return Se(ot,gt,!0);case"A":return Se(ot,gt,!1);case"m":return String(gt);case"mm":return Y.s(gt,2,"0");case"s":return String(j.$s);case"ss":return Y.s(j.$s,2,"0");case"SSS":return Y.s(j.$ms,3,"0");case"Z":return D}return null})(It)||D.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(h,j,E){var A,D=this,ot=Y.p(j),gt=L(h),ft=(gt.utcOffset()-this.utcOffset())*a,Et=this-gt,Wt=function(){return Y.m(D,gt)};switch(ot){case y:A=Wt()/12;break;case u:A=Wt();break;case _:A=Wt()/3;break;case p:A=(Et-ft)/6048e5;break;case d:A=(Et-ft)/864e5;break;case m:A=Et/o;break;case b:A=Et/a;break;case l:A=Et/r;break;default:A=Et}return E?A:Y.a(A)},f.daysInMonth=function(){return this.endOf(u).$D},f.$locale=function(){return k[this.$L]},f.locale=function(h,j){if(!h)return this.$L;var E=this.clone(),A=st(h,j,!0);return A&&(E.$L=A),E},f.clone=function(){return Y.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},g})(),R=$t.prototype;return L.prototype=R,[["$ms",n],["$s",l],["$m",b],["$H",m],["$W",d],["$M",u],["$y",y],["$D",c]].forEach((function(g){R[g[1]]=function(f){return this.$g(f,g[0],g[1])}})),L.extend=function(g,f){return g.$i||(g(f,$t,L),g.$i=!0),L},L.locale=st,L.isDayjs=W,L.unix=function(g){return L(1e3*g)},L.en=k[I],L.Ls=k,L.p={},L}))})(Yr)),Yr.exports}var kn=Di();const Le=Oi(kn);var Fr={exports:{}},$n=Fr.exports,Ni;function En(){return Ni||(Ni=1,(function(t,e){(function(r,a){t.exports=a(Di())})($n,(function(r){function a(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=a(r),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(l){return l+"º"}};return o.default.locale(n,null,!0),n}))})(Fr)),Fr.exports}En();const xa={version:"0.61.12"};function wa(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const r=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const a=document.createElement("script");if(a.id=e+"-script",a.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${r}`,t?.local)a.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const o=e.split("-")[0];a.src=`http://localhost:6006/webcomponents/${e.replace(o+"-","")}/${r}`}document.head.appendChild(a)}catch(a){console.warn(a)}}class Re{dictionary;lang="";constructor(e){if(!e?.dictionary)throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(e?.lang)}setLang(e){e||(e=Re.getDefaultLang()),this.lang=e}translateWord(e,r){return Re.getDictionaryWord(e,this.dictionary,r||this.lang)}translateDate(e,r,a){return Re.formatDate(e,r,a||this.lang)}static getDefaultLang(){let e="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(e=navigator.languages[0]?.split("-")[0]?.toLowerCase()),e}static getDictionaryWord(e,r,a){if(!e)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(a&&r[a]?.[e])return r[a][e];let o="";const n=Re.getDefaultLang();if(!a||n!==a){const l=r?.[n];l?.[e]&&(o=l[e])}return o}static formatDate(e,r,a){if(!e)throw new Error("no date provided");if(typeof e.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(a||Re.getDefaultLang(),r).format(e)}}var mr={},ya,zi;function jn(){if(zi)return ya;zi=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,b=/^\s+|\s+$/g,m=`
|
|
2
|
+
`).some(b=>b.startsWith("https://svelte.dev/e/")))throw l;return l!==Qe&&console.warn("Failed to hydrate: ",l),e.recover===!1&&ho(),la(),oi(r),Jt(!1),Ei(t,e)}finally{Jt(a),qt(o),tn()}}const br=new Map;function ji(t,{target:e,anchor:r,props:a={},events:o,context:n,intro:l=!0}){la();var b=new Set,m=u=>{for(var _=0;_<u.length;_++){var y=u[_];if(!b.has(y)){b.add(y);var c=on(y);e.addEventListener(y,wr,{passive:c});var $=br.get(y);$===void 0?(document.addEventListener(y,wr,{passive:c}),br.set(y,1)):br.set(y,$+1)}}};m(Wr(ki)),pa.add(m);var d=void 0,p=Ho(()=>{var u=r??e.appendChild(de());return or(()=>{if(n){Ra({});var _=me;_.c=n}o&&(a.$$events=o),G&&Ie(u,null),d=t(u,a)||{},G&&(U.nodes_end=it),n&&Pa()}),()=>{for(var _ of b){e.removeEventListener(_,wr);var y=br.get(_);--y===0?(document.removeEventListener(_,wr),br.delete(_)):br.set(_,y)}pa.delete(m),u!==r&&u.parentNode?.removeChild(u)}});return ca.set(d,p),d}let ca=new WeakMap;function ln(t,e){const r=ca.get(t);return r?(ca.delete(t),r(e)):Promise.resolve()}function O(t,e,r=!1){G&&pr();var a=t,o=null,n=null,l=Ot,b=r?Xr:0,m=!1;const d=(y,c=!0)=>{m=!0,_(c,y)};var p=null;function u(){p!==null&&(p.lastChild.remove(),a.before(p),p=null);var y=l?o:n,c=l?n:o;y&&va(y),c&&ma(c,()=>{l?n=null:o=null})}const _=(y,c)=>{if(l===(l=y))return;let $=!1;if(G){const I=za(a)===Br;!!l===I&&(a=ea(),qt(a),Jt(!1),$=!0)}var M=ni(),z=a;if(M&&(p=document.createDocumentFragment(),p.append(z=de())),l?o??=c&&or(()=>c(z)):n??=c&&or(()=>c(z)),M){var S=Mt,J=l?o:n,ct=l?n:o;J&&S.skipped_effects.delete(J),ct&&S.skipped_effects.add(ct),S.add_callback(u)}else u();$&&Jt(!0)};ba(()=>{m=!1,e(d),m||_(null,null)},b),G&&(a=it)}function sn(t,e,r){for(var a=t.items,o=[],n=e.length,l=0;l<n;l++)da(e[l].e,o,!0);var b=n>0&&o.length===0&&r!==null;if(b){var m=r.parentNode;oi(m),m.append(r),a.clear(),xe(t,e[0].prev,e[n-1].next)}vi(o,()=>{for(var d=0;d<n;d++){var p=e[d];b||(a.delete(p.k),xe(t,p.prev,p.next)),ge(p.e,!b)}})}function he(t,e,r,a,o,n=null){var l=t,b={flags:e,items:new Map,first:null},m=(e&ja)!==0;if(m){var d=t;l=G?qt(Ne(d)):d.appendChild(de())}G&&pr();var p=null,u=!1,_=new Map,y=Ua(()=>{var z=r();return Ur(z)?z:z==null?[]:Wr(z)}),c,$;function M(){bn($,c,b,_,l,o,e,a,r),n!==null&&(c.length===0?p?va(p):p=or(()=>n(l)):p!==null&&ma(p,()=>{p=null}))}ba(()=>{$??=U,c=i(y);var z=c.length;if(u&&z===0)return;u=z===0;let S=!1;if(G){var J=za(l)===Br;J!==(z===0)&&(l=ea(),qt(l),Jt(!1),S=!0)}if(G){for(var ct=null,I,k=0;k<z;k++){if(it.nodeType===ar&&it.data===qr){l=it,S=!0,Jt(!1);break}var x=c[k],W=a(x,k);I=ga(it,b,ct,null,x,W,k,o,e,r),b.items.set(W,I),ct=I}z>0&&qt(ea())}if(G)z===0&&n&&(p=or(()=>n(l)));else if(ni()){var st=new Set,L=Mt;for(k=0;k<z;k+=1){x=c[k],W=a(x,k);var Y=b.items.get(W)??_.get(W);Y?(e&($r|Er))!==0&&Si(Y,x,k,e):(I=ga(null,b,null,null,x,W,k,o,e,r,!0),_.set(W,I)),st.add(W)}for(const[$t,R]of b.items)st.has($t)||L.skipped_effects.add(R.e);L.add_callback(M)}else M();S&&Jt(!0),i(y)}),G&&(l=it)}function bn(t,e,r,a,o,n,l,b,m){var d=(l&Ji)!==0,p=(l&($r|Er))!==0,u=e.length,_=r.items,y=r.first,c=y,$,M=null,z,S=[],J=[],ct,I,k,x;if(d)for(x=0;x<u;x+=1)ct=e[x],I=b(ct,x),k=_.get(I),k!==void 0&&(k.a?.measure(),(z??=new Set).add(k));for(x=0;x<u;x+=1){if(ct=e[x],I=b(ct,x),k=_.get(I),k===void 0){var W=a.get(I);if(W!==void 0){a.delete(I),_.set(I,W);var st=M?M.next:c;xe(r,M,W),xe(r,W,st),fa(W,st,o),M=W}else{var L=c?c.e.nodes_start:o;M=ga(L,r,M,M===null?r.first:M.next,ct,I,x,n,l,m)}_.set(I,M),S=[],J=[],c=M.next;continue}if(p&&Si(k,ct,x,l),(k.e.f&be)!==0&&(va(k.e),d&&(k.a?.unfix(),(z??=new Set).delete(k))),k!==c){if($!==void 0&&$.has(k)){if(S.length<J.length){var Y=J[0],$t;M=Y.prev;var R=S[0],g=S[S.length-1];for($t=0;$t<S.length;$t+=1)fa(S[$t],Y,o);for($t=0;$t<J.length;$t+=1)$.delete(J[$t]);xe(r,R.prev,g.next),xe(r,M,R),xe(r,g,Y),c=Y,M=g,x-=1,S=[],J=[]}else $.delete(k),fa(k,c,o),xe(r,k.prev,k.next),xe(r,k,M===null?r.first:M.next),xe(r,M,k),M=k;continue}for(S=[],J=[];c!==null&&c.k!==I;)(c.e.f&be)===0&&($??=new Set).add(c),J.push(c),c=c.next;if(c===null)continue;k=c}S.push(k),M=k,c=k.next}if(c!==null||$!==void 0){for(var f=$===void 0?[]:Wr($);c!==null;)(c.e.f&be)===0&&f.push(c),c=c.next;var h=f.length;if(h>0){var j=(l&ja)!==0&&u===0?o:null;if(d){for(x=0;x<h;x+=1)f[x].a?.measure();for(x=0;x<h;x+=1)f[x].a?.fix()}sn(r,f,j)}}d&&qa(()=>{if(z!==void 0)for(k of z)k.a?.apply()}),t.first=r.first&&r.first.e,t.last=M&&M.e;for(var E of a.values())ge(E.e);a.clear()}function Si(t,e,r,a){(a&$r)!==0&&ur(t.v,e),(a&Er)!==0?ur(t.i,r):t.i=r}function ga(t,e,r,a,o,n,l,b,m,d,p){var u=(m&$r)!==0,_=(m&Xi)===0,y=u?_?Qa(o,!1,!1):fr(o):o,c=(m&Er)===0?l:fr(l),$={i:c,v:y,k:n,a:null,e:null,prev:r,next:a};try{if(t===null){var M=document.createDocumentFragment();M.append(t=de())}return $.e=or(()=>b(t,y,c,d),G),$.e.prev=r&&r.e,$.e.next=a&&a.e,r===null?p||(e.first=$):(r.next=$,r.e.next=$.e),a!==null&&(a.prev=$,a.e.prev=$.e),$}finally{}}function fa(t,e,r){for(var a=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,n=t.e.nodes_start;n!==null&&n!==a;){var l=pe(n);o.before(n),n=l}}function xe(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function Mi(t,e,r,a,o){G&&pr();var n=e.$$slots?.[r],l=!1;n===!0&&(n=e[r==="default"?"children":r],l=!0),n===void 0?o!==null&&o(t):n(t,l?()=>a:a)}function mn(t,e){Bo(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,a.appendChild(o)}})}function dn(t,e,r){var a=t==null?"":""+t;return e&&(a=a?a+" "+e:e),a===""?null:a}function vn(t,e){return t==null?null:String(t)}function Zt(t,e,r,a,o,n){var l=t.__className;if(G||l!==r||l===void 0){var b=dn(r,a);(!G||b!==t.getAttribute("class"))&&(b==null?t.removeAttribute("class"):t.className=b),t.__className=r}return n}function ua(t,e,r,a){var o=t.__style;if(G||o!==e){var n=vn(e);(!G||n!==t.getAttribute("style"))&&(n==null?t.removeAttribute("style"):t.style.cssText=n),t.__style=e}return a}const pn=Symbol("is custom element"),cn=Symbol("is html");function gn(t){if(G){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var a=t.value;yr(t,"value",null),t.value=a}if(t.hasAttribute("checked")){var o=t.checked;yr(t,"checked",null),t.checked=o}}};t.__on_r=r,Mo(r),Io()}}function yr(t,e,r,a){var o=fn(t);G&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[mo]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Ci(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function kt(t,e,r){var a=X,o=U;let n=G;G&&Jt(!1),ie(null),ue(null);try{e!=="style"&&(ha.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?Ci(t).includes(e):r&&typeof r=="object")?t[e]=r:yr(t,e,r==null?r:String(r))}finally{ie(a),ue(o),n&&Jt(!0)}}function fn(t){return t.__attributes??={[pn]:t.nodeName.includes("-"),[cn]:t.namespaceURI===ao}}var ha=new Map;function Ci(t){var e=t.getAttribute("is")||t.nodeName,r=ha.get(e);if(r)return r;ha.set(e,r=[]);for(var a,o=t,n=Element.prototype;n!==o;){a=oo(o);for(var l in a)a[l].set&&r.push(l);o=Ma(o)}return r}let Rr=!1;function un(t){var e=Rr;try{return Rr=!1,[t(),Rr]}finally{Rr=e}}function Bt(t,e,r,a){var o=(r&Qi)!==0,n=(r&to)!==0,l=a,b=!0,m=()=>(b&&(b=!1,l=n?Xo(a):a),l),d;if(o){var p=Mr in t||Na in t;d=Ye(t,e)?.set??(p&&e in t?S=>t[e]=S:void 0)}var u,_=!1;o?[u,_]=un(()=>t[e]):u=t[e],u===void 0&&a!==void 0&&(u=m(),d&&(xo(),d(u)));var y;if(y=()=>{var S=t[e];return S===void 0?m():(b=!0,S)},(r&Ki)===0)return y;if(d){var c=t.$$legacy;return(function(S,J){return arguments.length>0?((!J||c||_)&&d(J?y():S),S):y()})}var $=!1,M=((r&Zi)!==0?Or:Ua)(()=>($=!1,y()));o&&i(M);var z=U;return(function(S,J){if(arguments.length>0){const ct=J?i(M):o?ae(S):S;return lt(M,ct),$=!0,l!==void 0&&(l=ct),S}return We&&$||(z.f&Fe)!==0?M.v:i(M)})}function hn(t){return new xn(t)}class xn{#e;#t;constructor(e){var r=new Map,a=(n,l)=>{var b=Qa(l,!1,!1);return r.set(n,b),b};const o=new Proxy({...e.props||{},$$events:{}},{get(n,l){return i(r.get(l)??a(l,Reflect.get(n,l)))},has(n,l){return l===Na?!0:(i(r.get(l)??a(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,b){return lt(r.get(l)??a(l,b),b),Reflect.set(n,l,b)}});this.#t=(e.hydrate?nn:Ei)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&zt(),this.#e=o.$$events;for(const n of Object.keys(this.#t))n==="$set"||n==="$destroy"||n==="$on"||tr(this,n,{get(){return this.#t[n]},set(l){this.#t[n]=l},enumerable:!0});this.#t.$set=n=>{Object.assign(o,n)},this.#t.$destroy=()=>{ln(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const a=(...o)=>r.call(this,...o);return this.#e[e].push(a),()=>{this.#e[e]=this.#e[e].filter(o=>o!==a)}}$destroy(){this.#t.$destroy()}}let Ti;typeof HTMLElement=="function"&&(Ti=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const a=this.$$c.$on(t,e);this.$$l_u.set(e,a)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const a=this.$$l_u.get(e);a&&(a(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(a){return o=>{const n=document.createElement("slot");a!=="default"&&(n.name=a),w(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=wn(this);for(const a of this.$$s)a in r&&(a==="default"&&!this.$$d.children?(this.$$d.children=t(a),e.default=!0):e[a]=t(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Pr(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=hn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Fo(()=>{Uo(()=>{this.$$r=!0;for(const a of jr(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const o=Pr(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const n=this.$$c.$on(a,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Pr(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return jr(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Pr(t,e,r,a){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function wn(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function yn(t,e,r,a,o,n){let l=class extends Ti{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return jr(e).map(b=>(e[b].attribute||b).toLowerCase())}};return jr(e).forEach(b=>{tr(l.prototype,b,{get(){return this.$$c&&b in this.$$c?this.$$c[b]:this.$$d[b]},set(m){m=Pr(b,m,e),this.$$d[b]=m;var d=this.$$c;if(d){var p=Ye(d,b)?.get;p?d[b]=m:d.$set({[b]:m})}}})}),a.forEach(b=>{tr(l.prototype,b,{get(){return this.$$c?.[b]}})}),t.element=l,l}function Oi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Yr={exports:{}},_n=Yr.exports,Ai;function Di(){return Ai||(Ai=1,(function(t,e){(function(r,a){t.exports=a()})(_n,(function(){var r=1e3,a=6e4,o=36e5,n="millisecond",l="second",b="minute",m="hour",d="day",p="week",u="month",_="quarter",y="year",c="date",$="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var f=["th","st","nd","rd"],h=g%100;return"["+g+(f[(h-20)%10]||f[h]||f[0])+"]"}},J=function(g,f,h){var j=String(g);return!j||j.length>=f?g:""+Array(f+1-j.length).join(h)+g},ct={s:J,z:function(g){var f=-g.utcOffset(),h=Math.abs(f),j=Math.floor(h/60),E=h%60;return(f<=0?"+":"-")+J(j,2,"0")+":"+J(E,2,"0")},m:function g(f,h){if(f.date()<h.date())return-g(h,f);var j=12*(h.year()-f.year())+(h.month()-f.month()),E=f.clone().add(j,u),A=h-E<0,D=f.clone().add(j+(A?-1:1),u);return+(-(j+(h-E)/(A?E-D:D-E))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:u,y,w:p,d,D:c,h:m,m:b,s:l,ms:n,Q:_}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},I="en",k={};k[I]=S;var x="$isDayjsObject",W=function(g){return g instanceof $t||!(!g||!g[x])},st=function g(f,h,j){var E;if(!f)return I;if(typeof f=="string"){var A=f.toLowerCase();k[A]&&(E=A),h&&(k[A]=h,E=A);var D=f.split("-");if(!E&&D.length>1)return g(D[0])}else{var ot=f.name;k[ot]=f,E=ot}return!j&&E&&(I=E),E||!j&&I},L=function(g,f){if(W(g))return g.clone();var h=typeof f=="object"?f:{};return h.date=g,h.args=arguments,new $t(h)},Y=ct;Y.l=st,Y.i=W,Y.w=function(g,f){return L(g,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var $t=(function(){function g(h){this.$L=st(h.locale,null,!0),this.parse(h),this.$x=this.$x||h.x||{},this[x]=!0}var f=g.prototype;return f.parse=function(h){this.$d=(function(j){var E=j.date,A=j.utc;if(E===null)return new Date(NaN);if(Y.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var D=E.match(M);if(D){var ot=D[2]-1||0,gt=(D[7]||"0").substring(0,3);return A?new Date(Date.UTC(D[1],ot,D[3]||1,D[4]||0,D[5]||0,D[6]||0,gt)):new Date(D[1],ot,D[3]||1,D[4]||0,D[5]||0,D[6]||0,gt)}}return new Date(E)})(h),this.init()},f.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},f.$utils=function(){return Y},f.isValid=function(){return this.$d.toString()!==$},f.isSame=function(h,j){var E=L(h);return this.startOf(j)<=E&&E<=this.endOf(j)},f.isAfter=function(h,j){return L(h)<this.startOf(j)},f.isBefore=function(h,j){return this.endOf(j)<L(h)},f.$g=function(h,j,E){return Y.u(h)?this[j]:this.set(E,h)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(h,j){var E=this,A=!!Y.u(j)||j,D=Y.p(h),ot=function(Se,It){var we=Y.w(E.$u?Date.UTC(E.$y,It,Se):new Date(E.$y,It,Se),E);return A?we:we.endOf(d)},gt=function(Se,It){return Y.w(E.toDate()[Se].apply(E.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(It)),E)},ft=this.$W,Et=this.$M,Wt=this.$D,Ee="set"+(this.$u?"UTC":"");switch(D){case y:return A?ot(1,0):ot(31,11);case u:return A?ot(1,Et):ot(0,Et+1);case p:var je=this.$locale().weekStart||0,Ge=(ft<je?ft+7:ft)-je;return ot(A?Wt-Ge:Wt+(6-Ge),Et);case d:case c:return gt(Ee+"Hours",0);case m:return gt(Ee+"Minutes",1);case b:return gt(Ee+"Seconds",2);case l:return gt(Ee+"Milliseconds",3);default:return this.clone()}},f.endOf=function(h){return this.startOf(h,!1)},f.$set=function(h,j){var E,A=Y.p(h),D="set"+(this.$u?"UTC":""),ot=(E={},E[d]=D+"Date",E[c]=D+"Date",E[u]=D+"Month",E[y]=D+"FullYear",E[m]=D+"Hours",E[b]=D+"Minutes",E[l]=D+"Seconds",E[n]=D+"Milliseconds",E)[A],gt=A===d?this.$D+(j-this.$W):j;if(A===u||A===y){var ft=this.clone().set(c,1);ft.$d[ot](gt),ft.init(),this.$d=ft.set(c,Math.min(this.$D,ft.daysInMonth())).$d}else ot&&this.$d[ot](gt);return this.init(),this},f.set=function(h,j){return this.clone().$set(h,j)},f.get=function(h){return this[Y.p(h)]()},f.add=function(h,j){var E,A=this;h=Number(h);var D=Y.p(j),ot=function(Et){var Wt=L(A);return Y.w(Wt.date(Wt.date()+Math.round(Et*h)),A)};if(D===u)return this.set(u,this.$M+h);if(D===y)return this.set(y,this.$y+h);if(D===d)return ot(1);if(D===p)return ot(7);var gt=(E={},E[b]=a,E[m]=o,E[l]=r,E)[D]||1,ft=this.$d.getTime()+h*gt;return Y.w(ft,this)},f.subtract=function(h,j){return this.add(-1*h,j)},f.format=function(h){var j=this,E=this.$locale();if(!this.isValid())return E.invalidDate||$;var A=h||"YYYY-MM-DDTHH:mm:ssZ",D=Y.z(this),ot=this.$H,gt=this.$m,ft=this.$M,Et=E.weekdays,Wt=E.months,Ee=E.meridiem,je=function(It,we,Je,dr){return It&&(It[we]||It(j,A))||Je[we].slice(0,dr)},Ge=function(It){return Y.s(ot%12||12,It,"0")},Se=Ee||function(It,we,Je){var dr=It<12?"AM":"PM";return Je?dr.toLowerCase():dr};return A.replace(z,(function(It,we){return we||(function(Je){switch(Je){case"YY":return String(j.$y).slice(-2);case"YYYY":return Y.s(j.$y,4,"0");case"M":return ft+1;case"MM":return Y.s(ft+1,2,"0");case"MMM":return je(E.monthsShort,ft,Wt,3);case"MMMM":return je(Wt,ft);case"D":return j.$D;case"DD":return Y.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return je(E.weekdaysMin,j.$W,Et,2);case"ddd":return je(E.weekdaysShort,j.$W,Et,3);case"dddd":return Et[j.$W];case"H":return String(ot);case"HH":return Y.s(ot,2,"0");case"h":return Ge(1);case"hh":return Ge(2);case"a":return Se(ot,gt,!0);case"A":return Se(ot,gt,!1);case"m":return String(gt);case"mm":return Y.s(gt,2,"0");case"s":return String(j.$s);case"ss":return Y.s(j.$s,2,"0");case"SSS":return Y.s(j.$ms,3,"0");case"Z":return D}return null})(It)||D.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(h,j,E){var A,D=this,ot=Y.p(j),gt=L(h),ft=(gt.utcOffset()-this.utcOffset())*a,Et=this-gt,Wt=function(){return Y.m(D,gt)};switch(ot){case y:A=Wt()/12;break;case u:A=Wt();break;case _:A=Wt()/3;break;case p:A=(Et-ft)/6048e5;break;case d:A=(Et-ft)/864e5;break;case m:A=Et/o;break;case b:A=Et/a;break;case l:A=Et/r;break;default:A=Et}return E?A:Y.a(A)},f.daysInMonth=function(){return this.endOf(u).$D},f.$locale=function(){return k[this.$L]},f.locale=function(h,j){if(!h)return this.$L;var E=this.clone(),A=st(h,j,!0);return A&&(E.$L=A),E},f.clone=function(){return Y.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},g})(),R=$t.prototype;return L.prototype=R,[["$ms",n],["$s",l],["$m",b],["$H",m],["$W",d],["$M",u],["$y",y],["$D",c]].forEach((function(g){R[g[1]]=function(f){return this.$g(f,g[0],g[1])}})),L.extend=function(g,f){return g.$i||(g(f,$t,L),g.$i=!0),L},L.locale=st,L.isDayjs=W,L.unix=function(g){return L(1e3*g)},L.en=k[I],L.Ls=k,L.p={},L}))})(Yr)),Yr.exports}var kn=Di();const Le=Oi(kn);var Fr={exports:{}},$n=Fr.exports,Ni;function En(){return Ni||(Ni=1,(function(t,e){(function(r,a){t.exports=a(Di())})($n,(function(r){function a(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=a(r),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(l){return l+"º"}};return o.default.locale(n,null,!0),n}))})(Fr)),Fr.exports}En();const xa={version:"0.61.13"};function wa(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const r=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const a=document.createElement("script");if(a.id=e+"-script",a.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${r}`,t?.local)a.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const o=e.split("-")[0];a.src=`http://localhost:6006/webcomponents/${e.replace(o+"-","")}/${r}`}document.head.appendChild(a)}catch(a){console.warn(a)}}class Re{dictionary;lang="";constructor(e){if(!e?.dictionary)throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(e?.lang)}setLang(e){e||(e=Re.getDefaultLang()),this.lang=e}translateWord(e,r){return Re.getDictionaryWord(e,this.dictionary,r||this.lang)}translateDate(e,r,a){return Re.formatDate(e,r,a||this.lang)}static getDefaultLang(){let e="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(e=navigator.languages[0]?.split("-")[0]?.toLowerCase()),e}static getDictionaryWord(e,r,a){if(!e)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(a&&r[a]?.[e])return r[a][e];let o="";const n=Re.getDefaultLang();if(!a||n!==a){const l=r?.[n];l?.[e]&&(o=l[e])}return o}static formatDate(e,r,a){if(!e)throw new Error("no date provided");if(typeof e.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(a||Re.getDefaultLang(),r).format(e)}}var mr={},ya,zi;function jn(){if(zi)return ya;zi=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,b=/^\s+|\s+$/g,m=`
|
|
3
3
|
`,d="/",p="*",u="",_="comment",y="declaration";ya=function($,M){if(typeof $!="string")throw new TypeError("First argument must be a string");if(!$)return[];M=M||{};var z=1,S=1;function J(R){var g=R.match(e);g&&(z+=g.length);var f=R.lastIndexOf(m);S=~f?R.length-f:S+R.length}function ct(){var R={line:z,column:S};return function(g){return g.position=new I(R),W(),g}}function I(R){this.start=R,this.end={line:z,column:S},this.source=M.source}I.prototype.content=$;function k(R){var g=new Error(M.source+":"+z+":"+S+": "+R);if(g.reason=R,g.filename=M.source,g.line=z,g.column=S,g.source=$,!M.silent)throw g}function x(R){var g=R.exec($);if(g){var f=g[0];return J(f),$=$.slice(f.length),g}}function W(){x(r)}function st(R){var g;for(R=R||[];g=L();)g!==!1&&R.push(g);return R}function L(){var R=ct();if(!(d!=$.charAt(0)||p!=$.charAt(1))){for(var g=2;u!=$.charAt(g)&&(p!=$.charAt(g)||d!=$.charAt(g+1));)++g;if(g+=2,u===$.charAt(g-1))return k("End of comment missing");var f=$.slice(2,g-2);return S+=2,J(f),$=$.slice(g),S+=2,R({type:_,comment:f})}}function Y(){var R=ct(),g=x(a);if(g){if(L(),!x(o))return k("property missing ':'");var f=x(n),h=R({type:y,property:c(g[0].replace(t,u)),value:f?c(f[0].replace(t,u)):u});return x(l),h}}function $t(){var R=[];st(R);for(var g;g=Y();)g!==!1&&(R.push(g),st(R));return R}return W(),$t()};function c($){return $?$.replace(b,u):u}return ya}var Ii;function Sn(){if(Ii)return mr;Ii=1;var t=mr&&mr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=r;var e=t(jn());function r(a,o){var n=null;if(!a||typeof a!="string")return n;var l=(0,e.default)(a),b=typeof o=="function";return l.forEach(function(m){if(m.type==="declaration"){var d=m.property,p=m.value;b?o(d,p,m):p&&(n=n||{},n[d]=p)}}),n}return mr}var Mn=Sn();const Li=Oi(Mn);Li.default;const Ri={en:{actions:"Actions",selectAll:"Select all",deselectAll:"Deselect all"},it:{actions:"Azioni",selectAll:"Seleziona tutti",deselectAll:"Deseleziona tutti"}};function Cn(t,e,r){e()?(e(void 0),i(r).length=0):e("yes")}function Pi(t,e,r){lt(e,i(r).map(a=>a._id),!0)}function Yi(t,e){i(e).length=0}function Tn(t,e,r){e("addItem",{id:r()})}var On=C('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-142itba"/>'),An=C('<button aria-label="Select all" class="btn btn-link svelte-142itba"> </button>'),Dn=C('<button aria-label="Deselect all" class="btn btn-link svelte-142itba"> </button>'),Nn=C('<th scope="col" class="svelte-142itba"><!></th>'),zn=C('<th scope="col" class="svelte-142itba"></th>'),In=(t,e,r)=>e(i(r).key),Ln=C('<button style="border:none; background-color:inherit" class="svelte-142itba"><!></button>'),Rn=C('<th scope="col" class="svelte-142itba"> <!></th>'),Pn=C('<th scope="col" class="svelte-142itba"> </th>'),Yn=C('<th scope="col" class="svelte-142itba"> </th>'),Fn=(t,e,r)=>e(t.target,i(r)),Hn=C('<input type="text" style="width:auto" class="form-control svelte-142itba" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Bn=C('<th scope="col" class="svelte-142itba"><!> <!></th>'),qn=C('<th scope="col" class="svelte-142itba"> </th>'),Un=C("<!> <!>",1),Wn=C('<tr class="svelte-142itba"><!><!></tr>'),Vn=C('<button class="btn btn-link svelte-142itba"> </button>'),Gn=C('<button class="btn btn-link svelte-142itba"> </button>'),Jn=C('<th scope="col" class="svelte-142itba"><!></th>'),Xn=(t,e,r)=>e(t.target,i(r)),Zn=C('<span style="width:50px;display:inline-block" class="svelte-142itba">Inizio</span> <input type="date" class="form-control svelte-142itba" style="max-width: 200px;display:inline-block"/>',1),Kn=(t,e,r)=>e(t.target,i(r)),Qn=C('<input type="text" style="width:auto" class="form-control svelte-142itba" placeholder="..." aria-label="Search" aria-describedby="search"/>'),tl=(t,e,r)=>e(t.target,i(r)),el=C('<option class="svelte-142itba"> </option>'),rl=C('<select class="form-select svelte-142itba"><option class="svelte-142itba">tutti</option><!></select>'),al=C('<th scope="col" class="svelte-142itba"><!></th>'),il=C('<th scope="col" class="svelte-142itba"> </th>'),ol=C('<th scope="col" class="svelte-142itba"> </th>'),nl=(t,e,r)=>e(t.target,i(r)),ll=C('<span style="width:50px;display:inline-block" class="svelte-142itba">Fine</span> <input type="date" class="form-control svelte-142itba" style="max-width: 200px;display:inline-block"/>',1),sl=C('<th scope="col" class="svelte-142itba"><!></th>'),bl=C('<th scope="col" class="svelte-142itba"> </th>'),ml=C('<tr class="svelte-142itba"><!><!><!></tr> <tr class="svelte-142itba"><!><!><!></tr>',1),dl=(t,e,r)=>{e(i(r)._id,t.target)},vl=C('<input id="flexCheckDefault" class="form-check-input svelte-142itba" type="checkbox" checked/>'),pl=(t,e,r)=>{e(i(r)._id,t.target)},cl=C('<input id="flexCheckDefault" class="form-check-input svelte-142itba" type="checkbox"/>'),gl=C('<td style="box-shadow: none;" class="svelte-142itba"><div class="form-check svelte-142itba"><!></div></td>'),fl=(t,e,r,a)=>e(i(r),i(a)),ul=C('<button type="button" style="margin-right:10px" disabled> </button>'),hl=(t,e,r,a)=>e(i(r),i(a)),xl=C('<button type="button" style="margin-right:10px" disabled><i></i></button>'),wl=(t,e,r,a)=>e(i(r),i(a)),yl=C('<button type="button" style="margin-right:10px"> </button>'),_l=(t,e,r,a)=>e(i(r),i(a)),kl=C('<button type="button" style="margin-right:10px"><i></i></button>'),$l=C('<td class="svelte-142itba"></td>'),El=C('<td class="svelte-142itba"></td>'),jl=(t,e,r,a)=>{e()&&r(i(a)._id)},Sl=(t,e,r,a)=>e(i(r)._id,i(a).key),Ml=C('<button type="button" class="btn btn-link svelte-142itba"> </button>'),Cl=(t,e,r,a,o)=>e(r(i(a),i(o)).toString()),Tl=C('<button type="button" class="btn btn-link svelte-142itba" aria-label="Copy to clipboard"><i class="bi-clipboard svelte-142itba"></i></button>'),Ol=C('<td class="svelte-142itba"><!> <!></td>'),Al=(t,e,r,a)=>e(i(r)._id,i(a).name),Dl=C('<button type="button" style="margin-right:10px"> </button>'),Nl=(t,e,r,a)=>e(i(r)._id,i(a).name),zl=C('<button type="button" style="margin-right:10px"><i></i></button>'),Il=C('<td class="svelte-142itba"></td>'),Ll=C('<tr class="svelte-142itba"><!><!><!></tr>'),Rl=(t,e,r)=>{e(i(r).name)},Pl=C('<button type="button" class="btn btn-outline-primary svelte-142itba"> </button>'),Yl=C('<span style="margin-left:20px" class="btn-group btn-group-sm svelte-142itba" role="group" aria-label="Basic example"></span>'),Fl=C('<button aria-label="Settings"><i class="bi-gear svelte-142itba"></i></button> <!>',1),Hl=C('<i class="bi-plus svelte-142itba"></i>'),Bl=C('<button style="margin-left:20px" class="btn btn-primary btn-sm svelte-142itba"><!></button>'),ql=C("<hb-paginate></hb-paginate>",2),Ul=C('<table part="table" class="table table-responsive table-striped table-hover align-middle svelte-142itba" style="width:100%;text-align:left"><thead class="svelte-142itba"><tr class="svelte-142itba"><!><!><!></tr><!></thead><tbody class="svelte-142itba"><!></tbody></table> <nav part="table-actions" style="margin-top:20px" aria-label="actions on selected" class="svelte-142itba"><!> <!> <!> <!></nav>',1),Wl=C("<hb-dialogform></hb-dialogform> <hb-dialog></hb-dialog> <!>",3);const Vl={hash:"svelte-142itba",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
package/manifest.json
CHANGED