@everymatrix/general-player-login-form 1.54.12 → 1.56.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 _r(e) {
3
+ function yr(e) {
4
4
  return e();
5
5
  }
6
6
  function jt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Oe(e) {
10
- e.forEach(_r);
9
+ function Me(e) {
10
+ e.forEach(yr);
11
11
  }
12
12
  function Dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Er(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
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 nn(e) {
22
+ function tn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function wr(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,24 +31,20 @@ function wr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function on(e, t, r) {
35
- e.$$.on_destroy.push(wr(t, r));
34
+ function rn(e, t, r) {
35
+ e.$$.on_destroy.push(Er(t, r));
36
36
  }
37
- const sn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
38
- // @ts-ignore Node typings have this
39
- global
40
- );
41
37
  function m(e, t) {
42
38
  e.appendChild(t);
43
39
  }
44
- function an(e, t, r) {
45
- const n = ln(e);
40
+ function nn(e, t, r) {
41
+ const n = on(e);
46
42
  if (!n.getElementById(t)) {
47
- const i = S("style");
48
- i.id = t, i.textContent = r, un(n, i);
43
+ const i = x("style");
44
+ i.id = t, i.textContent = r, sn(n, i);
49
45
  }
50
46
  }
51
- function ln(e) {
47
+ function on(e) {
52
48
  if (!e) return document;
53
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
54
50
  return t && /** @type {ShadowRoot} */
@@ -57,45 +53,45 @@ function ln(e) {
57
53
  t
58
54
  ) : e.ownerDocument;
59
55
  }
60
- function un(e, t) {
56
+ function sn(e, t) {
61
57
  return m(
62
58
  /** @type {Document} */
63
59
  e.head || e,
64
60
  t
65
61
  ), t.sheet;
66
62
  }
67
- function L(e, t, r) {
63
+ function M(e, t, r) {
68
64
  e.insertBefore(t, r || null);
69
65
  }
70
66
  function I(e) {
71
67
  e.parentNode && e.parentNode.removeChild(e);
72
68
  }
73
- function S(e) {
69
+ function x(e) {
74
70
  return document.createElement(e);
75
71
  }
76
- function O(e) {
72
+ function L(e) {
77
73
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
74
  }
79
75
  function N(e) {
80
76
  return document.createTextNode(e);
81
77
  }
82
- function z() {
78
+ function j() {
83
79
  return N(" ");
84
80
  }
85
- function cn() {
81
+ function an() {
86
82
  return N("");
87
83
  }
88
- function se(e, t, r, n) {
84
+ function oe(e, t, r, n) {
89
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
90
86
  }
91
87
  function h(e, t, r) {
92
88
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
89
  }
94
- function Y(e, t, r) {
90
+ function W(e, t, r) {
95
91
  const n = t.toLowerCase();
96
92
  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);
97
93
  }
98
- function hn(e) {
94
+ function ln(e) {
99
95
  return Array.from(e.childNodes);
100
96
  }
101
97
  function te(e, t) {
@@ -105,7 +101,7 @@ function te(e, t) {
105
101
  function rt(e, t) {
106
102
  e.value = t ?? "";
107
103
  }
108
- function fn(e) {
104
+ function un(e) {
109
105
  const t = {};
110
106
  return e.childNodes.forEach(
111
107
  /** @param {Element} node */
@@ -114,85 +110,85 @@ function fn(e) {
114
110
  }
115
111
  ), t;
116
112
  }
117
- let Xe;
118
- function ze(e) {
119
- Xe = e;
113
+ let ze;
114
+ function Ve(e) {
115
+ ze = e;
120
116
  }
121
- function dn() {
122
- if (!Xe) throw new Error("Function called outside component initialization");
123
- return Xe;
117
+ function cn() {
118
+ if (!ze) throw new Error("Function called outside component initialization");
119
+ return ze;
124
120
  }
125
- function mn(e) {
126
- dn().$$.on_mount.push(e);
121
+ function hn(e) {
122
+ cn().$$.on_mount.push(e);
127
123
  }
128
- const Pe = [], ut = [];
129
- let Te = [];
130
- const zt = [], pn = /* @__PURE__ */ Promise.resolve();
124
+ const He = [], ut = [];
125
+ let Be = [];
126
+ const zt = [], fn = /* @__PURE__ */ Promise.resolve();
131
127
  let St = !1;
132
- function gn() {
133
- St || (St = !0, pn.then(ee));
128
+ function dn() {
129
+ St || (St = !0, fn.then(K));
134
130
  }
135
131
  function Pt(e) {
136
- Te.push(e);
132
+ Be.push(e);
137
133
  }
138
134
  const bt = /* @__PURE__ */ new Set();
139
- let xe = 0;
140
- function ee() {
141
- if (xe !== 0)
135
+ let Pe = 0;
136
+ function K() {
137
+ if (Pe !== 0)
142
138
  return;
143
- const e = Xe;
139
+ const e = ze;
144
140
  do {
145
141
  try {
146
- for (; xe < Pe.length; ) {
147
- const t = Pe[xe];
148
- xe++, ze(t), bn(t.$$);
142
+ for (; Pe < He.length; ) {
143
+ const t = He[Pe];
144
+ Pe++, Ve(t), mn(t.$$);
149
145
  }
150
146
  } catch (t) {
151
- throw Pe.length = 0, xe = 0, t;
147
+ throw He.length = 0, Pe = 0, t;
152
148
  }
153
- for (ze(null), Pe.length = 0, xe = 0; ut.length; ) ut.pop()();
154
- for (let t = 0; t < Te.length; t += 1) {
155
- const r = Te[t];
149
+ for (Ve(null), He.length = 0, Pe = 0; ut.length; ) ut.pop()();
150
+ for (let t = 0; t < Be.length; t += 1) {
151
+ const r = Be[t];
156
152
  bt.has(r) || (bt.add(r), r());
157
153
  }
158
- Te.length = 0;
159
- } while (Pe.length);
154
+ Be.length = 0;
155
+ } while (He.length);
160
156
  for (; zt.length; )
161
157
  zt.pop()();
162
- St = !1, bt.clear(), ze(e);
158
+ St = !1, bt.clear(), Ve(e);
163
159
  }
164
- function bn(e) {
160
+ function mn(e) {
165
161
  if (e.fragment !== null) {
166
- e.update(), Oe(e.before_update);
162
+ e.update(), Me(e.before_update);
167
163
  const t = e.dirty;
168
164
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
169
165
  }
170
166
  }
171
- function vn(e) {
167
+ function pn(e) {
172
168
  const t = [], r = [];
173
- Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
169
+ Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
174
170
  }
175
- const yn = /* @__PURE__ */ new Set();
176
- function _n(e, t) {
177
- e && e.i && (yn.delete(e), e.i(t));
171
+ const gn = /* @__PURE__ */ new Set();
172
+ function bn(e, t) {
173
+ e && e.i && (gn.delete(e), e.i(t));
178
174
  }
179
- function En(e, t, r) {
175
+ function vn(e, t, r) {
180
176
  const { fragment: n, after_update: i } = e.$$;
181
177
  n && n.m(t, r), Pt(() => {
182
- const o = e.$$.on_mount.map(_r).filter(Dt);
183
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
178
+ const o = e.$$.on_mount.map(yr).filter(Dt);
179
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
184
180
  }), i.forEach(Pt);
185
181
  }
186
- function wn(e, t) {
182
+ function yn(e, t) {
187
183
  const r = e.$$;
188
- r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
+ 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 = []);
189
185
  }
190
- function xn(e, t) {
191
- e.$$.dirty[0] === -1 && (Pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
186
+ function _n(e, t) {
187
+ e.$$.dirty[0] === -1 && (He.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
192
188
  }
193
- function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
194
- const c = Xe;
195
- ze(e);
189
+ function En(e, t, r, n, i, o, s = null, a = [-1]) {
190
+ const c = ze;
191
+ Ve(e);
196
192
  const l = e.$$ = {
197
193
  fragment: null,
198
194
  ctx: [],
@@ -218,19 +214,19 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
218
214
  let u = !1;
219
215
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
220
216
  const y = b.length ? b[0] : d;
221
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && xn(e, f)), d;
222
- }) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
217
+ 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;
218
+ }) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
223
219
  if (t.hydrate) {
224
- const f = hn(t.target);
220
+ const f = ln(t.target);
225
221
  l.fragment && l.fragment.l(f), f.forEach(I);
226
222
  } else
227
223
  l.fragment && l.fragment.c();
228
- t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), ee();
224
+ t.intro && bn(e.$$.fragment), vn(e, t.target, t.anchor), K();
229
225
  }
230
- ze(c);
226
+ Ve(c);
231
227
  }
232
- let xr;
233
- typeof HTMLElement == "function" && (xr = class extends HTMLElement {
228
+ let wr;
229
+ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
234
230
  /** The Svelte component constructor */
235
231
  $$ctor;
236
232
  /** Slots */
@@ -272,14 +268,14 @@ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
272
268
  let o;
273
269
  return {
274
270
  c: function() {
275
- o = S("slot"), i !== "default" && h(o, "name", i);
271
+ o = x("slot"), i !== "default" && h(o, "name", i);
276
272
  },
277
273
  /**
278
274
  * @param {HTMLElement} target
279
275
  * @param {HTMLElement} [anchor]
280
276
  */
281
277
  m: function(c, l) {
282
- L(c, o, l);
278
+ M(c, o, l);
283
279
  },
284
280
  d: function(c) {
285
281
  c && I(o);
@@ -289,7 +285,7 @@ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
289
285
  };
290
286
  if (await Promise.resolve(), !this.$$cn || this.$$c)
291
287
  return;
292
- const t = {}, r = fn(this);
288
+ const t = {}, r = un(this);
293
289
  for (const i of this.$$s)
294
290
  i in r && (t[i] = [e(i)]);
295
291
  for (const i of this.attributes) {
@@ -376,8 +372,8 @@ function ot(e, t, r, n) {
376
372
  return t;
377
373
  }
378
374
  }
379
- function Pn(e, t, r, n, i, o) {
380
- let s = class extends xr {
375
+ function wn(e, t, r, n, i, o) {
376
+ let s = class extends wr {
381
377
  constructor() {
382
378
  super(e, r, i), this.$$p_d = t;
383
379
  }
@@ -405,7 +401,7 @@ function Pn(e, t, r, n, i, o) {
405
401
  }), e.element = /** @type {any} */
406
402
  s, s;
407
403
  }
408
- class Tn {
404
+ class xn {
409
405
  /**
410
406
  * ### PRIVATE API
411
407
  *
@@ -424,7 +420,7 @@ class Tn {
424
420
  $$set = void 0;
425
421
  /** @returns {void} */
426
422
  $destroy() {
427
- wn(this, 1), this.$destroy = Z;
423
+ yn(this, 1), this.$destroy = Z;
428
424
  }
429
425
  /**
430
426
  * @template {Extract<keyof Events, string>} K
@@ -446,11 +442,11 @@ class Tn {
446
442
  * @returns {void}
447
443
  */
448
444
  $set(t) {
449
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
445
+ this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
446
  }
451
447
  }
452
- const Hn = "4";
453
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
448
+ const Sn = "4";
449
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
454
450
  var Tt = function(e, t) {
455
451
  return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
452
  r.__proto__ = n;
@@ -458,7 +454,7 @@ var Tt = function(e, t) {
458
454
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
459
455
  }, Tt(e, t);
460
456
  };
461
- function le(e, t) {
457
+ function ae(e, t) {
462
458
  if (typeof t != "function" && t !== null)
463
459
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
464
460
  Tt(e, t);
@@ -476,7 +472,7 @@ var w = function() {
476
472
  return t;
477
473
  }, w.apply(this, arguments);
478
474
  };
479
- function Bn(e, t) {
475
+ function Pn(e, t) {
480
476
  var r = {};
481
477
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
482
478
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -511,21 +507,21 @@ function Bt(e, t) {
511
507
  }
512
508
  return o;
513
509
  }
514
- function He(e, t, r) {
510
+ function Ae(e, t, r) {
515
511
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
516
512
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
517
513
  return e.concat(o || Array.prototype.slice.call(t));
518
514
  }
519
- function ae(e) {
515
+ function se(e) {
520
516
  return typeof e == "function";
521
517
  }
522
- function Sr(e) {
518
+ function xr(e) {
523
519
  var t = function(n) {
524
520
  Error.call(n), n.stack = new Error().stack;
525
521
  }, r = e(t);
526
522
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
527
523
  }
528
- var vt = Sr(function(e) {
524
+ var vt = xr(function(e) {
529
525
  return function(r) {
530
526
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
531
527
  ` + r.map(function(n, i) {
@@ -568,7 +564,7 @@ var ft = function() {
568
564
  else
569
565
  s.remove(this);
570
566
  var u = this.initialTeardown;
571
- if (ae(u))
567
+ if (se(u))
572
568
  try {
573
569
  u();
574
570
  } catch (g) {
@@ -583,7 +579,7 @@ var ft = function() {
583
579
  try {
584
580
  Xt(y);
585
581
  } catch (g) {
586
- o = o ?? [], g instanceof vt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
582
+ o = o ?? [], g instanceof vt ? o = Ae(Ae([], Bt(o)), Bt(g.errors)) : o.push(g);
587
583
  }
588
584
  }
589
585
  } catch (g) {
@@ -628,28 +624,28 @@ var ft = function() {
628
624
  var t = new e();
629
625
  return t.closed = !0, t;
630
626
  }(), e;
631
- }(), Pr = ft.EMPTY;
632
- function Tr(e) {
633
- return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
627
+ }(), Sr = ft.EMPTY;
628
+ function Pr(e) {
629
+ return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
634
630
  }
635
631
  function Xt(e) {
636
- ae(e) ? e() : e.unsubscribe();
632
+ se(e) ? e() : e.unsubscribe();
637
633
  }
638
- var An = {
634
+ var Tn = {
639
635
  Promise: void 0
640
- }, In = {
636
+ }, Hn = {
641
637
  setTimeout: function(e, t) {
642
638
  for (var r = [], n = 2; n < arguments.length; n++)
643
639
  r[n - 2] = arguments[n];
644
- return setTimeout.apply(void 0, He([e, t], Bt(r)));
640
+ return setTimeout.apply(void 0, Ae([e, t], Bt(r)));
645
641
  },
646
642
  clearTimeout: function(e) {
647
643
  return clearTimeout(e);
648
644
  },
649
645
  delegate: void 0
650
646
  };
651
- function Cn(e) {
652
- In.setTimeout(function() {
647
+ function Bn(e) {
648
+ Hn.setTimeout(function() {
653
649
  throw e;
654
650
  });
655
651
  }
@@ -658,11 +654,11 @@ function Wt() {
658
654
  function st(e) {
659
655
  e();
660
656
  }
661
- var Hr = function(e) {
662
- le(t, e);
657
+ var Tr = function(e) {
658
+ ae(t, e);
663
659
  function t(r) {
664
660
  var n = e.call(this) || this;
665
- return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Mn, n;
661
+ return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = Cn, n;
666
662
  }
667
663
  return t.create = function(r, n, i) {
668
664
  return new It(r, n, i);
@@ -689,7 +685,7 @@ var Hr = function(e) {
689
685
  this.unsubscribe();
690
686
  }
691
687
  }, t;
692
- }(ft), On = function() {
688
+ }(ft), An = function() {
693
689
  function e(t) {
694
690
  this.partialObserver = t;
695
691
  }
@@ -721,36 +717,36 @@ var Hr = function(e) {
721
717
  }
722
718
  }, e;
723
719
  }(), It = function(e) {
724
- le(t, e);
720
+ ae(t, e);
725
721
  function t(r, n, i) {
726
722
  var o = e.call(this) || this, s;
727
- return ae(r) || !r ? s = {
723
+ return se(r) || !r ? s = {
728
724
  next: r ?? void 0,
729
725
  error: n ?? void 0,
730
726
  complete: i ?? void 0
731
- } : s = r, o.destination = new On(s), o;
727
+ } : s = r, o.destination = new An(s), o;
732
728
  }
733
729
  return t;
734
- }(Hr);
730
+ }(Tr);
735
731
  function nt(e) {
736
- Cn(e);
732
+ Bn(e);
737
733
  }
738
- function Ln(e) {
734
+ function In(e) {
739
735
  throw e;
740
736
  }
741
- var Mn = {
737
+ var Cn = {
742
738
  closed: !0,
743
739
  next: Wt,
744
- error: Ln,
740
+ error: In,
745
741
  complete: Wt
746
- }, Nn = function() {
742
+ }, On = function() {
747
743
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
748
744
  }();
749
- function Rn(e) {
745
+ function Ln(e) {
750
746
  return e;
751
747
  }
752
- function Un(e) {
753
- return e.length === 0 ? Rn : e.length === 1 ? e[0] : function(r) {
748
+ function Mn(e) {
749
+ return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
754
750
  return e.reduce(function(n, i) {
755
751
  return i(n);
756
752
  }, r);
@@ -764,7 +760,7 @@ var Zt = function() {
764
760
  var r = new e();
765
761
  return r.source = this, r.operator = t, r;
766
762
  }, e.prototype.subscribe = function(t, r, n) {
767
- var i = this, o = Dn(t) ? t : new It(t, r, n);
763
+ var i = this, o = Rn(t) ? t : new It(t, r, n);
768
764
  return st(function() {
769
765
  var s = i, a = s.operator, c = s.source;
770
766
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -794,12 +790,12 @@ var Zt = function() {
794
790
  }, e.prototype._subscribe = function(t) {
795
791
  var r;
796
792
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
797
- }, e.prototype[Nn] = function() {
793
+ }, e.prototype[On] = function() {
798
794
  return this;
799
795
  }, e.prototype.pipe = function() {
800
796
  for (var t = [], r = 0; r < arguments.length; r++)
801
797
  t[r] = arguments[r];
802
- return Un(t)(this);
798
+ return Mn(t)(this);
803
799
  }, e.prototype.toPromise = function(t) {
804
800
  var r = this;
805
801
  return t = qt(t), new t(function(n, i) {
@@ -818,20 +814,20 @@ var Zt = function() {
818
814
  }();
819
815
  function qt(e) {
820
816
  var t;
821
- return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
817
+ return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
822
818
  }
823
- function Fn(e) {
824
- return e && ae(e.next) && ae(e.error) && ae(e.complete);
819
+ function Nn(e) {
820
+ return e && se(e.next) && se(e.error) && se(e.complete);
825
821
  }
826
- function Dn(e) {
827
- return e && e instanceof Hr || Fn(e) && Tr(e);
822
+ function Rn(e) {
823
+ return e && e instanceof Tr || Nn(e) && Pr(e);
828
824
  }
829
- var kn = Sr(function(e) {
825
+ var Un = xr(function(e) {
830
826
  return function() {
831
827
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
832
828
  };
833
- }), Br = function(e) {
834
- le(t, e);
829
+ }), Hr = function(e) {
830
+ ae(t, e);
835
831
  function t() {
836
832
  var r = e.call(this) || this;
837
833
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -841,7 +837,7 @@ var kn = Sr(function(e) {
841
837
  return n.operator = r, n;
842
838
  }, t.prototype._throwIfClosed = function() {
843
839
  if (this.closed)
844
- throw new kn();
840
+ throw new Un();
845
841
  }, t.prototype.next = function(r) {
846
842
  var n = this;
847
843
  st(function() {
@@ -897,7 +893,7 @@ var kn = Sr(function(e) {
897
893
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
898
894
  }, t.prototype._innerSubscribe = function(r) {
899
895
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
900
- return o || s ? Pr : (this.currentObservers = null, a.push(r), new ft(function() {
896
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new ft(function() {
901
897
  n.currentObservers = null, At(a, r);
902
898
  }));
903
899
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -910,7 +906,7 @@ var kn = Sr(function(e) {
910
906
  return new Jt(r, n);
911
907
  }, t;
912
908
  }(Zt), Jt = function(e) {
913
- le(t, e);
909
+ ae(t, e);
914
910
  function t(r, n) {
915
911
  var i = e.call(this) || this;
916
912
  return i.destination = r, i.source = n, i;
@@ -926,17 +922,17 @@ var kn = Sr(function(e) {
926
922
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
927
923
  }, t.prototype._subscribe = function(r) {
928
924
  var n, i;
929
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
925
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
930
926
  }, t;
931
- }(Br), Ar = {
927
+ }(Hr), Br = {
932
928
  now: function() {
933
- return (Ar.delegate || Date).now();
929
+ return (Br.delegate || Date).now();
934
930
  },
935
931
  delegate: void 0
936
- }, $n = function(e) {
937
- le(t, e);
932
+ }, Fn = function(e) {
933
+ ae(t, e);
938
934
  function t(r, n, i) {
939
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
935
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
940
936
  var o = e.call(this) || this;
941
937
  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;
942
938
  }
@@ -956,15 +952,15 @@ var kn = Sr(function(e) {
956
952
  l && o.splice(0, l + 1);
957
953
  }
958
954
  }, t;
959
- }(Br);
960
- const Qt = [], Yt = {}, Gn = (e, t = 0) => {
955
+ }(Hr);
956
+ const Qt = [], Yt = {}, Dn = (e, t = 0) => {
961
957
  if (Qt.indexOf(e) == -1) {
962
- const r = new $n(t);
958
+ const r = new Fn(t);
963
959
  Yt[e] = r, Qt.push(e);
964
960
  }
965
961
  return Yt[e];
966
- }, Se = [];
967
- function jn(e, t) {
962
+ }, Te = [];
963
+ function kn(e, t) {
968
964
  return {
969
965
  subscribe: dt(e, t).subscribe
970
966
  };
@@ -973,14 +969,14 @@ function dt(e, t = Z) {
973
969
  let r;
974
970
  const n = /* @__PURE__ */ new Set();
975
971
  function i(a) {
976
- if (Er(e, a) && (e = a, r)) {
977
- const c = !Se.length;
972
+ if (_r(e, a) && (e = a, r)) {
973
+ const c = !Te.length;
978
974
  for (const l of n)
979
- l[1](), Se.push(l, e);
975
+ l[1](), Te.push(l, e);
980
976
  if (c) {
981
- for (let l = 0; l < Se.length; l += 2)
982
- Se[l][0](Se[l + 1]);
983
- Se.length = 0;
977
+ for (let l = 0; l < Te.length; l += 2)
978
+ Te[l][0](Te[l + 1]);
979
+ Te.length = 0;
984
980
  }
985
981
  }
986
982
  }
@@ -995,12 +991,12 @@ function dt(e, t = Z) {
995
991
  }
996
992
  return { set: i, update: o, subscribe: s };
997
993
  }
998
- function Le(e, t, r) {
994
+ function Ne(e, t, r) {
999
995
  const n = !Array.isArray(e), i = n ? [e] : e;
1000
996
  if (!i.every(Boolean))
1001
997
  throw new Error("derived() expects stores as input, got a falsy value");
1002
998
  const o = t.length < 2;
1003
- return jn(r, (s, a) => {
999
+ return kn(r, (s, a) => {
1004
1000
  let c = !1;
1005
1001
  const l = [];
1006
1002
  let u = 0, f = Z;
@@ -1011,10 +1007,10 @@ function Le(e, t, r) {
1011
1007
  const y = t(n ? l[0] : l, s, a);
1012
1008
  o ? s(y) : f = Dt(y) ? y : Z;
1013
1009
  }, b = i.map(
1014
- (y, g) => wr(
1010
+ (y, g) => Er(
1015
1011
  y,
1016
- (x) => {
1017
- l[g] = x, u &= ~(1 << g), c && d();
1012
+ (S) => {
1013
+ l[g] = S, u &= ~(1 << g), c && d();
1018
1014
  },
1019
1015
  () => {
1020
1016
  u |= 1 << g;
@@ -1022,115 +1018,115 @@ function Le(e, t, r) {
1022
1018
  )
1023
1019
  );
1024
1020
  return c = !0, d(), function() {
1025
- Oe(b), f(), c = !1;
1021
+ Me(b), f(), c = !1;
1026
1022
  };
1027
1023
  });
1028
1024
  }
1029
- function Vn(e) {
1025
+ function Gn(e) {
1030
1026
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1031
1027
  }
1032
- var zn = function(t) {
1033
- return Xn(t) && !Wn(t);
1028
+ var $n = function(t) {
1029
+ return jn(t) && !Vn(t);
1034
1030
  };
1035
- function Xn(e) {
1031
+ function jn(e) {
1036
1032
  return !!e && typeof e == "object";
1037
1033
  }
1038
- function Wn(e) {
1034
+ function Vn(e) {
1039
1035
  var t = Object.prototype.toString.call(e);
1040
- return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
1036
+ return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1041
1037
  }
1042
- var Zn = typeof Symbol == "function" && Symbol.for, qn = Zn ? Symbol.for("react.element") : 60103;
1043
- function Jn(e) {
1044
- return e.$$typeof === qn;
1038
+ var zn = typeof Symbol == "function" && Symbol.for, Xn = zn ? Symbol.for("react.element") : 60103;
1039
+ function Wn(e) {
1040
+ return e.$$typeof === Xn;
1045
1041
  }
1046
- function Qn(e) {
1042
+ function Zn(e) {
1047
1043
  return Array.isArray(e) ? [] : {};
1048
1044
  }
1049
- function We(e, t) {
1050
- return t.clone !== !1 && t.isMergeableObject(e) ? Be(Qn(e), e, t) : e;
1045
+ function Xe(e, t) {
1046
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Zn(e), e, t) : e;
1051
1047
  }
1052
- function Yn(e, t, r) {
1048
+ function qn(e, t, r) {
1053
1049
  return e.concat(t).map(function(n) {
1054
- return We(n, r);
1050
+ return Xe(n, r);
1055
1051
  });
1056
1052
  }
1057
- function Kn(e, t) {
1053
+ function Jn(e, t) {
1058
1054
  if (!t.customMerge)
1059
- return Be;
1055
+ return Ie;
1060
1056
  var r = t.customMerge(e);
1061
- return typeof r == "function" ? r : Be;
1057
+ return typeof r == "function" ? r : Ie;
1062
1058
  }
1063
- function ei(e) {
1059
+ function Qn(e) {
1064
1060
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1065
1061
  return Object.propertyIsEnumerable.call(e, t);
1066
1062
  }) : [];
1067
1063
  }
1068
1064
  function Kt(e) {
1069
- return Object.keys(e).concat(ei(e));
1065
+ return Object.keys(e).concat(Qn(e));
1070
1066
  }
1071
- function Ir(e, t) {
1067
+ function Ar(e, t) {
1072
1068
  try {
1073
1069
  return t in e;
1074
1070
  } catch {
1075
1071
  return !1;
1076
1072
  }
1077
1073
  }
1078
- function ti(e, t) {
1079
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1074
+ function Yn(e, t) {
1075
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
1076
  }
1081
- function ri(e, t, r) {
1077
+ function Kn(e, t, r) {
1082
1078
  var n = {};
1083
1079
  return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1084
- n[i] = We(e[i], r);
1080
+ n[i] = Xe(e[i], r);
1085
1081
  }), Kt(t).forEach(function(i) {
1086
- ti(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1082
+ 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));
1087
1083
  }), n;
1088
1084
  }
1089
- function Be(e, t, r) {
1090
- r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = We;
1085
+ function Ie(e, t, r) {
1086
+ r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = Xe;
1091
1087
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1092
- return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : We(t, r);
1088
+ return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : Xe(t, r);
1093
1089
  }
1094
- Be.all = function(t, r) {
1090
+ Ie.all = function(t, r) {
1095
1091
  if (!Array.isArray(t))
1096
1092
  throw new Error("first argument should be an array");
1097
1093
  return t.reduce(function(n, i) {
1098
- return Be(n, i, r);
1094
+ return Ie(n, i, r);
1099
1095
  }, {});
1100
1096
  };
1101
- var ni = Be, ii = ni;
1102
- const oi = /* @__PURE__ */ Vn(ii);
1097
+ var ei = Ie, ti = ei;
1098
+ const ri = /* @__PURE__ */ Gn(ti);
1103
1099
  function yt(e, t) {
1104
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
1100
+ var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1105
1101
  return i(e, {
1106
1102
  cache: r,
1107
1103
  serializer: n
1108
1104
  });
1109
1105
  }
1110
- function si(e) {
1106
+ function ni(e) {
1111
1107
  return e == null || typeof e == "number" || typeof e == "boolean";
1112
1108
  }
1113
- function ai(e, t, r, n) {
1114
- var i = si(n) ? n : r(n), o = t.get(i);
1109
+ function ii(e, t, r, n) {
1110
+ var i = ni(n) ? n : r(n), o = t.get(i);
1115
1111
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1116
1112
  }
1117
- function Cr(e, t, r) {
1113
+ function Ir(e, t, r) {
1118
1114
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1119
1115
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1120
1116
  }
1121
- function Or(e, t, r, n, i) {
1117
+ function Cr(e, t, r, n, i) {
1122
1118
  return r.bind(t, e, n, i);
1123
1119
  }
1124
- function li(e, t) {
1125
- var r = e.length === 1 ? ai : Cr;
1126
- return Or(e, this, r, t.cache.create(), t.serializer);
1120
+ function oi(e, t) {
1121
+ var r = e.length === 1 ? ii : Ir;
1122
+ return Cr(e, this, r, t.cache.create(), t.serializer);
1127
1123
  }
1128
- function ui(e, t) {
1129
- return Or(e, this, Cr, t.cache.create(), t.serializer);
1124
+ function si(e, t) {
1125
+ return Cr(e, this, Ir, t.cache.create(), t.serializer);
1130
1126
  }
1131
- var ci = function() {
1127
+ var ai = function() {
1132
1128
  return JSON.stringify(arguments);
1133
- }, hi = (
1129
+ }, li = (
1134
1130
  /** @class */
1135
1131
  function() {
1136
1132
  function e() {
@@ -1142,12 +1138,12 @@ var ci = function() {
1142
1138
  this.cache[t] = r;
1143
1139
  }, e;
1144
1140
  }()
1145
- ), fi = {
1141
+ ), ui = {
1146
1142
  create: function() {
1147
- return new hi();
1143
+ return new li();
1148
1144
  }
1149
1145
  }, _t = {
1150
- variadic: ui
1146
+ variadic: si
1151
1147
  }, _;
1152
1148
  (function(e) {
1153
1149
  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";
@@ -1156,47 +1152,47 @@ var T;
1156
1152
  (function(e) {
1157
1153
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1158
1154
  })(T || (T = {}));
1159
- var Ae;
1155
+ var Ce;
1160
1156
  (function(e) {
1161
1157
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1162
- })(Ae || (Ae = {}));
1158
+ })(Ce || (Ce = {}));
1163
1159
  function er(e) {
1164
1160
  return e.type === T.literal;
1165
1161
  }
1166
- function di(e) {
1162
+ function ci(e) {
1167
1163
  return e.type === T.argument;
1168
1164
  }
1169
- function Lr(e) {
1165
+ function Or(e) {
1170
1166
  return e.type === T.number;
1171
1167
  }
1172
- function Mr(e) {
1168
+ function Lr(e) {
1173
1169
  return e.type === T.date;
1174
1170
  }
1175
- function Nr(e) {
1171
+ function Mr(e) {
1176
1172
  return e.type === T.time;
1177
1173
  }
1178
- function Rr(e) {
1174
+ function Nr(e) {
1179
1175
  return e.type === T.select;
1180
1176
  }
1181
- function Ur(e) {
1177
+ function Rr(e) {
1182
1178
  return e.type === T.plural;
1183
1179
  }
1184
- function mi(e) {
1180
+ function hi(e) {
1185
1181
  return e.type === T.pound;
1186
1182
  }
1187
- function Fr(e) {
1183
+ function Ur(e) {
1188
1184
  return e.type === T.tag;
1189
1185
  }
1190
- function Dr(e) {
1191
- return !!(e && typeof e == "object" && e.type === Ae.number);
1186
+ function Fr(e) {
1187
+ return !!(e && typeof e == "object" && e.type === Ce.number);
1192
1188
  }
1193
1189
  function Ct(e) {
1194
- return !!(e && typeof e == "object" && e.type === Ae.dateTime);
1190
+ return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1195
1191
  }
1196
- var kr = /[ \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;
1197
- function gi(e) {
1192
+ 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;
1193
+ function di(e) {
1198
1194
  var t = {};
1199
- return e.replace(pi, function(r) {
1195
+ return e.replace(fi, function(r) {
1200
1196
  var n = r.length;
1201
1197
  switch (r[0]) {
1202
1198
  case "G":
@@ -1285,11 +1281,11 @@ function gi(e) {
1285
1281
  return "";
1286
1282
  }), t;
1287
1283
  }
1288
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1289
- function vi(e) {
1284
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1285
+ function pi(e) {
1290
1286
  if (e.length === 0)
1291
1287
  throw new Error("Number skeleton cannot be empty");
1292
- for (var t = e.split(bi).filter(function(d) {
1288
+ for (var t = e.split(mi).filter(function(d) {
1293
1289
  return d.length > 0;
1294
1290
  }), r = [], n = 0, i = t; n < i.length; n++) {
1295
1291
  var o = i[n], s = o.split("/");
@@ -1304,17 +1300,17 @@ function vi(e) {
1304
1300
  }
1305
1301
  return r;
1306
1302
  }
1307
- function yi(e) {
1303
+ function gi(e) {
1308
1304
  return e.replace(/^(.*?)-/, "");
1309
1305
  }
1310
- var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1306
+ var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1311
1307
  function rr(e) {
1312
1308
  var t = {};
1313
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
1309
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
1314
1310
  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)), "";
1315
1311
  }), t;
1316
1312
  }
1317
- function jr(e) {
1313
+ function $r(e) {
1318
1314
  switch (e) {
1319
1315
  case "sign-auto":
1320
1316
  return {
@@ -1354,7 +1350,7 @@ function jr(e) {
1354
1350
  };
1355
1351
  }
1356
1352
  }
1357
- function Ei(e) {
1353
+ function vi(e) {
1358
1354
  var t;
1359
1355
  if (e[0] === "E" && e[1] === "E" ? (t = {
1360
1356
  notation: "engineering"
@@ -1369,10 +1365,10 @@ function Ei(e) {
1369
1365
  return t;
1370
1366
  }
1371
1367
  function nr(e) {
1372
- var t = {}, r = jr(e);
1368
+ var t = {}, r = $r(e);
1373
1369
  return r || t;
1374
1370
  }
1375
- function wi(e) {
1371
+ function yi(e) {
1376
1372
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1377
1373
  var i = n[r];
1378
1374
  switch (i.stem) {
@@ -1396,7 +1392,7 @@ function wi(e) {
1396
1392
  continue;
1397
1393
  case "measure-unit":
1398
1394
  case "unit":
1399
- t.style = "unit", t.unit = yi(i.options[0]);
1395
+ t.style = "unit", t.unit = gi(i.options[0]);
1400
1396
  continue;
1401
1397
  case "compact-short":
1402
1398
  case "K":
@@ -1458,7 +1454,7 @@ function wi(e) {
1458
1454
  case "integer-width":
1459
1455
  if (i.options.length > 1)
1460
1456
  throw new RangeError("integer-width stems only accept a single optional option");
1461
- i.options[0].replace(_i, function(c, l, u, f, d, b) {
1457
+ i.options[0].replace(bi, function(c, l, u, f, d, b) {
1462
1458
  if (l)
1463
1459
  t.minimumIntegerDigits = u.length;
1464
1460
  else {
@@ -1485,13 +1481,13 @@ function wi(e) {
1485
1481
  o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
1486
1482
  continue;
1487
1483
  }
1488
- if ($r.test(i.stem)) {
1484
+ if (kr.test(i.stem)) {
1489
1485
  t = w(w({}, t), rr(i.stem));
1490
1486
  continue;
1491
1487
  }
1492
- var s = jr(i.stem);
1488
+ var s = $r(i.stem);
1493
1489
  s && (t = w(w({}, t), s));
1494
- var a = Ei(i.stem);
1490
+ var a = vi(i.stem);
1495
1491
  a && (t = w(w({}, t), a));
1496
1492
  }
1497
1493
  return t;
@@ -2911,13 +2907,13 @@ var it = {
2911
2907
  "h"
2912
2908
  ]
2913
2909
  };
2914
- function xi(e, t) {
2910
+ function _i(e, t) {
2915
2911
  for (var r = "", n = 0; n < e.length; n++) {
2916
2912
  var i = e.charAt(n);
2917
2913
  if (i === "j") {
2918
2914
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2919
2915
  o++, n++;
2920
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2916
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
2921
2917
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2922
2918
  r += c;
2923
2919
  for (; s-- > 0; )
@@ -2926,7 +2922,7 @@ function xi(e, t) {
2926
2922
  }
2927
2923
  return r;
2928
2924
  }
2929
- function Si(e) {
2925
+ function Ei(e) {
2930
2926
  var t = e.hourCycle;
2931
2927
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2932
2928
  e.hourCycles && // @ts-ignore
@@ -2948,20 +2944,20 @@ function Si(e) {
2948
2944
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2949
2945
  return i[0];
2950
2946
  }
2951
- var Et, Pi = new RegExp("^".concat(kr.source, "*")), Ti = new RegExp("".concat(kr.source, "*$"));
2947
+ var Et, wi = new RegExp("^".concat(Dr.source, "*")), xi = new RegExp("".concat(Dr.source, "*$"));
2952
2948
  function E(e, t) {
2953
2949
  return { start: e, end: t };
2954
2950
  }
2955
- 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) {
2951
+ 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) {
2956
2952
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2957
2953
  }, Ot = !0;
2958
2954
  try {
2959
- var Ni = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2960
- Ot = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2955
+ var Oi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2956
+ Ot = ((Et = Oi.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2961
2957
  } catch {
2962
2958
  Ot = !1;
2963
2959
  }
2964
- var ir = Hi ? (
2960
+ var ir = Si ? (
2965
2961
  // Native
2966
2962
  function(t, r, n) {
2967
2963
  return t.startsWith(r, n);
@@ -2971,7 +2967,7 @@ var ir = Hi ? (
2971
2967
  function(t, r, n) {
2972
2968
  return t.slice(n, n + r.length) === r;
2973
2969
  }
2974
- ), Lt = Bi ? String.fromCodePoint : (
2970
+ ), Lt = Pi ? String.fromCodePoint : (
2975
2971
  // IE11
2976
2972
  function() {
2977
2973
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2985,7 +2981,7 @@ var ir = Hi ? (
2985
2981
  }
2986
2982
  ), or = (
2987
2983
  // native
2988
- Ai ? Object.fromEntries : (
2984
+ Ti ? Object.fromEntries : (
2989
2985
  // Ponyfill
2990
2986
  function(t) {
2991
2987
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2995,7 +2991,7 @@ var ir = Hi ? (
2995
2991
  return r;
2996
2992
  }
2997
2993
  )
2998
- ), Vr = Ii ? (
2994
+ ), jr = Hi ? (
2999
2995
  // Native
3000
2996
  function(t, r) {
3001
2997
  return t.codePointAt(r);
@@ -3009,7 +3005,7 @@ var ir = Hi ? (
3009
3005
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3010
3006
  }
3011
3007
  }
3012
- ), Ri = Ci ? (
3008
+ ), Li = Bi ? (
3013
3009
  // Native
3014
3010
  function(t) {
3015
3011
  return t.trimStart();
@@ -3017,9 +3013,9 @@ var ir = Hi ? (
3017
3013
  ) : (
3018
3014
  // Ponyfill
3019
3015
  function(t) {
3020
- return t.replace(Pi, "");
3016
+ return t.replace(wi, "");
3021
3017
  }
3022
- ), Ui = Oi ? (
3018
+ ), Mi = Ai ? (
3023
3019
  // Native
3024
3020
  function(t) {
3025
3021
  return t.trimEnd();
@@ -3027,15 +3023,15 @@ var ir = Hi ? (
3027
3023
  ) : (
3028
3024
  // Ponyfill
3029
3025
  function(t) {
3030
- return t.replace(Ti, "");
3026
+ return t.replace(xi, "");
3031
3027
  }
3032
3028
  );
3033
- function zr(e, t) {
3029
+ function Vr(e, t) {
3034
3030
  return new RegExp(e, t);
3035
3031
  }
3036
3032
  var Mt;
3037
3033
  if (Ot) {
3038
- var sr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ var sr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
3035
  Mt = function(t, r) {
3040
3036
  var n;
3041
3037
  sr.lastIndex = r;
@@ -3045,14 +3041,14 @@ if (Ot) {
3045
3041
  } else
3046
3042
  Mt = function(t, r) {
3047
3043
  for (var n = []; ; ) {
3048
- var i = Vr(t, r);
3049
- if (i === void 0 || Xr(i) || $i(i))
3044
+ var i = jr(t, r);
3045
+ if (i === void 0 || zr(i) || Fi(i))
3050
3046
  break;
3051
3047
  n.push(i), r += i >= 65536 ? 2 : 1;
3052
3048
  }
3053
3049
  return Lt.apply(void 0, n);
3054
3050
  };
3055
- var Fi = (
3051
+ var Ni = (
3056
3052
  /** @class */
3057
3053
  function() {
3058
3054
  function e(t, r) {
@@ -3134,7 +3130,7 @@ var Fi = (
3134
3130
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3135
3131
  }, e.prototype.parseTagName = function() {
3136
3132
  var t = this.offset();
3137
- for (this.bump(); !this.isEOF() && ki(this.char()); )
3133
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
3138
3134
  this.bump();
3139
3135
  return this.message.slice(t, this.offset());
3140
3136
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3163,7 +3159,7 @@ var Fi = (
3163
3159
  };
3164
3160
  }, e.prototype.tryParseLeftAngleBracket = function() {
3165
3161
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3166
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3162
+ !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3167
3163
  }, e.prototype.tryParseQuote = function(t) {
3168
3164
  if (this.isEOF() || this.char() !== 39)
3169
3165
  return null;
@@ -3250,7 +3246,7 @@ var Fi = (
3250
3246
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3251
3247
  if (f.err)
3252
3248
  return f;
3253
- var d = Ui(f.val);
3249
+ var d = Mi(f.val);
3254
3250
  if (d.length === 0)
3255
3251
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3256
3252
  var b = E(u, this.clonePosition());
@@ -3261,26 +3257,26 @@ var Fi = (
3261
3257
  return y;
3262
3258
  var g = E(i, this.clonePosition());
3263
3259
  if (l && ir(l?.style, "::", 0)) {
3264
- var x = Ri(l.style.slice(2));
3260
+ var S = Li(l.style.slice(2));
3265
3261
  if (a === "number") {
3266
- var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3262
+ var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3267
3263
  return f.err ? f : {
3268
3264
  val: { type: T.number, value: n, location: g, style: f.val },
3269
3265
  err: null
3270
3266
  };
3271
3267
  } else {
3272
- if (x.length === 0)
3268
+ if (S.length === 0)
3273
3269
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3274
- var M = x;
3275
- this.locale && (M = xi(x, this.locale));
3270
+ var C = S;
3271
+ this.locale && (C = _i(S, this.locale));
3276
3272
  var d = {
3277
- type: Ae.dateTime,
3278
- pattern: M,
3273
+ type: Ce.dateTime,
3274
+ pattern: C,
3279
3275
  location: l.styleLocation,
3280
- parsedOptions: this.shouldParseSkeletons ? gi(M) : {}
3281
- }, q = a === "date" ? T.date : T.time;
3276
+ parsedOptions: this.shouldParseSkeletons ? di(C) : {}
3277
+ }, z = a === "date" ? T.date : T.time;
3282
3278
  return {
3283
- val: { type: q, value: n, location: g, style: d },
3279
+ val: { type: z, value: n, location: g, style: d },
3284
3280
  err: null
3285
3281
  };
3286
3282
  }
@@ -3298,43 +3294,43 @@ var Fi = (
3298
3294
  case "plural":
3299
3295
  case "selectordinal":
3300
3296
  case "select": {
3301
- var H = this.clonePosition();
3297
+ var R = this.clonePosition();
3302
3298
  if (this.bumpSpace(), !this.bumpIf(","))
3303
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, w({}, H)));
3299
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, w({}, R)));
3304
3300
  this.bumpSpace();
3305
- var R = this.parseIdentifierIfPossible(), G = 0;
3306
- if (a !== "select" && R.value === "offset") {
3301
+ var U = this.parseIdentifierIfPossible(), A = 0;
3302
+ if (a !== "select" && U.value === "offset") {
3307
3303
  if (!this.bumpIf(":"))
3308
3304
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3309
3305
  this.bumpSpace();
3310
3306
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3311
3307
  if (f.err)
3312
3308
  return f;
3313
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), G = f.val;
3309
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
3314
3310
  }
3315
- var J = this.tryParsePluralOrSelectOptions(t, a, r, R);
3316
- if (J.err)
3317
- return J;
3311
+ var re = this.tryParsePluralOrSelectOptions(t, a, r, U);
3312
+ if (re.err)
3313
+ return re;
3318
3314
  var y = this.tryParseArgumentClose(i);
3319
3315
  if (y.err)
3320
3316
  return y;
3321
- var B = E(i, this.clonePosition());
3317
+ var H = E(i, this.clonePosition());
3322
3318
  return a === "select" ? {
3323
3319
  val: {
3324
3320
  type: T.select,
3325
3321
  value: n,
3326
- options: or(J.val),
3327
- location: B
3322
+ options: or(re.val),
3323
+ location: H
3328
3324
  },
3329
3325
  err: null
3330
3326
  } : {
3331
3327
  val: {
3332
3328
  type: T.plural,
3333
3329
  value: n,
3334
- options: or(J.val),
3335
- offset: G,
3330
+ options: or(re.val),
3331
+ offset: A,
3336
3332
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3337
- location: B
3333
+ location: H
3338
3334
  },
3339
3335
  err: null
3340
3336
  };
@@ -3382,16 +3378,16 @@ var Fi = (
3382
3378
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3383
3379
  var n = [];
3384
3380
  try {
3385
- n = vi(t);
3381
+ n = pi(t);
3386
3382
  } catch {
3387
3383
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3388
3384
  }
3389
3385
  return {
3390
3386
  val: {
3391
- type: Ae.number,
3387
+ type: Ce.number,
3392
3388
  tokens: n,
3393
3389
  location: r,
3394
- parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3390
+ parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3395
3391
  },
3396
3392
  err: null
3397
3393
  };
@@ -3439,7 +3435,7 @@ var Fi = (
3439
3435
  break;
3440
3436
  }
3441
3437
  var c = E(i, this.clonePosition());
3442
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3438
+ return o ? (s *= n, Ci(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3443
3439
  }, e.prototype.offset = function() {
3444
3440
  return this.position.offset;
3445
3441
  }, e.prototype.isEOF = function() {
@@ -3454,7 +3450,7 @@ var Fi = (
3454
3450
  var t = this.position.offset;
3455
3451
  if (t >= this.message.length)
3456
3452
  throw Error("out of bound");
3457
- var r = Vr(this.message, t);
3453
+ var r = jr(this.message, t);
3458
3454
  if (r === void 0)
3459
3455
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3460
3456
  return r;
@@ -3495,7 +3491,7 @@ var Fi = (
3495
3491
  break;
3496
3492
  }
3497
3493
  }, e.prototype.bumpSpace = function() {
3498
- for (; !this.isEOF() && Xr(this.char()); )
3494
+ for (; !this.isEOF() && zr(this.char()); )
3499
3495
  this.bump();
3500
3496
  }, e.prototype.peek = function() {
3501
3497
  if (this.isEOF())
@@ -3508,43 +3504,43 @@ var Fi = (
3508
3504
  function Nt(e) {
3509
3505
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3510
3506
  }
3511
- function Di(e) {
3507
+ function Ri(e) {
3512
3508
  return Nt(e) || e === 47;
3513
3509
  }
3514
- function ki(e) {
3510
+ function Ui(e) {
3515
3511
  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;
3516
3512
  }
3517
- function Xr(e) {
3513
+ function zr(e) {
3518
3514
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3519
3515
  }
3520
- function $i(e) {
3516
+ function Fi(e) {
3521
3517
  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;
3522
3518
  }
3523
3519
  function Rt(e) {
3524
3520
  e.forEach(function(t) {
3525
- if (delete t.location, Rr(t) || Ur(t))
3521
+ if (delete t.location, Nr(t) || Rr(t))
3526
3522
  for (var r in t.options)
3527
3523
  delete t.options[r].location, Rt(t.options[r].value);
3528
- else Lr(t) && Dr(t.style) || (Mr(t) || Nr(t)) && Ct(t.style) ? delete t.style.location : Fr(t) && Rt(t.children);
3524
+ else Or(t) && Fr(t.style) || (Lr(t) || Mr(t)) && Ct(t.style) ? delete t.style.location : Ur(t) && Rt(t.children);
3529
3525
  });
3530
3526
  }
3531
- function Gi(e, t) {
3527
+ function Di(e, t) {
3532
3528
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3533
- var r = new Fi(e, t).parse();
3529
+ var r = new Ni(e, t).parse();
3534
3530
  if (r.err) {
3535
3531
  var n = SyntaxError(_[r.err.kind]);
3536
3532
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3537
3533
  }
3538
3534
  return t?.captureLocation || Rt(r.val), r.val;
3539
3535
  }
3540
- var Ie;
3536
+ var Oe;
3541
3537
  (function(e) {
3542
3538
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3543
- })(Ie || (Ie = {}));
3539
+ })(Oe || (Oe = {}));
3544
3540
  var mt = (
3545
3541
  /** @class */
3546
3542
  function(e) {
3547
- le(t, e);
3543
+ ae(t, e);
3548
3544
  function t(r, n, i) {
3549
3545
  var o = e.call(this, r) || this;
3550
3546
  return o.code = n, o.originalMessage = i, o;
@@ -3556,48 +3552,48 @@ var mt = (
3556
3552
  ), ar = (
3557
3553
  /** @class */
3558
3554
  function(e) {
3559
- le(t, e);
3555
+ ae(t, e);
3560
3556
  function t(r, n, i, o) {
3561
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
3557
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
3562
3558
  }
3563
3559
  return t;
3564
3560
  }(mt)
3565
- ), ji = (
3561
+ ), ki = (
3566
3562
  /** @class */
3567
3563
  function(e) {
3568
- le(t, e);
3564
+ ae(t, e);
3569
3565
  function t(r, n, i) {
3570
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
3566
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
3571
3567
  }
3572
3568
  return t;
3573
3569
  }(mt)
3574
- ), Vi = (
3570
+ ), Gi = (
3575
3571
  /** @class */
3576
3572
  function(e) {
3577
- le(t, e);
3573
+ ae(t, e);
3578
3574
  function t(r, n) {
3579
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
3575
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
3580
3576
  }
3581
3577
  return t;
3582
3578
  }(mt)
3583
- ), X;
3579
+ ), V;
3584
3580
  (function(e) {
3585
3581
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3586
- })(X || (X = {}));
3587
- function zi(e) {
3582
+ })(V || (V = {}));
3583
+ function $i(e) {
3588
3584
  return e.length < 2 ? e : e.reduce(function(t, r) {
3589
3585
  var n = t[t.length - 1];
3590
- return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3586
+ return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3591
3587
  }, []);
3592
3588
  }
3593
- function Xi(e) {
3589
+ function ji(e) {
3594
3590
  return typeof e == "function";
3595
3591
  }
3596
3592
  function at(e, t, r, n, i, o, s) {
3597
3593
  if (e.length === 1 && er(e[0]))
3598
3594
  return [
3599
3595
  {
3600
- type: X.literal,
3596
+ type: V.literal,
3601
3597
  value: e[0].value
3602
3598
  }
3603
3599
  ];
@@ -3605,100 +3601,100 @@ function at(e, t, r, n, i, o, s) {
3605
3601
  var u = l[c];
3606
3602
  if (er(u)) {
3607
3603
  a.push({
3608
- type: X.literal,
3604
+ type: V.literal,
3609
3605
  value: u.value
3610
3606
  });
3611
3607
  continue;
3612
3608
  }
3613
- if (mi(u)) {
3609
+ if (hi(u)) {
3614
3610
  typeof o == "number" && a.push({
3615
- type: X.literal,
3611
+ type: V.literal,
3616
3612
  value: r.getNumberFormat(t).format(o)
3617
3613
  });
3618
3614
  continue;
3619
3615
  }
3620
3616
  var f = u.value;
3621
3617
  if (!(i && f in i))
3622
- throw new Vi(f, s);
3618
+ throw new Gi(f, s);
3623
3619
  var d = i[f];
3624
- if (di(u)) {
3620
+ if (ci(u)) {
3625
3621
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3626
- type: typeof d == "string" ? X.literal : X.object,
3622
+ type: typeof d == "string" ? V.literal : V.object,
3627
3623
  value: d
3628
3624
  });
3629
3625
  continue;
3630
3626
  }
3631
- if (Mr(u)) {
3627
+ if (Lr(u)) {
3632
3628
  var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3633
3629
  a.push({
3634
- type: X.literal,
3630
+ type: V.literal,
3635
3631
  value: r.getDateTimeFormat(t, b).format(d)
3636
3632
  });
3637
3633
  continue;
3638
3634
  }
3639
- if (Nr(u)) {
3635
+ if (Mr(u)) {
3640
3636
  var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3641
3637
  a.push({
3642
- type: X.literal,
3638
+ type: V.literal,
3643
3639
  value: r.getDateTimeFormat(t, b).format(d)
3644
3640
  });
3645
3641
  continue;
3646
3642
  }
3647
- if (Lr(u)) {
3648
- var b = typeof u.style == "string" ? n.number[u.style] : Dr(u.style) ? u.style.parsedOptions : void 0;
3643
+ if (Or(u)) {
3644
+ var b = typeof u.style == "string" ? n.number[u.style] : Fr(u.style) ? u.style.parsedOptions : void 0;
3649
3645
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3650
- type: X.literal,
3646
+ type: V.literal,
3651
3647
  value: r.getNumberFormat(t, b).format(d)
3652
3648
  });
3653
3649
  continue;
3654
3650
  }
3655
- if (Fr(u)) {
3656
- var y = u.children, g = u.value, x = i[g];
3657
- if (!Xi(x))
3658
- throw new ji(g, "function", s);
3659
- var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
3660
- return G.value;
3651
+ if (Ur(u)) {
3652
+ var y = u.children, g = u.value, S = i[g];
3653
+ if (!ji(S))
3654
+ throw new ki(g, "function", s);
3655
+ var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3656
+ return A.value;
3661
3657
  }));
3662
- Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
3658
+ Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
3663
3659
  return {
3664
- type: typeof G == "string" ? X.literal : X.object,
3665
- value: G
3660
+ type: typeof A == "string" ? V.literal : V.object,
3661
+ value: A
3666
3662
  };
3667
3663
  }));
3668
3664
  }
3669
- if (Rr(u)) {
3670
- var H = u.options[d] || u.options.other;
3671
- if (!H)
3665
+ if (Nr(u)) {
3666
+ var R = u.options[d] || u.options.other;
3667
+ if (!R)
3672
3668
  throw new ar(u.value, d, Object.keys(u.options), s);
3673
- a.push.apply(a, at(H.value, t, r, n, i));
3669
+ a.push.apply(a, at(R.value, t, r, n, i));
3674
3670
  continue;
3675
3671
  }
3676
- if (Ur(u)) {
3677
- var H = u.options["=".concat(d)];
3678
- if (!H) {
3672
+ if (Rr(u)) {
3673
+ var R = u.options["=".concat(d)];
3674
+ if (!R) {
3679
3675
  if (!Intl.PluralRules)
3680
3676
  throw new mt(`Intl.PluralRules is not available in this environment.
3681
3677
  Try polyfilling it using "@formatjs/intl-pluralrules"
3682
- `, Ie.MISSING_INTL_API, s);
3683
- var R = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3684
- H = u.options[R] || u.options.other;
3678
+ `, Oe.MISSING_INTL_API, s);
3679
+ var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3680
+ R = u.options[U] || u.options.other;
3685
3681
  }
3686
- if (!H)
3682
+ if (!R)
3687
3683
  throw new ar(u.value, d, Object.keys(u.options), s);
3688
- a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
3684
+ a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
3689
3685
  continue;
3690
3686
  }
3691
3687
  }
3692
- return zi(a);
3688
+ return $i(a);
3693
3689
  }
3694
- function Wi(e, t) {
3690
+ function Vi(e, t) {
3695
3691
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3696
3692
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3697
3693
  }, {})) : e;
3698
3694
  }
3699
- function Zi(e, t) {
3695
+ function zi(e, t) {
3700
3696
  return t ? Object.keys(e).reduce(function(r, n) {
3701
- return r[n] = Wi(e[n], t[n]), r;
3697
+ return r[n] = Vi(e[n], t[n]), r;
3702
3698
  }, w({}, e)) : e;
3703
3699
  }
3704
3700
  function wt(e) {
@@ -3715,7 +3711,7 @@ function wt(e) {
3715
3711
  }
3716
3712
  };
3717
3713
  }
3718
- function qi(e) {
3714
+ function Xi(e) {
3719
3715
  return e === void 0 && (e = {
3720
3716
  number: {},
3721
3717
  dateTime: {},
@@ -3724,7 +3720,7 @@ function qi(e) {
3724
3720
  getNumberFormat: yt(function() {
3725
3721
  for (var t, r = [], n = 0; n < arguments.length; n++)
3726
3722
  r[n] = arguments[n];
3727
- return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3723
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3728
3724
  }, {
3729
3725
  cache: wt(e.number),
3730
3726
  strategy: _t.variadic
@@ -3732,7 +3728,7 @@ function qi(e) {
3732
3728
  getDateTimeFormat: yt(function() {
3733
3729
  for (var t, r = [], n = 0; n < arguments.length; n++)
3734
3730
  r[n] = arguments[n];
3735
- return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3731
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3736
3732
  }, {
3737
3733
  cache: wt(e.dateTime),
3738
3734
  strategy: _t.variadic
@@ -3740,14 +3736,14 @@ function qi(e) {
3740
3736
  getPluralRules: yt(function() {
3741
3737
  for (var t, r = [], n = 0; n < arguments.length; n++)
3742
3738
  r[n] = arguments[n];
3743
- return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3739
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3744
3740
  }, {
3745
3741
  cache: wt(e.pluralRules),
3746
3742
  strategy: _t.variadic
3747
3743
  })
3748
3744
  };
3749
3745
  }
3750
- var Ji = (
3746
+ var Wi = (
3751
3747
  /** @class */
3752
3748
  function() {
3753
3749
  function e(t, r, n, i) {
@@ -3762,7 +3758,7 @@ var Ji = (
3762
3758
  if (l.length === 1)
3763
3759
  return l[0].value;
3764
3760
  var u = l.reduce(function(f, d) {
3765
- return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3761
+ return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3766
3762
  }, []);
3767
3763
  return u.length <= 1 ? u[0] || "" : u;
3768
3764
  }, this.formatToParts = function(c) {
@@ -3779,13 +3775,13 @@ var Ji = (
3779
3775
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3780
3776
  var s = i || {};
3781
3777
  s.formatters;
3782
- var a = Bn(s, ["formatters"]);
3778
+ var a = Pn(s, ["formatters"]);
3783
3779
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3784
3780
  } else
3785
3781
  this.ast = t;
3786
3782
  if (!Array.isArray(this.ast))
3787
3783
  throw new TypeError("A message must be provided as a String or AST.");
3788
- this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3784
+ this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3789
3785
  }
3790
3786
  return Object.defineProperty(e, "defaultLocale", {
3791
3787
  get: function() {
@@ -3798,7 +3794,7 @@ var Ji = (
3798
3794
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3799
3795
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3800
3796
  }
3801
- }, e.__parse = Gi, e.formats = {
3797
+ }, e.__parse = Di, e.formats = {
3802
3798
  number: {
3803
3799
  integer: {
3804
3800
  maximumFractionDigits: 0
@@ -3859,7 +3855,7 @@ var Ji = (
3859
3855
  }, e;
3860
3856
  }()
3861
3857
  );
3862
- function Qi(e, t) {
3858
+ function Zi(e, t) {
3863
3859
  if (t == null)
3864
3860
  return;
3865
3861
  if (t in e)
@@ -3880,60 +3876,60 @@ function Qi(e, t) {
3880
3876
  n = void 0;
3881
3877
  return n;
3882
3878
  }
3883
- const ce = {}, Yi = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Wr = (e, t) => {
3879
+ const ue = {}, qi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Xr = (e, t) => {
3884
3880
  if (t == null)
3885
3881
  return;
3886
- if (t in ce && e in ce[t])
3887
- return ce[t][e];
3882
+ if (t in ue && e in ue[t])
3883
+ return ue[t][e];
3888
3884
  const r = pt(t);
3889
3885
  for (let n = 0; n < r.length; n++) {
3890
- const i = r[n], o = eo(i, e);
3886
+ const i = r[n], o = Qi(i, e);
3891
3887
  if (o)
3892
- return Yi(e, t, o);
3888
+ return qi(e, t, o);
3893
3889
  }
3894
3890
  };
3895
3891
  let kt;
3896
- const Me = dt({});
3897
- function Ki(e) {
3892
+ const Re = dt({});
3893
+ function Ji(e) {
3898
3894
  return kt[e] || null;
3899
3895
  }
3900
- function Zr(e) {
3896
+ function Wr(e) {
3901
3897
  return e in kt;
3902
3898
  }
3903
- function eo(e, t) {
3904
- if (!Zr(e))
3899
+ function Qi(e, t) {
3900
+ if (!Wr(e))
3905
3901
  return null;
3906
- const r = Ki(e);
3907
- return Qi(r, t);
3902
+ const r = Ji(e);
3903
+ return Zi(r, t);
3908
3904
  }
3909
- function to(e) {
3905
+ function Yi(e) {
3910
3906
  if (e == null)
3911
3907
  return;
3912
3908
  const t = pt(e);
3913
3909
  for (let r = 0; r < t.length; r++) {
3914
3910
  const n = t[r];
3915
- if (Zr(n))
3911
+ if (Wr(n))
3916
3912
  return n;
3917
3913
  }
3918
3914
  }
3919
- function qr(e, ...t) {
3920
- delete ce[e], Me.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
3915
+ function Zr(e, ...t) {
3916
+ delete ue[e], Re.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3921
3917
  }
3922
- Le(
3923
- [Me],
3918
+ Ne(
3919
+ [Re],
3924
3920
  ([e]) => Object.keys(e)
3925
3921
  );
3926
- Me.subscribe((e) => kt = e);
3922
+ Re.subscribe((e) => kt = e);
3927
3923
  const lt = {};
3928
- function ro(e, t) {
3924
+ function Ki(e, t) {
3929
3925
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3930
3926
  }
3931
- function Jr(e) {
3927
+ function qr(e) {
3932
3928
  return lt[e];
3933
3929
  }
3934
- function no(e) {
3930
+ function eo(e) {
3935
3931
  return pt(e).map((t) => {
3936
- const r = Jr(t);
3932
+ const r = qr(t);
3937
3933
  return [t, r ? [...r] : []];
3938
3934
  }).filter(([, t]) => t.length > 0);
3939
3935
  }
@@ -3941,31 +3937,31 @@ function Ut(e) {
3941
3937
  return e == null ? !1 : pt(e).some(
3942
3938
  (t) => {
3943
3939
  var r;
3944
- return (r = Jr(t)) == null ? void 0 : r.size;
3940
+ return (r = qr(t)) == null ? void 0 : r.size;
3945
3941
  }
3946
3942
  );
3947
3943
  }
3948
- function io(e, t) {
3944
+ function to(e, t) {
3949
3945
  return Promise.all(
3950
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
3951
- ).then((n) => qr(e, ...n));
3946
+ t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
3947
+ ).then((n) => Zr(e, ...n));
3952
3948
  }
3953
- const Ve = {};
3954
- function Qr(e) {
3949
+ const je = {};
3950
+ function Jr(e) {
3955
3951
  if (!Ut(e))
3956
- return e in Ve ? Ve[e] : Promise.resolve();
3957
- const t = no(e);
3958
- return Ve[e] = Promise.all(
3952
+ return e in je ? je[e] : Promise.resolve();
3953
+ const t = eo(e);
3954
+ return je[e] = Promise.all(
3959
3955
  t.map(
3960
- ([r, n]) => io(r, n)
3956
+ ([r, n]) => to(r, n)
3961
3957
  )
3962
3958
  ).then(() => {
3963
3959
  if (Ut(e))
3964
- return Qr(e);
3965
- delete Ve[e];
3966
- }), Ve[e];
3960
+ return Jr(e);
3961
+ delete je[e];
3962
+ }), je[e];
3967
3963
  }
3968
- const oo = {
3964
+ const ro = {
3969
3965
  number: {
3970
3966
  scientific: { notation: "scientific" },
3971
3967
  engineering: { notation: "engineering" },
@@ -3994,57 +3990,57 @@ const oo = {
3994
3990
  timeZoneName: "short"
3995
3991
  }
3996
3992
  }
3997
- }, so = {
3993
+ }, no = {
3998
3994
  fallbackLocale: null,
3999
3995
  loadingDelay: 200,
4000
- formats: oo,
3996
+ formats: ro,
4001
3997
  warnOnMissingMessages: !0,
4002
3998
  handleMissingMessage: void 0,
4003
3999
  ignoreTag: !0
4004
- }, ao = so;
4005
- function Ce() {
4006
- return ao;
4000
+ }, io = no;
4001
+ function Le() {
4002
+ return io;
4007
4003
  }
4008
4004
  const xt = dt(!1);
4009
- var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4005
+ 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) => {
4010
4006
  for (var r in t || (t = {}))
4011
- ho.call(t, r) && ur(e, r, t[r]);
4007
+ lo.call(t, r) && ur(e, r, t[r]);
4012
4008
  if (lr)
4013
4009
  for (var r of lr(t))
4014
- fo.call(t, r) && ur(e, r, t[r]);
4010
+ uo.call(t, r) && ur(e, r, t[r]);
4015
4011
  return e;
4016
- }, po = (e, t) => uo(e, co(t));
4012
+ }, ho = (e, t) => so(e, ao(t));
4017
4013
  let Ft;
4018
4014
  const ct = dt(null);
4019
4015
  function cr(e) {
4020
4016
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4021
4017
  }
4022
- function pt(e, t = Ce().fallbackLocale) {
4018
+ function pt(e, t = Le().fallbackLocale) {
4023
4019
  const r = cr(e);
4024
4020
  return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4025
4021
  }
4026
- function ge() {
4022
+ function ve() {
4027
4023
  return Ft ?? void 0;
4028
4024
  }
4029
4025
  ct.subscribe((e) => {
4030
4026
  Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4031
4027
  });
4032
- const go = (e) => {
4033
- if (e && to(e) && Ut(e)) {
4034
- const { loadingDelay: t } = Ce();
4028
+ const fo = (e) => {
4029
+ if (e && Yi(e) && Ut(e)) {
4030
+ const { loadingDelay: t } = Le();
4035
4031
  let r;
4036
- return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4032
+ return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
4037
4033
  () => xt.set(!0),
4038
4034
  t
4039
- ) : xt.set(!0), Qr(e).then(() => {
4035
+ ) : xt.set(!0), Jr(e).then(() => {
4040
4036
  ct.set(e);
4041
4037
  }).finally(() => {
4042
4038
  clearTimeout(r), xt.set(!1);
4043
4039
  });
4044
4040
  }
4045
4041
  return ct.set(e);
4046
- }, he = po(mo({}, ct), {
4047
- set: go
4042
+ }, ce = ho(co({}, ct), {
4043
+ set: fo
4048
4044
  }), gt = (e) => {
4049
4045
  const t = /* @__PURE__ */ Object.create(null);
4050
4046
  return (n) => {
@@ -4052,92 +4048,92 @@ const go = (e) => {
4052
4048
  return i in t ? t[i] : t[i] = e(n);
4053
4049
  };
4054
4050
  };
4055
- var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
4051
+ 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) => {
4056
4052
  for (var r in t || (t = {}))
4057
- Yr.call(t, r) && hr(e, r, t[r]);
4053
+ Qr.call(t, r) && hr(e, r, t[r]);
4058
4054
  if (ht)
4059
4055
  for (var r of ht(t))
4060
- Kr.call(t, r) && hr(e, r, t[r]);
4056
+ Yr.call(t, r) && hr(e, r, t[r]);
4061
4057
  return e;
4062
- }, Ne = (e, t) => {
4058
+ }, Ue = (e, t) => {
4063
4059
  var r = {};
4064
4060
  for (var n in e)
4065
- Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4061
+ Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4066
4062
  if (e != null && ht)
4067
4063
  for (var n of ht(e))
4068
- t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4064
+ t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
4069
4065
  return r;
4070
4066
  };
4071
- const Ze = (e, t) => {
4072
- const { formats: r } = Ce();
4067
+ const We = (e, t) => {
4068
+ const { formats: r } = Le();
4073
4069
  if (e in r && t in r[e])
4074
4070
  return r[e][t];
4075
4071
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4076
- }, vo = gt(
4072
+ }, po = gt(
4077
4073
  (e) => {
4078
- var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4074
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4079
4075
  if (r == null)
4080
4076
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4081
- return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4077
+ return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4082
4078
  }
4083
- ), yo = gt(
4079
+ ), go = gt(
4084
4080
  (e) => {
4085
- var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4081
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4086
4082
  if (r == null)
4087
4083
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4088
- return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4084
+ return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4089
4085
  }
4090
- ), _o = gt(
4086
+ ), bo = gt(
4091
4087
  (e) => {
4092
- var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4088
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4093
4089
  if (r == null)
4094
4090
  throw new Error(
4095
4091
  '[svelte-i18n] A "locale" must be set to format time values'
4096
4092
  );
4097
- return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4093
+ return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4098
4094
  }
4099
- ), Eo = (e = {}) => {
4095
+ ), vo = (e = {}) => {
4100
4096
  var t = e, {
4101
- locale: r = ge()
4102
- } = t, n = Ne(t, [
4097
+ locale: r = ve()
4098
+ } = t, n = Ue(t, [
4103
4099
  "locale"
4104
4100
  ]);
4105
- return vo($t({ locale: r }, n));
4106
- }, wo = (e = {}) => {
4101
+ return po(Gt({ locale: r }, n));
4102
+ }, yo = (e = {}) => {
4107
4103
  var t = e, {
4108
- locale: r = ge()
4109
- } = t, n = Ne(t, [
4104
+ locale: r = ve()
4105
+ } = t, n = Ue(t, [
4110
4106
  "locale"
4111
4107
  ]);
4112
- return yo($t({ locale: r }, n));
4113
- }, xo = (e = {}) => {
4108
+ return go(Gt({ locale: r }, n));
4109
+ }, _o = (e = {}) => {
4114
4110
  var t = e, {
4115
- locale: r = ge()
4116
- } = t, n = Ne(t, [
4111
+ locale: r = ve()
4112
+ } = t, n = Ue(t, [
4117
4113
  "locale"
4118
4114
  ]);
4119
- return _o($t({ locale: r }, n));
4120
- }, So = gt(
4115
+ return bo(Gt({ locale: r }, n));
4116
+ }, Eo = gt(
4121
4117
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4122
- (e, t = ge()) => new Ji(e, t, Ce().formats, {
4123
- ignoreTag: Ce().ignoreTag
4118
+ (e, t = ve()) => new Wi(e, t, Le().formats, {
4119
+ ignoreTag: Le().ignoreTag
4124
4120
  })
4125
- ), Po = (e, t = {}) => {
4121
+ ), wo = (e, t = {}) => {
4126
4122
  var r, n, i, o;
4127
4123
  let s = t;
4128
4124
  typeof e == "object" && (s = e, e = s.id);
4129
4125
  const {
4130
4126
  values: a,
4131
- locale: c = ge(),
4127
+ locale: c = ve(),
4132
4128
  default: l
4133
4129
  } = s;
4134
4130
  if (c == null)
4135
4131
  throw new Error(
4136
4132
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4137
4133
  );
4138
- let u = Wr(e, c);
4134
+ let u = Xr(e, c);
4139
4135
  if (!u)
4140
- u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4136
+ 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;
4141
4137
  else if (typeof u != "string")
4142
4138
  return console.warn(
4143
4139
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4146,7 +4142,7 @@ const Ze = (e, t) => {
4146
4142
  return u;
4147
4143
  let f = u;
4148
4144
  try {
4149
- f = So(u, c).format(a);
4145
+ f = Eo(u, c).format(a);
4150
4146
  } catch (d) {
4151
4147
  d instanceof Error && console.warn(
4152
4148
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4154,13 +4150,36 @@ const Ze = (e, t) => {
4154
4150
  );
4155
4151
  }
4156
4152
  return f;
4157
- }, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ge()) => Wr(e, t), Io = Le([he, Me], () => Po);
4158
- Le([he], () => To);
4159
- Le([he], () => Ho);
4160
- Le([he], () => Bo);
4161
- Le([he, Me], () => Ao);
4162
- window.emWidgets = { topic: Gn };
4163
- 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));
4153
+ }, 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);
4154
+ Ne([ce], () => xo);
4155
+ Ne([ce], () => So);
4156
+ Ne([ce], () => Po);
4157
+ Ne([ce, Re], () => To);
4158
+ window.emWidgets = { topic: Dn };
4159
+ 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));
4160
+ function Ao(e, t) {
4161
+ if (e) {
4162
+ const r = document.createElement("style");
4163
+ r.innerHTML = t, e.appendChild(r);
4164
+ }
4165
+ }
4166
+ function Io(e, t) {
4167
+ const r = new URL(t);
4168
+ fetch(r.href).then((n) => n.text()).then((n) => {
4169
+ const i = document.createElement("style");
4170
+ i.innerHTML = n, e && e.appendChild(i);
4171
+ }).catch((n) => {
4172
+ console.error("There was an error while trying to load client styling from URL", n);
4173
+ });
4174
+ }
4175
+ function Co(e, t, r) {
4176
+ if (window.emMessageBus) {
4177
+ const n = document.createElement("style");
4178
+ window.emMessageBus.subscribe(t, (i) => {
4179
+ n.innerHTML = i, e && e.appendChild(n);
4180
+ });
4181
+ }
4182
+ }
4164
4183
  if (typeof window < "u") {
4165
4184
  let e = function(t) {
4166
4185
  return function(...r) {
@@ -4173,20 +4192,20 @@ if (typeof window < "u") {
4173
4192
  }
4174
4193
  };
4175
4194
  };
4176
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-H1CjJeVy.js").then(({ default: t }) => {
4195
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-C7wZcrhZ.js").then(({ default: t }) => {
4177
4196
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4178
4197
  });
4179
4198
  }
4180
4199
  function Oo({ withLocale: e, translations: t }) {
4181
- he.subscribe((r) => {
4182
- r == null && (Me.set(t), he.set(e));
4200
+ ce.subscribe((r) => {
4201
+ r == null && (Re.set(t), ce.set(e));
4183
4202
  });
4184
4203
  }
4185
4204
  function fr(e, t) {
4186
- qr(e, t);
4205
+ Zr(e, t);
4187
4206
  }
4188
4207
  function Lo(e) {
4189
- he.set(e);
4208
+ ce.set(e);
4190
4209
  }
4191
4210
  const dr = {
4192
4211
  en: {
@@ -4332,19 +4351,19 @@ const dr = {
4332
4351
  loginForgotPassword: "I forgot my password",
4333
4352
  successMessage: "Login successful"
4334
4353
  }
4335
- }, { document: mr } = sn;
4354
+ };
4336
4355
  function Mo(e) {
4337
- an(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)}}');
4356
+ 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)}}');
4338
4357
  }
4339
- function pr(e) {
4358
+ function mr(e) {
4340
4359
  let t, r;
4341
4360
  return {
4342
4361
  c() {
4343
- t = S("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4362
+ t = x("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4344
4363
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4345
4364
  },
4346
4365
  m(n, i) {
4347
- L(n, t, i);
4366
+ M(n, t, i);
4348
4367
  },
4349
4368
  p(n, i) {
4350
4369
  i[0] & /*captchakey*/
@@ -4361,22 +4380,22 @@ function No(e) {
4361
4380
  function i(a, c) {
4362
4381
  return (
4363
4382
  /*startSmsValidation*/
4364
- a[20] ? Fo : Uo
4383
+ a[21] ? Fo : Uo
4365
4384
  );
4366
4385
  }
4367
4386
  let o = i(e), s = o(e);
4368
4387
  return {
4369
4388
  c() {
4370
- t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4371
- (e[10] ? "FormMobileContainer" : ""));
4389
+ t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4390
+ (e[11] ? "FormMobileContainer" : ""));
4372
4391
  },
4373
4392
  m(a, c) {
4374
- L(a, t, c), m(t, r), s.m(r, null);
4393
+ M(a, t, c), m(t, r), s.m(r, null);
4375
4394
  },
4376
4395
  p(a, c) {
4377
4396
  o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), c[0] & /*mobileView*/
4378
- 1024 && n !== (n = "FormContainer " + /*mobileView*/
4379
- (a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
4397
+ 2048 && n !== (n = "FormContainer " + /*mobileView*/
4398
+ (a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
4380
4399
  },
4381
4400
  d(a) {
4382
4401
  a && I(t), s.d();
@@ -4387,10 +4406,10 @@ function Ro(e) {
4387
4406
  let t;
4388
4407
  return {
4389
4408
  c() {
4390
- t = S("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4409
+ t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4391
4410
  },
4392
4411
  m(r, n) {
4393
- L(r, t, n);
4412
+ M(r, t, n);
4394
4413
  },
4395
4414
  p: Z,
4396
4415
  d(r) {
@@ -4401,157 +4420,157 @@ function Ro(e) {
4401
4420
  function Uo(e) {
4402
4421
  let t, r, n = (
4403
4422
  /*$_*/
4404
- e[21]("loginTitle") + ""
4423
+ e[22]("loginTitle") + ""
4405
4424
  ), i, o, s, a = (
4406
4425
  /*$_*/
4407
- e[21]("loginSubtitle") + ""
4426
+ e[22]("loginSubtitle") + ""
4408
4427
  ), c, l, u, f = (
4409
4428
  /*$_*/
4410
- e[21]("loginSubtitleRegister") + ""
4411
- ), d, b, y, g, x, M, q = (
4429
+ e[22]("loginSubtitleRegister") + ""
4430
+ ), d, b, y, g, S, C, z = (
4412
4431
  /*$_*/
4413
- e[21]("loginUsername") + ""
4414
- ), H, R, G, J, B, ie, re, ne, fe, A, W, be = (
4432
+ e[22]("loginUsername") + ""
4433
+ ), R, U, A, re, H, ie, he, J, le, B, ne, X = (
4415
4434
  /*$_*/
4416
- e[21]("loginPassword") + ""
4417
- ), Re, Ue, oe, qe, C, ve, Fe, ye, _e, de, De, me, K, pe = (
4435
+ e[22]("loginPassword") + ""
4436
+ ), Fe, Ze, fe, de, O, ye, qe, _e, Ee, me, De, we, Q, pe = (
4418
4437
  /*$_*/
4419
- e[21]("loginButton") + ""
4420
- ), ke, Je, ue, Ee = (
4438
+ e[22]("loginButton") + ""
4439
+ ), xe, Je, ge, be = (
4421
4440
  /*$_*/
4422
- e[21]("loginForgotPassword") + ""
4423
- ), $e, Ge, Qe, U = (
4441
+ e[22]("loginForgotPassword") + ""
4442
+ ), ke, Ge, Qe, F = (
4424
4443
  /*invalidName*/
4425
- e[13] && gr(e)
4444
+ e[14] && pr(e)
4426
4445
  );
4427
4446
  function Ye(v, P) {
4428
4447
  return (
4429
4448
  /*isPasswordVisible*/
4430
- v[18] ? ko : Do
4449
+ v[19] ? ko : Do
4431
4450
  );
4432
4451
  }
4433
- let we = Ye(e), Q = we(e), F = (
4434
- /*invalidPassword*/
4435
- e[14] && /*simplepasswordvalidation*/
4436
- e[2] !== "true" && br(e)
4437
- ), D = (
4452
+ let Se = Ye(e), Y = Se(e), D = (
4438
4453
  /*invalidPassword*/
4439
- e[14] && /*simplepasswordvalidation*/
4440
- e[2] === "true" && vr(e)
4454
+ e[15] && /*simplepasswordvalidation*/
4455
+ e[2] !== "true" && gr(e)
4441
4456
  ), k = (
4457
+ /*invalidPassword*/
4458
+ e[15] && /*simplepasswordvalidation*/
4459
+ e[2] === "true" && br(e)
4460
+ ), G = (
4442
4461
  /*errorMessage*/
4443
- e[15] && yr(e)
4462
+ e[16] && vr(e)
4444
4463
  );
4445
4464
  return {
4446
4465
  c() {
4447
- t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(), y = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), re = z(), U && U.c(), fe = z(), A = S("div"), W = S("label"), Re = N(be), Ue = N(":"), oe = S("span"), oe.textContent = "*", qe = z(), C = S("input"), Fe = z(), Q.c(), ye = z(), F && F.c(), _e = z(), D && D.c(), De = z(), k && k.c(), me = z(), K = S("button"), ke = N(pe), Je = z(), ue = S("button"), $e = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", ie = /*savecredentials*/
4448
- e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ne = "UserContainer " + /*invalidName*/
4449
- (e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ve = /*savecredentials*/
4450
- e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", de = "PasswordContainer " + /*invalidPassword*/
4451
- (e[14] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
4452
- e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4466
+ t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), c = N(a), l = j(), u = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", re = j(), H = x("input"), he = j(), F && F.c(), le = j(), B = x("div"), ne = x("label"), Fe = N(X), Ze = N(":"), fe = x("span"), fe.textContent = "*", de = j(), O = x("input"), qe = j(), Y.c(), _e = j(), D && D.c(), Ee = j(), k && k.c(), De = j(), G && G.c(), we = j(), Q = x("button"), xe = N(pe), Je = j(), ge = x("button"), ke = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocapitalize", "none"), h(H, "autocomplete", ie = /*savecredentials*/
4467
+ e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
4468
+ (e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "for", "current-password"), h(O, "type", "password"), h(O, "name", "current-password"), h(O, "id", "current-password"), h(O, "autocapitalize", "none"), h(O, "autocomplete", ye = /*savecredentials*/
4469
+ e[6] ? "current-password" : "off"), h(O, "aria-describedby", "password-constraints"), O.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
4470
+ (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4471
+ e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4453
4472
  },
4454
4473
  m(v, P) {
4455
- L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, P), L(v, y, P), m(y, g), m(g, x), m(x, M), m(M, H), m(M, R), m(M, G), m(x, J), m(x, B), rt(
4456
- B,
4474
+ M(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), M(v, b, P), M(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
4475
+ H,
4457
4476
  /*userValue*/
4458
- e[11]
4459
- ), m(x, re), U && U.m(x, null), m(g, fe), m(g, A), m(A, W), m(W, Re), m(W, Ue), m(W, oe), m(A, qe), m(A, C), rt(
4460
- C,
4461
- /*userPassword*/
4462
4477
  e[12]
4463
- ), e[35](C), m(A, Fe), Q.m(A, null), m(A, ye), F && F.m(A, null), m(A, _e), D && D.m(A, null), m(g, De), k && k.m(g, null), m(g, me), m(g, K), m(K, ke), m(g, Je), m(g, ue), m(ue, $e), Ge || (Qe = [
4464
- se(
4478
+ ), m(S, he), F && F.m(S, null), m(g, le), m(g, B), m(B, ne), m(ne, Fe), m(ne, Ze), m(ne, fe), m(B, de), m(B, O), rt(
4479
+ O,
4480
+ /*userPassword*/
4481
+ e[13]
4482
+ ), e[36](O), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g, De), G && G.m(g, null), m(g, we), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, ke), Ge || (Qe = [
4483
+ oe(
4465
4484
  u,
4466
4485
  "click",
4467
4486
  /*click_handler*/
4468
- e[32]
4487
+ e[33]
4469
4488
  ),
4470
- se(
4471
- B,
4489
+ oe(
4490
+ H,
4472
4491
  "input",
4473
4492
  /*input0_input_handler*/
4474
- e[33]
4493
+ e[34]
4475
4494
  ),
4476
- se(
4477
- B,
4495
+ oe(
4496
+ H,
4478
4497
  "input",
4479
4498
  /*validateUserName*/
4480
- e[27]
4499
+ e[28]
4481
4500
  ),
4482
- se(
4483
- C,
4501
+ oe(
4502
+ O,
4484
4503
  "input",
4485
4504
  /*input1_input_handler*/
4486
- e[34]
4505
+ e[35]
4487
4506
  ),
4488
- se(
4489
- C,
4507
+ oe(
4508
+ O,
4490
4509
  "input",
4491
4510
  /*validatePassword*/
4492
- e[28]
4511
+ e[29]
4493
4512
  ),
4494
- se(
4495
- K,
4513
+ oe(
4514
+ Q,
4496
4515
  "click",
4497
4516
  /*click_handler_3*/
4498
- e[38]
4517
+ e[39]
4499
4518
  ),
4500
- se(
4501
- ue,
4519
+ oe(
4520
+ ge,
4502
4521
  "click",
4503
4522
  /*click_handler_4*/
4504
- e[39]
4523
+ e[40]
4505
4524
  )
4506
4525
  ], Ge = !0);
4507
4526
  },
4508
4527
  p(v, P) {
4509
4528
  P[0] & /*$_*/
4510
- 2097152 && n !== (n = /*$_*/
4511
- v[21]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
4512
- 2097152 && a !== (a = /*$_*/
4513
- v[21]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
4514
- 2097152 && f !== (f = /*$_*/
4515
- v[21]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
4516
- 2097152 && q !== (q = /*$_*/
4517
- v[21]("loginUsername") + "") && te(H, q), P[0] & /*savecredentials*/
4518
- 32 && ie !== (ie = /*savecredentials*/
4519
- v[5] ? "username email" : "off") && h(B, "autocomplete", ie), P[0] & /*userValue*/
4520
- 2048 && B.value !== /*userValue*/
4521
- v[11] && rt(
4522
- B,
4529
+ 4194304 && n !== (n = /*$_*/
4530
+ v[22]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
4531
+ 4194304 && a !== (a = /*$_*/
4532
+ v[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
4533
+ 4194304 && f !== (f = /*$_*/
4534
+ v[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
4535
+ 4194304 && z !== (z = /*$_*/
4536
+ v[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
4537
+ 64 && ie !== (ie = /*savecredentials*/
4538
+ v[6] ? "username email" : "off") && h(H, "autocomplete", ie), P[0] & /*userValue*/
4539
+ 4096 && H.value !== /*userValue*/
4540
+ v[12] && rt(
4541
+ H,
4523
4542
  /*userValue*/
4524
- v[11]
4543
+ v[12]
4525
4544
  ), /*invalidName*/
4526
- v[13] ? U ? U.p(v, P) : (U = gr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4527
- 8192 && ne !== (ne = "UserContainer " + /*invalidName*/
4528
- (v[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
4529
- 2097152 && be !== (be = /*$_*/
4530
- v[21]("loginPassword") + "") && te(Re, be), P[0] & /*savecredentials*/
4531
- 32 && ve !== (ve = /*savecredentials*/
4532
- v[5] ? "current-password" : "off") && h(C, "autocomplete", ve), P[0] & /*userPassword*/
4533
- 4096 && C.value !== /*userPassword*/
4534
- v[12] && rt(
4535
- C,
4545
+ 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*/
4546
+ 16384 && J !== (J = "UserContainer " + /*invalidName*/
4547
+ (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4548
+ 4194304 && X !== (X = /*$_*/
4549
+ v[22]("loginPassword") + "") && te(Fe, X), P[0] & /*savecredentials*/
4550
+ 64 && ye !== (ye = /*savecredentials*/
4551
+ v[6] ? "current-password" : "off") && h(O, "autocomplete", ye), P[0] & /*userPassword*/
4552
+ 8192 && O.value !== /*userPassword*/
4553
+ v[13] && rt(
4554
+ O,
4536
4555
  /*userPassword*/
4537
- v[12]
4538
- ), we === (we = Ye(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = we(v), Q && (Q.c(), Q.m(A, ye))), /*invalidPassword*/
4539
- v[14] && /*simplepasswordvalidation*/
4540
- v[2] !== "true" ? F ? F.p(v, P) : (F = br(v), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4541
- v[14] && /*simplepasswordvalidation*/
4542
- v[2] === "true" ? D ? D.p(v, P) : (D = vr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4543
- 16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
4544
- (v[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
4545
- v[15] ? k ? k.p(v, P) : (k = yr(v), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4546
- 2097152 && pe !== (pe = /*$_*/
4547
- v[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
4548
- 524288 && (K.disabled = /*isFormDataInvalid*/
4549
- v[19]), P[0] & /*$_*/
4550
- 2097152 && Ee !== (Ee = /*$_*/
4551
- v[21]("loginForgotPassword") + "") && te($e, Ee);
4556
+ v[13]
4557
+ ), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4558
+ v[15] && /*simplepasswordvalidation*/
4559
+ v[2] !== "true" ? D ? D.p(v, P) : (D = gr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4560
+ v[15] && /*simplepasswordvalidation*/
4561
+ 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*/
4562
+ 32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4563
+ (v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
4564
+ v[16] ? G ? G.p(v, P) : (G = vr(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
4565
+ 4194304 && pe !== (pe = /*$_*/
4566
+ v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
4567
+ 1048576 && (Q.disabled = /*isFormDataInvalid*/
4568
+ v[20]), P[0] & /*$_*/
4569
+ 4194304 && be !== (be = /*$_*/
4570
+ v[22]("loginForgotPassword") + "") && te(ke, be);
4552
4571
  },
4553
4572
  d(v) {
4554
- v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), Ge = !1, Oe(Qe);
4573
+ v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), Ge = !1, Me(Qe);
4555
4574
  }
4556
4575
  };
4557
4576
  }
@@ -4559,78 +4578,89 @@ function Fo(e) {
4559
4578
  let t;
4560
4579
  return {
4561
4580
  c() {
4562
- t = S("general-player-sms-verification-form"), Y(
4581
+ t = x("general-player-sms-verification-form"), W(
4563
4582
  t,
4564
4583
  "endpoint",
4565
4584
  /*endpoint*/
4566
4585
  e[0]
4567
- ), Y(
4586
+ ), W(
4568
4587
  t,
4569
4588
  "number",
4570
4589
  /*number*/
4571
- e[9]
4572
- ), Y(
4590
+ e[10]
4591
+ ), W(
4573
4592
  t,
4574
4593
  "clientstyling",
4575
4594
  /*clientstyling*/
4576
- e[3]
4577
- ), Y(
4595
+ e[4]
4596
+ ), W(
4578
4597
  t,
4579
4598
  "clientstylingurl",
4580
4599
  /*clientstylingurl*/
4581
- e[4]
4582
- ), Y(
4600
+ e[5]
4601
+ ), W(
4583
4602
  t,
4584
4603
  "playerid",
4585
4604
  /*playerId*/
4586
- e[7]
4587
- ), Y(
4605
+ e[8]
4606
+ ), W(
4588
4607
  t,
4589
4608
  "tokenid",
4590
4609
  /*smsTokenId*/
4591
- e[8]
4610
+ e[9]
4611
+ ), W(
4612
+ t,
4613
+ "mbsource",
4614
+ /*mbsource*/
4615
+ e[3]
4592
4616
  );
4593
4617
  },
4594
4618
  m(r, n) {
4595
- L(r, t, n);
4619
+ M(r, t, n);
4596
4620
  },
4597
4621
  p(r, n) {
4598
4622
  n[0] & /*endpoint*/
4599
- 1 && Y(
4623
+ 1 && W(
4600
4624
  t,
4601
4625
  "endpoint",
4602
4626
  /*endpoint*/
4603
4627
  r[0]
4604
4628
  ), n[0] & /*number*/
4605
- 512 && Y(
4629
+ 1024 && W(
4606
4630
  t,
4607
4631
  "number",
4608
4632
  /*number*/
4609
- r[9]
4633
+ r[10]
4610
4634
  ), n[0] & /*clientstyling*/
4611
- 8 && Y(
4635
+ 16 && W(
4612
4636
  t,
4613
4637
  "clientstyling",
4614
4638
  /*clientstyling*/
4615
- r[3]
4639
+ r[4]
4616
4640
  ), n[0] & /*clientstylingurl*/
4617
- 16 && Y(
4641
+ 32 && W(
4618
4642
  t,
4619
4643
  "clientstylingurl",
4620
4644
  /*clientstylingurl*/
4621
- r[4]
4645
+ r[5]
4622
4646
  ), n[0] & /*playerId*/
4623
- 128 && Y(
4647
+ 256 && W(
4624
4648
  t,
4625
4649
  "playerid",
4626
4650
  /*playerId*/
4627
- r[7]
4651
+ r[8]
4628
4652
  ), n[0] & /*smsTokenId*/
4629
- 256 && Y(
4653
+ 512 && W(
4630
4654
  t,
4631
4655
  "tokenid",
4632
4656
  /*smsTokenId*/
4633
- r[8]
4657
+ r[9]
4658
+ ), n[0] & /*mbsource*/
4659
+ 8 && W(
4660
+ t,
4661
+ "mbsource",
4662
+ /*mbsource*/
4663
+ r[3]
4634
4664
  );
4635
4665
  },
4636
4666
  d(r) {
@@ -4638,22 +4668,22 @@ function Fo(e) {
4638
4668
  }
4639
4669
  };
4640
4670
  }
4641
- function gr(e) {
4671
+ function pr(e) {
4642
4672
  let t, r = (
4643
4673
  /*$_*/
4644
- e[21]("loginUsernameError") + ""
4674
+ e[22]("loginUsernameError") + ""
4645
4675
  ), n;
4646
4676
  return {
4647
4677
  c() {
4648
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4678
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4649
4679
  },
4650
4680
  m(i, o) {
4651
- L(i, t, o), m(t, n);
4681
+ M(i, t, o), m(t, n);
4652
4682
  },
4653
4683
  p(i, o) {
4654
4684
  o[0] & /*$_*/
4655
- 2097152 && r !== (r = /*$_*/
4656
- i[21]("loginUsernameError") + "") && te(n, r);
4685
+ 4194304 && r !== (r = /*$_*/
4686
+ i[22]("loginUsernameError") + "") && te(n, r);
4657
4687
  },
4658
4688
  d(i) {
4659
4689
  i && I(t);
@@ -4664,14 +4694,14 @@ function Do(e) {
4664
4694
  let t, r, n, i, o, s, a, c, l;
4665
4695
  return {
4666
4696
  c() {
4667
- t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4697
+ t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("path"), a = L("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4668
4698
  },
4669
4699
  m(u, f) {
4670
- L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = se(
4700
+ M(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = oe(
4671
4701
  t,
4672
4702
  "click",
4673
4703
  /*click_handler_2*/
4674
- e[37]
4704
+ e[38]
4675
4705
  ), c = !0);
4676
4706
  },
4677
4707
  p: Z,
@@ -4684,84 +4714,84 @@ function ko(e) {
4684
4714
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4685
4715
  return {
4686
4716
  c() {
4687
- t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4717
+ t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), c = L("path"), l = L("path"), u = L("g"), f = L("path"), d = L("path"), b = L("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4688
4718
  },
4689
- m(x, M) {
4690
- L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = se(
4719
+ m(S, C) {
4720
+ M(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = oe(
4691
4721
  t,
4692
4722
  "click",
4693
4723
  /*click_handler_1*/
4694
- e[36]
4724
+ e[37]
4695
4725
  ), y = !0);
4696
4726
  },
4697
4727
  p: Z,
4698
- d(x) {
4699
- x && I(t), y = !1, g();
4728
+ d(S) {
4729
+ S && I(t), y = !1, g();
4700
4730
  }
4701
4731
  };
4702
4732
  }
4703
- function br(e) {
4733
+ function gr(e) {
4704
4734
  let t, r = (
4705
4735
  /*$_*/
4706
- e[21]("loginPasswordError") + ""
4736
+ e[22]("loginPasswordError") + ""
4707
4737
  ), n;
4708
4738
  return {
4709
4739
  c() {
4710
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4740
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4711
4741
  },
4712
4742
  m(i, o) {
4713
- L(i, t, o), m(t, n);
4743
+ M(i, t, o), m(t, n);
4714
4744
  },
4715
4745
  p(i, o) {
4716
4746
  o[0] & /*$_*/
4717
- 2097152 && r !== (r = /*$_*/
4718
- i[21]("loginPasswordError") + "") && te(n, r);
4747
+ 4194304 && r !== (r = /*$_*/
4748
+ i[22]("loginPasswordError") + "") && te(n, r);
4719
4749
  },
4720
4750
  d(i) {
4721
4751
  i && I(t);
4722
4752
  }
4723
4753
  };
4724
4754
  }
4725
- function vr(e) {
4755
+ function br(e) {
4726
4756
  let t, r = (
4727
4757
  /*$_*/
4728
- e[21]("loginSimplePasswordError") + ""
4758
+ e[22]("loginSimplePasswordError") + ""
4729
4759
  ), n;
4730
4760
  return {
4731
4761
  c() {
4732
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4762
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4733
4763
  },
4734
4764
  m(i, o) {
4735
- L(i, t, o), m(t, n);
4765
+ M(i, t, o), m(t, n);
4736
4766
  },
4737
4767
  p(i, o) {
4738
4768
  o[0] & /*$_*/
4739
- 2097152 && r !== (r = /*$_*/
4740
- i[21]("loginSimplePasswordError") + "") && te(n, r);
4769
+ 4194304 && r !== (r = /*$_*/
4770
+ i[22]("loginSimplePasswordError") + "") && te(n, r);
4741
4771
  },
4742
4772
  d(i) {
4743
4773
  i && I(t);
4744
4774
  }
4745
4775
  };
4746
4776
  }
4747
- function yr(e) {
4777
+ function vr(e) {
4748
4778
  let t, r;
4749
4779
  return {
4750
4780
  c() {
4751
- t = S("p"), r = N(
4781
+ t = x("p"), r = N(
4752
4782
  /*errorMessage*/
4753
- e[15]
4783
+ e[16]
4754
4784
  ), h(t, "class", "ErrorMessage");
4755
4785
  },
4756
4786
  m(n, i) {
4757
- L(n, t, i), m(t, r);
4787
+ M(n, t, i), m(t, r);
4758
4788
  },
4759
4789
  p(n, i) {
4760
4790
  i[0] & /*errorMessage*/
4761
- 32768 && te(
4791
+ 65536 && te(
4762
4792
  r,
4763
4793
  /*errorMessage*/
4764
- n[15]
4794
+ n[16]
4765
4795
  );
4766
4796
  },
4767
4797
  d(n) {
@@ -4769,21 +4799,21 @@ function yr(e) {
4769
4799
  }
4770
4800
  };
4771
4801
  }
4772
- function $o(e) {
4802
+ function Go(e) {
4773
4803
  let t, r, n, i, o, s = (
4774
4804
  /*captchakey*/
4775
- e[1] && pr(e)
4805
+ e[1] && mr(e)
4776
4806
  );
4777
4807
  function a(u, f) {
4778
4808
  return (
4779
4809
  /*isLoading*/
4780
- u[16] ? Ro : No
4810
+ u[17] ? Ro : No
4781
4811
  );
4782
4812
  }
4783
4813
  let c = a(e), l = c(e);
4784
4814
  return {
4785
4815
  c() {
4786
- s && s.c(), t = cn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4816
+ s && s.c(), t = an(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4787
4817
  n,
4788
4818
  "data-sitekey",
4789
4819
  /*captchakey*/
@@ -4791,11 +4821,11 @@ function $o(e) {
4791
4821
  ), h(o, "class", "PlayerLoginFormWrapper");
4792
4822
  },
4793
4823
  m(u, f) {
4794
- s && s.m(mr.head, null), m(mr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4824
+ s && s.m(document.head, null), m(document.head, t), M(u, r, f), M(u, n, f), M(u, i, f), M(u, o, f), l.m(o, null), e[41](o);
4795
4825
  },
4796
4826
  p(u, f) {
4797
4827
  /*captchakey*/
4798
- u[1] ? s ? s.p(u, f) : (s = pr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4828
+ 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*/
4799
4829
  2 && h(
4800
4830
  n,
4801
4831
  "data-sitekey",
@@ -4806,89 +4836,89 @@ function $o(e) {
4806
4836
  i: Z,
4807
4837
  o: Z,
4808
4838
  d(u) {
4809
- u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[40](null);
4839
+ u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[41](null);
4810
4840
  }
4811
4841
  };
4812
4842
  }
4813
- let Go = "Please use this code {0} to activate your account";
4843
+ let $o = "Please use this code {0} to activate your account";
4814
4844
  function jo(e, t, r) {
4815
4845
  let n;
4816
- on(e, Io, (p) => r(21, n = p));
4817
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
4846
+ rn(e, Ho, (p) => r(22, n = p));
4847
+ 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 = {
4818
4848
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4819
4849
  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,
4820
4850
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4821
4851
  };
4822
4852
  Oo({ withLocale: "en", translations: {} });
4823
- const qe = () => {
4824
- fetch(f).then(($) => $.json()).then(($) => {
4825
- Object.keys($).forEach((j) => {
4826
- fr(j, $[j]);
4853
+ const O = () => {
4854
+ fetch(d).then((q) => q.json()).then((q) => {
4855
+ Object.keys(q).forEach((ee) => {
4856
+ fr(ee, q[ee]);
4827
4857
  });
4828
- }).catch(($) => {
4829
- console.log($);
4858
+ }).catch((q) => {
4859
+ console.log(q);
4830
4860
  });
4831
4861
  };
4832
4862
  Object.keys(dr).forEach((p) => {
4833
4863
  fr(p, dr[p]);
4834
4864
  });
4835
- const C = () => new Promise((p, $) => {
4865
+ const ye = () => new Promise((p, q) => {
4836
4866
  grecaptcha.ready(() => {
4837
- grecaptcha.execute(o, { action: "submit" }).then((j) => {
4838
- p(j);
4867
+ grecaptcha.execute(o, { action: "submit" }).then((ee) => {
4868
+ p(ee);
4839
4869
  });
4840
4870
  });
4841
- }), ve = () => {
4842
- c == "true" && (oe.password = /^(?!.* ).{8,20}$/);
4843
- }, Fe = () => {
4844
- r(18, fe = !0), _e();
4845
- }, ye = () => {
4846
- r(18, fe = !1), _e();
4871
+ }), qe = () => {
4872
+ c == "true" && (de.password = /^(?!.* ).{8,20}$/);
4847
4873
  }, _e = () => {
4848
- r(17, ne.type = fe ? "text" : "password", ne);
4849
- }, de = () => {
4874
+ r(19, B = !0), me();
4875
+ }, Ee = () => {
4876
+ r(19, B = !1), me();
4877
+ }, me = () => {
4878
+ r(18, le.type = B ? "text" : "password", le);
4879
+ }, De = () => {
4850
4880
  window.postMessage({ type: "ToRegister" }, window.location.href);
4851
- }, De = (p) => {
4881
+ }, we = (p) => {
4852
4882
  p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4853
- }, me = (p) => {
4854
- p?.preventDefault(), C().then(($) => {
4855
- K(H) && pe(R) && (G = {
4856
- username: H,
4857
- password: R,
4858
- token: $
4859
- }, r(16, re = !0), $e(G));
4883
+ }, Q = (p) => {
4884
+ p?.preventDefault(), ye().then((q) => {
4885
+ pe(U) && xe(A) && (re = {
4886
+ username: U,
4887
+ password: A,
4888
+ token: q
4889
+ }, r(17, J = !0), Ge(re));
4860
4890
  });
4861
- }, K = (p) => !!((oe.user.test(p) || oe.email.test(p)) && p.length <= 100), pe = (p) => !!oe.password.test(p), ke = () => {
4862
- r(13, J = !K(H)), r(19, A = !(!J && !B && R));
4863
- }, Je = () => {
4864
- r(14, B = !pe(R)), r(19, A = !(!J && !B && H));
4865
- }, ue = (p) => {
4891
+ }, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
4892
+ r(14, H = !pe(U)), r(20, ne = !(!H && !ie && A));
4893
+ }, ge = () => {
4894
+ r(15, ie = !xe(A)), r(20, ne = !(!H && !ie && U));
4895
+ }, be = (p) => {
4866
4896
  if (p.data)
4867
4897
  switch (p.data.type) {
4868
4898
  case "ModalLoader":
4869
- r(16, re = !1);
4899
+ r(17, J = !1);
4870
4900
  break;
4871
4901
  case "UserSessionID":
4872
- r(16, re = !1);
4902
+ r(17, J = !1);
4873
4903
  break;
4874
4904
  case "SmsHasBeenValidated":
4875
- me();
4905
+ Q();
4876
4906
  break;
4877
4907
  }
4878
- }, Ee = (p) => {
4908
+ }, ke = (p) => {
4879
4909
  typeof gtag == "function" && gtag("event", "Login", {
4880
4910
  context: "GeneralPlayerLoginRegisterPage"
4881
4911
  });
4882
- }, $e = async ({ username: p, password: $, token: j }) => {
4912
+ }, Ge = async ({ username: p, password: q, token: ee }) => {
4883
4913
  let Ke = {
4884
4914
  "Content-Type": "application/json",
4885
- "g-recaptcha-response": j
4886
- }, et = { username: p, password: $ }, rn = {
4915
+ "g-recaptcha-response": ee
4916
+ }, et = { username: p, password: q }, en = {
4887
4917
  method: "POST",
4888
4918
  headers: Ke,
4889
4919
  body: JSON.stringify(et)
4890
4920
  };
4891
- fetch(`${i}/v1/player/login/player`, rn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4921
+ fetch(`${i}/v1/player/login/player`, en).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4892
4922
  {
4893
4923
  type: "WidgetNotification",
4894
4924
  data: {
@@ -4897,13 +4927,13 @@ function jo(e, t, r) {
4897
4927
  }
4898
4928
  },
4899
4929
  window.location.href
4900
- )), V.json())).then((V) => {
4901
- if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Ue = !0), Ge(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
4930
+ )), $.json())).then(($) => {
4931
+ if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, fe = !0), Qe(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
4902
4932
  if (window.postMessage(
4903
4933
  {
4904
4934
  type: "UserSessionID",
4905
- session: V.sessionID,
4906
- userid: V.universalID
4935
+ session: $.sessionID,
4936
+ userid: $.universalID
4907
4937
  },
4908
4938
  window.location.href
4909
4939
  ), window.postMessage(
@@ -4915,171 +4945,157 @@ function jo(e, t, r) {
4915
4945
  }
4916
4946
  },
4917
4947
  window.location.href
4918
- ), window.PasswordCredential && d == "true") {
4919
- const je = new PasswordCredential({
4948
+ ), window.PasswordCredential && b == "true") {
4949
+ const $e = new PasswordCredential({
4920
4950
  password: et.password,
4921
4951
  id: et.username
4922
4952
  });
4923
- navigator.credentials.store(je);
4953
+ navigator.credentials.store($e);
4924
4954
  }
4925
- Ee();
4955
+ ke();
4926
4956
  } else
4927
4957
  try {
4928
- let je = V.error;
4929
- r(15, ie = je), r(16, re = !1), window.postMessage(
4958
+ let $e = $.error;
4959
+ r(16, he = $e), r(17, J = !1), window.postMessage(
4930
4960
  {
4931
4961
  type: "WidgetNotification",
4932
- data: { type: "error", message: je }
4962
+ data: { type: "error", message: $e }
4933
4963
  },
4934
4964
  window.location.href
4935
4965
  );
4936
4966
  } catch {
4937
- let Gt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4938
- r(15, ie = Gt), r(16, re = !1), window.postMessage(
4967
+ let $t = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
4968
+ r(16, he = $t), r(17, J = !1), window.postMessage(
4939
4969
  {
4940
4970
  type: "WidgetNotification",
4941
- data: { type: "error", message: Gt }
4971
+ data: { type: "error", message: $t }
4942
4972
  },
4943
4973
  window.location.href
4944
4974
  );
4945
4975
  }
4946
4976
  });
4947
- }, Ge = async (p, $) => {
4977
+ }, Qe = async (p, q) => {
4948
4978
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
4949
4979
  try {
4950
- const j = await fetch(`${i}/v1/player/sms/token`, {
4980
+ const ee = await fetch(`${i}/v1/player/sms/token`, {
4951
4981
  method: "POST",
4952
4982
  headers: {
4953
4983
  "Content-Type": "application/json",
4954
4984
  accept: "application/json"
4955
4985
  },
4956
4986
  body: JSON.stringify({
4957
- userId: $,
4958
- messageTemplate: Go,
4987
+ userId: q,
4988
+ messageTemplate: $o,
4959
4989
  destination: p
4960
4990
  })
4961
- }), Ke = await j.json();
4962
- if (j.ok) {
4963
- r(8, y = Ke.id);
4991
+ }), Ke = await ee.json();
4992
+ if (ee.ok) {
4993
+ r(9, g = Ke.id);
4964
4994
  let et = Ke.maxValidationAttempts;
4965
- g = !1;
4995
+ S = !1;
4966
4996
  } else
4967
- throw g = !0, new Error("Failed to fetch");
4968
- } catch (j) {
4969
- g = !0, console.error(j);
4997
+ throw S = !0, new Error("Failed to fetch");
4998
+ } catch (ee) {
4999
+ S = !0, console.error(ee);
4970
5000
  }
4971
- }, Qe = () => {
5001
+ }, F = () => {
4972
5002
  Lo(s);
4973
- }, U = () => {
4974
- let p = document.createElement("style");
4975
- p.innerHTML = l, W.appendChild(p);
4976
- }, Ye = () => {
4977
- let p = new URL(u), $ = document.createElement("style");
4978
- fetch(p.href).then((j) => j.text()).then((j) => {
4979
- $.innerHTML = j, setTimeout(
4980
- () => {
4981
- W.appendChild($);
4982
- },
4983
- 1
4984
- ), setTimeout(
4985
- () => {
4986
- },
4987
- 500
4988
- );
4989
- });
4990
5003
  };
4991
- mn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Co(q)), () => {
4992
- window.removeEventListener("message", ue);
5004
+ hn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Bo(R)), () => {
5005
+ window.removeEventListener("message", be);
4993
5006
  }));
4994
- const we = () => de();
4995
- function Q() {
4996
- H = this.value, r(11, H);
5007
+ const Ye = () => De();
5008
+ function Se() {
5009
+ U = this.value, r(12, U);
4997
5010
  }
4998
- function F() {
4999
- R = this.value, r(12, R);
5011
+ function Y() {
5012
+ A = this.value, r(13, A);
5000
5013
  }
5001
5014
  function D(p) {
5002
5015
  ut[p ? "unshift" : "push"](() => {
5003
- ne = p, r(17, ne);
5016
+ le = p, r(18, le);
5004
5017
  });
5005
5018
  }
5006
- const k = () => ye(), v = () => Fe(), P = (p) => me(p), en = (p) => De(p);
5007
- function tn(p) {
5019
+ const k = () => Ee(), G = () => _e(), v = (p) => Q(p), P = (p) => we(p);
5020
+ function Kr(p) {
5008
5021
  ut[p ? "unshift" : "push"](() => {
5009
- W = p, r(6, W);
5022
+ X = p, r(7, X);
5010
5023
  });
5011
5024
  }
5012
5025
  return e.$$set = (p) => {
5013
- "endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(29, s = p.lang), "smsverification" in p && r(30, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "clientstyling" in p && r(3, l = p.clientstyling), "clientstylingurl" in p && r(4, u = p.clientstylingurl), "translationurl" in p && r(31, f = p.translationurl), "savecredentials" in p && r(5, d = p.savecredentials);
5026
+ "endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, u = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32, d = p.translationurl), "savecredentials" in p && r(6, b = p.savecredentials);
5014
5027
  }, e.$$.update = () => {
5015
5028
  e.$$.dirty[0] & /*endpoint, lang*/
5016
- 536870913 && i && s && Qe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5017
- 4 && c && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5018
- 72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5019
- 80 && u && W && Ye(), e.$$.dirty[1] & /*translationurl*/
5020
- 1 && f && qe();
5029
+ 1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5030
+ 4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5031
+ 144 && u && X && Ao(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5032
+ 160 && f && X && Io(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5033
+ 136 && l && X && Co(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5034
+ 2 && d && O();
5021
5035
  }, [
5022
5036
  i,
5023
5037
  o,
5024
5038
  c,
5025
5039
  l,
5026
5040
  u,
5027
- d,
5028
- W,
5041
+ f,
5029
5042
  b,
5043
+ X,
5030
5044
  y,
5031
- x,
5032
- M,
5045
+ g,
5046
+ C,
5047
+ z,
5048
+ U,
5049
+ A,
5033
5050
  H,
5034
- R,
5051
+ ie,
5052
+ he,
5035
5053
  J,
5054
+ le,
5036
5055
  B,
5037
- ie,
5038
- re,
5039
5056
  ne,
5040
5057
  fe,
5041
- A,
5042
- Ue,
5043
5058
  n,
5044
- Fe,
5045
- ye,
5046
- de,
5059
+ _e,
5060
+ Ee,
5047
5061
  De,
5048
- me,
5049
- ke,
5062
+ we,
5063
+ Q,
5050
5064
  Je,
5065
+ ge,
5051
5066
  s,
5052
5067
  a,
5053
- f,
5054
- we,
5055
- Q,
5056
- F,
5068
+ d,
5069
+ Ye,
5070
+ Se,
5071
+ Y,
5057
5072
  D,
5058
5073
  k,
5074
+ G,
5059
5075
  v,
5060
5076
  P,
5061
- en,
5062
- tn
5077
+ Kr
5063
5078
  ];
5064
5079
  }
5065
- class Vo extends Tn {
5080
+ class Vo extends xn {
5066
5081
  constructor(t) {
5067
- super(), Sn(
5082
+ super(), En(
5068
5083
  this,
5069
5084
  t,
5070
5085
  jo,
5071
- $o,
5072
- Er,
5086
+ Go,
5087
+ _r,
5073
5088
  {
5074
5089
  endpoint: 0,
5075
5090
  captchakey: 1,
5076
- lang: 29,
5077
- smsverification: 30,
5091
+ lang: 30,
5092
+ smsverification: 31,
5078
5093
  simplepasswordvalidation: 2,
5079
- clientstyling: 3,
5080
- clientstylingurl: 4,
5081
- translationurl: 31,
5082
- savecredentials: 5
5094
+ mbsource: 3,
5095
+ clientstyling: 4,
5096
+ clientstylingurl: 5,
5097
+ translationurl: 32,
5098
+ savecredentials: 6
5083
5099
  },
5084
5100
  Mo,
5085
5101
  [-1, -1]
@@ -5089,83 +5105,92 @@ class Vo extends Tn {
5089
5105
  return this.$$.ctx[0];
5090
5106
  }
5091
5107
  set endpoint(t) {
5092
- this.$$set({ endpoint: t }), ee();
5108
+ this.$$set({ endpoint: t }), K();
5093
5109
  }
5094
5110
  get captchakey() {
5095
5111
  return this.$$.ctx[1];
5096
5112
  }
5097
5113
  set captchakey(t) {
5098
- this.$$set({ captchakey: t }), ee();
5114
+ this.$$set({ captchakey: t }), K();
5099
5115
  }
5100
5116
  get lang() {
5101
- return this.$$.ctx[29];
5117
+ return this.$$.ctx[30];
5102
5118
  }
5103
5119
  set lang(t) {
5104
- this.$$set({ lang: t }), ee();
5120
+ this.$$set({ lang: t }), K();
5105
5121
  }
5106
5122
  get smsverification() {
5107
- return this.$$.ctx[30];
5123
+ return this.$$.ctx[31];
5108
5124
  }
5109
5125
  set smsverification(t) {
5110
- this.$$set({ smsverification: t }), ee();
5126
+ this.$$set({ smsverification: t }), K();
5111
5127
  }
5112
5128
  get simplepasswordvalidation() {
5113
5129
  return this.$$.ctx[2];
5114
5130
  }
5115
5131
  set simplepasswordvalidation(t) {
5116
- this.$$set({ simplepasswordvalidation: t }), ee();
5132
+ this.$$set({ simplepasswordvalidation: t }), K();
5117
5133
  }
5118
- get clientstyling() {
5134
+ get mbsource() {
5119
5135
  return this.$$.ctx[3];
5120
5136
  }
5137
+ set mbsource(t) {
5138
+ this.$$set({ mbsource: t }), K();
5139
+ }
5140
+ get clientstyling() {
5141
+ return this.$$.ctx[4];
5142
+ }
5121
5143
  set clientstyling(t) {
5122
- this.$$set({ clientstyling: t }), ee();
5144
+ this.$$set({ clientstyling: t }), K();
5123
5145
  }
5124
5146
  get clientstylingurl() {
5125
- return this.$$.ctx[4];
5147
+ return this.$$.ctx[5];
5126
5148
  }
5127
5149
  set clientstylingurl(t) {
5128
- this.$$set({ clientstylingurl: t }), ee();
5150
+ this.$$set({ clientstylingurl: t }), K();
5129
5151
  }
5130
5152
  get translationurl() {
5131
- return this.$$.ctx[31];
5153
+ return this.$$.ctx[32];
5132
5154
  }
5133
5155
  set translationurl(t) {
5134
- this.$$set({ translationurl: t }), ee();
5156
+ this.$$set({ translationurl: t }), K();
5135
5157
  }
5136
5158
  get savecredentials() {
5137
- return this.$$.ctx[5];
5159
+ return this.$$.ctx[6];
5138
5160
  }
5139
5161
  set savecredentials(t) {
5140
- this.$$set({ savecredentials: t }), ee();
5162
+ this.$$set({ savecredentials: t }), K();
5141
5163
  }
5142
5164
  }
5143
- Pn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5165
+ wn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5144
5166
  export {
5145
- he as $,
5167
+ ce as $,
5146
5168
  Vo as G,
5147
- Tn as S,
5148
- Me as a,
5149
- qr as b,
5150
- Pn as c,
5151
- an as d,
5169
+ xn as S,
5170
+ Re as a,
5171
+ Zr as b,
5172
+ wn as c,
5173
+ nn as d,
5152
5174
  I as e,
5153
- ee as f,
5175
+ K as f,
5154
5176
  te as g,
5155
5177
  rt as h,
5156
- Sn as i,
5178
+ En as i,
5157
5179
  h as j,
5158
- L as k,
5180
+ M as k,
5159
5181
  m as l,
5160
- se as m,
5182
+ oe as m,
5161
5183
  Z as n,
5162
- S as o,
5163
- z as p,
5164
- on as q,
5165
- Oe as r,
5166
- Er as s,
5184
+ x as o,
5185
+ j as p,
5186
+ rn as q,
5187
+ Me as r,
5188
+ _r as s,
5167
5189
  N as t,
5168
- mn as u,
5190
+ hn as u,
5169
5191
  ut as v,
5170
- Io as w
5192
+ Ho as w,
5193
+ Ao as x,
5194
+ Io as y,
5195
+ Co as z
5171
5196
  };