@htmlbricks/hb-contact-card 0.61.52 → 0.61.53

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
1
  (function(Nr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Qn=1,to=2,eo=16,ro=1,no=4,oo=8,ao=16,io=1,lo=2,zr="[",ze="[!",rr="]",me={},W=Symbol(),so="http://www.w3.org/1999/xhtml",Pr=!1;var Rr=Array.isArray,go=Array.prototype.indexOf,nr=Array.from,Pe=Object.keys,Re=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,fo=Object.getOwnPropertyDescriptors,mo=Object.prototype,po=Array.prototype,Or=Object.getPrototypeOf,Mr=Object.isExtensible;function xo(t){for(var e=0;e<t.length;e++)t[e]()}function Lr(){var t,e,r=new Promise((n,o)=>{t=n,e=o});return{promise:r,resolve:t,reject:e}}const G=2,Oe=4,or=8,Rt=16,Ot=32,Ht=64,Me=128,jt=512,J=1024,nt=2048,Mt=4096,st=8192,Vt=16384,ar=32768,de=65536,Ir=1<<17,ir=1<<18,Xt=1<<19,vo=1<<20,we=32768,lr=1<<21,sr=1<<22,Wt=1<<23,Le=Symbol("$state"),Dr=Symbol("legacy props"),co=Symbol(""),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gr=3,Zt=8;function bo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function uo(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ho(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function wo(t){throw new Error("https://svelte.dev/e/effect_orphan")}function yo(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function _o(){throw new Error("https://svelte.dev/e/hydration_failed")}function ko(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function $o(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function jo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Eo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Co(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ie(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function To(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function gt(t){$=t}let S;function tt(t){if(t===null)throw Ie(),me;return S=t}function De(){return tt(wt(S))}function h(t){if($){if(wt(S)!==null)throw Ie(),me;S=t}}function So(t=1){if($){for(var e=t,r=S;e--;)r=wt(r);S=r}}function Fe(t=!0){for(var e=0,r=S;;){if(r.nodeType===Zt){var n=r.data;if(n===rr){if(e===0)return r;e-=1}else(n===zr||n===ze)&&(e+=1)}var o=wt(r);t&&r.remove(),r=o}}function Fr(t){if(!t||t.nodeType!==Zt)throw Ie(),me;return t.data}function Br(t){return t===this.v}function Ao(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function qr(t){return!Ao(t,this.v)}let No=!1,bt=null;function xe(t){bt=t}function Ur(t,e=!1,r){bt={p:bt,i:!1,c:null,e:null,s:t,x:null,l:null}}function Yr(t){var e=bt,r=e.e;if(r!==null){e.e=null;for(var n of r)dn(n)}return t!==void 0&&(e.x=t),e.i=!0,bt=e.p,t??{}}function Hr(){return!0}let Qt=[];function Vr(){var t=Qt;Qt=[],xo(t)}function fr(t){if(Qt.length===0&&!ye){var e=Qt;queueMicrotask(()=>{e===Qt&&Vr()})}Qt.push(t)}function zo(){for(;Qt.length>0;)Vr()}function Wr(t){var e=T;if(e===null)return j.f|=Wt,t;if((e.f&ar)===0){if((e.f&Me)===0)throw t;e.b.error(t)}else ve(t,e)}function ve(t,e){for(;e!==null;){if((e.f&Me)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Be=new Set;let q=null,ft=null,St=[],qe=null,mr=!1,ye=!1;class Et{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#n=0;#s=null;#i=[];#l=[];skipped_effects=new Set;is_fork=!1;process(e){St=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of e)this.#o(n,r);this.is_fork||this.#g(),this.#n>0||this.is_fork?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(q=null,Jr(r.render_effects),Jr(r.effects),this.#s?.resolve()),ft=null}#o(e,r){e.f^=J;for(var n=e.first;n!==null;){var o=n.f,a=(o&(Ot|Ht))!==0,i=a&&(o&J)!==0,l=i||(o&st)!==0||this.skipped_effects.has(n);if((n.f&Me)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!l&&n.fn!==null){a?n.f^=J:(o&Oe)!==0?r.effects.push(n):je(n)&&((n.f&Rt)!==0&&r.block_effects.push(n),Ee(n));var s=n.first;if(s!==null){n=s;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#a(e){for(const r of e)((r.f&nt)!==0?this.#i:this.#l).push(r),Z(r,J)}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&Wt)===0&&(this.current.set(e,e.v),ft?.set(e,e.v))}activate(){q=this,this.apply()}deactivate(){q=null,ft=null}flush(){if(this.activate(),St.length>0){if(Gr(),q!==null&&q!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#g(){if(this.#n===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#f()}#f(){if(Be.size>1){this.previous.clear();var e=ft,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of Be){if(o===this){r=!1;continue}const a=[];for(const[l,s]of this.current){if(o.current.has(l))if(r&&s!==o.current.get(l))o.current.set(l,s);else continue;a.push(l)}if(a.length===0)continue;const i=[...o.current.keys()].filter(l=>!this.current.has(l));if(i.length>0){const l=new Set,s=new Map;for(const f of a)Kr(f,i,l,s);if(St.length>0){q=o,o.apply();for(const f of St)o.#o(f,n);St=[],o.deactivate()}}}q=null,ft=e}this.committed=!0,Be.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.#i)Z(e,nt),te(e);for(const e of this.#l)Z(e,Mt),te(e);this.#i=[],this.#l=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=Lr()).promise}static ensure(){if(q===null){const e=q=new Et;Be.add(q),ye||Et.enqueue(()=>{q===e&&e.flush()})}return q}static enqueue(e){fr(e)}apply(){}}function Gt(t){var e=ye;ye=!0;try{for(var r;;){if(zo(),St.length===0&&(q?.flush(),St.length===0))return qe=null,r;Gr()}}finally{ye=e}}function Gr(){var t=ne;mr=!0;try{var e=0;for(wn(!0);St.length>0;){var r=Et.ensure();if(e++>1e3){var n,o;Po()}r.process(St),Jt.clear()}}finally{mr=!1,wn(t),qe=null}}function Po(){try{yo()}catch(t){ve(t,qe)}}let Lt=null;function Jr(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(Vt|st))===0&&je(n)&&(Lt=new Set,Ee(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?cn(n):n.fn=null),Lt?.size>0)){Jt.clear();for(const o of Lt){if((o.f&(Vt|st))!==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&(Vt|st))===0&&Ee(s)}}Lt.clear()}}Lt=null}}function Kr(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&G)!==0?Kr(o,e,r,n):(a&(sr|Rt))!==0&&(a&nt)===0&&Xr(o,e,n)&&(Z(o,nt),te(o))}}function Xr(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&G)!==0&&Xr(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function te(t){for(var e=qe=t;e.parent!==null;){e=e.parent;var r=e.f;if(mr&&e===T&&(r&Rt)!==0&&(r&ir)===0)return;if((r&(Ht|Ot))!==0){if((r&J)===0)return;e.f^=J}}St.push(e)}function Ro(t){let e=0,r=ee(0),n;return()=>{Ve()&&(g(r),pn(()=>(e===0&&(n=An(()=>t(()=>ke(r)))),e+=1,()=>{fr(()=>{e-=1,e===0&&(n?.(),n=void 0,ke(r))})})))}}var Oo=de|Xt|Me;function Mo(t,e,r){new Lo(t,e,r)}class Lo{parent;#e=!1;#t;#r=$?S:null;#n;#s;#i;#l=null;#o=null;#a=null;#g=null;#f=null;#p=0;#m=0;#x=!1;#d=null;#h=Ro(()=>(this.#d=ee(this.#p),()=>{this.#d=null}));constructor(e,r,n){this.#t=e,this.#n=r,this.#s=n,this.parent=T.b,this.#e=!!this.#n.pending,this.#i=We(()=>{if(T.b=this,$){const a=this.#r;De(),a.nodeType===Zt&&a.data===ze?this.#y():this.#w()}else{var o=this.#b();try{this.#l=yt(()=>n(o))}catch(a){this.error(a)}this.#m>0?this.#c():this.#e=!1}return()=>{this.#f?.remove()}},Oo),$&&(this.#t=S)}#w(){try{this.#l=yt(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#n.pending;e&&(this.#o=yt(()=>e(this.#t)),Et.enqueue(()=>{var r=this.#b();this.#l=this.#v(()=>(Et.ensure(),yt(()=>this.#s(r)))),this.#m>0?this.#c():(ce(this.#o,()=>{this.#o=null}),this.#e=!1)}))}#b(){var e=this.#t;return this.#e&&(this.#f=Ct(),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=T,n=j,o=bt;_t(this.#i),X(this.#i),xe(this.#i.ctx);try{return e()}catch(a){return Wr(a),null}finally{_t(r),X(n),xe(o)}}#c(){const e=this.#n.pending;this.#l!==null&&(this.#g=document.createDocumentFragment(),this.#g.append(this.#f),hn(this.#l,this.#g)),this.#o===null&&(this.#o=yt(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#m+=e,this.#m===0&&(this.#e=!1,this.#o&&ce(this.#o,()=>{this.#o=null}),this.#g&&(this.#t.before(this.#g),this.#g=null))}update_pending_count(e){this.#u(e),this.#p+=e,this.#d&&_e(this.#d,this.#p)}get_effect_pending(){return this.#h(),g(this.#d)}error(e){var r=this.#n.onerror;let n=this.#n.failed;if(this.#x||!r&&!n)throw e;this.#l&&(K(this.#l),this.#l=null),this.#o&&(K(this.#o),this.#o=null),this.#a&&(K(this.#a),this.#a=null),$&&(tt(this.#r),So(),tt(Fe()));var o=!1,a=!1;const i=()=>{if(o){To();return}o=!0,a&&Co(),Et.ensure(),this.#p=0,this.#a!==null&&ce(this.#a,()=>{this.#a=null}),this.#e=this.has_pending_snippet(),this.#l=this.#v(()=>(this.#x=!1,yt(()=>this.#s(this.#t)))),this.#m>0?this.#c():this.#e=!1};var l=j;try{X(null),a=!0,r?.(e,i),a=!1}catch(s){ve(s,this.#i&&this.#i.parent)}finally{X(l)}n&&fr(()=>{this.#a=this.#v(()=>{Et.ensure(),this.#x=!0;try{return yt(()=>{n(this.#t,()=>e,()=>i)})}catch(s){return ve(s,this.#i.parent),null}finally{this.#x=!1}})})}}function Io(t,e,r,n){const o=Ye;if(r.length===0&&t.length===0){n(e.map(o));return}var a=q,i=T,l=Do();function s(){Promise.all(r.map(f=>Fo(f))).then(f=>{l();try{n([...e.map(o),...f])}catch(m){(i.f&Vt)===0&&ve(m,i)}a?.deactivate(),Ue()}).catch(f=>{ve(f,i)})}t.length>0?Promise.all(t).then(()=>{l();try{return s()}finally{a?.deactivate(),Ue()}}):s()}function Do(){var t=T,e=j,r=bt,n=q;return function(a=!0){_t(t),X(e),xe(r),a&&n?.activate()}}function Ue(){_t(null),X(null),xe(null)}function Ye(t){var e=G|nt,r=j!==null&&(j.f&G)!==0?j:null;return T!==null&&(T.f|=Xt),{ctx:bt,deps:null,effects:null,equals:Br,f:e,fn:t,reactions:null,rv:0,v:W,wv:0,parent:r??T,ac:null}}function Fo(t,e){let r=T;r===null&&bo();var n=r.b,o=void 0,a=ee(W),i=!j,l=new Map;return Ko(()=>{var s=Lr();o=s.promise;try{Promise.resolve(t()).then(s.resolve,s.reject).then(()=>{f===q&&f.committed&&f.deactivate(),Ue()})}catch(d){s.reject(d),Ue()}var f=q;if(i){var m=!n.is_pending();n.update_pending_count(1),f.increment(m),l.get(f)?.reject(pe),l.delete(f),l.set(f,s)}const c=(d,x=void 0)=>{if(f.activate(),x)x!==pe&&(a.f|=Wt,_e(a,x));else{(a.f&Wt)!==0&&(a.f^=Wt),_e(a,d);for(const[u,y]of l){if(l.delete(u),u===f)break;y.reject(pe)}}i&&(n.update_pending_count(-1),f.decrement(m))};s.promise.then(c,d=>c(null,d||"unknown"))}),Ho(()=>{for(const s of l.values())s.reject(pe)}),new Promise(s=>{function f(m){function c(){m===o?s(a):f(o)}m.then(c,c)}f(o)})}function It(t){const e=Ye(t);return _n(e),e}function Zr(t){const e=Ye(t);return e.equals=qr,e}function Qr(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)K(e[r])}}function Bo(t){for(var e=t.parent;e!==null;){if((e.f&G)===0)return e;e=e.parent}return null}function dr(t){var e,r=T;_t(Bo(t));try{t.f&=~we,Qr(t),e=Cn(t)}finally{_t(r)}return e}function tn(t){var e=dr(t);if(t.equals(e)||(t.v=e,t.wv=jn()),!oe)if(ft!==null)Ve()&&ft.set(t,t.v);else{var r=(t.f&jt)===0?Mt:J;Z(t,r)}}let pr=new Set;const Jt=new Map;let en=!1;function ee(t,e){var r={f:0,v:t,reactions:null,equals:Br,rv:0,wv:0};return r}function ut(t,e){const r=ee(t);return _n(r),r}function rn(t,e=!1,r=!0){const n=ee(t);return e||(n.equals=qr),n}function ht(t,e,r=!1){j!==null&&(!Nt||(j.f&Ir)!==0)&&Hr()&&(j.f&(G|Rt|sr|Ir))!==0&&!Ft?.includes(t)&&Eo();let n=r?Dt(e):e;return _e(t,n)}function _e(t,e){if(!t.equals(e)){var r=t.v;oe?Jt.set(t,e):Jt.set(t,r),t.v=e;var n=Et.ensure();n.capture(t,r),(t.f&G)!==0&&((t.f&nt)!==0&&dr(t),Z(t,(t.f&jt)!==0?J:Mt)),t.wv=jn(),nn(t,nt),T!==null&&(T.f&J)!==0&&(T.f&(Ot|Ht))===0&&(kt===null?Qo([t]):kt.push(t)),!n.is_fork&&pr.size>0&&!en&&qo()}return e}function qo(){en=!1;const t=Array.from(pr);for(const e of t)(e.f&J)!==0&&Z(e,Mt),je(e)&&Ee(e);pr.clear()}function ke(t){ht(t,t.v+1)}function nn(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&nt)===0;if(l&&Z(a,e),(i&G)!==0){var s=a;ft?.delete(s),(i&we)===0&&(i&jt&&(a.f|=we),nn(s,Mt))}else l&&((i&Rt)!==0&&Lt!==null&&Lt.add(a),te(a))}}function Dt(t){if(typeof t!="object"||t===null||Le in t)return t;const e=Or(t);if(e!==mo&&e!==po)return t;var r=new Map,n=Rr(t),o=ut(0),a=ae,i=l=>{if(ae===a)return l();var s=j,f=ae;X(null),$n(a);var m=l();return X(s),$n(f),m};return n&&r.set("length",ut(t.length)),new Proxy(t,{defineProperty(l,s,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&$o();var m=r.get(s);return m===void 0?m=i(()=>{var c=ut(f.value);return r.set(s,c),c}):ht(m,f.value,!0),!0},deleteProperty(l,s){var f=r.get(s);if(f===void 0){if(s in l){const m=i(()=>ut(W));r.set(s,m),ke(o)}}else ht(f,W),ke(o);return!0},get(l,s,f){if(s===Le)return t;var m=r.get(s),c=s in l;if(m===void 0&&(!c||Kt(l,s)?.writable)&&(m=i(()=>{var x=Dt(c?l[s]:W),u=ut(x);return u}),r.set(s,m)),m!==void 0){var d=g(m);return d===W?void 0:d}return Reflect.get(l,s,f)},getOwnPropertyDescriptor(l,s){var f=Reflect.getOwnPropertyDescriptor(l,s);if(f&&"value"in f){var m=r.get(s);m&&(f.value=g(m))}else if(f===void 0){var c=r.get(s),d=c?.v;if(c!==void 0&&d!==W)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(l,s){if(s===Le)return!0;var f=r.get(s),m=f!==void 0&&f.v!==W||Reflect.has(l,s);if(f!==void 0||T!==null&&(!m||Kt(l,s)?.writable)){f===void 0&&(f=i(()=>{var d=m?Dt(l[s]):W,x=ut(d);return x}),r.set(s,f));var c=g(f);if(c===W)return!1}return m},set(l,s,f,m){var c=r.get(s),d=s in l;if(n&&s==="length")for(var x=f;x<c.v;x+=1){var u=r.get(x+"");u!==void 0?ht(u,W):x in l&&(u=i(()=>ut(W)),r.set(x+"",u))}if(c===void 0)(!d||Kt(l,s)?.writable)&&(c=i(()=>ut(void 0)),ht(c,Dt(f)),r.set(s,c));else{d=c.v!==W;var y=i(()=>Dt(f));ht(c,y)}var z=Reflect.getOwnPropertyDescriptor(l,s);if(z?.set&&z.set.call(m,f),!d){if(n&&typeof s=="string"){var pt=r.get("length"),P=Number(s);Number.isInteger(P)&&P>=pt.v&&ht(pt,P+1)}ke(o)}return!0},ownKeys(l){g(o);var s=Reflect.ownKeys(l).filter(c=>{var d=r.get(c);return d===void 0||d.v!==W});for(var[f,m]of r)m.v!==W&&!(f in l)&&s.push(f);return s},setPrototypeOf(){jo()}})}var on,an,ln,sn;function xr(){if(on===void 0){on=window,an=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;ln=Kt(e,"firstChild").get,sn=Kt(e,"nextSibling").get,Mr(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Mr(r)&&(r.__t=void 0)}}function Ct(t=""){return document.createTextNode(t)}function re(t){return ln.call(t)}function wt(t){return sn.call(t)}function w(t,e){if(!$)return re(t);var r=re(S);if(r===null)r=S.appendChild(Ct());else if(e&&r.nodeType!==gr){var n=Ct();return r?.before(n),tt(n),n}return tt(r),r}function He(t,e=!1){if(!$){var r=re(t);return r instanceof Comment&&r.data===""?wt(r):r}if(e&&S?.nodeType!==gr){var n=Ct();return S?.before(n),tt(n),n}return S}function k(t,e=1,r=!1){let n=$?S:t;for(var o;e--;)o=n,n=wt(n);if(!$)return n;if(r&&n?.nodeType!==gr){var a=Ct();return n===null?o?.after(a):n.before(a),tt(a),a}return tt(n),n}function gn(t){t.textContent=""}function fn(){return!1}function mn(t){var e=j,r=T;X(null),_t(null);try{return t()}finally{X(e),_t(r)}}function Uo(t){T===null&&(j===null&&wo(),ho()),oe&&uo()}function Yo(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,n=!0){var o=T;o!==null&&(o.f&st)!==0&&(t|=st);var a={ctx:bt,deps:null,nodes_start:null,nodes_end:null,f:t|nt|jt,first:null,fn:e,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ee(a),a.f|=ar}catch(s){throw K(a),s}else e!==null&&te(a);if(n){var i=a;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Xt)===0&&(i=i.first,(t&Rt)!==0&&(t&de)!==0&&i!==null&&(i.f|=de)),i!==null&&(i.parent=o,o!==null&&Yo(i,o),j!==null&&(j.f&G)!==0&&(t&Ht)===0)){var l=j;(l.effects??=[]).push(i)}}return a}function Ve(){return j!==null&&!Nt}function Ho(t){const e=At(or,null,!1);return Z(e,J),e.teardown=t,e}function Vo(t){Uo();var e=T.f,r=!j&&(e&Ot)!==0&&(e&ar)===0;if(r){var n=bt;(n.e??=[]).push(t)}else return dn(t)}function dn(t){return At(Oe|vo,t,!1)}function Wo(t){Et.ensure();const e=At(Ht|Xt,t,!0);return()=>{K(e)}}function Go(t){Et.ensure();const e=At(Ht|Xt,t,!0);return(r={})=>new Promise(n=>{r.outro?ce(e,()=>{K(e),n(void 0)}):(K(e),n(void 0))})}function Jo(t){return At(Oe,t,!1)}function Ko(t){return At(sr|Xt,t,!0)}function pn(t,e=0){return At(or|e,t,!0)}function L(t,e=[],r=[],n=[],o=!1){Io(n,e,r,a=>{At(o?Oe:or,()=>t(...a.map(g)),!0)})}function We(t,e=0){var r=At(Rt|e,t,!0);return r}function yt(t,e=!0){return At(Ot|Xt,t,!0,e)}function xn(t){var e=t.teardown;if(e!==null){const r=oe,n=j;yn(!0),X(null);try{e.call(null)}finally{yn(r),X(n)}}}function vn(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&mn(()=>{o.abort(pe)});var n=r.next;(r.f&Ht)!==0?r.parent=null:K(r,e),r=n}}function Xo(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Ot)===0&&K(e),e=r}}function K(t,e=!0){var r=!1;(e||(t.f&ir)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Zo(t.nodes_start,t.nodes_end),r=!0),vn(t,e&&!r),Ge(t,0),Z(t,Vt);var n=t.transitions;if(n!==null)for(const a of n)a.stop();xn(t);var o=t.parent;o!==null&&o.first!==null&&cn(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Zo(t,e){for(;t!==null;){var r=t===e?null:wt(t);t.remove(),t=r}}function cn(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=[];vr(t,n,!0),bn(n,()=>{r&&K(t),e&&e()})}function bn(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function vr(t,e,r){if((t.f&st)===0){if(t.f^=st,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&Ot)!==0&&(t.f&Rt)!==0;vr(n,e,a?r:!1),n=o}}}function cr(t){un(t,!0)}function un(t,e){if((t.f&st)!==0){t.f^=st,(t.f&J)===0&&(Z(t,nt),te(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&de)!==0||(r.f&Ot)!==0;un(r,o?e:!1),r=n}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||e)&&a.in()}}function hn(t,e){for(var r=t.nodes_start,n=t.nodes_end;r!==null;){var o=r===n?null:wt(r);e.append(r),r=o}}let ne=!1;function wn(t){ne=t}let oe=!1;function yn(t){oe=t}let j=null,Nt=!1;function X(t){j=t}let T=null;function _t(t){T=t}let Ft=null;function _n(t){j!==null&&(Ft===null?Ft=[t]:Ft.push(t))}let et=null,mt=0,kt=null;function Qo(t){kt=t}let kn=1,$e=0,ae=$e;function $n(t){ae=t}function jn(){return++kn}function je(t){var e=t.f;if((e&nt)!==0)return!0;if(e&G&&(t.f&=~we),(e&Mt)!==0){var r=t.deps;if(r!==null)for(var n=r.length,o=0;o<n;o++){var a=r[o];if(je(a)&&tn(a),a.wv>t.wv)return!0}(e&jt)!==0&&ft===null&&Z(t,J)}return!1}function En(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&G)!==0?En(a,e,!1):e===a&&(r?Z(a,nt):(a.f&J)!==0&&Z(a,Mt),te(a))}}function Cn(t){var e=et,r=mt,n=kt,o=j,a=Ft,i=bt,l=Nt,s=ae,f=t.f;et=null,mt=0,kt=null,j=(f&(Ot|Ht))===0?t:null,Ft=null,xe(t.ctx),Nt=!1,ae=++$e,t.ac!==null&&(mn(()=>{t.ac.abort(pe)}),t.ac=null);try{t.f|=lr;var m=t.fn,c=m(),d=t.deps;if(et!==null){var x;if(Ge(t,mt),d!==null&&mt>0)for(d.length=mt+et.length,x=0;x<et.length;x++)d[mt+x]=et[x];else t.deps=d=et;if(ne&&Ve()&&(t.f&jt)!==0)for(x=mt;x<d.length;x++)(d[x].reactions??=[]).push(t)}else d!==null&&mt<d.length&&(Ge(t,mt),d.length=mt);if(Hr()&&kt!==null&&!Nt&&d!==null&&(t.f&(G|Mt|nt))===0)for(x=0;x<kt.length;x++)En(kt[x],t);return o!==null&&o!==t&&($e++,kt!==null&&(n===null?n=kt:n.push(...kt))),(t.f&Wt)!==0&&(t.f^=Wt),c}catch(u){return Wr(u)}finally{t.f^=lr,et=e,mt=r,kt=n,j=o,Ft=a,xe(i),Nt=l,ae=s}}function ta(t,e){let r=e.reactions;if(r!==null){var n=go.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&G)!==0&&(et===null||!et.includes(e))&&(Z(e,Mt),(e.f&jt)!==0&&(e.f^=jt,e.f&=~we),Qr(e),Ge(e,0))}function Ge(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)ta(t,r[n])}function Ee(t){var e=t.f;if((e&Vt)===0){Z(t,J);var r=T,n=ne;T=t,ne=!0;try{(e&Rt)!==0?Xo(t):vn(t),xn(t);var o=Cn(t);t.teardown=typeof o=="function"?o:null,t.wv=kn;var a;Pr&&No&&(t.f&nt)!==0&&t.deps}finally{ne=n,T=r}}}function g(t){var e=t.f,r=(e&G)!==0;if(j!==null&&!Nt){var n=T!==null&&(T.f&Vt)!==0;if(!n&&!Ft?.includes(t)){var o=j.deps;if((j.f&lr)!==0)t.rv<$e&&(t.rv=$e,et===null&&o!==null&&o[mt]===t?mt++:et===null?et=[t]:et.includes(t)||et.push(t));else{(j.deps??=[]).push(t);var a=t.reactions;a===null?t.reactions=[j]:a.includes(j)||a.push(j)}}}if(oe){if(Jt.has(t))return Jt.get(t);if(r){var i=t,l=i.v;return((i.f&J)===0&&i.reactions!==null||Sn(i))&&(l=dr(i)),Jt.set(i,l),l}}else if(r){if(i=t,ft?.has(i))return ft.get(i);je(i)&&tn(i),ne&&Ve()&&(i.f&jt)===0&&Tn(i)}else if(ft?.has(t))return ft.get(t);if((t.f&Wt)!==0)throw t.v;return t.v}function Tn(t){if(t.deps!==null){t.f^=jt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&G)!==0&&(e.f&jt)===0&&Tn(e)}}function Sn(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&G)!==0&&Sn(e))return!0;return!1}function An(t){var e=Nt;try{return Nt=!0,t()}finally{Nt=e}}const ea=-7169;function Z(t,e){t.f=t.f&ea|e}const Nn=new Set,br=new Set;function ra(t){for(var e=0;e<t.length;e++)Nn.add(t[e]);for(var r of br)r(t)}let zn=null;function Je(t){var e=this,r=e.ownerDocument,n=t.type,o=t.composedPath?.()||[],a=o[0]||t.target;zn=t;var i=0,l=zn===t&&t.__root;if(l){var s=o.indexOf(l);if(s!==-1&&(e===document||e===window)){t.__root=e;return}var f=o.indexOf(e);if(f===-1)return;s<=f&&(i=s)}if(a=o[i]||t.target,a!==e){Re(t,"currentTarget",{configurable:!0,get(){return a||r}});var m=j,c=T;X(null),_t(null);try{for(var d,x=[];a!==null;){var u=a.assignedSlot||a.parentNode||a.host||null;try{var y=a["__"+n];y!=null&&(!a.disabled||t.target===a)&&y.call(a,t)}catch(z){d?x.push(z):d=z}if(t.cancelBubble||u===e||u===null)break;a=u}if(d){for(let z of x)queueMicrotask(()=>{throw z});throw d}}finally{t.__root=e,delete t.currentTarget,X(m),_t(c)}}}function na(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function be(t,e){var r=T;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function R(t,e){var r=(e&io)!==0,n=(e&lo)!==0,o,a=!t.startsWith("<!>");return()=>{if($)return be(S,null),S;o===void 0&&(o=na(a?t:"<!>"+t),r||(o=re(o)));var i=n||an?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=re(i),s=i.lastChild;be(l,s)}else be(i,i);return i}}function Ke(){if($)return be(S,null),S;var t=document.createDocumentFragment(),e=document.createComment(""),r=Ct();return t.append(e,r),be(e,r),t}function A(t,e){if($){T.nodes_end=S,De();return}t!==null&&t.before(e)}const oa=["touchstart","touchmove"];function aa(t){return oa.includes(t)}function U(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function Pn(t,e){return Rn(t,e)}function ia(t,e){xr(),e.intro=e.intro??!1;const r=e.target,n=$,o=S;try{for(var a=re(r);a&&(a.nodeType!==Zt||a.data!==zr);)a=wt(a);if(!a)throw me;gt(!0),tt(a);const i=Rn(t,{...e,anchor:a});return gt(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
2
  `).some(l=>l.startsWith("https://svelte.dev/e/")))throw i;return i!==me&&console.warn("Failed to hydrate: ",i),e.recover===!1&&_o(),xr(),gn(r),gt(!1),Pn(t,e)}finally{gt(n),tt(o)}}const ue=new Map;function Rn(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:i=!0}){xr();var l=new Set,s=c=>{for(var d=0;d<c.length;d++){var x=c[d];if(!l.has(x)){l.add(x);var u=aa(x);e.addEventListener(x,Je,{passive:u});var y=ue.get(x);y===void 0?(document.addEventListener(x,Je,{passive:u}),ue.set(x,1)):ue.set(x,y+1)}}};s(nr(Nn)),br.add(s);var f=void 0,m=Go(()=>{var c=r??e.appendChild(Ct());return Mo(c,{pending:()=>{}},d=>{if(a){Ur({});var x=bt;x.c=a}if(o&&(n.$$events=o),$&&be(d,null),f=t(d,n)||{},$&&(T.nodes_end=S,S===null||S.nodeType!==Zt||S.data!==rr))throw Ie(),me;a&&Yr()}),()=>{for(var d of l){e.removeEventListener(d,Je);var x=ue.get(d);--x===0?(document.removeEventListener(d,Je),ue.delete(d)):ue.set(d,x)}br.delete(s),c!==r&&c.parentNode?.removeChild(c)}});return ur.set(f,m),f}let ur=new WeakMap;function la(t,e){const r=ur.get(t);return r?(ur.delete(t),r(e)):Promise.resolve()}class sa{anchor;#e=new Map;#t=new Map;#r=new Map;#n=!0;constructor(e,r=!0){this.anchor=e,this.#n=r}#s=()=>{var e=q;if(this.#e.has(e)){var r=this.#e.get(e),n=this.#t.get(r);if(n)cr(n);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&&(K(l.effect),this.#r.delete(i))}for(const[a,i]of this.#t){if(a===r)continue;const l=()=>{if(Array.from(this.#e.values()).includes(a)){var f=document.createDocumentFragment();hn(i,f),f.append(Ct()),this.#r.set(a,{effect:i,fragment:f})}else K(i);this.#t.delete(a)};this.#n||!n?ce(i,l,!1):l()}}};#i=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[n,o]of this.#r)r.includes(n)||(K(o.effect),this.#r.delete(n))};ensure(e,r){var n=q,o=fn();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(o){var a=document.createDocumentFragment(),i=Ct();a.append(i),this.#r.set(e,{effect:yt(()=>r(i)),fragment:a})}else this.#t.set(e,yt(()=>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.#s),n.ondiscard(this.#i)}else $&&(this.anchor=S),this.#s()}}function I(t,e,r=!1){$&&De();var n=new sa(t),o=r?de:0;function a(i,l){if($){const f=Fr(t)===ze;if(i===f){var s=Fe();tt(s),n.anchor=s,gt(!1),n.ensure(i,l),gt(!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 Xe(t,e){return e}function ga(t,e,r){for(var n=t.items,o=[],a=e.length,i=0;i<a;i++)vr(e[i].e,o,!0);var l=a>0&&o.length===0&&r!==null;if(l){var s=r.parentNode;gn(s),s.append(r),n.clear(),zt(t,e[0].prev,e[a-1].next)}bn(o,()=>{for(var f=0;f<a;f++){var m=e[f];l||(n.delete(m.k),zt(t,m.prev,m.next)),K(m.e,!l)}})}function Ze(t,e,r,n,o,a=null){var i=t,l={flags:e,items:new Map,first:null};$&&De();var s=null,f=!1,m=new Map,c=Zr(()=>{var y=r();return Rr(y)?y:y==null?[]:nr(y)}),d,x;function u(){fa(x,d,l,m,i,o,e,n,r),a!==null&&(d.length===0?s?cr(s):s=yt(()=>a(i)):s!==null&&ce(s,()=>{s=null}))}We(()=>{x??=T,d=g(c);var y=d.length;if(f&&y===0)return;f=y===0;let z=!1;if($){var pt=Fr(i)===ze;pt!==(y===0)&&(i=Fe(),tt(i),gt(!1),z=!0)}if($){for(var P=null,N,O=0;O<y;O++){if(S.nodeType===Zt&&S.data===rr){i=S,z=!0,gt(!1);break}var rt=d[O],D=n(rt,O);N=hr(S,l,P,null,rt,D,O,o,e,r),l.items.set(D,N),P=N}y>0&&tt(Fe())}if($)y===0&&a&&(s=yt(()=>a(i)));else if(fn()){var xt=new Set,vt=q;for(O=0;O<y;O+=1){rt=d[O],D=n(rt,O);var ct=l.items.get(D)??m.get(D);ct?On(ct,rt,O):(N=hr(null,l,null,null,rt,D,O,o,e,r,!0),m.set(D,N)),xt.add(D)}for(const[he,se]of l.items)xt.has(he)||vt.skipped_effects.add(se.e);vt.oncommit(u)}else u();z&&gt(!0),g(c)}),$&&(i=S)}function fa(t,e,r,n,o,a,i,l,s){var f=e.length,m=r.items,c=r.first,d=c,x,u=null,y=[],z=[],pt,P,N,O;for(O=0;O<f;O+=1){if(pt=e[O],P=l(pt,O),N=m.get(P),N===void 0){var rt=n.get(P);if(rt!==void 0){n.delete(P),m.set(P,rt);var D=u?u.next:d;zt(r,u,rt),zt(r,rt,D),wr(rt,D,o),u=rt}else{var xt=d?d.e.nodes_start:o;u=hr(xt,r,u,u===null?r.first:u.next,pt,P,O,a,i,s)}m.set(P,u),y=[],z=[],d=u.next;continue}if(On(N,pt,O),(N.e.f&st)!==0&&cr(N.e),N!==d){if(x!==void 0&&x.has(N)){if(y.length<z.length){var vt=z[0],ct;u=vt.prev;var he=y[0],se=y[y.length-1];for(ct=0;ct<y.length;ct+=1)wr(y[ct],vt,o);for(ct=0;ct<z.length;ct+=1)x.delete(z[ct]);zt(r,he.prev,se.next),zt(r,u,he),zt(r,se,vt),d=vt,u=se,O-=1,y=[],z=[]}else x.delete(N),wr(N,d,o),zt(r,N.prev,N.next),zt(r,N,u===null?r.first:u.next),zt(r,u,N),u=N;continue}for(y=[],z=[];d!==null&&d.k!==P;)(d.e.f&st)===0&&(x??=new Set).add(d),z.push(d),d=d.next;if(d===null)continue;N=d}y.push(N),u=N,d=N.next}if(d!==null||x!==void 0){for(var Ce=x===void 0?[]:nr(x);d!==null;)(d.e.f&st)===0&&Ce.push(d),d=d.next;var kr=Ce.length;if(kr>0){var $r=null;ga(r,Ce,$r)}}t.first=r.first&&r.first.e,t.last=u&&u.e;for(var er of n.values())K(er.e);n.clear()}function On(t,e,r,n){_e(t.v,e),t.i=r}function hr(t,e,r,n,o,a,i,l,s,f,m){var c=(s&Qn)!==0,d=(s&eo)===0,x=c?d?rn(o,!1,!1):ee(o):o,u=(s&to)===0?i:ee(i),y={i:u,v:x,k:a,a:null,e:null,prev:r,next:n};try{if(t===null){var z=document.createDocumentFragment();z.append(t=Ct())}return y.e=yt(()=>l(t,x,u,f),$),y.e.prev=r&&r.e,y.e.next=n&&n.e,r===null?m||(e.first=y):(r.next=y,r.e.next=y.e),n!==null&&(n.prev=y,n.e.prev=y.e),y}finally{}}function wr(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=wt(a);o.before(a),a=i}}function zt(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function ma(t,e){let r=null,n=$;var o;if($){r=S;for(var a=re(document.head);a!==null&&(a.nodeType!==Zt||a.data!==t);)a=wt(a);if(a===null)gt(!1);else{var i=wt(a);a.remove(),tt(i)}}$||(o=document.head.appendChild(Ct()));try{We(()=>e(o),ir)}finally{n&&(gt(!0),tt(r))}}function da(t,e){Jo(()=>{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 Mn=[...`
3
- \r\f \v\uFEFF`];function pa(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||Mn.includes(n[i-1]))&&(l===n.length||Mn.includes(n[l]))?n=(i===0?"":n.substring(0,i))+n.substring(l+1):i=l}}return n===""?null:n}function xa(t,e){return t==null?null:String(t)}function Y(t,e,r,n,o,a){var i=t.__className;if($||i!==r||i===void 0){var l=pa(r,n,a);(!$||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 f=!!a[s];(o==null||f!==!!o[s])&&t.classList.toggle(s,f)}return a}function va(t,e,r,n){var o=t.__style;if($||o!==e){var a=xa(e);(!$||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const ca=Symbol("is custom element"),ba=Symbol("is html");function dt(t,e,r,n){var o=ua(t);$&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[co]=r),r==null?t.removeAttribute(e):typeof r!="string"&&In(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Ln(t,e,r){var n=j,o=T;let a=$;$&&gt(!1),X(null),_t(null);try{e!=="style"&&(yr.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?In(t).includes(e):r&&typeof r=="object")?t[e]=r:dt(t,e,r==null?r:String(r))}finally{X(n),_t(o),a&&gt(!0)}}function ua(t){return t.__attributes??={[ca]:t.nodeName.includes("-"),[ba]:t.namespaceURI===so}}var yr=new Map;function In(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=fo(o);for(var i in n)n[i].set&&r.push(i);o=Or(o)}return r}let Qe=!1;function ha(t){var e=Qe;try{return Qe=!1,[t(),Qe]}finally{Qe=e}}function ie(t,e,r,n){var o=(r&oo)!==0,a=(r&ao)!==0,i=n,l=!0,s=()=>(l&&(l=!1,i=a?An(n):n),i),f;if(o){var m=Le in t||Dr in t;f=Kt(t,e)?.set??(m&&e in t?P=>t[e]=P:void 0)}var c,d=!1;o?[c,d]=ha(()=>t[e]):c=t[e],c===void 0&&n!==void 0&&(c=s(),f&&(ko(),f(c)));var x;if(x=()=>{var P=t[e];return P===void 0?s():(l=!0,P)},(r&no)===0)return x;if(f){var u=t.$$legacy;return(function(P,N){return arguments.length>0?((!N||u||d)&&f(N?x():P),P):x()})}var y=!1,z=((r&ro)!==0?Ye:Zr)(()=>(y=!1,x()));o&&g(z);var pt=T;return(function(P,N){if(arguments.length>0){const O=N?g(z):o?Dt(P):P;return ht(z,O),y=!0,i!==void 0&&(i=O),P}return oe&&y||(pt.f&Vt)!==0?z.v:g(z)})}function wa(t){return new ya(t)}class ya{#e;#t;constructor(e){var r=new Map,n=(a,i)=>{var l=rn(i,!1,!1);return r.set(a,l),l};const o=new Proxy({...e.props||{},$$events:{}},{get(a,i){return g(r.get(i)??n(i,Reflect.get(a,i)))},has(a,i){return i===Dr?!0:(g(r.get(i)??n(i,Reflect.get(a,i))),Reflect.has(a,i))},set(a,i,l){return ht(r.get(i)??n(i,l),l),Reflect.set(a,i,l)}});this.#t=(e.hydrate?ia:Pn)(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"||Re(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=()=>{la(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),A(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=_a(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]=tr(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=wa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Wo(()=>{pn(()=>{this.$$r=!0;for(const n of Pe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=tr(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]=tr(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 Pe(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function tr(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 _a(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function ka(t,e,r,n,o,a){let i=class extends Dn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Pe(e).map(l=>(e[l].attribute||l).toLowerCase())}};return Pe(e).forEach(l=>{Re(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(s){s=tr(l,s,e),this.$$d[l]=s;var f=this.$$c;if(f){var m=Kt(f,l)?.get;m?f[l]=s:f.$set({[l]:s})}}})}),n.forEach(l=>{Re(i.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=i,i}var le={},Fn;function $a(){if(Fn)return le;Fn=1,Object.defineProperty(le,"__esModule",{value:!0}),le.LanguageTranslator=void 0,le.getChildStyleToPass=t,le.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(d){return Object.keys(n).includes(d.name)}))===null||i===void 0)&&i.length))for(var s=function(d){var x=o?.filter(function(u){return u.name===d&&u.defaultValue!==n[d]});x&&(l+="".concat(d,":").concat(n[d],";"))},f=0,m=Object.keys(n);f<m.length;f++){var c=m[f];s(c)}}catch(d){console.error("error getting child style to pass",d)}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(f){console.warn(f)}}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="",f=n.getDefaultLang();if(!i||f!==i){var m=a?.[f];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 le.LanguageTranslator=r,le}var _r=$a();const ja={version:"0.61.52"},Bn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var Ea=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ca=R('<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>'),Ta=R('<img class="avatar svelte-165xfg5"/>'),Sa=R('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Aa=R('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Na=R('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),za=R('<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),Pa=R('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),Ra=R('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Oa=R('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Ma=R('<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>'),La=R('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Ia=R('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Da=R('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Fa=R('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Ba=R('<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>'),qa=R('<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>'),Ua=R('<strong class="svelte-165xfg5"> </strong>'),Ya=R('<div class="svelte-165xfg5"> </div>'),Ha=R('<div class="svelte-165xfg5"> </div>'),Va=R('<div class="svelte-165xfg5"> </div>'),Wa=R('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),Ga=R('<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>'),Ja=R('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),Ka=R('<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>'),Xa=R('<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>'),Za=R('<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 Qa={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");
3
+ \r\f \v\uFEFF`];function pa(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||Mn.includes(n[i-1]))&&(l===n.length||Mn.includes(n[l]))?n=(i===0?"":n.substring(0,i))+n.substring(l+1):i=l}}return n===""?null:n}function xa(t,e){return t==null?null:String(t)}function Y(t,e,r,n,o,a){var i=t.__className;if($||i!==r||i===void 0){var l=pa(r,n,a);(!$||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 f=!!a[s];(o==null||f!==!!o[s])&&t.classList.toggle(s,f)}return a}function va(t,e,r,n){var o=t.__style;if($||o!==e){var a=xa(e);(!$||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const ca=Symbol("is custom element"),ba=Symbol("is html");function dt(t,e,r,n){var o=ua(t);$&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=r)&&(e==="loading"&&(t[co]=r),r==null?t.removeAttribute(e):typeof r!="string"&&In(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Ln(t,e,r){var n=j,o=T;let a=$;$&&gt(!1),X(null),_t(null);try{e!=="style"&&(yr.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?In(t).includes(e):r&&typeof r=="object")?t[e]=r:dt(t,e,r==null?r:String(r))}finally{X(n),_t(o),a&&gt(!0)}}function ua(t){return t.__attributes??={[ca]:t.nodeName.includes("-"),[ba]:t.namespaceURI===so}}var yr=new Map;function In(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=fo(o);for(var i in n)n[i].set&&r.push(i);o=Or(o)}return r}let Qe=!1;function ha(t){var e=Qe;try{return Qe=!1,[t(),Qe]}finally{Qe=e}}function ie(t,e,r,n){var o=(r&oo)!==0,a=(r&ao)!==0,i=n,l=!0,s=()=>(l&&(l=!1,i=a?An(n):n),i),f;if(o){var m=Le in t||Dr in t;f=Kt(t,e)?.set??(m&&e in t?P=>t[e]=P:void 0)}var c,d=!1;o?[c,d]=ha(()=>t[e]):c=t[e],c===void 0&&n!==void 0&&(c=s(),f&&(ko(),f(c)));var x;if(x=()=>{var P=t[e];return P===void 0?s():(l=!0,P)},(r&no)===0)return x;if(f){var u=t.$$legacy;return(function(P,N){return arguments.length>0?((!N||u||d)&&f(N?x():P),P):x()})}var y=!1,z=((r&ro)!==0?Ye:Zr)(()=>(y=!1,x()));o&&g(z);var pt=T;return(function(P,N){if(arguments.length>0){const O=N?g(z):o?Dt(P):P;return ht(z,O),y=!0,i!==void 0&&(i=O),P}return oe&&y||(pt.f&Vt)!==0?z.v:g(z)})}function wa(t){return new ya(t)}class ya{#e;#t;constructor(e){var r=new Map,n=(a,i)=>{var l=rn(i,!1,!1);return r.set(a,l),l};const o=new Proxy({...e.props||{},$$events:{}},{get(a,i){return g(r.get(i)??n(i,Reflect.get(a,i)))},has(a,i){return i===Dr?!0:(g(r.get(i)??n(i,Reflect.get(a,i))),Reflect.has(a,i))},set(a,i,l){return ht(r.get(i)??n(i,l),l),Reflect.set(a,i,l)}});this.#t=(e.hydrate?ia:Pn)(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"||Re(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=()=>{la(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),A(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=_a(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]=tr(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=wa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Wo(()=>{pn(()=>{this.$$r=!0;for(const n of Pe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=tr(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]=tr(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 Pe(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function tr(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 _a(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function ka(t,e,r,n,o,a){let i=class extends Dn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Pe(e).map(l=>(e[l].attribute||l).toLowerCase())}};return Pe(e).forEach(l=>{Re(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(s){s=tr(l,s,e),this.$$d[l]=s;var f=this.$$c;if(f){var m=Kt(f,l)?.get;m?f[l]=s:f.$set({[l]:s})}}})}),n.forEach(l=>{Re(i.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=i,i}var le={},Fn;function $a(){if(Fn)return le;Fn=1,Object.defineProperty(le,"__esModule",{value:!0}),le.LanguageTranslator=void 0,le.getChildStyleToPass=t,le.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(d){return Object.keys(n).includes(d.name)}))===null||i===void 0)&&i.length))for(var s=function(d){var x=o?.filter(function(u){return u.name===d&&u.defaultValue!==n[d]});x&&(l+="".concat(d,":").concat(n[d],";"))},f=0,m=Object.keys(n);f<m.length;f++){var c=m[f];s(c)}}catch(d){console.error("error getting child style to pass",d)}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(f){console.warn(f)}}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="",f=n.getDefaultLang();if(!i||f!==i){var m=a?.[f];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 le.LanguageTranslator=r,le}var _r=$a();const ja={version:"0.61.53"},Bn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var Ea=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ca=R('<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>'),Ta=R('<img class="avatar svelte-165xfg5"/>'),Sa=R('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Aa=R('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Na=R('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),za=R('<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),Pa=R('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),Ra=R('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Oa=R('<div class="contact-item text-muted svelte-165xfg5"> </div>'),Ma=R('<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>'),La=R('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Ia=R('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Da=R('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),Fa=R('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),Ba=R('<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>'),qa=R('<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>'),Ua=R('<strong class="svelte-165xfg5"> </strong>'),Ya=R('<div class="svelte-165xfg5"> </div>'),Ha=R('<div class="svelte-165xfg5"> </div>'),Va=R('<div class="svelte-165xfg5"> </div>'),Wa=R('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),Ga=R('<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>'),Ja=R('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),Ka=R('<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>'),Xa=R('<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>'),Za=R('<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 Qa={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),
package/manifest.json CHANGED
@@ -1402,5 +1402,5 @@
1402
1402
  "size": {},
1403
1403
  "iifePath": "main.iife.js",
1404
1404
  "repoName": "@htmlbricks/hb-contact-card",
1405
- "version": "0.61.52"
1405
+ "version": "0.61.53"
1406
1406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-contact-card",
3
- "version": "0.61.52",
3
+ "version": "0.61.53",
4
4
  "contributors": [],
5
5
  "description": "A comprehensive contact card component that displays personal, contact, company, and social media information in a clean, Bootstrap-styled card format. Uses a single data object with structured arrays for phone numbers, addresses, and social media profiles. Features include avatar support with placeholder, clickable contact information, social media links, collapsible sections, and customizable action buttons with grouping, badges, and links support.",
6
6
  "licenses": [