@htmlbricks/hb-table 0.61.41 → 0.61.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(Ei){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Sr=1,Mr=2,ji=4,Ko=8,Qo=16,ev=1,tv=4,rv=8,iv=16,ov=1,vv=2,Wr="[",Vr="[!",Gr="]",rr={},Ie=Symbol(),nv="http://www.w3.org/1999/xhtml",Si=!1;var Jr=Array.isArray,lv=Array.prototype.indexOf,Xr=Array.from,Tr=Object.keys,ir=Object.defineProperty,Bt=Object.getOwnPropertyDescriptor,av=Object.getOwnPropertyDescriptors,sv=Object.prototype,dv=Array.prototype,Mi=Object.getPrototypeOf,Ti=Object.isExtensible;function Ci(e){for(var t=0;t<e.length;t++)e[t]()}function pv(){var e,t,r=new Promise((i,o)=>{e=i,t=o});return{promise:r,resolve:e,reject:t}}const tt=2,Zr=4,Kr=8,or=16,Ot=32,zt=64,Oi=128,nt=256,Cr=512,Fe=1024,lt=2048,Lt=4096,ct=8192,Ut=16384,Qr=32768,ei=65536,Ai=1<<17,Di=1<<18,vr=1<<19,fv=1<<20,ti=1<<21,ri=1<<22,Wt=1<<23,Or=Symbol("$state"),Ni=Symbol("legacy props"),mv=Symbol(""),ii=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},oi=3,nr=8;function bv(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function cv(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gv(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function uv(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function hv(e){throw new Error("https://svelte.dev/e/effect_orphan")}function xv(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wv(){throw new Error("https://svelte.dev/e/hydration_failed")}function yv(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function _v(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function kv(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function $v(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ar(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let J=!1;function rt(e){J=e}let ae;function Ze(e){if(e===null)throw Ar(),rr;return ae=e}function gr(){return Ze(_t(ae))}function N(e){if(J){if(_t(ae)!==null)throw Ar(),rr;ae=e}}function vi(){for(var e=0,t=ae;;){if(t.nodeType===nr){var r=t.data;if(r===Gr){if(e===0)return t;e-=1}else(r===Wr||r===Vr)&&(e+=1)}var i=_t(t);t.remove(),t=i}}function zi(e){if(!e||e.nodeType!==nr)throw Ar(),rr;return e.data}function Li(e){return e===this.v}function Ev(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ii(e){return!Ev(e,this.v)}let jv=!1,gt=null;function Dr(e){gt=e}function Ri(e,t=!1,r){gt={p:gt,c:null,e:null,s:e,x:null,l:null}}function Pi(e){var t=gt,r=t.e;if(r!==null){t.e=null;for(var i of r)ao(i)}return e!==void 0&&(t.x=e),gt=t.p,e??{}}function Yi(){return!0}const Sv=new WeakMap;function Mv(e){var t=V;if(t===null)return X.f|=Wt,e;if((t.f&Qr)===0){if((t.f&Oi)===0)throw!t.parent&&e instanceof Error&&Fi(e),e;t.b.error(e)}else ni(e,t)}function ni(e,t){for(;t!==null;){if((t.f&Oi)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Fi(e),e}function Fi(e){const t=Sv.get(e);t&&(ir(e,"message",{value:t.message}),ir(e,"stack",{value:t.stack}))}const Tv=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let ur=[],hr=[];function Hi(){var e=ur;ur=[],Ci(e)}function qi(){var e=hr;hr=[],Ci(e)}function Bi(e){ur.length===0&&queueMicrotask(Hi),ur.push(e)}function Cv(e){hr.length===0&&Tv(qi),hr.push(e)}function Ov(){ur.length>0&&Hi(),hr.length>0&&qi()}function Av(){const e=V.b;return e===null&&bv(),e}function Nr(e){var t=tt|lt,r=X!==null&&(X.f&tt)!==0?X:null;return V===null||r!==null&&(r.f&nt)!==0?t|=nt:V.f|=vr,{ctx:gt,deps:null,effects:null,equals:Li,f:t,fn:e,reactions:null,rv:0,v:Ie,wv:0,parent:r??V,ac:null}}function Dv(e,t){let r=V;r===null&&cv();var i=r.b,o=void 0,n=xr(Ie),l=null,a=!X;return Wv(()=>{try{var d=e();l&&Promise.resolve(d).catch(()=>{})}catch(y){d=Promise.reject(y)}var p=()=>d;o=l?.then(p,p)??Promise.resolve(d),l=o;var f=ze,g=i.is_pending();a&&(i.update_pending_count(1),g||f.increment());const w=(y,b=void 0)=>{l=null,g||f.activate(),b?b!==ii&&(n.f|=Wt,wr(n,b)):((n.f&Wt)!==0&&(n.f^=Wt),wr(n,y)),a&&(i.update_pending_count(-1),g||f.decrement()),Gi()};if(o.then(w,y=>w(null,y||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(d=>{function p(f){function g(){f===o?d(n):p(o)}f.then(g,g)}p(o)})}function zr(e){const t=Nr(e);return uo(t),t}function Ui(e){const t=Nr(e);return t.equals=Ii,t}function Wi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)$t(t[r])}}function Nv(e){for(var t=e.parent;t!==null;){if((t.f&tt)===0)return t;t=t.parent}return null}function li(e){var t,r=V;jt(Nv(e));try{Wi(e),t=_o(e)}finally{jt(r)}return t}function Vi(e){var t=li(e);if(e.equals(t)||(e.v=t,e.wv=wo()),!Xt){var r=(Pt||(e.f&nt)!==0)&&e.deps!==null?Lt:Fe;Ke(e,r)}}function zv(e,t,r){const i=Nr;if(t.length===0){r(e.map(i));return}var o=ze,n=V,l=Lv(),a=Av();Promise.all(t.map(d=>Dv(d))).then(d=>{o?.activate(),l();try{r([...e.map(i),...d])}catch(p){(n.f&Ut)===0&&ni(p,n)}o?.deactivate(),Gi()}).catch(d=>{a.error(d)})}function Lv(){var e=V,t=X,r=gt,i=ze;return function(){jt(e),st(t),Dr(r),i?.activate()}}function Gi(){jt(null),st(null),Dr(null)}const ai=new Set;let ze=null,Ji=new Set,Lr=[];function Xi(){const e=Lr.shift();Lr.length>0&&queueMicrotask(Xi),e()}let Vt=[],Ir=null,si=!1,Rr=!1;class Gt{current=new Map;#t=new Map;#e=new Set;#r=0;#s=null;#d=!1;#o=[];#n=[];#v=[];#i=[];#l=[];#p=[];#f=[];skipped_effects=new Set;process(t){Vt=[];for(const o of t)this.#b(o);if(this.#o.length===0&&this.#r===0){this.#m();var r=this.#v,i=this.#i;this.#v=[],this.#i=[],this.#l=[],ze=null,Ki(r),Ki(i),ze===null?ze=this:ai.delete(this),this.#s?.resolve()}else this.#a(this.#v),this.#a(this.#i),this.#a(this.#l);for(const o of this.#o)dr(o);for(const o of this.#n)dr(o);this.#o=[],this.#n=[]}#b(t){t.f^=Fe;for(var r=t.first;r!==null;){var i=r.f,o=(i&(Ot|zt))!==0,n=o&&(i&Fe)!==0,l=n||(i&ct)!==0||this.skipped_effects.has(r);if(!l&&r.fn!==null){if(o)r.f^=Fe;else if((i&Zr)!==0)this.#i.push(r);else if((i&Fe)===0)if((i&ri)!==0){var a=r.b?.is_pending()?this.#n:this.#o;a.push(r)}else Pr(r)&&((r.f&or)!==0&&this.#l.push(r),dr(r));var d=r.first;if(d!==null){r=d;continue}}var p=r.parent;for(r=r.next;r===null&&p!==null;)r=p.next,p=p.parent}}#a(t){for(const r of t)((r.f&lt)!==0?this.#p:this.#f).push(r),Ke(r,Fe);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){ze=this}deactivate(){ze=null;for(const t of Ji)if(Ji.delete(t),t(),ze!==null)break}neuter(){this.#d=!0}flush(){Vt.length>0?Zi():this.#m(),ze===this&&(this.#r===0&&ai.delete(this),this.deactivate())}#m(){if(!this.#d)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#p)Ke(t,lt),lr(t);for(const t of this.#f)Ke(t,Lt),lr(t);this.#v=[],this.#i=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#s??=pv()).promise}static ensure(){if(ze===null){const t=ze=new Gt;ai.add(ze),Rr||Gt.enqueue(()=>{ze===t&&t.flush()})}return ze}static enqueue(t){Lr.length===0&&queueMicrotask(Xi),Lr.unshift(t)}}function Re(e){var t=Rr;Rr=!0;try{for(var r;;){if(Ov(),Vt.length===0&&(ze?.flush(),Vt.length===0))return Ir=null,r;Zi()}}finally{Rr=t}}function Zi(){var e=sr;si=!0;try{var t=0;for(co(!0);Vt.length>0;){var r=Gt.ensure();if(t++>1e3){var i,o;Iv()}r.process(Vt),It.clear()}}finally{si=!1,co(e),Ir=null}}function Iv(){try{xv()}catch(e){ni(e,Ir)}}let Jt=null;function Ki(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var i=e[r++];if((i.f&(Ut|ct))===0&&Pr(i)&&(Jt=[],dr(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?fo(i):i.fn=null),Jt?.length>0)){It.clear();for(const o of Jt)dr(o);Jt=[]}}Jt=null}}function lr(e){for(var t=Ir=e;t.parent!==null;){t=t.parent;var r=t.f;if(si&&t===V&&(r&or)!==0)return;if((r&(zt|Ot))!==0){if((r&Fe)===0)return;t.f^=Fe}}Vt.push(t)}const It=new Map;function xr(e,t){var r={f:0,v:e,reactions:null,equals:Li,rv:0,wv:0};return r}function Ce(e,t){const r=xr(e);return uo(r),r}function Qi(e,t=!1,r=!0){const i=xr(e);return t||(i.equals=Ii),i}function de(e,t,r=!1){X!==null&&(!Et||(X.f&Ai)!==0)&&Yi()&&(X.f&(tt|or|ri|Ai))!==0&&!At?.includes(e)&&$v();let i=r?at(t):t;return wr(e,i)}function wr(e,t){if(!e.equals(t)){var r=e.v;Xt?It.set(e,t):It.set(e,r),e.v=t;var i=Gt.ensure();i.capture(e,r),(e.f&tt)!==0&&((e.f&lt)!==0&&li(e),Ke(e,(e.f&nt)===0?Fe:Lt)),e.wv=wo(),eo(e,lt),V!==null&&(V.f&Fe)!==0&&(V.f&(Ot|zt))===0&&(dt===null?Xv([e]):dt.push(e))}return t}function di(e){de(e,e.v+1)}function eo(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,o=0;o<i;o++){var n=r[o],l=n.f,a=(l&lt)===0;a&&Ke(n,t),(l&tt)!==0?eo(n,Lt):a&&((l&or)!==0&&Jt!==null&&Jt.push(n),lr(n))}}function at(e){if(typeof e!="object"||e===null||Or in e)return e;const t=Mi(e);if(t!==sv&&t!==dv)return e;var r=new Map,i=Jr(e),o=Ce(0),n=Zt,l=a=>{if(Zt===n)return a();var d=X,p=Zt;st(null),xo(n);var f=a();return st(d),xo(p),f};return i&&r.set("length",Ce(e.length)),new Proxy(e,{defineProperty(a,d,p){(!("value"in p)||p.configurable===!1||p.enumerable===!1||p.writable===!1)&&_v();var f=r.get(d);return f===void 0?f=l(()=>{var g=Ce(p.value);return r.set(d,g),g}):de(f,p.value,!0),!0},deleteProperty(a,d){var p=r.get(d);if(p===void 0){if(d in a){const f=l(()=>Ce(Ie));r.set(d,f),di(o)}}else de(p,Ie),di(o);return!0},get(a,d,p){if(d===Or)return e;var f=r.get(d),g=d in a;if(f===void 0&&(!g||Bt(a,d)?.writable)&&(f=l(()=>{var y=at(g?a[d]:Ie),b=Ce(y);return b}),r.set(d,f)),f!==void 0){var w=v(f);return w===Ie?void 0:w}return Reflect.get(a,d,p)},getOwnPropertyDescriptor(a,d){var p=Reflect.getOwnPropertyDescriptor(a,d);if(p&&"value"in p){var f=r.get(d);f&&(p.value=v(f))}else if(p===void 0){var g=r.get(d),w=g?.v;if(g!==void 0&&w!==Ie)return{enumerable:!0,configurable:!0,value:w,writable:!0}}return p},has(a,d){if(d===Or)return!0;var p=r.get(d),f=p!==void 0&&p.v!==Ie||Reflect.has(a,d);if(p!==void 0||V!==null&&(!f||Bt(a,d)?.writable)){p===void 0&&(p=l(()=>{var w=f?at(a[d]):Ie,y=Ce(w);return y}),r.set(d,p));var g=v(p);if(g===Ie)return!1}return f},set(a,d,p,f){var g=r.get(d),w=d in a;if(i&&d==="length")for(var y=p;y<g.v;y+=1){var b=r.get(y+"");b!==void 0?de(b,Ie):y in a&&(b=l(()=>Ce(Ie)),r.set(y+"",b))}if(g===void 0)(!w||Bt(a,d)?.writable)&&(g=l(()=>Ce(void 0)),de(g,at(p)),r.set(d,g));else{w=g.v!==Ie;var k=l(()=>at(p));de(g,k)}var M=Reflect.getOwnPropertyDescriptor(a,d);if(M?.set&&M.set.call(f,p),!w){if(i&&typeof d=="string"){var Y=r.get("length"),S=Number(d);Number.isInteger(S)&&S>=Y.v&&de(Y,S+1)}di(o)}return!0},ownKeys(a){v(o);var d=Reflect.ownKeys(a).filter(g=>{var w=r.get(g);return w===void 0||w.v!==Ie});for(var[p,f]of r)f.v!==Ie&&!(p in a)&&d.push(p);return d},setPrototypeOf(){kv()}})}var to,ro,io,oo;function pi(){if(to===void 0){to=window,ro=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;io=Bt(t,"firstChild").get,oo=Bt(t,"nextSibling").get,Ti(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ti(r)&&(r.__t=void 0)}}function ut(e=""){return document.createTextNode(e)}function Rt(e){return io.call(e)}function _t(e){return oo.call(e)}function R(e,t){if(!J)return Rt(e);var r=Rt(ae);if(r===null)r=ae.appendChild(ut());else if(t&&r.nodeType!==oi){var i=ut();return r?.before(i),Ze(i),i}return Ze(r),r}function le(e,t){if(!J){var r=Rt(e);return r instanceof Comment&&r.data===""?_t(r):r}return ae}function se(e,t=1,r=!1){let i=J?ae:e;for(var o;t--;)o=i,i=_t(i);if(!J)return i;if(r&&i?.nodeType!==oi){var n=ut();return i===null?o?.after(n):i.before(n),Ze(n),n}return Ze(i),i}function vo(e){e.textContent=""}function no(){return!1}let lo=!1;function Rv(){lo||(lo=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function fi(e){var t=X,r=V;st(null),jt(null);try{return e()}finally{st(t),jt(r)}}function Pv(e){V===null&&X===null&&hv(),X!==null&&(X.f&nt)!==0&&V===null&&uv(),Xt&&gv()}function Yv(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function kt(e,t,r,i=!0){var o=V;o!==null&&(o.f&ct)!==0&&(e|=ct);var n={ctx:gt,deps:null,nodes_start:null,nodes_end:null,f:e|lt,first:null,fn:t,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{dr(n),n.f|=Qr}catch(d){throw $t(n),d}else t!==null&&lr(n);if(i){var l=n;if(r&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&vr)===0&&(l=l.first),l!==null&&(l.parent=o,o!==null&&Yv(l,o),X!==null&&(X.f&tt)!==0&&(e&zt)===0)){var a=X;(a.effects??=[]).push(l)}}return n}function Fv(e){const t=kt(Kr,null,!1);return Ke(t,Fe),t.teardown=e,t}function Hv(e){Pv();var t=V.f,r=!X&&(t&Ot)!==0&&(t&Qr)===0;if(r){var i=gt;(i.e??=[]).push(e)}else return ao(e)}function ao(e){return kt(Zr|fv,e,!1)}function qv(e){Gt.ensure();const t=kt(zt|vr,e,!0);return()=>{$t(t)}}function Bv(e){Gt.ensure();const t=kt(zt|vr,e,!0);return(r={})=>new Promise(i=>{r.outro?bi(t,()=>{$t(t),i(void 0)}):($t(t),i(void 0))})}function Uv(e){return kt(Zr,e,!1)}function Wv(e){return kt(ri|vr,e,!0)}function Vv(e,t=0){return kt(Kr|t,e,!0)}function I(e,t=[],r=[]){zv(t,r,i=>{kt(Kr,()=>e(...i.map(v)),!0)})}function mi(e,t=0){var r=kt(or|t,e,!0);return r}function ar(e,t=!0){return kt(Ot|vr,e,!0,t)}function so(e){var t=e.teardown;if(t!==null){const r=Xt,i=X;go(!0),st(null);try{t.call(null)}finally{go(r),st(i)}}}function po(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const o=r.ac;o!==null&&fi(()=>{o.abort(ii)});var i=r.next;(r.f&zt)!==0?r.parent=null:$t(r,t),r=i}}function Gv(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ot)===0&&$t(t),t=r}}function $t(e,t=!0){var r=!1;(t||(e.f&Di)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Jv(e.nodes_start,e.nodes_end),r=!0),po(e,t&&!r),Yr(e,0),Ke(e,Ut);var i=e.transitions;if(i!==null)for(const n of i)n.stop();so(e);var o=e.parent;o!==null&&o.first!==null&&fo(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Jv(e,t){for(;e!==null;){var r=e===t?null:_t(e);e.remove(),e=r}}function fo(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function bi(e,t){var r=[];ci(e,r,!0),mo(r,()=>{$t(e),t&&t()})}function mo(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var o of e)o.out(i)}else t()}function ci(e,t,r){if((e.f&ct)===0){if(e.f^=ct,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var i=e.first;i!==null;){var o=i.next,n=(i.f&ei)!==0||(i.f&Ot)!==0;ci(i,t,n?r:!1),i=o}}}function gi(e){bo(e,!0)}function bo(e,t){if((e.f&ct)!==0){e.f^=ct,(e.f&Fe)===0&&(Ke(e,lt),lr(e));for(var r=e.first;r!==null;){var i=r.next,o=(r.f&ei)!==0||(r.f&Ot)!==0;bo(r,o?t:!1),r=i}if(e.transitions!==null)for(const n of e.transitions)(n.is_global||t)&&n.in()}}let sr=!1;function co(e){sr=e}let Xt=!1;function go(e){Xt=e}let X=null,Et=!1;function st(e){X=e}let V=null;function jt(e){V=e}let At=null;function uo(e){X!==null&&(At===null?At=[e]:At.push(e))}let Ve=null,it=0,dt=null;function Xv(e){dt=e}let ho=1,yr=0,Zt=yr;function xo(e){Zt=e}let Pt=!1;function wo(){return++ho}function Pr(e){var t=e.f;if((t&lt)!==0)return!0;if((t&Lt)!==0){var r=e.deps,i=(t&nt)!==0;if(r!==null){var o,n,l=(t&Cr)!==0,a=i&&V!==null&&!Pt,d=r.length;if((l||a)&&(V===null||(V.f&Ut)===0)){var p=e,f=p.parent;for(o=0;o<d;o++)n=r[o],(l||!n?.reactions?.includes(p))&&(n.reactions??=[]).push(p);l&&(p.f^=Cr),a&&f!==null&&(f.f&nt)===0&&(p.f^=nt)}for(o=0;o<d;o++)if(n=r[o],Pr(n)&&Vi(n),n.wv>e.wv)return!0}(!i||V!==null&&!Pt)&&Ke(e,Fe)}return!1}function yo(e,t,r=!0){var i=e.reactions;if(i!==null&&!At?.includes(e))for(var o=0;o<i.length;o++){var n=i[o];(n.f&tt)!==0?yo(n,t,!1):t===n&&(r?Ke(n,lt):(n.f&Fe)!==0&&Ke(n,Lt),lr(n))}}function _o(e){var t=Ve,r=it,i=dt,o=X,n=Pt,l=At,a=gt,d=Et,p=Zt,f=e.f;Ve=null,it=0,dt=null,Pt=(f&nt)!==0&&(Et||!sr||X===null),X=(f&(Ot|zt))===0?e:null,At=null,Dr(e.ctx),Et=!1,Zt=++yr,e.ac!==null&&(fi(()=>{e.ac.abort(ii)}),e.ac=null);try{e.f|=ti;var g=e.fn,w=g(),y=e.deps;if(Ve!==null){var b;if(Yr(e,it),y!==null&&it>0)for(y.length=it+Ve.length,b=0;b<Ve.length;b++)y[it+b]=Ve[b];else e.deps=y=Ve;if(!Pt||(f&tt)!==0&&e.reactions!==null)for(b=it;b<y.length;b++)(y[b].reactions??=[]).push(e)}else y!==null&&it<y.length&&(Yr(e,it),y.length=it);if(Yi()&&dt!==null&&!Et&&y!==null&&(e.f&(tt|Lt|lt))===0)for(b=0;b<dt.length;b++)yo(dt[b],e);return o!==null&&o!==e&&(yr++,dt!==null&&(i===null?i=dt:i.push(...dt))),(e.f&Wt)!==0&&(e.f^=Wt),w}catch(k){return Mv(k)}finally{e.f^=ti,Ve=t,it=r,dt=i,X=o,Pt=n,At=l,Dr(a),Et=d,Zt=p}}function Zv(e,t){let r=t.reactions;if(r!==null){var i=lv.call(r,e);if(i!==-1){var o=r.length-1;o===0?r=t.reactions=null:(r[i]=r[o],r.pop())}}r===null&&(t.f&tt)!==0&&(Ve===null||!Ve.includes(t))&&(Ke(t,Lt),(t.f&(nt|Cr))===0&&(t.f^=Cr),Wi(t),Yr(t,0))}function Yr(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)Zv(e,r[i])}function dr(e){var t=e.f;if((t&Ut)===0){Ke(e,Fe);var r=V,i=sr;V=e,sr=!0;try{(t&or)!==0?Gv(e):po(e),so(e);var o=_o(e);e.teardown=typeof o=="function"?o:null,e.wv=ho;var n;Si&&jv&&(e.f&lt)!==0&&e.deps}finally{sr=i,V=r}}}function v(e){var t=e.f,r=(t&tt)!==0;if(X!==null&&!Et){var i=V!==null&&(V.f&Ut)!==0;if(!i&&!At?.includes(e)){var o=X.deps;if((X.f&ti)!==0)e.rv<yr&&(e.rv=yr,Ve===null&&o!==null&&o[it]===e?it++:Ve===null?Ve=[e]:(!Pt||!Ve.includes(e))&&Ve.push(e));else{(X.deps??=[]).push(e);var n=e.reactions;n===null?e.reactions=[X]:n.includes(X)||n.push(X)}}}else if(r&&e.deps===null&&e.effects===null){var l=e,a=l.parent;a!==null&&(a.f&nt)===0&&(l.f^=nt)}if(Xt){if(It.has(e))return It.get(e);if(r){l=e;var d=l.v;return((l.f&Fe)===0&&l.reactions!==null||ko(l))&&(d=li(l)),It.set(l,d),d}}else r&&(l=e,Pr(l)&&Vi(l));if((e.f&Wt)!==0)throw e.v;return e.v}function ko(e){if(e.v===Ie)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(It.has(t)||(t.f&tt)!==0&&ko(t))return!0;return!1}function Kv(e){var t=Et;try{return Et=!0,e()}finally{Et=t}}const Qv=-7169;function Ke(e,t){e.f=e.f&Qv|t}const $o=new Set,ui=new Set;function en(e,t,r,i={}){function o(n){if(i.capture||kr.call(t,n),!n.cancelBubble)return fi(()=>r?.call(this,n))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Bi(()=>{t.addEventListener(e,o,i)}):t.addEventListener(e,o,i),o}function _r(e,t,r,i,o){var n={capture:i,passive:o},l=en(e,t,r,n);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Fv(()=>{t.removeEventListener(e,l,n)})}function tn(e){for(var t=0;t<e.length;t++)$o.add(e[t]);for(var r of ui)r(e)}let Eo=null;function kr(e){var t=this,r=t.ownerDocument,i=e.type,o=e.composedPath?.()||[],n=o[0]||e.target;Eo=e;var l=0,a=Eo===e&&e.__root;if(a){var d=o.indexOf(a);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var p=o.indexOf(t);if(p===-1)return;d<=p&&(l=d)}if(n=o[l]||e.target,n!==t){ir(e,"currentTarget",{configurable:!0,get(){return n||r}});var f=X,g=V;st(null),jt(null);try{for(var w,y=[];n!==null;){var b=n.assignedSlot||n.parentNode||n.host||null;try{var k=n["__"+i];if(k!=null&&(!n.disabled||e.target===n))if(Jr(k)){var[M,...Y]=k;M.apply(n,[e,...Y])}else k.call(n,e)}catch(S){w?y.push(S):w=S}if(e.cancelBubble||b===t||b===null)break;n=b}if(w){for(let S of y)queueMicrotask(()=>{throw S});throw w}}finally{e.__root=t,delete e.currentTarget,st(f),jt(g)}}}let pt;function rn(){pt=void 0}function on(e){let t=null,r=J;var i;if(J){for(t=ae,pt===void 0&&(pt=Rt(document.head));pt!==null&&(pt.nodeType!==nr||pt.data!==Wr);)pt=_t(pt);pt===null?rt(!1):pt=Ze(_t(pt))}J||(i=document.head.appendChild(ut()));try{mi(()=>e(i),Di)}finally{r&&(rt(!0),pt=ae,Ze(t))}}function vn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Yt(e,t){var r=V;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function C(e,t){var r=(t&ov)!==0,i=(t&vv)!==0,o,n=!e.startsWith("<!>");return()=>{if(J)return Yt(ae,null),ae;o===void 0&&(o=vn(n?e:"<!>"+e),r||(o=Rt(o)));var l=i||ro?document.importNode(o,!0):o.cloneNode(!0);if(r){var a=Rt(l),d=l.lastChild;Yt(a,d)}else Yt(l,l);return l}}function pr(e=""){if(!J){var t=ut(e+"");return Yt(t,t),t}var r=ae;return r.nodeType!==oi&&(r.before(r=ut()),Ze(r)),Yt(r,r),r}function ke(){if(J)return Yt(ae,null),ae;var e=document.createDocumentFragment(),t=document.createComment(""),r=ut();return e.append(t,r),Yt(t,r),e}function x(e,t){if(J){V.nodes_end=ae,gr();return}e!==null&&e.before(t)}const nn=["touchstart","touchmove"];function ln(e){return nn.includes(e)}function Se(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function jo(e,t){return So(e,t)}function an(e,t){pi(),t.intro=t.intro??!1;const r=t.target,i=J,o=ae;try{for(var n=Rt(r);n&&(n.nodeType!==nr||n.data!==Wr);)n=_t(n);if(!n)throw rr;rt(!0),Ze(n),gr();const l=So(e,{...t,anchor:n});if(ae===null||ae.nodeType!==nr||ae.data!==Gr)throw Ar(),rr;return rt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==rr&&console.warn("Failed to hydrate: ",l),t.recover===!1&&wv(),pi(),vo(r),rt(!1),jo(e,t)}finally{rt(i),Ze(o),rn()}}const fr=new Map;function So(e,{target:t,anchor:r,props:i={},events:o,context:n,intro:l=!0}){pi();var a=new Set,d=g=>{for(var w=0;w<g.length;w++){var y=g[w];if(!a.has(y)){a.add(y);var b=ln(y);t.addEventListener(y,kr,{passive:b});var k=fr.get(y);k===void 0?(document.addEventListener(y,kr,{passive:b}),fr.set(y,1)):fr.set(y,k+1)}}};d(Xr($o)),ui.add(d);var p=void 0,f=Bv(()=>{var g=r??t.appendChild(ut());return ar(()=>{if(n){Ri({});var w=gt;w.c=n}o&&(i.$$events=o),J&&Yt(g,null),p=e(g,i)||{},J&&(V.nodes_end=ae),n&&Pi()}),()=>{for(var w of a){t.removeEventListener(w,kr);var y=fr.get(w);--y===0?(document.removeEventListener(w,kr),fr.delete(w)):fr.set(w,y)}ui.delete(d),g!==r&&g.parentNode?.removeChild(g)}});return hi.set(p,f),p}let hi=new WeakMap;function sn(e,t){const r=hi.get(e);return r?(hi.delete(e),r(t)):Promise.resolve()}function A(e,t,r=!1){J&&gr();var i=e,o=null,n=null,l=Ie,a=r?ei:0,d=!1;const p=(y,b=!0)=>{d=!0,w(b,y)};var f=null;function g(){f!==null&&(f.lastChild.remove(),i.before(f),f=null);var y=l?o:n,b=l?n:o;y&&gi(y),b&&bi(b,()=>{l?n=null:o=null})}const w=(y,b)=>{if(l===(l=y))return;let k=!1;if(J){const oe=zi(i)===Vr;!!l===oe&&(i=vi(),Ze(i),rt(!1),k=!0)}var M=no(),Y=i;if(M&&(f=document.createDocumentFragment(),f.append(Y=ut())),l?o??=b&&ar(()=>b(Y)):n??=b&&ar(()=>b(Y)),M){var S=ze,te=l?o:n,Z=l?n:o;te&&S.skipped_effects.delete(te),Z&&S.skipped_effects.add(Z),S.add_callback(g)}else g();k&&rt(!0)};mi(()=>{d=!1,t(p),d||w(null,null)},a),J&&(i=ae)}function dn(e,t,r){for(var i=e.items,o=[],n=t.length,l=0;l<n;l++)ci(t[l].e,o,!0);var a=n>0&&o.length===0&&r!==null;if(a){var d=r.parentNode;vo(d),d.append(r),i.clear(),St(e,t[0].prev,t[n-1].next)}mo(o,()=>{for(var p=0;p<n;p++){var f=t[p];a||(i.delete(f.k),St(e,f.prev,f.next)),$t(f.e,!a)}})}function ht(e,t,r,i,o,n=null){var l=e,a={flags:t,items:new Map,first:null},d=(t&ji)!==0;if(d){var p=e;l=J?Ze(Rt(p)):p.appendChild(ut())}J&&gr();var f=null,g=!1,w=new Map,y=Ui(()=>{var Y=r();return Jr(Y)?Y:Y==null?[]:Xr(Y)}),b,k;function M(){pn(k,b,a,w,l,o,t,i,r),n!==null&&(b.length===0?f?gi(f):f=ar(()=>n(l)):f!==null&&bi(f,()=>{f=null}))}mi(()=>{k??=V,b=v(y);var Y=b.length;if(g&&Y===0)return;g=Y===0;let S=!1;if(J){var te=zi(l)===Vr;te!==(Y===0)&&(l=vi(),Ze(l),rt(!1),S=!0)}if(J){for(var Z=null,oe,$=0;$<Y;$++){if(ae.nodeType===nr&&ae.data===Gr){l=ae,S=!0,rt(!1);break}var j=b[$],E=i(j,$);oe=xi(ae,a,Z,null,j,E,$,o,t,r),a.items.set(E,oe),Z=oe}Y>0&&Ze(vi())}if(J)Y===0&&n&&(f=ar(()=>n(l)));else if(no()){var pe=new Set,H=ze;for($=0;$<Y;$+=1){j=b[$],E=i(j,$);var O=a.items.get(E)??w.get(E);O?(t&(Sr|Mr))!==0&&Mo(O,j,$,t):(oe=xi(null,a,null,null,j,E,$,o,t,r,!0),w.set(E,oe)),pe.add(E)}for(const[Ae,W]of a.items)pe.has(Ae)||H.skipped_effects.add(W.e);H.add_callback(M)}else M();S&&rt(!0),v(y)}),J&&(l=ae)}function pn(e,t,r,i,o,n,l,a,d){var p=(l&Ko)!==0,f=(l&(Sr|Mr))!==0,g=t.length,w=r.items,y=r.first,b=y,k,M=null,Y,S=[],te=[],Z,oe,$,j;if(p)for(j=0;j<g;j+=1)Z=t[j],oe=a(Z,j),$=w.get(oe),$!==void 0&&($.a?.measure(),(Y??=new Set).add($));for(j=0;j<g;j+=1){if(Z=t[j],oe=a(Z,j),$=w.get(oe),$===void 0){var E=i.get(oe);if(E!==void 0){i.delete(oe),w.set(oe,E);var pe=M?M.next:b;St(r,M,E),St(r,E,pe),wi(E,pe,o),M=E}else{var H=b?b.e.nodes_start:o;M=xi(H,r,M,M===null?r.first:M.next,Z,oe,j,n,l,d)}w.set(oe,M),S=[],te=[],b=M.next;continue}if(f&&Mo($,Z,j,l),($.e.f&ct)!==0&&(gi($.e),p&&($.a?.unfix(),(Y??=new Set).delete($))),$!==b){if(k!==void 0&&k.has($)){if(S.length<te.length){var O=te[0],Ae;M=O.prev;var W=S[0],h=S[S.length-1];for(Ae=0;Ae<S.length;Ae+=1)wi(S[Ae],O,o);for(Ae=0;Ae<te.length;Ae+=1)k.delete(te[Ae]);St(r,W.prev,h.next),St(r,M,W),St(r,h,O),b=O,M=h,j-=1,S=[],te=[]}else k.delete($),wi($,b,o),St(r,$.prev,$.next),St(r,$,M===null?r.first:M.next),St(r,M,$),M=$;continue}for(S=[],te=[];b!==null&&b.k!==oe;)(b.e.f&ct)===0&&(k??=new Set).add(b),te.push(b),b=b.next;if(b===null)continue;$=b}S.push($),M=$,b=$.next}if(b!==null||k!==void 0){for(var c=k===void 0?[]:Xr(k);b!==null;)(b.e.f&ct)===0&&c.push(b),b=b.next;var u=c.length;if(u>0){var T=(l&ji)!==0&&g===0?o:null;if(p){for(j=0;j<u;j+=1)c[j].a?.measure();for(j=0;j<u;j+=1)c[j].a?.fix()}dn(r,c,T)}}p&&Bi(()=>{if(Y!==void 0)for($ of Y)$.a?.apply()}),e.first=r.first&&r.first.e,e.last=M&&M.e;for(var _ of i.values())$t(_.e);i.clear()}function Mo(e,t,r,i){(i&Sr)!==0&&wr(e.v,t),(i&Mr)!==0?wr(e.i,r):e.i=r}function xi(e,t,r,i,o,n,l,a,d,p,f){var g=(d&Sr)!==0,w=(d&Qo)===0,y=g?w?Qi(o,!1,!1):xr(o):o,b=(d&Mr)===0?l:xr(l),k={i:b,v:y,k:n,a:null,e:null,prev:r,next:i};try{if(e===null){var M=document.createDocumentFragment();M.append(e=ut())}return k.e=ar(()=>a(e,y,b,p),J),k.e.prev=r&&r.e,k.e.next=i&&i.e,r===null?f||(t.first=k):(r.next=k,r.e.next=k.e),i!==null&&(i.prev=k,i.e.prev=k.e),k}finally{}}function wi(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,n=e.e.nodes_start;n!==null&&n!==i;){var l=_t(n);o.before(n),n=l}}function St(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function To(e,t,r,i,o){J&&gr();var n=t.$$slots?.[r],l=!1;n===!0&&(n=t[r==="default"?"children":r],l=!0),n===void 0?o!==null&&o(e):n(e,l?()=>i:i)}function fn(e,t){Uv(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,i.appendChild(o)}})}function Co(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Co(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function mn(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Co(e))&&(i&&(i+=" "),i+=t);return i}function bn(e){return typeof e=="object"?mn(e):e??""}function cn(e,t,r){var i=e==null?"":""+e;return t&&(i=i?i+" "+t:t),i===""?null:i}function gn(e,t){return e==null?null:String(e)}function Qe(e,t,r,i,o,n){var l=e.__className;if(J||l!==r||l===void 0){var a=cn(r,i);(!J||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return n}function Fr(e,t,r,i){var o=e.__style;if(J||o!==t){var n=gn(t);(!J||n!==e.getAttribute("style"))&&(n==null?e.removeAttribute("style"):e.style.cssText=n),e.__style=t}return i}const un=Symbol("is custom element"),hn=Symbol("is html");function xn(e){if(J){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;mr(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var o=e.checked;mr(e,"checked",null),e.checked=o}}};e.__on_r=r,Cv(r),Rv()}}function mr(e,t,r,i){var o=wn(e);J&&(o[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||o[t]!==(o[t]=r)&&(t==="loading"&&(e[mv]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Oo(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Oe(e,t,r){var i=X,o=V;let n=J;J&&rt(!1),st(null),jt(null);try{t!=="style"&&(yi.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Oo(e).includes(t):r&&typeof r=="object")?e[t]=r:mr(e,t,r==null?r:String(r))}finally{st(i),jt(o),n&&rt(!0)}}function wn(e){return e.__attributes??={[un]:e.nodeName.includes("-"),[hn]:e.namespaceURI===nv}}var yi=new Map;function Oo(e){var t=e.getAttribute("is")||e.nodeName,r=yi.get(t);if(r)return r;yi.set(t,r=[]);for(var i,o=e,n=Element.prototype;n!==o;){i=av(o);for(var l in i)i[l].set&&r.push(l);o=Mi(o)}return r}let Hr=!1;function yn(e){var t=Hr;try{return Hr=!1,[e(),Hr]}finally{Hr=t}}function He(e,t,r,i){var o=(r&rv)!==0,n=(r&iv)!==0,l=i,a=!0,d=()=>(a&&(a=!1,l=n?Kv(i):i),l),p;if(o){var f=Or in e||Ni in e;p=Bt(e,t)?.set??(f&&t in e?S=>e[t]=S:void 0)}var g,w=!1;o?[g,w]=yn(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=d(),p&&(yv(),p(g)));var y;if(y=()=>{var S=e[t];return S===void 0?d():(a=!0,S)},(r&tv)===0)return y;if(p){var b=e.$$legacy;return(function(S,te){return arguments.length>0?((!te||b||w)&&p(te?y():S),S):y()})}var k=!1,M=((r&ev)!==0?Nr:Ui)(()=>(k=!1,y()));o&&v(M);var Y=V;return(function(S,te){if(arguments.length>0){const Z=te?v(M):o?at(S):S;return de(M,Z),k=!0,l!==void 0&&(l=Z),S}return Xt&&k||(Y.f&Ut)!==0?M.v:v(M)})}function _n(e){return new kn(e)}class kn{#t;#e;constructor(t){var r=new Map,i=(n,l)=>{var a=Qi(l,!1,!1);return r.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,l){return v(r.get(l)??i(l,Reflect.get(n,l)))},has(n,l){return l===Ni?!0:(v(r.get(l)??i(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,a){return de(r.get(l)??i(l,a),a),Reflect.set(n,l,a)}});this.#e=(t.hydrate?an:jo)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Re(),this.#t=o.$$events;for(const n of Object.keys(this.#e))n==="$set"||n==="$destroy"||n==="$on"||ir(this,n,{get(){return this.#e[n]},set(l){this.#e[n]=l},enumerable:!0});this.#e.$set=n=>{Object.assign(o,n)},this.#e.$destroy=()=>{sn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const i=(...o)=>r.call(this,...o);return this.#t[t].push(i),()=>{this.#t[t]=this.#t[t].filter(o=>o!==i)}}$destroy(){this.#e.$destroy()}}let Ao;typeof HTMLElement=="function"&&(Ao=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 i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return o=>{const n=document.createElement("slot");i!=="default"&&(n.name=i),x(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=$n(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=qr(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=_n({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qv(()=>{Vv(()=>{this.$$r=!0;for(const i of Tr(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const o=qr(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1})});for(const i in this.$$l)for(const o of this.$$l[i]){const n=this.$$c.$on(i,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=qr(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 Tr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qr(e,t,r,i){const o=r[e]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(o){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(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function $n(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function En(e,t,r,i,o,n){let l=class extends Ao{constructor(){super(e,r,o),this.$$p_d=t}static get observedAttributes(){return Tr(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Tr(t).forEach(a=>{ir(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(d){d=qr(a,d,t),this.$$d[a]=d;var p=this.$$c;if(p){var f=Bt(p,a)?.get;f?p[a]=d:p.$set({[a]:d})}}})}),i.forEach(a=>{ir(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br={exports:{}},jn=Br.exports,No;function zo(){return No||(No=1,(function(e,t){(function(r,i){e.exports=i()})(jn,(function(){var r=1e3,i=6e4,o=36e5,n="millisecond",l="second",a="minute",d="hour",p="day",f="week",g="month",w="quarter",y="year",b="date",k="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|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(h){var c=["th","st","nd","rd"],u=h%100;return"["+h+(c[(u-20)%10]||c[u]||c[0])+"]"}},te=function(h,c,u){var T=String(h);return!T||T.length>=c?h:""+Array(c+1-T.length).join(u)+h},Z={s:te,z:function(h){var c=-h.utcOffset(),u=Math.abs(c),T=Math.floor(u/60),_=u%60;return(c<=0?"+":"-")+te(T,2,"0")+":"+te(_,2,"0")},m:function h(c,u){if(c.date()<u.date())return-h(u,c);var T=12*(u.year()-c.year())+(u.month()-c.month()),_=c.clone().add(T,g),P=u-_<0,z=c.clone().add(T+(P?-1:1),g);return+(-(T+(u-_)/(P?_-z:z-_))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:g,y,w:f,d:p,D:b,h:d,m:a,s:l,ms:n,Q:w}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},oe="en",$={};$[oe]=S;var j="$isDayjsObject",E=function(h){return h instanceof Ae||!(!h||!h[j])},pe=function h(c,u,T){var _;if(!c)return oe;if(typeof c=="string"){var P=c.toLowerCase();$[P]&&(_=P),u&&($[P]=u,_=P);var z=c.split("-");if(!_&&z.length>1)return h(z[0])}else{var ve=c.name;$[ve]=c,_=ve}return!T&&_&&(oe=_),_||!T&&oe},H=function(h,c){if(E(h))return h.clone();var u=typeof c=="object"?c:{};return u.date=h,u.args=arguments,new Ae(u)},O=Z;O.l=pe,O.i=E,O.w=function(h,c){return H(h,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var Ae=(function(){function h(u){this.$L=pe(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[j]=!0}var c=h.prototype;return c.parse=function(u){this.$d=(function(T){var _=T.date,P=T.utc;if(_===null)return new Date(NaN);if(O.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var z=_.match(M);if(z){var ve=z[2]-1||0,ue=(z[7]||"0").substring(0,3);return P?new Date(Date.UTC(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)):new Date(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)}}return new Date(_)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return O},c.isValid=function(){return this.$d.toString()!==k},c.isSame=function(u,T){var _=H(u);return this.startOf(T)<=_&&_<=this.endOf(T)},c.isAfter=function(u,T){return H(u)<this.startOf(T)},c.isBefore=function(u,T){return this.endOf(T)<H(u)},c.$g=function(u,T,_){return O.u(u)?this[T]:this.set(_,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,T){var _=this,P=!!O.u(T)||T,z=O.p(u),ve=function(Dt,qe){var Tt=O.w(_.$u?Date.UTC(_.$y,qe,Dt):new Date(_.$y,qe,Dt),_);return P?Tt:Tt.endOf(p)},ue=function(Dt,qe){return O.w(_.toDate()[Dt].apply(_.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(qe)),_)},Me=this.$W,$e=this.$M,Ge=this.$D,Ht="set"+(this.$u?"UTC":"");switch(z){case y:return P?ve(1,0):ve(31,11);case g:return P?ve(1,$e):ve(0,$e+1);case f:var Mt=this.$locale().weekStart||0,Qt=(Me<Mt?Me+7:Me)-Mt;return ve(P?Ge-Qt:Ge+(6-Qt),$e);case p:case b:return ue(Ht+"Hours",0);case d:return ue(Ht+"Minutes",1);case a:return ue(Ht+"Seconds",2);case l:return ue(Ht+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,T){var _,P=O.p(u),z="set"+(this.$u?"UTC":""),ve=(_={},_[p]=z+"Date",_[b]=z+"Date",_[g]=z+"Month",_[y]=z+"FullYear",_[d]=z+"Hours",_[a]=z+"Minutes",_[l]=z+"Seconds",_[n]=z+"Milliseconds",_)[P],ue=P===p?this.$D+(T-this.$W):T;if(P===g||P===y){var Me=this.clone().set(b,1);Me.$d[ve](ue),Me.init(),this.$d=Me.set(b,Math.min(this.$D,Me.daysInMonth())).$d}else ve&&this.$d[ve](ue);return this.init(),this},c.set=function(u,T){return this.clone().$set(u,T)},c.get=function(u){return this[O.p(u)]()},c.add=function(u,T){var _,P=this;u=Number(u);var z=O.p(T),ve=function($e){var Ge=H(P);return O.w(Ge.date(Ge.date()+Math.round($e*u)),P)};if(z===g)return this.set(g,this.$M+u);if(z===y)return this.set(y,this.$y+u);if(z===p)return ve(1);if(z===f)return ve(7);var ue=(_={},_[a]=i,_[d]=o,_[l]=r,_)[z]||1,Me=this.$d.getTime()+u*ue;return O.w(Me,this)},c.subtract=function(u,T){return this.add(-1*u,T)},c.format=function(u){var T=this,_=this.$locale();if(!this.isValid())return _.invalidDate||k;var P=u||"YYYY-MM-DDTHH:mm:ssZ",z=O.z(this),ve=this.$H,ue=this.$m,Me=this.$M,$e=_.weekdays,Ge=_.months,Ht=_.meridiem,Mt=function(qe,Tt,er,cr){return qe&&(qe[Tt]||qe(T,P))||er[Tt].slice(0,cr)},Qt=function(qe){return O.s(ve%12||12,qe,"0")},Dt=Ht||function(qe,Tt,er){var cr=qe<12?"AM":"PM";return er?cr.toLowerCase():cr};return P.replace(Y,(function(qe,Tt){return Tt||(function(er){switch(er){case"YY":return String(T.$y).slice(-2);case"YYYY":return O.s(T.$y,4,"0");case"M":return Me+1;case"MM":return O.s(Me+1,2,"0");case"MMM":return Mt(_.monthsShort,Me,Ge,3);case"MMMM":return Mt(Ge,Me);case"D":return T.$D;case"DD":return O.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return Mt(_.weekdaysMin,T.$W,$e,2);case"ddd":return Mt(_.weekdaysShort,T.$W,$e,3);case"dddd":return $e[T.$W];case"H":return String(ve);case"HH":return O.s(ve,2,"0");case"h":return Qt(1);case"hh":return Qt(2);case"a":return Dt(ve,ue,!0);case"A":return Dt(ve,ue,!1);case"m":return String(ue);case"mm":return O.s(ue,2,"0");case"s":return String(T.$s);case"ss":return O.s(T.$s,2,"0");case"SSS":return O.s(T.$ms,3,"0");case"Z":return z}return null})(qe)||z.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,T,_){var P,z=this,ve=O.p(T),ue=H(u),Me=(ue.utcOffset()-this.utcOffset())*i,$e=this-ue,Ge=function(){return O.m(z,ue)};switch(ve){case y:P=Ge()/12;break;case g:P=Ge();break;case w:P=Ge()/3;break;case f:P=($e-Me)/6048e5;break;case p:P=($e-Me)/864e5;break;case d:P=$e/o;break;case a:P=$e/i;break;case l:P=$e/r;break;default:P=$e}return _?P:O.a(P)},c.daysInMonth=function(){return this.endOf(g).$D},c.$locale=function(){return $[this.$L]},c.locale=function(u,T){if(!u)return this.$L;var _=this.clone(),P=pe(u,T,!0);return P&&(_.$L=P),_},c.clone=function(){return O.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},h})(),W=Ae.prototype;return H.prototype=W,[["$ms",n],["$s",l],["$m",a],["$H",d],["$W",p],["$M",g],["$y",y],["$D",b]].forEach((function(h){W[h[1]]=function(c){return this.$g(c,h[0],h[1])}})),H.extend=function(h,c){return h.$i||(h(c,Ae,H),h.$i=!0),H},H.locale=pe,H.isDayjs=E,H.unix=function(h){return H(1e3*h)},H.en=$[oe],H.Ls=$,H.p={},H}))})(Br)),Br.exports}var Sn=zo();const Ft=Do(Sn);var Ur={exports:{}},Mn=Ur.exports,Lo;function Tn(){return Lo||(Lo=1,(function(e,t){(function(r,i){e.exports=i(zo())})(Mn,(function(r){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(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}))})(Ur)),Ur.exports}Tn();const _i={version:"0.61.41"};var Kt={},Io;function Cn(){if(Io)return Kt;Io=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.LanguageTranslator=void 0,Kt.getChildStyleToPass=e,Kt.addComponent=t;function e(i,o){var n,l,a="";try{if(i&&o?.length&&(!((n=Object.keys(i))===null||n===void 0)&&n.length)&&(!((l=o?.filter(function(w){return Object.keys(i).includes(w.name)}))===null||l===void 0)&&l.length))for(var d=function(w){var y=o?.filter(function(b){return b.name===w&&b.defaultValue!==i[w]});y&&(a+="".concat(w,":").concat(i[w],";"))},p=0,f=Object.keys(i);p<f.length;p++){var g=f[p];d(g)}}catch(w){console.error("error getting child style to pass",w)}finally{return a}}function t(i){var o,n=((o=i?.repoName.split("/"))===null||o===void 0?void 0:o[1])||i?.repoName;if(!n)throw new Error("wrong componentPath "+i?.repoName);if(!i?.version)throw new Error("wrong version "+i?.version);var l=i?.iifePath||"main.iife.js";if(!document.getElementById(n+"-script"))try{var a=document.createElement("script");if(a.id=n+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(i.repoName,"@").concat(i.version,"/").concat(l),i?.local)a.src="".concat(i.local);else if(location.href.includes("localhost:6006")){var d=n.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(n.replace(d+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(p){console.warn(p)}}var r=(function(){function i(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return i.prototype.setLang=function(o){o||(o=i.getDefaultLang()),this.lang=o},i.prototype.translateWord=function(o,n){return i.getDictionaryWord(o,this.dictionary,n||this.lang)},i.prototype.translateDate=function(o,n,l){return i.formatDate(o,n,l||this.lang)},i.getDefaultLang=function(){var o,n,l,a,d,p="en";return navigator?.languages&&(!((l=(n=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||n===void 0?void 0:n.toLowerCase())===null||l===void 0)&&l.length)&&(p=(d=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||d===void 0?void 0:d.toLowerCase()),p},i.getDictionaryWord=function(o,n,l){var a;if(!o)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(l&&(!((a=n[l])===null||a===void 0)&&a[o]))return n[l][o];var d="",p=i.getDefaultLang();if(!l||p!==l){var f=n?.[p];f?.[o]&&(d=f[o])}return d},i.formatDate=function(o,n,l){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||i.getDefaultLang(),n);return a.format(o)},i})();return Kt.LanguageTranslator=r,Kt}var $r=Cn(),br={},ki,Ro;function On(){if(Ro)return ki;Ro=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,d=`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==rr&&console.warn("Failed to hydrate: ",l),t.recover===!1&&wv(),pi(),vo(r),rt(!1),jo(e,t)}finally{rt(i),Ze(o),rn()}}const fr=new Map;function So(e,{target:t,anchor:r,props:i={},events:o,context:n,intro:l=!0}){pi();var a=new Set,d=g=>{for(var w=0;w<g.length;w++){var y=g[w];if(!a.has(y)){a.add(y);var b=ln(y);t.addEventListener(y,kr,{passive:b});var k=fr.get(y);k===void 0?(document.addEventListener(y,kr,{passive:b}),fr.set(y,1)):fr.set(y,k+1)}}};d(Xr($o)),ui.add(d);var p=void 0,f=Bv(()=>{var g=r??t.appendChild(ut());return ar(()=>{if(n){Ri({});var w=gt;w.c=n}o&&(i.$$events=o),J&&Yt(g,null),p=e(g,i)||{},J&&(V.nodes_end=ae),n&&Pi()}),()=>{for(var w of a){t.removeEventListener(w,kr);var y=fr.get(w);--y===0?(document.removeEventListener(w,kr),fr.delete(w)):fr.set(w,y)}ui.delete(d),g!==r&&g.parentNode?.removeChild(g)}});return hi.set(p,f),p}let hi=new WeakMap;function sn(e,t){const r=hi.get(e);return r?(hi.delete(e),r(t)):Promise.resolve()}function A(e,t,r=!1){J&&gr();var i=e,o=null,n=null,l=Ie,a=r?ei:0,d=!1;const p=(y,b=!0)=>{d=!0,w(b,y)};var f=null;function g(){f!==null&&(f.lastChild.remove(),i.before(f),f=null);var y=l?o:n,b=l?n:o;y&&gi(y),b&&bi(b,()=>{l?n=null:o=null})}const w=(y,b)=>{if(l===(l=y))return;let k=!1;if(J){const oe=zi(i)===Vr;!!l===oe&&(i=vi(),Ze(i),rt(!1),k=!0)}var M=no(),Y=i;if(M&&(f=document.createDocumentFragment(),f.append(Y=ut())),l?o??=b&&ar(()=>b(Y)):n??=b&&ar(()=>b(Y)),M){var S=ze,te=l?o:n,Z=l?n:o;te&&S.skipped_effects.delete(te),Z&&S.skipped_effects.add(Z),S.add_callback(g)}else g();k&&rt(!0)};mi(()=>{d=!1,t(p),d||w(null,null)},a),J&&(i=ae)}function dn(e,t,r){for(var i=e.items,o=[],n=t.length,l=0;l<n;l++)ci(t[l].e,o,!0);var a=n>0&&o.length===0&&r!==null;if(a){var d=r.parentNode;vo(d),d.append(r),i.clear(),St(e,t[0].prev,t[n-1].next)}mo(o,()=>{for(var p=0;p<n;p++){var f=t[p];a||(i.delete(f.k),St(e,f.prev,f.next)),$t(f.e,!a)}})}function ht(e,t,r,i,o,n=null){var l=e,a={flags:t,items:new Map,first:null},d=(t&ji)!==0;if(d){var p=e;l=J?Ze(Rt(p)):p.appendChild(ut())}J&&gr();var f=null,g=!1,w=new Map,y=Ui(()=>{var Y=r();return Jr(Y)?Y:Y==null?[]:Xr(Y)}),b,k;function M(){pn(k,b,a,w,l,o,t,i,r),n!==null&&(b.length===0?f?gi(f):f=ar(()=>n(l)):f!==null&&bi(f,()=>{f=null}))}mi(()=>{k??=V,b=v(y);var Y=b.length;if(g&&Y===0)return;g=Y===0;let S=!1;if(J){var te=zi(l)===Vr;te!==(Y===0)&&(l=vi(),Ze(l),rt(!1),S=!0)}if(J){for(var Z=null,oe,$=0;$<Y;$++){if(ae.nodeType===nr&&ae.data===Gr){l=ae,S=!0,rt(!1);break}var j=b[$],E=i(j,$);oe=xi(ae,a,Z,null,j,E,$,o,t,r),a.items.set(E,oe),Z=oe}Y>0&&Ze(vi())}if(J)Y===0&&n&&(f=ar(()=>n(l)));else if(no()){var pe=new Set,H=ze;for($=0;$<Y;$+=1){j=b[$],E=i(j,$);var O=a.items.get(E)??w.get(E);O?(t&(Sr|Mr))!==0&&Mo(O,j,$,t):(oe=xi(null,a,null,null,j,E,$,o,t,r,!0),w.set(E,oe)),pe.add(E)}for(const[Ae,W]of a.items)pe.has(Ae)||H.skipped_effects.add(W.e);H.add_callback(M)}else M();S&&rt(!0),v(y)}),J&&(l=ae)}function pn(e,t,r,i,o,n,l,a,d){var p=(l&Ko)!==0,f=(l&(Sr|Mr))!==0,g=t.length,w=r.items,y=r.first,b=y,k,M=null,Y,S=[],te=[],Z,oe,$,j;if(p)for(j=0;j<g;j+=1)Z=t[j],oe=a(Z,j),$=w.get(oe),$!==void 0&&($.a?.measure(),(Y??=new Set).add($));for(j=0;j<g;j+=1){if(Z=t[j],oe=a(Z,j),$=w.get(oe),$===void 0){var E=i.get(oe);if(E!==void 0){i.delete(oe),w.set(oe,E);var pe=M?M.next:b;St(r,M,E),St(r,E,pe),wi(E,pe,o),M=E}else{var H=b?b.e.nodes_start:o;M=xi(H,r,M,M===null?r.first:M.next,Z,oe,j,n,l,d)}w.set(oe,M),S=[],te=[],b=M.next;continue}if(f&&Mo($,Z,j,l),($.e.f&ct)!==0&&(gi($.e),p&&($.a?.unfix(),(Y??=new Set).delete($))),$!==b){if(k!==void 0&&k.has($)){if(S.length<te.length){var O=te[0],Ae;M=O.prev;var W=S[0],h=S[S.length-1];for(Ae=0;Ae<S.length;Ae+=1)wi(S[Ae],O,o);for(Ae=0;Ae<te.length;Ae+=1)k.delete(te[Ae]);St(r,W.prev,h.next),St(r,M,W),St(r,h,O),b=O,M=h,j-=1,S=[],te=[]}else k.delete($),wi($,b,o),St(r,$.prev,$.next),St(r,$,M===null?r.first:M.next),St(r,M,$),M=$;continue}for(S=[],te=[];b!==null&&b.k!==oe;)(b.e.f&ct)===0&&(k??=new Set).add(b),te.push(b),b=b.next;if(b===null)continue;$=b}S.push($),M=$,b=$.next}if(b!==null||k!==void 0){for(var c=k===void 0?[]:Xr(k);b!==null;)(b.e.f&ct)===0&&c.push(b),b=b.next;var u=c.length;if(u>0){var T=(l&ji)!==0&&g===0?o:null;if(p){for(j=0;j<u;j+=1)c[j].a?.measure();for(j=0;j<u;j+=1)c[j].a?.fix()}dn(r,c,T)}}p&&Bi(()=>{if(Y!==void 0)for($ of Y)$.a?.apply()}),e.first=r.first&&r.first.e,e.last=M&&M.e;for(var _ of i.values())$t(_.e);i.clear()}function Mo(e,t,r,i){(i&Sr)!==0&&wr(e.v,t),(i&Mr)!==0?wr(e.i,r):e.i=r}function xi(e,t,r,i,o,n,l,a,d,p,f){var g=(d&Sr)!==0,w=(d&Qo)===0,y=g?w?Qi(o,!1,!1):xr(o):o,b=(d&Mr)===0?l:xr(l),k={i:b,v:y,k:n,a:null,e:null,prev:r,next:i};try{if(e===null){var M=document.createDocumentFragment();M.append(e=ut())}return k.e=ar(()=>a(e,y,b,p),J),k.e.prev=r&&r.e,k.e.next=i&&i.e,r===null?f||(t.first=k):(r.next=k,r.e.next=k.e),i!==null&&(i.prev=k,i.e.prev=k.e),k}finally{}}function wi(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,n=e.e.nodes_start;n!==null&&n!==i;){var l=_t(n);o.before(n),n=l}}function St(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function To(e,t,r,i,o){J&&gr();var n=t.$$slots?.[r],l=!1;n===!0&&(n=t[r==="default"?"children":r],l=!0),n===void 0?o!==null&&o(e):n(e,l?()=>i:i)}function fn(e,t){Uv(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,i.appendChild(o)}})}function Co(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Co(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function mn(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Co(e))&&(i&&(i+=" "),i+=t);return i}function bn(e){return typeof e=="object"?mn(e):e??""}function cn(e,t,r){var i=e==null?"":""+e;return t&&(i=i?i+" "+t:t),i===""?null:i}function gn(e,t){return e==null?null:String(e)}function Qe(e,t,r,i,o,n){var l=e.__className;if(J||l!==r||l===void 0){var a=cn(r,i);(!J||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return n}function Fr(e,t,r,i){var o=e.__style;if(J||o!==t){var n=gn(t);(!J||n!==e.getAttribute("style"))&&(n==null?e.removeAttribute("style"):e.style.cssText=n),e.__style=t}return i}const un=Symbol("is custom element"),hn=Symbol("is html");function xn(e){if(J){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;mr(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var o=e.checked;mr(e,"checked",null),e.checked=o}}};e.__on_r=r,Cv(r),Rv()}}function mr(e,t,r,i){var o=wn(e);J&&(o[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||o[t]!==(o[t]=r)&&(t==="loading"&&(e[mv]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Oo(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Oe(e,t,r){var i=X,o=V;let n=J;J&&rt(!1),st(null),jt(null);try{t!=="style"&&(yi.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Oo(e).includes(t):r&&typeof r=="object")?e[t]=r:mr(e,t,r==null?r:String(r))}finally{st(i),jt(o),n&&rt(!0)}}function wn(e){return e.__attributes??={[un]:e.nodeName.includes("-"),[hn]:e.namespaceURI===nv}}var yi=new Map;function Oo(e){var t=e.getAttribute("is")||e.nodeName,r=yi.get(t);if(r)return r;yi.set(t,r=[]);for(var i,o=e,n=Element.prototype;n!==o;){i=av(o);for(var l in i)i[l].set&&r.push(l);o=Mi(o)}return r}let Hr=!1;function yn(e){var t=Hr;try{return Hr=!1,[e(),Hr]}finally{Hr=t}}function He(e,t,r,i){var o=(r&rv)!==0,n=(r&iv)!==0,l=i,a=!0,d=()=>(a&&(a=!1,l=n?Kv(i):i),l),p;if(o){var f=Or in e||Ni in e;p=Bt(e,t)?.set??(f&&t in e?S=>e[t]=S:void 0)}var g,w=!1;o?[g,w]=yn(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=d(),p&&(yv(),p(g)));var y;if(y=()=>{var S=e[t];return S===void 0?d():(a=!0,S)},(r&tv)===0)return y;if(p){var b=e.$$legacy;return(function(S,te){return arguments.length>0?((!te||b||w)&&p(te?y():S),S):y()})}var k=!1,M=((r&ev)!==0?Nr:Ui)(()=>(k=!1,y()));o&&v(M);var Y=V;return(function(S,te){if(arguments.length>0){const Z=te?v(M):o?at(S):S;return de(M,Z),k=!0,l!==void 0&&(l=Z),S}return Xt&&k||(Y.f&Ut)!==0?M.v:v(M)})}function _n(e){return new kn(e)}class kn{#t;#e;constructor(t){var r=new Map,i=(n,l)=>{var a=Qi(l,!1,!1);return r.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,l){return v(r.get(l)??i(l,Reflect.get(n,l)))},has(n,l){return l===Ni?!0:(v(r.get(l)??i(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,a){return de(r.get(l)??i(l,a),a),Reflect.set(n,l,a)}});this.#e=(t.hydrate?an:jo)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Re(),this.#t=o.$$events;for(const n of Object.keys(this.#e))n==="$set"||n==="$destroy"||n==="$on"||ir(this,n,{get(){return this.#e[n]},set(l){this.#e[n]=l},enumerable:!0});this.#e.$set=n=>{Object.assign(o,n)},this.#e.$destroy=()=>{sn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const i=(...o)=>r.call(this,...o);return this.#t[t].push(i),()=>{this.#t[t]=this.#t[t].filter(o=>o!==i)}}$destroy(){this.#e.$destroy()}}let Ao;typeof HTMLElement=="function"&&(Ao=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 i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return o=>{const n=document.createElement("slot");i!=="default"&&(n.name=i),x(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=$n(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=qr(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=_n({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qv(()=>{Vv(()=>{this.$$r=!0;for(const i of Tr(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const o=qr(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1})});for(const i in this.$$l)for(const o of this.$$l[i]){const n=this.$$c.$on(i,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=qr(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 Tr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qr(e,t,r,i){const o=r[e]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(o){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(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function $n(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function En(e,t,r,i,o,n){let l=class extends Ao{constructor(){super(e,r,o),this.$$p_d=t}static get observedAttributes(){return Tr(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Tr(t).forEach(a=>{ir(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(d){d=qr(a,d,t),this.$$d[a]=d;var p=this.$$c;if(p){var f=Bt(p,a)?.get;f?p[a]=d:p.$set({[a]:d})}}})}),i.forEach(a=>{ir(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br={exports:{}},jn=Br.exports,No;function zo(){return No||(No=1,(function(e,t){(function(r,i){e.exports=i()})(jn,(function(){var r=1e3,i=6e4,o=36e5,n="millisecond",l="second",a="minute",d="hour",p="day",f="week",g="month",w="quarter",y="year",b="date",k="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|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(h){var c=["th","st","nd","rd"],u=h%100;return"["+h+(c[(u-20)%10]||c[u]||c[0])+"]"}},te=function(h,c,u){var T=String(h);return!T||T.length>=c?h:""+Array(c+1-T.length).join(u)+h},Z={s:te,z:function(h){var c=-h.utcOffset(),u=Math.abs(c),T=Math.floor(u/60),_=u%60;return(c<=0?"+":"-")+te(T,2,"0")+":"+te(_,2,"0")},m:function h(c,u){if(c.date()<u.date())return-h(u,c);var T=12*(u.year()-c.year())+(u.month()-c.month()),_=c.clone().add(T,g),P=u-_<0,z=c.clone().add(T+(P?-1:1),g);return+(-(T+(u-_)/(P?_-z:z-_))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:g,y,w:f,d:p,D:b,h:d,m:a,s:l,ms:n,Q:w}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},oe="en",$={};$[oe]=S;var j="$isDayjsObject",E=function(h){return h instanceof Ae||!(!h||!h[j])},pe=function h(c,u,T){var _;if(!c)return oe;if(typeof c=="string"){var P=c.toLowerCase();$[P]&&(_=P),u&&($[P]=u,_=P);var z=c.split("-");if(!_&&z.length>1)return h(z[0])}else{var ve=c.name;$[ve]=c,_=ve}return!T&&_&&(oe=_),_||!T&&oe},H=function(h,c){if(E(h))return h.clone();var u=typeof c=="object"?c:{};return u.date=h,u.args=arguments,new Ae(u)},O=Z;O.l=pe,O.i=E,O.w=function(h,c){return H(h,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var Ae=(function(){function h(u){this.$L=pe(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[j]=!0}var c=h.prototype;return c.parse=function(u){this.$d=(function(T){var _=T.date,P=T.utc;if(_===null)return new Date(NaN);if(O.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var z=_.match(M);if(z){var ve=z[2]-1||0,ue=(z[7]||"0").substring(0,3);return P?new Date(Date.UTC(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)):new Date(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)}}return new Date(_)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return O},c.isValid=function(){return this.$d.toString()!==k},c.isSame=function(u,T){var _=H(u);return this.startOf(T)<=_&&_<=this.endOf(T)},c.isAfter=function(u,T){return H(u)<this.startOf(T)},c.isBefore=function(u,T){return this.endOf(T)<H(u)},c.$g=function(u,T,_){return O.u(u)?this[T]:this.set(_,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,T){var _=this,P=!!O.u(T)||T,z=O.p(u),ve=function(Dt,qe){var Tt=O.w(_.$u?Date.UTC(_.$y,qe,Dt):new Date(_.$y,qe,Dt),_);return P?Tt:Tt.endOf(p)},ue=function(Dt,qe){return O.w(_.toDate()[Dt].apply(_.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(qe)),_)},Me=this.$W,$e=this.$M,Ge=this.$D,Ht="set"+(this.$u?"UTC":"");switch(z){case y:return P?ve(1,0):ve(31,11);case g:return P?ve(1,$e):ve(0,$e+1);case f:var Mt=this.$locale().weekStart||0,Qt=(Me<Mt?Me+7:Me)-Mt;return ve(P?Ge-Qt:Ge+(6-Qt),$e);case p:case b:return ue(Ht+"Hours",0);case d:return ue(Ht+"Minutes",1);case a:return ue(Ht+"Seconds",2);case l:return ue(Ht+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,T){var _,P=O.p(u),z="set"+(this.$u?"UTC":""),ve=(_={},_[p]=z+"Date",_[b]=z+"Date",_[g]=z+"Month",_[y]=z+"FullYear",_[d]=z+"Hours",_[a]=z+"Minutes",_[l]=z+"Seconds",_[n]=z+"Milliseconds",_)[P],ue=P===p?this.$D+(T-this.$W):T;if(P===g||P===y){var Me=this.clone().set(b,1);Me.$d[ve](ue),Me.init(),this.$d=Me.set(b,Math.min(this.$D,Me.daysInMonth())).$d}else ve&&this.$d[ve](ue);return this.init(),this},c.set=function(u,T){return this.clone().$set(u,T)},c.get=function(u){return this[O.p(u)]()},c.add=function(u,T){var _,P=this;u=Number(u);var z=O.p(T),ve=function($e){var Ge=H(P);return O.w(Ge.date(Ge.date()+Math.round($e*u)),P)};if(z===g)return this.set(g,this.$M+u);if(z===y)return this.set(y,this.$y+u);if(z===p)return ve(1);if(z===f)return ve(7);var ue=(_={},_[a]=i,_[d]=o,_[l]=r,_)[z]||1,Me=this.$d.getTime()+u*ue;return O.w(Me,this)},c.subtract=function(u,T){return this.add(-1*u,T)},c.format=function(u){var T=this,_=this.$locale();if(!this.isValid())return _.invalidDate||k;var P=u||"YYYY-MM-DDTHH:mm:ssZ",z=O.z(this),ve=this.$H,ue=this.$m,Me=this.$M,$e=_.weekdays,Ge=_.months,Ht=_.meridiem,Mt=function(qe,Tt,er,cr){return qe&&(qe[Tt]||qe(T,P))||er[Tt].slice(0,cr)},Qt=function(qe){return O.s(ve%12||12,qe,"0")},Dt=Ht||function(qe,Tt,er){var cr=qe<12?"AM":"PM";return er?cr.toLowerCase():cr};return P.replace(Y,(function(qe,Tt){return Tt||(function(er){switch(er){case"YY":return String(T.$y).slice(-2);case"YYYY":return O.s(T.$y,4,"0");case"M":return Me+1;case"MM":return O.s(Me+1,2,"0");case"MMM":return Mt(_.monthsShort,Me,Ge,3);case"MMMM":return Mt(Ge,Me);case"D":return T.$D;case"DD":return O.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return Mt(_.weekdaysMin,T.$W,$e,2);case"ddd":return Mt(_.weekdaysShort,T.$W,$e,3);case"dddd":return $e[T.$W];case"H":return String(ve);case"HH":return O.s(ve,2,"0");case"h":return Qt(1);case"hh":return Qt(2);case"a":return Dt(ve,ue,!0);case"A":return Dt(ve,ue,!1);case"m":return String(ue);case"mm":return O.s(ue,2,"0");case"s":return String(T.$s);case"ss":return O.s(T.$s,2,"0");case"SSS":return O.s(T.$ms,3,"0");case"Z":return z}return null})(qe)||z.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,T,_){var P,z=this,ve=O.p(T),ue=H(u),Me=(ue.utcOffset()-this.utcOffset())*i,$e=this-ue,Ge=function(){return O.m(z,ue)};switch(ve){case y:P=Ge()/12;break;case g:P=Ge();break;case w:P=Ge()/3;break;case f:P=($e-Me)/6048e5;break;case p:P=($e-Me)/864e5;break;case d:P=$e/o;break;case a:P=$e/i;break;case l:P=$e/r;break;default:P=$e}return _?P:O.a(P)},c.daysInMonth=function(){return this.endOf(g).$D},c.$locale=function(){return $[this.$L]},c.locale=function(u,T){if(!u)return this.$L;var _=this.clone(),P=pe(u,T,!0);return P&&(_.$L=P),_},c.clone=function(){return O.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},h})(),W=Ae.prototype;return H.prototype=W,[["$ms",n],["$s",l],["$m",a],["$H",d],["$W",p],["$M",g],["$y",y],["$D",b]].forEach((function(h){W[h[1]]=function(c){return this.$g(c,h[0],h[1])}})),H.extend=function(h,c){return h.$i||(h(c,Ae,H),h.$i=!0),H},H.locale=pe,H.isDayjs=E,H.unix=function(h){return H(1e3*h)},H.en=$[oe],H.Ls=$,H.p={},H}))})(Br)),Br.exports}var Sn=zo();const Ft=Do(Sn);var Ur={exports:{}},Mn=Ur.exports,Lo;function Tn(){return Lo||(Lo=1,(function(e,t){(function(r,i){e.exports=i(zo())})(Mn,(function(r){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(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}))})(Ur)),Ur.exports}Tn();const _i={version:"0.61.43"};var Kt={},Io;function Cn(){if(Io)return Kt;Io=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.LanguageTranslator=void 0,Kt.getChildStyleToPass=e,Kt.addComponent=t;function e(i,o){var n,l,a="";try{if(i&&o?.length&&(!((n=Object.keys(i))===null||n===void 0)&&n.length)&&(!((l=o?.filter(function(w){return Object.keys(i).includes(w.name)}))===null||l===void 0)&&l.length))for(var d=function(w){var y=o?.filter(function(b){return b.name===w&&b.defaultValue!==i[w]});y&&(a+="".concat(w,":").concat(i[w],";"))},p=0,f=Object.keys(i);p<f.length;p++){var g=f[p];d(g)}}catch(w){console.error("error getting child style to pass",w)}finally{return a}}function t(i){var o,n=((o=i?.repoName.split("/"))===null||o===void 0?void 0:o[1])||i?.repoName;if(!n)throw new Error("wrong componentPath "+i?.repoName);if(!i?.version)throw new Error("wrong version "+i?.version);var l=i?.iifePath||"main.iife.js";if(!document.getElementById(n+"-script"))try{var a=document.createElement("script");if(a.id=n+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(i.repoName,"@").concat(i.version,"/").concat(l),i?.local)a.src="".concat(i.local);else if(location.href.includes("localhost:6006")){var d=n.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(n.replace(d+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(p){console.warn(p)}}var r=(function(){function i(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return i.prototype.setLang=function(o){o||(o=i.getDefaultLang()),this.lang=o},i.prototype.translateWord=function(o,n){return i.getDictionaryWord(o,this.dictionary,n||this.lang)},i.prototype.translateDate=function(o,n,l){return i.formatDate(o,n,l||this.lang)},i.getDefaultLang=function(){var o,n,l,a,d,p="en";return navigator?.languages&&(!((l=(n=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||n===void 0?void 0:n.toLowerCase())===null||l===void 0)&&l.length)&&(p=(d=(a=navigator.languages[0])===null||a===void 0?void 0:a.split("-")[0])===null||d===void 0?void 0:d.toLowerCase()),p},i.getDictionaryWord=function(o,n,l){var a;if(!o)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(l&&(!((a=n[l])===null||a===void 0)&&a[o]))return n[l][o];var d="",p=i.getDefaultLang();if(!l||p!==l){var f=n?.[p];f?.[o]&&(d=f[o])}return d},i.formatDate=function(o,n,l){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||i.getDefaultLang(),n);return a.format(o)},i})();return Kt.LanguageTranslator=r,Kt}var $r=Cn(),br={},ki,Ro;function On(){if(Ro)return ki;Ro=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g,d=`
3
3
  `,p="/",f="*",g="",w="comment",y="declaration";ki=function(k,M){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];M=M||{};var Y=1,S=1;function te(W){var h=W.match(t);h&&(Y+=h.length);var c=W.lastIndexOf(d);S=~c?W.length-c:S+W.length}function Z(){var W={line:Y,column:S};return function(h){return h.position=new oe(W),E(),h}}function oe(W){this.start=W,this.end={line:Y,column:S},this.source=M.source}oe.prototype.content=k;function $(W){var h=new Error(M.source+":"+Y+":"+S+": "+W);if(h.reason=W,h.filename=M.source,h.line=Y,h.column=S,h.source=k,!M.silent)throw h}function j(W){var h=W.exec(k);if(h){var c=h[0];return te(c),k=k.slice(c.length),h}}function E(){j(r)}function pe(W){var h;for(W=W||[];h=H();)h!==!1&&W.push(h);return W}function H(){var W=Z();if(!(p!=k.charAt(0)||f!=k.charAt(1))){for(var h=2;g!=k.charAt(h)&&(f!=k.charAt(h)||p!=k.charAt(h+1));)++h;if(h+=2,g===k.charAt(h-1))return $("End of comment missing");var c=k.slice(2,h-2);return S+=2,te(c),k=k.slice(h),S+=2,W({type:w,comment:c})}}function O(){var W=Z(),h=j(i);if(h){if(H(),!j(o))return $("property missing ':'");var c=j(n),u=W({type:y,property:b(h[0].replace(e,g)),value:c?b(c[0].replace(e,g)):g});return j(l),u}}function Ae(){var W=[];pe(W);for(var h;h=O();)h!==!1&&(W.push(h),pe(W));return W}return E(),Ae()};function b(k){return k?k.replace(a,g):g}return ki}var Po;function An(){if(Po)return br;Po=1;var e=br&&br.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(br,"__esModule",{value:!0}),br.default=r;var t=e(On());function r(i,o){var n=null;if(!i||typeof i!="string")return n;var l=(0,t.default)(i),a=typeof o=="function";return l.forEach(function(d){if(d.type==="declaration"){var p=d.property,f=d.value;a?o(p,f,d):f&&(n=n||{},n[p]=f)}}),n}return br}var Dn=An();const Yo=Do(Dn);Yo.default;const Fo={en:{actions:"Actions",selectAll:"Select all",deselectAll:"Deselect all",start:"Start",end:"End",all:"all"},it:{actions:"Azioni",selectAll:"Seleziona tutti",deselectAll:"Deseleziona tutti",start:"Inizio",end:"Fine",all:"tutti"}};function Nn(e,t,r){t()?(t(void 0),v(r).length=0):t("yes")}function Ho(e,t,r){de(t,v(r).map(i=>i._id),!0)}function qo(e,t){v(t).length=0}function zn(e,t,r){t("addItem",{id:r()})}var Ln=C('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-vfpdiv"/>'),In=C('<button aria-label="Select all" class="btn btn-link svelte-vfpdiv"> </button>'),Rn=C('<button aria-label="Deselect all" class="btn btn-link svelte-vfpdiv"> </button>'),Pn=C('<th scope="col" class="svelte-vfpdiv"><!></th>'),Yn=C('<th scope="col" class="svelte-vfpdiv"></th>'),Fn=(e,t,r)=>t(v(r).key),Hn=C('<button style="border:none; background-color:inherit" class="svelte-vfpdiv"><!></button>'),qn=C('<th scope="col" class="svelte-vfpdiv"> <!></th>'),Bn=C('<th scope="col" class="svelte-vfpdiv"> </th>'),Un=C('<th scope="col" class="svelte-vfpdiv"> </th>'),Wn=(e,t,r)=>t(e.target,v(r)),Vn=C('<span style="width:50px;display:inline-block" class="svelte-vfpdiv"> </span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),Gn=(e,t,r)=>t(e.target,v(r)),Jn=C('<input type="text" class="form-control svelte-vfpdiv" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Xn=(e,t,r)=>t(e.target,v(r)),Zn=C('<option class="svelte-vfpdiv"> </option>'),Kn=C('<select class="form-select svelte-vfpdiv"><option class="svelte-vfpdiv"> </option><!></select>'),Qn=C('<th scope="col" class="svelte-vfpdiv"><!> <!></th>'),el=C('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),tl=C("<!> <!>",1),rl=C('<tr class="svelte-vfpdiv"><!><!></tr>'),il=C('<button class="btn btn-link svelte-vfpdiv"> </button>'),ol=C('<button class="btn btn-link svelte-vfpdiv"> </button>'),vl=C('<th scope="col" class="svelte-vfpdiv"><!></th>'),nl=(e,t,r)=>t(e.target,v(r)),ll=C('<span style="width:50px;display:inline-block" class="svelte-vfpdiv">Inizio</span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),al=(e,t,r)=>t(e.target,v(r)),sl=C('<input type="text" class="form-control svelte-vfpdiv" placeholder="..." aria-label="Search" aria-describedby="search"/>'),dl=(e,t,r)=>t(e.target,v(r)),pl=C('<option class="svelte-vfpdiv"> </option>'),fl=C('<select class="form-select svelte-vfpdiv"><option class="svelte-vfpdiv"> </option><!></select>'),ml=C('<th scope="col" class="svelte-vfpdiv"><!></th>'),bl=C('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),cl=C('<th scope="col" class="svelte-vfpdiv"> </th>'),gl=(e,t,r)=>t(e.target,v(r)),ul=C('<span style="width:50px;display:inline-block" class="svelte-vfpdiv"> </span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),hl=C('<th scope="col" class="svelte-vfpdiv"><!></th>'),xl=C('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),wl=C('<tr class="svelte-vfpdiv"><!><!><!></tr> <tr class="svelte-vfpdiv"><!><!><!></tr>',1),yl=(e,t,r)=>{t(v(r)._id,e.target)},_l=C('<input id="flexCheckDefault" class="form-check-input svelte-vfpdiv" type="checkbox" checked/>'),kl=(e,t,r)=>{t(v(r)._id,e.target)},$l=C('<input id="flexCheckDefault" class="form-check-input svelte-vfpdiv" type="checkbox"/>'),El=C('<td style="box-shadow: none;" class="svelte-vfpdiv"><div class="form-check svelte-vfpdiv"><!></div></td>'),jl=(e,t,r,i)=>t(v(r),v(i)),Sl=C('<button type="button" style="margin-right:10px" disabled> </button>'),Ml=(e,t,r,i)=>t(v(r),v(i)),Tl=C('<button type="button" style="margin-right:10px" disabled><i></i></button>'),Cl=(e,t,r,i)=>t(v(r),v(i)),Ol=C('<button type="button" style="margin-right:10px"> </button>'),Al=(e,t,r,i)=>t(v(r),v(i)),Dl=C('<button type="button" style="margin-right:10px"><i></i></button>'),Nl=C('<td class="svelte-vfpdiv"></td>'),zl=C('<td class="svelte-vfpdiv"></td>'),Ll=(e,t,r,i)=>{t()&&r(v(i)._id)},Il=(e,t,r,i)=>t(v(r)._id,v(i).key),Rl=C('<button type="button" class="btn btn-link svelte-vfpdiv"> </button>'),Pl=(e,t,r,i,o)=>t(r(v(i),v(o)).toString()),Yl=C('<button type="button" class="btn btn-link svelte-vfpdiv" aria-label="Copy to clipboard"><i class="bi-clipboard svelte-vfpdiv"></i></button>'),Fl=C('<td class="svelte-vfpdiv"><!> <!></td>'),Hl=(e,t,r,i)=>t(v(r)._id,v(i).name),ql=C('<button type="button" style="margin-right:10px"> </button>'),Bl=(e,t,r,i)=>t(v(r)._id,v(i).name),Ul=C('<button type="button" style="margin-right:10px"><i></i></button>'),Wl=C('<td class="svelte-vfpdiv"></td>'),Vl=C("<tr><!><!><!></tr>"),Gl=(e,t,r)=>{t(v(r).name)},Jl=C('<button type="button" class="btn btn-outline-primary svelte-vfpdiv"> </button>'),Xl=C('<span style="margin-left:20px" class="btn-group btn-group-sm svelte-vfpdiv" role="group" aria-label="Basic example"></span>'),Zl=C('<button aria-label="Settings"><i class="bi-gear svelte-vfpdiv"></i></button> <!>',1),Kl=C('<i class="bi-plus svelte-vfpdiv"></i>'),Ql=C('<button style="margin-left:20px" class="btn btn-primary btn-sm svelte-vfpdiv"><!></button>'),ea=C("<hb-paginate></hb-paginate>",2),ta=C('<table part="table" class="table table-responsive table-striped table-hover align-middle svelte-vfpdiv" style="table-layout: fixed;width:100%;text-align:left"><thead class="svelte-vfpdiv"><tr class="svelte-vfpdiv"><!><!><!></tr><!></thead><tbody class="svelte-vfpdiv"><!></tbody></table> <nav part="table-actions" style="margin-top:20px" aria-label="actions on selected" class="svelte-vfpdiv"><!> <!> <!> <!></nav>',1),ra=C("<hb-dialogform></hb-dialogform> <hb-dialog></hb-dialog> <!>",3);const ia={hash:"svelte-vfpdiv",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
@@ -2236,5 +2236,5 @@
2236
2236
  "size": {},
2237
2237
  "iifePath": "main.iife.js",
2238
2238
  "repoName": "@htmlbricks/hb-table",
2239
- "version": "0.61.41"
2239
+ "version": "0.61.43"
2240
2240
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-table",
3
- "version": "0.61.41",
3
+ "version": "0.61.43",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [