@htmlbricks/hb-footer 0.62.0 → 0.62.2

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