@everymatrix/general-player-register-form-step1 1.59.3 → 1.60.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,24 +1,24 @@
1
1
  function z() {
2
2
  }
3
- function Yt(e) {
3
+ function ei(e) {
4
4
  return e();
5
5
  }
6
- function Tt() {
6
+ function Bt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function lr(e) {
10
- e.forEach(Yt);
10
+ e.forEach(ei);
11
11
  }
12
12
  function _t(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Kt(e, r) {
15
+ function ri(e, r) {
16
16
  return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Ci(e) {
18
+ function Ti(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function ei(e, ...r) {
21
+ function ti(e, ...r) {
22
22
  if (e == null) {
23
23
  for (const i of r)
24
24
  i(void 0);
@@ -27,20 +27,20 @@ function ei(e, ...r) {
27
27
  const t = e.subscribe(...r);
28
28
  return t.unsubscribe ? () => t.unsubscribe() : t;
29
29
  }
30
- function Ai(e, r, t) {
31
- e.$$.on_destroy.push(ei(r, t));
30
+ function Hi(e, r, t) {
31
+ e.$$.on_destroy.push(ti(r, t));
32
32
  }
33
33
  function l(e, r) {
34
34
  e.appendChild(r);
35
35
  }
36
- function Ti(e, r, t) {
37
- const i = Hi(e);
36
+ function Bi(e, r, t) {
37
+ const i = Ii(e);
38
38
  if (!i.getElementById(r)) {
39
39
  const n = E("style");
40
- n.id = r, n.textContent = t, Bi(i, n);
40
+ n.id = r, n.textContent = t, Ni(i, n);
41
41
  }
42
42
  }
43
- function Hi(e) {
43
+ function Ii(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function Hi(e) {
50
50
  r
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Bi(e, r) {
53
+ function Ni(e, r) {
54
54
  return l(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -81,7 +81,7 @@ function x(e, r, t, i) {
81
81
  function o(e, r, t) {
82
82
  t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
83
83
  }
84
- function Ii(e) {
84
+ function Oi(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
87
  function D(e, r) {
@@ -91,7 +91,7 @@ function D(e, r) {
91
91
  function te(e, r) {
92
92
  e.value = r ?? "";
93
93
  }
94
- function Ni(e) {
94
+ function Li(e) {
95
95
  const r = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -104,20 +104,20 @@ let Sr;
104
104
  function wr(e) {
105
105
  Sr = e;
106
106
  }
107
- function Oi() {
107
+ function Mi() {
108
108
  if (!Sr)
109
109
  throw new Error("Function called outside component initialization");
110
110
  return Sr;
111
111
  }
112
- function Li(e) {
113
- Oi().$$.on_mount.push(e);
112
+ function Ri(e) {
113
+ Mi().$$.on_mount.push(e);
114
114
  }
115
115
  const tr = [], _r = [];
116
116
  let ir = [];
117
- const Ht = [], Mi = /* @__PURE__ */ Promise.resolve();
117
+ const It = [], Ui = /* @__PURE__ */ Promise.resolve();
118
118
  let ht = !1;
119
- function Ri() {
120
- ht || (ht = !0, Mi.then(be));
119
+ function ki() {
120
+ ht || (ht = !0, Ui.then(be));
121
121
  }
122
122
  function ft(e) {
123
123
  ir.push(e);
@@ -132,7 +132,7 @@ function be() {
132
132
  try {
133
133
  for (; er < tr.length; ) {
134
134
  const r = tr[er];
135
- er++, wr(r), Ui(r.$$);
135
+ er++, wr(r), Fi(r.$$);
136
136
  }
137
137
  } catch (r) {
138
138
  throw tr.length = 0, er = 0, r;
@@ -145,40 +145,40 @@ function be() {
145
145
  }
146
146
  ir.length = 0;
147
147
  } while (tr.length);
148
- for (; Ht.length; )
149
- Ht.pop()();
148
+ for (; It.length; )
149
+ It.pop()();
150
150
  ht = !1, nt.clear(), wr(e);
151
151
  }
152
- function Ui(e) {
152
+ function Fi(e) {
153
153
  if (e.fragment !== null) {
154
154
  e.update(), lr(e.before_update);
155
155
  const r = e.dirty;
156
156
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
157
157
  }
158
158
  }
159
- function ki(e) {
159
+ function Di(e) {
160
160
  const r = [], t = [];
161
161
  ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
162
162
  }
163
- const Fi = /* @__PURE__ */ new Set();
164
- function Di(e, r) {
165
- e && e.i && (Fi.delete(e), e.i(r));
163
+ const Gi = /* @__PURE__ */ new Set();
164
+ function ji(e, r) {
165
+ e && e.i && (Gi.delete(e), e.i(r));
166
166
  }
167
- function Gi(e, r, t) {
167
+ function Vi(e, r, t) {
168
168
  const { fragment: i, after_update: n } = e.$$;
169
169
  i && i.m(r, t), ft(() => {
170
- const s = e.$$.on_mount.map(Yt).filter(_t);
170
+ const s = e.$$.on_mount.map(ei).filter(_t);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
172
172
  }), n.forEach(ft);
173
173
  }
174
- function ji(e, r) {
174
+ function $i(e, r) {
175
175
  const t = e.$$;
176
- t.fragment !== null && (ki(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
176
+ t.fragment !== null && (Di(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
177
177
  }
178
- function Vi(e, r) {
179
- e.$$.dirty[0] === -1 && (tr.push(e), Ri(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
178
+ function Qi(e, r) {
179
+ e.$$.dirty[0] === -1 && (tr.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
180
180
  }
181
- function $i(e, r, t, i, n, s, u = null, a = [-1]) {
181
+ function zi(e, r, t, i, n, s, u = null, a = [-1]) {
182
182
  const f = Sr;
183
183
  wr(e);
184
184
  const c = e.$$ = {
@@ -188,7 +188,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
188
188
  props: s,
189
189
  update: z,
190
190
  not_equal: n,
191
- bound: Tt(),
191
+ bound: Bt(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,7 +197,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(r.context || (f ? f.$$.context : [])),
199
199
  // everything else
200
- callbacks: Tt(),
200
+ callbacks: Bt(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: r.target || f.$$.root
@@ -206,19 +206,19 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
206
206
  let h = !1;
207
207
  if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
208
208
  const w = b.length ? b[0] : g;
209
- return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Vi(e, m)), g;
209
+ return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Qi(e, m)), g;
210
210
  }) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
211
211
  if (r.hydrate) {
212
- const m = Ii(r.target);
212
+ const m = Oi(r.target);
213
213
  c.fragment && c.fragment.l(m), m.forEach(ie);
214
214
  } else
215
215
  c.fragment && c.fragment.c();
216
- r.intro && Di(e.$$.fragment), Gi(e, r.target, r.anchor), be();
216
+ r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), be();
217
217
  }
218
218
  wr(f);
219
219
  }
220
- let ri;
221
- typeof HTMLElement == "function" && (ri = class extends HTMLElement {
220
+ let ii;
221
+ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const r = {}, t = Ni(this);
280
+ const r = {}, t = Li(this);
281
281
  for (const n of this.$$s)
282
282
  n in t && (r[n] = [e(n)]);
283
283
  for (const n of this.attributes) {
@@ -364,8 +364,8 @@ function zr(e, r, t, i) {
364
364
  return r;
365
365
  }
366
366
  }
367
- function Qi(e, r, t, i, n, s) {
368
- let u = class extends ri {
367
+ function Xi(e, r, t, i, n, s) {
368
+ let u = class extends ii {
369
369
  constructor() {
370
370
  super(e, t, n), this.$$p_d = r;
371
371
  }
@@ -393,7 +393,7 @@ function Qi(e, r, t, i, n, s) {
393
393
  }), e.element = /** @type {any} */
394
394
  u, u;
395
395
  }
396
- class zi {
396
+ class Zi {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class zi {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- ji(this, 1), this.$destroy = z;
415
+ $i(this, 1), this.$destroy = z;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -434,13 +434,13 @@ class zi {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(r) {
437
- this.$$set && !Ci(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
437
+ this.$$set && !Ti(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Xi = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xi);
440
+ const Wi = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
442
442
  const rr = [];
443
- function Zi(e, r) {
443
+ function qi(e, r) {
444
444
  return {
445
445
  subscribe: Jr(e, r).subscribe
446
446
  };
@@ -449,7 +449,7 @@ function Jr(e, r = z) {
449
449
  let t;
450
450
  const i = /* @__PURE__ */ new Set();
451
451
  function n(a) {
452
- if (Kt(e, a) && (e = a, t)) {
452
+ if (ri(e, a) && (e = a, t)) {
453
453
  const f = !rr.length;
454
454
  for (const c of i)
455
455
  c[1](), rr.push(c, e);
@@ -476,7 +476,7 @@ function ur(e, r, t) {
476
476
  if (!n.every(Boolean))
477
477
  throw new Error("derived() expects stores as input, got a falsy value");
478
478
  const s = r.length < 2;
479
- return Zi(t, (u, a) => {
479
+ return qi(t, (u, a) => {
480
480
  let f = !1;
481
481
  const c = [];
482
482
  let h = 0, m = z;
@@ -487,7 +487,7 @@ function ur(e, r, t) {
487
487
  const w = r(i ? c[0] : c, u, a);
488
488
  s ? u(w) : m = _t(w) ? w : z;
489
489
  }, b = n.map(
490
- (w, y) => ei(
490
+ (w, y) => ti(
491
491
  w,
492
492
  (A) => {
493
493
  c[y] = A, h &= ~(1 << y), f && g();
@@ -502,70 +502,70 @@ function ur(e, r, t) {
502
502
  };
503
503
  });
504
504
  }
505
- function Wi(e) {
505
+ function Ji(e) {
506
506
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
507
507
  }
508
- var qi = function(r) {
509
- return Ji(r) && !Yi(r);
508
+ var Yi = function(r) {
509
+ return Ki(r) && !en(r);
510
510
  };
511
- function Ji(e) {
511
+ function Ki(e) {
512
512
  return !!e && typeof e == "object";
513
513
  }
514
- function Yi(e) {
514
+ function en(e) {
515
515
  var r = Object.prototype.toString.call(e);
516
- return r === "[object RegExp]" || r === "[object Date]" || rn(e);
516
+ return r === "[object RegExp]" || r === "[object Date]" || nn(e);
517
517
  }
518
- var Ki = typeof Symbol == "function" && Symbol.for, en = Ki ? Symbol.for("react.element") : 60103;
519
- function rn(e) {
520
- return e.$$typeof === en;
518
+ var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
519
+ function nn(e) {
520
+ return e.$$typeof === tn;
521
521
  }
522
- function tn(e) {
522
+ function sn(e) {
523
523
  return Array.isArray(e) ? [] : {};
524
524
  }
525
525
  function Pr(e, r) {
526
- return r.clone !== !1 && r.isMergeableObject(e) ? nr(tn(e), e, r) : e;
526
+ return r.clone !== !1 && r.isMergeableObject(e) ? nr(sn(e), e, r) : e;
527
527
  }
528
- function nn(e, r, t) {
528
+ function on(e, r, t) {
529
529
  return e.concat(r).map(function(i) {
530
530
  return Pr(i, t);
531
531
  });
532
532
  }
533
- function sn(e, r) {
533
+ function an(e, r) {
534
534
  if (!r.customMerge)
535
535
  return nr;
536
536
  var t = r.customMerge(e);
537
537
  return typeof t == "function" ? t : nr;
538
538
  }
539
- function on(e) {
539
+ function ln(e) {
540
540
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
541
541
  return Object.propertyIsEnumerable.call(e, r);
542
542
  }) : [];
543
543
  }
544
- function Bt(e) {
545
- return Object.keys(e).concat(on(e));
544
+ function Nt(e) {
545
+ return Object.keys(e).concat(ln(e));
546
546
  }
547
- function ti(e, r) {
547
+ function ni(e, r) {
548
548
  try {
549
549
  return r in e;
550
550
  } catch {
551
551
  return !1;
552
552
  }
553
553
  }
554
- function an(e, r) {
555
- return ti(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
554
+ function un(e, r) {
555
+ return ni(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
556
556
  }
557
- function ln(e, r, t) {
557
+ function cn(e, r, t) {
558
558
  var i = {};
559
- return t.isMergeableObject(e) && Bt(e).forEach(function(n) {
559
+ return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
560
560
  i[n] = Pr(e[n], t);
561
- }), Bt(r).forEach(function(n) {
562
- an(e, n) || (ti(e, n) && t.isMergeableObject(r[n]) ? i[n] = sn(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
561
+ }), Nt(r).forEach(function(n) {
562
+ un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
563
563
  }), i;
564
564
  }
565
565
  function nr(e, r, t) {
566
- t = t || {}, t.arrayMerge = t.arrayMerge || nn, t.isMergeableObject = t.isMergeableObject || qi, t.cloneUnlessOtherwiseSpecified = Pr;
566
+ t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = Pr;
567
567
  var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
568
- return s ? i ? t.arrayMerge(e, r, t) : ln(e, r, t) : Pr(r, t);
568
+ return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : Pr(r, t);
569
569
  }
570
570
  nr.all = function(r, t) {
571
571
  if (!Array.isArray(r))
@@ -574,8 +574,8 @@ nr.all = function(r, t) {
574
574
  return nr(i, n, t);
575
575
  }, {});
576
576
  };
577
- var un = nr, cn = un;
578
- const hn = /* @__PURE__ */ Wi(cn);
577
+ var hn = nr, fn = hn;
578
+ const dn = /* @__PURE__ */ Ji(fn);
579
579
  /*! *****************************************************************************
580
580
  Copyright (c) Microsoft Corporation.
581
581
 
@@ -617,7 +617,7 @@ var T = function() {
617
617
  return r;
618
618
  }, T.apply(this, arguments);
619
619
  };
620
- function fn(e, r) {
620
+ function mn(e, r) {
621
621
  var t = {};
622
622
  for (var i in e)
623
623
  Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
@@ -633,53 +633,55 @@ function st(e, r, t) {
633
633
  return e.concat(s || r);
634
634
  }
635
635
  function ot(e, r) {
636
- var t = r && r.cache ? r.cache : En, i = r && r.serializer ? r.serializer : bn, n = r && r.strategy ? r.strategy : gn;
636
+ var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
637
637
  return n(e, {
638
638
  cache: t,
639
639
  serializer: i
640
640
  });
641
641
  }
642
- function dn(e) {
642
+ function gn(e) {
643
643
  return e == null || typeof e == "number" || typeof e == "boolean";
644
644
  }
645
- function mn(e, r, t, i) {
646
- var n = dn(i) ? i : t(i), s = r.get(n);
645
+ function si(e, r, t, i) {
646
+ var n = gn(i) ? i : t(i), s = r.get(n);
647
647
  return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
648
648
  }
649
- function ii(e, r, t) {
649
+ function oi(e, r, t) {
650
650
  var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
651
651
  return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
652
652
  }
653
- function ni(e, r, t, i, n) {
653
+ function St(e, r, t, i, n) {
654
654
  return t.bind(r, e, i, n);
655
655
  }
656
- function gn(e, r) {
657
- var t = e.length === 1 ? mn : ii;
658
- return ni(e, this, t, r.cache.create(), r.serializer);
659
- }
660
656
  function pn(e, r) {
661
- return ni(e, this, ii, r.cache.create(), r.serializer);
657
+ var t = e.length === 1 ? si : oi;
658
+ return St(e, this, t, r.cache.create(), r.serializer);
659
+ }
660
+ function bn(e, r) {
661
+ return St(e, this, oi, r.cache.create(), r.serializer);
662
662
  }
663
- var bn = function() {
663
+ function yn(e, r) {
664
+ return St(e, this, si, r.cache.create(), r.serializer);
665
+ }
666
+ var En = function() {
664
667
  return JSON.stringify(arguments);
665
- }, yn = (
666
- /** @class */
667
- function() {
668
- function e() {
669
- this.cache = /* @__PURE__ */ Object.create(null);
670
- }
671
- return e.prototype.get = function(r) {
672
- return this.cache[r];
673
- }, e.prototype.set = function(r, t) {
674
- this.cache[r] = t;
675
- }, e;
676
- }()
677
- ), En = {
668
+ };
669
+ function Pt() {
670
+ this.cache = /* @__PURE__ */ Object.create(null);
671
+ }
672
+ Pt.prototype.get = function(e) {
673
+ return this.cache[e];
674
+ };
675
+ Pt.prototype.set = function(e, r) {
676
+ this.cache[e] = r;
677
+ };
678
+ var vn = {
678
679
  create: function() {
679
- return new yn();
680
+ return new Pt();
680
681
  }
681
682
  }, at = {
682
- variadic: pn
683
+ variadic: bn,
684
+ monadic: yn
683
685
  }, S;
684
686
  (function(e) {
685
687
  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";
@@ -692,43 +694,43 @@ var sr;
692
694
  (function(e) {
693
695
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
694
696
  })(sr || (sr = {}));
695
- function It(e) {
697
+ function Ot(e) {
696
698
  return e.type === L.literal;
697
699
  }
698
- function vn(e) {
700
+ function wn(e) {
699
701
  return e.type === L.argument;
700
702
  }
701
- function si(e) {
703
+ function ai(e) {
702
704
  return e.type === L.number;
703
705
  }
704
- function oi(e) {
706
+ function li(e) {
705
707
  return e.type === L.date;
706
708
  }
707
- function ai(e) {
709
+ function ui(e) {
708
710
  return e.type === L.time;
709
711
  }
710
- function li(e) {
712
+ function ci(e) {
711
713
  return e.type === L.select;
712
714
  }
713
- function ui(e) {
715
+ function hi(e) {
714
716
  return e.type === L.plural;
715
717
  }
716
- function wn(e) {
718
+ function _n(e) {
717
719
  return e.type === L.pound;
718
720
  }
719
- function ci(e) {
721
+ function fi(e) {
720
722
  return e.type === L.tag;
721
723
  }
722
- function hi(e) {
724
+ function di(e) {
723
725
  return !!(e && typeof e == "object" && e.type === sr.number);
724
726
  }
725
727
  function mt(e) {
726
728
  return !!(e && typeof e == "object" && e.type === sr.dateTime);
727
729
  }
728
- var fi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
729
- function Sn(e) {
730
+ var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
731
+ function Pn(e) {
730
732
  var r = {};
731
- return e.replace(_n, function(t) {
733
+ return e.replace(Sn, function(t) {
732
734
  var i = t.length;
733
735
  switch (t[0]) {
734
736
  case "G":
@@ -817,11 +819,11 @@ function Sn(e) {
817
819
  return "";
818
820
  }), r;
819
821
  }
820
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
821
- function xn(e) {
822
+ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
823
+ function Cn(e) {
822
824
  if (e.length === 0)
823
825
  throw new Error("Number skeleton cannot be empty");
824
- for (var r = e.split(Pn).filter(function(g) {
826
+ for (var r = e.split(xn).filter(function(g) {
825
827
  return g.length > 0;
826
828
  }), t = [], i = 0, n = r; i < n.length; i++) {
827
829
  var s = n[i], u = s.split("/");
@@ -836,17 +838,17 @@ function xn(e) {
836
838
  }
837
839
  return t;
838
840
  }
839
- function Cn(e) {
841
+ function An(e) {
840
842
  return e.replace(/^(.*?)-/, "");
841
843
  }
842
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, mi = /^(0+)$/;
843
- function Ot(e) {
844
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
845
+ function Mt(e) {
844
846
  var r = {};
845
- return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(di, function(t, i, n) {
847
+ return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(gi, function(t, i, n) {
846
848
  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)), "";
847
849
  }), r;
848
850
  }
849
- function gi(e) {
851
+ function bi(e) {
850
852
  switch (e) {
851
853
  case "sign-auto":
852
854
  return {
@@ -886,7 +888,7 @@ function gi(e) {
886
888
  };
887
889
  }
888
890
  }
889
- function Tn(e) {
891
+ function Hn(e) {
890
892
  var r;
891
893
  if (e[0] === "E" && e[1] === "E" ? (r = {
892
894
  notation: "engineering"
@@ -894,17 +896,17 @@ function Tn(e) {
894
896
  notation: "scientific"
895
897
  }, e = e.slice(1)), r) {
896
898
  var t = e.slice(0, 2);
897
- if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !mi.test(e))
899
+ if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
898
900
  throw new Error("Malformed concise eng/scientific notation");
899
901
  r.minimumIntegerDigits = e.length;
900
902
  }
901
903
  return r;
902
904
  }
903
- function Lt(e) {
904
- var r = {}, t = gi(e);
905
+ function Rt(e) {
906
+ var r = {}, t = bi(e);
905
907
  return t || r;
906
908
  }
907
- function Hn(e) {
909
+ function Bn(e) {
908
910
  for (var r = {}, t = 0, i = e; t < i.length; t++) {
909
911
  var n = i[t];
910
912
  switch (n.stem) {
@@ -928,7 +930,7 @@ function Hn(e) {
928
930
  continue;
929
931
  case "measure-unit":
930
932
  case "unit":
931
- r.style = "unit", r.unit = Cn(n.options[0]);
933
+ r.style = "unit", r.unit = An(n.options[0]);
932
934
  continue;
933
935
  case "compact-short":
934
936
  case "K":
@@ -940,12 +942,12 @@ function Hn(e) {
940
942
  continue;
941
943
  case "scientific":
942
944
  r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
943
- return T(T({}, f), Lt(c));
945
+ return T(T({}, f), Rt(c));
944
946
  }, {}));
945
947
  continue;
946
948
  case "engineering":
947
949
  r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
948
- return T(T({}, f), Lt(c));
950
+ return T(T({}, f), Rt(c));
949
951
  }, {}));
950
952
  continue;
951
953
  case "notation-simple":
@@ -990,7 +992,7 @@ function Hn(e) {
990
992
  case "integer-width":
991
993
  if (n.options.length > 1)
992
994
  throw new RangeError("integer-width stems only accept a single optional option");
993
- n.options[0].replace(An, function(f, c, h, m, g, b) {
995
+ n.options[0].replace(Tn, function(f, c, h, m, g, b) {
994
996
  if (c)
995
997
  r.minimumIntegerDigits = h.length;
996
998
  else {
@@ -1003,27 +1005,27 @@ function Hn(e) {
1003
1005
  });
1004
1006
  continue;
1005
1007
  }
1006
- if (mi.test(n.stem)) {
1008
+ if (pi.test(n.stem)) {
1007
1009
  r.minimumIntegerDigits = n.stem.length;
1008
1010
  continue;
1009
1011
  }
1010
- if (Nt.test(n.stem)) {
1012
+ if (Lt.test(n.stem)) {
1011
1013
  if (n.options.length > 1)
1012
1014
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1013
- n.stem.replace(Nt, function(f, c, h, m, g, b) {
1015
+ n.stem.replace(Lt, function(f, c, h, m, g, b) {
1014
1016
  return h === "*" ? 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), "";
1015
1017
  });
1016
1018
  var s = n.options[0];
1017
- s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Ot(s)));
1019
+ s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Mt(s)));
1018
1020
  continue;
1019
1021
  }
1020
- if (di.test(n.stem)) {
1021
- r = T(T({}, r), Ot(n.stem));
1022
+ if (gi.test(n.stem)) {
1023
+ r = T(T({}, r), Mt(n.stem));
1022
1024
  continue;
1023
1025
  }
1024
- var u = gi(n.stem);
1026
+ var u = bi(n.stem);
1025
1027
  u && (r = T(T({}, r), u));
1026
- var a = Tn(n.stem);
1028
+ var a = Hn(n.stem);
1027
1029
  a && (r = T(T({}, r), a));
1028
1030
  }
1029
1031
  return r;
@@ -2443,13 +2445,13 @@ var Qr = {
2443
2445
  "h"
2444
2446
  ]
2445
2447
  };
2446
- function Bn(e, r) {
2448
+ function In(e, r) {
2447
2449
  for (var t = "", i = 0; i < e.length; i++) {
2448
2450
  var n = e.charAt(i);
2449
2451
  if (n === "j") {
2450
2452
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2451
2453
  s++, i++;
2452
- var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = In(r);
2454
+ var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
2453
2455
  for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
2454
2456
  t += f;
2455
2457
  for (; u-- > 0; )
@@ -2459,7 +2461,7 @@ function Bn(e, r) {
2459
2461
  }
2460
2462
  return t;
2461
2463
  }
2462
- function In(e) {
2464
+ function Nn(e) {
2463
2465
  var r = e.hourCycle;
2464
2466
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2465
2467
  e.hourCycles && // @ts-ignore
@@ -2481,20 +2483,20 @@ function In(e) {
2481
2483
  var n = Qr[i || ""] || Qr[t || ""] || Qr["".concat(t, "-001")] || Qr["001"];
2482
2484
  return n[0];
2483
2485
  }
2484
- var lt, Nn = new RegExp("^".concat(fi.source, "*")), On = new RegExp("".concat(fi.source, "*$"));
2486
+ var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
2485
2487
  function P(e, r) {
2486
2488
  return { start: e, end: r };
2487
2489
  }
2488
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
2490
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
2489
2491
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2490
2492
  }, gt = !0;
2491
2493
  try {
2492
- var jn = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2493
- gt = ((lt = jn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2494
+ var Vn = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2495
+ gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2494
2496
  } catch {
2495
2497
  gt = !1;
2496
2498
  }
2497
- var Mt = Ln ? (
2499
+ var Ut = Mn ? (
2498
2500
  // Native
2499
2501
  function(r, t, i) {
2500
2502
  return r.startsWith(t, i);
@@ -2504,7 +2506,7 @@ var Mt = Ln ? (
2504
2506
  function(r, t, i) {
2505
2507
  return r.slice(i, i + t.length) === t;
2506
2508
  }
2507
- ), pt = Mn ? String.fromCodePoint : (
2509
+ ), pt = Rn ? String.fromCodePoint : (
2508
2510
  // IE11
2509
2511
  function() {
2510
2512
  for (var r = [], t = 0; t < arguments.length; t++)
@@ -2516,9 +2518,9 @@ var Mt = Ln ? (
2516
2518
  }
2517
2519
  return i;
2518
2520
  }
2519
- ), Rt = (
2521
+ ), kt = (
2520
2522
  // native
2521
- Rn ? Object.fromEntries : (
2523
+ Un ? Object.fromEntries : (
2522
2524
  // Ponyfill
2523
2525
  function(r) {
2524
2526
  for (var t = {}, i = 0, n = r; i < n.length; i++) {
@@ -2528,7 +2530,7 @@ var Mt = Ln ? (
2528
2530
  return t;
2529
2531
  }
2530
2532
  )
2531
- ), pi = Un ? (
2533
+ ), yi = kn ? (
2532
2534
  // Native
2533
2535
  function(r, t) {
2534
2536
  return r.codePointAt(t);
@@ -2542,7 +2544,7 @@ var Mt = Ln ? (
2542
2544
  return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2543
2545
  }
2544
2546
  }
2545
- ), Vn = kn ? (
2547
+ ), $n = Fn ? (
2546
2548
  // Native
2547
2549
  function(r) {
2548
2550
  return r.trimStart();
@@ -2550,9 +2552,9 @@ var Mt = Ln ? (
2550
2552
  ) : (
2551
2553
  // Ponyfill
2552
2554
  function(r) {
2553
- return r.replace(Nn, "");
2555
+ return r.replace(On, "");
2554
2556
  }
2555
- ), $n = Fn ? (
2557
+ ), Qn = Dn ? (
2556
2558
  // Native
2557
2559
  function(r) {
2558
2560
  return r.trimEnd();
@@ -2560,32 +2562,32 @@ var Mt = Ln ? (
2560
2562
  ) : (
2561
2563
  // Ponyfill
2562
2564
  function(r) {
2563
- return r.replace(On, "");
2565
+ return r.replace(Ln, "");
2564
2566
  }
2565
2567
  );
2566
- function bi(e, r) {
2568
+ function Ei(e, r) {
2567
2569
  return new RegExp(e, r);
2568
2570
  }
2569
2571
  var bt;
2570
2572
  if (gt) {
2571
- var Ut = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2573
+ var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2572
2574
  bt = function(r, t) {
2573
2575
  var i;
2574
- Ut.lastIndex = t;
2575
- var n = Ut.exec(r);
2576
+ Ft.lastIndex = t;
2577
+ var n = Ft.exec(r);
2576
2578
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2577
2579
  };
2578
2580
  } else
2579
2581
  bt = function(r, t) {
2580
2582
  for (var i = []; ; ) {
2581
- var n = pi(r, t);
2582
- if (n === void 0 || yi(n) || Zn(n))
2583
+ var n = yi(r, t);
2584
+ if (n === void 0 || vi(n) || Wn(n))
2583
2585
  break;
2584
2586
  i.push(n), t += n >= 65536 ? 2 : 1;
2585
2587
  }
2586
2588
  return pt.apply(void 0, i);
2587
2589
  };
2588
- var Qn = (
2590
+ var zn = (
2589
2591
  /** @class */
2590
2592
  function() {
2591
2593
  function e(r, t) {
@@ -2667,7 +2669,7 @@ var Qn = (
2667
2669
  return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
2668
2670
  }, e.prototype.parseTagName = function() {
2669
2671
  var r = this.offset();
2670
- for (this.bump(); !this.isEOF() && Xn(this.char()); )
2672
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
2671
2673
  this.bump();
2672
2674
  return this.message.slice(r, this.offset());
2673
2675
  }, e.prototype.parseLiteral = function(r, t) {
@@ -2696,7 +2698,7 @@ var Qn = (
2696
2698
  };
2697
2699
  }, e.prototype.tryParseLeftAngleBracket = function() {
2698
2700
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2699
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2701
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2700
2702
  }, e.prototype.tryParseQuote = function(r) {
2701
2703
  if (this.isEOF() || this.char() !== 39)
2702
2704
  return null;
@@ -2783,7 +2785,7 @@ var Qn = (
2783
2785
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2784
2786
  if (m.err)
2785
2787
  return m;
2786
- var g = $n(m.val);
2788
+ var g = Qn(m.val);
2787
2789
  if (g.length === 0)
2788
2790
  return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2789
2791
  var b = P(h, this.clonePosition());
@@ -2793,8 +2795,8 @@ var Qn = (
2793
2795
  if (w.err)
2794
2796
  return w;
2795
2797
  var y = P(n, this.clonePosition());
2796
- if (c && Mt(c?.style, "::", 0)) {
2797
- var A = Vn(c.style.slice(2));
2798
+ if (c && Ut(c?.style, "::", 0)) {
2799
+ var A = $n(c.style.slice(2));
2798
2800
  if (a === "number") {
2799
2801
  var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
2800
2802
  return m.err ? m : {
@@ -2805,12 +2807,12 @@ var Qn = (
2805
2807
  if (A.length === 0)
2806
2808
  return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
2807
2809
  var O = A;
2808
- this.locale && (O = Bn(A, this.locale));
2810
+ this.locale && (O = In(A, this.locale));
2809
2811
  var g = {
2810
2812
  type: sr.dateTime,
2811
2813
  pattern: O,
2812
2814
  location: c.styleLocation,
2813
- parsedOptions: this.shouldParseSkeletons ? Sn(O) : {}
2815
+ parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
2814
2816
  }, M = a === "date" ? L.date : L.time;
2815
2817
  return {
2816
2818
  val: { type: M, value: i, location: y, style: g },
@@ -2856,7 +2858,7 @@ var Qn = (
2856
2858
  val: {
2857
2859
  type: L.select,
2858
2860
  value: i,
2859
- options: Rt(me.val),
2861
+ options: kt(me.val),
2860
2862
  location: U
2861
2863
  },
2862
2864
  err: null
@@ -2864,7 +2866,7 @@ var Qn = (
2864
2866
  val: {
2865
2867
  type: L.plural,
2866
2868
  value: i,
2867
- options: Rt(me.val),
2869
+ options: kt(me.val),
2868
2870
  offset: G,
2869
2871
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2870
2872
  location: U
@@ -2915,7 +2917,7 @@ var Qn = (
2915
2917
  }, e.prototype.parseNumberSkeletonFromString = function(r, t) {
2916
2918
  var i = [];
2917
2919
  try {
2918
- i = xn(r);
2920
+ i = Cn(r);
2919
2921
  } catch {
2920
2922
  return this.error(S.INVALID_NUMBER_SKELETON, t);
2921
2923
  }
@@ -2924,7 +2926,7 @@ var Qn = (
2924
2926
  type: sr.number,
2925
2927
  tokens: i,
2926
2928
  location: t,
2927
- parsedOptions: this.shouldParseSkeletons ? Hn(i) : {}
2929
+ parsedOptions: this.shouldParseSkeletons ? Bn(i) : {}
2928
2930
  },
2929
2931
  err: null
2930
2932
  };
@@ -2972,7 +2974,7 @@ var Qn = (
2972
2974
  break;
2973
2975
  }
2974
2976
  var f = P(n, this.clonePosition());
2975
- return s ? (u *= i, Gn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
2977
+ return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
2976
2978
  }, e.prototype.offset = function() {
2977
2979
  return this.position.offset;
2978
2980
  }, e.prototype.isEOF = function() {
@@ -2987,7 +2989,7 @@ var Qn = (
2987
2989
  var r = this.position.offset;
2988
2990
  if (r >= this.message.length)
2989
2991
  throw Error("out of bound");
2990
- var t = pi(this.message, r);
2992
+ var t = yi(this.message, r);
2991
2993
  if (t === void 0)
2992
2994
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
2993
2995
  return t;
@@ -3006,7 +3008,7 @@ var Qn = (
3006
3008
  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);
3007
3009
  }
3008
3010
  }, e.prototype.bumpIf = function(r) {
3009
- if (Mt(this.message, r, this.offset())) {
3011
+ if (Ut(this.message, r, this.offset())) {
3010
3012
  for (var t = 0; t < r.length; t++)
3011
3013
  this.bump();
3012
3014
  return !0;
@@ -3028,7 +3030,7 @@ var Qn = (
3028
3030
  break;
3029
3031
  }
3030
3032
  }, e.prototype.bumpSpace = function() {
3031
- for (; !this.isEOF() && yi(this.char()); )
3033
+ for (; !this.isEOF() && vi(this.char()); )
3032
3034
  this.bump();
3033
3035
  }, e.prototype.peek = function() {
3034
3036
  if (this.isEOF())
@@ -3041,30 +3043,30 @@ var Qn = (
3041
3043
  function yt(e) {
3042
3044
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3043
3045
  }
3044
- function zn(e) {
3046
+ function Xn(e) {
3045
3047
  return yt(e) || e === 47;
3046
3048
  }
3047
- function Xn(e) {
3049
+ function Zn(e) {
3048
3050
  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;
3049
3051
  }
3050
- function yi(e) {
3052
+ function vi(e) {
3051
3053
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3052
3054
  }
3053
- function Zn(e) {
3055
+ function Wn(e) {
3054
3056
  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;
3055
3057
  }
3056
3058
  function Et(e) {
3057
3059
  e.forEach(function(r) {
3058
- if (delete r.location, li(r) || ui(r))
3060
+ if (delete r.location, ci(r) || hi(r))
3059
3061
  for (var t in r.options)
3060
3062
  delete r.options[t].location, Et(r.options[t].value);
3061
3063
  else
3062
- si(r) && hi(r.style) || (oi(r) || ai(r)) && mt(r.style) ? delete r.style.location : ci(r) && Et(r.children);
3064
+ ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
3063
3065
  });
3064
3066
  }
3065
- function Wn(e, r) {
3067
+ function qn(e, r) {
3066
3068
  r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
3067
- var t = new Qn(e, r).parse();
3069
+ var t = new zn(e, r).parse();
3068
3070
  if (t.err) {
3069
3071
  var i = SyntaxError(S[t.err.kind]);
3070
3072
  throw i.location = t.err.location, i.originalMessage = t.err.message, i;
@@ -3087,7 +3089,7 @@ var Kr = (
3087
3089
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3088
3090
  }, r;
3089
3091
  }(Error)
3090
- ), kt = (
3092
+ ), Dt = (
3091
3093
  /** @class */
3092
3094
  function(e) {
3093
3095
  Yr(r, e);
@@ -3096,7 +3098,7 @@ var Kr = (
3096
3098
  }
3097
3099
  return r;
3098
3100
  }(Kr)
3099
- ), qn = (
3101
+ ), Jn = (
3100
3102
  /** @class */
3101
3103
  function(e) {
3102
3104
  Yr(r, e);
@@ -3105,7 +3107,7 @@ var Kr = (
3105
3107
  }
3106
3108
  return r;
3107
3109
  }(Kr)
3108
- ), Jn = (
3110
+ ), Yn = (
3109
3111
  /** @class */
3110
3112
  function(e) {
3111
3113
  Yr(r, e);
@@ -3118,17 +3120,17 @@ var Kr = (
3118
3120
  (function(e) {
3119
3121
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3120
3122
  })(Q || (Q = {}));
3121
- function Yn(e) {
3123
+ function Kn(e) {
3122
3124
  return e.length < 2 ? e : e.reduce(function(r, t) {
3123
3125
  var i = r[r.length - 1];
3124
3126
  return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
3125
3127
  }, []);
3126
3128
  }
3127
- function Kn(e) {
3129
+ function es(e) {
3128
3130
  return typeof e == "function";
3129
3131
  }
3130
3132
  function Xr(e, r, t, i, n, s, u) {
3131
- if (e.length === 1 && It(e[0]))
3133
+ if (e.length === 1 && Ot(e[0]))
3132
3134
  return [
3133
3135
  {
3134
3136
  type: Q.literal,
@@ -3137,14 +3139,14 @@ function Xr(e, r, t, i, n, s, u) {
3137
3139
  ];
3138
3140
  for (var a = [], f = 0, c = e; f < c.length; f++) {
3139
3141
  var h = c[f];
3140
- if (It(h)) {
3142
+ if (Ot(h)) {
3141
3143
  a.push({
3142
3144
  type: Q.literal,
3143
3145
  value: h.value
3144
3146
  });
3145
3147
  continue;
3146
3148
  }
3147
- if (wn(h)) {
3149
+ if (_n(h)) {
3148
3150
  typeof s == "number" && a.push({
3149
3151
  type: Q.literal,
3150
3152
  value: t.getNumberFormat(r).format(s)
@@ -3153,16 +3155,16 @@ function Xr(e, r, t, i, n, s, u) {
3153
3155
  }
3154
3156
  var m = h.value;
3155
3157
  if (!(n && m in n))
3156
- throw new Jn(m, u);
3158
+ throw new Yn(m, u);
3157
3159
  var g = n[m];
3158
- if (vn(h)) {
3160
+ if (wn(h)) {
3159
3161
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
3160
3162
  type: typeof g == "string" ? Q.literal : Q.object,
3161
3163
  value: g
3162
3164
  });
3163
3165
  continue;
3164
3166
  }
3165
- if (oi(h)) {
3167
+ if (li(h)) {
3166
3168
  var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3167
3169
  a.push({
3168
3170
  type: Q.literal,
@@ -3170,7 +3172,7 @@ function Xr(e, r, t, i, n, s, u) {
3170
3172
  });
3171
3173
  continue;
3172
3174
  }
3173
- if (ai(h)) {
3175
+ if (ui(h)) {
3174
3176
  var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
3175
3177
  a.push({
3176
3178
  type: Q.literal,
@@ -3178,18 +3180,18 @@ function Xr(e, r, t, i, n, s, u) {
3178
3180
  });
3179
3181
  continue;
3180
3182
  }
3181
- if (si(h)) {
3182
- var b = typeof h.style == "string" ? i.number[h.style] : hi(h.style) ? h.style.parsedOptions : void 0;
3183
+ if (ai(h)) {
3184
+ var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
3183
3185
  b && b.scale && (g = g * (b.scale || 1)), a.push({
3184
3186
  type: Q.literal,
3185
3187
  value: t.getNumberFormat(r, b).format(g)
3186
3188
  });
3187
3189
  continue;
3188
3190
  }
3189
- if (ci(h)) {
3191
+ if (fi(h)) {
3190
3192
  var w = h.children, y = h.value, A = n[y];
3191
- if (!Kn(A))
3192
- throw new qn(y, "function", u);
3193
+ if (!es(A))
3194
+ throw new Jn(y, "function", u);
3193
3195
  var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
3194
3196
  return G.value;
3195
3197
  }));
@@ -3200,14 +3202,14 @@ function Xr(e, r, t, i, n, s, u) {
3200
3202
  };
3201
3203
  }));
3202
3204
  }
3203
- if (li(h)) {
3205
+ if (ci(h)) {
3204
3206
  var R = h.options[g] || h.options.other;
3205
3207
  if (!R)
3206
- throw new kt(h.value, g, Object.keys(h.options), u);
3208
+ throw new Dt(h.value, g, Object.keys(h.options), u);
3207
3209
  a.push.apply(a, Xr(R.value, r, t, i, n));
3208
3210
  continue;
3209
3211
  }
3210
- if (ui(h)) {
3212
+ if (hi(h)) {
3211
3213
  var R = h.options["=".concat(g)];
3212
3214
  if (!R) {
3213
3215
  if (!Intl.PluralRules)
@@ -3218,21 +3220,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3218
3220
  R = h.options[ce] || h.options.other;
3219
3221
  }
3220
3222
  if (!R)
3221
- throw new kt(h.value, g, Object.keys(h.options), u);
3223
+ throw new Dt(h.value, g, Object.keys(h.options), u);
3222
3224
  a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
3223
3225
  continue;
3224
3226
  }
3225
3227
  }
3226
- return Yn(a);
3228
+ return Kn(a);
3227
3229
  }
3228
- function es(e, r) {
3230
+ function rs(e, r) {
3229
3231
  return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
3230
3232
  return t[i] = T(T({}, e[i]), r[i] || {}), t;
3231
3233
  }, {})) : e;
3232
3234
  }
3233
- function rs(e, r) {
3235
+ function ts(e, r) {
3234
3236
  return r ? Object.keys(e).reduce(function(t, i) {
3235
- return t[i] = es(e[i], r[i]), t;
3237
+ return t[i] = rs(e[i], r[i]), t;
3236
3238
  }, T({}, e)) : e;
3237
3239
  }
3238
3240
  function ut(e) {
@@ -3249,7 +3251,7 @@ function ut(e) {
3249
3251
  }
3250
3252
  };
3251
3253
  }
3252
- function ts(e) {
3254
+ function is(e) {
3253
3255
  return e === void 0 && (e = {
3254
3256
  number: {},
3255
3257
  dateTime: {},
@@ -3281,7 +3283,7 @@ function ts(e) {
3281
3283
  })
3282
3284
  };
3283
3285
  }
3284
- var is = (
3286
+ var ns = (
3285
3287
  /** @class */
3286
3288
  function() {
3287
3289
  function e(r, t, i, n) {
@@ -3313,13 +3315,13 @@ var is = (
3313
3315
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3314
3316
  var u = n || {};
3315
3317
  u.formatters;
3316
- var a = fn(u, ["formatters"]);
3318
+ var a = mn(u, ["formatters"]);
3317
3319
  this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
3318
3320
  } else
3319
3321
  this.ast = r;
3320
3322
  if (!Array.isArray(this.ast))
3321
3323
  throw new TypeError("A message must be provided as a String or AST.");
3322
- this.formats = rs(e.formats, i), this.formatters = n && n.formatters || ts(this.formatterCache);
3324
+ this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
3323
3325
  }
3324
3326
  return Object.defineProperty(e, "defaultLocale", {
3325
3327
  get: function() {
@@ -3332,7 +3334,7 @@ var is = (
3332
3334
  var t = Intl.NumberFormat.supportedLocalesOf(r);
3333
3335
  return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
3334
3336
  }
3335
- }, e.__parse = Wn, e.formats = {
3337
+ }, e.__parse = qn, e.formats = {
3336
3338
  number: {
3337
3339
  integer: {
3338
3340
  maximumFractionDigits: 0
@@ -3393,7 +3395,7 @@ var is = (
3393
3395
  }, e;
3394
3396
  }()
3395
3397
  );
3396
- function ns(e, r) {
3398
+ function ss(e, r) {
3397
3399
  if (r == null)
3398
3400
  return;
3399
3401
  if (r in e)
@@ -3414,60 +3416,60 @@ function ns(e, r) {
3414
3416
  i = void 0;
3415
3417
  return i;
3416
3418
  }
3417
- const Ne = {}, ss = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Ei = (e, r) => {
3419
+ const Ne = {}, os = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), wi = (e, r) => {
3418
3420
  if (r == null)
3419
3421
  return;
3420
3422
  if (r in Ne && e in Ne[r])
3421
3423
  return Ne[r][e];
3422
3424
  const t = et(r);
3423
3425
  for (let i = 0; i < t.length; i++) {
3424
- const n = t[i], s = as(n, e);
3426
+ const n = t[i], s = ls(n, e);
3425
3427
  if (s)
3426
- return ss(e, r, s);
3428
+ return os(e, r, s);
3427
3429
  }
3428
3430
  };
3429
- let St;
3431
+ let xt;
3430
3432
  const Cr = Jr({});
3431
- function os(e) {
3432
- return St[e] || null;
3433
+ function as(e) {
3434
+ return xt[e] || null;
3433
3435
  }
3434
- function vi(e) {
3435
- return e in St;
3436
+ function _i(e) {
3437
+ return e in xt;
3436
3438
  }
3437
- function as(e, r) {
3438
- if (!vi(e))
3439
+ function ls(e, r) {
3440
+ if (!_i(e))
3439
3441
  return null;
3440
- const t = os(e);
3441
- return ns(t, r);
3442
+ const t = as(e);
3443
+ return ss(t, r);
3442
3444
  }
3443
- function ls(e) {
3445
+ function us(e) {
3444
3446
  if (e == null)
3445
3447
  return;
3446
3448
  const r = et(e);
3447
3449
  for (let t = 0; t < r.length; t++) {
3448
3450
  const i = r[t];
3449
- if (vi(i))
3451
+ if (_i(i))
3450
3452
  return i;
3451
3453
  }
3452
3454
  }
3453
- function wi(e, ...r) {
3454
- delete Ne[e], Cr.update((t) => (t[e] = hn.all([t[e] || {}, ...r]), t));
3455
+ function Si(e, ...r) {
3456
+ delete Ne[e], Cr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
3455
3457
  }
3456
3458
  ur(
3457
3459
  [Cr],
3458
3460
  ([e]) => Object.keys(e)
3459
3461
  );
3460
- Cr.subscribe((e) => St = e);
3462
+ Cr.subscribe((e) => xt = e);
3461
3463
  const Zr = {};
3462
- function us(e, r) {
3464
+ function cs(e, r) {
3463
3465
  Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
3464
3466
  }
3465
- function _i(e) {
3467
+ function Pi(e) {
3466
3468
  return Zr[e];
3467
3469
  }
3468
- function cs(e) {
3470
+ function hs(e) {
3469
3471
  return et(e).map((r) => {
3470
- const t = _i(r);
3472
+ const t = Pi(r);
3471
3473
  return [r, t ? [...t] : []];
3472
3474
  }).filter(([, r]) => r.length > 0);
3473
3475
  }
@@ -3475,31 +3477,31 @@ function vt(e) {
3475
3477
  return e == null ? !1 : et(e).some(
3476
3478
  (r) => {
3477
3479
  var t;
3478
- return (t = _i(r)) == null ? void 0 : t.size;
3480
+ return (t = Pi(r)) == null ? void 0 : t.size;
3479
3481
  }
3480
3482
  );
3481
3483
  }
3482
- function hs(e, r) {
3484
+ function fs(e, r) {
3483
3485
  return Promise.all(
3484
- r.map((i) => (us(e, i), i().then((n) => n.default || n)))
3485
- ).then((i) => wi(e, ...i));
3486
+ r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
3487
+ ).then((i) => Si(e, ...i));
3486
3488
  }
3487
3489
  const vr = {};
3488
- function Si(e) {
3490
+ function xi(e) {
3489
3491
  if (!vt(e))
3490
3492
  return e in vr ? vr[e] : Promise.resolve();
3491
- const r = cs(e);
3493
+ const r = hs(e);
3492
3494
  return vr[e] = Promise.all(
3493
3495
  r.map(
3494
- ([t, i]) => hs(t, i)
3496
+ ([t, i]) => fs(t, i)
3495
3497
  )
3496
3498
  ).then(() => {
3497
3499
  if (vt(e))
3498
- return Si(e);
3500
+ return xi(e);
3499
3501
  delete vr[e];
3500
3502
  }), vr[e];
3501
3503
  }
3502
- const fs = {
3504
+ const ds = {
3503
3505
  number: {
3504
3506
  scientific: { notation: "scientific" },
3505
3507
  engineering: { notation: "engineering" },
@@ -3528,34 +3530,34 @@ const fs = {
3528
3530
  timeZoneName: "short"
3529
3531
  }
3530
3532
  }
3531
- }, ds = {
3533
+ }, ms = {
3532
3534
  fallbackLocale: null,
3533
3535
  loadingDelay: 200,
3534
- formats: fs,
3536
+ formats: ds,
3535
3537
  warnOnMissingMessages: !0,
3536
3538
  handleMissingMessage: void 0,
3537
3539
  ignoreTag: !0
3538
- }, ms = ds;
3540
+ }, gs = ms;
3539
3541
  function ar() {
3540
- return ms;
3542
+ return gs;
3541
3543
  }
3542
3544
  const ct = Jr(!1);
3543
- var gs = Object.defineProperty, ps = Object.defineProperties, bs = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, ys = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, Dt = (e, r, t) => r in e ? gs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, vs = (e, r) => {
3545
+ var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, vs = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
3544
3546
  for (var t in r || (r = {}))
3545
- ys.call(r, t) && Dt(e, t, r[t]);
3546
- if (Ft)
3547
- for (var t of Ft(r))
3548
- Es.call(r, t) && Dt(e, t, r[t]);
3547
+ Es.call(r, t) && jt(e, t, r[t]);
3548
+ if (Gt)
3549
+ for (var t of Gt(r))
3550
+ vs.call(r, t) && jt(e, t, r[t]);
3549
3551
  return e;
3550
- }, ws = (e, r) => ps(e, bs(r));
3552
+ }, _s = (e, r) => bs(e, ys(r));
3551
3553
  let wt;
3552
3554
  const Wr = Jr(null);
3553
- function Gt(e) {
3555
+ function Vt(e) {
3554
3556
  return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
3555
3557
  }
3556
3558
  function et(e, r = ar().fallbackLocale) {
3557
- const t = Gt(e);
3558
- return r ? [.../* @__PURE__ */ new Set([...t, ...Gt(r)])] : t;
3559
+ const t = Vt(e);
3560
+ return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
3559
3561
  }
3560
3562
  function Fe() {
3561
3563
  return wt ?? void 0;
@@ -3563,22 +3565,22 @@ function Fe() {
3563
3565
  Wr.subscribe((e) => {
3564
3566
  wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3565
3567
  });
3566
- const _s = (e) => {
3567
- if (e && ls(e) && vt(e)) {
3568
+ const Ss = (e) => {
3569
+ if (e && us(e) && vt(e)) {
3568
3570
  const { loadingDelay: r } = ar();
3569
3571
  let t;
3570
3572
  return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
3571
3573
  () => ct.set(!0),
3572
3574
  r
3573
- ) : ct.set(!0), Si(e).then(() => {
3575
+ ) : ct.set(!0), xi(e).then(() => {
3574
3576
  Wr.set(e);
3575
3577
  }).finally(() => {
3576
3578
  clearTimeout(t), ct.set(!1);
3577
3579
  });
3578
3580
  }
3579
3581
  return Wr.set(e);
3580
- }, cr = ws(vs({}, Wr), {
3581
- set: _s
3582
+ }, cr = _s(ws({}, Wr), {
3583
+ set: Ss
3582
3584
  }), rt = (e) => {
3583
3585
  const r = /* @__PURE__ */ Object.create(null);
3584
3586
  return (i) => {
@@ -3586,20 +3588,20 @@ const _s = (e) => {
3586
3588
  return n in r ? r[n] : r[n] = e(i);
3587
3589
  };
3588
3590
  };
3589
- var Ss = Object.defineProperty, qr = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? Ss(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Pt = (e, r) => {
3591
+ var Ps = Object.defineProperty, qr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
3590
3592
  for (var t in r || (r = {}))
3591
- Pi.call(r, t) && jt(e, t, r[t]);
3593
+ Ci.call(r, t) && $t(e, t, r[t]);
3592
3594
  if (qr)
3593
3595
  for (var t of qr(r))
3594
- xi.call(r, t) && jt(e, t, r[t]);
3596
+ Ai.call(r, t) && $t(e, t, r[t]);
3595
3597
  return e;
3596
3598
  }, hr = (e, r) => {
3597
3599
  var t = {};
3598
3600
  for (var i in e)
3599
- Pi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3601
+ Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3600
3602
  if (e != null && qr)
3601
3603
  for (var i of qr(e))
3602
- r.indexOf(i) < 0 && xi.call(e, i) && (t[i] = e[i]);
3604
+ r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
3603
3605
  return t;
3604
3606
  };
3605
3607
  const xr = (e, r) => {
@@ -3607,21 +3609,21 @@ const xr = (e, r) => {
3607
3609
  if (e in t && r in t[e])
3608
3610
  return t[e][r];
3609
3611
  throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
3610
- }, Ps = rt(
3612
+ }, xs = rt(
3611
3613
  (e) => {
3612
3614
  var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
3613
3615
  if (t == null)
3614
3616
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3615
3617
  return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
3616
3618
  }
3617
- ), xs = rt(
3619
+ ), Cs = rt(
3618
3620
  (e) => {
3619
3621
  var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
3620
3622
  if (t == null)
3621
3623
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3622
3624
  return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
3623
3625
  }
3624
- ), Cs = rt(
3626
+ ), As = rt(
3625
3627
  (e) => {
3626
3628
  var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
3627
3629
  if (t == null)
@@ -3630,33 +3632,33 @@ const xr = (e, r) => {
3630
3632
  );
3631
3633
  return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
3632
3634
  }
3633
- ), As = (e = {}) => {
3635
+ ), Ts = (e = {}) => {
3634
3636
  var r = e, {
3635
3637
  locale: t = Fe()
3636
3638
  } = r, i = hr(r, [
3637
3639
  "locale"
3638
3640
  ]);
3639
- return Ps(Pt({ locale: t }, i));
3640
- }, Ts = (e = {}) => {
3641
+ return xs(Ct({ locale: t }, i));
3642
+ }, Hs = (e = {}) => {
3641
3643
  var r = e, {
3642
3644
  locale: t = Fe()
3643
3645
  } = r, i = hr(r, [
3644
3646
  "locale"
3645
3647
  ]);
3646
- return xs(Pt({ locale: t }, i));
3647
- }, Hs = (e = {}) => {
3648
+ return Cs(Ct({ locale: t }, i));
3649
+ }, Bs = (e = {}) => {
3648
3650
  var r = e, {
3649
3651
  locale: t = Fe()
3650
3652
  } = r, i = hr(r, [
3651
3653
  "locale"
3652
3654
  ]);
3653
- return Cs(Pt({ locale: t }, i));
3654
- }, Bs = rt(
3655
+ return As(Ct({ locale: t }, i));
3656
+ }, Is = rt(
3655
3657
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3656
- (e, r = Fe()) => new is(e, r, ar().formats, {
3658
+ (e, r = Fe()) => new ns(e, r, ar().formats, {
3657
3659
  ignoreTag: ar().ignoreTag
3658
3660
  })
3659
- ), Is = (e, r = {}) => {
3661
+ ), Ns = (e, r = {}) => {
3660
3662
  var t, i, n, s;
3661
3663
  let u = r;
3662
3664
  typeof e == "object" && (u = e, e = u.id);
@@ -3669,7 +3671,7 @@ const xr = (e, r) => {
3669
3671
  throw new Error(
3670
3672
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3671
3673
  );
3672
- let h = Ei(e, f);
3674
+ let h = wi(e, f);
3673
3675
  if (!h)
3674
3676
  h = (s = (n = (i = (t = ar()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3675
3677
  else if (typeof h != "string")
@@ -3680,7 +3682,7 @@ const xr = (e, r) => {
3680
3682
  return h;
3681
3683
  let m = h;
3682
3684
  try {
3683
- m = Bs(h, f).format(a);
3685
+ m = Is(h, f).format(a);
3684
3686
  } catch (g) {
3685
3687
  g instanceof Error && console.warn(
3686
3688
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3688,18 +3690,18 @@ const xr = (e, r) => {
3688
3690
  );
3689
3691
  }
3690
3692
  return m;
3691
- }, Ns = (e, r) => Hs(r).format(e), Os = (e, r) => Ts(r).format(e), Ls = (e, r) => As(r).format(e), Ms = (e, r = Fe()) => Ei(e, r), Rs = ur([cr, Cr], () => Is);
3692
- ur([cr], () => Ns);
3693
+ }, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us = ur([cr, Cr], () => Ns);
3693
3694
  ur([cr], () => Os);
3694
3695
  ur([cr], () => Ls);
3695
- ur([cr, Cr], () => Ms);
3696
- function Vt(e, r) {
3697
- wi(e, r);
3696
+ ur([cr], () => Ms);
3697
+ ur([cr, Cr], () => Rs);
3698
+ function Qt(e, r) {
3699
+ Si(e, r);
3698
3700
  }
3699
- function Us(e) {
3701
+ function ks(e) {
3700
3702
  cr.set(e);
3701
3703
  }
3702
- const $t = {
3704
+ const zt = {
3703
3705
  en: {
3704
3706
  registerTitle: "Create your account",
3705
3707
  registerSubtitle: "Already have an account?",
@@ -3954,13 +3956,13 @@ const $t = {
3954
3956
  registerNext: "Next"
3955
3957
  }
3956
3958
  };
3957
- function ks(e, r) {
3959
+ function Fs(e, r) {
3958
3960
  if (e) {
3959
3961
  const t = document.createElement("style");
3960
3962
  t.innerHTML = r, e.appendChild(t);
3961
3963
  }
3962
3964
  }
3963
- function Fs(e, r) {
3965
+ function Ds(e, r) {
3964
3966
  const t = new URL(r);
3965
3967
  fetch(t.href).then((i) => i.text()).then((i) => {
3966
3968
  const n = document.createElement("style");
@@ -3969,7 +3971,7 @@ function Fs(e, r) {
3969
3971
  console.error("There was an error while trying to load client styling from URL", i);
3970
3972
  });
3971
3973
  }
3972
- function Ds(e, r, t) {
3974
+ function Gs(e, r, t) {
3973
3975
  if (window.emMessageBus) {
3974
3976
  const i = document.createElement("style");
3975
3977
  window.emMessageBus.subscribe(r, (n) => {
@@ -3977,10 +3979,10 @@ function Ds(e, r, t) {
3977
3979
  });
3978
3980
  }
3979
3981
  }
3980
- function Gs(e) {
3981
- Ti(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}");
3982
+ function js(e) {
3983
+ Bi(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}");
3982
3984
  }
3983
- function Qt(e) {
3985
+ function Xt(e) {
3984
3986
  let r, t = (
3985
3987
  /*$_*/
3986
3988
  e[30]("registerEmailError") + ""
@@ -4002,7 +4004,7 @@ function Qt(e) {
4002
4004
  }
4003
4005
  };
4004
4006
  }
4005
- function zt(e) {
4007
+ function Zt(e) {
4006
4008
  let r, t = (
4007
4009
  /*$_*/
4008
4010
  e[30]("registerUsernameError") + ""
@@ -4024,7 +4026,7 @@ function zt(e) {
4024
4026
  }
4025
4027
  };
4026
4028
  }
4027
- function js(e) {
4029
+ function Vs(e) {
4028
4030
  let r, t, i, n, s, u, a, f, c;
4029
4031
  return {
4030
4032
  c() {
@@ -4044,7 +4046,7 @@ function js(e) {
4044
4046
  }
4045
4047
  };
4046
4048
  }
4047
- function Vs(e) {
4049
+ function $s(e) {
4048
4050
  let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
4049
4051
  return {
4050
4052
  c() {
@@ -4064,7 +4066,7 @@ function Vs(e) {
4064
4066
  }
4065
4067
  };
4066
4068
  }
4067
- function Xt(e) {
4069
+ function Wt(e) {
4068
4070
  let r, t = (
4069
4071
  /*$_*/
4070
4072
  e[30]("registerPasswordError") + ""
@@ -4086,7 +4088,7 @@ function Xt(e) {
4086
4088
  }
4087
4089
  };
4088
4090
  }
4089
- function Zt(e) {
4091
+ function qt(e) {
4090
4092
  let r, t = (
4091
4093
  /*$_*/
4092
4094
  e[30]("registerSimplePasswordError") + ""
@@ -4108,7 +4110,7 @@ function Zt(e) {
4108
4110
  }
4109
4111
  };
4110
4112
  }
4111
- function $s(e) {
4113
+ function Qs(e) {
4112
4114
  let r, t, i, n, s, u, a, f, c;
4113
4115
  return {
4114
4116
  c() {
@@ -4128,7 +4130,7 @@ function $s(e) {
4128
4130
  }
4129
4131
  };
4130
4132
  }
4131
- function Qs(e) {
4133
+ function zs(e) {
4132
4134
  let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
4133
4135
  return {
4134
4136
  c() {
@@ -4148,7 +4150,7 @@ function Qs(e) {
4148
4150
  }
4149
4151
  };
4150
4152
  }
4151
- function Wt(e) {
4153
+ function Jt(e) {
4152
4154
  let r, t = (
4153
4155
  /*$_*/
4154
4156
  e[30]("registerConfirmPasswordError") + ""
@@ -4170,7 +4172,7 @@ function Wt(e) {
4170
4172
  }
4171
4173
  };
4172
4174
  }
4173
- function qt(e) {
4175
+ function Yt(e) {
4174
4176
  let r, t = (
4175
4177
  /*custominputtextswitch*/
4176
4178
  (e[2] == "true" ? (
@@ -4204,7 +4206,7 @@ function qt(e) {
4204
4206
  }
4205
4207
  };
4206
4208
  }
4207
- function Jt(e) {
4209
+ function Kt(e) {
4208
4210
  let r, t = (
4209
4211
  /*custominputtextswitch*/
4210
4212
  (e[2] == "true" ? (
@@ -4238,7 +4240,7 @@ function Jt(e) {
4238
4240
  }
4239
4241
  };
4240
4242
  }
4241
- function zs(e) {
4243
+ function Xs(e) {
4242
4244
  let r, t, i, n = (
4243
4245
  /*$_*/
4244
4246
  e[30]("registerTitle") + ""
@@ -4284,43 +4286,43 @@ function zs(e) {
4284
4286
  ), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
4285
4287
  /*$_*/
4286
4288
  e[30]("registerNext") + ""
4287
- ), tt, jr, it, xt, W = (
4289
+ ), tt, jr, it, At, W = (
4288
4290
  /*invalidEmail*/
4289
- e[4] && Qt(e)
4291
+ e[4] && Xt(e)
4290
4292
  ), q = (
4291
4293
  /*invalidName*/
4292
- e[5] && zt(e)
4294
+ e[5] && Zt(e)
4293
4295
  );
4294
- function Ct(d, v) {
4296
+ function Tt(d, v) {
4295
4297
  return (
4296
4298
  /*isPasswordVisible*/
4297
- d[25] ? Vs : js
4299
+ d[25] ? $s : Vs
4298
4300
  );
4299
4301
  }
4300
- let Vr = Ct(e), _e = Vr(e), J = (
4302
+ let Vr = Tt(e), _e = Vr(e), J = (
4301
4303
  /*invalidPassword*/
4302
4304
  e[6] && /*simplepasswordvalidation*/
4303
- e[0] !== "true" && Xt(e)
4305
+ e[0] !== "true" && Wt(e)
4304
4306
  ), Y = (
4305
4307
  /*invalidPassword*/
4306
4308
  e[6] && /*simplepasswordvalidation*/
4307
- e[0] === "true" && Zt(e)
4309
+ e[0] === "true" && qt(e)
4308
4310
  );
4309
- function At(d, v) {
4311
+ function Ht(d, v) {
4310
4312
  return (
4311
4313
  /*isConfirmPasswordVisible*/
4312
- d[26] ? Qs : $s
4314
+ d[26] ? zs : Qs
4313
4315
  );
4314
4316
  }
4315
- let $r = At(e), Se = $r(e), K = (
4317
+ let $r = Ht(e), Se = $r(e), K = (
4316
4318
  /*invalidConfirmPassword*/
4317
- e[7] && Wt(e)
4319
+ e[7] && Jt(e)
4318
4320
  ), ee = (
4319
4321
  /*invalidSecurityQuestion*/
4320
- e[8] && qt(e)
4322
+ e[8] && Yt(e)
4321
4323
  ), re = (
4322
4324
  /*invalidSecurityAnswer*/
4323
- e[9] && Jt(e)
4325
+ e[9] && Kt(e)
4324
4326
  );
4325
4327
  return {
4326
4328
  c() {
@@ -4378,7 +4380,7 @@ function zs(e) {
4378
4380
  ae,
4379
4381
  /*securityAnswer*/
4380
4382
  e[23]
4381
- ), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (xt = [
4383
+ ), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (At = [
4382
4384
  x(
4383
4385
  m,
4384
4386
  "click",
@@ -4577,7 +4579,7 @@ function zs(e) {
4577
4579
  /*userEmail*/
4578
4580
  d[19]
4579
4581
  ), /*invalidEmail*/
4580
- d[4] ? W ? W.p(d, v) : (W = Qt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4582
+ d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4581
4583
  132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
4582
4584
  (d[4] && !/*emailFocus*/
4583
4585
  d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4592,7 +4594,7 @@ function zs(e) {
4592
4594
  /*userValue*/
4593
4595
  d[18]
4594
4596
  ), /*invalidName*/
4595
- d[5] ? q ? q.p(d, v) : (q = zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4597
+ d[5] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4596
4598
  133152 && ye !== (ye = "UserContainer " + /*invalidName*/
4597
4599
  (d[5] && !/*usernameFocus*/
4598
4600
  d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4606,11 +4608,11 @@ function zs(e) {
4606
4608
  B,
4607
4609
  /*userPassword*/
4608
4610
  d[20]
4609
- ), Vr === (Vr = Ct(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
4611
+ ), Vr === (Vr = Tt(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
4610
4612
  d[6] && /*simplepasswordvalidation*/
4611
- d[0] !== "true" ? J ? J.p(d, v) : (J = Xt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
4613
+ d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
4612
4614
  d[6] && /*simplepasswordvalidation*/
4613
- d[0] === "true" ? Y ? Y.p(d, v) : (Y = Zt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4615
+ d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4614
4616
  135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
4615
4617
  (d[6] && !/*passwordFocus*/
4616
4618
  d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4624,8 +4626,8 @@ function zs(e) {
4624
4626
  $,
4625
4627
  /*confirmUserPassword*/
4626
4628
  d[21]
4627
- ), $r === ($r = At(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
4628
- d[7] ? K ? K.p(d, v) : (K = Wt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4629
+ ), $r === ($r = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
4630
+ d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4629
4631
  139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4630
4632
  (d[7] && !/*confirmPasswordFocus*/
4631
4633
  d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4654,7 +4656,7 @@ function zs(e) {
4654
4656
  /*securityQuestion*/
4655
4657
  d[22]
4656
4658
  ), /*invalidSecurityQuestion*/
4657
- d[8] ? ee ? ee.p(d, v) : (ee = qt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4659
+ d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4658
4660
  147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4659
4661
  (d[8] && !/*securityQFocus*/
4660
4662
  d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4673,7 +4675,7 @@ function zs(e) {
4673
4675
  /*securityAnswer*/
4674
4676
  d[23]
4675
4677
  ), /*invalidSecurityAnswer*/
4676
- d[9] ? re ? re.p(d, v) : (re = Jt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4678
+ d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4677
4679
  164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4678
4680
  (d[9] && !/*securityAFocus*/
4679
4681
  d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4686,13 +4688,13 @@ function zs(e) {
4686
4688
  i: z,
4687
4689
  o: z,
4688
4690
  d(d) {
4689
- d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(xt);
4691
+ d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(At);
4690
4692
  }
4691
4693
  };
4692
4694
  }
4693
- function Xs(e, r, t) {
4695
+ function Zs(e, r, t) {
4694
4696
  let i;
4695
- Ai(e, Rs, (p) => t(30, i = p));
4697
+ Hi(e, Us, (p) => t(30, i = p));
4696
4698
  let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, De = !1, Ce = !1, Ge, k = "", X = "", he = "", ge = "", ne = "", V = "", Ae = "", F = !1, Pe = !1, Te, ye, pe = {}, C = {
4697
4699
  username: !1,
4698
4700
  email: !1,
@@ -4710,14 +4712,14 @@ function Xs(e, r, t) {
4710
4712
  const Ar = () => {
4711
4713
  fetch(h).then((N) => N.json()).then((N) => {
4712
4714
  Object.keys(N).forEach((le) => {
4713
- Vt(le, N[le]);
4715
+ Qt(le, N[le]);
4714
4716
  });
4715
4717
  }).catch((N) => {
4716
4718
  console.log(N);
4717
4719
  });
4718
4720
  };
4719
- Object.keys($t).forEach((p) => {
4720
- Vt(p, $t[p]);
4721
+ Object.keys(zt).forEach((p) => {
4722
+ Qt(p, zt[p]);
4721
4723
  });
4722
4724
  const Oe = () => {
4723
4725
  window.postMessage({ type: "ToLogin" }, window.location.href);
@@ -4827,9 +4829,9 @@ function Xs(e, r, t) {
4827
4829
  }, Br = () => {
4828
4830
  t(17, Ge = s.split(","));
4829
4831
  }, we = () => {
4830
- Us(n);
4832
+ ks(n);
4831
4833
  };
4832
- Li(() => (window.addEventListener("message", Ue, !1), () => {
4834
+ Ri(() => (window.addEventListener("message", Ue, !1), () => {
4833
4835
  window.removeEventListener("message", Ue);
4834
4836
  }));
4835
4837
  const ke = () => Oe();
@@ -4886,11 +4888,11 @@ function Xs(e, r, t) {
4886
4888
  16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
4887
4889
  1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
4888
4890
  8 | e.$$.dirty[1] & /*clientstyling*/
4889
- 65536 && f && Z && ks(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
4891
+ 65536 && f && Z && Fs(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
4890
4892
  8 | e.$$.dirty[1] & /*clientstylingurl*/
4891
- 131072 && c && Z && Fs(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
4893
+ 131072 && c && Z && Ds(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
4892
4894
  8 | e.$$.dirty[1] & /*mbsource*/
4893
- 32768 && a && Z && Ds(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
4895
+ 32768 && a && Z && Gs(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
4894
4896
  262144 && h && Ar();
4895
4897
  }, [
4896
4898
  u,
@@ -4975,14 +4977,14 @@ function Xs(e, r, t) {
4975
4977
  Ke
4976
4978
  ];
4977
4979
  }
4978
- class Zs extends zi {
4980
+ class Ws extends Zi {
4979
4981
  constructor(r) {
4980
- super(), $i(
4982
+ super(), zi(
4981
4983
  this,
4982
4984
  r,
4985
+ Zs,
4983
4986
  Xs,
4984
- zs,
4985
- Kt,
4987
+ ri,
4986
4988
  {
4987
4989
  lang: 44,
4988
4990
  disabledfields: 45,
@@ -4994,7 +4996,7 @@ class Zs extends zi {
4994
4996
  savecredentials: 1,
4995
4997
  custominputtextswitch: 2
4996
4998
  },
4997
- Gs,
4999
+ js,
4998
5000
  [-1, -1, -1, -1]
4999
5001
  );
5000
5002
  }
@@ -5053,7 +5055,7 @@ class Zs extends zi {
5053
5055
  this.$$set({ custominputtextswitch: r }), be();
5054
5056
  }
5055
5057
  }
5056
- Qi(Zs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5058
+ Xi(Ws, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5057
5059
  export {
5058
- Zs as G
5060
+ Ws as G
5059
5061
  };