@everymatrix/general-player-register-form-step1 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.
@@ -41,8 +41,7 @@ function Ii(e, r, t) {
41
41
  }
42
42
  }
43
43
  function Ni(e) {
44
- if (!e)
45
- return document;
44
+ if (!e) return document;
46
45
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
47
46
  return r && /** @type {ShadowRoot} */
48
47
  r.host ? (
@@ -105,8 +104,7 @@ function xr(e) {
105
104
  Ar = e;
106
105
  }
107
106
  function Ri() {
108
- if (!Ar)
109
- throw new Error("Function called outside component initialization");
107
+ if (!Ar) throw new Error("Function called outside component initialization");
110
108
  return Ar;
111
109
  }
112
110
  function Ui(e) {
@@ -137,8 +135,7 @@ function ve() {
137
135
  } catch (r) {
138
136
  throw or.length = 0, nr = 0, r;
139
137
  }
140
- for (xr(null), or.length = 0, nr = 0; Cr.length; )
141
- Cr.pop()();
138
+ for (xr(null), or.length = 0, nr = 0; Cr.length; ) Cr.pop()();
142
139
  for (let r = 0; r < lr.length; r += 1) {
143
140
  const t = lr[r];
144
141
  at.has(t) || (at.add(t), t());
@@ -589,8 +586,7 @@ var bt = function(e, r) {
589
586
  return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
590
587
  t.__proto__ = i;
591
588
  } || function(t, i) {
592
- for (var n in i)
593
- Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
589
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
594
590
  }, bt(e, r);
595
591
  };
596
592
  function tt(e, r) {
@@ -606,25 +602,22 @@ var xe = function() {
606
602
  return xe = Object.assign || function(r) {
607
603
  for (var t, i = 1, n = arguments.length; i < n; i++) {
608
604
  t = arguments[i];
609
- for (var s in t)
610
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
605
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
611
606
  }
612
607
  return r;
613
608
  }, xe.apply(this, arguments);
614
609
  };
615
610
  function pn(e, r) {
616
611
  var t = {};
617
- for (var i in e)
618
- Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
612
+ for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
619
613
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
620
614
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
621
615
  r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
622
616
  return t;
623
617
  }
624
618
  function lt(e, r, t) {
625
- if (t || arguments.length === 2)
626
- for (var i = 0, n = r.length, s; i < n; i++)
627
- (s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
619
+ if (t || arguments.length === 2) for (var i = 0, n = r.length, s; i < n; i++)
620
+ (s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
628
621
  return e.concat(s || Array.prototype.slice.call(r));
629
622
  }
630
623
  function ut(e, r) {
@@ -679,8 +672,7 @@ var wn = function() {
679
672
  return Yr = Object.assign || function(r) {
680
673
  for (var t, i = 1, n = arguments.length; i < n; i++) {
681
674
  t = arguments[i];
682
- for (var s in t)
683
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
675
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
684
676
  }
685
677
  return r;
686
678
  }, Yr.apply(this, arguments);
@@ -826,8 +818,7 @@ var N = function() {
826
818
  return N = Object.assign || function(r) {
827
819
  for (var t, i = 1, n = arguments.length; i < n; i++) {
828
820
  t = arguments[i];
829
- for (var s in t)
830
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
821
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
831
822
  }
832
823
  return r;
833
824
  }, N.apply(this, arguments);
@@ -2469,8 +2460,7 @@ function Ln(e, r) {
2469
2460
  t += f;
2470
2461
  for (; l-- > 0; )
2471
2462
  t = c + t;
2472
- } else
2473
- n === "J" ? t += "H" : t += n;
2463
+ } else n === "J" ? t += "H" : t += n;
2474
2464
  }
2475
2465
  return t;
2476
2466
  }
@@ -3073,8 +3063,7 @@ function St(e) {
3073
3063
  if (delete r.location, hi(r) || fi(r))
3074
3064
  for (var t in r.options)
3075
3065
  delete r.options[t].location, St(r.options[t].value);
3076
- else
3077
- li(r) && mi(r.style) || (ui(r) || ci(r)) && yt(r.style) ? delete r.style.location : di(r) && St(r.children);
3066
+ else li(r) && mi(r.style) || (ui(r) || ci(r)) && yt(r.style) ? delete r.style.location : di(r) && St(r.children);
3078
3067
  });
3079
3068
  }
3080
3069
  function Kn(e, r) {
@@ -3976,8 +3965,7 @@ function js(e, r) {
3976
3965
  }
3977
3966
  }
3978
3967
  function Vs(e, r) {
3979
- if (!e || !r)
3980
- return;
3968
+ if (!e || !r) return;
3981
3969
  const t = new URL(r);
3982
3970
  fetch(t.href).then((i) => i.text()).then((i) => {
3983
3971
  const n = document.createElement("style");
@@ -3987,8 +3975,7 @@ function Vs(e, r) {
3987
3975
  });
3988
3976
  }
3989
3977
  function $s(e, r, t, i = !1) {
3990
- if (!window.emMessageBus)
3991
- return;
3978
+ if (!window.emMessageBus) return;
3992
3979
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
3993
3980
  return t = Qs(e, r), t;
3994
3981
  window[ar] || (window[ar] = {}), t = zs(e, r);
@@ -4009,8 +3996,7 @@ function Qs(e, r) {
4009
3996
  }
4010
3997
  function zs(e, r) {
4011
3998
  return window.emMessageBus.subscribe(r, (t) => {
4012
- if (!e)
4013
- return;
3999
+ if (!e) return;
4014
4000
  const i = e.getRootNode(), n = window[ar];
4015
4001
  let s = n[r] && n[r].sheet;
4016
4002
  s ? n[r].refCount = n[r].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(t), n[r] = {
@@ -4817,38 +4803,36 @@ function Ks(e, r, t) {
4817
4803
  }, Er = () => {
4818
4804
  be.promoCode = Be;
4819
4805
  }, We = () => {
4820
- if (be.securityQuestion = ne, ne)
4821
- switch (g) {
4822
- case "true":
4823
- if (ye.document.test(ne) && ne.length <= 50) {
4824
- t(8, B = !1), C.securityQuestion = !B, se();
4825
- return;
4826
- }
4827
- break;
4828
- case "false":
4829
- if (ne && ne.length <= 120) {
4830
- t(8, B = !1), C.securityQuestion = !B, se();
4831
- return;
4832
- }
4833
- break;
4834
- }
4806
+ if (be.securityQuestion = ne, ne) switch (g) {
4807
+ case "true":
4808
+ if (ye.document.test(ne) && ne.length <= 50) {
4809
+ t(8, B = !1), C.securityQuestion = !B, se();
4810
+ return;
4811
+ }
4812
+ break;
4813
+ case "false":
4814
+ if (ne && ne.length <= 120) {
4815
+ t(8, B = !1), C.securityQuestion = !B, se();
4816
+ return;
4817
+ }
4818
+ break;
4819
+ }
4835
4820
  t(8, B = !0), C.securityQuestion = !B, se();
4836
4821
  }, ke = () => {
4837
- if (be.securityAnswer = $, $)
4838
- switch (g) {
4839
- case "true":
4840
- if (ye.document.test($) && $.length <= 50) {
4841
- t(9, L = !1), C.securityAnswer = !L, se();
4842
- return;
4843
- }
4844
- break;
4845
- case "false":
4846
- if ($ && $.length <= 120) {
4847
- t(9, L = !1), C.securityAnswer = !L, se();
4848
- return;
4849
- }
4850
- break;
4851
- }
4822
+ if (be.securityAnswer = $, $) switch (g) {
4823
+ case "true":
4824
+ if (ye.document.test($) && $.length <= 50) {
4825
+ t(9, L = !1), C.securityAnswer = !L, se();
4826
+ return;
4827
+ }
4828
+ break;
4829
+ case "false":
4830
+ if ($ && $.length <= 120) {
4831
+ t(9, L = !1), C.securityAnswer = !L, se();
4832
+ return;
4833
+ }
4834
+ break;
4835
+ }
4852
4836
  t(9, L = !0), C.securityAnswer = !L, se();
4853
4837
  }, vr = (p) => {
4854
4838
  p.preventDefault(), window.postMessage(
@@ -1,3 +1,3 @@
1
- "use strict";var $i=Object.defineProperty,Qi=Object.defineProperties;var zi=Object.getOwnPropertyDescriptors;var jt=Object.getOwnPropertySymbols;var Xi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable;var mt=(e,r,t)=>r in e?$i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Vt=(e,r)=>{for(var t in r||(r={}))Xi.call(r,t)&&mt(e,t,r[t]);if(jt)for(var t of jt(r))Zi.call(r,t)&&mt(e,t,r[t]);return e},$t=(e,r)=>Qi(e,zi(r));var ge=(e,r,t)=>(mt(e,typeof r!="symbol"?r+"":r,t),t);var Qt=(e,r,t)=>new Promise((i,n)=>{var s=h=>{try{l(t.next(h))}catch(c){n(c)}},a=h=>{try{l(t.throw(h))}catch(c){n(c)}},l=h=>h.done?i(h.value):Promise.resolve(h.value).then(s,a);l((t=t.apply(e,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function z(){}function gi(e){return e()}function zt(){return Object.create(null)}function mr(e){e.forEach(gi)}function Lt(e){return typeof e=="function"}function pi(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}function Wi(e){return Object.keys(e).length===0}function bi(e,...r){if(e==null){for(const i of r)i(void 0);return z}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function qi(e,r,t){e.$$.on_destroy.push(bi(r,t))}function u(e,r){e.appendChild(r)}function Ji(e,r,t){const i=Yi(e);if(!i.getElementById(r)){const n=v("style");n.id=r,n.textContent=t,Ki(i,n)}}function Yi(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Ki(e,r){return u(e.head||e,r),r.sheet}function ce(e,r,t){e.insertBefore(r,t||null)}function ie(e){e.parentNode&&e.parentNode.removeChild(e)}function v(e){return document.createElement(e)}function _(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function T(e){return document.createTextNode(e)}function H(){return T(" ")}function x(e,r,t,i){return e.addEventListener(r,t,i),()=>e.removeEventListener(r,t,i)}function o(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}function en(e){return Array.from(e.childNodes)}function D(e,r){r=""+r,e.data!==r&&(e.data=r)}function te(e,r){e.value=r==null?"":r}function rn(e){const r={};return e.childNodes.forEach(t=>{r[t.slot||"default"]=!0}),r}let Lr;function Nr(e){Lr=e}function tn(){if(!Lr)throw new Error("Function called outside component initialization");return Lr}function nn(e){tn().$$.on_mount.push(e)}const ar=[],Or=[];let ur=[];const Xt=[],sn=Promise.resolve();let St=!1;function on(){St||(St=!0,sn.then(we))}function Pt(e){ur.push(e)}const gt=new Set;let sr=0;function we(){if(sr!==0)return;const e=Lr;do{try{for(;sr<ar.length;){const r=ar[sr];sr++,Nr(r),an(r.$$)}}catch(r){throw ar.length=0,sr=0,r}for(Nr(null),ar.length=0,sr=0;Or.length;)Or.pop()();for(let r=0;r<ur.length;r+=1){const t=ur[r];gt.has(t)||(gt.add(t),t())}ur.length=0}while(ar.length);for(;Xt.length;)Xt.pop()();St=!1,gt.clear(),Nr(e)}function an(e){if(e.fragment!==null){e.update(),mr(e.before_update);const r=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,r),e.after_update.forEach(Pt)}}function ln(e){const r=[],t=[];ur.forEach(i=>e.indexOf(i)===-1?r.push(i):t.push(i)),t.forEach(i=>i()),ur=r}const un=new Set;function cn(e,r){e&&e.i&&(un.delete(e),e.i(r))}function hn(e,r,t){const{fragment:i,after_update:n}=e.$$;i&&i.m(r,t),Pt(()=>{const s=e.$$.on_mount.map(gi).filter(Lt);e.$$.on_destroy?e.$$.on_destroy.push(...s):mr(s),e.$$.on_mount=[]}),n.forEach(Pt)}function fn(e,r){const t=e.$$;t.fragment!==null&&(ln(t.after_update),mr(t.on_destroy),t.fragment&&t.fragment.d(r),t.on_destroy=t.fragment=null,t.ctx=[])}function dn(e,r){e.$$.dirty[0]===-1&&(ar.push(e),on(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31}function mn(e,r,t,i,n,s,a=null,l=[-1]){const h=Lr;Nr(e);const c=e.$$={fragment:null,ctx:[],props:s,update:z,not_equal:n,bound:zt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(h?h.$$.context:[])),callbacks:zt(),dirty:l,skip_bound:!1,root:r.target||h.$$.root};a&&a(c.root);let f=!1;if(c.ctx=t?t(e,r.props||{},(m,g,...b)=>{const w=b.length?b[0]:g;return c.ctx&&n(c.ctx[m],c.ctx[m]=w)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](w),f&&dn(e,m)),g}):[],c.update(),f=!0,mr(c.before_update),c.fragment=i?i(c.ctx):!1,r.target){if(r.hydrate){const m=en(r.target);c.fragment&&c.fragment.l(m),m.forEach(ie)}else c.fragment&&c.fragment.c();r.intro&&cn(e.$$.fragment),hn(e,r.target,r.anchor),we()}Nr(h)}let yi;typeof HTMLElement=="function"&&(yi=class extends HTMLElement{constructor(r,t,i){super();ge(this,"$$ctor");ge(this,"$$s");ge(this,"$$c");ge(this,"$$cn",!1);ge(this,"$$d",{});ge(this,"$$r",!1);ge(this,"$$p_d",{});ge(this,"$$l",{});ge(this,"$$l_u",new Map);this.$$ctor=r,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(r,t,i){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const n=this.$$c.$on(r,t);this.$$l_u.set(t,n)}super.addEventListener(r,t,i)}removeEventListener(r,t,i){if(super.removeEventListener(r,t,i),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}connectedCallback(){return Qt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let r=function(s){return()=>{let a;return{c:function(){a=v("slot"),s!=="default"&&o(a,"name",s)},m:function(c,f){ce(c,a,f)},d:function(c){c&&ie(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=rn(this);for(const s of this.$$s)s in i&&(t[s]=[r(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=tt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:$t(Vt({},this.$$d),{$$slots:t,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=tt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const s in this.$$l)for(const a of this.$$l[s]){const l=this.$$c.$on(s,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(r,t,i){var n;this.$$r||(r=this.$$g_p(r),this.$$d[r]=tt(r,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(r){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function tt(e,r,t,i){var s;const n=(s=t[e])==null?void 0:s.type;if(r=n==="Boolean"&&typeof r!="boolean"?r!=null:r,!i||!t[e])return r;if(i==="toAttribute")switch(n){case"Object":case"Array":return r==null?null:JSON.stringify(r);case"Boolean":return r?"":null;case"Number":return r==null?null:r;default:return r}else switch(n){case"Object":case"Array":return r&&JSON.parse(r);case"Boolean":return r;case"Number":return r!=null?+r:r;default:return r}}function gn(e,r,t,i,n,s){let a=class extends yi{constructor(){super(e,t,n),this.$$p_d=r}static get observedAttributes(){return Object.keys(r).map(l=>(r[l].attribute||l).toLowerCase())}};return Object.keys(r).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(h){var c;h=tt(l,h,r),this.$$d[l]=h,(c=this.$$c)==null||c.$set({[l]:h})}})}),i.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var h;return(h=this.$$c)==null?void 0:h[l]}})}),e.element=a,a}class pn{constructor(){ge(this,"$$");ge(this,"$$set")}$destroy(){fn(this,1),this.$destroy=z}$on(r,t){if(!Lt(t))return z;const i=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return i.push(t),()=>{const n=i.indexOf(t);n!==-1&&i.splice(n,1)}}$set(r){this.$$set&&!Wi(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}}const bn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(bn);function yn(e,r,t,i=!1){if(window.emMessageBus){const n=i?s=>{!s||typeof s!="object"||Array.isArray(s)||Object.keys(s).forEach(a=>t(a,s[a]))}:t;r=window.emMessageBus.subscribe(e,n)}return r}const or=[];function En(e,r){return{subscribe:lt(e,r).subscribe}}function lt(e,r=z){let t;const i=new Set;function n(l){if(pi(e,l)&&(e=l,t)){const h=!or.length;for(const c of i)c[1](),or.push(c,e);if(h){for(let c=0;c<or.length;c+=2)or[c][0](or[c+1]);or.length=0}}}function s(l){n(l(e))}function a(l,h=z){const c=[l,h];return i.add(c),i.size===1&&(t=r(n,s)||z),l(e),()=>{i.delete(c),i.size===0&&t&&(t(),t=null)}}return{set:n,update:s,subscribe:a}}function gr(e,r,t){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=r.length<2;return En(t,(a,l)=>{let h=!1;const c=[];let f=0,m=z;const g=()=>{if(f)return;m();const w=r(i?c[0]:c,a,l);s?a(w):m=Lt(w)?w:z},b=n.map((w,E)=>bi(w,A=>{c[E]=A,f&=~(1<<E),h&&g()},()=>{f|=1<<E}));return h=!0,g(),function(){mr(b),m(),h=!1}})}function vn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wn=function(r){return _n(r)&&!Sn(r)};function _n(e){return!!e&&typeof e=="object"}function Sn(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||Cn(e)}var Pn=typeof Symbol=="function"&&Symbol.for,xn=Pn?Symbol.for("react.element"):60103;function Cn(e){return e.$$typeof===xn}function An(e){return Array.isArray(e)?[]:{}}function Mr(e,r){return r.clone!==!1&&r.isMergeableObject(e)?cr(An(e),e,r):e}function Tn(e,r,t){return e.concat(r).map(function(i){return Mr(i,t)})}function Hn(e,r){if(!r.customMerge)return cr;var t=r.customMerge(e);return typeof t=="function"?t:cr}function Bn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function Zt(e){return Object.keys(e).concat(Bn(e))}function Ei(e,r){try{return r in e}catch(t){return!1}}function In(e,r){return Ei(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function Nn(e,r,t){var i={};return t.isMergeableObject(e)&&Zt(e).forEach(function(n){i[n]=Mr(e[n],t)}),Zt(r).forEach(function(n){In(e,n)||(Ei(e,n)&&t.isMergeableObject(r[n])?i[n]=Hn(n,t)(e[n],r[n],t):i[n]=Mr(r[n],t))}),i}function cr(e,r,t){t=t||{},t.arrayMerge=t.arrayMerge||Tn,t.isMergeableObject=t.isMergeableObject||wn,t.cloneUnlessOtherwiseSpecified=Mr;var i=Array.isArray(r),n=Array.isArray(e),s=i===n;return s?i?t.arrayMerge(e,r,t):Nn(e,r,t):Mr(r,t)}cr.all=function(r,t){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(i,n){return cr(i,n,t)},{})};var On=cr,Ln=On;const Mn=vn(Ln);var xt=function(e,r){return xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},xt(e,r)};function ut(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");xt(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}var Ce=function(){return Ce=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},Ce.apply(this,arguments)};function Rn(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]]);return t}function pt(e,r,t){if(t||arguments.length===2)for(var i=0,n=r.length,s;i<n;i++)(s||!(i in r))&&(s||(s=Array.prototype.slice.call(r,0,i)),s[i]=r[i]);return e.concat(s||Array.prototype.slice.call(r))}function bt(e,r){var t=r&&r.cache?r.cache:Vn,i=r&&r.serializer?r.serializer:Gn,n=r&&r.strategy?r.strategy:Fn;return n(e,{cache:t,serializer:i})}function Un(e){return e==null||typeof e=="number"||typeof e=="boolean"}function kn(e,r,t,i){var n=Un(i)?i:t(i),s=r.get(n);return typeof s=="undefined"&&(s=e.call(this,i),r.set(n,s)),s}function vi(e,r,t){var i=Array.prototype.slice.call(arguments,3),n=t(i),s=r.get(n);return typeof s=="undefined"&&(s=e.apply(this,i),r.set(n,s)),s}function wi(e,r,t,i,n){return t.bind(r,e,i,n)}function Fn(e,r){var t=e.length===1?kn:vi;return wi(e,this,t,r.cache.create(),r.serializer)}function Dn(e,r){return wi(e,this,vi,r.cache.create(),r.serializer)}var Gn=function(){return JSON.stringify(arguments)},jn=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(r){return this.cache[r]},e.prototype.set=function(r,t){this.cache[r]=t},e}(),Vn={create:function(){return new jn}},yt={variadic:Dn},st=function(){return st=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},st.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var I;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(I||(I={}));var hr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(hr||(hr={}));function Wt(e){return e.type===I.literal}function $n(e){return e.type===I.argument}function _i(e){return e.type===I.number}function Si(e){return e.type===I.date}function Pi(e){return e.type===I.time}function xi(e){return e.type===I.select}function Ci(e){return e.type===I.plural}function Qn(e){return e.type===I.pound}function Ai(e){return e.type===I.tag}function Ti(e){return!!(e&&typeof e=="object"&&e.type===hr.number)}function Ct(e){return!!(e&&typeof e=="object"&&e.type===hr.dateTime)}var Hi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zn=/(?:[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 Xn(e){var r={};return e.replace(zn,function(t){var i=t.length;switch(t[0]){case"G":r.era=i===4?"long":i===5?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][i-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][i-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][i-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][i-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][i-1];break;case"s":r.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":r.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""}),r}var N=function(){return N=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},N.apply(this,arguments)};var Zn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Wn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var r=e.split(Zn).filter(function(g){return g.length>0}),t=[],i=0,n=r;i<n.length;i++){var s=n[i],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],h=a.slice(1),c=0,f=h;c<f.length;c++){var m=f[c];if(m.length===0)throw new Error("Invalid number skeleton")}t.push({stem:l,options:h})}return t}function qn(e){return e.replace(/^(.*?)-/,"")}var qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Bi=/^(@+)?(\+|#+)?[rs]?$/g,Jn=/(\*)(0+)|(#+)(0+)|(0+)/g,Ii=/^(0+)$/;function Jt(e){var r={};return e[e.length-1]==="r"?r.roundingPriority="morePrecision":e[e.length-1]==="s"&&(r.roundingPriority="lessPrecision"),e.replace(Bi,function(t,i,n){return typeof n!="string"?(r.minimumSignificantDigits=i.length,r.maximumSignificantDigits=i.length):n==="+"?r.minimumSignificantDigits=i.length:i[0]==="#"?r.maximumSignificantDigits=i.length:(r.minimumSignificantDigits=i.length,r.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),r}function Ni(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Yn(e){var r;if(e[0]==="E"&&e[1]==="E"?(r={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(r={notation:"scientific"},e=e.slice(1)),r){var t=e.slice(0,2);if(t==="+!"?(r.signDisplay="always",e=e.slice(2)):t==="+?"&&(r.signDisplay="exceptZero",e=e.slice(2)),!Ii.test(e))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=e.length}return r}function Yt(e){var r={},t=Ni(e);return t||r}function Kn(e){for(var r={},t=0,i=e;t<i.length;t++){var n=i[t];switch(n.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=n.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=qn(n.options[0]);continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=N(N(N({},r),{notation:"scientific"}),n.options.reduce(function(h,c){return N(N({},h),Yt(c))},{}));continue;case"engineering":r=N(N(N({},r),{notation:"engineering"}),n.options.reduce(function(h,c){return N(N({},h),Yt(c))},{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Jn,function(h,c,f,m,g,b){if(c)r.minimumIntegerDigits=f.length;else{if(m&&g)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ii.test(n.stem)){r.minimumIntegerDigits=n.stem.length;continue}if(qt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(qt,function(h,c,f,m,g,b){return f==="*"?r.minimumFractionDigits=c.length:m&&m[0]==="#"?r.maximumFractionDigits=m.length:g&&b?(r.minimumFractionDigits=g.length,r.maximumFractionDigits=g.length+b.length):(r.minimumFractionDigits=c.length,r.maximumFractionDigits=c.length),""});var s=n.options[0];s==="w"?r=N(N({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=N(N({},r),Jt(s)));continue}if(Bi.test(n.stem)){r=N(N({},r),Jt(n.stem));continue}var a=Ni(n.stem);a&&(r=N(N({},r),a));var l=Yn(n.stem);l&&(r=N(N({},r),l))}return r}var rt={"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 es(e,r){for(var t="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var a=1+(s&1),l=s<2?1:3+(s>>1),h="a",c=rs(r);for((c=="H"||c=="k")&&(l=0);l-- >0;)t+=h;for(;a-- >0;)t=c+t}else n==="J"?t+="H":t+=n}return t}function rs(e){var r=e.hourCycle;if(r===void 0&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=e.language,i;t!=="root"&&(i=e.maximize().region);var n=rt[i||""]||rt[t||""]||rt["".concat(t,"-001")]||rt["001"];return n[0]}var Et,ts=new RegExp("^".concat(Hi.source,"*")),is=new RegExp("".concat(Hi.source,"*$"));function P(e,r){return{start:e,end:r}}var ns=!!String.prototype.startsWith&&"_a".startsWith("a",1),ss=!!String.fromCodePoint,os=!!Object.fromEntries,as=!!String.prototype.codePointAt,ls=!!String.prototype.trimStart,us=!!String.prototype.trimEnd,cs=!!Number.isSafeInteger,hs=cs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},At=!0;try{var fs=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");At=((Et=fs.exec("a"))===null||Et===void 0?void 0:Et[0])==="a"}catch(e){At=!1}var Kt=ns?function(r,t,i){return r.startsWith(t,i)}:function(r,t,i){return r.slice(i,i+t.length)===t},Tt=ss?String.fromCodePoint:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var i="",n=r.length,s=0,a;n>s;){if(a=r[s++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},ei=os?Object.fromEntries:function(r){for(var t={},i=0,n=r;i<n.length;i++){var s=n[i],a=s[0],l=s[1];t[a]=l}return t},Oi=as?function(r,t){return r.codePointAt(t)}:function(r,t){var i=r.length;if(!(t<0||t>=i)){var n=r.charCodeAt(t),s;return n<55296||n>56319||t+1===i||(s=r.charCodeAt(t+1))<56320||s>57343?n:(n-55296<<10)+(s-56320)+65536}},ds=ls?function(r){return r.trimStart()}:function(r){return r.replace(ts,"")},ms=us?function(r){return r.trimEnd()}:function(r){return r.replace(is,"")};function Li(e,r){return new RegExp(e,r)}var Ht;if(At){var ri=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ht=function(r,t){var i;ri.lastIndex=t;var n=ri.exec(r);return(i=n[1])!==null&&i!==void 0?i:""}}else Ht=function(r,t){for(var i=[];;){var n=Oi(r,t);if(n===void 0||Mi(n)||ys(n))break;i.push(n),t+=n>=65536?2:1}return Tt.apply(void 0,i)};var gs=function(){function e(r,t){t===void 0&&(t={}),this.message=r,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(r,t,i){for(var n=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(r,i);if(a.err)return a;n.push(a.val)}else{if(s===125&&r>0)break;if(s===35&&(t==="plural"||t==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:I.pound,location:P(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(S.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(r,t);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(r,t);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(r,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(n,"/>"),location:P(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(r+1,t,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(S.INVALID_TAG,P(l,this.clonePosition()));var h=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(S.UNMATCHED_CLOSING_TAG,P(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:n,children:a,location:P(i,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,P(l,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,P(i,this.clonePosition()))}else return this.error(S.INVALID_TAG,P(i,this.clonePosition()))},e.prototype.parseTagName=function(){var r=this.offset();for(this.bump();!this.isEOF()&&bs(this.char());)this.bump();return this.message.slice(r,this.offset())},e.prototype.parseLiteral=function(r,t){for(var i=this.clonePosition(),n="";;){var s=this.tryParseQuote(t);if(s){n+=s;continue}var a=this.tryParseUnquoted(r,t);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var h=P(i,this.clonePosition());return{val:{type:I.literal,value:n,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ps(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(r){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(r==="plural"||r==="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 Tt.apply(void 0,t)},e.prototype.tryParseUnquoted=function(r,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&r>0?null:(this.bump(),Tt(i))},e.prototype.parseArgument=function(r,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,P(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(S.MALFORMED_ARGUMENT,P(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:n,location:P(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition())):this.parseArgumentOptions(r,t,n,i);default:return this.error(S.MALFORMED_ARGUMENT,P(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var r=this.clonePosition(),t=this.offset(),i=Ht(this.message,t),n=t+i.length;this.bumpTo(n);var s=this.clonePosition(),a=P(r,s);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(r,t,i,n){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(l){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,P(a,h));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var g=ms(m.val);if(g.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var b=P(f,this.clonePosition());c={style:g,styleLocation:b}}var w=this.tryParseArgumentClose(n);if(w.err)return w;var E=P(n,this.clonePosition());if(c&&Kt(c==null?void 0:c.style,"::",0)){var A=ds(c.style.slice(2));if(l==="number"){var m=this.parseNumberSkeletonFromString(A,c.styleLocation);return m.err?m:{val:{type:I.number,value:i,location:E,style:m.val},err:null}}else{if(A.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,E);var B=A;this.locale&&(B=es(A,this.locale));var g={type:hr.dateTime,pattern:B,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Xn(B):{}},L=l==="date"?I.date:I.time;return{val:{type:L,value:i,location:E,style:g},err:null}}}return{val:{type:l==="number"?I.number:l==="date"?I.date:I.time,value:i,location:E,style:(s=c==null?void 0:c.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,P(R,st({},R)));this.bumpSpace();var he=this.parseIdentifierIfPossible(),G=0;if(l!=="select"&&he.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),he=this.parseIdentifierIfPossible(),G=m.val}var pe=this.tryParsePluralOrSelectOptions(r,l,t,he);if(pe.err)return pe;var w=this.tryParseArgumentClose(n);if(w.err)return w;var U=P(n,this.clonePosition());return l==="select"?{val:{type:I.select,value:i,options:ei(pe.val),location:U},err:null}:{val:{type:I.plural,value:i,options:ei(pe.val),offset:G,pluralType:l==="plural"?"cardinal":"ordinal",location:U},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,P(a,h))}},e.prototype.tryParseArgumentClose=function(r){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var r=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(n,this.clonePosition()));this.bump();break}case 123:{r+=1,this.bump();break}case 125:{if(r>0)r-=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}},e.prototype.parseNumberSkeletonFromString=function(r,t){var i=[];try{i=Wn(r)}catch(n){return this.error(S.INVALID_NUMBER_SKELETON,t)}return{val:{type:hr.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Kn(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(r,t,i,n){for(var s,a=!1,l=[],h=new Set,c=n.value,f=n.location;;){if(c.length===0){var m=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;f=P(m,this.clonePosition()),c=this.message.slice(m.offset,this.offset())}else break}if(h.has(c))return this.error(t==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(r+1,t,i);if(w.err)return w;var E=this.tryParseArgumentClose(b);if(E.err)return E;l.push([c,{value:w.val,location:P(b,this.clonePosition())}]),h.add(c),this.bumpSpace(),s=this.parseIdentifierIfPossible(),c=s.value,f=s.location}return l.length===0?this.error(t==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(S.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(r,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var h=P(n,this.clonePosition());return s?(a*=i,hs(a)?{val:a,err:null}:this.error(t,h)):this.error(r,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var r=this.position.offset;if(r>=this.message.length)throw Error("out of bound");var t=Oi(this.message,r);if(t===void 0)throw Error("Offset ".concat(r," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(r,t){return{val:null,err:{kind:r,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var r=this.char();r===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=r<65536?1:2)}},e.prototype.bumpIf=function(r){if(Kt(this.message,r,this.offset())){for(var t=0;t<r.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(r){var t=this.offset(),i=this.message.indexOf(r,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(r){if(this.offset()>r)throw Error("targetOffset ".concat(r," must be greater than or equal to the current offset ").concat(this.offset()));for(r=Math.min(r,this.message.length);;){var t=this.offset();if(t===r)break;if(t>r)throw Error("targetOffset ".concat(r," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var r=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(r>=65536?2:1));return i!=null?i:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function ps(e){return Bt(e)||e===47}function bs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Mi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ys(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function It(e){e.forEach(function(r){if(delete r.location,xi(r)||Ci(r))for(var t in r.options)delete r.options[t].location,It(r.options[t].value);else _i(r)&&Ti(r.style)||(Si(r)||Pi(r))&&Ct(r.style)?delete r.style.location:Ai(r)&&It(r.children)})}function Es(e,r){r===void 0&&(r={}),r=st({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var t=new gs(e,r).parse();if(t.err){var i=SyntaxError(S[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return r!=null&&r.captureLocation||It(t.val),t.val}var fr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(fr||(fr={}));var ct=function(e){ut(r,e);function r(t,i,n){var s=e.call(this,t)||this;return s.code=i,s.originalMessage=n,s}return r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),ti=function(e){ut(r,e);function r(t,i,n,s){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),fr.INVALID_VALUE,s)||this}return r}(ct),vs=function(e){ut(r,e);function r(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),fr.INVALID_VALUE,n)||this}return r}(ct),ws=function(e){ut(r,e);function r(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),fr.MISSING_VALUE,i)||this}return r}(ct),Q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Q||(Q={}));function _s(e){return e.length<2?e:e.reduce(function(r,t){var i=r[r.length-1];return!i||i.type!==Q.literal||t.type!==Q.literal?r.push(t):i.value+=t.value,r},[])}function Ss(e){return typeof e=="function"}function it(e,r,t,i,n,s,a){if(e.length===1&&Wt(e[0]))return[{type:Q.literal,value:e[0].value}];for(var l=[],h=0,c=e;h<c.length;h++){var f=c[h];if(Wt(f)){l.push({type:Q.literal,value:f.value});continue}if(Qn(f)){typeof s=="number"&&l.push({type:Q.literal,value:t.getNumberFormat(r).format(s)});continue}var m=f.value;if(!(n&&m in n))throw new ws(m,a);var g=n[m];if($n(f)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),l.push({type:typeof g=="string"?Q.literal:Q.object,value:g});continue}if(Si(f)){var b=typeof f.style=="string"?i.date[f.style]:Ct(f.style)?f.style.parsedOptions:void 0;l.push({type:Q.literal,value:t.getDateTimeFormat(r,b).format(g)});continue}if(Pi(f)){var b=typeof f.style=="string"?i.time[f.style]:Ct(f.style)?f.style.parsedOptions:i.time.medium;l.push({type:Q.literal,value:t.getDateTimeFormat(r,b).format(g)});continue}if(_i(f)){var b=typeof f.style=="string"?i.number[f.style]:Ti(f.style)?f.style.parsedOptions:void 0;b&&b.scale&&(g=g*(b.scale||1)),l.push({type:Q.literal,value:t.getNumberFormat(r,b).format(g)});continue}if(Ai(f)){var w=f.children,E=f.value,A=n[E];if(!Ss(A))throw new vs(E,"function",a);var B=it(w,r,t,i,n,s),L=A(B.map(function(G){return G.value}));Array.isArray(L)||(L=[L]),l.push.apply(l,L.map(function(G){return{type:typeof G=="string"?Q.literal:Q.object,value:G}}))}if(xi(f)){var R=f.options[g]||f.options.other;if(!R)throw new ti(f.value,g,Object.keys(f.options),a);l.push.apply(l,it(R.value,r,t,i,n));continue}if(Ci(f)){var R=f.options["=".concat(g)];if(!R){if(!Intl.PluralRules)throw new ct(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var $i=Object.defineProperty,Qi=Object.defineProperties;var zi=Object.getOwnPropertyDescriptors;var jt=Object.getOwnPropertySymbols;var Xi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable;var mt=(e,r,t)=>r in e?$i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Vt=(e,r)=>{for(var t in r||(r={}))Xi.call(r,t)&&mt(e,t,r[t]);if(jt)for(var t of jt(r))Zi.call(r,t)&&mt(e,t,r[t]);return e},$t=(e,r)=>Qi(e,zi(r));var ge=(e,r,t)=>mt(e,typeof r!="symbol"?r+"":r,t);var Qt=(e,r,t)=>new Promise((i,n)=>{var s=h=>{try{l(t.next(h))}catch(c){n(c)}},a=h=>{try{l(t.throw(h))}catch(c){n(c)}},l=h=>h.done?i(h.value):Promise.resolve(h.value).then(s,a);l((t=t.apply(e,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function z(){}function gi(e){return e()}function zt(){return Object.create(null)}function mr(e){e.forEach(gi)}function Lt(e){return typeof e=="function"}function pi(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}function Wi(e){return Object.keys(e).length===0}function bi(e,...r){if(e==null){for(const i of r)i(void 0);return z}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function qi(e,r,t){e.$$.on_destroy.push(bi(r,t))}function u(e,r){e.appendChild(r)}function Ji(e,r,t){const i=Yi(e);if(!i.getElementById(r)){const n=v("style");n.id=r,n.textContent=t,Ki(i,n)}}function Yi(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Ki(e,r){return u(e.head||e,r),r.sheet}function ce(e,r,t){e.insertBefore(r,t||null)}function ie(e){e.parentNode&&e.parentNode.removeChild(e)}function v(e){return document.createElement(e)}function _(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function T(e){return document.createTextNode(e)}function H(){return T(" ")}function x(e,r,t,i){return e.addEventListener(r,t,i),()=>e.removeEventListener(r,t,i)}function o(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}function en(e){return Array.from(e.childNodes)}function D(e,r){r=""+r,e.data!==r&&(e.data=r)}function te(e,r){e.value=r==null?"":r}function rn(e){const r={};return e.childNodes.forEach(t=>{r[t.slot||"default"]=!0}),r}let Lr;function Nr(e){Lr=e}function tn(){if(!Lr)throw new Error("Function called outside component initialization");return Lr}function nn(e){tn().$$.on_mount.push(e)}const ar=[],Or=[];let ur=[];const Xt=[],sn=Promise.resolve();let St=!1;function on(){St||(St=!0,sn.then(we))}function Pt(e){ur.push(e)}const gt=new Set;let sr=0;function we(){if(sr!==0)return;const e=Lr;do{try{for(;sr<ar.length;){const r=ar[sr];sr++,Nr(r),an(r.$$)}}catch(r){throw ar.length=0,sr=0,r}for(Nr(null),ar.length=0,sr=0;Or.length;)Or.pop()();for(let r=0;r<ur.length;r+=1){const t=ur[r];gt.has(t)||(gt.add(t),t())}ur.length=0}while(ar.length);for(;Xt.length;)Xt.pop()();St=!1,gt.clear(),Nr(e)}function an(e){if(e.fragment!==null){e.update(),mr(e.before_update);const r=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,r),e.after_update.forEach(Pt)}}function ln(e){const r=[],t=[];ur.forEach(i=>e.indexOf(i)===-1?r.push(i):t.push(i)),t.forEach(i=>i()),ur=r}const un=new Set;function cn(e,r){e&&e.i&&(un.delete(e),e.i(r))}function hn(e,r,t){const{fragment:i,after_update:n}=e.$$;i&&i.m(r,t),Pt(()=>{const s=e.$$.on_mount.map(gi).filter(Lt);e.$$.on_destroy?e.$$.on_destroy.push(...s):mr(s),e.$$.on_mount=[]}),n.forEach(Pt)}function fn(e,r){const t=e.$$;t.fragment!==null&&(ln(t.after_update),mr(t.on_destroy),t.fragment&&t.fragment.d(r),t.on_destroy=t.fragment=null,t.ctx=[])}function dn(e,r){e.$$.dirty[0]===-1&&(ar.push(e),on(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31}function mn(e,r,t,i,n,s,a=null,l=[-1]){const h=Lr;Nr(e);const c=e.$$={fragment:null,ctx:[],props:s,update:z,not_equal:n,bound:zt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(h?h.$$.context:[])),callbacks:zt(),dirty:l,skip_bound:!1,root:r.target||h.$$.root};a&&a(c.root);let f=!1;if(c.ctx=t?t(e,r.props||{},(m,g,...b)=>{const w=b.length?b[0]:g;return c.ctx&&n(c.ctx[m],c.ctx[m]=w)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](w),f&&dn(e,m)),g}):[],c.update(),f=!0,mr(c.before_update),c.fragment=i?i(c.ctx):!1,r.target){if(r.hydrate){const m=en(r.target);c.fragment&&c.fragment.l(m),m.forEach(ie)}else c.fragment&&c.fragment.c();r.intro&&cn(e.$$.fragment),hn(e,r.target,r.anchor),we()}Nr(h)}let yi;typeof HTMLElement=="function"&&(yi=class extends HTMLElement{constructor(r,t,i){super();ge(this,"$$ctor");ge(this,"$$s");ge(this,"$$c");ge(this,"$$cn",!1);ge(this,"$$d",{});ge(this,"$$r",!1);ge(this,"$$p_d",{});ge(this,"$$l",{});ge(this,"$$l_u",new Map);this.$$ctor=r,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(r,t,i){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const n=this.$$c.$on(r,t);this.$$l_u.set(t,n)}super.addEventListener(r,t,i)}removeEventListener(r,t,i){if(super.removeEventListener(r,t,i),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}connectedCallback(){return Qt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let r=function(s){return()=>{let a;return{c:function(){a=v("slot"),s!=="default"&&o(a,"name",s)},m:function(c,f){ce(c,a,f)},d:function(c){c&&ie(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=rn(this);for(const s of this.$$s)s in i&&(t[s]=[r(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=tt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:$t(Vt({},this.$$d),{$$slots:t,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=tt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const s in this.$$l)for(const a of this.$$l[s]){const l=this.$$c.$on(s,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(r,t,i){var n;this.$$r||(r=this.$$g_p(r),this.$$d[r]=tt(r,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(r){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function tt(e,r,t,i){var s;const n=(s=t[e])==null?void 0:s.type;if(r=n==="Boolean"&&typeof r!="boolean"?r!=null:r,!i||!t[e])return r;if(i==="toAttribute")switch(n){case"Object":case"Array":return r==null?null:JSON.stringify(r);case"Boolean":return r?"":null;case"Number":return r==null?null:r;default:return r}else switch(n){case"Object":case"Array":return r&&JSON.parse(r);case"Boolean":return r;case"Number":return r!=null?+r:r;default:return r}}function gn(e,r,t,i,n,s){let a=class extends yi{constructor(){super(e,t,n),this.$$p_d=r}static get observedAttributes(){return Object.keys(r).map(l=>(r[l].attribute||l).toLowerCase())}};return Object.keys(r).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(h){var c;h=tt(l,h,r),this.$$d[l]=h,(c=this.$$c)==null||c.$set({[l]:h})}})}),i.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var h;return(h=this.$$c)==null?void 0:h[l]}})}),e.element=a,a}class pn{constructor(){ge(this,"$$");ge(this,"$$set")}$destroy(){fn(this,1),this.$destroy=z}$on(r,t){if(!Lt(t))return z;const i=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return i.push(t),()=>{const n=i.indexOf(t);n!==-1&&i.splice(n,1)}}$set(r){this.$$set&&!Wi(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}}const bn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(bn);function yn(e,r,t,i=!1){if(window.emMessageBus){const n=i?s=>{!s||typeof s!="object"||Array.isArray(s)||Object.keys(s).forEach(a=>t(a,s[a]))}:t;r=window.emMessageBus.subscribe(e,n)}return r}const or=[];function En(e,r){return{subscribe:lt(e,r).subscribe}}function lt(e,r=z){let t;const i=new Set;function n(l){if(pi(e,l)&&(e=l,t)){const h=!or.length;for(const c of i)c[1](),or.push(c,e);if(h){for(let c=0;c<or.length;c+=2)or[c][0](or[c+1]);or.length=0}}}function s(l){n(l(e))}function a(l,h=z){const c=[l,h];return i.add(c),i.size===1&&(t=r(n,s)||z),l(e),()=>{i.delete(c),i.size===0&&t&&(t(),t=null)}}return{set:n,update:s,subscribe:a}}function gr(e,r,t){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=r.length<2;return En(t,(a,l)=>{let h=!1;const c=[];let f=0,m=z;const g=()=>{if(f)return;m();const w=r(i?c[0]:c,a,l);s?a(w):m=Lt(w)?w:z},b=n.map((w,E)=>bi(w,A=>{c[E]=A,f&=~(1<<E),h&&g()},()=>{f|=1<<E}));return h=!0,g(),function(){mr(b),m(),h=!1}})}function vn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wn=function(r){return _n(r)&&!Sn(r)};function _n(e){return!!e&&typeof e=="object"}function Sn(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||Cn(e)}var Pn=typeof Symbol=="function"&&Symbol.for,xn=Pn?Symbol.for("react.element"):60103;function Cn(e){return e.$$typeof===xn}function An(e){return Array.isArray(e)?[]:{}}function Mr(e,r){return r.clone!==!1&&r.isMergeableObject(e)?cr(An(e),e,r):e}function Tn(e,r,t){return e.concat(r).map(function(i){return Mr(i,t)})}function Hn(e,r){if(!r.customMerge)return cr;var t=r.customMerge(e);return typeof t=="function"?t:cr}function Bn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function Zt(e){return Object.keys(e).concat(Bn(e))}function Ei(e,r){try{return r in e}catch(t){return!1}}function In(e,r){return Ei(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function Nn(e,r,t){var i={};return t.isMergeableObject(e)&&Zt(e).forEach(function(n){i[n]=Mr(e[n],t)}),Zt(r).forEach(function(n){In(e,n)||(Ei(e,n)&&t.isMergeableObject(r[n])?i[n]=Hn(n,t)(e[n],r[n],t):i[n]=Mr(r[n],t))}),i}function cr(e,r,t){t=t||{},t.arrayMerge=t.arrayMerge||Tn,t.isMergeableObject=t.isMergeableObject||wn,t.cloneUnlessOtherwiseSpecified=Mr;var i=Array.isArray(r),n=Array.isArray(e),s=i===n;return s?i?t.arrayMerge(e,r,t):Nn(e,r,t):Mr(r,t)}cr.all=function(r,t){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(i,n){return cr(i,n,t)},{})};var On=cr,Ln=On;const Mn=vn(Ln);var xt=function(e,r){return xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},xt(e,r)};function ut(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");xt(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}var Ce=function(){return Ce=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},Ce.apply(this,arguments)};function Rn(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]]);return t}function pt(e,r,t){if(t||arguments.length===2)for(var i=0,n=r.length,s;i<n;i++)(s||!(i in r))&&(s||(s=Array.prototype.slice.call(r,0,i)),s[i]=r[i]);return e.concat(s||Array.prototype.slice.call(r))}function bt(e,r){var t=r&&r.cache?r.cache:Vn,i=r&&r.serializer?r.serializer:Gn,n=r&&r.strategy?r.strategy:Fn;return n(e,{cache:t,serializer:i})}function Un(e){return e==null||typeof e=="number"||typeof e=="boolean"}function kn(e,r,t,i){var n=Un(i)?i:t(i),s=r.get(n);return typeof s=="undefined"&&(s=e.call(this,i),r.set(n,s)),s}function vi(e,r,t){var i=Array.prototype.slice.call(arguments,3),n=t(i),s=r.get(n);return typeof s=="undefined"&&(s=e.apply(this,i),r.set(n,s)),s}function wi(e,r,t,i,n){return t.bind(r,e,i,n)}function Fn(e,r){var t=e.length===1?kn:vi;return wi(e,this,t,r.cache.create(),r.serializer)}function Dn(e,r){return wi(e,this,vi,r.cache.create(),r.serializer)}var Gn=function(){return JSON.stringify(arguments)},jn=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(r){return this.cache[r]},e.prototype.set=function(r,t){this.cache[r]=t},e}(),Vn={create:function(){return new jn}},yt={variadic:Dn},st=function(){return st=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},st.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var I;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(I||(I={}));var hr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(hr||(hr={}));function Wt(e){return e.type===I.literal}function $n(e){return e.type===I.argument}function _i(e){return e.type===I.number}function Si(e){return e.type===I.date}function Pi(e){return e.type===I.time}function xi(e){return e.type===I.select}function Ci(e){return e.type===I.plural}function Qn(e){return e.type===I.pound}function Ai(e){return e.type===I.tag}function Ti(e){return!!(e&&typeof e=="object"&&e.type===hr.number)}function Ct(e){return!!(e&&typeof e=="object"&&e.type===hr.dateTime)}var Hi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,zn=/(?:[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 Xn(e){var r={};return e.replace(zn,function(t){var i=t.length;switch(t[0]){case"G":r.era=i===4?"long":i===5?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][i-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][i-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][i-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][i-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][i-1];break;case"s":r.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":r.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""}),r}var N=function(){return N=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},N.apply(this,arguments)};var Zn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Wn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var r=e.split(Zn).filter(function(g){return g.length>0}),t=[],i=0,n=r;i<n.length;i++){var s=n[i],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],h=a.slice(1),c=0,f=h;c<f.length;c++){var m=f[c];if(m.length===0)throw new Error("Invalid number skeleton")}t.push({stem:l,options:h})}return t}function qn(e){return e.replace(/^(.*?)-/,"")}var qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Bi=/^(@+)?(\+|#+)?[rs]?$/g,Jn=/(\*)(0+)|(#+)(0+)|(0+)/g,Ii=/^(0+)$/;function Jt(e){var r={};return e[e.length-1]==="r"?r.roundingPriority="morePrecision":e[e.length-1]==="s"&&(r.roundingPriority="lessPrecision"),e.replace(Bi,function(t,i,n){return typeof n!="string"?(r.minimumSignificantDigits=i.length,r.maximumSignificantDigits=i.length):n==="+"?r.minimumSignificantDigits=i.length:i[0]==="#"?r.maximumSignificantDigits=i.length:(r.minimumSignificantDigits=i.length,r.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),r}function Ni(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Yn(e){var r;if(e[0]==="E"&&e[1]==="E"?(r={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(r={notation:"scientific"},e=e.slice(1)),r){var t=e.slice(0,2);if(t==="+!"?(r.signDisplay="always",e=e.slice(2)):t==="+?"&&(r.signDisplay="exceptZero",e=e.slice(2)),!Ii.test(e))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=e.length}return r}function Yt(e){var r={},t=Ni(e);return t||r}function Kn(e){for(var r={},t=0,i=e;t<i.length;t++){var n=i[t];switch(n.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=n.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=qn(n.options[0]);continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=N(N(N({},r),{notation:"scientific"}),n.options.reduce(function(h,c){return N(N({},h),Yt(c))},{}));continue;case"engineering":r=N(N(N({},r),{notation:"engineering"}),n.options.reduce(function(h,c){return N(N({},h),Yt(c))},{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Jn,function(h,c,f,m,g,b){if(c)r.minimumIntegerDigits=f.length;else{if(m&&g)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ii.test(n.stem)){r.minimumIntegerDigits=n.stem.length;continue}if(qt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(qt,function(h,c,f,m,g,b){return f==="*"?r.minimumFractionDigits=c.length:m&&m[0]==="#"?r.maximumFractionDigits=m.length:g&&b?(r.minimumFractionDigits=g.length,r.maximumFractionDigits=g.length+b.length):(r.minimumFractionDigits=c.length,r.maximumFractionDigits=c.length),""});var s=n.options[0];s==="w"?r=N(N({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=N(N({},r),Jt(s)));continue}if(Bi.test(n.stem)){r=N(N({},r),Jt(n.stem));continue}var a=Ni(n.stem);a&&(r=N(N({},r),a));var l=Yn(n.stem);l&&(r=N(N({},r),l))}return r}var rt={"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 es(e,r){for(var t="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var a=1+(s&1),l=s<2?1:3+(s>>1),h="a",c=rs(r);for((c=="H"||c=="k")&&(l=0);l-- >0;)t+=h;for(;a-- >0;)t=c+t}else n==="J"?t+="H":t+=n}return t}function rs(e){var r=e.hourCycle;if(r===void 0&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=e.language,i;t!=="root"&&(i=e.maximize().region);var n=rt[i||""]||rt[t||""]||rt["".concat(t,"-001")]||rt["001"];return n[0]}var Et,ts=new RegExp("^".concat(Hi.source,"*")),is=new RegExp("".concat(Hi.source,"*$"));function P(e,r){return{start:e,end:r}}var ns=!!String.prototype.startsWith&&"_a".startsWith("a",1),ss=!!String.fromCodePoint,os=!!Object.fromEntries,as=!!String.prototype.codePointAt,ls=!!String.prototype.trimStart,us=!!String.prototype.trimEnd,cs=!!Number.isSafeInteger,hs=cs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},At=!0;try{var fs=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");At=((Et=fs.exec("a"))===null||Et===void 0?void 0:Et[0])==="a"}catch(e){At=!1}var Kt=ns?function(r,t,i){return r.startsWith(t,i)}:function(r,t,i){return r.slice(i,i+t.length)===t},Tt=ss?String.fromCodePoint:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var i="",n=r.length,s=0,a;n>s;){if(a=r[s++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},ei=os?Object.fromEntries:function(r){for(var t={},i=0,n=r;i<n.length;i++){var s=n[i],a=s[0],l=s[1];t[a]=l}return t},Oi=as?function(r,t){return r.codePointAt(t)}:function(r,t){var i=r.length;if(!(t<0||t>=i)){var n=r.charCodeAt(t),s;return n<55296||n>56319||t+1===i||(s=r.charCodeAt(t+1))<56320||s>57343?n:(n-55296<<10)+(s-56320)+65536}},ds=ls?function(r){return r.trimStart()}:function(r){return r.replace(ts,"")},ms=us?function(r){return r.trimEnd()}:function(r){return r.replace(is,"")};function Li(e,r){return new RegExp(e,r)}var Ht;if(At){var ri=Li("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ht=function(r,t){var i;ri.lastIndex=t;var n=ri.exec(r);return(i=n[1])!==null&&i!==void 0?i:""}}else Ht=function(r,t){for(var i=[];;){var n=Oi(r,t);if(n===void 0||Mi(n)||ys(n))break;i.push(n),t+=n>=65536?2:1}return Tt.apply(void 0,i)};var gs=function(){function e(r,t){t===void 0&&(t={}),this.message=r,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 e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(r,t,i){for(var n=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(r,i);if(a.err)return a;n.push(a.val)}else{if(s===125&&r>0)break;if(s===35&&(t==="plural"||t==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:I.pound,location:P(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(S.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(r,t);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(r,t);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(r,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(n,"/>"),location:P(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(r+1,t,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(S.INVALID_TAG,P(l,this.clonePosition()));var h=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(S.UNMATCHED_CLOSING_TAG,P(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:n,children:a,location:P(i,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,P(l,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,P(i,this.clonePosition()))}else return this.error(S.INVALID_TAG,P(i,this.clonePosition()))},e.prototype.parseTagName=function(){var r=this.offset();for(this.bump();!this.isEOF()&&bs(this.char());)this.bump();return this.message.slice(r,this.offset())},e.prototype.parseLiteral=function(r,t){for(var i=this.clonePosition(),n="";;){var s=this.tryParseQuote(t);if(s){n+=s;continue}var a=this.tryParseUnquoted(r,t);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var h=P(i,this.clonePosition());return{val:{type:I.literal,value:n,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ps(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(r){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(r==="plural"||r==="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 Tt.apply(void 0,t)},e.prototype.tryParseUnquoted=function(r,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&r>0?null:(this.bump(),Tt(i))},e.prototype.parseArgument=function(r,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,P(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(S.MALFORMED_ARGUMENT,P(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:n,location:P(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(i,this.clonePosition())):this.parseArgumentOptions(r,t,n,i);default:return this.error(S.MALFORMED_ARGUMENT,P(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var r=this.clonePosition(),t=this.offset(),i=Ht(this.message,t),n=t+i.length;this.bumpTo(n);var s=this.clonePosition(),a=P(r,s);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(r,t,i,n){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(l){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,P(a,h));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var g=ms(m.val);if(g.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var b=P(f,this.clonePosition());c={style:g,styleLocation:b}}var w=this.tryParseArgumentClose(n);if(w.err)return w;var E=P(n,this.clonePosition());if(c&&Kt(c==null?void 0:c.style,"::",0)){var A=ds(c.style.slice(2));if(l==="number"){var m=this.parseNumberSkeletonFromString(A,c.styleLocation);return m.err?m:{val:{type:I.number,value:i,location:E,style:m.val},err:null}}else{if(A.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,E);var B=A;this.locale&&(B=es(A,this.locale));var g={type:hr.dateTime,pattern:B,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Xn(B):{}},L=l==="date"?I.date:I.time;return{val:{type:L,value:i,location:E,style:g},err:null}}}return{val:{type:l==="number"?I.number:l==="date"?I.date:I.time,value:i,location:E,style:(s=c==null?void 0:c.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,P(R,st({},R)));this.bumpSpace();var he=this.parseIdentifierIfPossible(),G=0;if(l!=="select"&&he.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),he=this.parseIdentifierIfPossible(),G=m.val}var pe=this.tryParsePluralOrSelectOptions(r,l,t,he);if(pe.err)return pe;var w=this.tryParseArgumentClose(n);if(w.err)return w;var U=P(n,this.clonePosition());return l==="select"?{val:{type:I.select,value:i,options:ei(pe.val),location:U},err:null}:{val:{type:I.plural,value:i,options:ei(pe.val),offset:G,pluralType:l==="plural"?"cardinal":"ordinal",location:U},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,P(a,h))}},e.prototype.tryParseArgumentClose=function(r){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var r=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(n,this.clonePosition()));this.bump();break}case 123:{r+=1,this.bump();break}case 125:{if(r>0)r-=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}},e.prototype.parseNumberSkeletonFromString=function(r,t){var i=[];try{i=Wn(r)}catch(n){return this.error(S.INVALID_NUMBER_SKELETON,t)}return{val:{type:hr.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Kn(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(r,t,i,n){for(var s,a=!1,l=[],h=new Set,c=n.value,f=n.location;;){if(c.length===0){var m=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;f=P(m,this.clonePosition()),c=this.message.slice(m.offset,this.offset())}else break}if(h.has(c))return this.error(t==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(r+1,t,i);if(w.err)return w;var E=this.tryParseArgumentClose(b);if(E.err)return E;l.push([c,{value:w.val,location:P(b,this.clonePosition())}]),h.add(c),this.bumpSpace(),s=this.parseIdentifierIfPossible(),c=s.value,f=s.location}return l.length===0?this.error(t==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(S.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(r,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var h=P(n,this.clonePosition());return s?(a*=i,hs(a)?{val:a,err:null}:this.error(t,h)):this.error(r,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var r=this.position.offset;if(r>=this.message.length)throw Error("out of bound");var t=Oi(this.message,r);if(t===void 0)throw Error("Offset ".concat(r," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(r,t){return{val:null,err:{kind:r,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var r=this.char();r===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=r<65536?1:2)}},e.prototype.bumpIf=function(r){if(Kt(this.message,r,this.offset())){for(var t=0;t<r.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(r){var t=this.offset(),i=this.message.indexOf(r,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(r){if(this.offset()>r)throw Error("targetOffset ".concat(r," must be greater than or equal to the current offset ").concat(this.offset()));for(r=Math.min(r,this.message.length);;){var t=this.offset();if(t===r)break;if(t>r)throw Error("targetOffset ".concat(r," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var r=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(r>=65536?2:1));return i!=null?i:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function ps(e){return Bt(e)||e===47}function bs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Mi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ys(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function It(e){e.forEach(function(r){if(delete r.location,xi(r)||Ci(r))for(var t in r.options)delete r.options[t].location,It(r.options[t].value);else _i(r)&&Ti(r.style)||(Si(r)||Pi(r))&&Ct(r.style)?delete r.style.location:Ai(r)&&It(r.children)})}function Es(e,r){r===void 0&&(r={}),r=st({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var t=new gs(e,r).parse();if(t.err){var i=SyntaxError(S[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return r!=null&&r.captureLocation||It(t.val),t.val}var fr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(fr||(fr={}));var ct=function(e){ut(r,e);function r(t,i,n){var s=e.call(this,t)||this;return s.code=i,s.originalMessage=n,s}return r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),ti=function(e){ut(r,e);function r(t,i,n,s){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),fr.INVALID_VALUE,s)||this}return r}(ct),vs=function(e){ut(r,e);function r(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),fr.INVALID_VALUE,n)||this}return r}(ct),ws=function(e){ut(r,e);function r(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),fr.MISSING_VALUE,i)||this}return r}(ct),Q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Q||(Q={}));function _s(e){return e.length<2?e:e.reduce(function(r,t){var i=r[r.length-1];return!i||i.type!==Q.literal||t.type!==Q.literal?r.push(t):i.value+=t.value,r},[])}function Ss(e){return typeof e=="function"}function it(e,r,t,i,n,s,a){if(e.length===1&&Wt(e[0]))return[{type:Q.literal,value:e[0].value}];for(var l=[],h=0,c=e;h<c.length;h++){var f=c[h];if(Wt(f)){l.push({type:Q.literal,value:f.value});continue}if(Qn(f)){typeof s=="number"&&l.push({type:Q.literal,value:t.getNumberFormat(r).format(s)});continue}var m=f.value;if(!(n&&m in n))throw new ws(m,a);var g=n[m];if($n(f)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),l.push({type:typeof g=="string"?Q.literal:Q.object,value:g});continue}if(Si(f)){var b=typeof f.style=="string"?i.date[f.style]:Ct(f.style)?f.style.parsedOptions:void 0;l.push({type:Q.literal,value:t.getDateTimeFormat(r,b).format(g)});continue}if(Pi(f)){var b=typeof f.style=="string"?i.time[f.style]:Ct(f.style)?f.style.parsedOptions:i.time.medium;l.push({type:Q.literal,value:t.getDateTimeFormat(r,b).format(g)});continue}if(_i(f)){var b=typeof f.style=="string"?i.number[f.style]:Ti(f.style)?f.style.parsedOptions:void 0;b&&b.scale&&(g=g*(b.scale||1)),l.push({type:Q.literal,value:t.getNumberFormat(r,b).format(g)});continue}if(Ai(f)){var w=f.children,E=f.value,A=n[E];if(!Ss(A))throw new vs(E,"function",a);var B=it(w,r,t,i,n,s),L=A(B.map(function(G){return G.value}));Array.isArray(L)||(L=[L]),l.push.apply(l,L.map(function(G){return{type:typeof G=="string"?Q.literal:Q.object,value:G}}))}if(xi(f)){var R=f.options[g]||f.options.other;if(!R)throw new ti(f.value,g,Object.keys(f.options),a);l.push.apply(l,it(R.value,r,t,i,n));continue}if(Ci(f)){var R=f.options["=".concat(g)];if(!R){if(!Intl.PluralRules)throw new ct(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,fr.MISSING_INTL_API,a);var he=t.getPluralRules(r,{type:f.pluralType}).select(g-(f.offset||0));R=f.options[he]||f.options.other}if(!R)throw new ti(f.value,g,Object.keys(f.options),a);l.push.apply(l,it(R.value,r,t,i,n,g-(f.offset||0)));continue}}return _s(l)}function Ps(e,r){return r?Ce(Ce(Ce({},e||{}),r||{}),Object.keys(e).reduce(function(t,i){return t[i]=Ce(Ce({},e[i]),r[i]||{}),t},{})):e}function xs(e,r){return r?Object.keys(e).reduce(function(t,i){return t[i]=Ps(e[i],r[i]),t},Ce({},e)):e}function vt(e){return{create:function(){return{get:function(r){return e[r]},set:function(r,t){e[r]=t}}}}}function Cs(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt(function(){for(var r,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((r=Intl.NumberFormat).bind.apply(r,pt([void 0],t,!1)))},{cache:vt(e.number),strategy:yt.variadic}),getDateTimeFormat:bt(function(){for(var r,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((r=Intl.DateTimeFormat).bind.apply(r,pt([void 0],t,!1)))},{cache:vt(e.dateTime),strategy:yt.variadic}),getPluralRules:bt(function(){for(var r,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((r=Intl.PluralRules).bind.apply(r,pt([void 0],t,!1)))},{cache:vt(e.pluralRules),strategy:yt.variadic})}}var As=function(){function e(r,t,i,n){t===void 0&&(t=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var c=s.formatToParts(h);if(c.length===1)return c[0].value;var f=c.reduce(function(m,g){return!m.length||g.type!==Q.literal||typeof m[m.length-1]!="string"?m.push(g.value):m[m.length-1]+=g.value,m},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(h){return it(s.ast,s.locales,s.formatters,s.formats,h,void 0,s.message)},this.resolvedOptions=function(){var h;return{locale:((h=s.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=e.resolveLocale(t),typeof r=="string"){if(this.message=r,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=n||{};a.formatters;var l=Rn(a,["formatters"]);this.ast=e.__parse(r,Ce(Ce({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xs(e.formats,i),this.formatters=n&&n.formatters||Cs(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(r){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(r);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof r=="string"?r:r[0])}},e.__parse=Es,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ts(e,r){if(r==null)return;if(r in e)return e[r];const t=r.split(".");let i=e;for(let n=0;n<t.length;n++)if(typeof i=="object"){if(n>0){const s=t.slice(n,t.length).join(".");if(s in i){i=i[s];break}}i=i[t[n]]}else i=void 0;return i}const Me={},Hs=(e,r,t)=>t&&(r in Me||(Me[r]={}),e in Me[r]||(Me[r][e]=t),t),Ri=(e,r)=>{if(r==null)return;if(r in Me&&e in Me[r])return Me[r][e];const t=ht(r);for(let i=0;i<t.length;i++){const n=t[i],s=Is(n,e);if(s)return Hs(e,r,s)}};let Mt;const Ur=lt({});function Bs(e){return Mt[e]||null}function Ui(e){return e in Mt}function Is(e,r){if(!Ui(e))return null;const t=Bs(e);return Ts(t,r)}function Ns(e){if(e==null)return;const r=ht(e);for(let t=0;t<r.length;t++){const i=r[t];if(Ui(i))return i}}function ki(e,...r){delete Me[e],Ur.update(t=>(t[e]=Mn.all([t[e]||{},...r]),t))}gr([Ur],([e])=>Object.keys(e));Ur.subscribe(e=>Mt=e);const nt={};function Os(e,r){nt[e].delete(r),nt[e].size===0&&delete nt[e]}function Fi(e){return nt[e]}function Ls(e){return ht(e).map(r=>{const t=Fi(r);return[r,t?[...t]:[]]}).filter(([,r])=>r.length>0)}function Nt(e){return e==null?!1:ht(e).some(r=>{var t;return(t=Fi(r))==null?void 0:t.size})}function Ms(e,r){return Promise.all(r.map(i=>(Os(e,i),i().then(n=>n.default||n)))).then(i=>ki(e,...i))}const Ir={};function Di(e){if(!Nt(e))return e in Ir?Ir[e]:Promise.resolve();const r=Ls(e);return Ir[e]=Promise.all(r.map(([t,i])=>Ms(t,i))).then(()=>{if(Nt(e))return Di(e);delete Ir[e]}),Ir[e]}const Rs={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"}}},Us={fallbackLocale:null,loadingDelay:200,formats:Rs,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ks=Us;function dr(){return ks}const wt=lt(!1);var Fs=Object.defineProperty,Ds=Object.defineProperties,Gs=Object.getOwnPropertyDescriptors,ii=Object.getOwnPropertySymbols,js=Object.prototype.hasOwnProperty,Vs=Object.prototype.propertyIsEnumerable,ni=(e,r,t)=>r in e?Fs(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,$s=(e,r)=>{for(var t in r||(r={}))js.call(r,t)&&ni(e,t,r[t]);if(ii)for(var t of ii(r))Vs.call(r,t)&&ni(e,t,r[t]);return e},Qs=(e,r)=>Ds(e,Gs(r));let Ot;const ot=lt(null);function si(e){return e.split("-").map((r,t,i)=>i.slice(0,t+1).join("-")).reverse()}function ht(e,r=dr().fallbackLocale){const t=si(e);return r?[...new Set([...t,...si(r)])]:t}function Ge(){return Ot!=null?Ot:void 0}ot.subscribe(e=>{Ot=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const zs=e=>{if(e&&Ns(e)&&Nt(e)){const{loadingDelay:r}=dr();let t;return typeof window!="undefined"&&Ge()!=null&&r?t=window.setTimeout(()=>wt.set(!0),r):wt.set(!0),Di(e).then(()=>{ot.set(e)}).finally(()=>{clearTimeout(t),wt.set(!1)})}return ot.set(e)},pr=Qs($s({},ot),{set:zs}),ft=e=>{const r=Object.create(null);return i=>{const n=JSON.stringify(i);return n in r?r[n]:r[n]=e(i)}};var Xs=Object.defineProperty,at=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,oi=(e,r,t)=>r in e?Xs(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Rt=(e,r)=>{for(var t in r||(r={}))Gi.call(r,t)&&oi(e,t,r[t]);if(at)for(var t of at(r))ji.call(r,t)&&oi(e,t,r[t]);return e},br=(e,r)=>{var t={};for(var i in e)Gi.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&at)for(var i of at(e))r.indexOf(i)<0&&ji.call(e,i)&&(t[i]=e[i]);return t};const Rr=(e,r)=>{const{formats:t}=dr();if(e in t&&r in t[e])return t[e][r];throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`)},Zs=ft(e=>{var r=e,{locale:t,format:i}=r,n=br(r,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Rr("number",i)),new Intl.NumberFormat(t,n)}),Ws=ft(e=>{var r=e,{locale:t,format:i}=r,n=br(r,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Rr("date",i):Object.keys(n).length===0&&(n=Rr("date","short")),new Intl.DateTimeFormat(t,n)}),qs=ft(e=>{var r=e,{locale:t,format:i}=r,n=br(r,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Rr("time",i):Object.keys(n).length===0&&(n=Rr("time","short")),new Intl.DateTimeFormat(t,n)}),Js=(e={})=>{var r=e,{locale:t=Ge()}=r,i=br(r,["locale"]);return Zs(Rt({locale:t},i))},Ys=(e={})=>{var r=e,{locale:t=Ge()}=r,i=br(r,["locale"]);return Ws(Rt({locale:t},i))},Ks=(e={})=>{var r=e,{locale:t=Ge()}=r,i=br(r,["locale"]);return qs(Rt({locale:t},i))},eo=ft((e,r=Ge())=>new As(e,r,dr().formats,{ignoreTag:dr().ignoreTag})),ro=(e,r={})=>{var t,i,n,s;let a=r;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:h=Ge(),default:c}=a;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Ri(e,h);if(!f)f=(s=(n=(i=(t=dr()).handleMissingMessage)==null?void 0:i.call(t,{locale:h,id:e,defaultValue:c}))!=null?n:c)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let m=f;try{m=eo(f,h).format(l)}catch(g){g instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,g.message)}return m},to=(e,r)=>Ks(r).format(e),io=(e,r)=>Ys(r).format(e),no=(e,r)=>Js(r).format(e),so=(e,r=Ge())=>Ri(e,r),oo=gr([pr,Ur],()=>ro);gr([pr],()=>to);gr([pr],()=>io);gr([pr],()=>no);gr([pr,Ur],()=>so);function _t(e,r){ki(e,r)}function ao(e){pr.set(e)}const ai={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:'It doesn"t match the password.',registerPromoCode:"Promotional Code (Facultative)",promoCodeError:"",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerPromoCode:"促销代码",promoCodeError:"",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:'Nom d"utilisateur',registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"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.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerPromoCode:"Code Promotionnel (Facultatif)",promoCodeError:"",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Şifre",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki",registerPromoCode:"Promosyon Kodu (İsteğe bağlı)",promoCodeError:"",registerSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",registerSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",registerSecurityAnswer2:"Belge Numarası",registerSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir."},ro:{registerTitle:"Creeaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"},hr:{registerTitle:"Kreiraj svoj račun",registerSubtitle:"Već imate račun?",registerSubtitleLogin:"Prijava","registerE-mail":"E-mail","registerE-mailError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.",registerUsername:"Korisničko ime",registerUsernameError:"Ime mora imati najmanje 4-20 znakova i ne smije sadržavati posebne znakove.",registerPassword:"Lozinka",registerPasswordError:"Lozinka mora imati 8-20 znakova",registerSimplePasswordError:"Lozinka mora imati 8-20 znakova",registerConfirmPassword:"Potvrdi lozinku",registerConfirmPasswordError:"Ne odgovara lozinci.",registerPromoCode:"Promotivni kod (fakultativno)",promoCodeError:"promoCodeError",registerSecurityQuestion:"Sigurnosno pitanje",registerSecurityQuestion2:"Vrsta dokumenta",registerSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",registerSecurityAnswer:"Sigurnosni Odgovor",registerSecurityAnswer2:"Broj dokumenta",registerSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",registerNext:"Sljedeće"},"pt-br":{registerTitle:"Crie sua conta",registerSubtitle:"Você ja tem uma conta?",registerSubtitleLogin:"Iniciar sessão",registerEmail:"Correio eletrônico",registerEmailError:"O correio eletrônico deve conter '@' e um domínio de pelo menos 2-3 letras largas.",registerUsername:"Usuário",registerUsernameError:"O nome deve conter pelo menos 4 caracteres largos e não ter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres de largura.,e contener pelo menos 1 mayúscula, 1 número e 1 caractere especial",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres de largura.",registerConfirmPassword:"Confirmar contrasenha",registerConfirmPasswordError:"Não coincide com a contraseña",registerPromoCode:"Código promocional (Facultativo)",promoCodeError:"",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestion2:"Tipo de documento (Identificação Nacional,Carteira de identidade internacional, Pasaporte)",registerSecurityQuestionError:"A questão de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerSecurityQuestionError2:"Somente letras e números individuais são aceitos",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswer2:"Número de documento",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",registerSecurityAnswerError2:"Solo letras y números son aceptados",registerNext:"Próximo"},"es-mx":{registerTitle:"Crear su cuenta",registerSubtitle:"¿Ya tiene cuenta?",registerSubtitleLogin:"Iniciar Sesión",registerEmail:"Correo electrónico",registerEmailError:"El correo electrónico debe contener '@' y un dominio de al menos 2-3 letras de largo.",registerUsername:"Usuario",registerUsernameError:"El nombre debe contener al menos 4 caracteres de largo y no tener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe ser de 8 a 20 caracteres de largo., y contener al menos 1 mayúscula, 1 número y 1 caracter especial",registerSimplePasswordError:"La contraseña debe ser de 8 a 20 caracteres de largo.",registerConfirmPassword:"Confirmar contraseña",registerConfirmPasswordError:"No coincide con la contraseña",registerPromoCode:"Código promocional (Facultativo)",promoCodeError:"",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de documento (Identificación Nacional, Tarjeta de id internacional, Pasaporte)",registerSecurityQuestionError:"La pregunta de seguridad debe ser de al menos 1 caracter y máximo 120 caracteres.",registerSecurityQuestionError2:"Solo letras y números son aceptados",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de documento",registerSecurityAnswerError:"La respuesta de seguridad debe ser de al menos 1 caracter y máximo 120 caracteres",registerSecurityAnswerError2:"Solo letras y números son aceptados",registerNext:"Siguiente"},"en-us":{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:'It doesn"t match the password.',registerPromoCode:"Promotional Code (Facultative)",promoCodeError:"",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"}},lr="__WIDGET_GLOBAL_STYLE_CACHE__";function lo(e,r){if(e){const t=document.createElement("style");t.innerHTML=r,e.appendChild(t)}}function uo(e,r){if(!e||!r)return;const t=new URL(r);fetch(t.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function co(e,r,t,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return t=ho(e,r),t;window[lr]||(window[lr]={}),t=fo(e,r);const s=t.unsubscribe.bind(t),a=()=>{if(window[lr][r]){const l=window[lr][r];l.refCount>1?l.refCount=l.refCount-1:delete window[lr][r]}s()};return t.unsubscribe=a,t}function ho(e,r){const t=document.createElement("style");return window.emMessageBus.subscribe(r,i=>{e&&(t.innerHTML=i,e.appendChild(t))})}function fo(e,r){return window.emMessageBus.subscribe(r,t=>{if(!e)return;const i=e.getRootNode(),n=window[lr];let s=n[r]&&n[r].sheet;s?n[r].refCount=n[r].refCount+1:(s=new CSSStyleSheet,s.replaceSync(t),n[r]={sheet:s,refCount:1});const a=i.adoptedStyleSheets||[];a.includes(s)||(i.adoptedStyleSheets=[...a,s])})}function mo(e){Ji(e,"svelte-1ueqy7d",".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}")}function li(e){let r,t=e[30]("registerEmailError")+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741824&&t!==(t=n[30]("registerEmailError")+"")&&D(i,t)},d(n){n&&ie(r)}}}function ui(e){let r,t=e[30]("registerUsernameError")+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741824&&t!==(t=n[30]("registerUsernameError")+"")&&D(i,t)},d(n){n&&ie(r)}}}function go(e){let r,t,i,n,s,a,l,h,c;return{c(){r=_("svg"),t=_("defs"),i=_("style"),n=T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"),s=_("g"),a=_("path"),l=_("circle"),o(a,"class","a"),o(a,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),o(a,"transform","translate(0)"),o(l,"class","a"),o(l,"cx","2.779"),o(l,"cy","2.779"),o(l,"r","2.779"),o(l,"transform","translate(20.827 30.303)"),o(s,"transform","translate(-14.185 -27.832)"),o(r,"class","TogglePasswordVisibility"),o(r,"xmlns","http://www.w3.org/2000/svg"),o(r,"width","18.843"),o(r,"height","10.5"),o(r,"viewBox","0 0 18.843 10.5")},m(f,m){ce(f,r,m),u(r,t),u(t,i),u(i,n),u(r,s),u(s,a),u(s,l),h||(c=x(r,"click",e[62]),h=!0)},p:z,d(f){f&&ie(r),h=!1,c()}}}function po(e){let r,t,i,n,s,a,l,h,c,f,m,g,b,w,E;return{c(){r=_("svg"),t=_("defs"),i=_("style"),n=T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"),s=_("g"),a=_("circle"),l=_("g"),h=_("path"),c=_("path"),f=_("g"),m=_("path"),g=_("path"),b=_("rect"),o(a,"class","a"),o(a,"cx","0.05"),o(a,"cy","0.05"),o(a,"r","0.05"),o(a,"transform","translate(121.017 31.148)"),o(h,"class","a"),o(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),o(h,"transform","translate(-142.164 -39.123)"),o(c,"class","a"),o(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),o(c,"transform","translate(-136.413 -42.068)"),o(l,"transform","translate(117.499 27.37)"),o(m,"class","a"),o(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),o(m,"transform","translate(-110.856 -33.157)"),o(g,"class","a"),o(g,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),o(g,"transform","translate(-130.743 -29.617)"),o(f,"transform","translate(110.856 24.899)"),o(b,"class","a"),o(b,"width","0.972"),o(b,"height","15.861"),o(b,"rx","0.486"),o(b,"transform","translate(114.827 23.858) rotate(-39.315)"),o(s,"transform","translate(-110.856 -23.242)"),o(r,"class","TogglePasswordVisibility"),o(r,"xmlns","http://www.w3.org/2000/svg"),o(r,"width","18.844"),o(r,"height","12.887"),o(r,"viewBox","0 0 18.844 12.887")},m(A,B){ce(A,r,B),u(r,t),u(t,i),u(i,n),u(r,s),u(s,a),u(s,l),u(l,h),u(l,c),u(s,f),u(f,m),u(f,g),u(s,b),w||(E=x(r,"click",e[61]),w=!0)},p:z,d(A){A&&ie(r),w=!1,E()}}}function ci(e){let r,t=e[30]("registerPasswordError")+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741824&&t!==(t=n[30]("registerPasswordError")+"")&&D(i,t)},d(n){n&&ie(r)}}}function hi(e){let r,t=e[30]("registerSimplePasswordError")+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741824&&t!==(t=n[30]("registerSimplePasswordError")+"")&&D(i,t)},d(n){n&&ie(r)}}}function bo(e){let r,t,i,n,s,a,l,h,c;return{c(){r=_("svg"),t=_("defs"),i=_("style"),n=T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"),s=_("g"),a=_("path"),l=_("circle"),o(a,"class","a"),o(a,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),o(a,"transform","translate(0)"),o(l,"class","a"),o(l,"cx","2.779"),o(l,"cy","2.779"),o(l,"r","2.779"),o(l,"transform","translate(20.827 30.303)"),o(s,"transform","translate(-14.185 -27.832)"),o(r,"class","ToggleConfirmPasswordVisibility"),o(r,"xmlns","http://www.w3.org/2000/svg"),o(r,"width","18.843"),o(r,"height","10.5"),o(r,"viewBox","0 0 18.843 10.5")},m(f,m){ce(f,r,m),u(r,t),u(t,i),u(i,n),u(r,s),u(s,a),u(s,l),h||(c=x(r,"click",e[68]),h=!0)},p:z,d(f){f&&ie(r),h=!1,c()}}}function yo(e){let r,t,i,n,s,a,l,h,c,f,m,g,b,w,E;return{c(){r=_("svg"),t=_("defs"),i=_("style"),n=T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"),s=_("g"),a=_("circle"),l=_("g"),h=_("path"),c=_("path"),f=_("g"),m=_("path"),g=_("path"),b=_("rect"),o(a,"class","a"),o(a,"cx","0.05"),o(a,"cy","0.05"),o(a,"r","0.05"),o(a,"transform","translate(121.017 31.148)"),o(h,"class","a"),o(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),o(h,"transform","translate(-142.164 -39.123)"),o(c,"class","a"),o(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),o(c,"transform","translate(-136.413 -42.068)"),o(l,"transform","translate(117.499 27.37)"),o(m,"class","a"),o(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),o(m,"transform","translate(-110.856 -33.157)"),o(g,"class","a"),o(g,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),o(g,"transform","translate(-130.743 -29.617)"),o(f,"transform","translate(110.856 24.899)"),o(b,"class","a"),o(b,"width","0.972"),o(b,"height","15.861"),o(b,"rx","0.486"),o(b,"transform","translate(114.827 23.858) rotate(-39.315)"),o(s,"transform","translate(-110.856 -23.242)"),o(r,"class","ToggleConfirmPasswordVisibility"),o(r,"xmlns","http://www.w3.org/2000/svg"),o(r,"width","18.844"),o(r,"height","12.887"),o(r,"viewBox","0 0 18.844 12.887")},m(A,B){ce(A,r,B),u(r,t),u(t,i),u(i,n),u(r,s),u(s,a),u(s,l),u(l,h),u(l,c),u(s,f),u(f,m),u(f,g),u(s,b),w||(E=x(r,"click",e[67]),w=!0)},p:z,d(A){A&&ie(r),w=!1,E()}}}function fi(e){let r,t=e[30]("registerConfirmPasswordError")+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741824&&t!==(t=n[30]("registerConfirmPasswordError")+"")&&D(i,t)},d(n){n&&ie(r)}}}function di(e){let r,t=(e[2]=="true"?e[30]("registerSecurityQuestionError2"):e[30]("registerSecurityQuestionError"))+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741828&&t!==(t=(n[2]=="true"?n[30]("registerSecurityQuestionError2"):n[30]("registerSecurityQuestionError"))+"")&&D(i,t)},d(n){n&&ie(r)}}}function mi(e){let r,t=(e[2]=="true"?e[30]("registerSecurityAnswerError2"):e[30]("registerSecurityAnswerError"))+"",i;return{c(){r=v("p"),i=T(t),o(r,"class","InvalidInput")},m(n,s){ce(n,r,s),u(r,i)},p(n,s){s[0]&1073741828&&t!==(t=(n[2]=="true"?n[30]("registerSecurityAnswerError2"):n[30]("registerSecurityAnswerError"))+"")&&D(i,t)},d(n){n&&ie(r)}}}function Eo(e){let r,t,i,n=e[30]("registerTitle")+"",s,a,l,h=e[30]("registerSubtitle")+"",c,f,m,g=e[30]("registerSubtitleLogin")+"",b,w,E,A,B,L=e[30]("registerEmail")+"",R,he,G,pe,U,je,Be,Ve,k,X,fe=e[30]("registerUsername")+"",be,ne,$,Ie,F,Ae,Ne,_e,ye,C,Se,Z=e[30]("registerPassword")+"",yr,$e,Ee,kr,M,Qe,se,ze,Xe,Ze,Re,Er,j,Te,Ue=e[30]("registerConfirmPassword")+"",We,Fr,ke,Dr,V,vr,qe,Fe,wr,ve,De,Je=e[30]("registerPromoCode")+"",_r,Gr,jr,oe,Vr,Ye,$r,de,Oe,Ke=(e[2]=="true"?e[30]("registerSecurityQuestion2"):e[30]("registerSecurityQuestion"))+"",Sr,Qr,er,zr,ae,Xr,rr,Zr,me,Le,tr=(e[2]=="true"?e[30]("registerSecurityAnswer2"):e[30]("registerSecurityAnswer"))+"",Pr,Wr,ir,qr,le,Jr,nr,Yr,He,p=e[30]("registerNext")+"",O,ue,dt,Ut,W=e[4]&&li(e),q=e[5]&&ui(e);function kt(d,y){return d[25]?po:go}let Kr=kt(e),Pe=Kr(e),J=e[6]&&e[0]!=="true"&&ci(e),Y=e[6]&&e[0]==="true"&&hi(e);function Ft(d,y){return d[26]?yo:bo}let et=Ft(e),xe=et(e),K=e[7]&&fi(e),ee=e[8]&&di(e),re=e[9]&&mi(e);return{c(){var d,y,xr,Cr,Ar,Tr,Hr,Br;r=v("div"),t=v("div"),i=v("h2"),s=T(n),a=H(),l=v("p"),c=T(h),f=H(),m=v("span"),b=T(g),w=H(),E=v("form"),A=v("div"),B=v("label"),R=T(L),he=T(":"),G=v("span"),G.textContent="*",pe=H(),U=v("input"),je=H(),W&&W.c(),Ve=H(),k=v("div"),X=v("label"),be=T(fe),ne=T(":"),$=v("span"),$.textContent="*",Ie=H(),F=v("input"),Ne=H(),q&&q.c(),ye=H(),C=v("div"),Se=v("label"),yr=T(Z),$e=T(":"),Ee=v("span"),Ee.textContent="*",kr=H(),M=v("input"),se=H(),Pe.c(),ze=H(),J&&J.c(),Xe=H(),Y&&Y.c(),Er=H(),j=v("div"),Te=v("label"),We=T(Ue),Fr=T(":"),ke=v("span"),ke.textContent="*",Dr=H(),V=v("input"),vr=H(),xe.c(),qe=H(),K&&K.c(),wr=H(),ve=v("div"),De=v("label"),_r=T(Je),Gr=T(":"),jr=H(),oe=v("input"),Vr=H(),$r=H(),de=v("div"),Oe=v("label"),Sr=T(Ke),Qr=T(":"),er=v("span"),er.textContent="*",zr=H(),ae=v("input"),Xr=H(),ee&&ee.c(),Zr=H(),me=v("div"),Le=v("label"),Pr=T(tr),Wr=T(":"),ir=v("span"),ir.textContent="*",qr=H(),le=v("input"),Jr=H(),re&&re.c(),Yr=H(),He=v("button"),O=T(p),o(i,"class","RegisterFormTitle"),o(m,"class","FormLoginCallToAction"),o(l,"class","RegisterFormSubtitle"),o(t,"class","RegisterFormHeader"),o(G,"class","FormRequired"),o(B,"for","Email"),o(U,"type","text"),o(U,"id","Email"),o(A,"class",Be="EmailContainer "+(e[4]&&!e[10]?"InvalidField":"")+(((d=e[17])==null?void 0:d.indexOf("email"))>=0?"Hidden":"")),o($,"class","FormRequired"),o(X,"for","UserName"),o(F,"type","text"),o(F,"id","UserName"),o(F,"autocomplete",Ae=e[1]?"username":"off"),o(k,"class",_e="UserContainer "+(e[5]&&!e[11]?"InvalidField":"")+(((y=e[17])==null?void 0:y.indexOf("username"))>=0?"Hidden":"")),o(Ee,"class","FormRequired"),o(Se,"for","Password"),o(M,"name","new-password"),o(M,"type","password"),o(M,"id","new-password"),o(M,"autocomplete",Qe=e[1]?"new-password":"off"),o(M,"aria-describedby","password-constraints"),o(C,"class",Ze="PasswordContainer "+(e[6]&&!e[12]?"InvalidField":"")+(((xr=e[17])==null?void 0:xr.indexOf("password"))>=0?"Hidden":"")),C.hidden=Re=((Cr=e[17])==null?void 0:Cr.indexOf("password"))>=0,o(ke,"class","FormRequired"),o(Te,"for","ConfirmPassword"),o(V,"type","password"),o(V,"id","ConfirmPassword"),o(j,"class",Fe="ConfirmPasswordContainer "+(e[7]&&!e[13]?"InvalidField":"")+(((Ar=e[17])==null?void 0:Ar.indexOf("confirmPassword"))>=0?"Hidden":"")),o(De,"for","PromoCode"),o(oe,"type","text"),o(oe,"id","PromoCode"),o(ve,"class",Ye="PromoCodeContainer "+(((Tr=e[17])==null?void 0:Tr.indexOf("promoCode"))>=0?"Hidden":"")),o(er,"class","FormRequired"),o(Oe,"for","SecurityQuestion"),o(ae,"type","text"),o(ae,"id","SecurityQuestion"),o(de,"class",rr="SecurityQuestionContainer "+(e[8]&&!e[14]?"InvalidField":"")+(((Hr=e[17])==null?void 0:Hr.indexOf("securityQuestion"))>=0?"Hidden":"")),o(ir,"class","FormRequired"),o(Le,"for","SecurityAnswer"),o(le,"type","text"),o(le,"id","SecurityAnswer"),o(me,"class",nr="SecurityAnswerContainer "+(e[9]&&!e[15]?"InvalidField":"")+(((Br=e[17])==null?void 0:Br.indexOf("securityAnswer"))>=0?"Hidden":"")),o(He,"class","RegisterStepNext"),He.disabled=ue=!e[29],o(E,"class","RegisterFormContent")},m(d,y){ce(d,r,y),u(r,t),u(t,i),u(i,s),u(t,a),u(t,l),u(l,c),u(l,f),u(l,m),u(m,b),u(r,w),u(r,E),u(E,A),u(A,B),u(B,R),u(B,he),u(B,G),u(A,pe),u(A,U),te(U,e[19]),u(A,je),W&&W.m(A,null),u(E,Ve),u(E,k),u(k,X),u(X,be),u(X,ne),u(X,$),u(k,Ie),u(k,F),te(F,e[18]),u(k,Ne),q&&q.m(k,null),u(E,ye),u(E,C),u(C,Se),u(Se,yr),u(Se,$e),u(Se,Ee),u(C,kr),u(C,M),te(M,e[20]),e[60](M),u(C,se),Pe.m(C,null),u(C,ze),J&&J.m(C,null),u(C,Xe),Y&&Y.m(C,null),u(E,Er),u(E,j),u(j,Te),u(Te,We),u(Te,Fr),u(Te,ke),u(j,Dr),u(j,V),te(V,e[21]),e[66](V),u(j,vr),xe.m(j,null),u(j,qe),K&&K.m(j,null),u(E,wr),u(E,ve),u(ve,De),u(De,_r),u(De,Gr),u(ve,jr),u(ve,oe),te(oe,e[24]),u(ve,Vr),u(E,$r),u(E,de),u(de,Oe),u(Oe,Sr),u(Oe,Qr),u(Oe,er),u(de,zr),u(de,ae),te(ae,e[22]),u(de,Xr),ee&&ee.m(de,null),u(E,Zr),u(E,me),u(me,Le),u(Le,Pr),u(Le,Wr),u(Le,ir),u(me,qr),u(me,le),te(le,e[23]),u(me,Jr),re&&re.m(me,null),u(E,Yr),u(E,He),u(He,O),e[79](r),dt||(Ut=[x(m,"click",e[50]),x(U,"input",e[51]),x(U,"keyup",e[32]),x(U,"focus",e[52]),x(U,"blur",e[53]),x(F,"input",e[54]),x(F,"keyup",e[33]),x(F,"focus",e[55]),x(F,"blur",e[56]),x(M,"input",e[57]),x(M,"keyup",e[38]),x(M,"focus",e[58]),x(M,"blur",e[59]),x(V,"input",e[63]),x(V,"keyup",e[39]),x(V,"focus",e[64]),x(V,"blur",e[65]),x(oe,"input",e[69]),x(oe,"keyup",e[40]),x(oe,"focus",e[70]),x(oe,"blur",e[71]),x(ae,"input",e[72]),x(ae,"keyup",e[41]),x(ae,"focus",e[73]),x(ae,"blur",e[74]),x(le,"input",e[75]),x(le,"keyup",e[42]),x(le,"focus",e[76]),x(le,"blur",e[77]),x(He,"click",e[78])],dt=!0)},p(d,y){var xr,Cr,Ar,Tr,Hr,Br,Dt,Gt;y[0]&1073741824&&n!==(n=d[30]("registerTitle")+"")&&D(s,n),y[0]&1073741824&&h!==(h=d[30]("registerSubtitle")+"")&&D(c,h),y[0]&1073741824&&g!==(g=d[30]("registerSubtitleLogin")+"")&&D(b,g),y[0]&1073741824&&L!==(L=d[30]("registerEmail")+"")&&D(R,L),y[0]&524288&&U.value!==d[19]&&te(U,d[19]),d[4]?W?W.p(d,y):(W=li(d),W.c(),W.m(A,null)):W&&(W.d(1),W=null),y[0]&132112&&Be!==(Be="EmailContainer "+(d[4]&&!d[10]?"InvalidField":"")+(((xr=d[17])==null?void 0:xr.indexOf("email"))>=0?"Hidden":""))&&o(A,"class",Be),y[0]&1073741824&&fe!==(fe=d[30]("registerUsername")+"")&&D(be,fe),y[0]&2&&Ae!==(Ae=d[1]?"username":"off")&&o(F,"autocomplete",Ae),y[0]&262144&&F.value!==d[18]&&te(F,d[18]),d[5]?q?q.p(d,y):(q=ui(d),q.c(),q.m(k,null)):q&&(q.d(1),q=null),y[0]&133152&&_e!==(_e="UserContainer "+(d[5]&&!d[11]?"InvalidField":"")+(((Cr=d[17])==null?void 0:Cr.indexOf("username"))>=0?"Hidden":""))&&o(k,"class",_e),y[0]&1073741824&&Z!==(Z=d[30]("registerPassword")+"")&&D(yr,Z),y[0]&2&&Qe!==(Qe=d[1]?"new-password":"off")&&o(M,"autocomplete",Qe),y[0]&1048576&&M.value!==d[20]&&te(M,d[20]),Kr===(Kr=kt(d))&&Pe?Pe.p(d,y):(Pe.d(1),Pe=Kr(d),Pe&&(Pe.c(),Pe.m(C,ze))),d[6]&&d[0]!=="true"?J?J.p(d,y):(J=ci(d),J.c(),J.m(C,Xe)):J&&(J.d(1),J=null),d[6]&&d[0]==="true"?Y?Y.p(d,y):(Y=hi(d),Y.c(),Y.m(C,null)):Y&&(Y.d(1),Y=null),y[0]&135232&&Ze!==(Ze="PasswordContainer "+(d[6]&&!d[12]?"InvalidField":"")+(((Ar=d[17])==null?void 0:Ar.indexOf("password"))>=0?"Hidden":""))&&o(C,"class",Ze),y[0]&131072&&Re!==(Re=((Tr=d[17])==null?void 0:Tr.indexOf("password"))>=0)&&(C.hidden=Re),y[0]&1073741824&&Ue!==(Ue=d[30]("registerConfirmPassword")+"")&&D(We,Ue),y[0]&2097152&&V.value!==d[21]&&te(V,d[21]),et===(et=Ft(d))&&xe?xe.p(d,y):(xe.d(1),xe=et(d),xe&&(xe.c(),xe.m(j,qe))),d[7]?K?K.p(d,y):(K=fi(d),K.c(),K.m(j,null)):K&&(K.d(1),K=null),y[0]&139392&&Fe!==(Fe="ConfirmPasswordContainer "+(d[7]&&!d[13]?"InvalidField":"")+(((Hr=d[17])==null?void 0:Hr.indexOf("confirmPassword"))>=0?"Hidden":""))&&o(j,"class",Fe),y[0]&1073741824&&Je!==(Je=d[30]("registerPromoCode")+"")&&D(_r,Je),y[0]&16777216&&oe.value!==d[24]&&te(oe,d[24]),y[0]&131072&&Ye!==(Ye="PromoCodeContainer "+(((Br=d[17])==null?void 0:Br.indexOf("promoCode"))>=0?"Hidden":""))&&o(ve,"class",Ye),y[0]&1073741828&&Ke!==(Ke=(d[2]=="true"?d[30]("registerSecurityQuestion2"):d[30]("registerSecurityQuestion"))+"")&&D(Sr,Ke),y[0]&4194304&&ae.value!==d[22]&&te(ae,d[22]),d[8]?ee?ee.p(d,y):(ee=di(d),ee.c(),ee.m(de,null)):ee&&(ee.d(1),ee=null),y[0]&147712&&rr!==(rr="SecurityQuestionContainer "+(d[8]&&!d[14]?"InvalidField":"")+(((Dt=d[17])==null?void 0:Dt.indexOf("securityQuestion"))>=0?"Hidden":""))&&o(de,"class",rr),y[0]&1073741828&&tr!==(tr=(d[2]=="true"?d[30]("registerSecurityAnswer2"):d[30]("registerSecurityAnswer"))+"")&&D(Pr,tr),y[0]&8388608&&le.value!==d[23]&&te(le,d[23]),d[9]?re?re.p(d,y):(re=mi(d),re.c(),re.m(me,null)):re&&(re.d(1),re=null),y[0]&164352&&nr!==(nr="SecurityAnswerContainer "+(d[9]&&!d[15]?"InvalidField":"")+(((Gt=d[17])==null?void 0:Gt.indexOf("securityAnswer"))>=0?"Hidden":""))&&o(me,"class",nr),y[0]&1073741824&&p!==(p=d[30]("registerNext")+"")&&D(O,p),y[0]&536870912&&ue!==(ue=!d[29])&&(He.disabled=ue)},i:z,o:z,d(d){d&&ie(r),W&&W.d(),q&&q.d(),e[60](null),Pe.d(),J&&J.d(),Y&&Y.d(),e[66](null),xe.d(),K&&K.d(),ee&&ee.d(),re&&re.d(),e[79](null),dt=!1,mr(Ut)}}}function vo(e,r,t){let i;qi(e,oo,p=>t(30,i=p));let{lang:n=""}=r,{disabledfields:s=""}=r,{simplepasswordvalidation:a="false"}=r,{mbsource:l}=r,{clientstyling:h=""}=r,{clientstylingurl:c=""}=r,{translationurl:f=""}=r,{savecredentials:m=""}=r,{custominputtextswitch:g="false"}=r,b=!1,w=!1,E=!1,A=!1,B=!1,L=!1,R=!1,he=!1,G=!1,pe=!1,U=!1,je=!1,Be=!1,Ve,k="",X="",fe="",be="",ne="",$="",Ie="",F=!1,Ae=!1,Ne,_e,ye={},C={username:!1,email:!1,password:!1,confirmUserPassword:!1,securityAnswer:!1,securityQuestion:!1,promoCode:!0},Se=!1,Z,yr,$e,Ee={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};const kr=()=>{fetch(f).then(O=>O.json()).then(O=>{Object.keys(O).forEach(ue=>{_t(ue,O[ue])})}).catch(O=>{console.log(O)})};Object.keys(ai).forEach(p=>{_t(p,ai[p])});const M=()=>{window.postMessage({type:"ToLogin"},window.location.href)},Qe=(p,O)=>{if(!(Ve.indexOf(p)>=0))switch(p){case"username":t(18,k=O),Xe();break;case"email":t(19,X=O),ze();break;case"password":t(20,fe=O),ke();break;case"confirmUserPassword":t(21,be=O),V();break;case"securityQuestion":t(22,ne=O),qe();break;case"securityAnswer":t(23,$=O),Fe();break;case"promoCode":t(24,Ie=O),vr();break}},se=()=>{t(29,Se=Object.keys(C).every(p=>s.includes(p)?!0:C[p]!==!1))},ze=()=>{ye.email=X,Ee.email.test(X)&&X.length<=100?t(4,b=!1):t(4,b=!0),C.email=!b,se()},Xe=()=>{ye.username=k,Ee.user.test(k)&&k.length<=20?t(5,w=!1):t(5,w=!0),C.username=!w,se()},Ze=()=>{a=="true"&&(Ee.password=/^(?!.* ).{8,20}$/)},Re=()=>{t(25,F=!0),Ue()},Er=()=>{t(26,Ae=!0),We()},j=()=>{t(25,F=!1),Ue()},Te=()=>{t(26,Ae=!1),We()},Ue=()=>{t(27,Ne.type=F?"text":"password",Ne)},We=()=>{t(28,_e.type=Ae?"text":"password",_e)},Fr=()=>!!Ee.password.test(fe),ke=()=>{ye.password=fe,t(6,E=!Fr()),be.length!==0&&V(),C.password=!E,se()},Dr=()=>fe===be,V=()=>{ye.confirmUserPassword=be,t(7,A=!Dr()),C.confirmUserPassword=!A,se()},vr=()=>{ye.promoCode=Ie},qe=()=>{if(ye.securityQuestion=ne,ne)switch(g){case"true":if(Ee.document.test(ne)&&ne.length<=50){t(8,B=!1),C.securityQuestion=!B,se();return}break;case"false":if(ne&&ne.length<=120){t(8,B=!1),C.securityQuestion=!B,se();return}break}t(8,B=!0),C.securityQuestion=!B,se()},Fe=()=>{if(ye.securityAnswer=$,$)switch(g){case"true":if(Ee.document.test($)&&$.length<=50){t(9,L=!1),C.securityAnswer=!L,se();return}break;case"false":if($&&$.length<=120){t(9,L=!1),C.securityAnswer=!L,se();return}break}t(9,L=!0),C.securityAnswer=!L,se()},wr=p=>{p.preventDefault(),window.postMessage({type:"RegisterStepOne",registerStepOneData:ye},window.location.href)},ve=p=>{if(p.data)switch(p.data.type){case"StepOneDataBackup":const O=p.data.userData;for(const ue in O)Qe(ue,O[ue]);t(29,Se=Object.keys(C).every(ue=>s.includes(ue)?!0:C[ue]!==!1));break}},De=()=>{t(17,Ve=s.split(","))},Je=()=>{ao(n)};nn(()=>(window.addEventListener("message",ve,!1),()=>{$e&&$e.unsubscribe(),window.removeEventListener("message",ve)}));const _r=()=>M();function Gr(){X=this.value,t(19,X)}const jr=()=>t(10,R=!0),oe=()=>t(10,R=!1);function Vr(){k=this.value,t(18,k)}const Ye=()=>t(11,he=!0),$r=()=>t(11,he=!1);function de(){fe=this.value,t(20,fe)}const Oe=()=>t(12,G=!0),Ke=()=>t(12,G=!1);function Sr(p){Or[p?"unshift":"push"](()=>{Ne=p,t(27,Ne)})}const Qr=()=>j(),er=()=>Re();function zr(){be=this.value,t(21,be)}const ae=()=>t(13,pe=!0),Xr=()=>t(13,pe=!1);function rr(p){Or[p?"unshift":"push"](()=>{_e=p,t(28,_e)})}const Zr=()=>Te(),me=()=>Er();function Le(){Ie=this.value,t(24,Ie)}const tr=()=>t(16,Be=!0),Pr=()=>t(16,Be=!1);function Wr(){ne=this.value,t(22,ne)}const ir=()=>t(14,U=!0),qr=()=>t(14,U=!1);function le(){$=this.value,t(23,$)}const Jr=()=>t(15,je=!0),nr=()=>t(15,je=!1),Yr=p=>wr(p);function He(p){Or[p?"unshift":"push"](()=>{Z=p,t(3,Z)})}return e.$$set=p=>{"lang"in p&&t(44,n=p.lang),"disabledfields"in p&&t(45,s=p.disabledfields),"simplepasswordvalidation"in p&&t(0,a=p.simplepasswordvalidation),"mbsource"in p&&t(46,l=p.mbsource),"clientstyling"in p&&t(47,h=p.clientstyling),"clientstylingurl"in p&&t(48,c=p.clientstylingurl),"translationurl"in p&&t(49,f=p.translationurl),"savecredentials"in p&&t(1,m=p.savecredentials),"custominputtextswitch"in p&&t(2,g=p.custominputtextswitch)},e.$$.update=()=>{e.$$.dirty[1]&8192&&n&&Je(),e.$$.dirty[1]&16384&&s&&De(),e.$$.dirty[0]&1&&a&&Ze(),e.$$.dirty[0]&8|e.$$.dirty[1]&65536&&h&&Z&&lo(Z,h),e.$$.dirty[0]&8|e.$$.dirty[1]&131072&&c&&Z&&uo(Z,c),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&l&&Z&&co(Z,`${l}.Style`,yr),e.$$.dirty[1]&262144&&f&&kr(),e.$$.dirty[1]&294912&&l&&!f&&($e=yn(`${l}.Translation`,void 0,_t,!0))},[a,m,g,Z,b,w,E,A,B,L,R,he,G,pe,U,je,Be,Ve,k,X,fe,be,ne,$,Ie,F,Ae,Ne,_e,Se,i,M,ze,Xe,Re,Er,j,Te,ke,V,vr,qe,Fe,wr,n,s,l,h,c,f,_r,Gr,jr,oe,Vr,Ye,$r,de,Oe,Ke,Sr,Qr,er,zr,ae,Xr,rr,Zr,me,Le,tr,Pr,Wr,ir,qr,le,Jr,nr,Yr,He]}class Vi extends pn{constructor(r){super(),mn(this,r,vo,Eo,pi,{lang:44,disabledfields:45,simplepasswordvalidation:0,mbsource:46,clientstyling:47,clientstylingurl:48,translationurl:49,savecredentials:1,custominputtextswitch:2},mo,[-1,-1,-1,-1])}get lang(){return this.$$.ctx[44]}set lang(r){this.$$set({lang:r}),we()}get disabledfields(){return this.$$.ctx[45]}set disabledfields(r){this.$$set({disabledfields:r}),we()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(r){this.$$set({simplepasswordvalidation:r}),we()}get mbsource(){return this.$$.ctx[46]}set mbsource(r){this.$$set({mbsource:r}),we()}get clientstyling(){return this.$$.ctx[47]}set clientstyling(r){this.$$set({clientstyling:r}),we()}get clientstylingurl(){return this.$$.ctx[48]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),we()}get translationurl(){return this.$$.ctx[49]}set translationurl(r){this.$$set({translationurl:r}),we()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(r){this.$$set({savecredentials:r}),we()}get custominputtextswitch(){return this.$$.ctx[2]}set custominputtextswitch(r){this.$$set({custominputtextswitch:r}),we()}}gn(Vi,{lang:{},disabledfields:{},simplepasswordvalidation:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},custominputtextswitch:{}},[],[],!0);exports.default=Vi;
@@ -10,7 +10,7 @@ var mt = (e, r, t) => r in e ? Vi(e, r, { enumerable: !0, configurable: !0, writ
10
10
  Xi.call(r, t) && mt(e, t, r[t]);
11
11
  return e;
12
12
  }, $t = (e, r) => $i(e, Qi(r));
13
- var ge = (e, r, t) => (mt(e, typeof r != "symbol" ? r + "" : r, t), t);
13
+ var ge = (e, r, t) => mt(e, typeof r != "symbol" ? r + "" : r, t);
14
14
  var Qt = (e, r, t) => new Promise((i, n) => {
15
15
  var s = (h) => {
16
16
  try {
@@ -70,8 +70,7 @@ function qi(e, r, t) {
70
70
  }
71
71
  }
72
72
  function Ji(e) {
73
- if (!e)
74
- return document;
73
+ if (!e) return document;
75
74
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
75
  return r && /** @type {ShadowRoot} */
77
76
  r.host ? (
@@ -134,8 +133,7 @@ function Nr(e) {
134
133
  Lr = e;
135
134
  }
136
135
  function rn() {
137
- if (!Lr)
138
- throw new Error("Function called outside component initialization");
136
+ if (!Lr) throw new Error("Function called outside component initialization");
139
137
  return Lr;
140
138
  }
141
139
  function tn(e) {
@@ -166,8 +164,7 @@ function we() {
166
164
  } catch (r) {
167
165
  throw ar.length = 0, sr = 0, r;
168
166
  }
169
- for (Nr(null), ar.length = 0, sr = 0; Or.length; )
170
- Or.pop()();
167
+ for (Nr(null), ar.length = 0, sr = 0; Or.length; ) Or.pop()();
171
168
  for (let r = 0; r < ur.length; r += 1) {
172
169
  const t = ur[r];
173
170
  gt.has(t) || (gt.add(t), t());
@@ -626,8 +623,7 @@ var xt = function(e, r) {
626
623
  return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
627
624
  t.__proto__ = i;
628
625
  } || function(t, i) {
629
- for (var n in i)
630
- Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
626
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
631
627
  }, xt(e, r);
632
628
  };
633
629
  function ut(e, r) {
@@ -643,25 +639,22 @@ var Ce = function() {
643
639
  return Ce = Object.assign || function(r) {
644
640
  for (var t, i = 1, n = arguments.length; i < n; i++) {
645
641
  t = arguments[i];
646
- for (var s in t)
647
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
642
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
648
643
  }
649
644
  return r;
650
645
  }, Ce.apply(this, arguments);
651
646
  };
652
647
  function Mn(e, r) {
653
648
  var t = {};
654
- for (var i in e)
655
- Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
649
+ for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
656
650
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
657
651
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
658
652
  r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
659
653
  return t;
660
654
  }
661
655
  function pt(e, r, t) {
662
- if (t || arguments.length === 2)
663
- for (var i = 0, n = r.length, s; i < n; i++)
664
- (s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
656
+ if (t || arguments.length === 2) for (var i = 0, n = r.length, s; i < n; i++)
657
+ (s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
665
658
  return e.concat(s || Array.prototype.slice.call(r));
666
659
  }
667
660
  function bt(e, r) {
@@ -716,8 +709,7 @@ var Dn = function() {
716
709
  return st = Object.assign || function(r) {
717
710
  for (var t, i = 1, n = arguments.length; i < n; i++) {
718
711
  t = arguments[i];
719
- for (var s in t)
720
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
712
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
721
713
  }
722
714
  return r;
723
715
  }, st.apply(this, arguments);
@@ -863,8 +855,7 @@ var N = function() {
863
855
  return N = Object.assign || function(r) {
864
856
  for (var t, i = 1, n = arguments.length; i < n; i++) {
865
857
  t = arguments[i];
866
- for (var s in t)
867
- Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
858
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
868
859
  }
869
860
  return r;
870
861
  }, N.apply(this, arguments);
@@ -2506,8 +2497,7 @@ function Kn(e, r) {
2506
2497
  t += h;
2507
2498
  for (; a-- > 0; )
2508
2499
  t = c + t;
2509
- } else
2510
- n === "J" ? t += "H" : t += n;
2500
+ } else n === "J" ? t += "H" : t += n;
2511
2501
  }
2512
2502
  return t;
2513
2503
  }
@@ -3110,8 +3100,7 @@ function It(e) {
3110
3100
  if (delete r.location, xi(r) || Ci(r))
3111
3101
  for (var t in r.options)
3112
3102
  delete r.options[t].location, It(r.options[t].value);
3113
- else
3114
- _i(r) && Ti(r.style) || (Si(r) || Pi(r)) && Ct(r.style) ? delete r.style.location : Ai(r) && It(r.children);
3103
+ else _i(r) && Ti(r.style) || (Si(r) || Pi(r)) && Ct(r.style) ? delete r.style.location : Ai(r) && It(r.children);
3115
3104
  });
3116
3105
  }
3117
3106
  function ys(e, r) {
@@ -4013,8 +4002,7 @@ function ao(e, r) {
4013
4002
  }
4014
4003
  }
4015
4004
  function lo(e, r) {
4016
- if (!e || !r)
4017
- return;
4005
+ if (!e || !r) return;
4018
4006
  const t = new URL(r);
4019
4007
  fetch(t.href).then((i) => i.text()).then((i) => {
4020
4008
  const n = document.createElement("style");
@@ -4024,8 +4012,7 @@ function lo(e, r) {
4024
4012
  });
4025
4013
  }
4026
4014
  function uo(e, r, t, i = !1) {
4027
- if (!window.emMessageBus)
4028
- return;
4015
+ if (!window.emMessageBus) return;
4029
4016
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
4030
4017
  return t = co(e, r), t;
4031
4018
  window[lr] || (window[lr] = {}), t = ho(e, r);
@@ -4046,8 +4033,7 @@ function co(e, r) {
4046
4033
  }
4047
4034
  function ho(e, r) {
4048
4035
  return window.emMessageBus.subscribe(r, (t) => {
4049
- if (!e)
4050
- return;
4036
+ if (!e) return;
4051
4037
  const i = e.getRootNode(), n = window[lr];
4052
4038
  let s = n[r] && n[r].sheet;
4053
4039
  s ? n[r].refCount = n[r].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(t), n[r] = {
@@ -4856,38 +4842,36 @@ function Eo(e, r, t) {
4856
4842
  }, vr = () => {
4857
4843
  ye.promoCode = Ie;
4858
4844
  }, qe = () => {
4859
- if (ye.securityQuestion = ne, ne)
4860
- switch (g) {
4861
- case "true":
4862
- if (Ee.document.test(ne) && ne.length <= 50) {
4863
- t(8, B = !1), C.securityQuestion = !B, se();
4864
- return;
4865
- }
4866
- break;
4867
- case "false":
4868
- if (ne && ne.length <= 120) {
4869
- t(8, B = !1), C.securityQuestion = !B, se();
4870
- return;
4871
- }
4872
- break;
4873
- }
4845
+ if (ye.securityQuestion = ne, ne) switch (g) {
4846
+ case "true":
4847
+ if (Ee.document.test(ne) && ne.length <= 50) {
4848
+ t(8, B = !1), C.securityQuestion = !B, se();
4849
+ return;
4850
+ }
4851
+ break;
4852
+ case "false":
4853
+ if (ne && ne.length <= 120) {
4854
+ t(8, B = !1), C.securityQuestion = !B, se();
4855
+ return;
4856
+ }
4857
+ break;
4858
+ }
4874
4859
  t(8, B = !0), C.securityQuestion = !B, se();
4875
4860
  }, Fe = () => {
4876
- if (ye.securityAnswer = $, $)
4877
- switch (g) {
4878
- case "true":
4879
- if (Ee.document.test($) && $.length <= 50) {
4880
- t(9, L = !1), C.securityAnswer = !L, se();
4881
- return;
4882
- }
4883
- break;
4884
- case "false":
4885
- if ($ && $.length <= 120) {
4886
- t(9, L = !1), C.securityAnswer = !L, se();
4887
- return;
4888
- }
4889
- break;
4890
- }
4861
+ if (ye.securityAnswer = $, $) switch (g) {
4862
+ case "true":
4863
+ if (Ee.document.test($) && $.length <= 50) {
4864
+ t(9, L = !1), C.securityAnswer = !L, se();
4865
+ return;
4866
+ }
4867
+ break;
4868
+ case "false":
4869
+ if ($ && $.length <= 120) {
4870
+ t(9, L = !1), C.securityAnswer = !L, se();
4871
+ return;
4872
+ }
4873
+ break;
4874
+ }
4891
4875
  t(9, L = !0), C.securityAnswer = !L, se();
4892
4876
  }, wr = (p) => {
4893
4877
  p.preventDefault(), window.postMessage(
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerRegisterFormStep1-mFS50elN.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step1")&&customElements.define("general-player-register-form-step1",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerRegisterFormStep1-CDAOav2m.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step1")&&customElements.define("general-player-register-form-step1",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralPlayerRegisterFormStep1-D_Rv_ey4.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralPlayerRegisterFormStep1-DsjQynR9.js").then(({ default: t }) => {
14
14
  !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { G as s } from "../components/GeneralPlayerRegisterFormStep1-CALbASI6.js";
1
+ import { G as s } from "../components/GeneralPlayerRegisterFormStep1-B7kp_Vzy.js";
2
2
  function n(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step1",
3
- "version": "1.99.56",
3
+ "version": "1.99.59",
4
4
  "type": "module",
5
5
  "main": "es2015/general-player-register-form-step1.cjs",
6
6
  "module": "esnext/general-player-register-form-step1.js",