@htmlbricks/hb-site-contacts-row 0.65.23 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(vr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const dr=1,_r=2,hr=4,gn=8,bn=16,wn=1,mn=2,pr="[",Ct="[!",Wt="]",ct={},te=Symbol(),yn="http://www.w3.org/1999/xhtml",Gt=!1;var gr=Array.isArray,$n=Array.prototype.indexOf,Kt=Array.from,St=Object.keys,Ot=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,En=Object.getOwnPropertyDescriptors,xn=Object.prototype,Tn=Array.prototype,br=Object.getPrototypeOf,wr=Object.isExtensible;function kn(e){for(var t=0;t<e.length;t++)e[t]()}function mr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const Q=2,Xt=4,Zt=8,Ie=16,Fe=32,Ye=64,Rt=128,Ee=512,re=1024,ue=2048,je=4096,de=8192,qe=16384,Dt=32768,dt=65536,yr=1<<17,Qt=1<<18,Ze=1<<19,An=1<<20,Qe=32768,er=1<<21,tr=1<<22,ze=1<<23,rr=Symbol("$state"),Nn=Symbol("legacy props"),_t=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Lt=3,et=8;function Cn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Sn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function On(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Dn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ln(){throw new Error("https://svelte.dev/e/hydration_failed")}function Mn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function In(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Fn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Mt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function jn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let L=!1;function xe(e){L=e}let I;function ee(e){if(e===null)throw Mt(),ct;return I=e}function Pt(){return ee(we(I))}function d(e){if(L){if(we(I)!==null)throw Mt(),ct;I=e}}function qn(e=1){if(L){for(var t=e,r=I;t--;)r=we(r);I=r}}function It(e=!0){for(var t=0,r=I;;){if(r.nodeType===et){var n=r.data;if(n===Wt){if(t===0)return r;t-=1}else(n===pr||n===Ct)&&(t+=1)}var i=we(r);e&&r.remove(),r=i}}function $r(e){if(!e||e.nodeType!==et)throw Mt(),ct;return e.data}function Er(e){return e===this.v}function Hn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function xr(e){return!Hn(e,this.v)}let Bn=!1,pe=null;function ht(e){pe=e}function Tr(e,t=!1,r){pe={p:pe,i:!1,c:null,e:null,s:e,x:null,l:null}}function kr(e){var t=pe,r=t.e;if(r!==null){t.e=null;for(var n of r)zr(n)}return e!==void 0&&(t.x=e),t.i=!0,pe=t.p,e??{}}function Ar(){return!0}let tt=[];function Nr(){var e=tt;tt=[],kn(e)}function Ft(e){if(tt.length===0&&!$t){var t=tt;queueMicrotask(()=>{t===tt&&Nr()})}tt.push(e)}function Vn(){for(;tt.length>0;)Nr()}function Cr(e){var t=F;if(t===null)return M.f|=ze,e;if((t.f&Dt)===0){if((t.f&Rt)===0)throw e;t.b.error(e)}else pt(e,t)}function pt(e,t){for(;t!==null;){if((t.f&Rt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const jt=new Set;let Z=null,ge=null,be=[],qt=null,nr=!1,$t=!1;class Te{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#f=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){be=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#l(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(Z=null,Or(r.render_effects),Or(r.effects),this.#f?.resolve()),ge=null}#l(t,r){t.f^=re;for(var n=t.first;n!==null;){var i=n.f,s=(i&(Fe|Ye))!==0,l=s&&(i&re)!==0,f=l||(i&de)!==0||this.skipped_effects.has(n);if((n.f&Rt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!f&&n.fn!==null){s?n.f^=re:(i&Xt)!==0?r.effects.push(n):Tt(n)&&((n.f&Ie)!==0&&r.block_effects.push(n),kt(n));var a=n.first;if(a!==null){n=a;continue}}var o=n.parent;for(n=n.next;n===null&&o!==null;)o===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=o.next,o=o.parent}}#a(t){for(const r of t)((r.f&ue)!==0?this.#s:this.#i).push(r),this.#o(r.deps),ne(r,re)}#o(t){if(t!==null)for(const r of t)(r.f&Q)===0||(r.f&Qe)===0||(r.f^=Qe,this.#o(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ze)===0&&(this.current.set(t,t.v),ge?.set(t,t.v))}activate(){Z=this,this.apply()}deactivate(){Z===this&&(Z=null,ge=null)}flush(){if(this.activate(),be.length>0){if(Sr(),Z!==null&&Z!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(jt.size>1){this.previous.clear();var t=ge,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of jt){if(s===this){r=!1;continue}const l=[];for(const[a,o]of this.current){if(s.current.has(a))if(r&&o!==s.current.get(a))s.current.set(a,o);else continue;l.push(a)}if(l.length===0)continue;const f=[...s.current.keys()].filter(a=>!this.current.has(a));if(f.length>0){var i=be;be=[];const a=new Set,o=new Map;for(const u of l)Rr(u,f,a,o);if(be.length>0){Z=s,s.apply();for(const u of be)s.#l(u,n);s.deactivate()}be=i}}Z=null,ge=t}this.committed=!0,jt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#s)ne(t,ue),rt(t);for(const t of this.#i)ne(t,je),rt(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#f??=mr()).promise}static ensure(){if(Z===null){const t=Z=new Te;jt.add(Z),$t||Te.enqueue(()=>{Z===t&&t.flush()})}return Z}static enqueue(t){Ft(t)}apply(){}}function Je(e){var t=$t;$t=!0;try{for(var r;;){if(Vn(),be.length===0&&(Z?.flush(),be.length===0))return qt=null,r;Sr()}}finally{$t=t}}function Sr(){var e=Ke;nr=!0;var t=null;try{var r=0;for(Ut(!0);be.length>0;){var n=Te.ensure();if(r++>1e3){var i,s;Un()}n.process(be),We.clear()}}finally{nr=!1,Ut(e),qt=null}}function Un(){try{Dn()}catch(e){pt(e,qt)}}let He=null;function Or(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(qe|de))===0&&Tt(n)&&(He=new Set,kt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Kr(n):n.fn=null),He?.size>0)){We.clear();for(const i of He){if((i.f&(qe|de))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)He.has(l)&&(He.delete(l),s.push(l)),l=l.parent;for(let f=s.length-1;f>=0;f--){const a=s[f];(a.f&(qe|de))===0&&kt(a)}}He.clear()}}He=null}}function Rr(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&Q)!==0?Rr(i,t,r,n):(s&(tr|Ie))!==0&&(s&ue)===0&&Dr(i,t,n)&&(ne(i,ue),rt(i))}}function Dr(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(t.includes(i))return!0;if((i.f&Q)!==0&&Dr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function rt(e){for(var t=qt=e;t.parent!==null;){t=t.parent;var r=t.f;if(nr&&t===F&&(r&Ie)!==0&&(r&Qt)===0)return;if((r&(Ye|Fe))!==0){if((r&re)===0)return;t.f^=re}}be.push(t)}function Yn(e){let t=0,r=nt(0),n;return()=>{Bt()&&(p(r),Jr(()=>(t===0&&(n=gi(()=>e(()=>Et(r)))),t+=1,()=>{Ft(()=>{t-=1,t===0&&(n?.(),n=void 0,Et(r))})})))}}var zn=dt|Ze|Rt;function Jn(e,t,r){new Wn(e,t,r)}class Wn{parent;#t=!1;#e;#r=L?I:null;#n;#f;#s;#i=null;#l=null;#a=null;#o=null;#u=null;#c=0;#v=0;#_=!1;#d=null;#w=Yn(()=>(this.#d=nt(this.#c),()=>{this.#d=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#f=n,this.parent=F.b,this.#t=!!this.#n.pending,this.#s=Vt(()=>{if(F.b=this,L){const s=this.#r;Pt(),s.nodeType===et&&s.data===Ct?this.#y():this.#m()}else{var i=this.#g();try{this.#i=me(()=>n(i))}catch(s){this.error(s)}this.#v>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},zn),L&&(this.#e=I)}#m(){try{this.#i=me(()=>this.#f(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#l=me(()=>t(this.#e)),Te.enqueue(()=>{var r=this.#g();this.#i=this.#h(()=>(Te.ensure(),me(()=>this.#f(r)))),this.#v>0?this.#p():(wt(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=le(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#h(t){var r=F,n=M,i=pe;De(this.#s),ce(this.#s),ht(this.#s.ctx);try{return t()}catch(s){return Cr(s),null}finally{De(r),ce(n),ht(i)}}#p(){const t=this.#n.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Qr(this.#i,this.#o)),this.#l===null&&(this.#l=me(()=>t(this.#e)))}#b(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t);return}this.#v+=t,this.#v===0&&(this.#t=!1,this.#l&&wt(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#b(t),this.#c+=t,this.#d&>(this.#d,this.#c)}get_effect_pending(){return this.#w(),p(this.#d)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#_||!r&&!n)throw t;this.#i&&(ae(this.#i),this.#i=null),this.#l&&(ae(this.#l),this.#l=null),this.#a&&(ae(this.#a),this.#a=null),L&&(ee(this.#r),qn(),ee(It()));var i=!1,s=!1;const l=()=>{if(i){jn();return}i=!0,s&&Fn(),Te.ensure(),this.#c=0,this.#a!==null&&wt(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#i=this.#h(()=>(this.#_=!1,me(()=>this.#f(this.#e)))),this.#v>0?this.#p():this.#t=!1};var f=M;try{ce(null),s=!0,r?.(t,l),s=!1}catch(a){pt(a,this.#s&&this.#s.parent)}finally{ce(f)}n&&Ft(()=>{this.#a=this.#h(()=>{Te.ensure(),this.#_=!0;try{return me(()=>{n(this.#e,()=>t,()=>l)})}catch(a){return pt(a,this.#s.parent),null}finally{this.#_=!1}})})}}function Gn(e,t,r){for(var n=[],i=t.length,s=0;s<i;s++)or(t[s].e,n,!0);Xr(n,()=>{var l=n.length===0&&r!==null;if(l){var f=r,a=f.parentNode;Vr(a),a.append(f),e.items.clear(),Se(e,t[0].prev,t[i-1].next)}for(var o=0;o<i;o++){var u=t[o];l||(e.items.delete(u.k),Se(e,u.prev,u.next)),ae(u.e,!l)}e.first===t[0]&&(e.first=t[0].prev)})}function Ce(e,t,r,n,i,s=null){var l=e,f=new Map,a=null,o=(t&hr)!==0,u=(t&dr)!==0,g=(t&_r)!==0;if(o){var c=e;l=L?ee(Ge(c)):c.appendChild(le())}L&&Pt();var v=null,_=ti(()=>{var U=r();return gr(U)?U:U==null?[]:Kt(U)}),H,b=!0;function B(){Kn(oe,H,l,t,n),v!==null&&(H.length===0?(v.fragment?(l.before(v.fragment),v.fragment=null):ur(v.effect),ve.first=v.effect):wt(v.effect,()=>{v=null}))}var ve=Vt(()=>{H=p(_);var U=H.length;let ke=!1;if(L){var Pe=$r(l)===Ct;Pe!==(U===0)&&(l=It(),ee(l),xe(!1),ke=!0)}for(var he=new Set,$e=Z,Ae=null,G=Ur(),T=0;T<U;T+=1){L&&I.nodeType===et&&I.data===Wt&&(l=I,ke=!0,xe(!1));var J=H[T],ie=n(J,T),V=b?null:f.get(ie);V?(u&>(V.v,J),g?gt(V.i,T):V.i=T,G&&$e.skipped_effects.delete(V.e)):(V=Xn(b?l:null,Ae,J,ie,T,i,t,r),b&&(V.o=!0,Ae===null?a=V:Ae.next=V,Ae=V),f.set(ie,V)),he.add(ie)}if(U===0&&s&&!v)if(b)v={fragment:null,effect:me(()=>s(l))};else{var $=document.createDocumentFragment(),E=le();$.append(E),v={fragment:$,effect:me(()=>s(E))}}if(L&&U>0&&ee(It()),!b)if(G){for(const[A,N]of f)he.has(A)||$e.skipped_effects.add(N.e);$e.oncommit(B),$e.ondiscard(()=>{})}else B();ke&&xe(!0),p(_)}),oe={effect:ve,items:f,first:a};b=!1,L&&(l=I)}function Kn(e,t,r,n,i){var s=(n&gn)!==0,l=t.length,f=e.items,a=e.first,o,u=null,g,c=[],v=[],_,H,b,B;if(s)for(B=0;B<l;B+=1)_=t[B],H=i(_,B),b=f.get(H),b.a?.measure(),(g??=new Set).add(b);for(B=0;B<l;B+=1){if(_=t[B],H=i(_,B),b=f.get(H),e.first??=b,!b.o){b.o=!0;var ve=u?u.next:a;Se(e,u,b),Se(e,b,ve),ir(b,ve,r),u=b,c=[],v=[],a=u.next;continue}if((b.e.f&de)!==0&&(ur(b.e),s&&(b.a?.unfix(),(g??=new Set).delete(b))),b!==a){if(o!==void 0&&o.has(b)){if(c.length<v.length){var oe=v[0],U;u=oe.prev;var ke=c[0],Pe=c[c.length-1];for(U=0;U<c.length;U+=1)ir(c[U],oe,r);for(U=0;U<v.length;U+=1)o.delete(v[U]);Se(e,ke.prev,Pe.next),Se(e,u,ke),Se(e,Pe,oe),a=oe,u=Pe,B-=1,c=[],v=[]}else o.delete(b),ir(b,a,r),Se(e,b.prev,b.next),Se(e,b,u===null?e.first:u.next),Se(e,u,b),u=b;continue}for(c=[],v=[];a!==null&&a.k!==H;)(a.e.f&de)===0&&(o??=new Set).add(a),v.push(a),a=a.next;if(a===null)continue;b=a}c.push(b),u=b,a=b.next}if(a!==null||o!==void 0){for(var he=o===void 0?[]:Kt(o);a!==null;)(a.e.f&de)===0&&he.push(a),a=a.next;var $e=he.length;if($e>0){var Ae=(n&hr)!==0&&l===0?r:null;if(s){for(B=0;B<$e;B+=1)he[B].a?.measure();for(B=0;B<$e;B+=1)he[B].a?.fix()}Gn(e,he,Ae)}}s&&Ft(()=>{if(g!==void 0)for(b of g)b.a?.apply()})}function Xn(e,t,r,n,i,s,l,f){var a=(l&dr)!==0,o=(l&bn)===0,u=a?o?Ir(r,!1,!1):nt(r):r,g=(l&_r)===0?i:nt(i),c={i:g,v:u,k:n,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=le())}return c.e=me(()=>s(e,u,g,f)),t!==null&&(t.next=c),c}finally{}}function ir(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var l=we(s);i.before(s),s=l}}function Se(e,t,r){t===null?(e.first=r,e.effect.first=r&&r.e):(t.e.next&&(t.e.next.prev=null),t.next=r,t.e.next=r&&r.e),r===null?e.effect.last=t&&t.e:(r.e.prev&&(r.e.prev.next=null),r.prev=t,r.e.prev=t&&t.e)}function Zn(e,t,r,n){const i=sr;if(r.length===0&&e.length===0){n(t.map(i));return}var s=Z,l=F,f=Qn();function a(){Promise.all(r.map(o=>ei(o))).then(o=>{f();try{n([...t.map(i),...o])}catch(u){(l.f&qe)===0&&pt(u,l)}s?.deactivate(),Ht()}).catch(o=>{pt(o,l)})}e.length>0?Promise.all(e).then(()=>{f();try{return a()}finally{s?.deactivate(),Ht()}}):a()}function Qn(){var e=F,t=M,r=pe,n=Z;return function(s=!0){De(e),ce(t),ht(r),s&&n?.activate()}}function Ht(){De(null),ce(null),ht(null)}function sr(e){var t=Q|ue,r=M!==null&&(M.f&Q)!==0?M:null;return F!==null&&(F.f|=Ze),{ctx:pe,deps:null,effects:null,equals:Er,f:t,fn:e,reactions:null,rv:0,v:te,wv:0,parent:r??F,ac:null}}function ei(e,t){let r=F;r===null&&Cn();var n=r.b,i=void 0,s=nt(te),l=!M,f=new Map;return ci(()=>{var a=mr();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===Z&&o.committed&&o.deactivate(),Ht()})}catch(c){a.reject(c),Ht()}var o=Z;if(l){var u=!n.is_pending();n.update_pending_count(1),o.increment(u),f.get(o)?.reject(_t),f.delete(o),f.set(o,a)}const g=(c,v=void 0)=>{if(o.activate(),v)v!==_t&&(s.f|=ze,gt(s,v));else{(s.f&ze)!==0&&(s.f^=ze),gt(s,c);for(const[_,H]of f){if(f.delete(_),_===o)break;H.reject(_t)}}l&&(n.update_pending_count(-1),o.decrement(u))};a.promise.then(g,c=>g(null,c||"unknown"))}),li(()=>{for(const a of f.values())a.reject(_t)}),new Promise(a=>{function o(u){function g(){u===i?a(s):o(i)}u.then(g,g)}o(i)})}function ti(e){const t=sr(e);return t.equals=xr,t}function Lr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ae(t[r])}}function ri(e){for(var t=e.parent;t!==null;){if((t.f&Q)===0)return(t.f&qe)===0?t:null;t=t.parent}return null}function lr(e){var t,r=F;De(ri(e));try{e.f&=~Qe,Lr(e),t=ln(e)}finally{De(r)}return t}function Mr(e){var t=lr(e);if(e.equals(t)||(Z?.is_fork||(e.v=t),e.wv=nn()),!st)if(ge!==null)Bt()&&ge.set(e,t);else{var r=(e.f&Ee)===0?je:re;ne(e,r)}}let ar=new Set;const We=new Map;let Pr=!1;function nt(e,t){var r={f:0,v:e,reactions:null,equals:Er,rv:0,wv:0};return r}function Be(e,t){const r=nt(e);return _i(r),r}function Ir(e,t=!1,r=!0){const n=nt(e);return t||(n.equals=xr),n}function Ve(e,t,r=!1){M!==null&&(!Re||(M.f&yr)!==0)&&Ar()&&(M.f&(Q|Ie|tr|yr))!==0&&!Ue?.includes(e)&&In();let n=r?bt(t):t;return gt(e,n)}function gt(e,t){if(!e.equals(t)){var r=e.v;st?We.set(e,t):We.set(e,r),e.v=t;var n=Te.ensure();n.capture(e,r),(e.f&Q)!==0&&((e.f&ue)!==0&&lr(e),ne(e,(e.f&Ee)!==0?re:je)),e.wv=nn(),Fr(e,ue),F!==null&&(F.f&re)!==0&&(F.f&(Fe|Ye))===0&&(ye===null?hi([e]):ye.push(e)),!n.is_fork&&ar.size>0&&!Pr&&ni()}return t}function ni(){Pr=!1;var e=Ke;Ut(!0);const t=Array.from(ar);try{for(const r of t)(r.f&re)!==0&&ne(r,je),Tt(r)&&kt(r)}finally{Ut(e)}ar.clear()}function Et(e){Ve(e,e.v+1)}function Fr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],l=s.f,f=(l&ue)===0;if(f&&ne(s,t),(l&Q)!==0){var a=s;ge?.delete(a),(l&Qe)===0&&(l&Ee&&(s.f|=Qe),Fr(a,je))}else f&&((l&Ie)!==0&&He!==null&&He.add(s),rt(s))}}function bt(e){if(typeof e!="object"||e===null||rr in e)return e;const t=br(e);if(t!==xn&&t!==Tn)return e;var r=new Map,n=gr(e),i=Be(0),s=lt,l=f=>{if(lt===s)return f();var a=M,o=lt;ce(null),rn(s);var u=f();return ce(a),rn(o),u};return n&&r.set("length",Be(e.length)),new Proxy(e,{defineProperty(f,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Mn();var u=r.get(a);return u===void 0?u=l(()=>{var g=Be(o.value);return r.set(a,g),g}):Ve(u,o.value,!0),!0},deleteProperty(f,a){var o=r.get(a);if(o===void 0){if(a in f){const u=l(()=>Be(te));r.set(a,u),Et(i)}}else Ve(o,te),Et(i);return!0},get(f,a,o){if(a===rr)return e;var u=r.get(a),g=a in f;if(u===void 0&&(!g||vt(f,a)?.writable)&&(u=l(()=>{var v=bt(g?f[a]:te),_=Be(v);return _}),r.set(a,u)),u!==void 0){var c=p(u);return c===te?void 0:c}return Reflect.get(f,a,o)},getOwnPropertyDescriptor(f,a){var o=Reflect.getOwnPropertyDescriptor(f,a);if(o&&"value"in o){var u=r.get(a);u&&(o.value=p(u))}else if(o===void 0){var g=r.get(a),c=g?.v;if(g!==void 0&&c!==te)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(f,a){if(a===rr)return!0;var o=r.get(a),u=o!==void 0&&o.v!==te||Reflect.has(f,a);if(o!==void 0||F!==null&&(!u||vt(f,a)?.writable)){o===void 0&&(o=l(()=>{var c=u?bt(f[a]):te,v=Be(c);return v}),r.set(a,o));var g=p(o);if(g===te)return!1}return u},set(f,a,o,u){var g=r.get(a),c=a in f;if(n&&a==="length")for(var v=o;v<g.v;v+=1){var _=r.get(v+"");_!==void 0?Ve(_,te):v in f&&(_=l(()=>Be(te)),r.set(v+"",_))}if(g===void 0)(!c||vt(f,a)?.writable)&&(g=l(()=>Be(void 0)),Ve(g,bt(o)),r.set(a,g));else{c=g.v!==te;var H=l(()=>bt(o));Ve(g,H)}var b=Reflect.getOwnPropertyDescriptor(f,a);if(b?.set&&b.set.call(u,o),!c){if(n&&typeof a=="string"){var B=r.get("length"),ve=Number(a);Number.isInteger(ve)&&ve>=B.v&&Ve(B,ve+1)}Et(i)}return!0},ownKeys(f){p(i);var a=Reflect.ownKeys(f).filter(g=>{var c=r.get(g);return c===void 0||c.v!==te});for(var[o,u]of r)u.v!==te&&!(o in f)&&a.push(o);return a},setPrototypeOf(){Pn()}})}var jr,qr,Hr,Br;function fr(){if(jr===void 0){jr=window,qr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Hr=vt(t,"firstChild").get,Br=vt(t,"nextSibling").get,wr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wr(r)&&(r.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Ge(e){return Hr.call(e)}function we(e){return Br.call(e)}function h(e,t){if(!L)return Ge(e);var r=Ge(I);if(r===null)r=I.appendChild(le());else if(t&&r.nodeType!==Lt){var n=le();return r?.before(n),ee(n),n}return ee(r),r}function it(e,t=!1){if(!L){var r=Ge(e);return r instanceof Comment&&r.data===""?we(r):r}if(t&&I?.nodeType!==Lt){var n=le();return I?.before(n),ee(n),n}return I}function D(e,t=1,r=!1){let n=L?I:e;for(var i;t--;)i=n,n=we(n);if(!L)return n;if(r&&n?.nodeType!==Lt){var s=le();return n===null?i?.after(s):n.before(s),ee(s),s}return ee(n),n}function Vr(e){e.textContent=""}function Ur(){return!1}function Yr(e){var t=M,r=F;ce(null),De(null);try{return e()}finally{ce(t),De(r)}}function ii(e){F===null&&(M===null&&Rn(),On()),st&&Sn()}function si(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Oe(e,t,r){var n=F;n!==null&&(n.f&de)!==0&&(e|=de);var i={ctx:pe,deps:null,nodes_start:null,nodes_end:null,f:e|ue|Ee,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{kt(i),i.f|=Dt}catch(f){throw ae(i),f}else t!==null&&rt(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ze)===0&&(s=s.first,(e&Ie)!==0&&(e&dt)!==0&&s!==null&&(s.f|=dt)),s!==null&&(s.parent=n,n!==null&&si(s,n),M!==null&&(M.f&Q)!==0&&(e&Ye)===0)){var l=M;(l.effects??=[]).push(s)}return i}function Bt(){return M!==null&&!Re}function li(e){const t=Oe(Zt,null,!1);return ne(t,re),t.teardown=e,t}function ai(e){ii();var t=F.f,r=!M&&(t&Fe)!==0&&(t&Dt)===0;if(r){var n=pe;(n.e??=[]).push(e)}else return zr(e)}function zr(e){return Oe(Xt|An,e,!1)}function fi(e){Te.ensure();const t=Oe(Ye|Ze,e,!0);return()=>{ae(t)}}function oi(e){Te.ensure();const t=Oe(Ye|Ze,e,!0);return(r={})=>new Promise(n=>{r.outro?wt(t,()=>{ae(t),n(void 0)}):(ae(t),n(void 0))})}function ui(e){return Oe(Xt,e,!1)}function ci(e){return Oe(tr|Ze,e,!0)}function Jr(e,t=0){return Oe(Zt|t,e,!0)}function S(e,t=[],r=[],n=[]){Zn(n,t,r,i=>{Oe(Zt,()=>e(...i.map(p)),!0)})}function Vt(e,t=0){var r=Oe(Ie|t,e,!0);return r}function me(e){return Oe(Fe|Ze,e,!0)}function Wr(e){var t=e.teardown;if(t!==null){const r=st,n=M;en(!0),ce(null);try{t.call(null)}finally{en(r),ce(n)}}}function Gr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Yr(()=>{i.abort(_t)});var n=r.next;(r.f&Ye)!==0?r.parent=null:ae(r,t),r=n}}function vi(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Fe)===0&&ae(t),t=r}}function ae(e,t=!0){var r=!1;(t||(e.f&Qt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(di(e.nodes_start,e.nodes_end),r=!0),Gr(e,t&&!r),Yt(e,0),ne(e,qe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Wr(e);var i=e.parent;i!==null&&i.first!==null&&Kr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function di(e,t){for(;e!==null;){var r=e===t?null:we(e);e.remove(),e=r}}function Kr(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 wt(e,t,r=!0){var n=[];or(e,n,!0),Xr(n,()=>{r&&ae(e),t&&t()})}function Xr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function or(e,t,r){if((e.f&de)===0){if(e.f^=de,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&dt)!==0||(n.f&Fe)!==0&&(e.f&Ie)!==0;or(n,t,s?r:!1),n=i}}}function ur(e){Zr(e,!0)}function Zr(e,t){if((e.f&de)!==0){e.f^=de,(e.f&re)===0&&(ne(e,ue),rt(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&dt)!==0||(r.f&Fe)!==0;Zr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Qr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:we(r);t.append(r),r=i}}let Ke=!1;function Ut(e){Ke=e}let st=!1;function en(e){st=e}let M=null,Re=!1;function ce(e){M=e}let F=null;function De(e){F=e}let Ue=null;function _i(e){M!==null&&(Ue===null?Ue=[e]:Ue.push(e))}let fe=null,_e=0,ye=null;function hi(e){ye=e}let tn=1,xt=0,lt=xt;function rn(e){lt=e}function nn(){return++tn}function Tt(e){var t=e.f;if((t&ue)!==0)return!0;if(t&Q&&(e.f&=~Qe),(t&je)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Tt(s)&&Mr(s),s.wv>e.wv)return!0}(t&Ee)!==0&&ge===null&&ne(e,re)}return!1}function sn(e,t,r=!0){var n=e.reactions;if(n!==null&&!Ue?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&Q)!==0?sn(s,t,!1):t===s&&(r?ne(s,ue):(s.f&re)!==0&&ne(s,je),rt(s))}}function ln(e){var t=fe,r=_e,n=ye,i=M,s=Ue,l=pe,f=Re,a=lt,o=e.f;fe=null,_e=0,ye=null,M=(o&(Fe|Ye))===0?e:null,Ue=null,ht(e.ctx),Re=!1,lt=++xt,e.ac!==null&&(Yr(()=>{e.ac.abort(_t)}),e.ac=null);try{e.f|=er;var u=e.fn,g=u(),c=e.deps;if(fe!==null){var v;if(Yt(e,_e),c!==null&&_e>0)for(c.length=_e+fe.length,v=0;v<fe.length;v++)c[_e+v]=fe[v];else e.deps=c=fe;if(Ke&&Bt()&&(e.f&Ee)!==0)for(v=_e;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&_e<c.length&&(Yt(e,_e),c.length=_e);if(Ar()&&ye!==null&&!Re&&c!==null&&(e.f&(Q|je|ue))===0)for(v=0;v<ye.length;v++)sn(ye[v],e);return i!==null&&i!==e&&(xt++,ye!==null&&(n===null?n=ye:n.push(...ye))),(e.f&ze)!==0&&(e.f^=ze),g}catch(_){return Cr(_)}finally{e.f^=er,fe=t,_e=r,ye=n,M=i,Ue=s,ht(l),Re=f,lt=a}}function pi(e,t){let r=t.reactions;if(r!==null){var n=$n.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&Q)!==0&&(fe===null||!fe.includes(t))&&(ne(t,je),(t.f&Ee)!==0&&(t.f^=Ee,t.f&=~Qe),Lr(t),Yt(t,0))}function Yt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)pi(e,r[n])}function kt(e){var t=e.f;if((t&qe)===0){ne(e,re);var r=F,n=Ke;F=e,Ke=!0;try{(t&Ie)!==0?vi(e):Gr(e),Wr(e);var i=ln(e);e.teardown=typeof i=="function"?i:null,e.wv=tn;var s;Gt&&Bn&&(e.f&ue)!==0&&e.deps}finally{Ke=n,F=r}}}function p(e){var t=e.f,r=(t&Q)!==0;if(M!==null&&!Re){var n=F!==null&&(F.f&qe)!==0;if(!n&&!Ue?.includes(e)){var i=M.deps;if((M.f&er)!==0)e.rv<xt&&(e.rv=xt,fe===null&&i!==null&&i[_e]===e?_e++:fe===null?fe=[e]:fe.includes(e)||fe.push(e));else{(M.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[M]:s.includes(M)||s.push(M)}}}if(st){if(We.has(e))return We.get(e);if(r){var l=e,f=l.v;return((l.f&re)===0&&l.reactions!==null||fn(l))&&(f=lr(l)),We.set(l,f),f}}else r&&!ge?.has(e)&&(l=e,Tt(l)&&Mr(l),Ke&&Bt()&&(l.f&Ee)===0&&an(l));if(ge?.has(e))return ge.get(e);if((e.f&ze)!==0)throw e.v;return e.v}function an(e){if(e.deps!==null){e.f^=Ee;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Q)!==0&&(t.f&Ee)===0&&an(t)}}function fn(e){if(e.v===te)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(We.has(t)||(t.f&Q)!==0&&fn(t))return!0;return!1}function gi(e){var t=Re;try{return Re=!0,e()}finally{Re=t}}const bi=-7169;function ne(e,t){e.f=e.f&bi|t}const wi=new Set,on=new Set;let un=null;function zt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;un=e;var l=0,f=un===e&&e.__root;if(f){var a=i.indexOf(f);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(l=a)}if(s=i[l]||e.target,s!==t){Ot(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=M,g=F;ce(null),De(null);try{for(var c,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var H=s["__"+n];H!=null&&(!s.disabled||e.target===s)&&H.call(s,e)}catch(b){c?v.push(b):c=b}if(e.cancelBubble||_===t||_===null)break;s=_}if(c){for(let b of v)queueMicrotask(()=>{throw b});throw c}}finally{e.__root=t,delete e.currentTarget,ce(u),De(g)}}}function mi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Xe(e,t){var r=F;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function C(e,t){var r=(t&wn)!==0,n=(t&mn)!==0,i,s=!e.startsWith("<!>");return()=>{if(L)return Xe(I,null),I;i===void 0&&(i=mi(s?e:"<!>"+e),r||(i=Ge(i)));var l=n||qr?document.importNode(i,!0):i.cloneNode(!0);if(r){var f=Ge(l),a=l.lastChild;Xe(f,a)}else Xe(l,l);return l}}function at(e=""){if(!L){var t=le(e+"");return Xe(t,t),t}var r=I;return r.nodeType!==Lt&&(r.before(r=le()),ee(r)),Xe(r,r),r}function At(){if(L)return Xe(I,null),I;var e=document.createDocumentFragment(),t=document.createComment(""),r=le();return e.append(t,r),Xe(t,r),e}function w(e,t){if(L){var r=F;((r.f&Dt)===0||r.nodes_end===null)&&(r.nodes_end=I),Pt();return}e!==null&&e.before(t)}const yi=["touchstart","touchmove"];function $i(e){return yi.includes(e)}function P(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function cn(e,t){return vn(e,t)}function Ei(e,t){fr(),t.intro=t.intro??!1;const r=t.target,n=L,i=I;try{for(var s=Ge(r);s&&(s.nodeType!==et||s.data!==pr);)s=we(s);if(!s)throw ct;xe(!0),ee(s);const l=vn(e,{...t,anchor:s});return xe(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==ct&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Ln(),fr(),Vr(r),xe(!1),cn(e,t)}finally{xe(n),ee(i)}}const mt=new Map;function vn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0}){fr();var f=new Set,a=g=>{for(var c=0;c<g.length;c++){var v=g[c];if(!f.has(v)){f.add(v);var _=$i(v);t.addEventListener(v,zt,{passive:_});var H=mt.get(v);H===void 0?(document.addEventListener(v,zt,{passive:_}),mt.set(v,1)):mt.set(v,H+1)}}};a(Kt(wi)),on.add(a);var o=void 0,u=oi(()=>{var g=r??t.appendChild(le());return Jn(g,{pending:()=>{}},c=>{if(s){Tr({});var v=pe;v.c=s}if(i&&(n.$$events=i),L&&Xe(c,null),o=e(c,n)||{},L&&(F.nodes_end=I,I===null||I.nodeType!==et||I.data!==Wt))throw Mt(),ct;s&&kr()}),()=>{for(var c of f){t.removeEventListener(c,zt);var v=mt.get(c);--v===0?(document.removeEventListener(c,zt),mt.delete(c)):mt.set(c,v)}on.delete(a),g!==r&&g.parentNode?.removeChild(g)}});return cr.set(o,u),o}let cr=new WeakMap;function xi(e,t){const r=cr.get(e);return r?(cr.delete(e),r(t)):Promise.resolve()}class Ti{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#f=!0;constructor(t,r=!0){this.anchor=t,this.#f=r}#s=()=>{var t=Z;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)ur(n),this.#n.delete(r);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const f=this.#r.get(l);f&&(ae(f.effect),this.#r.delete(l))}for(const[s,l]of this.#e){if(s===r||this.#n.has(s))continue;const f=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();Qr(l,o),o.append(le()),this.#r.set(s,{effect:l,fragment:o})}else ae(l);this.#n.delete(s),this.#e.delete(s)};this.#f||!n?(this.#n.add(s),wt(l,f,!1)):f()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(ae(i.effect),this.#r.delete(n))};ensure(t,r){var n=Z,i=Ur();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),l=le();s.append(l),this.#r.set(t,{effect:me(()=>r(l)),fragment:s})}else this.#e.set(t,me(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[f,a]of this.#e)f===t?n.skipped_effects.delete(a):n.skipped_effects.add(a);for(const[f,a]of this.#r)f===t?n.skipped_effects.delete(a.effect):n.skipped_effects.add(a.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else L&&(this.anchor=I),this.#s()}}function z(e,t,r=!1){L&&Pt();var n=new Ti(e),i=r?dt:0;function s(l,f){if(L){const o=$r(e)===Ct;if(l===o){var a=It();ee(a),n.anchor=a,xe(!1),n.ensure(l,f),xe(!0);return}}n.ensure(l,f)}Vt(()=>{var l=!1;t((f,a=!0)=>{l=!0,s(a,f)}),l||s(!1,null)},i)}function ki(e,t){let r=null,n=L;var i;if(L){r=I;for(var s=Ge(document.head);s!==null&&(s.nodeType!==et||s.data!==e);)s=we(s);if(s===null)xe(!1);else{var l=we(s);s.remove(),ee(l)}}L||(i=document.head.appendChild(le()));try{Vt(()=>t(i),Qt)}finally{n&&(xe(!0),ee(r))}}function Ai(e,t){ui(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ni(e,t,r){var n=e==null?"":""+e;return n=n?n+" "+t:t,n===""?null:n}function Le(e,t,r,n,i,s){var l=e.__className;if(L||l!==r||l===void 0){var f=Ni(r,n);(!L||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=r}return s}const Ci=Symbol("is custom element"),Si=Symbol("is html");function Me(e,t,r,n){var i=Oi(e);L&&(i[t]=e.getAttribute(t),e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&Ri(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Oi(e){return e.__attributes??={[Ci]:e.nodeName.includes("-"),[Si]:e.namespaceURI===yn}}var dn=new Map;function Ri(e){var t=e.getAttribute("is")||e.nodeName,r=dn.get(t);if(r)return r;dn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=En(i);for(var l in n)n[l].set&&r.push(l);i=br(i)}return r}function ft(e,t,r,n){var i=n,s=!0,l=()=>(s&&(s=!1,i=n),i),f;f=e[t],f===void 0&&n!==void 0&&(f=l());var a;a=()=>{var c=e[t];return c===void 0?l():(s=!0,c)};var o=!1,u=sr(()=>(o=!1,a())),g=F;return(function(c,v){if(arguments.length>0){const _=v?p(u):c;return Ve(u,_),o=!0,i!==void 0&&(i=_),c}return st&&o||(g.f&qe)!==0?u.v:p(u)})}function Di(e){return new Li(e)}class Li{#t;#e;constructor(t){var r=new Map,n=(s,l)=>{var f=Ir(l,!1,!1);return r.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return p(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===Nn?!0:(p(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,f){return Ve(r.get(l)??n(l,f),f),Reflect.set(s,l,f)}});this.#e=(t.hydrate?Ei:cn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Je(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ot(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{xi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let _n;typeof HTMLElement=="function"&&(_n=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}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=document.createElement("slot");n!=="default"&&(s.name=n),w(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Mi(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]=Jt(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=Di({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fi(()=>{Jr(()=>{this.$$r=!0;for(const n of St(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Jt(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]=Jt(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 St(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Jt(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 Mi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Pi(e,t,r,n,i,s){let l=class extends _n{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return St(t).map(f=>(t[f].attribute||f).toLowerCase())}};return St(t).forEach(f=>{Ot(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(a){a=Jt(f,a,t),this.$$d[f]=a;var o=this.$$c;if(o){var u=vt(o,f)?.get;u?o[f]=a:o.$set({[f]:a})}}})}),n.forEach(f=>{Ot(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}var ot={},hn;function Ii(){if(hn)return ot;hn=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.LanguageTranslator=void 0,ot.getChildStyleToPass=e,ot.addComponent=t;function e(n,i){var s,l,f="";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 a=function(c){var v=i?.filter(function(_){return _.name===c&&_.defaultValue!==n[c]});v&&(f+="".concat(c,":").concat(n[c],";"))},o=0,u=Object.keys(n);o<u.length;o++){var g=u[o];a(g)}}catch(c){console.error("error getting child style to pass",c)}finally{return f}}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 f=document.createElement("script");if(f.id=s+"-script",f.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(l),n?.local)f.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];f.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(l)}document.head.appendChild(f)}catch(o){console.warn(o)}}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,f="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)&&(f=navigator.languages[0].split("-")[0].toLowerCase()),f},n.getDictionaryWord=function(i,s,l){var f;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((f=s[l])===null||f===void 0)&&f[i]))return s[l][i];var a="",o=n.getDefaultLang();if(!l||o!==l){var u=s?.[o];u?.[i]&&(a=u[i])}return a},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 f=new Intl.DateTimeFormat(l||n.getDefaultLang(),s);return f.format(i)},n})();return ot.LanguageTranslator=r,ot}Ii();var Fi=C('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),ji=C('<a target="_blank"> </a>'),qi=C('<a target="_blank"> </a>'),Hi=C('<li class="svelte-6fd8bw"><!></li>'),Bi=C('<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>'),Vi=C('<li class="svelte-6fd8bw"> </li>'),Ui=C('<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>'),Yi=C('<li class="svelte-6fd8bw"><a> </a></li>'),zi=C('<li class="svelte-6fd8bw"><a> </a></li>'),Ji=C('<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>'),Wi=C('<li class="svelte-6fd8bw"><a> </a></li>'),Gi=C('<li class="svelte-6fd8bw"><a> </a></li>'),Ki=C('<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>'),Xi=C('<li class="svelte-6fd8bw"> </li>'),Zi=C('<div class="appointment svelte-6fd8bw">*riceve per appuntamento</div>'),Qi=C('<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>'),es=C("<!> <!> <!> <!> <!>",1),ts=C("<span> </span>"),rs=C('<a target="_blank"> </a>'),ns=C('<a target="_blank"> </a>'),is=C('<li class="svelte-6fd8bw"><!> <!></li>'),ss=C('<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=C("<span> </span>"),as=C('<li class="svelte-6fd8bw"><!> </li>'),fs=C('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),os=C("<span> </span>"),us=C('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),cs=C('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),vs=C("<span> </span>"),ds=C('<li class="svelte-6fd8bw"><!> <a><!></a></li>'),_s=C('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul></div>'),hs=C('<li class="svelte-6fd8bw"> </li>'),ps=C('<div class="appointment svelte-6fd8bw">riceve per appuntamento</div>'),gs=C('<div class="col col_big svelte-6fd8bw"><div><i></i></div> <div class="title svelte-6fd8bw"> </div> <ul class="list svelte-6fd8bw"></ul> <!></div>'),bs=C("<!> <!> <!> <!> <!>",1),ws=C('<div id="row_container" part="container" class="svelte-6fd8bw"><!></div>');const ms={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(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>)!==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>)!==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>)!==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");
|
|
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
|
|
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"]||{});
|
|
9
9
|
//# sourceMappingURL=main.iife.js.map
|