@htmlbricks/hb-footer 0.65.23 → 0.66.0
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 +4 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(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&>>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&><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(Xn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Zn=1,Qn=2,tr=4,oi=8,li=16,ai=1,si=4,mi=8,pi=16,di=1,vi=2,er="[",en="[!",Rn="]",je={},X=Symbol(),ci="http://www.w3.org/1999/xhtml",Sn=!1;var nr=Array.isArray,gi=Array.prototype.indexOf,Nn=Array.from,nn=Object.keys,rn=Object.defineProperty,se=Object.getOwnPropertyDescriptor,fi=Object.getOwnPropertyDescriptors,bi=Object.prototype,ki=Array.prototype,rr=Object.getPrototypeOf,ir=Object.isExtensible;function ui(t){for(var e=0;e<t.length;e++)t[e]()}function or(){var t,e,n=new Promise((r,i)=>{t=r,e=i});return{promise:n,resolve:t,reject:e}}const Y=2,Tn=4,On=8,It=16,Ft=32,te=64,on=128,Rt=512,Z=1024,pt=2048,Jt=4096,vt=8192,Ut=16384,ln=32768,$e=65536,lr=1<<17,zn=1<<18,me=1<<19,xi=1<<20,pe=32768,Cn=1<<21,Bn=1<<22,ee=1<<23,an=Symbol("$state"),ar=Symbol("legacy props"),hi=Symbol(""),Ee=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},sn=3,de=8;function yi(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function wi(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function _i(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ji(t){throw new Error("https://svelte.dev/e/effect_orphan")}function $i(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ei(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ai(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ri(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Si(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ni(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ti(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function mn(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Oi(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function ct(t){w=t}let E;function H(t){if(t===null)throw mn(),je;return E=t}function Je(){return H(ht(E))}function k(t){if(w){if(ht(E)!==null)throw mn(),je;E=t}}function zi(t=1){if(w){for(var e=t,n=E;e--;)n=ht(n);E=n}}function pn(t=!0){for(var e=0,n=E;;){if(n.nodeType===de){var r=n.data;if(r===Rn){if(e===0)return n;e-=1}else(r===er||r===en)&&(e+=1)}var i=ht(n);t&&n.remove(),n=i}}function sr(t){if(!t||t.nodeType!==de)throw mn(),je;return t.data}function mr(t){return t===this.v}function Ci(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function pr(t){return!Ci(t,this.v)}let Bi=!1,kt=null;function Ae(t){kt=t}function dr(t,e=!1,n){kt={p:kt,i:!1,c:null,e:null,s:t,x:null,l:null}}function vr(t){var e=kt,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,kt=e.p,t??{}}function cr(){return!0}let ve=[];function gr(){var t=ve;ve=[],ui(t)}function dn(t){if(ve.length===0&&!Ue){var e=ve;queueMicrotask(()=>{e===ve&&gr()})}ve.push(t)}function Di(){for(;ve.length>0;)gr()}function fr(t){var e=A;if(e===null)return _.f|=ee,t;if((e.f&ln)===0){if((e.f&on)===0)throw t;e.b.error(t)}else Re(t,e)}function Re(t,e){for(;e!==null;){if((e.f&on)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t}const vn=new Set;let D=null,ut=null,xt=[],cn=null,Dn=!1,Ue=!1;class St{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#s=null;#o=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){xt=[],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.#p(),this.is_deferred()?(this.#a(n.effects),this.#a(n.render_effects),this.#a(n.block_effects)):(D=null,kr(n.render_effects),kr(n.effects),this.#s?.resolve()),ut=null}#l(e,n){e.f^=Z;for(var r=e.first;r!==null;){var i=r.f,o=(i&(Ft|te))!==0,l=o&&(i&Z)!==0,s=l||(i&vt)!==0||this.skipped_effects.has(r);if((r.f&on)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){o?r.f^=Z:(i&Tn)!==0?n.effects.push(r):He(r)&&((r.f&It)!==0&&n.block_effects.push(r),Ve(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.#o:this.#i).push(n),this.#m(n.deps),tt(n,Z)}#m(e){if(e!==null)for(const n of e)(n.f&Y)===0||(n.f&pe)===0||(n.f^=pe,this.#m(n.deps))}capture(e,n){this.previous.has(e)||this.previous.set(e,n),(e.f&ee)===0&&(this.current.set(e,e.v),ut?.set(e,e.v))}activate(){D=this,this.apply()}deactivate(){D===this&&(D=null,ut=null)}flush(){if(this.activate(),xt.length>0){if(br(),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()}#p(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#n===0&&this.#d()}#d(){if(vn.size>1){this.previous.clear();var e=ut,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of vn){if(o===this){n=!1;continue}const l=[];for(const[a,m]of this.current){if(o.current.has(a))if(n&&m!==o.current.get(a))o.current.set(a,m);else continue;l.push(a)}if(l.length===0)continue;const s=[...o.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){var i=xt;xt=[];const a=new Set,m=new Map;for(const p of l)ur(p,s,a,m);if(xt.length>0){D=o,o.apply();for(const p of xt)o.#l(p,r);o.deactivate()}xt=i}}D=null,ut=e}this.committed=!0,vn.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.#o)tt(e,pt),ce(e);for(const e of this.#i)tt(e,Jt),ce(e);this.#o=[],this.#i=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=or()).promise}static ensure(){if(D===null){const e=D=new St;vn.add(D),Ue||St.enqueue(()=>{D===e&&e.flush()})}return D}static enqueue(e){dn(e)}apply(){}}function zt(t){var e=Ue;Ue=!0;try{for(var n;;){if(Di(),xt.length===0&&(D?.flush(),xt.length===0))return cn=null,n;br()}}finally{Ue=e}}function br(){var t=ie;Dn=!0;var e=null;try{var n=0;for(kn(!0);xt.length>0;){var r=St.ensure();if(n++>1e3){var i,o;Pi()}r.process(xt),ne.clear()}}finally{Dn=!1,kn(t),cn=null}}function Pi(){try{$i()}catch(t){Re(t,cn)}}let qt=null;function kr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(Ut|vt))===0&&He(r)&&(qt=new Set,Ve(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Pr(r):r.fn=null),qt?.size>0)){ne.clear();for(const i of qt){if((i.f&(Ut|vt))!==0)continue;const o=[i];let l=i.parent;for(;l!==null;)qt.has(l)&&(qt.delete(l),o.push(l)),l=l.parent;for(let s=o.length-1;s>=0;s--){const a=o[s];(a.f&(Ut|vt))===0&&Ve(a)}}qt.clear()}}qt=null}}function ur(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const i of t.reactions){const o=i.f;(o&Y)!==0?ur(i,e,n,r):(o&(Bn|It))!==0&&(o&pt)===0&&xr(i,e,r)&&(tt(i,pt),ce(i))}}function xr(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const i of t.deps){if(e.includes(i))return!0;if((i.f&Y)!==0&&xr(i,e,n))return n.set(i,!0),!0}return n.set(t,!1),!1}function ce(t){for(var e=cn=t;e.parent!==null;){e=e.parent;var n=e.f;if(Dn&&e===A&&(n&It)!==0&&(n&zn)===0)return;if((n&(te|Ft))!==0){if((n&Z)===0)return;e.f^=Z}}xt.push(e)}function Li(t){let e=0,n=fe(0),r;return()=>{fn()&&(y(n),Cr(()=>(e===0&&(r=Wr(()=>t(()=>qe(n)))),e+=1,()=>{dn(()=>{e-=1,e===0&&(r?.(),r=void 0,qe(n))})})))}}var Mi=$e|me|on;function Gi(t,e,n){new Ii(t,e,n)}class Ii{parent;#e=!1;#t;#n=w?E:null;#r;#s;#o;#i=null;#l=null;#a=null;#m=null;#p=null;#d=0;#v=0;#g=!1;#c=null;#x=Li(()=>(this.#c=fe(this.#d),()=>{this.#c=null}));constructor(e,n,r){this.#t=e,this.#r=n,this.#s=r,this.parent=A.b,this.#e=!!this.#r.pending,this.#o=bn(()=>{if(A.b=this,w){const o=this.#n;Je(),o.nodeType===de&&o.data===en?this.#y():this.#h()}else{var i=this.#k();try{this.#i=yt(()=>r(i))}catch(o){this.error(o)}this.#v>0?this.#b():this.#e=!1}return()=>{this.#p?.remove()}},Mi),w&&(this.#t=E)}#h(){try{this.#i=yt(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#r.pending;e&&(this.#l=yt(()=>e(this.#t)),St.enqueue(()=>{var n=this.#k();this.#i=this.#f(()=>(St.ensure(),yt(()=>this.#s(n)))),this.#v>0?this.#b():(Te(this.#l,()=>{this.#l=null}),this.#e=!1)}))}#k(){var e=this.#t;return this.#e&&(this.#p=it(),this.#t.before(this.#p),e=this.#p),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#f(e){var n=A,r=_,i=kt;wt(this.#o),Q(this.#o),Ae(this.#o.ctx);try{return e()}catch(o){return fr(o),null}finally{wt(n),Q(r),Ae(i)}}#b(){const e=this.#r.pending;this.#i!==null&&(this.#m=document.createDocumentFragment(),this.#m.append(this.#p),Gr(this.#i,this.#m)),this.#l===null&&(this.#l=yt(()=>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&&Te(this.#l,()=>{this.#l=null}),this.#m&&(this.#t.before(this.#m),this.#m=null))}update_pending_count(e){this.#u(e),this.#d+=e,this.#c&&Se(this.#c,this.#d)}get_effect_pending(){return this.#x(),y(this.#c)}error(e){var n=this.#r.onerror;let r=this.#r.failed;if(this.#g||!n&&!r)throw e;this.#i&&(ot(this.#i),this.#i=null),this.#l&&(ot(this.#l),this.#l=null),this.#a&&(ot(this.#a),this.#a=null),w&&(H(this.#n),zi(),H(pn()));var i=!1,o=!1;const l=()=>{if(i){Oi();return}i=!0,o&&Ti(),St.ensure(),this.#d=0,this.#a!==null&&Te(this.#a,()=>{this.#a=null}),this.#e=this.has_pending_snippet(),this.#i=this.#f(()=>(this.#g=!1,yt(()=>this.#s(this.#t)))),this.#v>0?this.#b():this.#e=!1};var s=_;try{Q(null),o=!0,n?.(e,l),o=!1}catch(a){Re(a,this.#o&&this.#o.parent)}finally{Q(s)}r&&dn(()=>{this.#a=this.#f(()=>{St.ensure(),this.#g=!0;try{return yt(()=>{r(this.#t,()=>e,()=>l)})}catch(a){return Re(a,this.#o.parent),null}finally{this.#g=!1}})})}}function Fi(t,e,n){for(var r=[],i=e.length,o=0;o<i;o++)Fn(e[o].e,r,!0);Lr(r,()=>{var l=r.length===0&&n!==null;if(l){var s=n,a=s.parentNode;Nr(a),a.append(s),t.items.clear(),Ct(t,e[0].prev,e[i-1].next)}for(var m=0;m<i;m++){var p=e[m];l||(t.items.delete(p.k),Ct(t,p.prev,p.next)),ot(p.e,!l)}t.first===e[0]&&(t.first=e[0].prev)})}function ge(t,e,n,r,i,o=null){var l=t,s=new Map,a=null,m=(e&tr)!==0,p=(e&Zn)!==0,c=(e&Qn)!==0;if(m){var d=t;l=w?H(re(d)):d.appendChild(it())}w&&Je();var v=null,$=hr(()=>{var b=n();return nr(b)?b:b==null?[]:Nn(b)}),N,f=!0;function T(){Ji(x,N,l,e,r),v!==null&&(N.length===0?(v.fragment?(l.before(v.fragment),v.fragment=null):Jn(v.effect),C.first=v.effect):Te(v.effect,()=>{v=null}))}var C=bn(()=>{N=y($);var b=N.length;let B=!1;if(w){var Pt=sr(l)===en;Pt!==(b===0)&&(l=pn(),H(l),ct(!1),B=!0)}for(var jt=new Set,J=D,dt=null,ft=Tr(),W=0;W<b;W+=1){w&&E.nodeType===de&&E.data===Rn&&(l=E,B=!0,ct(!1));var $t=N[W],Ot=r($t,W),U=f?null:s.get(Ot);U?(p&&Se(U.v,$t),c?Se(U.i,W):U.i=W,ft&&J.skipped_effects.delete(U.e)):(U=Ui(f?l:null,dt,$t,Ot,W,i,e,n),f&&(U.o=!0,dt===null?a=U:dt.next=U,dt=U),s.set(Ot,U)),jt.add(Ot)}if(b===0&&o&&!v)if(f)v={fragment:null,effect:yt(()=>o(l))};else{var Lt=document.createDocumentFragment(),xe=it();Lt.append(xe),v={fragment:Lt,effect:yt(()=>o(xe))}}if(w&&b>0&&H(pn()),!f)if(ft){for(const[ze,Ke]of s)jt.has(ze)||J.skipped_effects.add(Ke.e);J.oncommit(T),J.ondiscard(()=>{})}else T();B&&ct(!0),y($)}),x={effect:C,items:s,first:a};f=!1,w&&(l=E)}function Ji(t,e,n,r,i){var o=(r&oi)!==0,l=e.length,s=t.items,a=t.first,m,p=null,c,d=[],v=[],$,N,f,T;if(o)for(T=0;T<l;T+=1)$=e[T],N=i($,T),f=s.get(N),f.a?.measure(),(c??=new Set).add(f);for(T=0;T<l;T+=1){if($=e[T],N=i($,T),f=s.get(N),t.first??=f,!f.o){f.o=!0;var C=p?p.next:a;Ct(t,p,f),Ct(t,f,C),Pn(f,C,n),p=f,d=[],v=[],a=p.next;continue}if((f.e.f&vt)!==0&&(Jn(f.e),o&&(f.a?.unfix(),(c??=new Set).delete(f))),f!==a){if(m!==void 0&&m.has(f)){if(d.length<v.length){var x=v[0],b;p=x.prev;var B=d[0],Pt=d[d.length-1];for(b=0;b<d.length;b+=1)Pn(d[b],x,n);for(b=0;b<v.length;b+=1)m.delete(v[b]);Ct(t,B.prev,Pt.next),Ct(t,p,B),Ct(t,Pt,x),a=x,p=Pt,T-=1,d=[],v=[]}else m.delete(f),Pn(f,a,n),Ct(t,f.prev,f.next),Ct(t,f,p===null?t.first:p.next),Ct(t,p,f),p=f;continue}for(d=[],v=[];a!==null&&a.k!==N;)(a.e.f&vt)===0&&(m??=new Set).add(a),v.push(a),a=a.next;if(a===null)continue;f=a}d.push(f),p=f,a=f.next}if(a!==null||m!==void 0){for(var jt=m===void 0?[]:Nn(m);a!==null;)(a.e.f&vt)===0&&jt.push(a),a=a.next;var J=jt.length;if(J>0){var dt=(r&tr)!==0&&l===0?n:null;if(o){for(T=0;T<J;T+=1)jt[T].a?.measure();for(T=0;T<J;T+=1)jt[T].a?.fix()}Fi(t,jt,dt)}}o&&dn(()=>{if(c!==void 0)for(f of c)f.a?.apply()})}function Ui(t,e,n,r,i,o,l,s){var a=(l&Zn)!==0,m=(l&li)===0,p=a?m?jr(n,!1,!1):fe(n):n,c=(l&Qn)===0?i:fe(i),d={i:c,v:p,k:r,a:null,e:null,o:!1,prev:e,next:null};try{if(t===null){var v=document.createDocumentFragment();v.append(t=it())}return d.e=yt(()=>o(t,p,c,s)),e!==null&&(e.next=d),d}finally{}}function Pn(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,i=e?e.e.nodes_start:n,o=t.e.nodes_start;o!==null&&o!==r;){var l=ht(o);i.before(o),o=l}}function Ct(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 qi(t,e,n,r){const i=Ln;if(n.length===0&&t.length===0){r(e.map(i));return}var o=D,l=A,s=Yi();function a(){Promise.all(n.map(m=>Hi(m))).then(m=>{s();try{r([...e.map(i),...m])}catch(p){(l.f&Ut)===0&&Re(p,l)}o?.deactivate(),gn()}).catch(m=>{Re(m,l)})}t.length>0?Promise.all(t).then(()=>{s();try{return a()}finally{o?.deactivate(),gn()}}):a()}function Yi(){var t=A,e=_,n=kt,r=D;return function(o=!0){wt(t),Q(e),Ae(n),o&&r?.activate()}}function gn(){wt(null),Q(null),Ae(null)}function Ln(t){var e=Y|pt,n=_!==null&&(_.f&Y)!==0?_:null;return A!==null&&(A.f|=me),{ctx:kt,deps:null,effects:null,equals:mr,f:e,fn:t,reactions:null,rv:0,v:X,wv:0,parent:n??A,ac:null}}function Hi(t,e){let n=A;n===null&&yi();var r=n.b,i=void 0,o=fe(X),l=!_,s=new Map;return ro(()=>{var a=or();i=a.promise;try{Promise.resolve(t()).then(a.resolve,a.reject).then(()=>{m===D&&m.committed&&m.deactivate(),gn()})}catch(d){a.reject(d),gn()}var m=D;if(l){var p=!r.is_pending();r.update_pending_count(1),m.increment(p),s.get(m)?.reject(Ee),s.delete(m),s.set(m,a)}const c=(d,v=void 0)=>{if(m.activate(),v)v!==Ee&&(o.f|=ee,Se(o,v));else{(o.f&ee)!==0&&(o.f^=ee),Se(o,d);for(const[$,N]of s){if(s.delete($),$===m)break;N.reject(Ee)}}l&&(r.update_pending_count(-1),m.decrement(p))};a.promise.then(c,d=>c(null,d||"unknown"))}),Zi(()=>{for(const a of s.values())a.reject(Ee)}),new Promise(a=>{function m(p){function c(){p===i?a(o):m(i)}p.then(c,c)}m(i)})}function hr(t){const e=Ln(t);return e.equals=pr,e}function yr(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)ot(e[n])}}function Vi(t){for(var e=t.parent;e!==null;){if((e.f&Y)===0)return(e.f&Ut)===0?e:null;e=e.parent}return null}function Mn(t){var e,n=A;wt(Vi(t));try{t.f&=~pe,yr(t),e=Yr(t)}finally{wt(n)}return e}function wr(t){var e=Mn(t);if(t.equals(e)||(D?.is_fork||(t.v=e),t.wv=Ur()),!be)if(ut!==null)fn()&&ut.set(t,e);else{var n=(t.f&Rt)===0?Jt:Z;tt(t,n)}}let Gn=new Set;const ne=new Map;let _r=!1;function fe(t,e){var n={f:0,v:t,reactions:null,equals:mr,rv:0,wv:0};return n}function Yt(t,e){const n=fe(t);return lo(n),n}function jr(t,e=!1,n=!0){const r=fe(t);return e||(r.equals=pr),r}function Nt(t,e,n=!1){_!==null&&(!Dt||(_.f&lr)!==0)&&cr()&&(_.f&(Y|It|Bn|lr))!==0&&!Ht?.includes(t)&&Ni();let r=n?Ne(e):e;return Se(t,r)}function Se(t,e){if(!t.equals(e)){var n=t.v;be?ne.set(t,e):ne.set(t,n),t.v=e;var r=St.ensure();r.capture(t,n),(t.f&Y)!==0&&((t.f&pt)!==0&&Mn(t),tt(t,(t.f&Rt)!==0?Z:Jt)),t.wv=Ur(),$r(t,pt),A!==null&&(A.f&Z)!==0&&(A.f&(Ft|te))===0&&(_t===null?ao([t]):_t.push(t)),!r.is_fork&&Gn.size>0&&!_r&&Wi()}return e}function Wi(){_r=!1;var t=ie;kn(!0);const e=Array.from(Gn);try{for(const n of e)(n.f&Z)!==0&&tt(n,Jt),He(n)&&Ve(n)}finally{kn(t)}Gn.clear()}function qe(t){Nt(t,t.v+1)}function $r(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i],l=o.f,s=(l&pt)===0;if(s&&tt(o,e),(l&Y)!==0){var a=o;ut?.delete(a),(l&pe)===0&&(l&Rt&&(o.f|=pe),$r(a,Jt))}else s&&((l&It)!==0&&qt!==null&&qt.add(o),ce(o))}}function Ne(t){if(typeof t!="object"||t===null||an in t)return t;const e=rr(t);if(e!==bi&&e!==ki)return t;var n=new Map,r=nr(t),i=Yt(0),o=ke,l=s=>{if(ke===o)return s();var a=_,m=ke;Q(null),Jr(o);var p=s();return Q(a),Jr(m),p};return r&&n.set("length",Yt(t.length)),new Proxy(t,{defineProperty(s,a,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&Ri();var p=n.get(a);return p===void 0?p=l(()=>{var c=Yt(m.value);return n.set(a,c),c}):Nt(p,m.value,!0),!0},deleteProperty(s,a){var m=n.get(a);if(m===void 0){if(a in s){const p=l(()=>Yt(X));n.set(a,p),qe(i)}}else Nt(m,X),qe(i);return!0},get(s,a,m){if(a===an)return t;var p=n.get(a),c=a in s;if(p===void 0&&(!c||se(s,a)?.writable)&&(p=l(()=>{var v=Ne(c?s[a]:X),$=Yt(v);return $}),n.set(a,p)),p!==void 0){var d=y(p);return d===X?void 0:d}return Reflect.get(s,a,m)},getOwnPropertyDescriptor(s,a){var m=Reflect.getOwnPropertyDescriptor(s,a);if(m&&"value"in m){var p=n.get(a);p&&(m.value=y(p))}else if(m===void 0){var c=n.get(a),d=c?.v;if(c!==void 0&&d!==X)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return m},has(s,a){if(a===an)return!0;var m=n.get(a),p=m!==void 0&&m.v!==X||Reflect.has(s,a);if(m!==void 0||A!==null&&(!p||se(s,a)?.writable)){m===void 0&&(m=l(()=>{var d=p?Ne(s[a]):X,v=Yt(d);return v}),n.set(a,m));var c=y(m);if(c===X)return!1}return p},set(s,a,m,p){var c=n.get(a),d=a in s;if(r&&a==="length")for(var v=m;v<c.v;v+=1){var $=n.get(v+"");$!==void 0?Nt($,X):v in s&&($=l(()=>Yt(X)),n.set(v+"",$))}if(c===void 0)(!d||se(s,a)?.writable)&&(c=l(()=>Yt(void 0)),Nt(c,Ne(m)),n.set(a,c));else{d=c.v!==X;var N=l(()=>Ne(m));Nt(c,N)}var f=Reflect.getOwnPropertyDescriptor(s,a);if(f?.set&&f.set.call(p,m),!d){if(r&&typeof a=="string"){var T=n.get("length"),C=Number(a);Number.isInteger(C)&&C>=T.v&&Nt(T,C+1)}qe(i)}return!0},ownKeys(s){y(i);var a=Reflect.ownKeys(s).filter(c=>{var d=n.get(c);return d===void 0||d.v!==X});for(var[m,p]of n)p.v!==X&&!(m in s)&&a.push(m);return a},setPrototypeOf(){Si()}})}var Er,Ar,Rr,Sr;function In(){if(Er===void 0){Er=window,Ar=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Rr=se(e,"firstChild").get,Sr=se(e,"nextSibling").get,ir(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),ir(n)&&(n.__t=void 0)}}function it(t=""){return document.createTextNode(t)}function re(t){return Rr.call(t)}function ht(t){return Sr.call(t)}function u(t,e){if(!w)return re(t);var n=re(E);if(n===null)n=E.appendChild(it());else if(e&&n.nodeType!==sn){var r=it();return n?.before(r),H(r),r}return H(n),n}function F(t,e=!1){if(!w){var n=re(t);return n instanceof Comment&&n.data===""?ht(n):n}if(e&&E?.nodeType!==sn){var r=it();return E?.before(r),H(r),r}return E}function O(t,e=1,n=!1){let r=w?E:t;for(var i;e--;)i=r,r=ht(r);if(!w)return r;if(n&&r?.nodeType!==sn){var o=it();return r===null?i?.after(o):r.before(o),H(o),o}return H(r),r}function Nr(t){t.textContent=""}function Tr(){return!1}function Or(t){var e=_,n=A;Q(null),wt(null);try{return t()}finally{Q(e),wt(n)}}function Ki(t){A===null&&(_===null&&ji(),_i()),be&&wi()}function Xi(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Bt(t,e,n){var r=A;r!==null&&(r.f&vt)!==0&&(t|=vt);var i={ctx:kt,deps:null,nodes_start:null,nodes_end:null,f:t|pt|Rt,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{Ve(i),i.f|=ln}catch(s){throw ot(i),s}else e!==null&&ce(i);var o=i;if(n&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&me)===0&&(o=o.first,(t&It)!==0&&(t&$e)!==0&&o!==null&&(o.f|=$e)),o!==null&&(o.parent=r,r!==null&&Xi(o,r),_!==null&&(_.f&Y)!==0&&(t&te)===0)){var l=_;(l.effects??=[]).push(o)}return i}function fn(){return _!==null&&!Dt}function Zi(t){const e=Bt(On,null,!1);return tt(e,Z),e.teardown=t,e}function Qi(t){Ki();var e=A.f,n=!_&&(e&Ft)!==0&&(e&ln)===0;if(n){var r=kt;(r.e??=[]).push(t)}else return zr(t)}function zr(t){return Bt(Tn|xi,t,!1)}function to(t){St.ensure();const e=Bt(te|me,t,!0);return()=>{ot(e)}}function eo(t){St.ensure();const e=Bt(te|me,t,!0);return(n={})=>new Promise(r=>{n.outro?Te(e,()=>{ot(e),r(void 0)}):(ot(e),r(void 0))})}function no(t){return Bt(Tn,t,!1)}function ro(t){return Bt(Bn|me,t,!0)}function Cr(t,e=0){return Bt(On|e,t,!0)}function L(t,e=[],n=[],r=[]){qi(r,e,n,i=>{Bt(On,()=>t(...i.map(y)),!0)})}function bn(t,e=0){var n=Bt(It|e,t,!0);return n}function yt(t){return Bt(Ft|me,t,!0)}function Br(t){var e=t.teardown;if(e!==null){const n=be,r=_;Ir(!0),Q(null);try{e.call(null)}finally{Ir(n),Q(r)}}}function Dr(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const i=n.ac;i!==null&&Or(()=>{i.abort(Ee)});var r=n.next;(n.f&te)!==0?n.parent=null:ot(n,e),n=r}}function io(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Ft)===0&&ot(e),e=n}}function ot(t,e=!0){var n=!1;(e||(t.f&zn)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(oo(t.nodes_start,t.nodes_end),n=!0),Dr(t,e&&!n),un(t,0),tt(t,Ut);var r=t.transitions;if(r!==null)for(const o of r)o.stop();Br(t);var i=t.parent;i!==null&&i.first!==null&&Pr(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function oo(t,e){for(;t!==null;){var n=t===e?null:ht(t);t.remove(),t=n}}function Pr(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 Te(t,e,n=!0){var r=[];Fn(t,r,!0),Lr(r,()=>{n&&ot(t),e&&e()})}function Lr(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function Fn(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 i=r.next,o=(r.f&$e)!==0||(r.f&Ft)!==0&&(t.f&It)!==0;Fn(r,e,o?n:!1),r=i}}}function Jn(t){Mr(t,!0)}function Mr(t,e){if((t.f&vt)!==0){t.f^=vt,(t.f&Z)===0&&(tt(t,pt),ce(t));for(var n=t.first;n!==null;){var r=n.next,i=(n.f&$e)!==0||(n.f&Ft)!==0;Mr(n,i?e:!1),n=r}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}function Gr(t,e){for(var n=t.nodes_start,r=t.nodes_end;n!==null;){var i=n===r?null:ht(n);e.append(n),n=i}}let ie=!1;function kn(t){ie=t}let be=!1;function Ir(t){be=t}let _=null,Dt=!1;function Q(t){_=t}let A=null;function wt(t){A=t}let Ht=null;function lo(t){_!==null&&(Ht===null?Ht=[t]:Ht.push(t))}let lt=null,gt=0,_t=null;function ao(t){_t=t}let Fr=1,Ye=0,ke=Ye;function Jr(t){ke=t}function Ur(){return++Fr}function He(t){var e=t.f;if((e&pt)!==0)return!0;if(e&Y&&(t.f&=~pe),(e&Jt)!==0){var n=t.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i];if(He(o)&&wr(o),o.wv>t.wv)return!0}(e&Rt)!==0&&ut===null&&tt(t,Z)}return!1}function qr(t,e,n=!0){var r=t.reactions;if(r!==null&&!Ht?.includes(t))for(var i=0;i<r.length;i++){var o=r[i];(o.f&Y)!==0?qr(o,e,!1):e===o&&(n?tt(o,pt):(o.f&Z)!==0&&tt(o,Jt),ce(o))}}function Yr(t){var e=lt,n=gt,r=_t,i=_,o=Ht,l=kt,s=Dt,a=ke,m=t.f;lt=null,gt=0,_t=null,_=(m&(Ft|te))===0?t:null,Ht=null,Ae(t.ctx),Dt=!1,ke=++Ye,t.ac!==null&&(Or(()=>{t.ac.abort(Ee)}),t.ac=null);try{t.f|=Cn;var p=t.fn,c=p(),d=t.deps;if(lt!==null){var v;if(un(t,gt),d!==null&>>0)for(d.length=gt+lt.length,v=0;v<lt.length;v++)d[gt+v]=lt[v];else t.deps=d=lt;if(ie&&fn()&&(t.f&Rt)!==0)for(v=gt;v<d.length;v++)(d[v].reactions??=[]).push(t)}else d!==null&><d.length&&(un(t,gt),d.length=gt);if(cr()&&_t!==null&&!Dt&&d!==null&&(t.f&(Y|Jt|pt))===0)for(v=0;v<_t.length;v++)qr(_t[v],t);return i!==null&&i!==t&&(Ye++,_t!==null&&(r===null?r=_t:r.push(..._t))),(t.f&ee)!==0&&(t.f^=ee),c}catch($){return fr($)}finally{t.f^=Cn,lt=e,gt=n,_t=r,_=i,Ht=o,Ae(l),Dt=s,ke=a}}function so(t,e){let n=e.reactions;if(n!==null){var r=gi.call(n,t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(e.f&Y)!==0&&(lt===null||!lt.includes(e))&&(tt(e,Jt),(e.f&Rt)!==0&&(e.f^=Rt,e.f&=~pe),yr(e),un(e,0))}function un(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)so(t,n[r])}function Ve(t){var e=t.f;if((e&Ut)===0){tt(t,Z);var n=A,r=ie;A=t,ie=!0;try{(e&It)!==0?io(t):Dr(t),Br(t);var i=Yr(t);t.teardown=typeof i=="function"?i:null,t.wv=Fr;var o;Sn&&Bi&&(t.f&pt)!==0&&t.deps}finally{ie=r,A=n}}}function y(t){var e=t.f,n=(e&Y)!==0;if(_!==null&&!Dt){var r=A!==null&&(A.f&Ut)!==0;if(!r&&!Ht?.includes(t)){var i=_.deps;if((_.f&Cn)!==0)t.rv<Ye&&(t.rv=Ye,lt===null&&i!==null&&i[gt]===t?gt++:lt===null?lt=[t]:lt.includes(t)||lt.push(t));else{(_.deps??=[]).push(t);var o=t.reactions;o===null?t.reactions=[_]:o.includes(_)||o.push(_)}}}if(be){if(ne.has(t))return ne.get(t);if(n){var l=t,s=l.v;return((l.f&Z)===0&&l.reactions!==null||Vr(l))&&(s=Mn(l)),ne.set(l,s),s}}else n&&!ut?.has(t)&&(l=t,He(l)&&wr(l),ie&&fn()&&(l.f&Rt)===0&&Hr(l));if(ut?.has(t))return ut.get(t);if((t.f&ee)!==0)throw t.v;return t.v}function Hr(t){if(t.deps!==null){t.f^=Rt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&Y)!==0&&(e.f&Rt)===0&&Hr(e)}}function Vr(t){if(t.v===X)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(ne.has(e)||(e.f&Y)!==0&&Vr(e))return!0;return!1}function Wr(t){var e=Dt;try{return Dt=!0,t()}finally{Dt=e}}const mo=-7169;function tt(t,e){t.f=t.f&mo|e}const Kr=new Set,Un=new Set;function po(t){for(var e=0;e<t.length;e++)Kr.add(t[e]);for(var n of Un)n(t)}let Xr=null;function xn(t){var e=this,n=e.ownerDocument,r=t.type,i=t.composedPath?.()||[],o=i[0]||t.target;Xr=t;var l=0,s=Xr===t&&t.__root;if(s){var a=i.indexOf(s);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var m=i.indexOf(e);if(m===-1)return;a<=m&&(l=a)}if(o=i[l]||t.target,o!==e){rn(t,"currentTarget",{configurable:!0,get(){return o||n}});var p=_,c=A;Q(null),wt(null);try{for(var d,v=[];o!==null;){var $=o.assignedSlot||o.parentNode||o.host||null;try{var N=o["__"+r];N!=null&&(!o.disabled||t.target===o)&&N.call(o,t)}catch(f){d?v.push(f):d=f}if(t.cancelBubble||$===e||$===null)break;o=$}if(d){for(let f of v)queueMicrotask(()=>{throw f});throw d}}finally{t.__root=e,delete t.currentTarget,Q(p),wt(c)}}}function vo(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function oe(t,e){var n=A;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function j(t,e){var n=(e&di)!==0,r=(e&vi)!==0,i,o=!t.startsWith("<!>");return()=>{if(w)return oe(E,null),E;i===void 0&&(i=vo(o?t:"<!>"+t),n||(i=re(i)));var l=r||Ar?document.importNode(i,!0):i.cloneNode(!0);if(n){var s=re(l),a=l.lastChild;oe(s,a)}else oe(l,l);return l}}function co(t=""){if(!w){var e=it(t+"");return oe(e,e),e}var n=E;return n.nodeType!==sn&&(n.before(n=it()),H(n)),oe(n,n),n}function V(){if(w)return oe(E,null),E;var t=document.createDocumentFragment(),e=document.createComment(""),n=it();return t.append(e,n),oe(e,n),t}function g(t,e){if(w){var n=A;((n.f&ln)===0||n.nodes_end===null)&&(n.nodes_end=E),Je();return}t!==null&&t.before(e)}const go=["touchstart","touchmove"];function fo(t){return go.includes(t)}function Tt(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function Zr(t,e){return Qr(t,e)}function bo(t,e){In(),e.intro=e.intro??!1;const n=e.target,r=w,i=E;try{for(var o=re(n);o&&(o.nodeType!==de||o.data!==er);)o=ht(o);if(!o)throw je;ct(!0),H(o);const l=Qr(t,{...e,anchor:o});return ct(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==je&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Ei(),In(),Nr(n),ct(!1),Zr(t,e)}finally{ct(r),H(i)}}const Oe=new Map;function Qr(t,{target:e,anchor:n,props:r={},events:i,context:o,intro:l=!0}){In();var s=new Set,a=c=>{for(var d=0;d<c.length;d++){var v=c[d];if(!s.has(v)){s.add(v);var $=fo(v);e.addEventListener(v,xn,{passive:$});var N=Oe.get(v);N===void 0?(document.addEventListener(v,xn,{passive:$}),Oe.set(v,1)):Oe.set(v,N+1)}}};a(Nn(Kr)),Un.add(a);var m=void 0,p=eo(()=>{var c=n??e.appendChild(it());return Gi(c,{pending:()=>{}},d=>{if(o){dr({});var v=kt;v.c=o}if(i&&(r.$$events=i),w&&oe(d,null),m=t(d,r)||{},w&&(A.nodes_end=E,E===null||E.nodeType!==de||E.data!==Rn))throw mn(),je;o&&vr()}),()=>{for(var d of s){e.removeEventListener(d,xn);var v=Oe.get(d);--v===0?(document.removeEventListener(d,xn),Oe.delete(d)):Oe.set(d,v)}Un.delete(a),c!==n&&c.parentNode?.removeChild(c)}});return qn.set(m,p),m}let qn=new WeakMap;function ko(t,e){const n=qn.get(t);return n?(qn.delete(t),n(e)):Promise.resolve()}class uo{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}#o=()=>{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 i=this.#n.get(n);i&&(this.#t.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[o,l]of this.#e){if(this.#e.delete(o),o===e)break;const s=this.#n.get(l);s&&(ot(s.effect),this.#n.delete(l))}for(const[o,l]of this.#t){if(o===n||this.#r.has(o))continue;const s=()=>{if(Array.from(this.#e.values()).includes(o)){var m=document.createDocumentFragment();Gr(l,m),m.append(it()),this.#n.set(o,{effect:l,fragment:m})}else ot(l);this.#r.delete(o),this.#t.delete(o)};this.#s||!r?(this.#r.add(o),Te(l,s,!1)):s()}}};#i=e=>{this.#e.delete(e);const n=Array.from(this.#e.values());for(const[r,i]of this.#n)n.includes(r)||(ot(i.effect),this.#n.delete(r))};ensure(e,n){var r=D,i=Tr();if(n&&!this.#t.has(e)&&!this.#n.has(e))if(i){var o=document.createDocumentFragment(),l=it();o.append(l),this.#n.set(e,{effect:yt(()=>n(l)),fragment:o})}else this.#t.set(e,yt(()=>n(this.anchor)));if(this.#e.set(r,e),i){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.#o),r.ondiscard(this.#i)}else w&&(this.anchor=E),this.#o()}}function R(t,e,n=!1){w&&Je();var r=new uo(t),i=n?$e:0;function o(l,s){if(w){const m=sr(t)===en;if(l===m){var a=pn();H(a),r.anchor=a,ct(!1),r.ensure(l,s),ct(!0);return}}r.ensure(l,s)}bn(()=>{var l=!1;e((s,a=!0)=>{l=!0,o(a,s)}),l||o(!1,null)},i)}function We(t,e,n,r,i){w&&Je();var o=e.$$slots?.[n],l=!1;o===!0&&(o=e[n==="default"?"children":n],l=!0),o===void 0?i!==null&&i(t):o(t,l?()=>r:r)}function xo(t,e){let n=null,r=w;var i;if(w){n=E;for(var o=re(document.head);o!==null&&(o.nodeType!==de||o.data!==t);)o=ht(o);if(o===null)ct(!1);else{var l=ht(o);o.remove(),H(l)}}w||(i=document.head.appendChild(it()));try{bn(()=>e(i),zn)}finally{r&&(ct(!0),H(n))}}function ho(t,e){no(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const i=document.createElement("style");i.id=e.hash,i.textContent=e.code,r.appendChild(i)}})}function yo(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function G(t,e,n,r,i,o){var l=t.__className;if(w||l!==n||l===void 0){var s=yo(n,r);(!w||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=n}return o}const wo=Symbol("is custom element"),_o=Symbol("is html");function hn(t,e,n,r){var i=jo(t);w&&(i[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||i[e]!==(i[e]=n)&&(e==="loading"&&(t[hi]=n),n==null?t.removeAttribute(e):typeof n!="string"&&ti(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function at(t,e,n){var r=_,i=A;let o=w;w&&ct(!1),Q(null),wt(null);try{e!=="style"&&(Yn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?ti(t).includes(e):n&&typeof n=="object")?t[e]=n:hn(t,e,n==null?n:String(n))}finally{Q(r),wt(i),o&&ct(!0)}}function jo(t){return t.__attributes??={[wo]:t.nodeName.includes("-"),[_o]:t.namespaceURI===ci}}var Yn=new Map;function ti(t){var e=t.getAttribute("is")||t.nodeName,n=Yn.get(e);if(n)return n;Yn.set(e,n=[]);for(var r,i=t,o=Element.prototype;o!==i;){r=fi(i);for(var l in r)r[l].set&&n.push(l);i=rr(i)}return n}let yn=!1;function $o(t){var e=yn;try{return yn=!1,[t(),yn]}finally{yn=e}}function Vt(t,e,n,r){var i=(n&mi)!==0,o=(n&pi)!==0,l=r,s=!0,a=()=>(s&&(s=!1,l=o?Wr(r):r),l),m;if(i){var p=an in t||ar in t;m=se(t,e)?.set??(p&&e in t?C=>t[e]=C:void 0)}var c,d=!1;i?[c,d]=$o(()=>t[e]):c=t[e],c===void 0&&r!==void 0&&(c=a(),m&&(Ai(),m(c)));var v;if(v=()=>{var C=t[e];return C===void 0?a():(s=!0,C)},(n&si)===0)return v;if(m){var $=t.$$legacy;return(function(C,x){return arguments.length>0?((!x||$||d)&&m(x?v():C),C):v()})}var N=!1,f=((n&ai)!==0?Ln:hr)(()=>(N=!1,v()));i&&y(f);var T=A;return(function(C,x){if(arguments.length>0){const b=x?y(f):i?Ne(C):C;return Nt(f,b),N=!0,l!==void 0&&(l=b),C}return be&&N||(T.f&Ut)!==0?f.v:y(f)})}function Eo(t){return new Ao(t)}class Ao{#e;#t;constructor(e){var n=new Map,r=(o,l)=>{var s=jr(l,!1,!1);return n.set(o,s),s};const i=new Proxy({...e.props||{},$$events:{}},{get(o,l){return y(n.get(l)??r(l,Reflect.get(o,l)))},has(o,l){return l===ar?!0:(y(n.get(l)??r(l,Reflect.get(o,l))),Reflect.has(o,l))},set(o,l,s){return Nt(n.get(l)??r(l,s),s),Reflect.set(o,l,s)}});this.#t=(e.hydrate?bo:Zr)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&zt(),this.#e=i.$$events;for(const o of Object.keys(this.#t))o==="$set"||o==="$destroy"||o==="$on"||rn(this,o,{get(){return this.#t[o]},set(l){this.#t[o]=l},enumerable:!0});this.#t.$set=o=>{Object.assign(i,o)},this.#t.$destroy=()=>{ko(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...i)=>n.call(this,...i);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(i=>i!==r)}}$destroy(){this.#t.$destroy()}}let ei;typeof HTMLElement=="function"&&(ei=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 i=>{const o=document.createElement("slot");r!=="default"&&(o.name=r),g(i,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ro(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 i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=wn(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Eo({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=to(()=>{Cr(()=>{this.$$r=!0;for(const r of nn(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=wn(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const o=this.$$c.$on(r,i);this.$$l_u.set(i,o)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=wn(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 nn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function wn(t,e,n,r){const i=n[t]?.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(i){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(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ro(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function So(t,e,n,r,i,o){let l=class extends ei{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return nn(e).map(s=>(e[s].attribute||s).toLowerCase())}};return nn(e).forEach(s=>{rn(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=wn(s,a,e),this.$$d[s]=a;var m=this.$$c;if(m){var p=se(m,s)?.get;p?m[s]=a:m.$set({[s]:a})}}})}),r.forEach(s=>{rn(l.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=l,l}const No={version:"0.66.0"};var ue={},ni;function To(){if(ni)return ue;ni=1,Object.defineProperty(ue,"__esModule",{value:!0}),ue.LanguageTranslator=void 0,ue.getChildStyleToPass=t,ue.addComponent=e;function t(r,i){var o,l,s="";try{if(r&&i?.length&&(!((o=Object.keys(r))===null||o===void 0)&&o.length)&&(!((l=i?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||l===void 0)&&l.length))for(var a=function(d){var v=i?.filter(function($){return $.name===d&&$.defaultValue!==r[d]});v&&(s+="".concat(d,":").concat(r[d],";"))},m=0,p=Object.keys(r);m<p.length;m++){var c=p[m];a(c)}}catch(d){console.error("error getting child style to pass",d)}finally{return s}}function e(r){var i,o=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!o)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(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-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=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(a+"-",""),"/").concat(l)}document.head.appendChild(s)}catch(m){console.warn(m)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,o){return r.getDictionaryWord(i,this.dictionary,o||this.lang)},r.prototype.translateDate=function(i,o,l){return r.formatDate(i,o,l||this.lang)},r.getDefaultLang=function(){var i,o,l,s="en";return navigator?.languages&&(!((l=(o=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||l===void 0)&&l.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(i,o,l){var s;if(!i)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(l&&(!((s=o[l])===null||s===void 0)&&s[i]))return o[l][i];var a="",m=r.getDefaultLang();if(!l||m!==l){var p=o?.[m];p?.[i]&&(a=p[i])}return a},r.formatDate=function(i,o,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(l||r.getDefaultLang(),o);return s.format(i)},r})();return ue.LanguageTranslator=n,ue}var Oo=To(),zo=j('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Co=j('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),Bo=j('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Do=j('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Po=j('<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>'),Lo=j('<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>'),Mo=j('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Go=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Io=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Fo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Jo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Uo=j('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),qo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Yo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ho=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Vo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Wo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ko=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xo=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Zo=j('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),Qo=j('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),tl=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),el=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),nl=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),rl=j('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=j('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),ol=j('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),ll=j('<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>'),al=j('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),sl=j('<button class="btn btn-link svelte-1tntk73"> </button>'),ml=j('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),pl=j('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),dl=j('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),vl=j('<footer class="svelte-1tntk73"><!></footer>');const cl={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
|
-
|
|
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
|
|
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 ri(t,e){dr(e,!0),ho(t,cl);let n=Vt(e,"id",7,""),r=Vt(e,"type",7,"regular"),i=Vt(e,"company",7),o=Vt(e,"brandandcontacts",7,void 0),l=Vt(e,"columns",23,()=>[]),s=Vt(e,"disable_expanding_small",7,!1),a=Vt(e,"socials",7,void 0),m=Vt(e,"contacts",7,void 0),p=Vt(e,"policies",7,void 0),c=Yt(!1);Qi(()=>{if(r()!=="small"&&r()!=="regular"&&r()!=="large"&&r("regular"),typeof s()=="string"&&(s()==="yes"||s()==="true"?s(!0):s(!1)),!i())console.warn("no company provided!");else if(typeof i()=="string")try{i(JSON.parse(i()))}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 x=0;for(const b of l())b._id||(b._id="ccc_"+x.toString()),x++;if(typeof o()=="string")try{o(JSON.parse(o()))}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 b=0;if(m().phones?.length)for(const B of m().phones)b++,B._id||(B._id=b.toString());if(m().emails?.length)for(const B of m().emails)b++,B._id||(B._id=b.toString());if(m().addresses?.length)for(const B of m().addresses)b++,B._id||(B._id=b.toString());if(m().sites?.length)for(const B of m().sites)b++,B._id||(B._id=b.toString())}catch{}if(typeof p()=="string")try{p(JSON.parse(p()))}catch{}});function d(x,b){e.$$host.dispatchEvent(new CustomEvent(x,{detail:b}))}function v(x){d("footerClick",{elClick:x})}Oo.addComponent({repoName:"@htmlbricks/hb-contact-item",version:No.version});var $={get id(){return n()},set id(x=""){n(x),zt()},get type(){return r()},set type(x="regular"){r(x),zt()},get company(){return i()},set company(x){i(x),zt()},get brandandcontacts(){return o()},set brandandcontacts(x=void 0){o(x),zt()},get columns(){return l()},set columns(x=[]){l(x),zt()},get disable_expanding_small(){return s()},set disable_expanding_small(x=!1){s(x),zt()},get socials(){return a()},set socials(x=void 0){a(x),zt()},get contacts(){return m()},set contacts(x=void 0){m(x),zt()},get policies(){return p()},set policies(x=void 0){p(x),zt()}},N=vl();xo("1tntk73",x=>{var b=zo();g(x,b)});var f=u(N);{var T=x=>{var b=Po(),B=u(b),Pt=u(B);{var jt=ft=>{var W=Co();W.__click=()=>{Nt(c,!0)},g(ft,W)};R(Pt,ft=>{s()||ft(jt)})}var J=O(Pt,2),dt=u(J);We(dt,e,"footer_small",{},ft=>{var W=V(),$t=F(W);{var Ot=U=>{var Lt=Do(),xe=u(Lt);{var ze=et=>{var K=Bo(),bt=u(K);k(K),L(()=>hn(bt,"src",i().logoUri)),g(et,K)};R(xe,et=>{i().logoUri&&et(ze)})}var Ke=O(xe);k(Lt),L(et=>Tt(Ke,` ${et??""}`),[()=>new Date().getFullYear().toString()+" "+(i()?.companyName?" - "+(i()?.companyName||""):"")]),g(U,Lt)};R($t,U=>{i()?.siteName&&U(Ot)})}g(ft,W)}),k(J),k(B),k(b),g(x,b)},C=x=>{var b=V(),B=F(b);{var Pt=J=>{var dt=dl(),ft=F(dt);{var W=et=>{var K=Lo(),bt=u(K),Wt=u(bt);Wt.__click=()=>{Nt(c,!1)},k(bt),k(K),g(et,K)};R(ft,et=>{y(c)&&et(W)})}var $t=O(ft,2),Ot=u($t);We(Ot,e,"footerheader",{class:"row"},et=>{});var U=O(Ot,2);We(U,e,"footercontent",{},et=>{var K=ll(),bt=u(K),Wt=u(bt),Mt=u(Wt),Kt=u(Mt);{var Xe=st=>{var nt=Mo(),Zt=u(nt);k(nt),L(()=>hn(Zt,"src",i().logoUri)),g(st,nt)};R(Kt,st=>{i()?.logoUri&&st(Xe)})}var he=O(Kt);k(Mt),k(Wt);var Xt=O(Wt,2),Ze=u(Xt,!0);k(Xt);var Qe=O(Xt,2),Hn=u(Qe,!0);k(Qe);var _n=O(Qe,2),le=u(_n,!0);k(_n),k(bt);var Et=O(bt,2);{var tn=st=>{var nt=Uo(),Zt=O(u(nt),2),Qt=u(Zt);{var ye=M=>{var mt=V(),At=F(mt);ge(At,17,()=>m().phones,I=>I._id,(I,rt)=>{var z=Go(),h=u(z);L(()=>at(h,"phone",JSON.stringify(y(rt)))),G(h,1,"svelte-1tntk73"),k(z),g(I,z)}),g(M,mt)};R(Qt,M=>{m().phones?.length&&M(ye)})}var Gt=O(Qt,2);{var we=M=>{var mt=V(),At=F(mt);ge(At,17,()=>m().addresses,I=>I._id,(I,rt)=>{var z=Io(),h=u(z);L(()=>at(h,"address",JSON.stringify(y(rt)))),G(h,1,"svelte-1tntk73"),k(z),g(I,z)}),g(M,mt)};R(Gt,M=>{m().addresses?.length&&M(we)})}var _e=O(Gt,2);{var Ce=M=>{var mt=V(),At=F(mt);ge(At,17,()=>m().emails,I=>I._id,(I,rt)=>{var z=Fo(),h=u(z);L(()=>at(h,"email",JSON.stringify(y(rt)))),G(h,1,"svelte-1tntk73"),k(z),g(I,z)}),g(M,mt)};R(_e,M=>{m().emails?.length&&M(Ce)})}var ae=O(_e,2);{var q=M=>{var mt=V(),At=F(mt);ge(At,17,()=>m().sites,I=>I._id,(I,rt)=>{var z=Jo(),h=u(z);L(()=>at(h,"site",JSON.stringify(y(rt)))),G(h,1,"svelte-1tntk73"),k(z),g(I,z)}),g(M,mt)};R(ae,M=>{m().sites?.length&&M(q)})}k(Zt),k(nt),L(()=>G(nt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),g(st,nt)};R(Et,st=>{m()&&st(tn)})}var ii=O(Et,2);{var gl=st=>{var nt=Zo(),Zt=O(u(nt),2),Qt=u(Zt);{var ye=h=>{var S=qo(),P=u(S);at(P,"social",JSON.stringify({name:"facebook",label:"pagina facebook",pageUri:"https://facebook.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(Qt,h=>{a().facebook&&h(ye)})}var Gt=O(Qt,2);{var we=h=>{var S=Yo(),P=u(S);at(P,"social",JSON.stringify({name:"gmail",label:"pagina gmail",pageUri:"https://gmail.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(Gt,h=>{a()?.gmail&&h(we)})}var _e=O(Gt,2);{var Ce=h=>{var S=Ho(),P=u(S);at(P,"social",JSON.stringify({name:"twitter",label:"pagina twitter",pageUri:"https://twitter.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(_e,h=>{a()?.twitter&&h(Ce)})}var ae=O(_e,2);{var q=h=>{var S=Vo(),P=u(S);L(()=>at(P,"social",JSON.stringify({name:"github",label:"pagina github",pageUri:a().github}))),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(ae,h=>{a()?.github&&h(q)})}var M=O(ae,2);{var mt=h=>{var S=Wo(),P=u(S);at(P,"social",JSON.stringify({name:"twitch",label:"pagina twitch",pageUri:"https://twitch.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(M,h=>{a()?.twitch&&h(mt)})}var At=O(M,2);{var I=h=>{var S=Ko(),P=u(S);at(P,"social",JSON.stringify({name:"youtube",label:"pagina youtube",pageUri:"https://youtube.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(At,h=>{a()?.youtube&&h(I)})}var rt=O(At,2);{var z=h=>{var S=Xo(),P=u(S);at(P,"social",JSON.stringify({name:"discord",label:"pagina discord",pageUri:"https://discord.com"})),G(P,1,"svelte-1tntk73"),k(S),g(h,S)};R(rt,h=>{a()?.discord&&h(z)})}k(Zt),k(nt),L(()=>G(nt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),g(st,nt)};R(ii,st=>{a()&&st(gl)})}var fl=O(ii,2);{var bl=st=>{var nt=V(),Zt=F(nt);ge(Zt,17,l,Qt=>Qt._id,(Qt,ye)=>{var Gt=ol(),we=u(Gt),_e=u(we,!0);k(we);var Ce=O(we,2);ge(Ce,21,()=>y(ye).cells,ae=>ae._id,(ae,q)=>{var M=V(),mt=F(M);{var At=rt=>{var z=Qo(),h=u(z);h.__click=()=>v(y(q)._id);var S=u(h,!0);k(h),k(z),L(()=>Tt(S,y(q).label)),g(rt,z)},I=rt=>{var z=V(),h=F(z);{var S=Be=>{var De=tl(),jn=u(De);L(()=>at(jn,"phone",JSON.stringify(y(q).phone))),G(jn,1,"svelte-1tntk73"),k(De),g(Be,De)},P=Be=>{var De=V(),jn=F(De);{var kl=Pe=>{var Le=el(),$n=u(Le);L(()=>at($n,"address",JSON.stringify(y(q).address))),G($n,1,"svelte-1tntk73"),k(Le),g(Pe,Le)},ul=Pe=>{var Le=V(),$n=F(Le);{var xl=Me=>{var Ge=nl(),En=u(Ge);L(()=>at(En,"email",JSON.stringify(y(q).email))),G(En,1,"svelte-1tntk73"),k(Ge),g(Me,Ge)},hl=Me=>{var Ge=V(),En=F(Ge);{var yl=Ie=>{var Fe=rl(),An=u(Fe);L(()=>at(An,"site",JSON.stringify(y(q).site))),G(An,1,"svelte-1tntk73"),k(Fe),g(Ie,Fe)},wl=Ie=>{var Fe=V(),An=F(Fe);{var _l=Vn=>{var Wn=il(),Kn=u(Wn);Kn.__click=()=>v(y(q)._id);var jl=u(Kn,!0);k(Kn),k(Wn),L(()=>Tt(jl,y(q).label)),g(Vn,Wn)};R(An,Vn=>{y(q).label&&Vn(_l)},!0)}g(Ie,Fe)};R(En,Ie=>{y(q).site?Ie(yl):Ie(wl,!1)},!0)}g(Me,Ge)};R($n,Me=>{y(q).email?Me(xl):Me(hl,!1)},!0)}g(Pe,Le)};R(jn,Pe=>{y(q).address?Pe(kl):Pe(ul,!1)},!0)}g(Be,De)};R(h,Be=>{y(q).phone?Be(S):Be(P,!1)},!0)}g(rt,z)};R(mt,rt=>{y(q).label?rt(At):rt(I,!1)})}g(ae,M)}),k(Ce),k(Gt),L(()=>{G(Gt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Tt(_e,y(ye).title?y(ye).title:"")}),g(Qt,Gt)}),g(st,nt)};R(fl,st=>{l()?.length&&st(bl)})}k(K),L(()=>{G(bt,1,`col-md-${12/(1+(m()?1:0)+(a()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Tt(he,` ${(i()?.siteName||"")??""}`),Tt(Ze,i()?.description||""),Tt(Hn,i()?.companyName||""),Tt(le,i()?.vatNumber||i()?.fiscalCode||"")}),g(et,K)});var Lt=O(U,2),xe=u(Lt);We(xe,e,"footerpolicy",{},et=>{var K=V(),bt=F(K);{var Wt=Mt=>{var Kt=V(),Xe=F(Kt);ge(Xe,17,p,he=>he.key,(he,Xt)=>{var Ze=ml(),Qe=u(Ze);{var Hn=le=>{var Et=al(),tn=u(Et,!0);k(Et),L(()=>{hn(Et,"href",y(Xt).link),Tt(tn,y(Xt).label)}),g(le,Et)},_n=le=>{var Et=sl();Et.__click=()=>v(y(Xt).key);var tn=u(Et,!0);k(Et),L(()=>Tt(tn,y(Xt).label)),g(le,Et)};R(Qe,le=>{y(Xt).link?le(Hn):le(_n,!1)})}k(Ze),g(he,Ze)}),g(Mt,Kt)};R(bt,Mt=>{p()?.length&&Mt(Wt)})}g(et,K)}),k(Lt);var ze=O(Lt,2),Ke=u(ze);We(Ke,e,"footerbottom",{},et=>{var K=V(),bt=F(K);{var Wt=Mt=>{var Kt=pl(),Xe=u(Kt,!0);k(Kt),L(he=>Tt(Xe,he),[()=>i()?.registration?.text||(i().since?`${i().since?.toString()} - `:"")+new Date().getFullYear().toString()+" "+(i()?.companyName?" - "+(i()?.companyName||""):"")]),g(Mt,Kt)};R(bt,Mt=>{i()?.siteName&&Mt(Wt)})}g(et,K)}),k(ze),k($t),g(J,dt)},jt=J=>{var dt=V(),ft=F(dt);{var W=$t=>{var Ot=co("large");g($t,Ot)};R(ft,$t=>{r()==="large"&&$t(W)},!0)}g(J,dt)};R(B,J=>{r()==="regular"||r()==="small"&&y(c)?J(Pt):J(jt,!1)},!0)}g(x,b)};R(f,x=>{r()==="small"&&!y(c)?x(T):x(C,!1)})}return k(N),g(t,N),vr($)}po(["click"]),customElements.define("hb-footer",So(ri,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},["footer_small","footerheader","footercontent","footerpolicy","footerbottom"],[],!0)),Xn.Component=ri,Object.defineProperty(Xn,Symbol.toStringTag,{value:"Module"})})(this.footer=this.footer||{});
|
|
185
185
|
//# sourceMappingURL=main.iife.js.map
|