@htmlbricks/hb-footer 0.65.23 → 0.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(Qn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const tr=1,er=2,nr=4,ao=8,so=16,mo=1,po=4,vo=8,bo=16,go=1,co=2,rr="[",an="[!",Rn="]",Ee={},K=Symbol(),fo="http://www.w3.org/1999/xhtml",Nn=!1;var or=Array.isArray,ko=Array.prototype.indexOf,Tn=Array.from,sn=Object.keys,mn=Object.defineProperty,de=Object.getOwnPropertyDescriptor,uo=Object.getOwnPropertyDescriptors,ho=Object.prototype,xo=Array.prototype,ir=Object.getPrototypeOf,lr=Object.isExtensible;function yo(t){for(var e=0;e<t.length;e++)t[e]()}function ar(){var t,e,n=new Promise((r,o)=>{t=r,e=o});return{promise:n,resolve:t,reject:e}}const H=2,zn=4,On=8,Ut=16,Jt=32,ne=64,dn=128,Nt=512,X=1024,pt=2048,qt=4096,vt=8192,Ht=16384,pn=32768,Ae=65536,sr=1<<17,Cn=1<<18,pe=1<<19,wo=1<<20,ve=32768,Bn=1<<21,Dn=1<<22,re=1<<23,vn=Symbol("$state"),mr=Symbol("legacy props"),_o=Symbol(""),Se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},bn=3,be=8;function jo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function $o(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Eo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ao(t){throw new Error("https://svelte.dev/e/effect_orphan")}function So(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ro(){throw new Error("https://svelte.dev/e/hydration_failed")}function No(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function To(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function zo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Oo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Co(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function gn(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Bo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function bt(t){y=t}let E;function Y(t){if(t===null)throw gn(),Ee;return E=t}function qe(){return Y(_t(E))}function u(t){if(y){if(_t(E)!==null)throw gn(),Ee;E=t}}function Do(t=1){if(y){for(var e=t,n=E;e--;)n=_t(n);E=n}}function cn(t=!0){for(var e=0,n=E;;){if(n.nodeType===be){var r=n.data;if(r===Rn){if(e===0)return n;e-=1}else(r===rr||r===an)&&(e+=1)}var o=_t(n);t&&n.remove(),n=o}}function dr(t){if(!t||t.nodeType!==be)throw gn(),Ee;return t.data}function pr(t){return t===this.v}function Lo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function vr(t){return!Lo(t,this.v)}let Mo=!1,xt=null;function Re(t){xt=t}function br(t,e=!1,n){xt={p:xt,i:!1,c:null,e:null,s:t,x:null,l:null}}function gr(t){var e=xt,n=e.e;if(n!==null){e.e=null;for(var r of n)Br(r)}return t!==void 0&&(e.x=t),e.i=!0,xt=e.p,t??{}}function cr(){return!0}let ge=[];function fr(){var t=ge;ge=[],yo(t)}function fn(t){if(ge.length===0&&!He){var e=ge;queueMicrotask(()=>{e===ge&&fr()})}ge.push(t)}function Io(){for(;ge.length>0;)fr()}function kr(t){var e=A;if(e===null)return j.f|=re,t;if((e.f&pn)===0){if((e.f&dn)===0)throw t;e.b.error(t)}else Ne(t,e)}function Ne(t,e){for(;e!==null;){if((e.f&dn)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t}const kn=new Set;let D=null,yt=null,wt=[],un=null,Ln=!1,He=!1;class Tt{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#s=null;#i=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){wt=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#l(r,n);this.is_fork||this.#d(),this.is_deferred()?(this.#a(n.effects),this.#a(n.render_effects),this.#a(n.block_effects)):(D=null,hr(n.render_effects),hr(n.effects),this.#s?.resolve()),yt=null}#l(e,n){e.f^=X;for(var r=e.first;r!==null;){var o=r.f,i=(o&(Jt|ne))!==0,l=i&&(o&X)!==0,s=l||(o&vt)!==0||this.skipped_effects.has(r);if((r.f&dn)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){i?r.f^=X:(o&zn)!==0?n.effects.push(r):We(r)&&((r.f&Ut)!==0&&n.block_effects.push(r),Ke(r));var a=r.first;if(a!==null){r=a;continue}}var m=r.parent;for(r=r.next;r===null&&m!==null;)m===n.effect&&(this.#a(n.effects),this.#a(n.render_effects),this.#a(n.block_effects),n=n.parent),r=m.next,m=m.parent}}#a(e){for(const n of e)((n.f&pt)!==0?this.#i:this.#o).push(n),this.#m(n.deps),Q(n,X)}#m(e){if(e!==null)for(const n of e)(n.f&H)===0||(n.f&ve)===0||(n.f^=ve,this.#m(n.deps))}capture(e,n){this.previous.has(e)||this.previous.set(e,n),(e.f&re)===0&&(this.current.set(e,e.v),yt?.set(e,e.v))}activate(){D=this,this.apply()}deactivate(){D===this&&(D=null,yt=null)}flush(){if(this.activate(),wt.length>0){if(ur(),D!==null&&D!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#d(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#n===0&&this.#p()}#p(){if(kn.size>1){this.previous.clear();var e=yt,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of kn){if(i===this){n=!1;continue}const l=[];for(const[a,m]of this.current){if(i.current.has(a))if(n&&m!==i.current.get(a))i.current.set(a,m);else continue;l.push(a)}if(l.length===0)continue;const s=[...i.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){var o=wt;wt=[];const a=new Set,m=new Map;for(const d of l)xr(d,s,a,m);if(wt.length>0){D=i,i.apply();for(const d of wt)i.#l(d,r);i.deactivate()}wt=o}}D=null,yt=e}this.committed=!0,kn.delete(this)}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e){this.#n-=1,e&&(this.#r-=1),this.revive()}revive(){for(const e of this.#i)Q(e,pt),ce(e);for(const e of this.#o)Q(e,qt),ce(e);this.#i=[],this.#o=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=ar()).promise}static ensure(){if(D===null){const e=D=new Tt;kn.add(D),He||Tt.enqueue(()=>{D===e&&e.flush()})}return D}static enqueue(e){fn(e)}apply(){}}function Bt(t){var e=He;He=!0;try{for(var n;;){if(Io(),wt.length===0&&(D?.flush(),wt.length===0))return un=null,n;ur()}}finally{He=e}}function ur(){var t=le;Ln=!0;var e=null;try{var n=0;for(wn(!0);wt.length>0;){var r=Tt.ensure();if(n++>1e3){var o,i;Po()}r.process(wt),oe.clear()}}finally{Ln=!1,wn(t),un=null}}function Po(){try{So()}catch(t){Ne(t,un)}}let Yt=null;function hr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(Ht|vt))===0&&We(r)&&(Yt=new Set,Ke(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Ir(r):r.fn=null),Yt?.size>0)){oe.clear();for(const o of Yt){if((o.f&(Ht|vt))!==0)continue;const i=[o];let l=o.parent;for(;l!==null;)Yt.has(l)&&(Yt.delete(l),i.push(l)),l=l.parent;for(let s=i.length-1;s>=0;s--){const a=i[s];(a.f&(Ht|vt))===0&&Ke(a)}}Yt.clear()}}Yt=null}}function xr(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const o of t.reactions){const i=o.f;(i&H)!==0?xr(o,e,n,r):(i&(Dn|Ut))!==0&&(i&pt)===0&&yr(o,e,r)&&(Q(o,pt),ce(o))}}function yr(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const o of t.deps){if(e.includes(o))return!0;if((o.f&H)!==0&&yr(o,e,n))return n.set(o,!0),!0}return n.set(t,!1),!1}function ce(t){for(var e=un=t;e.parent!==null;){e=e.parent;var n=e.f;if(Ln&&e===A&&(n&Ut)!==0&&(n&Cn)===0)return;if((n&(ne|Jt))!==0){if((n&X)===0)return;e.f^=X}}wt.push(e)}function Go(t){let e=0,n=ke(0),r;return()=>{xn()&&(g(n),Dr(()=>(e===0&&(r=Xr(()=>t(()=>Ye(n)))),e+=1,()=>{fn(()=>{e-=1,e===0&&(r?.(),r=void 0,Ye(n))})})))}}var Fo=Ae|pe|dn;function Uo(t,e,n){new Jo(t,e,n)}class Jo{parent;#e=!1;#t;#n=y?E:null;#r;#s;#i;#o=null;#l=null;#a=null;#m=null;#d=null;#p=0;#v=0;#g=!1;#b=null;#h=Go(()=>(this.#b=ke(this.#p),()=>{this.#b=null}));constructor(e,n,r){this.#t=e,this.#r=n,this.#s=r,this.parent=A.b,this.#e=!!this.#r.pending,this.#i=yn(()=>{if(A.b=this,y){const i=this.#n;qe(),i.nodeType===be&&i.data===an?this.#y():this.#x()}else{var o=this.#k();try{this.#o=jt(()=>r(o))}catch(i){this.error(i)}this.#v>0?this.#f():this.#e=!1}return()=>{this.#d?.remove()}},Fo),y&&(this.#t=E)}#x(){try{this.#o=jt(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#r.pending;e&&(this.#l=jt(()=>e(this.#t)),Tt.enqueue(()=>{var n=this.#k();this.#o=this.#c(()=>(Tt.ensure(),jt(()=>this.#s(n)))),this.#v>0?this.#f():(ze(this.#l,()=>{this.#l=null}),this.#e=!1)}))}#k(){var e=this.#t;return this.#e&&(this.#d=ot(),this.#t.before(this.#d),e=this.#d),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#c(e){var n=A,r=j,o=xt;$t(this.#i),Z(this.#i),Re(this.#i.ctx);try{return e()}catch(i){return kr(i),null}finally{$t(n),Z(r),Re(o)}}#f(){const e=this.#r.pending;this.#o!==null&&(this.#m=document.createDocumentFragment(),this.#m.append(this.#d),Fr(this.#o,this.#m)),this.#l===null&&(this.#l=jt(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#v+=e,this.#v===0&&(this.#e=!1,this.#l&&ze(this.#l,()=>{this.#l=null}),this.#m&&(this.#t.before(this.#m),this.#m=null))}update_pending_count(e){this.#u(e),this.#p+=e,this.#b&&Te(this.#b,this.#p)}get_effect_pending(){return this.#h(),g(this.#b)}error(e){var n=this.#r.onerror;let r=this.#r.failed;if(this.#g||!n&&!r)throw e;this.#o&&(it(this.#o),this.#o=null),this.#l&&(it(this.#l),this.#l=null),this.#a&&(it(this.#a),this.#a=null),y&&(Y(this.#n),Do(),Y(cn()));var o=!1,i=!1;const l=()=>{if(o){Bo();return}o=!0,i&&Co(),Tt.ensure(),this.#p=0,this.#a!==null&&ze(this.#a,()=>{this.#a=null}),this.#e=this.has_pending_snippet(),this.#o=this.#c(()=>(this.#g=!1,jt(()=>this.#s(this.#t)))),this.#v>0?this.#f():this.#e=!1};var s=j;try{Z(null),i=!0,n?.(e,l),i=!1}catch(a){Ne(a,this.#i&&this.#i.parent)}finally{Z(s)}r&&fn(()=>{this.#a=this.#c(()=>{Tt.ensure(),this.#g=!0;try{return jt(()=>{r(this.#t,()=>e,()=>l)})}catch(a){return Ne(a,this.#i.parent),null}finally{this.#g=!1}})})}}function qo(t,e,n){for(var r=[],o=e.length,i=0;i<o;i++)Un(e[i].e,r,!0);Pr(r,()=>{var l=r.length===0&&n!==null;if(l){var s=n,a=s.parentNode;zr(a),a.append(s),t.items.clear(),Dt(t,e[0].prev,e[o-1].next)}for(var m=0;m<o;m++){var d=e[m];l||(t.items.delete(d.k),Dt(t,d.prev,d.next)),it(d.e,!l)}t.first===e[0]&&(t.first=e[0].prev)})}function fe(t,e,n,r,o,i=null){var l=t,s=new Map,a=null,m=(e&nr)!==0,d=(e&tr)!==0,b=(e&er)!==0;if(m){var p=t;l=y?Y(ie(p)):p.appendChild(ot())}y&&qe();var v=null,w=wr(()=>{var f=n();return or(f)?f:f==null?[]:Tn(f)}),z,c=!0;function N(){Ho(ct,z,l,e,r),v!==null&&(z.length===0?(v.fragment?(l.before(v.fragment),v.fragment=null):Jn(v.effect),B.first=v.effect):ze(v.effect,()=>{v=null}))}var B=yn(()=>{z=g(w);var f=z.length;let _=!1;if(y){var L=dr(l)===an;L!==(f===0)&&(l=cn(),Y(l),bt(!1),_=!0)}for(var ft=new Set,At=D,tt=null,It=Or(),U=0;U<f;U+=1){y&&E.nodeType===be&&E.data===Rn&&(l=E,_=!0,bt(!1));var kt=z[U],ut=r(kt,U),J=c?null:s.get(ut);J?(d&&Te(J.v,kt),b?Te(J.i,U):J.i=U,It&&At.skipped_effects.delete(J.e)):(J=Yo(c?l:null,tt,kt,ut,U,o,e,n),c&&(J.o=!0,tt===null?a=J:tt.next=J,tt=J),s.set(ut,J)),ft.add(ut)}if(f===0&&i&&!v)if(c)v={fragment:null,effect:jt(()=>i(l))};else{var Kt=document.createDocumentFragment(),Pt=ot();Kt.append(Pt),v={fragment:Kt,effect:jt(()=>i(Pt))}}if(y&&f>0&&Y(cn()),!c)if(It){for(const[Ce,Be]of s)ft.has(Ce)||At.skipped_effects.add(Be.e);At.oncommit(N),At.ondiscard(()=>{})}else N();_&&bt(!0),g(w)}),ct={effect:B,items:s,first:a};c=!1,y&&(l=E)}function Ho(t,e,n,r,o){var i=(r&ao)!==0,l=e.length,s=t.items,a=t.first,m,d=null,b,p=[],v=[],w,z,c,N;if(i)for(N=0;N<l;N+=1)w=e[N],z=o(w,N),c=s.get(z),c.a?.measure(),(b??=new Set).add(c);for(N=0;N<l;N+=1){if(w=e[N],z=o(w,N),c=s.get(z),t.first??=c,!c.o){c.o=!0;var B=d?d.next:a;Dt(t,d,c),Dt(t,c,B),Mn(c,B,n),d=c,p=[],v=[],a=d.next;continue}if((c.e.f&vt)!==0&&(Jn(c.e),i&&(c.a?.unfix(),(b??=new Set).delete(c))),c!==a){if(m!==void 0&&m.has(c)){if(p.length<v.length){var ct=v[0],f;d=ct.prev;var _=p[0],L=p[p.length-1];for(f=0;f<p.length;f+=1)Mn(p[f],ct,n);for(f=0;f<v.length;f+=1)m.delete(v[f]);Dt(t,_.prev,L.next),Dt(t,d,_),Dt(t,L,ct),a=ct,d=L,N-=1,p=[],v=[]}else m.delete(c),Mn(c,a,n),Dt(t,c.prev,c.next),Dt(t,c,d===null?t.first:d.next),Dt(t,d,c),d=c;continue}for(p=[],v=[];a!==null&&a.k!==z;)(a.e.f&vt)===0&&(m??=new Set).add(a),v.push(a),a=a.next;if(a===null)continue;c=a}p.push(c),d=c,a=c.next}if(a!==null||m!==void 0){for(var ft=m===void 0?[]:Tn(m);a!==null;)(a.e.f&vt)===0&&ft.push(a),a=a.next;var At=ft.length;if(At>0){var tt=(r&nr)!==0&&l===0?n:null;if(i){for(N=0;N<At;N+=1)ft[N].a?.measure();for(N=0;N<At;N+=1)ft[N].a?.fix()}qo(t,ft,tt)}}i&&fn(()=>{if(b!==void 0)for(c of b)c.a?.apply()})}function Yo(t,e,n,r,o,i,l,s){var a=(l&tr)!==0,m=(l&so)===0,d=a?m?Er(n,!1,!1):ke(n):n,b=(l&er)===0?o:ke(o),p={i:b,v:d,k:r,a:null,e:null,o:!1,prev:e,next:null};try{if(t===null){var v=document.createDocumentFragment();v.append(t=ot())}return p.e=jt(()=>i(t,d,b,s)),e!==null&&(e.next=p),p}finally{}}function Mn(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,o=e?e.e.nodes_start:n,i=t.e.nodes_start;i!==null&&i!==r;){var l=_t(i);o.before(i),i=l}}function Dt(t,e,n){e===null?(t.first=n,t.effect.first=n&&n.e):(e.e.next&&(e.e.next.prev=null),e.next=n,e.e.next=n&&n.e),n===null?t.effect.last=e&&e.e:(n.e.prev&&(n.e.prev.next=null),n.prev=e,n.e.prev=e&&e.e)}function Vo(t,e,n,r){const o=In;if(n.length===0&&t.length===0){r(e.map(o));return}var i=D,l=A,s=Wo();function a(){Promise.all(n.map(m=>Ko(m))).then(m=>{s();try{r([...e.map(o),...m])}catch(d){(l.f&Ht)===0&&Ne(d,l)}i?.deactivate(),hn()}).catch(m=>{Ne(m,l)})}t.length>0?Promise.all(t).then(()=>{s();try{return a()}finally{i?.deactivate(),hn()}}):a()}function Wo(){var t=A,e=j,n=xt,r=D;return function(i=!0){$t(t),Z(e),Re(n),i&&r?.activate()}}function hn(){$t(null),Z(null),Re(null)}function In(t){var e=H|pt,n=j!==null&&(j.f&H)!==0?j:null;return A!==null&&(A.f|=pe),{ctx:xt,deps:null,effects:null,equals:pr,f:e,fn:t,reactions:null,rv:0,v:K,wv:0,parent:n??A,ac:null}}function Ko(t,e){let n=A;n===null&&jo();var r=n.b,o=void 0,i=ke(K),l=!j,s=new Map;return li(()=>{var a=ar();o=a.promise;try{Promise.resolve(t()).then(a.resolve,a.reject).then(()=>{m===D&&m.committed&&m.deactivate(),hn()})}catch(p){a.reject(p),hn()}var m=D;if(l){var d=!r.is_pending();r.update_pending_count(1),m.increment(d),s.get(m)?.reject(Se),s.delete(m),s.set(m,a)}const b=(p,v=void 0)=>{if(m.activate(),v)v!==Se&&(i.f|=re,Te(i,v));else{(i.f&re)!==0&&(i.f^=re),Te(i,p);for(const[w,z]of s){if(s.delete(w),w===m)break;z.reject(Se)}}l&&(r.update_pending_count(-1),m.decrement(d))};a.promise.then(b,p=>b(null,p||"unknown"))}),ei(()=>{for(const a of s.values())a.reject(Se)}),new Promise(a=>{function m(d){function b(){d===o?a(i):m(o)}d.then(b,b)}m(o)})}function wr(t){const e=In(t);return e.equals=vr,e}function _r(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)it(e[n])}}function Xo(t){for(var e=t.parent;e!==null;){if((e.f&H)===0)return(e.f&Ht)===0?e:null;e=e.parent}return null}function Pn(t){var e,n=A;$t(Xo(t));try{t.f&=~ve,_r(t),e=Vr(t)}finally{$t(n)}return e}function jr(t){var e=Pn(t);if(t.equals(e)||(D?.is_fork||(t.v=e),t.wv=Hr()),!he)if(yt!==null)xn()&&yt.set(t,e);else{var n=(t.f&Nt)===0?qt:X;Q(t,n)}}let Gn=new Set;const oe=new Map;let $r=!1;function ke(t,e){var n={f:0,v:t,reactions:null,equals:pr,rv:0,wv:0};return n}function zt(t,e){const n=ke(t);return mi(n),n}function Er(t,e=!1,n=!0){const r=ke(t);return e||(r.equals=vr),r}function Ot(t,e,n=!1){j!==null&&(!Mt||(j.f&sr)!==0)&&cr()&&(j.f&(H|Ut|Dn|sr))!==0&&!Vt?.includes(t)&&Oo();let r=n?ue(e):e;return Te(t,r)}function Te(t,e){if(!t.equals(e)){var n=t.v;he?oe.set(t,e):oe.set(t,n),t.v=e;var r=Tt.ensure();r.capture(t,n),(t.f&H)!==0&&((t.f&pt)!==0&&Pn(t),Q(t,(t.f&Nt)!==0?X:qt)),t.wv=Hr(),Ar(t,pt),A!==null&&(A.f&X)!==0&&(A.f&(Jt|ne))===0&&(Et===null?di([t]):Et.push(t)),!r.is_fork&&Gn.size>0&&!$r&&Zo()}return e}function Zo(){$r=!1;var t=le;wn(!0);const e=Array.from(Gn);try{for(const n of e)(n.f&X)!==0&&Q(n,qt),We(n)&&Ke(n)}finally{wn(t)}Gn.clear()}function Ye(t){Ot(t,t.v+1)}function Ar(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,o=0;o<r;o++){var i=n[o],l=i.f,s=(l&pt)===0;if(s&&Q(i,e),(l&H)!==0){var a=i;yt?.delete(a),(l&ve)===0&&(l&Nt&&(i.f|=ve),Ar(a,qt))}else s&&((l&Ut)!==0&&Yt!==null&&Yt.add(i),ce(i))}}function ue(t){if(typeof t!="object"||t===null||vn in t)return t;const e=ir(t);if(e!==ho&&e!==xo)return t;var n=new Map,r=or(t),o=zt(0),i=xe,l=s=>{if(xe===i)return s();var a=j,m=xe;Z(null),qr(i);var d=s();return Z(a),qr(m),d};return r&&n.set("length",zt(t.length)),new Proxy(t,{defineProperty(s,a,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&To();var d=n.get(a);return d===void 0?d=l(()=>{var b=zt(m.value);return n.set(a,b),b}):Ot(d,m.value,!0),!0},deleteProperty(s,a){var m=n.get(a);if(m===void 0){if(a in s){const d=l(()=>zt(K));n.set(a,d),Ye(o)}}else Ot(m,K),Ye(o);return!0},get(s,a,m){if(a===vn)return t;var d=n.get(a),b=a in s;if(d===void 0&&(!b||de(s,a)?.writable)&&(d=l(()=>{var v=ue(b?s[a]:K),w=zt(v);return w}),n.set(a,d)),d!==void 0){var p=g(d);return p===K?void 0:p}return Reflect.get(s,a,m)},getOwnPropertyDescriptor(s,a){var m=Reflect.getOwnPropertyDescriptor(s,a);if(m&&"value"in m){var d=n.get(a);d&&(m.value=g(d))}else if(m===void 0){var b=n.get(a),p=b?.v;if(b!==void 0&&p!==K)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return m},has(s,a){if(a===vn)return!0;var m=n.get(a),d=m!==void 0&&m.v!==K||Reflect.has(s,a);if(m!==void 0||A!==null&&(!d||de(s,a)?.writable)){m===void 0&&(m=l(()=>{var p=d?ue(s[a]):K,v=zt(p);return v}),n.set(a,m));var b=g(m);if(b===K)return!1}return d},set(s,a,m,d){var b=n.get(a),p=a in s;if(r&&a==="length")for(var v=m;v<b.v;v+=1){var w=n.get(v+"");w!==void 0?Ot(w,K):v in s&&(w=l(()=>zt(K)),n.set(v+"",w))}if(b===void 0)(!p||de(s,a)?.writable)&&(b=l(()=>zt(void 0)),Ot(b,ue(m)),n.set(a,b));else{p=b.v!==K;var z=l(()=>ue(m));Ot(b,z)}var c=Reflect.getOwnPropertyDescriptor(s,a);if(c?.set&&c.set.call(d,m),!p){if(r&&typeof a=="string"){var N=n.get("length"),B=Number(a);Number.isInteger(B)&&B>=N.v&&Ot(N,B+1)}Ye(o)}return!0},ownKeys(s){g(o);var a=Reflect.ownKeys(s).filter(b=>{var p=n.get(b);return p===void 0||p.v!==K});for(var[m,d]of n)d.v!==K&&!(m in s)&&a.push(m);return a},setPrototypeOf(){zo()}})}var Sr,Rr,Nr,Tr;function Fn(){if(Sr===void 0){Sr=window,Rr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Nr=de(e,"firstChild").get,Tr=de(e,"nextSibling").get,lr(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),lr(n)&&(n.__t=void 0)}}function ot(t=""){return document.createTextNode(t)}function ie(t){return Nr.call(t)}function _t(t){return Tr.call(t)}function x(t,e){if(!y)return ie(t);var n=ie(E);if(n===null)n=E.appendChild(ot());else if(e&&n.nodeType!==bn){var r=ot();return n?.before(r),Y(r),r}return Y(n),n}function F(t,e=!1){if(!y){var n=ie(t);return n instanceof Comment&&n.data===""?_t(n):n}if(e&&E?.nodeType!==bn){var r=ot();return E?.before(r),Y(r),r}return E}function O(t,e=1,n=!1){let r=y?E:t;for(var o;e--;)o=r,r=_t(r);if(!y)return r;if(n&&r?.nodeType!==bn){var i=ot();return r===null?o?.after(i):r.before(i),Y(i),i}return Y(r),r}function zr(t){t.textContent=""}function Or(){return!1}function Cr(t){var e=j,n=A;Z(null),$t(null);try{return t()}finally{Z(e),$t(n)}}function Qo(t){A===null&&(j===null&&Ao(),Eo()),he&&$o()}function ti(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Lt(t,e,n){var r=A;r!==null&&(r.f&vt)!==0&&(t|=vt);var o={ctx:xt,deps:null,nodes_start:null,nodes_end:null,f:t|pt|Nt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Ke(o),o.f|=pn}catch(s){throw it(o),s}else e!==null&&ce(o);var i=o;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&pe)===0&&(i=i.first,(t&Ut)!==0&&(t&Ae)!==0&&i!==null&&(i.f|=Ae)),i!==null&&(i.parent=r,r!==null&&ti(i,r),j!==null&&(j.f&H)!==0&&(t&ne)===0)){var l=j;(l.effects??=[]).push(i)}return o}function xn(){return j!==null&&!Mt}function ei(t){const e=Lt(On,null,!1);return Q(e,X),e.teardown=t,e}function ni(t){Qo();var e=A.f,n=!j&&(e&Jt)!==0&&(e&pn)===0;if(n){var r=xt;(r.e??=[]).push(t)}else return Br(t)}function Br(t){return Lt(zn|wo,t,!1)}function ri(t){Tt.ensure();const e=Lt(ne|pe,t,!0);return()=>{it(e)}}function oi(t){Tt.ensure();const e=Lt(ne|pe,t,!0);return(n={})=>new Promise(r=>{n.outro?ze(e,()=>{it(e),r(void 0)}):(it(e),r(void 0))})}function ii(t){return Lt(zn,t,!1)}function li(t){return Lt(Dn|pe,t,!0)}function Dr(t,e=0){return Lt(On|e,t,!0)}function M(t,e=[],n=[],r=[]){Vo(r,e,n,o=>{Lt(On,()=>t(...o.map(g)),!0)})}function yn(t,e=0){var n=Lt(Ut|e,t,!0);return n}function jt(t){return Lt(Jt|pe,t,!0)}function Lr(t){var e=t.teardown;if(e!==null){const n=he,r=j;Ur(!0),Z(null);try{e.call(null)}finally{Ur(n),Z(r)}}}function Mr(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const o=n.ac;o!==null&&Cr(()=>{o.abort(Se)});var r=n.next;(n.f&ne)!==0?n.parent=null:it(n,e),n=r}}function ai(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Jt)===0&&it(e),e=n}}function it(t,e=!0){var n=!1;(e||(t.f&Cn)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(si(t.nodes_start,t.nodes_end),n=!0),Mr(t,e&&!n),_n(t,0),Q(t,Ht);var r=t.transitions;if(r!==null)for(const i of r)i.stop();Lr(t);var o=t.parent;o!==null&&o.first!==null&&Ir(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function si(t,e){for(;t!==null;){var n=t===e?null:_t(t);t.remove(),t=n}}function Ir(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function ze(t,e,n=!0){var r=[];Un(t,r,!0),Pr(r,()=>{n&&it(t),e&&e()})}function Pr(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var o of t)o.out(r)}else e()}function Un(t,e,n){if((t.f&vt)===0){if(t.f^=vt,t.transitions!==null)for(const l of t.transitions)(l.is_global||n)&&e.push(l);for(var r=t.first;r!==null;){var o=r.next,i=(r.f&Ae)!==0||(r.f&Jt)!==0&&(t.f&Ut)!==0;Un(r,e,i?n:!1),r=o}}}function Jn(t){Gr(t,!0)}function Gr(t,e){if((t.f&vt)!==0){t.f^=vt,(t.f&X)===0&&(Q(t,pt),ce(t));for(var n=t.first;n!==null;){var r=n.next,o=(n.f&Ae)!==0||(n.f&Jt)!==0;Gr(n,o?e:!1),n=r}if(t.transitions!==null)for(const i of t.transitions)(i.is_global||e)&&i.in()}}function Fr(t,e){for(var n=t.nodes_start,r=t.nodes_end;n!==null;){var o=n===r?null:_t(n);e.append(n),n=o}}let le=!1;function wn(t){le=t}let he=!1;function Ur(t){he=t}let j=null,Mt=!1;function Z(t){j=t}let A=null;function $t(t){A=t}let Vt=null;function mi(t){j!==null&&(Vt===null?Vt=[t]:Vt.push(t))}let lt=null,gt=0,Et=null;function di(t){Et=t}let Jr=1,Ve=0,xe=Ve;function qr(t){xe=t}function Hr(){return++Jr}function We(t){var e=t.f;if((e&pt)!==0)return!0;if(e&H&&(t.f&=~ve),(e&qt)!==0){var n=t.deps;if(n!==null)for(var r=n.length,o=0;o<r;o++){var i=n[o];if(We(i)&&jr(i),i.wv>t.wv)return!0}(e&Nt)!==0&&yt===null&&Q(t,X)}return!1}function Yr(t,e,n=!0){var r=t.reactions;if(r!==null&&!Vt?.includes(t))for(var o=0;o<r.length;o++){var i=r[o];(i.f&H)!==0?Yr(i,e,!1):e===i&&(n?Q(i,pt):(i.f&X)!==0&&Q(i,qt),ce(i))}}function Vr(t){var e=lt,n=gt,r=Et,o=j,i=Vt,l=xt,s=Mt,a=xe,m=t.f;lt=null,gt=0,Et=null,j=(m&(Jt|ne))===0?t:null,Vt=null,Re(t.ctx),Mt=!1,xe=++Ve,t.ac!==null&&(Cr(()=>{t.ac.abort(Se)}),t.ac=null);try{t.f|=Bn;var d=t.fn,b=d(),p=t.deps;if(lt!==null){var v;if(_n(t,gt),p!==null&&gt>0)for(p.length=gt+lt.length,v=0;v<lt.length;v++)p[gt+v]=lt[v];else t.deps=p=lt;if(le&&xn()&&(t.f&Nt)!==0)for(v=gt;v<p.length;v++)(p[v].reactions??=[]).push(t)}else p!==null&&gt<p.length&&(_n(t,gt),p.length=gt);if(cr()&&Et!==null&&!Mt&&p!==null&&(t.f&(H|qt|pt))===0)for(v=0;v<Et.length;v++)Yr(Et[v],t);return o!==null&&o!==t&&(Ve++,Et!==null&&(r===null?r=Et:r.push(...Et))),(t.f&re)!==0&&(t.f^=re),b}catch(w){return kr(w)}finally{t.f^=Bn,lt=e,gt=n,Et=r,j=o,Vt=i,Re(l),Mt=s,xe=a}}function pi(t,e){let n=e.reactions;if(n!==null){var r=ko.call(n,t);if(r!==-1){var o=n.length-1;o===0?n=e.reactions=null:(n[r]=n[o],n.pop())}}n===null&&(e.f&H)!==0&&(lt===null||!lt.includes(e))&&(Q(e,qt),(e.f&Nt)!==0&&(e.f^=Nt,e.f&=~ve),_r(e),_n(e,0))}function _n(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)pi(t,n[r])}function Ke(t){var e=t.f;if((e&Ht)===0){Q(t,X);var n=A,r=le;A=t,le=!0;try{(e&Ut)!==0?ai(t):Mr(t),Lr(t);var o=Vr(t);t.teardown=typeof o=="function"?o:null,t.wv=Jr;var i;Nn&&Mo&&(t.f&pt)!==0&&t.deps}finally{le=r,A=n}}}function g(t){var e=t.f,n=(e&H)!==0;if(j!==null&&!Mt){var r=A!==null&&(A.f&Ht)!==0;if(!r&&!Vt?.includes(t)){var o=j.deps;if((j.f&Bn)!==0)t.rv<Ve&&(t.rv=Ve,lt===null&&o!==null&&o[gt]===t?gt++:lt===null?lt=[t]:lt.includes(t)||lt.push(t));else{(j.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[j]:i.includes(j)||i.push(j)}}}if(he){if(oe.has(t))return oe.get(t);if(n){var l=t,s=l.v;return((l.f&X)===0&&l.reactions!==null||Kr(l))&&(s=Pn(l)),oe.set(l,s),s}}else n&&!yt?.has(t)&&(l=t,We(l)&&jr(l),le&&xn()&&(l.f&Nt)===0&&Wr(l));if(yt?.has(t))return yt.get(t);if((t.f&re)!==0)throw t.v;return t.v}function Wr(t){if(t.deps!==null){t.f^=Nt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&H)!==0&&(e.f&Nt)===0&&Wr(e)}}function Kr(t){if(t.v===K)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(oe.has(e)||(e.f&H)!==0&&Kr(e))return!0;return!1}function Xr(t){var e=Mt;try{return Mt=!0,t()}finally{Mt=e}}const vi=-7169;function Q(t,e){t.f=t.f&vi|e}const Zr=new Set,qn=new Set;function bi(t){for(var e=0;e<t.length;e++)Zr.add(t[e]);for(var n of qn)n(t)}let Qr=null;function jn(t){var e=this,n=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],i=o[0]||t.target;Qr=t;var l=0,s=Qr===t&&t.__root;if(s){var a=o.indexOf(s);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var m=o.indexOf(e);if(m===-1)return;a<=m&&(l=a)}if(i=o[l]||t.target,i!==e){mn(t,"currentTarget",{configurable:!0,get(){return i||n}});var d=j,b=A;Z(null),$t(null);try{for(var p,v=[];i!==null;){var w=i.assignedSlot||i.parentNode||i.host||null;try{var z=i["__"+r];z!=null&&(!i.disabled||t.target===i)&&z.call(i,t)}catch(c){p?v.push(c):p=c}if(t.cancelBubble||w===e||w===null)break;i=w}if(p){for(let c of v)queueMicrotask(()=>{throw c});throw p}}finally{t.__root=e,delete t.currentTarget,Z(d),$t(b)}}}function gi(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function ae(t,e){var n=A;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function $(t,e){var n=(e&go)!==0,r=(e&co)!==0,o,i=!t.startsWith("<!>");return()=>{if(y)return ae(E,null),E;o===void 0&&(o=gi(i?t:"<!>"+t),n||(o=ie(o)));var l=r||Rr?document.importNode(o,!0):o.cloneNode(!0);if(n){var s=ie(l),a=l.lastChild;ae(s,a)}else ae(l,l);return l}}function ci(t=""){if(!y){var e=ot(t+"");return ae(e,e),e}var n=E;return n.nodeType!==bn&&(n.before(n=ot()),Y(n)),ae(n,n),n}function V(){if(y)return ae(E,null),E;var t=document.createDocumentFragment(),e=document.createComment(""),n=ot();return t.append(e,n),ae(e,n),t}function k(t,e){if(y){var n=A;((n.f&pn)===0||n.nodes_end===null)&&(n.nodes_end=E),qe();return}t!==null&&t.before(e)}const fi=["touchstart","touchmove"];function ki(t){return fi.includes(t)}function Ct(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function to(t,e){return eo(t,e)}function ui(t,e){Fn(),e.intro=e.intro??!1;const n=e.target,r=y,o=E;try{for(var i=ie(n);i&&(i.nodeType!==be||i.data!==rr);)i=_t(i);if(!i)throw Ee;bt(!0),Y(i);const l=eo(t,{...e,anchor:i});return bt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==Ee&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Ro(),Fn(),zr(n),bt(!1),to(t,e)}finally{bt(r),Y(o)}}const Oe=new Map;function eo(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0}){Fn();var s=new Set,a=b=>{for(var p=0;p<b.length;p++){var v=b[p];if(!s.has(v)){s.add(v);var w=ki(v);e.addEventListener(v,jn,{passive:w});var z=Oe.get(v);z===void 0?(document.addEventListener(v,jn,{passive:w}),Oe.set(v,1)):Oe.set(v,z+1)}}};a(Tn(Zr)),qn.add(a);var m=void 0,d=oi(()=>{var b=n??e.appendChild(ot());return Uo(b,{pending:()=>{}},p=>{if(i){br({});var v=xt;v.c=i}if(o&&(r.$$events=o),y&&ae(p,null),m=t(p,r)||{},y&&(A.nodes_end=E,E===null||E.nodeType!==be||E.data!==Rn))throw gn(),Ee;i&&gr()}),()=>{for(var p of s){e.removeEventListener(p,jn);var v=Oe.get(p);--v===0?(document.removeEventListener(p,jn),Oe.delete(p)):Oe.set(p,v)}qn.delete(a),b!==n&&b.parentNode?.removeChild(b)}});return Hn.set(m,d),m}let Hn=new WeakMap;function hi(t,e){const n=Hn.get(t);return n?(Hn.delete(t),n(e)):Promise.resolve()}class xi{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#s=!0;constructor(e,n=!0){this.anchor=e,this.#s=n}#i=()=>{var e=D;if(this.#e.has(e)){var n=this.#e.get(e),r=this.#t.get(n);if(r)Jn(r),this.#r.delete(n);else{var o=this.#n.get(n);o&&(this.#t.set(n,o.effect),this.#n.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,l]of this.#e){if(this.#e.delete(i),i===e)break;const s=this.#n.get(l);s&&(it(s.effect),this.#n.delete(l))}for(const[i,l]of this.#t){if(i===n||this.#r.has(i))continue;const s=()=>{if(Array.from(this.#e.values()).includes(i)){var m=document.createDocumentFragment();Fr(l,m),m.append(ot()),this.#n.set(i,{effect:l,fragment:m})}else it(l);this.#r.delete(i),this.#t.delete(i)};this.#s||!r?(this.#r.add(i),ze(l,s,!1)):s()}}};#o=e=>{this.#e.delete(e);const n=Array.from(this.#e.values());for(const[r,o]of this.#n)n.includes(r)||(it(o.effect),this.#n.delete(r))};ensure(e,n){var r=D,o=Or();if(n&&!this.#t.has(e)&&!this.#n.has(e))if(o){var i=document.createDocumentFragment(),l=ot();i.append(l),this.#n.set(e,{effect:jt(()=>n(l)),fragment:i})}else this.#t.set(e,jt(()=>n(this.anchor)));if(this.#e.set(r,e),o){for(const[s,a]of this.#t)s===e?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[s,a]of this.#n)s===e?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#i),r.ondiscard(this.#o)}else y&&(this.anchor=E),this.#i()}}function S(t,e,n=!1){y&&qe();var r=new xi(t),o=n?Ae:0;function i(l,s){if(y){const m=dr(t)===an;if(l===m){var a=cn();Y(a),r.anchor=a,bt(!1),r.ensure(l,s),bt(!0);return}}r.ensure(l,s)}yn(()=>{var l=!1;e((s,a=!0)=>{l=!0,i(a,s)}),l||i(!1,null)},o)}function Xe(t,e,n,r,o){y&&qe();var i=e.$$slots?.[n],l=!1;i===!0&&(i=e[n==="default"?"children":n],l=!0),i===void 0?o!==null&&o(t):i(t,l?()=>r:r)}function yi(t,e){let n=null,r=y;var o;if(y){n=E;for(var i=ie(document.head);i!==null&&(i.nodeType!==be||i.data!==t);)i=_t(i);if(i===null)bt(!1);else{var l=_t(i);i.remove(),Y(l)}}y||(o=document.head.appendChild(ot()));try{yn(()=>e(o),Cn)}finally{r&&(bt(!0),Y(n))}}function wi(t,e){ii(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function _i(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function ji(t,e){return t==null?null:String(t)}function P(t,e,n,r,o,i){var l=t.__className;if(y||l!==n||l===void 0){var s=_i(n,r);(!y||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=n}return i}function at(t,e,n,r){var o=t.__style;if(y||o!==e){var i=ji(e);(!y||i!==t.getAttribute("style"))&&(i==null?t.removeAttribute("style"):t.style.cssText=i),t.__style=e}return r}const $i=Symbol("is custom element"),Ei=Symbol("is html");function $n(t,e,n,r){var o=Ai(t);y&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&no(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function st(t,e,n){var r=j,o=A;let i=y;y&&bt(!1),Z(null),$t(null);try{e!=="style"&&(Yn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?no(t).includes(e):n&&typeof n=="object")?t[e]=n:$n(t,e,n==null?n:String(n))}finally{Z(r),$t(o),i&&bt(!0)}}function Ai(t){return t.__attributes??={[$i]:t.nodeName.includes("-"),[Ei]:t.namespaceURI===fo}}var Yn=new Map;function no(t){var e=t.getAttribute("is")||t.nodeName,n=Yn.get(e);if(n)return n;Yn.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=uo(o);for(var l in r)r[l].set&&n.push(l);o=ir(o)}return n}let En=!1;function Si(t){var e=En;try{return En=!1,[t(),En]}finally{En=e}}function Wt(t,e,n,r){var o=(n&vo)!==0,i=(n&bo)!==0,l=r,s=!0,a=()=>(s&&(s=!1,l=i?Xr(r):r),l),m;if(o){var d=vn in t||mr in t;m=de(t,e)?.set??(d&&e in t?B=>t[e]=B:void 0)}var b,p=!1;o?[b,p]=Si(()=>t[e]):b=t[e],b===void 0&&r!==void 0&&(b=a(),m&&(No(),m(b)));var v;if(v=()=>{var B=t[e];return B===void 0?a():(s=!0,B)},(n&po)===0)return v;if(m){var w=t.$$legacy;return(function(B,ct){return arguments.length>0?((!ct||w||p)&&m(ct?v():B),B):v()})}var z=!1,c=((n&mo)!==0?In:wr)(()=>(z=!1,v()));o&&g(c);var N=A;return(function(B,ct){if(arguments.length>0){const f=ct?g(c):o?ue(B):B;return Ot(c,f),z=!0,l!==void 0&&(l=f),B}return he&&z||(N.f&Ht)!==0?c.v:g(c)})}function Ri(t){return new Ni(t)}class Ni{#e;#t;constructor(e){var n=new Map,r=(i,l)=>{var s=Er(l,!1,!1);return n.set(i,s),s};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return g(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===mr?!0:(g(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,s){return Ot(n.get(l)??r(l,s),s),Reflect.set(i,l,s)}});this.#t=(e.hydrate?ui:to)(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)&&Bt(),this.#e=o.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||mn(this,i,{get(){return this.#t[i]},set(l){this.#t[i]=l},enumerable:!0});this.#t.$set=i=>{Object.assign(o,i)},this.#t.$destroy=()=>{hi(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...o)=>n.call(this,...o);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(o=>o!==r)}}$destroy(){this.#t.$destroy()}}let ro;typeof HTMLElement=="function"&&(ro=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return o=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),k(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ti(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const o=this.$$g_p(r.name);o in this.$$d||(this.$$d[o]=An(o,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Ri({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ri(()=>{Dr(()=>{this.$$r=!0;for(const r of sn(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=An(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1})});for(const r in this.$$l)for(const o of this.$$l[r]){const i=this.$$c.$on(r,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=An(t,n,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 sn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function An(t,e,n,r){const o=n[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="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 Ti(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function zi(t,e,n,r,o,i){let l=class extends ro{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return sn(e).map(s=>(e[s].attribute||s).toLowerCase())}};return sn(e).forEach(s=>{mn(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=An(s,a,e),this.$$d[s]=a;var m=this.$$c;if(m){var d=de(m,s)?.get;d?m[s]=a:m.$set({[s]:a})}}})}),r.forEach(s=>{mn(l.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=l,l}const Oi={version:"0.65.23"};var ye={},oo;function Ci(){if(oo)return ye;oo=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.LanguageTranslator=void 0,ye.getChildStyleToPass=t,ye.addComponent=e;function t(r,o){var i,l,s="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(p){return Object.keys(r).includes(p.name)}))===null||l===void 0)&&l.length))for(var a=function(p){var v=o?.filter(function(w){return w.name===p&&w.defaultValue!==r[p]});v&&(s+="".concat(p,":").concat(r[p],";"))},m=0,d=Object.keys(r);m<d.length;m++){var b=d[m];a(b)}}catch(p){console.error("error getting child style to pass",p)}finally{return s}}function e(r){var o,i=((o=r?.repoName.split("/"))===null||o===void 0?void 0:o[1])||r?.repoName;if(!i)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var s=document.createElement("script");if(s.id=i+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)s.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=i.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(i.replace(a+"-",""),"/").concat(l)}document.head.appendChild(s)}catch(m){console.warn(m)}}var n=(function(){function r(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return r.prototype.setLang=function(o){o||(o=r.getDefaultLang()),this.lang=o},r.prototype.translateWord=function(o,i){return r.getDictionaryWord(o,this.dictionary,i||this.lang)},r.prototype.translateDate=function(o,i,l){return r.formatDate(o,i,l||this.lang)},r.getDefaultLang=function(){var o,i,l,s="en";return navigator?.languages&&(!((l=(i=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||l===void 0)&&l.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(o,i,l){var s;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((s=i[l])===null||s===void 0)&&s[o]))return i[l][o];var a="",m=r.getDefaultLang();if(!l||m!==l){var d=i?.[m];d?.[o]&&(a=d[o])}return a},r.formatDate=function(o,i,l){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(l||r.getDefaultLang(),i);return s.format(o)},r})();return ye.LanguageTranslator=n,ye}var Bi=Ci(),Di=$('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Li=$('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),Mi=$('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Ii=$('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Pi=$('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>'),Gi=$('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div style="margin-top:10px;" class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>'),Fi=$('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ui=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ji=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Hi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Yi=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),Vi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Wi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ki=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Zi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),tl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),el=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),nl=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),rl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ol=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),sl=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),ml=$('<div class="row svelte-1tntk73"><div style="padding:20px 20px"><div class="row svelte-1tntk73"><div class="col svelte-1tntk73"><!> </div></div> <div id="description" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="company" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="fiscal" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div></div> <!> <!> <!></div>'),dl=$('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),pl=$('<button class="btn btn-link svelte-1tntk73"> </button>'),vl=$('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),bl=$('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),gl=$('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),cl=$('<footer class="svelte-1tntk73"><!></footer>');const fl={hash:"svelte-1tntk73",code:`@charset "UTF-8";
1
+ (function(Fn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const oo=1,io=2,Jn=4,lo=8,ao=16,so=1,mo=4,po=8,vo=16,go=1,co=2,Un="[",un="[!",qn="[?",hn="]",Ae={},K=Symbol(),Hn="http://www.w3.org/1999/xhtml",fo=!1;var Yn=Array.isArray,bo=Array.prototype.indexOf,Se=Array.prototype.includes,tn=Array.from,en=Object.keys,nn=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,ko=Object.getOwnPropertyDescriptors,uo=Object.prototype,ho=Array.prototype,Vn=Object.getPrototypeOf,Wn=Object.isExtensible;const xo=()=>{};function yo(t){for(var e=0;e<t.length;e++)t[e]()}function Kn(){var t,e,n=new Promise((r,o)=>{t=r,e=o});return{promise:n,resolve:t,reject:e}}const Y=2,Ne=4,rn=8,Xn=1<<24,te=16,Nt=32,ee=64,xn=128,ut=512,F=1024,tt=2048,It=4096,ft=8192,ht=16384,ne=32768,Zn=1<<25,Re=65536,Qn=1<<17,tr=1<<18,re=1<<19,wo=1<<20,Lt=1<<25,fe=65536,yn=1<<21,wn=1<<22,oe=1<<23,on=Symbol("$state"),er=Symbol("legacy props"),_o=Symbol(""),Ut=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$o=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Le=3,Te=8;function jo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Eo(t,e,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ao(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function So(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function No(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ro(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function To(){throw new Error("https://svelte.dev/e/hydration_failed")}function zo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Oo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Co(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Do(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ln(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Mo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let E=!1;function bt(t){E=t}let N;function X(t){if(t===null)throw ln(),Ae;return N=t}function Pe(){return X(yt(N))}function k(t){if(E){if(yt(N)!==null)throw ln(),Ae;N=t}}function Io(t=1){if(E){for(var e=t,n=N;e--;)n=yt(n);N=n}}function an(t=!0){for(var e=0,n=N;;){if(n.nodeType===Te){var r=n.data;if(r===hn){if(e===0)return n;e-=1}else(r===Un||r===un||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(e+=1)}var o=yt(n);t&&n.remove(),n=o}}function nr(t){if(!t||t.nodeType!==Te)throw ln(),Ae;return t.data}function rr(t){return t===this.v}function Lo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function or(t){return!Lo(t,this.v)}let Po=!1,xt=null;function ze(t){xt=t}function ir(t,e=!1,n){xt={p:xt,i:!1,c:null,e:null,s:t,x:null,r:A,l:null}}function lr(t){var e=xt,n=e.e;if(n!==null){e.e=null;for(var r of n)zr(r)}return t!==void 0&&(e.x=t),e.i=!0,xt=e.p,t??{}}function ar(){return!0}let be=[];function sr(){var t=be;be=[],yo(t)}function ke(t){if(be.length===0&&!Ge){var e=be;queueMicrotask(()=>{e===be&&sr()})}be.push(t)}function Go(){for(;be.length>0;)sr()}function mr(t){var e=A;if(e===null)return $.f|=oe,t;if((e.f&ne)===0&&(e.f&Ne)===0)throw t;ie(t,e)}function ie(t,e){for(;e!==null;){if((e.f&xn)!==0){if((e.f&ne)===0)throw t;try{e.b.error(t);return}catch(n){t=n}}e=e.parent}throw t}const Fo=-7169;function G(t,e){t.f=t.f&Fo|e}function _n(t){(t.f&ut)!==0||t.deps===null?G(t,F):G(t,It)}function pr(t){if(t!==null)for(const e of t)(e.f&Y)===0||(e.f&fe)===0||(e.f^=fe,pr(e.deps))}function dr(t,e,n){(t.f&tt)!==0?e.add(t):(t.f&It)!==0&&n.add(t),pr(t.deps),G(t,F)}let sn=!1;function Jo(t){var e=sn;try{return sn=!1,[t(),sn]}finally{sn=e}}const le=new Set;let C=null,Rt=null,$n=null,Ge=!1,jn=!1,Oe=null,mn=null;var vr=0;let Uo=1;class qt{id=Uo++;current=new Map;previous=new Map;#t=new Set;#n=new Set;#e=new Map;#o=new Map;#i=null;#r=[];#l=new Set;#a=new Set;#s=new Map;is_fork=!1;#d=!1;#m=new Set;#v(){return this.is_fork||this.#o.size>0}#c(){for(const r of this.#m)for(const o of r.#o.keys()){for(var e=!1,n=o;n.parent!==null;){if(this.#s.has(n)){e=!0;break}n=n.parent}if(!e)return!0}return!1}skip_effect(e){this.#s.has(e)||this.#s.set(e,{d:[],m:[]})}unskip_effect(e){var n=this.#s.get(e);if(n){this.#s.delete(e);for(var r of n.d)G(r,tt),this.schedule(r);for(r of n.m)G(r,It),this.schedule(r)}}#g(){if(vr++>1e3&&(le.delete(this),qo()),!this.#v()){for(const a of this.#l)this.#a.delete(a),G(a,tt),this.schedule(a);for(const a of this.#a)G(a,It),this.schedule(a)}const e=this.#r;this.#r=[],this.apply();var n=Oe=[],r=[],o=mn=[];for(const a of e)try{this.#p(a,n,r)}catch(s){throw kr(a),s}if(C=null,o.length>0){var i=qt.ensure();for(const a of o)i.schedule(a)}if(Oe=null,mn=null,this.#v()||this.#c()){this.#f(r),this.#f(n);for(const[a,s]of this.#s)br(a,s)}else{this.#e.size===0&&le.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#t)a(this);this.#t.clear(),gr(r),gr(n),this.#i?.resolve()}var l=C;if(this.#r.length>0){const a=l??=this;a.#r.push(...this.#r.filter(s=>!a.#r.includes(s)))}l!==null&&(le.add(l),l.#g()),le.has(this)||this.#b()}#p(e,n,r){e.f^=F;for(var o=e.first;o!==null;){var i=o.f,l=(i&(Nt|ee))!==0,a=l&&(i&F)!==0,s=a||(i&ft)!==0||this.#s.has(o);if(!s&&o.fn!==null){l?o.f^=F:(i&Ne)!==0?n.push(o):Je(o)&&((i&te)!==0&&this.#a.add(o),De(o));var m=o.first;if(m!==null){o=m;continue}}for(;o!==null;){var p=o.next;if(p!==null){o=p;break}o=o.parent}}}#f(e){for(var n=0;n<e.length;n+=1)dr(e[n],this.#l,this.#a)}capture(e,n,r=!1){n!==K&&!this.previous.has(e)&&this.previous.set(e,n),(e.f&oe)===0&&(this.current.set(e,[e.v,r]),Rt?.set(e,e.v))}activate(){C=this}deactivate(){C=null,Rt=null}flush(){try{jn=!0,C=this,this.#g()}finally{vr=0,$n=null,Oe=null,mn=null,jn=!1,C=null,Rt=null,ae.clear()}}discard(){for(const e of this.#n)e(this);this.#n.clear(),le.delete(this)}#b(){for(const m of le){var e=m.id<this.id,n=[];for(const[p,[g,d]]of this.current){if(m.current.has(p)){var r=m.current.get(p)[0];if(e&&g!==r)m.current.set(p,[g,d]);else continue}n.push(p)}var o=[...m.current.keys()].filter(p=>!this.current.has(p));if(o.length===0)e&&m.discard();else if(n.length>0){m.activate();var i=new Set,l=new Map;for(var a of n)cr(a,o,i,l);if(m.#r.length>0){m.apply();for(var s of m.#r)m.#p(s,[],[]);m.#r=[]}m.deactivate()}}for(const m of le)m.#m.has(this)&&(m.#m.delete(this),m.#m.size===0&&!m.#v()&&(m.activate(),m.#g()))}increment(e,n){let r=this.#e.get(n)??0;if(this.#e.set(n,r+1),e){let o=this.#o.get(n)??0;this.#o.set(n,o+1)}}decrement(e,n,r){let o=this.#e.get(n)??0;if(o===1?this.#e.delete(n):this.#e.set(n,o-1),e){let i=this.#o.get(n)??0;i===1?this.#o.delete(n):this.#o.set(n,i-1)}this.#d||r||(this.#d=!0,ke(()=>{this.#d=!1,this.flush()}))}transfer_effects(e,n){for(const r of e)this.#l.add(r);for(const r of n)this.#a.add(r);e.clear(),n.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#n.add(e)}settled(){return(this.#i??=Kn()).promise}static ensure(){if(C===null){const e=C=new qt;jn||(le.add(C),Ge||ke(()=>{C===e&&e.flush()}))}return C}apply(){{Rt=null;return}}schedule(e){if($n=e,e.b?.is_pending&&(e.f&(Ne|rn|Xn))!==0&&(e.f&ne)===0){e.b.defer_effect(e);return}for(var n=e;n.parent!==null;){n=n.parent;var r=n.f;if(Oe!==null&&n===A&&($===null||($.f&Y)===0))return;if((r&(ee|Nt))!==0){if((r&F)===0)return;n.f^=F}}this.#r.push(n)}}function Pt(t){var e=Ge;Ge=!0;try{for(var n;;){if(Go(),C===null)return n;C.flush()}}finally{Ge=e}}function qo(){try{Ro()}catch(t){ie(t,$n)}}let Ht=null;function gr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(ht|ft))===0&&Je(r)&&(Ht=new Set,De(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Br(r),Ht?.size>0)){ae.clear();for(const o of Ht){if((o.f&(ht|ft))!==0)continue;const i=[o];let l=o.parent;for(;l!==null;)Ht.has(l)&&(Ht.delete(l),i.push(l)),l=l.parent;for(let a=i.length-1;a>=0;a--){const s=i[a];(s.f&(ht|ft))===0&&De(s)}}Ht.clear()}}Ht=null}}function cr(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const o of t.reactions){const i=o.f;(i&Y)!==0?cr(o,e,n,r):(i&(wn|te))!==0&&(i&tt)===0&&fr(o,e,r)&&(G(o,tt),En(o))}}function fr(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const o of t.deps){if(Se.call(e,o))return!0;if((o.f&Y)!==0&&fr(o,e,n))return n.set(o,!0),!0}return n.set(t,!1),!1}function En(t){C.schedule(t)}function br(t,e){if(!((t.f&Nt)!==0&&(t.f&F)!==0)){(t.f&tt)!==0?e.d.push(t):(t.f&It)!==0&&e.m.push(t),G(t,F);for(var n=t.first;n!==null;)br(n,e),n=n.next}}function kr(t){G(t,F);for(var e=t.first;e!==null;)kr(e),e=e.next}function Ho(t){let e=0,n=ue(0),r;return()=>{zn()&&(x(n),Or(()=>(e===0&&(r=Hr(()=>t(()=>Fe(n)))),e+=1,()=>{ke(()=>{e-=1,e===0&&(r?.(),r=void 0,Fe(n))})})))}}var Yo=Re|re;function Vo(t,e,n,r){new Wo(t,e,n,r)}class Wo{parent;is_pending=!1;transform_error;#t;#n=E?N:null;#e;#o;#i;#r=null;#l=null;#a=null;#s=null;#d=0;#m=0;#v=!1;#c=new Set;#g=new Set;#p=null;#f=Ho(()=>(this.#p=ue(this.#d),()=>{this.#p=null}));constructor(e,n,r,o){this.#t=e,this.#e=n,this.#o=i=>{var l=A;l.b=this,l.f|=xn,r(i)},this.parent=A.b,this.transform_error=o??this.parent?.transform_error??(i=>i),this.#i=vn(()=>{if(E){const i=this.#n;Pe();const l=i.data===un;if(i.data.startsWith(qn)){const s=JSON.parse(i.data.slice(qn.length));this.#y(s)}else l?this.#w():this.#b()}else this.#h()},Yo),E&&(this.#t=N)}#b(){try{this.#r=wt(()=>this.#o(this.#t))}catch(e){this.error(e)}}#y(e){const n=this.#e.failed;n&&(this.#a=wt(()=>{n(this.#t,()=>e,()=>()=>{})}))}#w(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#l=wt(()=>e(this.#t)),ke(()=>{var n=this.#s=document.createDocumentFragment(),r=nt();n.append(r),this.#r=this.#u(()=>wt(()=>this.#o(r))),this.#m===0&&(this.#t.before(n),this.#s=null,he(this.#l,()=>{this.#l=null}),this.#k(C))}))}#h(){try{if(this.is_pending=this.has_pending_snippet(),this.#m=0,this.#d=0,this.#r=wt(()=>{this.#o(this.#t)}),this.#m>0){var e=this.#s=document.createDocumentFragment();Bn(this.#r,e);const n=this.#e.pending;this.#l=wt(()=>n(this.#t))}else this.#k(C)}catch(n){this.error(n)}}#k(e){this.is_pending=!1,e.transfer_effects(this.#c,this.#g)}defer_effect(e){dr(e,this.#c,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#u(e){var n=A,r=$,o=xt;_t(this.#i),mt(this.#i),ze(this.#i.ctx);try{return qt.ensure(),e()}catch(i){return mr(i),null}finally{_t(n),mt(r),ze(o)}}#x(e,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#x(e,n);return}this.#m+=e,this.#m===0&&(this.#k(n),this.#l&&he(this.#l,()=>{this.#l=null}),this.#s&&(this.#t.before(this.#s),this.#s=null))}update_pending_count(e,n){this.#x(e,n),this.#d+=e,!(!this.#p||this.#v)&&(this.#v=!0,ke(()=>{this.#v=!1,this.#p&&Ce(this.#p,this.#d)}))}get_effect_pending(){return this.#f(),x(this.#p)}error(e){var n=this.#e.onerror;let r=this.#e.failed;if(!n&&!r)throw e;this.#r&&(rt(this.#r),this.#r=null),this.#l&&(rt(this.#l),this.#l=null),this.#a&&(rt(this.#a),this.#a=null),E&&(X(this.#n),Io(),X(an()));var o=!1,i=!1;const l=()=>{if(o){Mo();return}o=!0,i&&Do(),this.#a!==null&&he(this.#a,()=>{this.#a=null}),this.#u(()=>{this.#h()})},a=s=>{try{i=!0,n?.(s,l),i=!1}catch(m){ie(m,this.#i&&this.#i.parent)}r&&(this.#a=this.#u(()=>{try{return wt(()=>{var m=A;m.b=this,m.f|=xn,r(this.#t,()=>s,()=>l)})}catch(m){return ie(m,this.#i.parent),null}}))};ke(()=>{var s;try{s=this.transform_error(e)}catch(m){ie(m,this.#i&&this.#i.parent);return}s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(a,m=>ie(m,this.#i&&this.#i.parent)):a(s)})}}function Ko(t,e,n,r){const o=An;var i=t.filter(d=>!d.settled);if(n.length===0&&i.length===0){r(e.map(o));return}var l=A,a=Xo(),s=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(d=>d.promise)):null;function m(d){a();try{r(d)}catch(c){(l.f&ht)===0&&ie(c,l)}pn()}if(n.length===0){s.then(()=>m(e.map(o)));return}var p=ur();function g(){Promise.all(n.map(d=>Zo(d))).then(d=>m([...e.map(o),...d])).catch(d=>ie(d,l)).finally(()=>p())}s?s.then(()=>{a(),g(),pn()}):g()}function Xo(){var t=A,e=$,n=xt,r=C;return function(i=!0){_t(t),mt(e),ze(n),i&&(t.f&ht)===0&&(r?.activate(),r?.apply())}}function pn(t=!0){_t(null),mt(null),ze(null),t&&C?.deactivate()}function ur(){var t=A,e=t.b,n=C,r=e.is_rendered();return e.update_pending_count(1,n),n.increment(r,t),(o=!1)=>{e.update_pending_count(-1,n),n.decrement(r,t,o)}}function An(t){var e=Y|tt,n=$!==null&&($.f&Y)!==0?$:null;return A!==null&&(A.f|=re),{ctx:xt,deps:null,effects:null,equals:rr,f:e,fn:t,reactions:null,rv:0,v:K,wv:0,parent:n??A,ac:null}}function Zo(t,e,n){let r=A;r===null&&jo();var o=void 0,i=ue(K),l=!$,a=new Map;return pi(()=>{var s=A,m=Kn();o=m.promise;try{Promise.resolve(t()).then(m.resolve,m.reject).finally(pn)}catch(c){m.reject(c),pn()}var p=C;if(l){if((s.f&ne)!==0)var g=ur();if(r.b.is_rendered())a.get(p)?.reject(Ut),a.delete(p);else{for(const c of a.values())c.reject(Ut);a.clear()}a.set(p,m)}const d=(c,f=void 0)=>{if(g){var y=f===Ut;g(y)}if(!(f===Ut||(s.f&ht)!==0)){if(p.activate(),f)i.f|=oe,Ce(i,f);else{(i.f&oe)!==0&&(i.f^=oe),Ce(i,c);for(const[v,j]of a){if(a.delete(v),v===p)break;j.reject(Ut)}}p.deactivate()}};m.promise.then(d,c=>d(null,c||"unknown"))}),ii(()=>{for(const s of a.values())s.reject(Ut)}),new Promise(s=>{function m(p){function g(){p===o?s(i):m(o)}p.then(g,g)}m(o)})}function hr(t){const e=An(t);return e.equals=or,e}function Qo(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)rt(e[n])}}function ti(t){for(var e=t.parent;e!==null;){if((e.f&Y)===0)return(e.f&ht)===0?e:null;e=e.parent}return null}function Sn(t){var e,n=A;_t(ti(t));try{t.f&=~fe,Qo(t),e=Jr(t)}finally{_t(n)}return e}function xr(t){var e=t.v,n=Sn(t);if(!t.equals(n)&&(t.wv=Gr(),(!C?.is_fork||t.deps===null)&&(t.v=n,C?.capture(t,e,!0),t.deps===null))){G(t,F);return}me||(Rt!==null?(zn()||C?.is_fork)&&Rt.set(t,n):_n(t))}function ei(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(Ut),e.teardown=xo,e.ac=null,Ue(e,0),On(e))}function yr(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&De(e)}let Nn=new Set;const ae=new Map;let wr=!1;function ue(t,e){var n={f:0,v:t,reactions:null,equals:rr,rv:0,wv:0};return n}function Yt(t,e){const n=ue(t);return gi(n),n}function _r(t,e=!1,n=!0){const r=ue(t);return e||(r.equals=or),r}function Tt(t,e,n=!1){$!==null&&(!Ot||($.f&Qn)!==0)&&ar()&&($.f&(Y|te|wn|Qn))!==0&&($t===null||!Se.call($t,t))&&Bo();let r=n?Be(e):e;return Ce(t,r,mn)}function Ce(t,e,n=null){if(!t.equals(e)){var r=t.v;me?ae.set(t,e):ae.set(t,r),t.v=e;var o=qt.ensure();if(o.capture(t,r),(t.f&Y)!==0){const i=t;(t.f&tt)!==0&&Sn(i),Rt===null&&_n(i)}t.wv=Gr(),$r(t,tt,n),A!==null&&(A.f&F)!==0&&(A.f&(Nt|ee))===0&&(jt===null?ci([t]):jt.push(t)),!o.is_fork&&Nn.size>0&&!wr&&ni()}return e}function ni(){wr=!1;for(const t of Nn)(t.f&F)!==0&&G(t,It),Je(t)&&De(t);Nn.clear()}function Fe(t){Tt(t,t.v+1)}function $r(t,e,n){var r=t.reactions;if(r!==null)for(var o=r.length,i=0;i<o;i++){var l=r[i],a=l.f,s=(a&tt)===0;if(s&&G(l,e),(a&Y)!==0){var m=l;Rt?.delete(m),(a&fe)===0&&(a&ut&&(l.f|=fe),$r(m,It,n))}else if(s){var p=l;(a&te)!==0&&Ht!==null&&Ht.add(p),n!==null?n.push(p):En(p)}}}function Be(t){if(typeof t!="object"||t===null||on in t)return t;const e=Vn(t);if(e!==uo&&e!==ho)return t;var n=new Map,r=Yn(t),o=Yt(0),i=ye,l=a=>{if(ye===i)return a();var s=$,m=ye;mt(null),Pr(i);var p=a();return mt(s),Pr(m),p};return r&&n.set("length",Yt(t.length)),new Proxy(t,{defineProperty(a,s,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&Oo();var p=n.get(s);return p===void 0?l(()=>{var g=Yt(m.value);return n.set(s,g),g}):Tt(p,m.value,!0),!0},deleteProperty(a,s){var m=n.get(s);if(m===void 0){if(s in a){const p=l(()=>Yt(K));n.set(s,p),Fe(o)}}else Tt(m,K),Fe(o);return!0},get(a,s,m){if(s===on)return t;var p=n.get(s),g=s in a;if(p===void 0&&(!g||ce(a,s)?.writable)&&(p=l(()=>{var c=Be(g?a[s]:K),f=Yt(c);return f}),n.set(s,p)),p!==void 0){var d=x(p);return d===K?void 0:d}return Reflect.get(a,s,m)},getOwnPropertyDescriptor(a,s){var m=Reflect.getOwnPropertyDescriptor(a,s);if(m&&"value"in m){var p=n.get(s);p&&(m.value=x(p))}else if(m===void 0){var g=n.get(s),d=g?.v;if(g!==void 0&&d!==K)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return m},has(a,s){if(s===on)return!0;var m=n.get(s),p=m!==void 0&&m.v!==K||Reflect.has(a,s);if(m!==void 0||A!==null&&(!p||ce(a,s)?.writable)){m===void 0&&(m=l(()=>{var d=p?Be(a[s]):K,c=Yt(d);return c}),n.set(s,m));var g=x(m);if(g===K)return!1}return p},set(a,s,m,p){var g=n.get(s),d=s in a;if(r&&s==="length")for(var c=m;c<g.v;c+=1){var f=n.get(c+"");f!==void 0?Tt(f,K):c in a&&(f=l(()=>Yt(K)),n.set(c+"",f))}if(g===void 0)(!d||ce(a,s)?.writable)&&(g=l(()=>Yt(void 0)),Tt(g,Be(m)),n.set(s,g));else{d=g.v!==K;var y=l(()=>Be(m));Tt(g,y)}var v=Reflect.getOwnPropertyDescriptor(a,s);if(v?.set&&v.set.call(p,m),!d){if(r&&typeof s=="string"){var j=n.get("length"),z=Number(s);Number.isInteger(z)&&z>=j.v&&Tt(j,z+1)}Fe(o)}return!0},ownKeys(a){x(o);var s=Reflect.ownKeys(a).filter(g=>{var d=n.get(g);return d===void 0||d.v!==K});for(var[m,p]of n)p.v!==K&&!(m in a)&&s.push(m);return s},setPrototypeOf(){Co()}})}var jr,Er,Ar,Sr;function Rn(){if(jr===void 0){jr=window,Er=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ar=ce(e,"firstChild").get,Sr=ce(e,"nextSibling").get,Wn(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Wn(n)&&(n.__t=void 0)}}function nt(t=""){return document.createTextNode(t)}function se(t){return Ar.call(t)}function yt(t){return Sr.call(t)}function u(t,e){if(!E)return se(t);var n=se(N);if(n===null)n=N.appendChild(nt());else if(e&&n.nodeType!==Le){var r=nt();return n?.before(r),X(r),r}return e&&dn(n),X(n),n}function zt(t,e=!1){if(!E){var n=se(t);return n instanceof Comment&&n.data===""?yt(n):n}if(e){if(N?.nodeType!==Le){var r=nt();return N?.before(r),X(r),r}dn(N)}return N}function D(t,e=1,n=!1){let r=E?N:t;for(var o;e--;)o=r,r=yt(r);if(!E)return r;if(n){if(r?.nodeType!==Le){var i=nt();return r===null?o?.after(i):r.before(i),X(i),i}dn(r)}return X(r),r}function Nr(t){t.textContent=""}function Rr(){return!1}function Tn(t,e,n){return document.createElementNS(Hn,t,void 0)}function dn(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Le;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function Tr(t){var e=$,n=A;mt(null),_t(null);try{return t()}finally{mt(e),_t(n)}}function ri(t){A===null&&($===null&&No(),So()),me&&Ao()}function oi(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Gt(t,e){var n=A;n!==null&&(n.f&ft)!==0&&(t|=ft);var r={ctx:xt,deps:null,nodes:null,f:t|tt|ut,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},o=r;if((t&Ne)!==0)Oe!==null?Oe.push(r):qt.ensure().schedule(r);else if(e!==null){try{De(r)}catch(l){throw rt(r),l}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&re)===0&&(o=o.first,(t&te)!==0&&(t&Re)!==0&&o!==null&&(o.f|=Re))}if(o!==null&&(o.parent=n,n!==null&&oi(o,n),$!==null&&($.f&Y)!==0&&(t&ee)===0)){var i=$;(i.effects??=[]).push(o)}return r}function zn(){return $!==null&&!Ot}function ii(t){const e=Gt(rn,null);return G(e,F),e.teardown=t,e}function li(t){ri();var e=A.f,n=!$&&(e&Nt)!==0&&(e&ne)===0;if(n){var r=xt;(r.e??=[]).push(t)}else return zr(t)}function zr(t){return Gt(Ne|wo,t)}function ai(t){qt.ensure();const e=Gt(ee|re,t);return()=>{rt(e)}}function si(t){qt.ensure();const e=Gt(ee|re,t);return(n={})=>new Promise(r=>{n.outro?he(e,()=>{rt(e),r(void 0)}):(rt(e),r(void 0))})}function mi(t){return Gt(Ne,t)}function pi(t){return Gt(wn|re,t)}function Or(t,e=0){return Gt(rn|e,t)}function L(t,e=[],n=[],r=[]){Ko(r,e,n,o=>{Gt(rn,()=>t(...o.map(x)))})}function vn(t,e=0){var n=Gt(te|e,t);return n}function wt(t){return Gt(Nt|re,t)}function Cr(t){var e=t.teardown;if(e!==null){const n=me,r=$;Ir(!0),mt(null);try{e.call(null)}finally{Ir(n),mt(r)}}}function On(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const o=n.ac;o!==null&&Tr(()=>{o.abort(Ut)});var r=n.next;(n.f&ee)!==0?n.parent=null:rt(n,e),n=r}}function di(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Nt)===0&&rt(e),e=n}}function rt(t,e=!0){var n=!1;(e||(t.f&tr)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(vi(t.nodes.start,t.nodes.end),n=!0),G(t,Zn),On(t,e&&!n),Ue(t,0);var r=t.nodes&&t.nodes.t;if(r!==null)for(const i of r)i.stop();Cr(t),t.f^=Zn,t.f|=ht;var o=t.parent;o!==null&&o.first!==null&&Br(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function vi(t,e){for(;t!==null;){var n=t===e?null:yt(t);t.remove(),t=n}}function Br(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function he(t,e,n=!0){var r=[];Dr(t,r,!0);var o=()=>{n&&rt(t),e&&e()},i=r.length;if(i>0){var l=()=>--i||o();for(var a of r)a.out(l)}else o()}function Dr(t,e,n){if((t.f&ft)===0){t.f^=ft;var r=t.nodes&&t.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&e.push(a);for(var o=t.first;o!==null;){var i=o.next,l=(o.f&Re)!==0||(o.f&Nt)!==0&&(t.f&te)!==0;Dr(o,e,l?n:!1),o=i}}}function Cn(t){Mr(t,!0)}function Mr(t,e){if((t.f&ft)!==0){t.f^=ft,(t.f&F)===0&&(G(t,tt),qt.ensure().schedule(t));for(var n=t.first;n!==null;){var r=n.next,o=(n.f&Re)!==0||(n.f&Nt)!==0;Mr(n,o?e:!1),n=r}var i=t.nodes&&t.nodes.t;if(i!==null)for(const l of i)(l.is_global||e)&&l.in()}}function Bn(t,e){if(t.nodes)for(var n=t.nodes.start,r=t.nodes.end;n!==null;){var o=n===r?null:yt(n);e.append(n),n=o}}let gn=!1,me=!1;function Ir(t){me=t}let $=null,Ot=!1;function mt(t){$=t}let A=null;function _t(t){A=t}let $t=null;function gi(t){$!==null&&($t===null?$t=[t]:$t.push(t))}let pt=null,kt=0,jt=null;function ci(t){jt=t}let Lr=1,xe=0,ye=xe;function Pr(t){ye=t}function Gr(){return++Lr}function Je(t){var e=t.f;if((e&tt)!==0)return!0;if(e&Y&&(t.f&=~fe),(e&It)!==0){for(var n=t.deps,r=n.length,o=0;o<r;o++){var i=n[o];if(Je(i)&&xr(i),i.wv>t.wv)return!0}(e&ut)!==0&&Rt===null&&G(t,F)}return!1}function Fr(t,e,n=!0){var r=t.reactions;if(r!==null&&!($t!==null&&Se.call($t,t)))for(var o=0;o<r.length;o++){var i=r[o];(i.f&Y)!==0?Fr(i,e,!1):e===i&&(n?G(i,tt):(i.f&F)!==0&&G(i,It),En(i))}}function Jr(t){var e=pt,n=kt,r=jt,o=$,i=$t,l=xt,a=Ot,s=ye,m=t.f;pt=null,kt=0,jt=null,$=(m&(Nt|ee))===0?t:null,$t=null,ze(t.ctx),Ot=!1,ye=++xe,t.ac!==null&&(Tr(()=>{t.ac.abort(Ut)}),t.ac=null);try{t.f|=yn;var p=t.fn,g=p();t.f|=ne;var d=t.deps,c=C?.is_fork;if(pt!==null){var f;if(c||Ue(t,kt),d!==null&&kt>0)for(d.length=kt+pt.length,f=0;f<pt.length;f++)d[kt+f]=pt[f];else t.deps=d=pt;if(zn()&&(t.f&ut)!==0)for(f=kt;f<d.length;f++)(d[f].reactions??=[]).push(t)}else!c&&d!==null&&kt<d.length&&(Ue(t,kt),d.length=kt);if(ar()&&jt!==null&&!Ot&&d!==null&&(t.f&(Y|It|tt))===0)for(f=0;f<jt.length;f++)Fr(jt[f],t);if(o!==null&&o!==t){if(xe++,o.deps!==null)for(let y=0;y<n;y+=1)o.deps[y].rv=xe;if(e!==null)for(const y of e)y.rv=xe;jt!==null&&(r===null?r=jt:r.push(...jt))}return(t.f&oe)!==0&&(t.f^=oe),g}catch(y){return mr(y)}finally{t.f^=yn,pt=e,kt=n,jt=r,$=o,$t=i,ze(l),Ot=a,ye=s}}function fi(t,e){let n=e.reactions;if(n!==null){var r=bo.call(n,t);if(r!==-1){var o=n.length-1;o===0?n=e.reactions=null:(n[r]=n[o],n.pop())}}if(n===null&&(e.f&Y)!==0&&(pt===null||!Se.call(pt,e))){var i=e;(i.f&ut)!==0&&(i.f^=ut,i.f&=~fe),_n(i),ei(i),Ue(i,0)}}function Ue(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)fi(t,n[r])}function De(t){var e=t.f;if((e&ht)===0){G(t,F);var n=A,r=gn;A=t,gn=!0;try{(e&(te|Xn))!==0?di(t):On(t),Cr(t);var o=Jr(t);t.teardown=typeof o=="function"?o:null,t.wv=Lr;var i;fo&&Po&&(t.f&tt)!==0&&t.deps}finally{gn=r,A=n}}}function x(t){var e=t.f,n=(e&Y)!==0;if($!==null&&!Ot){var r=A!==null&&(A.f&ht)!==0;if(!r&&($t===null||!Se.call($t,t))){var o=$.deps;if(($.f&yn)!==0)t.rv<xe&&(t.rv=xe,pt===null&&o!==null&&o[kt]===t?kt++:pt===null?pt=[t]:pt.push(t));else{($.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[$]:Se.call(i,$)||i.push($)}}}if(me&&ae.has(t))return ae.get(t);if(n){var l=t;if(me){var a=l.v;return((l.f&F)===0&&l.reactions!==null||qr(l))&&(a=Sn(l)),ae.set(l,a),a}var s=(l.f&ut)===0&&!Ot&&$!==null&&(gn||($.f&ut)!==0),m=(l.f&ne)===0;Je(l)&&(s&&(l.f|=ut),xr(l)),s&&!m&&(yr(l),Ur(l))}if(Rt?.has(t))return Rt.get(t);if((t.f&oe)!==0)throw t.v;return t.v}function Ur(t){if(t.f|=ut,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&Y)!==0&&(e.f&ut)===0&&(yr(e),Ur(e))}function qr(t){if(t.v===K)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(ae.has(e)||(e.f&Y)!==0&&qr(e))return!0;return!1}function Hr(t){var e=Ot;try{return Ot=!0,t()}finally{Ot=e}}const qe=Symbol("events"),Yr=new Set,Dn=new Set;function He(t,e,n){(e[qe]??={})[t]=n}function bi(t){for(var e=0;e<t.length;e++)Yr.add(t[e]);for(var n of Dn)n(t)}let Vr=null;function Wr(t){var e=this,n=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],i=o[0]||t.target;Vr=t;var l=0,a=Vr===t&&t[qe];if(a){var s=o.indexOf(a);if(s!==-1&&(e===document||e===window)){t[qe]=e;return}var m=o.indexOf(e);if(m===-1)return;s<=m&&(l=s)}if(i=o[l]||t.target,i!==e){nn(t,"currentTarget",{configurable:!0,get(){return i||n}});var p=$,g=A;mt(null),_t(null);try{for(var d,c=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var y=i[qe]?.[r];y!=null&&(!i.disabled||t.target===i)&&y.call(i,t)}catch(v){d?c.push(v):d=v}if(t.cancelBubble||f===e||f===null)break;i=f}if(d){for(let v of c)queueMicrotask(()=>{throw v});throw d}}finally{t[qe]=e,delete t.currentTarget,mt(p),_t(g)}}}const ki=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function ui(t){return ki?.createHTML(t)??t}function hi(t){var e=Tn("template");return e.innerHTML=ui(t.replaceAll("<!>","<!---->")),e.content}function pe(t,e){var n=A;n.nodes===null&&(n.nodes={start:t,end:e,a:null,t:null})}function R(t,e){var n=(e&go)!==0,r=(e&co)!==0,o,i=!t.startsWith("<!>");return()=>{if(E)return pe(N,null),N;o===void 0&&(o=hi(i?t:"<!>"+t),n||(o=se(o)));var l=r||Er?document.importNode(o,!0):o.cloneNode(!0);if(n){var a=se(l),s=l.lastChild;pe(a,s)}else pe(l,l);return l}}function xi(t=""){if(!E){var e=nt(t+"");return pe(e,e),e}var n=N;return n.nodeType!==Le?(n.before(n=nt()),X(n)):dn(n),pe(n,n),n}function Ft(){if(E)return pe(N,null),N;var t=document.createDocumentFragment(),e=document.createComment(""),n=nt();return t.append(e,n),pe(e,n),t}function h(t,e){if(E){var n=A;((n.f&ne)===0||n.nodes.end===null)&&(n.nodes.end=N),Pe();return}t!==null&&t.before(e)}const yi=["touchstart","touchmove"];function wi(t){return yi.includes(t)}function Ct(t,e){var n=e==null?"":typeof e=="object"?`${e}`:e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=`${n}`)}function Kr(t,e){return Xr(t,e)}function _i(t,e){Rn(),e.intro=e.intro??!1;const n=e.target,r=E,o=N;try{for(var i=se(n);i&&(i.nodeType!==Te||i.data!==Un);)i=yt(i);if(!i)throw Ae;bt(!0),X(i);const l=Xr(t,{...e,anchor:i});return bt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Ae&&console.warn("Failed to hydrate: ",l),e.recover===!1&&To(),Rn(),Nr(n),bt(!1),Kr(t,e)}finally{bt(r),X(o)}}const cn=new Map;function Xr(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0,transformError:a}){Rn();var s=void 0,m=si(()=>{var p=n??e.appendChild(nt());Vo(p,{pending:()=>{}},c=>{ir({});var f=xt;if(i&&(f.c=i),o&&(r.$$events=o),E&&pe(c,null),s=t(c,r)||{},E&&(A.nodes.end=N,N===null||N.nodeType!==Te||N.data!==hn))throw ln(),Ae;lr()},a);var g=new Set,d=c=>{for(var f=0;f<c.length;f++){var y=c[f];if(!g.has(y)){g.add(y);var v=wi(y);for(const T of[e,document]){var j=cn.get(T);j===void 0&&(j=new Map,cn.set(T,j));var z=j.get(y);z===void 0?(T.addEventListener(y,Wr,{passive:v}),j.set(y,1)):j.set(y,z+1)}}}};return d(tn(Yr)),Dn.add(d),()=>{for(var c of g)for(const v of[e,document]){var f=cn.get(v),y=f.get(c);--y==0?(v.removeEventListener(c,Wr),f.delete(c),f.size===0&&cn.delete(v)):f.set(c,y)}Dn.delete(d),p!==n&&p.parentNode?.removeChild(p)}});return Mn.set(s,m),s}let Mn=new WeakMap;function $i(t,e){const n=Mn.get(t);return n?(Mn.delete(t),n(e)):Promise.resolve()}class ji{anchor;#t=new Map;#n=new Map;#e=new Map;#o=new Set;#i=!0;constructor(e,n=!0){this.anchor=e,this.#i=n}#r=e=>{if(this.#t.has(e)){var n=this.#t.get(e),r=this.#n.get(n);if(r)Cn(r),this.#o.delete(n);else{var o=this.#e.get(n);o&&(this.#n.set(n,o.effect),this.#e.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,l]of this.#t){if(this.#t.delete(i),i===e)break;const a=this.#e.get(l);a&&(rt(a.effect),this.#e.delete(l))}for(const[i,l]of this.#n){if(i===n||this.#o.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var m=document.createDocumentFragment();Bn(l,m),m.append(nt()),this.#e.set(i,{effect:l,fragment:m})}else rt(l);this.#o.delete(i),this.#n.delete(i)};this.#i||!r?(this.#o.add(i),he(l,a,!1)):a()}}};#l=e=>{this.#t.delete(e);const n=Array.from(this.#t.values());for(const[r,o]of this.#e)n.includes(r)||(rt(o.effect),this.#e.delete(r))};ensure(e,n){var r=C,o=Rr();if(n&&!this.#n.has(e)&&!this.#e.has(e))if(o){var i=document.createDocumentFragment(),l=nt();i.append(l),this.#e.set(e,{effect:wt(()=>n(l)),fragment:i})}else this.#n.set(e,wt(()=>n(this.anchor)));if(this.#t.set(r,e),o){for(const[a,s]of this.#n)a===e?r.unskip_effect(s):r.skip_effect(s);for(const[a,s]of this.#e)a===e?r.unskip_effect(s.effect):r.skip_effect(s.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else E&&(this.anchor=N),this.#r(r)}}function M(t,e,n=!1){var r;E&&(r=N,Pe());var o=new ji(t),i=n?Re:0;function l(a,s){if(E){var m=nr(r);if(a!==parseInt(m.substring(1))){var p=an();X(p),o.anchor=p,bt(!1),o.ensure(a,s),bt(!0);return}}o.ensure(a,s)}vn(()=>{var a=!1;e((s,m=0)=>{a=!0,l(m,s)}),a||l(-1,null)},i)}function Ei(t,e,n){for(var r=[],o=e.length,i,l=e.length,a=0;a<o;a++){let g=e[a];he(g,()=>{if(i){if(i.pending.delete(g),i.done.add(g),i.pending.size===0){var d=t.outrogroups;In(t,tn(i.done)),d.delete(i),d.size===0&&(t.outrogroups=null)}}else l-=1},!1)}if(l===0){var s=r.length===0&&n!==null;if(s){var m=n,p=m.parentNode;Nr(p),p.append(m),t.items.clear()}In(t,e,!s)}else i={pending:new Set(e),done:new Set},(t.outrogroups??=new Set).add(i)}function In(t,e,n=!0){var r;if(t.pending.size>0){r=new Set;for(const l of t.pending.values())for(const a of l)r.add(t.items.get(a).e)}for(var o=0;o<e.length;o++){var i=e[o];if(r?.has(i)){i.f|=Lt;const l=document.createDocumentFragment();Bn(i,l)}else rt(e[o],n)}}var Zr;function we(t,e,n,r,o,i=null){var l=t,a=new Map,s=(e&Jn)!==0;if(s){var m=t;l=E?X(se(m)):m.appendChild(nt())}E&&Pe();var p=null,g=hr(()=>{var T=n();return Yn(T)?T:T==null?[]:tn(T)}),d,c=new Map,f=!0;function y(T){(z.effect.f&ht)===0&&(z.pending.delete(T),z.fallback=p,Ai(z,d,l,e,r),p!==null&&(d.length===0?(p.f&Lt)===0?Cn(p):(p.f^=Lt,Ve(p,null,l)):he(p,()=>{p=null})))}function v(T){z.pending.delete(T)}var j=vn(()=>{d=x(g);var T=d.length;let b=!1;if(E){var S=nr(l)===un;S!==(T===0)&&(l=an(),X(l),bt(!1),b=!0)}for(var B=new Set,V=C,Bt=Rr(),dt=0;dt<T;dt+=1){E&&N.nodeType===Te&&N.data===hn&&(l=N,b=!0,bt(!1));var it=d[dt],vt=r(it,dt),Z=f?null:a.get(vt);Z?(Z.v&&Ce(Z.v,it),Z.i&&Ce(Z.i,dt),Bt&&V.unskip_effect(Z.e)):(Z=Si(a,f?l:Zr??=nt(),it,vt,dt,o,e,n),f||(Z.e.f|=Lt),a.set(vt,Z)),B.add(vt)}if(T===0&&i&&!p&&(f?p=wt(()=>i(l)):(p=wt(()=>i(Zr??=nt())),p.f|=Lt)),T>B.size&&Eo(),E&&T>0&&X(an()),!f)if(c.set(V,B),Bt){for(const[Me,Ke]of a)B.has(Me)||V.skip_effect(Ke.e);V.oncommit(y),V.ondiscard(v)}else y(V);b&&bt(!0),x(g)}),z={effect:j,items:a,pending:c,outrogroups:null,fallback:p};f=!1,E&&(l=N)}function Ye(t){for(;t!==null&&(t.f&Nt)===0;)t=t.next;return t}function Ai(t,e,n,r,o){var i=(r&lo)!==0,l=e.length,a=t.items,s=Ye(t.effect.first),m,p=null,g,d=[],c=[],f,y,v,j;if(i)for(j=0;j<l;j+=1)f=e[j],y=o(f,j),v=a.get(y).e,(v.f&Lt)===0&&(v.nodes?.a?.measure(),(g??=new Set).add(v));for(j=0;j<l;j+=1){if(f=e[j],y=o(f,j),v=a.get(y).e,t.outrogroups!==null)for(const it of t.outrogroups)it.pending.delete(v),it.done.delete(v);if((v.f&ft)!==0&&(Cn(v),i&&(v.nodes?.a?.unfix(),(g??=new Set).delete(v))),(v.f&Lt)!==0)if(v.f^=Lt,v===s)Ve(v,null,n);else{var z=p?p.next:s;v===t.effect.last&&(t.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),de(t,p,v),de(t,v,z),Ve(v,z,n),p=v,d=[],c=[],s=Ye(p.next);continue}if(v!==s){if(m!==void 0&&m.has(v)){if(d.length<c.length){var T=c[0],b;p=T.prev;var S=d[0],B=d[d.length-1];for(b=0;b<d.length;b+=1)Ve(d[b],T,n);for(b=0;b<c.length;b+=1)m.delete(c[b]);de(t,S.prev,B.next),de(t,p,S),de(t,B,T),s=T,p=B,j-=1,d=[],c=[]}else m.delete(v),Ve(v,s,n),de(t,v.prev,v.next),de(t,v,p===null?t.effect.first:p.next),de(t,p,v),p=v;continue}for(d=[],c=[];s!==null&&s!==v;)(m??=new Set).add(s),c.push(s),s=Ye(s.next);if(s===null)continue}(v.f&Lt)===0&&d.push(v),p=v,s=Ye(v.next)}if(t.outrogroups!==null){for(const it of t.outrogroups)it.pending.size===0&&(In(t,tn(it.done)),t.outrogroups?.delete(it));t.outrogroups.size===0&&(t.outrogroups=null)}if(s!==null||m!==void 0){var V=[];if(m!==void 0)for(v of m)(v.f&ft)===0&&V.push(v);for(;s!==null;)(s.f&ft)===0&&s!==t.fallback&&V.push(s),s=Ye(s.next);var Bt=V.length;if(Bt>0){var dt=(r&Jn)!==0&&l===0?n:null;if(i){for(j=0;j<Bt;j+=1)V[j].nodes?.a?.measure();for(j=0;j<Bt;j+=1)V[j].nodes?.a?.fix()}Ei(t,V,dt)}}i&&ke(()=>{if(g!==void 0)for(v of g)v.nodes?.a?.apply()})}function Si(t,e,n,r,o,i,l,a){var s=(l&oo)!==0?(l&ao)===0?_r(n,!1,!1):ue(n):null,m=(l&io)!==0?ue(o):null;return{v:s,i:m,e:wt(()=>(i(e,s??n,m??o,a),()=>{t.delete(r)}))}}function Ve(t,e,n){if(t.nodes)for(var r=t.nodes.start,o=t.nodes.end,i=e&&(e.f&Lt)===0?e.nodes.start:n;r!==null;){var l=yt(r);if(i.before(r),r===o)return;r=l}}function de(t,e,n){e===null?t.effect.first=n:e.next=n,n===null?t.effect.last=e:n.prev=e}function We(t,e,n,r,o){E&&Pe();var i=e.$$slots?.[n],l=!1;i===!0&&(i=e[n==="default"?"children":n],l=!0),i===void 0?o!==null&&o(t):i(t,l?()=>r:r)}function Ni(t,e){let n=null,r=E;var o;if(E){n=N;for(var i=se(document.head);i!==null&&(i.nodeType!==Te||i.data!==t);)i=yt(i);if(i===null)bt(!1);else{var l=yt(i);i.remove(),X(l)}}E||(o=document.head.appendChild(nt()));try{vn(()=>e(o),tr|re)}finally{r&&(bt(!0),X(n))}}function Ri(t,e){mi(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=Tn("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function Ti(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function J(t,e,n,r,o,i){var l=t.__className;if(E||l!==n||l===void 0){var a=Ti(n,r);(!E||a!==t.getAttribute("class"))&&(a==null?t.removeAttribute("class"):t.className=a),t.__className=n}return i}const zi=Symbol("is custom element"),Oi=Symbol("is html"),Ci=$o?"link":"LINK";function fn(t,e,n,r){var o=Bi(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Ci)||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&Qr(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function ot(t,e,n){var r=$,o=A;let i=E;E&&bt(!1),mt(null),_t(null);try{e!=="style"&&(Ln.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Qr(t).includes(e):n&&typeof n=="object")?t[e]=n:fn(t,e,n==null?n:String(n))}finally{mt(r),_t(o),i&&bt(!0)}}function Bi(t){return t.__attributes??={[zi]:t.nodeName.includes("-"),[Oi]:t.namespaceURI===Hn}}var Ln=new Map;function Qr(t){var e=t.getAttribute("is")||t.nodeName,n=Ln.get(e);if(n)return n;Ln.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=ko(o);for(var l in r)r[l].set&&n.push(l);o=Vn(o)}return n}function Vt(t,e,n,r){var o=(n&po)!==0,i=(n&vo)!==0,l=r,a=!0,s=()=>(a&&(a=!1,l=i?Hr(r):r),l);let m;if(o){var p=on in t||er in t;m=ce(t,e)?.set??(p&&e in t?z=>t[e]=z:void 0)}var g,d=!1;o?[g,d]=Jo(()=>t[e]):g=t[e],g===void 0&&r!==void 0&&(g=s(),m&&(zo(),m(g)));var c;if(c=()=>{var z=t[e];return z===void 0?s():(a=!0,z)},(n&mo)===0)return c;if(m){var f=t.$$legacy;return(function(z,T){return arguments.length>0?((!T||f||d)&&m(T?c():z),z):c()})}var y=!1,v=((n&so)!==0?An:hr)(()=>(y=!1,c()));o&&x(v);var j=A;return(function(z,T){if(arguments.length>0){const b=T?x(v):o?Be(z):z;return Tt(v,b),y=!0,l!==void 0&&(l=b),z}return me&&y||(j.f&ht)!==0?v.v:x(v)})}function Di(t){return new Mi(t)}class Mi{#t;#n;constructor(e){var n=new Map,r=(i,l)=>{var a=_r(l,!1,!1);return n.set(i,a),a};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return x(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===er?!0:(x(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,a){return Tt(n.get(l)??r(l,a),a),Reflect.set(i,l,a)}});this.#n=(e.hydrate?_i:Kr)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&Pt(),this.#t=o.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||nn(this,i,{get(){return this.#n[i]},set(l){this.#n[i]=l},enumerable:!0});this.#n.$set=i=>{Object.assign(o,i)},this.#n.$destroy=()=>{$i(this.#n)}}$set(e){this.#n.$set(e)}$on(e,n){this.#t[e]=this.#t[e]||[];const r=(...o)=>n.call(this,...o);return this.#t[e].push(r),()=>{this.#t[e]=this.#t[e].filter(o=>o!==r)}}$destroy(){this.#n.$destroy()}}let to;typeof HTMLElement=="function"&&(to=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return o=>{const i=Tn("slot");r!=="default"&&(i.name=r),h(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ii(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const o=this.$$g_p(r.name);o in this.$$d||(this.$$d[o]=bn(o,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Di({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ai(()=>{Or(()=>{this.$$r=!0;for(const r of en(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=bn(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1})});for(const r in this.$$l)for(const o of this.$$l[r]){const i=this.$$c.$on(r,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=bn(t,n,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 en(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function bn(t,e,n,r){const o=n[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="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 Ii(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function Li(t,e,n,r,o,i){let l=class extends to{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return en(e).map(a=>(e[a].attribute||a).toLowerCase())}};return en(e).forEach(a=>{nn(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=bn(a,s,e),this.$$d[a]=s;var m=this.$$c;if(m){var p=ce(m,a)?.get;p?m[a]=s:m.$set({[a]:s})}}})}),r.forEach(a=>{nn(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}const Pi={version:"0.66.1"};var _e={},eo;function Gi(){if(eo)return _e;eo=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.LanguageTranslator=void 0,_e.getChildStyleToPass=t,_e.addComponent=e;function t(r,o){var i,l,a="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||l===void 0)&&l.length))for(var s=function(d){var c=o?.filter(function(f){return f.name===d&&f.defaultValue!==r[d]});c&&(a+="".concat(d,":").concat(r[d],";"))},m=0,p=Object.keys(r);m<p.length;m++){var g=p[m];s(g)}}catch(d){console.error("error getting child style to pass",d)}finally{return a}}function e(r){var o,i=((o=r?.repoName.split("/"))===null||o===void 0?void 0:o[1])||r?.repoName;if(!i)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var s=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(s+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(m){console.warn(m)}}var n=(function(){function r(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return r.prototype.setLang=function(o){o||(o=r.getDefaultLang()),this.lang=o},r.prototype.translateWord=function(o,i){return r.getDictionaryWord(o,this.dictionary,i||this.lang)},r.prototype.translateDate=function(o,i,l){return r.formatDate(o,i,l||this.lang)},r.getDefaultLang=function(){var o,i,l,a="en";return navigator?.languages&&(!((l=(i=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||l===void 0)&&l.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(o,i,l){var a;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((a=i[l])===null||a===void 0)&&a[o]))return i[l][o];var s="",m=r.getDefaultLang();if(!l||m!==l){var p=i?.[m];p?.[o]&&(s=p[o])}return s},r.formatDate=function(o,i,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||r.getDefaultLang(),i);return a.format(o)},r})();return _e.LanguageTranslator=n,_e}var Fi=Gi(),Ji=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Ui=R('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),qi=R('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Hi=R('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Yi=R('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>'),Vi=R('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div style="margin-top:10px;" class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>'),Wi=R('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ki=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Zi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Qi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),tl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),el=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),nl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),rl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ol=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),sl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),ml=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),pl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),dl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),vl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),gl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),cl=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),fl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),bl=R('<div class="row svelte-1tntk73"><div style="padding:20px 20px"><div class="row svelte-1tntk73"><div class="col svelte-1tntk73"><!> </div></div> <div id="description" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="company" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="fiscal" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div></div> <!> <!> <!></div>'),kl=R('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),ul=R('<button class="btn btn-link svelte-1tntk73"> </button>'),hl=R('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),xl=R('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),yl=R('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),wl=R('<footer class="svelte-1tntk73"><!></footer>');const _l={hash:"svelte-1tntk73",code:`@charset "UTF-8";
3
3
  @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
  /*!
@@ -7,7 +7,7 @@
7
7
  * Copyright 2011-2021 The Bootstrap Authors
8
8
  * Copyright 2011-2021 Twitter, Inc.
9
9
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-1tntk73,
10
+ */.svelte-1tntk73,
11
11
  .svelte-1tntk73::before,
12
12
  .svelte-1tntk73::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -181,5 +181,5 @@ button.svelte-1tntk73 {margin:0;font-family:inherit;font-size:inherit;line-heigh
181
181
  @media (min-width: 1200px) {.fs-1.svelte-1tntk73 {font-size:2.5rem !important;}.fs-2.svelte-1tntk73 {font-size:2rem !important;}.fs-3.svelte-1tntk73 {font-size:1.75rem !important;}.fs-4.svelte-1tntk73 {font-size:1.5rem !important;}
182
182
  }
183
183
  @media print {.d-print-inline.svelte-1tntk73 {display:inline !important;}.d-print-inline-block.svelte-1tntk73 {display:inline-block !important;}.d-print-block.svelte-1tntk73 {display:block !important;}.d-print-grid.svelte-1tntk73 {display:grid !important;}.d-print-inline-grid.svelte-1tntk73 {display:inline-grid !important;}.d-print-table.svelte-1tntk73 {display:table !important;}.d-print-table-row.svelte-1tntk73 {display:table-row !important;}.d-print-table-cell.svelte-1tntk73 {display:table-cell !important;}.d-print-flex.svelte-1tntk73 {display:flex !important;}.d-print-inline-flex.svelte-1tntk73 {display:inline-flex !important;}.d-print-none.svelte-1tntk73 {display:none !important;}
184
- }:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-1tntk73 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-1tntk73 {height:50px;}hb-contact-item.svelte-1tntk73 {display:block;margin-bottom:20px;}`};function io(t,e){br(e,!0),wi(t,fl);ue({});let n=Wt(e,"id",7,""),r=Wt(e,"type",7,"regular"),o=Wt(e,"company",7),i=Wt(e,"brandandcontacts",7,void 0),l=Wt(e,"columns",23,()=>[]),s=Wt(e,"disable_expanding_small",7,!1),a=Wt(e,"socials",7,void 0),m=Wt(e,"contacts",7,void 0),d=Wt(e,"policies",7,void 0),b=zt(""),p=zt(!1);ni(()=>{if(r()!=="small"&&r()!=="regular"&&r()!=="large"&&r("regular"),typeof s()=="string"&&(s()==="yes"||s()==="true"?s(!0):s(!1)),!o())console.warn("no company provided!");else if(typeof o()=="string")try{o(JSON.parse(o()))}catch{console.warn("company is not a valid JSON")}if(typeof l()=="string")try{l(JSON.parse(l()))}catch{console.warn("columns is not a valid JSON")}let f=0;for(const _ of l())_._id||(_._id="ccc_"+f.toString()),f++;if(typeof i()=="string")try{i(JSON.parse(i()))}catch{}if(typeof a()=="string")try{a(JSON.parse(a()))}catch{console.warn("socials is not a valid JSON")}if(typeof m()=="string")try{m(JSON.parse(m()));let _=0;if(m().phones?.length)for(const L of m().phones)_++,L._id||(L._id=_.toString());if(m().emails?.length)for(const L of m().emails)_++,L._id||(L._id=_.toString());if(m().addresses?.length)for(const L of m().addresses)_++,L._id||(L._id=_.toString());if(m().sites?.length)for(const L of m().sites)_++,L._id||(L._id=_.toString())}catch{}if(typeof d()=="string")try{d(JSON.parse(d()))}catch{}});function v(f,_){e.$$host.dispatchEvent(new CustomEvent(f,{detail:_}))}function w(f){v("footerClick",{elClick:f})}Bi.addComponent({repoName:"@htmlbricks/hb-contact-item",version:Oi.version});var z={get id(){return n()},set id(f=""){n(f),Bt()},get type(){return r()},set type(f="regular"){r(f),Bt()},get company(){return o()},set company(f){o(f),Bt()},get brandandcontacts(){return i()},set brandandcontacts(f=void 0){i(f),Bt()},get columns(){return l()},set columns(f=[]){l(f),Bt()},get disable_expanding_small(){return s()},set disable_expanding_small(f=!1){s(f),Bt()},get socials(){return a()},set socials(f=void 0){a(f),Bt()},get contacts(){return m()},set contacts(f=void 0){m(f),Bt()},get policies(){return d()},set policies(f=void 0){d(f),Bt()}},c=cl();yi("1tntk73",f=>{var _=Di();k(f,_)});var N=x(c);{var B=f=>{var _=Pi(),L=x(_),ft=x(L);{var At=U=>{var kt=Li();kt.__click=()=>{Ot(p,!0)},k(U,kt)};S(ft,U=>{s()||U(At)})}var tt=O(ft,2),It=x(tt);Xe(It,e,"footer_small",{},U=>{var kt=V(),ut=F(kt);{var J=Kt=>{var Pt=Ii(),Ce=x(Pt);{var Be=et=>{var W=Mi(),ht=x(W);u(W),M(()=>$n(ht,"src",o().logoUri)),k(et,W)};S(Ce,et=>{o().logoUri&&et(Be)})}var Vn=O(Ce);u(Pt),M(et=>Ct(Vn,` ${et??""}`),[()=>new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),k(Kt,Pt)};S(ut,Kt=>{o()?.siteName&&Kt(J)})}k(U,kt)}),u(tt),u(L),u(_),k(f,_)},ct=f=>{var _=V(),L=F(_);{var ft=tt=>{var It=gl(),U=F(It);{var kt=et=>{var W=Gi(),ht=x(W),Xt=x(ht);Xt.__click=()=>{Ot(p,!1)},u(ht),u(W),k(et,W)};S(U,et=>{g(p)&&et(kt)})}var ut=O(U,2),J=x(ut);Xe(J,e,"footerheader",{class:"row"},et=>{});var Kt=O(J,2);Xe(Kt,e,"footercontent",{},et=>{var W=ml(),ht=x(W),Xt=x(ht),Gt=x(Xt),Zt=x(Gt);{var Ze=mt=>{var nt=Fi(),te=x(nt);u(nt),M(()=>$n(te,"src",o().logoUri)),k(mt,nt)};S(Zt,mt=>{o()?.logoUri&&mt(Ze)})}var we=O(Zt);u(Gt),u(Xt);var Qt=O(Xt,2),Qe=x(Qt,!0);u(Qt);var tn=O(Qt,2),Wn=x(tn,!0);u(tn);var Sn=O(tn,2),se=x(Sn,!0);u(Sn),u(ht);var St=O(ht,2);{var en=mt=>{var nt=Yi(),te=O(x(nt),2),ee=x(te);{var _e=I=>{var dt=V(),Rt=F(dt);fe(Rt,17,()=>m().phones,G=>G._id,(G,rt)=>{var C=Ui(),h=x(C);at(h,g(b)),M(()=>st(h,"phone",JSON.stringify(g(rt)))),P(h,1,"svelte-1tntk73"),u(C),k(G,C)}),k(I,dt)};S(ee,I=>{m().phones?.length&&I(_e)})}var Ft=O(ee,2);{var je=I=>{var dt=V(),Rt=F(dt);fe(Rt,17,()=>m().addresses,G=>G._id,(G,rt)=>{var C=Ji(),h=x(C);at(h,g(b)),M(()=>st(h,"address",JSON.stringify(g(rt)))),P(h,1,"svelte-1tntk73"),u(C),k(G,C)}),k(I,dt)};S(Ft,I=>{m().addresses?.length&&I(je)})}var $e=O(Ft,2);{var De=I=>{var dt=V(),Rt=F(dt);fe(Rt,17,()=>m().emails,G=>G._id,(G,rt)=>{var C=qi(),h=x(C);at(h,g(b)),M(()=>st(h,"email",JSON.stringify(g(rt)))),P(h,1,"svelte-1tntk73"),u(C),k(G,C)}),k(I,dt)};S($e,I=>{m().emails?.length&&I(De)})}var me=O($e,2);{var q=I=>{var dt=V(),Rt=F(dt);fe(Rt,17,()=>m().sites,G=>G._id,(G,rt)=>{var C=Hi(),h=x(C);at(h,g(b)),M(()=>st(h,"site",JSON.stringify(g(rt)))),P(h,1,"svelte-1tntk73"),u(C),k(G,C)}),k(I,dt)};S(me,I=>{m().sites?.length&&I(q)})}u(te),u(nt),M(()=>P(nt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),k(mt,nt)};S(St,mt=>{m()&&mt(en)})}var lo=O(St,2);{var kl=mt=>{var nt=el(),te=O(x(nt),2),ee=x(te);{var _e=h=>{var R=Vi(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"facebook",label:"pagina facebook",pageUri:"https://facebook.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(ee,h=>{a().facebook&&h(_e)})}var Ft=O(ee,2);{var je=h=>{var R=Wi(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"gmail",label:"pagina gmail",pageUri:"https://gmail.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(Ft,h=>{a()?.gmail&&h(je)})}var $e=O(Ft,2);{var De=h=>{var R=Ki(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"twitter",label:"pagina twitter",pageUri:"https://twitter.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S($e,h=>{a()?.twitter&&h(De)})}var me=O($e,2);{var q=h=>{var R=Xi(),T=x(R);at(T,g(b)),M(()=>st(T,"social",JSON.stringify({name:"github",label:"pagina github",pageUri:a().github}))),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(me,h=>{a()?.github&&h(q)})}var I=O(me,2);{var dt=h=>{var R=Zi(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"twitch",label:"pagina twitch",pageUri:"https://twitch.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(I,h=>{a()?.twitch&&h(dt)})}var Rt=O(I,2);{var G=h=>{var R=Qi(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"youtube",label:"pagina youtube",pageUri:"https://youtube.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(Rt,h=>{a()?.youtube&&h(G)})}var rt=O(Rt,2);{var C=h=>{var R=tl(),T=x(R);at(T,g(b)),st(T,"social",JSON.stringify({name:"discord",label:"pagina discord",pageUri:"https://discord.com"})),P(T,1,"svelte-1tntk73"),u(R),k(h,R)};S(rt,h=>{a()?.discord&&h(C)})}u(te),u(nt),M(()=>P(nt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),k(mt,nt)};S(lo,mt=>{a()&&mt(kl)})}var ul=O(lo,2);{var hl=mt=>{var nt=V(),te=F(nt);fe(te,17,l,ee=>ee._id,(ee,_e)=>{var Ft=sl(),je=x(Ft),$e=x(je,!0);u(je);var De=O(je,2);fe(De,21,()=>g(_e).cells,me=>me._id,(me,q)=>{var I=V(),dt=F(I);{var Rt=rt=>{var C=nl(),h=x(C);h.__click=()=>w(g(q)._id);var R=x(h,!0);u(h),u(C),M(()=>Ct(R,g(q).label)),k(rt,C)},G=rt=>{var C=V(),h=F(C);{var R=Le=>{var Me=rl(),nn=x(Me);at(nn,g(b)),M(()=>st(nn,"phone",JSON.stringify(g(q).phone))),P(nn,1,"svelte-1tntk73"),u(Me),k(Le,Me)},T=Le=>{var Me=V(),nn=F(Me);{var xl=Ie=>{var Pe=ol(),rn=x(Pe);at(rn,g(b)),M(()=>st(rn,"address",JSON.stringify(g(q).address))),P(rn,1,"svelte-1tntk73"),u(Pe),k(Ie,Pe)},yl=Ie=>{var Pe=V(),rn=F(Pe);{var wl=Ge=>{var Fe=il(),on=x(Fe);at(on,g(b)),M(()=>st(on,"email",JSON.stringify(g(q).email))),P(on,1,"svelte-1tntk73"),u(Fe),k(Ge,Fe)},_l=Ge=>{var Fe=V(),on=F(Fe);{var jl=Ue=>{var Je=ll(),ln=x(Je);at(ln,g(b)),M(()=>st(ln,"site",JSON.stringify(g(q).site))),P(ln,1,"svelte-1tntk73"),u(Je),k(Ue,Je)},$l=Ue=>{var Je=V(),ln=F(Je);{var El=Kn=>{var Xn=al(),Zn=x(Xn);Zn.__click=()=>w(g(q)._id);var Al=x(Zn,!0);u(Zn),u(Xn),M(()=>Ct(Al,g(q).label)),k(Kn,Xn)};S(ln,Kn=>{g(q).label&&Kn(El)},!0)}k(Ue,Je)};S(on,Ue=>{g(q).site?Ue(jl):Ue($l,!1)},!0)}k(Ge,Fe)};S(rn,Ge=>{g(q).email?Ge(wl):Ge(_l,!1)},!0)}k(Ie,Pe)};S(nn,Ie=>{g(q).address?Ie(xl):Ie(yl,!1)},!0)}k(Le,Me)};S(h,Le=>{g(q).phone?Le(R):Le(T,!1)},!0)}k(rt,C)};S(dt,rt=>{g(q).label?rt(Rt):rt(G,!1)})}k(me,I)}),u(De),u(Ft),M(()=>{P(Ft,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct($e,g(_e).title?g(_e).title:"")}),k(ee,Ft)}),k(mt,nt)};S(ul,mt=>{l()?.length&&mt(hl)})}u(W),M(()=>{P(ht,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct(we,` ${(o()?.siteName||"")??""}`),Ct(Qe,o()?.description||""),Ct(Wn,o()?.companyName||""),Ct(se,o()?.vatNumber||o()?.fiscalCode||"")}),k(et,W)});var Pt=O(Kt,2),Ce=x(Pt);Xe(Ce,e,"footerpolicy",{},et=>{var W=V(),ht=F(W);{var Xt=Gt=>{var Zt=V(),Ze=F(Zt);fe(Ze,17,d,we=>we.key,(we,Qt)=>{var Qe=vl(),tn=x(Qe);{var Wn=se=>{var St=dl(),en=x(St,!0);u(St),M(()=>{$n(St,"href",g(Qt).link),Ct(en,g(Qt).label)}),k(se,St)},Sn=se=>{var St=pl();St.__click=()=>w(g(Qt).key);var en=x(St,!0);u(St),M(()=>Ct(en,g(Qt).label)),k(se,St)};S(tn,se=>{g(Qt).link?se(Wn):se(Sn,!1)})}u(Qe),k(we,Qe)}),k(Gt,Zt)};S(ht,Gt=>{d()?.length&&Gt(Xt)})}k(et,W)}),u(Pt);var Be=O(Pt,2),Vn=x(Be);Xe(Vn,e,"footerbottom",{},et=>{var W=V(),ht=F(W);{var Xt=Gt=>{var Zt=bl(),Ze=x(Zt,!0);u(Zt),M(we=>Ct(Ze,we),[()=>o()?.registration?.text||(o().since?`${o().since?.toString()} - `:"")+new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),k(Gt,Zt)};S(ht,Gt=>{o()?.siteName&&Gt(Xt)})}k(et,W)}),u(Be),u(ut),k(tt,It)},At=tt=>{var It=V(),U=F(It);{var kt=ut=>{var J=ci("large");k(ut,J)};S(U,ut=>{r()==="large"&&ut(kt)},!0)}k(tt,It)};S(L,tt=>{r()==="regular"||r()==="small"&&g(p)?tt(ft):tt(At,!1)},!0)}k(f,_)};S(N,f=>{r()==="small"&&!g(p)?f(B):f(ct,!1)})}return u(c),k(t,c),gr(z)}bi(["click"]),customElements.define("hb-footer",zi(io,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},["footer_small","footerheader","footercontent","footerpolicy","footerbottom"],[],!0)),Qn.Component=io,Object.defineProperty(Qn,Symbol.toStringTag,{value:"Module"})})(this.footer=this.footer||{});
184
+ }:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-1tntk73 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-1tntk73 {height:50px;}hb-contact-item.svelte-1tntk73 {display:block;margin-bottom:20px;}`};function no(t,e){ir(e,!0),Ri(t,_l);let n=Vt(e,"id",7,""),r=Vt(e,"type",7,"regular"),o=Vt(e,"company",7),i=Vt(e,"brandandcontacts",7,void 0),l=Vt(e,"columns",23,()=>[]),a=Vt(e,"disable_expanding_small",7,!1),s=Vt(e,"socials",7,void 0),m=Vt(e,"contacts",7,void 0),p=Vt(e,"policies",7,void 0),g=Yt(!1);li(()=>{if(r()!=="small"&&r()!=="regular"&&r()!=="large"&&r("regular"),typeof a()=="string"&&(a()==="yes"||a()==="true"?a(!0):a(!1)),!o())console.warn("no company provided!");else if(typeof o()=="string")try{o(JSON.parse(o()))}catch{console.warn("company is not a valid JSON")}if(typeof l()=="string")try{l(JSON.parse(l()))}catch{console.warn("columns is not a valid JSON")}let b=0;for(const S of l())S._id||(S._id="ccc_"+b.toString()),b++;if(typeof i()=="string")try{i(JSON.parse(i()))}catch{}if(typeof s()=="string")try{s(JSON.parse(s()))}catch{console.warn("socials is not a valid JSON")}if(typeof m()=="string")try{m(JSON.parse(m()));let S=0;if(m().phones?.length)for(const B of m().phones)S++,B._id||(B._id=S.toString());if(m().emails?.length)for(const B of m().emails)S++,B._id||(B._id=S.toString());if(m().addresses?.length)for(const B of m().addresses)S++,B._id||(B._id=S.toString());if(m().sites?.length)for(const B of m().sites)S++,B._id||(B._id=S.toString())}catch{}if(typeof p()=="string")try{p(JSON.parse(p()))}catch{}});function d(b,S){e.$$host.dispatchEvent(new CustomEvent(b,{detail:S}))}function c(b){d("footerClick",{elClick:b})}Fi.addComponent({repoName:"@htmlbricks/hb-contact-item",version:Pi.version});var f={get id(){return n()},set id(b=""){n(b),Pt()},get type(){return r()},set type(b="regular"){r(b),Pt()},get company(){return o()},set company(b){o(b),Pt()},get brandandcontacts(){return i()},set brandandcontacts(b=void 0){i(b),Pt()},get columns(){return l()},set columns(b=[]){l(b),Pt()},get disable_expanding_small(){return a()},set disable_expanding_small(b=!1){a(b),Pt()},get socials(){return s()},set socials(b=void 0){s(b),Pt()},get contacts(){return m()},set contacts(b=void 0){m(b),Pt()},get policies(){return p()},set policies(b=void 0){p(b),Pt()}},y=wl();Ni("1tntk73",b=>{var S=Ji();h(b,S)});var v=u(y);{var j=b=>{var S=Yi(),B=u(S),V=u(B);{var Bt=vt=>{var Z=Ui();He("click",Z,()=>{Tt(g,!0)}),h(vt,Z)};M(V,vt=>{a()||vt(Bt)})}var dt=D(V,2),it=u(dt);We(it,e,"footer_small",{},vt=>{var Z=Ft(),Me=zt(Z);{var Ke=gt=>{var Q=Hi(),ct=u(Q);{var Dt=lt=>{var Wt=qi(),Kt=u(Wt);k(Wt),L(()=>fn(Kt,"src",o().logoUri)),h(lt,Wt)};M(ct,lt=>{o().logoUri&&lt(Dt)})}var Et=D(ct);k(Q),L(lt=>Ct(Et,` ${lt??""}`),[()=>new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),h(gt,Q)};M(Me,gt=>{o()?.siteName&&gt(Ke)})}h(vt,Z)}),k(dt),k(B),k(S),h(b,S)},z=b=>{var S=yl(),B=zt(S);{var V=gt=>{var Q=Vi(),ct=u(Q),Dt=u(ct);k(ct),k(Q),He("click",Dt,()=>{Tt(g,!1)}),h(gt,Q)};M(B,gt=>{x(g)&&gt(V)})}var Bt=D(B,2),dt=u(Bt);We(dt,e,"footerheader",{class:"row"},gt=>{});var it=D(dt,2);We(it,e,"footercontent",{},gt=>{var Q=bl(),ct=u(Q),Dt=u(ct),Et=u(Dt),lt=u(Et);{var Wt=at=>{var et=Wi(),Zt=u(et);k(et),L(()=>fn(Zt,"src",o().logoUri)),h(at,et)};M(lt,at=>{o()?.logoUri&&at(Wt)})}var Kt=D(lt);k(Et),k(Dt);var Xt=D(Dt,2),Xe=u(Xt,!0);k(Xt);var Ze=D(Xt,2),Pn=u(Ze,!0);k(Ze);var kn=D(Ze,2),ve=u(kn,!0);k(kn),k(ct);var At=D(ct,2);{var Qe=at=>{var et=tl(),Zt=D(u(et),2),Qt=u(Zt);{var $e=P=>{var st=Ft(),St=zt(st);we(St,17,()=>m().phones,U=>U._id,(U,Mt)=>{var q=Ki(),w=u(q);L(()=>ot(w,"phone",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(P,st)};M(Qt,P=>{m().phones?.length&&P($e)})}var Jt=D(Qt,2);{var je=P=>{var st=Ft(),St=zt(st);we(St,17,()=>m().addresses,U=>U._id,(U,Mt)=>{var q=Xi(),w=u(q);L(()=>ot(w,"address",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(P,st)};M(Jt,P=>{m().addresses?.length&&P(je)})}var Ee=D(Jt,2);{var Ie=P=>{var st=Ft(),St=zt(st);we(St,17,()=>m().emails,U=>U._id,(U,Mt)=>{var q=Zi(),w=u(q);L(()=>ot(w,"email",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(P,st)};M(Ee,P=>{m().emails?.length&&P(Ie)})}var ge=D(Ee,2);{var W=P=>{var st=Ft(),St=zt(st);we(St,17,()=>m().sites,U=>U._id,(U,Mt)=>{var q=Qi(),w=u(q);L(()=>ot(w,"site",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(P,st)};M(ge,P=>{m().sites?.length&&P(W)})}k(Zt),k(et),L(()=>J(et,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),h(at,et)};M(At,at=>{m()&&at(Qe)})}var ro=D(At,2);{var $l=at=>{var et=sl(),Zt=D(u(et),2),Qt=u(Zt);{var $e=w=>{var O=el(),_=u(O);ot(_,"social",JSON.stringify({name:"facebook",label:"pagina facebook",pageUri:"https://facebook.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Qt,w=>{s().facebook&&w($e)})}var Jt=D(Qt,2);{var je=w=>{var O=nl(),_=u(O);ot(_,"social",JSON.stringify({name:"gmail",label:"pagina gmail",pageUri:"https://gmail.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Jt,w=>{s()?.gmail&&w(je)})}var Ee=D(Jt,2);{var Ie=w=>{var O=rl(),_=u(O);ot(_,"social",JSON.stringify({name:"twitter",label:"pagina twitter",pageUri:"https://twitter.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Ee,w=>{s()?.twitter&&w(Ie)})}var ge=D(Ee,2);{var W=w=>{var O=ol(),_=u(O);L(()=>ot(_,"social",JSON.stringify({name:"github",label:"pagina github",pageUri:s().github}))),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(ge,w=>{s()?.github&&w(W)})}var P=D(ge,2);{var st=w=>{var O=il(),_=u(O);ot(_,"social",JSON.stringify({name:"twitch",label:"pagina twitch",pageUri:"https://twitch.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(P,w=>{s()?.twitch&&w(st)})}var St=D(P,2);{var U=w=>{var O=ll(),_=u(O);ot(_,"social",JSON.stringify({name:"youtube",label:"pagina youtube",pageUri:"https://youtube.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(St,w=>{s()?.youtube&&w(U)})}var Mt=D(St,2);{var q=w=>{var O=al(),_=u(O);ot(_,"social",JSON.stringify({name:"discord",label:"pagina discord",pageUri:"https://discord.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Mt,w=>{s()?.discord&&w(q)})}k(Zt),k(et),L(()=>J(et,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),h(at,et)};M(ro,at=>{s()&&at($l)})}var jl=D(ro,2);{var El=at=>{var et=Ft(),Zt=zt(et);we(Zt,17,l,Qt=>Qt._id,(Qt,$e)=>{var Jt=fl(),je=u(Jt),Ee=u(je,!0);k(je);var Ie=D(je,2);we(Ie,21,()=>x($e).cells,ge=>ge._id,(ge,W)=>{var P=Ft(),st=zt(P);{var St=_=>{var I=ml(),H=u(I),Gn=u(H,!0);k(H),k(I),L(()=>Ct(Gn,x(W).label)),He("click",H,()=>c(x(W)._id)),h(_,I)},U=_=>{var I=pl(),H=u(I);L(()=>ot(H,"phone",JSON.stringify(x(W).phone))),J(H,1,"svelte-1tntk73"),k(I),h(_,I)},Mt=_=>{var I=dl(),H=u(I);L(()=>ot(H,"address",JSON.stringify(x(W).address))),J(H,1,"svelte-1tntk73"),k(I),h(_,I)},q=_=>{var I=vl(),H=u(I);L(()=>ot(H,"email",JSON.stringify(x(W).email))),J(H,1,"svelte-1tntk73"),k(I),h(_,I)},w=_=>{var I=gl(),H=u(I);L(()=>ot(H,"site",JSON.stringify(x(W).site))),J(H,1,"svelte-1tntk73"),k(I),h(_,I)},O=_=>{var I=cl(),H=u(I),Gn=u(H,!0);k(H),k(I),L(()=>Ct(Gn,x(W).label)),He("click",H,()=>c(x(W)._id)),h(_,I)};M(st,_=>{x(W).label?_(St):x(W).phone?_(U,1):x(W).address?_(Mt,2):x(W).email?_(q,3):x(W).site?_(w,4):x(W).label&&_(O,5)})}h(ge,P)}),k(Ie),k(Jt),L(()=>{J(Jt,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct(Ee,x($e).title?x($e).title:"")}),h(Qt,Jt)}),h(at,et)};M(jl,at=>{l()?.length&&at(El)})}k(Q),L(()=>{J(ct,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct(Kt,` ${(o()?.siteName||"")??""}`),Ct(Xe,o()?.description||""),Ct(Pn,o()?.companyName||""),Ct(ve,o()?.vatNumber||o()?.fiscalCode||"")}),h(gt,Q)});var vt=D(it,2),Z=u(vt);We(Z,e,"footerpolicy",{},gt=>{var Q=Ft(),ct=zt(Q);{var Dt=Et=>{var lt=Ft(),Wt=zt(lt);we(Wt,17,p,Kt=>Kt.key,(Kt,Xt)=>{var Xe=hl(),Ze=u(Xe);{var Pn=ve=>{var At=kl(),Qe=u(At,!0);k(At),L(()=>{fn(At,"href",x(Xt).link),Ct(Qe,x(Xt).label)}),h(ve,At)},kn=ve=>{var At=ul(),Qe=u(At,!0);k(At),L(()=>Ct(Qe,x(Xt).label)),He("click",At,()=>c(x(Xt).key)),h(ve,At)};M(Ze,ve=>{x(Xt).link?ve(Pn):ve(kn,-1)})}k(Xe),h(Kt,Xe)}),h(Et,lt)};M(ct,Et=>{p()?.length&&Et(Dt)})}h(gt,Q)}),k(vt);var Me=D(vt,2),Ke=u(Me);We(Ke,e,"footerbottom",{},gt=>{var Q=Ft(),ct=zt(Q);{var Dt=Et=>{var lt=xl(),Wt=u(lt,!0);k(lt),L(Kt=>Ct(Wt,Kt),[()=>o()?.registration?.text||(o().since?`${o().since?.toString()} - `:"")+new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),h(Et,lt)};M(ct,Et=>{o()?.siteName&&Et(Dt)})}h(gt,Q)}),k(Me),k(Bt),h(b,S)},T=b=>{var S=xi("large");h(b,S)};M(v,b=>{r()==="small"&&!x(g)?b(j):r()==="regular"||r()==="small"&&x(g)?b(z,1):r()==="large"&&b(T,2)})}return k(y),h(t,y),lr(f)}bi(["click"]),customElements.define("hb-footer",Li(no,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},["footer_small","footerheader","footercontent","footerpolicy","footerbottom"],[],{mode:"open"})),Fn.Component=no,Object.defineProperty(Fn,Symbol.toStringTag,{value:"Module"})})(this.footer=this.footer||{});
185
185
  //# sourceMappingURL=main.iife.js.map