@htmlbricks/hb-contact-item 0.61.58 → 0.62.1

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,4 +1,4 @@
1
- (function(Gt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Gn=1,Zn=4,Xn=8,Qn=16,er=1,tr=2,Zt="[",Nt="[!",Xt="]",Ue={},S=Symbol(),Qt=!1;var nr=Array.isArray,rr=Array.prototype.indexOf,sr=Array.from,ht=Object.keys,dt=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,ir=Object.prototype,fr=Array.prototype,lr=Object.getPrototypeOf,en=Object.isExtensible;function ar(e){for(var t=0;t<e.length;t++)e[t]()}function tn(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const k=2,_t=4,Ot=8,ie=16,fe=32,pe=64,vt=128,H=512,A=1024,D=2048,le=4096,X=8192,ge=16384,Ct=32768,Be=65536,nn=1<<17,Pt=1<<18,Se=1<<19,or=1<<20,Xe=32768,Dt=1<<21,Lt=1<<22,me=1<<23,pt=Symbol("$state"),rn=Symbol("legacy props"),Ye=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},It=3,Ve=8;function ur(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function cr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function dr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function _r(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function vr(){throw new Error("https://svelte.dev/e/hydration_failed")}function pr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function gr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function yr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function wr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function gt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function $r(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function ye(e){g=e}let m;function M(e){if(e===null)throw gt(),Ue;return m=e}function Mt(){return M(z(m))}function J(e){if(g){if(z(m)!==null)throw gt(),Ue;m=e}}function br(e=1){if(g){for(var t=e,n=m;t--;)n=z(n);m=n}}function sn(e=!0){for(var t=0,n=m;;){if(n.nodeType===Ve){var r=n.data;if(r===Xt){if(t===0)return n;t-=1}else(r===Zt||r===Nt)&&(t+=1)}var s=z(n);e&&n.remove(),n=s}}function Er(e){if(!e||e.nodeType!==Ve)throw gt(),Ue;return e.data}function fn(e){return e===this.v}function Tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ln(e){return!Tr(e,this.v)}let xr=!1,Y=null;function He(e){Y=e}function an(e,t=!1,n){Y={p:Y,i:!1,c:null,e:null,s:e,x:null,l:null}}function on(e){var t=Y,n=t.e;if(n!==null){t.e=null;for(var r of n)Sn(r)}return e!==void 0&&(t.x=e),t.i=!0,Y=t.p,e??{}}function un(){return!0}let ke=[];function cn(){var e=ke;ke=[],ar(e)}function Ft(e){if(ke.length===0&&!Qe){var t=ke;queueMicrotask(()=>{t===ke&&cn()})}ke.push(e)}function Sr(){for(;ke.length>0;)cn()}function hn(e){var t=p;if(t===null)return _.f|=me,e;if((t.f&Ct)===0){if((t.f&vt)===0)throw e;t.b.error(e)}else Je(e,t)}function Je(e,t){for(;t!==null;){if((t.f&vt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const mt=new Set;let b=null,F=null,Q=[],yt=null,qt=!1,Qe=!1;class K{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#f=[];#l=[];skipped_effects=new Set;is_fork=!1;process(t){Q=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#s(r,n);this.is_fork||this.#o(),this.#r>0||this.is_fork?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):(b=null,_n(n.render_effects),_n(n.effects),this.#a?.resolve()),F=null}#s(t,n){t.f^=A;for(var r=t.first;r!==null;){var s=r.f,i=(s&(fe|pe))!==0,f=i&&(s&A)!==0,l=f||(s&X)!==0||this.skipped_effects.has(r);if((r.f&vt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){i?r.f^=A:(s&_t)!==0?n.effects.push(r):it(r)&&((r.f&ie)!==0&&n.block_effects.push(r),ft(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#i(t){for(const n of t)((n.f&D)!==0?this.#f:this.#l).push(n),R(n,A)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&me)===0&&(this.current.set(t,t.v),F?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b=null,F=null}flush(){if(this.activate(),Q.length>0){if(dn(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#o(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(mt.size>1){this.previous.clear();var t=F,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of mt){if(s===this){n=!1;continue}const i=[];for(const[l,a]of this.current){if(s.current.has(l))if(n&&a!==s.current.get(l))s.current.set(l,a);else continue;i.push(l)}if(i.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){const l=new Set,a=new Map;for(const o of i)vn(o,f,l,a);if(Q.length>0){b=s,s.apply();for(const o of Q)s.#s(o,r);Q=[],s.deactivate()}}}b=null,F=t}this.committed=!0,mt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#f)R(t,D),Ae(t);for(const t of this.#l)R(t,le),Ae(t);this.#f=[],this.#l=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=tn()).promise}static ensure(){if(b===null){const t=b=new K;mt.add(b),Qe||K.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){Ft(t)}apply(){}}function we(e){var t=Qe;Qe=!0;try{for(var n;;){if(Sr(),Q.length===0&&(b?.flush(),Q.length===0))return yt=null,n;dn()}}finally{Qe=t}}function dn(){var e=Oe;qt=!0;try{var t=0;for(Dn(!0);Q.length>0;){var n=K.ensure();if(t++>1e3){var r,s;kr()}n.process(Q),$e.clear()}}finally{qt=!1,Dn(e),yt=null}}function kr(){try{_r()}catch(e){Je(e,yt)}}let ae=null;function _n(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ge|X))===0&&it(r)&&(ae=new Set,ft(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Nn(r):r.fn=null),ae?.size>0)){$e.clear();for(const s of ae){if((s.f&(ge|X))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)ae.has(f)&&(ae.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(ge|X))===0&&ft(a)}}ae.clear()}}ae=null}}function vn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&k)!==0?vn(s,t,n,r):(i&(Lt|ie))!==0&&(i&D)===0&&pn(s,t,r)&&(R(s,D),Ae(s))}}function pn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&k)!==0&&pn(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function Ae(e){for(var t=yt=e;t.parent!==null;){t=t.parent;var n=t.f;if(qt&&t===p&&(n&ie)!==0&&(n&Pt)===0)return;if((n&(pe|fe))!==0){if((n&A)===0)return;t.f^=A}}Q.push(t)}function Ar(e){let t=0,n=et(0),r;return()=>{bt()&&(E(n),kn(()=>(t===0&&(r=Yn(()=>e(()=>tt(n)))),t+=1,()=>{Ft(()=>{t-=1,t===0&&(r?.(),r=void 0,tt(n))})})))}}var Rr=Be|Se|vt;function Nr(e,t,n){new Or(e,t,n)}class Or{parent;#t=!1;#e;#n=g?m:null;#r;#a;#f;#l=null;#s=null;#i=null;#o=null;#u=null;#d=0;#c=0;#_=!1;#h=null;#y=Ar(()=>(this.#h=et(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=p.b,this.#t=!!this.#r.pending,this.#f=Vt(()=>{if(p.b=this,g){const i=this.#n;Mt(),i.nodeType===Ve&&i.data===Nt?this.#$():this.#w()}else{var s=this.#g();try{this.#l=ue(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Rr),g&&(this.#e=m)}#w(){try{this.#l=ue(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#s=ue(()=>t(this.#e)),K.enqueue(()=>{var n=this.#g();this.#l=this.#v(()=>(K.ensure(),ue(()=>this.#a(n)))),this.#c>0?this.#p():(rt(this.#s,()=>{this.#s=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=ee(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=p,r=_,s=Y;re(this.#f),I(this.#f),He(this.#f.ctx);try{return t()}catch(i){return hn(i),null}finally{re(n),I(r),He(s)}}#p(){const t=this.#r.pending;this.#l!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Pn(this.#l,this.#o)),this.#s===null&&(this.#s=ue(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#s&&rt(this.#s,()=>{this.#s=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#d+=t,this.#h&&$t(this.#h,this.#d)}get_effect_pending(){return this.#y(),E(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#l&&(L(this.#l),this.#l=null),this.#s&&(L(this.#s),this.#s=null),this.#i&&(L(this.#i),this.#i=null),g&&(M(this.#n),br(),M(sn()));var s=!1,i=!1;const f=()=>{if(s){$r();return}s=!0,i&&wr(),K.ensure(),this.#d=0,this.#i!==null&&rt(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#l=this.#v(()=>(this.#_=!1,ue(()=>this.#a(this.#e)))),this.#c>0?this.#p():this.#t=!1};var l=_;try{I(null),i=!0,n?.(t,f),i=!1}catch(a){Je(a,this.#f&&this.#f.parent)}finally{I(l)}r&&Ft(()=>{this.#i=this.#v(()=>{K.ensure(),this.#_=!0;try{return ue(()=>{r(this.#e,()=>t,()=>f)})}catch(a){return Je(a,this.#f.parent),null}finally{this.#_=!1}})})}}function Cr(e,t,n,r){const s=jt;if(n.length===0&&e.length===0){r(t.map(s));return}var i=b,f=p,l=Pr();function a(){Promise.all(n.map(o=>Dr(o))).then(o=>{l();try{r([...t.map(s),...o])}catch(d){(f.f&ge)===0&&Je(d,f)}i?.deactivate(),wt()}).catch(o=>{Je(o,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{i?.deactivate(),wt()}}):a()}function Pr(){var e=p,t=_,n=Y,r=b;return function(i=!0){re(e),I(t),He(n),i&&r?.activate()}}function wt(){re(null),I(null),He(null)}function jt(e){var t=k|D,n=_!==null&&(_.f&k)!==0?_:null;return p!==null&&(p.f|=Se),{ctx:Y,deps:null,effects:null,equals:fn,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??p,ac:null}}function Dr(e,t){let n=p;n===null&&ur();var r=n.b,s=void 0,i=et(S),f=!_,l=new Map;return Wr(()=>{var a=tn();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===b&&o.committed&&o.deactivate(),wt()})}catch(u){a.reject(u),wt()}var o=b;if(f){var d=!r.is_pending();r.update_pending_count(1),o.increment(d),l.get(o)?.reject(Ye),l.delete(o),l.set(o,a)}const c=(u,h=void 0)=>{if(o.activate(),h)h!==Ye&&(i.f|=me,$t(i,h));else{(i.f&me)!==0&&(i.f^=me),$t(i,u);for(const[$,C]of l){if(l.delete($),$===o)break;C.reject(Ye)}}f&&(r.update_pending_count(-1),o.decrement(d))};a.promise.then(c,u=>c(null,u||"unknown"))}),Yr(()=>{for(const a of l.values())a.reject(Ye)}),new Promise(a=>{function o(d){function c(){d===s?a(i):o(s)}d.then(c,c)}o(s)})}function Lr(e){const t=jt(e);return t.equals=ln,t}function gn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Ir(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return t;t=t.parent}return null}function Ut(e){var t,n=p;re(Ir(e));try{e.f&=~Xe,gn(e),t=jn(e)}finally{re(n)}return t}function mn(e){var t=Ut(e);if(e.equals(t)||(e.v=t,e.wv=Fn()),!Ce)if(F!==null)bt()&&F.set(e,e.v);else{var n=(e.f&H)===0?le:A;R(e,n)}}let Bt=new Set;const $e=new Map;let yn=!1;function et(e,t){var n={f:0,v:e,reactions:null,equals:fn,rv:0,wv:0};return n}function W(e,t){const n=et(e);return Qr(n),n}function Mr(e,t=!1,n=!0){const r=et(e);return t||(r.equals=ln),r}function y(e,t,n=!1){_!==null&&(!ne||(_.f&nn)!==0)&&un()&&(_.f&(k|ie|Lt|nn))!==0&&!ce?.includes(e)&&yr();let r=n?Ke(t):t;return $t(e,r)}function $t(e,t){if(!e.equals(t)){var n=e.v;Ce?$e.set(e,t):$e.set(e,n),e.v=t;var r=K.ensure();r.capture(e,n),(e.f&k)!==0&&((e.f&D)!==0&&Ut(e),R(e,(e.f&H)!==0?A:le)),e.wv=Fn(),wn(e,D),p!==null&&(p.f&A)!==0&&(p.f&(fe|pe))===0&&(V===null?es([e]):V.push(e)),!r.is_fork&&Bt.size>0&&!yn&&Fr()}return t}function Fr(){yn=!1;const e=Array.from(Bt);for(const t of e)(t.f&A)!==0&&R(t,le),it(t)&&ft(t);Bt.clear()}function tt(e){y(e,e.v+1)}function wn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&D)===0;if(l&&R(i,t),(f&k)!==0){var a=i;F?.delete(a),(f&Xe)===0&&(f&H&&(i.f|=Xe),wn(a,le))}else l&&((f&ie)!==0&&ae!==null&&ae.add(i),Ae(i))}}function Ke(e){if(typeof e!="object"||e===null||pt in e)return e;const t=lr(e);if(t!==ir&&t!==fr)return e;var n=new Map,r=nr(e),s=W(0),i=Pe,f=l=>{if(Pe===i)return l();var a=_,o=Pe;I(null),Mn(i);var d=l();return I(a),Mn(o),d};return r&&n.set("length",W(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&gr();var d=n.get(a);return d===void 0?d=f(()=>{var c=W(o.value);return n.set(a,c),c}):y(d,o.value,!0),!0},deleteProperty(l,a){var o=n.get(a);if(o===void 0){if(a in l){const d=f(()=>W(S));n.set(a,d),tt(s)}}else y(o,S),tt(s);return!0},get(l,a,o){if(a===pt)return e;var d=n.get(a),c=a in l;if(d===void 0&&(!c||xe(l,a)?.writable)&&(d=f(()=>{var h=Ke(c?l[a]:S),$=W(h);return $}),n.set(a,d)),d!==void 0){var u=E(d);return u===S?void 0:u}return Reflect.get(l,a,o)},getOwnPropertyDescriptor(l,a){var o=Reflect.getOwnPropertyDescriptor(l,a);if(o&&"value"in o){var d=n.get(a);d&&(o.value=E(d))}else if(o===void 0){var c=n.get(a),u=c?.v;if(c!==void 0&&u!==S)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(l,a){if(a===pt)return!0;var o=n.get(a),d=o!==void 0&&o.v!==S||Reflect.has(l,a);if(o!==void 0||p!==null&&(!d||xe(l,a)?.writable)){o===void 0&&(o=f(()=>{var u=d?Ke(l[a]):S,h=W(u);return h}),n.set(a,o));var c=E(o);if(c===S)return!1}return d},set(l,a,o,d){var c=n.get(a),u=a in l;if(r&&a==="length")for(var h=o;h<c.v;h+=1){var $=n.get(h+"");$!==void 0?y($,S):h in l&&($=f(()=>W(S)),n.set(h+"",$))}if(c===void 0)(!u||xe(l,a)?.writable)&&(c=f(()=>W(void 0)),y(c,Ke(o)),n.set(a,c));else{u=c.v!==S;var C=f(()=>Ke(o));y(c,C)}var P=Reflect.getOwnPropertyDescriptor(l,a);if(P?.set&&P.set.call(d,o),!u){if(r&&typeof a=="string"){var se=n.get("length"),x=Number(a);Number.isInteger(x)&&x>=se.v&&y(se,x+1)}tt(s)}return!0},ownKeys(l){E(s);var a=Reflect.ownKeys(l).filter(c=>{var u=n.get(c);return u===void 0||u.v!==S});for(var[o,d]of n)d.v!==S&&!(o in l)&&a.push(o);return a},setPrototypeOf(){mr()}})}var $n,bn,En,Tn;function Yt(){if($n===void 0){$n=window,bn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;En=xe(t,"firstChild").get,Tn=xe(t,"nextSibling").get,en(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),en(n)&&(n.__t=void 0)}}function ee(e=""){return document.createTextNode(e)}function Re(e){return En.call(e)}function z(e){return Tn.call(e)}function G(e,t){if(!g)return Re(e);var n=Re(m);if(n===null)n=m.appendChild(ee());else if(t&&n.nodeType!==It){var r=ee();return n?.before(r),M(r),r}return M(n),n}function oe(e,t=!1){if(!g){var n=Re(e);return n instanceof Comment&&n.data===""?z(n):n}if(t&&m?.nodeType!==It){var r=ee();return m?.before(r),M(r),r}return m}function nt(e,t=1,n=!1){let r=g?m:e;for(var s;t--;)s=r,r=z(r);if(!g)return r;if(n&&r?.nodeType!==It){var i=ee();return r===null?s?.after(i):r.before(i),M(i),i}return M(r),r}function qr(e){e.textContent=""}function jr(){return!1}function xn(e){var t=_,n=p;I(null),re(null);try{return e()}finally{I(t),re(n)}}function Ur(e){p===null&&(_===null&&dr(),hr()),Ce&&cr()}function Br(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n,r=!0){var s=p;s!==null&&(s.f&X)!==0&&(e|=X);var i={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|D|H,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ft(i),i.f|=Ct}catch(a){throw L(i),a}else t!==null&&Ae(i);if(r){var f=i;if(n&&f.deps===null&&f.teardown===null&&f.nodes_start===null&&f.first===f.last&&(f.f&Se)===0&&(f=f.first,(e&ie)!==0&&(e&Be)!==0&&f!==null&&(f.f|=Be)),f!==null&&(f.parent=s,s!==null&&Br(f,s),_!==null&&(_.f&k)!==0&&(e&pe)===0)){var l=_;(l.effects??=[]).push(f)}}return i}function bt(){return _!==null&&!ne}function Yr(e){const t=te(Ot,null,!1);return R(t,A),t.teardown=e,t}function Vr(e){Ur();var t=p.f,n=!_&&(t&fe)!==0&&(t&Ct)===0;if(n){var r=Y;(r.e??=[]).push(e)}else return Sn(e)}function Sn(e){return te(_t|or,e,!1)}function Hr(e){K.ensure();const t=te(pe|Se,e,!0);return()=>{L(t)}}function Jr(e){K.ensure();const t=te(pe|Se,e,!0);return(n={})=>new Promise(r=>{n.outro?rt(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function Kr(e){return te(_t,e,!1)}function Wr(e){return te(Lt|Se,e,!0)}function kn(e,t=0){return te(Ot|t,e,!0)}function Ne(e,t=[],n=[],r=[],s=!1){Cr(r,t,n,i=>{te(s?_t:Ot,()=>e(...i.map(E)),!0)})}function Vt(e,t=0){var n=te(ie|t,e,!0);return n}function ue(e,t=!0){return te(fe|Se,e,!0,t)}function An(e){var t=e.teardown;if(t!==null){const n=Ce,r=_;Ln(!0),I(null);try{t.call(null)}finally{Ln(n),I(r)}}}function Rn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&xn(()=>{s.abort(Ye)});var r=n.next;(n.f&pe)!==0?n.parent=null:L(n,t),n=r}}function zr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&fe)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&Pt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Gr(e.nodes_start,e.nodes_end),n=!0),Rn(e,t&&!n),Et(e,0),R(e,ge);var r=e.transitions;if(r!==null)for(const i of r)i.stop();An(e);var s=e.parent;s!==null&&s.first!==null&&Nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Gr(e,t){for(;e!==null;){var n=e===t?null:z(e);e.remove(),e=n}}function Nn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function rt(e,t,n=!0){var r=[];On(e,r,!0),Zr(r,()=>{n&&L(e),t&&t()})}function Zr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function On(e,t,n){if((e.f&X)===0){if(e.f^=X,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&Be)!==0||(r.f&fe)!==0&&(e.f&ie)!==0;On(r,t,i?n:!1),r=s}}}function Xr(e){Cn(e,!0)}function Cn(e,t){if((e.f&X)!==0){e.f^=X,(e.f&A)===0&&(R(e,D),Ae(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Be)!==0||(n.f&fe)!==0;Cn(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function Pn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:z(n);t.append(n),n=s}}let Oe=!1;function Dn(e){Oe=e}let Ce=!1;function Ln(e){Ce=e}let _=null,ne=!1;function I(e){_=e}let p=null;function re(e){p=e}let ce=null;function Qr(e){_!==null&&(ce===null?ce=[e]:ce.push(e))}let N=null,q=0,V=null;function es(e){V=e}let In=1,st=0,Pe=st;function Mn(e){Pe=e}function Fn(){return++In}function it(e){var t=e.f;if((t&D)!==0)return!0;if(t&k&&(e.f&=~Xe),(t&le)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(it(i)&&mn(i),i.wv>e.wv)return!0}(t&H)!==0&&F===null&&R(e,A)}return!1}function qn(e,t,n=!0){var r=e.reactions;if(r!==null&&!ce?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&k)!==0?qn(i,t,!1):t===i&&(n?R(i,D):(i.f&A)!==0&&R(i,le),Ae(i))}}function jn(e){var t=N,n=q,r=V,s=_,i=ce,f=Y,l=ne,a=Pe,o=e.f;N=null,q=0,V=null,_=(o&(fe|pe))===0?e:null,ce=null,He(e.ctx),ne=!1,Pe=++st,e.ac!==null&&(xn(()=>{e.ac.abort(Ye)}),e.ac=null);try{e.f|=Dt;var d=e.fn,c=d(),u=e.deps;if(N!==null){var h;if(Et(e,q),u!==null&&q>0)for(u.length=q+N.length,h=0;h<N.length;h++)u[q+h]=N[h];else e.deps=u=N;if(Oe&&bt()&&(e.f&H)!==0)for(h=q;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&q<u.length&&(Et(e,q),u.length=q);if(un()&&V!==null&&!ne&&u!==null&&(e.f&(k|le|D))===0)for(h=0;h<V.length;h++)qn(V[h],e);return s!==null&&s!==e&&(st++,V!==null&&(r===null?r=V:r.push(...V))),(e.f&me)!==0&&(e.f^=me),c}catch($){return hn($)}finally{e.f^=Dt,N=t,q=n,V=r,_=s,ce=i,He(f),ne=l,Pe=a}}function ts(e,t){let n=t.reactions;if(n!==null){var r=rr.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&k)!==0&&(N===null||!N.includes(t))&&(R(t,le),(t.f&H)!==0&&(t.f^=H,t.f&=~Xe),gn(t),Et(t,0))}function Et(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ts(e,n[r])}function ft(e){var t=e.f;if((t&ge)===0){R(e,A);var n=p,r=Oe;p=e,Oe=!0;try{(t&ie)!==0?zr(e):Rn(e),An(e);var s=jn(e);e.teardown=typeof s=="function"?s:null,e.wv=In;var i;Qt&&xr&&(e.f&D)!==0&&e.deps}finally{Oe=r,p=n}}}function E(e){var t=e.f,n=(t&k)!==0;if(_!==null&&!ne){var r=p!==null&&(p.f&ge)!==0;if(!r&&!ce?.includes(e)){var s=_.deps;if((_.f&Dt)!==0)e.rv<st&&(e.rv=st,N===null&&s!==null&&s[q]===e?q++:N===null?N=[e]:N.includes(e)||N.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:i.includes(_)||i.push(_)}}}if(Ce){if($e.has(e))return $e.get(e);if(n){var f=e,l=f.v;return((f.f&A)===0&&f.reactions!==null||Bn(f))&&(l=Ut(f)),$e.set(f,l),l}}else if(n){if(f=e,F?.has(f))return F.get(f);it(f)&&mn(f),Oe&&bt()&&(f.f&H)===0&&Un(f)}else if(F?.has(e))return F.get(e);if((e.f&me)!==0)throw e.v;return e.v}function Un(e){if(e.deps!==null){e.f^=H;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&H)===0&&Un(t)}}function Bn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&k)!==0&&Bn(t))return!0;return!1}function Yn(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const ns=-7169;function R(e,t){e.f=e.f&ns|t}const Vn=new Set,Ht=new Set;function rs(e){for(var t=0;t<e.length;t++)Vn.add(e[t]);for(var n of Ht)n(e)}let Hn=null;function Tt(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Hn=e;var f=0,l=Hn===e&&e.__root;if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(i=s[f]||e.target,i!==t){dt(e,"currentTarget",{configurable:!0,get(){return i||n}});var d=_,c=p;I(null),re(null);try{for(var u,h=[];i!==null;){var $=i.assignedSlot||i.parentNode||i.host||null;try{var C=i["__"+r];C!=null&&(!i.disabled||e.target===i)&&C.call(i,e)}catch(P){u?h.push(P):u=P}if(e.cancelBubble||$===t||$===null)break;i=$}if(u){for(let P of h)queueMicrotask(()=>{throw P});throw u}}finally{e.__root=t,delete e.currentTarget,I(d),re(c)}}}function ss(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function We(e,t){var n=p;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function T(e,t){var n=(t&er)!==0,r=(t&tr)!==0,s,i=!e.startsWith("<!>");return()=>{if(g)return We(m,null),m;s===void 0&&(s=ss(i?e:"<!>"+e),n||(s=Re(s)));var f=r||bn?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=Re(f),a=f.lastChild;We(l,a)}else We(f,f);return f}}function xt(){if(g)return We(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),n=ee();return e.append(t,n),We(t,n),e}function w(e,t){if(g){p.nodes_end=m,Mt();return}e!==null&&e.before(t)}const is=["touchstart","touchmove"];function fs(e){return is.includes(e)}function lt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Jn(e,t){return Kn(e,t)}function ls(e,t){Yt(),t.intro=t.intro??!1;const n=t.target,r=g,s=m;try{for(var i=Re(n);i&&(i.nodeType!==Ve||i.data!==Zt);)i=z(i);if(!i)throw Ue;ye(!0),M(i);const f=Kn(e,{...t,anchor:i});return ye(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==Ue&&console.warn("Failed to hydrate: ",f),t.recover===!1&&vr(),Yt(),qr(n),ye(!1),Jn(e,t)}finally{ye(r),M(s)}}const ze=new Map;function Kn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0}){Yt();var l=new Set,a=c=>{for(var u=0;u<c.length;u++){var h=c[u];if(!l.has(h)){l.add(h);var $=fs(h);t.addEventListener(h,Tt,{passive:$});var C=ze.get(h);C===void 0?(document.addEventListener(h,Tt,{passive:$}),ze.set(h,1)):ze.set(h,C+1)}}};a(sr(Vn)),Ht.add(a);var o=void 0,d=Jr(()=>{var c=n??t.appendChild(ee());return Nr(c,{pending:()=>{}},u=>{if(i){an({});var h=Y;h.c=i}if(s&&(r.$$events=s),g&&We(u,null),o=e(u,r)||{},g&&(p.nodes_end=m,m===null||m.nodeType!==Ve||m.data!==Xt))throw gt(),Ue;i&&on()}),()=>{for(var u of l){t.removeEventListener(u,Tt);var h=ze.get(u);--h===0?(document.removeEventListener(u,Tt),ze.delete(u)):ze.set(u,h)}Ht.delete(a),c!==n&&c.parentNode?.removeChild(c)}});return Jt.set(o,d),o}let Jt=new WeakMap;function as(e,t){const n=Jt.get(e);return n?(Jt.delete(e),n(t)):Promise.resolve()}class os{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#a=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Xr(r);else{var s=this.#n.get(n);s&&(this.#e.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const l=this.#n.get(f);l&&(L(l.effect),this.#n.delete(f))}for(const[i,f]of this.#e){if(i===n)continue;const l=()=>{if(Array.from(this.#t.values()).includes(i)){var o=document.createDocumentFragment();Pn(f,o),o.append(ee()),this.#n.set(i,{effect:f,fragment:o})}else L(f);this.#e.delete(i)};this.#r||!r?rt(f,l,!1):l()}}};#f=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#n)n.includes(r)||(L(s.effect),this.#n.delete(r))};ensure(t,n){var r=b,s=jr();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(s){var i=document.createDocumentFragment(),f=ee();i.append(f),this.#n.set(t,{effect:ue(()=>n(f)),fragment:i})}else this.#e.set(t,ue(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[l,a]of this.#e)l===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[l,a]of this.#n)l===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#a),r.ondiscard(this.#f)}else g&&(this.anchor=m),this.#a()}}function O(e,t,n=!1){g&&Mt();var r=new os(e),s=n?Be:0;function i(f,l){if(g){const o=Er(e)===Nt;if(f===o){var a=sn();M(a),r.anchor=a,ye(!1),r.ensure(f,l),ye(!0);return}}r.ensure(f,l)}Vt(()=>{var f=!1;t((l,a=!0)=>{f=!0,i(a,l)}),f||i(!1,null)},s)}function us(e,t){let n=null,r=g;var s;if(g){n=m;for(var i=Re(document.head);i!==null&&(i.nodeType!==Ve||i.data!==e);)i=z(i);if(i===null)ye(!1);else{var f=z(i);i.remove(),M(f)}}g||(s=document.head.appendChild(ee()));try{Vt(()=>t(s),Pt)}finally{r&&(ye(!0),M(n))}}function cs(e,t){Kr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function hs(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ds(e,t){return e==null?null:String(e)}function _s(e,t,n,r,s,i){var f=e.__className;if(g||f!==n||f===void 0){var l=hs(n,r);(!g||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return i}function vs(e,t,n,r){var s=e.__style;if(g||s!==t){var i=ds(t);(!g||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}let St=!1;function ps(e){var t=St;try{return St=!1,[e(),St]}finally{St=t}}function De(e,t,n,r){var s=(n&Xn)!==0,i=(n&Qn)!==0,f=r,l=!0,a=()=>(l&&(l=!1,f=i?Yn(r):r),f),o;if(s){var d=pt in e||rn in e;o=xe(e,t)?.set??(d&&t in e?x=>e[t]=x:void 0)}var c,u=!1;s?[c,u]=ps(()=>e[t]):c=e[t],c===void 0&&r!==void 0&&(c=a(),o&&(pr(),o(c)));var h;if(h=()=>{var x=e[t];return x===void 0?a():(l=!0,x)},(n&Zn)===0)return h;if(o){var $=e.$$legacy;return(function(x,Ge){return arguments.length>0?((!Ge||$||u)&&o(Ge?h():x),x):h()})}var C=!1,P=((n&Gn)!==0?jt:Lr)(()=>(C=!1,h()));s&&E(P);var se=p;return(function(x,Ge){if(arguments.length>0){const At=Ge?E(P):s?Ke(x):x;return y(P,At),C=!0,f!==void 0&&(f=At),x}return Ce&&C||(se.f&ge)!==0?P.v:E(P)})}function gs(e){return new ms(e)}class ms{#t;#e;constructor(t){var n=new Map,r=(i,f)=>{var l=Mr(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return E(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===rn?!0:(E(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return y(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#e=(t.hydrate?ls:Jn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&we(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||dt(this,i,{get(){return this.#e[i]},set(f){this.#e[i]=f},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{as(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==r)}}$destroy(){this.#e.$destroy()}}let Wn;typeof HTMLElement=="function"&&(Wn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),w(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ys(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=kt(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=gs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Hr(()=>{kn(()=>{this.$$r=!0;for(const r of ht(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=kt(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=kt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ht(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function kt(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ys(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function ws(e,t,n,r,s,i){let f=class extends Wn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return ht(t).map(l=>(t[l].attribute||l).toLowerCase())}};return ht(t).forEach(l=>{dt(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=kt(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var d=xe(o,l)?.get;d?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{dt(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var $s=T('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),bs=T('<i class="bi bi-geo-alt"></i>'),Es=T('<span class="prop" part="prop" property="address"> </span>'),Ts=T('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),xs=T('<i class="bi bi-telephone"></i>'),Ss=T('<span class="prop" part="prop" property="telephone"> </span>'),ks=T('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),As=T('<i class="bi bi-envelope"></i>'),Rs=T('<span class="prop" part="prop" property="address"> </span>'),Ns=T('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Os=T('<i class="bi bi-globe"></i>'),Cs=T('<span class="prop" part="prop" property="address"> </span>'),Ps=T('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ds=T("<i></i>"),Ls=T('<span class="prop" part="prop" property="address"> </span>'),Is=T('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ms=T("<span><!></span>");const Fs={hash:"svelte-1t5sqpy",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
- @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}.iconcell.svelte-1t5sqpy {margin-right:5px;}`};function zn(e,t){an(t,!0),cs(e,Fs);let n=De(t,"id",7,""),r=De(t,"phone",7,void 0),s=De(t,"address",7,void 0),i=De(t,"email",7,void 0),f=De(t,"site",7,void 0),l=De(t,"social",7,void 0),a=De(t,"config",23,()=>({icon:{fill:!1},dispatcher:!0,text:!0})),o,d=W(void 0),c=W(void 0),u=W(!1);Vr(()=>{if(typeof a()=="string")try{a(JSON.parse(a()))}catch{}if(a().icon||(a().icon={fill:!1}),a().text!==!1&&(a().text=!0),a().dispatcher!==!1&&(a().dispatcher=!0),r()){o="phone",y(d,r(),!0);try{r(JSON.parse(r()))}catch{}}else if(l()){o="social",y(d,l(),!0);try{l(JSON.parse(l()))}catch{}l()?.pageUri&&(y(u,!0),y(c,l().pageUri,!0))}else if(s()){o="address",y(d,s(),!0);try{s(JSON.parse(s()))}catch{}(s()?.mapUri||s()?.latLang)&&(y(u,!0),s().latLang&&y(c,`https://maps.google.com?lat=${s().latLang[0]}&lng=${s().latLang[1]}`),s().mapUri&&y(c,s().mapUri,!0))}else if(i()){o="email",y(d,i(),!0);try{i(JSON.parse(i()))}catch{}i()?.mailLink&&(y(u,!0),y(c,i().address,!0))}else if(f()){o="site",y(d,f(),!0);try{f(JSON.parse(f()))}catch{}f()?.open&&f()?.uri&&(y(u,!0),y(c,f().uri,!0))}});function h(v,Z){t.$$host.dispatchEvent(new CustomEvent(v,{detail:Z}))}function $(){const v="contactClick",Z={action:o,options:E(d)};h(v,Z)}function C(){E(u)&&E(c)?window.open(E(c)):a().dispatcher&&$()}var P={get id(){return n()},set id(v=""){n(v),we()},get phone(){return r()},set phone(v=void 0){r(v),we()},get address(){return s()},set address(v=void 0){s(v),we()},get email(){return i()},set email(v=void 0){i(v),we()},get site(){return f()},set site(v=void 0){f(v),we()},get social(){return l()},set social(v=void 0){l(v),we()},get config(){return a()},set config(v={icon:{fill:!1},dispatcher:!0,text:!0}){a(v),we()}},se=Ms();us("1t5sqpy",v=>{var Z=$s();w(v,Z)}),se.__click=()=>C();var x=G(se);{var Ge=v=>{var Z=Ts(),at=oe(Z),Kt=G(at);{var Wt=j=>{var he=bs();w(j,he)};O(Kt,j=>{a().icon&&j(Wt)})}J(at);var be=nt(at,2);{var Le=j=>{var he=Es(),ot=G(he,!0);J(he),Ne(()=>lt(ot,s().address)),w(j,he)};O(be,j=>{a().text&&j(Le)})}w(v,Z)},At=v=>{var Z=xt(),at=oe(Z);{var Kt=be=>{var Le=ks(),j=oe(Le),he=G(j);{var ot=U=>{var de=xs();w(U,de)};O(he,U=>{a().icon&&U(ot)})}J(j);var Ee=nt(j,2);{var Ie=U=>{var de=Ss(),ut=G(de,!0);J(de),Ne(()=>lt(ut,r().number)),w(U,de)};O(Ee,U=>{a().text&&U(Ie)})}w(be,Le)},Wt=be=>{var Le=xt(),j=oe(Le);{var he=Ee=>{var Ie=Ns(),U=oe(Ie),de=G(U);{var ut=B=>{var _e=As();w(B,_e)};O(de,B=>{a().icon&&B(ut)})}J(U);var Te=nt(U,2);{var Me=B=>{var _e=Rs(),Fe=G(_e,!0);J(_e),Ne(()=>lt(Fe,i().address)),w(B,_e)};O(Te,B=>{a().text&&B(Me)})}w(Ee,Ie)},ot=Ee=>{var Ie=xt(),U=oe(Ie);{var de=Te=>{var Me=Ps(),B=oe(Me),_e=G(B);{var Fe=ve=>{var qe=Os();w(ve,qe)};O(_e,ve=>{a().icon&&ve(Fe)})}J(B);var Rt=nt(B,2);{var ct=ve=>{var qe=Cs(),zt=G(qe,!0);J(qe),Ne(()=>lt(zt,f().label||f().uri)),w(ve,qe)};O(Rt,ve=>{a().text&&ve(ct)})}w(Te,Me)},ut=Te=>{var Me=xt(),B=oe(Me);{var _e=Fe=>{var Rt=Is(),ct=oe(Rt),ve=G(ct);{var qe=je=>{var Ze=Ds();Ne(()=>_s(Ze,1,`bi bi-${l().name??""}`,"svelte-1t5sqpy")),w(je,Ze)};O(ve,je=>{a().icon&&je(qe)})}J(ct);var zt=nt(ct,2);{var qs=je=>{var Ze=Ls(),js=G(Ze,!0);J(Ze),Ne(()=>lt(js,l().label)),w(je,Ze)};O(zt,je=>{a().text&&je(qs)})}w(Fe,Rt)};O(B,Fe=>{l()&&Fe(_e)},!0)}w(Te,Me)};O(U,Te=>{f()?Te(de):Te(ut,!1)},!0)}w(Ee,Ie)};O(j,Ee=>{i()?Ee(he):Ee(ot,!1)},!0)}w(be,Le)};O(at,be=>{r()?be(Kt):be(Wt,!1)},!0)}w(v,Z)};O(x,v=>{s()?v(Ge):v(At,!1)})}return J(se),Ne(()=>vs(se,E(u)&&E(c)?"cursor:pointer;":"")),w(e,se),on(P)}rs(["click"]),customElements.define("hb-contact-item",ws(zn,{id:{},phone:{},address:{},email:{},site:{},social:{},config:{}},[],[],!0)),Gt.Component=zn,Object.defineProperty(Gt,Symbol.toStringTag,{value:"Module"})})(this["contact-item"]=this["contact-item"]||{});
1
+ (function(Xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Gn=1,Zn=4,Xn=8,Qn=16,er=1,tr=2,Qt="[",Ot="[!",en="]",Be={},k=Symbol(),Ct=!1;var nr=Array.isArray,rr=Array.prototype.indexOf,sr=Array.from,ht=Object.keys,dt=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,ir=Object.prototype,fr=Array.prototype,lr=Object.getPrototypeOf,tn=Object.isExtensible;function ar(e){for(var t=0;t<e.length;t++)e[t]()}function nn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const T=2,Pt=4,Dt=8,ie=16,fe=32,ge=64,_t=128,J=512,A=1024,D=2048,le=4096,Q=8192,ae=16384,vt=32768,Ye=65536,rn=1<<17,Lt=1<<18,ke=1<<19,or=1<<20,Ae=32768,It=1<<21,Mt=1<<22,me=1<<23,pt=Symbol("$state"),sn=Symbol("legacy props"),Ve=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ft=3,He=8;function ur(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function cr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function dr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function _r(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function vr(){throw new Error("https://svelte.dev/e/hydration_failed")}function pr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function gr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function yr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function wr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function gt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function $r(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function ye(e){g=e}let m;function M(e){if(e===null)throw gt(),Be;return m=e}function qt(){return M(G(m))}function K(e){if(g){if(G(m)!==null)throw gt(),Be;m=e}}function br(e=1){if(g){for(var t=e,n=m;t--;)n=G(n);m=n}}function fn(e=!0){for(var t=0,n=m;;){if(n.nodeType===He){var r=n.data;if(r===en){if(t===0)return n;t-=1}else(r===Qt||r===Ot)&&(t+=1)}var i=G(n);e&&n.remove(),n=i}}function Er(e){if(!e||e.nodeType!==He)throw gt(),Be;return e.data}function ln(e){return e===this.v}function Tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function an(e){return!Tr(e,this.v)}let Sr=!1,B=null;function Je(e){B=e}function on(e,t=!1,n){B={p:B,i:!1,c:null,e:null,s:e,x:null,l:null}}function un(e){var t=B,n=t.e;if(n!==null){t.e=null;for(var r of n)kn(r)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,e??{}}function cn(){return!0}let Re=[];function hn(){var e=Re;Re=[],ar(e)}function jt(e){if(Re.length===0&&!Qe){var t=Re;queueMicrotask(()=>{t===Re&&hn()})}Re.push(e)}function xr(){for(;Re.length>0;)hn()}function dn(e){var t=p;if(t===null)return _.f|=me,e;if((t.f&vt)===0){if((t.f&_t)===0)throw e;t.b.error(e)}else Ke(e,t)}function Ke(e,t){for(;t!==null;){if((t.f&_t)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const mt=new Set;let b=null,Y=null,V=[],yt=null,Ut=!1,Qe=!1;class W{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){V=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(b=null,vn(n.render_effects),vn(n.effects),this.#a?.resolve()),Y=null}#f(t,n){t.f^=A;for(var r=t.first;r!==null;){var i=r.f,s=(i&(fe|ge))!==0,f=s&&(i&A)!==0,a=f||(i&Q)!==0||this.skipped_effects.has(r);if((r.f&_t)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){s?r.f^=A:(i&Pt)!==0?n.effects.push(r):it(r)&&((r.f&ie)!==0&&n.block_effects.push(r),ft(r));var l=r.first;if(l!==null){r=l;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&D)!==0?this.#i:this.#s).push(n),this.#o(n.deps),R(n,A)}#o(t){if(t!==null)for(const n of t)(n.f&T)===0||(n.f&Ae)===0||(n.f^=Ae,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&me)===0&&(this.current.set(t,t.v),Y?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,Y=null)}flush(){if(this.activate(),V.length>0){if(_n(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(mt.size>1){this.previous.clear();var t=Y,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of mt){if(s===this){n=!1;continue}const f=[];for(const[l,o]of this.current){if(s.current.has(l))if(n&&o!==s.current.get(l))s.current.set(l,o);else continue;f.push(l)}if(f.length===0)continue;const a=[...s.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var i=V;V=[];const l=new Set,o=new Map;for(const c of f)pn(c,a,l,o);if(V.length>0){b=s,s.apply();for(const c of V)s.#f(c,r);s.deactivate()}V=i}}b=null,Y=t}this.committed=!0,mt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)R(t,D),Ne(t);for(const t of this.#s)R(t,le),Ne(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=nn()).promise}static ensure(){if(b===null){const t=b=new W;mt.add(b),Qe||W.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){jt(t)}apply(){}}function we(e){var t=Qe;Qe=!0;try{for(var n;;){if(xr(),V.length===0&&(b?.flush(),V.length===0))return yt=null,n;_n()}}finally{Qe=t}}function _n(){var e=be;Ut=!0;var t=null;try{var n=0;for(Et(!0);V.length>0;){var r=W.ensure();if(n++>1e3){var i,s;kr()}r.process(V),$e.clear()}}finally{Ut=!1,Et(e),yt=null}}function kr(){try{_r()}catch(e){Ke(e,yt)}}let oe=null;function vn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ae|Q))===0&&it(r)&&(oe=new Set,ft(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?On(r):r.fn=null),oe?.size>0)){$e.clear();for(const i of oe){if((i.f&(ae|Q))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)oe.has(f)&&(oe.delete(f),s.push(f)),f=f.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(ae|Q))===0&&ft(l)}}oe.clear()}}oe=null}}function pn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&T)!==0?pn(i,t,n,r):(s&(Mt|ie))!==0&&(s&D)===0&&gn(i,t,r)&&(R(i,D),Ne(i))}}function gn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&T)!==0&&gn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ne(e){for(var t=yt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut&&t===p&&(n&ie)!==0&&(n&Lt)===0)return;if((n&(ge|fe))!==0){if((n&A)===0)return;t.f^=A}}V.push(t)}function Ar(e){let t=0,n=et(0),r;return()=>{bt()&&(E(n),An(()=>(t===0&&(r=Yn(()=>e(()=>tt(n)))),t+=1,()=>{jt(()=>{t-=1,t===0&&(r?.(),r=void 0,tt(n))})})))}}var Rr=Ye|ke|_t;function Nr(e,t,n){new Or(e,t,n)}class Or{parent;#t=!1;#e;#n=g?m:null;#r;#a;#i;#s=null;#f=null;#l=null;#o=null;#u=null;#c=0;#h=0;#_=!1;#d=null;#y=Ar(()=>(this.#d=et(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=p.b,this.#t=!!this.#r.pending,this.#i=Jt(()=>{if(p.b=this,g){const s=this.#n;qt(),s.nodeType===He&&s.data===Ot?this.#$():this.#w()}else{var i=this.#g();try{this.#s=ce(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Rr),g&&(this.#e=m)}#w(){try{this.#s=ce(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#f=ce(()=>t(this.#e)),W.enqueue(()=>{var n=this.#g();this.#s=this.#v(()=>(W.ensure(),ce(()=>this.#a(n)))),this.#h>0?this.#p():(rt(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=ee(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=p,r=_,i=B;re(this.#i),I(this.#i),Je(this.#i.ctx);try{return t()}catch(s){return dn(s),null}finally{re(n),I(r),Je(i)}}#p(){const t=this.#r.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Dn(this.#s,this.#o)),this.#f===null&&(this.#f=ce(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#f&&rt(this.#f,()=>{this.#f=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#d&&$t(this.#d,this.#c)}get_effect_pending(){return this.#y(),E(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#s&&(L(this.#s),this.#s=null),this.#f&&(L(this.#f),this.#f=null),this.#l&&(L(this.#l),this.#l=null),g&&(M(this.#n),br(),M(fn()));var i=!1,s=!1;const f=()=>{if(i){$r();return}i=!0,s&&wr(),W.ensure(),this.#c=0,this.#l!==null&&rt(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,ce(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var a=_;try{I(null),s=!0,n?.(t,f),s=!1}catch(l){Ke(l,this.#i&&this.#i.parent)}finally{I(a)}r&&jt(()=>{this.#l=this.#v(()=>{W.ensure(),this.#_=!0;try{return ce(()=>{r(this.#e,()=>t,()=>f)})}catch(l){return Ke(l,this.#i.parent),null}finally{this.#_=!1}})})}}function Cr(e,t,n,r){const i=Bt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,f=p,a=Pr();function l(){Promise.all(n.map(o=>Dr(o))).then(o=>{a();try{r([...t.map(i),...o])}catch(c){(f.f&ae)===0&&Ke(c,f)}s?.deactivate(),wt()}).catch(o=>{Ke(o,f)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{s?.deactivate(),wt()}}):l()}function Pr(){var e=p,t=_,n=B,r=b;return function(s=!0){re(e),I(t),Je(n),s&&r?.activate()}}function wt(){re(null),I(null),Je(null)}function Bt(e){var t=T|D,n=_!==null&&(_.f&T)!==0?_:null;return p!==null&&(p.f|=ke),{ctx:B,deps:null,effects:null,equals:ln,f:t,fn:e,reactions:null,rv:0,v:k,wv:0,parent:n??p,ac:null}}function Dr(e,t){let n=p;n===null&&ur();var r=n.b,i=void 0,s=et(k),f=!_,a=new Map;return Wr(()=>{var l=nn();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{o===b&&o.committed&&o.deactivate(),wt()})}catch(u){l.reject(u),wt()}var o=b;if(f){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),a.get(o)?.reject(Ve),a.delete(o),a.set(o,l)}const h=(u,d=void 0)=>{if(o.activate(),d)d!==Ve&&(s.f|=me,$t(s,d));else{(s.f&me)!==0&&(s.f^=me),$t(s,u);for(const[$,C]of a){if(a.delete($),$===o)break;C.reject(Ve)}}f&&(r.update_pending_count(-1),o.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),Yr(()=>{for(const l of a.values())l.reject(Ve)}),new Promise(l=>{function o(c){function h(){c===i?l(s):o(i)}c.then(h,h)}o(i)})}function Lr(e){const t=Bt(e);return t.equals=an,t}function mn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Ir(e){for(var t=e.parent;t!==null;){if((t.f&T)===0)return(t.f&ae)===0?t:null;t=t.parent}return null}function Yt(e){var t,n=p;re(Ir(e));try{e.f&=~Ae,mn(e),t=jn(e)}finally{re(n)}return t}function yn(e){var t=Yt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=Fn()),!Pe)if(Y!==null)bt()&&Y.set(e,t);else{var n=(e.f&J)===0?le:A;R(e,n)}}let Vt=new Set;const $e=new Map;let wn=!1;function et(e,t){var n={f:0,v:e,reactions:null,equals:ln,rv:0,wv:0};return n}function z(e,t){const n=et(e);return Qr(n),n}function Mr(e,t=!1,n=!0){const r=et(e);return t||(r.equals=an),r}function y(e,t,n=!1){_!==null&&(!ne||(_.f&rn)!==0)&&cn()&&(_.f&(T|ie|Mt|rn))!==0&&!he?.includes(e)&&yr();let r=n?We(t):t;return $t(e,r)}function $t(e,t){if(!e.equals(t)){var n=e.v;Pe?$e.set(e,t):$e.set(e,n),e.v=t;var r=W.ensure();r.capture(e,n),(e.f&T)!==0&&((e.f&D)!==0&&Yt(e),R(e,(e.f&J)!==0?A:le)),e.wv=Fn(),$n(e,D),p!==null&&(p.f&A)!==0&&(p.f&(fe|ge))===0&&(H===null?es([e]):H.push(e)),!r.is_fork&&Vt.size>0&&!wn&&Fr()}return t}function Fr(){wn=!1;var e=be;Et(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&A)!==0&&R(n,le),it(n)&&ft(n)}finally{Et(e)}Vt.clear()}function tt(e){y(e,e.v+1)}function $n(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,a=(f&D)===0;if(a&&R(s,t),(f&T)!==0){var l=s;Y?.delete(l),(f&Ae)===0&&(f&J&&(s.f|=Ae),$n(l,le))}else a&&((f&ie)!==0&&oe!==null&&oe.add(s),Ne(s))}}function We(e){if(typeof e!="object"||e===null||pt in e)return e;const t=lr(e);if(t!==ir&&t!==fr)return e;var n=new Map,r=nr(e),i=z(0),s=De,f=a=>{if(De===s)return a();var l=_,o=De;I(null),Mn(s);var c=a();return I(l),Mn(o),c};return r&&n.set("length",z(e.length)),new Proxy(e,{defineProperty(a,l,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&gr();var c=n.get(l);return c===void 0?c=f(()=>{var h=z(o.value);return n.set(l,h),h}):y(c,o.value,!0),!0},deleteProperty(a,l){var o=n.get(l);if(o===void 0){if(l in a){const c=f(()=>z(k));n.set(l,c),tt(i)}}else y(o,k),tt(i);return!0},get(a,l,o){if(l===pt)return e;var c=n.get(l),h=l in a;if(c===void 0&&(!h||xe(a,l)?.writable)&&(c=f(()=>{var d=We(h?a[l]:k),$=z(d);return $}),n.set(l,c)),c!==void 0){var u=E(c);return u===k?void 0:u}return Reflect.get(a,l,o)},getOwnPropertyDescriptor(a,l){var o=Reflect.getOwnPropertyDescriptor(a,l);if(o&&"value"in o){var c=n.get(l);c&&(o.value=E(c))}else if(o===void 0){var h=n.get(l),u=h?.v;if(h!==void 0&&u!==k)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(a,l){if(l===pt)return!0;var o=n.get(l),c=o!==void 0&&o.v!==k||Reflect.has(a,l);if(o!==void 0||p!==null&&(!c||xe(a,l)?.writable)){o===void 0&&(o=f(()=>{var u=c?We(a[l]):k,d=z(u);return d}),n.set(l,o));var h=E(o);if(h===k)return!1}return c},set(a,l,o,c){var h=n.get(l),u=l in a;if(r&&l==="length")for(var d=o;d<h.v;d+=1){var $=n.get(d+"");$!==void 0?y($,k):d in a&&($=f(()=>z(k)),n.set(d+"",$))}if(h===void 0)(!u||xe(a,l)?.writable)&&(h=f(()=>z(void 0)),y(h,We(o)),n.set(l,h));else{u=h.v!==k;var C=f(()=>We(o));y(h,C)}var P=Reflect.getOwnPropertyDescriptor(a,l);if(P?.set&&P.set.call(c,o),!u){if(r&&typeof l=="string"){var se=n.get("length"),x=Number(l);Number.isInteger(x)&&x>=se.v&&y(se,x+1)}tt(i)}return!0},ownKeys(a){E(i);var l=Reflect.ownKeys(a).filter(h=>{var u=n.get(h);return u===void 0||u.v!==k});for(var[o,c]of n)c.v!==k&&!(o in a)&&l.push(o);return l},setPrototypeOf(){mr()}})}var bn,En,Tn,Sn;function Ht(){if(bn===void 0){bn=window,En=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Tn=xe(t,"firstChild").get,Sn=xe(t,"nextSibling").get,tn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),tn(n)&&(n.__t=void 0)}}function ee(e=""){return document.createTextNode(e)}function Oe(e){return Tn.call(e)}function G(e){return Sn.call(e)}function Z(e,t){if(!g)return Oe(e);var n=Oe(m);if(n===null)n=m.appendChild(ee());else if(t&&n.nodeType!==Ft){var r=ee();return n?.before(r),M(r),r}return M(n),n}function ue(e,t=!1){if(!g){var n=Oe(e);return n instanceof Comment&&n.data===""?G(n):n}if(t&&m?.nodeType!==Ft){var r=ee();return m?.before(r),M(r),r}return m}function nt(e,t=1,n=!1){let r=g?m:e;for(var i;t--;)i=r,r=G(r);if(!g)return r;if(n&&r?.nodeType!==Ft){var s=ee();return r===null?i?.after(s):r.before(s),M(s),s}return M(r),r}function qr(e){e.textContent=""}function jr(){return!1}function xn(e){var t=_,n=p;I(null),re(null);try{return e()}finally{I(t),re(n)}}function Ur(e){p===null&&(_===null&&dr(),hr()),Pe&&cr()}function Br(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n){var r=p;r!==null&&(r.f&Q)!==0&&(e|=Q);var i={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|D|J,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ft(i),i.f|=vt}catch(a){throw L(i),a}else t!==null&&Ne(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ke)===0&&(s=s.first,(e&ie)!==0&&(e&Ye)!==0&&s!==null&&(s.f|=Ye)),s!==null&&(s.parent=r,r!==null&&Br(s,r),_!==null&&(_.f&T)!==0&&(e&ge)===0)){var f=_;(f.effects??=[]).push(s)}return i}function bt(){return _!==null&&!ne}function Yr(e){const t=te(Dt,null,!1);return R(t,A),t.teardown=e,t}function Vr(e){Ur();var t=p.f,n=!_&&(t&fe)!==0&&(t&vt)===0;if(n){var r=B;(r.e??=[]).push(e)}else return kn(e)}function kn(e){return te(Pt|or,e,!1)}function Hr(e){W.ensure();const t=te(ge|ke,e,!0);return()=>{L(t)}}function Jr(e){W.ensure();const t=te(ge|ke,e,!0);return(n={})=>new Promise(r=>{n.outro?rt(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function Kr(e){return te(Pt,e,!1)}function Wr(e){return te(Mt|ke,e,!0)}function An(e,t=0){return te(Dt|t,e,!0)}function Ce(e,t=[],n=[],r=[]){Cr(r,t,n,i=>{te(Dt,()=>e(...i.map(E)),!0)})}function Jt(e,t=0){var n=te(ie|t,e,!0);return n}function ce(e){return te(fe|ke,e,!0)}function Rn(e){var t=e.teardown;if(t!==null){const n=Pe,r=_;Ln(!0),I(null);try{t.call(null)}finally{Ln(n),I(r)}}}function Nn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&xn(()=>{i.abort(Ve)});var r=n.next;(n.f&ge)!==0?n.parent=null:L(n,t),n=r}}function zr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&fe)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&Lt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Gr(e.nodes_start,e.nodes_end),n=!0),Nn(e,t&&!n),Tt(e,0),R(e,ae);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Rn(e);var i=e.parent;i!==null&&i.first!==null&&On(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Gr(e,t){for(;e!==null;){var n=e===t?null:G(e);e.remove(),e=n}}function On(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function rt(e,t,n=!0){var r=[];Cn(e,r,!0),Zr(r,()=>{n&&L(e),t&&t()})}function Zr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Cn(e,t,n){if((e.f&Q)===0){if(e.f^=Q,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ye)!==0||(r.f&fe)!==0&&(e.f&ie)!==0;Cn(r,t,s?n:!1),r=i}}}function Xr(e){Pn(e,!0)}function Pn(e,t){if((e.f&Q)!==0){e.f^=Q,(e.f&A)===0&&(R(e,D),Ne(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ye)!==0||(n.f&fe)!==0;Pn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Dn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:G(n);t.append(n),n=i}}let be=!1;function Et(e){be=e}let Pe=!1;function Ln(e){Pe=e}let _=null,ne=!1;function I(e){_=e}let p=null;function re(e){p=e}let he=null;function Qr(e){_!==null&&(he===null?he=[e]:he.push(e))}let N=null,F=0,H=null;function es(e){H=e}let In=1,st=0,De=st;function Mn(e){De=e}function Fn(){return++In}function it(e){var t=e.f;if((t&D)!==0)return!0;if(t&T&&(e.f&=~Ae),(t&le)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(it(s)&&yn(s),s.wv>e.wv)return!0}(t&J)!==0&&Y===null&&R(e,A)}return!1}function qn(e,t,n=!0){var r=e.reactions;if(r!==null&&!he?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&T)!==0?qn(s,t,!1):t===s&&(n?R(s,D):(s.f&A)!==0&&R(s,le),Ne(s))}}function jn(e){var t=N,n=F,r=H,i=_,s=he,f=B,a=ne,l=De,o=e.f;N=null,F=0,H=null,_=(o&(fe|ge))===0?e:null,he=null,Je(e.ctx),ne=!1,De=++st,e.ac!==null&&(xn(()=>{e.ac.abort(Ve)}),e.ac=null);try{e.f|=It;var c=e.fn,h=c(),u=e.deps;if(N!==null){var d;if(Tt(e,F),u!==null&&F>0)for(u.length=F+N.length,d=0;d<N.length;d++)u[F+d]=N[d];else e.deps=u=N;if(be&&bt()&&(e.f&J)!==0)for(d=F;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&F<u.length&&(Tt(e,F),u.length=F);if(cn()&&H!==null&&!ne&&u!==null&&(e.f&(T|le|D))===0)for(d=0;d<H.length;d++)qn(H[d],e);return i!==null&&i!==e&&(st++,H!==null&&(r===null?r=H:r.push(...H))),(e.f&me)!==0&&(e.f^=me),h}catch($){return dn($)}finally{e.f^=It,N=t,F=n,H=r,_=i,he=s,Je(f),ne=a,De=l}}function ts(e,t){let n=t.reactions;if(n!==null){var r=rr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&T)!==0&&(N===null||!N.includes(t))&&(R(t,le),(t.f&J)!==0&&(t.f^=J,t.f&=~Ae),mn(t),Tt(t,0))}function Tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ts(e,n[r])}function ft(e){var t=e.f;if((t&ae)===0){R(e,A);var n=p,r=be;p=e,be=!0;try{(t&ie)!==0?zr(e):Nn(e),Rn(e);var i=jn(e);e.teardown=typeof i=="function"?i:null,e.wv=In;var s;Ct&&Sr&&(e.f&D)!==0&&e.deps}finally{be=r,p=n}}}function E(e){var t=e.f,n=(t&T)!==0;if(_!==null&&!ne){var r=p!==null&&(p.f&ae)!==0;if(!r&&!he?.includes(e)){var i=_.deps;if((_.f&It)!==0)e.rv<st&&(e.rv=st,N===null&&i!==null&&i[F]===e?F++:N===null?N=[e]:N.includes(e)||N.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(Pe){if($e.has(e))return $e.get(e);if(n){var f=e,a=f.v;return((f.f&A)===0&&f.reactions!==null||Bn(f))&&(a=Yt(f)),$e.set(f,a),a}}else n&&!Y?.has(e)&&(f=e,it(f)&&yn(f),be&&bt()&&(f.f&J)===0&&Un(f));if(Y?.has(e))return Y.get(e);if((e.f&me)!==0)throw e.v;return e.v}function Un(e){if(e.deps!==null){e.f^=J;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&T)!==0&&(t.f&J)===0&&Un(t)}}function Bn(e){if(e.v===k)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&T)!==0&&Bn(t))return!0;return!1}function Yn(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const ns=-7169;function R(e,t){e.f=e.f&ns|t}const Vn=new Set,Kt=new Set;function rs(e){for(var t=0;t<e.length;t++)Vn.add(e[t]);for(var n of Kt)n(e)}let Hn=null;function St(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Hn=e;var f=0,a=Hn===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;l<=o&&(f=l)}if(s=i[f]||e.target,s!==t){dt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=_,h=p;I(null),re(null);try{for(var u,d=[];s!==null;){var $=s.assignedSlot||s.parentNode||s.host||null;try{var C=s["__"+r];C!=null&&(!s.disabled||e.target===s)&&C.call(s,e)}catch(P){u?d.push(P):u=P}if(e.cancelBubble||$===t||$===null)break;s=$}if(u){for(let P of d)queueMicrotask(()=>{throw P});throw u}}finally{e.__root=t,delete e.currentTarget,I(c),re(h)}}}function ss(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ze(e,t){var n=p;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function S(e,t){var n=(t&er)!==0,r=(t&tr)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return ze(m,null),m;i===void 0&&(i=ss(s?e:"<!>"+e),n||(i=Oe(i)));var f=r||En?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Oe(f),l=f.lastChild;ze(a,l)}else ze(f,f);return f}}function xt(){if(g)return ze(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),n=ee();return e.append(t,n),ze(t,n),e}function w(e,t){if(g){var n=p;((n.f&vt)===0||n.nodes_end===null)&&(n.nodes_end=m),qt();return}e!==null&&e.before(t)}const is=["touchstart","touchmove"];function fs(e){return is.includes(e)}function lt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Jn(e,t){return Kn(e,t)}function ls(e,t){Ht(),t.intro=t.intro??!1;const n=t.target,r=g,i=m;try{for(var s=Oe(n);s&&(s.nodeType!==He||s.data!==Qt);)s=G(s);if(!s)throw Be;ye(!0),M(s);const f=Kn(e,{...t,anchor:s});return ye(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw f;return f!==Be&&console.warn("Failed to hydrate: ",f),t.recover===!1&&vr(),Ht(),qr(n),ye(!1),Jn(e,t)}finally{ye(r),M(i)}}const Ge=new Map;function Kn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0}){Ht();var a=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!a.has(d)){a.add(d);var $=fs(d);t.addEventListener(d,St,{passive:$});var C=Ge.get(d);C===void 0?(document.addEventListener(d,St,{passive:$}),Ge.set(d,1)):Ge.set(d,C+1)}}};l(sr(Vn)),Kt.add(l);var o=void 0,c=Jr(()=>{var h=n??t.appendChild(ee());return Nr(h,{pending:()=>{}},u=>{if(s){on({});var d=B;d.c=s}if(i&&(r.$$events=i),g&&ze(u,null),o=e(u,r)||{},g&&(p.nodes_end=m,m===null||m.nodeType!==He||m.data!==en))throw gt(),Be;s&&un()}),()=>{for(var u of a){t.removeEventListener(u,St);var d=Ge.get(u);--d===0?(document.removeEventListener(u,St),Ge.delete(u)):Ge.set(u,d)}Kt.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return Wt.set(o,c),o}let Wt=new WeakMap;function as(e,t){const n=Wt.get(e);return n?(Wt.delete(e),n(t)):Promise.resolve()}class os{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#i=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Xr(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#n.get(f);a&&(L(a.effect),this.#n.delete(f))}for(const[s,f]of this.#e){if(s===n||this.#r.has(s))continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();Dn(f,o),o.append(ee()),this.#n.set(s,{effect:f,fragment:o})}else L(f);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),rt(f,a,!1)):a()}}};#s=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(L(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=jr();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),f=ee();s.append(f),this.#n.set(t,{effect:ce(()=>n(f)),fragment:s})}else this.#e.set(t,ce(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[a,l]of this.#e)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#n)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#i),r.ondiscard(this.#s)}else g&&(this.anchor=m),this.#i()}}function O(e,t,n=!1){g&&qt();var r=new os(e),i=n?Ye:0;function s(f,a){if(g){const o=Er(e)===Ot;if(f===o){var l=fn();M(l),r.anchor=l,ye(!1),r.ensure(f,a),ye(!0);return}}r.ensure(f,a)}Jt(()=>{var f=!1;t((a,l=!0)=>{f=!0,s(l,a)}),f||s(!1,null)},i)}function us(e,t){let n=null,r=g;var i;if(g){n=m;for(var s=Oe(document.head);s!==null&&(s.nodeType!==He||s.data!==e);)s=G(s);if(s===null)ye(!1);else{var f=G(s);s.remove(),M(f)}}g||(i=document.head.appendChild(ee()));try{Jt(()=>t(i),Lt)}finally{r&&(ye(!0),M(n))}}function cs(e,t){Kr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function hs(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ds(e,t){return e==null?null:String(e)}function _s(e,t,n,r,i,s){var f=e.__className;if(g||f!==n||f===void 0){var a=hs(n,r);(!g||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return s}function vs(e,t,n,r){var i=e.__style;if(g||i!==t){var s=ds(t);(!g||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}let kt=!1;function ps(e){var t=kt;try{return kt=!1,[e(),kt]}finally{kt=t}}function Le(e,t,n,r){var i=(n&Xn)!==0,s=(n&Qn)!==0,f=r,a=!0,l=()=>(a&&(a=!1,f=s?Yn(r):r),f),o;if(i){var c=pt in e||sn in e;o=xe(e,t)?.set??(c&&t in e?x=>e[t]=x:void 0)}var h,u=!1;i?[h,u]=ps(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=l(),o&&(pr(),o(h)));var d;if(d=()=>{var x=e[t];return x===void 0?l():(a=!0,x)},(n&Zn)===0)return d;if(o){var $=e.$$legacy;return(function(x,Ze){return arguments.length>0?((!Ze||$||u)&&o(Ze?d():x),x):d()})}var C=!1,P=((n&Gn)!==0?Bt:Lr)(()=>(C=!1,d()));i&&E(P);var se=p;return(function(x,Ze){if(arguments.length>0){const Rt=Ze?E(P):i?We(x):x;return y(P,Rt),C=!0,f!==void 0&&(f=Rt),x}return Pe&&C||(se.f&ae)!==0?P.v:E(P)})}function gs(e){return new ms(e)}class ms{#t;#e;constructor(t){var n=new Map,r=(s,f)=>{var a=Mr(f,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return E(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===sn?!0:(E(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,a){return y(n.get(f)??r(f,a),a),Reflect.set(s,f,a)}});this.#e=(t.hydrate?ls:Jn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&we(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||dt(this,s,{get(){return this.#e[s]},set(f){this.#e[s]=f},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{as(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Wn;typeof HTMLElement=="function"&&(Wn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),w(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ys(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=At(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=gs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Hr(()=>{An(()=>{this.$$r=!0;for(const r of ht(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=At(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=At(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ht(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function At(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ys(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function ws(e,t,n,r,i,s){let f=class extends Wn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ht(t).map(a=>(t[a].attribute||a).toLowerCase())}};return ht(t).forEach(a=>{dt(f.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=At(a,l,t),this.$$d[a]=l;var o=this.$$c;if(o){var c=xe(o,a)?.get;c?o[a]=l:o.$set({[a]:l})}}})}),r.forEach(a=>{dt(f.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=f,f}var $s=S('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),bs=S('<i class="bi bi-geo-alt"></i>'),Es=S('<span class="prop" part="prop" property="address"> </span>'),Ts=S('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ss=S('<i class="bi bi-telephone"></i>'),xs=S('<span class="prop" part="prop" property="telephone"> </span>'),ks=S('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),As=S('<i class="bi bi-envelope"></i>'),Rs=S('<span class="prop" part="prop" property="address"> </span>'),Ns=S('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Os=S('<i class="bi bi-globe"></i>'),Cs=S('<span class="prop" part="prop" property="address"> </span>'),Ps=S('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ds=S("<i></i>"),Ls=S('<span class="prop" part="prop" property="address"> </span>'),Is=S('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ms=S("<span><!></span>");const Fs={hash:"svelte-1t5sqpy",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
+ @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}.iconcell.svelte-1t5sqpy {margin-right:5px;}`};function zn(e,t){on(t,!0),cs(e,Fs);let n=Le(t,"id",7,""),r=Le(t,"phone",7,void 0),i=Le(t,"address",7,void 0),s=Le(t,"email",7,void 0),f=Le(t,"site",7,void 0),a=Le(t,"social",7,void 0),l=Le(t,"config",23,()=>({icon:{fill:!1},dispatcher:!0,text:!0})),o,c=z(void 0),h=z(void 0),u=z(!1);Vr(()=>{if(typeof l()=="string")try{l(JSON.parse(l()))}catch{}if(l().icon||(l().icon={fill:!1}),l().text!==!1&&(l().text=!0),l().dispatcher!==!1&&(l().dispatcher=!0),r()){o="phone",y(c,r(),!0);try{r(JSON.parse(r()))}catch{}}else if(a()){o="social",y(c,a(),!0);try{a(JSON.parse(a()))}catch{}a()?.pageUri&&(y(u,!0),y(h,a().pageUri,!0))}else if(i()){o="address",y(c,i(),!0);try{i(JSON.parse(i()))}catch{}(i()?.mapUri||i()?.latLang)&&(y(u,!0),i().latLang&&y(h,`https://maps.google.com?lat=${i().latLang[0]}&lng=${i().latLang[1]}`),i().mapUri&&y(h,i().mapUri,!0))}else if(s()){o="email",y(c,s(),!0);try{s(JSON.parse(s()))}catch{}s()?.mailLink&&(y(u,!0),y(h,s().address,!0))}else if(f()){o="site",y(c,f(),!0);try{f(JSON.parse(f()))}catch{}f()?.open&&f()?.uri&&(y(u,!0),y(h,f().uri,!0))}});function d(v,X){t.$$host.dispatchEvent(new CustomEvent(v,{detail:X}))}function $(){const v="contactClick",X={action:o,options:E(c)};d(v,X)}function C(){E(u)&&E(h)?window.open(E(h)):l().dispatcher&&$()}var P={get id(){return n()},set id(v=""){n(v),we()},get phone(){return r()},set phone(v=void 0){r(v),we()},get address(){return i()},set address(v=void 0){i(v),we()},get email(){return s()},set email(v=void 0){s(v),we()},get site(){return f()},set site(v=void 0){f(v),we()},get social(){return a()},set social(v=void 0){a(v),we()},get config(){return l()},set config(v={icon:{fill:!1},dispatcher:!0,text:!0}){l(v),we()}},se=Ms();us("1t5sqpy",v=>{var X=$s();w(v,X)}),se.__click=()=>C();var x=Z(se);{var Ze=v=>{var X=Ts(),at=ue(X),zt=Z(at);{var Gt=q=>{var de=bs();w(q,de)};O(zt,q=>{l().icon&&q(Gt)})}K(at);var Ee=nt(at,2);{var Ie=q=>{var de=Es(),ot=Z(de,!0);K(de),Ce(()=>lt(ot,i().address)),w(q,de)};O(Ee,q=>{l().text&&q(Ie)})}w(v,X)},Rt=v=>{var X=xt(),at=ue(X);{var zt=Ee=>{var Ie=ks(),q=ue(Ie),de=Z(q);{var ot=j=>{var _e=Ss();w(j,_e)};O(de,j=>{l().icon&&j(ot)})}K(q);var Te=nt(q,2);{var Me=j=>{var _e=xs(),ut=Z(_e,!0);K(_e),Ce(()=>lt(ut,r().number)),w(j,_e)};O(Te,j=>{l().text&&j(Me)})}w(Ee,Ie)},Gt=Ee=>{var Ie=xt(),q=ue(Ie);{var de=Te=>{var Me=Ns(),j=ue(Me),_e=Z(j);{var ut=U=>{var ve=As();w(U,ve)};O(_e,U=>{l().icon&&U(ut)})}K(j);var Se=nt(j,2);{var Fe=U=>{var ve=Rs(),qe=Z(ve,!0);K(ve),Ce(()=>lt(qe,s().address)),w(U,ve)};O(Se,U=>{l().text&&U(Fe)})}w(Te,Me)},ot=Te=>{var Me=xt(),j=ue(Me);{var _e=Se=>{var Fe=Ps(),U=ue(Fe),ve=Z(U);{var qe=pe=>{var je=Os();w(pe,je)};O(ve,pe=>{l().icon&&pe(qe)})}K(U);var Nt=nt(U,2);{var ct=pe=>{var je=Cs(),Zt=Z(je,!0);K(je),Ce(()=>lt(Zt,f().label||f().uri)),w(pe,je)};O(Nt,pe=>{l().text&&pe(ct)})}w(Se,Fe)},ut=Se=>{var Fe=xt(),U=ue(Fe);{var ve=qe=>{var Nt=Is(),ct=ue(Nt),pe=Z(ct);{var je=Ue=>{var Xe=Ds();Ce(()=>_s(Xe,1,`bi bi-${a().name??""}`,"svelte-1t5sqpy")),w(Ue,Xe)};O(pe,Ue=>{l().icon&&Ue(je)})}K(ct);var Zt=nt(ct,2);{var qs=Ue=>{var Xe=Ls(),js=Z(Xe,!0);K(Xe),Ce(()=>lt(js,a().label)),w(Ue,Xe)};O(Zt,Ue=>{l().text&&Ue(qs)})}w(qe,Nt)};O(U,qe=>{a()&&qe(ve)},!0)}w(Se,Fe)};O(j,Se=>{f()?Se(_e):Se(ut,!1)},!0)}w(Te,Me)};O(q,Te=>{s()?Te(de):Te(ot,!1)},!0)}w(Ee,Ie)};O(at,Ee=>{r()?Ee(zt):Ee(Gt,!1)},!0)}w(v,X)};O(x,v=>{i()?v(Ze):v(Rt,!1)})}return K(se),Ce(()=>vs(se,E(u)&&E(h)?"cursor:pointer;":"")),w(e,se),un(P)}rs(["click"]),customElements.define("hb-contact-item",ws(zn,{id:{},phone:{},address:{},email:{},site:{},social:{},config:{}},[],[],!0)),Xt.Component=zn,Object.defineProperty(Xt,Symbol.toStringTag,{value:"Module"})})(this["contact-item"]=this["contact-item"]||{});
4
4
  //# sourceMappingURL=main.iife.js.map