@everymatrix/general-player-login-form 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function wr(e) {
3
+ function yr(e) {
4
4
  return e();
5
5
  }
6
- function Xt() {
6
+ function jt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Me(e) {
10
- e.forEach(wr);
10
+ e.forEach(yr);
11
11
  }
12
- function kt(e) {
12
+ function Dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function xr(e, t) {
15
+ function _r(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let tt;
19
- function Wt(e, t) {
19
+ function Vt(e, t) {
20
20
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
21
21
  }
22
- function sn(e) {
22
+ function tn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Sr(e, ...t) {
25
+ function Er(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Sr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function an(e, t, r) {
35
- e.$$.on_destroy.push(Sr(t, r));
34
+ function rn(e, t, r) {
35
+ e.$$.on_destroy.push(Er(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ln(e, t, r) {
41
- const n = un(e);
40
+ function nn(e, t, r) {
41
+ const n = on(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = x("style");
44
- i.id = t, i.textContent = r, cn(n, i);
44
+ i.id = t, i.textContent = r, sn(n, i);
45
45
  }
46
46
  }
47
- function un(e) {
47
+ function on(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function un(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function cn(e, t) {
57
+ function sn(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -79,7 +79,7 @@ function N(e) {
79
79
  function j() {
80
80
  return N(" ");
81
81
  }
82
- function hn() {
82
+ function an() {
83
83
  return N("");
84
84
  }
85
85
  function oe(e, t, r, n) {
@@ -92,7 +92,7 @@ function W(e, t, r) {
92
92
  const n = t.toLowerCase();
93
93
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
94
94
  }
95
- function fn(e) {
95
+ function ln(e) {
96
96
  return Array.from(e.childNodes);
97
97
  }
98
98
  function te(e, t) {
@@ -102,7 +102,7 @@ function te(e, t) {
102
102
  function rt(e, t) {
103
103
  e.value = t ?? "";
104
104
  }
105
- function dn(e) {
105
+ function un(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -115,22 +115,22 @@ let ze;
115
115
  function Ve(e) {
116
116
  ze = e;
117
117
  }
118
- function mn() {
118
+ function cn() {
119
119
  if (!ze)
120
120
  throw new Error("Function called outside component initialization");
121
121
  return ze;
122
122
  }
123
- function pn(e) {
124
- mn().$$.on_mount.push(e);
123
+ function hn(e) {
124
+ cn().$$.on_mount.push(e);
125
125
  }
126
126
  const He = [], ut = [];
127
127
  let Be = [];
128
- const Zt = [], gn = /* @__PURE__ */ Promise.resolve();
129
- let Pt = !1;
130
- function bn() {
131
- Pt || (Pt = !0, gn.then(K));
128
+ const zt = [], fn = /* @__PURE__ */ Promise.resolve();
129
+ let St = !1;
130
+ function dn() {
131
+ St || (St = !0, fn.then(K));
132
132
  }
133
- function Tt(e) {
133
+ function Pt(e) {
134
134
  Be.push(e);
135
135
  }
136
136
  const bt = /* @__PURE__ */ new Set();
@@ -143,7 +143,7 @@ function K() {
143
143
  try {
144
144
  for (; Pe < He.length; ) {
145
145
  const t = He[Pe];
146
- Pe++, Ve(t), vn(t.$$);
146
+ Pe++, Ve(t), mn(t.$$);
147
147
  }
148
148
  } catch (t) {
149
149
  throw He.length = 0, Pe = 0, t;
@@ -156,40 +156,40 @@ function K() {
156
156
  }
157
157
  Be.length = 0;
158
158
  } while (He.length);
159
- for (; Zt.length; )
160
- Zt.pop()();
161
- Pt = !1, bt.clear(), Ve(e);
159
+ for (; zt.length; )
160
+ zt.pop()();
161
+ St = !1, bt.clear(), Ve(e);
162
162
  }
163
- function vn(e) {
163
+ function mn(e) {
164
164
  if (e.fragment !== null) {
165
165
  e.update(), Me(e.before_update);
166
166
  const t = e.dirty;
167
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
168
168
  }
169
169
  }
170
- function yn(e) {
170
+ function pn(e) {
171
171
  const t = [], r = [];
172
172
  Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
173
173
  }
174
- const _n = /* @__PURE__ */ new Set();
175
- function En(e, t) {
176
- e && e.i && (_n.delete(e), e.i(t));
174
+ const gn = /* @__PURE__ */ new Set();
175
+ function bn(e, t) {
176
+ e && e.i && (gn.delete(e), e.i(t));
177
177
  }
178
- function wn(e, t, r) {
178
+ function vn(e, t, r) {
179
179
  const { fragment: n, after_update: i } = e.$$;
180
- n && n.m(t, r), Tt(() => {
181
- const o = e.$$.on_mount.map(wr).filter(kt);
180
+ n && n.m(t, r), Pt(() => {
181
+ const o = e.$$.on_mount.map(yr).filter(Dt);
182
182
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
183
- }), i.forEach(Tt);
183
+ }), i.forEach(Pt);
184
184
  }
185
- function xn(e, t) {
185
+ function yn(e, t) {
186
186
  const r = e.$$;
187
- r.fragment !== null && (yn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
+ r.fragment !== null && (pn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
188
  }
189
- function Sn(e, t) {
190
- e.$$.dirty[0] === -1 && (He.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ function _n(e, t) {
190
+ e.$$.dirty[0] === -1 && (He.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
191
  }
192
- function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
192
+ function En(e, t, r, n, i, o, s = null, a = [-1]) {
193
193
  const c = ze;
194
194
  Ve(e);
195
195
  const l = e.$$ = {
@@ -199,7 +199,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
199
199
  props: o,
200
200
  update: Z,
201
201
  not_equal: i,
202
- bound: Xt(),
202
+ bound: jt(),
203
203
  // lifecycle
204
204
  on_mount: [],
205
205
  on_destroy: [],
@@ -208,7 +208,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  after_update: [],
209
209
  context: new Map(t.context || (c ? c.$$.context : [])),
210
210
  // everything else
211
- callbacks: Xt(),
211
+ callbacks: jt(),
212
212
  dirty: a,
213
213
  skip_bound: !1,
214
214
  root: t.target || c.$$.root
@@ -217,19 +217,19 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  let u = !1;
218
218
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
219
219
  const y = b.length ? b[0] : d;
220
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Sn(e, f)), d;
220
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && _n(e, f)), d;
221
221
  }) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
222
222
  if (t.hydrate) {
223
- const f = fn(t.target);
223
+ const f = ln(t.target);
224
224
  l.fragment && l.fragment.l(f), f.forEach(I);
225
225
  } else
226
226
  l.fragment && l.fragment.c();
227
- t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), K();
227
+ t.intro && bn(e.$$.fragment), vn(e, t.target, t.anchor), K();
228
228
  }
229
229
  Ve(c);
230
230
  }
231
- let Pr;
232
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
231
+ let wr;
232
+ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
233
233
  /** The Svelte component constructor */
234
234
  $$ctor;
235
235
  /** Slots */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
288
288
  };
289
289
  if (await Promise.resolve(), !this.$$cn || this.$$c)
290
290
  return;
291
- const t = {}, r = dn(this);
291
+ const t = {}, r = un(this);
292
292
  for (const i of this.$$s)
293
293
  i in r && (t[i] = [e(i)]);
294
294
  for (const i of this.attributes) {
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
375
375
  return t;
376
376
  }
377
377
  }
378
- function Tn(e, t, r, n, i, o) {
379
- let s = class extends Pr {
378
+ function wn(e, t, r, n, i, o) {
379
+ let s = class extends wr {
380
380
  constructor() {
381
381
  super(e, r, i), this.$$p_d = t;
382
382
  }
@@ -404,7 +404,7 @@ function Tn(e, t, r, n, i, o) {
404
404
  }), e.element = /** @type {any} */
405
405
  s, s;
406
406
  }
407
- class Hn {
407
+ class xn {
408
408
  /**
409
409
  * ### PRIVATE API
410
410
  *
@@ -423,7 +423,7 @@ class Hn {
423
423
  $$set = void 0;
424
424
  /** @returns {void} */
425
425
  $destroy() {
426
- xn(this, 1), this.$destroy = Z;
426
+ yn(this, 1), this.$destroy = Z;
427
427
  }
428
428
  /**
429
429
  * @template {Extract<keyof Events, string>} K
@@ -432,7 +432,7 @@ class Hn {
432
432
  * @returns {() => void}
433
433
  */
434
434
  $on(t, r) {
435
- if (!kt(r))
435
+ if (!Dt(r))
436
436
  return Z;
437
437
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
438
438
  return n.push(r), () => {
@@ -445,11 +445,11 @@ class Hn {
445
445
  * @returns {void}
446
446
  */
447
447
  $set(t) {
448
- this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
+ this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
449
  }
450
450
  }
451
- const Bn = "4";
452
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
451
+ const Sn = "4";
452
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
453
453
  /*! *****************************************************************************
454
454
  Copyright (c) Microsoft Corporation.
455
455
 
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
464
464
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
465
465
  PERFORMANCE OF THIS SOFTWARE.
466
466
  ***************************************************************************** */
467
- var Ht = function(e, t) {
468
- return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ var Tt = function(e, t) {
468
+ return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n)
472
472
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
- }, Ht(e, t);
473
+ }, Tt(e, t);
474
474
  };
475
475
  function ae(e, t) {
476
476
  if (typeof t != "function" && t !== null)
477
477
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
478
- Ht(e, t);
478
+ Tt(e, t);
479
479
  function r() {
480
480
  this.constructor = e;
481
481
  }
@@ -491,7 +491,7 @@ var w = function() {
491
491
  return t;
492
492
  }, w.apply(this, arguments);
493
493
  };
494
- function An(e, t) {
494
+ function Pn(e, t) {
495
495
  var r = {};
496
496
  for (var n in e)
497
497
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -500,7 +500,7 @@ function An(e, t) {
500
500
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
501
501
  return r;
502
502
  }
503
- function Bt(e) {
503
+ function Ht(e) {
504
504
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
505
  if (r)
506
506
  return r.call(e);
@@ -512,7 +512,7 @@ function Bt(e) {
512
512
  };
513
513
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
514
514
  }
515
- function At(e, t) {
515
+ function Bt(e, t) {
516
516
  var r = typeof Symbol == "function" && e[Symbol.iterator];
517
517
  if (!r)
518
518
  return e;
@@ -541,13 +541,13 @@ function Ae(e, t, r) {
541
541
  function se(e) {
542
542
  return typeof e == "function";
543
543
  }
544
- function Tr(e) {
544
+ function xr(e) {
545
545
  var t = function(n) {
546
546
  Error.call(n), n.stack = new Error().stack;
547
547
  }, r = e(t);
548
548
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
549
549
  }
550
- var vt = Tr(function(e) {
550
+ var vt = xr(function(e) {
551
551
  return function(r) {
552
552
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
553
553
  ` + r.map(function(n, i) {
@@ -556,7 +556,7 @@ var vt = Tr(function(e) {
556
556
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
557
557
  };
558
558
  });
559
- function It(e, t) {
559
+ function At(e, t) {
560
560
  if (e) {
561
561
  var r = e.indexOf(t);
562
562
  0 <= r && e.splice(r, 1);
@@ -574,7 +574,7 @@ var ft = function() {
574
574
  if (s)
575
575
  if (this._parentage = null, Array.isArray(s))
576
576
  try {
577
- for (var a = Bt(s), c = a.next(); !c.done; c = a.next()) {
577
+ for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
578
578
  var l = c.value;
579
579
  l.remove(this);
580
580
  }
@@ -601,12 +601,12 @@ var ft = function() {
601
601
  if (f) {
602
602
  this._finalizers = null;
603
603
  try {
604
- for (var d = Bt(f), b = d.next(); !b.done; b = d.next()) {
604
+ for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
605
605
  var y = b.value;
606
606
  try {
607
- qt(y);
607
+ Xt(y);
608
608
  } catch (g) {
609
- o = o ?? [], g instanceof vt ? o = Ae(Ae([], At(o)), At(g.errors)) : o.push(g);
609
+ o = o ?? [], g instanceof vt ? o = Ae(Ae([], Bt(o)), Bt(g.errors)) : o.push(g);
610
610
  }
611
611
  }
612
612
  } catch (g) {
@@ -627,7 +627,7 @@ var ft = function() {
627
627
  var r;
628
628
  if (t && t !== this)
629
629
  if (this.closed)
630
- qt(t);
630
+ Xt(t);
631
631
  else {
632
632
  if (t instanceof e) {
633
633
  if (t.closed || t._hasParent(this))
@@ -644,56 +644,52 @@ var ft = function() {
644
644
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
645
645
  }, e.prototype._removeParent = function(t) {
646
646
  var r = this._parentage;
647
- r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
647
+ r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
648
648
  }, e.prototype.remove = function(t) {
649
649
  var r = this._finalizers;
650
- r && It(r, t), t instanceof e && t._removeParent(this);
650
+ r && At(r, t), t instanceof e && t._removeParent(this);
651
651
  }, e.EMPTY = function() {
652
652
  var t = new e();
653
653
  return t.closed = !0, t;
654
654
  }(), e;
655
- }(), Hr = ft.EMPTY;
656
- function Br(e) {
655
+ }(), Sr = ft.EMPTY;
656
+ function Pr(e) {
657
657
  return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
658
658
  }
659
- function qt(e) {
659
+ function Xt(e) {
660
660
  se(e) ? e() : e.unsubscribe();
661
661
  }
662
- var Ar = {
663
- onUnhandledError: null,
664
- onStoppedNotification: null,
665
- Promise: void 0,
666
- useDeprecatedSynchronousErrorHandling: !1,
667
- useDeprecatedNextContext: !1
668
- }, In = {
662
+ var Tn = {
663
+ Promise: void 0
664
+ }, Hn = {
669
665
  setTimeout: function(e, t) {
670
666
  for (var r = [], n = 2; n < arguments.length; n++)
671
667
  r[n - 2] = arguments[n];
672
- return setTimeout.apply(void 0, Ae([e, t], At(r)));
668
+ return setTimeout.apply(void 0, Ae([e, t], Bt(r)));
673
669
  },
674
670
  clearTimeout: function(e) {
675
671
  return clearTimeout(e);
676
672
  },
677
673
  delegate: void 0
678
674
  };
679
- function Cn(e) {
680
- In.setTimeout(function() {
675
+ function Bn(e) {
676
+ Hn.setTimeout(function() {
681
677
  throw e;
682
678
  });
683
679
  }
684
- function Jt() {
680
+ function Wt() {
685
681
  }
686
682
  function st(e) {
687
683
  e();
688
684
  }
689
- var Ir = function(e) {
685
+ var Tr = function(e) {
690
686
  ae(t, e);
691
687
  function t(r) {
692
688
  var n = e.call(this) || this;
693
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Nn, n;
689
+ return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = Cn, n;
694
690
  }
695
691
  return t.create = function(r, n, i) {
696
- return new Ct(r, n, i);
692
+ return new It(r, n, i);
697
693
  }, t.prototype.next = function(r) {
698
694
  this.isStopped || this._next(r);
699
695
  }, t.prototype.error = function(r) {
@@ -717,11 +713,7 @@ var Ir = function(e) {
717
713
  this.unsubscribe();
718
714
  }
719
715
  }, t;
720
- }(ft), On = Function.prototype.bind;
721
- function yt(e, t) {
722
- return On.call(e, t);
723
- }
724
- var Ln = function() {
716
+ }(ft), An = function() {
725
717
  function e(t) {
726
718
  this.partialObserver = t;
727
719
  }
@@ -752,55 +744,43 @@ var Ln = function() {
752
744
  nt(r);
753
745
  }
754
746
  }, e;
755
- }(), Ct = function(e) {
747
+ }(), It = function(e) {
756
748
  ae(t, e);
757
749
  function t(r, n, i) {
758
750
  var o = e.call(this) || this, s;
759
- if (se(r) || !r)
760
- s = {
761
- next: r ?? void 0,
762
- error: n ?? void 0,
763
- complete: i ?? void 0
764
- };
765
- else {
766
- var a;
767
- o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
768
- return o.unsubscribe();
769
- }, s = {
770
- next: r.next && yt(r.next, a),
771
- error: r.error && yt(r.error, a),
772
- complete: r.complete && yt(r.complete, a)
773
- }) : s = r;
774
- }
775
- return o.destination = new Ln(s), o;
751
+ return se(r) || !r ? s = {
752
+ next: r ?? void 0,
753
+ error: n ?? void 0,
754
+ complete: i ?? void 0
755
+ } : s = r, o.destination = new An(s), o;
776
756
  }
777
757
  return t;
778
- }(Ir);
758
+ }(Tr);
779
759
  function nt(e) {
780
- Cn(e);
760
+ Bn(e);
781
761
  }
782
- function Mn(e) {
762
+ function In(e) {
783
763
  throw e;
784
764
  }
785
- var Nn = {
765
+ var Cn = {
786
766
  closed: !0,
787
- next: Jt,
788
- error: Mn,
789
- complete: Jt
790
- }, Rn = function() {
767
+ next: Wt,
768
+ error: In,
769
+ complete: Wt
770
+ }, On = function() {
791
771
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
792
772
  }();
793
- function Un(e) {
773
+ function Ln(e) {
794
774
  return e;
795
775
  }
796
- function Fn(e) {
797
- return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
776
+ function Mn(e) {
777
+ return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
798
778
  return e.reduce(function(n, i) {
799
779
  return i(n);
800
780
  }, r);
801
781
  };
802
782
  }
803
- var Qt = function() {
783
+ var Zt = function() {
804
784
  function e(t) {
805
785
  t && (this._subscribe = t);
806
786
  }
@@ -808,7 +788,7 @@ var Qt = function() {
808
788
  var r = new e();
809
789
  return r.source = this, r.operator = t, r;
810
790
  }, e.prototype.subscribe = function(t, r, n) {
811
- var i = this, o = kn(t) ? t : new Ct(t, r, n);
791
+ var i = this, o = Rn(t) ? t : new It(t, r, n);
812
792
  return st(function() {
813
793
  var s = i, a = s.operator, c = s.source;
814
794
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -821,8 +801,8 @@ var Qt = function() {
821
801
  }
822
802
  }, e.prototype.forEach = function(t, r) {
823
803
  var n = this;
824
- return r = Yt(r), new r(function(i, o) {
825
- var s = new Ct({
804
+ return r = qt(r), new r(function(i, o) {
805
+ var s = new It({
826
806
  next: function(a) {
827
807
  try {
828
808
  t(a);
@@ -838,15 +818,15 @@ var Qt = function() {
838
818
  }, e.prototype._subscribe = function(t) {
839
819
  var r;
840
820
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
841
- }, e.prototype[Rn] = function() {
821
+ }, e.prototype[On] = function() {
842
822
  return this;
843
823
  }, e.prototype.pipe = function() {
844
824
  for (var t = [], r = 0; r < arguments.length; r++)
845
825
  t[r] = arguments[r];
846
- return Fn(t)(this);
826
+ return Mn(t)(this);
847
827
  }, e.prototype.toPromise = function(t) {
848
828
  var r = this;
849
- return t = Yt(t), new t(function(n, i) {
829
+ return t = qt(t), new t(function(n, i) {
850
830
  var o;
851
831
  r.subscribe(function(s) {
852
832
  return o = s;
@@ -860,32 +840,32 @@ var Qt = function() {
860
840
  return new e(t);
861
841
  }, e;
862
842
  }();
863
- function Yt(e) {
843
+ function qt(e) {
864
844
  var t;
865
- return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
845
+ return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
866
846
  }
867
- function Dn(e) {
847
+ function Nn(e) {
868
848
  return e && se(e.next) && se(e.error) && se(e.complete);
869
849
  }
870
- function kn(e) {
871
- return e && e instanceof Ir || Dn(e) && Br(e);
850
+ function Rn(e) {
851
+ return e && e instanceof Tr || Nn(e) && Pr(e);
872
852
  }
873
- var Gn = Tr(function(e) {
853
+ var Un = xr(function(e) {
874
854
  return function() {
875
855
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
876
856
  };
877
- }), Cr = function(e) {
857
+ }), Hr = function(e) {
878
858
  ae(t, e);
879
859
  function t() {
880
860
  var r = e.call(this) || this;
881
861
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
882
862
  }
883
863
  return t.prototype.lift = function(r) {
884
- var n = new Kt(this, this);
864
+ var n = new Jt(this, this);
885
865
  return n.operator = r, n;
886
866
  }, t.prototype._throwIfClosed = function() {
887
867
  if (this.closed)
888
- throw new Gn();
868
+ throw new Un();
889
869
  }, t.prototype.next = function(r) {
890
870
  var n = this;
891
871
  st(function() {
@@ -893,7 +873,7 @@ var Gn = Tr(function(e) {
893
873
  if (n._throwIfClosed(), !n.isStopped) {
894
874
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
895
875
  try {
896
- for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
876
+ for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
897
877
  var c = a.value;
898
878
  c.next(r);
899
879
  }
@@ -942,19 +922,19 @@ var Gn = Tr(function(e) {
942
922
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
943
923
  }, t.prototype._innerSubscribe = function(r) {
944
924
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
945
- return o || s ? Hr : (this.currentObservers = null, a.push(r), new ft(function() {
946
- n.currentObservers = null, It(a, r);
925
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new ft(function() {
926
+ n.currentObservers = null, At(a, r);
947
927
  }));
948
928
  }, t.prototype._checkFinalizedStatuses = function(r) {
949
929
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
950
930
  i ? r.error(o) : s && r.complete();
951
931
  }, t.prototype.asObservable = function() {
952
- var r = new Qt();
932
+ var r = new Zt();
953
933
  return r.source = this, r;
954
934
  }, t.create = function(r, n) {
955
- return new Kt(r, n);
935
+ return new Jt(r, n);
956
936
  }, t;
957
- }(Qt), Kt = function(e) {
937
+ }(Zt), Jt = function(e) {
958
938
  ae(t, e);
959
939
  function t(r, n) {
960
940
  var i = e.call(this) || this;
@@ -971,17 +951,17 @@ var Gn = Tr(function(e) {
971
951
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
972
952
  }, t.prototype._subscribe = function(r) {
973
953
  var n, i;
974
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
954
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
975
955
  }, t;
976
- }(Cr), Or = {
956
+ }(Hr), Br = {
977
957
  now: function() {
978
- return (Or.delegate || Date).now();
958
+ return (Br.delegate || Date).now();
979
959
  },
980
960
  delegate: void 0
981
- }, $n = function(e) {
961
+ }, Fn = function(e) {
982
962
  ae(t, e);
983
963
  function t(r, n, i) {
984
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
964
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
985
965
  var o = e.call(this) || this;
986
966
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
987
967
  }
@@ -1001,15 +981,15 @@ var Gn = Tr(function(e) {
1001
981
  l && o.splice(0, l + 1);
1002
982
  }
1003
983
  }, t;
1004
- }(Cr);
1005
- const er = [], tr = {}, jn = (e, t = 0) => {
1006
- if (er.indexOf(e) == -1) {
1007
- const r = new $n(t);
1008
- tr[e] = r, er.push(e);
984
+ }(Hr);
985
+ const Qt = [], Yt = {}, Dn = (e, t = 0) => {
986
+ if (Qt.indexOf(e) == -1) {
987
+ const r = new Fn(t);
988
+ Yt[e] = r, Qt.push(e);
1009
989
  }
1010
- return tr[e];
990
+ return Yt[e];
1011
991
  }, Te = [];
1012
- function Vn(e, t) {
992
+ function kn(e, t) {
1013
993
  return {
1014
994
  subscribe: dt(e, t).subscribe
1015
995
  };
@@ -1018,7 +998,7 @@ function dt(e, t = Z) {
1018
998
  let r;
1019
999
  const n = /* @__PURE__ */ new Set();
1020
1000
  function i(a) {
1021
- if (xr(e, a) && (e = a, r)) {
1001
+ if (_r(e, a) && (e = a, r)) {
1022
1002
  const c = !Te.length;
1023
1003
  for (const l of n)
1024
1004
  l[1](), Te.push(l, e);
@@ -1045,7 +1025,7 @@ function Ne(e, t, r) {
1045
1025
  if (!i.every(Boolean))
1046
1026
  throw new Error("derived() expects stores as input, got a falsy value");
1047
1027
  const o = t.length < 2;
1048
- return Vn(r, (s, a) => {
1028
+ return kn(r, (s, a) => {
1049
1029
  let c = !1;
1050
1030
  const l = [];
1051
1031
  let u = 0, f = Z;
@@ -1054,9 +1034,9 @@ function Ne(e, t, r) {
1054
1034
  return;
1055
1035
  f();
1056
1036
  const y = t(n ? l[0] : l, s, a);
1057
- o ? s(y) : f = kt(y) ? y : Z;
1037
+ o ? s(y) : f = Dt(y) ? y : Z;
1058
1038
  }, b = i.map(
1059
- (y, g) => Sr(
1039
+ (y, g) => Er(
1060
1040
  y,
1061
1041
  (S) => {
1062
1042
  l[g] = S, u &= ~(1 << g), c && d();
@@ -1071,70 +1051,70 @@ function Ne(e, t, r) {
1071
1051
  };
1072
1052
  });
1073
1053
  }
1074
- function zn(e) {
1054
+ function Gn(e) {
1075
1055
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1076
1056
  }
1077
- var Xn = function(t) {
1078
- return Wn(t) && !Zn(t);
1057
+ var $n = function(t) {
1058
+ return jn(t) && !Vn(t);
1079
1059
  };
1080
- function Wn(e) {
1060
+ function jn(e) {
1081
1061
  return !!e && typeof e == "object";
1082
1062
  }
1083
- function Zn(e) {
1063
+ function Vn(e) {
1084
1064
  var t = Object.prototype.toString.call(e);
1085
- return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1065
+ return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1086
1066
  }
1087
- var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1088
- function Qn(e) {
1089
- return e.$$typeof === Jn;
1067
+ var zn = typeof Symbol == "function" && Symbol.for, Xn = zn ? Symbol.for("react.element") : 60103;
1068
+ function Wn(e) {
1069
+ return e.$$typeof === Xn;
1090
1070
  }
1091
- function Yn(e) {
1071
+ function Zn(e) {
1092
1072
  return Array.isArray(e) ? [] : {};
1093
1073
  }
1094
1074
  function Xe(e, t) {
1095
- return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Yn(e), e, t) : e;
1075
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Zn(e), e, t) : e;
1096
1076
  }
1097
- function Kn(e, t, r) {
1077
+ function qn(e, t, r) {
1098
1078
  return e.concat(t).map(function(n) {
1099
1079
  return Xe(n, r);
1100
1080
  });
1101
1081
  }
1102
- function ei(e, t) {
1082
+ function Jn(e, t) {
1103
1083
  if (!t.customMerge)
1104
1084
  return Ie;
1105
1085
  var r = t.customMerge(e);
1106
1086
  return typeof r == "function" ? r : Ie;
1107
1087
  }
1108
- function ti(e) {
1088
+ function Qn(e) {
1109
1089
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1110
1090
  return Object.propertyIsEnumerable.call(e, t);
1111
1091
  }) : [];
1112
1092
  }
1113
- function rr(e) {
1114
- return Object.keys(e).concat(ti(e));
1093
+ function Kt(e) {
1094
+ return Object.keys(e).concat(Qn(e));
1115
1095
  }
1116
- function Lr(e, t) {
1096
+ function Ar(e, t) {
1117
1097
  try {
1118
1098
  return t in e;
1119
1099
  } catch {
1120
1100
  return !1;
1121
1101
  }
1122
1102
  }
1123
- function ri(e, t) {
1124
- return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
+ function Yn(e, t) {
1104
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1125
1105
  }
1126
- function ni(e, t, r) {
1106
+ function Kn(e, t, r) {
1127
1107
  var n = {};
1128
- return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1108
+ return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1129
1109
  n[i] = Xe(e[i], r);
1130
- }), rr(t).forEach(function(i) {
1131
- ri(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1110
+ }), Kt(t).forEach(function(i) {
1111
+ Yn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1132
1112
  }), n;
1133
1113
  }
1134
1114
  function Ie(e, t, r) {
1135
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Xe;
1115
+ r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = Xe;
1136
1116
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1137
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Xe(t, r);
1117
+ return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : Xe(t, r);
1138
1118
  }
1139
1119
  Ie.all = function(t, r) {
1140
1120
  if (!Array.isArray(t))
@@ -1143,58 +1123,56 @@ Ie.all = function(t, r) {
1143
1123
  return Ie(n, i, r);
1144
1124
  }, {});
1145
1125
  };
1146
- var ii = Ie, oi = ii;
1147
- const si = /* @__PURE__ */ zn(oi);
1148
- function _t(e, t) {
1149
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1126
+ var ei = Ie, ti = ei;
1127
+ const ri = /* @__PURE__ */ Gn(ti);
1128
+ function yt(e, t) {
1129
+ var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1150
1130
  return i(e, {
1151
1131
  cache: r,
1152
1132
  serializer: n
1153
1133
  });
1154
1134
  }
1155
- function ai(e) {
1135
+ function ni(e) {
1156
1136
  return e == null || typeof e == "number" || typeof e == "boolean";
1157
1137
  }
1158
- function Mr(e, t, r, n) {
1159
- var i = ai(n) ? n : r(n), o = t.get(i);
1138
+ function ii(e, t, r, n) {
1139
+ var i = ni(n) ? n : r(n), o = t.get(i);
1160
1140
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1161
1141
  }
1162
- function Nr(e, t, r) {
1142
+ function Ir(e, t, r) {
1163
1143
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1164
1144
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1165
1145
  }
1166
- function Gt(e, t, r, n, i) {
1146
+ function Cr(e, t, r, n, i) {
1167
1147
  return r.bind(t, e, n, i);
1168
1148
  }
1169
- function li(e, t) {
1170
- var r = e.length === 1 ? Mr : Nr;
1171
- return Gt(e, this, r, t.cache.create(), t.serializer);
1172
- }
1173
- function ui(e, t) {
1174
- return Gt(e, this, Nr, t.cache.create(), t.serializer);
1149
+ function oi(e, t) {
1150
+ var r = e.length === 1 ? ii : Ir;
1151
+ return Cr(e, this, r, t.cache.create(), t.serializer);
1175
1152
  }
1176
- function ci(e, t) {
1177
- return Gt(e, this, Mr, t.cache.create(), t.serializer);
1153
+ function si(e, t) {
1154
+ return Cr(e, this, Ir, t.cache.create(), t.serializer);
1178
1155
  }
1179
- var hi = function() {
1156
+ var ai = function() {
1180
1157
  return JSON.stringify(arguments);
1181
- };
1182
- function $t() {
1183
- this.cache = /* @__PURE__ */ Object.create(null);
1184
- }
1185
- $t.prototype.get = function(e) {
1186
- return this.cache[e];
1187
- };
1188
- $t.prototype.set = function(e, t) {
1189
- this.cache[e] = t;
1190
- };
1191
- var fi = {
1158
+ }, li = (
1159
+ /** @class */
1160
+ function() {
1161
+ function e() {
1162
+ this.cache = /* @__PURE__ */ Object.create(null);
1163
+ }
1164
+ return e.prototype.get = function(t) {
1165
+ return this.cache[t];
1166
+ }, e.prototype.set = function(t, r) {
1167
+ this.cache[t] = r;
1168
+ }, e;
1169
+ }()
1170
+ ), ui = {
1192
1171
  create: function() {
1193
- return new $t();
1172
+ return new li();
1194
1173
  }
1195
- }, Et = {
1196
- variadic: ui,
1197
- monadic: ci
1174
+ }, _t = {
1175
+ variadic: si
1198
1176
  }, _;
1199
1177
  (function(e) {
1200
1178
  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";
@@ -1207,43 +1185,43 @@ var Ce;
1207
1185
  (function(e) {
1208
1186
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1209
1187
  })(Ce || (Ce = {}));
1210
- function nr(e) {
1188
+ function er(e) {
1211
1189
  return e.type === T.literal;
1212
1190
  }
1213
- function di(e) {
1191
+ function ci(e) {
1214
1192
  return e.type === T.argument;
1215
1193
  }
1216
- function Rr(e) {
1194
+ function Or(e) {
1217
1195
  return e.type === T.number;
1218
1196
  }
1219
- function Ur(e) {
1197
+ function Lr(e) {
1220
1198
  return e.type === T.date;
1221
1199
  }
1222
- function Fr(e) {
1200
+ function Mr(e) {
1223
1201
  return e.type === T.time;
1224
1202
  }
1225
- function Dr(e) {
1203
+ function Nr(e) {
1226
1204
  return e.type === T.select;
1227
1205
  }
1228
- function kr(e) {
1206
+ function Rr(e) {
1229
1207
  return e.type === T.plural;
1230
1208
  }
1231
- function mi(e) {
1209
+ function hi(e) {
1232
1210
  return e.type === T.pound;
1233
1211
  }
1234
- function Gr(e) {
1212
+ function Ur(e) {
1235
1213
  return e.type === T.tag;
1236
1214
  }
1237
- function $r(e) {
1215
+ function Fr(e) {
1238
1216
  return !!(e && typeof e == "object" && e.type === Ce.number);
1239
1217
  }
1240
- function Ot(e) {
1218
+ function Ct(e) {
1241
1219
  return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1242
1220
  }
1243
- var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1244
- function gi(e) {
1221
+ var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1222
+ function di(e) {
1245
1223
  var t = {};
1246
- return e.replace(pi, function(r) {
1224
+ return e.replace(fi, function(r) {
1247
1225
  var n = r.length;
1248
1226
  switch (r[0]) {
1249
1227
  case "G":
@@ -1332,11 +1310,11 @@ function gi(e) {
1332
1310
  return "";
1333
1311
  }), t;
1334
1312
  }
1335
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1336
- function vi(e) {
1313
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1314
+ function pi(e) {
1337
1315
  if (e.length === 0)
1338
1316
  throw new Error("Number skeleton cannot be empty");
1339
- for (var t = e.split(bi).filter(function(d) {
1317
+ for (var t = e.split(mi).filter(function(d) {
1340
1318
  return d.length > 0;
1341
1319
  }), r = [], n = 0, i = t; n < i.length; n++) {
1342
1320
  var o = i[n], s = o.split("/");
@@ -1351,17 +1329,17 @@ function vi(e) {
1351
1329
  }
1352
1330
  return r;
1353
1331
  }
1354
- function yi(e) {
1332
+ function gi(e) {
1355
1333
  return e.replace(/^(.*?)-/, "");
1356
1334
  }
1357
- var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1358
- function or(e) {
1335
+ var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1336
+ function rr(e) {
1359
1337
  var t = {};
1360
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1338
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
1361
1339
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1362
1340
  }), t;
1363
1341
  }
1364
- function Xr(e) {
1342
+ function $r(e) {
1365
1343
  switch (e) {
1366
1344
  case "sign-auto":
1367
1345
  return {
@@ -1401,7 +1379,7 @@ function Xr(e) {
1401
1379
  };
1402
1380
  }
1403
1381
  }
1404
- function Ei(e) {
1382
+ function vi(e) {
1405
1383
  var t;
1406
1384
  if (e[0] === "E" && e[1] === "E" ? (t = {
1407
1385
  notation: "engineering"
@@ -1409,17 +1387,17 @@ function Ei(e) {
1409
1387
  notation: "scientific"
1410
1388
  }, e = e.slice(1)), t) {
1411
1389
  var r = e.slice(0, 2);
1412
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1390
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1413
1391
  throw new Error("Malformed concise eng/scientific notation");
1414
1392
  t.minimumIntegerDigits = e.length;
1415
1393
  }
1416
1394
  return t;
1417
1395
  }
1418
- function sr(e) {
1419
- var t = {}, r = Xr(e);
1396
+ function nr(e) {
1397
+ var t = {}, r = $r(e);
1420
1398
  return r || t;
1421
1399
  }
1422
- function wi(e) {
1400
+ function yi(e) {
1423
1401
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1424
1402
  var i = n[r];
1425
1403
  switch (i.stem) {
@@ -1443,7 +1421,7 @@ function wi(e) {
1443
1421
  continue;
1444
1422
  case "measure-unit":
1445
1423
  case "unit":
1446
- t.style = "unit", t.unit = yi(i.options[0]);
1424
+ t.style = "unit", t.unit = gi(i.options[0]);
1447
1425
  continue;
1448
1426
  case "compact-short":
1449
1427
  case "K":
@@ -1455,12 +1433,12 @@ function wi(e) {
1455
1433
  continue;
1456
1434
  case "scientific":
1457
1435
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1458
- return w(w({}, c), sr(l));
1436
+ return w(w({}, c), nr(l));
1459
1437
  }, {}));
1460
1438
  continue;
1461
1439
  case "engineering":
1462
1440
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1463
- return w(w({}, c), sr(l));
1441
+ return w(w({}, c), nr(l));
1464
1442
  }, {}));
1465
1443
  continue;
1466
1444
  case "notation-simple":
@@ -1505,7 +1483,7 @@ function wi(e) {
1505
1483
  case "integer-width":
1506
1484
  if (i.options.length > 1)
1507
1485
  throw new RangeError("integer-width stems only accept a single optional option");
1508
- i.options[0].replace(_i, function(c, l, u, f, d, b) {
1486
+ i.options[0].replace(bi, function(c, l, u, f, d, b) {
1509
1487
  if (l)
1510
1488
  t.minimumIntegerDigits = u.length;
1511
1489
  else {
@@ -1518,27 +1496,27 @@ function wi(e) {
1518
1496
  });
1519
1497
  continue;
1520
1498
  }
1521
- if (zr.test(i.stem)) {
1499
+ if (Gr.test(i.stem)) {
1522
1500
  t.minimumIntegerDigits = i.stem.length;
1523
1501
  continue;
1524
1502
  }
1525
- if (ir.test(i.stem)) {
1503
+ if (tr.test(i.stem)) {
1526
1504
  if (i.options.length > 1)
1527
1505
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1528
- i.stem.replace(ir, function(c, l, u, f, d, b) {
1506
+ i.stem.replace(tr, function(c, l, u, f, d, b) {
1529
1507
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1530
1508
  });
1531
1509
  var o = i.options[0];
1532
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), or(o)));
1510
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
1533
1511
  continue;
1534
1512
  }
1535
- if (Vr.test(i.stem)) {
1536
- t = w(w({}, t), or(i.stem));
1513
+ if (kr.test(i.stem)) {
1514
+ t = w(w({}, t), rr(i.stem));
1537
1515
  continue;
1538
1516
  }
1539
- var s = Xr(i.stem);
1517
+ var s = $r(i.stem);
1540
1518
  s && (t = w(w({}, t), s));
1541
- var a = Ei(i.stem);
1519
+ var a = vi(i.stem);
1542
1520
  a && (t = w(w({}, t), a));
1543
1521
  }
1544
1522
  return t;
@@ -2958,13 +2936,13 @@ var it = {
2958
2936
  "h"
2959
2937
  ]
2960
2938
  };
2961
- function xi(e, t) {
2939
+ function _i(e, t) {
2962
2940
  for (var r = "", n = 0; n < e.length; n++) {
2963
2941
  var i = e.charAt(n);
2964
2942
  if (i === "j") {
2965
2943
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2966
2944
  o++, n++;
2967
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2945
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
2968
2946
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2969
2947
  r += c;
2970
2948
  for (; s-- > 0; )
@@ -2974,7 +2952,7 @@ function xi(e, t) {
2974
2952
  }
2975
2953
  return r;
2976
2954
  }
2977
- function Si(e) {
2955
+ function Ei(e) {
2978
2956
  var t = e.hourCycle;
2979
2957
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2980
2958
  e.hourCycles && // @ts-ignore
@@ -2996,20 +2974,20 @@ function Si(e) {
2996
2974
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2997
2975
  return i[0];
2998
2976
  }
2999
- var wt, Pi = new RegExp("^".concat(jr.source, "*")), Ti = new RegExp("".concat(jr.source, "*$"));
2977
+ var Et, wi = new RegExp("^".concat(Dr.source, "*")), xi = new RegExp("".concat(Dr.source, "*$"));
3000
2978
  function E(e, t) {
3001
2979
  return { start: e, end: t };
3002
2980
  }
3003
- var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
2981
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Ci = Ii ? Number.isSafeInteger : function(e) {
3004
2982
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3005
- }, Lt = !0;
2983
+ }, Ot = !0;
3006
2984
  try {
3007
- var Ni = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
- Lt = ((wt = Ni.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
2985
+ var Oi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2986
+ Ot = ((Et = Oi.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
3009
2987
  } catch {
3010
- Lt = !1;
2988
+ Ot = !1;
3011
2989
  }
3012
- var ar = Hi ? (
2990
+ var ir = Si ? (
3013
2991
  // Native
3014
2992
  function(t, r, n) {
3015
2993
  return t.startsWith(r, n);
@@ -3019,7 +2997,7 @@ var ar = Hi ? (
3019
2997
  function(t, r, n) {
3020
2998
  return t.slice(n, n + r.length) === r;
3021
2999
  }
3022
- ), Mt = Bi ? String.fromCodePoint : (
3000
+ ), Lt = Pi ? String.fromCodePoint : (
3023
3001
  // IE11
3024
3002
  function() {
3025
3003
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3031,9 +3009,9 @@ var ar = Hi ? (
3031
3009
  }
3032
3010
  return n;
3033
3011
  }
3034
- ), lr = (
3012
+ ), or = (
3035
3013
  // native
3036
- Ai ? Object.fromEntries : (
3014
+ Ti ? Object.fromEntries : (
3037
3015
  // Ponyfill
3038
3016
  function(t) {
3039
3017
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3043,7 +3021,7 @@ var ar = Hi ? (
3043
3021
  return r;
3044
3022
  }
3045
3023
  )
3046
- ), Wr = Ii ? (
3024
+ ), jr = Hi ? (
3047
3025
  // Native
3048
3026
  function(t, r) {
3049
3027
  return t.codePointAt(r);
@@ -3057,7 +3035,7 @@ var ar = Hi ? (
3057
3035
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3058
3036
  }
3059
3037
  }
3060
- ), Ri = Ci ? (
3038
+ ), Li = Bi ? (
3061
3039
  // Native
3062
3040
  function(t) {
3063
3041
  return t.trimStart();
@@ -3065,9 +3043,9 @@ var ar = Hi ? (
3065
3043
  ) : (
3066
3044
  // Ponyfill
3067
3045
  function(t) {
3068
- return t.replace(Pi, "");
3046
+ return t.replace(wi, "");
3069
3047
  }
3070
- ), Ui = Oi ? (
3048
+ ), Mi = Ai ? (
3071
3049
  // Native
3072
3050
  function(t) {
3073
3051
  return t.trimEnd();
@@ -3075,32 +3053,32 @@ var ar = Hi ? (
3075
3053
  ) : (
3076
3054
  // Ponyfill
3077
3055
  function(t) {
3078
- return t.replace(Ti, "");
3056
+ return t.replace(xi, "");
3079
3057
  }
3080
3058
  );
3081
- function Zr(e, t) {
3059
+ function Vr(e, t) {
3082
3060
  return new RegExp(e, t);
3083
3061
  }
3084
- var Nt;
3085
- if (Lt) {
3086
- var ur = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
- Nt = function(t, r) {
3062
+ var Mt;
3063
+ if (Ot) {
3064
+ var sr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3065
+ Mt = function(t, r) {
3088
3066
  var n;
3089
- ur.lastIndex = r;
3090
- var i = ur.exec(t);
3067
+ sr.lastIndex = r;
3068
+ var i = sr.exec(t);
3091
3069
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3092
3070
  };
3093
3071
  } else
3094
- Nt = function(t, r) {
3072
+ Mt = function(t, r) {
3095
3073
  for (var n = []; ; ) {
3096
- var i = Wr(t, r);
3097
- if (i === void 0 || qr(i) || Gi(i))
3074
+ var i = jr(t, r);
3075
+ if (i === void 0 || zr(i) || Fi(i))
3098
3076
  break;
3099
3077
  n.push(i), r += i >= 65536 ? 2 : 1;
3100
3078
  }
3101
- return Mt.apply(void 0, n);
3079
+ return Lt.apply(void 0, n);
3102
3080
  };
3103
- var Fi = (
3081
+ var Ni = (
3104
3082
  /** @class */
3105
3083
  function() {
3106
3084
  function e(t, r) {
@@ -3131,7 +3109,7 @@ var Fi = (
3131
3109
  if (n)
3132
3110
  break;
3133
3111
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3134
- } else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
3112
+ } else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
3135
3113
  var s = this.parseTag(t, r);
3136
3114
  if (s.err)
3137
3115
  return s;
@@ -3164,7 +3142,7 @@ var Fi = (
3164
3142
  return o;
3165
3143
  var s = o.val, a = this.clonePosition();
3166
3144
  if (this.bumpIf("</")) {
3167
- if (this.isEOF() || !Rt(this.char()))
3145
+ if (this.isEOF() || !Nt(this.char()))
3168
3146
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3169
3147
  var c = this.clonePosition(), l = this.parseTagName();
3170
3148
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3182,7 +3160,7 @@ var Fi = (
3182
3160
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3183
3161
  }, e.prototype.parseTagName = function() {
3184
3162
  var t = this.offset();
3185
- for (this.bump(); !this.isEOF() && ki(this.char()); )
3163
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
3186
3164
  this.bump();
3187
3165
  return this.message.slice(t, this.offset());
3188
3166
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3211,7 +3189,7 @@ var Fi = (
3211
3189
  };
3212
3190
  }, e.prototype.tryParseLeftAngleBracket = function() {
3213
3191
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3214
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3192
+ !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3215
3193
  }, e.prototype.tryParseQuote = function(t) {
3216
3194
  if (this.isEOF() || this.char() !== 39)
3217
3195
  return null;
@@ -3245,12 +3223,12 @@ var Fi = (
3245
3223
  r.push(n);
3246
3224
  this.bump();
3247
3225
  }
3248
- return Mt.apply(void 0, r);
3226
+ return Lt.apply(void 0, r);
3249
3227
  }, e.prototype.tryParseUnquoted = function(t, r) {
3250
3228
  if (this.isEOF())
3251
3229
  return null;
3252
3230
  var n = this.char();
3253
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
3231
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
3254
3232
  }, e.prototype.parseArgument = function(t, r) {
3255
3233
  var n = this.clonePosition();
3256
3234
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3279,7 +3257,7 @@ var Fi = (
3279
3257
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3280
3258
  }
3281
3259
  }, e.prototype.parseIdentifierIfPossible = function() {
3282
- var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
3260
+ var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
3283
3261
  this.bumpTo(i);
3284
3262
  var o = this.clonePosition(), s = E(t, o);
3285
3263
  return { value: n, location: s };
@@ -3298,7 +3276,7 @@ var Fi = (
3298
3276
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3299
3277
  if (f.err)
3300
3278
  return f;
3301
- var d = Ui(f.val);
3279
+ var d = Mi(f.val);
3302
3280
  if (d.length === 0)
3303
3281
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3304
3282
  var b = E(u, this.clonePosition());
@@ -3308,8 +3286,8 @@ var Fi = (
3308
3286
  if (y.err)
3309
3287
  return y;
3310
3288
  var g = E(i, this.clonePosition());
3311
- if (l && ar(l?.style, "::", 0)) {
3312
- var S = Ri(l.style.slice(2));
3289
+ if (l && ir(l?.style, "::", 0)) {
3290
+ var S = Li(l.style.slice(2));
3313
3291
  if (a === "number") {
3314
3292
  var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3315
3293
  return f.err ? f : {
@@ -3320,12 +3298,12 @@ var Fi = (
3320
3298
  if (S.length === 0)
3321
3299
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3322
3300
  var C = S;
3323
- this.locale && (C = xi(S, this.locale));
3301
+ this.locale && (C = _i(S, this.locale));
3324
3302
  var d = {
3325
3303
  type: Ce.dateTime,
3326
3304
  pattern: C,
3327
3305
  location: l.styleLocation,
3328
- parsedOptions: this.shouldParseSkeletons ? gi(C) : {}
3306
+ parsedOptions: this.shouldParseSkeletons ? di(C) : {}
3329
3307
  }, z = a === "date" ? T.date : T.time;
3330
3308
  return {
3331
3309
  val: { type: z, value: n, location: g, style: d },
@@ -3371,7 +3349,7 @@ var Fi = (
3371
3349
  val: {
3372
3350
  type: T.select,
3373
3351
  value: n,
3374
- options: lr(re.val),
3352
+ options: or(re.val),
3375
3353
  location: H
3376
3354
  },
3377
3355
  err: null
@@ -3379,7 +3357,7 @@ var Fi = (
3379
3357
  val: {
3380
3358
  type: T.plural,
3381
3359
  value: n,
3382
- options: lr(re.val),
3360
+ options: or(re.val),
3383
3361
  offset: A,
3384
3362
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3385
3363
  location: H
@@ -3430,7 +3408,7 @@ var Fi = (
3430
3408
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3431
3409
  var n = [];
3432
3410
  try {
3433
- n = vi(t);
3411
+ n = pi(t);
3434
3412
  } catch {
3435
3413
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3436
3414
  }
@@ -3439,7 +3417,7 @@ var Fi = (
3439
3417
  type: Ce.number,
3440
3418
  tokens: n,
3441
3419
  location: r,
3442
- parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3420
+ parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3443
3421
  },
3444
3422
  err: null
3445
3423
  };
@@ -3487,7 +3465,7 @@ var Fi = (
3487
3465
  break;
3488
3466
  }
3489
3467
  var c = E(i, this.clonePosition());
3490
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3468
+ return o ? (s *= n, Ci(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3491
3469
  }, e.prototype.offset = function() {
3492
3470
  return this.position.offset;
3493
3471
  }, e.prototype.isEOF = function() {
@@ -3502,7 +3480,7 @@ var Fi = (
3502
3480
  var t = this.position.offset;
3503
3481
  if (t >= this.message.length)
3504
3482
  throw Error("out of bound");
3505
- var r = Wr(this.message, t);
3483
+ var r = jr(this.message, t);
3506
3484
  if (r === void 0)
3507
3485
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3508
3486
  return r;
@@ -3521,7 +3499,7 @@ var Fi = (
3521
3499
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3522
3500
  }
3523
3501
  }, e.prototype.bumpIf = function(t) {
3524
- if (ar(this.message, t, this.offset())) {
3502
+ if (ir(this.message, t, this.offset())) {
3525
3503
  for (var r = 0; r < t.length; r++)
3526
3504
  this.bump();
3527
3505
  return !0;
@@ -3543,7 +3521,7 @@ var Fi = (
3543
3521
  break;
3544
3522
  }
3545
3523
  }, e.prototype.bumpSpace = function() {
3546
- for (; !this.isEOF() && qr(this.char()); )
3524
+ for (; !this.isEOF() && zr(this.char()); )
3547
3525
  this.bump();
3548
3526
  }, e.prototype.peek = function() {
3549
3527
  if (this.isEOF())
@@ -3553,38 +3531,38 @@ var Fi = (
3553
3531
  }, e;
3554
3532
  }()
3555
3533
  );
3556
- function Rt(e) {
3534
+ function Nt(e) {
3557
3535
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3558
3536
  }
3559
- function Di(e) {
3560
- return Rt(e) || e === 47;
3537
+ function Ri(e) {
3538
+ return Nt(e) || e === 47;
3561
3539
  }
3562
- function ki(e) {
3540
+ function Ui(e) {
3563
3541
  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;
3564
3542
  }
3565
- function qr(e) {
3543
+ function zr(e) {
3566
3544
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3567
3545
  }
3568
- function Gi(e) {
3546
+ function Fi(e) {
3569
3547
  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;
3570
3548
  }
3571
- function Ut(e) {
3549
+ function Rt(e) {
3572
3550
  e.forEach(function(t) {
3573
- if (delete t.location, Dr(t) || kr(t))
3551
+ if (delete t.location, Nr(t) || Rr(t))
3574
3552
  for (var r in t.options)
3575
- delete t.options[r].location, Ut(t.options[r].value);
3553
+ delete t.options[r].location, Rt(t.options[r].value);
3576
3554
  else
3577
- Rr(t) && $r(t.style) || (Ur(t) || Fr(t)) && Ot(t.style) ? delete t.style.location : Gr(t) && Ut(t.children);
3555
+ Or(t) && Fr(t.style) || (Lr(t) || Mr(t)) && Ct(t.style) ? delete t.style.location : Ur(t) && Rt(t.children);
3578
3556
  });
3579
3557
  }
3580
- function $i(e, t) {
3558
+ function Di(e, t) {
3581
3559
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3582
- var r = new Fi(e, t).parse();
3560
+ var r = new Ni(e, t).parse();
3583
3561
  if (r.err) {
3584
3562
  var n = SyntaxError(_[r.err.kind]);
3585
3563
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3586
3564
  }
3587
- return t?.captureLocation || Ut(r.val), r.val;
3565
+ return t?.captureLocation || Rt(r.val), r.val;
3588
3566
  }
3589
3567
  var Oe;
3590
3568
  (function(e) {
@@ -3602,7 +3580,7 @@ var mt = (
3602
3580
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3603
3581
  }, t;
3604
3582
  }(Error)
3605
- ), cr = (
3583
+ ), ar = (
3606
3584
  /** @class */
3607
3585
  function(e) {
3608
3586
  ae(t, e);
@@ -3611,7 +3589,7 @@ var mt = (
3611
3589
  }
3612
3590
  return t;
3613
3591
  }(mt)
3614
- ), ji = (
3592
+ ), ki = (
3615
3593
  /** @class */
3616
3594
  function(e) {
3617
3595
  ae(t, e);
@@ -3620,7 +3598,7 @@ var mt = (
3620
3598
  }
3621
3599
  return t;
3622
3600
  }(mt)
3623
- ), Vi = (
3601
+ ), Gi = (
3624
3602
  /** @class */
3625
3603
  function(e) {
3626
3604
  ae(t, e);
@@ -3633,17 +3611,17 @@ var mt = (
3633
3611
  (function(e) {
3634
3612
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3635
3613
  })(V || (V = {}));
3636
- function zi(e) {
3614
+ function $i(e) {
3637
3615
  return e.length < 2 ? e : e.reduce(function(t, r) {
3638
3616
  var n = t[t.length - 1];
3639
3617
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3640
3618
  }, []);
3641
3619
  }
3642
- function Xi(e) {
3620
+ function ji(e) {
3643
3621
  return typeof e == "function";
3644
3622
  }
3645
3623
  function at(e, t, r, n, i, o, s) {
3646
- if (e.length === 1 && nr(e[0]))
3624
+ if (e.length === 1 && er(e[0]))
3647
3625
  return [
3648
3626
  {
3649
3627
  type: V.literal,
@@ -3652,14 +3630,14 @@ function at(e, t, r, n, i, o, s) {
3652
3630
  ];
3653
3631
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3654
3632
  var u = l[c];
3655
- if (nr(u)) {
3633
+ if (er(u)) {
3656
3634
  a.push({
3657
3635
  type: V.literal,
3658
3636
  value: u.value
3659
3637
  });
3660
3638
  continue;
3661
3639
  }
3662
- if (mi(u)) {
3640
+ if (hi(u)) {
3663
3641
  typeof o == "number" && a.push({
3664
3642
  type: V.literal,
3665
3643
  value: r.getNumberFormat(t).format(o)
@@ -3668,43 +3646,43 @@ function at(e, t, r, n, i, o, s) {
3668
3646
  }
3669
3647
  var f = u.value;
3670
3648
  if (!(i && f in i))
3671
- throw new Vi(f, s);
3649
+ throw new Gi(f, s);
3672
3650
  var d = i[f];
3673
- if (di(u)) {
3651
+ if (ci(u)) {
3674
3652
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3675
3653
  type: typeof d == "string" ? V.literal : V.object,
3676
3654
  value: d
3677
3655
  });
3678
3656
  continue;
3679
3657
  }
3680
- if (Ur(u)) {
3681
- var b = typeof u.style == "string" ? n.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
3658
+ if (Lr(u)) {
3659
+ var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3682
3660
  a.push({
3683
3661
  type: V.literal,
3684
3662
  value: r.getDateTimeFormat(t, b).format(d)
3685
3663
  });
3686
3664
  continue;
3687
3665
  }
3688
- if (Fr(u)) {
3689
- var b = typeof u.style == "string" ? n.time[u.style] : Ot(u.style) ? u.style.parsedOptions : n.time.medium;
3666
+ if (Mr(u)) {
3667
+ var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3690
3668
  a.push({
3691
3669
  type: V.literal,
3692
3670
  value: r.getDateTimeFormat(t, b).format(d)
3693
3671
  });
3694
3672
  continue;
3695
3673
  }
3696
- if (Rr(u)) {
3697
- var b = typeof u.style == "string" ? n.number[u.style] : $r(u.style) ? u.style.parsedOptions : void 0;
3674
+ if (Or(u)) {
3675
+ var b = typeof u.style == "string" ? n.number[u.style] : Fr(u.style) ? u.style.parsedOptions : void 0;
3698
3676
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3699
3677
  type: V.literal,
3700
3678
  value: r.getNumberFormat(t, b).format(d)
3701
3679
  });
3702
3680
  continue;
3703
3681
  }
3704
- if (Gr(u)) {
3682
+ if (Ur(u)) {
3705
3683
  var y = u.children, g = u.value, S = i[g];
3706
- if (!Xi(S))
3707
- throw new ji(g, "function", s);
3684
+ if (!ji(S))
3685
+ throw new ki(g, "function", s);
3708
3686
  var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3709
3687
  return A.value;
3710
3688
  }));
@@ -3715,14 +3693,14 @@ function at(e, t, r, n, i, o, s) {
3715
3693
  };
3716
3694
  }));
3717
3695
  }
3718
- if (Dr(u)) {
3696
+ if (Nr(u)) {
3719
3697
  var R = u.options[d] || u.options.other;
3720
3698
  if (!R)
3721
- throw new cr(u.value, d, Object.keys(u.options), s);
3699
+ throw new ar(u.value, d, Object.keys(u.options), s);
3722
3700
  a.push.apply(a, at(R.value, t, r, n, i));
3723
3701
  continue;
3724
3702
  }
3725
- if (kr(u)) {
3703
+ if (Rr(u)) {
3726
3704
  var R = u.options["=".concat(d)];
3727
3705
  if (!R) {
3728
3706
  if (!Intl.PluralRules)
@@ -3733,24 +3711,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3733
3711
  R = u.options[U] || u.options.other;
3734
3712
  }
3735
3713
  if (!R)
3736
- throw new cr(u.value, d, Object.keys(u.options), s);
3714
+ throw new ar(u.value, d, Object.keys(u.options), s);
3737
3715
  a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
3738
3716
  continue;
3739
3717
  }
3740
3718
  }
3741
- return zi(a);
3719
+ return $i(a);
3742
3720
  }
3743
- function Wi(e, t) {
3721
+ function Vi(e, t) {
3744
3722
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3745
3723
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3746
3724
  }, {})) : e;
3747
3725
  }
3748
- function Zi(e, t) {
3726
+ function zi(e, t) {
3749
3727
  return t ? Object.keys(e).reduce(function(r, n) {
3750
- return r[n] = Wi(e[n], t[n]), r;
3728
+ return r[n] = Vi(e[n], t[n]), r;
3751
3729
  }, w({}, e)) : e;
3752
3730
  }
3753
- function xt(e) {
3731
+ function wt(e) {
3754
3732
  return {
3755
3733
  create: function() {
3756
3734
  return {
@@ -3764,39 +3742,39 @@ function xt(e) {
3764
3742
  }
3765
3743
  };
3766
3744
  }
3767
- function qi(e) {
3745
+ function Xi(e) {
3768
3746
  return e === void 0 && (e = {
3769
3747
  number: {},
3770
3748
  dateTime: {},
3771
3749
  pluralRules: {}
3772
3750
  }), {
3773
- getNumberFormat: _t(function() {
3751
+ getNumberFormat: yt(function() {
3774
3752
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3753
  r[n] = arguments[n];
3776
3754
  return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3777
3755
  }, {
3778
- cache: xt(e.number),
3779
- strategy: Et.variadic
3756
+ cache: wt(e.number),
3757
+ strategy: _t.variadic
3780
3758
  }),
3781
- getDateTimeFormat: _t(function() {
3759
+ getDateTimeFormat: yt(function() {
3782
3760
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3761
  r[n] = arguments[n];
3784
3762
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3785
3763
  }, {
3786
- cache: xt(e.dateTime),
3787
- strategy: Et.variadic
3764
+ cache: wt(e.dateTime),
3765
+ strategy: _t.variadic
3788
3766
  }),
3789
- getPluralRules: _t(function() {
3767
+ getPluralRules: yt(function() {
3790
3768
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3769
  r[n] = arguments[n];
3792
3770
  return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3793
3771
  }, {
3794
- cache: xt(e.pluralRules),
3795
- strategy: Et.variadic
3772
+ cache: wt(e.pluralRules),
3773
+ strategy: _t.variadic
3796
3774
  })
3797
3775
  };
3798
3776
  }
3799
- var Ji = (
3777
+ var Wi = (
3800
3778
  /** @class */
3801
3779
  function() {
3802
3780
  function e(t, r, n, i) {
@@ -3828,13 +3806,13 @@ var Ji = (
3828
3806
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3829
3807
  var s = i || {};
3830
3808
  s.formatters;
3831
- var a = An(s, ["formatters"]);
3809
+ var a = Pn(s, ["formatters"]);
3832
3810
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3833
3811
  } else
3834
3812
  this.ast = t;
3835
3813
  if (!Array.isArray(this.ast))
3836
3814
  throw new TypeError("A message must be provided as a String or AST.");
3837
- this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3815
+ this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3838
3816
  }
3839
3817
  return Object.defineProperty(e, "defaultLocale", {
3840
3818
  get: function() {
@@ -3847,7 +3825,7 @@ var Ji = (
3847
3825
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3848
3826
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3849
3827
  }
3850
- }, e.__parse = $i, e.formats = {
3828
+ }, e.__parse = Di, e.formats = {
3851
3829
  number: {
3852
3830
  integer: {
3853
3831
  maximumFractionDigits: 0
@@ -3908,7 +3886,7 @@ var Ji = (
3908
3886
  }, e;
3909
3887
  }()
3910
3888
  );
3911
- function Qi(e, t) {
3889
+ function Zi(e, t) {
3912
3890
  if (t == null)
3913
3891
  return;
3914
3892
  if (t in e)
@@ -3929,92 +3907,92 @@ function Qi(e, t) {
3929
3907
  n = void 0;
3930
3908
  return n;
3931
3909
  }
3932
- const ue = {}, Yi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Jr = (e, t) => {
3910
+ const ue = {}, qi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Xr = (e, t) => {
3933
3911
  if (t == null)
3934
3912
  return;
3935
3913
  if (t in ue && e in ue[t])
3936
3914
  return ue[t][e];
3937
3915
  const r = pt(t);
3938
3916
  for (let n = 0; n < r.length; n++) {
3939
- const i = r[n], o = eo(i, e);
3917
+ const i = r[n], o = Qi(i, e);
3940
3918
  if (o)
3941
- return Yi(e, t, o);
3919
+ return qi(e, t, o);
3942
3920
  }
3943
3921
  };
3944
- let jt;
3922
+ let kt;
3945
3923
  const Re = dt({});
3946
- function Ki(e) {
3947
- return jt[e] || null;
3924
+ function Ji(e) {
3925
+ return kt[e] || null;
3948
3926
  }
3949
- function Qr(e) {
3950
- return e in jt;
3927
+ function Wr(e) {
3928
+ return e in kt;
3951
3929
  }
3952
- function eo(e, t) {
3953
- if (!Qr(e))
3930
+ function Qi(e, t) {
3931
+ if (!Wr(e))
3954
3932
  return null;
3955
- const r = Ki(e);
3956
- return Qi(r, t);
3933
+ const r = Ji(e);
3934
+ return Zi(r, t);
3957
3935
  }
3958
- function to(e) {
3936
+ function Yi(e) {
3959
3937
  if (e == null)
3960
3938
  return;
3961
3939
  const t = pt(e);
3962
3940
  for (let r = 0; r < t.length; r++) {
3963
3941
  const n = t[r];
3964
- if (Qr(n))
3942
+ if (Wr(n))
3965
3943
  return n;
3966
3944
  }
3967
3945
  }
3968
- function Yr(e, ...t) {
3969
- delete ue[e], Re.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3946
+ function Zr(e, ...t) {
3947
+ delete ue[e], Re.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3970
3948
  }
3971
3949
  Ne(
3972
3950
  [Re],
3973
3951
  ([e]) => Object.keys(e)
3974
3952
  );
3975
- Re.subscribe((e) => jt = e);
3953
+ Re.subscribe((e) => kt = e);
3976
3954
  const lt = {};
3977
- function ro(e, t) {
3955
+ function Ki(e, t) {
3978
3956
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3979
3957
  }
3980
- function Kr(e) {
3958
+ function qr(e) {
3981
3959
  return lt[e];
3982
3960
  }
3983
- function no(e) {
3961
+ function eo(e) {
3984
3962
  return pt(e).map((t) => {
3985
- const r = Kr(t);
3963
+ const r = qr(t);
3986
3964
  return [t, r ? [...r] : []];
3987
3965
  }).filter(([, t]) => t.length > 0);
3988
3966
  }
3989
- function Ft(e) {
3967
+ function Ut(e) {
3990
3968
  return e == null ? !1 : pt(e).some(
3991
3969
  (t) => {
3992
3970
  var r;
3993
- return (r = Kr(t)) == null ? void 0 : r.size;
3971
+ return (r = qr(t)) == null ? void 0 : r.size;
3994
3972
  }
3995
3973
  );
3996
3974
  }
3997
- function io(e, t) {
3975
+ function to(e, t) {
3998
3976
  return Promise.all(
3999
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4000
- ).then((n) => Yr(e, ...n));
3977
+ t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
3978
+ ).then((n) => Zr(e, ...n));
4001
3979
  }
4002
3980
  const je = {};
4003
- function en(e) {
4004
- if (!Ft(e))
3981
+ function Jr(e) {
3982
+ if (!Ut(e))
4005
3983
  return e in je ? je[e] : Promise.resolve();
4006
- const t = no(e);
3984
+ const t = eo(e);
4007
3985
  return je[e] = Promise.all(
4008
3986
  t.map(
4009
- ([r, n]) => io(r, n)
3987
+ ([r, n]) => to(r, n)
4010
3988
  )
4011
3989
  ).then(() => {
4012
- if (Ft(e))
4013
- return en(e);
3990
+ if (Ut(e))
3991
+ return Jr(e);
4014
3992
  delete je[e];
4015
3993
  }), je[e];
4016
3994
  }
4017
- const oo = {
3995
+ const ro = {
4018
3996
  number: {
4019
3997
  scientific: { notation: "scientific" },
4020
3998
  engineering: { notation: "engineering" },
@@ -4043,57 +4021,57 @@ const oo = {
4043
4021
  timeZoneName: "short"
4044
4022
  }
4045
4023
  }
4046
- }, so = {
4024
+ }, no = {
4047
4025
  fallbackLocale: null,
4048
4026
  loadingDelay: 200,
4049
- formats: oo,
4027
+ formats: ro,
4050
4028
  warnOnMissingMessages: !0,
4051
4029
  handleMissingMessage: void 0,
4052
4030
  ignoreTag: !0
4053
- }, ao = so;
4031
+ }, io = no;
4054
4032
  function Le() {
4055
- return ao;
4033
+ return io;
4056
4034
  }
4057
- const St = dt(!1);
4058
- var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4035
+ const xt = dt(!1);
4036
+ var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4059
4037
  for (var r in t || (t = {}))
4060
- ho.call(t, r) && fr(e, r, t[r]);
4061
- if (hr)
4062
- for (var r of hr(t))
4063
- fo.call(t, r) && fr(e, r, t[r]);
4038
+ lo.call(t, r) && ur(e, r, t[r]);
4039
+ if (lr)
4040
+ for (var r of lr(t))
4041
+ uo.call(t, r) && ur(e, r, t[r]);
4064
4042
  return e;
4065
- }, po = (e, t) => uo(e, co(t));
4066
- let Dt;
4043
+ }, ho = (e, t) => so(e, ao(t));
4044
+ let Ft;
4067
4045
  const ct = dt(null);
4068
- function dr(e) {
4046
+ function cr(e) {
4069
4047
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4070
4048
  }
4071
4049
  function pt(e, t = Le().fallbackLocale) {
4072
- const r = dr(e);
4073
- return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
4050
+ const r = cr(e);
4051
+ return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4074
4052
  }
4075
4053
  function ve() {
4076
- return Dt ?? void 0;
4054
+ return Ft ?? void 0;
4077
4055
  }
4078
4056
  ct.subscribe((e) => {
4079
- Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4057
+ Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4080
4058
  });
4081
- const go = (e) => {
4082
- if (e && to(e) && Ft(e)) {
4059
+ const fo = (e) => {
4060
+ if (e && Yi(e) && Ut(e)) {
4083
4061
  const { loadingDelay: t } = Le();
4084
4062
  let r;
4085
4063
  return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
4086
- () => St.set(!0),
4064
+ () => xt.set(!0),
4087
4065
  t
4088
- ) : St.set(!0), en(e).then(() => {
4066
+ ) : xt.set(!0), Jr(e).then(() => {
4089
4067
  ct.set(e);
4090
4068
  }).finally(() => {
4091
- clearTimeout(r), St.set(!1);
4069
+ clearTimeout(r), xt.set(!1);
4092
4070
  });
4093
4071
  }
4094
4072
  return ct.set(e);
4095
- }, ce = po(mo({}, ct), {
4096
- set: go
4073
+ }, ce = ho(co({}, ct), {
4074
+ set: fo
4097
4075
  }), gt = (e) => {
4098
4076
  const t = /* @__PURE__ */ Object.create(null);
4099
4077
  return (n) => {
@@ -4101,20 +4079,20 @@ const go = (e) => {
4101
4079
  return i in t ? t[i] : t[i] = e(n);
4102
4080
  };
4103
4081
  };
4104
- var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4082
+ var mo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4105
4083
  for (var r in t || (t = {}))
4106
- tn.call(t, r) && mr(e, r, t[r]);
4084
+ Qr.call(t, r) && hr(e, r, t[r]);
4107
4085
  if (ht)
4108
4086
  for (var r of ht(t))
4109
- rn.call(t, r) && mr(e, r, t[r]);
4087
+ Yr.call(t, r) && hr(e, r, t[r]);
4110
4088
  return e;
4111
4089
  }, Ue = (e, t) => {
4112
4090
  var r = {};
4113
4091
  for (var n in e)
4114
- tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4092
+ Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4115
4093
  if (e != null && ht)
4116
4094
  for (var n of ht(e))
4117
- t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
4095
+ t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
4118
4096
  return r;
4119
4097
  };
4120
4098
  const We = (e, t) => {
@@ -4122,21 +4100,21 @@ const We = (e, t) => {
4122
4100
  if (e in r && t in r[e])
4123
4101
  return r[e][t];
4124
4102
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4125
- }, vo = gt(
4103
+ }, po = gt(
4126
4104
  (e) => {
4127
4105
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4128
4106
  if (r == null)
4129
4107
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4130
4108
  return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4131
4109
  }
4132
- ), yo = gt(
4110
+ ), go = gt(
4133
4111
  (e) => {
4134
4112
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4135
4113
  if (r == null)
4136
4114
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4137
4115
  return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4138
4116
  }
4139
- ), _o = gt(
4117
+ ), bo = gt(
4140
4118
  (e) => {
4141
4119
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4142
4120
  if (r == null)
@@ -4145,33 +4123,33 @@ const We = (e, t) => {
4145
4123
  );
4146
4124
  return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4147
4125
  }
4148
- ), Eo = (e = {}) => {
4126
+ ), vo = (e = {}) => {
4149
4127
  var t = e, {
4150
4128
  locale: r = ve()
4151
4129
  } = t, n = Ue(t, [
4152
4130
  "locale"
4153
4131
  ]);
4154
- return vo(Vt({ locale: r }, n));
4155
- }, wo = (e = {}) => {
4132
+ return po(Gt({ locale: r }, n));
4133
+ }, yo = (e = {}) => {
4156
4134
  var t = e, {
4157
4135
  locale: r = ve()
4158
4136
  } = t, n = Ue(t, [
4159
4137
  "locale"
4160
4138
  ]);
4161
- return yo(Vt({ locale: r }, n));
4162
- }, xo = (e = {}) => {
4139
+ return go(Gt({ locale: r }, n));
4140
+ }, _o = (e = {}) => {
4163
4141
  var t = e, {
4164
4142
  locale: r = ve()
4165
4143
  } = t, n = Ue(t, [
4166
4144
  "locale"
4167
4145
  ]);
4168
- return _o(Vt({ locale: r }, n));
4169
- }, So = gt(
4146
+ return bo(Gt({ locale: r }, n));
4147
+ }, Eo = gt(
4170
4148
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4171
- (e, t = ve()) => new Ji(e, t, Le().formats, {
4149
+ (e, t = ve()) => new Wi(e, t, Le().formats, {
4172
4150
  ignoreTag: Le().ignoreTag
4173
4151
  })
4174
- ), Po = (e, t = {}) => {
4152
+ ), wo = (e, t = {}) => {
4175
4153
  var r, n, i, o;
4176
4154
  let s = t;
4177
4155
  typeof e == "object" && (s = e, e = s.id);
@@ -4184,7 +4162,7 @@ const We = (e, t) => {
4184
4162
  throw new Error(
4185
4163
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4186
4164
  );
4187
- let u = Jr(e, c);
4165
+ let u = Xr(e, c);
4188
4166
  if (!u)
4189
4167
  u = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4190
4168
  else if (typeof u != "string")
@@ -4195,7 +4173,7 @@ const We = (e, t) => {
4195
4173
  return u;
4196
4174
  let f = u;
4197
4175
  try {
4198
- f = So(u, c).format(a);
4176
+ f = Eo(u, c).format(a);
4199
4177
  } catch (d) {
4200
4178
  d instanceof Error && console.warn(
4201
4179
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4203,20 +4181,20 @@ const We = (e, t) => {
4203
4181
  );
4204
4182
  }
4205
4183
  return f;
4206
- }, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ve()) => Jr(e, t), Io = Ne([ce, Re], () => Po);
4207
- Ne([ce], () => To);
4208
- Ne([ce], () => Ho);
4209
- Ne([ce], () => Bo);
4210
- Ne([ce, Re], () => Ao);
4211
- window.emWidgets = { topic: jn };
4212
- const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4213
- function Oo(e, t) {
4184
+ }, xo = (e, t) => _o(t).format(e), So = (e, t) => yo(t).format(e), Po = (e, t) => vo(t).format(e), To = (e, t = ve()) => Xr(e, t), Ho = Ne([ce, Re], () => wo);
4185
+ Ne([ce], () => xo);
4186
+ Ne([ce], () => So);
4187
+ Ne([ce], () => Po);
4188
+ Ne([ce, Re], () => To);
4189
+ window.emWidgets = { topic: Dn };
4190
+ const Bo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4191
+ function Ao(e, t) {
4214
4192
  if (e) {
4215
4193
  const r = document.createElement("style");
4216
4194
  r.innerHTML = t, e.appendChild(r);
4217
4195
  }
4218
4196
  }
4219
- function Lo(e, t) {
4197
+ function Io(e, t) {
4220
4198
  const r = new URL(t);
4221
4199
  fetch(r.href).then((n) => n.text()).then((n) => {
4222
4200
  const i = document.createElement("style");
@@ -4225,7 +4203,7 @@ function Lo(e, t) {
4225
4203
  console.error("There was an error while trying to load client styling from URL", n);
4226
4204
  });
4227
4205
  }
4228
- function Mo(e, t, r) {
4206
+ function Co(e, t, r) {
4229
4207
  if (window.emMessageBus) {
4230
4208
  const n = document.createElement("style");
4231
4209
  window.emMessageBus.subscribe(t, (i) => {
@@ -4245,22 +4223,22 @@ if (typeof window < "u") {
4245
4223
  }
4246
4224
  };
4247
4225
  };
4248
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BH31XK9j.js").then(({ default: t }) => {
4226
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CNxcHrMs.js").then(({ default: t }) => {
4249
4227
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4250
4228
  });
4251
4229
  }
4252
- function No({ withLocale: e, translations: t }) {
4230
+ function Oo({ withLocale: e, translations: t }) {
4253
4231
  ce.subscribe((r) => {
4254
4232
  r == null && (Re.set(t), ce.set(e));
4255
4233
  });
4256
4234
  }
4257
- function pr(e, t) {
4258
- Yr(e, t);
4235
+ function fr(e, t) {
4236
+ Zr(e, t);
4259
4237
  }
4260
- function Ro(e) {
4238
+ function Lo(e) {
4261
4239
  ce.set(e);
4262
4240
  }
4263
- const gr = {
4241
+ const dr = {
4264
4242
  en: {
4265
4243
  loginTitle: "Welcome",
4266
4244
  loginSubtitle: "Don't have an account yet?",
@@ -4405,14 +4383,14 @@ const gr = {
4405
4383
  successMessage: "Login successful"
4406
4384
  }
4407
4385
  };
4408
- function Uo(e) {
4409
- ln(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer 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}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.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))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{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}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4386
+ function Mo(e) {
4387
+ nn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer 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}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.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))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{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}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4410
4388
  }
4411
- function br(e) {
4389
+ function mr(e) {
4412
4390
  let t, r;
4413
4391
  return {
4414
4392
  c() {
4415
- t = x("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4393
+ t = x("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4416
4394
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4417
4395
  },
4418
4396
  m(n, i) {
@@ -4420,7 +4398,7 @@ function br(e) {
4420
4398
  },
4421
4399
  p(n, i) {
4422
4400
  i[0] & /*captchakey*/
4423
- 2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4401
+ 2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4424
4402
  n[1]) && h(t, "src", r);
4425
4403
  },
4426
4404
  d(n) {
@@ -4428,12 +4406,12 @@ function br(e) {
4428
4406
  }
4429
4407
  };
4430
4408
  }
4431
- function Fo(e) {
4409
+ function No(e) {
4432
4410
  let t, r, n;
4433
4411
  function i(a, c) {
4434
4412
  return (
4435
4413
  /*startSmsValidation*/
4436
- a[21] ? Go : ko
4414
+ a[21] ? Fo : Uo
4437
4415
  );
4438
4416
  }
4439
4417
  let o = i(e), s = o(e);
@@ -4455,7 +4433,7 @@ function Fo(e) {
4455
4433
  }
4456
4434
  };
4457
4435
  }
4458
- function Do(e) {
4436
+ function Ro(e) {
4459
4437
  let t;
4460
4438
  return {
4461
4439
  c() {
@@ -4470,7 +4448,7 @@ function Do(e) {
4470
4448
  }
4471
4449
  };
4472
4450
  }
4473
- function ko(e) {
4451
+ function Uo(e) {
4474
4452
  let t, r, n = (
4475
4453
  /*$_*/
4476
4454
  e[22]("loginTitle") + ""
@@ -4494,25 +4472,25 @@ function ko(e) {
4494
4472
  e[22]("loginForgotPassword") + ""
4495
4473
  ), ke, Ge, Qe, F = (
4496
4474
  /*invalidName*/
4497
- e[14] && vr(e)
4475
+ e[14] && pr(e)
4498
4476
  );
4499
4477
  function Ye(v, P) {
4500
4478
  return (
4501
4479
  /*isPasswordVisible*/
4502
- v[19] ? jo : $o
4480
+ v[19] ? ko : Do
4503
4481
  );
4504
4482
  }
4505
4483
  let Se = Ye(e), Y = Se(e), D = (
4506
4484
  /*invalidPassword*/
4507
4485
  e[15] && /*simplepasswordvalidation*/
4508
- e[2] !== "true" && yr(e)
4486
+ e[2] !== "true" && gr(e)
4509
4487
  ), k = (
4510
4488
  /*invalidPassword*/
4511
4489
  e[15] && /*simplepasswordvalidation*/
4512
- e[2] === "true" && _r(e)
4490
+ e[2] === "true" && br(e)
4513
4491
  ), G = (
4514
4492
  /*errorMessage*/
4515
- e[16] && Er(e)
4493
+ e[16] && vr(e)
4516
4494
  );
4517
4495
  return {
4518
4496
  c() {
@@ -4595,7 +4573,7 @@ function ko(e) {
4595
4573
  /*userValue*/
4596
4574
  v[12]
4597
4575
  ), /*invalidName*/
4598
- v[14] ? F ? F.p(v, P) : (F = vr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4576
+ v[14] ? F ? F.p(v, P) : (F = pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4599
4577
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4600
4578
  (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4601
4579
  4194304 && X !== (X = /*$_*/
@@ -4609,12 +4587,12 @@ function ko(e) {
4609
4587
  v[13]
4610
4588
  ), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4611
4589
  v[15] && /*simplepasswordvalidation*/
4612
- v[2] !== "true" ? D ? D.p(v, P) : (D = yr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4590
+ v[2] !== "true" ? D ? D.p(v, P) : (D = gr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4613
4591
  v[15] && /*simplepasswordvalidation*/
4614
- v[2] === "true" ? k ? k.p(v, P) : (k = _r(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4592
+ v[2] === "true" ? k ? k.p(v, P) : (k = br(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4615
4593
  32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4616
4594
  (v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
4617
- v[16] ? G ? G.p(v, P) : (G = Er(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
4595
+ v[16] ? G ? G.p(v, P) : (G = vr(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
4618
4596
  4194304 && pe !== (pe = /*$_*/
4619
4597
  v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
4620
4598
  1048576 && (Q.disabled = /*isFormDataInvalid*/
@@ -4627,7 +4605,7 @@ function ko(e) {
4627
4605
  }
4628
4606
  };
4629
4607
  }
4630
- function Go(e) {
4608
+ function Fo(e) {
4631
4609
  let t;
4632
4610
  return {
4633
4611
  c() {
@@ -4721,7 +4699,7 @@ function Go(e) {
4721
4699
  }
4722
4700
  };
4723
4701
  }
4724
- function vr(e) {
4702
+ function pr(e) {
4725
4703
  let t, r = (
4726
4704
  /*$_*/
4727
4705
  e[22]("loginUsernameError") + ""
@@ -4743,7 +4721,7 @@ function vr(e) {
4743
4721
  }
4744
4722
  };
4745
4723
  }
4746
- function $o(e) {
4724
+ function Do(e) {
4747
4725
  let t, r, n, i, o, s, a, c, l;
4748
4726
  return {
4749
4727
  c() {
@@ -4763,7 +4741,7 @@ function $o(e) {
4763
4741
  }
4764
4742
  };
4765
4743
  }
4766
- function jo(e) {
4744
+ function ko(e) {
4767
4745
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4768
4746
  return {
4769
4747
  c() {
@@ -4783,7 +4761,7 @@ function jo(e) {
4783
4761
  }
4784
4762
  };
4785
4763
  }
4786
- function yr(e) {
4764
+ function gr(e) {
4787
4765
  let t, r = (
4788
4766
  /*$_*/
4789
4767
  e[22]("loginPasswordError") + ""
@@ -4805,7 +4783,7 @@ function yr(e) {
4805
4783
  }
4806
4784
  };
4807
4785
  }
4808
- function _r(e) {
4786
+ function br(e) {
4809
4787
  let t, r = (
4810
4788
  /*$_*/
4811
4789
  e[22]("loginSimplePasswordError") + ""
@@ -4827,7 +4805,7 @@ function _r(e) {
4827
4805
  }
4828
4806
  };
4829
4807
  }
4830
- function Er(e) {
4808
+ function vr(e) {
4831
4809
  let t, r;
4832
4810
  return {
4833
4811
  c() {
@@ -4852,21 +4830,21 @@ function Er(e) {
4852
4830
  }
4853
4831
  };
4854
4832
  }
4855
- function Vo(e) {
4833
+ function Go(e) {
4856
4834
  let t, r, n, i, o, s = (
4857
4835
  /*captchakey*/
4858
- e[1] && br(e)
4836
+ e[1] && mr(e)
4859
4837
  );
4860
4838
  function a(u, f) {
4861
4839
  return (
4862
4840
  /*isLoading*/
4863
- u[17] ? Do : Fo
4841
+ u[17] ? Ro : No
4864
4842
  );
4865
4843
  }
4866
4844
  let c = a(e), l = c(e);
4867
4845
  return {
4868
4846
  c() {
4869
- s && s.c(), t = hn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4847
+ s && s.c(), t = an(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4870
4848
  n,
4871
4849
  "data-sitekey",
4872
4850
  /*captchakey*/
@@ -4878,7 +4856,7 @@ function Vo(e) {
4878
4856
  },
4879
4857
  p(u, f) {
4880
4858
  /*captchakey*/
4881
- u[1] ? s ? s.p(u, f) : (s = br(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4859
+ u[1] ? s ? s.p(u, f) : (s = mr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4882
4860
  2 && h(
4883
4861
  n,
4884
4862
  "data-sitekey",
@@ -4893,27 +4871,27 @@ function Vo(e) {
4893
4871
  }
4894
4872
  };
4895
4873
  }
4896
- let zo = "Please use this code {0} to activate your account";
4897
- function Xo(e, t, r) {
4874
+ let $o = "Please use this code {0} to activate your account";
4875
+ function jo(e, t, r) {
4898
4876
  let n;
4899
- an(e, Io, (p) => r(22, n = p));
4877
+ rn(e, Ho, (p) => r(22, n = p));
4900
4878
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, ie = !1, he = "", J = !1, le, B = !1, ne = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Fe, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4901
4879
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4902
4880
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
4903
4881
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4904
4882
  };
4905
- No({ withLocale: "en", translations: {} });
4883
+ Oo({ withLocale: "en", translations: {} });
4906
4884
  const O = () => {
4907
4885
  fetch(d).then((q) => q.json()).then((q) => {
4908
4886
  Object.keys(q).forEach((ee) => {
4909
- pr(ee, q[ee]);
4887
+ fr(ee, q[ee]);
4910
4888
  });
4911
4889
  }).catch((q) => {
4912
4890
  console.log(q);
4913
4891
  });
4914
4892
  };
4915
- Object.keys(gr).forEach((p) => {
4916
- pr(p, gr[p]);
4893
+ Object.keys(dr).forEach((p) => {
4894
+ fr(p, dr[p]);
4917
4895
  });
4918
4896
  const ye = () => new Promise((p, q) => {
4919
4897
  grecaptcha.ready(() => {
@@ -4966,12 +4944,12 @@ function Xo(e, t, r) {
4966
4944
  let Ke = {
4967
4945
  "Content-Type": "application/json",
4968
4946
  "g-recaptcha-response": ee
4969
- }, et = { username: p, password: q }, on = {
4947
+ }, et = { username: p, password: q }, en = {
4970
4948
  method: "POST",
4971
4949
  headers: Ke,
4972
4950
  body: JSON.stringify(et)
4973
4951
  };
4974
- fetch(`${i}/v1/player/login/player`, on).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4952
+ fetch(`${i}/v1/player/login/player`, en).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4975
4953
  {
4976
4954
  type: "WidgetNotification",
4977
4955
  data: {
@@ -5017,11 +4995,11 @@ function Xo(e, t, r) {
5017
4995
  window.location.href
5018
4996
  );
5019
4997
  } catch {
5020
- let zt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5021
- r(16, he = zt), r(17, J = !1), window.postMessage(
4998
+ let $t = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
4999
+ r(16, he = $t), r(17, J = !1), window.postMessage(
5022
5000
  {
5023
5001
  type: "WidgetNotification",
5024
- data: { type: "error", message: zt }
5002
+ data: { type: "error", message: $t }
5025
5003
  },
5026
5004
  window.location.href
5027
5005
  );
@@ -5038,7 +5016,7 @@ function Xo(e, t, r) {
5038
5016
  },
5039
5017
  body: JSON.stringify({
5040
5018
  userId: q,
5041
- messageTemplate: zo,
5019
+ messageTemplate: $o,
5042
5020
  destination: p
5043
5021
  })
5044
5022
  }), Ke = await ee.json();
@@ -5052,9 +5030,9 @@ function Xo(e, t, r) {
5052
5030
  S = !0, console.error(ee);
5053
5031
  }
5054
5032
  }, F = () => {
5055
- Ro(s);
5033
+ Lo(s);
5056
5034
  };
5057
- pn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Co(R)), () => {
5035
+ hn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Bo(R)), () => {
5058
5036
  window.removeEventListener("message", be);
5059
5037
  }));
5060
5038
  const Ye = () => De();
@@ -5070,7 +5048,7 @@ function Xo(e, t, r) {
5070
5048
  });
5071
5049
  }
5072
5050
  const k = () => Ee(), G = () => _e(), v = (p) => Q(p), P = (p) => we(p);
5073
- function nn(p) {
5051
+ function Kr(p) {
5074
5052
  ut[p ? "unshift" : "push"](() => {
5075
5053
  X = p, r(7, X);
5076
5054
  });
@@ -5081,9 +5059,9 @@ function Xo(e, t, r) {
5081
5059
  e.$$.dirty[0] & /*endpoint, lang*/
5082
5060
  1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5083
5061
  4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5084
- 144 && u && X && Oo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5085
- 160 && f && X && Lo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5086
- 136 && l && X && Mo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5062
+ 144 && u && X && Ao(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5063
+ 160 && f && X && Io(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5064
+ 136 && l && X && Co(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5087
5065
  2 && d && O();
5088
5066
  }, [
5089
5067
  i,
@@ -5127,17 +5105,17 @@ function Xo(e, t, r) {
5127
5105
  G,
5128
5106
  v,
5129
5107
  P,
5130
- nn
5108
+ Kr
5131
5109
  ];
5132
5110
  }
5133
- class Wo extends Hn {
5111
+ class Vo extends xn {
5134
5112
  constructor(t) {
5135
- super(), Pn(
5113
+ super(), En(
5136
5114
  this,
5137
5115
  t,
5138
- Xo,
5139
- Vo,
5140
- xr,
5116
+ jo,
5117
+ Go,
5118
+ _r,
5141
5119
  {
5142
5120
  endpoint: 0,
5143
5121
  captchakey: 1,
@@ -5150,7 +5128,7 @@ class Wo extends Hn {
5150
5128
  translationurl: 32,
5151
5129
  savecredentials: 6
5152
5130
  },
5153
- Uo,
5131
+ Mo,
5154
5132
  [-1, -1]
5155
5133
  );
5156
5134
  }
@@ -5215,35 +5193,35 @@ class Wo extends Hn {
5215
5193
  this.$$set({ savecredentials: t }), K();
5216
5194
  }
5217
5195
  }
5218
- Tn(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5196
+ wn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5219
5197
  export {
5220
5198
  ce as $,
5221
- Wo as G,
5222
- Hn as S,
5199
+ Vo as G,
5200
+ xn as S,
5223
5201
  Re as a,
5224
- Yr as b,
5225
- Tn as c,
5226
- ln as d,
5227
- x as e,
5202
+ Zr as b,
5203
+ wn as c,
5204
+ nn as d,
5205
+ I as e,
5228
5206
  K as f,
5229
- j as g,
5230
- h,
5231
- Pn as i,
5232
- M as j,
5233
- m as k,
5234
- rt as l,
5207
+ te as g,
5208
+ rt as h,
5209
+ En as i,
5210
+ h as j,
5211
+ M as k,
5212
+ m as l,
5235
5213
  oe as m,
5236
- te as n,
5237
- Z as o,
5238
- I as p,
5239
- an as q,
5214
+ Z as n,
5215
+ x as o,
5216
+ j as p,
5217
+ rn as q,
5240
5218
  Me as r,
5241
- xr as s,
5219
+ _r as s,
5242
5220
  N as t,
5243
- pn as u,
5244
- Lo as v,
5245
- Mo as w,
5246
- ut as x,
5247
- Oo as y,
5248
- Io as z
5221
+ hn as u,
5222
+ ut as v,
5223
+ Ho as w,
5224
+ Ao as x,
5225
+ Io as y,
5226
+ Co as z
5249
5227
  };