@htmlbricks/hb-contact-card 0.65.23 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,6 +1,6 @@
1
- (function(Nr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Xn=1,Zn=2,Qn=16,to=1,eo=4,ro=8,no=16,oo=1,ao=2,zr="[",Ae="[!",rr="]",me={},W=Symbol(),io="http://www.w3.org/1999/xhtml",nr=!1;var Pr=Array.isArray,lo=Array.prototype.indexOf,or=Array.from,Ne=Object.keys,ze=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,so=Object.getOwnPropertyDescriptors,go=Object.prototype,fo=Array.prototype,Rr=Object.getPrototypeOf,Or=Object.isExtensible;function mo(t){for(var e=0;e<t.length;e++)t[e]()}function Mr(){var t,e,r=new Promise((n,o)=>{t=n,e=o});return{promise:r,resolve:t,reject:e}}const Y=2,ar=4,ir=8,Pt=16,Rt=32,Vt=64,Pe=128,jt=512,G=1024,rt=2048,Ot=4096,lt=8192,Mt=16384,Re=32768,de=65536,Lr=1<<17,lr=1<<18,Zt=1<<19,po=1<<20,Qt=32768,sr=1<<21,gr=1<<22,Wt=1<<23,Oe=Symbol("$state"),Dr=Symbol("legacy props"),xo=Symbol(""),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},fr=3,te=8;function vo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function co(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function bo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function uo(t){throw new Error("https://svelte.dev/e/effect_orphan")}function ho(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wo(){throw new Error("https://svelte.dev/e/hydration_failed")}function yo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function _o(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ko(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function $o(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jo(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Me(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Eo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let k=!1;function st(t){k=t}let S;function Z(t){if(t===null)throw Me(),me;return S=t}function Le(){return Z(ut(S))}function h(t){if(k){if(ut(S)!==null)throw Me(),me;S=t}}function Co(t=1){if(k){for(var e=t,r=S;e--;)r=ut(r);S=r}}function De(t=!0){for(var e=0,r=S;;){if(r.nodeType===te){var n=r.data;if(n===rr){if(e===0)return r;e-=1}else(n===zr||n===Ae)&&(e+=1)}var o=ut(r);t&&r.remove(),r=o}}function Ir(t){if(!t||t.nodeType!==te)throw Me(),me;return t.data}function Fr(t){return t===this.v}function To(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Br(t){return!To(t,this.v)}let So=!1,dt=null;function xe(t){dt=t}function qr(t,e=!1,r){dt={p:dt,i:!1,c:null,e:null,s:t,x:null,l:null}}function Ur(t){var e=dt,r=e.e;if(r!==null){e.e=null;for(var n of r)mn(n)}return t!==void 0&&(e.x=t),e.i=!0,dt=e.p,t??{}}function Yr(){return!0}let ee=[];function Hr(){var t=ee;ee=[],mo(t)}function mr(t){if(ee.length===0&&!we){var e=ee;queueMicrotask(()=>{e===ee&&Hr()})}ee.push(t)}function Ao(){for(;ee.length>0;)Hr()}function Vr(t){var e=C;if(e===null)return $.f|=Wt,t;if((e.f&Re)===0){if((e.f&Pe)===0)throw t;e.b.error(t)}else ve(t,e)}function ve(t,e){for(;e!==null;){if((e.f&Pe)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Ie=new Set;let D=null,pt=null,xt=[],Fe=null,dr=!1,we=!1;class Et{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#n=0;#s=null;#a=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(e){xt=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of e)this.#i(n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects)):(D=null,Gr(r.render_effects),Gr(r.effects),this.#s?.resolve()),pt=null}#i(e,r){e.f^=G;for(var n=e.first;n!==null;){var o=n.f,a=(o&(Rt|Vt))!==0,i=a&&(o&G)!==0,l=i||(o&lt)!==0||this.skipped_effects.has(n);if((n.f&Pe)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){a?n.f^=G:(o&ar)!==0?r.effects.push(n):$e(n)&&((n.f&Pt)!==0&&r.block_effects.push(n),je(n));var s=n.first;if(s!==null){n=s;continue}}var g=n.parent;for(n=n.next;n===null&&g!==null;)g===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects),r=r.parent),n=g.next,g=g.parent}}#l(e){for(const r of e)((r.f&rt)!==0?this.#a:this.#o).push(r),this.#g(r.deps),K(r,G)}#g(e){if(e!==null)for(const r of e)(r.f&Y)===0||(r.f&Qt)===0||(r.f^=Qt,this.#g(r.deps))}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&Wt)===0&&(this.current.set(e,e.v),pt?.set(e,e.v))}activate(){D=this,this.apply()}deactivate(){D===this&&(D=null,pt=null)}flush(){if(this.activate(),xt.length>0){if(Wr(),D!==null&&D!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#f(){if(this.#n===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#m()}#m(){if(Ie.size>1){this.previous.clear();var e=pt,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of Ie){if(a===this){r=!1;continue}const i=[];for(const[s,g]of this.current){if(a.current.has(s))if(r&&g!==a.current.get(s))a.current.set(s,g);else continue;i.push(s)}if(i.length===0)continue;const l=[...a.current.keys()].filter(s=>!this.current.has(s));if(l.length>0){var o=xt;xt=[];const s=new Set,g=new Map;for(const m of i)Jr(m,l,s,g);if(xt.length>0){D=a,a.apply();for(const m of xt)a.#i(m,n);a.deactivate()}xt=o}}D=null,pt=e}this.committed=!0,Ie.delete(this)}increment(e){this.#r+=1,e&&(this.#n+=1)}decrement(e){this.#r-=1,e&&(this.#n-=1),this.revive()}revive(){for(const e of this.#a)K(e,rt),re(e);for(const e of this.#o)K(e,Ot),re(e);this.#a=[],this.#o=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=Mr()).promise}static ensure(){if(D===null){const e=D=new Et;Ie.add(D),we||Et.enqueue(()=>{D===e&&e.flush()})}return D}static enqueue(e){mr(e)}apply(){}}function Gt(t){var e=we;we=!0;try{for(var r;;){if(Ao(),xt.length===0&&(D?.flush(),xt.length===0))return Fe=null,r;Wr()}}finally{we=e}}function Wr(){var t=Kt;dr=!0;var e=null;try{var r=0;for(Ge(!0);xt.length>0;){var n=Et.ensure();if(r++>1e3){var o,a;No()}n.process(xt),Jt.clear()}}finally{dr=!1,Ge(t),Fe=null}}function No(){try{ho()}catch(t){ve(t,Fe)}}let Lt=null;function Gr(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Mt|lt))===0&&$e(n)&&(Lt=new Set,je(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?vn(n):n.fn=null),Lt?.size>0)){Jt.clear();for(const o of Lt){if((o.f&(Mt|lt))!==0)continue;const a=[o];let i=o.parent;for(;i!==null;)Lt.has(i)&&(Lt.delete(i),a.push(i)),i=i.parent;for(let l=a.length-1;l>=0;l--){const s=a[l];(s.f&(Mt|lt))===0&&je(s)}}Lt.clear()}}Lt=null}}function Jr(t,e,r,n){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const o of t.reactions){const a=o.f;(a&Y)!==0?Jr(o,e,r,n):(a&(gr|Pt))!==0&&(a&rt)===0&&Kr(o,e,n)&&(K(o,rt),re(o))}}function Kr(t,e,r){const n=r.get(t);if(n!==void 0)return n;if(t.deps!==null)for(const o of t.deps){if(e.includes(o))return!0;if((o.f&Y)!==0&&Kr(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function re(t){for(var e=Fe=t;e.parent!==null;){e=e.parent;var r=e.f;if(dr&&e===C&&(r&Pt)!==0&&(r&lr)===0)return;if((r&(Vt|Rt))!==0){if((r&G)===0)return;e.f^=G}}xt.push(e)}function zo(t){let e=0,r=ne(0),n;return()=>{Ve()&&(f(r),dn(()=>(e===0&&(n=Tn(()=>t(()=>_e(r)))),e+=1,()=>{mr(()=>{e-=1,e===0&&(n?.(),n=void 0,_e(r))})})))}}var Po=de|Zt|Pe;function Ro(t,e,r){new Oo(t,e,r)}class Oo{parent;#e=!1;#t;#r=k?S:null;#n;#s;#a;#o=null;#i=null;#l=null;#g=null;#f=null;#m=0;#d=0;#x=!1;#p=null;#h=zo(()=>(this.#p=ne(this.#m),()=>{this.#p=null}));constructor(e,r,n){this.#t=e,this.#n=r,this.#s=n,this.parent=C.b,this.#e=!!this.#n.pending,this.#a=We(()=>{if(C.b=this,k){const a=this.#r;Le(),a.nodeType===te&&a.data===Ae?this.#y():this.#w()}else{var o=this.#b();try{this.#o=ht(()=>n(o))}catch(a){this.error(a)}this.#d>0?this.#c():this.#e=!1}return()=>{this.#f?.remove()}},Po),k&&(this.#t=S)}#w(){try{this.#o=ht(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#n.pending;e&&(this.#i=ht(()=>e(this.#t)),Et.enqueue(()=>{var r=this.#b();this.#o=this.#v(()=>(Et.ensure(),ht(()=>this.#s(r)))),this.#d>0?this.#c():(ce(this.#i,()=>{this.#i=null}),this.#e=!1)}))}#b(){var e=this.#t;return this.#e&&(this.#f=bt(),this.#t.before(this.#f),e=this.#f),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(e){var r=C,n=$,o=dt;wt(this.#a),J(this.#a),xe(this.#a.ctx);try{return e()}catch(a){return Vr(a),null}finally{wt(r),J(n),xe(o)}}#c(){const e=this.#n.pending;this.#o!==null&&(this.#g=document.createDocumentFragment(),this.#g.append(this.#f),un(this.#o,this.#g)),this.#i===null&&(this.#i=ht(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#d+=e,this.#d===0&&(this.#e=!1,this.#i&&ce(this.#i,()=>{this.#i=null}),this.#g&&(this.#t.before(this.#g),this.#g=null))}update_pending_count(e){this.#u(e),this.#m+=e,this.#p&&ye(this.#p,this.#m)}get_effect_pending(){return this.#h(),f(this.#p)}error(e){var r=this.#n.onerror;let n=this.#n.failed;if(this.#x||!r&&!n)throw e;this.#o&&(Q(this.#o),this.#o=null),this.#i&&(Q(this.#i),this.#i=null),this.#l&&(Q(this.#l),this.#l=null),k&&(Z(this.#r),Co(),Z(De()));var o=!1,a=!1;const i=()=>{if(o){Eo();return}o=!0,a&&jo(),Et.ensure(),this.#m=0,this.#l!==null&&ce(this.#l,()=>{this.#l=null}),this.#e=this.has_pending_snippet(),this.#o=this.#v(()=>(this.#x=!1,ht(()=>this.#s(this.#t)))),this.#d>0?this.#c():this.#e=!1};var l=$;try{J(null),a=!0,r?.(e,i),a=!1}catch(s){ve(s,this.#a&&this.#a.parent)}finally{J(l)}n&&mr(()=>{this.#l=this.#v(()=>{Et.ensure(),this.#x=!0;try{return ht(()=>{n(this.#t,()=>e,()=>i)})}catch(s){return ve(s,this.#a.parent),null}finally{this.#x=!1}})})}}function Be(t,e){return e}function Mo(t,e,r){for(var n=[],o=e.length,a=0;a<o;a++)br(e[a].e,n,!0);cn(n,()=>{var i=n.length===0&&r!==null;if(i){var l=r,s=l.parentNode;sn(s),s.append(l),t.items.clear(),Tt(t,e[0].prev,e[o-1].next)}for(var g=0;g<o;g++){var m=e[g];i||(t.items.delete(m.k),Tt(t,m.prev,m.next)),Q(m.e,!i)}t.first===e[0]&&(t.first=e[0].prev)})}function qe(t,e,r,n,o,a=null){var i=t,l=new Map,s=null;k&&Le();var g=null,m=Xr(()=>{var A=r();return Pr(A)?A:A==null?[]:or(A)}),x,p=!0;function c(){Lo(M,x,i,e,n),g!==null&&(x.length===0?(g.fragment?(i.before(g.fragment),g.fragment=null):ur(g.effect),u.first=g.effect):ce(g.effect,()=>{g=null}))}var u=We(()=>{x=f(m);var A=x.length;let et=!1;if(k){var N=Ir(i)===Ae;N!==(A===0)&&(i=De(),Z(i),st(!1),et=!0)}for(var _t=new Set,mt=D,Nt=null,H=gn(),V=0;V<A;V+=1){k&&S.nodeType===te&&S.data===rr&&(i=S,et=!0,st(!1));var Bt=x[V],he=n(Bt,V),kt=p?null:l.get(he);kt?(ye(kt.v,Bt),kt.i=V,H&&mt.skipped_effects.delete(kt.e)):(kt=Do(p?i:null,Nt,Bt,he,V,o,e,r),p&&(kt.o=!0,Nt===null?s=kt:Nt.next=kt,Nt=kt),l.set(he,kt)),_t.add(he)}if(A===0&&a&&!g)if(p)g={fragment:null,effect:ht(()=>a(i))};else{var tr=document.createDocumentFragment(),er=bt();tr.append(er),g={fragment:tr,effect:ht(()=>a(er))}}if(k&&A>0&&Z(De()),!p)if(H){for(const[kr,$r]of l)_t.has(kr)||mt.skipped_effects.add($r.e);mt.oncommit(c),mt.ondiscard(()=>{})}else c();et&&st(!0),f(m)}),M={effect:u,items:l,first:s};p=!1,k&&(i=S)}function Lo(t,e,r,n,o){var a=e.length,i=t.items,l=t.first,s,g=null,m=[],x=[],p,c,u,M;for(M=0;M<a;M+=1){if(p=e[M],c=o(p,M),u=i.get(c),t.first??=u,!u.o){u.o=!0;var A=g?g.next:l;Tt(t,g,u),Tt(t,u,A),pr(u,A,r),g=u,m=[],x=[],l=g.next;continue}if((u.e.f&lt)!==0&&ur(u.e),u!==l){if(s!==void 0&&s.has(u)){if(m.length<x.length){var et=x[0],N;g=et.prev;var _t=m[0],mt=m[m.length-1];for(N=0;N<m.length;N+=1)pr(m[N],et,r);for(N=0;N<x.length;N+=1)s.delete(x[N]);Tt(t,_t.prev,mt.next),Tt(t,g,_t),Tt(t,mt,et),l=et,g=mt,M-=1,m=[],x=[]}else s.delete(u),pr(u,l,r),Tt(t,u.prev,u.next),Tt(t,u,g===null?t.first:g.next),Tt(t,g,u),g=u;continue}for(m=[],x=[];l!==null&&l.k!==c;)(l.e.f&lt)===0&&(s??=new Set).add(l),x.push(l),l=l.next;if(l===null)continue;u=l}m.push(u),g=u,l=u.next}if(l!==null||s!==void 0){for(var Nt=s===void 0?[]:or(s);l!==null;)(l.e.f&lt)===0&&Nt.push(l),l=l.next;var H=Nt.length;if(H>0){var V=null;Mo(t,Nt,V)}}}function Do(t,e,r,n,o,a,i,l){var s=(i&Xn)!==0,g=(i&Qn)===0,m=s?g?en(r,!1,!1):ne(r):r,x=(i&Zn)===0?o:ne(o),p={i:x,v:m,k:n,a:null,e:null,o:!1,prev:e,next:null};try{if(t===null){var c=document.createDocumentFragment();c.append(t=bt())}return p.e=ht(()=>a(t,m,x,l)),e!==null&&(e.next=p),p}finally{}}function pr(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,a=t.e.nodes_start;a!==null&&a!==n;){var i=ut(a);o.before(a),a=i}}function Tt(t,e,r){e===null?(t.first=r,t.effect.first=r&&r.e):(e.e.next&&(e.e.next.prev=null),e.next=r,e.e.next=r&&r.e),r===null?t.effect.last=e&&e.e:(r.e.prev&&(r.e.prev.next=null),r.prev=e,r.e.prev=e&&e.e)}function Io(t,e,r,n){const o=Ye;if(r.length===0&&t.length===0){n(e.map(o));return}var a=D,i=C,l=Fo();function s(){Promise.all(r.map(g=>Bo(g))).then(g=>{l();try{n([...e.map(o),...g])}catch(m){(i.f&Mt)===0&&ve(m,i)}a?.deactivate(),Ue()}).catch(g=>{ve(g,i)})}t.length>0?Promise.all(t).then(()=>{l();try{return s()}finally{a?.deactivate(),Ue()}}):s()}function Fo(){var t=C,e=$,r=dt,n=D;return function(a=!0){wt(t),J(e),xe(r),a&&n?.activate()}}function Ue(){wt(null),J(null),xe(null)}function Ye(t){var e=Y|rt,r=$!==null&&($.f&Y)!==0?$:null;return C!==null&&(C.f|=Zt),{ctx:dt,deps:null,effects:null,equals:Fr,f:e,fn:t,reactions:null,rv:0,v:W,wv:0,parent:r??C,ac:null}}function Bo(t,e){let r=C;r===null&&vo();var n=r.b,o=void 0,a=ne(W),i=!$,l=new Map;return Xo(()=>{var s=Mr();o=s.promise;try{Promise.resolve(t()).then(s.resolve,s.reject).then(()=>{g===D&&g.committed&&g.deactivate(),Ue()})}catch(p){s.reject(p),Ue()}var g=D;if(i){var m=!n.is_pending();n.update_pending_count(1),g.increment(m),l.get(g)?.reject(pe),l.delete(g),l.set(g,s)}const x=(p,c=void 0)=>{if(g.activate(),c)c!==pe&&(a.f|=Wt,ye(a,c));else{(a.f&Wt)!==0&&(a.f^=Wt),ye(a,p);for(const[u,M]of l){if(l.delete(u),u===g)break;M.reject(pe)}}i&&(n.update_pending_count(-1),g.decrement(m))};s.promise.then(x,p=>x(null,p||"unknown"))}),Vo(()=>{for(const s of l.values())s.reject(pe)}),new Promise(s=>{function g(m){function x(){m===o?s(a):g(o)}m.then(x,x)}g(o)})}function Dt(t){const e=Ye(t);return wn(e),e}function Xr(t){const e=Ye(t);return e.equals=Br,e}function Zr(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)Q(e[r])}}function qo(t){for(var e=t.parent;e!==null;){if((e.f&Y)===0)return(e.f&Mt)===0?e:null;e=e.parent}return null}function xr(t){var e,r=C;wt(qo(t));try{t.f&=~Qt,Zr(t),e=jn(t)}finally{wt(r)}return e}function Qr(t){var e=xr(t);if(t.equals(e)||(D?.is_fork||(t.v=e),t.wv=kn()),!ae)if(pt!==null)Ve()&&pt.set(t,e);else{var r=(t.f&jt)===0?Ot:G;K(t,r)}}let vr=new Set;const Jt=new Map;let tn=!1;function ne(t,e){var r={f:0,v:t,reactions:null,equals:Fr,rv:0,wv:0};return r}function vt(t,e){const r=ne(t);return wn(r),r}function en(t,e=!1,r=!0){const n=ne(t);return e||(n.equals=Br),n}function ct(t,e,r=!1){$!==null&&(!At||($.f&Lr)!==0)&&Yr()&&($.f&(Y|Pt|gr|Lr))!==0&&!Ft?.includes(t)&&$o();let n=r?It(e):e;return ye(t,n)}function ye(t,e){if(!t.equals(e)){var r=t.v;ae?Jt.set(t,e):Jt.set(t,r),t.v=e;var n=Et.ensure();n.capture(t,r),(t.f&Y)!==0&&((t.f&rt)!==0&&xr(t),K(t,(t.f&jt)!==0?G:Ot)),t.wv=kn(),rn(t,rt),C!==null&&(C.f&G)!==0&&(C.f&(Rt|Vt))===0&&(yt===null?ta([t]):yt.push(t)),!n.is_fork&&vr.size>0&&!tn&&Uo()}return e}function Uo(){tn=!1;var t=Kt;Ge(!0);const e=Array.from(vr);try{for(const r of e)(r.f&G)!==0&&K(r,Ot),$e(r)&&je(r)}finally{Ge(t)}vr.clear()}function _e(t){ct(t,t.v+1)}function rn(t,e){var r=t.reactions;if(r!==null)for(var n=r.length,o=0;o<n;o++){var a=r[o],i=a.f,l=(i&rt)===0;if(l&&K(a,e),(i&Y)!==0){var s=a;pt?.delete(s),(i&Qt)===0&&(i&jt&&(a.f|=Qt),rn(s,Ot))}else l&&((i&Pt)!==0&&Lt!==null&&Lt.add(a),re(a))}}function It(t){if(typeof t!="object"||t===null||Oe in t)return t;const e=Rr(t);if(e!==go&&e!==fo)return t;var r=new Map,n=Pr(t),o=vt(0),a=ie,i=l=>{if(ie===a)return l();var s=$,g=ie;J(null),_n(a);var m=l();return J(s),_n(g),m};return n&&r.set("length",vt(t.length)),new Proxy(t,{defineProperty(l,s,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&_o();var m=r.get(s);return m===void 0?m=i(()=>{var x=vt(g.value);return r.set(s,x),x}):ct(m,g.value,!0),!0},deleteProperty(l,s){var g=r.get(s);if(g===void 0){if(s in l){const m=i(()=>vt(W));r.set(s,m),_e(o)}}else ct(g,W),_e(o);return!0},get(l,s,g){if(s===Oe)return t;var m=r.get(s),x=s in l;if(m===void 0&&(!x||Xt(l,s)?.writable)&&(m=i(()=>{var c=It(x?l[s]:W),u=vt(c);return u}),r.set(s,m)),m!==void 0){var p=f(m);return p===W?void 0:p}return Reflect.get(l,s,g)},getOwnPropertyDescriptor(l,s){var g=Reflect.getOwnPropertyDescriptor(l,s);if(g&&"value"in g){var m=r.get(s);m&&(g.value=f(m))}else if(g===void 0){var x=r.get(s),p=x?.v;if(x!==void 0&&p!==W)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return g},has(l,s){if(s===Oe)return!0;var g=r.get(s),m=g!==void 0&&g.v!==W||Reflect.has(l,s);if(g!==void 0||C!==null&&(!m||Xt(l,s)?.writable)){g===void 0&&(g=i(()=>{var p=m?It(l[s]):W,c=vt(p);return c}),r.set(s,g));var x=f(g);if(x===W)return!1}return m},set(l,s,g,m){var x=r.get(s),p=s in l;if(n&&s==="length")for(var c=g;c<x.v;c+=1){var u=r.get(c+"");u!==void 0?ct(u,W):c in l&&(u=i(()=>vt(W)),r.set(c+"",u))}if(x===void 0)(!p||Xt(l,s)?.writable)&&(x=i(()=>vt(void 0)),ct(x,It(g)),r.set(s,x));else{p=x.v!==W;var M=i(()=>It(g));ct(x,M)}var A=Reflect.getOwnPropertyDescriptor(l,s);if(A?.set&&A.set.call(m,g),!p){if(n&&typeof s=="string"){var et=r.get("length"),N=Number(s);Number.isInteger(N)&&N>=et.v&&ct(et,N+1)}_e(o)}return!0},ownKeys(l){f(o);var s=Reflect.ownKeys(l).filter(x=>{var p=r.get(x);return p===void 0||p.v!==W});for(var[g,m]of r)m.v!==W&&!(g in l)&&s.push(g);return s},setPrototypeOf(){ko()}})}var nn,on,an,ln;function cr(){if(nn===void 0){nn=window,on=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;an=Xt(e,"firstChild").get,ln=Xt(e,"nextSibling").get,Or(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Or(r)&&(r.__t=void 0)}}function bt(t=""){return document.createTextNode(t)}function oe(t){return an.call(t)}function ut(t){return ln.call(t)}function w(t,e){if(!k)return oe(t);var r=oe(S);if(r===null)r=S.appendChild(bt());else if(e&&r.nodeType!==fr){var n=bt();return r?.before(n),Z(n),n}return Z(r),r}function He(t,e=!1){if(!k){var r=oe(t);return r instanceof Comment&&r.data===""?ut(r):r}if(e&&S?.nodeType!==fr){var n=bt();return S?.before(n),Z(n),n}return S}function _(t,e=1,r=!1){let n=k?S:t;for(var o;e--;)o=n,n=ut(n);if(!k)return n;if(r&&n?.nodeType!==fr){var a=bt();return n===null?o?.after(a):n.before(a),Z(a),a}return Z(n),n}function sn(t){t.textContent=""}function gn(){return!1}function fn(t){var e=$,r=C;J(null),wt(null);try{return t()}finally{J(e),wt(r)}}function Yo(t){C===null&&($===null&&uo(),bo()),ae&&co()}function Ho(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function St(t,e,r){var n=C;n!==null&&(n.f&lt)!==0&&(t|=lt);var o={ctx:dt,deps:null,nodes_start:null,nodes_end:null,f:t|rt|jt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{je(o),o.f|=Re}catch(l){throw Q(o),l}else e!==null&&re(o);var a=o;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Zt)===0&&(a=a.first,(t&Pt)!==0&&(t&de)!==0&&a!==null&&(a.f|=de)),a!==null&&(a.parent=n,n!==null&&Ho(a,n),$!==null&&($.f&Y)!==0&&(t&Vt)===0)){var i=$;(i.effects??=[]).push(a)}return o}function Ve(){return $!==null&&!At}function Vo(t){const e=St(ir,null,!1);return K(e,G),e.teardown=t,e}function Wo(t){Yo();var e=C.f,r=!$&&(e&Rt)!==0&&(e&Re)===0;if(r){var n=dt;(n.e??=[]).push(t)}else return mn(t)}function mn(t){return St(ar|po,t,!1)}function Go(t){Et.ensure();const e=St(Vt|Zt,t,!0);return()=>{Q(e)}}function Jo(t){Et.ensure();const e=St(Vt|Zt,t,!0);return(r={})=>new Promise(n=>{r.outro?ce(e,()=>{Q(e),n(void 0)}):(Q(e),n(void 0))})}function Ko(t){return St(ar,t,!1)}function Xo(t){return St(gr|Zt,t,!0)}function dn(t,e=0){return St(ir|e,t,!0)}function R(t,e=[],r=[],n=[]){Io(n,e,r,o=>{St(ir,()=>t(...o.map(f)),!0)})}function We(t,e=0){var r=St(Pt|e,t,!0);return r}function ht(t){return St(Rt|Zt,t,!0)}function pn(t){var e=t.teardown;if(e!==null){const r=ae,n=$;hn(!0),J(null);try{e.call(null)}finally{hn(r),J(n)}}}function xn(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&fn(()=>{o.abort(pe)});var n=r.next;(r.f&Vt)!==0?r.parent=null:Q(r,e),r=n}}function Zo(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Rt)===0&&Q(e),e=r}}function Q(t,e=!0){var r=!1;(e||(t.f&lr)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Qo(t.nodes_start,t.nodes_end),r=!0),xn(t,e&&!r),Je(t,0),K(t,Mt);var n=t.transitions;if(n!==null)for(const a of n)a.stop();pn(t);var o=t.parent;o!==null&&o.first!==null&&vn(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Qo(t,e){for(;t!==null;){var r=t===e?null:ut(t);t.remove(),t=r}}function vn(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function ce(t,e,r=!0){var n=[];br(t,n,!0),cn(n,()=>{r&&Q(t),e&&e()})}function cn(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function br(t,e,r){if((t.f&lt)===0){if(t.f^=lt,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var o=n.next,a=(n.f&de)!==0||(n.f&Rt)!==0&&(t.f&Pt)!==0;br(n,e,a?r:!1),n=o}}}function ur(t){bn(t,!0)}function bn(t,e){if((t.f&lt)!==0){t.f^=lt,(t.f&G)===0&&(K(t,rt),re(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&de)!==0||(r.f&Rt)!==0;bn(r,o?e:!1),r=n}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||e)&&a.in()}}function un(t,e){for(var r=t.nodes_start,n=t.nodes_end;r!==null;){var o=r===n?null:ut(r);e.append(r),r=o}}let Kt=!1;function Ge(t){Kt=t}let ae=!1;function hn(t){ae=t}let $=null,At=!1;function J(t){$=t}let C=null;function wt(t){C=t}let Ft=null;function wn(t){$!==null&&(Ft===null?Ft=[t]:Ft.push(t))}let tt=null,gt=0,yt=null;function ta(t){yt=t}let yn=1,ke=0,ie=ke;function _n(t){ie=t}function kn(){return++yn}function $e(t){var e=t.f;if((e&rt)!==0)return!0;if(e&Y&&(t.f&=~Qt),(e&Ot)!==0){var r=t.deps;if(r!==null)for(var n=r.length,o=0;o<n;o++){var a=r[o];if($e(a)&&Qr(a),a.wv>t.wv)return!0}(e&jt)!==0&&pt===null&&K(t,G)}return!1}function $n(t,e,r=!0){var n=t.reactions;if(n!==null&&!Ft?.includes(t))for(var o=0;o<n.length;o++){var a=n[o];(a.f&Y)!==0?$n(a,e,!1):e===a&&(r?K(a,rt):(a.f&G)!==0&&K(a,Ot),re(a))}}function jn(t){var e=tt,r=gt,n=yt,o=$,a=Ft,i=dt,l=At,s=ie,g=t.f;tt=null,gt=0,yt=null,$=(g&(Rt|Vt))===0?t:null,Ft=null,xe(t.ctx),At=!1,ie=++ke,t.ac!==null&&(fn(()=>{t.ac.abort(pe)}),t.ac=null);try{t.f|=sr;var m=t.fn,x=m(),p=t.deps;if(tt!==null){var c;if(Je(t,gt),p!==null&&gt>0)for(p.length=gt+tt.length,c=0;c<tt.length;c++)p[gt+c]=tt[c];else t.deps=p=tt;if(Kt&&Ve()&&(t.f&jt)!==0)for(c=gt;c<p.length;c++)(p[c].reactions??=[]).push(t)}else p!==null&&gt<p.length&&(Je(t,gt),p.length=gt);if(Yr()&&yt!==null&&!At&&p!==null&&(t.f&(Y|Ot|rt))===0)for(c=0;c<yt.length;c++)$n(yt[c],t);return o!==null&&o!==t&&(ke++,yt!==null&&(n===null?n=yt:n.push(...yt))),(t.f&Wt)!==0&&(t.f^=Wt),x}catch(u){return Vr(u)}finally{t.f^=sr,tt=e,gt=r,yt=n,$=o,Ft=a,xe(i),At=l,ie=s}}function ea(t,e){let r=e.reactions;if(r!==null){var n=lo.call(r,t);if(n!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[n]=r[o],r.pop())}}r===null&&(e.f&Y)!==0&&(tt===null||!tt.includes(e))&&(K(e,Ot),(e.f&jt)!==0&&(e.f^=jt,e.f&=~Qt),Zr(e),Je(e,0))}function Je(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)ea(t,r[n])}function je(t){var e=t.f;if((e&Mt)===0){K(t,G);var r=C,n=Kt;C=t,Kt=!0;try{(e&Pt)!==0?Zo(t):xn(t),pn(t);var o=jn(t);t.teardown=typeof o=="function"?o:null,t.wv=yn;var a;nr&&So&&(t.f&rt)!==0&&t.deps}finally{Kt=n,C=r}}}function f(t){var e=t.f,r=(e&Y)!==0;if($!==null&&!At){var n=C!==null&&(C.f&Mt)!==0;if(!n&&!Ft?.includes(t)){var o=$.deps;if(($.f&sr)!==0)t.rv<ke&&(t.rv=ke,tt===null&&o!==null&&o[gt]===t?gt++:tt===null?tt=[t]:tt.includes(t)||tt.push(t));else{($.deps??=[]).push(t);var a=t.reactions;a===null?t.reactions=[$]:a.includes($)||a.push($)}}}if(ae){if(Jt.has(t))return Jt.get(t);if(r){var i=t,l=i.v;return((i.f&G)===0&&i.reactions!==null||Cn(i))&&(l=xr(i)),Jt.set(i,l),l}}else r&&!pt?.has(t)&&(i=t,$e(i)&&Qr(i),Kt&&Ve()&&(i.f&jt)===0&&En(i));if(pt?.has(t))return pt.get(t);if((t.f&Wt)!==0)throw t.v;return t.v}function En(t){if(t.deps!==null){t.f^=jt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&Y)!==0&&(e.f&jt)===0&&En(e)}}function Cn(t){if(t.v===W)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Jt.has(e)||(e.f&Y)!==0&&Cn(e))return!0;return!1}function Tn(t){var e=At;try{return At=!0,t()}finally{At=e}}const ra=-7169;function K(t,e){t.f=t.f&ra|e}const Sn=new Set,hr=new Set;function na(t){for(var e=0;e<t.length;e++)Sn.add(t[e]);for(var r of hr)r(t)}let An=null;function Ke(t){var e=this,r=e.ownerDocument,n=t.type,o=t.composedPath?.()||[],a=o[0]||t.target;An=t;var i=0,l=An===t&&t.__root;if(l){var s=o.indexOf(l);if(s!==-1&&(e===document||e===window)){t.__root=e;return}var g=o.indexOf(e);if(g===-1)return;s<=g&&(i=s)}if(a=o[i]||t.target,a!==e){ze(t,"currentTarget",{configurable:!0,get(){return a||r}});var m=$,x=C;J(null),wt(null);try{for(var p,c=[];a!==null;){var u=a.assignedSlot||a.parentNode||a.host||null;try{var M=a["__"+n];M!=null&&(!a.disabled||t.target===a)&&M.call(a,t)}catch(A){p?c.push(A):p=A}if(t.cancelBubble||u===e||u===null)break;a=u}if(p){for(let A of c)queueMicrotask(()=>{throw A});throw p}}finally{t.__root=e,delete t.currentTarget,J(m),wt(x)}}}function oa(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function be(t,e){var r=C;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function z(t,e){var r=(e&oo)!==0,n=(e&ao)!==0,o,a=!t.startsWith("<!>");return()=>{if(k)return be(S,null),S;o===void 0&&(o=oa(a?t:"<!>"+t),r||(o=oe(o)));var i=n||on?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=oe(i),s=i.lastChild;be(l,s)}else be(i,i);return i}}function Xe(){if(k)return be(S,null),S;var t=document.createDocumentFragment(),e=document.createComment(""),r=bt();return t.append(e,r),be(e,r),t}function T(t,e){if(k){var r=C;((r.f&Re)===0||r.nodes_end===null)&&(r.nodes_end=S),Le();return}t!==null&&t.before(e)}const aa=["touchstart","touchmove"];function ia(t){return aa.includes(t)}function F(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function Nn(t,e){return zn(t,e)}function la(t,e){cr(),e.intro=e.intro??!1;const r=e.target,n=k,o=S;try{for(var a=oe(r);a&&(a.nodeType!==te||a.data!==zr);)a=ut(a);if(!a)throw me;st(!0),Z(a);const i=zn(t,{...e,anchor:a});return st(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw i;return i!==me&&console.warn("Failed to hydrate: ",i),e.recover===!1&&wo(),cr(),sn(r),st(!1),Nn(t,e)}finally{st(n),Z(o)}}const ue=new Map;function zn(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:i=!0}){cr();var l=new Set,s=x=>{for(var p=0;p<x.length;p++){var c=x[p];if(!l.has(c)){l.add(c);var u=ia(c);e.addEventListener(c,Ke,{passive:u});var M=ue.get(c);M===void 0?(document.addEventListener(c,Ke,{passive:u}),ue.set(c,1)):ue.set(c,M+1)}}};s(or(Sn)),hr.add(s);var g=void 0,m=Jo(()=>{var x=r??e.appendChild(bt());return Ro(x,{pending:()=>{}},p=>{if(a){qr({});var c=dt;c.c=a}if(o&&(n.$$events=o),k&&be(p,null),g=t(p,n)||{},k&&(C.nodes_end=S,S===null||S.nodeType!==te||S.data!==rr))throw Me(),me;a&&Ur()}),()=>{for(var p of l){e.removeEventListener(p,Ke);var c=ue.get(p);--c===0?(document.removeEventListener(p,Ke),ue.delete(p)):ue.set(p,c)}hr.delete(s),x!==r&&x.parentNode?.removeChild(x)}});return wr.set(g,m),g}let wr=new WeakMap;function sa(t,e){const r=wr.get(t);return r?(wr.delete(t),r(e)):Promise.resolve()}class ga{anchor;#e=new Map;#t=new Map;#r=new Map;#n=new Set;#s=!0;constructor(e,r=!0){this.anchor=e,this.#s=r}#a=()=>{var e=D;if(this.#e.has(e)){var r=this.#e.get(e),n=this.#t.get(r);if(n)ur(n),this.#n.delete(r);else{var o=this.#r.get(r);o&&(this.#t.set(r,o.effect),this.#r.delete(r),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),n=o.effect)}for(const[a,i]of this.#e){if(this.#e.delete(a),a===e)break;const l=this.#r.get(i);l&&(Q(l.effect),this.#r.delete(i))}for(const[a,i]of this.#t){if(a===r||this.#n.has(a))continue;const l=()=>{if(Array.from(this.#e.values()).includes(a)){var g=document.createDocumentFragment();un(i,g),g.append(bt()),this.#r.set(a,{effect:i,fragment:g})}else Q(i);this.#n.delete(a),this.#t.delete(a)};this.#s||!n?(this.#n.add(a),ce(i,l,!1)):l()}}};#o=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[n,o]of this.#r)r.includes(n)||(Q(o.effect),this.#r.delete(n))};ensure(e,r){var n=D,o=gn();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(o){var a=document.createDocumentFragment(),i=bt();a.append(i),this.#r.set(e,{effect:ht(()=>r(i)),fragment:a})}else this.#t.set(e,ht(()=>r(this.anchor)));if(this.#e.set(n,e),o){for(const[l,s]of this.#t)l===e?n.skipped_effects.delete(s):n.skipped_effects.add(s);for(const[l,s]of this.#r)l===e?n.skipped_effects.delete(s.effect):n.skipped_effects.add(s.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else k&&(this.anchor=S),this.#a()}}function O(t,e,r=!1){k&&Le();var n=new ga(t),o=r?de:0;function a(i,l){if(k){const g=Ir(t)===Ae;if(i===g){var s=De();Z(s),n.anchor=s,st(!1),n.ensure(i,l),st(!0);return}}n.ensure(i,l)}We(()=>{var i=!1;e((l,s=!0)=>{i=!0,a(s,l)}),i||a(!1,null)},o)}function fa(t,e){let r=null,n=k;var o;if(k){r=S;for(var a=oe(document.head);a!==null&&(a.nodeType!==te||a.data!==t);)a=ut(a);if(a===null)st(!1);else{var i=ut(a);a.remove(),Z(i)}}k||(o=document.head.appendChild(bt()));try{We(()=>e(o),lr)}finally{n&&(st(!0),Z(r))}}function ma(t,e){Ko(()=>{var r=t.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,n.appendChild(o)}})}const Pn=[...`
3
- \r\f \v\uFEFF`];function da(t,e,r){var n=t==null?"":""+t;if(e&&(n=n?n+" "+e:e),r){for(var o in r)if(r[o])n=n?n+" "+o:o;else if(n.length)for(var a=o.length,i=0;(i=n.indexOf(o,i))>=0;){var l=i+a;(i===0||Pn.includes(n[i-1]))&&(l===n.length||Pn.includes(n[l]))?n=(i===0?"":n.substring(0,i))+n.substring(l+1):i=l}}return n===""?null:n}function pa(t,e){return t==null?null:String(t)}function B(t,e,r,n,o,a){var i=t.__className;if(k||i!==r||i===void 0){var l=da(r,n,a);(!k||l!==t.getAttribute("class"))&&(l==null?t.removeAttribute("class"):t.className=l),t.__className=r}else if(a&&o!==a)for(var s in a){var g=!!a[s];(o==null||g!==!!o[s])&&t.classList.toggle(s,g)}return a}function xa(t,e,r,n){var o=t.__style;if(k||o!==e){var a=pa(e);(!k||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const va=Symbol("is custom element"),ca=Symbol("is html");function ft(t,e,r,n){var o=ba(t);k&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[xo]=r),r==null?t.removeAttribute(e):typeof r!="string"&&On(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Rn(t,e,r){var n=$,o=C;let a=k;k&&st(!1),J(null),wt(null);try{e!=="style"&&(yr.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?On(t).includes(e):r&&typeof r=="object")?t[e]=r:ft(t,e,r==null?r:String(r))}finally{J(n),wt(o),a&&st(!0)}}function ba(t){return t.__attributes??={[va]:t.nodeName.includes("-"),[ca]:t.namespaceURI===io}}var yr=new Map;function On(t){var e=t.getAttribute("is")||t.nodeName,r=yr.get(e);if(r)return r;yr.set(e,r=[]);for(var n,o=t,a=Element.prototype;a!==o;){n=so(o);for(var i in n)n[i].set&&r.push(i);o=Rr(o)}return r}let Ze=!1;function ua(t){var e=Ze;try{return Ze=!1,[t(),Ze]}finally{Ze=e}}function le(t,e,r,n){var o=(r&ro)!==0,a=(r&no)!==0,i=n,l=!0,s=()=>(l&&(l=!1,i=a?Tn(n):n),i),g;if(o){var m=Oe in t||Dr in t;g=Xt(t,e)?.set??(m&&e in t?N=>t[e]=N:void 0)}var x,p=!1;o?[x,p]=ua(()=>t[e]):x=t[e],x===void 0&&n!==void 0&&(x=s(),g&&(yo(),g(x)));var c;if(c=()=>{var N=t[e];return N===void 0?s():(l=!0,N)},(r&eo)===0)return c;if(g){var u=t.$$legacy;return(function(N,_t){return arguments.length>0?((!_t||u||p)&&g(_t?c():N),N):c()})}var M=!1,A=((r&to)!==0?Ye:Xr)(()=>(M=!1,c()));o&&f(A);var et=C;return(function(N,_t){if(arguments.length>0){const mt=_t?f(A):o?It(N):N;return ct(A,mt),M=!0,i!==void 0&&(i=mt),N}return ae&&M||(et.f&Mt)!==0?A.v:f(A)})}function ha(t){return new wa(t)}class wa{#e;#t;constructor(e){var r=new Map,n=(a,i)=>{var l=en(i,!1,!1);return r.set(a,l),l};const o=new Proxy({...e.props||{},$$events:{}},{get(a,i){return f(r.get(i)??n(i,Reflect.get(a,i)))},has(a,i){return i===Dr?!0:(f(r.get(i)??n(i,Reflect.get(a,i))),Reflect.has(a,i))},set(a,i,l){return ct(r.get(i)??n(i,l),l),Reflect.set(a,i,l)}});this.#t=(e.hydrate?la:Nn)(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)&&Gt(),this.#e=o.$$events;for(const a of Object.keys(this.#t))a==="$set"||a==="$destroy"||a==="$on"||ze(this,a,{get(){return this.#t[a]},set(i){this.#t[a]=i},enumerable:!0});this.#t.$set=a=>{Object.assign(o,a)},this.#t.$destroy=()=>{sa(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const n=(...o)=>r.call(this,...o);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(o=>o!==n)}}$destroy(){this.#t.$destroy()}}let Mn;typeof HTMLElement=="function"&&(Mn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),T(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=ya(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=Qe(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ha({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Go(()=>{dn(()=>{this.$$r=!0;for(const n of Ne(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=Qe(n,this.$$d[n],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,o)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qe(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Ne(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Qe(t,e,r,n){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="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 ya(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function _a(t,e,r,n,o,a){let i=class extends Mn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Ne(e).map(l=>(e[l].attribute||l).toLowerCase())}};return Ne(e).forEach(l=>{ze(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(s){s=Qe(l,s,e),this.$$d[l]=s;var g=this.$$c;if(g){var m=Xt(g,l)?.get;m?g[l]=s:g.$set({[l]:s})}}})}),n.forEach(l=>{ze(i.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=i,i}var se={},Ln;function ka(){if(Ln)return se;Ln=1,Object.defineProperty(se,"__esModule",{value:!0}),se.LanguageTranslator=void 0,se.getChildStyleToPass=t,se.addComponent=e;function t(n,o){var a,i,l="";try{if(n&&o?.length&&(!((a=Object.keys(n))===null||a===void 0)&&a.length)&&(!((i=o?.filter(function(p){return Object.keys(n).includes(p.name)}))===null||i===void 0)&&i.length))for(var s=function(p){var c=o?.filter(function(u){return u.name===p&&u.defaultValue!==n[p]});c&&(l+="".concat(p,":").concat(n[p],";"))},g=0,m=Object.keys(n);g<m.length;g++){var x=m[g];s(x)}}catch(p){console.error("error getting child style to pass",p)}finally{return l}}function e(n){var o,a=((o=n?.repoName.split("/"))===null||o===void 0?void 0:o[1])||n?.repoName;if(!a)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var i=n?.iifePath||"main.iife.js";if(!document.getElementById(a+"-script"))try{var l=document.createElement("script");if(l.id=a+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(i),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var s=a.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(a.replace(s+"-",""),"/").concat(i)}document.head.appendChild(l)}catch(g){console.warn(g)}}var r=(function(){function n(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return n.prototype.setLang=function(o){o||(o=n.getDefaultLang()),this.lang=o},n.prototype.translateWord=function(o,a){return n.getDictionaryWord(o,this.dictionary,a||this.lang)},n.prototype.translateDate=function(o,a,i){return n.formatDate(o,a,i||this.lang)},n.getDefaultLang=function(){var o,a,i,l="en";return navigator?.languages&&(!((i=(a=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||a===void 0?void 0:a.toLowerCase())===null||i===void 0)&&i.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(o,a,i){var l;if(!o)throw new Error("no wordKey provided");if(!a)throw new Error("no dictionary provided");if(i&&(!((l=a[i])===null||l===void 0)&&l[o]))return a[i][o];var s="",g=n.getDefaultLang();if(!i||g!==i){var m=a?.[g];m?.[o]&&(s=m[o])}return s},n.formatDate=function(o,a,i){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(i||n.getDefaultLang(),a);return l.format(o)},n})();return se.LanguageTranslator=r,se}var _r=ka();const $a={version:"0.65.23"},Dn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var ja=z('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ea=z('<button class="position-absolute top-0 start-0 w-100 h-100 border-0 bg-transparent p-0 svelte-165xfg5" type="button" style="z-index: 1;" aria-label="View contact details"></button>'),Ca=z('<img class="avatar svelte-165xfg5"/>'),Ta=z('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Sa=z('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Aa=z('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),Na=z('<div class="dropdown svelte-165xfg5"><hb-dropdown-simple><button slot="dropdownbutton" class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button" data-bs-toggle="dropdown" aria-label="Contact actions menu"><i class="bi bi-three-dots-vertical svelte-165xfg5"></i></button></hb-dropdown-simple></div>',2),za=z('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),Pa=z('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Ra=z('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Oa=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-building me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!> <!> <!></div></div>'),Ma=z('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),La=z('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Da=z('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Ia=z('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Fa=z('<div class="contact-item svelte-165xfg5"><i class="bi bi-globe me-2 svelte-165xfg5"></i> <a target="_blank" rel="noopener noreferrer" class="svelte-165xfg5"> </a></div>'),Ba=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-telephone me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!> <!> <!></div></div>'),qa=z('<strong class="svelte-165xfg5"> </strong>'),Ua=z('<div class="svelte-165xfg5"> </div>'),Ya=z('<div class="svelte-165xfg5"> </div>'),Ha=z('<div class="svelte-165xfg5"> </div>'),Va=z('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),Wa=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-geo-alt me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!></div></div>'),Ga=z('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),Ja=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-share me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!></div></div>'),Ka=z('<div class="contact-section svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-sticky me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><div class="contact-item svelte-165xfg5"> </div></div></div>'),Xa=z('<div><!> <div class="card-header d-flex align-items-center svelte-165xfg5"><div class="avatar-container me-3 svelte-165xfg5"><!></div> <div class="flex-grow-1 svelte-165xfg5"><h5 class="card-title mb-1 svelte-165xfg5"> </h5> <!></div> <div class="header-actions d-flex gap-2 svelte-165xfg5"><!> <!></div></div> <div><div><!> <!> <!> <!> <!></div></div></div>');const Za={hash:"svelte-165xfg5",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
1
+ (function(Nr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Xn=1,Zn=2,Qn=16,to=1,eo=4,ro=8,no=16,oo=1,ao=2,zr="[",Se="[!",rr="]",me={},W=Symbol(),io="http://www.w3.org/1999/xhtml",nr=!1;var Pr=Array.isArray,lo=Array.prototype.indexOf,or=Array.from,Ne=Object.keys,ze=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,so=Object.getOwnPropertyDescriptors,go=Object.prototype,fo=Array.prototype,Rr=Object.getPrototypeOf,Or=Object.isExtensible;function mo(t){for(var e=0;e<t.length;e++)t[e]()}function Dr(){var t,e,r=new Promise((n,o)=>{t=n,e=o});return{promise:r,resolve:t,reject:e}}const U=2,ar=4,ir=8,Pt=16,Rt=32,Vt=64,Pe=128,jt=512,G=1024,rt=2048,Ot=4096,lt=8192,Dt=16384,Re=32768,de=65536,Lr=1<<17,lr=1<<18,Zt=1<<19,po=1<<20,Qt=32768,sr=1<<21,gr=1<<22,Wt=1<<23,Oe=Symbol("$state"),Mr=Symbol("legacy props"),xo=Symbol(""),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},fr=3,te=8;function vo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function co(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function bo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function uo(t){throw new Error("https://svelte.dev/e/effect_orphan")}function ho(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wo(){throw new Error("https://svelte.dev/e/hydration_failed")}function yo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function _o(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ko(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function $o(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jo(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function De(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Eo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let k=!1;function st(t){k=t}let A;function Z(t){if(t===null)throw De(),me;return A=t}function Le(){return Z(ut(A))}function h(t){if(k){if(ut(A)!==null)throw De(),me;A=t}}function Co(t=1){if(k){for(var e=t,r=A;e--;)r=ut(r);A=r}}function Me(t=!0){for(var e=0,r=A;;){if(r.nodeType===te){var n=r.data;if(n===rr){if(e===0)return r;e-=1}else(n===zr||n===Se)&&(e+=1)}var o=ut(r);t&&r.remove(),r=o}}function Ir(t){if(!t||t.nodeType!==te)throw De(),me;return t.data}function Fr(t){return t===this.v}function To(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Br(t){return!To(t,this.v)}let Ao=!1,dt=null;function xe(t){dt=t}function qr(t,e=!1,r){dt={p:dt,i:!1,c:null,e:null,s:t,x:null,l:null}}function Yr(t){var e=dt,r=e.e;if(r!==null){e.e=null;for(var n of r)mn(n)}return t!==void 0&&(e.x=t),e.i=!0,dt=e.p,t??{}}function Ur(){return!0}let ee=[];function Hr(){var t=ee;ee=[],mo(t)}function mr(t){if(ee.length===0&&!we){var e=ee;queueMicrotask(()=>{e===ee&&Hr()})}ee.push(t)}function So(){for(;ee.length>0;)Hr()}function Vr(t){var e=C;if(e===null)return $.f|=Wt,t;if((e.f&Re)===0){if((e.f&Pe)===0)throw t;e.b.error(t)}else ve(t,e)}function ve(t,e){for(;e!==null;){if((e.f&Pe)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Ie=new Set;let M=null,pt=null,xt=[],Fe=null,dr=!1,we=!1;class Et{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#n=0;#s=null;#a=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(e){xt=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of e)this.#i(n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects)):(M=null,Gr(r.render_effects),Gr(r.effects),this.#s?.resolve()),pt=null}#i(e,r){e.f^=G;for(var n=e.first;n!==null;){var o=n.f,a=(o&(Rt|Vt))!==0,i=a&&(o&G)!==0,l=i||(o&lt)!==0||this.skipped_effects.has(n);if((n.f&Pe)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){a?n.f^=G:(o&ar)!==0?r.effects.push(n):$e(n)&&((n.f&Pt)!==0&&r.block_effects.push(n),je(n));var s=n.first;if(s!==null){n=s;continue}}var g=n.parent;for(n=n.next;n===null&&g!==null;)g===r.effect&&(this.#l(r.effects),this.#l(r.render_effects),this.#l(r.block_effects),r=r.parent),n=g.next,g=g.parent}}#l(e){for(const r of e)((r.f&rt)!==0?this.#a:this.#o).push(r),this.#g(r.deps),K(r,G)}#g(e){if(e!==null)for(const r of e)(r.f&U)===0||(r.f&Qt)===0||(r.f^=Qt,this.#g(r.deps))}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&Wt)===0&&(this.current.set(e,e.v),pt?.set(e,e.v))}activate(){M=this,this.apply()}deactivate(){M===this&&(M=null,pt=null)}flush(){if(this.activate(),xt.length>0){if(Wr(),M!==null&&M!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#f(){if(this.#n===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#m()}#m(){if(Ie.size>1){this.previous.clear();var e=pt,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of Ie){if(a===this){r=!1;continue}const i=[];for(const[s,g]of this.current){if(a.current.has(s))if(r&&g!==a.current.get(s))a.current.set(s,g);else continue;i.push(s)}if(i.length===0)continue;const l=[...a.current.keys()].filter(s=>!this.current.has(s));if(l.length>0){var o=xt;xt=[];const s=new Set,g=new Map;for(const m of i)Jr(m,l,s,g);if(xt.length>0){M=a,a.apply();for(const m of xt)a.#i(m,n);a.deactivate()}xt=o}}M=null,pt=e}this.committed=!0,Ie.delete(this)}increment(e){this.#r+=1,e&&(this.#n+=1)}decrement(e){this.#r-=1,e&&(this.#n-=1),this.revive()}revive(){for(const e of this.#a)K(e,rt),re(e);for(const e of this.#o)K(e,Ot),re(e);this.#a=[],this.#o=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=Dr()).promise}static ensure(){if(M===null){const e=M=new Et;Ie.add(M),we||Et.enqueue(()=>{M===e&&e.flush()})}return M}static enqueue(e){mr(e)}apply(){}}function Gt(t){var e=we;we=!0;try{for(var r;;){if(So(),xt.length===0&&(M?.flush(),xt.length===0))return Fe=null,r;Wr()}}finally{we=e}}function Wr(){var t=Kt;dr=!0;var e=null;try{var r=0;for(Ge(!0);xt.length>0;){var n=Et.ensure();if(r++>1e3){var o,a;No()}n.process(xt),Jt.clear()}}finally{dr=!1,Ge(t),Fe=null}}function No(){try{ho()}catch(t){ve(t,Fe)}}let Lt=null;function Gr(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Dt|lt))===0&&$e(n)&&(Lt=new Set,je(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?vn(n):n.fn=null),Lt?.size>0)){Jt.clear();for(const o of Lt){if((o.f&(Dt|lt))!==0)continue;const a=[o];let i=o.parent;for(;i!==null;)Lt.has(i)&&(Lt.delete(i),a.push(i)),i=i.parent;for(let l=a.length-1;l>=0;l--){const s=a[l];(s.f&(Dt|lt))===0&&je(s)}}Lt.clear()}}Lt=null}}function Jr(t,e,r,n){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const o of t.reactions){const a=o.f;(a&U)!==0?Jr(o,e,r,n):(a&(gr|Pt))!==0&&(a&rt)===0&&Kr(o,e,n)&&(K(o,rt),re(o))}}function Kr(t,e,r){const n=r.get(t);if(n!==void 0)return n;if(t.deps!==null)for(const o of t.deps){if(e.includes(o))return!0;if((o.f&U)!==0&&Kr(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function re(t){for(var e=Fe=t;e.parent!==null;){e=e.parent;var r=e.f;if(dr&&e===C&&(r&Pt)!==0&&(r&lr)===0)return;if((r&(Vt|Rt))!==0){if((r&G)===0)return;e.f^=G}}xt.push(e)}function zo(t){let e=0,r=ne(0),n;return()=>{Ve()&&(f(r),dn(()=>(e===0&&(n=Tn(()=>t(()=>_e(r)))),e+=1,()=>{mr(()=>{e-=1,e===0&&(n?.(),n=void 0,_e(r))})})))}}var Po=de|Zt|Pe;function Ro(t,e,r){new Oo(t,e,r)}class Oo{parent;#e=!1;#t;#r=k?A:null;#n;#s;#a;#o=null;#i=null;#l=null;#g=null;#f=null;#m=0;#d=0;#x=!1;#p=null;#h=zo(()=>(this.#p=ne(this.#m),()=>{this.#p=null}));constructor(e,r,n){this.#t=e,this.#n=r,this.#s=n,this.parent=C.b,this.#e=!!this.#n.pending,this.#a=We(()=>{if(C.b=this,k){const a=this.#r;Le(),a.nodeType===te&&a.data===Se?this.#y():this.#w()}else{var o=this.#b();try{this.#o=ht(()=>n(o))}catch(a){this.error(a)}this.#d>0?this.#c():this.#e=!1}return()=>{this.#f?.remove()}},Po),k&&(this.#t=A)}#w(){try{this.#o=ht(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#n.pending;e&&(this.#i=ht(()=>e(this.#t)),Et.enqueue(()=>{var r=this.#b();this.#o=this.#v(()=>(Et.ensure(),ht(()=>this.#s(r)))),this.#d>0?this.#c():(ce(this.#i,()=>{this.#i=null}),this.#e=!1)}))}#b(){var e=this.#t;return this.#e&&(this.#f=bt(),this.#t.before(this.#f),e=this.#f),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(e){var r=C,n=$,o=dt;wt(this.#a),J(this.#a),xe(this.#a.ctx);try{return e()}catch(a){return Vr(a),null}finally{wt(r),J(n),xe(o)}}#c(){const e=this.#n.pending;this.#o!==null&&(this.#g=document.createDocumentFragment(),this.#g.append(this.#f),un(this.#o,this.#g)),this.#i===null&&(this.#i=ht(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#d+=e,this.#d===0&&(this.#e=!1,this.#i&&ce(this.#i,()=>{this.#i=null}),this.#g&&(this.#t.before(this.#g),this.#g=null))}update_pending_count(e){this.#u(e),this.#m+=e,this.#p&&ye(this.#p,this.#m)}get_effect_pending(){return this.#h(),f(this.#p)}error(e){var r=this.#n.onerror;let n=this.#n.failed;if(this.#x||!r&&!n)throw e;this.#o&&(Q(this.#o),this.#o=null),this.#i&&(Q(this.#i),this.#i=null),this.#l&&(Q(this.#l),this.#l=null),k&&(Z(this.#r),Co(),Z(Me()));var o=!1,a=!1;const i=()=>{if(o){Eo();return}o=!0,a&&jo(),Et.ensure(),this.#m=0,this.#l!==null&&ce(this.#l,()=>{this.#l=null}),this.#e=this.has_pending_snippet(),this.#o=this.#v(()=>(this.#x=!1,ht(()=>this.#s(this.#t)))),this.#d>0?this.#c():this.#e=!1};var l=$;try{J(null),a=!0,r?.(e,i),a=!1}catch(s){ve(s,this.#a&&this.#a.parent)}finally{J(l)}n&&mr(()=>{this.#l=this.#v(()=>{Et.ensure(),this.#x=!0;try{return ht(()=>{n(this.#t,()=>e,()=>i)})}catch(s){return ve(s,this.#a.parent),null}finally{this.#x=!1}})})}}function Be(t,e){return e}function Do(t,e,r){for(var n=[],o=e.length,a=0;a<o;a++)br(e[a].e,n,!0);cn(n,()=>{var i=n.length===0&&r!==null;if(i){var l=r,s=l.parentNode;sn(s),s.append(l),t.items.clear(),Tt(t,e[0].prev,e[o-1].next)}for(var g=0;g<o;g++){var m=e[g];i||(t.items.delete(m.k),Tt(t,m.prev,m.next)),Q(m.e,!i)}t.first===e[0]&&(t.first=e[0].prev)})}function qe(t,e,r,n,o,a=null){var i=t,l=new Map,s=null;k&&Le();var g=null,m=Xr(()=>{var S=r();return Pr(S)?S:S==null?[]:or(S)}),x,p=!0;function c(){Lo(D,x,i,e,n),g!==null&&(x.length===0?(g.fragment?(i.before(g.fragment),g.fragment=null):ur(g.effect),u.first=g.effect):ce(g.effect,()=>{g=null}))}var u=We(()=>{x=f(m);var S=x.length;let et=!1;if(k){var N=Ir(i)===Se;N!==(S===0)&&(i=Me(),Z(i),st(!1),et=!0)}for(var _t=new Set,mt=M,Nt=null,H=gn(),V=0;V<S;V+=1){k&&A.nodeType===te&&A.data===rr&&(i=A,et=!0,st(!1));var Bt=x[V],he=n(Bt,V),kt=p?null:l.get(he);kt?(ye(kt.v,Bt),kt.i=V,H&&mt.skipped_effects.delete(kt.e)):(kt=Mo(p?i:null,Nt,Bt,he,V,o,e,r),p&&(kt.o=!0,Nt===null?s=kt:Nt.next=kt,Nt=kt),l.set(he,kt)),_t.add(he)}if(S===0&&a&&!g)if(p)g={fragment:null,effect:ht(()=>a(i))};else{var tr=document.createDocumentFragment(),er=bt();tr.append(er),g={fragment:tr,effect:ht(()=>a(er))}}if(k&&S>0&&Z(Me()),!p)if(H){for(const[kr,$r]of l)_t.has(kr)||mt.skipped_effects.add($r.e);mt.oncommit(c),mt.ondiscard(()=>{})}else c();et&&st(!0),f(m)}),D={effect:u,items:l,first:s};p=!1,k&&(i=A)}function Lo(t,e,r,n,o){var a=e.length,i=t.items,l=t.first,s,g=null,m=[],x=[],p,c,u,D;for(D=0;D<a;D+=1){if(p=e[D],c=o(p,D),u=i.get(c),t.first??=u,!u.o){u.o=!0;var S=g?g.next:l;Tt(t,g,u),Tt(t,u,S),pr(u,S,r),g=u,m=[],x=[],l=g.next;continue}if((u.e.f&lt)!==0&&ur(u.e),u!==l){if(s!==void 0&&s.has(u)){if(m.length<x.length){var et=x[0],N;g=et.prev;var _t=m[0],mt=m[m.length-1];for(N=0;N<m.length;N+=1)pr(m[N],et,r);for(N=0;N<x.length;N+=1)s.delete(x[N]);Tt(t,_t.prev,mt.next),Tt(t,g,_t),Tt(t,mt,et),l=et,g=mt,D-=1,m=[],x=[]}else s.delete(u),pr(u,l,r),Tt(t,u.prev,u.next),Tt(t,u,g===null?t.first:g.next),Tt(t,g,u),g=u;continue}for(m=[],x=[];l!==null&&l.k!==c;)(l.e.f&lt)===0&&(s??=new Set).add(l),x.push(l),l=l.next;if(l===null)continue;u=l}m.push(u),g=u,l=u.next}if(l!==null||s!==void 0){for(var Nt=s===void 0?[]:or(s);l!==null;)(l.e.f&lt)===0&&Nt.push(l),l=l.next;var H=Nt.length;if(H>0){var V=null;Do(t,Nt,V)}}}function Mo(t,e,r,n,o,a,i,l){var s=(i&Xn)!==0,g=(i&Qn)===0,m=s?g?en(r,!1,!1):ne(r):r,x=(i&Zn)===0?o:ne(o),p={i:x,v:m,k:n,a:null,e:null,o:!1,prev:e,next:null};try{if(t===null){var c=document.createDocumentFragment();c.append(t=bt())}return p.e=ht(()=>a(t,m,x,l)),e!==null&&(e.next=p),p}finally{}}function pr(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,a=t.e.nodes_start;a!==null&&a!==n;){var i=ut(a);o.before(a),a=i}}function Tt(t,e,r){e===null?(t.first=r,t.effect.first=r&&r.e):(e.e.next&&(e.e.next.prev=null),e.next=r,e.e.next=r&&r.e),r===null?t.effect.last=e&&e.e:(r.e.prev&&(r.e.prev.next=null),r.prev=e,r.e.prev=e&&e.e)}function Io(t,e,r,n){const o=Ue;if(r.length===0&&t.length===0){n(e.map(o));return}var a=M,i=C,l=Fo();function s(){Promise.all(r.map(g=>Bo(g))).then(g=>{l();try{n([...e.map(o),...g])}catch(m){(i.f&Dt)===0&&ve(m,i)}a?.deactivate(),Ye()}).catch(g=>{ve(g,i)})}t.length>0?Promise.all(t).then(()=>{l();try{return s()}finally{a?.deactivate(),Ye()}}):s()}function Fo(){var t=C,e=$,r=dt,n=M;return function(a=!0){wt(t),J(e),xe(r),a&&n?.activate()}}function Ye(){wt(null),J(null),xe(null)}function Ue(t){var e=U|rt,r=$!==null&&($.f&U)!==0?$:null;return C!==null&&(C.f|=Zt),{ctx:dt,deps:null,effects:null,equals:Fr,f:e,fn:t,reactions:null,rv:0,v:W,wv:0,parent:r??C,ac:null}}function Bo(t,e){let r=C;r===null&&vo();var n=r.b,o=void 0,a=ne(W),i=!$,l=new Map;return Xo(()=>{var s=Dr();o=s.promise;try{Promise.resolve(t()).then(s.resolve,s.reject).then(()=>{g===M&&g.committed&&g.deactivate(),Ye()})}catch(p){s.reject(p),Ye()}var g=M;if(i){var m=!n.is_pending();n.update_pending_count(1),g.increment(m),l.get(g)?.reject(pe),l.delete(g),l.set(g,s)}const x=(p,c=void 0)=>{if(g.activate(),c)c!==pe&&(a.f|=Wt,ye(a,c));else{(a.f&Wt)!==0&&(a.f^=Wt),ye(a,p);for(const[u,D]of l){if(l.delete(u),u===g)break;D.reject(pe)}}i&&(n.update_pending_count(-1),g.decrement(m))};s.promise.then(x,p=>x(null,p||"unknown"))}),Vo(()=>{for(const s of l.values())s.reject(pe)}),new Promise(s=>{function g(m){function x(){m===o?s(a):g(o)}m.then(x,x)}g(o)})}function Mt(t){const e=Ue(t);return wn(e),e}function Xr(t){const e=Ue(t);return e.equals=Br,e}function Zr(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)Q(e[r])}}function qo(t){for(var e=t.parent;e!==null;){if((e.f&U)===0)return(e.f&Dt)===0?e:null;e=e.parent}return null}function xr(t){var e,r=C;wt(qo(t));try{t.f&=~Qt,Zr(t),e=jn(t)}finally{wt(r)}return e}function Qr(t){var e=xr(t);if(t.equals(e)||(M?.is_fork||(t.v=e),t.wv=kn()),!ae)if(pt!==null)Ve()&&pt.set(t,e);else{var r=(t.f&jt)===0?Ot:G;K(t,r)}}let vr=new Set;const Jt=new Map;let tn=!1;function ne(t,e){var r={f:0,v:t,reactions:null,equals:Fr,rv:0,wv:0};return r}function vt(t,e){const r=ne(t);return wn(r),r}function en(t,e=!1,r=!0){const n=ne(t);return e||(n.equals=Br),n}function ct(t,e,r=!1){$!==null&&(!St||($.f&Lr)!==0)&&Ur()&&($.f&(U|Pt|gr|Lr))!==0&&!Ft?.includes(t)&&$o();let n=r?It(e):e;return ye(t,n)}function ye(t,e){if(!t.equals(e)){var r=t.v;ae?Jt.set(t,e):Jt.set(t,r),t.v=e;var n=Et.ensure();n.capture(t,r),(t.f&U)!==0&&((t.f&rt)!==0&&xr(t),K(t,(t.f&jt)!==0?G:Ot)),t.wv=kn(),rn(t,rt),C!==null&&(C.f&G)!==0&&(C.f&(Rt|Vt))===0&&(yt===null?ta([t]):yt.push(t)),!n.is_fork&&vr.size>0&&!tn&&Yo()}return e}function Yo(){tn=!1;var t=Kt;Ge(!0);const e=Array.from(vr);try{for(const r of e)(r.f&G)!==0&&K(r,Ot),$e(r)&&je(r)}finally{Ge(t)}vr.clear()}function _e(t){ct(t,t.v+1)}function rn(t,e){var r=t.reactions;if(r!==null)for(var n=r.length,o=0;o<n;o++){var a=r[o],i=a.f,l=(i&rt)===0;if(l&&K(a,e),(i&U)!==0){var s=a;pt?.delete(s),(i&Qt)===0&&(i&jt&&(a.f|=Qt),rn(s,Ot))}else l&&((i&Pt)!==0&&Lt!==null&&Lt.add(a),re(a))}}function It(t){if(typeof t!="object"||t===null||Oe in t)return t;const e=Rr(t);if(e!==go&&e!==fo)return t;var r=new Map,n=Pr(t),o=vt(0),a=ie,i=l=>{if(ie===a)return l();var s=$,g=ie;J(null),_n(a);var m=l();return J(s),_n(g),m};return n&&r.set("length",vt(t.length)),new Proxy(t,{defineProperty(l,s,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&_o();var m=r.get(s);return m===void 0?m=i(()=>{var x=vt(g.value);return r.set(s,x),x}):ct(m,g.value,!0),!0},deleteProperty(l,s){var g=r.get(s);if(g===void 0){if(s in l){const m=i(()=>vt(W));r.set(s,m),_e(o)}}else ct(g,W),_e(o);return!0},get(l,s,g){if(s===Oe)return t;var m=r.get(s),x=s in l;if(m===void 0&&(!x||Xt(l,s)?.writable)&&(m=i(()=>{var c=It(x?l[s]:W),u=vt(c);return u}),r.set(s,m)),m!==void 0){var p=f(m);return p===W?void 0:p}return Reflect.get(l,s,g)},getOwnPropertyDescriptor(l,s){var g=Reflect.getOwnPropertyDescriptor(l,s);if(g&&"value"in g){var m=r.get(s);m&&(g.value=f(m))}else if(g===void 0){var x=r.get(s),p=x?.v;if(x!==void 0&&p!==W)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return g},has(l,s){if(s===Oe)return!0;var g=r.get(s),m=g!==void 0&&g.v!==W||Reflect.has(l,s);if(g!==void 0||C!==null&&(!m||Xt(l,s)?.writable)){g===void 0&&(g=i(()=>{var p=m?It(l[s]):W,c=vt(p);return c}),r.set(s,g));var x=f(g);if(x===W)return!1}return m},set(l,s,g,m){var x=r.get(s),p=s in l;if(n&&s==="length")for(var c=g;c<x.v;c+=1){var u=r.get(c+"");u!==void 0?ct(u,W):c in l&&(u=i(()=>vt(W)),r.set(c+"",u))}if(x===void 0)(!p||Xt(l,s)?.writable)&&(x=i(()=>vt(void 0)),ct(x,It(g)),r.set(s,x));else{p=x.v!==W;var D=i(()=>It(g));ct(x,D)}var S=Reflect.getOwnPropertyDescriptor(l,s);if(S?.set&&S.set.call(m,g),!p){if(n&&typeof s=="string"){var et=r.get("length"),N=Number(s);Number.isInteger(N)&&N>=et.v&&ct(et,N+1)}_e(o)}return!0},ownKeys(l){f(o);var s=Reflect.ownKeys(l).filter(x=>{var p=r.get(x);return p===void 0||p.v!==W});for(var[g,m]of r)m.v!==W&&!(g in l)&&s.push(g);return s},setPrototypeOf(){ko()}})}var nn,on,an,ln;function cr(){if(nn===void 0){nn=window,on=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;an=Xt(e,"firstChild").get,ln=Xt(e,"nextSibling").get,Or(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Or(r)&&(r.__t=void 0)}}function bt(t=""){return document.createTextNode(t)}function oe(t){return an.call(t)}function ut(t){return ln.call(t)}function w(t,e){if(!k)return oe(t);var r=oe(A);if(r===null)r=A.appendChild(bt());else if(e&&r.nodeType!==fr){var n=bt();return r?.before(n),Z(n),n}return Z(r),r}function He(t,e=!1){if(!k){var r=oe(t);return r instanceof Comment&&r.data===""?ut(r):r}if(e&&A?.nodeType!==fr){var n=bt();return A?.before(n),Z(n),n}return A}function _(t,e=1,r=!1){let n=k?A:t;for(var o;e--;)o=n,n=ut(n);if(!k)return n;if(r&&n?.nodeType!==fr){var a=bt();return n===null?o?.after(a):n.before(a),Z(a),a}return Z(n),n}function sn(t){t.textContent=""}function gn(){return!1}function fn(t){var e=$,r=C;J(null),wt(null);try{return t()}finally{J(e),wt(r)}}function Uo(t){C===null&&($===null&&uo(),bo()),ae&&co()}function Ho(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function At(t,e,r){var n=C;n!==null&&(n.f&lt)!==0&&(t|=lt);var o={ctx:dt,deps:null,nodes_start:null,nodes_end:null,f:t|rt|jt,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{je(o),o.f|=Re}catch(l){throw Q(o),l}else e!==null&&re(o);var a=o;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Zt)===0&&(a=a.first,(t&Pt)!==0&&(t&de)!==0&&a!==null&&(a.f|=de)),a!==null&&(a.parent=n,n!==null&&Ho(a,n),$!==null&&($.f&U)!==0&&(t&Vt)===0)){var i=$;(i.effects??=[]).push(a)}return o}function Ve(){return $!==null&&!St}function Vo(t){const e=At(ir,null,!1);return K(e,G),e.teardown=t,e}function Wo(t){Uo();var e=C.f,r=!$&&(e&Rt)!==0&&(e&Re)===0;if(r){var n=dt;(n.e??=[]).push(t)}else return mn(t)}function mn(t){return At(ar|po,t,!1)}function Go(t){Et.ensure();const e=At(Vt|Zt,t,!0);return()=>{Q(e)}}function Jo(t){Et.ensure();const e=At(Vt|Zt,t,!0);return(r={})=>new Promise(n=>{r.outro?ce(e,()=>{Q(e),n(void 0)}):(Q(e),n(void 0))})}function Ko(t){return At(ar,t,!1)}function Xo(t){return At(gr|Zt,t,!0)}function dn(t,e=0){return At(ir|e,t,!0)}function R(t,e=[],r=[],n=[]){Io(n,e,r,o=>{At(ir,()=>t(...o.map(f)),!0)})}function We(t,e=0){var r=At(Pt|e,t,!0);return r}function ht(t){return At(Rt|Zt,t,!0)}function pn(t){var e=t.teardown;if(e!==null){const r=ae,n=$;hn(!0),J(null);try{e.call(null)}finally{hn(r),J(n)}}}function xn(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&fn(()=>{o.abort(pe)});var n=r.next;(r.f&Vt)!==0?r.parent=null:Q(r,e),r=n}}function Zo(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Rt)===0&&Q(e),e=r}}function Q(t,e=!0){var r=!1;(e||(t.f&lr)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Qo(t.nodes_start,t.nodes_end),r=!0),xn(t,e&&!r),Je(t,0),K(t,Dt);var n=t.transitions;if(n!==null)for(const a of n)a.stop();pn(t);var o=t.parent;o!==null&&o.first!==null&&vn(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Qo(t,e){for(;t!==null;){var r=t===e?null:ut(t);t.remove(),t=r}}function vn(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function ce(t,e,r=!0){var n=[];br(t,n,!0),cn(n,()=>{r&&Q(t),e&&e()})}function cn(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function br(t,e,r){if((t.f&lt)===0){if(t.f^=lt,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var o=n.next,a=(n.f&de)!==0||(n.f&Rt)!==0&&(t.f&Pt)!==0;br(n,e,a?r:!1),n=o}}}function ur(t){bn(t,!0)}function bn(t,e){if((t.f&lt)!==0){t.f^=lt,(t.f&G)===0&&(K(t,rt),re(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&de)!==0||(r.f&Rt)!==0;bn(r,o?e:!1),r=n}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||e)&&a.in()}}function un(t,e){for(var r=t.nodes_start,n=t.nodes_end;r!==null;){var o=r===n?null:ut(r);e.append(r),r=o}}let Kt=!1;function Ge(t){Kt=t}let ae=!1;function hn(t){ae=t}let $=null,St=!1;function J(t){$=t}let C=null;function wt(t){C=t}let Ft=null;function wn(t){$!==null&&(Ft===null?Ft=[t]:Ft.push(t))}let tt=null,gt=0,yt=null;function ta(t){yt=t}let yn=1,ke=0,ie=ke;function _n(t){ie=t}function kn(){return++yn}function $e(t){var e=t.f;if((e&rt)!==0)return!0;if(e&U&&(t.f&=~Qt),(e&Ot)!==0){var r=t.deps;if(r!==null)for(var n=r.length,o=0;o<n;o++){var a=r[o];if($e(a)&&Qr(a),a.wv>t.wv)return!0}(e&jt)!==0&&pt===null&&K(t,G)}return!1}function $n(t,e,r=!0){var n=t.reactions;if(n!==null&&!Ft?.includes(t))for(var o=0;o<n.length;o++){var a=n[o];(a.f&U)!==0?$n(a,e,!1):e===a&&(r?K(a,rt):(a.f&G)!==0&&K(a,Ot),re(a))}}function jn(t){var e=tt,r=gt,n=yt,o=$,a=Ft,i=dt,l=St,s=ie,g=t.f;tt=null,gt=0,yt=null,$=(g&(Rt|Vt))===0?t:null,Ft=null,xe(t.ctx),St=!1,ie=++ke,t.ac!==null&&(fn(()=>{t.ac.abort(pe)}),t.ac=null);try{t.f|=sr;var m=t.fn,x=m(),p=t.deps;if(tt!==null){var c;if(Je(t,gt),p!==null&&gt>0)for(p.length=gt+tt.length,c=0;c<tt.length;c++)p[gt+c]=tt[c];else t.deps=p=tt;if(Kt&&Ve()&&(t.f&jt)!==0)for(c=gt;c<p.length;c++)(p[c].reactions??=[]).push(t)}else p!==null&&gt<p.length&&(Je(t,gt),p.length=gt);if(Ur()&&yt!==null&&!St&&p!==null&&(t.f&(U|Ot|rt))===0)for(c=0;c<yt.length;c++)$n(yt[c],t);return o!==null&&o!==t&&(ke++,yt!==null&&(n===null?n=yt:n.push(...yt))),(t.f&Wt)!==0&&(t.f^=Wt),x}catch(u){return Vr(u)}finally{t.f^=sr,tt=e,gt=r,yt=n,$=o,Ft=a,xe(i),St=l,ie=s}}function ea(t,e){let r=e.reactions;if(r!==null){var n=lo.call(r,t);if(n!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[n]=r[o],r.pop())}}r===null&&(e.f&U)!==0&&(tt===null||!tt.includes(e))&&(K(e,Ot),(e.f&jt)!==0&&(e.f^=jt,e.f&=~Qt),Zr(e),Je(e,0))}function Je(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)ea(t,r[n])}function je(t){var e=t.f;if((e&Dt)===0){K(t,G);var r=C,n=Kt;C=t,Kt=!0;try{(e&Pt)!==0?Zo(t):xn(t),pn(t);var o=jn(t);t.teardown=typeof o=="function"?o:null,t.wv=yn;var a;nr&&Ao&&(t.f&rt)!==0&&t.deps}finally{Kt=n,C=r}}}function f(t){var e=t.f,r=(e&U)!==0;if($!==null&&!St){var n=C!==null&&(C.f&Dt)!==0;if(!n&&!Ft?.includes(t)){var o=$.deps;if(($.f&sr)!==0)t.rv<ke&&(t.rv=ke,tt===null&&o!==null&&o[gt]===t?gt++:tt===null?tt=[t]:tt.includes(t)||tt.push(t));else{($.deps??=[]).push(t);var a=t.reactions;a===null?t.reactions=[$]:a.includes($)||a.push($)}}}if(ae){if(Jt.has(t))return Jt.get(t);if(r){var i=t,l=i.v;return((i.f&G)===0&&i.reactions!==null||Cn(i))&&(l=xr(i)),Jt.set(i,l),l}}else r&&!pt?.has(t)&&(i=t,$e(i)&&Qr(i),Kt&&Ve()&&(i.f&jt)===0&&En(i));if(pt?.has(t))return pt.get(t);if((t.f&Wt)!==0)throw t.v;return t.v}function En(t){if(t.deps!==null){t.f^=jt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&U)!==0&&(e.f&jt)===0&&En(e)}}function Cn(t){if(t.v===W)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Jt.has(e)||(e.f&U)!==0&&Cn(e))return!0;return!1}function Tn(t){var e=St;try{return St=!0,t()}finally{St=e}}const ra=-7169;function K(t,e){t.f=t.f&ra|e}const An=new Set,hr=new Set;function na(t){for(var e=0;e<t.length;e++)An.add(t[e]);for(var r of hr)r(t)}let Sn=null;function Ke(t){var e=this,r=e.ownerDocument,n=t.type,o=t.composedPath?.()||[],a=o[0]||t.target;Sn=t;var i=0,l=Sn===t&&t.__root;if(l){var s=o.indexOf(l);if(s!==-1&&(e===document||e===window)){t.__root=e;return}var g=o.indexOf(e);if(g===-1)return;s<=g&&(i=s)}if(a=o[i]||t.target,a!==e){ze(t,"currentTarget",{configurable:!0,get(){return a||r}});var m=$,x=C;J(null),wt(null);try{for(var p,c=[];a!==null;){var u=a.assignedSlot||a.parentNode||a.host||null;try{var D=a["__"+n];D!=null&&(!a.disabled||t.target===a)&&D.call(a,t)}catch(S){p?c.push(S):p=S}if(t.cancelBubble||u===e||u===null)break;a=u}if(p){for(let S of c)queueMicrotask(()=>{throw S});throw p}}finally{t.__root=e,delete t.currentTarget,J(m),wt(x)}}}function oa(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function be(t,e){var r=C;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function z(t,e){var r=(e&oo)!==0,n=(e&ao)!==0,o,a=!t.startsWith("<!>");return()=>{if(k)return be(A,null),A;o===void 0&&(o=oa(a?t:"<!>"+t),r||(o=oe(o)));var i=n||on?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=oe(i),s=i.lastChild;be(l,s)}else be(i,i);return i}}function Xe(){if(k)return be(A,null),A;var t=document.createDocumentFragment(),e=document.createComment(""),r=bt();return t.append(e,r),be(e,r),t}function T(t,e){if(k){var r=C;((r.f&Re)===0||r.nodes_end===null)&&(r.nodes_end=A),Le();return}t!==null&&t.before(e)}const aa=["touchstart","touchmove"];function ia(t){return aa.includes(t)}function F(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function Nn(t,e){return zn(t,e)}function la(t,e){cr(),e.intro=e.intro??!1;const r=e.target,n=k,o=A;try{for(var a=oe(r);a&&(a.nodeType!==te||a.data!==zr);)a=ut(a);if(!a)throw me;st(!0),Z(a);const i=zn(t,{...e,anchor:a});return st(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw i;return i!==me&&console.warn("Failed to hydrate: ",i),e.recover===!1&&wo(),cr(),sn(r),st(!1),Nn(t,e)}finally{st(n),Z(o)}}const ue=new Map;function zn(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:i=!0}){cr();var l=new Set,s=x=>{for(var p=0;p<x.length;p++){var c=x[p];if(!l.has(c)){l.add(c);var u=ia(c);e.addEventListener(c,Ke,{passive:u});var D=ue.get(c);D===void 0?(document.addEventListener(c,Ke,{passive:u}),ue.set(c,1)):ue.set(c,D+1)}}};s(or(An)),hr.add(s);var g=void 0,m=Jo(()=>{var x=r??e.appendChild(bt());return Ro(x,{pending:()=>{}},p=>{if(a){qr({});var c=dt;c.c=a}if(o&&(n.$$events=o),k&&be(p,null),g=t(p,n)||{},k&&(C.nodes_end=A,A===null||A.nodeType!==te||A.data!==rr))throw De(),me;a&&Yr()}),()=>{for(var p of l){e.removeEventListener(p,Ke);var c=ue.get(p);--c===0?(document.removeEventListener(p,Ke),ue.delete(p)):ue.set(p,c)}hr.delete(s),x!==r&&x.parentNode?.removeChild(x)}});return wr.set(g,m),g}let wr=new WeakMap;function sa(t,e){const r=wr.get(t);return r?(wr.delete(t),r(e)):Promise.resolve()}class ga{anchor;#e=new Map;#t=new Map;#r=new Map;#n=new Set;#s=!0;constructor(e,r=!0){this.anchor=e,this.#s=r}#a=()=>{var e=M;if(this.#e.has(e)){var r=this.#e.get(e),n=this.#t.get(r);if(n)ur(n),this.#n.delete(r);else{var o=this.#r.get(r);o&&(this.#t.set(r,o.effect),this.#r.delete(r),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),n=o.effect)}for(const[a,i]of this.#e){if(this.#e.delete(a),a===e)break;const l=this.#r.get(i);l&&(Q(l.effect),this.#r.delete(i))}for(const[a,i]of this.#t){if(a===r||this.#n.has(a))continue;const l=()=>{if(Array.from(this.#e.values()).includes(a)){var g=document.createDocumentFragment();un(i,g),g.append(bt()),this.#r.set(a,{effect:i,fragment:g})}else Q(i);this.#n.delete(a),this.#t.delete(a)};this.#s||!n?(this.#n.add(a),ce(i,l,!1)):l()}}};#o=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[n,o]of this.#r)r.includes(n)||(Q(o.effect),this.#r.delete(n))};ensure(e,r){var n=M,o=gn();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(o){var a=document.createDocumentFragment(),i=bt();a.append(i),this.#r.set(e,{effect:ht(()=>r(i)),fragment:a})}else this.#t.set(e,ht(()=>r(this.anchor)));if(this.#e.set(n,e),o){for(const[l,s]of this.#t)l===e?n.skipped_effects.delete(s):n.skipped_effects.add(s);for(const[l,s]of this.#r)l===e?n.skipped_effects.delete(s.effect):n.skipped_effects.add(s.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else k&&(this.anchor=A),this.#a()}}function O(t,e,r=!1){k&&Le();var n=new ga(t),o=r?de:0;function a(i,l){if(k){const g=Ir(t)===Se;if(i===g){var s=Me();Z(s),n.anchor=s,st(!1),n.ensure(i,l),st(!0);return}}n.ensure(i,l)}We(()=>{var i=!1;e((l,s=!0)=>{i=!0,a(s,l)}),i||a(!1,null)},o)}function fa(t,e){let r=null,n=k;var o;if(k){r=A;for(var a=oe(document.head);a!==null&&(a.nodeType!==te||a.data!==t);)a=ut(a);if(a===null)st(!1);else{var i=ut(a);a.remove(),Z(i)}}k||(o=document.head.appendChild(bt()));try{We(()=>e(o),lr)}finally{n&&(st(!0),Z(r))}}function ma(t,e){Ko(()=>{var r=t.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,n.appendChild(o)}})}const Pn=[...`
3
+ \r\f \v\uFEFF`];function da(t,e,r){var n=t==null?"":""+t;if(e&&(n=n?n+" "+e:e),r){for(var o in r)if(r[o])n=n?n+" "+o:o;else if(n.length)for(var a=o.length,i=0;(i=n.indexOf(o,i))>=0;){var l=i+a;(i===0||Pn.includes(n[i-1]))&&(l===n.length||Pn.includes(n[l]))?n=(i===0?"":n.substring(0,i))+n.substring(l+1):i=l}}return n===""?null:n}function pa(t,e){return t==null?null:String(t)}function B(t,e,r,n,o,a){var i=t.__className;if(k||i!==r||i===void 0){var l=da(r,n,a);(!k||l!==t.getAttribute("class"))&&(l==null?t.removeAttribute("class"):t.className=l),t.__className=r}else if(a&&o!==a)for(var s in a){var g=!!a[s];(o==null||g!==!!o[s])&&t.classList.toggle(s,g)}return a}function xa(t,e,r,n){var o=t.__style;if(k||o!==e){var a=pa(e);(!k||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const va=Symbol("is custom element"),ca=Symbol("is html");function ft(t,e,r,n){var o=ba(t);k&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[xo]=r),r==null?t.removeAttribute(e):typeof r!="string"&&On(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Rn(t,e,r){var n=$,o=C;let a=k;k&&st(!1),J(null),wt(null);try{e!=="style"&&(yr.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?On(t).includes(e):r&&typeof r=="object")?t[e]=r:ft(t,e,r==null?r:String(r))}finally{J(n),wt(o),a&&st(!0)}}function ba(t){return t.__attributes??={[va]:t.nodeName.includes("-"),[ca]:t.namespaceURI===io}}var yr=new Map;function On(t){var e=t.getAttribute("is")||t.nodeName,r=yr.get(e);if(r)return r;yr.set(e,r=[]);for(var n,o=t,a=Element.prototype;a!==o;){n=so(o);for(var i in n)n[i].set&&r.push(i);o=Rr(o)}return r}let Ze=!1;function ua(t){var e=Ze;try{return Ze=!1,[t(),Ze]}finally{Ze=e}}function le(t,e,r,n){var o=(r&ro)!==0,a=(r&no)!==0,i=n,l=!0,s=()=>(l&&(l=!1,i=a?Tn(n):n),i),g;if(o){var m=Oe in t||Mr in t;g=Xt(t,e)?.set??(m&&e in t?N=>t[e]=N:void 0)}var x,p=!1;o?[x,p]=ua(()=>t[e]):x=t[e],x===void 0&&n!==void 0&&(x=s(),g&&(yo(),g(x)));var c;if(c=()=>{var N=t[e];return N===void 0?s():(l=!0,N)},(r&eo)===0)return c;if(g){var u=t.$$legacy;return(function(N,_t){return arguments.length>0?((!_t||u||p)&&g(_t?c():N),N):c()})}var D=!1,S=((r&to)!==0?Ue:Xr)(()=>(D=!1,c()));o&&f(S);var et=C;return(function(N,_t){if(arguments.length>0){const mt=_t?f(S):o?It(N):N;return ct(S,mt),D=!0,i!==void 0&&(i=mt),N}return ae&&D||(et.f&Dt)!==0?S.v:f(S)})}function ha(t){return new wa(t)}class wa{#e;#t;constructor(e){var r=new Map,n=(a,i)=>{var l=en(i,!1,!1);return r.set(a,l),l};const o=new Proxy({...e.props||{},$$events:{}},{get(a,i){return f(r.get(i)??n(i,Reflect.get(a,i)))},has(a,i){return i===Mr?!0:(f(r.get(i)??n(i,Reflect.get(a,i))),Reflect.has(a,i))},set(a,i,l){return ct(r.get(i)??n(i,l),l),Reflect.set(a,i,l)}});this.#t=(e.hydrate?la:Nn)(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)&&Gt(),this.#e=o.$$events;for(const a of Object.keys(this.#t))a==="$set"||a==="$destroy"||a==="$on"||ze(this,a,{get(){return this.#t[a]},set(i){this.#t[a]=i},enumerable:!0});this.#t.$set=a=>{Object.assign(o,a)},this.#t.$destroy=()=>{sa(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const n=(...o)=>r.call(this,...o);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(o=>o!==n)}}$destroy(){this.#t.$destroy()}}let Dn;typeof HTMLElement=="function"&&(Dn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),T(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=ya(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=Qe(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ha({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Go(()=>{dn(()=>{this.$$r=!0;for(const n of Ne(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=Qe(n,this.$$d[n],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,o)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qe(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Ne(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Qe(t,e,r,n){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="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 ya(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function _a(t,e,r,n,o,a){let i=class extends Dn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Ne(e).map(l=>(e[l].attribute||l).toLowerCase())}};return Ne(e).forEach(l=>{ze(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(s){s=Qe(l,s,e),this.$$d[l]=s;var g=this.$$c;if(g){var m=Xt(g,l)?.get;m?g[l]=s:g.$set({[l]:s})}}})}),n.forEach(l=>{ze(i.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=i,i}var se={},Ln;function ka(){if(Ln)return se;Ln=1,Object.defineProperty(se,"__esModule",{value:!0}),se.LanguageTranslator=void 0,se.getChildStyleToPass=t,se.addComponent=e;function t(n,o){var a,i,l="";try{if(n&&o?.length&&(!((a=Object.keys(n))===null||a===void 0)&&a.length)&&(!((i=o?.filter(function(p){return Object.keys(n).includes(p.name)}))===null||i===void 0)&&i.length))for(var s=function(p){var c=o?.filter(function(u){return u.name===p&&u.defaultValue!==n[p]});c&&(l+="".concat(p,":").concat(n[p],";"))},g=0,m=Object.keys(n);g<m.length;g++){var x=m[g];s(x)}}catch(p){console.error("error getting child style to pass",p)}finally{return l}}function e(n){var o,a=((o=n?.repoName.split("/"))===null||o===void 0?void 0:o[1])||n?.repoName;if(!a)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var i=n?.iifePath||"main.iife.js";if(!document.getElementById(a+"-script"))try{var l=document.createElement("script");if(l.id=a+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(i),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var s=a.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(a.replace(s+"-",""),"/").concat(i)}document.head.appendChild(l)}catch(g){console.warn(g)}}var r=(function(){function n(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return n.prototype.setLang=function(o){o||(o=n.getDefaultLang()),this.lang=o},n.prototype.translateWord=function(o,a){return n.getDictionaryWord(o,this.dictionary,a||this.lang)},n.prototype.translateDate=function(o,a,i){return n.formatDate(o,a,i||this.lang)},n.getDefaultLang=function(){var o,a,i,l="en";return navigator?.languages&&(!((i=(a=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||a===void 0?void 0:a.toLowerCase())===null||i===void 0)&&i.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},n.getDictionaryWord=function(o,a,i){var l;if(!o)throw new Error("no wordKey provided");if(!a)throw new Error("no dictionary provided");if(i&&(!((l=a[i])===null||l===void 0)&&l[o]))return a[i][o];var s="",g=n.getDefaultLang();if(!i||g!==i){var m=a?.[g];m?.[o]&&(s=m[o])}return s},n.formatDate=function(o,a,i){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(i||n.getDefaultLang(),a);return l.format(o)},n})();return se.LanguageTranslator=r,se}var _r=ka();const $a={version:"0.66.0"},Mn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var ja=z('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ea=z('<button class="position-absolute top-0 start-0 w-100 h-100 border-0 bg-transparent p-0 svelte-165xfg5" type="button" style="z-index: 1;" aria-label="View contact details"></button>'),Ca=z('<img class="avatar svelte-165xfg5"/>'),Ta=z('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Aa=z('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Sa=z('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),Na=z('<div class="dropdown svelte-165xfg5"><hb-dropdown-simple><button slot="dropdownbutton" class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button" data-bs-toggle="dropdown" aria-label="Contact actions menu"><i class="bi bi-three-dots-vertical svelte-165xfg5"></i></button></hb-dropdown-simple></div>',2),za=z('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),Pa=z('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Ra=z('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Oa=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-building me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!> <!> <!></div></div>'),Da=z('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),La=z('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Ma=z('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Ia=z('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Fa=z('<div class="contact-item svelte-165xfg5"><i class="bi bi-globe me-2 svelte-165xfg5"></i> <a target="_blank" rel="noopener noreferrer" class="svelte-165xfg5"> </a></div>'),Ba=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-telephone me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!> <!> <!></div></div>'),qa=z('<strong class="svelte-165xfg5"> </strong>'),Ya=z('<div class="svelte-165xfg5"> </div>'),Ua=z('<div class="svelte-165xfg5"> </div>'),Ha=z('<div class="svelte-165xfg5"> </div>'),Va=z('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),Wa=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-geo-alt me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!></div></div>'),Ga=z('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),Ja=z('<div class="contact-section mb-3 svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-share me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><!></div></div>'),Ka=z('<div class="contact-section svelte-165xfg5"><button class="section-header svelte-165xfg5" type="button"><h6 class="section-title mb-0 svelte-165xfg5"><i class="bi bi-sticky me-2 svelte-165xfg5"></i> <i></i></h6></button> <div><div class="contact-item svelte-165xfg5"> </div></div></div>'),Xa=z('<div><!> <div class="card-header d-flex align-items-center svelte-165xfg5"><div class="avatar-container me-3 svelte-165xfg5"><!></div> <div class="flex-grow-1 svelte-165xfg5"><h5 class="card-title mb-1 svelte-165xfg5"> </h5> <!></div> <div class="header-actions d-flex gap-2 svelte-165xfg5"><!> <!></div></div> <div><div><!> <!> <!> <!> <!></div></div></div>');const Za={hash:"svelte-165xfg5",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;--hb--contact-card-primary: #0d6efd;--hb--contact-card-secondary: #6c757d;--hb--contact-card-success: #198754;--hb--contact-card-danger: #dc3545;--hb--contact-card-warning: #ffc107;--hb--contact-card-info: #0dcaf0;--hb--contact-card-light: #f8f9fa;--hb--contact-card-dark: #212529;--hb--contact-card-border-radius: 0.375rem;--hb--contact-card-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--hb--contact-card-box-shadow-hover: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);}.contact-card.svelte-165xfg5 {border:1px solid rgba(0, 0, 0, 0.125);border-radius:var(--hb--contact-card-border-radius);box-shadow:var(--hb--contact-card-box-shadow);transition:all 0.15s ease-in-out;background-color:#fff;}.contact-card.clickable.svelte-165xfg5 {cursor:pointer;}.contact-card.clickable.svelte-165xfg5:hover {box-shadow:var(--hb--contact-card-box-shadow-hover);transform:translateY(-2px);}.contact-card.clickable.svelte-165xfg5:focus {outline:2px solid var(--hb--contact-card-primary);outline-offset:2px;}.contact-card.svelte-165xfg5 .card-header:where(.svelte-165xfg5) {background:linear-gradient(135deg, var(--hb--contact-card-light), rgba(255, 255, 255, 0.8));border-bottom:1px solid rgba(0, 0, 0, 0.125);padding:0.75rem 1rem;border-radius:var(--hb--contact-card-border-radius) var(--hb--contact-card-border-radius) 0 0;}.contact-card.svelte-165xfg5 .card-body:where(.svelte-165xfg5) {padding:1rem;background-color:#fff;overflow:hidden;transition:all 0.3s ease-in-out;max-height:2000px;opacity:1;}.contact-card.svelte-165xfg5 .card-body.collapsed:where(.svelte-165xfg5) {max-height:0;opacity:0;padding:0;margin:0;}.contact-card.svelte-165xfg5 .card-body:where(.svelte-165xfg5) {z-index:1;}.contact-card.svelte-165xfg5 .card-content:where(.svelte-165xfg5) {display:block;}.contact-card.svelte-165xfg5 .avatar-container:where(.svelte-165xfg5) {flex-shrink:0;}.contact-card.svelte-165xfg5 .avatar:where(.svelte-165xfg5) {width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);transition:all 0.3s ease-in-out;}.contact-card.svelte-165xfg5 .avatar:where(.svelte-165xfg5):hover {transform:scale(1.05);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);}.contact-card.svelte-165xfg5 .avatar-placeholder:where(.svelte-165xfg5) {width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg, var(--hb--contact-card-primary), var(--hb--contact-card-info));display:flex;align-items:center;justify-content:center;color:white;font-size:1.25rem;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);transition:all 0.3s ease-in-out;}.contact-card.svelte-165xfg5 .avatar-placeholder:where(.svelte-165xfg5):hover {transform:scale(1.05);box-shadow:0 6px 12px rgba(0, 0, 0, 0.2);}.contact-card.svelte-165xfg5 .card-title:where(.svelte-165xfg5) {font-size:1.4rem;font-weight:700;color:var(--hb--contact-card-dark);margin:0;line-height:1.2;}.contact-card.svelte-165xfg5 .card-subtitle:where(.svelte-165xfg5) {font-size:0.9rem;color:var(--hb--contact-card-secondary);margin:0;font-weight:500;}.contact-card.svelte-165xfg5 .header-actions:where(.svelte-165xfg5) {position:relative;z-index:3;}.contact-card.svelte-165xfg5 .header-actions:where(.svelte-165xfg5) .btn:where(.svelte-165xfg5) {transition:all 0.2s ease-in-out;}.contact-card.svelte-165xfg5 .header-actions:where(.svelte-165xfg5) .btn:where(.svelte-165xfg5):hover {transform:translateY(-1px);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.contact-card.svelte-165xfg5 .header-actions:where(.svelte-165xfg5) .btn:where(.svelte-165xfg5):focus {box-shadow:0 0 0 2px var(--hb--contact-card-primary);}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) {margin-bottom:0.75rem;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5):last-child {margin-bottom:0 !important;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-header:where(.svelte-165xfg5) {background:none;border:none;padding:0;width:100%;text-align:left;cursor:pointer;transition:all 0.2s ease-in-out;border-radius:0.25rem;margin-bottom:0.375rem;position:relative;z-index:3;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-header:where(.svelte-165xfg5):hover {background-color:rgba(0, 0, 0, 0.05);}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-header:where(.svelte-165xfg5):focus {outline:2px solid var(--hb--contact-card-primary);outline-offset:2px;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-title:where(.svelte-165xfg5) {font-size:0.875rem;font-weight:600;color:var(--hb--contact-card-dark);text-transform:uppercase;letter-spacing:0.5px;display:flex;align-items:center;padding:0.5rem;margin:0;transition:color 0.2s ease-in-out;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-title:where(.svelte-165xfg5) i:where(.svelte-165xfg5) {color:var(--hb--contact-card-primary);transition:transform 0.3s ease-in-out;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-title:where(.svelte-165xfg5) .bi-chevron-down:where(.svelte-165xfg5),
5
5
  .contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .section-title:where(.svelte-165xfg5) .bi-chevron-up:where(.svelte-165xfg5) {color:var(--hb--contact-card-secondary);font-size:0.75rem;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .collapse-section:where(.svelte-165xfg5) {overflow:hidden;transition:all 0.3s ease-in-out;max-height:1000px;opacity:1;position:relative;padding:0 1px;margin:0 -1px;}.contact-card.svelte-165xfg5 .contact-section:where(.svelte-165xfg5) .collapse-section.collapsed:where(.svelte-165xfg5) {max-height:0;opacity:0;margin-top:0;padding-top:0;padding-bottom:0;padding-left:1px;padding-right:1px;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) {padding:0 0.5rem 0.375rem 0.5rem;position:relative;overflow:visible;padding-top:1px;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) {margin-bottom:0.375rem;font-size:0.875rem;line-height:1.4;padding:0.125rem 0;transition:all 0.2s ease-in-out;position:relative;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5):last-child {margin-bottom:0;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) > i:where(.svelte-165xfg5) {display:inline-block;vertical-align:middle;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) .type-badge:where(.svelte-165xfg5) {font-size:0.65rem;opacity:0.7;margin-left:-0.35rem;margin-right:0.35rem;color:var(--hb--contact-card-secondary);position:relative;top:-0.05rem;vertical-align:middle;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item.address-item:where(.svelte-165xfg5) {padding:0.5rem;border-radius:0.25rem;border:1px solid transparent;transition:all 0.2s ease-in-out;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item.address-item:where(.svelte-165xfg5):hover {background-color:rgba(0, 0, 0, 0.05);border-color:var(--hb--contact-card-primary);}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item.address-item:where(.svelte-165xfg5):focus {outline:2px solid var(--hb--contact-card-primary);outline-offset:2px;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) a:where(.svelte-165xfg5) {color:var(--hb--contact-card-primary);text-decoration:none;transition:color 0.15s ease-in-out;font-weight:500;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) a:where(.svelte-165xfg5):hover {color:var(--hb--contact-card-dark);text-decoration:underline;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) i:where(.svelte-165xfg5) {color:var(--hb--contact-card-secondary);width:16px;transition:color 0.2s ease-in-out;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) strong:where(.svelte-165xfg5) {color:var(--hb--contact-card-dark);font-weight:600;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) .contact-item:where(.svelte-165xfg5) .text-muted:where(.svelte-165xfg5) {color:var(--hb--contact-card-secondary) !important;font-size:0.8rem;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) {display:flex;flex-wrap:wrap;gap:0.75rem;padding:0.5rem;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5) {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background-color:var(--hb--contact-card-light);color:var(--hb--contact-card-secondary);text-decoration:none;transition:all 0.3s ease-in-out;border:1px solid rgba(0, 0, 0, 0.125);position:relative;overflow:hidden;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5)::before {content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg, var(--hb--contact-card-primary), var(--hb--contact-card-info));opacity:0;transition:opacity 0.3s ease-in-out;border-radius:50%;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5):hover {color:white;transform:translateY(-2px) scale(1.05);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);border-color:var(--hb--contact-card-primary);}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5):hover::before {opacity:1;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5):focus {outline:2px solid var(--hb--contact-card-primary);outline-offset:2px;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5) i:where(.svelte-165xfg5) {font-size:1.1rem;position:relative;z-index:1;}.contact-card.svelte-165xfg5 .dropdown:where(.svelte-165xfg5) {position:relative;z-index:2;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) {position:relative;z-index:2;}.contact-card.svelte-165xfg5 .contact-details:where(.svelte-165xfg5) a:where(.svelte-165xfg5) {position:relative;z-index:2;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) {position:relative;z-index:2;}.contact-card.svelte-165xfg5 .social-links:where(.svelte-165xfg5) .social-link:where(.svelte-165xfg5) {position:relative;z-index:2;}
6
6
  @media (max-width: 576px) {.contact-card.svelte-165xfg5 .card-header:where(.svelte-165xfg5) {padding:1rem;}.contact-card.svelte-165xfg5 .card-body:where(.svelte-165xfg5) {padding:1rem;}.contact-card.svelte-165xfg5 .avatar:where(.svelte-165xfg5),
@@ -14,7 +14,7 @@
14
14
  * Copyright 2011-2021 The Bootstrap Authors
15
15
  * Copyright 2011-2021 Twitter, Inc.
16
16
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
17
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-165xfg5,
17
+ */.svelte-165xfg5,
18
18
  .svelte-165xfg5::before,
19
19
  .svelte-165xfg5::after {box-sizing:border-box;}
20
20
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -152,5 +152,5 @@ button.svelte-165xfg5 {margin:0;font-family:inherit;font-size:inherit;line-heigh
152
152
  @media (min-width: 1200px) {.fs-1.svelte-165xfg5 {font-size:2.5rem !important;}.fs-2.svelte-165xfg5 {font-size:2rem !important;}.fs-3.svelte-165xfg5 {font-size:1.75rem !important;}.fs-4.svelte-165xfg5 {font-size:1.5rem !important;}
153
153
  }
154
154
  @media print {.d-print-inline.svelte-165xfg5 {display:inline !important;}.d-print-inline-block.svelte-165xfg5 {display:inline-block !important;}.d-print-block.svelte-165xfg5 {display:block !important;}.d-print-grid.svelte-165xfg5 {display:grid !important;}.d-print-inline-grid.svelte-165xfg5 {display:inline-grid !important;}.d-print-table.svelte-165xfg5 {display:table !important;}.d-print-table-row.svelte-165xfg5 {display:table-row !important;}.d-print-table-cell.svelte-165xfg5 {display:table-cell !important;}.d-print-flex.svelte-165xfg5 {display:flex !important;}.d-print-inline-flex.svelte-165xfg5 {display:inline-flex !important;}.d-print-none.svelte-165xfg5 {display:none !important;}
155
- }`};function In(t,e){qr(e,!0),ma(t,Za);_r.addComponent({repoName:"@htmlbricks/hb-dropdown-simple",version:$a.version});function r(d,v){e.$$host.dispatchEvent(new CustomEvent(d,{detail:v}))}let n=le(e,"id",7,""),o=le(e,"style",7,""),a=le(e,"data",7),i=le(e,"actions_list",23,()=>[]),l=le(e,"i18nlang",7),s=le(e,"show_header_collapse_button",7,"yes"),g=le(e,"start_collapsed",7,"no"),m=vt(It({})),x=vt(It(new _r.LanguageTranslator({dictionary:Dn,lang:l()})));Wo(()=>{if(a()&&typeof a()=="string")try{ct(m,JSON.parse(a()),!0)}catch(d){console.error("error parsing data",d)}if(i()&&typeof i()=="string")try{i(JSON.parse(i()))}catch(d){console.error("error parsing actions_list",d)}f(x)&&l()&&f(x).lang&&f(x).lang!==l()&&ct(x,new _r.LanguageTranslator({dictionary:Dn,lang:l()}),!0)});function p(d,v){switch(d){case"linkedin":return`https://www.linkedin.com/in/${v}`;case"twitter":return`https://twitter.com/${v}`;case"facebook":return`https://facebook.com/${v}`;case"instagram":return`https://instagram.com/${v}`;case"github":return`https://github.com/${v}`;case"youtube":return`https://www.youtube.com/@${v}`;case"tiktok":return`https://www.tiktok.com/@${v}`;case"signal":return`https://signal.me/#eu/${v}`;case"whatsapp":return`https://wa.me/${v}`;case"telegram":return`https://t.me/${v}`;default:return""}}let c=Dt(()=>(f(m)?.socialMedia||[]).map(d=>{if((!d.url||d.url.trim()==="")&&d.username){const v=d.username.trim(),j=p(d.platform,v)||d.url||"";return{...d,url:j}}return d})),u=Dt(()=>f(m)?.fullName||`${f(m)?.firstName} ${f(m)?.lastName}`.trim()||"Unknown Contact"),M=Dt(()=>f(m)?.avatar&&f(m)?.avatar.trim()!==""),A=Dt(()=>f(m)?.addresses&&f(m)?.addresses.length>0),et=Dt(()=>f(m)?.company||f(m)?.department||f(m)?.jobTitle),N=Dt(()=>f(m)?.socialMedia&&f(m)?.socialMedia.length>0),_t=Dt(()=>f(m)?.emails&&f(m)?.emails.length>0||f(m)?.phones&&f(m)?.phones.length>0||f(m)?.website),mt=Dt(()=>f(m)?.emails&&f(m)?.emails.length>0),Nt=Dt(()=>f(m)?.phones&&f(m)?.phones.length>0),H=vt(It({company:!1,contact:!1,address:!1,social:!1,notes:!1})),V=vt(g()==="yes");function Bt(d){f(H)[d]=!f(H)[d]}function he(){ct(V,!f(V)),r("collapseChange",{id:n(),collapsed:f(V)})}function kt(){f(m)?.clickable&&r("contactClick",{id:n(),contact:f(m)})}function tr(d,v){d.stopPropagation(),r("phoneClick",{id:n(),phone:v})}function er(d,v){d.stopPropagation(),r("emailClick",{id:n(),email:v})}function kr(d,v){d.stopPropagation(),r("websiteClick",{id:n(),website:v})}function $r(d,v){d.stopPropagation(),r("socialClick",{id:n(),social:v})}function Fn(d,v){d.stopPropagation(),r("addressClick",{id:n(),address:v})}function Qa(){return"bi-envelope"}function ti(d){return d==="mobile"?"bi-phone":"bi-telephone"}function ei(d){switch(d){case"work":return"bi-building";case"home":return"bi-house";case"billing":return"bi-credit-card";case"shipping":return"bi-truck";default:return"bi-tag"}}function ri(d){switch(d){case"linkedin":return"bi-linkedin";case"twitter":return"bi-twitter";case"facebook":return"bi-facebook";case"instagram":return"bi-instagram";case"github":return"bi-github";case"youtube":return"bi-youtube";case"tiktok":return"bi-tiktok";case"signal":return"bi-shield-lock";case"whatsapp":return"bi-whatsapp";case"telegram":return"bi-telegram";default:return"bi-share"}}var ni={get id(){return n()},set id(d=""){n(d),Gt()},get style(){return o()},set style(d=""){o(d),Gt()},get data(){return a()},set data(d){a(d),Gt()},get actions_list(){return i()},set actions_list(d=[]){i(d),Gt()},get i18nlang(){return l()},set i18nlang(d){l(d),Gt()},get show_header_collapse_button(){return s()},set show_header_collapse_button(d="yes"){s(d),Gt()},get start_collapsed(){return g()},set start_collapsed(d="no"){g(d),Gt()}},Ee=Xa();fa("165xfg5",d=>{var v=ja();T(d,v)});let Bn;var qn=w(Ee);{var oi=d=>{var v=Ea();v.__click=kt,T(d,v)};O(qn,d=>{f(m)?.clickable&&d(oi)})}var jr=_(qn,2),Er=w(jr),ai=w(Er);{var ii=d=>{var v=Ca();R(()=>{ft(v,"src",f(m)?.avatar),ft(v,"alt",f(u))}),T(d,v)},li=d=>{var v=Ta();T(d,v)};O(ai,d=>{f(M)?d(ii):d(li,!1)})}h(Er);var Cr=_(Er,2),Tr=w(Cr),si=w(Tr,!0);h(Tr);var gi=_(Tr,2);{var fi=d=>{var v=Sa(),j=w(v,!0);h(v),R(()=>F(j,f(m)?.title)),T(d,v)};O(gi,d=>{f(m)?.title&&d(fi)})}h(Cr);var Un=_(Cr,2),Yn=w(Un);{var mi=d=>{var v=Aa();v.__click=X=>{X.stopPropagation(),he()};var j=w(v);h(v),R(()=>{ft(v,"aria-label",f(V)?"Expand contact details":"Collapse contact details"),ft(v,"title",f(V)?"Show details":"Hide details"),B(j,1,`bi ${f(V)?"bi-chevron-down":"bi-chevron-up"}`,"svelte-165xfg5")}),T(d,v)};O(Yn,d=>{s()!=="no"&&d(mi)})}var di=_(Yn,2);{var pi=d=>{var v=Na(),j=w(v);Rn(j,"position","right"),R(()=>Rn(j,"list",JSON.stringify(i()))),B(j,1,"svelte-165xfg5"),h(v),T(d,v)};O(di,d=>{i()?.length&&d(pi)})}h(Un),h(jr);var Sr=_(jr,2);let Hn;var Ar=w(Sr);let Vn;var Wn=w(Ar);{var xi=d=>{var v=Oa(),j=w(v);j.__click=b=>{b.stopPropagation(),Bt("company")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Ut=b=>{var E=za(),I=w(E),at=w(I,!0);h(I),h(E),R(()=>F(at,f(m)?.company)),T(b,E)};O($t,b=>{f(m)?.company&&b(Ut)})}var P=_($t,2);{var Yt=b=>{var E=Pa(),I=w(E,!0);h(E),R(()=>F(I,f(m)?.jobTitle)),T(b,E)};O(P,b=>{f(m)?.jobTitle&&b(Yt)})}var ge=_(P,2);{var fe=b=>{var E=Ra(),I=w(E,!0);h(E),R(()=>F(I,f(m)?.department)),T(b,E)};O(ge,b=>{f(m)?.department&&b(fe)})}h(q),h(v),R(b=>{F(nt,`${b??""} `),B(qt,1,`bi ${f(H).company?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).company})},[()=>f(x).translateWord("Company")]),T(d,v)};O(Wn,d=>{f(et)&&d(xi)})}var Gn=_(Wn,2);{var vi=d=>{var v=Ba(),j=w(v);j.__click=b=>{b.stopPropagation(),Bt("contact")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Ut=b=>{var E=Xe(),I=He(E);qe(I,17,()=>f(m).emails,Be,(at,U)=>{var zt=La(),Ht=w(zt),it=_(Ht,2);it.__click=y=>er(y,f(U));var Ce=w(it,!0);h(it);var Te=_(it,2);{var Se=y=>{var L=Ma(),Ct=w(L);h(L),R(()=>F(Ct,`(${f(U).label??""})`)),T(y,L)};O(Te,y=>{f(U).label&&y(Se)})}h(zt),R(y=>{B(Ht,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(Ht,"title",f(U).type),ft(it,"href",`mailto:${f(U).address??""}`),F(Ce,f(U).address)},[Qa]),T(at,zt)}),T(b,E)};O($t,b=>{f(mt)&&b(Ut)})}var P=_($t,2);{var Yt=b=>{var E=Xe(),I=He(E);qe(I,17,()=>f(m).phones,Be,(at,U)=>{var zt=Ia(),Ht=w(zt),it=_(Ht,2);it.__click=y=>tr(y,f(U));var Ce=w(it,!0);h(it);var Te=_(it,2);{var Se=y=>{var L=Da(),Ct=w(L);h(L),R(()=>F(Ct,`(${f(U).label??""})`)),T(y,L)};O(Te,y=>{f(U).label&&y(Se)})}h(zt),R(y=>{B(Ht,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(Ht,"title",f(U).type),ft(it,"href",`tel:${f(U).number??""}`),F(Ce,f(U).number)},[()=>ti(f(U).type)]),T(at,zt)}),T(b,E)};O(P,b=>{f(Nt)&&b(Yt)})}var ge=_(P,2);{var fe=b=>{var E=Fa(),I=_(w(E),2);I.__click=U=>kr(U,f(m)?.website||"");var at=w(I,!0);h(I),h(E),R(()=>{ft(I,"href",f(m)?.website),F(at,f(m)?.website)}),T(b,E)};O(ge,b=>{f(m)?.website&&b(fe)})}h(q),h(v),R(b=>{F(nt,`${b??""} `),B(qt,1,`bi ${f(H).contact?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).contact})},[()=>f(x).translateWord("Contact")]),T(d,v)};O(Gn,d=>{f(_t)&&d(vi)})}var Jn=_(Gn,2);{var ci=d=>{var v=Wa(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("address")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Ut=P=>{var Yt=Xe(),ge=He(Yt);qe(ge,17,()=>f(m).addresses,Be,(fe,b)=>{var E=Va();E.__click=y=>Fn(y,f(b)),E.__keydown=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),Fn(y,f(b)))};var I=w(E),at=_(I,2);{var U=y=>{var L=qa(),Ct=w(L);h(L),R(()=>F(Ct,`${f(b).label??""}:`)),T(y,L)};O(at,y=>{f(b).label&&y(U)})}var zt=_(at,2);{var Ht=y=>{var L=Ua(),Ct=w(L,!0);h(L),R(()=>F(Ct,f(b).street)),T(y,L)};O(zt,y=>{f(b).street&&y(Ht)})}var it=_(zt,2);{var Ce=y=>{var L=Ya(),Ct=w(L);h(L),R(()=>F(Ct,`${f(b).city??""}${f(b).city&&f(b).state?", ":""}${f(b).state??""}${f(b).state&&f(b).postalCode?" ":""}${f(b).postalCode??""}`)),T(y,L)};O(it,y=>{(f(b).city||f(b).state||f(b).postalCode)&&y(Ce)})}var Te=_(it,2);{var Se=y=>{var L=Ha(),Ct=w(L,!0);h(L),R(()=>F(Ct,f(b).country)),T(y,L)};O(Te,y=>{f(b).country&&y(Se)})}h(E),R(y=>{B(I,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(I,"title",f(b).type)},[()=>ei(f(b).type)]),T(fe,E)}),T(P,Yt)};O($t,P=>{f(m)?.addresses&&P(Ut)})}h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).address?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).address})},[()=>f(x).translateWord("Address")]),T(d,v)};O(Jn,d=>{f(A)&&d(ci)})}var Kn=_(Jn,2);{var bi=d=>{var v=Ja(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("social")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Ut=P=>{var Yt=Xe(),ge=He(Yt);qe(ge,17,()=>f(c),Be,(fe,b)=>{var E=Ga();E.__click=at=>$r(at,f(b));var I=w(E);h(E),R(at=>{ft(E,"href",f(b).url),ft(E,"aria-label",`${f(b).platform??""} profile`),B(I,1,`bi ${at??""}`,"svelte-165xfg5")},[()=>ri(f(b).platform)]),T(fe,E)}),T(P,Yt)};O($t,P=>{f(c)?.length&&P(Ut)})}h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).social?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"social-links collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).social})},[()=>f(x).translateWord("Social")]),T(d,v)};O(Kn,d=>{f(N)&&d(bi)})}var ui=_(Kn,2);{var hi=d=>{var v=Ka(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("notes")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q),Ut=w($t,!0);h($t),h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).notes?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).notes}),F(Ut,f(m).notes)},[()=>f(x).translateWord("Notes")]),T(d,v)};O(ui,d=>{f(m)?.notes&&d(hi)})}return h(Ar),h(Sr),h(Ee),R(()=>{Bn=B(Ee,1,"contact-card card h-100 position-relative svelte-165xfg5",null,Bn,{clickable:f(m)?.clickable}),xa(Ee,o()),F(si,f(u)),Hn=B(Sr,1,"card-body svelte-165xfg5",null,Hn,{collapsed:f(V)}),Vn=B(Ar,1,"card-content svelte-165xfg5",null,Vn,{collapsed:f(V)})}),T(t,Ee),Ur(ni)}na(["click","keydown"]),customElements.define("hb-contact-card",_a(In,{id:{},style:{},data:{},actions_list:{},i18nlang:{},show_header_collapse_button:{},start_collapsed:{}},[],[],!0)),Nr.Component=In,Object.defineProperty(Nr,Symbol.toStringTag,{value:"Module"})})(this["contact-card"]=this["contact-card"]||{});
155
+ }`};function In(t,e){qr(e,!0),ma(t,Za);_r.addComponent({repoName:"@htmlbricks/hb-dropdown-simple",version:$a.version});function r(d,v){e.$$host.dispatchEvent(new CustomEvent(d,{detail:v}))}let n=le(e,"id",7,""),o=le(e,"style",7,""),a=le(e,"data",7),i=le(e,"actions_list",23,()=>[]),l=le(e,"i18nlang",7),s=le(e,"show_header_collapse_button",7,"yes"),g=le(e,"start_collapsed",7,"no"),m=vt(It({})),x=vt(It(new _r.LanguageTranslator({dictionary:Mn,lang:l()})));Wo(()=>{if(a()&&typeof a()=="string")try{ct(m,JSON.parse(a()),!0)}catch(d){console.error("error parsing data",d)}if(i()&&typeof i()=="string")try{i(JSON.parse(i()))}catch(d){console.error("error parsing actions_list",d)}f(x)&&l()&&f(x).lang&&f(x).lang!==l()&&ct(x,new _r.LanguageTranslator({dictionary:Mn,lang:l()}),!0)});function p(d,v){switch(d){case"linkedin":return`https://www.linkedin.com/in/${v}`;case"twitter":return`https://twitter.com/${v}`;case"facebook":return`https://facebook.com/${v}`;case"instagram":return`https://instagram.com/${v}`;case"github":return`https://github.com/${v}`;case"youtube":return`https://www.youtube.com/@${v}`;case"tiktok":return`https://www.tiktok.com/@${v}`;case"signal":return`https://signal.me/#eu/${v}`;case"whatsapp":return`https://wa.me/${v}`;case"telegram":return`https://t.me/${v}`;default:return""}}let c=Mt(()=>(f(m)?.socialMedia||[]).map(d=>{if((!d.url||d.url.trim()==="")&&d.username){const v=d.username.trim(),j=p(d.platform,v)||d.url||"";return{...d,url:j}}return d})),u=Mt(()=>f(m)?.fullName||`${f(m)?.firstName} ${f(m)?.lastName}`.trim()||"Unknown Contact"),D=Mt(()=>f(m)?.avatar&&f(m)?.avatar.trim()!==""),S=Mt(()=>f(m)?.addresses&&f(m)?.addresses.length>0),et=Mt(()=>f(m)?.company||f(m)?.department||f(m)?.jobTitle),N=Mt(()=>f(m)?.socialMedia&&f(m)?.socialMedia.length>0),_t=Mt(()=>f(m)?.emails&&f(m)?.emails.length>0||f(m)?.phones&&f(m)?.phones.length>0||f(m)?.website),mt=Mt(()=>f(m)?.emails&&f(m)?.emails.length>0),Nt=Mt(()=>f(m)?.phones&&f(m)?.phones.length>0),H=vt(It({company:!1,contact:!1,address:!1,social:!1,notes:!1})),V=vt(g()==="yes");function Bt(d){f(H)[d]=!f(H)[d]}function he(){ct(V,!f(V)),r("collapseChange",{id:n(),collapsed:f(V)})}function kt(){f(m)?.clickable&&r("contactClick",{id:n(),contact:f(m)})}function tr(d,v){d.stopPropagation(),r("phoneClick",{id:n(),phone:v})}function er(d,v){d.stopPropagation(),r("emailClick",{id:n(),email:v})}function kr(d,v){d.stopPropagation(),r("websiteClick",{id:n(),website:v})}function $r(d,v){d.stopPropagation(),r("socialClick",{id:n(),social:v})}function Fn(d,v){d.stopPropagation(),r("addressClick",{id:n(),address:v})}function Qa(){return"bi-envelope"}function ti(d){return d==="mobile"?"bi-phone":"bi-telephone"}function ei(d){switch(d){case"work":return"bi-building";case"home":return"bi-house";case"billing":return"bi-credit-card";case"shipping":return"bi-truck";default:return"bi-tag"}}function ri(d){switch(d){case"linkedin":return"bi-linkedin";case"twitter":return"bi-twitter";case"facebook":return"bi-facebook";case"instagram":return"bi-instagram";case"github":return"bi-github";case"youtube":return"bi-youtube";case"tiktok":return"bi-tiktok";case"signal":return"bi-shield-lock";case"whatsapp":return"bi-whatsapp";case"telegram":return"bi-telegram";default:return"bi-share"}}var ni={get id(){return n()},set id(d=""){n(d),Gt()},get style(){return o()},set style(d=""){o(d),Gt()},get data(){return a()},set data(d){a(d),Gt()},get actions_list(){return i()},set actions_list(d=[]){i(d),Gt()},get i18nlang(){return l()},set i18nlang(d){l(d),Gt()},get show_header_collapse_button(){return s()},set show_header_collapse_button(d="yes"){s(d),Gt()},get start_collapsed(){return g()},set start_collapsed(d="no"){g(d),Gt()}},Ee=Xa();fa("165xfg5",d=>{var v=ja();T(d,v)});let Bn;var qn=w(Ee);{var oi=d=>{var v=Ea();v.__click=kt,T(d,v)};O(qn,d=>{f(m)?.clickable&&d(oi)})}var jr=_(qn,2),Er=w(jr),ai=w(Er);{var ii=d=>{var v=Ca();R(()=>{ft(v,"src",f(m)?.avatar),ft(v,"alt",f(u))}),T(d,v)},li=d=>{var v=Ta();T(d,v)};O(ai,d=>{f(D)?d(ii):d(li,!1)})}h(Er);var Cr=_(Er,2),Tr=w(Cr),si=w(Tr,!0);h(Tr);var gi=_(Tr,2);{var fi=d=>{var v=Aa(),j=w(v,!0);h(v),R(()=>F(j,f(m)?.title)),T(d,v)};O(gi,d=>{f(m)?.title&&d(fi)})}h(Cr);var Yn=_(Cr,2),Un=w(Yn);{var mi=d=>{var v=Sa();v.__click=X=>{X.stopPropagation(),he()};var j=w(v);h(v),R(()=>{ft(v,"aria-label",f(V)?"Expand contact details":"Collapse contact details"),ft(v,"title",f(V)?"Show details":"Hide details"),B(j,1,`bi ${f(V)?"bi-chevron-down":"bi-chevron-up"}`,"svelte-165xfg5")}),T(d,v)};O(Un,d=>{s()!=="no"&&d(mi)})}var di=_(Un,2);{var pi=d=>{var v=Na(),j=w(v);Rn(j,"position","right"),R(()=>Rn(j,"list",JSON.stringify(i()))),B(j,1,"svelte-165xfg5"),h(v),T(d,v)};O(di,d=>{i()?.length&&d(pi)})}h(Yn),h(jr);var Ar=_(jr,2);let Hn;var Sr=w(Ar);let Vn;var Wn=w(Sr);{var xi=d=>{var v=Oa(),j=w(v);j.__click=b=>{b.stopPropagation(),Bt("company")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Yt=b=>{var E=za(),I=w(E),at=w(I,!0);h(I),h(E),R(()=>F(at,f(m)?.company)),T(b,E)};O($t,b=>{f(m)?.company&&b(Yt)})}var P=_($t,2);{var Ut=b=>{var E=Pa(),I=w(E,!0);h(E),R(()=>F(I,f(m)?.jobTitle)),T(b,E)};O(P,b=>{f(m)?.jobTitle&&b(Ut)})}var ge=_(P,2);{var fe=b=>{var E=Ra(),I=w(E,!0);h(E),R(()=>F(I,f(m)?.department)),T(b,E)};O(ge,b=>{f(m)?.department&&b(fe)})}h(q),h(v),R(b=>{F(nt,`${b??""} `),B(qt,1,`bi ${f(H).company?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).company})},[()=>f(x).translateWord("Company")]),T(d,v)};O(Wn,d=>{f(et)&&d(xi)})}var Gn=_(Wn,2);{var vi=d=>{var v=Ba(),j=w(v);j.__click=b=>{b.stopPropagation(),Bt("contact")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Yt=b=>{var E=Xe(),I=He(E);qe(I,17,()=>f(m).emails,Be,(at,Y)=>{var zt=La(),Ht=w(zt),it=_(Ht,2);it.__click=y=>er(y,f(Y));var Ce=w(it,!0);h(it);var Te=_(it,2);{var Ae=y=>{var L=Da(),Ct=w(L);h(L),R(()=>F(Ct,`(${f(Y).label??""})`)),T(y,L)};O(Te,y=>{f(Y).label&&y(Ae)})}h(zt),R(y=>{B(Ht,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(Ht,"title",f(Y).type),ft(it,"href",`mailto:${f(Y).address??""}`),F(Ce,f(Y).address)},[Qa]),T(at,zt)}),T(b,E)};O($t,b=>{f(mt)&&b(Yt)})}var P=_($t,2);{var Ut=b=>{var E=Xe(),I=He(E);qe(I,17,()=>f(m).phones,Be,(at,Y)=>{var zt=Ia(),Ht=w(zt),it=_(Ht,2);it.__click=y=>tr(y,f(Y));var Ce=w(it,!0);h(it);var Te=_(it,2);{var Ae=y=>{var L=Ma(),Ct=w(L);h(L),R(()=>F(Ct,`(${f(Y).label??""})`)),T(y,L)};O(Te,y=>{f(Y).label&&y(Ae)})}h(zt),R(y=>{B(Ht,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(Ht,"title",f(Y).type),ft(it,"href",`tel:${f(Y).number??""}`),F(Ce,f(Y).number)},[()=>ti(f(Y).type)]),T(at,zt)}),T(b,E)};O(P,b=>{f(Nt)&&b(Ut)})}var ge=_(P,2);{var fe=b=>{var E=Fa(),I=_(w(E),2);I.__click=Y=>kr(Y,f(m)?.website||"");var at=w(I,!0);h(I),h(E),R(()=>{ft(I,"href",f(m)?.website),F(at,f(m)?.website)}),T(b,E)};O(ge,b=>{f(m)?.website&&b(fe)})}h(q),h(v),R(b=>{F(nt,`${b??""} `),B(qt,1,`bi ${f(H).contact?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).contact})},[()=>f(x).translateWord("Contact")]),T(d,v)};O(Gn,d=>{f(_t)&&d(vi)})}var Jn=_(Gn,2);{var ci=d=>{var v=Wa(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("address")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Yt=P=>{var Ut=Xe(),ge=He(Ut);qe(ge,17,()=>f(m).addresses,Be,(fe,b)=>{var E=Va();E.__click=y=>Fn(y,f(b)),E.__keydown=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),Fn(y,f(b)))};var I=w(E),at=_(I,2);{var Y=y=>{var L=qa(),Ct=w(L);h(L),R(()=>F(Ct,`${f(b).label??""}:`)),T(y,L)};O(at,y=>{f(b).label&&y(Y)})}var zt=_(at,2);{var Ht=y=>{var L=Ya(),Ct=w(L,!0);h(L),R(()=>F(Ct,f(b).street)),T(y,L)};O(zt,y=>{f(b).street&&y(Ht)})}var it=_(zt,2);{var Ce=y=>{var L=Ua(),Ct=w(L);h(L),R(()=>F(Ct,`${f(b).city??""}${f(b).city&&f(b).state?", ":""}${f(b).state??""}${f(b).state&&f(b).postalCode?" ":""}${f(b).postalCode??""}`)),T(y,L)};O(it,y=>{(f(b).city||f(b).state||f(b).postalCode)&&y(Ce)})}var Te=_(it,2);{var Ae=y=>{var L=Ha(),Ct=w(L,!0);h(L),R(()=>F(Ct,f(b).country)),T(y,L)};O(Te,y=>{f(b).country&&y(Ae)})}h(E),R(y=>{B(I,1,`bi ${y??""} me-2`,"svelte-165xfg5"),ft(I,"title",f(b).type)},[()=>ei(f(b).type)]),T(fe,E)}),T(P,Ut)};O($t,P=>{f(m)?.addresses&&P(Yt)})}h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).address?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).address})},[()=>f(x).translateWord("Address")]),T(d,v)};O(Jn,d=>{f(S)&&d(ci)})}var Kn=_(Jn,2);{var bi=d=>{var v=Ja(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("social")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q);{var Yt=P=>{var Ut=Xe(),ge=He(Ut);qe(ge,17,()=>f(c),Be,(fe,b)=>{var E=Ga();E.__click=at=>$r(at,f(b));var I=w(E);h(E),R(at=>{ft(E,"href",f(b).url),ft(E,"aria-label",`${f(b).platform??""} profile`),B(I,1,`bi ${at??""}`,"svelte-165xfg5")},[()=>ri(f(b).platform)]),T(fe,E)}),T(P,Ut)};O($t,P=>{f(c)?.length&&P(Yt)})}h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).social?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"social-links collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).social})},[()=>f(x).translateWord("Social")]),T(d,v)};O(Kn,d=>{f(N)&&d(bi)})}var ui=_(Kn,2);{var hi=d=>{var v=Ka(),j=w(v);j.__click=P=>{P.stopPropagation(),Bt("notes")};var X=w(j),nt=_(w(X)),qt=_(nt);h(X),h(j);var q=_(j,2);let ot;var $t=w(q),Yt=w($t,!0);h($t),h(q),h(v),R(P=>{F(nt,`${P??""} `),B(qt,1,`bi ${f(H).notes?"bi-chevron-down":"bi-chevron-up"} ms-auto`,"svelte-165xfg5"),ot=B(q,1,"contact-details collapse-section svelte-165xfg5",null,ot,{collapsed:f(H).notes}),F(Yt,f(m).notes)},[()=>f(x).translateWord("Notes")]),T(d,v)};O(ui,d=>{f(m)?.notes&&d(hi)})}return h(Sr),h(Ar),h(Ee),R(()=>{Bn=B(Ee,1,"contact-card card h-100 position-relative svelte-165xfg5",null,Bn,{clickable:f(m)?.clickable}),xa(Ee,o()),F(si,f(u)),Hn=B(Ar,1,"card-body svelte-165xfg5",null,Hn,{collapsed:f(V)}),Vn=B(Sr,1,"card-content svelte-165xfg5",null,Vn,{collapsed:f(V)})}),T(t,Ee),Yr(ni)}na(["click","keydown"]),customElements.define("hb-contact-card",_a(In,{id:{},style:{},data:{},actions_list:{},i18nlang:{},show_header_collapse_button:{},start_collapsed:{}},[],[],!0)),Nr.Component=In,Object.defineProperty(Nr,Symbol.toStringTag,{value:"Module"})})(this["contact-card"]=this["contact-card"]||{});
156
156
  //# sourceMappingURL=main.iife.js.map