@everymatrix/tournaments-banner 0.2.9 → 0.2.11
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/components/{StatusBadge-CS0BGAb9.js → StatusBadge-B9M5QIjb.js} +1843 -1850
- package/components/{StatusBadge-D1cxIANy.js → StatusBadge-B_hJ6MrD.js} +523 -528
- package/components/StatusBadge-C2mucMD-.cjs +11 -0
- package/components/StatusBadge-DfCCEQie.cjs +11 -0
- package/components/{TournamentImage-BFmFLA7f.cjs → TournamentImage-B46vpvie.cjs} +1 -1
- package/components/{TournamentImage-BEit90hg.cjs → TournamentImage-BP7-q8U1.cjs} +1 -1
- package/components/{TournamentImage-DEk8kSZ_.js → TournamentImage-CCCgbzYe.js} +1 -1
- package/components/{TournamentImage-DhXCEHmk.js → TournamentImage-kvlG54fs.js} +1 -1
- package/components/{TournamentsBanner-DG4Ek8wp.js → TournamentsBanner-BlMaHy7Q.js} +2 -2
- package/components/{TournamentsBanner-BoYY31Ae.js → TournamentsBanner-CCuGQC-j.js} +2 -2
- package/components/{TournamentsBanner-kjOgQMqE.cjs → TournamentsBanner-CrYG_0wf.cjs} +1 -1
- package/components/{TournamentsBanner-BHVUD322.cjs → TournamentsBanner-De-Cjg_j.cjs} +1 -1
- package/es2015/tournaments-banner.cjs +1 -1
- package/es2015/tournaments-banner.js +2 -2
- package/esnext/tournaments-banner.cjs +1 -1
- package/esnext/tournaments-banner.js +2 -2
- package/package.json +1 -1
- package/components/StatusBadge-C63t4mQr.cjs +0 -11
- package/components/StatusBadge-uX34r33J.cjs +0 -11
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
var ta=Object.defineProperty,ra=Object.defineProperties;var na=Object.getOwnPropertyDescriptors;var Ci=Object.getOwnPropertySymbols;var ia=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable;var Mi=e=>{throw TypeError(e)};var yn=(e,t,r)=>t in e?ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pr=(e,t)=>{for(var r in t||(t={}))ia.call(t,r)&&yn(e,r,t[r]);if(Ci)for(var r of Ci(t))sa.call(t,r)&&yn(e,r,t[r]);return e},Ir=(e,t)=>ra(e,na(t));var L=(e,t,r)=>yn(e,typeof t!="symbol"?t+"":t,r),xn=(e,t,r)=>t.has(e)||Mi("Cannot "+r);var f=(e,t,r)=>(xn(e,t,"read from private field"),r?r.call(e):t.get(e)),x=(e,t,r)=>t.has(e)?Mi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),_=(e,t,r,n)=>(xn(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),b=(e,t,r)=>(xn(e,t,"access private method"),r);var Li=(e,t,r)=>new Promise((n,i)=>{var s=u=>{try{o(r.next(u))}catch(l){i(l)}},a=u=>{try{o(r.throw(u))}catch(l){i(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,a);o((r=r.apply(e,t)).next())});typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const oa=require("./translations-Dw7XuwXd.cjs"),aa="5";var os,as,us;typeof window!="undefined"&&((us=(as=(os=window.__svelte)!=null?os:window.__svelte={}).v)!=null?us:as.v=new Set).add(aa);const ua=1,la=2,fa=16,ha=1,ca=2,hs="[",fi="[!",Ri="[?",hi="]",rt={},G=Symbol("uninitialized"),da="http://www.w3.org/1999/xhtml",cs=!1;var ds=Array.isArray,pa=Array.prototype.indexOf,dr=Array.prototype.includes,an=Array.from,Xr=Object.keys,Gt=Object.defineProperty,Pt=Object.getOwnPropertyDescriptor,va=Object.getOwnPropertyDescriptors,ma=Object.prototype,ga=Array.prototype,ps=Object.getPrototypeOf,$i=Object.isExtensible;const Ie=()=>{};function vs(e){for(var t=0;t<e.length;t++)e[t]()}function ms(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const X=2,kt=4,Tr=8,gs=1<<24,xe=16,Se=32,Ve=64,Ln=128,ci=256,Te=512,k=1024,U=2048,de=4096,Z=8192,V=16384,yt=32768,pr=1<<25,bt=65536,zr=1<<17,_a=1<<18,xt=1<<19,_s=1<<20,ke=1<<25,Wr=1<<21,It=1<<22,et=1<<23,$r=Symbol("$state"),bs=Symbol("component"),ba=Symbol("legacy props"),Ea=Symbol(""),Dr=Symbol("attributes"),Rn=Symbol("class"),ya=Symbol("style"),rr=Symbol("text"),Sr=new class extends Error{constructor(){super(...arguments);L(this,"name","StaleReactionError");L(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var ls;const xa=!!((ls=globalThis.document)!=null&&ls.contentType)&&globalThis.document.contentType.includes("xml"),un=3,Ar=8;function wa(){console.warn("https://svelte.dev/e/derived_inert")}function ln(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ta(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let I=!1;function je(e){I=e}let A;function ee(e){if(e===null)throw ln(),rt;return A=e}function fn(){return ee(Le(A))}function ur(e){if(I){if(Le(A)!==null)throw ln(),rt;A=e}}function Sa(e=1){if(I){for(var t=e,r=A;t--;)r=Le(r);A=r}}function Yr(e=!0){for(var t=0,r=A;;){if(r.nodeType===Ar){var n=r.data;if(n===hi){if(t===0)return r;t-=1}else(n===hs||n===fi||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=Le(r);e&&r.remove(),r=i}}function di(e){if(!e||e.nodeType!==Ar)throw ln(),rt;return e.data}function Es(e){return e===this.v}function ys(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function xs(e){return!ys(e,this.v)}function Aa(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Ha(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Na(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Oa(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ba(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pa(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ia(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ca(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ma(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function La(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ra(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let $a=!1,Q=null;function jt(e){Q=e}function pi(e,t=!1,r){Q={p:Q,i:!1,c:null,e:null,s:e,x:null,r:w,l:null}}function vi(e){var t=Q,r=t.e;if(r!==null){t.e=null;for(var n of r)js(n)}return e!==void 0&&(t.x=e),t.i=!0,Q=t.p,mi(e)}function mi(e={}){return Gt(e,bs,{value:!0}),e}function ws(){return!0}let lt=[];function Ts(){var e=lt;lt=[],vs(e)}function Je(e){if(lt.length===0&&!lr){var t=lt;queueMicrotask(()=>{t===lt&&Ts()})}lt.push(e)}function Da(){for(;lt.length>0;)Ts()}const Ua=-7169;function D(e,t){e.f=e.f&Ua|t}function gi(e){e.f&Te||e.deps===null?D(e,k):D(e,de)}function Ss(e,t,r){e.f&U?t.add(e):e.f&de&&r.add(e),D(e,k)}function Hr(e){var t=T,r=w;me(null),Me(null);try{return e()}finally{me(t),Me(r)}}function Fa(e,t,r,n){const i=hn;var s=e.filter(v=>!v.settled),a=t.map(i);if(r.length===0&&s.length===0){n(a);return}var o=w,u=Ga(),l=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(v=>v.promise)):null;function h(v){if(!(o.f&V)){u();try{n([...a,...v])}catch(d){Be(d,o)}Zr()}}var c=As();if(r.length===0){l.then(()=>h([])).finally(c);return}function p(){Promise.all(r.map(v=>ka(v))).then(h).catch(v=>Be(v,o)).finally(c)}l?l.then(()=>{if(o.f&V){c();return}u(),p(),Zr()}):p()}function Ga(){var e=w,t=T,r=Q,n=y;return function(s=!0){Me(e),me(t),jt(r),s&&!(e.f&V)&&(n==null||n.activate(),n==null||n.apply())}}function Zr(e=!0){Me(null),me(null),jt(null),e&&(y==null||y.deactivate())}function As(){var e=w,t=e.b,r=y,n=!!(t!=null&&t.is_rendered());return t==null||t.update_pending_count(1,r),r.increment(n,e),()=>{t==null||t.update_pending_count(-1,r),r.decrement(n,e)}}function hn(e){var t=X|U;return w!==null&&(w.f|=xt),{ctx:Q,deps:null,effects:null,equals:Es,f:t,fn:e,reactions:null,rv:0,v:G,wv:0,parent:w,ac:null}}const nr=Symbol("obsolete");function ka(e,t,r){let n=w;n===null&&Aa();var i=void 0,s=Et(G),a=!T,o=new Set;return ru(()=>{var v,d;var u=w,l=ms();i=l.promise;try{Promise.resolve(e()).then(l.resolve,m=>{m!==Sr&&l.reject(m)}).finally(Zr)}catch(m){l.reject(m),Zr()}var h=y;if(a){if(u.f&yt)var c=As();if((v=n.b)!=null&&v.is_rendered())(d=h.async_deriveds.get(u))==null||d.reject(nr);else for(const m of o.values())m.reject(nr);o.add(l),h.async_deriveds.set(u,l)}const p=(m,g=void 0)=>{c==null||c(),o.delete(l),g!==nr&&(h.activate(),g?(s.f|=et,Vt(s,g)):(s.f&et&&(s.f^=et),Vt(s,m)),h.deactivate())};l.promise.then(p,m=>p(null,m||"unknown"))}),Ti(()=>{for(const u of o)u.reject(nr)}),new Promise(u=>{function l(h){function c(){h===i?u(s):l(i)}h.then(c,c)}l(i)})}function $n(e){const t=hn(e);return Ys(t),t}function ja(e){const t=hn(e);return t.equals=xs,t}function Va(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)J(t[r])}}function _i(e){var t,r=w,n=e.parent;if(!qe&&n!==null&&e.v!==G&&n.f&(V|Z))return wa(),e.v;Me(n);try{Va(e),t=Ks(e)}finally{Me(r)}return t}function Hs(e){var t=_i(e);if(!e.equals(t)&&(e.wv=Qs(),(!(y!=null&&y.is_fork)||e.deps===null)&&(y!==null?(y.capture(e,t,!0),tt==null||tt.capture(e,t,!0)):e.v=t,e.deps===null))){D(e,k);return}qe||(j!==null?(cn()||y!=null&&y.is_fork)&&j.set(e,t):gi(e))}function qa(e){var t;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),r.ac!==null&&Hr(()=>{r.ac.abort(Sr),r.ac=null}),r.fn!==null&&(r.teardown=Ie),vr(r,0),Ai(r))}function Ns(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&qt(t)}let wn=null,Tt=null,y=null,tt=null,j=null,Dn=null,lr=!1,Tn=!1,fr=null,Ur=null;var Di=0;let Xa=1;var Mt,Ze,ct,Lt,Rt,$t,De,Dt,re,_r,Ue,be,He,Ut,dt,B,Un,Fn,ir,Gn,Os,Bs,Ht,za,sr;const nn=class nn{constructor(){x(this,B);L(this,"id",Xa++);x(this,Mt,!1);L(this,"linked",!0);x(this,Ze,null);x(this,ct,null);L(this,"async_deriveds",new Map);L(this,"current",new Map);L(this,"previous",new Map);x(this,Lt,new Set);x(this,Rt,new Set);x(this,$t,0);x(this,De,new Map);x(this,Dt,null);x(this,re,[]);x(this,_r,[]);x(this,Ue,new Set);x(this,be,new Set);x(this,He,new Map);x(this,Ut,new Set);L(this,"is_fork",!1);x(this,dt,!1);Tt===null?wn=Tt=this:(_(Tt,ct,this),_(this,Ze,Tt)),Tt=this}skip_effect(t){f(this,He).has(t)||f(this,He).set(t,{d:[],m:[]}),f(this,Ut).delete(t)}unskip_effect(t,r=n=>this.schedule(n)){var n=f(this,He).get(t);if(n){f(this,He).delete(t);for(var i of n.d)D(i,U),r(i);for(i of n.m)D(i,de),r(i)}f(this,Ut).add(t)}capture(t,r,n=!1){t.v!==G&&!this.previous.has(t)&&this.previous.set(t,t.v),t.f&et||(this.current.set(t,[r,n]),j==null||j.set(t,r)),this.is_fork||(t.v=r)}activate(){y=this}deactivate(){y=null,j=null}flush(){try{Tn=!0,y=this,b(this,B,ir).call(this)}finally{Di=0,Dn=null,fr=null,Ur=null,Tn=!1,y=null,j=null,Ce.clear()}}discard(){var t;for(const r of f(this,Rt))r(this);f(this,Rt).clear();for(const r of this.async_deriveds.values())r.reject(nr);b(this,B,sr).call(this),(t=f(this,Dt))==null||t.resolve()}register_created_effect(t){f(this,_r).push(t)}increment(t,r){var n;if(_(this,$t,f(this,$t)+1),t){let i=(n=f(this,De).get(r))!=null?n:0;f(this,De).set(r,i+1)}}decrement(t,r){var n;if(_(this,$t,f(this,$t)-1),t){let i=(n=f(this,De).get(r))!=null?n:0;i===1?f(this,De).delete(r):f(this,De).set(r,i-1)}f(this,dt)||(_(this,dt,!0),Je(()=>{_(this,dt,!1),this.linked&&this.flush()}))}transfer_effects(t,r){for(const n of t)f(this,Ue).add(n);for(const n of r)f(this,be).add(n);t.clear(),r.clear()}oncommit(t){f(this,Lt).add(t)}ondiscard(t){f(this,Rt).add(t)}settled(){var t;return((t=f(this,Dt))!=null?t:_(this,Dt,ms())).promise}static ensure(){if(y===null){const t=y=new nn;!Tn&&!lr&&Je(()=>{f(t,Mt)||t.flush()})}return y}apply(){{j=null;return}}schedule(t){var r;if(Dn=t,(r=t.b)!=null&&r.is_pending&&t.f&(kt|Tr|gs)&&!(t.f&yt)){t.b.defer_effect(t);return}f(this,re).push(t)}};Mt=new WeakMap,Ze=new WeakMap,ct=new WeakMap,Lt=new WeakMap,Rt=new WeakMap,$t=new WeakMap,De=new WeakMap,Dt=new WeakMap,re=new WeakMap,_r=new WeakMap,Ue=new WeakMap,be=new WeakMap,He=new WeakMap,Ut=new WeakMap,dt=new WeakMap,B=new WeakSet,Un=function(){if(this.is_fork)return!0;for(const n of f(this,De).keys()){for(var t=n,r=!1;t.parent!==null;){if(f(this,He).has(t)){r=!0;break}t=t.parent}if(!r)return!0}return!1},Fn=function(){var t=[];for(const s of f(this,re))if(!(s.f&V||!(s.f&(U|de)))){for(var r=s,n=!1;r.parent!==null;){r=r.parent;var i=r.f;if(i&(Ve|Se)){if(!(i&k)){n=!0;break}r.f^=k}}n||t.push(r)}return _(this,re,[]),t},ir=function(){var o,u,l,h;_(this,Mt,!0);for(const c of f(this,Ue))f(this,be).delete(c),D(c,U),this.schedule(c);for(const c of f(this,be))D(c,de),this.schedule(c);this.apply();for(var t=fr=[],r=[],n=Ur=[];f(this,re).length>0;){Di++>1e3&&(b(this,B,sr).call(this),Wa());for(const c of b(this,B,Fn).call(this))try{b(this,B,Gn).call(this,c,t,r)}catch(p){throw Cs(c),b(this,B,Un).call(this)||this.discard(),p}}if(y=null,n.length>0){var i=nn.ensure();for(const c of n)i.schedule(c)}if(fr=null,Ur=null,b(this,B,Un).call(this)){b(this,B,Ht).call(this,r),b(this,B,Ht).call(this,t);for(const[c,p]of f(this,He))Is(c,p);n.length>0&&b(o=y,B,ir).call(o);return}const s=b(this,B,Os).call(this);if(s){b(this,B,Ht).call(this,r),b(this,B,Ht).call(this,t),b(u=s,B,Bs).call(u,this);return}f(this,Ue).clear(),f(this,be).clear();for(const c of f(this,Lt))c(this);f(this,Lt).clear(),tt=this,Ui(r),Ui(t),tt=null,(l=f(this,Dt))==null||l.resolve();var a=y;if(f(this,$t)===0&&(f(this,re).length===0||a!==null)&&b(this,B,sr).call(this),f(this,re).length>0)if(a!==null){for(const c of f(this,re))f(a,re).push(c);_(this,re,[])}else a=this;a!==null&&(Ce.clear(),b(h=a,B,ir).call(h))},Gn=function(t,r,n){t.f^=k;for(var i=t.first;i!==null;){var s=i.f,a=(s&(Se|Ve))!==0,o=a&&(s&k)!==0,u=o||(s&Z)!==0||f(this,He).has(i);if(!u&&i.fn!==null){a?i.f^=k:s&kt?r.push(i):Nr(i)&&(s&xe&&f(this,be).add(i),qt(i));var l=i.first;if(l!==null){i=l;continue}}for(;i!==null;){var h=i.next;if(h!==null){i=h;break}i=i.parent}}},Os=function(){for(var t=f(this,Ze);t!==null;){if(!t.is_fork){for(const[r,[,n]]of this.current)if(t.current.has(r)&&!n)return t}t=f(t,Ze)}return null},Bs=function(t){var n;for(const[i,s]of t.current)!this.previous.has(i)&&t.previous.has(i)&&this.previous.set(i,t.previous.get(i)),this.current.set(i,s);for(const[i,s]of t.async_deriveds){const a=this.async_deriveds.get(i);a&&s.promise.then(a.resolve).catch(a.reject)}t.async_deriveds.clear(),this.transfer_effects(f(t,Ue),f(t,be));const r=i=>{var s=i.reactions;if(s!==null&&!(i.f&X&&!(i.f&(U|de))))for(const u of s){var a=u.f;if(a&X)r(u);else{var o=u;a&(It|xe)&&!this.async_deriveds.has(o)&&(f(this,be).delete(o),D(o,U),this.schedule(o))}}};for(const i of this.current.keys())r(i);this.oncommit(()=>t.discard()),b(n=t,B,sr).call(n),y=this,b(this,B,ir).call(this)},Ht=function(t){for(var r=0;r<t.length;r+=1)Ss(t[r],f(this,Ue),f(this,be))},za=function(){var c,p;for(let v=wn;v!==null;v=f(v,ct)){var t=v.id<this.id,r=[];for(const[d,[m,g]]of this.current){if(v.current.has(d)){var n=v.current.get(d)[0];if(t&&m!==n)v.current.set(d,[m,g]);else continue}r.push(d)}if(t)for(const[d,m]of this.async_deriveds){const g=v.async_deriveds.get(d);g&&m.promise.then(g.resolve).catch(g.reject)}var i=[...v.current.keys()].filter(d=>!v.current.get(d)[1]);if(!(!f(v,Mt)||i.length===0)){var s=i.filter(d=>!this.current.has(d));if(s.length===0)t&&v.discard();else if(r.length>0){if(t)for(const d of f(this,Ut))v.unskip_effect(d,m=>{var g;m.f&(xe|It)?v.schedule(m):b(g=v,B,Ht).call(g,[m])});v.activate();var a=new Set,o=new Map;for(var u of r)Ps(u,s,a,o);o=new Map;var l=[...v.current].filter(([d,m])=>{const g=this.current.get(d);return g?g[0]!==m[0]||g[1]!==m[1]:!0}).map(([d])=>d);if(l.length>0)for(const d of f(this,_r))!(d.f&(V|Z|zr))&&bi(d,l,o)&&(d.f&(It|xe)?(D(d,U),v.schedule(d)):f(v,Ue).add(d));if(f(v,re).length>0&&!f(v,dt)){v.apply();for(var h of b(c=v,B,Fn).call(c))b(p=v,B,Gn).call(p,h,[],[])}v.deactivate()}}}},sr=function(){if(this.linked){var t=f(this,Ze),r=f(this,ct);t===null?wn=r:_(t,ct,r),r===null?Tt=t:_(r,Ze,t),this.linked=!1}};let nt=nn;function Ye(e){var t=lr,r=tt;tt=null,lr=!0;try{for(var n;;){if(Da(),y===null)return n;y.flush()}}finally{lr=t,tt=r}}function Wa(){try{Pa()}catch(e){Be(e,Dn)}}let _e=null;function Ui(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if(!(n.f&(V|Z))&&Nr(n)&&(_e=new Set,qt(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&Xs(n),(_e==null?void 0:_e.size)>0)){Ce.clear();for(const i of _e){if(i.f&(V|Z))continue;const s=[i];let a=i.parent;for(;a!==null;)_e.has(a)&&(_e.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const u=s[o];u.f&(V|Z)||qt(u)}}_e.clear()}}_e=null}}function Ps(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&X?Ps(i,t,r,n):s&(It|xe)&&!(s&U)&&bi(i,t,n)&&(D(i,U),Ei(i))}}function bi(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(dr.call(t,i))return!0;if(i.f&X&&bi(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function Ei(e){y.schedule(e)}function Is(e,t){if(!(e.f&Se&&e.f&k)){e.f&U?t.d.push(e):e.f&de&&t.m.push(e),D(e,k);for(var r=e.first;r!==null;)Is(r,t),r=r.next}}function Cs(e){D(e,k);for(var t=e.first;t!==null;)Cs(t),t=t.next}let Qr=new Set;const Ce=new Map;let Ms=!1;function Et(e,t){var r={f:0,v:e,reactions:null,equals:Es,rv:0,wv:0};return r}function $e(e,t){const r=Et(e);return Ys(r),r}function yi(e,t=!1,r=!0){const n=Et(e);return t||(n.equals=xs),n}function ye(e,t,r=!1){T!==null&&(!we||T.f&zr)&&ws()&&T.f&(X|xe|It|zr)&&(ve===null||!ve.has(e))&&La();let n=r?Ot(t):t;return Vt(e,n,Ur)}var ut=null,kn=0;function Vt(e,t,r=null){if(!e.equals(t)){qe?Ce.set(e,t):Ce.has(e)||Ce.set(e,e.v);var n=nt.ensure();if(n.capture(e,t),e.f&X){const i=e;e.f&U&&_i(i),j===null&&gi(i)}e.wv=Qs(),ut=null,kn=0,Ls(e,U,r),ut=null,w!==null&&w.f&k&&!(w.f&(Se|Ve))&&(le===null?su([e]):le.push(e)),!n.is_fork&&Qr.size>0&&!Ms&&Ya()}return t}function Ya(){Ms=!1;for(const e of Qr){e.f&k&&D(e,de);let t;try{t=Nr(e)}catch(r){t=!0}t&&qt(e)}Qr.clear()}function hr(e){ye(e,e.v+1)}function Ls(e,t,r){var n=e.reactions;if(n!==null){var i=n.length;if(kn+=i,kn>1e5&&ut===null&&(ut=new Set),ut!==null){if(ut.has(e))return;ut.add(e)}for(var s=0;s<i;s++){var a=n[s],o=a.f,u=(o&U)===0;if(u&&D(a,t),o&zr)Qr.add(a);else if(o&X){var l=a;j==null||j.delete(l),Ls(l,de,r)}else if(u){var h=a;o&xe&&_e!==null&&_e.add(h),r!==null?r.push(h):Ei(h)}}}}function Ot(e){if(typeof e!="object"||e===null||$r in e||bs in e)return e;const t=ps(e);if(t!==ma&&t!==ga)return e;var r=new Map,n=ds(e),i=$e(0),s=_t,a=o=>{if(_t===s)return o();var u=T,l=_t;me(null),ki(s);var h=o();return me(u),ki(l),h};return n&&r.set("length",$e(e.length)),new Proxy(e,{defineProperty(o,u,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&Ca();var h=r.get(u);return h===void 0?a(()=>{var c=$e(l.value);return r.set(u,c),c}):ye(h,l.value,!0),!0},deleteProperty(o,u){var l=r.get(u);if(l===void 0){if(u in o){const h=a(()=>$e(G));r.set(u,h),hr(i)}}else ye(l,G),hr(i);return!0},get(o,u,l){var v;if(u===$r)return e;var h=r.get(u),c=u in o;if(h===void 0&&(!c||(v=Pt(o,u))!=null&&v.writable)&&(h=a(()=>{var d=Ot(c?o[u]:G),m=$e(d);return m}),r.set(u,h)),h!==void 0){var p=P(h);return p===G?void 0:p}return Reflect.get(o,u,l)},getOwnPropertyDescriptor(o,u){var p;(p=this.has)==null||p.call(this,o,u);var l=Reflect.getOwnPropertyDescriptor(o,u),h=r.get(u);if(h!==void 0){var c=P(h);if(c===G)return;if(l&&"value"in l)l.value=c;else return{enumerable:!0,configurable:!0,value:c,writable:!0}}return l},has(o,u){var p;if(u===$r)return!0;var l=r.get(u),h=l!==void 0&&l.v!==G||Reflect.has(o,u);if(l!==void 0||w!==null&&(!h||(p=Pt(o,u))!=null&&p.writable)){l===void 0&&(l=a(()=>{var v=h?Ot(o[u]):G,d=$e(v);return d}),r.set(u,l));var c=P(l);if(c===G)return!1}return h},set(o,u,l,h){var M;var c=r.get(u),p=u in o;if(n&&u==="length")for(var v=l;v<c.v;v+=1){var d=r.get(v+"");d!==void 0?ye(d,G):v in o&&(d=a(()=>$e(G)),r.set(v+"",d))}if(c===void 0)(!p||(M=Pt(o,u))!=null&&M.writable)&&(c=a(()=>$e(void 0)),ye(c,Ot(l)),r.set(u,c));else{p=c.v!==G;var m=a(()=>Ot(l));ye(c,m)}var g=Reflect.getOwnPropertyDescriptor(o,u);if(g!=null&&g.set&&g.set.call(h,l),!p){if(n&&typeof u=="string"){var E=r.get("length"),N=Number(u);Number.isInteger(N)&&N>=E.v&&ye(E,N+1)}hr(i)}return!0},ownKeys(o){P(i);var u=Reflect.ownKeys(o).filter(c=>{var p=r.get(c);return p===void 0||p.v!==G});for(var[l,h]of r)h.v!==G&&!(l in o)&&u.push(l);return u},setPrototypeOf(){Ma()}})}var Fi,Rs,$s,Ds;function jn(){if(Fi===void 0){Fi=window,Rs=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;$s=Pt(t,"firstChild").get,Ds=Pt(t,"nextSibling").get,$i(e)&&(e[Rn]=void 0,e[Dr]=null,e[ya]=void 0,e.__e=void 0),$i(r)&&(r[rr]=void 0)}}function pe(e=""){return document.createTextNode(e)}function it(e){return $s.call(e)}function Le(e){return Ds.call(e)}function cr(e,t){if(!I)return it(e);var r=it(A);if(r===null)r=A.appendChild(pe());else if(t&&r.nodeType!==un){var n=pe();return r==null||r.before(n),ee(n),n}return t&&wi(r),ee(r),r}function Us(e,t=!1){if(!I){var r=it(e);return r instanceof Comment&&r.data===""?Le(r):r}if(t){if((A==null?void 0:A.nodeType)!==un){var n=pe();return A==null||A.before(n),ee(n),n}wi(A)}return A}function Cr(e,t=!1){if(!I)return it(e);var r=cr(e,t);return ur(e),r}function Nt(e,t=1,r=!1){let n=I?A:e;for(var i;t--;)i=n,n=Le(n);if(!I)return n;if(r){if((n==null?void 0:n.nodeType)!==un){var s=pe();return n===null?i==null||i.after(s):n.before(s),ee(s),s}wi(n)}return ee(n),n}function Fs(e){e.textContent=""}function Gs(){return!1}function xi(e,t,r){return r?document.createElement(e,{is:r}):document.createElement(e)}function wi(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===un;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Za(e){var t=w;if(t===null)return T.f|=et,e;if(!(t.f&yt)&&!(t.f&kt))throw e;Be(e,t)}function Be(e,t){if(e===rt)throw e;if(!(t!==null&&t.f&V)){for(;t!==null;){if(t.f&Ln&&!(t.f&(V|pr))){if(!(t.f&yt))throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}}function ks(e){w===null&&(T===null&&Ba(),Oa()),qe&&Na()}function Qa(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 a;var r=w;r!==null&&r.f&Z&&(e|=Z);var n={ctx:Q,deps:null,nodes:null,f:e|U|Te,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};y==null||y.register_created_effect(n);var i=n;if(e&kt)fr!==null?fr.push(n):nt.ensure().schedule(n);else if(t!==null){try{qt(n)}catch(o){throw J(n),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&xt)&&(i=i.first,e&xe&&e&bt&&i!==null&&(i.f|=bt))}if(i!==null&&(i.parent=r,r!==null&&Qa(i,r),T!==null&&T.f&X&&!(e&Ve))){var s=T;((a=s.effects)!=null?a:s.effects=[]).push(i)}return n}function cn(){return T!==null&&!we}function Ti(e){const t=Ae(Tr,null);return D(t,k),t.teardown=e,t}function Ja(e){var i;ks();var t=w.f,r=!T&&(t&Se)!==0&&Q!==null&&!Q.i;if(r){var n=Q;((i=n.e)!=null?i:n.e=[]).push(e)}else return js(e)}function js(e){return Ae(kt|_s,e)}function Ka(e){return ks(),Ae(Tr|_s,e)}function eu(e){nt.ensure();const t=Ae(Ve|xt,e);return()=>{J(t)}}function tu(e){nt.ensure();const t=Ae(Ve|xt,e);return(r={})=>new Promise(n=>{r.outro?gt(t,()=>{J(t),n(void 0)}):(J(t),n(void 0))})}function Vs(e){return Ae(kt,e)}function ru(e){return Ae(It|xt,e)}function Si(e,t=0){return Ae(Tr|t,e)}function Fr(e,t=[],r=[],n=[]){Fa(n,t,r,i=>{Ae(Tr,()=>{e(...i.map(P))})})}function dn(e,t=0){var r=Ae(xe|t,e);return r}function ce(e){return Ae(Se|xt,e)}function qs(e){var t=e.teardown;if(t!==null){const r=qe,n=T;Gi(!0),me(null);try{t.call(null)}catch(i){Be(i,e.parent)}finally{Gi(r),me(n)}}}function Ai(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Hr(()=>{i.abort(Sr)});var n=r.next;r.f&Ve?r.parent=null:J(r,t),r=n}}function nu(e){for(var t=e.first;t!==null;){var r=t.next;t.f&Se||J(t),t=r}}function J(e,t=!0){var r=!1;(t||e.f&_a)&&e.nodes!==null&&e.nodes.end!==null&&(iu(e.nodes.start,e.nodes.end),r=!0),e.f|=pr,Ai(e,t&&!r),vr(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();qs(e),e.f^=pr,e.f|=V;var i=e.parent;i!==null&&i.first!==null&&Xs(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function iu(e,t){for(;e!==null;){var r=e===t?null:Le(e);e.remove(),e=r}}function Xs(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 gt(e,t,r=!0){var n=[];e.f|=ci,zs(e,n,!0);var i=()=>{r&&J(e),t&&t()},s=n.length;if(s>0){var a=()=>--s||i();for(var o of n)o.out(a)}else i()}function zs(e,t,r){if(!(e.f&Z)){e.f^=Z;var n=e.nodes&&e.nodes.t;if(n!==null)for(const o of n)(o.is_global||r)&&t.push(o);for(var i=e.first;i!==null;){var s=i.next;if(!(i.f&Ve)){var a=(i.f&bt)!==0||(i.f&Se)!==0&&(e.f&xe)!==0;zs(i,t,a?r:!1)}i=s}}}function Jr(e){e.f&=~ci,Ws(e,!0)}function Ws(e,t){if(!(e.f&ci)&&e.f&Z){e.f^=Z,e.f&k||(D(e,U),nt.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&bt)!==0||(r.f&Se)!==0;Ws(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const a of s)(a.is_global||t)&&a.in()}}function Hi(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:Le(r);t.append(r),r=i}}let qe=!1;function Gi(e){qe=e}let T=null,we=!1;function me(e){T=e}let w=null;function Me(e){w=e}let ve=null;function Ys(e){T!==null&&(T.f&Wr||T.f&X)&&(ve!=null?ve:ve=new Set).add(e)}let K=null,ae=0,le=null;function su(e){le=e}let Zs=1,ft=0,_t=ft;function ki(e){_t=e}function Qs(){return++Zs}function Nr(e){var t=e.f;if(t&U)return!0;if(t&de){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(Nr(s)&&Hs(s),s.wv>e.wv)return!0}t&Te&&j===null&&D(e,k)}return!1}function Js(e,t,r=!0){var n=e.reactions;if(n!==null&&!(ve!==null&&ve.has(e)))for(var i=0;i<n.length;i++){var s=n[i];s.f&X?Js(s,t,!1):t===s&&(r?D(s,U):s.f&k&&D(s,de),Ei(s))}}function Ks(e){var t=K,r=ae,n=le,i=T,s=ve,a=Q,o=we,u=_t,l=e.f;K=null,ae=0,le=null,T=l&(Se|Ve)?null:e,ve=null,jt(e.ctx),we=!1,_t=++ft,e.ac!==null&&(Hr(()=>{e.ac.abort(Sr)}),e.ac=null);try{e.f|=Wr;var h=e.fn,c=h();e.f|=yt;var p=ji(e);if(ws()&&le!==null&&!we&&p!==null&&!(e.f&(X|de|U)))for(var v=0;v<le.length;v++)Js(le[v],e);if(i!==null&&i!==e){if(ft++,i.deps!==null)for(let d=0;d<r;d+=1)i.deps[d].rv=ft;if(t!==null)for(const d of t)d.rv=ft;le!==null&&(n===null?n=le:n.push(...le))}return e.f&et&&(e.f^=et),c}catch(d){return ji(e),Za(d)}finally{e.f^=Wr,K=t,ae=r,le=n,T=i,ve=s,jt(a),we=o,_t=u}}function ji(e){var i,s;var t=e.deps,r=y==null?void 0:y.is_fork;if(K!==null){var n;if(r||vr(e,ae),t!==null&&ae>0)for(t.length=ae+K.length,n=0;n<K.length;n++)t[ae+n]=K[n];else e.deps=t=K;if(cn()&&e.f&Te)for(n=ae;n<t.length;n++)((s=(i=t[n]).reactions)!=null?s:i.reactions=[]).push(e)}else!r&&t!==null&&ae<t.length&&(vr(e,ae),t.length=ae);return t}function ou(e,t){let r=t.reactions;if(r!==null){var n=pa.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&X&&(K===null||!dr.call(K,t))){var s=t;s.f&Te&&(s.f^=Te),s.v!==G&&gi(s),s.ac!==null&&Hr(()=>{s.ac.abort(Sr),s.ac=null,D(s,U)}),qa(s),vr(s,0)}}function vr(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)ou(e,r[n])}function qt(e){var t=e.f;if(!(t&V)){D(e,k);var r=w;w=e;try{t&(xe|gs)?nu(e):Ai(e),qs(e);var n=Ks(e);e.teardown=typeof n=="function"?n:null,e.wv=Zs;var i;cs&&$a&&e.f&U&&e.deps}finally{w=r}}}function P(e){var h;var t=e.f,r=(t&X)!==0;if(T!==null&&!we){var n=w!==null&&(w.f&V)!==0;if(!n&&(ve===null||!ve.has(e))){var i=T.deps;if(T.f&Wr)e.rv<ft&&(e.rv=ft,K===null&&i!==null&&i[ae]===e?ae++:K===null?K=[e]:K.push(e));else{(h=T.deps)!=null||(T.deps=[]),dr.call(T.deps,e)||T.deps.push(e);var s=e.reactions;s===null?e.reactions=[T]:dr.call(s,T)||s.push(T)}}}if(qe&&Ce.has(e))return Ce.get(e);if(r){var a=e;if(qe){var o=a.v;return(!(a.f&k)&&a.reactions!==null||to(a))&&(o=_i(a)),Ce.set(a,o),o}var u=(a.f&Te)===0&&!we&&T!==null&&(T.f&Te)!==0,l=(a.f&yt)===0;Nr(a)&&(u&&(a.f|=Te),Hs(a)),u&&!l&&(Ns(a),eo(a))}if(j!=null&&j.has(e))return j.get(e);if(e.f&et)throw e.v;return e.v}function eo(e){if(e.f|=Te,e.deps!==null)for(const r of e.deps){var t=r.reactions;t===null?r.reactions=[e]:dr.call(t,e)||t.push(e),r.f&X&&!(r.f&Te)&&(Ns(r),eo(r))}}function to(e){if(e.v===G)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ce.has(t)||t.f&X&&to(t))return!0;return!1}function Ni(e){var t=we;try{return we=!0,e()}finally{we=t}}const ht=Symbol("events"),ro=new Set,Vn=new Set;function au(e){if(!I)return;e.removeAttribute("onload"),e.removeAttribute("onerror");const t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function uu(e,t,r,n={}){function i(s){if(n.capture||qn.call(t,s),!s.cancelBubble)return Hr(()=>r==null?void 0:r.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?(i.__removed=!1,Je(()=>{i.__removed||t.addEventListener(e,i,n)})):t.addEventListener(e,i,n),i}function lu(e,t,r,n,i){var s={capture:n,passive:i},a=uu(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Ti(()=>{a.__removed=!0,t.removeEventListener(e,a,s)})}function fu(e,t,r){var n;((n=t[ht])!=null?n:t[ht]={})[e]=r}function hu(e){for(var t=0;t<e.length;t++)ro.add(e[t]);for(var r of Vn)r(e)}let Sn=null,An=!1;function qn(e){var m,g;var t=this,r=t.ownerDocument,n=e.type,i=((m=e.composedPath)==null?void 0:m.call(e))||[],s=i[0]||e.target;Sn=e,An||(An=!0,setTimeout(()=>{An=!1,Sn=null}));var a=0,o=Sn===e&&e[ht];if(o){var u=i.indexOf(o);if(u!==-1&&(t===document||t===window)){e[ht]=t;return}var l=i.indexOf(t);if(l===-1)return;u<=l&&(a=u)}if(s=i[a]||e.target,s!==t){Gt(e,"currentTarget",{configurable:!0,get(){return s||r}});var h=T,c=w;me(null),Me(null);try{for(var p,v=[];s!==null&&s!==t;){try{var d=(g=s[ht])==null?void 0:g[n];d!=null&&(!s.disabled||e.target===s)&&d.call(s,e)}catch(E){p?v.push(E):p=E}if(e.cancelBubble)break;a++,s=a<i.length?i[a]:null}if(p){for(let E of v)queueMicrotask(()=>{throw E});throw p}}finally{e[ht]=t,delete e.currentTarget,me(h),Me(c)}}}var fs;const Hn=((fs=globalThis==null?void 0:globalThis.window)==null?void 0:fs.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function cu(e){var t;return(t=Hn==null?void 0:Hn.createHTML(e))!=null?t:e}function du(e){var t=xi("template");return t.innerHTML=cu(e.replaceAll("<!>","<!---->")),t.content}function Ct(e,t){var r=w;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function Or(e,t){var r=(t&ha)!==0,n=(t&ca)!==0,i,s=!e.startsWith("<!>");return()=>{if(I)return Ct(A,null),A;i===void 0&&(i=du(s?e:"<!>"+e),r||(i=it(i)));var a=n||Rs?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=it(a),u=a.lastChild;Ct(o,u)}else Ct(a,a);return a}}function pu(){if(I)return Ct(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),r=pe();return e.append(t,r),Ct(t,r),e}function Bt(e,t){if(I){var r=w;(!(r.f&yt)||r.nodes.end===null)&&(r.nodes.end=A),fn();return}e!==null&&e.before(t)}const vu=["touchstart","touchmove"];function mu(e){return vu.includes(e)}function no(e){let t=0,r=Et(0),n;return()=>{cn()&&(P(r),Si(()=>(t===0&&(n=Ni(()=>e(()=>hr(r)))),t+=1,()=>{Je(()=>{t-=1,t===0&&(n==null||n(),n=void 0,hr(r))})})))}}var gu=bt|xt;function _u(e,t,r,n){new bu(e,t,r,n)}var ne,br,fe,pt,q,ie,W,se,Ne,vt,Qe,Ft,Er,yr,Fe,sn,S,io,so,Xn,We,oo,zn,or,Gr,Wn,Yn;class bu{constructor(t,r,n,i){x(this,S);L(this,"parent");L(this,"is_pending",!1);L(this,"transform_error");x(this,ne);x(this,br,I?A:null);x(this,fe);x(this,pt);x(this,q);x(this,ie,null);x(this,W,null);x(this,se,null);x(this,Ne,null);x(this,vt,0);x(this,Qe,0);x(this,Ft,!1);x(this,Er,new Set);x(this,yr,new Set);x(this,Fe,null);x(this,sn,no(()=>(_(this,Fe,Et(f(this,vt))),()=>{_(this,Fe,null)})));var s,a;_(this,ne,t),_(this,fe,r),_(this,pt,o=>{var u=w;u.b=this,u.f|=Ln,n(o)}),this.parent=w.b,this.transform_error=(a=i!=null?i:(s=this.parent)==null?void 0:s.transform_error)!=null?a:o=>o,_(this,q,dn(()=>{if(I){const o=di(f(this,br));fn();const u=o===fi;if(o.startsWith(Ri)){const h=JSON.parse(o.slice(Ri.length));b(this,S,so).call(this,h)}else u?b(this,S,oo).call(this):b(this,S,io).call(this)}else b(this,S,zn).call(this)},gu)),I&&_(this,ne,A)}defer_effect(t){Ss(t,f(this,Er),f(this,yr))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!f(this,fe).pending}update_pending_count(t,r){b(this,S,Wn).call(this,t,r),_(this,vt,f(this,vt)+t),!(!f(this,Fe)||f(this,Ft))&&(_(this,Ft,!0),Je(()=>{_(this,Ft,!1),f(this,Fe)&&Vt(f(this,Fe),f(this,vt))}))}get_effect_pending(){return f(this,sn).call(this),P(f(this,Fe))}error(t){if(t===rt||!f(this,fe).onerror&&!f(this,fe).failed)throw t;y!=null&&y.is_fork?(f(this,ie)&&y.skip_effect(f(this,ie)),f(this,W)&&y.skip_effect(f(this,W)),f(this,se)&&y.skip_effect(f(this,se)),y.oncommit(()=>{b(this,S,We).call(this)||b(this,S,Yn).call(this,t)})):b(this,S,Yn).call(this,t)}}ne=new WeakMap,br=new WeakMap,fe=new WeakMap,pt=new WeakMap,q=new WeakMap,ie=new WeakMap,W=new WeakMap,se=new WeakMap,Ne=new WeakMap,vt=new WeakMap,Qe=new WeakMap,Ft=new WeakMap,Er=new WeakMap,yr=new WeakMap,Fe=new WeakMap,sn=new WeakMap,S=new WeakSet,io=function(){try{_(this,ie,ce(()=>f(this,pt).call(this,f(this,ne))))}catch(t){this.error(t)}},so=function(t){const r=f(this,fe).failed,{reset:n,invoke_onerror:i}=b(this,S,Xn).call(this,t);Je(i),r&&_(this,se,ce(()=>{r(f(this,ne),()=>t,()=>n)}))},Xn=function(t){var r=!1,n=!1;const i=()=>{if(!b(this,S,We).call(this)){if(r){Ta();return}r=!0,n&&Ra(),f(this,se)!==null&>(f(this,se),()=>{_(this,se,null)}),b(this,S,Gr).call(this,()=>{b(this,S,zn).call(this)})}};return{reset:i,invoke_onerror:()=>{var a,o;if(!b(this,S,We).call(this))try{n=!0,(o=(a=f(this,fe)).onerror)==null||o.call(a,t,i),n=!1}catch(u){Be(u,f(this,q)&&f(this,q).parent)}}}},We=function(){return(f(this,q).f&(V|pr))!==0},oo=function(){const t=f(this,fe).pending;t&&(this.is_pending=!0,_(this,W,ce(()=>t(f(this,ne)))),Je(()=>{if(!b(this,S,We).call(this)){var r=_(this,Ne,document.createDocumentFragment()),n=pe(),i=!1;if(r.append(n),_(this,ie,b(this,S,Gr).call(this,()=>{try{return ce(()=>f(this,pt).call(this,n))}catch(s){try{this.error(s),i=!0}catch(a){Be(a,f(this,q).parent)}return null}})),f(this,ie)===null){_(this,Ne,null),i&&b(this,S,or).call(this,y);return}f(this,Qe)===0&&(f(this,ne).before(r),_(this,Ne,null),gt(f(this,W),()=>{_(this,W,null)}),b(this,S,or).call(this,y))}}))},zn=function(){try{if(this.is_pending=this.has_pending_snippet(),_(this,Qe,0),_(this,vt,0),_(this,ie,ce(()=>{f(this,pt).call(this,f(this,ne))})),f(this,Qe)>0){var t=_(this,Ne,document.createDocumentFragment());Hi(f(this,ie),t);const r=f(this,fe).pending;_(this,W,ce(()=>r(f(this,ne))))}else b(this,S,or).call(this,y)}catch(r){this.error(r)}},or=function(t){this.is_pending=!1,t.transfer_effects(f(this,Er),f(this,yr))},Gr=function(t){var r=w,n=T,i=Q;Me(f(this,q)),me(f(this,q)),jt(f(this,q).ctx);try{return nt.ensure(),t()}finally{Me(r),me(n),jt(i)}},Wn=function(t,r){var n;if(!this.has_pending_snippet()){this.parent&&b(n=this.parent,S,Wn).call(n,t,r);return}_(this,Qe,f(this,Qe)+t),f(this,Qe)===0&&(b(this,S,or).call(this,r),f(this,W)&>(f(this,W),()=>{_(this,W,null)}),f(this,Ne)&&(f(this,ne).before(f(this,Ne)),_(this,Ne,null)))},Yn=function(t){f(this,ie)&&(J(f(this,ie)),_(this,ie,null)),f(this,W)&&(J(f(this,W)),_(this,W,null)),f(this,se)&&(J(f(this,se)),_(this,se,null)),I&&(ee(f(this,br)),Sa(),ee(Yr()));let r=f(this,fe).failed;const n=i=>{if(b(this,S,We).call(this))return;const{reset:s,invoke_onerror:a}=b(this,S,Xn).call(this,i);a(),r&&!b(this,S,We).call(this)&&_(this,se,b(this,S,Gr).call(this,()=>{try{return ce(()=>{var o=w;o.b=this,o.f|=Ln,r(f(this,ne),()=>i,()=>s)})}catch(o){return Be(o,f(this,q).parent),null}}))};Je(()=>{if(!b(this,S,We).call(this)){var i;try{i=this.transform_error(t)}catch(s){Be(s,f(this,q)&&f(this,q).parent);return}i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(n,s=>Be(s,f(this,q)&&f(this,q).parent)):n(i)}})};function Mr(e,t){var n;var r=t==null?"":typeof t=="object"?`${t}`:t;r!==((n=e[rr])!=null?n:e[rr]=e.nodeValue)&&(e[rr]=r,e.nodeValue=`${r}`)}function ao(e,t){return uo(e,t)}function Eu(e,t){var a;jn(),t.intro=(a=t.intro)!=null?a:!1;const r=t.target,n=I,i=A;try{for(var s=it(r);s&&(s.nodeType!==Ar||s.data!==hs);)s=Le(s);if(!s)throw rt;je(!0),ee(s);const o=uo(e,Ir(Pr({},t),{anchor:s}));return je(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(u=>u.startsWith("https://svelte.dev/e/")))throw o;return o!==rt&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Ia(),jn(),Fs(r),je(!1),ao(e,t)}finally{je(n),ee(i)}}const Lr=new Map;function uo(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0,transformError:o}){jn();var u=void 0,l=tu(()=>{var h=r!=null?r:t.appendChild(pe());_u(h,{pending:()=>{}},v=>{pi({});var d=Q;if(s&&(d.c=s),i&&(n.$$events=i),I&&Ct(v,null),u=e(v,n)||mi(),I&&(w.nodes.end=A,A===null||A.nodeType!==Ar||A.data!==hi))throw ln(),rt;vi()},o);var c=new Set,p=v=>{for(var d=0;d<v.length;d++){var m=v[d];if(!c.has(m)){c.add(m);var g=mu(m);for(const M of[t,document]){var E=Lr.get(M);E===void 0&&(E=new Map,Lr.set(M,E));var N=E.get(m);N===void 0?(M.addEventListener(m,qn,{passive:g}),E.set(m,1)):E.set(m,N+1)}}}};return p(an(ro)),Vn.add(p),()=>{var g;for(var v of c)for(const E of[t,document]){var d=Lr.get(E),m=d.get(v);--m==0?(E.removeEventListener(v,qn),d.delete(v),d.size===0&&Lr.delete(E)):d.set(v,m)}Vn.delete(p),h!==r&&((g=h.parentNode)==null||g.removeChild(h))}});return Zn.set(u,l),u}let Zn=new WeakMap;function yu(e,t){const r=Zn.get(e);return r?(Zn.delete(e),r(t)):Promise.resolve()}var Ee,Oe,oe,mt,xr,wr,on;class lo{constructor(t,r=!0){L(this,"anchor");x(this,Ee,new Map);x(this,Oe,new Map);x(this,oe,new Map);x(this,mt,new Set);x(this,xr,!0);x(this,wr,t=>{if(f(this,Ee).has(t)){var r=f(this,Ee).get(t),n=f(this,Oe).get(r);if(n)Jr(n),f(this,mt).delete(r);else{var i=f(this,oe).get(r);i&&(Jr(i.effect),f(this,Oe).set(r,i.effect),f(this,oe).delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,a]of f(this,Ee)){if(f(this,Ee).delete(s),s===t)break;const o=f(this,oe).get(a);o&&(J(o.effect),f(this,oe).delete(a))}for(const[s,a]of f(this,Oe)){if(s===r||f(this,mt).has(s))continue;const o=()=>{if(Array.from(f(this,Ee).values()).includes(s)){var l=document.createDocumentFragment();Hi(a,l),l.append(pe()),f(this,oe).set(s,{effect:a,fragment:l})}else J(a);f(this,mt).delete(s),f(this,Oe).delete(s)};f(this,xr)||!n?(f(this,mt).add(s),gt(a,o,!1)):o()}}});x(this,on,t=>{f(this,Ee).delete(t);const r=Array.from(f(this,Ee).values());for(const[n,i]of f(this,oe))r.includes(n)||(J(i.effect),f(this,oe).delete(n))});this.anchor=t,_(this,xr,r)}ensure(t,r){var n=y,i=Gs();if(r&&!f(this,Oe).has(t)&&!f(this,oe).has(t))if(i){var s=document.createDocumentFragment(),a=pe();s.append(a),f(this,oe).set(t,{effect:ce(()=>r(a)),fragment:s})}else f(this,Oe).set(t,ce(()=>r(this.anchor)));if(f(this,Ee).set(n,t),i){for(const[o,u]of f(this,Oe))o===t?n.unskip_effect(u):n.skip_effect(u);for(const[o,u]of f(this,oe))o===t?n.unskip_effect(u.effect):n.skip_effect(u.effect);n.oncommit(f(this,wr)),n.ondiscard(f(this,on))}else I&&(this.anchor=A),f(this,wr).call(this,n)}}Ee=new WeakMap,Oe=new WeakMap,oe=new WeakMap,mt=new WeakMap,xr=new WeakMap,wr=new WeakMap,on=new WeakMap;function xu(e,t,...r){var n=new lo(e);dn(()=>{var s;const i=(s=t())!=null?s:null;n.ensure(i,i&&(a=>i(a,...r)))},bt)}function kr(e,t,r=!1){var n;I&&(n=A,fn());var i=new lo(e),s=r?bt:0;function a(o,u){if(I){var l=di(n);if(o!==parseInt(l.substring(1))){var h=Yr();ee(h),i.anchor=h,je(!1),i.ensure(o,u),je(!0);return}}i.ensure(o,u)}dn(()=>{var o=!1;t((u,l=0)=>{o=!0,a(l,u)}),o||a(-1,null)},s)}function wu(e,t,r){var c;for(var n=[],i=t.length,s,a=t.length,o=0;o<i;o++){let p=t[o];gt(p,()=>{if(s){if(s.pending.delete(p),s.done.add(p),s.pending.size===0){var v=e.outrogroups;Qn(e,an(s.done)),v.delete(s),v.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var u=n.length===0&&r!==null&&e.pending.size===0;if(u){var l=r,h=l.parentNode;Fs(h),h.append(l),e.items.clear()}Qn(e,t,!u)}else s={pending:new Set(t),done:new Set},((c=e.outrogroups)!=null?c:e.outrogroups=new Set).add(s)}function Qn(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const a of e.pending.values())for(const o of a)n.add(e.items.get(o).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n!=null&&n.has(s)){s.f|=ke;const a=document.createDocumentFragment();Hi(s,a)}else J(t[i],r)}}var St;function Tu(e,t,r,n,i,s=null){var a=e,o=new Map;{var u=e;a=I?ee(it(u)):u.appendChild(pe())}I&&fn();var l=null,h=ja(()=>{var E=r();return ds(E)?E:E==null?[]:an(E)}),c=new Map,p=!0;function v(E){if(!(g.effect.f&V)){g.pending.delete(E);var N=P(h);g.fallback=l,Su(g,N,a,t,n),l!==null&&(N.length===0?l.f&ke?(l.f^=ke,ar(l,null,a)):Jr(l):gt(l,()=>{l=null}))}}function d(E){g.pending.delete(E)}var m=dn(()=>{var E=P(h),N=E.length;let M=!1;if(I){var te=di(a)===fi;te!==(N===0)&&(a=Yr(),ee(a),je(!1),M=!0)}for(var F=new Set,z=y,Re=Gs(),ge=0;ge<N;ge+=1){I&&A.nodeType===Ar&&A.data===hi&&(a=A,M=!0,je(!1));var C=E[ge],Xe=n(C,ge),ue=p?null:o.get(Xe);ue?(ue.v&&Vt(ue.v,C),ue.i&&Vt(ue.i,ge),Re&&z.unskip_effect(ue.e)):(ue=Au(o,p?a:St!=null?St:St=pe(),C,Xe,ge,i,t,r),p||(ue.e.f|=ke),o.set(Xe,ue)),F.add(Xe)}if(N===0&&s&&!l&&(p?l=ce(()=>s(a)):(l=ce(()=>s(St!=null?St:St=pe())),l.f|=ke)),N>F.size&&Ha(),I&&N>0&&ee(Yr()),!p)if(c.set(z,F),Re){for(const[bn,En]of o)F.has(bn)||z.skip_effect(En.e);z.oncommit(v),z.ondiscard(d)}else v(z);M&&je(!0),P(h)}),g={effect:m,items:o,pending:c,outrogroups:null,fallback:l};p=!1,I&&(a=A)}function er(e){for(;e!==null&&!(e.f&Se);)e=e.next;return e}function Su(e,t,r,n,i){var ge;var s=t.length,a=e.items,o=er(e.effect.first),u,l=null,h=[],c=[],p,v,d,m;for(m=0;m<s;m+=1){if(p=t[m],v=i(p,m),d=a.get(v).e,e.outrogroups!==null)for(const C of e.outrogroups)C.pending.delete(d),C.done.delete(d);if(d.f&Z&&Jr(d),d.f&ke)if(d.f^=ke,d===o)ar(d,null,r);else{var g=l?l.next:o;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),ze(e,l,d),ze(e,d,g),ar(d,g,r),l=d,h=[],c=[],o=er(l.next);continue}if(d!==o){if(u!==void 0&&u.has(d)){if(h.length<c.length){var E=c[0],N;l=E.prev;var M=h[0],te=h[h.length-1];for(N=0;N<h.length;N+=1)ar(h[N],E,r);for(N=0;N<c.length;N+=1)u.delete(c[N]);ze(e,M.prev,te.next),ze(e,l,M),ze(e,te,E),o=E,l=te,m-=1,h=[],c=[]}else u.delete(d),ar(d,o,r),ze(e,d.prev,d.next),ze(e,d,l===null?e.effect.first:l.next),ze(e,l,d),l=d;continue}for(h=[],c=[];o!==null&&o!==d;)(u!=null?u:u=new Set).add(o),c.push(o),o=er(o.next);if(o===null)continue}d.f&ke||h.push(d),l=d,o=er(d.next)}if(e.outrogroups!==null){for(const C of e.outrogroups)C.pending.size===0&&(Qn(e,an(C.done)),(ge=e.outrogroups)==null||ge.delete(C));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||u!==void 0){var F=[];if(u!==void 0)for(d of u)d.f&Z||F.push(d);for(;o!==null;)!(o.f&Z)&&o!==e.fallback&&F.push(o),o=er(o.next);var z=F.length;if(z>0){var Re=s===0?r:null;wu(e,F,Re)}}}function Au(e,t,r,n,i,s,a,o){var u=a&ua?a&fa?Et(r):yi(r,!1,!1):null,l=a&la?Et(i):null;return{v:u,i:l,e:ce(()=>(s(t,u!=null?u:r,l!=null?l:i,o),()=>{e.delete(n)}))}}function ar(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&!(t.f&ke)?t.nodes.start:r;n!==null;){var a=Le(n);if(s.before(n),n===i)return;n=a}}function ze(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function fo(e,t){Vs(()=>{var i,s,a,o;e=(a=(s=(i=w==null?void 0:w.parent)==null?void 0:i.nodes)==null?void 0:s.start)!=null?a:e;var r=e.getRootNode(),n=r.host?r:(o=r.head)!=null?o:r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const u=xi("style");u.id=t.hash,u.textContent=t.code,n.appendChild(u)}})}const Vi=[...`
|
|
3
|
-
\r\f \v\uFEFF`];function Hu(e,t,r){var n=e==null?"":""+e;if(r){for(var i of Object.keys(r))if(r[i])n=n?n+" "+i:i;else if(n.length)for(var s=i.length,a=0;(a=n.indexOf(i,a))>=0;){var o=a+s;(a===0||Vi.includes(n[a-1]))&&(o===n.length||Vi.includes(n[o]))?n=(a===0?"":n.substring(0,a))+n.substring(o+1):a=o}}return n===""?null:n}function Jn(e,t,r,n,i,s){var a=e[Rn];if(I||a!==r||a===void 0){var o=Hu(r,n,s);(!I||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e[Rn]=r}else if(s&&i!==s)for(var u in s){var l=!!s[u];(i==null||l!==!!i[u])&&e.classList.toggle(u,l)}return s}const Nu=Symbol("is custom element"),Ou=Symbol("is html"),Bu=xa?"link":"LINK";function Kn(e,t,r,n){var i=Pu(e);I&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Bu)||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Ea]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Iu(e).has(t)?e[t]=r:e.setAttribute(t,r))}function Pu(e){var t;return(t=e[Dr])!=null?t:e[Dr]={[Nu]:e.nodeName.includes("-"),[Ou]:e.namespaceURI===da}}var qi=new Map;function Iu(e){var t=e.getAttribute("is")||e.nodeName,r=qi.get(t);if(r)return r;qi.set(t,r=new Set);for(var n,i=e,s=Element.prototype;s!==i;){n=va(i);for(var a in n)n[a].set&&a!=="innerHTML"&&a!=="textContent"&&a!=="innerText"&&r.add(a);i=ps(i)}return r}function Nn(e,t){return e===t||(e==null?void 0:e[$r])===t}function Cu(e=mi(),t,r,n){var i=Q.r,s=w;return Vs(()=>{var a,o;return Si(()=>{a=o,o=[],Ni(()=>{Nn(r(...o),e)||(t(e,...o),a&&Nn(r(...a),e)&&t(null,...a))})}),()=>{let u=s;for(;u!==i&&u.parent!==null&&u.parent.f≺)u=u.parent;const l=()=>{o&&Nn(r(...o),e)&&t(null,...o)},h=u.teardown;u.teardown=()=>{l(),h==null||h()}}}),e}function Oi(e,t,r){if(e==null)return t(void 0),r&&r(void 0),Ie;const n=Ni(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const At=[];function ho(e,t){return{subscribe:pn(e,t).subscribe}}function pn(e,t=Ie){let r=null;const n=new Set;function i(o){if(ys(e,o)&&(e=o,r)){const u=!At.length;for(const l of n)l[1](),At.push(l,e);if(u){for(let l=0;l<At.length;l+=2)At[l][0](At[l+1]);At.length=0}}}function s(o){i(o(e))}function a(o,u=Ie){const l=[o,u];return n.add(l),n.size===1&&(r=t(i,s)||Ie),o(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function Zt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return ho(r,(a,o)=>{let u=!1;const l=[];let h=0,c=Ie;const p=()=>{if(h)return;c();const d=t(n?l[0]:l,a,o);s?a(d):c=typeof d=="function"?d:Ie},v=i.map((d,m)=>Oi(d,g=>{l[m]=g,h&=~(1<<m),u&&p()},()=>{h|=1<<m}));return u=!0,p(),function(){vs(v),c(),u=!1}})}function co(e){let t;return Oi(e,r=>t=r)(),t}let ei=Symbol("unmounted");function po(e,t,r){var s;const n=(s=r[t])!=null?s:r[t]={store:null,source:yi(void 0),unsubscribe:Ie};if(n.store!==e&&!(ei in r))if(n.unsubscribe(),n.store=e!=null?e:null,e==null)n.source.v=void 0,n.unsubscribe=Ie;else{var i=!0;n.unsubscribe=Oi(e,a=>{i?n.source.v=a:ye(n.source,a)}),i=!1}return e&&ei in r?co(e):P(n.source)}function vo(){const e={};function t(){Ti(()=>{for(var r in e)e[r].unsubscribe();Gt(e,ei,{enumerable:!1,value:!0})})}return[e,t]}function at(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var u;u=()=>{var p=e[t];return p===void 0?a():(s=!0,p)};var l=!1,h=hn(()=>(l=!1,u())),c=w;return function(p,v){if(arguments.length>0){const d=v?P(h):p;return ye(h,d),l=!0,i!==void 0&&(i=d),p}return qe&&l||c.f&V?h.v:P(h)}}function Mu(e){return new Lu(e)}var Ge,he;class Lu{constructor(t){x(this,Ge);x(this,he);var s,a;var r=new Map,n=(o,u)=>{var l=yi(u,!1,!1);return r.set(o,l),l};const i=new Proxy(Ir(Pr({},t.props||{}),{$$events:{}}),{get(o,u){var l;return P((l=r.get(u))!=null?l:n(u,Reflect.get(o,u)))},has(o,u){var l;return u===ba?!0:(P((l=r.get(u))!=null?l:n(u,Reflect.get(o,u))),Reflect.has(o,u))},set(o,u,l){var h;return ye((h=r.get(u))!=null?h:n(u,l),l),Reflect.set(o,u,l)}});_(this,he,(t.hydrate?Eu:ao)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:(s=t.intro)!=null?s:!1,recover:t.recover,transformError:t.transformError})),(!((a=t==null?void 0:t.props)!=null&&a.$$host)||t.sync===!1)&&Ye(),_(this,Ge,i.$$events);for(const o of Object.keys(f(this,he)))o==="$set"||o==="$destroy"||o==="$on"||Gt(this,o,{get(){return f(this,he)[o]},set(u){f(this,he)[o]=u},enumerable:!0});f(this,he).$set=o=>{Object.assign(i,o)},f(this,he).$destroy=()=>{yu(f(this,he))}}$set(t){f(this,he).$set(t)}$on(t,r){f(this,Ge)[t]=f(this,Ge)[t]||[];const n=(...i)=>r.call(this,...i);return f(this,Ge)[t].push(n),()=>{f(this,Ge)[t]=f(this,Ge)[t].filter(i=>i!==n)}}$destroy(){f(this,he).$destroy()}}Ge=new WeakMap,he=new WeakMap;let mo;typeof HTMLElement=="function"&&(mo=class extends HTMLElement{constructor(t,r,n){super();L(this,"$$ctor");L(this,"$$s");L(this,"$$c");L(this,"$$cn",!1);L(this,"$$d",{});L(this,"$$r",!1);L(this,"$$p_d",{});L(this,"$$l",{});L(this,"$$l_u",new Map);L(this,"$$me");L(this,"$$shadowRoot",null);this.$$ctor=t,this.$$s=r,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Li(this,null,function*(){if(this.$$cn=!0,!this.$$c){let r=function(s){return a=>{const o=xi("slot");s!=="default"&&(o.name=s),Bt(a,o)}};var t=r;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Ru(this);for(const s of this.$$s)s in i&&(s==="default"&&!this.$$d.children?(this.$$d.children=r(s),n.default=!0):n[s]=r(s));for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=jr(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=Mu({component:this.$$ctor,target:this.$$shadowRoot||this,props:Ir(Pr({},this.$$d),{$$slots:n,$$host:this})}),this.$$me=eu(()=>{Si(()=>{var s;this.$$r=!0;for(const a of Xr(this.$$c)){if(!((s=this.$$p_d[a])!=null&&s.reflect))continue;this.$$d[a]=this.$$c[a];const o=jr(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1})});for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=jr(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Xr(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function jr(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.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?null:t;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 Ru(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function go(e,t,r,n,i,s){let a=class extends mo{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Xr(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Xr(t).forEach(o=>{Gt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var c;u=jr(o,u,t),this.$$d[o]=u;var l=this.$$c;if(l){var h=(c=Pt(l,o))==null?void 0:c.get;h?l[o]=u:l.$set({[o]:u})}}})}),n.forEach(o=>{Gt(a.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),e.element=a,a}var $u=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bo(e){let t;const r=no(i=>{let s=!1;const a=e.subscribe(o=>{t=o,s&&i()});return s=!0,a});function n(){return cn()?(r(),t):co(e)}return"set"in e?{get current(){return n()},set current(i){e.set(i)}}:{get current(){return n()}}}var Du=function(t){return Uu(t)&&!Fu(t)};function Uu(e){return!!e&&typeof e=="object"}function Fu(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ju(e)}var Gu=typeof Symbol=="function"&&Symbol.for,ku=Gu?Symbol.for("react.element"):60103;function ju(e){return e.$$typeof===ku}function Vu(e){return Array.isArray(e)?[]:{}}function mr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Xt(Vu(e),e,t):e}function qu(e,t,r){return e.concat(t).map(function(n){return mr(n,r)})}function Xu(e,t){if(!t.customMerge)return Xt;var r=t.customMerge(e);return typeof r=="function"?r:Xt}function zu(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Xi(e){return Object.keys(e).concat(zu(e))}function Eo(e,t){try{return t in e}catch(r){return!1}}function Wu(e,t){return Eo(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Yu(e,t,r){var n={};return r.isMergeableObject(e)&&Xi(e).forEach(function(i){n[i]=mr(e[i],r)}),Xi(t).forEach(function(i){Wu(e,i)||(Eo(e,i)&&r.isMergeableObject(t[i])?n[i]=Xu(i,r)(e[i],t[i],r):n[i]=mr(t[i],r))}),n}function Xt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||qu,r.isMergeableObject=r.isMergeableObject||Du,r.cloneUnlessOtherwiseSpecified=mr;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Yu(e,t,r):mr(t,r)}Xt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Xt(n,i,r)},{})};var Zu=Xt,Qu=Zu;const Ju=_o(Qu);var ti=function(e,t){return ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ti(e,t)};function vn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ti(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Pe=function(){return Pe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Pe.apply(this,arguments)};function Ku(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function On(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Bn(e,t){var r=t&&t.cache?t.cache:ol,n=t&&t.serializer?t.serializer:il,i=t&&t.strategy?t.strategy:rl;return i(e,{cache:r,serializer:n})}function el(e){return e==null||typeof e=="number"||typeof e=="boolean"}function tl(e,t,r,n){var i=el(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function yo(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function xo(e,t,r,n,i){return r.bind(t,e,n,i)}function rl(e,t){var r=e.length===1?tl:yo;return xo(e,this,r,t.cache.create(),t.serializer)}function nl(e,t){return xo(e,this,yo,t.cache.create(),t.serializer)}var il=function(){return JSON.stringify(arguments)},sl=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),ol={create:function(){return new sl}},Pn={variadic:nl},Kr=function(){return Kr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Kr.apply(this,arguments)};var H;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(H||(H={}));var R;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(R||(R={}));var zt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(zt||(zt={}));function zi(e){return e.type===R.literal}function al(e){return e.type===R.argument}function wo(e){return e.type===R.number}function To(e){return e.type===R.date}function So(e){return e.type===R.time}function Ao(e){return e.type===R.select}function Ho(e){return e.type===R.plural}function ul(e){return e.type===R.pound}function No(e){return e.type===R.tag}function Oo(e){return!!(e&&typeof e=="object"&&e.type===zt.number)}function ri(e){return!!(e&&typeof e=="object"&&e.type===zt.dateTime)}var Bo=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ll=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function fl(e){var t={};return e.replace(ll,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var $=function(){return $=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},$.apply(this,arguments)};var hl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(hl).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],u=a.slice(1),l=0,h=u;l<h.length;l++){var c=h[l];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:u})}return r}function dl(e){return e.replace(/^(.*?)-/,"")}var Wi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Po=/^(@+)?(\+|#+)?[rs]?$/g,pl=/(\*)(0+)|(#+)(0+)|(0+)/g,Io=/^(0+)$/;function Yi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Po,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Co(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function vl(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Io.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Zi(e){var t={},r=Co(e);return r||t}function ml(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=dl(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=$($($({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return $($({},u),Zi(l))},{}));continue;case"engineering":t=$($($({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return $($({},u),Zi(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(pl,function(u,l,h,c,p,v){if(l)t.minimumIntegerDigits=h.length;else{if(c&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Io.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Wi.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Wi,function(u,l,h,c,p,v){return h==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:p&&v?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+v.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var s=i.options[0];s==="w"?t=$($({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=$($({},t),Yi(s)));continue}if(Po.test(i.stem)){t=$($({},t),Yi(i.stem));continue}var a=Co(i.stem);a&&(t=$($({},t),a));var o=vl(i.stem);o&&(t=$($({},t),o))}return t}var Rr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function gl(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),u="a",l=_l(t);for((l=="H"||l=="k")&&(o=0);o-- >0;)r+=u;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function _l(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Rr[n||""]||Rr[r||""]||Rr["".concat(r,"-001")]||Rr["001"];return i[0]}var In,bl=new RegExp("^".concat(Bo.source,"*")),El=new RegExp("".concat(Bo.source,"*$"));function O(e,t){return{start:e,end:t}}var yl=!!String.prototype.startsWith&&"_a".startsWith("a",1),xl=!!String.fromCodePoint,wl=!!Object.fromEntries,Tl=!!String.prototype.codePointAt,Sl=!!String.prototype.trimStart,Al=!!String.prototype.trimEnd,Hl=!!Number.isSafeInteger,Nl=Hl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ni=!0;try{var Ol=Lo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ni=((In=Ol.exec("a"))===null||In===void 0?void 0:In[0])==="a"}catch(e){ni=!1}var Qi=yl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ii=xl?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Ji=wl?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},Mo=Tl?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Bl=Sl?function(t){return t.trimStart()}:function(t){return t.replace(bl,"")},Pl=Al?function(t){return t.trimEnd()}:function(t){return t.replace(El,"")};function Lo(e,t){return new RegExp(e,t)}var si;if(ni){var Ki=Lo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");si=function(t,r){var n;Ki.lastIndex=r;var i=Ki.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else si=function(t,r){for(var n=[];;){var i=Mo(t,r);if(i===void 0||Ro(i)||Ll(i))break;n.push(i),r+=i>=65536?2:1}return ii.apply(void 0,n)};var Il=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:R.pound,location:O(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(H.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&oi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:R.literal,value:"<".concat(i,"/>"),location:O(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!oi(this.char()))return this.error(H.INVALID_TAG,O(o,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(H.UNMATCHED_CLOSING_TAG,O(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:R.tag,value:i,children:a,location:O(n,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,O(o,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,O(n,this.clonePosition()))}else return this.error(H.INVALID_TAG,O(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ml(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var u=O(n,this.clonePosition());return{val:{type:R.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cl(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return ii.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),ii(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,O(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(H.MALFORMED_ARGUMENT,O(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:R.argument,value:i,location:O(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(H.MALFORMED_ARGUMENT,O(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=si(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=O(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(o){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,O(a,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var p=Pl(c.val);if(p.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var v=O(h,this.clonePosition());l={style:p,styleLocation:v}}var d=this.tryParseArgumentClose(i);if(d.err)return d;var m=O(i,this.clonePosition());if(l&&Qi(l==null?void 0:l.style,"::",0)){var g=Bl(l.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(g,l.styleLocation);return c.err?c:{val:{type:R.number,value:n,location:m,style:c.val},err:null}}else{if(g.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,m);var E=g;this.locale&&(E=gl(g,this.locale));var p={type:zt.dateTime,pattern:E,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?fl(E):{}},N=o==="date"?R.date:R.time;return{val:{type:N,value:n,location:m,style:p},err:null}}}return{val:{type:o==="number"?R.number:o==="date"?R.date:R.time,value:n,location:m,style:(s=l==null?void 0:l.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,O(M,Kr({},M)));this.bumpSpace();var te=this.parseIdentifierIfPossible(),F=0;if(o!=="select"&&te.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),te=this.parseIdentifierIfPossible(),F=c.val}var z=this.tryParsePluralOrSelectOptions(t,o,r,te);if(z.err)return z;var d=this.tryParseArgumentClose(i);if(d.err)return d;var Re=O(i,this.clonePosition());return o==="select"?{val:{type:R.select,value:n,options:Ji(z.val),location:Re},err:null}:{val:{type:R.plural,value:n,options:Ji(z.val),offset:F,pluralType:o==="plural"?"cardinal":"ordinal",location:Re},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,O(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=cl(t)}catch(i){return this.error(H.INVALID_NUMBER_SKELETON,r)}return{val:{type:zt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ml(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],u=new Set,l=i.value,h=i.location;;){if(l.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=O(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(t+1,r,n);if(d.err)return d;var m=this.tryParseArgumentClose(v);if(m.err)return m;o.push([l,{value:d.val,location:O(v,this.clonePosition())}]),u.add(l),this.bumpSpace(),s=this.parseIdentifierIfPossible(),l=s.value,h=s.location}return o.length===0?this.error(r==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(H.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var u=O(i,this.clonePosition());return s?(a*=n,Nl(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Mo(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Qi(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ro(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function oi(e){return e>=97&&e<=122||e>=65&&e<=90}function Cl(e){return oi(e)||e===47}function Ml(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ro(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ll(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ai(e){e.forEach(function(t){if(delete t.location,Ao(t)||Ho(t))for(var r in t.options)delete t.options[r].location,ai(t.options[r].value);else wo(t)&&Oo(t.style)||(To(t)||So(t))&&ri(t.style)?delete t.style.location:No(t)&&ai(t.children)})}function Rl(e,t){t===void 0&&(t={}),t=Kr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Il(e,t).parse();if(r.err){var n=SyntaxError(H[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||ai(r.val),r.val}var Wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Wt||(Wt={}));var mn=function(e){vn(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),es=function(e){vn(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Wt.INVALID_VALUE,s)||this}return t}(mn),$l=function(e){vn(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Wt.INVALID_VALUE,i)||this}return t}(mn),Dl=function(e){vn(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Wt.MISSING_VALUE,n)||this}return t}(mn),Y;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Y||(Y={}));function Ul(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Y.literal||r.type!==Y.literal?t.push(r):n.value+=r.value,t},[])}function Fl(e){return typeof e=="function"}function Vr(e,t,r,n,i,s,a){if(e.length===1&&zi(e[0]))return[{type:Y.literal,value:e[0].value}];for(var o=[],u=0,l=e;u<l.length;u++){var h=l[u];if(zi(h)){o.push({type:Y.literal,value:h.value});continue}if(ul(h)){typeof s=="number"&&o.push({type:Y.literal,value:r.getNumberFormat(t).format(s)});continue}var c=h.value;if(!(i&&c in i))throw new Dl(c,a);var p=i[c];if(al(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),o.push({type:typeof p=="string"?Y.literal:Y.object,value:p});continue}if(To(h)){var v=typeof h.style=="string"?n.date[h.style]:ri(h.style)?h.style.parsedOptions:void 0;o.push({type:Y.literal,value:r.getDateTimeFormat(t,v).format(p)});continue}if(So(h)){var v=typeof h.style=="string"?n.time[h.style]:ri(h.style)?h.style.parsedOptions:n.time.medium;o.push({type:Y.literal,value:r.getDateTimeFormat(t,v).format(p)});continue}if(wo(h)){var v=typeof h.style=="string"?n.number[h.style]:Oo(h.style)?h.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),o.push({type:Y.literal,value:r.getNumberFormat(t,v).format(p)});continue}if(No(h)){var d=h.children,m=h.value,g=i[m];if(!Fl(g))throw new $l(m,"function",a);var E=Vr(d,t,r,n,i,s),N=g(E.map(function(F){return F.value}));Array.isArray(N)||(N=[N]),o.push.apply(o,N.map(function(F){return{type:typeof F=="string"?Y.literal:Y.object,value:F}}))}if(Ao(h)){var M=h.options[p]||h.options.other;if(!M)throw new es(h.value,p,Object.keys(h.options),a);o.push.apply(o,Vr(M.value,t,r,n,i));continue}if(Ho(h)){var M=h.options["=".concat(p)];if(!M){if(!Intl.PluralRules)throw new mn(`Intl.PluralRules is not available in this environment.
|
|
4
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
-
`,Wt.MISSING_INTL_API,a);var te=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));M=h.options[te]||h.options.other}if(!M)throw new es(h.value,p,Object.keys(h.options),a);o.push.apply(o,Vr(M.value,t,r,n,i,p-(h.offset||0)));continue}}return Ul(o)}function Gl(e,t){return t?Pe(Pe(Pe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Pe(Pe({},e[n]),t[n]||{}),r},{})):e}function kl(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Gl(e[n],t[n]),r},Pe({},e)):e}function Cn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function jl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Bn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,On([void 0],r,!1)))},{cache:Cn(e.number),strategy:Pn.variadic}),getDateTimeFormat:Bn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,On([void 0],r,!1)))},{cache:Cn(e.dateTime),strategy:Pn.variadic}),getPluralRules:Bn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,On([void 0],r,!1)))},{cache:Cn(e.pluralRules),strategy:Pn.variadic})}}var Vl=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=s.formatToParts(u);if(l.length===1)return l[0].value;var h=l.reduce(function(c,p){return!c.length||p.type!==Y.literal||typeof c[c.length-1]!="string"?c.push(p.value):c[c.length-1]+=p.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(u){return Vr(s.ast,s.locales,s.formatters,s.formats,u,void 0,s.message)},this.resolvedOptions=function(){var u;return{locale:((u=s.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Ku(a,["formatters"]);this.ast=e.__parse(t,Pe(Pe({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=kl(e.formats,n),this.formatters=i&&i.formatters||jl(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Rl,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function ql(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ke={},Xl=(e,t,r)=>r&&(t in Ke||(Ke[t]={}),e in Ke[t]||(Ke[t][e]=r),r),$o=(e,t)=>{if(t==null)return;if(t in Ke&&e in Ke[t])return Ke[t][e];const r=gn(t);for(let n=0;n<r.length;n++){const i=r[n],s=Wl(i,e);if(s)return Xl(e,t,s)}};let Bi;const Qt=pn({});function zl(e){return Bi[e]||null}function Do(e){return e in Bi}function Wl(e,t){if(!Do(e))return null;const r=zl(e);return ql(r,t)}function Yl(e){if(e==null)return;const t=gn(e);for(let r=0;r<t.length;r++){const n=t[r];if(Do(n))return n}}function Uo(e,...t){delete Ke[e],Qt.update(r=>(r[e]=Ju.all([r[e]||{},...t]),r))}Zt([Qt],([e])=>Object.keys(e));Qt.subscribe(e=>Bi=e);const qr={};function Zl(e,t){qr[e].delete(t),qr[e].size===0&&delete qr[e]}function Fo(e){return qr[e]}function Ql(e){return gn(e).map(t=>{const r=Fo(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ui(e){return e==null?!1:gn(e).some(t=>{var r;return(r=Fo(t))==null?void 0:r.size})}function Jl(e,t){return Promise.all(t.map(n=>(Zl(e,n),n().then(i=>i.default||i)))).then(n=>Uo(e,...n))}const tr={};function Go(e){if(!ui(e))return e in tr?tr[e]:Promise.resolve();const t=Ql(e);return tr[e]=Promise.all(t.map(([r,n])=>Jl(r,n))).then(()=>{if(ui(e))return Go(e);delete tr[e]}),tr[e]}const Kl={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ef={fallbackLocale:null,loadingDelay:200,formats:Kl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},tf=ef;function Yt(){return tf}const Mn=pn(!1);var rf=Object.defineProperty,nf=Object.defineProperties,sf=Object.getOwnPropertyDescriptors,ts=Object.getOwnPropertySymbols,of=Object.prototype.hasOwnProperty,af=Object.prototype.propertyIsEnumerable,rs=(e,t,r)=>t in e?rf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uf=(e,t)=>{for(var r in t||(t={}))of.call(t,r)&&rs(e,r,t[r]);if(ts)for(var r of ts(t))af.call(t,r)&&rs(e,r,t[r]);return e},lf=(e,t)=>nf(e,sf(t));let li;const en=pn(null);function ns(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function gn(e,t=Yt().fallbackLocale){const r=ns(e);return t?[...new Set([...r,...ns(t)])]:r}function wt(){return li!=null?li:void 0}en.subscribe(e=>{li=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ff=e=>{if(e&&Yl(e)&&ui(e)){const{loadingDelay:t}=Yt();let r;return typeof window!="undefined"&&wt()!=null&&t?r=window.setTimeout(()=>Mn.set(!0),t):Mn.set(!0),Go(e).then(()=>{en.set(e)}).finally(()=>{clearTimeout(r),Mn.set(!1)})}return en.set(e)},st=lf(uf({},en),{set:ff}),_n=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var hf=Object.defineProperty,tn=Object.getOwnPropertySymbols,ko=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,is=(e,t,r)=>t in e?hf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pi=(e,t)=>{for(var r in t||(t={}))ko.call(t,r)&&is(e,r,t[r]);if(tn)for(var r of tn(t))jo.call(t,r)&&is(e,r,t[r]);return e},Jt=(e,t)=>{var r={};for(var n in e)ko.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&tn)for(var n of tn(e))t.indexOf(n)<0&&jo.call(e,n)&&(r[n]=e[n]);return r};const gr=(e,t)=>{const{formats:r}=Yt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},cf=_n(e=>{var t=e,{locale:r,format:n}=t,i=Jt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=gr("number",n)),new Intl.NumberFormat(r,i)}),df=_n(e=>{var t=e,{locale:r,format:n}=t,i=Jt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=gr("date",n):Object.keys(i).length===0&&(i=gr("date","short")),new Intl.DateTimeFormat(r,i)}),pf=_n(e=>{var t=e,{locale:r,format:n}=t,i=Jt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=gr("time",n):Object.keys(i).length===0&&(i=gr("time","short")),new Intl.DateTimeFormat(r,i)}),vf=(e={})=>{var t=e,{locale:r=wt()}=t,n=Jt(t,["locale"]);return cf(Pi({locale:r},n))},mf=(e={})=>{var t=e,{locale:r=wt()}=t,n=Jt(t,["locale"]);return df(Pi({locale:r},n))},gf=(e={})=>{var t=e,{locale:r=wt()}=t,n=Jt(t,["locale"]);return pf(Pi({locale:r},n))},_f=_n((e,t=wt())=>new Vl(e,t,Yt().formats,{ignoreTag:Yt().ignoreTag})),bf=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:u=wt(),default:l}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=$o(e,u);if(!h)h=(s=(i=(n=(r=Yt()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let c=h;try{c=_f(h,u).format(o)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return c},Ef=(e,t)=>gf(t).format(e),yf=(e,t)=>mf(t).format(e),xf=(e,t)=>vf(t).format(e),wf=(e,t=wt())=>$o(e,t),Vo=Zt([st,Qt],()=>bf);Zt([st],()=>Ef);Zt([st],()=>yf);Zt([st],()=>xf);Zt([st,Qt],()=>wf);function Tf({withLocale:e,translations:t}){st.subscribe(r=>{r==null&&(Qt.set(t),st.set(e))})}function qo(e,t){Uo(e,t)}function Sf(e){st.set(e)}function Xo(e){Object.keys(e).forEach(t=>{qo(t,e[t])})}function Af(e){const t=new URL(e);fetch(t.href).then(r=>r.json()).then(r=>{Object.keys(r).forEach(n=>{qo(n,r[n])})}).catch(r=>{console.log(r)})}const Hf=1e3,Nf={Unstarted:"scheduled",Running:"ongoing",Closing:"ended",Closed:"ended"},rn=e=>e==null||e===""?NaN:typeof e=="number"?e:Date.parse(e),zo=({state:e,startTime:t,endTime:r,isNew:n=!1,now:i=Date.now()})=>{const s=rn(t),a=rn(r);let o=Nf[e];return o||(o=i<s?"scheduled":i<a?"ongoing":"ended"),o==="scheduled"&&i>=s&&(o="ongoing"),o==="ongoing"&&i>=a&&(o="ended"),o==="ongoing"&&n?"new":o},Of=e=>String(e).padStart(2,"0"),Bf=(e,t=Date.now())=>{const r=Math.floor((e-t)/1e3);if(Number.isNaN(r)||r<=0)return null;const n=Math.floor(r/86400),i=Math.floor(r%86400/3600),s=Math.floor(r%3600/60),a=r%60;return[n,i,s,a].map(Of).join(" : ")},ss=(e,t)=>{const r={month:"short",day:"numeric"};try{return new Intl.DateTimeFormat(t||"en",r).format(e)}catch(n){return new Intl.DateTimeFormat("en",r).format(e)}},Pf=(e,t,r)=>Number.isNaN(e)||Number.isNaN(t)?"":`${ss(e,r)} - ${ss(t,r)}`,If=(e,t,r,n=Date.now(),i)=>{const s=rn(t),a=rn(r);if(e==="ended"){const h=Pf(s,a,i);return h?{date:h}:{}}const o=e==="scheduled",u=o?s:a,l=Bf(u,n);return l?{label:o?"tournamentStatus.startsIn":"tournamentStatus.endsIn",countdown:l,target:new Date(u).toISOString()}:{}},Wo=ho(Date.now(),e=>{if(typeof document=="undefined")return;let t;const r=()=>e(Date.now()),n=()=>{t===void 0&&(r(),t=setInterval(r,Hf))},i=()=>{clearInterval(t),t=void 0},s=()=>{document.hidden?i():n()};return document.addEventListener("visibilitychange",s),document.hidden||n(),()=>{i(),document.removeEventListener("visibilitychange",s)}});var Cf=Or('<span class="timer-date svelte-1gqjw6m"> </span>'),Mf=Or('<span class="timer-label svelte-1gqjw6m"> </span> <span class="timer-dash svelte-1gqjw6m"></span> <span class="timer-countdown"> </span>',1),Lf=Or('<div class="timer svelte-1gqjw6m"><!> <!></div>'),Rf=Or('<div><div class="status-pill svelte-1gqjw6m"><span></span> <span class="status-label svelte-1gqjw6m"> </span></div> <!></div>');const $f={hash:"svelte-1gqjw6m",code:`.tournament-badge.svelte-1gqjw6m {box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:2px 8px 2px 2px;gap:6px;position:relative;background-color:var(--alpha-white-10, rgba(0, 0, 0, 0.3));border:1px solid var(--alpha-white-25, rgba(251, 251, 251, 0.2));backdrop-filter:blur(10px);border-radius:100px;width:fit-content;height:25px;&[data-status='scheduled'],
|
|
6
|
-
&[data-status='ongoing'] {background-color:var(--alpha-white-10, rgba(251, 251, 251, 0.1));}.status-pill:where(.svelte-1gqjw6m) {box-sizing:border-box;display:flex;align-items:center;gap:4px;padding:2px 8px 2px 6px;border-radius:20px;border:0.8px solid var(--alpha-white-25, rgba(251, 251, 251, 0.2));box-shadow:0px 0.83px 1.66px 0px rgba(16, 24, 40, 0.05);background-color:var(--alpha-black-20, rgba(0, 0, 0, 0.2));height:21px;flex-shrink:0;white-space:nowrap;.dot-status:where(.svelte-1gqjw6m) {width:8px;height:8px;border-radius:50%;flex-shrink:0;transition:background 0.2s ease,
|
|
7
|
-
box-shadow 0.2s ease;&.new {background:var(--semantic-success-400, rgba(45, 223, 0, 1));}&.scheduled {background:var(--semantic-info-400, rgba(0, 156, 245, 1));}&.ended {background:var(--secondary-300, rgba(78, 103, 134, 1));}&.ongoing {background:var(--border-alert, rgba(255, 205, 5, 1));}}.status-label:where(.svelte-1gqjw6m) {font-weight:500;font-size:11px;line-height:13px;color:var(--secondary-50, rgba(223, 227, 232, 1));}}.timer:where(.svelte-1gqjw6m) {display:flex;align-items:center;gap:6px;color:var(--secondary-50, rgba(223, 227, 232, 1));font-size:10px;line-height:1;white-space:nowrap;flex-shrink:0;.timer-label:where(.svelte-1gqjw6m),
|
|
8
|
-
.timer-date:where(.svelte-1gqjw6m) {font-weight:400;}.timer-dash:where(.svelte-1gqjw6m) {font-weight:500;opacity:0.7;}}}.tournament-badge.tournament-badge--large.svelte-1gqjw6m {height:41px;.status-pill:where(.svelte-1gqjw6m) {height:34px;}.status-pill:where(.svelte-1gqjw6m) .status-label:where(.svelte-1gqjw6m) {font-size:18px;}.timer:where(.svelte-1gqjw6m) {font-size:16px;}.dot-status:where(.svelte-1gqjw6m) {width:8px;height:8px;}}
|
|
9
|
-
|
|
10
|
-
@media (max-width: 767px) {.tournament-badge.tournament-badge--large.svelte-1gqjw6m {height:25px;.status-pill:where(.svelte-1gqjw6m) {height:21px;}.status-pill:where(.svelte-1gqjw6m) .status-label:where(.svelte-1gqjw6m) {font-size:11px;}.timer:where(.svelte-1gqjw6m) {font-size:10px;}.dot-status:where(.svelte-1gqjw6m) {width:5px;height:5px;}}
|
|
11
|
-
}`};function Yo(e,t){pi(t,!0),fo(e,$f);const r=()=>po(Vo,"$_",n),[n,i]=vo(),s=at(t,"state"),a=at(t,"startTime"),o=at(t,"endTime"),u=at(t,"isNew",7,!1),l=at(t,"language",7,"en"),h=at(t,"size",7,"default");Xo(oa.STATUS_BADGE_TRANSLATIONS);const c=bo(Wo),p=$n(()=>zo({state:s(),startTime:a(),endTime:o(),isNew:u(),now:c.current})),v=$n(()=>If(P(p),a(),o(),c.current,l()));var d={get state(){return s()},set state(C){s(C),Ye()},get startTime(){return a()},set startTime(C){a(C),Ye()},get endTime(){return o()},set endTime(C){o(C),Ye()},get isNew(){return u()},set isNew(C=!1){u(C),Ye()},get language(){return l()},set language(C="en"){l(C),Ye()},get size(){return h()},set size(C="default"){h(C),Ye()}},m=Rf();let g;var E=cr(m),N=cr(E);let M;var te=Nt(N,2),F=Cr(te,!0);ur(E);var z=Nt(E,2);{var Re=C=>{var Xe=Lf(),ue=cr(Xe);{var bn=ot=>{var Kt=Cf(),Br=Cr(Kt,!0);Fr(()=>Mr(Br,P(v).date)),Bt(ot,Kt)};kr(ue,ot=>{P(v).date&&ot(bn)})}var En=Nt(ue,2);{var Zo=ot=>{var Kt=Mf(),Br=Us(Kt),Qo=Cr(Br,!0),Ii=Nt(Br,2);Ii.textContent="-";var Jo=Nt(Ii,2),Ko=Cr(Jo,!0);Fr(ea=>{Mr(Qo,ea),Mr(Ko,P(v).countdown)},[()=>r()(P(v).label)]),Bt(ot,Kt)};kr(En,ot=>{P(v).countdown&&ot(Zo)})}ur(Xe),Bt(C,Xe)};kr(z,C=>{(P(v).date||P(v).countdown)&&C(Re)})}ur(m),Fr(C=>{g=Jn(m,1,"tournament-badge svelte-1gqjw6m",null,g,{"tournament-badge--large":h()==="large"}),Kn(m,"data-status",P(p)),Kn(E,"data-status",P(p)),M=Jn(N,1,"dot dot-status svelte-1gqjw6m",null,M,{new:P(p)==="new",scheduled:P(p)==="scheduled",ongoing:P(p)==="ongoing",ended:P(p)==="ended"}),Mr(F,C)},[()=>r()(`tournamentStatus.${P(p)}`)]),Bt(e,m);var ge=vi(d);return i(),ge}go(Yo,{state:{},startTime:{},endTime:{},isNew:{},language:{},size:{}},[],[],{mode:"open"});exports.$format=Vo;exports.StatusBadge=Yo;exports.append=Bt;exports.append_styles=fo;exports.bind_this=Cu;exports.child=cr;exports.comment=pu;exports.commonjsGlobal=$u;exports.create_custom_element=go;exports.delegate=hu;exports.delegated=fu;exports.each=Tu;exports.event=lu;exports.first_child=Us;exports.flushSync=Ye;exports.fromStore=bo;exports.from_html=Or;exports.get=P;exports.getDefaultExportFromCjs=_o;exports.if_block=kr;exports.loadTranslations=Af;exports.noop=Ie;exports.pop=vi;exports.prop=at;exports.proxy=Ot;exports.push=pi;exports.registerTranslations=Xo;exports.replay_events=au;exports.reset=ur;exports.resolveTournamentStatus=zo;exports.set=ye;exports.setLocale=Sf;exports.set_attribute=Kn;exports.set_class=Jn;exports.setupI18n=Tf;exports.setup_stores=vo;exports.sibling=Nt;exports.snippet=xu;exports.state=$e;exports.store_get=po;exports.template_effect=Fr;exports.tournamentClock=Wo;exports.user_derived=$n;exports.user_effect=Ja;exports.user_pre_effect=Ka;
|