@htmlbricks/hb-site-contacts-row 0.66.3 → 0.66.5

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,9 +1,9 @@
1
- (function(pr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Rn=1,On=2,gr=4,Mn=8,Dn=16,Ln=1,Pn=2,wr="[",Kt="[!",br="[?",Xt="]",dt={},re=Symbol(),mr="http://www.w3.org/1999/xhtml",In=!1;var yr=Array.isArray,Fn=Array.prototype.indexOf,ht=Array.prototype.includes,Mt=Array.from,Dt=Object.keys,Lt=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,jn=Object.getOwnPropertyDescriptors,zn=Object.prototype,Hn=Array.prototype,$r=Object.getPrototypeOf,Er=Object.isExtensible;const qn=()=>{};function Vn(e){for(var t=0;t<e.length;t++)e[t]()}function xr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const ee=2,pt=4,Pt=8,Tr=1<<24,ze=16,Ee=32,He=64,Zt=128,de=512,K=1024,se=2048,Se=4096,ue=8192,he=16384,qe=32768,kr=1<<25,gt=65536,Sr=1<<17,Nr=1<<18,Ve=1<<19,Bn=1<<20,Ne=1<<25,nt=65536,Qt=1<<21,er=1<<22,Be=1<<23,tr=Symbol("$state"),Yn=Symbol("legacy props"),Le=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Un=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Et=3,wt=8;function Jn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Wn(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Gn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Kn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Xn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Zn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Qn(){throw new Error("https://svelte.dev/e/hydration_failed")}function ei(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ti(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ri(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ni(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function It(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ii(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let F=!1;function xe(e){F=e}let L;function ne(e){if(e===null)throw It(),dt;return L=e}function Ft(){return ne(pe(L))}function d(e){if(F){if(pe(L)!==null)throw It(),dt;L=e}}function si(e=1){if(F){for(var t=e,r=L;t--;)r=pe(r);L=r}}function jt(e=!0){for(var t=0,r=L;;){if(r.nodeType===wt){var n=r.data;if(n===Xt){if(t===0)return r;t-=1}else(n===wr||n===Kt||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=pe(r);e&&r.remove(),r=i}}function Ar(e){if(!e||e.nodeType!==wt)throw It(),dt;return e.data}function Cr(e){return e===this.v}function li(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Rr(e){return!li(e,this.v)}let ai=!1,_e=null;function bt(e){_e=e}function Or(e,t=!1,r){_e={p:_e,i:!1,c:null,e:null,s:e,x:null,r:D,l:null}}function Mr(e){var t=_e,r=t.e;if(r!==null){t.e=null;for(var n of r)sn(n)}return e!==void 0&&(t.x=e),t.i=!0,_e=t.p,e??{}}function Dr(){return!0}let it=[];function Lr(){var e=it;it=[],Vn(e)}function st(e){if(it.length===0&&!xt){var t=it;queueMicrotask(()=>{t===it&&Lr()})}it.push(e)}function oi(){for(;it.length>0;)Lr()}function Pr(e){var t=D;if(t===null)return R.f|=Be,e;if((t.f&qe)===0&&(t.f&pt)===0)throw e;Ye(e,t)}function Ye(e,t){for(;t!==null;){if((t.f&Zt)!==0){if((t.f&qe)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const fi=-7169;function G(e,t){e.f=e.f&fi|t}function rr(e){(e.f&de)!==0||e.deps===null?G(e,K):G(e,Se)}function Ir(e){if(e!==null)for(const t of e)(t.f&ee)===0||(t.f&nt)===0||(t.f^=nt,Ir(t.deps))}function Fr(e,t,r){(e.f&se)!==0?t.add(e):(e.f&Se)!==0&&r.add(e),Ir(e.deps),G(e,K)}const Ue=new Set;let V=null,Te=null,nr=null,xt=!1,ir=!1,mt=null,zt=null;var jr=0;let ui=1;class Pe{id=ui++;current=new Map;previous=new Map;#e=new Set;#r=new Set;#t=new Map;#i=new Map;#s=null;#n=[];#l=new Set;#a=new Set;#o=new Map;is_fork=!1;#c=!1;#f=new Set;#v(){return this.is_fork||this.#i.size>0}#h(){for(const n of this.#f)for(const i of n.#i.keys()){for(var t=!1,r=i;r.parent!==null;){if(this.#o.has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var r=this.#o.get(t);if(r){this.#o.delete(t);for(var n of r.d)G(n,se),this.schedule(n);for(n of r.m)G(n,Se),this.schedule(n)}}#d(){if(jr++>1e3&&(Ue.delete(this),ci()),!this.#v()){for(const a of this.#l)this.#a.delete(a),G(a,se),this.schedule(a);for(const a of this.#a)G(a,Se),this.schedule(a)}const t=this.#n;this.#n=[],this.apply();var r=mt=[],n=[],i=zt=[];for(const a of t)try{this.#u(a,r,n)}catch(o){throw Br(a),o}if(V=null,i.length>0){var s=Pe.ensure();for(const a of i)s.schedule(a)}if(mt=null,zt=null,this.#v()||this.#h()){this.#_(n),this.#_(r);for(const[a,o]of this.#o)Vr(a,o)}else{this.#t.size===0&&Ue.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),zr(n),zr(r),this.#s?.resolve()}var l=V;if(this.#n.length>0){const a=l??=this;a.#n.push(...this.#n.filter(o=>!a.#n.includes(o)))}l!==null&&(Ue.add(l),l.#d()),Ue.has(this)||this.#p()}#u(t,r,n){t.f^=K;for(var i=t.first;i!==null;){var s=i.f,l=(s&(Ee|He))!==0,a=l&&(s&K)!==0,o=a||(s&ue)!==0||this.#o.has(i);if(!o&&i.fn!==null){l?i.f^=K:(s&pt)!==0?r.push(i):St(i)&&((s&ze)!==0&&this.#a.add(i),$t(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var r=0;r<t.length;r+=1)Fr(t[r],this.#l,this.#a)}capture(t,r,n=!1){r!==re&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&Be)===0&&(this.current.set(t,[t.v,n]),Te?.set(t,t.v))}activate(){V=this}deactivate(){V=null,Te=null}flush(){try{ir=!0,V=this,this.#d()}finally{jr=0,nr=null,mt=null,zt=null,ir=!1,V=null,Te=null,Ge.clear()}}discard(){for(const t of this.#r)t(this);this.#r.clear(),Ue.delete(this)}#p(){for(const f of Ue){var t=f.id<this.id,r=[];for(const[u,[b,c]]of this.current){if(f.current.has(u)){var n=f.current.get(u)[0];if(t&&b!==n)f.current.set(u,[b,c]);else continue}r.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(r.length>0){f.activate();var s=new Set,l=new Map;for(var a of r)Hr(a,i,s,l);if(f.#n.length>0){f.apply();for(var o of f.#n)f.#u(o,[],[]);f.#n=[]}f.deactivate()}}for(const f of Ue)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#v()&&(f.activate(),f.#d()))}increment(t,r){let n=this.#t.get(r)??0;if(this.#t.set(r,n+1),t){let i=this.#i.get(r)??0;this.#i.set(r,i+1)}}decrement(t,r,n){let i=this.#t.get(r)??0;if(i===1?this.#t.delete(r):this.#t.set(r,i-1),t){let s=this.#i.get(r)??0;s===1?this.#i.delete(r):this.#i.set(r,s-1)}this.#c||n||(this.#c=!0,st(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,r){for(const n of t)this.#l.add(n);for(const n of r)this.#a.add(n);t.clear(),r.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=xr()).promise}static ensure(){if(V===null){const t=V=new Pe;ir||(Ue.add(V),xt||st(()=>{V===t&&t.flush()}))}return V}apply(){{Te=null;return}}schedule(t){if(nr=t,t.b?.is_pending&&(t.f&(pt|Pt|Tr))!==0&&(t.f&qe)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(mt!==null&&r===D&&(R===null||(R.f&ee)===0))return;if((n&(He|Ee))!==0){if((n&K)===0)return;r.f^=K}}this.#n.push(r)}}function Je(e){var t=xt;xt=!0;try{for(var r;;){if(oi(),V===null)return r;V.flush()}}finally{xt=t}}function ci(){try{Zn()}catch(e){Ye(e,nr)}}let Ie=null;function zr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(he|ue))===0&&St(n)&&(Ie=new Set,$t(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&on(n),Ie?.size>0)){Ge.clear();for(const i of Ie){if((i.f&(he|ue))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)Ie.has(l)&&(Ie.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(he|ue))===0&&$t(o)}}Ie.clear()}}Ie=null}}function Hr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&ee)!==0?Hr(i,t,r,n):(s&(er|ze))!==0&&(s&se)===0&&qr(i,t,n)&&(G(i,se),sr(i))}}function qr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(ht.call(t,i))return!0;if((i.f&ee)!==0&&qr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function sr(e){V.schedule(e)}function Vr(e,t){if(!((e.f&Ee)!==0&&(e.f&K)!==0)){(e.f&se)!==0?t.d.push(e):(e.f&Se)!==0&&t.m.push(e),G(e,K);for(var r=e.first;r!==null;)Vr(r,t),r=r.next}}function Br(e){G(e,K);for(var t=e.first;t!==null;)Br(t),t=t.next}function vi(e){let t=0,r=lt(0),n;return()=>{ur()&&(_(r),ln(()=>(t===0&&(n=Pi(()=>e(()=>Tt(r)))),t+=1,()=>{st(()=>{t-=1,t===0&&(n?.(),n=void 0,Tt(r))})})))}}var di=gt|Ve;function hi(e,t,r,n){new _i(e,t,r,n)}class _i{parent;is_pending=!1;transform_error;#e;#r=F?L:null;#t;#i;#s;#n=null;#l=null;#a=null;#o=null;#c=0;#f=0;#v=!1;#h=new Set;#d=new Set;#u=null;#_=vi(()=>(this.#u=lt(this.#c),()=>{this.#u=null}));constructor(t,r,n,i){this.#e=t,this.#t=r,this.#i=s=>{var l=D;l.b=this,l.f|=Zt,n(s)},this.parent=D.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Yt(()=>{if(F){const s=this.#r;Ft();const l=s.data===Kt;if(s.data.startsWith(br)){const o=JSON.parse(s.data.slice(br.length));this.#y(o)}else l?this.#$():this.#p()}else this.#b()},di),F&&(this.#e=L)}#p(){try{this.#n=ge(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const r=this.#t.failed;r&&(this.#a=ge(()=>{r(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ge(()=>t(this.#e)),st(()=>{var r=this.#o=document.createDocumentFragment(),n=ae();r.append(n),this.#n=this.#w(()=>ge(()=>this.#i(n))),this.#f===0&&(this.#e.before(r),this.#o=null,at(this.#l,()=>{this.#l=null}),this.#g(V))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#n=ge(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();dr(this.#n,t);const r=this.#t.pending;this.#l=ge(()=>r(this.#e))}else this.#g(V)}catch(r){this.error(r)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#d)}defer_effect(t){Fr(t,this.#h,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var r=D,n=R,i=_e;Ce(this.#s),we(this.#s),bt(this.#s.ctx);try{return Pe.ensure(),t()}catch(s){return Pr(s),null}finally{Ce(r),we(n),bt(i)}}#m(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t,r);return}this.#f+=t,this.#f===0&&(this.#g(r),this.#l&&at(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,r){this.#m(t,r),this.#c+=t,!(!this.#u||this.#v)&&(this.#v=!0,st(()=>{this.#v=!1,this.#u&&yt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),_(this.#u)}error(t){var r=this.#t.onerror;let n=this.#t.failed;if(!r&&!n)throw t;this.#n&&(oe(this.#n),this.#n=null),this.#l&&(oe(this.#l),this.#l=null),this.#a&&(oe(this.#a),this.#a=null),F&&(ne(this.#r),si(),ne(jt()));var i=!1,s=!1;const l=()=>{if(i){ii();return}i=!0,s&&ni(),this.#a!==null&&at(this.#a,()=>{this.#a=null}),this.#w(()=>{this.#b()})},a=o=>{try{s=!0,r?.(o,l),s=!1}catch(f){Ye(f,this.#s&&this.#s.parent)}n&&(this.#a=this.#w(()=>{try{return ge(()=>{var f=D;f.b=this,f.f|=Zt,n(this.#e,()=>o,()=>l)})}catch(f){return Ye(f,this.#s.parent),null}}))};st(()=>{var o;try{o=this.transform_error(t)}catch(f){Ye(f,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(a,f=>Ye(f,this.#s&&this.#s.parent)):a(o)})}}function pi(e,t,r,n){const i=qt;var s=e.filter(c=>!c.settled);if(r.length===0&&s.length===0){n(t.map(i));return}var l=D,a=gi(),o=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){a();try{n(c)}catch($){(l.f&he)===0&&Ye($,l)}Ht()}if(r.length===0){o.then(()=>f(t.map(i)));return}var u=Yr();function b(){Promise.all(r.map(c=>wi(c))).then(c=>f([...t.map(i),...c])).catch(c=>Ye(c,l)).finally(()=>u())}o?o.then(()=>{a(),b(),Ht()}):b()}function gi(){var e=D,t=R,r=_e,n=V;return function(s=!0){Ce(e),we(t),bt(r),s&&(e.f&he)===0&&(n?.activate(),n?.apply())}}function Ht(e=!0){Ce(null),we(null),bt(null),e&&V?.deactivate()}function Yr(){var e=D,t=e.b,r=V,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(i=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,i)}}function qt(e){var t=ee|se,r=R!==null&&(R.f&ee)!==0?R:null;return D!==null&&(D.f|=Ve),{ctx:_e,deps:null,effects:null,equals:Cr,f:t,fn:e,reactions:null,rv:0,v:re,wv:0,parent:r??D,ac:null}}function wi(e,t,r){let n=D;n===null&&Jn();var i=void 0,s=lt(re),l=!R,a=new Map;return Ri(()=>{var o=D,f=xr();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ht)}catch($){f.reject($),Ht()}var u=V;if(l){if((o.f&qe)!==0)var b=Yr();if(n.b.is_rendered())a.get(u)?.reject(Le),a.delete(u);else{for(const $ of a.values())$.reject(Le);a.clear()}a.set(u,f)}const c=($,w=void 0)=>{if(b){var h=w===Le;b(h)}if(!(w===Le||(o.f&he)!==0)){if(u.activate(),w)s.f|=Be,yt(s,w);else{(s.f&Be)!==0&&(s.f^=Be),yt(s,$);for(const[v,S]of a){if(a.delete(v),v===u)break;S.reject(Le)}}u.deactivate()}};f.promise.then(c,$=>c(null,$||"unknown"))}),ki(()=>{for(const o of a.values())o.reject(Le)}),new Promise(o=>{function f(u){function b(){u===i?o(s):f(i)}u.then(b,b)}f(i)})}function We(e){const t=qt(e);return vn(t),t}function bi(e){const t=qt(e);return t.equals=Rr,t}function mi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)oe(t[r])}}function yi(e){for(var t=e.parent;t!==null;){if((t.f&ee)===0)return(t.f&he)===0?t:null;t=t.parent}return null}function lr(e){var t,r=D;Ce(yi(e));try{e.f&=~nt,mi(e),t=gn(e)}finally{Ce(r)}return t}function Ur(e){var t=e.v,r=lr(e);if(!e.equals(r)&&(e.wv=_n(),(!V?.is_fork||e.deps===null)&&(e.v=r,V?.capture(e,t,!0),e.deps===null))){G(e,K);return}Ze||(Te!==null?(ur()||V?.is_fork)&&Te.set(e,r):rr(e))}function $i(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Le),t.teardown=qn,t.ac=null,Nt(t,0),cr(t))}function Jr(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&$t(t)}let ar=new Set;const Ge=new Map;let Wr=!1;function lt(e,t){var r={f:0,v:e,reactions:null,equals:Cr,rv:0,wv:0};return r}function Ke(e,t){const r=lt(e);return vn(r),r}function Gr(e,t=!1,r=!0){const n=lt(e);return t||(n.equals=Rr),n}function Fe(e,t,r=!1){R!==null&&(!ke||(R.f&Sr)!==0)&&Dr()&&(R.f&(ee|ze|er|Sr))!==0&&(be===null||!ht.call(be,e))&&ri();let n=r?kt(t):t;return yt(e,n,zt)}function yt(e,t,r=null){if(!e.equals(t)){var n=e.v;Ze?Ge.set(e,t):Ge.set(e,n),e.v=t;var i=Pe.ensure();if(i.capture(e,n),(e.f&ee)!==0){const s=e;(e.f&se)!==0&&lr(s),Te===null&&rr(s)}e.wv=_n(),Kr(e,se,r),D!==null&&(D.f&K)!==0&&(D.f&(Ee|He))===0&&(me===null?Di([e]):me.push(e)),!i.is_fork&&ar.size>0&&!Wr&&Ei()}return t}function Ei(){Wr=!1;for(const e of ar)(e.f&K)!==0&&G(e,Se),St(e)&&$t(e);ar.clear()}function Tt(e){Fe(e,e.v+1)}function Kr(e,t,r){var n=e.reactions;if(n!==null)for(var i=n.length,s=0;s<i;s++){var l=n[s],a=l.f,o=(a&se)===0;if(o&&G(l,t),(a&ee)!==0){var f=l;Te?.delete(f),(a&nt)===0&&(a&de&&(l.f|=nt),Kr(f,Se,r))}else if(o){var u=l;(a&ze)!==0&&Ie!==null&&Ie.add(u),r!==null?r.push(u):sr(u)}}}function kt(e){if(typeof e!="object"||e===null||tr in e)return e;const t=$r(e);if(t!==zn&&t!==Hn)return e;var r=new Map,n=yr(e),i=Ke(0),s=ft,l=a=>{if(ft===s)return a();var o=R,f=ft;we(null),hn(s);var u=a();return we(o),hn(f),u};return n&&r.set("length",Ke(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&ei();var u=r.get(o);return u===void 0?l(()=>{var b=Ke(f.value);return r.set(o,b),b}):Fe(u,f.value,!0),!0},deleteProperty(a,o){var f=r.get(o);if(f===void 0){if(o in a){const u=l(()=>Ke(re));r.set(o,u),Tt(i)}}else Fe(f,re),Tt(i);return!0},get(a,o,f){if(o===tr)return e;var u=r.get(o),b=o in a;if(u===void 0&&(!b||_t(a,o)?.writable)&&(u=l(()=>{var $=kt(b?a[o]:re),w=Ke($);return w}),r.set(o,u)),u!==void 0){var c=_(u);return c===re?void 0:c}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var u=r.get(o);u&&(f.value=_(u))}else if(f===void 0){var b=r.get(o),c=b?.v;if(b!==void 0&&c!==re)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,o){if(o===tr)return!0;var f=r.get(o),u=f!==void 0&&f.v!==re||Reflect.has(a,o);if(f!==void 0||D!==null&&(!u||_t(a,o)?.writable)){f===void 0&&(f=l(()=>{var c=u?kt(a[o]):re,$=Ke(c);return $}),r.set(o,f));var b=_(f);if(b===re)return!1}return u},set(a,o,f,u){var b=r.get(o),c=o in a;if(n&&o==="length")for(var $=f;$<b.v;$+=1){var w=r.get($+"");w!==void 0?Fe(w,re):$ in a&&(w=l(()=>Ke(re)),r.set($+"",w))}if(b===void 0)(!c||_t(a,o)?.writable)&&(b=l(()=>Ke(void 0)),Fe(b,kt(f)),r.set(o,b));else{c=b.v!==re;var h=l(()=>kt(f));Fe(b,h)}var v=Reflect.getOwnPropertyDescriptor(a,o);if(v?.set&&v.set.call(u,f),!c){if(n&&typeof o=="string"){var S=r.get("length"),X=Number(o);Number.isInteger(X)&&X>=S.v&&Fe(S,X+1)}Tt(i)}return!0},ownKeys(a){_(i);var o=Reflect.ownKeys(a).filter(b=>{var c=r.get(b);return c===void 0||c.v!==re});for(var[f,u]of r)u.v!==re&&!(f in a)&&o.push(f);return o},setPrototypeOf(){ti()}})}var Xr,Zr,Qr,en;function or(){if(Xr===void 0){Xr=window,Zr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Qr=_t(t,"firstChild").get,en=_t(t,"nextSibling").get,Er(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Er(r)&&(r.__t=void 0)}}function ae(e=""){return document.createTextNode(e)}function Xe(e){return Qr.call(e)}function pe(e){return en.call(e)}function g(e,t){if(!F)return Xe(e);var r=Xe(L);if(r===null)r=L.appendChild(ae());else if(t&&r.nodeType!==Et){var n=ae();return r?.before(n),ne(n),n}return t&&Bt(r),ne(r),r}function Vt(e,t=!1){if(!F){var r=Xe(e);return r instanceof Comment&&r.data===""?pe(r):r}if(t){if(L?.nodeType!==Et){var n=ae();return L?.before(n),ne(n),n}Bt(L)}return L}function P(e,t=1,r=!1){let n=F?L:e;for(var i;t--;)i=n,n=pe(n);if(!F)return n;if(r){if(n?.nodeType!==Et){var s=ae();return n===null?i?.after(s):n.before(s),ne(s),s}Bt(n)}return ne(n),n}function tn(e){e.textContent=""}function rn(){return!1}function fr(e,t,r){return document.createElementNS(mr,e,void 0)}function Bt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Et;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function nn(e){var t=R,r=D;we(null),Ce(null);try{return e()}finally{we(t),Ce(r)}}function xi(e){D===null&&(R===null&&Xn(),Kn()),Ze&&Gn()}function Ti(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Ae(e,t){var r=D;r!==null&&(r.f&ue)!==0&&(e|=ue);var n={ctx:_e,deps:null,nodes:null,f:e|se|de,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},i=n;if((e&pt)!==0)mt!==null?mt.push(n):Pe.ensure().schedule(n);else if(t!==null){try{$t(n)}catch(l){throw oe(n),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ve)===0&&(i=i.first,(e&ze)!==0&&(e&gt)!==0&&i!==null&&(i.f|=gt))}if(i!==null&&(i.parent=r,r!==null&&Ti(i,r),R!==null&&(R.f&ee)!==0&&(e&He)===0)){var s=R;(s.effects??=[]).push(i)}return n}function ur(){return R!==null&&!ke}function ki(e){const t=Ae(Pt,null);return G(t,K),t.teardown=e,t}function Si(e){xi();var t=D.f,r=!R&&(t&Ee)!==0&&(t&qe)===0;if(r){var n=_e;(n.e??=[]).push(e)}else return sn(e)}function sn(e){return Ae(pt|Bn,e)}function Ni(e){Pe.ensure();const t=Ae(He|Ve,e);return()=>{oe(t)}}function Ai(e){Pe.ensure();const t=Ae(He|Ve,e);return(r={})=>new Promise(n=>{r.outro?at(t,()=>{oe(t),n(void 0)}):(oe(t),n(void 0))})}function Ci(e){return Ae(pt,e)}function Ri(e){return Ae(er|Ve,e)}function ln(e,t=0){return Ae(Pt|t,e)}function M(e,t=[],r=[],n=[]){pi(n,t,r,i=>{Ae(Pt,()=>e(...i.map(_)))})}function Yt(e,t=0){var r=Ae(ze|t,e);return r}function ge(e){return Ae(Ee|Ve,e)}function an(e){var t=e.teardown;if(t!==null){const r=Ze,n=R;cn(!0),we(null);try{t.call(null)}finally{cn(r),we(n)}}}function cr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&nn(()=>{i.abort(Le)});var n=r.next;(r.f&He)!==0?r.parent=null:oe(r,t),r=n}}function Oi(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ee)===0&&oe(t),t=r}}function oe(e,t=!0){var r=!1;(t||(e.f&Nr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Mi(e.nodes.start,e.nodes.end),r=!0),G(e,kr),cr(e,t&&!r),Nt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();an(e),e.f^=kr,e.f|=he;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=e.ac=e.b=null}function Mi(e,t){for(;e!==null;){var r=e===t?null:pe(e);e.remove(),e=r}}function on(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function at(e,t,r=!0){var n=[];fn(e,n,!0);var i=()=>{r&&oe(e),t&&t()},s=n.length;if(s>0){var l=()=>--s||i();for(var a of n)a.out(l)}else i()}function fn(e,t,r){if((e.f&ue)===0){e.f^=ue;var n=e.nodes&&e.nodes.t;if(n!==null)for(const a of n)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&gt)!==0||(i.f&Ee)!==0&&(e.f&ze)!==0;fn(i,t,l?r:!1),i=s}}}function vr(e){un(e,!0)}function un(e,t){if((e.f&ue)!==0){e.f^=ue,(e.f&K)===0&&(G(e,se),Pe.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&gt)!==0||(r.f&Ee)!==0;un(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function dr(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:pe(r);t.append(r),r=i}}let Ut=!1,Ze=!1;function cn(e){Ze=e}let R=null,ke=!1;function we(e){R=e}let D=null;function Ce(e){D=e}let be=null;function vn(e){R!==null&&(be===null?be=[e]:be.push(e))}let fe=null,ce=0,me=null;function Di(e){me=e}let dn=1,ot=0,ft=ot;function hn(e){ft=e}function _n(){return++dn}function St(e){var t=e.f;if((t&se)!==0)return!0;if(t&ee&&(e.f&=~nt),(t&Se)!==0){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(St(s)&&Ur(s),s.wv>e.wv)return!0}(t&de)!==0&&Te===null&&G(e,K)}return!1}function pn(e,t,r=!0){var n=e.reactions;if(n!==null&&!(be!==null&&ht.call(be,e)))for(var i=0;i<n.length;i++){var s=n[i];(s.f&ee)!==0?pn(s,t,!1):t===s&&(r?G(s,se):(s.f&K)!==0&&G(s,Se),sr(s))}}function gn(e){var t=fe,r=ce,n=me,i=R,s=be,l=_e,a=ke,o=ft,f=e.f;fe=null,ce=0,me=null,R=(f&(Ee|He))===0?e:null,be=null,bt(e.ctx),ke=!1,ft=++ot,e.ac!==null&&(nn(()=>{e.ac.abort(Le)}),e.ac=null);try{e.f|=Qt;var u=e.fn,b=u();e.f|=qe;var c=e.deps,$=V?.is_fork;if(fe!==null){var w;if($||Nt(e,ce),c!==null&&ce>0)for(c.length=ce+fe.length,w=0;w<fe.length;w++)c[ce+w]=fe[w];else e.deps=c=fe;if(ur()&&(e.f&de)!==0)for(w=ce;w<c.length;w++)(c[w].reactions??=[]).push(e)}else!$&&c!==null&&ce<c.length&&(Nt(e,ce),c.length=ce);if(Dr()&&me!==null&&!ke&&c!==null&&(e.f&(ee|Se|se))===0)for(w=0;w<me.length;w++)pn(me[w],e);if(i!==null&&i!==e){if(ot++,i.deps!==null)for(let h=0;h<r;h+=1)i.deps[h].rv=ot;if(t!==null)for(const h of t)h.rv=ot;me!==null&&(n===null?n=me:n.push(...me))}return(e.f&Be)!==0&&(e.f^=Be),b}catch(h){return Pr(h)}finally{e.f^=Qt,fe=t,ce=r,me=n,R=i,be=s,bt(l),ke=a,ft=o}}function Li(e,t){let r=t.reactions;if(r!==null){var n=Fn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&(t.f&ee)!==0&&(fe===null||!ht.call(fe,t))){var s=t;(s.f&de)!==0&&(s.f^=de,s.f&=~nt),rr(s),$i(s),Nt(s,0)}}function Nt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Li(e,r[n])}function $t(e){var t=e.f;if((t&he)===0){G(e,K);var r=D,n=Ut;D=e,Ut=!0;try{(t&(ze|Tr))!==0?Oi(e):cr(e),an(e);var i=gn(e);e.teardown=typeof i=="function"?i:null,e.wv=dn;var s;In&&ai&&(e.f&se)!==0&&e.deps}finally{Ut=n,D=r}}}function _(e){var t=e.f,r=(t&ee)!==0;if(R!==null&&!ke){var n=D!==null&&(D.f&he)!==0;if(!n&&(be===null||!ht.call(be,e))){var i=R.deps;if((R.f&Qt)!==0)e.rv<ot&&(e.rv=ot,fe===null&&i!==null&&i[ce]===e?ce++:fe===null?fe=[e]:fe.push(e));else{(R.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[R]:ht.call(s,R)||s.push(R)}}}if(Ze&&Ge.has(e))return Ge.get(e);if(r){var l=e;if(Ze){var a=l.v;return((l.f&K)===0&&l.reactions!==null||bn(l))&&(a=lr(l)),Ge.set(l,a),a}var o=(l.f&de)===0&&!ke&&R!==null&&(Ut||(R.f&de)!==0),f=(l.f&qe)===0;St(l)&&(o&&(l.f|=de),Ur(l)),o&&!f&&(Jr(l),wn(l))}if(Te?.has(e))return Te.get(e);if((e.f&Be)!==0)throw e.v;return e.v}function wn(e){if(e.f|=de,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&ee)!==0&&(t.f&de)===0&&(Jr(t),wn(t))}function bn(e){if(e.v===re)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ge.has(t)||(t.f&ee)!==0&&bn(t))return!0;return!1}function Pi(e){var t=ke;try{return ke=!0,e()}finally{ke=t}}const Jt=Symbol("events"),Ii=new Set,mn=new Set;let yn=null;function $n(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yn=e;var l=0,a=yn===e&&e[Jt];if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e[Jt]=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){Lt(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=R,b=D;we(null),Ce(null);try{for(var c,$=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var h=s[Jt]?.[n];h!=null&&(!s.disabled||e.target===s)&&h.call(s,e)}catch(v){c?$.push(v):c=v}if(e.cancelBubble||w===t||w===null)break;s=w}if(c){for(let v of $)queueMicrotask(()=>{throw v});throw c}}finally{e[Jt]=t,delete e.currentTarget,we(u),Ce(b)}}}const Fi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ji(e){return Fi?.createHTML(e)??e}function zi(e){var t=fr("template");return t.innerHTML=ji(e.replaceAll("<!>","<!---->")),t.content}function Qe(e,t){var r=D;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function O(e,t){var r=(t&Ln)!==0,n=(t&Pn)!==0,i,s=!e.startsWith("<!>");return()=>{if(F)return Qe(L,null),L;i===void 0&&(i=zi(s?e:"<!>"+e),r||(i=Xe(i)));var l=n||Zr?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Xe(l),o=l.lastChild;Qe(a,o)}else Qe(l,l);return l}}function ut(e=""){if(!F){var t=ae(e+"");return Qe(t,t),t}var r=L;return r.nodeType!==Et?(r.before(r=ae()),ne(r)):Bt(r),Qe(r,r),r}function En(){if(F)return Qe(L,null),L;var e=document.createDocumentFragment(),t=document.createComment(""),r=ae();return e.append(t,r),Qe(t,r),e}function T(e,t){if(F){var r=D;((r.f&qe)===0||r.nodes.end===null)&&(r.nodes.end=L),Ft();return}e!==null&&e.before(t)}const Hi=["touchstart","touchmove"];function qi(e){return Hi.includes(e)}function j(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function xn(e,t){return Tn(e,t)}function Vi(e,t){or(),t.intro=t.intro??!1;const r=t.target,n=F,i=L;try{for(var s=Xe(r);s&&(s.nodeType!==wt||s.data!==wr);)s=pe(s);if(!s)throw dt;xe(!0),ne(s);const l=Tn(e,{...t,anchor:s});return xe(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==dt&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Qn(),or(),tn(r),xe(!1),xn(e,t)}finally{xe(n),ne(i)}}const Wt=new Map;function Tn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0,transformError:a}){or();var o=void 0,f=Ai(()=>{var u=r??t.appendChild(ae());hi(u,{pending:()=>{}},$=>{Or({});var w=_e;if(s&&(w.c=s),i&&(n.$$events=i),F&&Qe($,null),o=e($,n)||{},F&&(D.nodes.end=L,L===null||L.nodeType!==wt||L.data!==Xt))throw It(),dt;Mr()},a);var b=new Set,c=$=>{for(var w=0;w<$.length;w++){var h=$[w];if(!b.has(h)){b.add(h);var v=qi(h);for(const q of[t,document]){var S=Wt.get(q);S===void 0&&(S=new Map,Wt.set(q,S));var X=S.get(h);X===void 0?(q.addEventListener(h,$n,{passive:v}),S.set(h,1)):S.set(h,X+1)}}}};return c(Mt(Ii)),mn.add(c),()=>{for(var $ of b)for(const v of[t,document]){var w=Wt.get(v),h=w.get($);--h==0?(v.removeEventListener($,$n),w.delete($),w.size===0&&Wt.delete(v)):w.set($,h)}mn.delete(c),u!==r&&u.parentNode?.removeChild(u)}});return hr.set(o,f),o}let hr=new WeakMap;function Bi(e,t){const r=hr.get(e);return r?(hr.delete(e),r(t)):Promise.resolve()}class Yi{anchor;#e=new Map;#r=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,r=!0){this.anchor=t,this.#s=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)vr(n),this.#i.delete(r);else{var i=this.#t.get(r);i&&(this.#r.set(r,i.effect),this.#t.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(oe(a.effect),this.#t.delete(l))}for(const[s,l]of this.#r){if(s===r||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();dr(l,f),f.append(ae()),this.#t.set(s,{effect:l,fragment:f})}else oe(l);this.#i.delete(s),this.#r.delete(s)};this.#s||!n?(this.#i.add(s),at(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,i]of this.#t)r.includes(n)||(oe(i.effect),this.#t.delete(n))};ensure(t,r){var n=V,i=rn();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=ae();s.append(l),this.#t.set(t,{effect:ge(()=>r(l)),fragment:s})}else this.#r.set(t,ge(()=>r(this.anchor)));if(this.#e.set(n,t),i){for(const[a,o]of this.#r)a===t?n.unskip_effect(o):n.skip_effect(o);for(const[a,o]of this.#t)a===t?n.unskip_effect(o.effect):n.skip_effect(o.effect);n.oncommit(this.#n),n.ondiscard(this.#l)}else F&&(this.anchor=L),this.#n(n)}}function U(e,t,r=!1){var n;F&&(n=L,Ft());var i=new Yi(e),s=r?gt:0;function l(a,o){if(F){var f=Ar(n);if(a!==parseInt(f.substring(1))){var u=jt();ne(u),i.anchor=u,xe(!1),i.ensure(a,o),xe(!0);return}}i.ensure(a,o)}Yt(()=>{var a=!1;t((o,f=0)=>{a=!0,l(f,o)}),a||l(-1,null)},s)}function Ui(e,t,r){for(var n=[],i=t.length,s,l=t.length,a=0;a<i;a++){let b=t[a];at(b,()=>{if(s){if(s.pending.delete(b),s.done.add(b),s.pending.size===0){var c=e.outrogroups;_r(e,Mt(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=n.length===0&&r!==null;if(o){var f=r,u=f.parentNode;tn(u),u.append(f),e.items.clear()}_r(e,t,!o)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function _r(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const l of e.pending.values())for(const a of l)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=Ne;const l=document.createDocumentFragment();dr(s,l)}else oe(t[i],r)}}var kn;function Re(e,t,r,n,i,s=null){var l=e,a=new Map,o=(t&gr)!==0;if(o){var f=e;l=F?ne(Xe(f)):f.appendChild(ae())}F&&Ft();var u=null,b=bi(()=>{var q=r();return yr(q)?q:q==null?[]:Mt(q)}),c,$=new Map,w=!0;function h(q){(X.effect.f&he)===0&&(X.pending.delete(q),X.fallback=u,Ji(X,c,l,t,n),u!==null&&(c.length===0?(u.f&Ne)===0?vr(u):(u.f^=Ne,Ct(u,null,l)):at(u,()=>{u=null})))}function v(q){X.pending.delete(q)}var S=Yt(()=>{c=_(b);var q=c.length;let te=!1;if(F){var tt=Ar(l)===Kt;tt!==(q===0)&&(l=jt(),ne(l),xe(!1),te=!0)}for(var ye=new Set,Z=V,De=rn(),$e=0;$e<q;$e+=1){F&&L.nodeType===wt&&L.data===Xt&&(l=L,te=!0,xe(!1));var le=c[$e],rt=n(le,$e),ve=w?null:a.get(rt);ve?(ve.v&&yt(ve.v,le),ve.i&&yt(ve.i,$e),De&&Z.unskip_effect(ve.e)):(ve=Wi(a,w?l:kn??=ae(),le,rt,$e,i,t,r),w||(ve.e.f|=Ne),a.set(rt,ve)),ye.add(rt)}if(q===0&&s&&!u&&(w?u=ge(()=>s(l)):(u=ge(()=>s(kn??=ae())),u.f|=Ne)),q>ye.size&&Wn(),F&&q>0&&ne(jt()),!w)if($.set(Z,ye),De){for(const[Rt,Ot]of a)ye.has(Rt)||Z.skip_effect(Ot.e);Z.oncommit(h),Z.ondiscard(v)}else h(Z);te&&xe(!0),_(b)}),X={effect:S,items:a,pending:$,outrogroups:null,fallback:u};w=!1,F&&(l=L)}function At(e){for(;e!==null&&(e.f&Ee)===0;)e=e.next;return e}function Ji(e,t,r,n,i){var s=(n&Mn)!==0,l=t.length,a=e.items,o=At(e.effect.first),f,u=null,b,c=[],$=[],w,h,v,S;if(s)for(S=0;S<l;S+=1)w=t[S],h=i(w,S),v=a.get(h).e,(v.f&Ne)===0&&(v.nodes?.a?.measure(),(b??=new Set).add(v));for(S=0;S<l;S+=1){if(w=t[S],h=i(w,S),v=a.get(h).e,e.outrogroups!==null)for(const le of e.outrogroups)le.pending.delete(v),le.done.delete(v);if((v.f&ue)!==0&&(vr(v),s&&(v.nodes?.a?.unfix(),(b??=new Set).delete(v))),(v.f&Ne)!==0)if(v.f^=Ne,v===o)Ct(v,null,r);else{var X=u?u.next:o;v===e.effect.last&&(e.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),et(e,u,v),et(e,v,X),Ct(v,X,r),u=v,c=[],$=[],o=At(u.next);continue}if(v!==o){if(f!==void 0&&f.has(v)){if(c.length<$.length){var q=$[0],te;u=q.prev;var tt=c[0],ye=c[c.length-1];for(te=0;te<c.length;te+=1)Ct(c[te],q,r);for(te=0;te<$.length;te+=1)f.delete($[te]);et(e,tt.prev,ye.next),et(e,u,tt),et(e,ye,q),o=q,u=ye,S-=1,c=[],$=[]}else f.delete(v),Ct(v,o,r),et(e,v.prev,v.next),et(e,v,u===null?e.effect.first:u.next),et(e,u,v),u=v;continue}for(c=[],$=[];o!==null&&o!==v;)(f??=new Set).add(o),$.push(o),o=At(o.next);if(o===null)continue}(v.f&Ne)===0&&c.push(v),u=v,o=At(v.next)}if(e.outrogroups!==null){for(const le of e.outrogroups)le.pending.size===0&&(_r(e,Mt(le.done)),e.outrogroups?.delete(le));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||f!==void 0){var Z=[];if(f!==void 0)for(v of f)(v.f&ue)===0&&Z.push(v);for(;o!==null;)(o.f&ue)===0&&o!==e.fallback&&Z.push(o),o=At(o.next);var De=Z.length;if(De>0){var $e=(n&gr)!==0&&l===0?r:null;if(s){for(S=0;S<De;S+=1)Z[S].nodes?.a?.measure();for(S=0;S<De;S+=1)Z[S].nodes?.a?.fix()}Ui(e,Z,$e)}}s&&st(()=>{if(b!==void 0)for(v of b)v.nodes?.a?.apply()})}function Wi(e,t,r,n,i,s,l,a){var o=(l&Rn)!==0?(l&Dn)===0?Gr(r,!1,!1):lt(r):null,f=(l&On)!==0?lt(i):null;return{v:o,i:f,e:ge(()=>(s(t,o??r,f??i,a),()=>{e.delete(n)}))}}function Ct(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&(t.f&Ne)===0?t.nodes.start:r;n!==null;){var l=pe(n);if(s.before(n),n===i)return;n=l}}function et(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Gi(e,t){let r=null,n=F;var i;if(F){r=L;for(var s=Xe(document.head);s!==null&&(s.nodeType!==wt||s.data!==e);)s=pe(s);if(s===null)xe(!1);else{var l=pe(s);s.remove(),ne(l)}}F||(i=document.head.appendChild(ae()));try{Yt(()=>t(i),Nr|Ve)}finally{n&&(xe(!0),ne(r))}}function Ki(e,t){Ci(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=fr("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Xi(e,t,r){var n=e==null?"":""+e;return n=n?n+" "+t:t,n===""?null:n}function Oe(e,t,r,n,i,s){var l=e.__className;if(F||l!==r||l===void 0){var a=Xi(r,n);(!F||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return s}const Zi=Symbol("is custom element"),Qi=Symbol("is html"),es=Un?"link":"LINK";function Me(e,t,r,n){var i=ts(e);F&&(i[t]=e.getAttribute(t),e.nodeName===es)||i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&rs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function ts(e){return e.__attributes??={[Zi]:e.nodeName.includes("-"),[Qi]:e.namespaceURI===mr}}var Sn=new Map;function rs(e){var t=e.getAttribute("is")||e.nodeName,r=Sn.get(t);if(r)return r;Sn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=jn(i);for(var l in n)n[l].set&&r.push(l);i=$r(i)}return r}function ct(e,t,r,n){var i=n,s=!0,l=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=l());var o;o=()=>{var c=e[t];return c===void 0?l():(s=!0,c)};var f=!1,u=qt(()=>(f=!1,o())),b=D;return(function(c,$){if(arguments.length>0){const w=$?_(u):c;return Fe(u,w),f=!0,i!==void 0&&(i=w),c}return Ze&&f||(b.f&he)!==0?u.v:_(u)})}function ns(e){return new is(e)}class is{#e;#r;constructor(t){var r=new Map,n=(s,l)=>{var a=Gr(l,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return _(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===Yn?!0:(_(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return Fe(r.get(l)??n(l,a),a),Reflect.set(s,l,a)}});this.#r=(t.hydrate?Vi:xn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Je(),this.#e=i.$$events;for(const s of Object.keys(this.#r))s==="$set"||s==="$destroy"||s==="$on"||Lt(this,s,{get(){return this.#r[s]},set(l){this.#r[s]=l},enumerable:!0});this.#r.$set=s=>{Object.assign(i,s)},this.#r.$destroy=()=>{Bi(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let Nn;typeof HTMLElement=="function"&&(Nn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=fr("slot");n!=="default"&&(s.name=n),T(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ss(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Gt(i,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=ns({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ni(()=>{ln(()=>{this.$$r=!0;for(const n of Dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Gt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Gt(e,r,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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Gt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 ss(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ls(e,t,r,n,i,s){let l=class extends Nn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Dt(t).forEach(a=>{Lt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=Gt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var u=_t(f,a)?.get;u?f[a]=o:f.$set({[a]:o})}}})}),n.forEach(a=>{Lt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}var vt={},An;function as(){if(An)return vt;An=1,Object.defineProperty(vt,"__esModule",{value:!0}),vt.LanguageTranslator=void 0,vt.getChildStyleToPass=e,vt.addComponent=t;function e(n,i){var s,l,a="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||l===void 0)&&l.length))for(var o=function(c){var $=i?.filter(function(w){return w.name===c&&w.defaultValue!==n[c]});$&&(a+="".concat(c,":").concat(n[c],";"))},f=0,u=Object.keys(n);f<u.length;f++){var b=u[f];o(b)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var l=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(l),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(f){console.warn(f)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,l){return n.formatDate(i,s,l||this.lang)},n.getDefaultLang=function(){var i,s,l,a="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var o="",f=n.getDefaultLang();if(!l||f!==l){var u=s?.[f];u?.[i]&&(o=u[i])}return o},n.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||n.getDefaultLang(),s);return a.format(i)},n})();return vt.LanguageTranslator=r,vt}as();var os=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),fs=O('<a target="_blank"> </a>'),us=O('<a target="_blank"> </a>'),cs=O('<li class="svelte-6fd8bw"><!></li>'),vs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),ds=O('<li class="svelte-6fd8bw"> </li>'),hs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),_s=O('<li class="svelte-6fd8bw"><a> </a></li>'),ps=O('<li class="svelte-6fd8bw"><a> </a></li>'),gs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),ws=O('<li class="svelte-6fd8bw"><a> </a></li>'),bs=O('<li class="svelte-6fd8bw"><a> </a></li>'),ms=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),ys=O('<li class="svelte-6fd8bw"> </li>'),$s=O('<div class="appointment svelte-6fd8bw">*riceve per appuntamento</div>'),Es=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul> <!></div></div>'),xs=O("<!> <!> <!> <!> <!>",1),Ts=O("<span> </span>"),ks=O('<a target="_blank"> </a>'),Ss=O('<a target="_blank"> </a>'),Ns=O('<li class="svelte-6fd8bw"><!> <!></li>'),As=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Cs=O("<span> </span>"),Rs=O('<li class="svelte-6fd8bw"><!> </li>'),Os=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Ms=O("<span> </span>"),Ds=O('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),Ls=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Ps=O("<span> </span>"),Is=O('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),Fs=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),js=O('<li class="svelte-6fd8bw"> </li>'),zs=O('<div class="appointment svelte-6fd8bw">riceve per appuntamento</div>'),Hs=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul> <!></div>'),qs=O("<!> <!> <!> <!> <!>",1),Vs=O('<div id="row_container" part="container" class="svelte-6fd8bw"><!></div>');const Bs={hash:"svelte-6fd8bw",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
1
+ (function(_r){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Nn=1,Rn=2,pr=4,Cn=8,On=16,Mn=1,Dn=2,gr="[",Kt="[!",br="[?",Wt="]",vt={},re=Symbol(),wr="http://www.w3.org/1999/xhtml",In=!1;var mr=Array.isArray,Ln=Array.prototype.indexOf,dt=Array.prototype.includes,Ot=Array.from,Mt=Object.keys,Dt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,Fn=Object.getOwnPropertyDescriptors,Pn=Object.prototype,jn=Array.prototype,yr=Object.getPrototypeOf,$r=Object.isExtensible;const zn=()=>{};function Hn(e){for(var t=0;t<e.length;t++)e[t]()}function Er(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const ee=2,_t=4,It=8,xr=1<<24,ze=16,Ee=32,He=64,Xt=128,de=512,W=1024,se=2048,ke=4096,ue=8192,he=16384,Ve=32768,Tr=1<<25,pt=65536,Sr=1<<17,kr=1<<18,qe=1<<19,Vn=1<<20,Ae=1<<25,nt=65536,Zt=1<<21,Qt=1<<22,Ye=1<<23,er=Symbol("$state"),qn=Symbol("legacy props"),Ie=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Yn=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),$t=3,gt=8;function Bn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Un(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Jn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Gn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Kn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Wn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Xn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Zn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Qn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ei(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ti(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Lt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ri(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let P=!1;function xe(e){P=e}let I;function ne(e){if(e===null)throw Lt(),vt;return I=e}function Ft(){return ne(pe(I))}function d(e){if(P){if(pe(I)!==null)throw Lt(),vt;I=e}}function ni(e=1){if(P){for(var t=e,r=I;t--;)r=pe(r);I=r}}function Pt(e=!0){for(var t=0,r=I;;){if(r.nodeType===gt){var n=r.data;if(n===Wt){if(t===0)return r;t-=1}else(n===gr||n===Kt||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=pe(r);e&&r.remove(),r=i}}function Ar(e){if(!e||e.nodeType!==gt)throw Lt(),vt;return e.data}function Nr(e){return e===this.v}function ii(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Rr(e){return!ii(e,this.v)}let si=!1,_e=null;function bt(e){_e=e}function Cr(e,t=!1,r){_e={p:_e,i:!1,c:null,e:null,s:e,x:null,r:D,l:null}}function Or(e){var t=_e,r=t.e;if(r!==null){t.e=null;for(var n of r)nn(n)}return e!==void 0&&(t.x=e),t.i=!0,_e=t.p,e??{}}function Mr(){return!0}let it=[];function Dr(){var e=it;it=[],Hn(e)}function st(e){if(it.length===0&&!Et){var t=it;queueMicrotask(()=>{t===it&&Dr()})}it.push(e)}function li(){for(;it.length>0;)Dr()}function Ir(e){var t=D;if(t===null)return C.f|=Ye,e;if((t.f&Ve)===0&&(t.f&_t)===0)throw e;Be(e,t)}function Be(e,t){for(;t!==null;){if((t.f&Xt)!==0){if((t.f&Ve)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const ai=-7169;function K(e,t){e.f=e.f&ai|t}function tr(e){(e.f&de)!==0||e.deps===null?K(e,W):K(e,ke)}function Lr(e){if(e!==null)for(const t of e)(t.f&ee)===0||(t.f&nt)===0||(t.f^=nt,Lr(t.deps))}function Fr(e,t,r){(e.f&se)!==0?t.add(e):(e.f&ke)!==0&&r.add(e),Lr(e.deps),K(e,W)}const Ue=new Set;let q=null,Te=null,rr=null,Et=!1,nr=!1,wt=null,jt=null;var Pr=0;let fi=1;class Le{id=fi++;current=new Map;previous=new Map;#e=new Set;#r=new Set;#t=new Map;#i=new Map;#s=null;#n=[];#l=new Set;#a=new Set;#f=new Map;is_fork=!1;#c=!1;#o=new Set;#v(){return this.is_fork||this.#i.size>0}#h(){for(const n of this.#o)for(const i of n.#i.keys()){for(var t=!1,r=i;r.parent!==null;){if(this.#f.has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1}skip_effect(t){this.#f.has(t)||this.#f.set(t,{d:[],m:[]})}unskip_effect(t){var r=this.#f.get(t);if(r){this.#f.delete(t);for(var n of r.d)K(n,se),this.schedule(n);for(n of r.m)K(n,ke),this.schedule(n)}}#d(){if(Pr++>1e3&&(Ue.delete(this),oi()),!this.#v()){for(const a of this.#l)this.#a.delete(a),K(a,se),this.schedule(a);for(const a of this.#a)K(a,ke),this.schedule(a)}const t=this.#n;this.#n=[],this.apply();var r=wt=[],n=[],i=jt=[];for(const a of t)try{this.#u(a,r,n)}catch(f){throw qr(a),f}if(q=null,i.length>0){var s=Le.ensure();for(const a of i)s.schedule(a)}if(wt=null,jt=null,this.#v()||this.#h()){this.#_(n),this.#_(r);for(const[a,f]of this.#f)Vr(a,f)}else{this.#t.size===0&&Ue.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),jr(n),jr(r),this.#s?.resolve()}var l=q;if(this.#n.length>0){const a=l??=this;a.#n.push(...this.#n.filter(f=>!a.#n.includes(f)))}l!==null&&(Ue.add(l),l.#d()),Ue.has(this)||this.#p()}#u(t,r,n){t.f^=W;for(var i=t.first;i!==null;){var s=i.f,l=(s&(Ee|He))!==0,a=l&&(s&W)!==0,f=a||(s&ue)!==0||this.#f.has(i);if(!f&&i.fn!==null){l?i.f^=W:(s&_t)!==0?r.push(i):St(i)&&((s&ze)!==0&&this.#a.add(i),yt(i));var o=i.first;if(o!==null){i=o;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var r=0;r<t.length;r+=1)Fr(t[r],this.#l,this.#a)}capture(t,r,n=!1){r!==re&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&Ye)===0&&(this.current.set(t,[t.v,n]),Te?.set(t,t.v))}activate(){q=this}deactivate(){q=null,Te=null}flush(){try{nr=!0,q=this,this.#d()}finally{Pr=0,rr=null,wt=null,jt=null,nr=!1,q=null,Te=null,Ke.clear()}}discard(){for(const t of this.#r)t(this);this.#r.clear(),Ue.delete(this)}#p(){for(const o of Ue){var t=o.id<this.id,r=[];for(const[u,[w,c]]of this.current){if(o.current.has(u)){var n=o.current.get(u)[0];if(t&&w!==n)o.current.set(u,[w,c]);else continue}r.push(u)}var i=[...o.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&o.discard();else if(r.length>0){o.activate();var s=new Set,l=new Map;for(var a of r)zr(a,i,s,l);if(o.#n.length>0){o.apply();for(var f of o.#n)o.#u(f,[],[]);o.#n=[]}o.deactivate()}}for(const o of Ue)o.#o.has(this)&&(o.#o.delete(this),o.#o.size===0&&!o.#v()&&(o.activate(),o.#d()))}increment(t,r){let n=this.#t.get(r)??0;if(this.#t.set(r,n+1),t){let i=this.#i.get(r)??0;this.#i.set(r,i+1)}}decrement(t,r,n){let i=this.#t.get(r)??0;if(i===1?this.#t.delete(r):this.#t.set(r,i-1),t){let s=this.#i.get(r)??0;s===1?this.#i.delete(r):this.#i.set(r,s-1)}this.#c||n||(this.#c=!0,st(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,r){for(const n of t)this.#l.add(n);for(const n of r)this.#a.add(n);t.clear(),r.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=Er()).promise}static ensure(){if(q===null){const t=q=new Le;nr||(Ue.add(q),Et||st(()=>{q===t&&t.flush()}))}return q}apply(){{Te=null;return}}schedule(t){if(rr=t,t.b?.is_pending&&(t.f&(_t|It|xr))!==0&&(t.f&Ve)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(wt!==null&&r===D&&(C===null||(C.f&ee)===0))return;if((n&(He|Ee))!==0){if((n&W)===0)return;r.f^=W}}this.#n.push(r)}}function Je(e){var t=Et;Et=!0;try{for(var r;;){if(li(),q===null)return r;q.flush()}}finally{Et=t}}function oi(){try{Wn()}catch(e){Be(e,rr)}}let Fe=null;function jr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(he|ue))===0&&St(n)&&(Fe=new Set,yt(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&an(n),Fe?.size>0)){Ke.clear();for(const i of Fe){if((i.f&(he|ue))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)Fe.has(l)&&(Fe.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const f=s[a];(f.f&(he|ue))===0&&yt(f)}}Fe.clear()}}Fe=null}}function zr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&ee)!==0?zr(i,t,r,n):(s&(Qt|ze))!==0&&(s&se)===0&&Hr(i,t,n)&&(K(i,se),ir(i))}}function Hr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(dt.call(t,i))return!0;if((i.f&ee)!==0&&Hr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function ir(e){q.schedule(e)}function Vr(e,t){if(!((e.f&Ee)!==0&&(e.f&W)!==0)){(e.f&se)!==0?t.d.push(e):(e.f&ke)!==0&&t.m.push(e),K(e,W);for(var r=e.first;r!==null;)Vr(r,t),r=r.next}}function qr(e){K(e,W);for(var t=e.first;t!==null;)qr(t),t=t.next}function ui(e){let t=0,r=lt(0),n;return()=>{or()&&(_(r),sn(()=>(t===0&&(n=Di(()=>e(()=>xt(r)))),t+=1,()=>{st(()=>{t-=1,t===0&&(n?.(),n=void 0,xt(r))})})))}}var ci=pt|qe;function vi(e,t,r,n){new di(e,t,r,n)}class di{parent;is_pending=!1;transform_error;#e;#r=P?I:null;#t;#i;#s;#n=null;#l=null;#a=null;#f=null;#c=0;#o=0;#v=!1;#h=new Set;#d=new Set;#u=null;#_=ui(()=>(this.#u=lt(this.#c),()=>{this.#u=null}));constructor(t,r,n,i){this.#e=t,this.#t=r,this.#i=s=>{var l=D;l.b=this,l.f|=Xt,n(s)},this.parent=D.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Yt(()=>{if(P){const s=this.#r;Ft();const l=s.data===Kt;if(s.data.startsWith(br)){const f=JSON.parse(s.data.slice(br.length));this.#y(f)}else l?this.#$():this.#p()}else this.#w()},ci),P&&(this.#e=I)}#p(){try{this.#n=ge(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const r=this.#t.failed;r&&(this.#a=ge(()=>{r(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ge(()=>t(this.#e)),st(()=>{var r=this.#f=document.createDocumentFragment(),n=ae();r.append(n),this.#n=this.#b(()=>ge(()=>this.#i(n))),this.#o===0&&(this.#e.before(r),this.#f=null,at(this.#l,()=>{this.#l=null}),this.#g(q))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#o=0,this.#c=0,this.#n=ge(()=>{this.#i(this.#e)}),this.#o>0){var t=this.#f=document.createDocumentFragment();vr(this.#n,t);const r=this.#t.pending;this.#l=ge(()=>r(this.#e))}else this.#g(q)}catch(r){this.error(r)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#h,this.#d)}defer_effect(t){Fr(t,this.#h,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#b(t){var r=D,n=C,i=_e;Re(this.#s),be(this.#s),bt(this.#s.ctx);try{return Le.ensure(),t()}catch(s){return Ir(s),null}finally{Re(r),be(n),bt(i)}}#m(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t,r);return}this.#o+=t,this.#o===0&&(this.#g(r),this.#l&&at(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t,r){this.#m(t,r),this.#c+=t,!(!this.#u||this.#v)&&(this.#v=!0,st(()=>{this.#v=!1,this.#u&&mt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),_(this.#u)}error(t){var r=this.#t.onerror;let n=this.#t.failed;if(!r&&!n)throw t;this.#n&&(fe(this.#n),this.#n=null),this.#l&&(fe(this.#l),this.#l=null),this.#a&&(fe(this.#a),this.#a=null),P&&(ne(this.#r),ni(),ne(Pt()));var i=!1,s=!1;const l=()=>{if(i){ri();return}i=!0,s&&ti(),this.#a!==null&&at(this.#a,()=>{this.#a=null}),this.#b(()=>{this.#w()})},a=f=>{try{s=!0,r?.(f,l),s=!1}catch(o){Be(o,this.#s&&this.#s.parent)}n&&(this.#a=this.#b(()=>{try{return ge(()=>{var o=D;o.b=this,o.f|=Xt,n(this.#e,()=>f,()=>l)})}catch(o){return Be(o,this.#s.parent),null}}))};st(()=>{var f;try{f=this.transform_error(t)}catch(o){Be(o,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(a,o=>Be(o,this.#s&&this.#s.parent)):a(f)})}}function hi(e,t,r,n){const i=Ht;var s=e.filter(c=>!c.settled);if(r.length===0&&s.length===0){n(t.map(i));return}var l=D,a=_i(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function o(c){a();try{n(c)}catch($){(l.f&he)===0&&Be($,l)}zt()}if(r.length===0){f.then(()=>o(t.map(i)));return}var u=Yr();function w(){Promise.all(r.map(c=>pi(c))).then(c=>o([...t.map(i),...c])).catch(c=>Be(c,l)).finally(()=>u())}f?f.then(()=>{a(),w(),zt()}):w()}function _i(){var e=D,t=C,r=_e,n=q;return function(s=!0){Re(e),be(t),bt(r),s&&(e.f&he)===0&&(n?.activate(),n?.apply())}}function zt(e=!0){Re(null),be(null),bt(null),e&&q?.deactivate()}function Yr(){var e=D,t=e.b,r=q,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(i=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,i)}}function Ht(e){var t=ee|se,r=C!==null&&(C.f&ee)!==0?C:null;return D!==null&&(D.f|=qe),{ctx:_e,deps:null,effects:null,equals:Nr,f:t,fn:e,reactions:null,rv:0,v:re,wv:0,parent:r??D,ac:null}}function pi(e,t,r){let n=D;n===null&&Bn();var i=void 0,s=lt(re),l=!C,a=new Map;return Ni(()=>{var f=D,o=Er();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(zt)}catch($){o.reject($),zt()}var u=q;if(l){if((f.f&Ve)!==0)var w=Yr();if(n.b.is_rendered())a.get(u)?.reject(Ie),a.delete(u);else{for(const $ of a.values())$.reject(Ie);a.clear()}a.set(u,o)}const c=($,b=void 0)=>{if(w){var h=b===Ie;w(h)}if(!(b===Ie||(f.f&he)!==0)){if(u.activate(),b)s.f|=Ye,mt(s,b);else{(s.f&Ye)!==0&&(s.f^=Ye),mt(s,$);for(const[v,k]of a){if(a.delete(v),v===u)break;k.reject(Ie)}}u.deactivate()}};o.promise.then(c,$=>c(null,$||"unknown"))}),xi(()=>{for(const f of a.values())f.reject(Ie)}),new Promise(f=>{function o(u){function w(){u===i?f(s):o(i)}u.then(w,w)}o(i)})}function Ge(e){const t=Ht(e);return cn(t),t}function gi(e){const t=Ht(e);return t.equals=Rr,t}function bi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)fe(t[r])}}function wi(e){for(var t=e.parent;t!==null;){if((t.f&ee)===0)return(t.f&he)===0?t:null;t=t.parent}return null}function sr(e){var t,r=D;Re(wi(e));try{e.f&=~nt,bi(e),t=pn(e)}finally{Re(r)}return t}function Br(e){var t=e.v,r=sr(e);if(!e.equals(r)&&(e.wv=hn(),(!q?.is_fork||e.deps===null)&&(e.v=r,q?.capture(e,t,!0),e.deps===null))){K(e,W);return}Ze||(Te!==null?(or()||q?.is_fork)&&Te.set(e,r):tr(e))}function mi(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Ie),t.teardown=zn,t.ac=null,kt(t,0),ur(t))}function Ur(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&yt(t)}let lr=new Set;const Ke=new Map;let Jr=!1;function lt(e,t){var r={f:0,v:e,reactions:null,equals:Nr,rv:0,wv:0};return r}function We(e,t){const r=lt(e);return cn(r),r}function Gr(e,t=!1,r=!0){const n=lt(e);return t||(n.equals=Rr),n}function Pe(e,t,r=!1){C!==null&&(!Se||(C.f&Sr)!==0)&&Mr()&&(C.f&(ee|ze|Qt|Sr))!==0&&(we===null||!dt.call(we,e))&&ei();let n=r?Tt(t):t;return mt(e,n,jt)}function mt(e,t,r=null){if(!e.equals(t)){var n=e.v;Ze?Ke.set(e,t):Ke.set(e,n),e.v=t;var i=Le.ensure();if(i.capture(e,n),(e.f&ee)!==0){const s=e;(e.f&se)!==0&&sr(s),Te===null&&tr(s)}e.wv=hn(),Kr(e,se,r),D!==null&&(D.f&W)!==0&&(D.f&(Ee|He))===0&&(me===null?Oi([e]):me.push(e)),!i.is_fork&&lr.size>0&&!Jr&&yi()}return t}function yi(){Jr=!1;for(const e of lr)(e.f&W)!==0&&K(e,ke),St(e)&&yt(e);lr.clear()}function xt(e){Pe(e,e.v+1)}function Kr(e,t,r){var n=e.reactions;if(n!==null)for(var i=n.length,s=0;s<i;s++){var l=n[s],a=l.f,f=(a&se)===0;if(f&&K(l,t),(a&ee)!==0){var o=l;Te?.delete(o),(a&nt)===0&&(a&de&&(l.f|=nt),Kr(o,ke,r))}else if(f){var u=l;(a&ze)!==0&&Fe!==null&&Fe.add(u),r!==null?r.push(u):ir(u)}}}function Tt(e){if(typeof e!="object"||e===null||er in e)return e;const t=yr(e);if(t!==Pn&&t!==jn)return e;var r=new Map,n=mr(e),i=We(0),s=ot,l=a=>{if(ot===s)return a();var f=C,o=ot;be(null),dn(s);var u=a();return be(f),dn(o),u};return n&&r.set("length",We(e.length)),new Proxy(e,{defineProperty(a,f,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Zn();var u=r.get(f);return u===void 0?l(()=>{var w=We(o.value);return r.set(f,w),w}):Pe(u,o.value,!0),!0},deleteProperty(a,f){var o=r.get(f);if(o===void 0){if(f in a){const u=l(()=>We(re));r.set(f,u),xt(i)}}else Pe(o,re),xt(i);return!0},get(a,f,o){if(f===er)return e;var u=r.get(f),w=f in a;if(u===void 0&&(!w||ht(a,f)?.writable)&&(u=l(()=>{var $=Tt(w?a[f]:re),b=We($);return b}),r.set(f,u)),u!==void 0){var c=_(u);return c===re?void 0:c}return Reflect.get(a,f,o)},getOwnPropertyDescriptor(a,f){var o=Reflect.getOwnPropertyDescriptor(a,f);if(o&&"value"in o){var u=r.get(f);u&&(o.value=_(u))}else if(o===void 0){var w=r.get(f),c=w?.v;if(w!==void 0&&c!==re)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(a,f){if(f===er)return!0;var o=r.get(f),u=o!==void 0&&o.v!==re||Reflect.has(a,f);if(o!==void 0||D!==null&&(!u||ht(a,f)?.writable)){o===void 0&&(o=l(()=>{var c=u?Tt(a[f]):re,$=We(c);return $}),r.set(f,o));var w=_(o);if(w===re)return!1}return u},set(a,f,o,u){var w=r.get(f),c=f in a;if(n&&f==="length")for(var $=o;$<w.v;$+=1){var b=r.get($+"");b!==void 0?Pe(b,re):$ in a&&(b=l(()=>We(re)),r.set($+"",b))}if(w===void 0)(!c||ht(a,f)?.writable)&&(w=l(()=>We(void 0)),Pe(w,Tt(o)),r.set(f,w));else{c=w.v!==re;var h=l(()=>Tt(o));Pe(w,h)}var v=Reflect.getOwnPropertyDescriptor(a,f);if(v?.set&&v.set.call(u,o),!c){if(n&&typeof f=="string"){var k=r.get("length"),X=Number(f);Number.isInteger(X)&&X>=k.v&&Pe(k,X+1)}xt(i)}return!0},ownKeys(a){_(i);var f=Reflect.ownKeys(a).filter(w=>{var c=r.get(w);return c===void 0||c.v!==re});for(var[o,u]of r)u.v!==re&&!(o in a)&&f.push(o);return f},setPrototypeOf(){Qn()}})}var Wr,Xr,Zr,Qr;function ar(){if(Wr===void 0){Wr=window,Xr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Zr=ht(t,"firstChild").get,Qr=ht(t,"nextSibling").get,$r(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),$r(r)&&(r.__t=void 0)}}function ae(e=""){return document.createTextNode(e)}function Xe(e){return Zr.call(e)}function pe(e){return Qr.call(e)}function g(e,t){if(!P)return Xe(e);var r=Xe(I);if(r===null)r=I.appendChild(ae());else if(t&&r.nodeType!==$t){var n=ae();return r?.before(n),ne(n),n}return t&&qt(r),ne(r),r}function Vt(e,t=!1){if(!P){var r=Xe(e);return r instanceof Comment&&r.data===""?pe(r):r}if(t){if(I?.nodeType!==$t){var n=ae();return I?.before(n),ne(n),n}qt(I)}return I}function L(e,t=1,r=!1){let n=P?I:e;for(var i;t--;)i=n,n=pe(n);if(!P)return n;if(r){if(n?.nodeType!==$t){var s=ae();return n===null?i?.after(s):n.before(s),ne(s),s}qt(n)}return ne(n),n}function en(e){e.textContent=""}function tn(){return!1}function fr(e,t,r){return document.createElementNS(wr,e,void 0)}function qt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===$t;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function rn(e){var t=C,r=D;be(null),Re(null);try{return e()}finally{be(t),Re(r)}}function $i(e){D===null&&(C===null&&Kn(),Gn()),Ze&&Jn()}function Ei(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Ne(e,t){var r=D;r!==null&&(r.f&ue)!==0&&(e|=ue);var n={ctx:_e,deps:null,nodes:null,f:e|se|de,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},i=n;if((e&_t)!==0)wt!==null?wt.push(n):Le.ensure().schedule(n);else if(t!==null){try{yt(n)}catch(l){throw fe(n),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&qe)===0&&(i=i.first,(e&ze)!==0&&(e&pt)!==0&&i!==null&&(i.f|=pt))}if(i!==null&&(i.parent=r,r!==null&&Ei(i,r),C!==null&&(C.f&ee)!==0&&(e&He)===0)){var s=C;(s.effects??=[]).push(i)}return n}function or(){return C!==null&&!Se}function xi(e){const t=Ne(It,null);return K(t,W),t.teardown=e,t}function Ti(e){$i();var t=D.f,r=!C&&(t&Ee)!==0&&(t&Ve)===0;if(r){var n=_e;(n.e??=[]).push(e)}else return nn(e)}function nn(e){return Ne(_t|Vn,e)}function Si(e){Le.ensure();const t=Ne(He|qe,e);return()=>{fe(t)}}function ki(e){Le.ensure();const t=Ne(He|qe,e);return(r={})=>new Promise(n=>{r.outro?at(t,()=>{fe(t),n(void 0)}):(fe(t),n(void 0))})}function Ai(e){return Ne(_t,e)}function Ni(e){return Ne(Qt|qe,e)}function sn(e,t=0){return Ne(It|t,e)}function M(e,t=[],r=[],n=[]){hi(n,t,r,i=>{Ne(It,()=>e(...i.map(_)))})}function Yt(e,t=0){var r=Ne(ze|t,e);return r}function ge(e){return Ne(Ee|qe,e)}function ln(e){var t=e.teardown;if(t!==null){const r=Ze,n=C;un(!0),be(null);try{t.call(null)}finally{un(r),be(n)}}}function ur(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&rn(()=>{i.abort(Ie)});var n=r.next;(r.f&He)!==0?r.parent=null:fe(r,t),r=n}}function Ri(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ee)===0&&fe(t),t=r}}function fe(e,t=!0){var r=!1;(t||(e.f&kr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ci(e.nodes.start,e.nodes.end),r=!0),K(e,Tr),ur(e,t&&!r),kt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();ln(e),e.f^=Tr,e.f|=he;var i=e.parent;i!==null&&i.first!==null&&an(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ci(e,t){for(;e!==null;){var r=e===t?null:pe(e);e.remove(),e=r}}function an(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function at(e,t,r=!0){var n=[];fn(e,n,!0);var i=()=>{r&&fe(e),t&&t()},s=n.length;if(s>0){var l=()=>--s||i();for(var a of n)a.out(l)}else i()}function fn(e,t,r){if((e.f&ue)===0){e.f^=ue;var n=e.nodes&&e.nodes.t;if(n!==null)for(const a of n)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&pt)!==0||(i.f&Ee)!==0&&(e.f&ze)!==0;fn(i,t,l?r:!1),i=s}}}function cr(e){on(e,!0)}function on(e,t){if((e.f&ue)!==0){e.f^=ue,(e.f&W)===0&&(K(e,se),Le.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&pt)!==0||(r.f&Ee)!==0;on(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function vr(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:pe(r);t.append(r),r=i}}let Bt=!1,Ze=!1;function un(e){Ze=e}let C=null,Se=!1;function be(e){C=e}let D=null;function Re(e){D=e}let we=null;function cn(e){C!==null&&(we===null?we=[e]:we.push(e))}let oe=null,ce=0,me=null;function Oi(e){me=e}let vn=1,ft=0,ot=ft;function dn(e){ot=e}function hn(){return++vn}function St(e){var t=e.f;if((t&se)!==0)return!0;if(t&ee&&(e.f&=~nt),(t&ke)!==0){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(St(s)&&Br(s),s.wv>e.wv)return!0}(t&de)!==0&&Te===null&&K(e,W)}return!1}function _n(e,t,r=!0){var n=e.reactions;if(n!==null&&!(we!==null&&dt.call(we,e)))for(var i=0;i<n.length;i++){var s=n[i];(s.f&ee)!==0?_n(s,t,!1):t===s&&(r?K(s,se):(s.f&W)!==0&&K(s,ke),ir(s))}}function pn(e){var t=oe,r=ce,n=me,i=C,s=we,l=_e,a=Se,f=ot,o=e.f;oe=null,ce=0,me=null,C=(o&(Ee|He))===0?e:null,we=null,bt(e.ctx),Se=!1,ot=++ft,e.ac!==null&&(rn(()=>{e.ac.abort(Ie)}),e.ac=null);try{e.f|=Zt;var u=e.fn,w=u();e.f|=Ve;var c=e.deps,$=q?.is_fork;if(oe!==null){var b;if($||kt(e,ce),c!==null&&ce>0)for(c.length=ce+oe.length,b=0;b<oe.length;b++)c[ce+b]=oe[b];else e.deps=c=oe;if(or()&&(e.f&de)!==0)for(b=ce;b<c.length;b++)(c[b].reactions??=[]).push(e)}else!$&&c!==null&&ce<c.length&&(kt(e,ce),c.length=ce);if(Mr()&&me!==null&&!Se&&c!==null&&(e.f&(ee|ke|se))===0)for(b=0;b<me.length;b++)_n(me[b],e);if(i!==null&&i!==e){if(ft++,i.deps!==null)for(let h=0;h<r;h+=1)i.deps[h].rv=ft;if(t!==null)for(const h of t)h.rv=ft;me!==null&&(n===null?n=me:n.push(...me))}return(e.f&Ye)!==0&&(e.f^=Ye),w}catch(h){return Ir(h)}finally{e.f^=Zt,oe=t,ce=r,me=n,C=i,we=s,bt(l),Se=a,ot=f}}function Mi(e,t){let r=t.reactions;if(r!==null){var n=Ln.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&(t.f&ee)!==0&&(oe===null||!dt.call(oe,t))){var s=t;(s.f&de)!==0&&(s.f^=de,s.f&=~nt),tr(s),mi(s),kt(s,0)}}function kt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Mi(e,r[n])}function yt(e){var t=e.f;if((t&he)===0){K(e,W);var r=D,n=Bt;D=e,Bt=!0;try{(t&(ze|xr))!==0?Ri(e):ur(e),ln(e);var i=pn(e);e.teardown=typeof i=="function"?i:null,e.wv=vn;var s;In&&si&&(e.f&se)!==0&&e.deps}finally{Bt=n,D=r}}}function _(e){var t=e.f,r=(t&ee)!==0;if(C!==null&&!Se){var n=D!==null&&(D.f&he)!==0;if(!n&&(we===null||!dt.call(we,e))){var i=C.deps;if((C.f&Zt)!==0)e.rv<ft&&(e.rv=ft,oe===null&&i!==null&&i[ce]===e?ce++:oe===null?oe=[e]:oe.push(e));else{(C.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[C]:dt.call(s,C)||s.push(C)}}}if(Ze&&Ke.has(e))return Ke.get(e);if(r){var l=e;if(Ze){var a=l.v;return((l.f&W)===0&&l.reactions!==null||bn(l))&&(a=sr(l)),Ke.set(l,a),a}var f=(l.f&de)===0&&!Se&&C!==null&&(Bt||(C.f&de)!==0),o=(l.f&Ve)===0;St(l)&&(f&&(l.f|=de),Br(l)),f&&!o&&(Ur(l),gn(l))}if(Te?.has(e))return Te.get(e);if((e.f&Ye)!==0)throw e.v;return e.v}function gn(e){if(e.f|=de,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&ee)!==0&&(t.f&de)===0&&(Ur(t),gn(t))}function bn(e){if(e.v===re)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ke.has(t)||(t.f&ee)!==0&&bn(t))return!0;return!1}function Di(e){var t=Se;try{return Se=!0,e()}finally{Se=t}}const Ut=Symbol("events"),Ii=new Set,wn=new Set;let mn=null;function yn(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;mn=e;var l=0,a=mn===e&&e[Ut];if(a){var f=i.indexOf(a);if(f!==-1&&(t===document||t===window)){e[Ut]=t;return}var o=i.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==t){Dt(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=C,w=D;be(null),Re(null);try{for(var c,$=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var h=s[Ut]?.[n];h!=null&&(!s.disabled||e.target===s)&&h.call(s,e)}catch(v){c?$.push(v):c=v}if(e.cancelBubble||b===t||b===null)break;s=b}if(c){for(let v of $)queueMicrotask(()=>{throw v});throw c}}finally{e[Ut]=t,delete e.currentTarget,be(u),Re(w)}}}const Li=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Fi(e){return Li?.createHTML(e)??e}function Pi(e){var t=fr("template");return t.innerHTML=Fi(e.replaceAll("<!>","<!---->")),t.content}function Qe(e,t){var r=D;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function O(e,t){var r=(t&Mn)!==0,n=(t&Dn)!==0,i,s=!e.startsWith("<!>");return()=>{if(P)return Qe(I,null),I;i===void 0&&(i=Pi(s?e:"<!>"+e),r||(i=Xe(i)));var l=n||Xr?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Xe(l),f=l.lastChild;Qe(a,f)}else Qe(l,l);return l}}function ut(e=""){if(!P){var t=ae(e+"");return Qe(t,t),t}var r=I;return r.nodeType!==$t?(r.before(r=ae()),ne(r)):qt(r),Qe(r,r),r}function $n(){if(P)return Qe(I,null),I;var e=document.createDocumentFragment(),t=document.createComment(""),r=ae();return e.append(t,r),Qe(t,r),e}function T(e,t){if(P){var r=D;((r.f&Ve)===0||r.nodes.end===null)&&(r.nodes.end=I),Ft();return}e!==null&&e.before(t)}const ji=["touchstart","touchmove"];function zi(e){return ji.includes(e)}function j(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function En(e,t){return xn(e,t)}function Hi(e,t){ar(),t.intro=t.intro??!1;const r=t.target,n=P,i=I;try{for(var s=Xe(r);s&&(s.nodeType!==gt||s.data!==gr);)s=pe(s);if(!s)throw vt;xe(!0),ne(s);const l=xn(e,{...t,anchor:s});return xe(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==vt&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Xn(),ar(),en(r),xe(!1),En(e,t)}finally{xe(n),ne(i)}}const Jt=new Map;function xn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0,transformError:a}){ar();var f=void 0,o=ki(()=>{var u=r??t.appendChild(ae());vi(u,{pending:()=>{}},$=>{Cr({});var b=_e;if(s&&(b.c=s),i&&(n.$$events=i),P&&Qe($,null),f=e($,n)||{},P&&(D.nodes.end=I,I===null||I.nodeType!==gt||I.data!==Wt))throw Lt(),vt;Or()},a);var w=new Set,c=$=>{for(var b=0;b<$.length;b++){var h=$[b];if(!w.has(h)){w.add(h);var v=zi(h);for(const V of[t,document]){var k=Jt.get(V);k===void 0&&(k=new Map,Jt.set(V,k));var X=k.get(h);X===void 0?(V.addEventListener(h,yn,{passive:v}),k.set(h,1)):k.set(h,X+1)}}}};return c(Ot(Ii)),wn.add(c),()=>{for(var $ of w)for(const v of[t,document]){var b=Jt.get(v),h=b.get($);--h==0?(v.removeEventListener($,yn),b.delete($),b.size===0&&Jt.delete(v)):b.set($,h)}wn.delete(c),u!==r&&u.parentNode?.removeChild(u)}});return dr.set(f,o),f}let dr=new WeakMap;function Vi(e,t){const r=dr.get(e);return r?(dr.delete(e),r(t)):Promise.resolve()}class qi{anchor;#e=new Map;#r=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,r=!0){this.anchor=t,this.#s=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)cr(n),this.#i.delete(r);else{var i=this.#t.get(r);i&&(this.#r.set(r,i.effect),this.#t.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(fe(a.effect),this.#t.delete(l))}for(const[s,l]of this.#r){if(s===r||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var o=document.createDocumentFragment();vr(l,o),o.append(ae()),this.#t.set(s,{effect:l,fragment:o})}else fe(l);this.#i.delete(s),this.#r.delete(s)};this.#s||!n?(this.#i.add(s),at(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,i]of this.#t)r.includes(n)||(fe(i.effect),this.#t.delete(n))};ensure(t,r){var n=q,i=tn();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=ae();s.append(l),this.#t.set(t,{effect:ge(()=>r(l)),fragment:s})}else this.#r.set(t,ge(()=>r(this.anchor)));if(this.#e.set(n,t),i){for(const[a,f]of this.#r)a===t?n.unskip_effect(f):n.skip_effect(f);for(const[a,f]of this.#t)a===t?n.unskip_effect(f.effect):n.skip_effect(f.effect);n.oncommit(this.#n),n.ondiscard(this.#l)}else P&&(this.anchor=I),this.#n(n)}}function U(e,t,r=!1){var n;P&&(n=I,Ft());var i=new qi(e),s=r?pt:0;function l(a,f){if(P){var o=Ar(n);if(a!==parseInt(o.substring(1))){var u=Pt();ne(u),i.anchor=u,xe(!1),i.ensure(a,f),xe(!0);return}}i.ensure(a,f)}Yt(()=>{var a=!1;t((f,o=0)=>{a=!0,l(o,f)}),a||l(-1,null)},s)}function Yi(e,t,r){for(var n=[],i=t.length,s,l=t.length,a=0;a<i;a++){let w=t[a];at(w,()=>{if(s){if(s.pending.delete(w),s.done.add(w),s.pending.size===0){var c=e.outrogroups;hr(e,Ot(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var f=n.length===0&&r!==null;if(f){var o=r,u=o.parentNode;en(u),u.append(o),e.items.clear()}hr(e,t,!f)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function hr(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const l of e.pending.values())for(const a of l)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=Ae;const l=document.createDocumentFragment();vr(s,l)}else fe(t[i],r)}}var Tn;function Ce(e,t,r,n,i,s=null){var l=e,a=new Map,f=(t&pr)!==0;if(f){var o=e;l=P?ne(Xe(o)):o.appendChild(ae())}P&&Ft();var u=null,w=gi(()=>{var V=r();return mr(V)?V:V==null?[]:Ot(V)}),c,$=new Map,b=!0;function h(V){(X.effect.f&he)===0&&(X.pending.delete(V),X.fallback=u,Bi(X,c,l,t,n),u!==null&&(c.length===0?(u.f&Ae)===0?cr(u):(u.f^=Ae,Nt(u,null,l)):at(u,()=>{u=null})))}function v(V){X.pending.delete(V)}var k=Yt(()=>{c=_(w);var V=c.length;let te=!1;if(P){var tt=Ar(l)===Kt;tt!==(V===0)&&(l=Pt(),ne(l),xe(!1),te=!0)}for(var ye=new Set,Z=q,De=tn(),$e=0;$e<V;$e+=1){P&&I.nodeType===gt&&I.data===Wt&&(l=I,te=!0,xe(!1));var le=c[$e],rt=n(le,$e),ve=b?null:a.get(rt);ve?(ve.v&&mt(ve.v,le),ve.i&&mt(ve.i,$e),De&&Z.unskip_effect(ve.e)):(ve=Ui(a,b?l:Tn??=ae(),le,rt,$e,i,t,r),b||(ve.e.f|=Ae),a.set(rt,ve)),ye.add(rt)}if(V===0&&s&&!u&&(b?u=ge(()=>s(l)):(u=ge(()=>s(Tn??=ae())),u.f|=Ae)),V>ye.size&&Un(),P&&V>0&&ne(Pt()),!b)if($.set(Z,ye),De){for(const[Rt,Ct]of a)ye.has(Rt)||Z.skip_effect(Ct.e);Z.oncommit(h),Z.ondiscard(v)}else h(Z);te&&xe(!0),_(w)}),X={effect:k,items:a,pending:$,outrogroups:null,fallback:u};b=!1,P&&(l=I)}function At(e){for(;e!==null&&(e.f&Ee)===0;)e=e.next;return e}function Bi(e,t,r,n,i){var s=(n&Cn)!==0,l=t.length,a=e.items,f=At(e.effect.first),o,u=null,w,c=[],$=[],b,h,v,k;if(s)for(k=0;k<l;k+=1)b=t[k],h=i(b,k),v=a.get(h).e,(v.f&Ae)===0&&(v.nodes?.a?.measure(),(w??=new Set).add(v));for(k=0;k<l;k+=1){if(b=t[k],h=i(b,k),v=a.get(h).e,e.outrogroups!==null)for(const le of e.outrogroups)le.pending.delete(v),le.done.delete(v);if((v.f&ue)!==0&&(cr(v),s&&(v.nodes?.a?.unfix(),(w??=new Set).delete(v))),(v.f&Ae)!==0)if(v.f^=Ae,v===f)Nt(v,null,r);else{var X=u?u.next:f;v===e.effect.last&&(e.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),et(e,u,v),et(e,v,X),Nt(v,X,r),u=v,c=[],$=[],f=At(u.next);continue}if(v!==f){if(o!==void 0&&o.has(v)){if(c.length<$.length){var V=$[0],te;u=V.prev;var tt=c[0],ye=c[c.length-1];for(te=0;te<c.length;te+=1)Nt(c[te],V,r);for(te=0;te<$.length;te+=1)o.delete($[te]);et(e,tt.prev,ye.next),et(e,u,tt),et(e,ye,V),f=V,u=ye,k-=1,c=[],$=[]}else o.delete(v),Nt(v,f,r),et(e,v.prev,v.next),et(e,v,u===null?e.effect.first:u.next),et(e,u,v),u=v;continue}for(c=[],$=[];f!==null&&f!==v;)(o??=new Set).add(f),$.push(f),f=At(f.next);if(f===null)continue}(v.f&Ae)===0&&c.push(v),u=v,f=At(v.next)}if(e.outrogroups!==null){for(const le of e.outrogroups)le.pending.size===0&&(hr(e,Ot(le.done)),e.outrogroups?.delete(le));e.outrogroups.size===0&&(e.outrogroups=null)}if(f!==null||o!==void 0){var Z=[];if(o!==void 0)for(v of o)(v.f&ue)===0&&Z.push(v);for(;f!==null;)(f.f&ue)===0&&f!==e.fallback&&Z.push(f),f=At(f.next);var De=Z.length;if(De>0){var $e=(n&pr)!==0&&l===0?r:null;if(s){for(k=0;k<De;k+=1)Z[k].nodes?.a?.measure();for(k=0;k<De;k+=1)Z[k].nodes?.a?.fix()}Yi(e,Z,$e)}}s&&st(()=>{if(w!==void 0)for(v of w)v.nodes?.a?.apply()})}function Ui(e,t,r,n,i,s,l,a){var f=(l&Nn)!==0?(l&On)===0?Gr(r,!1,!1):lt(r):null,o=(l&Rn)!==0?lt(i):null;return{v:f,i:o,e:ge(()=>(s(t,f??r,o??i,a),()=>{e.delete(n)}))}}function Nt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&(t.f&Ae)===0?t.nodes.start:r;n!==null;){var l=pe(n);if(s.before(n),n===i)return;n=l}}function et(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Ji(e,t){let r=null,n=P;var i;if(P){r=I;for(var s=Xe(document.head);s!==null&&(s.nodeType!==gt||s.data!==e);)s=pe(s);if(s===null)xe(!1);else{var l=pe(s);s.remove(),ne(l)}}P||(i=document.head.appendChild(ae()));try{Yt(()=>t(i),kr|qe)}finally{n&&(xe(!0),ne(r))}}function Gi(e,t){Ai(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=fr("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ki(e,t,r){var n=e==null?"":""+e;return n=n?n+" "+t:t,n===""?null:n}function Oe(e,t,r,n,i,s){var l=e.__className;if(P||l!==r||l===void 0){var a=Ki(r,n);(!P||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return s}const Wi=Symbol("is custom element"),Xi=Symbol("is html"),Zi=Yn?"link":"LINK";function Me(e,t,r,n){var i=Qi(e);P&&(i[t]=e.getAttribute(t),e.nodeName===Zi)||i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&es(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Qi(e){return e.__attributes??={[Wi]:e.nodeName.includes("-"),[Xi]:e.namespaceURI===wr}}var Sn=new Map;function es(e){var t=e.getAttribute("is")||e.nodeName,r=Sn.get(t);if(r)return r;Sn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Fn(i);for(var l in n)n[l].set&&r.push(l);i=yr(i)}return r}function ct(e,t,r,n){var i=n,s=!0,l=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=l());var f;f=()=>{var c=e[t];return c===void 0?l():(s=!0,c)};var o=!1,u=Ht(()=>(o=!1,f())),w=D;return(function(c,$){if(arguments.length>0){const b=$?_(u):c;return Pe(u,b),o=!0,i!==void 0&&(i=b),c}return Ze&&o||(w.f&he)!==0?u.v:_(u)})}function ts(e){return new rs(e)}class rs{#e;#r;constructor(t){var r=new Map,n=(s,l)=>{var a=Gr(l,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return _(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===qn?!0:(_(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return Pe(r.get(l)??n(l,a),a),Reflect.set(s,l,a)}});this.#r=(t.hydrate?Hi:En)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Je(),this.#e=i.$$events;for(const s of Object.keys(this.#r))s==="$set"||s==="$destroy"||s==="$on"||Dt(this,s,{get(){return this.#r[s]},set(l){this.#r[s]=l},enumerable:!0});this.#r.$set=s=>{Object.assign(i,s)},this.#r.$destroy=()=>{Vi(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==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(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=fr("slot");n!=="default"&&(s.name=n),T(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ns(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Gt(i,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=ts({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Si(()=>{sn(()=>{this.$$r=!0;for(const n of Mt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Gt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Gt(e,r,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 Mt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Gt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 ns(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function is(e,t,r,n,i,s){let l=class extends kn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Mt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Mt(t).forEach(a=>{Dt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(f){f=Gt(a,f,t),this.$$d[a]=f;var o=this.$$c;if(o){var u=ht(o,a)?.get;u?o[a]=f:o.$set({[a]:f})}}})}),n.forEach(a=>{Dt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}var ss=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),ls=O('<a target="_blank"> </a>'),as=O('<a target="_blank"> </a>'),fs=O('<li class="svelte-6fd8bw"><!></li>'),os=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),us=O('<li class="svelte-6fd8bw"> </li>'),cs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),vs=O('<li class="svelte-6fd8bw"><a> </a></li>'),ds=O('<li class="svelte-6fd8bw"><a> </a></li>'),hs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),_s=O('<li class="svelte-6fd8bw"><a> </a></li>'),ps=O('<li class="svelte-6fd8bw"><a> </a></li>'),gs=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div></div>'),bs=O('<li class="svelte-6fd8bw"> </li>'),ws=O('<div class="appointment svelte-6fd8bw">*riceve per appuntamento</div>'),ms=O('<div class="col col_inline svelte-6fd8bw"><div class="inline_icon svelte-6fd8bw"><i></i></div> <div class="inline_content"><div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul> <!></div></div>'),ys=O("<!> <!> <!> <!> <!>",1),$s=O("<span> </span>"),Es=O('<a target="_blank"> </a>'),xs=O('<a target="_blank"> </a>'),Ts=O('<li class="svelte-6fd8bw"><!> <!></li>'),Ss=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),ks=O("<span> </span>"),As=O('<li class="svelte-6fd8bw"><!> </li>'),Ns=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Rs=O("<span> </span>"),Cs=O('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),Os=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Ms=O("<span> </span>"),Ds=O('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),Is=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),Ls=O('<li class="svelte-6fd8bw"> </li>'),Fs=O('<div class="appointment svelte-6fd8bw">riceve per appuntamento</div>'),Ps=O('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul> <!></div>'),js=O("<!> <!> <!> <!> <!>",1),zs=O('<div id="row_container" part="container" class="svelte-6fd8bw"><!></div>');const Hs={hash:"svelte-6fd8bw",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
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;display:block;}
4
4
  /* On screens that are 992px or less, set the background color to blue */
5
5
  @media screen and (min-width: 900px) {#row_container.svelte-6fd8bw {margin:auto;display:flex;flex-direction:row;}
6
6
  }
7
7
  @media screen and (max-width: 900px) {.col.svelte-6fd8bw {margin:30px auto 60px auto;}
8
- }.col.svelte-6fd8bw {flex:1;}.col_big.svelte-6fd8bw {text-align:center;}.col_big.svelte-6fd8bw i:where(.svelte-6fd8bw) {font-size:3rem;}.title.svelte-6fd8bw {font-size:1.2rem;font-weight:bold;margin-bottom:10px;padding-top:5px;}.col_inline.svelte-6fd8bw {display:flex;}.col_inline.svelte-6fd8bw i:where(.svelte-6fd8bw) {font-size:3.5rem;margin:5px 15px 5px 5px;}.inline_icon.svelte-6fd8bw {display:flex;align-items:center;justify-content:center;}ul.svelte-6fd8bw {padding-inline-start:0px;margin:0px;}li.svelte-6fd8bw {list-style:none;}.col_big.svelte-6fd8bw li:where(.svelte-6fd8bw) {margin-top:15px;}.appointment.svelte-6fd8bw {margin-top:5px;font-size:0.6rem;font-weight:bold;}`};function Cn(e,t){Or(t,!0),Ki(e,Bs);let r=ct(t,"id",7,""),n=ct(t,"model",7,"small"),i=ct(t,"websites"),s=ct(t,"emails"),l=ct(t,"phones"),a=ct(t,"addresses"),o=ct(t,"availability");Si(()=>{if(typeof a()=="string")try{a(JSON.parse(a()))}catch(h){console.error("error parsing addresses",h)}if(typeof l()=="string")try{l(JSON.parse(l()))}catch(h){console.error("error parsing phones",h)}if(typeof s()=="string")try{s(JSON.parse(s()))}catch(h){console.error("error parsing emails",h)}if(typeof i()=="string")try{i(JSON.parse(i()))}catch(h){console.error("error parsing websites",h)}if(typeof o()=="string")try{o(JSON.parse(o()))}catch(h){console.error("error parsing availability",h)}});var f={get id(){return r()},set id(h=""){r(h),Je()},get model(){return n()},set model(h="small"){n(h),Je()},get websites(){return i()},set websites(h){i(h),Je()},get emails(){return s()},set emails(h){s(h),Je()},get phones(){return l()},set phones(h){l(h),Je()},get addresses(){return a()},set addresses(h){a(h),Je()},get availability(){return o()},set availability(h){o(h),Je()}},u=Vs();Gi("6fd8bw",h=>{var v=os();T(h,v)});var b=g(u);{var c=h=>{var v=xs(),S=Vt(v);{var X=y=>{var N=vs(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I),B=g(H,!0);d(H);var k=P(H,2);Re(k,21,()=>a().addresses.filter(m=>m.address),m=>m.address,(m,E)=>{var C=cs(),J=g(C);{var W=z=>{var p=fs(),x=g(p,!0);d(p),M(()=>{Me(p,"href",_(E).link),j(x,_(E).address)}),T(z,p)},ie=z=>{var p=us(),x=g(p,!0);d(p),M(()=>{Me(p,"href",`https://www.google.com/maps/@${_(E).latLng[0]??""},${_(E).latLng[1]??""},15z`),j(x,_(E).address)}),T(z,p)},Y=z=>{var p=ut();M(()=>j(p,_(E).address)),T(z,p)};U(J,z=>{_(E).link?z(W):_(E).latLng?.length?z(ie,1):z(Y,-1)})}d(C),T(m,C)}),d(k),d(I),d(N),M(()=>{Oe(Q,1,`bi bi-${(a().icon||"geo-alt")??""}`,"svelte-6fd8bw"),j(B,a().title||"addresses")}),T(y,N)},q=We(()=>a()?.addresses?.filter?.(y=>y.address)?.length);U(S,y=>{_(q)&&y(X)})}var te=P(S,2);{var tt=y=>{var N=hs(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I),B=g(H,!0);d(H);var k=P(H,2);Re(k,21,()=>l().phones.filter(m=>m.number),m=>m.number,(m,E)=>{var C=ds(),J=g(C,!0);d(C),M(()=>j(J,_(E).number)),T(m,C)}),d(k),d(I),d(N),M(()=>{Oe(Q,1,`bi bi-${(l().icon||"telephone")??""}`,"svelte-6fd8bw"),j(B,l().title||"phone")}),T(y,N)},ye=We(()=>l()?.phones?.filter?.(y=>y.number)?.length);U(te,y=>{_(ye)&&y(tt)})}var Z=P(te,2);{var De=y=>{var N=gs(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I),B=g(H,!0);d(H);var k=P(H,2);Re(k,21,()=>s().emails.filter(m=>m.address),m=>m.address,(m,E)=>{var C=En(),J=Vt(C);{var W=Y=>{var z=_s(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",`mailto:${_(E).address??""}`),j(x,_(E).label)}),T(Y,z)},ie=Y=>{var z=ps(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",`mailto:${_(E).address??""}`),j(x,_(E).address)}),T(Y,z)};U(J,Y=>{_(E).label?Y(W):Y(ie,-1)})}T(m,C)}),d(k),d(I),d(N),M(()=>{Oe(Q,1,`bi bi-${(s().icon||"envelope")??""}`,"svelte-6fd8bw"),j(B,s().title||"email")}),T(y,N)},$e=We(()=>s()?.emails?.filter?.(y=>y.address)?.length);U(Z,y=>{_($e)&&y(De)})}var le=P(Z,2);{var rt=y=>{var N=ms(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I),B=g(H,!0);d(H);var k=P(H,2);Re(k,21,()=>i().websites.filter(m=>m.url),m=>m.url,(m,E)=>{var C=En(),J=Vt(C);{var W=Y=>{var z=ws(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",_(E).url),j(x,_(E).label)}),T(Y,z)},ie=Y=>{var z=bs(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",_(E).url),j(x,_(E).url)}),T(Y,z)};U(J,Y=>{_(E).label?Y(W):Y(ie,-1)})}T(m,C)}),d(k),d(I),d(N),M(()=>{Oe(Q,1,`bi bi-${(i().icon||"globe")??""}`,"svelte-6fd8bw"),j(B,i().title||"websites")}),T(y,N)},ve=We(()=>i()?.websites?.filter?.(y=>y.url)?.length);U(le,y=>{_(ve)&&y(rt)})}var Rt=P(le,2);{var Ot=y=>{var N=Es(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I),B=g(H,!0);d(H);var k=P(H,2);Re(k,20,()=>o().times,C=>C,(C,J)=>{var W=ys(),ie=g(W,!0);d(W),M(()=>j(ie,J)),T(C,W)}),d(k);var m=P(k,2);{var E=C=>{var J=$s();T(C,J)};U(m,C=>{o().appointment&&C(E)})}d(I),d(N),M(()=>{Oe(Q,1,`bi bi-${(o().icon||"clock")??""}`,"svelte-6fd8bw"),j(B,o().title||"availability")}),T(y,N)};U(Rt,y=>{o()?.times?.length&&y(Ot)})}T(h,v)},$=h=>{var v=qs(),S=Vt(v);{var X=y=>{var N=As(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I,!0);d(I);var B=P(I,2);Re(B,21,()=>a().addresses.filter(k=>k.address),k=>k.address,(k,m)=>{var E=Ns(),C=g(E);{var J=p=>{var x=Ts(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(C,p=>{_(m).name&&p(J)})}var W=P(C,2);{var ie=p=>{var x=ks(),je=g(x,!0);d(x),M(()=>{Me(x,"href",_(m).link),j(je,_(m).address)}),T(p,x)},Y=p=>{var x=Ss(),je=g(x,!0);d(x),M(()=>{Me(x,"href",`https://www.google.com/maps/@${_(m).latLng[0]??""},${_(m).latLng[1]??""},15z`),j(je,_(m).address)}),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).address)),T(p,x)};U(W,p=>{_(m).link?p(ie):_(m).latLng?.length?p(Y,1):p(z,-1)})}d(E),T(k,E)}),d(B),d(N),M(()=>{Oe(Q,1,`bi bi-${(a().icon||"geo-alt")??""}`,"svelte-6fd8bw"),j(H,a().title||"addresses")}),T(y,N)},q=We(()=>a()?.addresses?.filter?.(y=>y.address)?.length);U(S,y=>{_(q)&&y(X)})}var te=P(S,2);{var tt=y=>{var N=Os(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I,!0);d(I);var B=P(I,2);Re(B,21,()=>l().phones.filter(k=>k.number),k=>k.number,(k,m)=>{var E=Rs(),C=g(E);{var J=ie=>{var Y=Cs(),z=g(Y);d(Y),M(()=>j(z,`${_(m).name??""}:`)),T(ie,Y)};U(C,ie=>{_(m).name&&ie(J)})}var W=P(C);d(E),M(()=>j(W,` ${_(m).number??""}`)),T(k,E)}),d(B),d(N),M(()=>{Oe(Q,1,`bi bi-${(l().icon||"telephone")??""}`,"svelte-6fd8bw"),j(H,l().title||"phone")}),T(y,N)},ye=We(()=>l()?.phones?.filter?.(y=>y.number)?.length);U(te,y=>{_(ye)&&y(tt)})}var Z=P(te,2);{var De=y=>{var N=Ls(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I,!0);d(I);var B=P(I,2);Re(B,21,()=>s().emails.filter(k=>k.address),k=>k.address,(k,m)=>{var E=Ds(),C=g(E);{var J=p=>{var x=Ms(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(C,p=>{_(m).name&&p(J)})}var W=P(C,2),ie=g(W);{var Y=p=>{var x=ut();M(()=>j(x,_(m).label)),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).address)),T(p,x)};U(ie,p=>{_(m).label?p(Y):p(z,-1)})}d(W),d(E),M(()=>Me(W,"href",`mailto:${_(m).address??""}`)),T(k,E)}),d(B),d(N),M(()=>{Oe(Q,1,`bi bi-${(s().icon||"envelope")??""}`,"svelte-6fd8bw"),j(H,s().title||"email")}),T(y,N)},$e=We(()=>s()?.emails?.filter?.(y=>y.address)?.length);U(Z,y=>{_($e)&&y(De)})}var le=P(Z,2);{var rt=y=>{var N=Fs(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I,!0);d(I);var B=P(I,2);Re(B,21,()=>i().websites.filter(k=>k.url),k=>k.url,(k,m)=>{var E=Is(),C=g(E);{var J=p=>{var x=Ps(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(C,p=>{_(m).name&&p(J)})}var W=P(C,2),ie=g(W);{var Y=p=>{var x=ut();M(()=>j(x,_(m).label)),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).url)),T(p,x)};U(ie,p=>{_(m).label?p(Y):p(z,-1)})}d(W),d(E),M(()=>Me(W,"href",_(m).url)),T(k,E)}),d(B),d(N),M(()=>{Oe(Q,1,`bi bi-${(i().icon||"globe")??""}`,"svelte-6fd8bw"),j(H,i().title||"websites")}),T(y,N)},ve=We(()=>i()?.websites?.filter?.(y=>y.url)?.length);U(le,y=>{_(ve)&&y(rt)})}var Rt=P(le,2);{var Ot=y=>{var N=Hs(),A=g(N),Q=g(A);d(A);var I=P(A,2),H=g(I,!0);d(I);var B=P(I,2);Re(B,20,()=>o().times,E=>E,(E,C)=>{var J=js(),W=g(J,!0);d(J),M(()=>j(W,C)),T(E,J)}),d(B);var k=P(B,2);{var m=E=>{var C=zs();T(E,C)};U(k,E=>{o().appointment&&E(m)})}d(N),M(()=>{Oe(Q,1,`bi bi-${(o().icon||"clock")??""}`,"svelte-6fd8bw"),j(H,o().title||"availability")}),T(y,N)};U(Rt,y=>{o()?.times?.length&&y(Ot)})}T(h,v)},w=h=>{var v=ut();M(()=>j(v,`wrong model provided ${n()??""}`)),T(h,v)};U(b,h=>{n()==="small"?h(c):n()==="big"?h($,1):h(w,-1)})}return d(u),T(e,u),Mr(f)}customElements.define("hb-site-contacts-row",ls(Cn,{id:{},model:{},websites:{},emails:{},phones:{},addresses:{},availability:{}},[],[],{mode:"open"})),pr.Component=Cn,Object.defineProperty(pr,Symbol.toStringTag,{value:"Module"})})(this["site-contacts-row"]=this["site-contacts-row"]||{});
8
+ }.col.svelte-6fd8bw {flex:1;}.col_big.svelte-6fd8bw {text-align:center;}.col_big.svelte-6fd8bw i:where(.svelte-6fd8bw) {font-size:3rem;}.title.svelte-6fd8bw {font-size:1.2rem;font-weight:bold;margin-bottom:10px;padding-top:5px;}.col_inline.svelte-6fd8bw {display:flex;}.col_inline.svelte-6fd8bw i:where(.svelte-6fd8bw) {font-size:3.5rem;margin:5px 15px 5px 5px;}.inline_icon.svelte-6fd8bw {display:flex;align-items:center;justify-content:center;}ul.svelte-6fd8bw {padding-inline-start:0px;margin:0px;}li.svelte-6fd8bw {list-style:none;}.col_big.svelte-6fd8bw li:where(.svelte-6fd8bw) {margin-top:15px;}.appointment.svelte-6fd8bw {margin-top:5px;font-size:0.6rem;font-weight:bold;}`};function An(e,t){Cr(t,!0),Gi(e,Hs);let r=ct(t,"id",7,""),n=ct(t,"model",7,"small"),i=ct(t,"websites"),s=ct(t,"emails"),l=ct(t,"phones"),a=ct(t,"addresses"),f=ct(t,"availability");Ti(()=>{if(typeof a()=="string")try{a(JSON.parse(a()))}catch(h){console.error("error parsing addresses",h)}if(typeof l()=="string")try{l(JSON.parse(l()))}catch(h){console.error("error parsing phones",h)}if(typeof s()=="string")try{s(JSON.parse(s()))}catch(h){console.error("error parsing emails",h)}if(typeof i()=="string")try{i(JSON.parse(i()))}catch(h){console.error("error parsing websites",h)}if(typeof f()=="string")try{f(JSON.parse(f()))}catch(h){console.error("error parsing availability",h)}});var o={get id(){return r()},set id(h=""){r(h),Je()},get model(){return n()},set model(h="small"){n(h),Je()},get websites(){return i()},set websites(h){i(h),Je()},get emails(){return s()},set emails(h){s(h),Je()},get phones(){return l()},set phones(h){l(h),Je()},get addresses(){return a()},set addresses(h){a(h),Je()},get availability(){return f()},set availability(h){f(h),Je()}},u=zs();Ji("6fd8bw",h=>{var v=ss();T(h,v)});var w=g(u);{var c=h=>{var v=ys(),k=Vt(v);{var X=y=>{var A=os(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F),Y=g(H,!0);d(H);var S=L(H,2);Ce(S,21,()=>a().addresses.filter(m=>m.address),m=>m.address,(m,E)=>{var R=fs(),J=g(R);{var G=z=>{var p=ls(),x=g(p,!0);d(p),M(()=>{Me(p,"href",_(E).link),j(x,_(E).address)}),T(z,p)},ie=z=>{var p=as(),x=g(p,!0);d(p),M(()=>{Me(p,"href",`https://www.google.com/maps/@${_(E).latLng[0]??""},${_(E).latLng[1]??""},15z`),j(x,_(E).address)}),T(z,p)},B=z=>{var p=ut();M(()=>j(p,_(E).address)),T(z,p)};U(J,z=>{_(E).link?z(G):_(E).latLng?.length?z(ie,1):z(B,-1)})}d(R),T(m,R)}),d(S),d(F),d(A),M(()=>{Oe(Q,1,`bi bi-${(a().icon||"geo-alt")??""}`,"svelte-6fd8bw"),j(Y,a().title||"addresses")}),T(y,A)},V=Ge(()=>a()?.addresses?.filter?.(y=>y.address)?.length);U(k,y=>{_(V)&&y(X)})}var te=L(k,2);{var tt=y=>{var A=cs(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F),Y=g(H,!0);d(H);var S=L(H,2);Ce(S,21,()=>l().phones.filter(m=>m.number),m=>m.number,(m,E)=>{var R=us(),J=g(R,!0);d(R),M(()=>j(J,_(E).number)),T(m,R)}),d(S),d(F),d(A),M(()=>{Oe(Q,1,`bi bi-${(l().icon||"telephone")??""}`,"svelte-6fd8bw"),j(Y,l().title||"phone")}),T(y,A)},ye=Ge(()=>l()?.phones?.filter?.(y=>y.number)?.length);U(te,y=>{_(ye)&&y(tt)})}var Z=L(te,2);{var De=y=>{var A=hs(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F),Y=g(H,!0);d(H);var S=L(H,2);Ce(S,21,()=>s().emails.filter(m=>m.address),m=>m.address,(m,E)=>{var R=$n(),J=Vt(R);{var G=B=>{var z=vs(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",`mailto:${_(E).address??""}`),j(x,_(E).label)}),T(B,z)},ie=B=>{var z=ds(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",`mailto:${_(E).address??""}`),j(x,_(E).address)}),T(B,z)};U(J,B=>{_(E).label?B(G):B(ie,-1)})}T(m,R)}),d(S),d(F),d(A),M(()=>{Oe(Q,1,`bi bi-${(s().icon||"envelope")??""}`,"svelte-6fd8bw"),j(Y,s().title||"email")}),T(y,A)},$e=Ge(()=>s()?.emails?.filter?.(y=>y.address)?.length);U(Z,y=>{_($e)&&y(De)})}var le=L(Z,2);{var rt=y=>{var A=gs(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F),Y=g(H,!0);d(H);var S=L(H,2);Ce(S,21,()=>i().websites.filter(m=>m.url),m=>m.url,(m,E)=>{var R=$n(),J=Vt(R);{var G=B=>{var z=_s(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",_(E).url),j(x,_(E).label)}),T(B,z)},ie=B=>{var z=ps(),p=g(z),x=g(p,!0);d(p),d(z),M(()=>{Me(p,"href",_(E).url),j(x,_(E).url)}),T(B,z)};U(J,B=>{_(E).label?B(G):B(ie,-1)})}T(m,R)}),d(S),d(F),d(A),M(()=>{Oe(Q,1,`bi bi-${(i().icon||"globe")??""}`,"svelte-6fd8bw"),j(Y,i().title||"websites")}),T(y,A)},ve=Ge(()=>i()?.websites?.filter?.(y=>y.url)?.length);U(le,y=>{_(ve)&&y(rt)})}var Rt=L(le,2);{var Ct=y=>{var A=ms(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F),Y=g(H,!0);d(H);var S=L(H,2);Ce(S,20,()=>f().times,R=>R,(R,J)=>{var G=bs(),ie=g(G,!0);d(G),M(()=>j(ie,J)),T(R,G)}),d(S);var m=L(S,2);{var E=R=>{var J=ws();T(R,J)};U(m,R=>{f().appointment&&R(E)})}d(F),d(A),M(()=>{Oe(Q,1,`bi bi-${(f().icon||"clock")??""}`,"svelte-6fd8bw"),j(Y,f().title||"availability")}),T(y,A)};U(Rt,y=>{f()?.times?.length&&y(Ct)})}T(h,v)},$=h=>{var v=js(),k=Vt(v);{var X=y=>{var A=Ss(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F,!0);d(F);var Y=L(F,2);Ce(Y,21,()=>a().addresses.filter(S=>S.address),S=>S.address,(S,m)=>{var E=Ts(),R=g(E);{var J=p=>{var x=$s(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(R,p=>{_(m).name&&p(J)})}var G=L(R,2);{var ie=p=>{var x=Es(),je=g(x,!0);d(x),M(()=>{Me(x,"href",_(m).link),j(je,_(m).address)}),T(p,x)},B=p=>{var x=xs(),je=g(x,!0);d(x),M(()=>{Me(x,"href",`https://www.google.com/maps/@${_(m).latLng[0]??""},${_(m).latLng[1]??""},15z`),j(je,_(m).address)}),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).address)),T(p,x)};U(G,p=>{_(m).link?p(ie):_(m).latLng?.length?p(B,1):p(z,-1)})}d(E),T(S,E)}),d(Y),d(A),M(()=>{Oe(Q,1,`bi bi-${(a().icon||"geo-alt")??""}`,"svelte-6fd8bw"),j(H,a().title||"addresses")}),T(y,A)},V=Ge(()=>a()?.addresses?.filter?.(y=>y.address)?.length);U(k,y=>{_(V)&&y(X)})}var te=L(k,2);{var tt=y=>{var A=Ns(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F,!0);d(F);var Y=L(F,2);Ce(Y,21,()=>l().phones.filter(S=>S.number),S=>S.number,(S,m)=>{var E=As(),R=g(E);{var J=ie=>{var B=ks(),z=g(B);d(B),M(()=>j(z,`${_(m).name??""}:`)),T(ie,B)};U(R,ie=>{_(m).name&&ie(J)})}var G=L(R);d(E),M(()=>j(G,` ${_(m).number??""}`)),T(S,E)}),d(Y),d(A),M(()=>{Oe(Q,1,`bi bi-${(l().icon||"telephone")??""}`,"svelte-6fd8bw"),j(H,l().title||"phone")}),T(y,A)},ye=Ge(()=>l()?.phones?.filter?.(y=>y.number)?.length);U(te,y=>{_(ye)&&y(tt)})}var Z=L(te,2);{var De=y=>{var A=Os(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F,!0);d(F);var Y=L(F,2);Ce(Y,21,()=>s().emails.filter(S=>S.address),S=>S.address,(S,m)=>{var E=Cs(),R=g(E);{var J=p=>{var x=Rs(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(R,p=>{_(m).name&&p(J)})}var G=L(R,2),ie=g(G);{var B=p=>{var x=ut();M(()=>j(x,_(m).label)),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).address)),T(p,x)};U(ie,p=>{_(m).label?p(B):p(z,-1)})}d(G),d(E),M(()=>Me(G,"href",`mailto:${_(m).address??""}`)),T(S,E)}),d(Y),d(A),M(()=>{Oe(Q,1,`bi bi-${(s().icon||"envelope")??""}`,"svelte-6fd8bw"),j(H,s().title||"email")}),T(y,A)},$e=Ge(()=>s()?.emails?.filter?.(y=>y.address)?.length);U(Z,y=>{_($e)&&y(De)})}var le=L(Z,2);{var rt=y=>{var A=Is(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F,!0);d(F);var Y=L(F,2);Ce(Y,21,()=>i().websites.filter(S=>S.url),S=>S.url,(S,m)=>{var E=Ds(),R=g(E);{var J=p=>{var x=Ms(),je=g(x);d(x),M(()=>j(je,`${_(m).name??""}:`)),T(p,x)};U(R,p=>{_(m).name&&p(J)})}var G=L(R,2),ie=g(G);{var B=p=>{var x=ut();M(()=>j(x,_(m).label)),T(p,x)},z=p=>{var x=ut();M(()=>j(x,_(m).url)),T(p,x)};U(ie,p=>{_(m).label?p(B):p(z,-1)})}d(G),d(E),M(()=>Me(G,"href",_(m).url)),T(S,E)}),d(Y),d(A),M(()=>{Oe(Q,1,`bi bi-${(i().icon||"globe")??""}`,"svelte-6fd8bw"),j(H,i().title||"websites")}),T(y,A)},ve=Ge(()=>i()?.websites?.filter?.(y=>y.url)?.length);U(le,y=>{_(ve)&&y(rt)})}var Rt=L(le,2);{var Ct=y=>{var A=Ps(),N=g(A),Q=g(N);d(N);var F=L(N,2),H=g(F,!0);d(F);var Y=L(F,2);Ce(Y,20,()=>f().times,E=>E,(E,R)=>{var J=Ls(),G=g(J,!0);d(J),M(()=>j(G,R)),T(E,J)}),d(Y);var S=L(Y,2);{var m=E=>{var R=Fs();T(E,R)};U(S,E=>{f().appointment&&E(m)})}d(A),M(()=>{Oe(Q,1,`bi bi-${(f().icon||"clock")??""}`,"svelte-6fd8bw"),j(H,f().title||"availability")}),T(y,A)};U(Rt,y=>{f()?.times?.length&&y(Ct)})}T(h,v)},b=h=>{var v=ut();M(()=>j(v,`wrong model provided ${n()??""}`)),T(h,v)};U(w,h=>{n()==="small"?h(c):n()==="big"?h($,1):h(b,-1)})}return d(u),T(e,u),Or(o)}customElements.define("hb-site-contacts-row",is(An,{id:{},model:{},websites:{},emails:{},phones:{},addresses:{},availability:{}},[],[],{mode:"open"})),_r.Component=An,Object.defineProperty(_r,Symbol.toStringTag,{value:"Module"})})(this["site-contacts-row"]=this["site-contacts-row"]||{});
9
9
  //# sourceMappingURL=main.iife.js.map