@everymatrix/general-player-register-form-step1 1.54.11 → 1.55.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 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) => {
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) => {
6
6
  for (var t in r || (r = {}))
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]);
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]);
11
11
  return e;
12
- }, Dt = (e, r) => Gi(e, ji(r));
12
+ }, jt = (e, r) => Vi(e, $i(r));
13
13
  var be = (e, r, t) => ht(e, typeof r != "symbol" ? r + "" : r, t);
14
- var Gt = (e, r, t) => new Promise((i, n) => {
14
+ var Vt = (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 Gt = (e, r, t) => new Promise((i, n) => {
29
29
  });
30
30
  function X() {
31
31
  }
32
- function fi(e) {
32
+ function mi(e) {
33
33
  return e();
34
34
  }
35
- function jt() {
35
+ function $t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function cr(e) {
39
- e.forEach(fi);
39
+ e.forEach(mi);
40
40
  }
41
41
  function It(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function di(e, r) {
44
+ function gi(e, r) {
45
45
  return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Qi(e) {
47
+ function Xi(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function mi(e, ...r) {
50
+ function pi(e, ...r) {
51
51
  if (e == null) {
52
52
  for (const i of r)
53
53
  i(void 0);
@@ -56,20 +56,20 @@ function mi(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(mi(r, t));
59
+ function Zi(e, r, t) {
60
+ e.$$.on_destroy.push(pi(r, t));
61
61
  }
62
62
  function u(e, r) {
63
63
  e.appendChild(r);
64
64
  }
65
- function Xi(e, r, t) {
66
- const i = Zi(e);
65
+ function Wi(e, r, t) {
66
+ const i = qi(e);
67
67
  if (!i.getElementById(r)) {
68
68
  const n = v("style");
69
- n.id = r, n.textContent = t, Wi(i, n);
69
+ n.id = r, n.textContent = t, Ji(i, n);
70
70
  }
71
71
  }
72
- function Zi(e) {
72
+ function qi(e) {
73
73
  if (!e) return document;
74
74
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return r && /** @type {ShadowRoot} */
@@ -78,7 +78,7 @@ function Zi(e) {
78
78
  r
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function Wi(e, r) {
81
+ function Ji(e, r) {
82
82
  return u(
83
83
  /** @type {Document} */
84
84
  e.head || e,
@@ -109,7 +109,7 @@ function x(e, r, t, i) {
109
109
  function o(e, r, t) {
110
110
  t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
111
111
  }
112
- function qi(e) {
112
+ function Yi(e) {
113
113
  return Array.from(e.childNodes);
114
114
  }
115
115
  function F(e, r) {
@@ -119,7 +119,7 @@ function F(e, r) {
119
119
  function ne(e, r) {
120
120
  e.value = r == null ? "" : r;
121
121
  }
122
- function Ji(e) {
122
+ function Ki(e) {
123
123
  const r = {};
124
124
  return e.childNodes.forEach(
125
125
  /** @param {Element} node */
@@ -132,19 +132,19 @@ let Nr;
132
132
  function Ir(e) {
133
133
  Nr = e;
134
134
  }
135
- function Yi() {
135
+ function en() {
136
136
  if (!Nr) throw new Error("Function called outside component initialization");
137
137
  return Nr;
138
138
  }
139
- function Ki(e) {
140
- Yi().$$.on_mount.push(e);
139
+ function rn(e) {
140
+ en().$$.on_mount.push(e);
141
141
  }
142
142
  const nr = [], Br = [];
143
143
  let sr = [];
144
- const Vt = [], en = /* @__PURE__ */ Promise.resolve();
144
+ const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
145
145
  let Et = !1;
146
- function rn() {
147
- Et || (Et = !0, en.then(xe));
146
+ function nn() {
147
+ Et || (Et = !0, tn.then(xe));
148
148
  }
149
149
  function vt(e) {
150
150
  sr.push(e);
@@ -159,7 +159,7 @@ function xe() {
159
159
  try {
160
160
  for (; tr < nr.length; ) {
161
161
  const r = nr[tr];
162
- tr++, Ir(r), tn(r.$$);
162
+ tr++, Ir(r), sn(r.$$);
163
163
  }
164
164
  } catch (r) {
165
165
  throw nr.length = 0, tr = 0, r;
@@ -171,40 +171,40 @@ function xe() {
171
171
  }
172
172
  sr.length = 0;
173
173
  } while (nr.length);
174
- for (; Vt.length; )
175
- Vt.pop()();
174
+ for (; Qt.length; )
175
+ Qt.pop()();
176
176
  Et = !1, ft.clear(), Ir(e);
177
177
  }
178
- function tn(e) {
178
+ function sn(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), cr(e.before_update);
181
181
  const r = e.dirty;
182
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
183
183
  }
184
184
  }
185
- function nn(e) {
185
+ function on(e) {
186
186
  const r = [], t = [];
187
187
  sr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), sr = r;
188
188
  }
189
- const sn = /* @__PURE__ */ new Set();
190
- function on(e, r) {
191
- e && e.i && (sn.delete(e), e.i(r));
189
+ const an = /* @__PURE__ */ new Set();
190
+ function ln(e, r) {
191
+ e && e.i && (an.delete(e), e.i(r));
192
192
  }
193
- function an(e, r, t) {
193
+ function un(e, r, t) {
194
194
  const { fragment: i, after_update: n } = e.$$;
195
195
  i && i.m(r, t), vt(() => {
196
- const s = e.$$.on_mount.map(fi).filter(It);
196
+ const s = e.$$.on_mount.map(mi).filter(It);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : cr(s), e.$$.on_mount = [];
198
198
  }), n.forEach(vt);
199
199
  }
200
- function ln(e, r) {
200
+ function cn(e, r) {
201
201
  const t = e.$$;
202
- t.fragment !== null && (nn(t.after_update), cr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
202
+ t.fragment !== null && (on(t.after_update), cr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
203
203
  }
204
- function un(e, r) {
205
- e.$$.dirty[0] === -1 && (nr.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
204
+ function hn(e, r) {
205
+ e.$$.dirty[0] === -1 && (nr.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
206
206
  }
207
- function cn(e, r, t, i, n, s, a = null, l = [-1]) {
207
+ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
208
208
  const h = Nr;
209
209
  Ir(e);
210
210
  const c = e.$$ = {
@@ -214,7 +214,7 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
214
214
  props: s,
215
215
  update: X,
216
216
  not_equal: n,
217
- bound: jt(),
217
+ bound: $t(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,7 +223,7 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(r.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: jt(),
226
+ callbacks: $t(),
227
227
  dirty: l,
228
228
  skip_bound: !1,
229
229
  root: r.target || h.$$.root
@@ -232,19 +232,19 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
232
232
  let f = !1;
233
233
  if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
234
234
  const _ = b.length ? b[0] : g;
235
- return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), f && un(e, m)), g;
235
+ return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), f && hn(e, m)), g;
236
236
  }) : [], c.update(), f = !0, cr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
237
237
  if (r.hydrate) {
238
- const m = qi(r.target);
238
+ const m = Yi(r.target);
239
239
  c.fragment && c.fragment.l(m), m.forEach(se);
240
240
  } else
241
241
  c.fragment && c.fragment.c();
242
- r.intro && on(e.$$.fragment), an(e, r.target, r.anchor), xe();
242
+ r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), xe();
243
243
  }
244
244
  Ir(h);
245
245
  }
246
- let gi;
247
- typeof HTMLElement == "function" && (gi = class extends HTMLElement {
246
+ let bi;
247
+ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
248
248
  constructor(r, t, i) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return Gt(this, null, function* () {
284
+ return Vt(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let r = function(s) {
287
287
  return () => {
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const t = {}, i = Ji(this);
308
+ const t = {}, i = Ki(this);
309
309
  for (const s of this.$$s)
310
310
  s in i && (t[s] = [r(s)]);
311
311
  for (const s of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
316
316
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Dt(Ft({}, this.$$d), {
319
+ props: jt(Gt({}, this.$$d), {
320
320
  $$slots: t,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function et(e, r, t, i) {
394
394
  return r;
395
395
  }
396
396
  }
397
- function hn(e, r, t, i, n, s) {
398
- let a = class extends gi {
397
+ function dn(e, r, t, i, n, s) {
398
+ let a = class extends bi {
399
399
  constructor() {
400
400
  super(e, t, n), this.$$p_d = r;
401
401
  }
@@ -425,7 +425,7 @@ function hn(e, r, t, i, n, s) {
425
425
  }), e.element = /** @type {any} */
426
426
  a, a;
427
427
  }
428
- class fn {
428
+ class mn {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class fn {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- ln(this, 1), this.$destroy = X;
449
+ cn(this, 1), this.$destroy = X;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -468,13 +468,13 @@ class fn {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(r) {
471
- this.$$set && !Qi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
471
+ this.$$set && !Xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const dn = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
474
+ const gn = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
476
476
  const ir = [];
477
- function mn(e, r) {
477
+ function pn(e, r) {
478
478
  return {
479
479
  subscribe: st(e, r).subscribe
480
480
  };
@@ -483,7 +483,7 @@ function st(e, r = X) {
483
483
  let t;
484
484
  const i = /* @__PURE__ */ new Set();
485
485
  function n(l) {
486
- if (di(e, l) && (e = l, t)) {
486
+ if (gi(e, l) && (e = l, t)) {
487
487
  const h = !ir.length;
488
488
  for (const c of i)
489
489
  c[1](), ir.push(c, e);
@@ -510,7 +510,7 @@ function hr(e, r, t) {
510
510
  if (!n.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const s = r.length < 2;
513
- return mn(t, (a, l) => {
513
+ return pn(t, (a, l) => {
514
514
  let h = !1;
515
515
  const c = [];
516
516
  let f = 0, m = X;
@@ -521,7 +521,7 @@ function hr(e, r, t) {
521
521
  const _ = r(i ? c[0] : c, a, l);
522
522
  s ? a(_) : m = It(_) ? _ : X;
523
523
  }, b = n.map(
524
- (_, E) => mi(
524
+ (_, E) => pi(
525
525
  _,
526
526
  (w) => {
527
527
  c[E] = w, f &= ~(1 << E), h && g();
@@ -536,70 +536,70 @@ function hr(e, r, t) {
536
536
  };
537
537
  });
538
538
  }
539
- function gn(e) {
539
+ function bn(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var pn = function(r) {
543
- return bn(r) && !yn(r);
542
+ var yn = function(r) {
543
+ return En(r) && !vn(r);
544
544
  };
545
- function bn(e) {
545
+ function En(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function yn(e) {
548
+ function vn(e) {
549
549
  var r = Object.prototype.toString.call(e);
550
- return r === "[object RegExp]" || r === "[object Date]" || _n(e);
550
+ return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
551
551
  }
552
- var En = typeof Symbol == "function" && Symbol.for, vn = En ? Symbol.for("react.element") : 60103;
553
- function _n(e) {
554
- return e.$$typeof === vn;
552
+ var _n = typeof Symbol == "function" && Symbol.for, wn = _n ? Symbol.for("react.element") : 60103;
553
+ function Sn(e) {
554
+ return e.$$typeof === wn;
555
555
  }
556
- function wn(e) {
556
+ function Pn(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function Or(e, r) {
560
- return r.clone !== !1 && r.isMergeableObject(e) ? or(wn(e), e, r) : e;
560
+ return r.clone !== !1 && r.isMergeableObject(e) ? or(Pn(e), e, r) : e;
561
561
  }
562
- function Sn(e, r, t) {
562
+ function Cn(e, r, t) {
563
563
  return e.concat(r).map(function(i) {
564
564
  return Or(i, t);
565
565
  });
566
566
  }
567
- function Pn(e, r) {
567
+ function xn(e, r) {
568
568
  if (!r.customMerge)
569
569
  return or;
570
570
  var t = r.customMerge(e);
571
571
  return typeof t == "function" ? t : or;
572
572
  }
573
- function Cn(e) {
573
+ function An(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
575
575
  return Object.propertyIsEnumerable.call(e, r);
576
576
  }) : [];
577
577
  }
578
- function $t(e) {
579
- return Object.keys(e).concat(Cn(e));
578
+ function zt(e) {
579
+ return Object.keys(e).concat(An(e));
580
580
  }
581
- function pi(e, r) {
581
+ function yi(e, r) {
582
582
  try {
583
583
  return r in e;
584
584
  } catch (t) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function xn(e, r) {
589
- return pi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
588
+ function Tn(e, r) {
589
+ return yi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
590
590
  }
591
- function An(e, r, t) {
591
+ function Hn(e, r, t) {
592
592
  var i = {};
593
- return t.isMergeableObject(e) && $t(e).forEach(function(n) {
593
+ return t.isMergeableObject(e) && zt(e).forEach(function(n) {
594
594
  i[n] = Or(e[n], t);
595
- }), $t(r).forEach(function(n) {
596
- xn(e, n) || (pi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Pn(n, t)(e[n], r[n], t) : i[n] = Or(r[n], t));
595
+ }), zt(r).forEach(function(n) {
596
+ Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = xn(n, t)(e[n], r[n], t) : i[n] = Or(r[n], t));
597
597
  }), i;
598
598
  }
599
599
  function or(e, r, t) {
600
- t = t || {}, t.arrayMerge = t.arrayMerge || Sn, t.isMergeableObject = t.isMergeableObject || pn, t.cloneUnlessOtherwiseSpecified = Or;
600
+ t = t || {}, t.arrayMerge = t.arrayMerge || Cn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Or;
601
601
  var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
602
- return s ? i ? t.arrayMerge(e, r, t) : An(e, r, t) : Or(r, t);
602
+ return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Or(r, t);
603
603
  }
604
604
  or.all = function(r, t) {
605
605
  if (!Array.isArray(r))
@@ -608,8 +608,8 @@ or.all = function(r, t) {
608
608
  return or(i, n, t);
609
609
  }, {});
610
610
  };
611
- var Tn = or, Hn = Tn;
612
- const In = /* @__PURE__ */ gn(Hn);
611
+ var In = or, Bn = In;
612
+ const Nn = /* @__PURE__ */ bn(Bn);
613
613
  var _t = function(e, r) {
614
614
  return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
615
615
  t.__proto__ = i;
@@ -635,7 +635,7 @@ var A = function() {
635
635
  return r;
636
636
  }, A.apply(this, arguments);
637
637
  };
638
- function Bn(e, r) {
638
+ function On(e, r) {
639
639
  var t = {};
640
640
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
641
641
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -649,53 +649,55 @@ function dt(e, r, t) {
649
649
  return e.concat(s || Array.prototype.slice.call(r));
650
650
  }
651
651
  function mt(e, r) {
652
- var t = r && r.cache ? r.cache : kn, i = r && r.serializer ? r.serializer : Rn, n = r && r.strategy ? r.strategy : Ln;
652
+ var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
653
653
  return n(e, {
654
654
  cache: t,
655
655
  serializer: i
656
656
  });
657
657
  }
658
- function Nn(e) {
658
+ function Ln(e) {
659
659
  return e == null || typeof e == "number" || typeof e == "boolean";
660
660
  }
661
- function On(e, r, t, i) {
662
- var n = Nn(i) ? i : t(i), s = r.get(n);
661
+ function Ei(e, r, t, i) {
662
+ var n = Ln(i) ? i : t(i), s = r.get(n);
663
663
  return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
664
664
  }
665
- function bi(e, r, t) {
665
+ function vi(e, r, t) {
666
666
  var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
667
667
  return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
668
668
  }
669
- function yi(e, r, t, i, n) {
669
+ function Bt(e, r, t, i, n) {
670
670
  return t.bind(r, e, i, n);
671
671
  }
672
- function Ln(e, r) {
673
- var t = e.length === 1 ? On : bi;
674
- return yi(e, this, t, r.cache.create(), r.serializer);
675
- }
676
672
  function Mn(e, r) {
677
- return yi(e, this, bi, r.cache.create(), r.serializer);
673
+ var t = e.length === 1 ? Ei : vi;
674
+ return Bt(e, this, t, r.cache.create(), r.serializer);
675
+ }
676
+ function Rn(e, r) {
677
+ return Bt(e, this, vi, r.cache.create(), r.serializer);
678
678
  }
679
- var Rn = function() {
679
+ function Un(e, r) {
680
+ return Bt(e, this, Ei, r.cache.create(), r.serializer);
681
+ }
682
+ var kn = function() {
680
683
  return JSON.stringify(arguments);
681
- }, Un = (
682
- /** @class */
683
- function() {
684
- function e() {
685
- this.cache = /* @__PURE__ */ Object.create(null);
686
- }
687
- return e.prototype.get = function(r) {
688
- return this.cache[r];
689
- }, e.prototype.set = function(r, t) {
690
- this.cache[r] = t;
691
- }, e;
692
- }()
693
- ), kn = {
684
+ };
685
+ function Nt() {
686
+ this.cache = /* @__PURE__ */ Object.create(null);
687
+ }
688
+ Nt.prototype.get = function(e) {
689
+ return this.cache[e];
690
+ };
691
+ Nt.prototype.set = function(e, r) {
692
+ this.cache[e] = r;
693
+ };
694
+ var Fn = {
694
695
  create: function() {
695
- return new Un();
696
+ return new Nt();
696
697
  }
697
698
  }, gt = {
698
- variadic: Mn
699
+ variadic: Rn,
700
+ monadic: Un
699
701
  }, P;
700
702
  (function(e) {
701
703
  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";
@@ -708,43 +710,43 @@ var ar;
708
710
  (function(e) {
709
711
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
710
712
  })(ar || (ar = {}));
711
- function Qt(e) {
713
+ function Xt(e) {
712
714
  return e.type === N.literal;
713
715
  }
714
- function Fn(e) {
716
+ function Dn(e) {
715
717
  return e.type === N.argument;
716
718
  }
717
- function Ei(e) {
719
+ function _i(e) {
718
720
  return e.type === N.number;
719
721
  }
720
- function vi(e) {
722
+ function wi(e) {
721
723
  return e.type === N.date;
722
724
  }
723
- function _i(e) {
725
+ function Si(e) {
724
726
  return e.type === N.time;
725
727
  }
726
- function wi(e) {
728
+ function Pi(e) {
727
729
  return e.type === N.select;
728
730
  }
729
- function Si(e) {
731
+ function Ci(e) {
730
732
  return e.type === N.plural;
731
733
  }
732
- function Dn(e) {
734
+ function Gn(e) {
733
735
  return e.type === N.pound;
734
736
  }
735
- function Pi(e) {
737
+ function xi(e) {
736
738
  return e.type === N.tag;
737
739
  }
738
- function Ci(e) {
740
+ function Ai(e) {
739
741
  return !!(e && typeof e == "object" && e.type === ar.number);
740
742
  }
741
743
  function wt(e) {
742
744
  return !!(e && typeof e == "object" && e.type === ar.dateTime);
743
745
  }
744
- var xi = /[ \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;
745
- function jn(e) {
746
+ 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;
747
+ function Vn(e) {
746
748
  var r = {};
747
- return e.replace(Gn, function(t) {
749
+ return e.replace(jn, function(t) {
748
750
  var i = t.length;
749
751
  switch (t[0]) {
750
752
  case "G":
@@ -833,11 +835,11 @@ function jn(e) {
833
835
  return "";
834
836
  }), r;
835
837
  }
836
- var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function $n(e) {
838
+ var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
839
+ function Qn(e) {
838
840
  if (e.length === 0)
839
841
  throw new Error("Number skeleton cannot be empty");
840
- for (var r = e.split(Vn).filter(function(g) {
842
+ for (var r = e.split($n).filter(function(g) {
841
843
  return g.length > 0;
842
844
  }), t = [], i = 0, n = r; i < n.length; i++) {
843
845
  var s = n[i], a = s.split("/");
@@ -852,17 +854,17 @@ function $n(e) {
852
854
  }
853
855
  return t;
854
856
  }
855
- function Qn(e) {
857
+ function zn(e) {
856
858
  return e.replace(/^(.*?)-/, "");
857
859
  }
858
- var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ai = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ti = /^(0+)$/;
859
- function Xt(e) {
860
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ii = /^(0+)$/;
861
+ function Wt(e) {
860
862
  var r = {};
861
- return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Ai, function(t, i, n) {
863
+ return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
862
864
  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)), "";
863
865
  }), r;
864
866
  }
865
- function Hi(e) {
867
+ function Bi(e) {
866
868
  switch (e) {
867
869
  case "sign-auto":
868
870
  return {
@@ -902,7 +904,7 @@ function Hi(e) {
902
904
  };
903
905
  }
904
906
  }
905
- function Xn(e) {
907
+ function Zn(e) {
906
908
  var r;
907
909
  if (e[0] === "E" && e[1] === "E" ? (r = {
908
910
  notation: "engineering"
@@ -910,17 +912,17 @@ function Xn(e) {
910
912
  notation: "scientific"
911
913
  }, e = e.slice(1)), r) {
912
914
  var t = e.slice(0, 2);
913
- if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Ti.test(e))
915
+ if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Ii.test(e))
914
916
  throw new Error("Malformed concise eng/scientific notation");
915
917
  r.minimumIntegerDigits = e.length;
916
918
  }
917
919
  return r;
918
920
  }
919
- function Zt(e) {
920
- var r = {}, t = Hi(e);
921
+ function qt(e) {
922
+ var r = {}, t = Bi(e);
921
923
  return t || r;
922
924
  }
923
- function Zn(e) {
925
+ function Wn(e) {
924
926
  for (var r = {}, t = 0, i = e; t < i.length; t++) {
925
927
  var n = i[t];
926
928
  switch (n.stem) {
@@ -944,7 +946,7 @@ function Zn(e) {
944
946
  continue;
945
947
  case "measure-unit":
946
948
  case "unit":
947
- r.style = "unit", r.unit = Qn(n.options[0]);
949
+ r.style = "unit", r.unit = zn(n.options[0]);
948
950
  continue;
949
951
  case "compact-short":
950
952
  case "K":
@@ -956,12 +958,12 @@ function Zn(e) {
956
958
  continue;
957
959
  case "scientific":
958
960
  r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
959
- return A(A({}, h), Zt(c));
961
+ return A(A({}, h), qt(c));
960
962
  }, {}));
961
963
  continue;
962
964
  case "engineering":
963
965
  r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
964
- return A(A({}, h), Zt(c));
966
+ return A(A({}, h), qt(c));
965
967
  }, {}));
966
968
  continue;
967
969
  case "notation-simple":
@@ -1006,7 +1008,7 @@ function Zn(e) {
1006
1008
  case "integer-width":
1007
1009
  if (n.options.length > 1)
1008
1010
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- n.options[0].replace(zn, function(h, c, f, m, g, b) {
1011
+ n.options[0].replace(Xn, function(h, c, f, m, g, b) {
1010
1012
  if (c)
1011
1013
  r.minimumIntegerDigits = f.length;
1012
1014
  else {
@@ -1019,27 +1021,27 @@ function Zn(e) {
1019
1021
  });
1020
1022
  continue;
1021
1023
  }
1022
- if (Ti.test(n.stem)) {
1024
+ if (Ii.test(n.stem)) {
1023
1025
  r.minimumIntegerDigits = n.stem.length;
1024
1026
  continue;
1025
1027
  }
1026
- if (zt.test(n.stem)) {
1028
+ if (Zt.test(n.stem)) {
1027
1029
  if (n.options.length > 1)
1028
1030
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- n.stem.replace(zt, function(h, c, f, m, g, b) {
1031
+ n.stem.replace(Zt, function(h, c, f, m, g, b) {
1030
1032
  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), "";
1031
1033
  });
1032
1034
  var s = n.options[0];
1033
- s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Xt(s)));
1035
+ s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Wt(s)));
1034
1036
  continue;
1035
1037
  }
1036
- if (Ai.test(n.stem)) {
1037
- r = A(A({}, r), Xt(n.stem));
1038
+ if (Hi.test(n.stem)) {
1039
+ r = A(A({}, r), Wt(n.stem));
1038
1040
  continue;
1039
1041
  }
1040
- var a = Hi(n.stem);
1042
+ var a = Bi(n.stem);
1041
1043
  a && (r = A(A({}, r), a));
1042
- var l = Xn(n.stem);
1044
+ var l = Zn(n.stem);
1043
1045
  l && (r = A(A({}, r), l));
1044
1046
  }
1045
1047
  return r;
@@ -2459,13 +2461,13 @@ var Kr = {
2459
2461
  "h"
2460
2462
  ]
2461
2463
  };
2462
- function Wn(e, r) {
2464
+ function qn(e, r) {
2463
2465
  for (var t = "", i = 0; i < e.length; i++) {
2464
2466
  var n = e.charAt(i);
2465
2467
  if (n === "j") {
2466
2468
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2467
2469
  s++, i++;
2468
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = qn(r);
2470
+ var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
2469
2471
  for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
2470
2472
  t += h;
2471
2473
  for (; a-- > 0; )
@@ -2474,7 +2476,7 @@ function Wn(e, r) {
2474
2476
  }
2475
2477
  return t;
2476
2478
  }
2477
- function qn(e) {
2479
+ function Jn(e) {
2478
2480
  var r = e.hourCycle;
2479
2481
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2480
2482
  e.hourCycles && // @ts-ignore
@@ -2496,20 +2498,20 @@ function qn(e) {
2496
2498
  var n = Kr[i || ""] || Kr[t || ""] || Kr["".concat(t, "-001")] || Kr["001"];
2497
2499
  return n[0];
2498
2500
  }
2499
- var pt, Jn = new RegExp("^".concat(xi.source, "*")), Yn = new RegExp("".concat(xi.source, "*$"));
2501
+ var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
2500
2502
  function C(e, r) {
2501
2503
  return { start: e, end: r };
2502
2504
  }
2503
- 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) {
2505
+ 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) {
2504
2506
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2505
2507
  }, St = !0;
2506
2508
  try {
2507
- var as = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
- St = ((pt = as.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2509
+ var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2510
+ St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2509
2511
  } catch (e) {
2510
2512
  St = !1;
2511
2513
  }
2512
- var Wt = Kn ? (
2514
+ var Jt = es ? (
2513
2515
  // Native
2514
2516
  function(r, t, i) {
2515
2517
  return r.startsWith(t, i);
@@ -2519,7 +2521,7 @@ var Wt = Kn ? (
2519
2521
  function(r, t, i) {
2520
2522
  return r.slice(i, i + t.length) === t;
2521
2523
  }
2522
- ), Pt = es ? String.fromCodePoint : (
2524
+ ), Pt = rs ? String.fromCodePoint : (
2523
2525
  // IE11
2524
2526
  function() {
2525
2527
  for (var r = [], t = 0; t < arguments.length; t++)
@@ -2531,9 +2533,9 @@ var Wt = Kn ? (
2531
2533
  }
2532
2534
  return i;
2533
2535
  }
2534
- ), qt = (
2536
+ ), Yt = (
2535
2537
  // native
2536
- rs ? Object.fromEntries : (
2538
+ ts ? Object.fromEntries : (
2537
2539
  // Ponyfill
2538
2540
  function(r) {
2539
2541
  for (var t = {}, i = 0, n = r; i < n.length; i++) {
@@ -2543,7 +2545,7 @@ var Wt = Kn ? (
2543
2545
  return t;
2544
2546
  }
2545
2547
  )
2546
- ), Ii = ts ? (
2548
+ ), Ni = is ? (
2547
2549
  // Native
2548
2550
  function(r, t) {
2549
2551
  return r.codePointAt(t);
@@ -2557,7 +2559,7 @@ var Wt = Kn ? (
2557
2559
  return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2558
2560
  }
2559
2561
  }
2560
- ), ls = is ? (
2562
+ ), us = ns ? (
2561
2563
  // Native
2562
2564
  function(r) {
2563
2565
  return r.trimStart();
@@ -2565,9 +2567,9 @@ var Wt = Kn ? (
2565
2567
  ) : (
2566
2568
  // Ponyfill
2567
2569
  function(r) {
2568
- return r.replace(Jn, "");
2570
+ return r.replace(Yn, "");
2569
2571
  }
2570
- ), us = ns ? (
2572
+ ), cs = ss ? (
2571
2573
  // Native
2572
2574
  function(r) {
2573
2575
  return r.trimEnd();
@@ -2575,32 +2577,32 @@ var Wt = Kn ? (
2575
2577
  ) : (
2576
2578
  // Ponyfill
2577
2579
  function(r) {
2578
- return r.replace(Yn, "");
2580
+ return r.replace(Kn, "");
2579
2581
  }
2580
2582
  );
2581
- function Bi(e, r) {
2583
+ function Oi(e, r) {
2582
2584
  return new RegExp(e, r);
2583
2585
  }
2584
2586
  var Ct;
2585
2587
  if (St) {
2586
- var Jt = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
+ var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
2589
  Ct = function(r, t) {
2588
2590
  var i;
2589
- Jt.lastIndex = t;
2590
- var n = Jt.exec(r);
2591
+ Kt.lastIndex = t;
2592
+ var n = Kt.exec(r);
2591
2593
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2592
2594
  };
2593
2595
  } else
2594
2596
  Ct = function(r, t) {
2595
2597
  for (var i = []; ; ) {
2596
- var n = Ii(r, t);
2597
- if (n === void 0 || Ni(n) || ds(n))
2598
+ var n = Ni(r, t);
2599
+ if (n === void 0 || Li(n) || ms(n))
2598
2600
  break;
2599
2601
  i.push(n), t += n >= 65536 ? 2 : 1;
2600
2602
  }
2601
2603
  return Pt.apply(void 0, i);
2602
2604
  };
2603
- var cs = (
2605
+ var hs = (
2604
2606
  /** @class */
2605
2607
  function() {
2606
2608
  function e(r, t) {
@@ -2682,7 +2684,7 @@ var cs = (
2682
2684
  return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
2683
2685
  }, e.prototype.parseTagName = function() {
2684
2686
  var r = this.offset();
2685
- for (this.bump(); !this.isEOF() && fs(this.char()); )
2687
+ for (this.bump(); !this.isEOF() && ds(this.char()); )
2686
2688
  this.bump();
2687
2689
  return this.message.slice(r, this.offset());
2688
2690
  }, e.prototype.parseLiteral = function(r, t) {
@@ -2711,7 +2713,7 @@ var cs = (
2711
2713
  };
2712
2714
  }, e.prototype.tryParseLeftAngleBracket = function() {
2713
2715
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2714
- !hs(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
+ !fs(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
2717
  }, e.prototype.tryParseQuote = function(r) {
2716
2718
  if (this.isEOF() || this.char() !== 39)
2717
2719
  return null;
@@ -2798,7 +2800,7 @@ var cs = (
2798
2800
  var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2799
2801
  if (m.err)
2800
2802
  return m;
2801
- var g = us(m.val);
2803
+ var g = cs(m.val);
2802
2804
  if (g.length === 0)
2803
2805
  return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
2804
2806
  var b = C(f, this.clonePosition());
@@ -2808,8 +2810,8 @@ var cs = (
2808
2810
  if (_.err)
2809
2811
  return _;
2810
2812
  var E = C(n, this.clonePosition());
2811
- if (c && Wt(c == null ? void 0 : c.style, "::", 0)) {
2812
- var w = ls(c.style.slice(2));
2813
+ if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
2814
+ var w = us(c.style.slice(2));
2813
2815
  if (l === "number") {
2814
2816
  var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
2815
2817
  return m.err ? m : {
@@ -2820,12 +2822,12 @@ var cs = (
2820
2822
  if (w.length === 0)
2821
2823
  return this.error(P.EXPECT_DATE_TIME_SKELETON, E);
2822
2824
  var B = w;
2823
- this.locale && (B = Wn(w, this.locale));
2825
+ this.locale && (B = qn(w, this.locale));
2824
2826
  var g = {
2825
2827
  type: ar.dateTime,
2826
2828
  pattern: B,
2827
2829
  location: c.styleLocation,
2828
- parsedOptions: this.shouldParseSkeletons ? jn(B) : {}
2830
+ parsedOptions: this.shouldParseSkeletons ? Vn(B) : {}
2829
2831
  }, $ = l === "date" ? N.date : N.time;
2830
2832
  return {
2831
2833
  val: { type: $, value: i, location: E, style: g },
@@ -2871,7 +2873,7 @@ var cs = (
2871
2873
  val: {
2872
2874
  type: N.select,
2873
2875
  value: i,
2874
- options: qt(ye.val),
2876
+ options: Yt(ye.val),
2875
2877
  location: R
2876
2878
  },
2877
2879
  err: null
@@ -2879,7 +2881,7 @@ var cs = (
2879
2881
  val: {
2880
2882
  type: N.plural,
2881
2883
  value: i,
2882
- options: qt(ye.val),
2884
+ options: Yt(ye.val),
2883
2885
  offset: G,
2884
2886
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2885
2887
  location: R
@@ -2930,7 +2932,7 @@ var cs = (
2930
2932
  }, e.prototype.parseNumberSkeletonFromString = function(r, t) {
2931
2933
  var i = [];
2932
2934
  try {
2933
- i = $n(r);
2935
+ i = Qn(r);
2934
2936
  } catch (n) {
2935
2937
  return this.error(P.INVALID_NUMBER_SKELETON, t);
2936
2938
  }
@@ -2939,7 +2941,7 @@ var cs = (
2939
2941
  type: ar.number,
2940
2942
  tokens: i,
2941
2943
  location: t,
2942
- parsedOptions: this.shouldParseSkeletons ? Zn(i) : {}
2944
+ parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
2943
2945
  },
2944
2946
  err: null
2945
2947
  };
@@ -2987,7 +2989,7 @@ var cs = (
2987
2989
  break;
2988
2990
  }
2989
2991
  var h = C(n, this.clonePosition());
2990
- return s ? (a *= i, os(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
2992
+ return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
2991
2993
  }, e.prototype.offset = function() {
2992
2994
  return this.position.offset;
2993
2995
  }, e.prototype.isEOF = function() {
@@ -3002,7 +3004,7 @@ var cs = (
3002
3004
  var r = this.position.offset;
3003
3005
  if (r >= this.message.length)
3004
3006
  throw Error("out of bound");
3005
- var t = Ii(this.message, r);
3007
+ var t = Ni(this.message, r);
3006
3008
  if (t === void 0)
3007
3009
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
3008
3010
  return t;
@@ -3021,7 +3023,7 @@ var cs = (
3021
3023
  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);
3022
3024
  }
3023
3025
  }, e.prototype.bumpIf = function(r) {
3024
- if (Wt(this.message, r, this.offset())) {
3026
+ if (Jt(this.message, r, this.offset())) {
3025
3027
  for (var t = 0; t < r.length; t++)
3026
3028
  this.bump();
3027
3029
  return !0;
@@ -3043,7 +3045,7 @@ var cs = (
3043
3045
  break;
3044
3046
  }
3045
3047
  }, e.prototype.bumpSpace = function() {
3046
- for (; !this.isEOF() && Ni(this.char()); )
3048
+ for (; !this.isEOF() && Li(this.char()); )
3047
3049
  this.bump();
3048
3050
  }, e.prototype.peek = function() {
3049
3051
  if (this.isEOF())
@@ -3056,29 +3058,29 @@ var cs = (
3056
3058
  function xt(e) {
3057
3059
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3058
3060
  }
3059
- function hs(e) {
3061
+ function fs(e) {
3060
3062
  return xt(e) || e === 47;
3061
3063
  }
3062
- function fs(e) {
3064
+ function ds(e) {
3063
3065
  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;
3064
3066
  }
3065
- function Ni(e) {
3067
+ function Li(e) {
3066
3068
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3067
3069
  }
3068
- function ds(e) {
3070
+ function ms(e) {
3069
3071
  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;
3070
3072
  }
3071
3073
  function At(e) {
3072
3074
  e.forEach(function(r) {
3073
- if (delete r.location, wi(r) || Si(r))
3075
+ if (delete r.location, Pi(r) || Ci(r))
3074
3076
  for (var t in r.options)
3075
3077
  delete r.options[t].location, At(r.options[t].value);
3076
- else Ei(r) && Ci(r.style) || (vi(r) || _i(r)) && wt(r.style) ? delete r.style.location : Pi(r) && At(r.children);
3078
+ else _i(r) && Ai(r.style) || (wi(r) || Si(r)) && wt(r.style) ? delete r.style.location : xi(r) && At(r.children);
3077
3079
  });
3078
3080
  }
3079
- function ms(e, r) {
3081
+ function gs(e, r) {
3080
3082
  r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
3081
- var t = new cs(e, r).parse();
3083
+ var t = new hs(e, r).parse();
3082
3084
  if (t.err) {
3083
3085
  var i = SyntaxError(P[t.err.kind]);
3084
3086
  throw i.location = t.err.location, i.originalMessage = t.err.message, i;
@@ -3101,7 +3103,7 @@ var at = (
3101
3103
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3102
3104
  }, r;
3103
3105
  }(Error)
3104
- ), Yt = (
3106
+ ), ei = (
3105
3107
  /** @class */
3106
3108
  function(e) {
3107
3109
  ot(r, e);
@@ -3110,7 +3112,7 @@ var at = (
3110
3112
  }
3111
3113
  return r;
3112
3114
  }(at)
3113
- ), gs = (
3115
+ ), ps = (
3114
3116
  /** @class */
3115
3117
  function(e) {
3116
3118
  ot(r, e);
@@ -3119,7 +3121,7 @@ var at = (
3119
3121
  }
3120
3122
  return r;
3121
3123
  }(at)
3122
- ), ps = (
3124
+ ), bs = (
3123
3125
  /** @class */
3124
3126
  function(e) {
3125
3127
  ot(r, e);
@@ -3132,17 +3134,17 @@ var at = (
3132
3134
  (function(e) {
3133
3135
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3134
3136
  })(z || (z = {}));
3135
- function bs(e) {
3137
+ function ys(e) {
3136
3138
  return e.length < 2 ? e : e.reduce(function(r, t) {
3137
3139
  var i = r[r.length - 1];
3138
3140
  return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
3139
3141
  }, []);
3140
3142
  }
3141
- function ys(e) {
3143
+ function Es(e) {
3142
3144
  return typeof e == "function";
3143
3145
  }
3144
3146
  function rt(e, r, t, i, n, s, a) {
3145
- if (e.length === 1 && Qt(e[0]))
3147
+ if (e.length === 1 && Xt(e[0]))
3146
3148
  return [
3147
3149
  {
3148
3150
  type: z.literal,
@@ -3151,14 +3153,14 @@ function rt(e, r, t, i, n, s, a) {
3151
3153
  ];
3152
3154
  for (var l = [], h = 0, c = e; h < c.length; h++) {
3153
3155
  var f = c[h];
3154
- if (Qt(f)) {
3156
+ if (Xt(f)) {
3155
3157
  l.push({
3156
3158
  type: z.literal,
3157
3159
  value: f.value
3158
3160
  });
3159
3161
  continue;
3160
3162
  }
3161
- if (Dn(f)) {
3163
+ if (Gn(f)) {
3162
3164
  typeof s == "number" && l.push({
3163
3165
  type: z.literal,
3164
3166
  value: t.getNumberFormat(r).format(s)
@@ -3167,16 +3169,16 @@ function rt(e, r, t, i, n, s, a) {
3167
3169
  }
3168
3170
  var m = f.value;
3169
3171
  if (!(n && m in n))
3170
- throw new ps(m, a);
3172
+ throw new bs(m, a);
3171
3173
  var g = n[m];
3172
- if (Fn(f)) {
3174
+ if (Dn(f)) {
3173
3175
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
3174
3176
  type: typeof g == "string" ? z.literal : z.object,
3175
3177
  value: g
3176
3178
  });
3177
3179
  continue;
3178
3180
  }
3179
- if (vi(f)) {
3181
+ if (wi(f)) {
3180
3182
  var b = typeof f.style == "string" ? i.date[f.style] : wt(f.style) ? f.style.parsedOptions : void 0;
3181
3183
  l.push({
3182
3184
  type: z.literal,
@@ -3184,7 +3186,7 @@ function rt(e, r, t, i, n, s, a) {
3184
3186
  });
3185
3187
  continue;
3186
3188
  }
3187
- if (_i(f)) {
3189
+ if (Si(f)) {
3188
3190
  var b = typeof f.style == "string" ? i.time[f.style] : wt(f.style) ? f.style.parsedOptions : i.time.medium;
3189
3191
  l.push({
3190
3192
  type: z.literal,
@@ -3192,18 +3194,18 @@ function rt(e, r, t, i, n, s, a) {
3192
3194
  });
3193
3195
  continue;
3194
3196
  }
3195
- if (Ei(f)) {
3196
- var b = typeof f.style == "string" ? i.number[f.style] : Ci(f.style) ? f.style.parsedOptions : void 0;
3197
+ if (_i(f)) {
3198
+ var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
3197
3199
  b && b.scale && (g = g * (b.scale || 1)), l.push({
3198
3200
  type: z.literal,
3199
3201
  value: t.getNumberFormat(r, b).format(g)
3200
3202
  });
3201
3203
  continue;
3202
3204
  }
3203
- if (Pi(f)) {
3205
+ if (xi(f)) {
3204
3206
  var _ = f.children, E = f.value, w = n[E];
3205
- if (!ys(w))
3206
- throw new gs(E, "function", a);
3207
+ if (!Es(w))
3208
+ throw new ps(E, "function", a);
3207
3209
  var B = rt(_, r, t, i, n, s), $ = w(B.map(function(G) {
3208
3210
  return G.value;
3209
3211
  }));
@@ -3214,14 +3216,14 @@ function rt(e, r, t, i, n, s, a) {
3214
3216
  };
3215
3217
  }));
3216
3218
  }
3217
- if (wi(f)) {
3219
+ if (Pi(f)) {
3218
3220
  var M = f.options[g] || f.options.other;
3219
3221
  if (!M)
3220
- throw new Yt(f.value, g, Object.keys(f.options), a);
3222
+ throw new ei(f.value, g, Object.keys(f.options), a);
3221
3223
  l.push.apply(l, rt(M.value, r, t, i, n));
3222
3224
  continue;
3223
3225
  }
3224
- if (Si(f)) {
3226
+ if (Ci(f)) {
3225
3227
  var M = f.options["=".concat(g)];
3226
3228
  if (!M) {
3227
3229
  if (!Intl.PluralRules)
@@ -3232,21 +3234,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3232
3234
  M = f.options[de] || f.options.other;
3233
3235
  }
3234
3236
  if (!M)
3235
- throw new Yt(f.value, g, Object.keys(f.options), a);
3237
+ throw new ei(f.value, g, Object.keys(f.options), a);
3236
3238
  l.push.apply(l, rt(M.value, r, t, i, n, g - (f.offset || 0)));
3237
3239
  continue;
3238
3240
  }
3239
3241
  }
3240
- return bs(l);
3242
+ return ys(l);
3241
3243
  }
3242
- function Es(e, r) {
3244
+ function vs(e, r) {
3243
3245
  return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
3244
3246
  return t[i] = A(A({}, e[i]), r[i] || {}), t;
3245
3247
  }, {})) : e;
3246
3248
  }
3247
- function vs(e, r) {
3249
+ function _s(e, r) {
3248
3250
  return r ? Object.keys(e).reduce(function(t, i) {
3249
- return t[i] = Es(e[i], r[i]), t;
3251
+ return t[i] = vs(e[i], r[i]), t;
3250
3252
  }, A({}, e)) : e;
3251
3253
  }
3252
3254
  function bt(e) {
@@ -3263,7 +3265,7 @@ function bt(e) {
3263
3265
  }
3264
3266
  };
3265
3267
  }
3266
- function _s(e) {
3268
+ function ws(e) {
3267
3269
  return e === void 0 && (e = {
3268
3270
  number: {},
3269
3271
  dateTime: {},
@@ -3295,7 +3297,7 @@ function _s(e) {
3295
3297
  })
3296
3298
  };
3297
3299
  }
3298
- var ws = (
3300
+ var Ss = (
3299
3301
  /** @class */
3300
3302
  function() {
3301
3303
  function e(r, t, i, n) {
@@ -3327,13 +3329,13 @@ var ws = (
3327
3329
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3328
3330
  var a = n || {};
3329
3331
  a.formatters;
3330
- var l = Bn(a, ["formatters"]);
3332
+ var l = On(a, ["formatters"]);
3331
3333
  this.ast = e.__parse(r, A(A({}, l), { locale: this.resolvedLocale }));
3332
3334
  } else
3333
3335
  this.ast = r;
3334
3336
  if (!Array.isArray(this.ast))
3335
3337
  throw new TypeError("A message must be provided as a String or AST.");
3336
- this.formats = vs(e.formats, i), this.formatters = n && n.formatters || _s(this.formatterCache);
3338
+ this.formats = _s(e.formats, i), this.formatters = n && n.formatters || ws(this.formatterCache);
3337
3339
  }
3338
3340
  return Object.defineProperty(e, "defaultLocale", {
3339
3341
  get: function() {
@@ -3346,7 +3348,7 @@ var ws = (
3346
3348
  var t = Intl.NumberFormat.supportedLocalesOf(r);
3347
3349
  return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
3348
3350
  }
3349
- }, e.__parse = ms, e.formats = {
3351
+ }, e.__parse = gs, e.formats = {
3350
3352
  number: {
3351
3353
  integer: {
3352
3354
  maximumFractionDigits: 0
@@ -3407,7 +3409,7 @@ var ws = (
3407
3409
  }, e;
3408
3410
  }()
3409
3411
  );
3410
- function Ss(e, r) {
3412
+ function Ps(e, r) {
3411
3413
  if (r == null)
3412
3414
  return;
3413
3415
  if (r in e)
@@ -3428,60 +3430,60 @@ function Ss(e, r) {
3428
3430
  i = void 0;
3429
3431
  return i;
3430
3432
  }
3431
- const Ne = {}, Ps = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Oi = (e, r) => {
3433
+ const Ne = {}, Cs = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Mi = (e, r) => {
3432
3434
  if (r == null)
3433
3435
  return;
3434
3436
  if (r in Ne && e in Ne[r])
3435
3437
  return Ne[r][e];
3436
3438
  const t = lt(r);
3437
3439
  for (let i = 0; i < t.length; i++) {
3438
- const n = t[i], s = xs(n, e);
3440
+ const n = t[i], s = As(n, e);
3439
3441
  if (s)
3440
- return Ps(e, r, s);
3442
+ return Cs(e, r, s);
3441
3443
  }
3442
3444
  };
3443
- let Bt;
3445
+ let Ot;
3444
3446
  const Mr = st({});
3445
- function Cs(e) {
3446
- return Bt[e] || null;
3447
+ function xs(e) {
3448
+ return Ot[e] || null;
3447
3449
  }
3448
- function Li(e) {
3449
- return e in Bt;
3450
+ function Ri(e) {
3451
+ return e in Ot;
3450
3452
  }
3451
- function xs(e, r) {
3452
- if (!Li(e))
3453
+ function As(e, r) {
3454
+ if (!Ri(e))
3453
3455
  return null;
3454
- const t = Cs(e);
3455
- return Ss(t, r);
3456
+ const t = xs(e);
3457
+ return Ps(t, r);
3456
3458
  }
3457
- function As(e) {
3459
+ function Ts(e) {
3458
3460
  if (e == null)
3459
3461
  return;
3460
3462
  const r = lt(e);
3461
3463
  for (let t = 0; t < r.length; t++) {
3462
3464
  const i = r[t];
3463
- if (Li(i))
3465
+ if (Ri(i))
3464
3466
  return i;
3465
3467
  }
3466
3468
  }
3467
- function Mi(e, ...r) {
3468
- delete Ne[e], Mr.update((t) => (t[e] = In.all([t[e] || {}, ...r]), t));
3469
+ function Ui(e, ...r) {
3470
+ delete Ne[e], Mr.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
3469
3471
  }
3470
3472
  hr(
3471
3473
  [Mr],
3472
3474
  ([e]) => Object.keys(e)
3473
3475
  );
3474
- Mr.subscribe((e) => Bt = e);
3476
+ Mr.subscribe((e) => Ot = e);
3475
3477
  const tt = {};
3476
- function Ts(e, r) {
3478
+ function Hs(e, r) {
3477
3479
  tt[e].delete(r), tt[e].size === 0 && delete tt[e];
3478
3480
  }
3479
- function Ri(e) {
3481
+ function ki(e) {
3480
3482
  return tt[e];
3481
3483
  }
3482
- function Hs(e) {
3484
+ function Is(e) {
3483
3485
  return lt(e).map((r) => {
3484
- const t = Ri(r);
3486
+ const t = ki(r);
3485
3487
  return [r, t ? [...t] : []];
3486
3488
  }).filter(([, r]) => r.length > 0);
3487
3489
  }
@@ -3489,31 +3491,31 @@ function Tt(e) {
3489
3491
  return e == null ? !1 : lt(e).some(
3490
3492
  (r) => {
3491
3493
  var t;
3492
- return (t = Ri(r)) == null ? void 0 : t.size;
3494
+ return (t = ki(r)) == null ? void 0 : t.size;
3493
3495
  }
3494
3496
  );
3495
3497
  }
3496
- function Is(e, r) {
3498
+ function Bs(e, r) {
3497
3499
  return Promise.all(
3498
- r.map((i) => (Ts(e, i), i().then((n) => n.default || n)))
3499
- ).then((i) => Mi(e, ...i));
3500
+ r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
3501
+ ).then((i) => Ui(e, ...i));
3500
3502
  }
3501
3503
  const Hr = {};
3502
- function Ui(e) {
3504
+ function Fi(e) {
3503
3505
  if (!Tt(e))
3504
3506
  return e in Hr ? Hr[e] : Promise.resolve();
3505
- const r = Hs(e);
3507
+ const r = Is(e);
3506
3508
  return Hr[e] = Promise.all(
3507
3509
  r.map(
3508
- ([t, i]) => Is(t, i)
3510
+ ([t, i]) => Bs(t, i)
3509
3511
  )
3510
3512
  ).then(() => {
3511
3513
  if (Tt(e))
3512
- return Ui(e);
3514
+ return Fi(e);
3513
3515
  delete Hr[e];
3514
3516
  }), Hr[e];
3515
3517
  }
3516
- const Bs = {
3518
+ const Ns = {
3517
3519
  number: {
3518
3520
  scientific: { notation: "scientific" },
3519
3521
  engineering: { notation: "engineering" },
@@ -3542,34 +3544,34 @@ const Bs = {
3542
3544
  timeZoneName: "short"
3543
3545
  }
3544
3546
  }
3545
- }, Ns = {
3547
+ }, Os = {
3546
3548
  fallbackLocale: null,
3547
3549
  loadingDelay: 200,
3548
- formats: Bs,
3550
+ formats: Ns,
3549
3551
  warnOnMissingMessages: !0,
3550
3552
  handleMissingMessage: void 0,
3551
3553
  ignoreTag: !0
3552
- }, Os = Ns;
3554
+ }, Ls = Os;
3553
3555
  function ur() {
3554
- return Os;
3556
+ return Ls;
3555
3557
  }
3556
3558
  const yt = st(!1);
3557
- 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) => {
3559
+ 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) => {
3558
3560
  for (var t in r || (r = {}))
3559
- Us.call(r, t) && ei(e, t, r[t]);
3560
- if (Kt)
3561
- for (var t of Kt(r))
3562
- ks.call(r, t) && ei(e, t, r[t]);
3561
+ ks.call(r, t) && ti(e, t, r[t]);
3562
+ if (ri)
3563
+ for (var t of ri(r))
3564
+ Fs.call(r, t) && ti(e, t, r[t]);
3563
3565
  return e;
3564
- }, Ds = (e, r) => Ms(e, Rs(r));
3566
+ }, Gs = (e, r) => Rs(e, Us(r));
3565
3567
  let Ht;
3566
3568
  const it = st(null);
3567
- function ri(e) {
3569
+ function ii(e) {
3568
3570
  return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
3569
3571
  }
3570
3572
  function lt(e, r = ur().fallbackLocale) {
3571
- const t = ri(e);
3572
- return r ? [.../* @__PURE__ */ new Set([...t, ...ri(r)])] : t;
3573
+ const t = ii(e);
3574
+ return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
3573
3575
  }
3574
3576
  function De() {
3575
3577
  return Ht != null ? Ht : void 0;
@@ -3577,22 +3579,22 @@ function De() {
3577
3579
  it.subscribe((e) => {
3578
3580
  Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3579
3581
  });
3580
- const Gs = (e) => {
3581
- if (e && As(e) && Tt(e)) {
3582
+ const js = (e) => {
3583
+ if (e && Ts(e) && Tt(e)) {
3582
3584
  const { loadingDelay: r } = ur();
3583
3585
  let t;
3584
3586
  return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
3585
3587
  () => yt.set(!0),
3586
3588
  r
3587
- ) : yt.set(!0), Ui(e).then(() => {
3589
+ ) : yt.set(!0), Fi(e).then(() => {
3588
3590
  it.set(e);
3589
3591
  }).finally(() => {
3590
3592
  clearTimeout(t), yt.set(!1);
3591
3593
  });
3592
3594
  }
3593
3595
  return it.set(e);
3594
- }, fr = Ds(Fs({}, it), {
3595
- set: Gs
3596
+ }, fr = Gs(Ds({}, it), {
3597
+ set: js
3596
3598
  }), ut = (e) => {
3597
3599
  const r = /* @__PURE__ */ Object.create(null);
3598
3600
  return (i) => {
@@ -3600,20 +3602,20 @@ const Gs = (e) => {
3600
3602
  return n in r ? r[n] : r[n] = e(i);
3601
3603
  };
3602
3604
  };
3603
- var js = Object.defineProperty, nt = 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) => {
3605
+ var Vs = Object.defineProperty, nt = 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) => {
3604
3606
  for (var t in r || (r = {}))
3605
- ki.call(r, t) && ti(e, t, r[t]);
3607
+ Di.call(r, t) && ni(e, t, r[t]);
3606
3608
  if (nt)
3607
3609
  for (var t of nt(r))
3608
- Fi.call(r, t) && ti(e, t, r[t]);
3610
+ Gi.call(r, t) && ni(e, t, r[t]);
3609
3611
  return e;
3610
3612
  }, dr = (e, r) => {
3611
3613
  var t = {};
3612
3614
  for (var i in e)
3613
- ki.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3615
+ Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3614
3616
  if (e != null && nt)
3615
3617
  for (var i of nt(e))
3616
- r.indexOf(i) < 0 && Fi.call(e, i) && (t[i] = e[i]);
3618
+ r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
3617
3619
  return t;
3618
3620
  };
3619
3621
  const Lr = (e, r) => {
@@ -3621,21 +3623,21 @@ const Lr = (e, r) => {
3621
3623
  if (e in t && r in t[e])
3622
3624
  return t[e][r];
3623
3625
  throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
3624
- }, Vs = ut(
3626
+ }, $s = ut(
3625
3627
  (e) => {
3626
3628
  var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3627
3629
  if (t == null)
3628
3630
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3629
3631
  return i && (n = Lr("number", i)), new Intl.NumberFormat(t, n);
3630
3632
  }
3631
- ), $s = ut(
3633
+ ), Qs = ut(
3632
3634
  (e) => {
3633
3635
  var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3634
3636
  if (t == null)
3635
3637
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3636
3638
  return i ? n = Lr("date", i) : Object.keys(n).length === 0 && (n = Lr("date", "short")), new Intl.DateTimeFormat(t, n);
3637
3639
  }
3638
- ), Qs = ut(
3640
+ ), zs = ut(
3639
3641
  (e) => {
3640
3642
  var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3641
3643
  if (t == null)
@@ -3644,33 +3646,33 @@ const Lr = (e, r) => {
3644
3646
  );
3645
3647
  return i ? n = Lr("time", i) : Object.keys(n).length === 0 && (n = Lr("time", "short")), new Intl.DateTimeFormat(t, n);
3646
3648
  }
3647
- ), zs = (e = {}) => {
3649
+ ), Xs = (e = {}) => {
3648
3650
  var r = e, {
3649
3651
  locale: t = De()
3650
3652
  } = r, i = dr(r, [
3651
3653
  "locale"
3652
3654
  ]);
3653
- return Vs(Nt({ locale: t }, i));
3654
- }, Xs = (e = {}) => {
3655
+ return $s(Lt({ locale: t }, i));
3656
+ }, Zs = (e = {}) => {
3655
3657
  var r = e, {
3656
3658
  locale: t = De()
3657
3659
  } = r, i = dr(r, [
3658
3660
  "locale"
3659
3661
  ]);
3660
- return $s(Nt({ locale: t }, i));
3661
- }, Zs = (e = {}) => {
3662
+ return Qs(Lt({ locale: t }, i));
3663
+ }, Ws = (e = {}) => {
3662
3664
  var r = e, {
3663
3665
  locale: t = De()
3664
3666
  } = r, i = dr(r, [
3665
3667
  "locale"
3666
3668
  ]);
3667
- return Qs(Nt({ locale: t }, i));
3668
- }, Ws = ut(
3669
+ return zs(Lt({ locale: t }, i));
3670
+ }, qs = ut(
3669
3671
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3670
- (e, r = De()) => new ws(e, r, ur().formats, {
3672
+ (e, r = De()) => new Ss(e, r, ur().formats, {
3671
3673
  ignoreTag: ur().ignoreTag
3672
3674
  })
3673
- ), qs = (e, r = {}) => {
3675
+ ), Js = (e, r = {}) => {
3674
3676
  var t, i, n, s;
3675
3677
  let a = r;
3676
3678
  typeof e == "object" && (a = e, e = a.id);
@@ -3683,7 +3685,7 @@ const Lr = (e, r) => {
3683
3685
  throw new Error(
3684
3686
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3685
3687
  );
3686
- let f = Oi(e, h);
3688
+ let f = Mi(e, h);
3687
3689
  if (!f)
3688
3690
  f = (s = (n = (i = (t = ur()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3689
3691
  else if (typeof f != "string")
@@ -3694,7 +3696,7 @@ const Lr = (e, r) => {
3694
3696
  return f;
3695
3697
  let m = f;
3696
3698
  try {
3697
- m = Ws(f, h).format(l);
3699
+ m = qs(f, h).format(l);
3698
3700
  } catch (g) {
3699
3701
  g instanceof Error && console.warn(
3700
3702
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3702,18 +3704,18 @@ const Lr = (e, r) => {
3702
3704
  );
3703
3705
  }
3704
3706
  return m;
3705
- }, 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 = hr([fr, Mr], () => qs);
3706
- hr([fr], () => Js);
3707
+ }, 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 = hr([fr, Mr], () => Js);
3707
3708
  hr([fr], () => Ys);
3708
3709
  hr([fr], () => Ks);
3709
- hr([fr, Mr], () => eo);
3710
- function ii(e, r) {
3711
- Mi(e, r);
3710
+ hr([fr], () => eo);
3711
+ hr([fr, Mr], () => ro);
3712
+ function si(e, r) {
3713
+ Ui(e, r);
3712
3714
  }
3713
- function to(e) {
3715
+ function io(e) {
3714
3716
  fr.set(e);
3715
3717
  }
3716
- const ni = {
3718
+ const oi = {
3717
3719
  en: {
3718
3720
  registerTitle: "Create your account",
3719
3721
  registerSubtitle: "Already have an account?",
@@ -3968,10 +3970,10 @@ const ni = {
3968
3970
  registerNext: "Next"
3969
3971
  }
3970
3972
  };
3971
- function io(e) {
3972
- 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}");
3973
+ function no(e) {
3974
+ 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}");
3973
3975
  }
3974
- function si(e) {
3976
+ function ai(e) {
3975
3977
  let r, t = (
3976
3978
  /*$_*/
3977
3979
  e[30]("registerEmailError") + ""
@@ -3993,7 +3995,7 @@ function si(e) {
3993
3995
  }
3994
3996
  };
3995
3997
  }
3996
- function oi(e) {
3998
+ function li(e) {
3997
3999
  let r, t = (
3998
4000
  /*$_*/
3999
4001
  e[30]("registerUsernameError") + ""
@@ -4015,7 +4017,7 @@ function oi(e) {
4015
4017
  }
4016
4018
  };
4017
4019
  }
4018
- function no(e) {
4020
+ function so(e) {
4019
4021
  let r, t, i, n, s, a, l, h, c;
4020
4022
  return {
4021
4023
  c() {
@@ -4035,7 +4037,7 @@ function no(e) {
4035
4037
  }
4036
4038
  };
4037
4039
  }
4038
- function so(e) {
4040
+ function oo(e) {
4039
4041
  let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
4040
4042
  return {
4041
4043
  c() {
@@ -4055,7 +4057,7 @@ function so(e) {
4055
4057
  }
4056
4058
  };
4057
4059
  }
4058
- function ai(e) {
4060
+ function ui(e) {
4059
4061
  let r, t = (
4060
4062
  /*$_*/
4061
4063
  e[30]("registerPasswordError") + ""
@@ -4077,7 +4079,7 @@ function ai(e) {
4077
4079
  }
4078
4080
  };
4079
4081
  }
4080
- function li(e) {
4082
+ function ci(e) {
4081
4083
  let r, t = (
4082
4084
  /*$_*/
4083
4085
  e[30]("registerSimplePasswordError") + ""
@@ -4099,7 +4101,7 @@ function li(e) {
4099
4101
  }
4100
4102
  };
4101
4103
  }
4102
- function oo(e) {
4104
+ function ao(e) {
4103
4105
  let r, t, i, n, s, a, l, h, c;
4104
4106
  return {
4105
4107
  c() {
@@ -4119,7 +4121,7 @@ function oo(e) {
4119
4121
  }
4120
4122
  };
4121
4123
  }
4122
- function ao(e) {
4124
+ function lo(e) {
4123
4125
  let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
4124
4126
  return {
4125
4127
  c() {
@@ -4139,7 +4141,7 @@ function ao(e) {
4139
4141
  }
4140
4142
  };
4141
4143
  }
4142
- function ui(e) {
4144
+ function hi(e) {
4143
4145
  let r, t = (
4144
4146
  /*$_*/
4145
4147
  e[30]("registerConfirmPasswordError") + ""
@@ -4161,7 +4163,7 @@ function ui(e) {
4161
4163
  }
4162
4164
  };
4163
4165
  }
4164
- function ci(e) {
4166
+ function fi(e) {
4165
4167
  let r, t = (
4166
4168
  /*custominputtextswitch*/
4167
4169
  (e[2] == "true" ? (
@@ -4195,7 +4197,7 @@ function ci(e) {
4195
4197
  }
4196
4198
  };
4197
4199
  }
4198
- function hi(e) {
4200
+ function di(e) {
4199
4201
  let r, t = (
4200
4202
  /*custominputtextswitch*/
4201
4203
  (e[2] == "true" ? (
@@ -4229,7 +4231,7 @@ function hi(e) {
4229
4231
  }
4230
4232
  };
4231
4233
  }
4232
- function lo(e) {
4234
+ function uo(e) {
4233
4235
  let r, t, i, n = (
4234
4236
  /*$_*/
4235
4237
  e[30]("registerTitle") + ""
@@ -4275,43 +4277,43 @@ function lo(e) {
4275
4277
  ), wr, zr, er, Xr, he, Zr, rr, Wr, p, I = (
4276
4278
  /*$_*/
4277
4279
  e[30]("registerNext") + ""
4278
- ), V, qr, ct, Ot, J = (
4280
+ ), V, qr, ct, Mt, J = (
4279
4281
  /*invalidEmail*/
4280
- e[4] && si(e)
4282
+ e[4] && ai(e)
4281
4283
  ), Y = (
4282
4284
  /*invalidName*/
4283
- e[5] && oi(e)
4285
+ e[5] && li(e)
4284
4286
  );
4285
- function Lt(d, y) {
4287
+ function Rt(d, y) {
4286
4288
  return (
4287
4289
  /*isPasswordVisible*/
4288
- d[25] ? so : no
4290
+ d[25] ? oo : so
4289
4291
  );
4290
4292
  }
4291
- let Jr = Lt(e), Pe = Jr(e), K = (
4293
+ let Jr = Rt(e), Pe = Jr(e), K = (
4292
4294
  /*invalidPassword*/
4293
4295
  e[6] && /*simplepasswordvalidation*/
4294
- e[0] !== "true" && ai(e)
4296
+ e[0] !== "true" && ui(e)
4295
4297
  ), ee = (
4296
4298
  /*invalidPassword*/
4297
4299
  e[6] && /*simplepasswordvalidation*/
4298
- e[0] === "true" && li(e)
4300
+ e[0] === "true" && ci(e)
4299
4301
  );
4300
- function Mt(d, y) {
4302
+ function Ut(d, y) {
4301
4303
  return (
4302
4304
  /*isConfirmPasswordVisible*/
4303
- d[26] ? ao : oo
4305
+ d[26] ? lo : ao
4304
4306
  );
4305
4307
  }
4306
- let Yr = Mt(e), Ce = Yr(e), re = (
4308
+ let Yr = Ut(e), Ce = Yr(e), re = (
4307
4309
  /*invalidConfirmPassword*/
4308
- e[7] && ui(e)
4310
+ e[7] && hi(e)
4309
4311
  ), te = (
4310
4312
  /*invalidSecurityQuestion*/
4311
- e[8] && ci(e)
4313
+ e[8] && fi(e)
4312
4314
  ), ie = (
4313
4315
  /*invalidSecurityAnswer*/
4314
- e[9] && hi(e)
4316
+ e[9] && di(e)
4315
4317
  );
4316
4318
  return {
4317
4319
  c() {
@@ -4370,7 +4372,7 @@ function lo(e) {
4370
4372
  he,
4371
4373
  /*securityAnswer*/
4372
4374
  e[23]
4373
- ), u(pe, Zr), ie && ie.m(pe, null), u(E, Wr), u(E, p), u(p, V), e[78](r), ct || (Ot = [
4375
+ ), u(pe, Zr), ie && ie.m(pe, null), u(E, Wr), u(E, p), u(p, V), e[78](r), ct || (Mt = [
4374
4376
  x(
4375
4377
  m,
4376
4378
  "click",
@@ -4554,7 +4556,7 @@ function lo(e) {
4554
4556
  ], ct = !0);
4555
4557
  },
4556
4558
  p(d, y) {
4557
- var Sr, Pr, Cr, xr, Ar, Tr, Rt, Ut;
4559
+ var Sr, Pr, Cr, xr, Ar, Tr, kt, Ft;
4558
4560
  y[0] & /*$_*/
4559
4561
  1073741824 && n !== (n = /*$_*/
4560
4562
  d[30]("registerTitle") + "") && F(s, n), y[0] & /*$_*/
@@ -4570,7 +4572,7 @@ function lo(e) {
4570
4572
  /*userEmail*/
4571
4573
  d[19]
4572
4574
  ), /*invalidEmail*/
4573
- d[4] ? J ? J.p(d, y) : (J = si(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4575
+ d[4] ? J ? J.p(d, y) : (J = ai(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4574
4576
  132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
4575
4577
  (d[4] && !/*emailFocus*/
4576
4578
  d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4585,7 +4587,7 @@ function lo(e) {
4585
4587
  /*userValue*/
4586
4588
  d[18]
4587
4589
  ), /*invalidName*/
4588
- d[5] ? Y ? Y.p(d, y) : (Y = oi(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4590
+ d[5] ? Y ? Y.p(d, y) : (Y = li(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4589
4591
  133152 && ae !== (ae = "UserContainer " + /*invalidName*/
4590
4592
  (d[5] && !/*usernameFocus*/
4591
4593
  d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4599,11 +4601,11 @@ function lo(e) {
4599
4601
  L,
4600
4602
  /*userPassword*/
4601
4603
  d[20]
4602
- ), Jr === (Jr = Lt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(O, Ve))), /*invalidPassword*/
4604
+ ), Jr === (Jr = Rt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(O, Ve))), /*invalidPassword*/
4603
4605
  d[6] && /*simplepasswordvalidation*/
4604
- d[0] !== "true" ? K ? K.p(d, y) : (K = ai(d), K.c(), K.m(O, $e)) : K && (K.d(1), K = null), /*invalidPassword*/
4606
+ d[0] !== "true" ? K ? K.p(d, y) : (K = ui(d), K.c(), K.m(O, $e)) : K && (K.d(1), K = null), /*invalidPassword*/
4605
4607
  d[6] && /*simplepasswordvalidation*/
4606
- d[0] === "true" ? ee ? ee.p(d, y) : (ee = li(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4608
+ d[0] === "true" ? ee ? ee.p(d, y) : (ee = ci(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4607
4609
  135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
4608
4610
  (d[6] && !/*passwordFocus*/
4609
4611
  d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4617,8 +4619,8 @@ function lo(e) {
4617
4619
  Q,
4618
4620
  /*confirmUserPassword*/
4619
4621
  d[21]
4620
- ), Yr === (Yr = Mt(d)) && Ce ? Ce.p(d, y) : (Ce.d(1), Ce = Yr(d), Ce && (Ce.c(), Ce.m(j, ze))), /*invalidConfirmPassword*/
4621
- d[7] ? re ? re.p(d, y) : (re = ui(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4622
+ ), Yr === (Yr = Ut(d)) && Ce ? Ce.p(d, y) : (Ce.d(1), Ce = Yr(d), Ce && (Ce.c(), Ce.m(j, ze))), /*invalidConfirmPassword*/
4623
+ d[7] ? re ? re.p(d, y) : (re = hi(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4622
4624
  139392 && Xe !== (Xe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4623
4625
  (d[7] && !/*confirmPasswordFocus*/
4624
4626
  d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4647,11 +4649,11 @@ function lo(e) {
4647
4649
  /*securityQuestion*/
4648
4650
  d[22]
4649
4651
  ), /*invalidSecurityQuestion*/
4650
- d[8] ? te ? te.p(d, y) : (te = ci(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4652
+ d[8] ? te ? te.p(d, y) : (te = fi(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4651
4653
  147712 && Ye !== (Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4652
4654
  (d[8] && !/*securityQFocus*/
4653
4655
  d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
4654
- (((Rt = d[17]) == null ? void 0 : Rt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(ge, "class", Ye), y[0] & /*custominputtextswitch, $_*/
4656
+ (((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(ge, "class", Ye), y[0] & /*custominputtextswitch, $_*/
4655
4657
  1073741828 && Ke !== (Ke = /*custominputtextswitch*/
4656
4658
  (d[2] == "true" ? (
4657
4659
  /*$_*/
@@ -4666,11 +4668,11 @@ function lo(e) {
4666
4668
  /*securityAnswer*/
4667
4669
  d[23]
4668
4670
  ), /*invalidSecurityAnswer*/
4669
- d[9] ? ie ? ie.p(d, y) : (ie = hi(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4671
+ d[9] ? ie ? ie.p(d, y) : (ie = di(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4670
4672
  164352 && rr !== (rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4671
4673
  (d[9] && !/*securityAFocus*/
4672
4674
  d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
4673
- (((Ut = d[17]) == null ? void 0 : Ut.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(pe, "class", rr), y[0] & /*$_*/
4675
+ (((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(pe, "class", rr), y[0] & /*$_*/
4674
4676
  1073741824 && I !== (I = /*$_*/
4675
4677
  d[30]("registerNext") + "") && F(V, I), y[0] & /*isValid*/
4676
4678
  536870912 && qr !== (qr = !/*isValid*/
@@ -4679,13 +4681,13 @@ function lo(e) {
4679
4681
  i: X,
4680
4682
  o: X,
4681
4683
  d(d) {
4682
- d && se(r), J && J.d(), Y && Y.d(), e[59](null), Pe.d(), K && K.d(), ee && ee.d(), e[65](null), Ce.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), ct = !1, cr(Ot);
4684
+ d && se(r), J && J.d(), Y && Y.d(), e[59](null), Pe.d(), K && K.d(), ee && ee.d(), e[65](null), Ce.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), ct = !1, cr(Mt);
4683
4685
  }
4684
4686
  };
4685
4687
  }
4686
- function uo(e, r, t) {
4688
+ function co(e, r, t) {
4687
4689
  let i;
4688
- zi(e, ro, (p) => t(30, i = p));
4690
+ Zi(e, to, (p) => t(30, i = p));
4689
4691
  let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { clientstyling: l = "" } = r, { clientstylingurl: h = "" } = r, { translationurl: c = "" } = r, { savecredentials: f = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, _ = !1, E = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, ye = !1, R = !1, Ge = !1, Ae, ve = "", U = "", Z = "", me = "", W = "", oe = "", _e = "", Oe = !1, k = !1, we, Te, ae = {}, D = {
4690
4692
  username: !1,
4691
4693
  email: !1,
@@ -4703,14 +4705,14 @@ function uo(e, r, t) {
4703
4705
  const mr = () => {
4704
4706
  fetch(c).then((I) => I.json()).then((I) => {
4705
4707
  Object.keys(I).forEach((V) => {
4706
- ii(V, I[V]);
4708
+ si(V, I[V]);
4707
4709
  });
4708
4710
  }).catch((I) => {
4709
4711
  console.log(I);
4710
4712
  });
4711
4713
  };
4712
- Object.keys(ni).forEach((p) => {
4713
- ii(p, ni[p]);
4714
+ Object.keys(oi).forEach((p) => {
4715
+ si(p, oi[p]);
4714
4716
  });
4715
4717
  const gr = () => {
4716
4718
  window.postMessage({ type: "ToLogin" }, window.location.href);
@@ -4818,7 +4820,7 @@ function uo(e, r, t) {
4818
4820
  }, Xe = () => {
4819
4821
  t(17, Ae = s.split(","));
4820
4822
  }, Ur = () => {
4821
- to(n);
4823
+ io(n);
4822
4824
  }, Se = () => {
4823
4825
  let p = document.createElement("style");
4824
4826
  p.innerHTML = l, q.appendChild(p);
@@ -4837,7 +4839,7 @@ function uo(e, r, t) {
4837
4839
  );
4838
4840
  });
4839
4841
  };
4840
- Ki(() => (window.addEventListener("message", ze, !1), () => {
4842
+ rn(() => (window.addEventListener("message", ze, !1), () => {
4841
4843
  window.removeEventListener("message", ze);
4842
4844
  }));
4843
4845
  const Ze = () => gr();
@@ -4980,14 +4982,14 @@ function uo(e, r, t) {
4980
4982
  Wr
4981
4983
  ];
4982
4984
  }
4983
- class co extends fn {
4985
+ class ho extends mn {
4984
4986
  constructor(r) {
4985
- super(), cn(
4987
+ super(), fn(
4986
4988
  this,
4987
4989
  r,
4990
+ co,
4988
4991
  uo,
4989
- lo,
4990
- di,
4992
+ gi,
4991
4993
  {
4992
4994
  lang: 44,
4993
4995
  disabledfields: 45,
@@ -4998,7 +5000,7 @@ class co extends fn {
4998
5000
  savecredentials: 1,
4999
5001
  custominputtextswitch: 2
5000
5002
  },
5001
- io,
5003
+ no,
5002
5004
  [-1, -1, -1, -1]
5003
5005
  );
5004
5006
  }
@@ -5051,7 +5053,7 @@ class co extends fn {
5051
5053
  this.$$set({ custominputtextswitch: r }), xe();
5052
5054
  }
5053
5055
  }
5054
- hn(co, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5056
+ dn(ho, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5055
5057
  export {
5056
- co as default
5058
+ ho as default
5057
5059
  };