@everymatrix/general-player-forgot-password-form-nd 1.99.56 → 1.99.59
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/{GeneralPlayerForgotPasswordFormNd-DP9lhIu4.js → GeneralPlayerForgotPasswordFormNd-BAQxmVKa.js} +93 -169
- package/components/{GeneralPlayerForgotPasswordFormNd-iZ8hBbEo.cjs → GeneralPlayerForgotPasswordFormNd-DgtOdFwT.cjs} +2 -2
- package/components/{GeneralPlayerForgotPasswordFormNd-4H6CrJiu.js → GeneralPlayerForgotPasswordFormNd-uZMpmUEX.js} +92 -168
- package/components/{GeneralPlayerForgotPasswordSmsForm-BdHpkBJQ.cjs → GeneralPlayerForgotPasswordSmsForm-B8vbEMrV.cjs} +1 -1
- package/components/{GeneralPlayerForgotPasswordSmsForm-BdCAn9GD.js → GeneralPlayerForgotPasswordSmsForm-Bqoryfvm.js} +1 -1
- package/components/{GeneralPlayerForgotPasswordSmsForm-C2LAat4o.js → GeneralPlayerForgotPasswordSmsForm-D4rIA846.js} +1 -1
- package/es2015/general-player-forgot-password-form-nd.cjs +1 -1
- package/es2015/general-player-forgot-password-form-nd.js +1 -1
- package/esnext/general-player-forgot-password-form-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Lu=Object.defineProperty,Bu=Object.defineProperties;var Ru=Object.getOwnPropertyDescriptors;var Eo=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable;var Si=(r,e,t)=>e in r?Lu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Ke=(r,e)=>{for(var t in e||(e={}))Du.call(e,t)&&Si(r,t,e[t]);if(Eo)for(var t of Eo(e))Hu.call(e,t)&&Si(r,t,e[t]);return r},Cr=(r,e)=>Bu(r,Ru(e));var Z=(r,e,t)=>
|
|
1
|
+
"use strict";var Lu=Object.defineProperty,Bu=Object.defineProperties;var Ru=Object.getOwnPropertyDescriptors;var Eo=Object.getOwnPropertySymbols;var Du=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable;var Si=(r,e,t)=>e in r?Lu(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Ke=(r,e)=>{for(var t in e||(e={}))Du.call(e,t)&&Si(r,t,e[t]);if(Eo)for(var t of Eo(e))Hu.call(e,t)&&Si(r,t,e[t]);return r},Cr=(r,e)=>Bu(r,Ru(e));var Z=(r,e,t)=>Si(r,typeof e!="symbol"?e+"":e,t);var Ue=(r,e,t)=>new Promise((i,s)=>{var o=l=>{try{a(t.next(l))}catch(u){s(u)}},n=l=>{try{a(t.throw(l))}catch(u){s(u)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,n);a((t=t.apply(r,e)).next())});function te(){}const oi=r=>r;function zu(r,e){for(const t in e)r[t]=e[t];return r}function ia(r){return r()}function Co(){return Object.create(null)}function Fe(r){r.forEach(ia)}function Mt(r){return typeof r=="function"}function ni(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}let Sr;function So(r,e){return r===e?!0:(Sr||(Sr=document.createElement("a")),Sr.href=e,r===Sr.href)}function Fu(r){return Object.keys(r).length===0}function sa(r,...e){if(r==null){for(const i of e)i(void 0);return te}const t=r.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function oa(r,e,t){r.$$.on_destroy.push(sa(e,t))}function na(r,e,t,i){if(r){const s=aa(r,e,t,i);return r[0](s)}}function aa(r,e,t,i){return r[1]&&i?zu(t.ctx.slice(),r[1](i(e))):t.ctx}function la(r,e,t,i){if(r[2]&&i){const s=r[2](i(t));if(e.dirty===void 0)return s;if(typeof s=="object"){const o=[],n=Math.max(e.dirty.length,s.length);for(let a=0;a<n;a+=1)o[a]=e.dirty[a]|s[a];return o}return e.dirty|s}return e.dirty}function ua(r,e,t,i,s,o){if(s){const n=aa(e,t,i,o);r.p(n,s)}}function ca(r){if(r.ctx.length>32){const e=[],t=r.ctx.length/32;for(let i=0;i<t;i++)e[i]=-1;return e}return-1}function Vu(r){const e=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[r,"px"]}const da=typeof window!="undefined";let Ls=da?()=>window.performance.now():()=>Date.now(),Bs=da?r=>requestAnimationFrame(r):te;const yt=new Set;function ha(r){yt.forEach(e=>{e.c(r)||(yt.delete(e),e.f())}),yt.size!==0&&Bs(ha)}function Rs(r){let e;return yt.size===0&&Bs(ha),{promise:new Promise(t=>{yt.add(e={c:r,f:t})}),abort(){yt.delete(e)}}}function m(r,e){r.appendChild(e)}function fa(r,e,t){const i=Ds(r);if(!i.getElementById(e)){const s=C("style");s.id=e,s.textContent=t,pa(i,s)}}function Ds(r){if(!r)return document;const e=r.getRootNode?r.getRootNode():r.ownerDocument;return e&&e.host?e:r.ownerDocument}function Uu(r){const e=C("style");return e.textContent="/* empty */",pa(Ds(r),e),e.sheet}function pa(r,e){return m(r.head||r,e),e.sheet}function M(r,e,t){r.insertBefore(e,t||null)}function N(r){r.parentNode&&r.parentNode.removeChild(r)}function ma(r,e){for(let t=0;t<r.length;t+=1)r[t]&&r[t].d(e)}function C(r){return document.createElement(r)}function S(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function H(r){return document.createTextNode(r)}function j(){return H(" ")}function mr(){return H("")}function _e(r,e,t,i){return r.addEventListener(e,t,i),()=>r.removeEventListener(e,t,i)}function h(r,e,t){t==null?r.removeAttribute(e):r.getAttribute(e)!==t&&r.setAttribute(e,t)}function O(r,e,t){const i=e.toLowerCase();i in r?r[i]=typeof r[i]=="boolean"&&t===""?!0:t:e in r?r[e]=typeof r[e]=="boolean"&&t===""?!0:t:h(r,e,t)}function $u(r){return Array.from(r.childNodes)}function se(r,e){e=""+e,r.data!==e&&(r.data=e)}function st(r,e){r.value=e==null?"":e}function ju(r,e,t){r.classList.toggle(e,!!t)}function Gu(r,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:e,bubbles:t,cancelable:i})}function qu(r){const e={};return r.childNodes.forEach(t=>{e[t.slot||"default"]=!0}),e}function Ur(r,e){return new r(e)}const $r=new Map;let jr=0;function Wu(r){let e=5381,t=r.length;for(;t--;)e=(e<<5)-e^r.charCodeAt(t);return e>>>0}function Yu(r,e){const t={stylesheet:Uu(e),rules:{}};return $r.set(r,t),t}function Gr(r,e,t,i,s,o,n,a=0){const l=16.666/i;let u=`{
|
|
2
2
|
`;for(let w=0;w<=1;w+=l){const v=e+(t-e)*o(w);u+=w*100+`%{${n(v,1-v)}}
|
|
3
3
|
`}const c=u+`100% {${n(t,1-t)}}
|
|
4
4
|
}`,d=`__svelte_${Wu(c)}_${a}`,f=Ds(r),{stylesheet:p,rules:_}=$r.get(f)||Yu(f,r);_[d]||(_[d]=!0,p.insertRule(`@keyframes ${d} ${c}`,p.cssRules.length));const g=r.style.animation||"";return r.style.animation=`${g?`${g}, `:""}${d} ${i}ms linear ${s}ms 1 both`,jr+=1,d}function qr(r,e){const t=(r.style.animation||"").split(", "),i=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),s=t.length-i.length;s&&(r.style.animation=i.join(", "),jr-=s,jr||Xu())}function Xu(){Bs(()=>{jr||($r.forEach(r=>{const{ownerNode:e}=r.stylesheet;e&&N(e)}),$r.clear())})}let tr;function Jt(r){tr=r}function Zu(){if(!tr)throw new Error("Function called outside component initialization");return tr}function _a(r){Zu().$$.on_mount.push(r)}const gt=[],wt=[];let xt=[];const Ao=[],Ju=Promise.resolve();let Qi=!1;function Ku(){Qi||(Qi=!0,Ju.then(J))}function ut(r){xt.push(r)}const Ai=new Set;let pt=0;function J(){if(pt!==0)return;const r=tr;do{try{for(;pt<gt.length;){const e=gt[pt];pt++,Jt(e),Qu(e.$$)}}catch(e){throw gt.length=0,pt=0,e}for(Jt(null),gt.length=0,pt=0;wt.length;)wt.pop()();for(let e=0;e<xt.length;e+=1){const t=xt[e];Ai.has(t)||(Ai.add(t),t())}xt.length=0}while(gt.length);for(;Ao.length;)Ao.pop()();Qi=!1,Ai.clear(),Jt(r)}function Qu(r){if(r.fragment!==null){r.update(),Fe(r.before_update);const e=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,e),r.after_update.forEach(ut)}}function ec(r){const e=[],t=[];xt.forEach(i=>r.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),xt=e}let Ut;function Hs(){return Ut||(Ut=Promise.resolve(),Ut.then(()=>{Ut=null})),Ut}function nt(r,e,t){r.dispatchEvent(Gu(`${e?"intro":"outro"}${t}`))}const Lr=new Set;let je;function Xe(){je={r:0,c:[],p:je}}function Ze(){je.r||Fe(je.c),je=je.p}function ce(r,e){r&&r.i&&(Lr.delete(r),r.i(e))}function ge(r,e,t,i){if(r&&r.o){if(Lr.has(r))return;Lr.add(r),je.c.push(()=>{Lr.delete(r),i&&(t&&r.d(1),i())}),r.o(e)}else i&&i()}const zs={duration:0};function tc(r,e,t){const i={direction:"in"};let s=e(r,t,i),o=!1,n,a,l=0;function u(){n&&qr(r,n)}function c(){const{delay:f=0,duration:p=300,easing:_=oi,tick:g=te,css:w}=s||zs;w&&(n=Gr(r,0,1,p,f,_,w,l++)),g(0,1);const v=Ls()+f,y=v+p;a&&a.abort(),o=!0,ut(()=>nt(r,!0,"start")),a=Rs(A=>{if(o){if(A>=y)return g(1,0),nt(r,!0,"end"),u(),o=!1;if(A>=v){const I=_((A-v)/p);g(I,1-I)}}return o})}let d=!1;return{start(){d||(d=!0,qr(r),Mt(s)?(s=s(i),Hs().then(c)):c())},invalidate(){d=!1},end(){o&&(u(),o=!1)}}}function rc(r,e,t){const i={direction:"out"};let s=e(r,t,i),o=!0,n;const a=je;a.r+=1;let l;function u(){const{delay:c=0,duration:d=300,easing:f=oi,tick:p=te,css:_}=s||zs;_&&(n=Gr(r,1,0,d,c,f,_));const g=Ls()+c,w=g+d;ut(()=>nt(r,!1,"start")),"inert"in r&&(l=r.inert,r.inert=!0),Rs(v=>{if(o){if(v>=w)return p(0,1),nt(r,!1,"end"),--a.r||Fe(a.c),!1;if(v>=g){const y=f((v-g)/d);p(1-y,y)}}return o})}return Mt(s)?Hs().then(()=>{s=s(i),u()}):u(),{end(c){c&&"inert"in r&&(r.inert=l),c&&s.tick&&s.tick(1,0),o&&(n&&qr(r,n),o=!1)}}}function ic(r,e,t,i){let o=e(r,t,{direction:"both"}),n=i?0:1,a=null,l=null,u=null,c;function d(){u&&qr(r,u)}function f(_,g){const w=_.b-n;return g*=Math.abs(w),{a:n,b:_.b,d:w,duration:g,start:_.start,end:_.start+g,group:_.group}}function p(_){const{delay:g=0,duration:w=300,easing:v=oi,tick:y=te,css:A}=o||zs,I={start:Ls()+g,b:_};_||(I.group=je,je.r+=1),"inert"in r&&(_?c!==void 0&&(r.inert=c):(c=r.inert,r.inert=!0)),a||l?l=I:(A&&(d(),u=Gr(r,n,_,w,g,v,A)),_&&y(0,1),a=f(I,w),ut(()=>nt(r,_,"start")),Rs(x=>{if(l&&x>l.start&&(a=f(l,w),l=null,nt(r,a.b,"start"),A&&(d(),u=Gr(r,n,a.b,a.duration,0,v,o.css))),a){if(x>=a.end)y(n=a.b,1-n),nt(r,a.b,"end"),l||(a.b?d():--a.group.r||Fe(a.group.c)),a=null;else if(x>=a.start){const T=x-a.start;n=a.a+a.d*v(T/a.duration),y(n,1-n)}}return!!(a||l)}))}return{run(_){Mt(o)?Hs().then(()=>{o=o({direction:_?"in":"out"}),p(_)}):p(_)},end(){d(),a=l=null}}}function es(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function Wr(r){r&&r.c()}function rr(r,e,t){const{fragment:i,after_update:s}=r.$$;i&&i.m(e,t),ut(()=>{const o=r.$$.on_mount.map(ia).filter(Mt);r.$$.on_destroy?r.$$.on_destroy.push(...o):Fe(o),r.$$.on_mount=[]}),s.forEach(ut)}function ir(r,e){const t=r.$$;t.fragment!==null&&(ec(t.after_update),Fe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function sc(r,e){r.$$.dirty[0]===-1&&(gt.push(r),Ku(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<<e%31}function Fs(r,e,t,i,s,o,n=null,a=[-1]){const l=tr;Jt(r);const u=r.$$={fragment:null,ctx:[],props:o,update:te,not_equal:s,bound:Co(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Co(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};n&&n(u.root);let c=!1;if(u.ctx=t?t(r,e.props||{},(d,f,...p)=>{const _=p.length?p[0]:f;return u.ctx&&s(u.ctx[d],u.ctx[d]=_)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](_),c&&sc(r,d)),f}):[],u.update(),c=!0,Fe(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const d=$u(e.target);u.fragment&&u.fragment.l(d),d.forEach(N)}else u.fragment&&u.fragment.c();e.intro&&ce(r.$$.fragment),rr(r,e.target,e.anchor),J()}Jt(l)}let ga;typeof HTMLElement=="function"&&(ga=class extends HTMLElement{constructor(e,t,i){super();Z(this,"$$ctor");Z(this,"$$s");Z(this,"$$c");Z(this,"$$cn",!1);Z(this,"$$d",{});Z(this,"$$r",!1);Z(this,"$$p_d",{});Z(this,"$$l",{});Z(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const s=this.$$c.$on(e,t);this.$$l_u.set(t,s)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const s=this.$$l_u.get(t);s&&(s(),this.$$l_u.delete(t))}}connectedCallback(){return Ue(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(o){return()=>{let n;return{c:function(){n=C("slot"),o!=="default"&&h(n,"name",o)},m:function(u,c){M(u,n,c)},d:function(u){u&&N(n)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=qu(this);for(const o of this.$$s)o in i&&(t[o]=[e(o)]);for(const o of this.attributes){const n=this.$$g_p(o.name);n in this.$$d||(this.$$d[n]=Br(n,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Cr(Ke({},this.$$d),{$$slots:t,$$scope:{ctx:[]}})});const s=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const n=Br(o,this.$$d[o],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,n)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const o in this.$$l)for(const n of this.$$l[o]){const a=this.$$c.$on(o,n);this.$$l_u.set(n,a)}this.$$l={}}})}attributeChangedCallback(e,t,i){var s;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Br(e,i,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Br(r,e,t,i){var o;const s=(o=t[r])==null?void 0:o.type;if(e=s==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!t[r])return e;if(i==="toAttribute")switch(s){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Vs(r,e,t,i,s,o){let n=class extends ga{constructor(){super(r,t,s),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Object.keys(e).forEach(a=>{Object.defineProperty(n.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Br(a,l,e),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),i.forEach(a=>{Object.defineProperty(n.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),r.element=n,n}class Us{constructor(){Z(this,"$$");Z(this,"$$set")}$destroy(){ir(this,1),this.$destroy=te}$on(e,t){if(!Mt(t))return te;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const s=i.indexOf(t);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!Fu(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const oc="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(oc);function ba(r,e,t,i=!1){if(window.emMessageBus){const s=i?o=>{!o||typeof o!="object"||Array.isArray(o)||Object.keys(o).forEach(n=>t(n,o[n]))}:t;e=window.emMessageBus.subscribe(r,s)}return e}/*! *****************************************************************************
|
|
@@ -18,7 +18,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
18
18
|
`+t.map(function(i,s){return s+1+") "+i.toString()}).join(`
|
|
19
19
|
`):"",this.name="UnsubscriptionError",this.errors=t}});function os(r,e){if(r){var t=r.indexOf(e);0<=t&&r.splice(t,1)}}var ai=function(){function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var e,t,i,s,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=rs(n),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(g){e={error:g}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);var c=this.initialTeardown;if(Ye(c))try{c()}catch(g){o=g instanceof Ti?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=rs(d),p=f.next();!p.done;p=f.next()){var _=p.value;try{To(_)}catch(g){o=o!=null?o:[],g instanceof Ti?o=ss(ss([],is(o)),is(g.errors)):o.push(g)}}}catch(g){i={error:g}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}if(o)throw new Ti(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)To(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&os(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&os(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=function(){var e=new r;return e.closed=!0,e}(),r}(),ya=ai.EMPTY;function wa(r){return r instanceof ai||r&&"closed"in r&&Ye(r.remove)&&Ye(r.add)&&Ye(r.unsubscribe)}function To(r){Ye(r)?r():r.unsubscribe()}var nc={Promise:void 0},ac={setTimeout:function(r,e){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,ss([r,e],is(t)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function lc(r){ac.setTimeout(function(){throw r})}function Io(){}function Rr(r){r()}var xa=function(r){_r(e,r);function e(t){var i=r.call(this)||this;return i.isStopped=!1,t?(i.destination=t,wa(t)&&t.add(i)):i.destination=dc,i}return e.create=function(t,i,s){return new ns(t,i,s)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(ai),uc=function(){function r(e){this.partialObserver=e}return r.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(i){Ar(i)}},r.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(i){Ar(i)}else Ar(e)},r.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){Ar(t)}},r}(),ns=function(r){_r(e,r);function e(t,i,s){var o=r.call(this)||this,n;return Ye(t)||!t?n={next:t!=null?t:void 0,error:i!=null?i:void 0,complete:s!=null?s:void 0}:n=t,o.destination=new uc(n),o}return e}(xa);function Ar(r){lc(r)}function cc(r){throw r}var dc={closed:!0,next:Io,error:cc,complete:Io},hc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fc(r){return r}function pc(r){return r.length===0?fc:r.length===1?r[0]:function(t){return r.reduce(function(i,s){return s(i)},t)}}var Oo=function(){function r(e){e&&(this._subscribe=e)}return r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,i){var s=this,o=_c(e)?e:new ns(e,t,i);return Rr(function(){var n=s,a=n.operator,l=n.source;o.add(a?a.call(o,l):l?s._subscribe(o):s._trySubscribe(o))}),o},r.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},r.prototype.forEach=function(e,t){var i=this;return t=No(t),new t(function(s,o){var n=new ns({next:function(a){try{e(a)}catch(l){o(l),n.unsubscribe()}},error:o,complete:s});i.subscribe(n)})},r.prototype._subscribe=function(e){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(e)},r.prototype[hc]=function(){return this},r.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return pc(e)(this)},r.prototype.toPromise=function(e){var t=this;return e=No(e),new e(function(i,s){var o;t.subscribe(function(n){return o=n},function(n){return s(n)},function(){return i(o)})})},r.create=function(e){return new r(e)},r}();function No(r){var e;return(e=r!=null?r:nc.Promise)!==null&&e!==void 0?e:Promise}function mc(r){return r&&Ye(r.next)&&Ye(r.error)&&Ye(r.complete)}function _c(r){return r&&r instanceof xa||mc(r)&&wa(r)}var gc=va(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Pa=function(r){_r(e,r);function e(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return e.prototype.lift=function(t){var i=new ko(this,this);return i.operator=t,i},e.prototype._throwIfClosed=function(){if(this.closed)throw new gc},e.prototype.next=function(t){var i=this;Rr(function(){var s,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=rs(i.currentObservers),a=n.next();!a.done;a=n.next()){var l=a.value;l.next(t)}}catch(u){s={error:u}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(s)throw s.error}}}})},e.prototype.error=function(t){var i=this;Rr(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var s=i.observers;s.length;)s.shift().error(t)}})},e.prototype.complete=function(){var t=this;Rr(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var i=this,s=this,o=s.hasError,n=s.isStopped,a=s.observers;return o||n?ya:(this.currentObservers=null,a.push(t),new ai(function(){i.currentObservers=null,os(a,t)}))},e.prototype._checkFinalizedStatuses=function(t){var i=this,s=i.hasError,o=i.thrownError,n=i.isStopped;s?t.error(o):n&&t.complete()},e.prototype.asObservable=function(){var t=new Oo;return t.source=this,t},e.create=function(t,i){return new ko(t,i)},e}(Oo),ko=function(r){_r(e,r);function e(t,i){var s=r.call(this)||this;return s.destination=t,s.source=i,s}return e.prototype.next=function(t){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.next)===null||s===void 0||s.call(i,t)},e.prototype.error=function(t){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.error)===null||s===void 0||s.call(i,t)},e.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},e.prototype._subscribe=function(t){var i,s;return(s=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&s!==void 0?s:ya},e}(Pa),Ea={now:function(){return(Ea.delegate||Date).now()},delegate:void 0},bc=function(r){_r(e,r);function e(t,i,s){t===void 0&&(t=1/0),i===void 0&&(i=1/0),s===void 0&&(s=Ea);var o=r.call(this)||this;return o._bufferSize=t,o._windowTime=i,o._timestampProvider=s,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,i),o}return e.prototype.next=function(t){var i=this,s=i.isStopped,o=i._buffer,n=i._infiniteTimeWindow,a=i._timestampProvider,l=i._windowTime;s||(o.push(t),!n&&o.push(a.now()+l)),this._trimBuffer(),r.prototype.next.call(this,t)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),s=this,o=s._infiniteTimeWindow,n=s._buffer,a=n.slice(),l=0;l<a.length&&!t.closed;l+=o?1:2)t.next(a[l]);return this._checkFinalizedStatuses(t),i},e.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,s=t._timestampProvider,o=t._buffer,n=t._infiniteTimeWindow,a=(n?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!n){for(var l=s.now(),u=0,c=1;c<o.length&&o[c]<=l;c+=2)u=c;u&&o.splice(0,u+1)}},e}(Pa);const Mo=[],Lo={},vc=(r,e=0)=>{if(Mo.indexOf(r)==-1){const t=new bc(e);Lo[r]=t,Mo.push(r)}return Lo[r]},mt=[];function yc(r,e){return{subscribe:li(r,e).subscribe}}function li(r,e=te){let t;const i=new Set;function s(a){if(ni(r,a)&&(r=a,t)){const l=!mt.length;for(const u of i)u[1](),mt.push(u,r);if(l){for(let u=0;u<mt.length;u+=2)mt[u][0](mt[u+1]);mt.length=0}}}function o(a){s(a(r))}function n(a,l=te){const u=[a,l];return i.add(u),i.size===1&&(t=e(s,o)||te),a(r),()=>{i.delete(u),i.size===0&&t&&(t(),t=null)}}return{set:s,update:o,subscribe:n}}function Lt(r,e,t){const i=!Array.isArray(r),s=i?[r]:r;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=e.length<2;return yc(t,(n,a)=>{let l=!1;const u=[];let c=0,d=te;const f=()=>{if(c)return;d();const _=e(i?u[0]:u,n,a);o?n(_):d=Mt(_)?_:te},p=s.map((_,g)=>sa(_,w=>{u[g]=w,c&=~(1<<g),l&&f()},()=>{c|=1<<g}));return l=!0,f(),function(){Fe(p),d(),l=!1}})}function wc(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var xc=function(e){return Pc(e)&&!Ec(e)};function Pc(r){return!!r&&typeof r=="object"}function Ec(r){var e=Object.prototype.toString.call(r);return e==="[object RegExp]"||e==="[object Date]"||Ac(r)}var Cc=typeof Symbol=="function"&&Symbol.for,Sc=Cc?Symbol.for("react.element"):60103;function Ac(r){return r.$$typeof===Sc}function Tc(r){return Array.isArray(r)?[]:{}}function sr(r,e){return e.clone!==!1&&e.isMergeableObject(r)?St(Tc(r),r,e):r}function Ic(r,e,t){return r.concat(e).map(function(i){return sr(i,t)})}function Oc(r,e){if(!e.customMerge)return St;var t=e.customMerge(r);return typeof t=="function"?t:St}function Nc(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]}function Bo(r){return Object.keys(r).concat(Nc(r))}function Ca(r,e){try{return e in r}catch(t){return!1}}function kc(r,e){return Ca(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function Mc(r,e,t){var i={};return t.isMergeableObject(r)&&Bo(r).forEach(function(s){i[s]=sr(r[s],t)}),Bo(e).forEach(function(s){kc(r,s)||(Ca(r,s)&&t.isMergeableObject(e[s])?i[s]=Oc(s,t)(r[s],e[s],t):i[s]=sr(e[s],t))}),i}function St(r,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Ic,t.isMergeableObject=t.isMergeableObject||xc,t.cloneUnlessOtherwiseSpecified=sr;var i=Array.isArray(e),s=Array.isArray(r),o=i===s;return o?i?t.arrayMerge(r,e,t):Mc(r,e,t):sr(e,t)}St.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,s){return St(i,s,t)},{})};var Lc=St,Bc=Lc;const Rc=wc(Bc);var as=function(r,e){return as=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])},as(r,e)};function ui(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");as(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var $e=function(){return $e=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},$e.apply(this,arguments)};function Dc(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(t[i[s]]=r[i[s]]);return t}function Ii(r,e,t){if(t||arguments.length===2)for(var i=0,s=e.length,o;i<s;i++)(o||!(i in e))&&(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return r.concat(o||Array.prototype.slice.call(e))}function Oi(r,e){var t=e&&e.cache?e.cache:jc,i=e&&e.serializer?e.serializer:Uc,s=e&&e.strategy?e.strategy:Fc;return s(r,{cache:t,serializer:i})}function Hc(r){return r==null||typeof r=="number"||typeof r=="boolean"}function zc(r,e,t,i){var s=Hc(i)?i:t(i),o=e.get(s);return typeof o=="undefined"&&(o=r.call(this,i),e.set(s,o)),o}function Sa(r,e,t){var i=Array.prototype.slice.call(arguments,3),s=t(i),o=e.get(s);return typeof o=="undefined"&&(o=r.apply(this,i),e.set(s,o)),o}function Aa(r,e,t,i,s){return t.bind(e,r,i,s)}function Fc(r,e){var t=r.length===1?zc:Sa;return Aa(r,this,t,e.cache.create(),e.serializer)}function Vc(r,e){return Aa(r,this,Sa,e.cache.create(),e.serializer)}var Uc=function(){return JSON.stringify(arguments)},$c=function(){function r(){this.cache=Object.create(null)}return r.prototype.get=function(e){return this.cache[e]},r.prototype.set=function(e,t){this.cache[e]=t},r}(),jc={create:function(){return new $c}},Ni={variadic:Vc},Yr=function(){return Yr=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Yr.apply(this,arguments)};var F;(function(r){r[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(F||(F={}));var ie;(function(r){r[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag"})(ie||(ie={}));var At;(function(r){r[r.number=0]="number",r[r.dateTime=1]="dateTime"})(At||(At={}));function Ro(r){return r.type===ie.literal}function Gc(r){return r.type===ie.argument}function Ta(r){return r.type===ie.number}function Ia(r){return r.type===ie.date}function Oa(r){return r.type===ie.time}function Na(r){return r.type===ie.select}function ka(r){return r.type===ie.plural}function qc(r){return r.type===ie.pound}function Ma(r){return r.type===ie.tag}function La(r){return!!(r&&typeof r=="object"&&r.type===At.number)}function ls(r){return!!(r&&typeof r=="object"&&r.type===At.dateTime)}var Ba=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wc=/(?:[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 Yc(r){var e={};return r.replace(Wc,function(t){var i=t.length;switch(t[0]){case"G":e.era=i===4?"long":i===5?"narrow":"short";break;case"y":e.year=i===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":e.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][i-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][i-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][i-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][i-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":e.minute=["numeric","2-digit"][i-1];break;case"s":e.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=i<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""}),e}var ue=function(){return ue=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ue.apply(this,arguments)};var Xc=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Zc(r){if(r.length===0)throw new Error("Number skeleton cannot be empty");for(var e=r.split(Xc).filter(function(f){return f.length>0}),t=[],i=0,s=e;i<s.length;i++){var o=s[i],n=o.split("/");if(n.length===0)throw new Error("Invalid number skeleton");for(var a=n[0],l=n.slice(1),u=0,c=l;u<c.length;u++){var d=c[u];if(d.length===0)throw new Error("Invalid number skeleton")}t.push({stem:a,options:l})}return t}function Jc(r){return r.replace(/^(.*?)-/,"")}var Do=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ra=/^(@+)?(\+|#+)?[rs]?$/g,Kc=/(\*)(0+)|(#+)(0+)|(0+)/g,Da=/^(0+)$/;function Ho(r){var e={};return r[r.length-1]==="r"?e.roundingPriority="morePrecision":r[r.length-1]==="s"&&(e.roundingPriority="lessPrecision"),r.replace(Ra,function(t,i,s){return typeof s!="string"?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):s==="+"?e.minimumSignificantDigits=i.length:i[0]==="#"?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+(typeof s=="string"?s.length:0)),""}),e}function Ha(r){switch(r){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 Qc(r){var e;if(r[0]==="E"&&r[1]==="E"?(e={notation:"engineering"},r=r.slice(2)):r[0]==="E"&&(e={notation:"scientific"},r=r.slice(1)),e){var t=r.slice(0,2);if(t==="+!"?(e.signDisplay="always",r=r.slice(2)):t==="+?"&&(e.signDisplay="exceptZero",r=r.slice(2)),!Da.test(r))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=r.length}return e}function zo(r){var e={},t=Ha(r);return t||e}function ed(r){for(var e={},t=0,i=r;t<i.length;t++){var s=i[t];switch(s.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=s.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=Jc(s.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=ue(ue(ue({},e),{notation:"scientific"}),s.options.reduce(function(l,u){return ue(ue({},l),zo(u))},{}));continue;case"engineering":e=ue(ue(ue({},e),{notation:"engineering"}),s.options.reduce(function(l,u){return ue(ue({},l),zo(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(s.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(Kc,function(l,u,c,d,f,p){if(u)e.minimumIntegerDigits=c.length;else{if(d&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Da.test(s.stem)){e.minimumIntegerDigits=s.stem.length;continue}if(Do.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Do,function(l,u,c,d,f,p){return c==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:f&&p?(e.minimumFractionDigits=f.length,e.maximumFractionDigits=f.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var o=s.options[0];o==="w"?e=ue(ue({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=ue(ue({},e),Ho(o)));continue}if(Ra.test(s.stem)){e=ue(ue({},e),Ho(s.stem));continue}var n=Ha(s.stem);n&&(e=ue(ue({},e),n));var a=Qc(s.stem);a&&(e=ue(ue({},e),a))}return e}var Tr={"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 td(r,e){for(var t="",i=0;i<r.length;i++){var s=r.charAt(i);if(s==="j"){for(var o=0;i+1<r.length&&r.charAt(i+1)===s;)o++,i++;var n=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=rd(e);for((u=="H"||u=="k")&&(a=0);a-- >0;)t+=l;for(;n-- >0;)t=u+t}else s==="J"?t+="H":t+=s}return t}function rd(r){var e=r.hourCycle;if(e===void 0&&r.hourCycles&&r.hourCycles.length&&(e=r.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=r.language,i;t!=="root"&&(i=r.maximize().region);var s=Tr[i||""]||Tr[t||""]||Tr["".concat(t,"-001")]||Tr["001"];return s[0]}var ki,id=new RegExp("^".concat(Ba.source,"*")),sd=new RegExp("".concat(Ba.source,"*$"));function U(r,e){return{start:r,end:e}}var od=!!String.prototype.startsWith&&"_a".startsWith("a",1),nd=!!String.fromCodePoint,ad=!!Object.fromEntries,ld=!!String.prototype.codePointAt,ud=!!String.prototype.trimStart,cd=!!String.prototype.trimEnd,dd=!!Number.isSafeInteger,hd=dd?Number.isSafeInteger:function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r&&Math.abs(r)<=9007199254740991},us=!0;try{var fd=Fa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");us=((ki=fd.exec("a"))===null||ki===void 0?void 0:ki[0])==="a"}catch(r){us=!1}var Fo=od?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},cs=nd?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i="",s=e.length,o=0,n;s>o;){if(n=e[o++],n>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return i},Vo=ad?Object.fromEntries:function(e){for(var t={},i=0,s=e;i<s.length;i++){var o=s[i],n=o[0],a=o[1];t[n]=a}return t},za=ld?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var s=e.charCodeAt(t),o;return s<55296||s>56319||t+1===i||(o=e.charCodeAt(t+1))<56320||o>57343?s:(s-55296<<10)+(o-56320)+65536}},pd=ud?function(e){return e.trimStart()}:function(e){return e.replace(id,"")},md=cd?function(e){return e.trimEnd()}:function(e){return e.replace(sd,"")};function Fa(r,e){return new RegExp(r,e)}var ds;if(us){var Uo=Fa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ds=function(e,t){var i;Uo.lastIndex=t;var s=Uo.exec(e);return(i=s[1])!==null&&i!==void 0?i:""}}else ds=function(e,t){for(var i=[];;){var s=za(e,t);if(s===void 0||Va(s)||vd(s))break;i.push(s),t+=s>=65536?2:1}return cs.apply(void 0,i)};var _d=function(){function r(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return r.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,i){for(var s=[];!this.isEOF();){var o=this.char();if(o===123){var n=this.parseArgument(e,i);if(n.err)return n;s.push(n.val)}else{if(o===125&&e>0)break;if(o===35&&(t==="plural"||t==="selectordinal")){var a=this.clonePosition();this.bump(),s.push({type:ie.pound,location:U(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(F.UNMATCHED_CLOSING_TAG,U(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&hs(this.peek()||0)){var n=this.parseTag(e,t);if(n.err)return n;s.push(n.val)}else{var n=this.parseLiteral(e,t);if(n.err)return n;s.push(n.val)}}}return{val:s,err:null}},r.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ie.literal,value:"<".concat(s,"/>"),location:U(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var n=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hs(this.char()))return this.error(F.INVALID_TAG,U(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return s!==u?this.error(F.UNMATCHED_CLOSING_TAG,U(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ie.tag,value:s,children:n,location:U(i,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,U(a,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,U(i,this.clonePosition()))}else return this.error(F.INVALID_TAG,U(i,this.clonePosition()))},r.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&bd(this.char());)this.bump();return this.message.slice(e,this.offset())},r.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),s="";;){var o=this.tryParseQuote(t);if(o){s+=o;continue}var n=this.tryParseUnquoted(e,t);if(n){s+=n;continue}var a=this.tryParseLeftAngleBracket();if(a){s+=a;continue}break}var l=U(i,this.clonePosition());return{val:{type:ie.literal,value:s,location:l},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!gd(this.peek()||0))?(this.bump(),"<"):null},r.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(i);this.bump()}return cs.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&e>0?null:(this.bump(),cs(i))},r.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,U(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,U(i,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(F.MALFORMED_ARGUMENT,U(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,U(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ie.argument,value:s,location:U(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,U(i,this.clonePosition())):this.parseArgumentOptions(e,t,s,i);default:return this.error(F.MALFORMED_ARGUMENT,U(i,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=ds(this.message,t),s=t+i.length;this.bumpTo(s);var o=this.clonePosition(),n=U(e,o);return{value:i,location:n}},r.prototype.parseArgumentOptions=function(e,t,i,s){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,U(n,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=md(d.val);if(f.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,U(this.clonePosition(),this.clonePosition()));var p=U(c,this.clonePosition());u={style:f,styleLocation:p}}var _=this.tryParseArgumentClose(s);if(_.err)return _;var g=U(s,this.clonePosition());if(u&&Fo(u==null?void 0:u.style,"::",0)){var w=pd(u.style.slice(2));if(a==="number"){var d=this.parseNumberSkeletonFromString(w,u.styleLocation);return d.err?d:{val:{type:ie.number,value:i,location:g,style:d.val},err:null}}else{if(w.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,g);var v=w;this.locale&&(v=td(w,this.locale));var f={type:At.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Yc(v):{}},y=a==="date"?ie.date:ie.time;return{val:{type:y,value:i,location:g,style:f},err:null}}}return{val:{type:a==="number"?ie.number:a==="date"?ie.date:ie.time,value:i,location:g,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,U(A,Yr({},A)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),x=0;if(a!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),I=this.parseIdentifierIfPossible(),x=d.val}var T=this.tryParsePluralOrSelectOptions(e,a,t,I);if(T.err)return T;var _=this.tryParseArgumentClose(s);if(_.err)return _;var B=U(s,this.clonePosition());return a==="select"?{val:{type:ie.select,value:i,options:Vo(T.val),location:B},err:null}:{val:{type:ie.plural,value:i,options:Vo(T.val),offset:x,pluralType:a==="plural"?"cardinal":"ordinal",location:B},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,U(n,l))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,U(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,U(s,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=Zc(e)}catch(s){return this.error(F.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?ed(i):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,i,s){for(var o,n=!1,a=[],l=new Set,u=s.value,c=s.location;;){if(u.length===0){var d=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=U(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(t==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(n=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,U(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,t,i);if(_.err)return _;var g=this.tryParseArgumentClose(p);if(g.err)return g;a.push([u,{value:_.val,location:U(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(t==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,U(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(F.MISSING_OTHER_CLAUSE,U(this.clonePosition(),this.clonePosition())):{val:a,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var i=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,n=n*10+(a-48),this.bump();else break}var l=U(s,this.clonePosition());return o?(n*=i,hd(n)?{val:n,err:null}:this.error(t,l)):this.error(e,l)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=za(this.message,e);if(t===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},r.prototype.bumpIf=function(e){if(Fo(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&Va(this.char());)this.bump()},r.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return i!=null?i:null},r}();function hs(r){return r>=97&&r<=122||r>=65&&r<=90}function gd(r){return hs(r)||r===47}function bd(r){return r===45||r===46||r>=48&&r<=57||r===95||r>=97&&r<=122||r>=65&&r<=90||r==183||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8255&&r<=8256||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}function Va(r){return r>=9&&r<=13||r===32||r===133||r>=8206&&r<=8207||r===8232||r===8233}function vd(r){return r>=33&&r<=35||r===36||r>=37&&r<=39||r===40||r===41||r===42||r===43||r===44||r===45||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||r===91||r===92||r===93||r===94||r===96||r===123||r===124||r===125||r===126||r===161||r>=162&&r<=165||r===166||r===167||r===169||r===171||r===172||r===174||r===176||r===177||r===182||r===187||r===191||r===215||r===247||r>=8208&&r<=8213||r>=8214&&r<=8215||r===8216||r===8217||r===8218||r>=8219&&r<=8220||r===8221||r===8222||r===8223||r>=8224&&r<=8231||r>=8240&&r<=8248||r===8249||r===8250||r>=8251&&r<=8254||r>=8257&&r<=8259||r===8260||r===8261||r===8262||r>=8263&&r<=8273||r===8274||r===8275||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||r===8608||r>=8609&&r<=8610||r===8611||r>=8612&&r<=8613||r===8614||r>=8615&&r<=8621||r===8622||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||r===8658||r===8659||r===8660||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||r===8968||r===8969||r===8970||r===8971||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||r===9001||r===9002||r>=9003&&r<=9083||r===9084||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||r===9655||r>=9656&&r<=9664||r===9665||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||r===9839||r>=9840&&r<=10087||r===10088||r===10089||r===10090||r===10091||r===10092||r===10093||r===10094||r===10095||r===10096||r===10097||r===10098||r===10099||r===10100||r===10101||r>=10132&&r<=10175||r>=10176&&r<=10180||r===10181||r===10182||r>=10183&&r<=10213||r===10214||r===10215||r===10216||r===10217||r===10218||r===10219||r===10220||r===10221||r===10222||r===10223||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||r===10627||r===10628||r===10629||r===10630||r===10631||r===10632||r===10633||r===10634||r===10635||r===10636||r===10637||r===10638||r===10639||r===10640||r===10641||r===10642||r===10643||r===10644||r===10645||r===10646||r===10647||r===10648||r>=10649&&r<=10711||r===10712||r===10713||r===10714||r===10715||r>=10716&&r<=10747||r===10748||r===10749||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||r===11158||r>=11159&&r<=11263||r>=11776&&r<=11777||r===11778||r===11779||r===11780||r===11781||r>=11782&&r<=11784||r===11785||r===11786||r===11787||r===11788||r===11789||r>=11790&&r<=11798||r===11799||r>=11800&&r<=11801||r===11802||r===11803||r===11804||r===11805||r>=11806&&r<=11807||r===11808||r===11809||r===11810||r===11811||r===11812||r===11813||r===11814||r===11815||r===11816||r===11817||r>=11818&&r<=11822||r===11823||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||r===11840||r===11841||r===11842||r>=11843&&r<=11855||r>=11856&&r<=11857||r===11858||r>=11859&&r<=11903||r>=12289&&r<=12291||r===12296||r===12297||r===12298||r===12299||r===12300||r===12301||r===12302||r===12303||r===12304||r===12305||r>=12306&&r<=12307||r===12308||r===12309||r===12310||r===12311||r===12312||r===12313||r===12314||r===12315||r===12316||r===12317||r>=12318&&r<=12319||r===12320||r===12336||r===64830||r===64831||r>=65093&&r<=65094}function fs(r){r.forEach(function(e){if(delete e.location,Na(e)||ka(e))for(var t in e.options)delete e.options[t].location,fs(e.options[t].value);else Ta(e)&&La(e.style)||(Ia(e)||Oa(e))&&ls(e.style)?delete e.style.location:Ma(e)&&fs(e.children)})}function yd(r,e){e===void 0&&(e={}),e=Yr({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var t=new _d(r,e).parse();if(t.err){var i=SyntaxError(F[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return e!=null&&e.captureLocation||fs(t.val),t.val}var Tt;(function(r){r.MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API"})(Tt||(Tt={}));var ci=function(r){ui(e,r);function e(t,i,s){var o=r.call(this,t)||this;return o.code=i,o.originalMessage=s,o}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),$o=function(r){ui(e,r);function e(t,i,s,o){return r.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(s).join('", "'),'"'),Tt.INVALID_VALUE,o)||this}return e}(ci),wd=function(r){ui(e,r);function e(t,i,s){return r.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),Tt.INVALID_VALUE,s)||this}return e}(ci),xd=function(r){ui(e,r);function e(t,i){return r.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),Tt.MISSING_VALUE,i)||this}return e}(ci),Se;(function(r){r[r.literal=0]="literal",r[r.object=1]="object"})(Se||(Se={}));function Pd(r){return r.length<2?r:r.reduce(function(e,t){var i=e[e.length-1];return!i||i.type!==Se.literal||t.type!==Se.literal?e.push(t):i.value+=t.value,e},[])}function Ed(r){return typeof r=="function"}function Dr(r,e,t,i,s,o,n){if(r.length===1&&Ro(r[0]))return[{type:Se.literal,value:r[0].value}];for(var a=[],l=0,u=r;l<u.length;l++){var c=u[l];if(Ro(c)){a.push({type:Se.literal,value:c.value});continue}if(qc(c)){typeof o=="number"&&a.push({type:Se.literal,value:t.getNumberFormat(e).format(o)});continue}var d=c.value;if(!(s&&d in s))throw new xd(d,n);var f=s[d];if(Gc(c)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?Se.literal:Se.object,value:f});continue}if(Ia(c)){var p=typeof c.style=="string"?i.date[c.style]:ls(c.style)?c.style.parsedOptions:void 0;a.push({type:Se.literal,value:t.getDateTimeFormat(e,p).format(f)});continue}if(Oa(c)){var p=typeof c.style=="string"?i.time[c.style]:ls(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:Se.literal,value:t.getDateTimeFormat(e,p).format(f)});continue}if(Ta(c)){var p=typeof c.style=="string"?i.number[c.style]:La(c.style)?c.style.parsedOptions:void 0;p&&p.scale&&(f=f*(p.scale||1)),a.push({type:Se.literal,value:t.getNumberFormat(e,p).format(f)});continue}if(Ma(c)){var _=c.children,g=c.value,w=s[g];if(!Ed(w))throw new wd(g,"function",n);var v=Dr(_,e,t,i,s,o),y=w(v.map(function(x){return x.value}));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map(function(x){return{type:typeof x=="string"?Se.literal:Se.object,value:x}}))}if(Na(c)){var A=c.options[f]||c.options.other;if(!A)throw new $o(c.value,f,Object.keys(c.options),n);a.push.apply(a,Dr(A.value,e,t,i,s));continue}if(ka(c)){var A=c.options["=".concat(f)];if(!A){if(!Intl.PluralRules)throw new ci(`Intl.PluralRules is not available in this environment.
|
|
20
20
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
21
|
-
`,Tt.MISSING_INTL_API,n);var I=t.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0));A=c.options[I]||c.options.other}if(!A)throw new $o(c.value,f,Object.keys(c.options),n);a.push.apply(a,Dr(A.value,e,t,i,s,f-(c.offset||0)));continue}}return Pd(a)}function Cd(r,e){return e?$e($e($e({},r||{}),e||{}),Object.keys(r).reduce(function(t,i){return t[i]=$e($e({},r[i]),e[i]||{}),t},{})):r}function Sd(r,e){return e?Object.keys(r).reduce(function(t,i){return t[i]=Cd(r[i],e[i]),t},$e({},r)):r}function Mi(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}function Ad(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.number),strategy:Ni.variadic}),getDateTimeFormat:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.dateTime),strategy:Ni.variadic}),getPluralRules:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.pluralRules),strategy:Ni.variadic})}}var Td=function(){function r(e,t,i,s){t===void 0&&(t=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(d,f){return!d.length||f.type!==Se.literal||typeof d[d.length-1]!="string"?d.push(f.value):d[d.length-1]+=f.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Dr(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=r.resolveLocale(t),typeof e=="string"){if(this.message=e,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=Dc(n,["formatters"]);this.ast=r.__parse(e,$e($e({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Sd(r.formats,i),this.formatters=s&&s.formatters||Ad(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},r.__parse=yd,r.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"}}},r}();function Id(r,e){if(e==null)return;if(e in r)return r[e];const t=e.split(".");let i=r;for(let s=0;s<t.length;s++)if(typeof i=="object"){if(s>0){const o=t.slice(s,t.length).join(".");if(o in i){i=i[o];break}}i=i[t[s]]}else i=void 0;return i}const et={},Od=(r,e,t)=>t&&(e in et||(et[e]={}),r in et[e]||(et[e][r]=t),t),Ua=(r,e)=>{if(e==null)return;if(e in et&&r in et[e])return et[e][r];const t=di(e);for(let i=0;i<t.length;i++){const s=t[i],o=kd(s,r);if(o)return Od(r,e,o)}};let $s;const dt=li({});function Nd(r){return $s[r]||null}function $a(r){return r in $s}function kd(r,e){if(!$a(r))return null;const t=Nd(r);return Id(t,e)}function Md(r){if(r==null)return;const e=di(r);for(let t=0;t<e.length;t++){const i=e[t];if($a(i))return i}}function js(r,...e){delete et[r],dt.update(t=>(t[r]=Rc.all([t[r]||{},...e]),t))}Lt([dt],([r])=>Object.keys(r));dt.subscribe(r=>$s=r);const Hr={};function Ld(r,e){Hr[r].delete(e),Hr[r].size===0&&delete Hr[r]}function ja(r){return Hr[r]}function Bd(r){return di(r).map(e=>{const t=ja(e);return[e,t?[...t]:[]]}).filter(([,e])=>e.length>0)}function ps(r){return r==null?!1:di(r).some(e=>{var t;return(t=ja(e))==null?void 0:t.size})}function Rd(r,e){return Promise.all(e.map(i=>(Ld(r,i),i().then(s=>s.default||s)))).then(i=>js(r,...i))}const $t={};function Ga(r){if(!ps(r))return r in $t?$t[r]:Promise.resolve();const e=Bd(r);return $t[r]=Promise.all(e.map(([t,i])=>Rd(t,i))).then(()=>{if(ps(r))return Ga(r);delete $t[r]}),$t[r]}const Dd={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"}}},Hd={fallbackLocale:null,loadingDelay:200,formats:Dd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},zd=Hd;function It(){return zd}const Li=li(!1);var Fd=Object.defineProperty,Vd=Object.defineProperties,Ud=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,$d=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,Go=(r,e,t)=>e in r?Fd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Gd=(r,e)=>{for(var t in e||(e={}))$d.call(e,t)&&Go(r,t,e[t]);if(jo)for(var t of jo(e))jd.call(e,t)&&Go(r,t,e[t]);return r},qd=(r,e)=>Vd(r,Ud(e));let ms;const Xr=li(null);function qo(r){return r.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function di(r,e=It().fallbackLocale){const t=qo(r);return e?[...new Set([...t,...qo(e)])]:t}function ht(){return ms!=null?ms:void 0}Xr.subscribe(r=>{ms=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const Wd=r=>{if(r&&Md(r)&&ps(r)){const{loadingDelay:e}=It();let t;return typeof window!="undefined"&&ht()!=null&&e?t=window.setTimeout(()=>Li.set(!0),e):Li.set(!0),Ga(r).then(()=>{Xr.set(r)}).finally(()=>{clearTimeout(t),Li.set(!1)})}return Xr.set(r)},Je=qd(Gd({},Xr),{set:Wd}),hi=r=>{const e=Object.create(null);return i=>{const s=JSON.stringify(i);return s in e?e[s]:e[s]=r(i)}};var Yd=Object.defineProperty,Zr=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Wo=(r,e,t)=>e in r?Yd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Gs=(r,e)=>{for(var t in e||(e={}))qa.call(e,t)&&Wo(r,t,e[t]);if(Zr)for(var t of Zr(e))Wa.call(e,t)&&Wo(r,t,e[t]);return r},Bt=(r,e)=>{var t={};for(var i in r)qa.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&Zr)for(var i of Zr(r))e.indexOf(i)<0&&Wa.call(r,i)&&(t[i]=r[i]);return t};const or=(r,e)=>{const{formats:t}=It();if(r in t&&e in t[r])return t[r][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${r} format.`)},Xd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=or("number",i)),new Intl.NumberFormat(t,s)}),Zd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=or("date",i):Object.keys(s).length===0&&(s=or("date","short")),new Intl.DateTimeFormat(t,s)}),Jd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=or("time",i):Object.keys(s).length===0&&(s=or("time","short")),new Intl.DateTimeFormat(t,s)}),Kd=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Xd(Gs({locale:t},i))},Qd=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Zd(Gs({locale:t},i))},eh=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Jd(Gs({locale:t},i))},th=hi((r,e=ht())=>new Td(r,e,It().formats,{ignoreTag:It().ignoreTag})),rh=(r,e={})=>{var t,i,s,o;let n=e;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=ht(),default:u}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ua(r,l);if(!c)c=(o=(s=(i=(t=It()).handleMissingMessage)==null?void 0:i.call(t,{locale:l,id:r,defaultValue:u}))!=null?s:u)!=null?o:r;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let d=c;try{d=th(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return d},ih=(r,e)=>eh(e).format(r),sh=(r,e)=>Qd(e).format(r),oh=(r,e)=>Kd(e).format(r),nh=(r,e=ht())=>Ua(r,e),Ya=Lt([Je,dt],()=>rh);Lt([Je],()=>ih);Lt([Je],()=>sh);Lt([Je],()=>oh);Lt([Je,dt],()=>nh);window.emWidgets={topic:vc};const ah=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function lh(r){return Ue(this,null,function*(){var u,c,d;const e=new URL(`${r}/v1/player/legislation/registration/config/`),t=yield fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);const i=yield t.json(),s=Array.isArray((u=i==null?void 0:i.content)==null?void 0:u.fields)?(c=i.content.fields.find(f=>(f==null?void 0:f.name)==="Password"))==null?void 0:c.validate:null;if(!s||typeof s.mandatory!="boolean"||s.type!=null&&s.type!=="string"||s.custom!=null&&!Array.isArray(s.custom))throw new Error("Registration password validation is missing or invalid.");const{mandatory:o,minLength:n,maxLength:a}=s;for(const f of[n,a])if(f!=null&&(!Number.isInteger(f)||f<0))throw new Error("Registration password length bound is invalid.");if(n!=null&&a!=null&&n>a)throw new Error("Registration password length bounds are inconsistent.");const l=[];for(const f of(d=s.custom)!=null?d:[]){if(!f||typeof f.rule!="string")throw new Error("Registration password rule is invalid.");if(f.rule==="regex"){if(typeof f.pattern!="string")throw new Error("Registration password regex pattern is invalid.");l.push(new RegExp(f.pattern))}}return f=>f.length===0?!o:(n==null||f.length>=n)&&(a==null||f.length<=a)&&l.every(p=>p.test(f))})}function uh({withLocale:r,translations:e}){Je.subscribe(t=>{t==null&&(dt.set(e),Je.set(r))})}function Bi(r,e){js(r,e)}function ch(r){Je.set(r)}const bt="__WIDGET_GLOBAL_STYLE_CACHE__";function Xa(r,e){if(r){const t=document.createElement("style");t.innerHTML=e,r.appendChild(t)}}function Za(r,e){if(!r||!e)return;const t=new URL(e);fetch(t.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ja(r,e,t,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return t=dh(r,e),t;window[bt]||(window[bt]={}),t=hh(r,e);const o=t.unsubscribe.bind(t),n=()=>{if(window[bt][e]){const a=window[bt][e];a.refCount>1?a.refCount=a.refCount-1:delete window[bt][e]}o()};return t.unsubscribe=n,t}function dh(r,e){const t=document.createElement("style");return window.emMessageBus.subscribe(e,i=>{r&&(t.innerHTML=i,r.appendChild(t))})}function hh(r,e){return window.emMessageBus.subscribe(e,t=>{if(!r)return;const i=r.getRootNode(),s=window[bt];let o=s[e]&&s[e].sheet;o?s[e].refCount=s[e].refCount+1:(o=new CSSStyleSheet,o.replaceSync(t),s[e]={sheet:o,refCount:1});const n=i.adoptedStyleSheets||[];n.includes(o)||(i.adoptedStyleSheets=[...n,o])})}const Yo={en:{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};function fh(r){let e,t,i;return{c(){e=S("svg"),t=S("path"),i=S("animateTransform"),h(i,"attributeName","transform"),h(i,"type","rotate"),h(i,"dur","0.75s"),h(i,"values","0 12 12;360 12 12"),h(i,"repeatCount","indefinite"),h(t,"d","M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z"),h(e,"fill","currentColor"),h(e,"viewBox","0 0 24 24"),h(e,"xmlns","http://www.w3.org/2000/svg")},m(s,o){M(s,e,o),m(e,t),m(t,i)},p:te,i:te,o:te,d(s){s&&N(e)}}}class nr extends Us{constructor(e){super(),Fs(this,e,null,fh,ni,{})}}Vs(nr,{},[],[],!0);if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerForgotPasswordSmsForm-BdHpkBJQ.cjs")).then(({default:e})=>{!customElements.get("general-player-forgot-password-sms-form")&&customElements.define("general-player-forgot-password-sms-form",e.element)})}/**
|
|
21
|
+
`,Tt.MISSING_INTL_API,n);var I=t.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0));A=c.options[I]||c.options.other}if(!A)throw new $o(c.value,f,Object.keys(c.options),n);a.push.apply(a,Dr(A.value,e,t,i,s,f-(c.offset||0)));continue}}return Pd(a)}function Cd(r,e){return e?$e($e($e({},r||{}),e||{}),Object.keys(r).reduce(function(t,i){return t[i]=$e($e({},r[i]),e[i]||{}),t},{})):r}function Sd(r,e){return e?Object.keys(r).reduce(function(t,i){return t[i]=Cd(r[i],e[i]),t},$e({},r)):r}function Mi(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}function Ad(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.number),strategy:Ni.variadic}),getDateTimeFormat:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.dateTime),strategy:Ni.variadic}),getPluralRules:Oi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ii([void 0],t,!1)))},{cache:Mi(r.pluralRules),strategy:Ni.variadic})}}var Td=function(){function r(e,t,i,s){t===void 0&&(t=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(d,f){return!d.length||f.type!==Se.literal||typeof d[d.length-1]!="string"?d.push(f.value):d[d.length-1]+=f.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Dr(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=r.resolveLocale(t),typeof e=="string"){if(this.message=e,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=Dc(n,["formatters"]);this.ast=r.__parse(e,$e($e({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Sd(r.formats,i),this.formatters=s&&s.formatters||Ad(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},r.__parse=yd,r.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"}}},r}();function Id(r,e){if(e==null)return;if(e in r)return r[e];const t=e.split(".");let i=r;for(let s=0;s<t.length;s++)if(typeof i=="object"){if(s>0){const o=t.slice(s,t.length).join(".");if(o in i){i=i[o];break}}i=i[t[s]]}else i=void 0;return i}const et={},Od=(r,e,t)=>t&&(e in et||(et[e]={}),r in et[e]||(et[e][r]=t),t),Ua=(r,e)=>{if(e==null)return;if(e in et&&r in et[e])return et[e][r];const t=di(e);for(let i=0;i<t.length;i++){const s=t[i],o=kd(s,r);if(o)return Od(r,e,o)}};let $s;const dt=li({});function Nd(r){return $s[r]||null}function $a(r){return r in $s}function kd(r,e){if(!$a(r))return null;const t=Nd(r);return Id(t,e)}function Md(r){if(r==null)return;const e=di(r);for(let t=0;t<e.length;t++){const i=e[t];if($a(i))return i}}function js(r,...e){delete et[r],dt.update(t=>(t[r]=Rc.all([t[r]||{},...e]),t))}Lt([dt],([r])=>Object.keys(r));dt.subscribe(r=>$s=r);const Hr={};function Ld(r,e){Hr[r].delete(e),Hr[r].size===0&&delete Hr[r]}function ja(r){return Hr[r]}function Bd(r){return di(r).map(e=>{const t=ja(e);return[e,t?[...t]:[]]}).filter(([,e])=>e.length>0)}function ps(r){return r==null?!1:di(r).some(e=>{var t;return(t=ja(e))==null?void 0:t.size})}function Rd(r,e){return Promise.all(e.map(i=>(Ld(r,i),i().then(s=>s.default||s)))).then(i=>js(r,...i))}const $t={};function Ga(r){if(!ps(r))return r in $t?$t[r]:Promise.resolve();const e=Bd(r);return $t[r]=Promise.all(e.map(([t,i])=>Rd(t,i))).then(()=>{if(ps(r))return Ga(r);delete $t[r]}),$t[r]}const Dd={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"}}},Hd={fallbackLocale:null,loadingDelay:200,formats:Dd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},zd=Hd;function It(){return zd}const Li=li(!1);var Fd=Object.defineProperty,Vd=Object.defineProperties,Ud=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,$d=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,Go=(r,e,t)=>e in r?Fd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Gd=(r,e)=>{for(var t in e||(e={}))$d.call(e,t)&&Go(r,t,e[t]);if(jo)for(var t of jo(e))jd.call(e,t)&&Go(r,t,e[t]);return r},qd=(r,e)=>Vd(r,Ud(e));let ms;const Xr=li(null);function qo(r){return r.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function di(r,e=It().fallbackLocale){const t=qo(r);return e?[...new Set([...t,...qo(e)])]:t}function ht(){return ms!=null?ms:void 0}Xr.subscribe(r=>{ms=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const Wd=r=>{if(r&&Md(r)&&ps(r)){const{loadingDelay:e}=It();let t;return typeof window!="undefined"&&ht()!=null&&e?t=window.setTimeout(()=>Li.set(!0),e):Li.set(!0),Ga(r).then(()=>{Xr.set(r)}).finally(()=>{clearTimeout(t),Li.set(!1)})}return Xr.set(r)},Je=qd(Gd({},Xr),{set:Wd}),hi=r=>{const e=Object.create(null);return i=>{const s=JSON.stringify(i);return s in e?e[s]:e[s]=r(i)}};var Yd=Object.defineProperty,Zr=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Wo=(r,e,t)=>e in r?Yd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Gs=(r,e)=>{for(var t in e||(e={}))qa.call(e,t)&&Wo(r,t,e[t]);if(Zr)for(var t of Zr(e))Wa.call(e,t)&&Wo(r,t,e[t]);return r},Bt=(r,e)=>{var t={};for(var i in r)qa.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&Zr)for(var i of Zr(r))e.indexOf(i)<0&&Wa.call(r,i)&&(t[i]=r[i]);return t};const or=(r,e)=>{const{formats:t}=It();if(r in t&&e in t[r])return t[r][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${r} format.`)},Xd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=or("number",i)),new Intl.NumberFormat(t,s)}),Zd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=or("date",i):Object.keys(s).length===0&&(s=or("date","short")),new Intl.DateTimeFormat(t,s)}),Jd=hi(r=>{var e=r,{locale:t,format:i}=e,s=Bt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=or("time",i):Object.keys(s).length===0&&(s=or("time","short")),new Intl.DateTimeFormat(t,s)}),Kd=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Xd(Gs({locale:t},i))},Qd=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Zd(Gs({locale:t},i))},eh=(r={})=>{var e=r,{locale:t=ht()}=e,i=Bt(e,["locale"]);return Jd(Gs({locale:t},i))},th=hi((r,e=ht())=>new Td(r,e,It().formats,{ignoreTag:It().ignoreTag})),rh=(r,e={})=>{var t,i,s,o;let n=e;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=ht(),default:u}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ua(r,l);if(!c)c=(o=(s=(i=(t=It()).handleMissingMessage)==null?void 0:i.call(t,{locale:l,id:r,defaultValue:u}))!=null?s:u)!=null?o:r;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let d=c;try{d=th(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return d},ih=(r,e)=>eh(e).format(r),sh=(r,e)=>Qd(e).format(r),oh=(r,e)=>Kd(e).format(r),nh=(r,e=ht())=>Ua(r,e),Ya=Lt([Je,dt],()=>rh);Lt([Je],()=>ih);Lt([Je],()=>sh);Lt([Je],()=>oh);Lt([Je,dt],()=>nh);window.emWidgets={topic:vc};const ah=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function lh(r){return Ue(this,null,function*(){var u,c,d;const e=new URL(`${r}/v1/player/legislation/registration/config/`),t=yield fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);const i=yield t.json(),s=Array.isArray((u=i==null?void 0:i.content)==null?void 0:u.fields)?(c=i.content.fields.find(f=>(f==null?void 0:f.name)==="Password"))==null?void 0:c.validate:null;if(!s||typeof s.mandatory!="boolean"||s.type!=null&&s.type!=="string"||s.custom!=null&&!Array.isArray(s.custom))throw new Error("Registration password validation is missing or invalid.");const{mandatory:o,minLength:n,maxLength:a}=s;for(const f of[n,a])if(f!=null&&(!Number.isInteger(f)||f<0))throw new Error("Registration password length bound is invalid.");if(n!=null&&a!=null&&n>a)throw new Error("Registration password length bounds are inconsistent.");const l=[];for(const f of(d=s.custom)!=null?d:[]){if(!f||typeof f.rule!="string")throw new Error("Registration password rule is invalid.");if(f.rule==="regex"){if(typeof f.pattern!="string")throw new Error("Registration password regex pattern is invalid.");l.push(new RegExp(f.pattern))}}return f=>f.length===0?!o:(n==null||f.length>=n)&&(a==null||f.length<=a)&&l.every(p=>p.test(f))})}function uh({withLocale:r,translations:e}){Je.subscribe(t=>{t==null&&(dt.set(e),Je.set(r))})}function Bi(r,e){js(r,e)}function ch(r){Je.set(r)}const bt="__WIDGET_GLOBAL_STYLE_CACHE__";function Xa(r,e){if(r){const t=document.createElement("style");t.innerHTML=e,r.appendChild(t)}}function Za(r,e){if(!r||!e)return;const t=new URL(e);fetch(t.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ja(r,e,t,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return t=dh(r,e),t;window[bt]||(window[bt]={}),t=hh(r,e);const o=t.unsubscribe.bind(t),n=()=>{if(window[bt][e]){const a=window[bt][e];a.refCount>1?a.refCount=a.refCount-1:delete window[bt][e]}o()};return t.unsubscribe=n,t}function dh(r,e){const t=document.createElement("style");return window.emMessageBus.subscribe(e,i=>{r&&(t.innerHTML=i,r.appendChild(t))})}function hh(r,e){return window.emMessageBus.subscribe(e,t=>{if(!r)return;const i=r.getRootNode(),s=window[bt];let o=s[e]&&s[e].sheet;o?s[e].refCount=s[e].refCount+1:(o=new CSSStyleSheet,o.replaceSync(t),s[e]={sheet:o,refCount:1});const n=i.adoptedStyleSheets||[];n.includes(o)||(i.adoptedStyleSheets=[...n,o])})}const Yo={en:{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Parolayı onayla, yeni parolayla eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};function fh(r){let e,t,i;return{c(){e=S("svg"),t=S("path"),i=S("animateTransform"),h(i,"attributeName","transform"),h(i,"type","rotate"),h(i,"dur","0.75s"),h(i,"values","0 12 12;360 12 12"),h(i,"repeatCount","indefinite"),h(t,"d","M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z"),h(e,"fill","currentColor"),h(e,"viewBox","0 0 24 24"),h(e,"xmlns","http://www.w3.org/2000/svg")},m(s,o){M(s,e,o),m(e,t),m(t,i)},p:te,i:te,o:te,d(s){s&&N(e)}}}class nr extends Us{constructor(e){super(),Fs(this,e,null,fh,ni,{})}}Vs(nr,{},[],[],!0);if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerForgotPasswordSmsForm-B8vbEMrV.cjs")).then(({default:e})=>{!customElements.get("general-player-forgot-password-sms-form")&&customElements.define("general-player-forgot-password-sms-form",e.element)})}/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
24
24
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|