@everymatrix/general-player-register-form-step1 1.60.1 → 1.61.0

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.
@@ -1,17 +1,17 @@
1
- var ji = Object.defineProperty, Vi = Object.defineProperties;
2
- var $i = Object.getOwnPropertyDescriptors;
3
- var Dt = Object.getOwnPropertySymbols;
4
- var Qi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable;
5
- var ht = (e, r, t) => r in e ? ji(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gt = (e, r) => {
1
+ var Di = Object.defineProperty, Gi = Object.defineProperties;
2
+ var ji = Object.getOwnPropertyDescriptors;
3
+ var kt = Object.getOwnPropertySymbols;
4
+ var Vi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable;
5
+ var ht = (e, r, t) => r in e ? Di(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ft = (e, r) => {
6
6
  for (var t in r || (r = {}))
7
- Qi.call(r, t) && ht(e, t, r[t]);
8
- if (Dt)
9
- for (var t of Dt(r))
10
- zi.call(r, t) && ht(e, t, r[t]);
7
+ Vi.call(r, t) && ht(e, t, r[t]);
8
+ if (kt)
9
+ for (var t of kt(r))
10
+ $i.call(r, t) && ht(e, t, r[t]);
11
11
  return e;
12
- }, jt = (e, r) => Vi(e, $i(r));
12
+ }, Dt = (e, r) => Gi(e, ji(r));
13
13
  var me = (e, r, t) => (ht(e, typeof r != "symbol" ? r + "" : r, t), t);
14
- var Vt = (e, r, t) => new Promise((i, n) => {
14
+ var Gt = (e, r, t) => new Promise((i, n) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  l(t.next(h));
@@ -29,25 +29,25 @@ var Vt = (e, r, t) => new Promise((i, n) => {
29
29
  });
30
30
  function z() {
31
31
  }
32
- function mi(e) {
32
+ function fi(e) {
33
33
  return e();
34
34
  }
35
- function $t() {
35
+ function jt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ur(e) {
39
- e.forEach(mi);
39
+ e.forEach(fi);
40
40
  }
41
41
  function Bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function gi(e, r) {
44
+ function di(e, r) {
45
45
  return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Xi(e) {
47
+ function Qi(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function pi(e, ...r) {
50
+ function mi(e, ...r) {
51
51
  if (e == null) {
52
52
  for (const i of r)
53
53
  i(void 0);
@@ -56,20 +56,20 @@ function pi(e, ...r) {
56
56
  const t = e.subscribe(...r);
57
57
  return t.unsubscribe ? () => t.unsubscribe() : t;
58
58
  }
59
- function Zi(e, r, t) {
60
- e.$$.on_destroy.push(pi(r, t));
59
+ function zi(e, r, t) {
60
+ e.$$.on_destroy.push(mi(r, t));
61
61
  }
62
62
  function u(e, r) {
63
63
  e.appendChild(r);
64
64
  }
65
- function Wi(e, r, t) {
66
- const i = qi(e);
65
+ function Xi(e, r, t) {
66
+ const i = Zi(e);
67
67
  if (!i.getElementById(r)) {
68
68
  const n = v("style");
69
- n.id = r, n.textContent = t, Ji(i, n);
69
+ n.id = r, n.textContent = t, Wi(i, n);
70
70
  }
71
71
  }
72
- function qi(e) {
72
+ function Zi(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function qi(e) {
79
79
  r
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Ji(e, r) {
82
+ function Wi(e, r) {
83
83
  return u(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -110,7 +110,7 @@ function x(e, r, t, i) {
110
110
  function o(e, r, t) {
111
111
  t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
112
112
  }
113
- function Yi(e) {
113
+ function qi(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
116
  function D(e, r) {
@@ -120,7 +120,7 @@ function D(e, r) {
120
120
  function te(e, r) {
121
121
  e.value = r == null ? "" : r;
122
122
  }
123
- function Ki(e) {
123
+ function Ji(e) {
124
124
  const r = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -133,20 +133,20 @@ let Br;
133
133
  function Tr(e) {
134
134
  Br = e;
135
135
  }
136
- function en() {
136
+ function Yi() {
137
137
  if (!Br)
138
138
  throw new Error("Function called outside component initialization");
139
139
  return Br;
140
140
  }
141
- function rn(e) {
142
- en().$$.on_mount.push(e);
141
+ function Ki(e) {
142
+ Yi().$$.on_mount.push(e);
143
143
  }
144
144
  const ir = [], Hr = [];
145
145
  let nr = [];
146
- const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
146
+ const Vt = [], en = /* @__PURE__ */ Promise.resolve();
147
147
  let Et = !1;
148
- function nn() {
149
- Et || (Et = !0, tn.then(ye));
148
+ function rn() {
149
+ Et || (Et = !0, en.then(ye));
150
150
  }
151
151
  function vt(e) {
152
152
  nr.push(e);
@@ -161,7 +161,7 @@ function ye() {
161
161
  try {
162
162
  for (; rr < ir.length; ) {
163
163
  const r = ir[rr];
164
- rr++, Tr(r), sn(r.$$);
164
+ rr++, Tr(r), tn(r.$$);
165
165
  }
166
166
  } catch (r) {
167
167
  throw ir.length = 0, rr = 0, r;
@@ -174,40 +174,40 @@ function ye() {
174
174
  }
175
175
  nr.length = 0;
176
176
  } while (ir.length);
177
- for (; Qt.length; )
178
- Qt.pop()();
177
+ for (; Vt.length; )
178
+ Vt.pop()();
179
179
  Et = !1, ft.clear(), Tr(e);
180
180
  }
181
- function sn(e) {
181
+ function tn(e) {
182
182
  if (e.fragment !== null) {
183
183
  e.update(), ur(e.before_update);
184
184
  const r = e.dirty;
185
185
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
186
186
  }
187
187
  }
188
- function on(e) {
188
+ function nn(e) {
189
189
  const r = [], t = [];
190
190
  nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
191
191
  }
192
- const an = /* @__PURE__ */ new Set();
193
- function ln(e, r) {
194
- e && e.i && (an.delete(e), e.i(r));
192
+ const sn = /* @__PURE__ */ new Set();
193
+ function on(e, r) {
194
+ e && e.i && (sn.delete(e), e.i(r));
195
195
  }
196
- function un(e, r, t) {
196
+ function an(e, r, t) {
197
197
  const { fragment: i, after_update: n } = e.$$;
198
198
  i && i.m(r, t), vt(() => {
199
- const s = e.$$.on_mount.map(mi).filter(Bt);
199
+ const s = e.$$.on_mount.map(fi).filter(Bt);
200
200
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
201
201
  }), n.forEach(vt);
202
202
  }
203
- function cn(e, r) {
203
+ function ln(e, r) {
204
204
  const t = e.$$;
205
- t.fragment !== null && (on(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
205
+ t.fragment !== null && (nn(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
206
206
  }
207
- function hn(e, r) {
208
- e.$$.dirty[0] === -1 && (ir.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
207
+ function un(e, r) {
208
+ e.$$.dirty[0] === -1 && (ir.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
209
209
  }
210
- function fn(e, r, t, i, n, s, a = null, l = [-1]) {
210
+ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
211
211
  const h = Br;
212
212
  Tr(e);
213
213
  const c = e.$$ = {
@@ -217,7 +217,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
217
217
  props: s,
218
218
  update: z,
219
219
  not_equal: n,
220
- bound: $t(),
220
+ bound: jt(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,7 +226,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(r.context || (h ? h.$$.context : [])),
228
228
  // everything else
229
- callbacks: $t(),
229
+ callbacks: jt(),
230
230
  dirty: l,
231
231
  skip_bound: !1,
232
232
  root: r.target || h.$$.root
@@ -235,19 +235,19 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
235
235
  let f = !1;
236
236
  if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
237
237
  const w = b.length ? b[0] : g;
238
- return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && hn(e, m)), g;
238
+ return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && un(e, m)), g;
239
239
  }) : [], c.update(), f = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
240
240
  if (r.hydrate) {
241
- const m = Yi(r.target);
241
+ const m = qi(r.target);
242
242
  c.fragment && c.fragment.l(m), m.forEach(ie);
243
243
  } else
244
244
  c.fragment && c.fragment.c();
245
- r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), ye();
245
+ r.intro && on(e.$$.fragment), an(e, r.target, r.anchor), ye();
246
246
  }
247
247
  Tr(h);
248
248
  }
249
- let bi;
250
- typeof HTMLElement == "function" && (bi = class extends HTMLElement {
249
+ let gi;
250
+ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
251
251
  constructor(r, t, i) {
252
252
  super();
253
253
  /** The Svelte component constructor */
@@ -284,7 +284,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return Vt(this, null, function* () {
287
+ return Gt(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let r = function(s) {
290
290
  return () => {
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const t = {}, i = Ki(this);
311
+ const t = {}, i = Ji(this);
312
312
  for (const s of this.$$s)
313
313
  s in i && (t[s] = [r(s)]);
314
314
  for (const s of this.attributes) {
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
319
319
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: jt(Gt({}, this.$$d), {
322
+ props: Dt(Ft({}, this.$$d), {
323
323
  $$slots: t,
324
324
  $$scope: {
325
325
  ctx: []
@@ -397,8 +397,8 @@ function Kr(e, r, t, i) {
397
397
  return r;
398
398
  }
399
399
  }
400
- function dn(e, r, t, i, n, s) {
401
- let a = class extends bi {
400
+ function hn(e, r, t, i, n, s) {
401
+ let a = class extends gi {
402
402
  constructor() {
403
403
  super(e, t, n), this.$$p_d = r;
404
404
  }
@@ -428,7 +428,7 @@ function dn(e, r, t, i, n, s) {
428
428
  }), e.element = /** @type {any} */
429
429
  a, a;
430
430
  }
431
- class mn {
431
+ class fn {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -449,7 +449,7 @@ class mn {
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- cn(this, 1), this.$destroy = z;
452
+ ln(this, 1), this.$destroy = z;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -471,13 +471,13 @@ class mn {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(r) {
474
- this.$$set && !Xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
474
+ this.$$set && !Qi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
- const gn = "4";
478
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
477
+ const dn = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
479
479
  const tr = [];
480
- function pn(e, r) {
480
+ function mn(e, r) {
481
481
  return {
482
482
  subscribe: nt(e, r).subscribe
483
483
  };
@@ -486,7 +486,7 @@ function nt(e, r = z) {
486
486
  let t;
487
487
  const i = /* @__PURE__ */ new Set();
488
488
  function n(l) {
489
- if (gi(e, l) && (e = l, t)) {
489
+ if (di(e, l) && (e = l, t)) {
490
490
  const h = !tr.length;
491
491
  for (const c of i)
492
492
  c[1](), tr.push(c, e);
@@ -513,7 +513,7 @@ function cr(e, r, t) {
513
513
  if (!n.every(Boolean))
514
514
  throw new Error("derived() expects stores as input, got a falsy value");
515
515
  const s = r.length < 2;
516
- return pn(t, (a, l) => {
516
+ return mn(t, (a, l) => {
517
517
  let h = !1;
518
518
  const c = [];
519
519
  let f = 0, m = z;
@@ -524,7 +524,7 @@ function cr(e, r, t) {
524
524
  const w = r(i ? c[0] : c, a, l);
525
525
  s ? a(w) : m = Bt(w) ? w : z;
526
526
  }, b = n.map(
527
- (w, E) => pi(
527
+ (w, E) => mi(
528
528
  w,
529
529
  (A) => {
530
530
  c[E] = A, f &= ~(1 << E), h && g();
@@ -539,70 +539,70 @@ function cr(e, r, t) {
539
539
  };
540
540
  });
541
541
  }
542
- function bn(e) {
542
+ function gn(e) {
543
543
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
544
544
  }
545
- var yn = function(r) {
546
- return En(r) && !vn(r);
545
+ var pn = function(r) {
546
+ return bn(r) && !yn(r);
547
547
  };
548
- function En(e) {
548
+ function bn(e) {
549
549
  return !!e && typeof e == "object";
550
550
  }
551
- function vn(e) {
551
+ function yn(e) {
552
552
  var r = Object.prototype.toString.call(e);
553
- return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
553
+ return r === "[object RegExp]" || r === "[object Date]" || wn(e);
554
554
  }
555
- var wn = typeof Symbol == "function" && Symbol.for, _n = wn ? Symbol.for("react.element") : 60103;
556
- function Sn(e) {
557
- return e.$$typeof === _n;
555
+ var En = typeof Symbol == "function" && Symbol.for, vn = En ? Symbol.for("react.element") : 60103;
556
+ function wn(e) {
557
+ return e.$$typeof === vn;
558
558
  }
559
- function Pn(e) {
559
+ function _n(e) {
560
560
  return Array.isArray(e) ? [] : {};
561
561
  }
562
562
  function Ir(e, r) {
563
- return r.clone !== !1 && r.isMergeableObject(e) ? sr(Pn(e), e, r) : e;
563
+ return r.clone !== !1 && r.isMergeableObject(e) ? sr(_n(e), e, r) : e;
564
564
  }
565
- function xn(e, r, t) {
565
+ function Sn(e, r, t) {
566
566
  return e.concat(r).map(function(i) {
567
567
  return Ir(i, t);
568
568
  });
569
569
  }
570
- function Cn(e, r) {
570
+ function Pn(e, r) {
571
571
  if (!r.customMerge)
572
572
  return sr;
573
573
  var t = r.customMerge(e);
574
574
  return typeof t == "function" ? t : sr;
575
575
  }
576
- function An(e) {
576
+ function xn(e) {
577
577
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
578
578
  return Object.propertyIsEnumerable.call(e, r);
579
579
  }) : [];
580
580
  }
581
- function zt(e) {
582
- return Object.keys(e).concat(An(e));
581
+ function $t(e) {
582
+ return Object.keys(e).concat(xn(e));
583
583
  }
584
- function yi(e, r) {
584
+ function pi(e, r) {
585
585
  try {
586
586
  return r in e;
587
587
  } catch (t) {
588
588
  return !1;
589
589
  }
590
590
  }
591
- function Tn(e, r) {
592
- return yi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
591
+ function Cn(e, r) {
592
+ return pi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
593
593
  }
594
- function Hn(e, r, t) {
594
+ function An(e, r, t) {
595
595
  var i = {};
596
- return t.isMergeableObject(e) && zt(e).forEach(function(n) {
596
+ return t.isMergeableObject(e) && $t(e).forEach(function(n) {
597
597
  i[n] = Ir(e[n], t);
598
- }), zt(r).forEach(function(n) {
599
- Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] = Ir(r[n], t));
598
+ }), $t(r).forEach(function(n) {
599
+ Cn(e, n) || (pi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Pn(n, t)(e[n], r[n], t) : i[n] = Ir(r[n], t));
600
600
  }), i;
601
601
  }
602
602
  function sr(e, r, t) {
603
- t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Ir;
603
+ t = t || {}, t.arrayMerge = t.arrayMerge || Sn, t.isMergeableObject = t.isMergeableObject || pn, t.cloneUnlessOtherwiseSpecified = Ir;
604
604
  var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
605
- return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Ir(r, t);
605
+ return s ? i ? t.arrayMerge(e, r, t) : An(e, r, t) : Ir(r, t);
606
606
  }
607
607
  sr.all = function(r, t) {
608
608
  if (!Array.isArray(r))
@@ -611,8 +611,8 @@ sr.all = function(r, t) {
611
611
  return sr(i, n, t);
612
612
  }, {});
613
613
  };
614
- var Bn = sr, In = Bn;
615
- const Nn = /* @__PURE__ */ bn(In);
614
+ var Tn = sr, Hn = Tn;
615
+ const Bn = /* @__PURE__ */ gn(Hn);
616
616
  /*! *****************************************************************************
617
617
  Copyright (c) Microsoft Corporation.
618
618
 
@@ -654,7 +654,7 @@ var T = function() {
654
654
  return r;
655
655
  }, T.apply(this, arguments);
656
656
  };
657
- function On(e, r) {
657
+ function In(e, r) {
658
658
  var t = {};
659
659
  for (var i in e)
660
660
  Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
@@ -670,55 +670,53 @@ function dt(e, r, t) {
670
670
  return e.concat(s || r);
671
671
  }
672
672
  function mt(e, r) {
673
- var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
673
+ var t = r && r.cache ? r.cache : kn, i = r && r.serializer ? r.serializer : Rn, n = r && r.strategy ? r.strategy : Ln;
674
674
  return n(e, {
675
675
  cache: t,
676
676
  serializer: i
677
677
  });
678
678
  }
679
- function Ln(e) {
679
+ function Nn(e) {
680
680
  return e == null || typeof e == "number" || typeof e == "boolean";
681
681
  }
682
- function Ei(e, r, t, i) {
683
- var n = Ln(i) ? i : t(i), s = r.get(n);
682
+ function On(e, r, t, i) {
683
+ var n = Nn(i) ? i : t(i), s = r.get(n);
684
684
  return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
685
685
  }
686
- function vi(e, r, t) {
686
+ function bi(e, r, t) {
687
687
  var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
688
688
  return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
689
689
  }
690
- function It(e, r, t, i, n) {
690
+ function yi(e, r, t, i, n) {
691
691
  return t.bind(r, e, i, n);
692
692
  }
693
- function Mn(e, r) {
694
- var t = e.length === 1 ? Ei : vi;
695
- return It(e, this, t, r.cache.create(), r.serializer);
696
- }
697
- function Rn(e, r) {
698
- return It(e, this, vi, r.cache.create(), r.serializer);
693
+ function Ln(e, r) {
694
+ var t = e.length === 1 ? On : bi;
695
+ return yi(e, this, t, r.cache.create(), r.serializer);
699
696
  }
700
- function Un(e, r) {
701
- return It(e, this, Ei, r.cache.create(), r.serializer);
697
+ function Mn(e, r) {
698
+ return yi(e, this, bi, r.cache.create(), r.serializer);
702
699
  }
703
- var kn = function() {
700
+ var Rn = function() {
704
701
  return JSON.stringify(arguments);
705
- };
706
- function Nt() {
707
- this.cache = /* @__PURE__ */ Object.create(null);
708
- }
709
- Nt.prototype.get = function(e) {
710
- return this.cache[e];
711
- };
712
- Nt.prototype.set = function(e, r) {
713
- this.cache[e] = r;
714
- };
715
- var Fn = {
702
+ }, Un = (
703
+ /** @class */
704
+ function() {
705
+ function e() {
706
+ this.cache = /* @__PURE__ */ Object.create(null);
707
+ }
708
+ return e.prototype.get = function(r) {
709
+ return this.cache[r];
710
+ }, e.prototype.set = function(r, t) {
711
+ this.cache[r] = t;
712
+ }, e;
713
+ }()
714
+ ), kn = {
716
715
  create: function() {
717
- return new Nt();
716
+ return new Un();
718
717
  }
719
718
  }, gt = {
720
- variadic: Rn,
721
- monadic: Un
719
+ variadic: Mn
722
720
  }, S;
723
721
  (function(e) {
724
722
  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";
@@ -731,43 +729,43 @@ var or;
731
729
  (function(e) {
732
730
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
733
731
  })(or || (or = {}));
734
- function Xt(e) {
732
+ function Qt(e) {
735
733
  return e.type === L.literal;
736
734
  }
737
- function Dn(e) {
735
+ function Fn(e) {
738
736
  return e.type === L.argument;
739
737
  }
740
- function wi(e) {
738
+ function Ei(e) {
741
739
  return e.type === L.number;
742
740
  }
743
- function _i(e) {
741
+ function vi(e) {
744
742
  return e.type === L.date;
745
743
  }
746
- function Si(e) {
744
+ function wi(e) {
747
745
  return e.type === L.time;
748
746
  }
749
- function Pi(e) {
747
+ function _i(e) {
750
748
  return e.type === L.select;
751
749
  }
752
- function xi(e) {
750
+ function Si(e) {
753
751
  return e.type === L.plural;
754
752
  }
755
- function Gn(e) {
753
+ function Dn(e) {
756
754
  return e.type === L.pound;
757
755
  }
758
- function Ci(e) {
756
+ function Pi(e) {
759
757
  return e.type === L.tag;
760
758
  }
761
- function Ai(e) {
759
+ function xi(e) {
762
760
  return !!(e && typeof e == "object" && e.type === or.number);
763
761
  }
764
762
  function _t(e) {
765
763
  return !!(e && typeof e == "object" && e.type === or.dateTime);
766
764
  }
767
- var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
768
- function Vn(e) {
765
+ var Ci = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
766
+ function jn(e) {
769
767
  var r = {};
770
- return e.replace(jn, function(t) {
768
+ return e.replace(Gn, function(t) {
771
769
  var i = t.length;
772
770
  switch (t[0]) {
773
771
  case "G":
@@ -856,11 +854,11 @@ function Vn(e) {
856
854
  return "";
857
855
  }), r;
858
856
  }
859
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
860
- function Qn(e) {
857
+ var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
+ function $n(e) {
861
859
  if (e.length === 0)
862
860
  throw new Error("Number skeleton cannot be empty");
863
- for (var r = e.split($n).filter(function(g) {
861
+ for (var r = e.split(Vn).filter(function(g) {
864
862
  return g.length > 0;
865
863
  }), t = [], i = 0, n = r; i < n.length; i++) {
866
864
  var s = n[i], a = s.split("/");
@@ -875,17 +873,17 @@ function Qn(e) {
875
873
  }
876
874
  return t;
877
875
  }
878
- function zn(e) {
876
+ function Qn(e) {
879
877
  return e.replace(/^(.*?)-/, "");
880
878
  }
881
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Bi = /^(0+)$/;
882
- function Wt(e) {
879
+ var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ai = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ti = /^(0+)$/;
880
+ function Xt(e) {
883
881
  var r = {};
884
- return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
882
+ return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Ai, function(t, i, n) {
885
883
  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)), "";
886
884
  }), r;
887
885
  }
888
- function Ii(e) {
886
+ function Hi(e) {
889
887
  switch (e) {
890
888
  case "sign-auto":
891
889
  return {
@@ -925,7 +923,7 @@ function Ii(e) {
925
923
  };
926
924
  }
927
925
  }
928
- function Zn(e) {
926
+ function Xn(e) {
929
927
  var r;
930
928
  if (e[0] === "E" && e[1] === "E" ? (r = {
931
929
  notation: "engineering"
@@ -933,17 +931,17 @@ function Zn(e) {
933
931
  notation: "scientific"
934
932
  }, e = e.slice(1)), r) {
935
933
  var t = e.slice(0, 2);
936
- if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Bi.test(e))
934
+ if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Ti.test(e))
937
935
  throw new Error("Malformed concise eng/scientific notation");
938
936
  r.minimumIntegerDigits = e.length;
939
937
  }
940
938
  return r;
941
939
  }
942
- function qt(e) {
943
- var r = {}, t = Ii(e);
940
+ function Zt(e) {
941
+ var r = {}, t = Hi(e);
944
942
  return t || r;
945
943
  }
946
- function Wn(e) {
944
+ function Zn(e) {
947
945
  for (var r = {}, t = 0, i = e; t < i.length; t++) {
948
946
  var n = i[t];
949
947
  switch (n.stem) {
@@ -967,7 +965,7 @@ function Wn(e) {
967
965
  continue;
968
966
  case "measure-unit":
969
967
  case "unit":
970
- r.style = "unit", r.unit = zn(n.options[0]);
968
+ r.style = "unit", r.unit = Qn(n.options[0]);
971
969
  continue;
972
970
  case "compact-short":
973
971
  case "K":
@@ -979,12 +977,12 @@ function Wn(e) {
979
977
  continue;
980
978
  case "scientific":
981
979
  r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
982
- return T(T({}, h), qt(c));
980
+ return T(T({}, h), Zt(c));
983
981
  }, {}));
984
982
  continue;
985
983
  case "engineering":
986
984
  r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
987
- return T(T({}, h), qt(c));
985
+ return T(T({}, h), Zt(c));
988
986
  }, {}));
989
987
  continue;
990
988
  case "notation-simple":
@@ -1029,7 +1027,7 @@ function Wn(e) {
1029
1027
  case "integer-width":
1030
1028
  if (n.options.length > 1)
1031
1029
  throw new RangeError("integer-width stems only accept a single optional option");
1032
- n.options[0].replace(Xn, function(h, c, f, m, g, b) {
1030
+ n.options[0].replace(zn, function(h, c, f, m, g, b) {
1033
1031
  if (c)
1034
1032
  r.minimumIntegerDigits = f.length;
1035
1033
  else {
@@ -1042,27 +1040,27 @@ function Wn(e) {
1042
1040
  });
1043
1041
  continue;
1044
1042
  }
1045
- if (Bi.test(n.stem)) {
1043
+ if (Ti.test(n.stem)) {
1046
1044
  r.minimumIntegerDigits = n.stem.length;
1047
1045
  continue;
1048
1046
  }
1049
- if (Zt.test(n.stem)) {
1047
+ if (zt.test(n.stem)) {
1050
1048
  if (n.options.length > 1)
1051
1049
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1052
- n.stem.replace(Zt, function(h, c, f, m, g, b) {
1050
+ n.stem.replace(zt, function(h, c, f, m, g, b) {
1053
1051
  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), "";
1054
1052
  });
1055
1053
  var s = n.options[0];
1056
- s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Wt(s)));
1054
+ s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Xt(s)));
1057
1055
  continue;
1058
1056
  }
1059
- if (Hi.test(n.stem)) {
1060
- r = T(T({}, r), Wt(n.stem));
1057
+ if (Ai.test(n.stem)) {
1058
+ r = T(T({}, r), Xt(n.stem));
1061
1059
  continue;
1062
1060
  }
1063
- var a = Ii(n.stem);
1061
+ var a = Hi(n.stem);
1064
1062
  a && (r = T(T({}, r), a));
1065
- var l = Zn(n.stem);
1063
+ var l = Xn(n.stem);
1066
1064
  l && (r = T(T({}, r), l));
1067
1065
  }
1068
1066
  return r;
@@ -2482,13 +2480,13 @@ var Yr = {
2482
2480
  "h"
2483
2481
  ]
2484
2482
  };
2485
- function qn(e, r) {
2483
+ function Wn(e, r) {
2486
2484
  for (var t = "", i = 0; i < e.length; i++) {
2487
2485
  var n = e.charAt(i);
2488
2486
  if (n === "j") {
2489
2487
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2490
2488
  s++, i++;
2491
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
2489
+ var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = qn(r);
2492
2490
  for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
2493
2491
  t += h;
2494
2492
  for (; a-- > 0; )
@@ -2498,7 +2496,7 @@ function qn(e, r) {
2498
2496
  }
2499
2497
  return t;
2500
2498
  }
2501
- function Jn(e) {
2499
+ function qn(e) {
2502
2500
  var r = e.hourCycle;
2503
2501
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2504
2502
  e.hourCycles && // @ts-ignore
@@ -2520,20 +2518,20 @@ function Jn(e) {
2520
2518
  var n = Yr[i || ""] || Yr[t || ""] || Yr["".concat(t, "-001")] || Yr["001"];
2521
2519
  return n[0];
2522
2520
  }
2523
- var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
2521
+ var pt, Jn = new RegExp("^".concat(Ci.source, "*")), Yn = new RegExp("".concat(Ci.source, "*$"));
2524
2522
  function P(e, r) {
2525
2523
  return { start: e, end: r };
2526
2524
  }
2527
- var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, os = !!Number.isSafeInteger, as = os ? Number.isSafeInteger : function(e) {
2525
+ var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), es = !!String.fromCodePoint, rs = !!Object.fromEntries, ts = !!String.prototype.codePointAt, is = !!String.prototype.trimStart, ns = !!String.prototype.trimEnd, ss = !!Number.isSafeInteger, os = ss ? Number.isSafeInteger : function(e) {
2528
2526
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2529
2527
  }, St = !0;
2530
2528
  try {
2531
- var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2532
- St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2529
+ var as = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
+ St = ((pt = as.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2533
2531
  } catch (e) {
2534
2532
  St = !1;
2535
2533
  }
2536
- var Jt = es ? (
2534
+ var Wt = Kn ? (
2537
2535
  // Native
2538
2536
  function(r, t, i) {
2539
2537
  return r.startsWith(t, i);
@@ -2543,7 +2541,7 @@ var Jt = es ? (
2543
2541
  function(r, t, i) {
2544
2542
  return r.slice(i, i + t.length) === t;
2545
2543
  }
2546
- ), Pt = rs ? String.fromCodePoint : (
2544
+ ), Pt = es ? String.fromCodePoint : (
2547
2545
  // IE11
2548
2546
  function() {
2549
2547
  for (var r = [], t = 0; t < arguments.length; t++)
@@ -2555,9 +2553,9 @@ var Jt = es ? (
2555
2553
  }
2556
2554
  return i;
2557
2555
  }
2558
- ), Yt = (
2556
+ ), qt = (
2559
2557
  // native
2560
- ts ? Object.fromEntries : (
2558
+ rs ? Object.fromEntries : (
2561
2559
  // Ponyfill
2562
2560
  function(r) {
2563
2561
  for (var t = {}, i = 0, n = r; i < n.length; i++) {
@@ -2567,7 +2565,7 @@ var Jt = es ? (
2567
2565
  return t;
2568
2566
  }
2569
2567
  )
2570
- ), Ni = is ? (
2568
+ ), Bi = ts ? (
2571
2569
  // Native
2572
2570
  function(r, t) {
2573
2571
  return r.codePointAt(t);
@@ -2581,7 +2579,7 @@ var Jt = es ? (
2581
2579
  return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2582
2580
  }
2583
2581
  }
2584
- ), us = ns ? (
2582
+ ), ls = is ? (
2585
2583
  // Native
2586
2584
  function(r) {
2587
2585
  return r.trimStart();
@@ -2589,9 +2587,9 @@ var Jt = es ? (
2589
2587
  ) : (
2590
2588
  // Ponyfill
2591
2589
  function(r) {
2592
- return r.replace(Yn, "");
2590
+ return r.replace(Jn, "");
2593
2591
  }
2594
- ), cs = ss ? (
2592
+ ), us = ns ? (
2595
2593
  // Native
2596
2594
  function(r) {
2597
2595
  return r.trimEnd();
@@ -2599,32 +2597,32 @@ var Jt = es ? (
2599
2597
  ) : (
2600
2598
  // Ponyfill
2601
2599
  function(r) {
2602
- return r.replace(Kn, "");
2600
+ return r.replace(Yn, "");
2603
2601
  }
2604
2602
  );
2605
- function Oi(e, r) {
2603
+ function Ii(e, r) {
2606
2604
  return new RegExp(e, r);
2607
2605
  }
2608
2606
  var xt;
2609
2607
  if (St) {
2610
- var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2608
+ var Jt = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2611
2609
  xt = function(r, t) {
2612
2610
  var i;
2613
- Kt.lastIndex = t;
2614
- var n = Kt.exec(r);
2611
+ Jt.lastIndex = t;
2612
+ var n = Jt.exec(r);
2615
2613
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2616
2614
  };
2617
2615
  } else
2618
2616
  xt = function(r, t) {
2619
2617
  for (var i = []; ; ) {
2620
- var n = Ni(r, t);
2621
- if (n === void 0 || Li(n) || ms(n))
2618
+ var n = Bi(r, t);
2619
+ if (n === void 0 || Ni(n) || ds(n))
2622
2620
  break;
2623
2621
  i.push(n), t += n >= 65536 ? 2 : 1;
2624
2622
  }
2625
2623
  return Pt.apply(void 0, i);
2626
2624
  };
2627
- var hs = (
2625
+ var cs = (
2628
2626
  /** @class */
2629
2627
  function() {
2630
2628
  function e(r, t) {
@@ -2706,7 +2704,7 @@ var hs = (
2706
2704
  return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
2707
2705
  }, e.prototype.parseTagName = function() {
2708
2706
  var r = this.offset();
2709
- for (this.bump(); !this.isEOF() && ds(this.char()); )
2707
+ for (this.bump(); !this.isEOF() && fs(this.char()); )
2710
2708
  this.bump();
2711
2709
  return this.message.slice(r, this.offset());
2712
2710
  }, e.prototype.parseLiteral = function(r, t) {
@@ -2735,7 +2733,7 @@ var hs = (
2735
2733
  };
2736
2734
  }, e.prototype.tryParseLeftAngleBracket = function() {
2737
2735
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2738
- !fs(this.peek() || 0)) ? (this.bump(), "<") : null;
2736
+ !hs(this.peek() || 0)) ? (this.bump(), "<") : null;
2739
2737
  }, e.prototype.tryParseQuote = function(r) {
2740
2738
  if (this.isEOF() || this.char() !== 39)
2741
2739
  return null;
@@ -2822,7 +2820,7 @@ var hs = (
2822
2820
  var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2823
2821
  if (m.err)
2824
2822
  return m;
2825
- var g = cs(m.val);
2823
+ var g = us(m.val);
2826
2824
  if (g.length === 0)
2827
2825
  return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2828
2826
  var b = P(f, this.clonePosition());
@@ -2832,8 +2830,8 @@ var hs = (
2832
2830
  if (w.err)
2833
2831
  return w;
2834
2832
  var E = P(n, this.clonePosition());
2835
- if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
2836
- var A = us(c.style.slice(2));
2833
+ if (c && Wt(c == null ? void 0 : c.style, "::", 0)) {
2834
+ var A = ls(c.style.slice(2));
2837
2835
  if (l === "number") {
2838
2836
  var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
2839
2837
  return m.err ? m : {
@@ -2844,12 +2842,12 @@ var hs = (
2844
2842
  if (A.length === 0)
2845
2843
  return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
2846
2844
  var O = A;
2847
- this.locale && (O = qn(A, this.locale));
2845
+ this.locale && (O = Wn(A, this.locale));
2848
2846
  var g = {
2849
2847
  type: or.dateTime,
2850
2848
  pattern: O,
2851
2849
  location: c.styleLocation,
2852
- parsedOptions: this.shouldParseSkeletons ? Vn(O) : {}
2850
+ parsedOptions: this.shouldParseSkeletons ? jn(O) : {}
2853
2851
  }, M = l === "date" ? L.date : L.time;
2854
2852
  return {
2855
2853
  val: { type: M, value: i, location: E, style: g },
@@ -2895,7 +2893,7 @@ var hs = (
2895
2893
  val: {
2896
2894
  type: L.select,
2897
2895
  value: i,
2898
- options: Yt(ge.val),
2896
+ options: qt(ge.val),
2899
2897
  location: U
2900
2898
  },
2901
2899
  err: null
@@ -2903,7 +2901,7 @@ var hs = (
2903
2901
  val: {
2904
2902
  type: L.plural,
2905
2903
  value: i,
2906
- options: Yt(ge.val),
2904
+ options: qt(ge.val),
2907
2905
  offset: G,
2908
2906
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2909
2907
  location: U
@@ -2954,7 +2952,7 @@ var hs = (
2954
2952
  }, e.prototype.parseNumberSkeletonFromString = function(r, t) {
2955
2953
  var i = [];
2956
2954
  try {
2957
- i = Qn(r);
2955
+ i = $n(r);
2958
2956
  } catch (n) {
2959
2957
  return this.error(S.INVALID_NUMBER_SKELETON, t);
2960
2958
  }
@@ -2963,7 +2961,7 @@ var hs = (
2963
2961
  type: or.number,
2964
2962
  tokens: i,
2965
2963
  location: t,
2966
- parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
2964
+ parsedOptions: this.shouldParseSkeletons ? Zn(i) : {}
2967
2965
  },
2968
2966
  err: null
2969
2967
  };
@@ -3011,7 +3009,7 @@ var hs = (
3011
3009
  break;
3012
3010
  }
3013
3011
  var h = P(n, this.clonePosition());
3014
- return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
3012
+ return s ? (a *= i, os(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
3015
3013
  }, e.prototype.offset = function() {
3016
3014
  return this.position.offset;
3017
3015
  }, e.prototype.isEOF = function() {
@@ -3026,7 +3024,7 @@ var hs = (
3026
3024
  var r = this.position.offset;
3027
3025
  if (r >= this.message.length)
3028
3026
  throw Error("out of bound");
3029
- var t = Ni(this.message, r);
3027
+ var t = Bi(this.message, r);
3030
3028
  if (t === void 0)
3031
3029
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
3032
3030
  return t;
@@ -3045,7 +3043,7 @@ var hs = (
3045
3043
  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);
3046
3044
  }
3047
3045
  }, e.prototype.bumpIf = function(r) {
3048
- if (Jt(this.message, r, this.offset())) {
3046
+ if (Wt(this.message, r, this.offset())) {
3049
3047
  for (var t = 0; t < r.length; t++)
3050
3048
  this.bump();
3051
3049
  return !0;
@@ -3067,7 +3065,7 @@ var hs = (
3067
3065
  break;
3068
3066
  }
3069
3067
  }, e.prototype.bumpSpace = function() {
3070
- for (; !this.isEOF() && Li(this.char()); )
3068
+ for (; !this.isEOF() && Ni(this.char()); )
3071
3069
  this.bump();
3072
3070
  }, e.prototype.peek = function() {
3073
3071
  if (this.isEOF())
@@ -3080,30 +3078,30 @@ var hs = (
3080
3078
  function Ct(e) {
3081
3079
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3082
3080
  }
3083
- function fs(e) {
3081
+ function hs(e) {
3084
3082
  return Ct(e) || e === 47;
3085
3083
  }
3086
- function ds(e) {
3084
+ function fs(e) {
3087
3085
  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;
3088
3086
  }
3089
- function Li(e) {
3087
+ function Ni(e) {
3090
3088
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3091
3089
  }
3092
- function ms(e) {
3090
+ function ds(e) {
3093
3091
  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;
3094
3092
  }
3095
3093
  function At(e) {
3096
3094
  e.forEach(function(r) {
3097
- if (delete r.location, Pi(r) || xi(r))
3095
+ if (delete r.location, _i(r) || Si(r))
3098
3096
  for (var t in r.options)
3099
3097
  delete r.options[t].location, At(r.options[t].value);
3100
3098
  else
3101
- wi(r) && Ai(r.style) || (_i(r) || Si(r)) && _t(r.style) ? delete r.style.location : Ci(r) && At(r.children);
3099
+ Ei(r) && xi(r.style) || (vi(r) || wi(r)) && _t(r.style) ? delete r.style.location : Pi(r) && At(r.children);
3102
3100
  });
3103
3101
  }
3104
- function gs(e, r) {
3102
+ function ms(e, r) {
3105
3103
  r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
3106
- var t = new hs(e, r).parse();
3104
+ var t = new cs(e, r).parse();
3107
3105
  if (t.err) {
3108
3106
  var i = SyntaxError(S[t.err.kind]);
3109
3107
  throw i.location = t.err.location, i.originalMessage = t.err.message, i;
@@ -3126,7 +3124,7 @@ var ot = (
3126
3124
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3127
3125
  }, r;
3128
3126
  }(Error)
3129
- ), ei = (
3127
+ ), Yt = (
3130
3128
  /** @class */
3131
3129
  function(e) {
3132
3130
  st(r, e);
@@ -3135,7 +3133,7 @@ var ot = (
3135
3133
  }
3136
3134
  return r;
3137
3135
  }(ot)
3138
- ), ps = (
3136
+ ), gs = (
3139
3137
  /** @class */
3140
3138
  function(e) {
3141
3139
  st(r, e);
@@ -3144,7 +3142,7 @@ var ot = (
3144
3142
  }
3145
3143
  return r;
3146
3144
  }(ot)
3147
- ), bs = (
3145
+ ), ps = (
3148
3146
  /** @class */
3149
3147
  function(e) {
3150
3148
  st(r, e);
@@ -3157,17 +3155,17 @@ var ot = (
3157
3155
  (function(e) {
3158
3156
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3159
3157
  })(Q || (Q = {}));
3160
- function ys(e) {
3158
+ function bs(e) {
3161
3159
  return e.length < 2 ? e : e.reduce(function(r, t) {
3162
3160
  var i = r[r.length - 1];
3163
3161
  return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
3164
3162
  }, []);
3165
3163
  }
3166
- function Es(e) {
3164
+ function ys(e) {
3167
3165
  return typeof e == "function";
3168
3166
  }
3169
3167
  function et(e, r, t, i, n, s, a) {
3170
- if (e.length === 1 && Xt(e[0]))
3168
+ if (e.length === 1 && Qt(e[0]))
3171
3169
  return [
3172
3170
  {
3173
3171
  type: Q.literal,
@@ -3176,14 +3174,14 @@ function et(e, r, t, i, n, s, a) {
3176
3174
  ];
3177
3175
  for (var l = [], h = 0, c = e; h < c.length; h++) {
3178
3176
  var f = c[h];
3179
- if (Xt(f)) {
3177
+ if (Qt(f)) {
3180
3178
  l.push({
3181
3179
  type: Q.literal,
3182
3180
  value: f.value
3183
3181
  });
3184
3182
  continue;
3185
3183
  }
3186
- if (Gn(f)) {
3184
+ if (Dn(f)) {
3187
3185
  typeof s == "number" && l.push({
3188
3186
  type: Q.literal,
3189
3187
  value: t.getNumberFormat(r).format(s)
@@ -3192,16 +3190,16 @@ function et(e, r, t, i, n, s, a) {
3192
3190
  }
3193
3191
  var m = f.value;
3194
3192
  if (!(n && m in n))
3195
- throw new bs(m, a);
3193
+ throw new ps(m, a);
3196
3194
  var g = n[m];
3197
- if (Dn(f)) {
3195
+ if (Fn(f)) {
3198
3196
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
3199
3197
  type: typeof g == "string" ? Q.literal : Q.object,
3200
3198
  value: g
3201
3199
  });
3202
3200
  continue;
3203
3201
  }
3204
- if (_i(f)) {
3202
+ if (vi(f)) {
3205
3203
  var b = typeof f.style == "string" ? i.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
3206
3204
  l.push({
3207
3205
  type: Q.literal,
@@ -3209,7 +3207,7 @@ function et(e, r, t, i, n, s, a) {
3209
3207
  });
3210
3208
  continue;
3211
3209
  }
3212
- if (Si(f)) {
3210
+ if (wi(f)) {
3213
3211
  var b = typeof f.style == "string" ? i.time[f.style] : _t(f.style) ? f.style.parsedOptions : i.time.medium;
3214
3212
  l.push({
3215
3213
  type: Q.literal,
@@ -3217,18 +3215,18 @@ function et(e, r, t, i, n, s, a) {
3217
3215
  });
3218
3216
  continue;
3219
3217
  }
3220
- if (wi(f)) {
3221
- var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
3218
+ if (Ei(f)) {
3219
+ var b = typeof f.style == "string" ? i.number[f.style] : xi(f.style) ? f.style.parsedOptions : void 0;
3222
3220
  b && b.scale && (g = g * (b.scale || 1)), l.push({
3223
3221
  type: Q.literal,
3224
3222
  value: t.getNumberFormat(r, b).format(g)
3225
3223
  });
3226
3224
  continue;
3227
3225
  }
3228
- if (Ci(f)) {
3226
+ if (Pi(f)) {
3229
3227
  var w = f.children, E = f.value, A = n[E];
3230
- if (!Es(A))
3231
- throw new ps(E, "function", a);
3228
+ if (!ys(A))
3229
+ throw new gs(E, "function", a);
3232
3230
  var O = et(w, r, t, i, n, s), M = A(O.map(function(G) {
3233
3231
  return G.value;
3234
3232
  }));
@@ -3239,14 +3237,14 @@ function et(e, r, t, i, n, s, a) {
3239
3237
  };
3240
3238
  }));
3241
3239
  }
3242
- if (Pi(f)) {
3240
+ if (_i(f)) {
3243
3241
  var R = f.options[g] || f.options.other;
3244
3242
  if (!R)
3245
- throw new ei(f.value, g, Object.keys(f.options), a);
3243
+ throw new Yt(f.value, g, Object.keys(f.options), a);
3246
3244
  l.push.apply(l, et(R.value, r, t, i, n));
3247
3245
  continue;
3248
3246
  }
3249
- if (xi(f)) {
3247
+ if (Si(f)) {
3250
3248
  var R = f.options["=".concat(g)];
3251
3249
  if (!R) {
3252
3250
  if (!Intl.PluralRules)
@@ -3257,21 +3255,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3257
3255
  R = f.options[ce] || f.options.other;
3258
3256
  }
3259
3257
  if (!R)
3260
- throw new ei(f.value, g, Object.keys(f.options), a);
3258
+ throw new Yt(f.value, g, Object.keys(f.options), a);
3261
3259
  l.push.apply(l, et(R.value, r, t, i, n, g - (f.offset || 0)));
3262
3260
  continue;
3263
3261
  }
3264
3262
  }
3265
- return ys(l);
3263
+ return bs(l);
3266
3264
  }
3267
- function vs(e, r) {
3265
+ function Es(e, r) {
3268
3266
  return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
3269
3267
  return t[i] = T(T({}, e[i]), r[i] || {}), t;
3270
3268
  }, {})) : e;
3271
3269
  }
3272
- function ws(e, r) {
3270
+ function vs(e, r) {
3273
3271
  return r ? Object.keys(e).reduce(function(t, i) {
3274
- return t[i] = vs(e[i], r[i]), t;
3272
+ return t[i] = Es(e[i], r[i]), t;
3275
3273
  }, T({}, e)) : e;
3276
3274
  }
3277
3275
  function bt(e) {
@@ -3288,7 +3286,7 @@ function bt(e) {
3288
3286
  }
3289
3287
  };
3290
3288
  }
3291
- function _s(e) {
3289
+ function ws(e) {
3292
3290
  return e === void 0 && (e = {
3293
3291
  number: {},
3294
3292
  dateTime: {},
@@ -3320,7 +3318,7 @@ function _s(e) {
3320
3318
  })
3321
3319
  };
3322
3320
  }
3323
- var Ss = (
3321
+ var _s = (
3324
3322
  /** @class */
3325
3323
  function() {
3326
3324
  function e(r, t, i, n) {
@@ -3352,13 +3350,13 @@ var Ss = (
3352
3350
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3353
3351
  var a = n || {};
3354
3352
  a.formatters;
3355
- var l = On(a, ["formatters"]);
3353
+ var l = In(a, ["formatters"]);
3356
3354
  this.ast = e.__parse(r, T(T({}, l), { locale: this.resolvedLocale }));
3357
3355
  } else
3358
3356
  this.ast = r;
3359
3357
  if (!Array.isArray(this.ast))
3360
3358
  throw new TypeError("A message must be provided as a String or AST.");
3361
- this.formats = ws(e.formats, i), this.formatters = n && n.formatters || _s(this.formatterCache);
3359
+ this.formats = vs(e.formats, i), this.formatters = n && n.formatters || ws(this.formatterCache);
3362
3360
  }
3363
3361
  return Object.defineProperty(e, "defaultLocale", {
3364
3362
  get: function() {
@@ -3371,7 +3369,7 @@ var Ss = (
3371
3369
  var t = Intl.NumberFormat.supportedLocalesOf(r);
3372
3370
  return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
3373
3371
  }
3374
- }, e.__parse = gs, e.formats = {
3372
+ }, e.__parse = ms, e.formats = {
3375
3373
  number: {
3376
3374
  integer: {
3377
3375
  maximumFractionDigits: 0
@@ -3432,7 +3430,7 @@ var Ss = (
3432
3430
  }, e;
3433
3431
  }()
3434
3432
  );
3435
- function Ps(e, r) {
3433
+ function Ss(e, r) {
3436
3434
  if (r == null)
3437
3435
  return;
3438
3436
  if (r in e)
@@ -3453,60 +3451,60 @@ function Ps(e, r) {
3453
3451
  i = void 0;
3454
3452
  return i;
3455
3453
  }
3456
- const Oe = {}, xs = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Mi = (e, r) => {
3454
+ const Oe = {}, Ps = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Oi = (e, r) => {
3457
3455
  if (r == null)
3458
3456
  return;
3459
3457
  if (r in Oe && e in Oe[r])
3460
3458
  return Oe[r][e];
3461
3459
  const t = at(r);
3462
3460
  for (let i = 0; i < t.length; i++) {
3463
- const n = t[i], s = As(n, e);
3461
+ const n = t[i], s = Cs(n, e);
3464
3462
  if (s)
3465
- return xs(e, r, s);
3463
+ return Ps(e, r, s);
3466
3464
  }
3467
3465
  };
3468
- let Ot;
3466
+ let It;
3469
3467
  const Or = nt({});
3470
- function Cs(e) {
3471
- return Ot[e] || null;
3468
+ function xs(e) {
3469
+ return It[e] || null;
3472
3470
  }
3473
- function Ri(e) {
3474
- return e in Ot;
3471
+ function Li(e) {
3472
+ return e in It;
3475
3473
  }
3476
- function As(e, r) {
3477
- if (!Ri(e))
3474
+ function Cs(e, r) {
3475
+ if (!Li(e))
3478
3476
  return null;
3479
- const t = Cs(e);
3480
- return Ps(t, r);
3477
+ const t = xs(e);
3478
+ return Ss(t, r);
3481
3479
  }
3482
- function Ts(e) {
3480
+ function As(e) {
3483
3481
  if (e == null)
3484
3482
  return;
3485
3483
  const r = at(e);
3486
3484
  for (let t = 0; t < r.length; t++) {
3487
3485
  const i = r[t];
3488
- if (Ri(i))
3486
+ if (Li(i))
3489
3487
  return i;
3490
3488
  }
3491
3489
  }
3492
- function Ui(e, ...r) {
3493
- delete Oe[e], Or.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
3490
+ function Mi(e, ...r) {
3491
+ delete Oe[e], Or.update((t) => (t[e] = Bn.all([t[e] || {}, ...r]), t));
3494
3492
  }
3495
3493
  cr(
3496
3494
  [Or],
3497
3495
  ([e]) => Object.keys(e)
3498
3496
  );
3499
- Or.subscribe((e) => Ot = e);
3497
+ Or.subscribe((e) => It = e);
3500
3498
  const rt = {};
3501
- function Hs(e, r) {
3499
+ function Ts(e, r) {
3502
3500
  rt[e].delete(r), rt[e].size === 0 && delete rt[e];
3503
3501
  }
3504
- function ki(e) {
3502
+ function Ri(e) {
3505
3503
  return rt[e];
3506
3504
  }
3507
- function Bs(e) {
3505
+ function Hs(e) {
3508
3506
  return at(e).map((r) => {
3509
- const t = ki(r);
3507
+ const t = Ri(r);
3510
3508
  return [r, t ? [...t] : []];
3511
3509
  }).filter(([, r]) => r.length > 0);
3512
3510
  }
@@ -3514,31 +3512,31 @@ function Tt(e) {
3514
3512
  return e == null ? !1 : at(e).some(
3515
3513
  (r) => {
3516
3514
  var t;
3517
- return (t = ki(r)) == null ? void 0 : t.size;
3515
+ return (t = Ri(r)) == null ? void 0 : t.size;
3518
3516
  }
3519
3517
  );
3520
3518
  }
3521
- function Is(e, r) {
3519
+ function Bs(e, r) {
3522
3520
  return Promise.all(
3523
- r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
3524
- ).then((i) => Ui(e, ...i));
3521
+ r.map((i) => (Ts(e, i), i().then((n) => n.default || n)))
3522
+ ).then((i) => Mi(e, ...i));
3525
3523
  }
3526
3524
  const Ar = {};
3527
- function Fi(e) {
3525
+ function Ui(e) {
3528
3526
  if (!Tt(e))
3529
3527
  return e in Ar ? Ar[e] : Promise.resolve();
3530
- const r = Bs(e);
3528
+ const r = Hs(e);
3531
3529
  return Ar[e] = Promise.all(
3532
3530
  r.map(
3533
- ([t, i]) => Is(t, i)
3531
+ ([t, i]) => Bs(t, i)
3534
3532
  )
3535
3533
  ).then(() => {
3536
3534
  if (Tt(e))
3537
- return Fi(e);
3535
+ return Ui(e);
3538
3536
  delete Ar[e];
3539
3537
  }), Ar[e];
3540
3538
  }
3541
- const Ns = {
3539
+ const Is = {
3542
3540
  number: {
3543
3541
  scientific: { notation: "scientific" },
3544
3542
  engineering: { notation: "engineering" },
@@ -3567,34 +3565,34 @@ const Ns = {
3567
3565
  timeZoneName: "short"
3568
3566
  }
3569
3567
  }
3570
- }, Os = {
3568
+ }, Ns = {
3571
3569
  fallbackLocale: null,
3572
3570
  loadingDelay: 200,
3573
- formats: Ns,
3571
+ formats: Is,
3574
3572
  warnOnMissingMessages: !0,
3575
3573
  handleMissingMessage: void 0,
3576
3574
  ignoreTag: !0
3577
- }, Ls = Os;
3575
+ }, Os = Ns;
3578
3576
  function lr() {
3579
- return Ls;
3577
+ return Os;
3580
3578
  }
3581
3579
  const yt = nt(!1);
3582
- var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
3580
+ var Ls = Object.defineProperty, Ms = Object.defineProperties, Rs = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, Us = Object.prototype.hasOwnProperty, ks = Object.prototype.propertyIsEnumerable, ei = (e, r, t) => r in e ? Ls(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Fs = (e, r) => {
3583
3581
  for (var t in r || (r = {}))
3584
- ks.call(r, t) && ti(e, t, r[t]);
3585
- if (ri)
3586
- for (var t of ri(r))
3587
- Fs.call(r, t) && ti(e, t, r[t]);
3582
+ Us.call(r, t) && ei(e, t, r[t]);
3583
+ if (Kt)
3584
+ for (var t of Kt(r))
3585
+ ks.call(r, t) && ei(e, t, r[t]);
3588
3586
  return e;
3589
- }, Gs = (e, r) => Rs(e, Us(r));
3587
+ }, Ds = (e, r) => Ms(e, Rs(r));
3590
3588
  let Ht;
3591
3589
  const tt = nt(null);
3592
- function ii(e) {
3590
+ function ri(e) {
3593
3591
  return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
3594
3592
  }
3595
3593
  function at(e, r = lr().fallbackLocale) {
3596
- const t = ii(e);
3597
- return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
3594
+ const t = ri(e);
3595
+ return r ? [.../* @__PURE__ */ new Set([...t, ...ri(r)])] : t;
3598
3596
  }
3599
3597
  function De() {
3600
3598
  return Ht != null ? Ht : void 0;
@@ -3602,22 +3600,22 @@ function De() {
3602
3600
  tt.subscribe((e) => {
3603
3601
  Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3604
3602
  });
3605
- const js = (e) => {
3606
- if (e && Ts(e) && Tt(e)) {
3603
+ const Gs = (e) => {
3604
+ if (e && As(e) && Tt(e)) {
3607
3605
  const { loadingDelay: r } = lr();
3608
3606
  let t;
3609
3607
  return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
3610
3608
  () => yt.set(!0),
3611
3609
  r
3612
- ) : yt.set(!0), Fi(e).then(() => {
3610
+ ) : yt.set(!0), Ui(e).then(() => {
3613
3611
  tt.set(e);
3614
3612
  }).finally(() => {
3615
3613
  clearTimeout(t), yt.set(!1);
3616
3614
  });
3617
3615
  }
3618
3616
  return tt.set(e);
3619
- }, hr = Gs(Ds({}, tt), {
3620
- set: js
3617
+ }, hr = Ds(Fs({}, tt), {
3618
+ set: Gs
3621
3619
  }), lt = (e) => {
3622
3620
  const r = /* @__PURE__ */ Object.create(null);
3623
3621
  return (i) => {
@@ -3625,20 +3623,20 @@ const js = (e) => {
3625
3623
  return n in r ? r[n] : r[n] = e(i);
3626
3624
  };
3627
3625
  };
3628
- var Vs = Object.defineProperty, it = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
3626
+ var js = Object.defineProperty, it = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? js(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Nt = (e, r) => {
3629
3627
  for (var t in r || (r = {}))
3630
- Di.call(r, t) && ni(e, t, r[t]);
3628
+ ki.call(r, t) && ti(e, t, r[t]);
3631
3629
  if (it)
3632
3630
  for (var t of it(r))
3633
- Gi.call(r, t) && ni(e, t, r[t]);
3631
+ Fi.call(r, t) && ti(e, t, r[t]);
3634
3632
  return e;
3635
3633
  }, fr = (e, r) => {
3636
3634
  var t = {};
3637
3635
  for (var i in e)
3638
- Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3636
+ ki.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3639
3637
  if (e != null && it)
3640
3638
  for (var i of it(e))
3641
- r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
3639
+ r.indexOf(i) < 0 && Fi.call(e, i) && (t[i] = e[i]);
3642
3640
  return t;
3643
3641
  };
3644
3642
  const Nr = (e, r) => {
@@ -3646,21 +3644,21 @@ const Nr = (e, r) => {
3646
3644
  if (e in t && r in t[e])
3647
3645
  return t[e][r];
3648
3646
  throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
3649
- }, $s = lt(
3647
+ }, Vs = lt(
3650
3648
  (e) => {
3651
3649
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3652
3650
  if (t == null)
3653
3651
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3654
3652
  return i && (n = Nr("number", i)), new Intl.NumberFormat(t, n);
3655
3653
  }
3656
- ), Qs = lt(
3654
+ ), $s = lt(
3657
3655
  (e) => {
3658
3656
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3659
3657
  if (t == null)
3660
3658
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3661
3659
  return i ? n = Nr("date", i) : Object.keys(n).length === 0 && (n = Nr("date", "short")), new Intl.DateTimeFormat(t, n);
3662
3660
  }
3663
- ), zs = lt(
3661
+ ), Qs = lt(
3664
3662
  (e) => {
3665
3663
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3666
3664
  if (t == null)
@@ -3669,33 +3667,33 @@ const Nr = (e, r) => {
3669
3667
  );
3670
3668
  return i ? n = Nr("time", i) : Object.keys(n).length === 0 && (n = Nr("time", "short")), new Intl.DateTimeFormat(t, n);
3671
3669
  }
3672
- ), Xs = (e = {}) => {
3670
+ ), zs = (e = {}) => {
3673
3671
  var r = e, {
3674
3672
  locale: t = De()
3675
3673
  } = r, i = fr(r, [
3676
3674
  "locale"
3677
3675
  ]);
3678
- return $s(Lt({ locale: t }, i));
3679
- }, Zs = (e = {}) => {
3676
+ return Vs(Nt({ locale: t }, i));
3677
+ }, Xs = (e = {}) => {
3680
3678
  var r = e, {
3681
3679
  locale: t = De()
3682
3680
  } = r, i = fr(r, [
3683
3681
  "locale"
3684
3682
  ]);
3685
- return Qs(Lt({ locale: t }, i));
3686
- }, Ws = (e = {}) => {
3683
+ return $s(Nt({ locale: t }, i));
3684
+ }, Zs = (e = {}) => {
3687
3685
  var r = e, {
3688
3686
  locale: t = De()
3689
3687
  } = r, i = fr(r, [
3690
3688
  "locale"
3691
3689
  ]);
3692
- return zs(Lt({ locale: t }, i));
3693
- }, qs = lt(
3690
+ return Qs(Nt({ locale: t }, i));
3691
+ }, Ws = lt(
3694
3692
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3695
- (e, r = De()) => new Ss(e, r, lr().formats, {
3693
+ (e, r = De()) => new _s(e, r, lr().formats, {
3696
3694
  ignoreTag: lr().ignoreTag
3697
3695
  })
3698
- ), Js = (e, r = {}) => {
3696
+ ), qs = (e, r = {}) => {
3699
3697
  var t, i, n, s;
3700
3698
  let a = r;
3701
3699
  typeof e == "object" && (a = e, e = a.id);
@@ -3708,7 +3706,7 @@ const Nr = (e, r) => {
3708
3706
  throw new Error(
3709
3707
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3710
3708
  );
3711
- let f = Mi(e, h);
3709
+ let f = Oi(e, h);
3712
3710
  if (!f)
3713
3711
  f = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3714
3712
  else if (typeof f != "string")
@@ -3719,7 +3717,7 @@ const Nr = (e, r) => {
3719
3717
  return f;
3720
3718
  let m = f;
3721
3719
  try {
3722
- m = qs(f, h).format(l);
3720
+ m = Ws(f, h).format(l);
3723
3721
  } catch (g) {
3724
3722
  g instanceof Error && console.warn(
3725
3723
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3727,18 +3725,18 @@ const Nr = (e, r) => {
3727
3725
  );
3728
3726
  }
3729
3727
  return m;
3730
- }, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), eo = (e, r) => Xs(r).format(e), ro = (e, r = De()) => Mi(e, r), to = cr([hr, Or], () => Js);
3728
+ }, Js = (e, r) => Zs(r).format(e), Ys = (e, r) => Xs(r).format(e), Ks = (e, r) => zs(r).format(e), eo = (e, r = De()) => Oi(e, r), ro = cr([hr, Or], () => qs);
3729
+ cr([hr], () => Js);
3731
3730
  cr([hr], () => Ys);
3732
3731
  cr([hr], () => Ks);
3733
- cr([hr], () => eo);
3734
- cr([hr, Or], () => ro);
3735
- function si(e, r) {
3736
- Ui(e, r);
3732
+ cr([hr, Or], () => eo);
3733
+ function ii(e, r) {
3734
+ Mi(e, r);
3737
3735
  }
3738
- function io(e) {
3736
+ function to(e) {
3739
3737
  hr.set(e);
3740
3738
  }
3741
- const oi = {
3739
+ const ni = {
3742
3740
  en: {
3743
3741
  registerTitle: "Create your account",
3744
3742
  registerSubtitle: "Already have an account?",
@@ -3993,13 +3991,13 @@ const oi = {
3993
3991
  registerNext: "Next"
3994
3992
  }
3995
3993
  };
3996
- function no(e, r) {
3994
+ function io(e, r) {
3997
3995
  if (e) {
3998
3996
  const t = document.createElement("style");
3999
3997
  t.innerHTML = r, e.appendChild(t);
4000
3998
  }
4001
3999
  }
4002
- function so(e, r) {
4000
+ function no(e, r) {
4003
4001
  const t = new URL(r);
4004
4002
  fetch(t.href).then((i) => i.text()).then((i) => {
4005
4003
  const n = document.createElement("style");
@@ -4008,7 +4006,7 @@ function so(e, r) {
4008
4006
  console.error("There was an error while trying to load client styling from URL", i);
4009
4007
  });
4010
4008
  }
4011
- function oo(e, r, t) {
4009
+ function so(e, r, t) {
4012
4010
  if (window.emMessageBus) {
4013
4011
  const i = document.createElement("style");
4014
4012
  window.emMessageBus.subscribe(r, (n) => {
@@ -4016,10 +4014,10 @@ function oo(e, r, t) {
4016
4014
  });
4017
4015
  }
4018
4016
  }
4019
- function ao(e) {
4020
- Wi(e, "svelte-6m40jp", ".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, #D0046C));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, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C))}.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, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));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}");
4017
+ function oo(e) {
4018
+ Xi(e, "svelte-6m40jp", ".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, #D0046C));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, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C))}.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, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));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}");
4021
4019
  }
4022
- function ai(e) {
4020
+ function si(e) {
4023
4021
  let r, t = (
4024
4022
  /*$_*/
4025
4023
  e[30]("registerEmailError") + ""
@@ -4041,7 +4039,7 @@ function ai(e) {
4041
4039
  }
4042
4040
  };
4043
4041
  }
4044
- function li(e) {
4042
+ function oi(e) {
4045
4043
  let r, t = (
4046
4044
  /*$_*/
4047
4045
  e[30]("registerUsernameError") + ""
@@ -4063,7 +4061,7 @@ function li(e) {
4063
4061
  }
4064
4062
  };
4065
4063
  }
4066
- function lo(e) {
4064
+ function ao(e) {
4067
4065
  let r, t, i, n, s, a, l, h, c;
4068
4066
  return {
4069
4067
  c() {
@@ -4083,7 +4081,7 @@ function lo(e) {
4083
4081
  }
4084
4082
  };
4085
4083
  }
4086
- function uo(e) {
4084
+ function lo(e) {
4087
4085
  let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
4088
4086
  return {
4089
4087
  c() {
@@ -4103,7 +4101,7 @@ function uo(e) {
4103
4101
  }
4104
4102
  };
4105
4103
  }
4106
- function ui(e) {
4104
+ function ai(e) {
4107
4105
  let r, t = (
4108
4106
  /*$_*/
4109
4107
  e[30]("registerPasswordError") + ""
@@ -4125,7 +4123,7 @@ function ui(e) {
4125
4123
  }
4126
4124
  };
4127
4125
  }
4128
- function ci(e) {
4126
+ function li(e) {
4129
4127
  let r, t = (
4130
4128
  /*$_*/
4131
4129
  e[30]("registerSimplePasswordError") + ""
@@ -4147,7 +4145,7 @@ function ci(e) {
4147
4145
  }
4148
4146
  };
4149
4147
  }
4150
- function co(e) {
4148
+ function uo(e) {
4151
4149
  let r, t, i, n, s, a, l, h, c;
4152
4150
  return {
4153
4151
  c() {
@@ -4167,7 +4165,7 @@ function co(e) {
4167
4165
  }
4168
4166
  };
4169
4167
  }
4170
- function ho(e) {
4168
+ function co(e) {
4171
4169
  let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
4172
4170
  return {
4173
4171
  c() {
@@ -4187,7 +4185,7 @@ function ho(e) {
4187
4185
  }
4188
4186
  };
4189
4187
  }
4190
- function hi(e) {
4188
+ function ui(e) {
4191
4189
  let r, t = (
4192
4190
  /*$_*/
4193
4191
  e[30]("registerConfirmPasswordError") + ""
@@ -4209,7 +4207,7 @@ function hi(e) {
4209
4207
  }
4210
4208
  };
4211
4209
  }
4212
- function fi(e) {
4210
+ function ci(e) {
4213
4211
  let r, t = (
4214
4212
  /*custominputtextswitch*/
4215
4213
  (e[2] == "true" ? (
@@ -4243,7 +4241,7 @@ function fi(e) {
4243
4241
  }
4244
4242
  };
4245
4243
  }
4246
- function di(e) {
4244
+ function hi(e) {
4247
4245
  let r, t = (
4248
4246
  /*custominputtextswitch*/
4249
4247
  (e[2] == "true" ? (
@@ -4277,7 +4275,7 @@ function di(e) {
4277
4275
  }
4278
4276
  };
4279
4277
  }
4280
- function fo(e) {
4278
+ function ho(e) {
4281
4279
  let r, t, i, n = (
4282
4280
  /*$_*/
4283
4281
  e[30]("registerTitle") + ""
@@ -4323,43 +4321,43 @@ function fo(e) {
4323
4321
  ), vr, zr, Ke, Xr, ae, Zr, er, p, N, le = (
4324
4322
  /*$_*/
4325
4323
  e[30]("registerNext") + ""
4326
- ), ut, Wr, ct, Mt, W = (
4324
+ ), ut, Wr, ct, Ot, W = (
4327
4325
  /*invalidEmail*/
4328
- e[4] && ai(e)
4326
+ e[4] && si(e)
4329
4327
  ), q = (
4330
4328
  /*invalidName*/
4331
- e[5] && li(e)
4329
+ e[5] && oi(e)
4332
4330
  );
4333
- function Rt(d, y) {
4331
+ function Lt(d, y) {
4334
4332
  return (
4335
4333
  /*isPasswordVisible*/
4336
- d[25] ? uo : lo
4334
+ d[25] ? lo : ao
4337
4335
  );
4338
4336
  }
4339
- let qr = Rt(e), Se = qr(e), J = (
4337
+ let qr = Lt(e), Se = qr(e), J = (
4340
4338
  /*invalidPassword*/
4341
4339
  e[6] && /*simplepasswordvalidation*/
4342
- e[0] !== "true" && ui(e)
4340
+ e[0] !== "true" && ai(e)
4343
4341
  ), Y = (
4344
4342
  /*invalidPassword*/
4345
4343
  e[6] && /*simplepasswordvalidation*/
4346
- e[0] === "true" && ci(e)
4344
+ e[0] === "true" && li(e)
4347
4345
  );
4348
- function Ut(d, y) {
4346
+ function Mt(d, y) {
4349
4347
  return (
4350
4348
  /*isConfirmPasswordVisible*/
4351
- d[26] ? ho : co
4349
+ d[26] ? co : uo
4352
4350
  );
4353
4351
  }
4354
- let Jr = Ut(e), Pe = Jr(e), K = (
4352
+ let Jr = Mt(e), Pe = Jr(e), K = (
4355
4353
  /*invalidConfirmPassword*/
4356
- e[7] && hi(e)
4354
+ e[7] && ui(e)
4357
4355
  ), ee = (
4358
4356
  /*invalidSecurityQuestion*/
4359
- e[8] && fi(e)
4357
+ e[8] && ci(e)
4360
4358
  ), re = (
4361
4359
  /*invalidSecurityAnswer*/
4362
- e[9] && di(e)
4360
+ e[9] && hi(e)
4363
4361
  );
4364
4362
  return {
4365
4363
  c() {
@@ -4418,7 +4416,7 @@ function fo(e) {
4418
4416
  ae,
4419
4417
  /*securityAnswer*/
4420
4418
  e[23]
4421
- ), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Mt = [
4419
+ ), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Ot = [
4422
4420
  x(
4423
4421
  m,
4424
4422
  "click",
@@ -4602,7 +4600,7 @@ function fo(e) {
4602
4600
  ], ct = !0);
4603
4601
  },
4604
4602
  p(d, y) {
4605
- var wr, _r, Sr, Pr, xr, Cr, kt, Ft;
4603
+ var wr, _r, Sr, Pr, xr, Cr, Rt, Ut;
4606
4604
  y[0] & /*$_*/
4607
4605
  1073741824 && n !== (n = /*$_*/
4608
4606
  d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
@@ -4618,7 +4616,7 @@ function fo(e) {
4618
4616
  /*userEmail*/
4619
4617
  d[19]
4620
4618
  ), /*invalidEmail*/
4621
- d[4] ? W ? W.p(d, y) : (W = ai(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4619
+ d[4] ? W ? W.p(d, y) : (W = si(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4622
4620
  132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
4623
4621
  (d[4] && !/*emailFocus*/
4624
4622
  d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4633,7 +4631,7 @@ function fo(e) {
4633
4631
  /*userValue*/
4634
4632
  d[18]
4635
4633
  ), /*invalidName*/
4636
- d[5] ? q ? q.p(d, y) : (q = li(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4634
+ d[5] ? q ? q.p(d, y) : (q = oi(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4637
4635
  133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
4638
4636
  (d[5] && !/*usernameFocus*/
4639
4637
  d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4647,11 +4645,11 @@ function fo(e) {
4647
4645
  B,
4648
4646
  /*userPassword*/
4649
4647
  d[20]
4650
- ), qr === (qr = Rt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
4648
+ ), qr === (qr = Lt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
4651
4649
  d[6] && /*simplepasswordvalidation*/
4652
- d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
4650
+ d[0] !== "true" ? J ? J.p(d, y) : (J = ai(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
4653
4651
  d[6] && /*simplepasswordvalidation*/
4654
- d[0] === "true" ? Y ? Y.p(d, y) : (Y = ci(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4652
+ d[0] === "true" ? Y ? Y.p(d, y) : (Y = li(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4655
4653
  135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
4656
4654
  (d[6] && !/*passwordFocus*/
4657
4655
  d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4665,8 +4663,8 @@ function fo(e) {
4665
4663
  $,
4666
4664
  /*confirmUserPassword*/
4667
4665
  d[21]
4668
- ), Jr === (Jr = Ut(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
4669
- d[7] ? K ? K.p(d, y) : (K = hi(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4666
+ ), Jr === (Jr = Mt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
4667
+ d[7] ? K ? K.p(d, y) : (K = ui(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4670
4668
  139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4671
4669
  (d[7] && !/*confirmPasswordFocus*/
4672
4670
  d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4695,11 +4693,11 @@ function fo(e) {
4695
4693
  /*securityQuestion*/
4696
4694
  d[22]
4697
4695
  ), /*invalidSecurityQuestion*/
4698
- d[8] ? ee ? ee.p(d, y) : (ee = fi(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4696
+ d[8] ? ee ? ee.p(d, y) : (ee = ci(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4699
4697
  147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4700
4698
  (d[8] && !/*securityQFocus*/
4701
4699
  d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
4702
- (((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
4700
+ (((Rt = d[17]) == null ? void 0 : Rt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
4703
4701
  1073741828 && Ye !== (Ye = /*custominputtextswitch*/
4704
4702
  (d[2] == "true" ? (
4705
4703
  /*$_*/
@@ -4714,11 +4712,11 @@ function fo(e) {
4714
4712
  /*securityAnswer*/
4715
4713
  d[23]
4716
4714
  ), /*invalidSecurityAnswer*/
4717
- d[9] ? re ? re.p(d, y) : (re = di(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4715
+ d[9] ? re ? re.p(d, y) : (re = hi(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4718
4716
  164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4719
4717
  (d[9] && !/*securityAFocus*/
4720
4718
  d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
4721
- (((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
4719
+ (((Ut = d[17]) == null ? void 0 : Ut.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
4722
4720
  1073741824 && le !== (le = /*$_*/
4723
4721
  d[30]("registerNext") + "") && D(ut, le), y[0] & /*isValid*/
4724
4722
  536870912 && Wr !== (Wr = !/*isValid*/
@@ -4727,13 +4725,13 @@ function fo(e) {
4727
4725
  i: z,
4728
4726
  o: z,
4729
4727
  d(d) {
4730
- d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Mt);
4728
+ d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Ot);
4731
4729
  }
4732
4730
  };
4733
4731
  }
4734
- function mo(e, r, t) {
4732
+ function fo(e, r, t) {
4735
4733
  let i;
4736
- Zi(e, to, (p) => t(30, i = p));
4734
+ zi(e, ro, (p) => t(30, i = p));
4737
4735
  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, O = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", pe = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, Ee, be = {}, C = {
4738
4736
  username: !1,
4739
4737
  email: !1,
@@ -4751,14 +4749,14 @@ function mo(e, r, t) {
4751
4749
  const Lr = () => {
4752
4750
  fetch(f).then((N) => N.json()).then((N) => {
4753
4751
  Object.keys(N).forEach((le) => {
4754
- si(le, N[le]);
4752
+ ii(le, N[le]);
4755
4753
  });
4756
4754
  }).catch((N) => {
4757
4755
  console.log(N);
4758
4756
  });
4759
4757
  };
4760
- Object.keys(oi).forEach((p) => {
4761
- si(p, oi[p]);
4758
+ Object.keys(ni).forEach((p) => {
4759
+ ii(p, ni[p]);
4762
4760
  });
4763
4761
  const Le = () => {
4764
4762
  window.postMessage({ type: "ToLogin" }, window.location.href);
@@ -4868,9 +4866,9 @@ function mo(e, r, t) {
4868
4866
  }, Ur = () => {
4869
4867
  t(17, je = s.split(","));
4870
4868
  }, _e = () => {
4871
- io(n);
4869
+ to(n);
4872
4870
  };
4873
- rn(() => (window.addEventListener("message", ke, !1), () => {
4871
+ Ki(() => (window.addEventListener("message", ke, !1), () => {
4874
4872
  window.removeEventListener("message", ke);
4875
4873
  }));
4876
4874
  const Fe = () => Le();
@@ -4927,11 +4925,11 @@ function mo(e, r, t) {
4927
4925
  16384 && s && Ur(), e.$$.dirty[0] & /*simplepasswordvalidation*/
4928
4926
  1 && a && mr(), e.$$.dirty[0] & /*customStylingContainer*/
4929
4927
  8 | e.$$.dirty[1] & /*clientstyling*/
4930
- 65536 && h && Z && no(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
4928
+ 65536 && h && Z && io(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
4931
4929
  8 | e.$$.dirty[1] & /*clientstylingurl*/
4932
- 131072 && c && Z && so(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
4930
+ 131072 && c && Z && no(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
4933
4931
  8 | e.$$.dirty[1] & /*mbsource*/
4934
- 32768 && l && Z && oo(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
4932
+ 32768 && l && Z && so(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
4935
4933
  262144 && f && Lr();
4936
4934
  }, [
4937
4935
  a,
@@ -5016,14 +5014,14 @@ function mo(e, r, t) {
5016
5014
  er
5017
5015
  ];
5018
5016
  }
5019
- class go extends mn {
5017
+ class mo extends fn {
5020
5018
  constructor(r) {
5021
- super(), fn(
5019
+ super(), cn(
5022
5020
  this,
5023
5021
  r,
5024
- mo,
5025
5022
  fo,
5026
- gi,
5023
+ ho,
5024
+ di,
5027
5025
  {
5028
5026
  lang: 44,
5029
5027
  disabledfields: 45,
@@ -5035,7 +5033,7 @@ class go extends mn {
5035
5033
  savecredentials: 1,
5036
5034
  custominputtextswitch: 2
5037
5035
  },
5038
- ao,
5036
+ oo,
5039
5037
  [-1, -1, -1, -1]
5040
5038
  );
5041
5039
  }
@@ -5094,7 +5092,7 @@ class go extends mn {
5094
5092
  this.$$set({ custominputtextswitch: r }), ye();
5095
5093
  }
5096
5094
  }
5097
- dn(go, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5095
+ hn(mo, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5098
5096
  export {
5099
- go as default
5097
+ mo as default
5100
5098
  };