@htmlbricks/hb-contact-card 0.66.4 → 0.66.6

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(Or){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const fo=1,mo=2,po=16,xo=1,vo=4,co=8,bo=16,uo=1,ho=2,Dr="[",ar="[!",Mr="[?",ir="]",ve={},G=Symbol(),Ir="http://www.w3.org/1999/xhtml",wo=!1;var Lr=Array.isArray,yo=Array.prototype.indexOf,ce=Array.prototype.includes,Ie=Array.from,Le=Object.keys,Fe=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,_o=Object.getOwnPropertyDescriptors,ko=Object.prototype,$o=Array.prototype,Fr=Object.getPrototypeOf,Br=Object.isExtensible;const jo=()=>{};function Eo(t){for(var e=0;e<t.length;e++)t[e]()}function Yr(){var t,e,r=new Promise((n,o)=>{t=n,e=o});return{promise:r,resolve:t,reject:e}}const q=2,be=4,Be=8,Hr=1<<24,qt=16,Tt=32,Wt=64,lr=128,ct=512,H=1024,X=2048,Rt=4096,gt=8192,bt=16384,Gt=32768,Vr=1<<25,ue=65536,Ur=1<<17,qr=1<<18,Jt=1<<19,So=1<<20,Dt=1<<25,ae=65536,sr=1<<21,gr=1<<22,Kt=1<<23,Ye=Symbol("$state"),Wr=Symbol("legacy props"),To=Symbol(""),Mt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Co=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),He=3,he=8;function Ao(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function No(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function zo(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ro(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Po(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Oo(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Do(){throw new Error("https://svelte.dev/e/hydration_failed")}function Mo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Io(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Lo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Fo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Bo(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ve(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Yo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let E=!1;function ft(t){E=t}let A;function tt(t){if(t===null)throw Ve(),ve;return A=t}function Ue(){return tt(_t(A))}function h(t){if(E){if(_t(A)!==null)throw Ve(),ve;A=t}}function Ho(t=1){if(E){for(var e=t,r=A;e--;)r=_t(r);A=r}}function qe(t=!0){for(var e=0,r=A;;){if(r.nodeType===he){var n=r.data;if(n===ir){if(e===0)return r;e-=1}else(n===Dr||n===ar||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(e+=1)}var o=_t(r);t&&r.remove(),r=o}}function Gr(t){if(!t||t.nodeType!==he)throw Ve(),ve;return t.data}function Jr(t){return t===this.v}function Vo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Kr(t){return!Vo(t,this.v)}let Uo=!1,ut=null;function we(t){ut=t}function Xr(t,e=!1,r){ut={p:ut,i:!1,c:null,e:null,s:t,x:null,r:j,l:null}}function Zr(t){var e=ut,r=e.e;if(r!==null){e.e=null;for(var n of r)jn(n)}return t!==void 0&&(e.x=t),e.i=!0,ut=e.p,t??{}}function Qr(){return!0}let ie=[];function tn(){var t=ie;ie=[],Eo(t)}function ye(t){if(ie.length===0&&!Se){var e=ie;queueMicrotask(()=>{e===ie&&tn()})}ie.push(t)}function qo(){for(;ie.length>0;)tn()}function en(t){var e=j;if(e===null)return $.f|=Kt,t;if((e.f&Gt)===0&&(e.f&be)===0)throw t;Xt(t,e)}function Xt(t,e){for(;e!==null;){if((e.f&lr)!==0){if((e.f&Gt)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}const Wo=-7169;function B(t,e){t.f=t.f&Wo|e}function fr(t){(t.f&ct)!==0||t.deps===null?B(t,H):B(t,Rt)}function rn(t){if(t!==null)for(const e of t)(e.f&q)===0||(e.f&ae)===0||(e.f^=ae,rn(e.deps))}function nn(t,e,r){(t.f&X)!==0?e.add(t):(t.f&Rt)!==0&&r.add(t),rn(t.deps),B(t,H)}let We=!1;function Go(t){var e=We;try{return We=!1,[t(),We]}finally{We=e}}const Zt=new Set;let O=null,Ct=null,mr=null,Se=!1,dr=!1,_e=null,Ge=null;var on=0;let Jo=1;class It{id=Jo++;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=new Map;#o=new Map;#a=null;#n=[];#i=new Set;#l=new Set;#s=new Map;is_fork=!1;#m=!1;#g=new Set;#d(){return this.is_fork||this.#o.size>0}#x(){for(const n of this.#g)for(const o of n.#o.keys()){for(var e=!1,r=o;r.parent!==null;){if(this.#s.has(r)){e=!0;break}r=r.parent}if(!e)return!0}return!1}skip_effect(e){this.#s.has(e)||this.#s.set(e,{d:[],m:[]})}unskip_effect(e){var r=this.#s.get(e);if(r){this.#s.delete(e);for(var n of r.d)B(n,X),this.schedule(n);for(n of r.m)B(n,Rt),this.schedule(n)}}#p(){if(on++>1e3&&(Zt.delete(this),Ko()),!this.#d()){for(const i of this.#i)this.#l.delete(i),B(i,X),this.schedule(i);for(const i of this.#l)B(i,Rt),this.schedule(i)}const e=this.#n;this.#n=[],this.apply();var r=_e=[],n=[],o=Ge=[];for(const i of e)try{this.#f(i,r,n)}catch(s){throw fn(i),s}if(O=null,o.length>0){var a=It.ensure();for(const i of o)a.schedule(i)}if(_e=null,Ge=null,this.#d()||this.#x()){this.#v(n),this.#v(r);for(const[i,s]of this.#s)gn(i,s)}else{this.#e.size===0&&Zt.delete(this),this.#i.clear(),this.#l.clear();for(const i of this.#t)i(this);this.#t.clear(),an(n),an(r),this.#a?.resolve()}var l=O;if(this.#n.length>0){const i=l??=this;i.#n.push(...this.#n.filter(s=>!i.#n.includes(s)))}l!==null&&(Zt.add(l),l.#p()),Zt.has(this)||this.#c()}#f(e,r,n){e.f^=H;for(var o=e.first;o!==null;){var a=o.f,l=(a&(Tt|Wt))!==0,i=l&&(a&H)!==0,s=i||(a&gt)!==0||this.#s.has(o);if(!s&&o.fn!==null){l?o.f^=H:(a&be)!==0?r.push(o):Ce(o)&&((a&qt)!==0&&this.#l.add(o),$e(o));var g=o.first;if(g!==null){o=g;continue}}for(;o!==null;){var m=o.next;if(m!==null){o=m;break}o=o.parent}}}#v(e){for(var r=0;r<e.length;r+=1)nn(e[r],this.#i,this.#l)}capture(e,r,n=!1){r!==G&&!this.previous.has(e)&&this.previous.set(e,r),(e.f&Kt)===0&&(this.current.set(e,[e.v,n]),Ct?.set(e,e.v))}activate(){O=this}deactivate(){O=null,Ct=null}flush(){try{dr=!0,O=this,this.#p()}finally{on=0,mr=null,_e=null,Ge=null,dr=!1,O=null,Ct=null,te.clear()}}discard(){for(const e of this.#r)e(this);this.#r.clear(),Zt.delete(this)}#c(){for(const g of Zt){var e=g.id<this.id,r=[];for(const[m,[x,c]]of this.current){if(g.current.has(m)){var n=g.current.get(m)[0];if(e&&x!==n)g.current.set(m,[x,c]);else continue}r.push(m)}var o=[...g.current.keys()].filter(m=>!this.current.has(m));if(o.length===0)e&&g.discard();else if(r.length>0){g.activate();var a=new Set,l=new Map;for(var i of r)ln(i,o,a,l);if(g.#n.length>0){g.apply();for(var s of g.#n)g.#f(s,[],[]);g.#n=[]}g.deactivate()}}for(const g of Zt)g.#g.has(this)&&(g.#g.delete(this),g.#g.size===0&&!g.#d()&&(g.activate(),g.#p()))}increment(e,r){let n=this.#e.get(r)??0;if(this.#e.set(r,n+1),e){let o=this.#o.get(r)??0;this.#o.set(r,o+1)}}decrement(e,r,n){let o=this.#e.get(r)??0;if(o===1?this.#e.delete(r):this.#e.set(r,o-1),e){let a=this.#o.get(r)??0;a===1?this.#o.delete(r):this.#o.set(r,a-1)}this.#m||n||(this.#m=!0,ye(()=>{this.#m=!1,this.flush()}))}transfer_effects(e,r){for(const n of e)this.#i.add(n);for(const n of r)this.#l.add(n);e.clear(),r.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#r.add(e)}settled(){return(this.#a??=Yr()).promise}static ensure(){if(O===null){const e=O=new It;dr||(Zt.add(O),Se||ye(()=>{O===e&&e.flush()}))}return O}apply(){{Ct=null;return}}schedule(e){if(mr=e,e.b?.is_pending&&(e.f&(be|Be|Hr))!==0&&(e.f&Gt)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var n=r.f;if(_e!==null&&r===j&&($===null||($.f&q)===0))return;if((n&(Wt|Tt))!==0){if((n&H)===0)return;r.f^=H}}this.#n.push(r)}}function Qt(t){var e=Se;Se=!0;try{for(var r;;){if(qo(),O===null)return r;O.flush()}}finally{Se=e}}function Ko(){try{Oo()}catch(t){Xt(t,mr)}}let Lt=null;function an(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var n=t[r++];if((n.f&(bt|gt))===0&&Ce(n)&&(Lt=new Set,$e(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&Tn(n),Lt?.size>0)){te.clear();for(const o of Lt){if((o.f&(bt|gt))!==0)continue;const a=[o];let l=o.parent;for(;l!==null;)Lt.has(l)&&(Lt.delete(l),a.push(l)),l=l.parent;for(let i=a.length-1;i>=0;i--){const s=a[i];(s.f&(bt|gt))===0&&$e(s)}}Lt.clear()}}Lt=null}}function ln(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&q)!==0?ln(o,e,r,n):(a&(gr|qt))!==0&&(a&X)===0&&sn(o,e,n)&&(B(o,X),pr(o))}}function sn(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(ce.call(e,o))return!0;if((o.f&q)!==0&&sn(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function pr(t){O.schedule(t)}function gn(t,e){if(!((t.f&Tt)!==0&&(t.f&H)!==0)){(t.f&X)!==0?e.d.push(t):(t.f&Rt)!==0&&e.m.push(t),B(t,H);for(var r=t.first;r!==null;)gn(r,e),r=r.next}}function fn(t){B(t,H);for(var e=t.first;e!==null;)fn(e),e=e.next}function Xo(t){let e=0,r=le(0),n;return()=>{hr()&&(f(r),En(()=>(e===0&&(n=Fn(()=>t(()=>Te(r)))),e+=1,()=>{ye(()=>{e-=1,e===0&&(n?.(),n=void 0,Te(r))})})))}}var Zo=ue|Jt;function Qo(t,e,r,n){new ta(t,e,r,n)}class ta{parent;is_pending=!1;transform_error;#t;#r=E?A:null;#e;#o;#a;#n=null;#i=null;#l=null;#s=null;#m=0;#g=0;#d=!1;#x=new Set;#p=new Set;#f=null;#v=Xo(()=>(this.#f=le(this.#m),()=>{this.#f=null}));constructor(e,r,n,o){this.#t=e,this.#e=r,this.#o=a=>{var l=j;l.b=this,l.f|=lr,n(a)},this.parent=j.b,this.transform_error=o??this.parent?.transform_error??(a=>a),this.#a=Ze(()=>{if(E){const a=this.#r;Ue();const l=a.data===ar;if(a.data.startsWith(Mr)){const s=JSON.parse(a.data.slice(Mr.length));this.#y(s)}else l?this.#_():this.#c()}else this.#h()},Zo),E&&(this.#t=A)}#c(){try{this.#n=kt(()=>this.#o(this.#t))}catch(e){this.error(e)}}#y(e){const r=this.#e.failed;r&&(this.#l=kt(()=>{r(this.#t,()=>e,()=>()=>{})}))}#_(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#i=kt(()=>e(this.#t)),ye(()=>{var r=this.#s=document.createDocumentFragment(),n=yt();r.append(n),this.#n=this.#u(()=>kt(()=>this.#o(n))),this.#g===0&&(this.#t.before(r),this.#s=null,ge(this.#i,()=>{this.#i=null}),this.#b(O))}))}#h(){try{if(this.is_pending=this.has_pending_snippet(),this.#g=0,this.#m=0,this.#n=kt(()=>{this.#o(this.#t)}),this.#g>0){var e=this.#s=document.createDocumentFragment();_r(this.#n,e);const r=this.#e.pending;this.#i=kt(()=>r(this.#t))}else this.#b(O)}catch(r){this.error(r)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#x,this.#p)}defer_effect(e){nn(e,this.#x,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#u(e){var r=j,n=$,o=ut;$t(this.#a),nt(this.#a),we(this.#a.ctx);try{return It.ensure(),e()}catch(a){return en(a),null}finally{$t(r),nt(n),we(o)}}#w(e,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(e,r);return}this.#g+=e,this.#g===0&&(this.#b(r),this.#i&&ge(this.#i,()=>{this.#i=null}),this.#s&&(this.#t.before(this.#s),this.#s=null))}update_pending_count(e,r){this.#w(e,r),this.#m+=e,!(!this.#f||this.#d)&&(this.#d=!0,ye(()=>{this.#d=!1,this.#f&&ke(this.#f,this.#m)}))}get_effect_pending(){return this.#v(),f(this.#f)}error(e){var r=this.#e.onerror;let n=this.#e.failed;if(!r&&!n)throw e;this.#n&&(et(this.#n),this.#n=null),this.#i&&(et(this.#i),this.#i=null),this.#l&&(et(this.#l),this.#l=null),E&&(tt(this.#r),Ho(),tt(qe()));var o=!1,a=!1;const l=()=>{if(o){Yo();return}o=!0,a&&Bo(),this.#l!==null&&ge(this.#l,()=>{this.#l=null}),this.#u(()=>{this.#h()})},i=s=>{try{a=!0,r?.(s,l),a=!1}catch(g){Xt(g,this.#a&&this.#a.parent)}n&&(this.#l=this.#u(()=>{try{return kt(()=>{var g=j;g.b=this,g.f|=lr,n(this.#t,()=>s,()=>l)})}catch(g){return Xt(g,this.#a.parent),null}}))};ye(()=>{var s;try{s=this.transform_error(e)}catch(g){Xt(g,this.#a&&this.#a.parent);return}s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(i,g=>Xt(g,this.#a&&this.#a.parent)):i(s)})}}function ea(t,e,r,n){const o=Ke;var a=t.filter(c=>!c.settled);if(r.length===0&&a.length===0){n(e.map(o));return}var l=j,i=ra(),s=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(c=>c.promise)):null;function g(c){i();try{n(c)}catch(u){(l.f&bt)===0&&Xt(u,l)}Je()}if(r.length===0){s.then(()=>g(e.map(o)));return}var m=mn();function x(){Promise.all(r.map(c=>na(c))).then(c=>g([...e.map(o),...c])).catch(c=>Xt(c,l)).finally(()=>m())}s?s.then(()=>{i(),x(),Je()}):x()}function ra(){var t=j,e=$,r=ut,n=O;return function(a=!0){$t(t),nt(e),we(r),a&&(t.f&bt)===0&&(n?.activate(),n?.apply())}}function Je(t=!0){$t(null),nt(null),we(null),t&&O?.deactivate()}function mn(){var t=j,e=t.b,r=O,n=e.is_rendered();return e.update_pending_count(1,r),r.increment(n,t),(o=!1)=>{e.update_pending_count(-1,r),r.decrement(n,t,o)}}function Ke(t){var e=q|X,r=$!==null&&($.f&q)!==0?$:null;return j!==null&&(j.f|=Jt),{ctx:ut,deps:null,effects:null,equals:Jr,f:e,fn:t,reactions:null,rv:0,v:G,wv:0,parent:r??j,ac:null}}function na(t,e,r){let n=j;n===null&&Ao();var o=void 0,a=le(G),l=!$,i=new Map;return va(()=>{var s=j,g=Yr();o=g.promise;try{Promise.resolve(t()).then(g.resolve,g.reject).finally(Je)}catch(u){g.reject(u),Je()}var m=O;if(l){if((s.f&Gt)!==0)var x=mn();if(n.b.is_rendered())i.get(m)?.reject(Mt),i.delete(m);else{for(const u of i.values())u.reject(Mt);i.clear()}i.set(m,g)}const c=(u,p=void 0)=>{if(x){var y=p===Mt;x(y)}if(!(p===Mt||(s.f&bt)!==0)){if(m.activate(),p)a.f|=Kt,ke(a,p);else{(a.f&Kt)!==0&&(a.f^=Kt),ke(a,u);for(const[N,S]of i){if(i.delete(N),N===m)break;S.reject(Mt)}}m.deactivate()}};g.promise.then(c,u=>c(null,u||"unknown"))}),fa(()=>{for(const s of i.values())s.reject(Mt)}),new Promise(s=>{function g(m){function x(){m===o?s(a):g(o)}m.then(x,x)}g(o)})}function Ft(t){const e=Ke(t);return zn(e),e}function dn(t){const e=Ke(t);return e.equals=Kr,e}function oa(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)et(e[r])}}function aa(t){for(var e=t.parent;e!==null;){if((e.f&q)===0)return(e.f&bt)===0?e:null;e=e.parent}return null}function xr(t){var e,r=j;$t(aa(t));try{t.f&=~ae,oa(t),e=Mn(t)}finally{$t(r)}return e}function pn(t){var e=t.v,r=xr(t);if(!t.equals(r)&&(t.wv=On(),(!O?.is_fork||t.deps===null)&&(t.v=r,O?.capture(t,e,!0),t.deps===null))){B(t,H);return}ee||(Ct!==null?(hr()||O?.is_fork)&&Ct.set(t,r):fr(t))}function ia(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(Mt),e.teardown=jo,e.ac=null,Ae(e,0),wr(e))}function xn(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&$e(e)}let vr=new Set;const te=new Map;let vn=!1;function le(t,e){var r={f:0,v:t,reactions:null,equals:Jr,rv:0,wv:0};return r}function ht(t,e){const r=le(t);return zn(r),r}function cn(t,e=!1,r=!0){const n=le(t);return e||(n.equals=Kr),n}function wt(t,e,r=!1){$!==null&&(!At||($.f&Ur)!==0)&&Qr()&&($.f&(q|qt|gr|Ur))!==0&&(jt===null||!ce.call(jt,t))&&Fo();let n=r?Bt(e):e;return ke(t,n,Ge)}function ke(t,e,r=null){if(!t.equals(e)){var n=t.v;ee?te.set(t,e):te.set(t,n),t.v=e;var o=It.ensure();if(o.capture(t,n),(t.f&q)!==0){const a=t;(t.f&X)!==0&&xr(a),Ct===null&&fr(a)}t.wv=On(),bn(t,X,r),j!==null&&(j.f&H)!==0&&(j.f&(Tt|Wt))===0&&(Et===null?ua([t]):Et.push(t)),!o.is_fork&&vr.size>0&&!vn&&la()}return e}function la(){vn=!1;for(const t of vr)(t.f&H)!==0&&B(t,Rt),Ce(t)&&$e(t);vr.clear()}function Te(t){wt(t,t.v+1)}function bn(t,e,r){var n=t.reactions;if(n!==null)for(var o=n.length,a=0;a<o;a++){var l=n[a],i=l.f,s=(i&X)===0;if(s&&B(l,e),(i&q)!==0){var g=l;Ct?.delete(g),(i&ae)===0&&(i&ct&&(l.f|=ae),bn(g,Rt,r))}else if(s){var m=l;(i&qt)!==0&&Lt!==null&&Lt.add(m),r!==null?r.push(m):pr(m)}}}function Bt(t){if(typeof t!="object"||t===null||Ye in t)return t;const e=Fr(t);if(e!==ko&&e!==$o)return t;var r=new Map,n=Lr(t),o=ht(0),a=me,l=i=>{if(me===a)return i();var s=$,g=me;nt(null),Pn(a);var m=i();return nt(s),Pn(g),m};return n&&r.set("length",ht(t.length)),new Proxy(t,{defineProperty(i,s,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&Io();var m=r.get(s);return m===void 0?l(()=>{var x=ht(g.value);return r.set(s,x),x}):wt(m,g.value,!0),!0},deleteProperty(i,s){var g=r.get(s);if(g===void 0){if(s in i){const m=l(()=>ht(G));r.set(s,m),Te(o)}}else wt(g,G),Te(o);return!0},get(i,s,g){if(s===Ye)return t;var m=r.get(s),x=s in i;if(m===void 0&&(!x||oe(i,s)?.writable)&&(m=l(()=>{var u=Bt(x?i[s]:G),p=ht(u);return p}),r.set(s,m)),m!==void 0){var c=f(m);return c===G?void 0:c}return Reflect.get(i,s,g)},getOwnPropertyDescriptor(i,s){var g=Reflect.getOwnPropertyDescriptor(i,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),c=x?.v;if(x!==void 0&&c!==G)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return g},has(i,s){if(s===Ye)return!0;var g=r.get(s),m=g!==void 0&&g.v!==G||Reflect.has(i,s);if(g!==void 0||j!==null&&(!m||oe(i,s)?.writable)){g===void 0&&(g=l(()=>{var c=m?Bt(i[s]):G,u=ht(c);return u}),r.set(s,g));var x=f(g);if(x===G)return!1}return m},set(i,s,g,m){var x=r.get(s),c=s in i;if(n&&s==="length")for(var u=g;u<x.v;u+=1){var p=r.get(u+"");p!==void 0?wt(p,G):u in i&&(p=l(()=>ht(G)),r.set(u+"",p))}if(x===void 0)(!c||oe(i,s)?.writable)&&(x=l(()=>ht(void 0)),wt(x,Bt(g)),r.set(s,x));else{c=x.v!==G;var y=l(()=>Bt(g));wt(x,y)}var N=Reflect.getOwnPropertyDescriptor(i,s);if(N?.set&&N.set.call(m,g),!c){if(n&&typeof s=="string"){var S=r.get("length"),z=Number(s);Number.isInteger(z)&&z>=S.v&&wt(S,z+1)}Te(o)}return!0},ownKeys(i){f(o);var s=Reflect.ownKeys(i).filter(x=>{var c=r.get(x);return c===void 0||c.v!==G});for(var[g,m]of r)m.v!==G&&!(g in i)&&s.push(g);return s},setPrototypeOf(){Lo()}})}var un,hn,wn,yn;function cr(){if(un===void 0){un=window,hn=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;wn=oe(e,"firstChild").get,yn=oe(e,"nextSibling").get,Br(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Br(r)&&(r.__t=void 0)}}function yt(t=""){return document.createTextNode(t)}function se(t){return wn.call(t)}function _t(t){return yn.call(t)}function w(t,e){if(!E)return se(t);var r=se(A);if(r===null)r=A.appendChild(yt());else if(e&&r.nodeType!==He){var n=yt();return r?.before(n),tt(n),n}return e&&ur(r),tt(r),r}function Xe(t,e=!1){if(!E){var r=se(t);return r instanceof Comment&&r.data===""?_t(r):r}if(e){if(A?.nodeType!==He){var n=yt();return A?.before(n),tt(n),n}ur(A)}return A}function k(t,e=1,r=!1){let n=E?A:t;for(var o;e--;)o=n,n=_t(n);if(!E)return n;if(r){if(n?.nodeType!==He){var a=yt();return n===null?o?.after(a):n.before(a),tt(a),a}ur(n)}return tt(n),n}function _n(t){t.textContent=""}function kn(){return!1}function br(t,e,r){return document.createElementNS(Ir,t,void 0)}function ur(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===He;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function $n(t){var e=$,r=j;nt(null),$t(null);try{return t()}finally{nt(e),$t(r)}}function sa(t){j===null&&($===null&&Po(),Ro()),ee&&zo()}function ga(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function Pt(t,e){var r=j;r!==null&&(r.f&gt)!==0&&(t|=gt);var n={ctx:ut,deps:null,nodes:null,f:t|X|ct,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},o=n;if((t&be)!==0)_e!==null?_e.push(n):It.ensure().schedule(n);else if(e!==null){try{$e(n)}catch(l){throw et(n),l}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&Jt)===0&&(o=o.first,(t&qt)!==0&&(t&ue)!==0&&o!==null&&(o.f|=ue))}if(o!==null&&(o.parent=r,r!==null&&ga(o,r),$!==null&&($.f&q)!==0&&(t&Wt)===0)){var a=$;(a.effects??=[]).push(o)}return n}function hr(){return $!==null&&!At}function fa(t){const e=Pt(Be,null);return B(e,H),e.teardown=t,e}function ma(t){sa();var e=j.f,r=!$&&(e&Tt)!==0&&(e&Gt)===0;if(r){var n=ut;(n.e??=[]).push(t)}else return jn(t)}function jn(t){return Pt(be|So,t)}function da(t){It.ensure();const e=Pt(Wt|Jt,t);return()=>{et(e)}}function pa(t){It.ensure();const e=Pt(Wt|Jt,t);return(r={})=>new Promise(n=>{r.outro?ge(e,()=>{et(e),n(void 0)}):(et(e),n(void 0))})}function xa(t){return Pt(be,t)}function va(t){return Pt(gr|Jt,t)}function En(t,e=0){return Pt(Be|e,t)}function M(t,e=[],r=[],n=[]){ea(n,e,r,o=>{Pt(Be,()=>t(...o.map(f)))})}function Ze(t,e=0){var r=Pt(qt|e,t);return r}function kt(t){return Pt(Tt|Jt,t)}function Sn(t){var e=t.teardown;if(e!==null){const r=ee,n=$;Nn(!0),nt(null);try{e.call(null)}finally{Nn(r),nt(n)}}}function wr(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&$n(()=>{o.abort(Mt)});var n=r.next;(r.f&Wt)!==0?r.parent=null:et(r,e),r=n}}function ca(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Tt)===0&&et(e),e=r}}function et(t,e=!0){var r=!1;(e||(t.f&qr)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(ba(t.nodes.start,t.nodes.end),r=!0),B(t,Vr),wr(t,e&&!r),Ae(t,0);var n=t.nodes&&t.nodes.t;if(n!==null)for(const a of n)a.stop();Sn(t),t.f^=Vr,t.f|=bt;var o=t.parent;o!==null&&o.first!==null&&Tn(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function ba(t,e){for(;t!==null;){var r=t===e?null:_t(t);t.remove(),t=r}}function Tn(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 ge(t,e,r=!0){var n=[];Cn(t,n,!0);var o=()=>{r&&et(t),e&&e()},a=n.length;if(a>0){var l=()=>--a||o();for(var i of n)i.out(l)}else o()}function Cn(t,e,r){if((t.f&gt)===0){t.f^=gt;var n=t.nodes&&t.nodes.t;if(n!==null)for(const i of n)(i.is_global||r)&&e.push(i);for(var o=t.first;o!==null;){var a=o.next,l=(o.f&ue)!==0||(o.f&Tt)!==0&&(t.f&qt)!==0;Cn(o,e,l?r:!1),o=a}}}function yr(t){An(t,!0)}function An(t,e){if((t.f&gt)!==0){t.f^=gt,(t.f&H)===0&&(B(t,X),It.ensure().schedule(t));for(var r=t.first;r!==null;){var n=r.next,o=(r.f&ue)!==0||(r.f&Tt)!==0;An(r,o?e:!1),r=n}var a=t.nodes&&t.nodes.t;if(a!==null)for(const l of a)(l.is_global||e)&&l.in()}}function _r(t,e){if(t.nodes)for(var r=t.nodes.start,n=t.nodes.end;r!==null;){var o=r===n?null:_t(r);e.append(r),r=o}}let Qe=!1,ee=!1;function Nn(t){ee=t}let $=null,At=!1;function nt(t){$=t}let j=null;function $t(t){j=t}let jt=null;function zn(t){$!==null&&(jt===null?jt=[t]:jt.push(t))}let ot=null,mt=0,Et=null;function ua(t){Et=t}let Rn=1,fe=0,me=fe;function Pn(t){me=t}function On(){return++Rn}function Ce(t){var e=t.f;if((e&X)!==0)return!0;if(e&q&&(t.f&=~ae),(e&Rt)!==0){for(var r=t.deps,n=r.length,o=0;o<n;o++){var a=r[o];if(Ce(a)&&pn(a),a.wv>t.wv)return!0}(e&ct)!==0&&Ct===null&&B(t,H)}return!1}function Dn(t,e,r=!0){var n=t.reactions;if(n!==null&&!(jt!==null&&ce.call(jt,t)))for(var o=0;o<n.length;o++){var a=n[o];(a.f&q)!==0?Dn(a,e,!1):e===a&&(r?B(a,X):(a.f&H)!==0&&B(a,Rt),pr(a))}}function Mn(t){var e=ot,r=mt,n=Et,o=$,a=jt,l=ut,i=At,s=me,g=t.f;ot=null,mt=0,Et=null,$=(g&(Tt|Wt))===0?t:null,jt=null,we(t.ctx),At=!1,me=++fe,t.ac!==null&&($n(()=>{t.ac.abort(Mt)}),t.ac=null);try{t.f|=sr;var m=t.fn,x=m();t.f|=Gt;var c=t.deps,u=O?.is_fork;if(ot!==null){var p;if(u||Ae(t,mt),c!==null&&mt>0)for(c.length=mt+ot.length,p=0;p<ot.length;p++)c[mt+p]=ot[p];else t.deps=c=ot;if(hr()&&(t.f&ct)!==0)for(p=mt;p<c.length;p++)(c[p].reactions??=[]).push(t)}else!u&&c!==null&&mt<c.length&&(Ae(t,mt),c.length=mt);if(Qr()&&Et!==null&&!At&&c!==null&&(t.f&(q|Rt|X))===0)for(p=0;p<Et.length;p++)Dn(Et[p],t);if(o!==null&&o!==t){if(fe++,o.deps!==null)for(let y=0;y<r;y+=1)o.deps[y].rv=fe;if(e!==null)for(const y of e)y.rv=fe;Et!==null&&(n===null?n=Et:n.push(...Et))}return(t.f&Kt)!==0&&(t.f^=Kt),x}catch(y){return en(y)}finally{t.f^=sr,ot=e,mt=r,Et=n,$=o,jt=a,we(l),At=i,me=s}}function ha(t,e){let r=e.reactions;if(r!==null){var n=yo.call(r,t);if(n!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[n]=r[o],r.pop())}}if(r===null&&(e.f&q)!==0&&(ot===null||!ce.call(ot,e))){var a=e;(a.f&ct)!==0&&(a.f^=ct,a.f&=~ae),fr(a),ia(a),Ae(a,0)}}function Ae(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)ha(t,r[n])}function $e(t){var e=t.f;if((e&bt)===0){B(t,H);var r=j,n=Qe;j=t,Qe=!0;try{(e&(qt|Hr))!==0?ca(t):wr(t),Sn(t);var o=Mn(t);t.teardown=typeof o=="function"?o:null,t.wv=Rn;var a;wo&&Uo&&(t.f&X)!==0&&t.deps}finally{Qe=n,j=r}}}function f(t){var e=t.f,r=(e&q)!==0;if($!==null&&!At){var n=j!==null&&(j.f&bt)!==0;if(!n&&(jt===null||!ce.call(jt,t))){var o=$.deps;if(($.f&sr)!==0)t.rv<fe&&(t.rv=fe,ot===null&&o!==null&&o[mt]===t?mt++:ot===null?ot=[t]:ot.push(t));else{($.deps??=[]).push(t);var a=t.reactions;a===null?t.reactions=[$]:ce.call(a,$)||a.push($)}}}if(ee&&te.has(t))return te.get(t);if(r){var l=t;if(ee){var i=l.v;return((l.f&H)===0&&l.reactions!==null||Ln(l))&&(i=xr(l)),te.set(l,i),i}var s=(l.f&ct)===0&&!At&&$!==null&&(Qe||($.f&ct)!==0),g=(l.f&Gt)===0;Ce(l)&&(s&&(l.f|=ct),pn(l)),s&&!g&&(xn(l),In(l))}if(Ct?.has(t))return Ct.get(t);if((t.f&Kt)!==0)throw t.v;return t.v}function In(t){if(t.f|=ct,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&q)!==0&&(e.f&ct)===0&&(xn(e),In(e))}function Ln(t){if(t.v===G)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(te.has(e)||(e.f&q)!==0&&Ln(e))return!0;return!1}function Fn(t){var e=At;try{return At=!0,t()}finally{At=e}}const Ne=Symbol("events"),Bn=new Set,kr=new Set;function dt(t,e,r){(e[Ne]??={})[t]=r}function wa(t){for(var e=0;e<t.length;e++)Bn.add(t[e]);for(var r of kr)r(t)}let Yn=null;function Hn(t){var e=this,r=e.ownerDocument,n=t.type,o=t.composedPath?.()||[],a=o[0]||t.target;Yn=t;var l=0,i=Yn===t&&t[Ne];if(i){var s=o.indexOf(i);if(s!==-1&&(e===document||e===window)){t[Ne]=e;return}var g=o.indexOf(e);if(g===-1)return;s<=g&&(l=s)}if(a=o[l]||t.target,a!==e){Fe(t,"currentTarget",{configurable:!0,get(){return a||r}});var m=$,x=j;nt(null),$t(null);try{for(var c,u=[];a!==null;){var p=a.assignedSlot||a.parentNode||a.host||null;try{var y=a[Ne]?.[n];y!=null&&(!a.disabled||t.target===a)&&y.call(a,t)}catch(N){c?u.push(N):c=N}if(t.cancelBubble||p===e||p===null)break;a=p}if(c){for(let N of u)queueMicrotask(()=>{throw N});throw c}}finally{t[Ne]=e,delete t.currentTarget,nt(m),$t(x)}}}const ya=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function _a(t){return ya?.createHTML(t)??t}function ka(t){var e=br("template");return e.innerHTML=_a(t.replaceAll("<!>","<!---->")),e.content}function je(t,e){var r=j;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function P(t,e){var r=(e&uo)!==0,n=(e&ho)!==0,o,a=!t.startsWith("<!>");return()=>{if(E)return je(A,null),A;o===void 0&&(o=ka(a?t:"<!>"+t),r||(o=se(o)));var l=n||hn?document.importNode(o,!0):o.cloneNode(!0);if(r){var i=se(l),s=l.lastChild;je(i,s)}else je(l,l);return l}}function tr(){if(E)return je(A,null),A;var t=document.createDocumentFragment(),e=document.createComment(""),r=yt();return t.append(e,r),je(e,r),t}function R(t,e){if(E){var r=j;((r.f&Gt)===0||r.nodes.end===null)&&(r.nodes.end=A),Ue();return}t!==null&&t.before(e)}const $a=["touchstart","touchmove"];function ja(t){return $a.includes(t)}function Y(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=`${r}`)}function Vn(t,e){return Un(t,e)}function Ea(t,e){cr(),e.intro=e.intro??!1;const r=e.target,n=E,o=A;try{for(var a=se(r);a&&(a.nodeType!==he||a.data!==Dr);)a=_t(a);if(!a)throw ve;ft(!0),tt(a);const l=Un(t,{...e,anchor:a});return ft(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
2
  `).some(i=>i.startsWith("https://svelte.dev/e/")))throw l;return l!==ve&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Do(),cr(),_n(r),ft(!1),Vn(t,e)}finally{ft(n),tt(o)}}const er=new Map;function Un(t,{target:e,anchor:r,props:n={},events:o,context:a,intro:l=!0,transformError:i}){cr();var s=void 0,g=pa(()=>{var m=r??e.appendChild(yt());Qo(m,{pending:()=>{}},u=>{Xr({});var p=ut;if(a&&(p.c=a),o&&(n.$$events=o),E&&je(u,null),s=t(u,n)||{},E&&(j.nodes.end=A,A===null||A.nodeType!==he||A.data!==ir))throw Ve(),ve;Zr()},i);var x=new Set,c=u=>{for(var p=0;p<u.length;p++){var y=u[p];if(!x.has(y)){x.add(y);var N=ja(y);for(const rt of[e,document]){var S=er.get(rt);S===void 0&&(S=new Map,er.set(rt,S));var z=S.get(y);z===void 0?(rt.addEventListener(y,Hn,{passive:N}),S.set(y,1)):S.set(y,z+1)}}}};return c(Ie(Bn)),kr.add(c),()=>{for(var u of x)for(const N of[e,document]){var p=er.get(N),y=p.get(u);--y==0?(N.removeEventListener(u,Hn),p.delete(u),p.size===0&&er.delete(N)):p.set(u,y)}kr.delete(c),m!==r&&m.parentNode?.removeChild(m)}});return $r.set(s,g),s}let $r=new WeakMap;function Sa(t,e){const r=$r.get(t);return r?($r.delete(t),r(e)):Promise.resolve()}class Ta{anchor;#t=new Map;#r=new Map;#e=new Map;#o=new Set;#a=!0;constructor(e,r=!0){this.anchor=e,this.#a=r}#n=e=>{if(this.#t.has(e)){var r=this.#t.get(e),n=this.#r.get(r);if(n)yr(n),this.#o.delete(r);else{var o=this.#e.get(r);o&&(this.#r.set(r,o.effect),this.#e.delete(r),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),n=o.effect)}for(const[a,l]of this.#t){if(this.#t.delete(a),a===e)break;const i=this.#e.get(l);i&&(et(i.effect),this.#e.delete(l))}for(const[a,l]of this.#r){if(a===r||this.#o.has(a))continue;const i=()=>{if(Array.from(this.#t.values()).includes(a)){var g=document.createDocumentFragment();_r(l,g),g.append(yt()),this.#e.set(a,{effect:l,fragment:g})}else et(l);this.#o.delete(a),this.#r.delete(a)};this.#a||!n?(this.#o.add(a),ge(l,i,!1)):i()}}};#i=e=>{this.#t.delete(e);const r=Array.from(this.#t.values());for(const[n,o]of this.#e)r.includes(n)||(et(o.effect),this.#e.delete(n))};ensure(e,r){var n=O,o=kn();if(r&&!this.#r.has(e)&&!this.#e.has(e))if(o){var a=document.createDocumentFragment(),l=yt();a.append(l),this.#e.set(e,{effect:kt(()=>r(l)),fragment:a})}else this.#r.set(e,kt(()=>r(this.anchor)));if(this.#t.set(n,e),o){for(const[i,s]of this.#r)i===e?n.unskip_effect(s):n.skip_effect(s);for(const[i,s]of this.#e)i===e?n.unskip_effect(s.effect):n.skip_effect(s.effect);n.oncommit(this.#n),n.ondiscard(this.#i)}else E&&(this.anchor=A),this.#n(n)}}function I(t,e,r=!1){var n;E&&(n=A,Ue());var o=new Ta(t),a=r?ue:0;function l(i,s){if(E){var g=Gr(n);if(i!==parseInt(g.substring(1))){var m=qe();tt(m),o.anchor=m,ft(!1),o.ensure(i,s),ft(!0);return}}o.ensure(i,s)}Ze(()=>{var i=!1;e((s,g=0)=>{i=!0,l(g,s)}),i||l(-1,null)},a)}function rr(t,e){return e}function Ca(t,e,r){for(var n=[],o=e.length,a,l=e.length,i=0;i<o;i++){let x=e[i];ge(x,()=>{if(a){if(a.pending.delete(x),a.done.add(x),a.pending.size===0){var c=t.outrogroups;jr(t,Ie(a.done)),c.delete(a),c.size===0&&(t.outrogroups=null)}}else l-=1},!1)}if(l===0){var s=n.length===0&&r!==null;if(s){var g=r,m=g.parentNode;_n(m),m.append(g),t.items.clear()}jr(t,e,!s)}else a={pending:new Set(e),done:new Set},(t.outrogroups??=new Set).add(a)}function jr(t,e,r=!0){var n;if(t.pending.size>0){n=new Set;for(const l of t.pending.values())for(const i of l)n.add(t.items.get(i).e)}for(var o=0;o<e.length;o++){var a=e[o];if(n?.has(a)){a.f|=Dt;const l=document.createDocumentFragment();_r(a,l)}else et(e[o],r)}}var qn;function nr(t,e,r,n,o,a=null){var l=t,i=new Map;E&&Ue();var s=null,g=dn(()=>{var S=r();return Lr(S)?S:S==null?[]:Ie(S)}),m,x=new Map,c=!0;function u(S){(N.effect.f&bt)===0&&(N.pending.delete(S),N.fallback=s,Aa(N,m,l,e,n),s!==null&&(m.length===0?(s.f&Dt)===0?yr(s):(s.f^=Dt,Re(s,null,l)):ge(s,()=>{s=null})))}function p(S){N.pending.delete(S)}var y=Ze(()=>{m=f(g);var S=m.length;let z=!1;if(E){var rt=Gr(l)===ar;rt!==(S===0)&&(l=qe(),tt(l),ft(!1),z=!0)}for(var xt=new Set,vt=O,J=kn(),K=0;K<S;K+=1){E&&A.nodeType===he&&A.data===ir&&(l=A,z=!0,ft(!1));var Z=m[K],Ee=n(Z,K),Nt=c?null:i.get(Ee);Nt?(Nt.v&&ke(Nt.v,Z),Nt.i&&ke(Nt.i,K),J&&vt.unskip_effect(Nt.e)):(Nt=Na(i,c?l:qn??=yt(),Z,Ee,K,o,e,r),c||(Nt.e.f|=Dt),i.set(Ee,Nt)),xt.add(Ee)}if(S===0&&a&&!s&&(c?s=kt(()=>a(l)):(s=kt(()=>a(qn??=yt())),s.f|=Dt)),S>xt.size&&No(),E&&S>0&&tt(qe()),!c)if(x.set(vt,xt),J){for(const[Sr,Tr]of i)xt.has(Sr)||vt.skip_effect(Tr.e);vt.oncommit(u),vt.ondiscard(p)}else u(vt);z&&ft(!0),f(g)}),N={effect:y,items:i,pending:x,outrogroups:null,fallback:s};c=!1,E&&(l=A)}function ze(t){for(;t!==null&&(t.f&Tt)===0;)t=t.next;return t}function Aa(t,e,r,n,o){var a=e.length,l=t.items,i=ze(t.effect.first),s,g=null,m=[],x=[],c,u,p,y;for(y=0;y<a;y+=1){if(c=e[y],u=o(c,y),p=l.get(u).e,t.outrogroups!==null)for(const Z of t.outrogroups)Z.pending.delete(p),Z.done.delete(p);if((p.f&gt)!==0&&yr(p),(p.f&Dt)!==0)if(p.f^=Dt,p===i)Re(p,null,r);else{var N=g?g.next:i;p===t.effect.last&&(t.effect.last=p.prev),p.prev&&(p.prev.next=p.next),p.next&&(p.next.prev=p.prev),re(t,g,p),re(t,p,N),Re(p,N,r),g=p,m=[],x=[],i=ze(g.next);continue}if(p!==i){if(s!==void 0&&s.has(p)){if(m.length<x.length){var S=x[0],z;g=S.prev;var rt=m[0],xt=m[m.length-1];for(z=0;z<m.length;z+=1)Re(m[z],S,r);for(z=0;z<x.length;z+=1)s.delete(x[z]);re(t,rt.prev,xt.next),re(t,g,rt),re(t,xt,S),i=S,g=xt,y-=1,m=[],x=[]}else s.delete(p),Re(p,i,r),re(t,p.prev,p.next),re(t,p,g===null?t.effect.first:g.next),re(t,g,p),g=p;continue}for(m=[],x=[];i!==null&&i!==p;)(s??=new Set).add(i),x.push(i),i=ze(i.next);if(i===null)continue}(p.f&Dt)===0&&m.push(p),g=p,i=ze(p.next)}if(t.outrogroups!==null){for(const Z of t.outrogroups)Z.pending.size===0&&(jr(t,Ie(Z.done)),t.outrogroups?.delete(Z));t.outrogroups.size===0&&(t.outrogroups=null)}if(i!==null||s!==void 0){var vt=[];if(s!==void 0)for(p of s)(p.f&gt)===0&&vt.push(p);for(;i!==null;)(i.f&gt)===0&&i!==t.fallback&&vt.push(i),i=ze(i.next);var J=vt.length;if(J>0){var K=null;Ca(t,vt,K)}}}function Na(t,e,r,n,o,a,l,i){var s=(l&fo)!==0?(l&po)===0?cn(r,!1,!1):le(r):null,g=(l&mo)!==0?le(o):null;return{v:s,i:g,e:kt(()=>(a(e,s??r,g??o,i),()=>{t.delete(n)}))}}function Re(t,e,r){if(t.nodes)for(var n=t.nodes.start,o=t.nodes.end,a=e&&(e.f&Dt)===0?e.nodes.start:r;n!==null;){var l=_t(n);if(a.before(n),n===o)return;n=l}}function re(t,e,r){e===null?t.effect.first=r:e.next=r,r===null?t.effect.last=e:r.prev=e}function za(t,e){let r=null,n=E;var o;if(E){r=A;for(var a=se(document.head);a!==null&&(a.nodeType!==he||a.data!==t);)a=_t(a);if(a===null)ft(!1);else{var l=_t(a);a.remove(),tt(l)}}E||(o=document.head.appendChild(yt()));try{Ze(()=>e(o),qr|Jt)}finally{n&&(ft(!0),tt(r))}}function Ra(t,e){xa(()=>{var r=t.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+e.hash)){const o=br("style");o.id=e.hash,o.textContent=e.code,n.appendChild(o)}})}const Wn=[...`
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 of Object.keys(r))if(r[o])n=n?n+" "+o:o;else if(n.length)for(var a=o.length,l=0;(l=n.indexOf(o,l))>=0;){var i=l+a;(l===0||Wn.includes(n[l-1]))&&(i===n.length||Wn.includes(n[i]))?n=(l===0?"":n.substring(0,l))+n.substring(i+1):l=i}}return n===""?null:n}function Oa(t,e){return t==null?null:String(t)}function V(t,e,r,n,o,a){var l=t.__className;if(E||l!==r||l===void 0){var i=Pa(r,n,a);(!E||i!==t.getAttribute("class"))&&(i==null?t.removeAttribute("class"):t.className=i),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 Da(t,e,r,n){var o=t.__style;if(E||o!==e){var a=Oa(e);(!E||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const Ma=Symbol("is custom element"),Ia=Symbol("is html"),La=Co?"link":"LINK";function pt(t,e,r,n){var o=Fa(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===La)||o[e]!==(o[e]=r)&&(e==="loading"&&(t[To]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Jn(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Gn(t,e,r){var n=$,o=j;let a=E;E&&ft(!1),nt(null),$t(null);try{e!=="style"&&(Er.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Jn(t).includes(e):r&&typeof r=="object")?t[e]=r:pt(t,e,r==null?r:String(r))}finally{nt(n),$t(o),a&&ft(!0)}}function Fa(t){return t.__attributes??={[Ma]:t.nodeName.includes("-"),[Ia]:t.namespaceURI===Ir}}var Er=new Map;function Jn(t){var e=t.getAttribute("is")||t.nodeName,r=Er.get(e);if(r)return r;Er.set(e,r=[]);for(var n,o=t,a=Element.prototype;a!==o;){n=_o(o);for(var l in n)n[l].set&&r.push(l);o=Fr(o)}return r}function de(t,e,r,n){var o=(r&co)!==0,a=(r&bo)!==0,l=n,i=!0,s=()=>(i&&(i=!1,l=a?Fn(n):n),l);let g;if(o){var m=Ye in t||Wr in t;g=oe(t,e)?.set??(m&&e in t?z=>t[e]=z:void 0)}var x,c=!1;o?[x,c]=Go(()=>t[e]):x=t[e],x===void 0&&n!==void 0&&(x=s(),g&&(Mo(),g(x)));var u;if(u=()=>{var z=t[e];return z===void 0?s():(i=!0,z)},(r&vo)===0)return u;if(g){var p=t.$$legacy;return(function(z,rt){return arguments.length>0?((!rt||p||c)&&g(rt?u():z),z):u()})}var y=!1,N=((r&xo)!==0?Ke:dn)(()=>(y=!1,u()));o&&f(N);var S=j;return(function(z,rt){if(arguments.length>0){const xt=rt?f(N):o?Bt(z):z;return wt(N,xt),y=!0,l!==void 0&&(l=xt),z}return ee&&y||(S.f&bt)!==0?N.v:f(N)})}function Ba(t){return new Ya(t)}class Ya{#t;#r;constructor(e){var r=new Map,n=(a,l)=>{var i=cn(l,!1,!1);return r.set(a,i),i};const o=new Proxy({...e.props||{},$$events:{}},{get(a,l){return f(r.get(l)??n(l,Reflect.get(a,l)))},has(a,l){return l===Wr?!0:(f(r.get(l)??n(l,Reflect.get(a,l))),Reflect.has(a,l))},set(a,l,i){return wt(r.get(l)??n(l,i),i),Reflect.set(a,l,i)}});this.#r=(e.hydrate?Ea:Vn)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&Qt(),this.#t=o.$$events;for(const a of Object.keys(this.#r))a==="$set"||a==="$destroy"||a==="$on"||Fe(this,a,{get(){return this.#r[a]},set(l){this.#r[a]=l},enumerable:!0});this.#r.$set=a=>{Object.assign(o,a)},this.#r.$destroy=()=>{Sa(this.#r)}}$set(e){this.#r.$set(e)}$on(e,r){this.#t[e]=this.#t[e]||[];const n=(...o)=>r.call(this,...o);return this.#t[e].push(n),()=>{this.#t[e]=this.#t[e].filter(o=>o!==n)}}$destroy(){this.#r.$destroy()}}let Kn;typeof HTMLElement=="function"&&(Kn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&(this.$$shadowRoot=this.attachShadow(r))}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=br("slot");n!=="default"&&(a.name=n),R(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=Ha(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]=or(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=Ba({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=da(()=>{En(()=>{this.$$r=!0;for(const n of Le(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=or(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]=or(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 Le(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function or(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 Ha(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Va(t,e,r,n,o,a){let l=class extends Kn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Le(e).map(i=>(e[i].attribute||i).toLowerCase())}};return Le(e).forEach(i=>{Fe(l.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(s){s=or(i,s,e),this.$$d[i]=s;var g=this.$$c;if(g){var m=oe(g,i)?.get;m?g[i]=s:g.$set({[i]:s})}}})}),n.forEach(i=>{Fe(l.prototype,i,{get(){return this.$$c?.[i]}})}),t.element=l,l}function Ua(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const r=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const n=document.createElement("script");if(n.id=e+"-script",n.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${r}`,t?.local)n.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const o=e.split("-")[0];n.src=`http://localhost:6006/webcomponents/${e.replace(o+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}class ne{dictionary;lang="";constructor(e){if(!e?.dictionary)throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(e?.lang)}setLang(e){e||(e=ne.getDefaultLang()),this.lang=e}translateWord(e,r){return ne.getDictionaryWord(e,this.dictionary,r||this.lang)}translateDate(e,r,n){return ne.formatDate(e,r,n||this.lang)}static getDefaultLang(){let e="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(e=navigator.languages[0].split("-")[0].toLowerCase()),e}static getDictionaryWord(e,r,n){if(!e)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(n&&r[n]?.[e])return r[n][e];let o="";const a=ne.getDefaultLang();if(!n||a!==n){const l=r?.[a];l?.[e]&&(o=l[e])}return o}static formatDate(e,r,n){if(!e)throw new Error("no date provided");if(typeof e.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(n||ne.getDefaultLang(),r).format(e)}}const qa={version:"0.66.4"},Xn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var Wa=P('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ga=P('<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>'),Ja=P('<img class="avatar svelte-165xfg5"/>'),Ka=P('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Xa=P('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Za=P('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),Qa=P('<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),ti=P('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),ei=P('<div class="contact-item text-muted svelte-165xfg5"> </div>'),ri=P('<div class="contact-item text-muted svelte-165xfg5"> </div>'),ni=P('<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>'),oi=P('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),ai=P('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),ii=P('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),li=P('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),si=P('<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>'),gi=P('<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>'),fi=P('<strong class="svelte-165xfg5"> </strong>'),mi=P('<div class="svelte-165xfg5"> </div>'),di=P('<div class="svelte-165xfg5"> </div>'),pi=P('<div class="svelte-165xfg5"> </div>'),xi=P('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),vi=P('<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>'),ci=P('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),bi=P('<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>'),ui=P('<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>'),hi=P('<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 wi={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 of Object.keys(r))if(r[o])n=n?n+" "+o:o;else if(n.length)for(var a=o.length,l=0;(l=n.indexOf(o,l))>=0;){var i=l+a;(l===0||Wn.includes(n[l-1]))&&(i===n.length||Wn.includes(n[i]))?n=(l===0?"":n.substring(0,l))+n.substring(i+1):l=i}}return n===""?null:n}function Oa(t,e){return t==null?null:String(t)}function V(t,e,r,n,o,a){var l=t.__className;if(E||l!==r||l===void 0){var i=Pa(r,n,a);(!E||i!==t.getAttribute("class"))&&(i==null?t.removeAttribute("class"):t.className=i),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 Da(t,e,r,n){var o=t.__style;if(E||o!==e){var a=Oa(e);(!E||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return n}const Ma=Symbol("is custom element"),Ia=Symbol("is html"),La=Co?"link":"LINK";function pt(t,e,r,n){var o=Fa(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===La)||o[e]!==(o[e]=r)&&(e==="loading"&&(t[To]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Jn(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function Gn(t,e,r){var n=$,o=j;let a=E;E&&ft(!1),nt(null),$t(null);try{e!=="style"&&(Er.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Jn(t).includes(e):r&&typeof r=="object")?t[e]=r:pt(t,e,r==null?r:String(r))}finally{nt(n),$t(o),a&&ft(!0)}}function Fa(t){return t.__attributes??={[Ma]:t.nodeName.includes("-"),[Ia]:t.namespaceURI===Ir}}var Er=new Map;function Jn(t){var e=t.getAttribute("is")||t.nodeName,r=Er.get(e);if(r)return r;Er.set(e,r=[]);for(var n,o=t,a=Element.prototype;a!==o;){n=_o(o);for(var l in n)n[l].set&&r.push(l);o=Fr(o)}return r}function de(t,e,r,n){var o=(r&co)!==0,a=(r&bo)!==0,l=n,i=!0,s=()=>(i&&(i=!1,l=a?Fn(n):n),l);let g;if(o){var m=Ye in t||Wr in t;g=oe(t,e)?.set??(m&&e in t?z=>t[e]=z:void 0)}var x,c=!1;o?[x,c]=Go(()=>t[e]):x=t[e],x===void 0&&n!==void 0&&(x=s(),g&&(Mo(),g(x)));var u;if(u=()=>{var z=t[e];return z===void 0?s():(i=!0,z)},(r&vo)===0)return u;if(g){var p=t.$$legacy;return(function(z,rt){return arguments.length>0?((!rt||p||c)&&g(rt?u():z),z):u()})}var y=!1,N=((r&xo)!==0?Ke:dn)(()=>(y=!1,u()));o&&f(N);var S=j;return(function(z,rt){if(arguments.length>0){const xt=rt?f(N):o?Bt(z):z;return wt(N,xt),y=!0,l!==void 0&&(l=xt),z}return ee&&y||(S.f&bt)!==0?N.v:f(N)})}function Ba(t){return new Ya(t)}class Ya{#t;#r;constructor(e){var r=new Map,n=(a,l)=>{var i=cn(l,!1,!1);return r.set(a,i),i};const o=new Proxy({...e.props||{},$$events:{}},{get(a,l){return f(r.get(l)??n(l,Reflect.get(a,l)))},has(a,l){return l===Wr?!0:(f(r.get(l)??n(l,Reflect.get(a,l))),Reflect.has(a,l))},set(a,l,i){return wt(r.get(l)??n(l,i),i),Reflect.set(a,l,i)}});this.#r=(e.hydrate?Ea:Vn)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&Qt(),this.#t=o.$$events;for(const a of Object.keys(this.#r))a==="$set"||a==="$destroy"||a==="$on"||Fe(this,a,{get(){return this.#r[a]},set(l){this.#r[a]=l},enumerable:!0});this.#r.$set=a=>{Object.assign(o,a)},this.#r.$destroy=()=>{Sa(this.#r)}}$set(e){this.#r.$set(e)}$on(e,r){this.#t[e]=this.#t[e]||[];const n=(...o)=>r.call(this,...o);return this.#t[e].push(n),()=>{this.#t[e]=this.#t[e].filter(o=>o!==n)}}$destroy(){this.#r.$destroy()}}let Kn;typeof HTMLElement=="function"&&(Kn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&(this.$$shadowRoot=this.attachShadow(r))}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=br("slot");n!=="default"&&(a.name=n),R(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=Ha(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]=or(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=Ba({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=da(()=>{En(()=>{this.$$r=!0;for(const n of Le(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const o=or(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]=or(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 Le(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function or(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 Ha(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Va(t,e,r,n,o,a){let l=class extends Kn{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Le(e).map(i=>(e[i].attribute||i).toLowerCase())}};return Le(e).forEach(i=>{Fe(l.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(s){s=or(i,s,e),this.$$d[i]=s;var g=this.$$c;if(g){var m=oe(g,i)?.get;m?g[i]=s:g.$set({[i]:s})}}})}),n.forEach(i=>{Fe(l.prototype,i,{get(){return this.$$c?.[i]}})}),t.element=l,l}function Ua(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const r=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const n=document.createElement("script");if(n.id=e+"-script",n.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${r}`,t?.local)n.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const o=e.split("-")[0];n.src=`http://localhost:6006/webcomponents/${e.replace(o+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}class ne{dictionary;lang="";constructor(e){if(!e?.dictionary)throw new Error("no dictionary provided");this.dictionary=e.dictionary,this.setLang(e?.lang)}setLang(e){e||(e=ne.getDefaultLang()),this.lang=e}translateWord(e,r){return ne.getDictionaryWord(e,this.dictionary,r||this.lang)}translateDate(e,r,n){return ne.formatDate(e,r,n||this.lang)}static getDefaultLang(){let e="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(e=navigator.languages[0].split("-")[0].toLowerCase()),e}static getDictionaryWord(e,r,n){if(!e)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(n&&r[n]?.[e])return r[n][e];let o="";const a=ne.getDefaultLang();if(!n||a!==n){const l=r?.[a];l?.[e]&&(o=l[e])}return o}static formatDate(e,r,n){if(!e)throw new Error("no date provided");if(typeof e.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(n||ne.getDefaultLang(),r).format(e)}}const qa={version:"0.66.6"},Xn={en:{Contact:"Contact",Company:"Company",Address:"Address",Social:"Social",Notes:"Notes"},it:{Contact:"Contatto",Company:"Azienda",Address:"Indirizzo",Social:"Social",Notes:"Note"}};var Wa=P('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-165xfg5"/>'),Ga=P('<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>'),Ja=P('<img class="avatar svelte-165xfg5"/>'),Ka=P('<div class="avatar-placeholder svelte-165xfg5"><i class="bi bi-person-fill svelte-165xfg5"></i></div>'),Xa=P('<p class="card-subtitle text-muted mb-0 svelte-165xfg5"> </p>'),Za=P('<button class="btn btn-sm btn-outline-secondary svelte-165xfg5" type="button"><i></i></button>'),Qa=P('<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),ti=P('<div class="contact-item svelte-165xfg5"><strong class="svelte-165xfg5"> </strong></div>'),ei=P('<div class="contact-item text-muted svelte-165xfg5"> </div>'),ri=P('<div class="contact-item text-muted svelte-165xfg5"> </div>'),ni=P('<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>'),oi=P('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),ai=P('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),ii=P('<span class="text-muted ms-2 svelte-165xfg5"> </span>'),li=P('<div class="contact-item svelte-165xfg5"><i></i> <a class="svelte-165xfg5"> </a> <!></div>'),si=P('<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>'),gi=P('<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>'),fi=P('<strong class="svelte-165xfg5"> </strong>'),mi=P('<div class="svelte-165xfg5"> </div>'),di=P('<div class="svelte-165xfg5"> </div>'),pi=P('<div class="svelte-165xfg5"> </div>'),xi=P('<div class="contact-item address-item svelte-165xfg5" role="button" tabindex="0" style="cursor: pointer;"><i></i> <!> <!> <!> <!></div>'),vi=P('<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>'),ci=P('<a target="_blank" rel="noopener noreferrer" class="social-link me-2 svelte-165xfg5"><i></i></a>'),bi=P('<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>'),ui=P('<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>'),hi=P('<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 wi={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
@@ -1379,8 +1379,7 @@
1379
1379
  }
1380
1380
  }
1381
1381
  ],
1382
- "iifeIntegrity": "sha384-CeC4dZrM2BHX6sNufy+HkIYt5V9HDl0RIQW+zNU1G19SdmbVAFJH+azQG+hIJL9m",
1383
- "iifeIntegrityType": "sha384",
1382
+ "iifeIntegrity": "sha384-DLyz4Q1OEP9rxen5d2KBloxObq+Dsg6zMKHlUGxZYYjEDD2MEZotxNYC2R58+r6H",
1384
1383
  "screenshots": [],
1385
1384
  "licenses": [
1386
1385
  {
@@ -1400,5 +1399,5 @@
1400
1399
  "size": {},
1401
1400
  "iifePath": "main.iife.js",
1402
1401
  "repoName": "@htmlbricks/hb-contact-card",
1403
- "version": "0.66.4"
1402
+ "version": "0.66.6"
1404
1403
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-contact-card",
3
- "version": "0.66.4",
3
+ "version": "0.66.6",
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": [