@everymatrix/general-player-login-form-nd 1.86.4 → 1.86.5

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 Er(e) {
3
+ function Sr(e) {
4
4
  return e();
5
5
  }
6
- function Xt() {
6
+ function Zt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Me(e) {
10
- e.forEach(Er);
9
+ function Le(e) {
10
+ e.forEach(Sr);
11
11
  }
12
- function kt(e) {
12
+ function Vt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function xr(e, t) {
15
+ function Pr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let tt;
19
- function Wt(e, t) {
19
+ function qt(e, t) {
20
20
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
21
21
  }
22
- function sn(e) {
22
+ function an(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Sr(e, ...t) {
25
+ function Tr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Sr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function an(e, t, r) {
35
- e.$$.on_destroy.push(Sr(t, r));
34
+ function ln(e, t, r) {
35
+ e.$$.on_destroy.push(Tr(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ln(e, t, r) {
41
- const n = un(e);
40
+ function un(e, t, r) {
41
+ const n = cn(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = x("style");
44
- i.id = t, i.textContent = r, cn(n, i);
43
+ const i = E("style");
44
+ i.id = t, i.textContent = r, hn(n, i);
45
45
  }
46
46
  }
47
- function un(e) {
47
+ function cn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function un(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function cn(e, t) {
57
+ function hn(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,10 +67,10 @@ function L(e, t, r) {
67
67
  function I(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function x(e) {
70
+ function E(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function O(e) {
73
+ function C(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
76
  function N(e) {
@@ -79,10 +79,10 @@ function N(e) {
79
79
  function j() {
80
80
  return N(" ");
81
81
  }
82
- function hn() {
82
+ function fn() {
83
83
  return N("");
84
84
  }
85
- function oe(e, t, r, n) {
85
+ function se(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
87
87
  }
88
88
  function h(e, t, r) {
@@ -92,7 +92,7 @@ function W(e, t, r) {
92
92
  const n = t.toLowerCase();
93
93
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
94
94
  }
95
- function fn(e) {
95
+ function dn(e) {
96
96
  return Array.from(e.childNodes);
97
97
  }
98
98
  function te(e, t) {
@@ -102,7 +102,7 @@ function te(e, t) {
102
102
  function rt(e, t) {
103
103
  e.value = t ?? "";
104
104
  }
105
- function dn(e) {
105
+ function mn(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -111,87 +111,87 @@ function dn(e) {
111
111
  }
112
112
  ), t;
113
113
  }
114
- let ze;
115
- function Ve(e) {
116
- ze = e;
114
+ let Ve;
115
+ function je(e) {
116
+ Ve = e;
117
117
  }
118
- function mn() {
119
- if (!ze)
118
+ function pn() {
119
+ if (!Ve)
120
120
  throw new Error("Function called outside component initialization");
121
- return ze;
121
+ return Ve;
122
122
  }
123
- function pn(e) {
124
- mn().$$.on_mount.push(e);
123
+ function gn(e) {
124
+ pn().$$.on_mount.push(e);
125
125
  }
126
126
  const He = [], ut = [];
127
127
  let Be = [];
128
- const Zt = [], gn = /* @__PURE__ */ Promise.resolve();
129
- let Pt = !1;
130
- function bn() {
131
- Pt || (Pt = !0, gn.then(K));
128
+ const Jt = [], bn = /* @__PURE__ */ Promise.resolve();
129
+ let Ht = !1;
130
+ function vn() {
131
+ Ht || (Ht = !0, bn.then(K));
132
132
  }
133
- function Tt(e) {
133
+ function Bt(e) {
134
134
  Be.push(e);
135
135
  }
136
- const bt = /* @__PURE__ */ new Set();
136
+ const yt = /* @__PURE__ */ new Set();
137
137
  let Pe = 0;
138
138
  function K() {
139
139
  if (Pe !== 0)
140
140
  return;
141
- const e = ze;
141
+ const e = Ve;
142
142
  do {
143
143
  try {
144
144
  for (; Pe < He.length; ) {
145
145
  const t = He[Pe];
146
- Pe++, Ve(t), vn(t.$$);
146
+ Pe++, je(t), yn(t.$$);
147
147
  }
148
148
  } catch (t) {
149
149
  throw He.length = 0, Pe = 0, t;
150
150
  }
151
- for (Ve(null), He.length = 0, Pe = 0; ut.length; )
151
+ for (je(null), He.length = 0, Pe = 0; ut.length; )
152
152
  ut.pop()();
153
153
  for (let t = 0; t < Be.length; t += 1) {
154
154
  const r = Be[t];
155
- bt.has(r) || (bt.add(r), r());
155
+ yt.has(r) || (yt.add(r), r());
156
156
  }
157
157
  Be.length = 0;
158
158
  } while (He.length);
159
- for (; Zt.length; )
160
- Zt.pop()();
161
- Pt = !1, bt.clear(), Ve(e);
159
+ for (; Jt.length; )
160
+ Jt.pop()();
161
+ Ht = !1, yt.clear(), je(e);
162
162
  }
163
- function vn(e) {
163
+ function yn(e) {
164
164
  if (e.fragment !== null) {
165
- e.update(), Me(e.before_update);
165
+ e.update(), Le(e.before_update);
166
166
  const t = e.dirty;
167
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
168
168
  }
169
169
  }
170
- function yn(e) {
170
+ function _n(e) {
171
171
  const t = [], r = [];
172
172
  Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
173
173
  }
174
- const _n = /* @__PURE__ */ new Set();
175
- function wn(e, t) {
176
- e && e.i && (_n.delete(e), e.i(t));
174
+ const wn = /* @__PURE__ */ new Set();
175
+ function En(e, t) {
176
+ e && e.i && (wn.delete(e), e.i(t));
177
177
  }
178
- function En(e, t, r) {
178
+ function xn(e, t, r) {
179
179
  const { fragment: n, after_update: i } = e.$$;
180
- n && n.m(t, r), Tt(() => {
181
- const o = e.$$.on_mount.map(Er).filter(kt);
182
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
183
- }), i.forEach(Tt);
180
+ n && n.m(t, r), Bt(() => {
181
+ const o = e.$$.on_mount.map(Sr).filter(Vt);
182
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
183
+ }), i.forEach(Bt);
184
184
  }
185
- function xn(e, t) {
185
+ function Sn(e, t) {
186
186
  const r = e.$$;
187
- r.fragment !== null && (yn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
+ r.fragment !== null && (_n(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
188
  }
189
- function Sn(e, t) {
190
- e.$$.dirty[0] === -1 && (He.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ function Pn(e, t) {
190
+ e.$$.dirty[0] === -1 && (He.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
191
  }
192
- function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
193
- const c = ze;
194
- Ve(e);
192
+ function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
193
+ const c = Ve;
194
+ je(e);
195
195
  const l = e.$$ = {
196
196
  fragment: null,
197
197
  ctx: [],
@@ -199,7 +199,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
199
199
  props: o,
200
200
  update: Z,
201
201
  not_equal: i,
202
- bound: Xt(),
202
+ bound: Zt(),
203
203
  // lifecycle
204
204
  on_mount: [],
205
205
  on_destroy: [],
@@ -208,7 +208,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  after_update: [],
209
209
  context: new Map(t.context || (c ? c.$$.context : [])),
210
210
  // everything else
211
- callbacks: Xt(),
211
+ callbacks: Zt(),
212
212
  dirty: a,
213
213
  skip_bound: !1,
214
214
  root: t.target || c.$$.root
@@ -217,19 +217,19 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  let u = !1;
218
218
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
219
219
  const y = b.length ? b[0] : d;
220
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Sn(e, f)), d;
221
- }) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
220
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Pn(e, f)), d;
221
+ }) : [], l.update(), u = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
222
222
  if (t.hydrate) {
223
- const f = fn(t.target);
223
+ const f = dn(t.target);
224
224
  l.fragment && l.fragment.l(f), f.forEach(I);
225
225
  } else
226
226
  l.fragment && l.fragment.c();
227
- t.intro && wn(e.$$.fragment), En(e, t.target, t.anchor), K();
227
+ t.intro && En(e.$$.fragment), xn(e, t.target, t.anchor), K();
228
228
  }
229
- Ve(c);
229
+ je(c);
230
230
  }
231
- let Pr;
232
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
231
+ let Hr;
232
+ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
233
233
  /** The Svelte component constructor */
234
234
  $$ctor;
235
235
  /** Slots */
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
271
271
  let o;
272
272
  return {
273
273
  c: function() {
274
- o = x("slot"), i !== "default" && h(o, "name", i);
274
+ o = E("slot"), i !== "default" && h(o, "name", i);
275
275
  },
276
276
  /**
277
277
  * @param {HTMLElement} target
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
288
288
  };
289
289
  if (await Promise.resolve(), !this.$$cn || this.$$c)
290
290
  return;
291
- const t = {}, r = dn(this);
291
+ const t = {}, r = mn(this);
292
292
  for (const i of this.$$s)
293
293
  i in r && (t[i] = [e(i)]);
294
294
  for (const i of this.attributes) {
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
375
375
  return t;
376
376
  }
377
377
  }
378
- function Tn(e, t, r, n, i, o) {
379
- let s = class extends Pr {
378
+ function Hn(e, t, r, n, i, o) {
379
+ let s = class extends Hr {
380
380
  constructor() {
381
381
  super(e, r, i), this.$$p_d = t;
382
382
  }
@@ -404,7 +404,7 @@ function Tn(e, t, r, n, i, o) {
404
404
  }), e.element = /** @type {any} */
405
405
  s, s;
406
406
  }
407
- class Hn {
407
+ class Bn {
408
408
  /**
409
409
  * ### PRIVATE API
410
410
  *
@@ -423,7 +423,7 @@ class Hn {
423
423
  $$set = void 0;
424
424
  /** @returns {void} */
425
425
  $destroy() {
426
- xn(this, 1), this.$destroy = Z;
426
+ Sn(this, 1), this.$destroy = Z;
427
427
  }
428
428
  /**
429
429
  * @template {Extract<keyof Events, string>} K
@@ -432,7 +432,7 @@ class Hn {
432
432
  * @returns {() => void}
433
433
  */
434
434
  $on(t, r) {
435
- if (!kt(r))
435
+ if (!Vt(r))
436
436
  return Z;
437
437
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
438
438
  return n.push(r), () => {
@@ -445,11 +445,11 @@ class Hn {
445
445
  * @returns {void}
446
446
  */
447
447
  $set(t) {
448
- this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
+ this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
449
  }
450
450
  }
451
- const Bn = "4";
452
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
451
+ const An = "4";
452
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
453
453
  /*! *****************************************************************************
454
454
  Copyright (c) Microsoft Corporation.
455
455
 
@@ -464,43 +464,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
464
464
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
465
465
  PERFORMANCE OF THIS SOFTWARE.
466
466
  ***************************************************************************** */
467
- var Ht = function(e, t) {
468
- return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ var At = function(e, t) {
468
+ return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n)
472
472
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
- }, Ht(e, t);
473
+ }, At(e, t);
474
474
  };
475
- function ae(e, t) {
475
+ function We(e, t) {
476
476
  if (typeof t != "function" && t !== null)
477
477
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
478
- Ht(e, t);
478
+ At(e, t);
479
479
  function r() {
480
480
  this.constructor = e;
481
481
  }
482
482
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
483
483
  }
484
- var E = function() {
485
- return E = Object.assign || function(t) {
486
- for (var r, n = 1, i = arguments.length; n < i; n++) {
487
- r = arguments[n];
488
- for (var o in r)
489
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
490
- }
491
- return t;
492
- }, E.apply(this, arguments);
493
- };
494
- function An(e, t) {
495
- var r = {};
496
- for (var n in e)
497
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
498
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
499
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
500
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
501
- return r;
502
- }
503
- function Bt(e) {
484
+ function It(e) {
504
485
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
486
  if (r)
506
487
  return r.call(e);
@@ -512,7 +493,7 @@ function Bt(e) {
512
493
  };
513
494
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
514
495
  }
515
- function At(e, t) {
496
+ function Ot(e, t) {
516
497
  var r = typeof Symbol == "function" && e[Symbol.iterator];
517
498
  if (!r)
518
499
  return e;
@@ -532,22 +513,22 @@ function At(e, t) {
532
513
  }
533
514
  return o;
534
515
  }
535
- function Ae(e, t, r) {
536
- if (r || arguments.length === 2)
516
+ function Ct(e, t, r) {
517
+ if (arguments.length === 2)
537
518
  for (var n = 0, i = t.length, o; n < i; n++)
538
519
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
539
520
  return e.concat(o || t);
540
521
  }
541
- function se(e) {
522
+ function ae(e) {
542
523
  return typeof e == "function";
543
524
  }
544
- function Tr(e) {
525
+ function Br(e) {
545
526
  var t = function(n) {
546
527
  Error.call(n), n.stack = new Error().stack;
547
528
  }, r = e(t);
548
529
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
549
530
  }
550
- var vt = Tr(function(e) {
531
+ var _t = Br(function(e) {
551
532
  return function(r) {
552
533
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
553
534
  ` + r.map(function(n, i) {
@@ -556,13 +537,13 @@ var vt = Tr(function(e) {
556
537
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
557
538
  };
558
539
  });
559
- function It(e, t) {
540
+ function Lt(e, t) {
560
541
  if (e) {
561
542
  var r = e.indexOf(t);
562
543
  0 <= r && e.splice(r, 1);
563
544
  }
564
545
  }
565
- var ft = function() {
546
+ var dt = function() {
566
547
  function e(t) {
567
548
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
568
549
  }
@@ -574,7 +555,7 @@ var ft = function() {
574
555
  if (s)
575
556
  if (this._parentage = null, Array.isArray(s))
576
557
  try {
577
- for (var a = Bt(s), c = a.next(); !c.done; c = a.next()) {
558
+ for (var a = It(s), c = a.next(); !c.done; c = a.next()) {
578
559
  var l = c.value;
579
560
  l.remove(this);
580
561
  }
@@ -591,22 +572,22 @@ var ft = function() {
591
572
  else
592
573
  s.remove(this);
593
574
  var u = this.initialTeardown;
594
- if (se(u))
575
+ if (ae(u))
595
576
  try {
596
577
  u();
597
578
  } catch (g) {
598
- o = g instanceof vt ? g.errors : [g];
579
+ o = g instanceof _t ? g.errors : [g];
599
580
  }
600
581
  var f = this._finalizers;
601
582
  if (f) {
602
583
  this._finalizers = null;
603
584
  try {
604
- for (var d = Bt(f), b = d.next(); !b.done; b = d.next()) {
585
+ for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
605
586
  var y = b.value;
606
587
  try {
607
- qt(y);
588
+ Qt(y);
608
589
  } catch (g) {
609
- o = o ?? [], g instanceof vt ? o = Ae(Ae([], At(o)), At(g.errors)) : o.push(g);
590
+ o = o ?? [], g instanceof _t ? o = Ct(Ct([], Ot(o)), Ot(g.errors)) : o.push(g);
610
591
  }
611
592
  }
612
593
  } catch (g) {
@@ -621,13 +602,13 @@ var ft = function() {
621
602
  }
622
603
  }
623
604
  if (o)
624
- throw new vt(o);
605
+ throw new _t(o);
625
606
  }
626
607
  }, e.prototype.add = function(t) {
627
608
  var r;
628
609
  if (t && t !== this)
629
610
  if (this.closed)
630
- qt(t);
611
+ Qt(t);
631
612
  else {
632
613
  if (t instanceof e) {
633
614
  if (t.closed || t._hasParent(this))
@@ -644,32 +625,28 @@ var ft = function() {
644
625
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
645
626
  }, e.prototype._removeParent = function(t) {
646
627
  var r = this._parentage;
647
- r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
628
+ r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
648
629
  }, e.prototype.remove = function(t) {
649
630
  var r = this._finalizers;
650
- r && It(r, t), t instanceof e && t._removeParent(this);
631
+ r && Lt(r, t), t instanceof e && t._removeParent(this);
651
632
  }, e.EMPTY = function() {
652
633
  var t = new e();
653
634
  return t.closed = !0, t;
654
635
  }(), e;
655
- }(), Hr = ft.EMPTY;
656
- function Br(e) {
657
- return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
658
- }
659
- function qt(e) {
660
- se(e) ? e() : e.unsubscribe();
661
- }
662
- var Ar = {
663
- onUnhandledError: null,
664
- onStoppedNotification: null,
665
- Promise: void 0,
666
- useDeprecatedSynchronousErrorHandling: !1,
667
- useDeprecatedNextContext: !1
668
- }, In = {
636
+ }(), Ar = dt.EMPTY;
637
+ function Ir(e) {
638
+ return e instanceof dt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
639
+ }
640
+ function Qt(e) {
641
+ ae(e) ? e() : e.unsubscribe();
642
+ }
643
+ var In = {
644
+ Promise: void 0
645
+ }, On = {
669
646
  setTimeout: function(e, t) {
670
647
  for (var r = [], n = 2; n < arguments.length; n++)
671
648
  r[n - 2] = arguments[n];
672
- return setTimeout.apply(void 0, Ae([e, t], At(r)));
649
+ return setTimeout.apply(void 0, Ct([e, t], Ot(r)));
673
650
  },
674
651
  clearTimeout: function(e) {
675
652
  return clearTimeout(e);
@@ -677,23 +654,23 @@ var Ar = {
677
654
  delegate: void 0
678
655
  };
679
656
  function Cn(e) {
680
- In.setTimeout(function() {
657
+ On.setTimeout(function() {
681
658
  throw e;
682
659
  });
683
660
  }
684
- function Jt() {
661
+ function Yt() {
685
662
  }
686
663
  function st(e) {
687
664
  e();
688
665
  }
689
- var Ir = function(e) {
690
- ae(t, e);
666
+ var Or = function(e) {
667
+ We(t, e);
691
668
  function t(r) {
692
669
  var n = e.call(this) || this;
693
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Nn, n;
670
+ return n.isStopped = !1, r ? (n.destination = r, Ir(r) && r.add(n)) : n.destination = Nn, n;
694
671
  }
695
672
  return t.create = function(r, n, i) {
696
- return new Ct(r, n, i);
673
+ return new Mt(r, n, i);
697
674
  }, t.prototype.next = function(r) {
698
675
  this.isStopped || this._next(r);
699
676
  }, t.prototype.error = function(r) {
@@ -717,11 +694,7 @@ var Ir = function(e) {
717
694
  this.unsubscribe();
718
695
  }
719
696
  }, t;
720
- }(ft), On = Function.prototype.bind;
721
- function yt(e, t) {
722
- return On.call(e, t);
723
- }
724
- var Ln = function() {
697
+ }(dt), Ln = function() {
725
698
  function e(t) {
726
699
  this.partialObserver = t;
727
700
  }
@@ -752,30 +725,18 @@ var Ln = function() {
752
725
  nt(r);
753
726
  }
754
727
  }, e;
755
- }(), Ct = function(e) {
756
- ae(t, e);
728
+ }(), Mt = function(e) {
729
+ We(t, e);
757
730
  function t(r, n, i) {
758
731
  var o = e.call(this) || this, s;
759
- if (se(r) || !r)
760
- s = {
761
- next: r ?? void 0,
762
- error: n ?? void 0,
763
- complete: i ?? void 0
764
- };
765
- else {
766
- var a;
767
- o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
768
- return o.unsubscribe();
769
- }, s = {
770
- next: r.next && yt(r.next, a),
771
- error: r.error && yt(r.error, a),
772
- complete: r.complete && yt(r.complete, a)
773
- }) : s = r;
774
- }
775
- return o.destination = new Ln(s), o;
732
+ return ae(r) || !r ? s = {
733
+ next: r ?? void 0,
734
+ error: n ?? void 0,
735
+ complete: i ?? void 0
736
+ } : s = r, o.destination = new Ln(s), o;
776
737
  }
777
738
  return t;
778
- }(Ir);
739
+ }(Or);
779
740
  function nt(e) {
780
741
  Cn(e);
781
742
  }
@@ -784,9 +745,9 @@ function Mn(e) {
784
745
  }
785
746
  var Nn = {
786
747
  closed: !0,
787
- next: Jt,
748
+ next: Yt,
788
749
  error: Mn,
789
- complete: Jt
750
+ complete: Yt
790
751
  }, Rn = function() {
791
752
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
792
753
  }();
@@ -800,7 +761,7 @@ function Fn(e) {
800
761
  }, r);
801
762
  };
802
763
  }
803
- var Qt = function() {
764
+ var Kt = function() {
804
765
  function e(t) {
805
766
  t && (this._subscribe = t);
806
767
  }
@@ -808,7 +769,7 @@ var Qt = function() {
808
769
  var r = new e();
809
770
  return r.source = this, r.operator = t, r;
810
771
  }, e.prototype.subscribe = function(t, r, n) {
811
- var i = this, o = kn(t) ? t : new Ct(t, r, n);
772
+ var i = this, o = kn(t) ? t : new Mt(t, r, n);
812
773
  return st(function() {
813
774
  var s = i, a = s.operator, c = s.source;
814
775
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -821,8 +782,8 @@ var Qt = function() {
821
782
  }
822
783
  }, e.prototype.forEach = function(t, r) {
823
784
  var n = this;
824
- return r = Yt(r), new r(function(i, o) {
825
- var s = new Ct({
785
+ return r = er(r), new r(function(i, o) {
786
+ var s = new Mt({
826
787
  next: function(a) {
827
788
  try {
828
789
  t(a);
@@ -846,7 +807,7 @@ var Qt = function() {
846
807
  return Fn(t)(this);
847
808
  }, e.prototype.toPromise = function(t) {
848
809
  var r = this;
849
- return t = Yt(t), new t(function(n, i) {
810
+ return t = er(t), new t(function(n, i) {
850
811
  var o;
851
812
  r.subscribe(function(s) {
852
813
  return o = s;
@@ -860,32 +821,32 @@ var Qt = function() {
860
821
  return new e(t);
861
822
  }, e;
862
823
  }();
863
- function Yt(e) {
824
+ function er(e) {
864
825
  var t;
865
- return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
826
+ return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
866
827
  }
867
828
  function Dn(e) {
868
- return e && se(e.next) && se(e.error) && se(e.complete);
829
+ return e && ae(e.next) && ae(e.error) && ae(e.complete);
869
830
  }
870
831
  function kn(e) {
871
- return e && e instanceof Ir || Dn(e) && Br(e);
832
+ return e && e instanceof Or || Dn(e) && Ir(e);
872
833
  }
873
- var Gn = Tr(function(e) {
834
+ var $n = Br(function(e) {
874
835
  return function() {
875
836
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
876
837
  };
877
838
  }), Cr = function(e) {
878
- ae(t, e);
839
+ We(t, e);
879
840
  function t() {
880
841
  var r = e.call(this) || this;
881
842
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
882
843
  }
883
844
  return t.prototype.lift = function(r) {
884
- var n = new Kt(this, this);
845
+ var n = new tr(this, this);
885
846
  return n.operator = r, n;
886
847
  }, t.prototype._throwIfClosed = function() {
887
848
  if (this.closed)
888
- throw new Gn();
849
+ throw new $n();
889
850
  }, t.prototype.next = function(r) {
890
851
  var n = this;
891
852
  st(function() {
@@ -893,7 +854,7 @@ var Gn = Tr(function(e) {
893
854
  if (n._throwIfClosed(), !n.isStopped) {
894
855
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
895
856
  try {
896
- for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
857
+ for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
897
858
  var c = a.value;
898
859
  c.next(r);
899
860
  }
@@ -942,20 +903,20 @@ var Gn = Tr(function(e) {
942
903
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
943
904
  }, t.prototype._innerSubscribe = function(r) {
944
905
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
945
- return o || s ? Hr : (this.currentObservers = null, a.push(r), new ft(function() {
946
- n.currentObservers = null, It(a, r);
906
+ return o || s ? Ar : (this.currentObservers = null, a.push(r), new dt(function() {
907
+ n.currentObservers = null, Lt(a, r);
947
908
  }));
948
909
  }, t.prototype._checkFinalizedStatuses = function(r) {
949
910
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
950
911
  i ? r.error(o) : s && r.complete();
951
912
  }, t.prototype.asObservable = function() {
952
- var r = new Qt();
913
+ var r = new Kt();
953
914
  return r.source = this, r;
954
915
  }, t.create = function(r, n) {
955
- return new Kt(r, n);
916
+ return new tr(r, n);
956
917
  }, t;
957
- }(Qt), Kt = function(e) {
958
- ae(t, e);
918
+ }(Kt), tr = function(e) {
919
+ We(t, e);
959
920
  function t(r, n) {
960
921
  var i = e.call(this) || this;
961
922
  return i.destination = r, i.source = n, i;
@@ -971,17 +932,17 @@ var Gn = Tr(function(e) {
971
932
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
972
933
  }, t.prototype._subscribe = function(r) {
973
934
  var n, i;
974
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
935
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
975
936
  }, t;
976
- }(Cr), Or = {
937
+ }(Cr), Lr = {
977
938
  now: function() {
978
- return (Or.delegate || Date).now();
939
+ return (Lr.delegate || Date).now();
979
940
  },
980
941
  delegate: void 0
981
- }, $n = function(e) {
982
- ae(t, e);
942
+ }, Gn = function(e) {
943
+ We(t, e);
983
944
  function t(r, n, i) {
984
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
945
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
985
946
  var o = e.call(this) || this;
986
947
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
987
948
  }
@@ -1002,23 +963,23 @@ var Gn = Tr(function(e) {
1002
963
  }
1003
964
  }, t;
1004
965
  }(Cr);
1005
- const er = [], tr = {}, jn = (e, t = 0) => {
1006
- if (er.indexOf(e) == -1) {
1007
- const r = new $n(t);
1008
- tr[e] = r, er.push(e);
966
+ const rr = [], nr = {}, jn = (e, t = 0) => {
967
+ if (rr.indexOf(e) == -1) {
968
+ const r = new Gn(t);
969
+ nr[e] = r, rr.push(e);
1009
970
  }
1010
- return tr[e];
971
+ return nr[e];
1011
972
  }, Te = [];
1012
973
  function Vn(e, t) {
1013
974
  return {
1014
- subscribe: dt(e, t).subscribe
975
+ subscribe: mt(e, t).subscribe
1015
976
  };
1016
977
  }
1017
- function dt(e, t = Z) {
978
+ function mt(e, t = Z) {
1018
979
  let r;
1019
980
  const n = /* @__PURE__ */ new Set();
1020
981
  function i(a) {
1021
- if (xr(e, a) && (e = a, r)) {
982
+ if (Pr(e, a) && (e = a, r)) {
1022
983
  const c = !Te.length;
1023
984
  for (const l of n)
1024
985
  l[1](), Te.push(l, e);
@@ -1040,7 +1001,7 @@ function dt(e, t = Z) {
1040
1001
  }
1041
1002
  return { set: i, update: o, subscribe: s };
1042
1003
  }
1043
- function Ne(e, t, r) {
1004
+ function Me(e, t, r) {
1044
1005
  const n = !Array.isArray(e), i = n ? [e] : e;
1045
1006
  if (!i.every(Boolean))
1046
1007
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1054,12 +1015,12 @@ function Ne(e, t, r) {
1054
1015
  return;
1055
1016
  f();
1056
1017
  const y = t(n ? l[0] : l, s, a);
1057
- o ? s(y) : f = kt(y) ? y : Z;
1018
+ o ? s(y) : f = Vt(y) ? y : Z;
1058
1019
  }, b = i.map(
1059
- (y, g) => Sr(
1020
+ (y, g) => Tr(
1060
1021
  y,
1061
- (S) => {
1062
- l[g] = S, u &= ~(1 << g), c && d();
1022
+ (x) => {
1023
+ l[g] = x, u &= ~(1 << g), c && d();
1063
1024
  },
1064
1025
  () => {
1065
1026
  u |= 1 << g;
@@ -1067,7 +1028,7 @@ function Ne(e, t, r) {
1067
1028
  )
1068
1029
  );
1069
1030
  return c = !0, d(), function() {
1070
- Me(b), f(), c = !1;
1031
+ Le(b), f(), c = !1;
1071
1032
  };
1072
1033
  });
1073
1034
  }
@@ -1091,29 +1052,29 @@ function Qn(e) {
1091
1052
  function Yn(e) {
1092
1053
  return Array.isArray(e) ? [] : {};
1093
1054
  }
1094
- function Xe(e, t) {
1095
- return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Yn(e), e, t) : e;
1055
+ function ze(e, t) {
1056
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ae(Yn(e), e, t) : e;
1096
1057
  }
1097
1058
  function Kn(e, t, r) {
1098
1059
  return e.concat(t).map(function(n) {
1099
- return Xe(n, r);
1060
+ return ze(n, r);
1100
1061
  });
1101
1062
  }
1102
1063
  function ei(e, t) {
1103
1064
  if (!t.customMerge)
1104
- return Ie;
1065
+ return Ae;
1105
1066
  var r = t.customMerge(e);
1106
- return typeof r == "function" ? r : Ie;
1067
+ return typeof r == "function" ? r : Ae;
1107
1068
  }
1108
1069
  function ti(e) {
1109
1070
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1110
1071
  return Object.propertyIsEnumerable.call(e, t);
1111
1072
  }) : [];
1112
1073
  }
1113
- function rr(e) {
1074
+ function ir(e) {
1114
1075
  return Object.keys(e).concat(ti(e));
1115
1076
  }
1116
- function Lr(e, t) {
1077
+ function Mr(e, t) {
1117
1078
  try {
1118
1079
  return t in e;
1119
1080
  } catch {
@@ -1121,129 +1082,179 @@ function Lr(e, t) {
1121
1082
  }
1122
1083
  }
1123
1084
  function ri(e, t) {
1124
- return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1085
+ return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1125
1086
  }
1126
1087
  function ni(e, t, r) {
1127
1088
  var n = {};
1128
- return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1129
- n[i] = Xe(e[i], r);
1130
- }), rr(t).forEach(function(i) {
1131
- ri(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1089
+ return r.isMergeableObject(e) && ir(e).forEach(function(i) {
1090
+ n[i] = ze(e[i], r);
1091
+ }), ir(t).forEach(function(i) {
1092
+ ri(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
1132
1093
  }), n;
1133
1094
  }
1134
- function Ie(e, t, r) {
1135
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Xe;
1095
+ function Ae(e, t, r) {
1096
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = ze;
1136
1097
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1137
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Xe(t, r);
1098
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : ze(t, r);
1138
1099
  }
1139
- Ie.all = function(t, r) {
1100
+ Ae.all = function(t, r) {
1140
1101
  if (!Array.isArray(t))
1141
1102
  throw new Error("first argument should be an array");
1142
1103
  return t.reduce(function(n, i) {
1143
- return Ie(n, i, r);
1104
+ return Ae(n, i, r);
1144
1105
  }, {});
1145
1106
  };
1146
- var ii = Ie, oi = ii;
1107
+ var ii = Ae, oi = ii;
1147
1108
  const si = /* @__PURE__ */ zn(oi);
1148
- function _t(e, t) {
1149
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1109
+ var Nt = function(e, t) {
1110
+ return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1111
+ r.__proto__ = n;
1112
+ } || function(r, n) {
1113
+ for (var i in n)
1114
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1115
+ }, Nt(e, t);
1116
+ };
1117
+ function pt(e, t) {
1118
+ if (typeof t != "function" && t !== null)
1119
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1120
+ Nt(e, t);
1121
+ function r() {
1122
+ this.constructor = e;
1123
+ }
1124
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1125
+ }
1126
+ var ie = function() {
1127
+ return ie = Object.assign || function(t) {
1128
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1129
+ r = arguments[n];
1130
+ for (var o in r)
1131
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1132
+ }
1133
+ return t;
1134
+ }, ie.apply(this, arguments);
1135
+ };
1136
+ function ai(e, t) {
1137
+ var r = {};
1138
+ for (var n in e)
1139
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1140
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1141
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1142
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1143
+ return r;
1144
+ }
1145
+ function wt(e, t, r) {
1146
+ if (r || arguments.length === 2)
1147
+ for (var n = 0, i = t.length, o; n < i; n++)
1148
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1149
+ return e.concat(o || Array.prototype.slice.call(t));
1150
+ }
1151
+ function Et(e, t) {
1152
+ var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
1150
1153
  return i(e, {
1151
1154
  cache: r,
1152
1155
  serializer: n
1153
1156
  });
1154
1157
  }
1155
- function ai(e) {
1158
+ function li(e) {
1156
1159
  return e == null || typeof e == "number" || typeof e == "boolean";
1157
1160
  }
1158
- function Mr(e, t, r, n) {
1159
- var i = ai(n) ? n : r(n), o = t.get(i);
1161
+ function ui(e, t, r, n) {
1162
+ var i = li(n) ? n : r(n), o = t.get(i);
1160
1163
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1161
1164
  }
1162
1165
  function Nr(e, t, r) {
1163
1166
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1164
1167
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1165
1168
  }
1166
- function Gt(e, t, r, n, i) {
1169
+ function Rr(e, t, r, n, i) {
1167
1170
  return r.bind(t, e, n, i);
1168
1171
  }
1169
- function li(e, t) {
1170
- var r = e.length === 1 ? Mr : Nr;
1171
- return Gt(e, this, r, t.cache.create(), t.serializer);
1172
- }
1173
- function ui(e, t) {
1174
- return Gt(e, this, Nr, t.cache.create(), t.serializer);
1175
- }
1176
1172
  function ci(e, t) {
1177
- return Gt(e, this, Mr, t.cache.create(), t.serializer);
1173
+ var r = e.length === 1 ? ui : Nr;
1174
+ return Rr(e, this, r, t.cache.create(), t.serializer);
1178
1175
  }
1179
- var hi = function() {
1180
- return JSON.stringify(arguments);
1181
- };
1182
- function $t() {
1183
- this.cache = /* @__PURE__ */ Object.create(null);
1176
+ function hi(e, t) {
1177
+ return Rr(e, this, Nr, t.cache.create(), t.serializer);
1184
1178
  }
1185
- $t.prototype.get = function(e) {
1186
- return this.cache[e];
1187
- };
1188
- $t.prototype.set = function(e, t) {
1189
- this.cache[e] = t;
1190
- };
1191
- var fi = {
1179
+ var fi = function() {
1180
+ return JSON.stringify(arguments);
1181
+ }, di = (
1182
+ /** @class */
1183
+ function() {
1184
+ function e() {
1185
+ this.cache = /* @__PURE__ */ Object.create(null);
1186
+ }
1187
+ return e.prototype.get = function(t) {
1188
+ return this.cache[t];
1189
+ }, e.prototype.set = function(t, r) {
1190
+ this.cache[t] = r;
1191
+ }, e;
1192
+ }()
1193
+ ), mi = {
1192
1194
  create: function() {
1193
- return new $t();
1195
+ return new di();
1194
1196
  }
1195
- }, wt = {
1196
- variadic: ui,
1197
- monadic: ci
1198
- }, _;
1197
+ }, xt = {
1198
+ variadic: hi
1199
+ }, ct = function() {
1200
+ return ct = Object.assign || function(t) {
1201
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1202
+ r = arguments[n];
1203
+ for (var o in r)
1204
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1205
+ }
1206
+ return t;
1207
+ }, ct.apply(this, arguments);
1208
+ };
1209
+ var _;
1199
1210
  (function(e) {
1200
1211
  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";
1201
1212
  })(_ || (_ = {}));
1202
- var T;
1213
+ var P;
1203
1214
  (function(e) {
1204
1215
  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";
1205
- })(T || (T = {}));
1206
- var Ce;
1216
+ })(P || (P = {}));
1217
+ var Ie;
1207
1218
  (function(e) {
1208
1219
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1209
- })(Ce || (Ce = {}));
1210
- function nr(e) {
1211
- return e.type === T.literal;
1212
- }
1213
- function di(e) {
1214
- return e.type === T.argument;
1220
+ })(Ie || (Ie = {}));
1221
+ function or(e) {
1222
+ return e.type === P.literal;
1215
1223
  }
1216
- function Rr(e) {
1217
- return e.type === T.number;
1224
+ function pi(e) {
1225
+ return e.type === P.argument;
1218
1226
  }
1219
1227
  function Ur(e) {
1220
- return e.type === T.date;
1228
+ return e.type === P.number;
1221
1229
  }
1222
1230
  function Fr(e) {
1223
- return e.type === T.time;
1231
+ return e.type === P.date;
1224
1232
  }
1225
1233
  function Dr(e) {
1226
- return e.type === T.select;
1234
+ return e.type === P.time;
1227
1235
  }
1228
1236
  function kr(e) {
1229
- return e.type === T.plural;
1237
+ return e.type === P.select;
1230
1238
  }
1231
- function mi(e) {
1232
- return e.type === T.pound;
1239
+ function $r(e) {
1240
+ return e.type === P.plural;
1241
+ }
1242
+ function gi(e) {
1243
+ return e.type === P.pound;
1233
1244
  }
1234
1245
  function Gr(e) {
1235
- return e.type === T.tag;
1246
+ return e.type === P.tag;
1236
1247
  }
1237
- function $r(e) {
1238
- return !!(e && typeof e == "object" && e.type === Ce.number);
1248
+ function jr(e) {
1249
+ return !!(e && typeof e == "object" && e.type === Ie.number);
1239
1250
  }
1240
- function Ot(e) {
1241
- return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1251
+ function Rt(e) {
1252
+ return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1242
1253
  }
1243
- var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1244
- function gi(e) {
1254
+ var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1255
+ function vi(e) {
1245
1256
  var t = {};
1246
- return e.replace(pi, function(r) {
1257
+ return e.replace(bi, function(r) {
1247
1258
  var n = r.length;
1248
1259
  switch (r[0]) {
1249
1260
  case "G":
@@ -1332,11 +1343,21 @@ function gi(e) {
1332
1343
  return "";
1333
1344
  }), t;
1334
1345
  }
1335
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1336
- function vi(e) {
1346
+ var T = function() {
1347
+ return T = Object.assign || function(t) {
1348
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1349
+ r = arguments[n];
1350
+ for (var o in r)
1351
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1352
+ }
1353
+ return t;
1354
+ }, T.apply(this, arguments);
1355
+ };
1356
+ var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
+ function _i(e) {
1337
1358
  if (e.length === 0)
1338
1359
  throw new Error("Number skeleton cannot be empty");
1339
- for (var t = e.split(bi).filter(function(d) {
1360
+ for (var t = e.split(yi).filter(function(d) {
1340
1361
  return d.length > 0;
1341
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1342
1363
  var o = i[n], s = o.split("/");
@@ -1351,17 +1372,17 @@ function vi(e) {
1351
1372
  }
1352
1373
  return r;
1353
1374
  }
1354
- function yi(e) {
1375
+ function wi(e) {
1355
1376
  return e.replace(/^(.*?)-/, "");
1356
1377
  }
1357
- var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1358
- function or(e) {
1378
+ var sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1379
+ function ar(e) {
1359
1380
  var t = {};
1360
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1381
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1361
1382
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1362
1383
  }), t;
1363
1384
  }
1364
- function Xr(e) {
1385
+ function Wr(e) {
1365
1386
  switch (e) {
1366
1387
  case "sign-auto":
1367
1388
  return {
@@ -1401,7 +1422,7 @@ function Xr(e) {
1401
1422
  };
1402
1423
  }
1403
1424
  }
1404
- function wi(e) {
1425
+ function xi(e) {
1405
1426
  var t;
1406
1427
  if (e[0] === "E" && e[1] === "E" ? (t = {
1407
1428
  notation: "engineering"
@@ -1409,17 +1430,17 @@ function wi(e) {
1409
1430
  notation: "scientific"
1410
1431
  }, e = e.slice(1)), t) {
1411
1432
  var r = e.slice(0, 2);
1412
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1433
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1413
1434
  throw new Error("Malformed concise eng/scientific notation");
1414
1435
  t.minimumIntegerDigits = e.length;
1415
1436
  }
1416
1437
  return t;
1417
1438
  }
1418
- function sr(e) {
1419
- var t = {}, r = Xr(e);
1439
+ function lr(e) {
1440
+ var t = {}, r = Wr(e);
1420
1441
  return r || t;
1421
1442
  }
1422
- function Ei(e) {
1443
+ function Si(e) {
1423
1444
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1424
1445
  var i = n[r];
1425
1446
  switch (i.stem) {
@@ -1443,7 +1464,7 @@ function Ei(e) {
1443
1464
  continue;
1444
1465
  case "measure-unit":
1445
1466
  case "unit":
1446
- t.style = "unit", t.unit = yi(i.options[0]);
1467
+ t.style = "unit", t.unit = wi(i.options[0]);
1447
1468
  continue;
1448
1469
  case "compact-short":
1449
1470
  case "K":
@@ -1454,13 +1475,13 @@ function Ei(e) {
1454
1475
  t.notation = "compact", t.compactDisplay = "long";
1455
1476
  continue;
1456
1477
  case "scientific":
1457
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1458
- return E(E({}, c), sr(l));
1478
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1479
+ return T(T({}, c), lr(l));
1459
1480
  }, {}));
1460
1481
  continue;
1461
1482
  case "engineering":
1462
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1463
- return E(E({}, c), sr(l));
1483
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1484
+ return T(T({}, c), lr(l));
1464
1485
  }, {}));
1465
1486
  continue;
1466
1487
  case "notation-simple":
@@ -1505,7 +1526,7 @@ function Ei(e) {
1505
1526
  case "integer-width":
1506
1527
  if (i.options.length > 1)
1507
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1508
- i.options[0].replace(_i, function(c, l, u, f, d, b) {
1529
+ i.options[0].replace(Ei, function(c, l, u, f, d, b) {
1509
1530
  if (l)
1510
1531
  t.minimumIntegerDigits = u.length;
1511
1532
  else {
@@ -1518,28 +1539,28 @@ function Ei(e) {
1518
1539
  });
1519
1540
  continue;
1520
1541
  }
1521
- if (zr.test(i.stem)) {
1542
+ if (Xr.test(i.stem)) {
1522
1543
  t.minimumIntegerDigits = i.stem.length;
1523
1544
  continue;
1524
1545
  }
1525
- if (ir.test(i.stem)) {
1546
+ if (sr.test(i.stem)) {
1526
1547
  if (i.options.length > 1)
1527
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1528
- i.stem.replace(ir, function(c, l, u, f, d, b) {
1549
+ i.stem.replace(sr, function(c, l, u, f, d, b) {
1529
1550
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1530
1551
  });
1531
1552
  var o = i.options[0];
1532
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), or(o)));
1553
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), ar(o)));
1533
1554
  continue;
1534
1555
  }
1535
- if (Vr.test(i.stem)) {
1536
- t = E(E({}, t), or(i.stem));
1556
+ if (zr.test(i.stem)) {
1557
+ t = T(T({}, t), ar(i.stem));
1537
1558
  continue;
1538
1559
  }
1539
- var s = Xr(i.stem);
1540
- s && (t = E(E({}, t), s));
1541
- var a = wi(i.stem);
1542
- a && (t = E(E({}, t), a));
1560
+ var s = Wr(i.stem);
1561
+ s && (t = T(T({}, t), s));
1562
+ var a = xi(i.stem);
1563
+ a && (t = T(T({}, t), a));
1543
1564
  }
1544
1565
  return t;
1545
1566
  }
@@ -2958,13 +2979,13 @@ var it = {
2958
2979
  "h"
2959
2980
  ]
2960
2981
  };
2961
- function xi(e, t) {
2982
+ function Pi(e, t) {
2962
2983
  for (var r = "", n = 0; n < e.length; n++) {
2963
2984
  var i = e.charAt(n);
2964
2985
  if (i === "j") {
2965
2986
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2966
2987
  o++, n++;
2967
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2988
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ti(t);
2968
2989
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2969
2990
  r += c;
2970
2991
  for (; s-- > 0; )
@@ -2974,7 +2995,7 @@ function xi(e, t) {
2974
2995
  }
2975
2996
  return r;
2976
2997
  }
2977
- function Si(e) {
2998
+ function Ti(e) {
2978
2999
  var t = e.hourCycle;
2979
3000
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2980
3001
  e.hourCycles && // @ts-ignore
@@ -2996,20 +3017,20 @@ function Si(e) {
2996
3017
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2997
3018
  return i[0];
2998
3019
  }
2999
- var Et, Pi = new RegExp("^".concat(jr.source, "*")), Ti = new RegExp("".concat(jr.source, "*$"));
3020
+ var St, Hi = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
3000
3021
  function w(e, t) {
3001
3022
  return { start: e, end: t };
3002
3023
  }
3003
- var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
3024
+ var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Oi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Ri = Ni ? Number.isSafeInteger : function(e) {
3004
3025
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3005
- }, Lt = !0;
3026
+ }, Ut = !0;
3006
3027
  try {
3007
- var Ni = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
- Lt = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
3028
+ var Ui = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
+ Ut = ((St = Ui.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
3009
3030
  } catch {
3010
- Lt = !1;
3031
+ Ut = !1;
3011
3032
  }
3012
- var ar = Hi ? (
3033
+ var ur = Ai ? (
3013
3034
  // Native
3014
3035
  function(t, r, n) {
3015
3036
  return t.startsWith(r, n);
@@ -3019,7 +3040,7 @@ var ar = Hi ? (
3019
3040
  function(t, r, n) {
3020
3041
  return t.slice(n, n + r.length) === r;
3021
3042
  }
3022
- ), Mt = Bi ? String.fromCodePoint : (
3043
+ ), Ft = Ii ? String.fromCodePoint : (
3023
3044
  // IE11
3024
3045
  function() {
3025
3046
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3031,9 +3052,9 @@ var ar = Hi ? (
3031
3052
  }
3032
3053
  return n;
3033
3054
  }
3034
- ), lr = (
3055
+ ), cr = (
3035
3056
  // native
3036
- Ai ? Object.fromEntries : (
3057
+ Oi ? Object.fromEntries : (
3037
3058
  // Ponyfill
3038
3059
  function(t) {
3039
3060
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3043,7 +3064,7 @@ var ar = Hi ? (
3043
3064
  return r;
3044
3065
  }
3045
3066
  )
3046
- ), Wr = Ii ? (
3067
+ ), Zr = Ci ? (
3047
3068
  // Native
3048
3069
  function(t, r) {
3049
3070
  return t.codePointAt(r);
@@ -3057,7 +3078,7 @@ var ar = Hi ? (
3057
3078
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3058
3079
  }
3059
3080
  }
3060
- ), Ri = Ci ? (
3081
+ ), Fi = Li ? (
3061
3082
  // Native
3062
3083
  function(t) {
3063
3084
  return t.trimStart();
@@ -3065,9 +3086,9 @@ var ar = Hi ? (
3065
3086
  ) : (
3066
3087
  // Ponyfill
3067
3088
  function(t) {
3068
- return t.replace(Pi, "");
3089
+ return t.replace(Hi, "");
3069
3090
  }
3070
- ), Ui = Oi ? (
3091
+ ), Di = Mi ? (
3071
3092
  // Native
3072
3093
  function(t) {
3073
3094
  return t.trimEnd();
@@ -3075,32 +3096,32 @@ var ar = Hi ? (
3075
3096
  ) : (
3076
3097
  // Ponyfill
3077
3098
  function(t) {
3078
- return t.replace(Ti, "");
3099
+ return t.replace(Bi, "");
3079
3100
  }
3080
3101
  );
3081
- function Zr(e, t) {
3102
+ function qr(e, t) {
3082
3103
  return new RegExp(e, t);
3083
3104
  }
3084
- var Nt;
3085
- if (Lt) {
3086
- var ur = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
- Nt = function(t, r) {
3105
+ var Dt;
3106
+ if (Ut) {
3107
+ var hr = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
+ Dt = function(t, r) {
3088
3109
  var n;
3089
- ur.lastIndex = r;
3090
- var i = ur.exec(t);
3110
+ hr.lastIndex = r;
3111
+ var i = hr.exec(t);
3091
3112
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3092
3113
  };
3093
3114
  } else
3094
- Nt = function(t, r) {
3115
+ Dt = function(t, r) {
3095
3116
  for (var n = []; ; ) {
3096
- var i = Wr(t, r);
3097
- if (i === void 0 || qr(i) || Gi(i))
3117
+ var i = Zr(t, r);
3118
+ if (i === void 0 || Jr(i) || ji(i))
3098
3119
  break;
3099
3120
  n.push(i), r += i >= 65536 ? 2 : 1;
3100
3121
  }
3101
- return Mt.apply(void 0, n);
3122
+ return Ft.apply(void 0, n);
3102
3123
  };
3103
- var Fi = (
3124
+ var ki = (
3104
3125
  /** @class */
3105
3126
  function() {
3106
3127
  function e(t, r) {
@@ -3124,14 +3145,14 @@ var Fi = (
3124
3145
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3125
3146
  var a = this.clonePosition();
3126
3147
  this.bump(), i.push({
3127
- type: T.pound,
3148
+ type: P.pound,
3128
3149
  location: w(a, this.clonePosition())
3129
3150
  });
3130
3151
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3131
3152
  if (n)
3132
3153
  break;
3133
3154
  return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3134
- } else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
3155
+ } else if (o === 60 && !this.ignoreTag && kt(this.peek() || 0)) {
3135
3156
  var s = this.parseTag(t, r);
3136
3157
  if (s.err)
3137
3158
  return s;
@@ -3152,7 +3173,7 @@ var Fi = (
3152
3173
  if (this.bumpSpace(), this.bumpIf("/>"))
3153
3174
  return {
3154
3175
  val: {
3155
- type: T.literal,
3176
+ type: P.literal,
3156
3177
  value: "<".concat(i, "/>"),
3157
3178
  location: w(n, this.clonePosition())
3158
3179
  },
@@ -3164,12 +3185,12 @@ var Fi = (
3164
3185
  return o;
3165
3186
  var s = o.val, a = this.clonePosition();
3166
3187
  if (this.bumpIf("</")) {
3167
- if (this.isEOF() || !Rt(this.char()))
3188
+ if (this.isEOF() || !kt(this.char()))
3168
3189
  return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
3169
3190
  var c = this.clonePosition(), l = this.parseTagName();
3170
3191
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3171
3192
  val: {
3172
- type: T.tag,
3193
+ type: P.tag,
3173
3194
  value: i,
3174
3195
  children: s,
3175
3196
  location: w(n, this.clonePosition())
@@ -3182,7 +3203,7 @@ var Fi = (
3182
3203
  return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
3183
3204
  }, e.prototype.parseTagName = function() {
3184
3205
  var t = this.offset();
3185
- for (this.bump(); !this.isEOF() && ki(this.char()); )
3206
+ for (this.bump(); !this.isEOF() && Gi(this.char()); )
3186
3207
  this.bump();
3187
3208
  return this.message.slice(t, this.offset());
3188
3209
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3206,12 +3227,12 @@ var Fi = (
3206
3227
  }
3207
3228
  var c = w(n, this.clonePosition());
3208
3229
  return {
3209
- val: { type: T.literal, value: i, location: c },
3230
+ val: { type: P.literal, value: i, location: c },
3210
3231
  err: null
3211
3232
  };
3212
3233
  }, e.prototype.tryParseLeftAngleBracket = function() {
3213
3234
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3214
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3215
3236
  }, e.prototype.tryParseQuote = function(t) {
3216
3237
  if (this.isEOF() || this.char() !== 39)
3217
3238
  return null;
@@ -3245,12 +3266,12 @@ var Fi = (
3245
3266
  r.push(n);
3246
3267
  this.bump();
3247
3268
  }
3248
- return Mt.apply(void 0, r);
3269
+ return Ft.apply(void 0, r);
3249
3270
  }, e.prototype.tryParseUnquoted = function(t, r) {
3250
3271
  if (this.isEOF())
3251
3272
  return null;
3252
3273
  var n = this.char();
3253
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
3274
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ft(n));
3254
3275
  }, e.prototype.parseArgument = function(t, r) {
3255
3276
  var n = this.clonePosition();
3256
3277
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3266,7 +3287,7 @@ var Fi = (
3266
3287
  case 125:
3267
3288
  return this.bump(), {
3268
3289
  val: {
3269
- type: T.argument,
3290
+ type: P.argument,
3270
3291
  // value does not include the opening and closing braces.
3271
3292
  value: i,
3272
3293
  location: w(n, this.clonePosition())
@@ -3279,7 +3300,7 @@ var Fi = (
3279
3300
  return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3280
3301
  }
3281
3302
  }, e.prototype.parseIdentifierIfPossible = function() {
3282
- var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
3303
+ var t = this.clonePosition(), r = this.offset(), n = Dt(this.message, r), i = r + n.length;
3283
3304
  this.bumpTo(i);
3284
3305
  var o = this.clonePosition(), s = w(t, o);
3285
3306
  return { value: n, location: s };
@@ -3298,7 +3319,7 @@ var Fi = (
3298
3319
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3299
3320
  if (f.err)
3300
3321
  return f;
3301
- var d = Ui(f.val);
3322
+ var d = Di(f.val);
3302
3323
  if (d.length === 0)
3303
3324
  return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3304
3325
  var b = w(u, this.clonePosition());
@@ -3308,25 +3329,25 @@ var Fi = (
3308
3329
  if (y.err)
3309
3330
  return y;
3310
3331
  var g = w(i, this.clonePosition());
3311
- if (l && ar(l?.style, "::", 0)) {
3312
- var S = Ri(l.style.slice(2));
3332
+ if (l && ur(l?.style, "::", 0)) {
3333
+ var x = Fi(l.style.slice(2));
3313
3334
  if (a === "number") {
3314
- var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3335
+ var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3315
3336
  return f.err ? f : {
3316
- val: { type: T.number, value: n, location: g, style: f.val },
3337
+ val: { type: P.number, value: n, location: g, style: f.val },
3317
3338
  err: null
3318
3339
  };
3319
3340
  } else {
3320
- if (S.length === 0)
3341
+ if (x.length === 0)
3321
3342
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3322
- var C = S;
3323
- this.locale && (C = xi(S, this.locale));
3343
+ var O = x;
3344
+ this.locale && (O = Pi(x, this.locale));
3324
3345
  var d = {
3325
- type: Ce.dateTime,
3326
- pattern: C,
3346
+ type: Ie.dateTime,
3347
+ pattern: O,
3327
3348
  location: l.styleLocation,
3328
- parsedOptions: this.shouldParseSkeletons ? gi(C) : {}
3329
- }, z = a === "date" ? T.date : T.time;
3349
+ parsedOptions: this.shouldParseSkeletons ? vi(O) : {}
3350
+ }, z = a === "date" ? P.date : P.time;
3330
3351
  return {
3331
3352
  val: { type: z, value: n, location: g, style: d },
3332
3353
  err: null
@@ -3335,7 +3356,7 @@ var Fi = (
3335
3356
  }
3336
3357
  return {
3337
3358
  val: {
3338
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3359
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3339
3360
  value: n,
3340
3361
  location: g,
3341
3362
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3348,7 +3369,7 @@ var Fi = (
3348
3369
  case "select": {
3349
3370
  var R = this.clonePosition();
3350
3371
  if (this.bumpSpace(), !this.bumpIf(","))
3351
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, E({}, R)));
3372
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, ct({}, R)));
3352
3373
  this.bumpSpace();
3353
3374
  var U = this.parseIdentifierIfPossible(), A = 0;
3354
3375
  if (a !== "select" && U.value === "offset") {
@@ -3369,17 +3390,17 @@ var Fi = (
3369
3390
  var H = w(i, this.clonePosition());
3370
3391
  return a === "select" ? {
3371
3392
  val: {
3372
- type: T.select,
3393
+ type: P.select,
3373
3394
  value: n,
3374
- options: lr(re.val),
3395
+ options: cr(re.val),
3375
3396
  location: H
3376
3397
  },
3377
3398
  err: null
3378
3399
  } : {
3379
3400
  val: {
3380
- type: T.plural,
3401
+ type: P.plural,
3381
3402
  value: n,
3382
- options: lr(re.val),
3403
+ options: cr(re.val),
3383
3404
  offset: A,
3384
3405
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3385
3406
  location: H
@@ -3430,16 +3451,16 @@ var Fi = (
3430
3451
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3431
3452
  var n = [];
3432
3453
  try {
3433
- n = vi(t);
3454
+ n = _i(t);
3434
3455
  } catch {
3435
3456
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3436
3457
  }
3437
3458
  return {
3438
3459
  val: {
3439
- type: Ce.number,
3460
+ type: Ie.number,
3440
3461
  tokens: n,
3441
3462
  location: r,
3442
- parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
3463
+ parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3443
3464
  },
3444
3465
  err: null
3445
3466
  };
@@ -3487,7 +3508,7 @@ var Fi = (
3487
3508
  break;
3488
3509
  }
3489
3510
  var c = w(i, this.clonePosition());
3490
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3511
+ return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3491
3512
  }, e.prototype.offset = function() {
3492
3513
  return this.position.offset;
3493
3514
  }, e.prototype.isEOF = function() {
@@ -3502,7 +3523,7 @@ var Fi = (
3502
3523
  var t = this.position.offset;
3503
3524
  if (t >= this.message.length)
3504
3525
  throw Error("out of bound");
3505
- var r = Wr(this.message, t);
3526
+ var r = Zr(this.message, t);
3506
3527
  if (r === void 0)
3507
3528
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3508
3529
  return r;
@@ -3521,7 +3542,7 @@ var Fi = (
3521
3542
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3522
3543
  }
3523
3544
  }, e.prototype.bumpIf = function(t) {
3524
- if (ar(this.message, t, this.offset())) {
3545
+ if (ur(this.message, t, this.offset())) {
3525
3546
  for (var r = 0; r < t.length; r++)
3526
3547
  this.bump();
3527
3548
  return !0;
@@ -3543,7 +3564,7 @@ var Fi = (
3543
3564
  break;
3544
3565
  }
3545
3566
  }, e.prototype.bumpSpace = function() {
3546
- for (; !this.isEOF() && qr(this.char()); )
3567
+ for (; !this.isEOF() && Jr(this.char()); )
3547
3568
  this.bump();
3548
3569
  }, e.prototype.peek = function() {
3549
3570
  if (this.isEOF())
@@ -3553,47 +3574,47 @@ var Fi = (
3553
3574
  }, e;
3554
3575
  }()
3555
3576
  );
3556
- function Rt(e) {
3577
+ function kt(e) {
3557
3578
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3558
3579
  }
3559
- function Di(e) {
3560
- return Rt(e) || e === 47;
3580
+ function $i(e) {
3581
+ return kt(e) || e === 47;
3561
3582
  }
3562
- function ki(e) {
3583
+ function Gi(e) {
3563
3584
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3564
3585
  }
3565
- function qr(e) {
3586
+ function Jr(e) {
3566
3587
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3567
3588
  }
3568
- function Gi(e) {
3589
+ function ji(e) {
3569
3590
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3570
3591
  }
3571
- function Ut(e) {
3592
+ function $t(e) {
3572
3593
  e.forEach(function(t) {
3573
- if (delete t.location, Dr(t) || kr(t))
3594
+ if (delete t.location, kr(t) || $r(t))
3574
3595
  for (var r in t.options)
3575
- delete t.options[r].location, Ut(t.options[r].value);
3596
+ delete t.options[r].location, $t(t.options[r].value);
3576
3597
  else
3577
- Rr(t) && $r(t.style) || (Ur(t) || Fr(t)) && Ot(t.style) ? delete t.style.location : Gr(t) && Ut(t.children);
3598
+ Ur(t) && jr(t.style) || (Fr(t) || Dr(t)) && Rt(t.style) ? delete t.style.location : Gr(t) && $t(t.children);
3578
3599
  });
3579
3600
  }
3580
- function $i(e, t) {
3581
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3582
- var r = new Fi(e, t).parse();
3601
+ function Vi(e, t) {
3602
+ t === void 0 && (t = {}), t = ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
+ var r = new ki(e, t).parse();
3583
3604
  if (r.err) {
3584
3605
  var n = SyntaxError(_[r.err.kind]);
3585
3606
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3586
3607
  }
3587
- return t?.captureLocation || Ut(r.val), r.val;
3608
+ return t?.captureLocation || $t(r.val), r.val;
3588
3609
  }
3589
3610
  var Oe;
3590
3611
  (function(e) {
3591
3612
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3592
3613
  })(Oe || (Oe = {}));
3593
- var mt = (
3614
+ var gt = (
3594
3615
  /** @class */
3595
3616
  function(e) {
3596
- ae(t, e);
3617
+ pt(t, e);
3597
3618
  function t(r, n, i) {
3598
3619
  var o = e.call(this, r) || this;
3599
3620
  return o.code = n, o.originalMessage = i, o;
@@ -3602,48 +3623,48 @@ var mt = (
3602
3623
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3603
3624
  }, t;
3604
3625
  }(Error)
3605
- ), cr = (
3626
+ ), fr = (
3606
3627
  /** @class */
3607
3628
  function(e) {
3608
- ae(t, e);
3629
+ pt(t, e);
3609
3630
  function t(r, n, i, o) {
3610
3631
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
3611
3632
  }
3612
3633
  return t;
3613
- }(mt)
3614
- ), ji = (
3634
+ }(gt)
3635
+ ), zi = (
3615
3636
  /** @class */
3616
3637
  function(e) {
3617
- ae(t, e);
3638
+ pt(t, e);
3618
3639
  function t(r, n, i) {
3619
3640
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
3620
3641
  }
3621
3642
  return t;
3622
- }(mt)
3623
- ), Vi = (
3643
+ }(gt)
3644
+ ), Xi = (
3624
3645
  /** @class */
3625
3646
  function(e) {
3626
- ae(t, e);
3647
+ pt(t, e);
3627
3648
  function t(r, n) {
3628
3649
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
3629
3650
  }
3630
3651
  return t;
3631
- }(mt)
3652
+ }(gt)
3632
3653
  ), V;
3633
3654
  (function(e) {
3634
3655
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3635
3656
  })(V || (V = {}));
3636
- function zi(e) {
3657
+ function Wi(e) {
3637
3658
  return e.length < 2 ? e : e.reduce(function(t, r) {
3638
3659
  var n = t[t.length - 1];
3639
3660
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3640
3661
  }, []);
3641
3662
  }
3642
- function Xi(e) {
3663
+ function Zi(e) {
3643
3664
  return typeof e == "function";
3644
3665
  }
3645
3666
  function at(e, t, r, n, i, o, s) {
3646
- if (e.length === 1 && nr(e[0]))
3667
+ if (e.length === 1 && or(e[0]))
3647
3668
  return [
3648
3669
  {
3649
3670
  type: V.literal,
@@ -3652,14 +3673,14 @@ function at(e, t, r, n, i, o, s) {
3652
3673
  ];
3653
3674
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3654
3675
  var u = l[c];
3655
- if (nr(u)) {
3676
+ if (or(u)) {
3656
3677
  a.push({
3657
3678
  type: V.literal,
3658
3679
  value: u.value
3659
3680
  });
3660
3681
  continue;
3661
3682
  }
3662
- if (mi(u)) {
3683
+ if (gi(u)) {
3663
3684
  typeof o == "number" && a.push({
3664
3685
  type: V.literal,
3665
3686
  value: r.getNumberFormat(t).format(o)
@@ -3668,33 +3689,33 @@ function at(e, t, r, n, i, o, s) {
3668
3689
  }
3669
3690
  var f = u.value;
3670
3691
  if (!(i && f in i))
3671
- throw new Vi(f, s);
3692
+ throw new Xi(f, s);
3672
3693
  var d = i[f];
3673
- if (di(u)) {
3694
+ if (pi(u)) {
3674
3695
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3675
3696
  type: typeof d == "string" ? V.literal : V.object,
3676
3697
  value: d
3677
3698
  });
3678
3699
  continue;
3679
3700
  }
3680
- if (Ur(u)) {
3681
- var b = typeof u.style == "string" ? n.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
3701
+ if (Fr(u)) {
3702
+ var b = typeof u.style == "string" ? n.date[u.style] : Rt(u.style) ? u.style.parsedOptions : void 0;
3682
3703
  a.push({
3683
3704
  type: V.literal,
3684
3705
  value: r.getDateTimeFormat(t, b).format(d)
3685
3706
  });
3686
3707
  continue;
3687
3708
  }
3688
- if (Fr(u)) {
3689
- var b = typeof u.style == "string" ? n.time[u.style] : Ot(u.style) ? u.style.parsedOptions : n.time.medium;
3709
+ if (Dr(u)) {
3710
+ var b = typeof u.style == "string" ? n.time[u.style] : Rt(u.style) ? u.style.parsedOptions : n.time.medium;
3690
3711
  a.push({
3691
3712
  type: V.literal,
3692
3713
  value: r.getDateTimeFormat(t, b).format(d)
3693
3714
  });
3694
3715
  continue;
3695
3716
  }
3696
- if (Rr(u)) {
3697
- var b = typeof u.style == "string" ? n.number[u.style] : $r(u.style) ? u.style.parsedOptions : void 0;
3717
+ if (Ur(u)) {
3718
+ var b = typeof u.style == "string" ? n.number[u.style] : jr(u.style) ? u.style.parsedOptions : void 0;
3698
3719
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3699
3720
  type: V.literal,
3700
3721
  value: r.getNumberFormat(t, b).format(d)
@@ -3702,10 +3723,10 @@ function at(e, t, r, n, i, o, s) {
3702
3723
  continue;
3703
3724
  }
3704
3725
  if (Gr(u)) {
3705
- var y = u.children, g = u.value, S = i[g];
3706
- if (!Xi(S))
3707
- throw new ji(g, "function", s);
3708
- var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3726
+ var y = u.children, g = u.value, x = i[g];
3727
+ if (!Zi(x))
3728
+ throw new zi(g, "function", s);
3729
+ var O = at(y, t, r, n, i, o), z = x(O.map(function(A) {
3709
3730
  return A.value;
3710
3731
  }));
3711
3732
  Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
@@ -3715,42 +3736,42 @@ function at(e, t, r, n, i, o, s) {
3715
3736
  };
3716
3737
  }));
3717
3738
  }
3718
- if (Dr(u)) {
3739
+ if (kr(u)) {
3719
3740
  var R = u.options[d] || u.options.other;
3720
3741
  if (!R)
3721
- throw new cr(u.value, d, Object.keys(u.options), s);
3742
+ throw new fr(u.value, d, Object.keys(u.options), s);
3722
3743
  a.push.apply(a, at(R.value, t, r, n, i));
3723
3744
  continue;
3724
3745
  }
3725
- if (kr(u)) {
3746
+ if ($r(u)) {
3726
3747
  var R = u.options["=".concat(d)];
3727
3748
  if (!R) {
3728
3749
  if (!Intl.PluralRules)
3729
- throw new mt(`Intl.PluralRules is not available in this environment.
3750
+ throw new gt(`Intl.PluralRules is not available in this environment.
3730
3751
  Try polyfilling it using "@formatjs/intl-pluralrules"
3731
3752
  `, Oe.MISSING_INTL_API, s);
3732
3753
  var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3733
3754
  R = u.options[U] || u.options.other;
3734
3755
  }
3735
3756
  if (!R)
3736
- throw new cr(u.value, d, Object.keys(u.options), s);
3757
+ throw new fr(u.value, d, Object.keys(u.options), s);
3737
3758
  a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
3738
3759
  continue;
3739
3760
  }
3740
3761
  }
3741
- return zi(a);
3762
+ return Wi(a);
3742
3763
  }
3743
- function Wi(e, t) {
3744
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3745
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3764
+ function qi(e, t) {
3765
+ return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3766
+ return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
3746
3767
  }, {})) : e;
3747
3768
  }
3748
- function Zi(e, t) {
3769
+ function Ji(e, t) {
3749
3770
  return t ? Object.keys(e).reduce(function(r, n) {
3750
- return r[n] = Wi(e[n], t[n]), r;
3751
- }, E({}, e)) : e;
3771
+ return r[n] = qi(e[n], t[n]), r;
3772
+ }, ie({}, e)) : e;
3752
3773
  }
3753
- function xt(e) {
3774
+ function Pt(e) {
3754
3775
  return {
3755
3776
  create: function() {
3756
3777
  return {
@@ -3764,39 +3785,39 @@ function xt(e) {
3764
3785
  }
3765
3786
  };
3766
3787
  }
3767
- function qi(e) {
3788
+ function Qi(e) {
3768
3789
  return e === void 0 && (e = {
3769
3790
  number: {},
3770
3791
  dateTime: {},
3771
3792
  pluralRules: {}
3772
3793
  }), {
3773
- getNumberFormat: _t(function() {
3794
+ getNumberFormat: Et(function() {
3774
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3796
  r[n] = arguments[n];
3776
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3797
+ return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
3777
3798
  }, {
3778
- cache: xt(e.number),
3779
- strategy: wt.variadic
3799
+ cache: Pt(e.number),
3800
+ strategy: xt.variadic
3780
3801
  }),
3781
- getDateTimeFormat: _t(function() {
3802
+ getDateTimeFormat: Et(function() {
3782
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3804
  r[n] = arguments[n];
3784
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3805
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
3785
3806
  }, {
3786
- cache: xt(e.dateTime),
3787
- strategy: wt.variadic
3807
+ cache: Pt(e.dateTime),
3808
+ strategy: xt.variadic
3788
3809
  }),
3789
- getPluralRules: _t(function() {
3810
+ getPluralRules: Et(function() {
3790
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3791
3812
  r[n] = arguments[n];
3792
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3813
+ return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
3793
3814
  }, {
3794
- cache: xt(e.pluralRules),
3795
- strategy: wt.variadic
3815
+ cache: Pt(e.pluralRules),
3816
+ strategy: xt.variadic
3796
3817
  })
3797
3818
  };
3798
3819
  }
3799
- var Ji = (
3820
+ var Yi = (
3800
3821
  /** @class */
3801
3822
  function() {
3802
3823
  function e(t, r, n, i) {
@@ -3828,13 +3849,13 @@ var Ji = (
3828
3849
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3829
3850
  var s = i || {};
3830
3851
  s.formatters;
3831
- var a = An(s, ["formatters"]);
3832
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3852
+ var a = ai(s, ["formatters"]);
3853
+ this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3833
3854
  } else
3834
3855
  this.ast = t;
3835
3856
  if (!Array.isArray(this.ast))
3836
3857
  throw new TypeError("A message must be provided as a String or AST.");
3837
- this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3858
+ this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
3838
3859
  }
3839
3860
  return Object.defineProperty(e, "defaultLocale", {
3840
3861
  get: function() {
@@ -3847,7 +3868,7 @@ var Ji = (
3847
3868
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3848
3869
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3849
3870
  }
3850
- }, e.__parse = $i, e.formats = {
3871
+ }, e.__parse = Vi, e.formats = {
3851
3872
  number: {
3852
3873
  integer: {
3853
3874
  maximumFractionDigits: 0
@@ -3908,7 +3929,7 @@ var Ji = (
3908
3929
  }, e;
3909
3930
  }()
3910
3931
  );
3911
- function Qi(e, t) {
3932
+ function Ki(e, t) {
3912
3933
  if (t == null)
3913
3934
  return;
3914
3935
  if (t in e)
@@ -3929,92 +3950,92 @@ function Qi(e, t) {
3929
3950
  n = void 0;
3930
3951
  return n;
3931
3952
  }
3932
- const ue = {}, Yi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Jr = (e, t) => {
3953
+ const ue = {}, eo = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Qr = (e, t) => {
3933
3954
  if (t == null)
3934
3955
  return;
3935
3956
  if (t in ue && e in ue[t])
3936
3957
  return ue[t][e];
3937
- const r = pt(t);
3958
+ const r = bt(t);
3938
3959
  for (let n = 0; n < r.length; n++) {
3939
- const i = r[n], o = eo(i, e);
3960
+ const i = r[n], o = ro(i, e);
3940
3961
  if (o)
3941
- return Yi(e, t, o);
3962
+ return eo(e, t, o);
3942
3963
  }
3943
3964
  };
3944
- let jt;
3945
- const Re = dt({});
3946
- function Ki(e) {
3947
- return jt[e] || null;
3965
+ let zt;
3966
+ const Ne = mt({});
3967
+ function to(e) {
3968
+ return zt[e] || null;
3948
3969
  }
3949
- function Qr(e) {
3950
- return e in jt;
3970
+ function Yr(e) {
3971
+ return e in zt;
3951
3972
  }
3952
- function eo(e, t) {
3953
- if (!Qr(e))
3973
+ function ro(e, t) {
3974
+ if (!Yr(e))
3954
3975
  return null;
3955
- const r = Ki(e);
3956
- return Qi(r, t);
3976
+ const r = to(e);
3977
+ return Ki(r, t);
3957
3978
  }
3958
- function to(e) {
3979
+ function no(e) {
3959
3980
  if (e == null)
3960
3981
  return;
3961
- const t = pt(e);
3982
+ const t = bt(e);
3962
3983
  for (let r = 0; r < t.length; r++) {
3963
3984
  const n = t[r];
3964
- if (Qr(n))
3985
+ if (Yr(n))
3965
3986
  return n;
3966
3987
  }
3967
3988
  }
3968
- function Yr(e, ...t) {
3969
- delete ue[e], Re.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3989
+ function Kr(e, ...t) {
3990
+ delete ue[e], Ne.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3970
3991
  }
3971
- Ne(
3972
- [Re],
3992
+ Me(
3993
+ [Ne],
3973
3994
  ([e]) => Object.keys(e)
3974
3995
  );
3975
- Re.subscribe((e) => jt = e);
3996
+ Ne.subscribe((e) => zt = e);
3976
3997
  const lt = {};
3977
- function ro(e, t) {
3998
+ function io(e, t) {
3978
3999
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3979
4000
  }
3980
- function Kr(e) {
4001
+ function en(e) {
3981
4002
  return lt[e];
3982
4003
  }
3983
- function no(e) {
3984
- return pt(e).map((t) => {
3985
- const r = Kr(t);
4004
+ function oo(e) {
4005
+ return bt(e).map((t) => {
4006
+ const r = en(t);
3986
4007
  return [t, r ? [...r] : []];
3987
4008
  }).filter(([, t]) => t.length > 0);
3988
4009
  }
3989
- function Ft(e) {
3990
- return e == null ? !1 : pt(e).some(
4010
+ function Gt(e) {
4011
+ return e == null ? !1 : bt(e).some(
3991
4012
  (t) => {
3992
4013
  var r;
3993
- return (r = Kr(t)) == null ? void 0 : r.size;
4014
+ return (r = en(t)) == null ? void 0 : r.size;
3994
4015
  }
3995
4016
  );
3996
4017
  }
3997
- function io(e, t) {
4018
+ function so(e, t) {
3998
4019
  return Promise.all(
3999
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4000
- ).then((n) => Yr(e, ...n));
4001
- }
4002
- const je = {};
4003
- function en(e) {
4004
- if (!Ft(e))
4005
- return e in je ? je[e] : Promise.resolve();
4006
- const t = no(e);
4007
- return je[e] = Promise.all(
4020
+ t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4021
+ ).then((n) => Kr(e, ...n));
4022
+ }
4023
+ const Ge = {};
4024
+ function tn(e) {
4025
+ if (!Gt(e))
4026
+ return e in Ge ? Ge[e] : Promise.resolve();
4027
+ const t = oo(e);
4028
+ return Ge[e] = Promise.all(
4008
4029
  t.map(
4009
- ([r, n]) => io(r, n)
4030
+ ([r, n]) => so(r, n)
4010
4031
  )
4011
4032
  ).then(() => {
4012
- if (Ft(e))
4013
- return en(e);
4014
- delete je[e];
4015
- }), je[e];
4033
+ if (Gt(e))
4034
+ return tn(e);
4035
+ delete Ge[e];
4036
+ }), Ge[e];
4016
4037
  }
4017
- const oo = {
4038
+ const ao = {
4018
4039
  number: {
4019
4040
  scientific: { notation: "scientific" },
4020
4041
  engineering: { notation: "engineering" },
@@ -4043,135 +4064,135 @@ const oo = {
4043
4064
  timeZoneName: "short"
4044
4065
  }
4045
4066
  }
4046
- }, so = {
4067
+ }, lo = {
4047
4068
  fallbackLocale: null,
4048
4069
  loadingDelay: 200,
4049
- formats: oo,
4070
+ formats: ao,
4050
4071
  warnOnMissingMessages: !0,
4051
4072
  handleMissingMessage: void 0,
4052
4073
  ignoreTag: !0
4053
- }, ao = so;
4054
- function Le() {
4055
- return ao;
4074
+ }, uo = lo;
4075
+ function Ce() {
4076
+ return uo;
4056
4077
  }
4057
- const St = dt(!1);
4058
- var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4078
+ const Tt = mt(!1);
4079
+ var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, dr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4059
4080
  for (var r in t || (t = {}))
4060
- ho.call(t, r) && fr(e, r, t[r]);
4061
- if (hr)
4062
- for (var r of hr(t))
4063
- fo.call(t, r) && fr(e, r, t[r]);
4081
+ mo.call(t, r) && mr(e, r, t[r]);
4082
+ if (dr)
4083
+ for (var r of dr(t))
4084
+ po.call(t, r) && mr(e, r, t[r]);
4064
4085
  return e;
4065
- }, po = (e, t) => uo(e, co(t));
4066
- let Dt;
4067
- const ct = dt(null);
4068
- function dr(e) {
4086
+ }, bo = (e, t) => ho(e, fo(t));
4087
+ let jt;
4088
+ const ht = mt(null);
4089
+ function pr(e) {
4069
4090
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4070
4091
  }
4071
- function pt(e, t = Le().fallbackLocale) {
4072
- const r = dr(e);
4073
- return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
4092
+ function bt(e, t = Ce().fallbackLocale) {
4093
+ const r = pr(e);
4094
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
4074
4095
  }
4075
4096
  function ve() {
4076
- return Dt ?? void 0;
4097
+ return jt ?? void 0;
4077
4098
  }
4078
- ct.subscribe((e) => {
4079
- Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4099
+ ht.subscribe((e) => {
4100
+ jt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4080
4101
  });
4081
- const go = (e) => {
4082
- if (e && to(e) && Ft(e)) {
4083
- const { loadingDelay: t } = Le();
4102
+ const vo = (e) => {
4103
+ if (e && no(e) && Gt(e)) {
4104
+ const { loadingDelay: t } = Ce();
4084
4105
  let r;
4085
4106
  return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
4086
- () => St.set(!0),
4107
+ () => Tt.set(!0),
4087
4108
  t
4088
- ) : St.set(!0), en(e).then(() => {
4089
- ct.set(e);
4109
+ ) : Tt.set(!0), tn(e).then(() => {
4110
+ ht.set(e);
4090
4111
  }).finally(() => {
4091
- clearTimeout(r), St.set(!1);
4112
+ clearTimeout(r), Tt.set(!1);
4092
4113
  });
4093
4114
  }
4094
- return ct.set(e);
4095
- }, ce = po(mo({}, ct), {
4096
- set: go
4097
- }), gt = (e) => {
4115
+ return ht.set(e);
4116
+ }, ce = bo(go({}, ht), {
4117
+ set: vo
4118
+ }), vt = (e) => {
4098
4119
  const t = /* @__PURE__ */ Object.create(null);
4099
4120
  return (n) => {
4100
4121
  const i = JSON.stringify(n);
4101
4122
  return i in t ? t[i] : t[i] = e(n);
4102
4123
  };
4103
4124
  };
4104
- var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4125
+ var yo = Object.defineProperty, ft = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4105
4126
  for (var r in t || (t = {}))
4106
- tn.call(t, r) && mr(e, r, t[r]);
4107
- if (ht)
4108
- for (var r of ht(t))
4109
- rn.call(t, r) && mr(e, r, t[r]);
4127
+ rn.call(t, r) && gr(e, r, t[r]);
4128
+ if (ft)
4129
+ for (var r of ft(t))
4130
+ nn.call(t, r) && gr(e, r, t[r]);
4110
4131
  return e;
4111
- }, Ue = (e, t) => {
4132
+ }, Re = (e, t) => {
4112
4133
  var r = {};
4113
4134
  for (var n in e)
4114
- tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4115
- if (e != null && ht)
4116
- for (var n of ht(e))
4117
- t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
4135
+ rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
+ if (e != null && ft)
4137
+ for (var n of ft(e))
4138
+ t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4118
4139
  return r;
4119
4140
  };
4120
- const We = (e, t) => {
4121
- const { formats: r } = Le();
4141
+ const Xe = (e, t) => {
4142
+ const { formats: r } = Ce();
4122
4143
  if (e in r && t in r[e])
4123
4144
  return r[e][t];
4124
4145
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4125
- }, vo = gt(
4146
+ }, _o = vt(
4126
4147
  (e) => {
4127
- var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4128
4149
  if (r == null)
4129
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4130
- return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4151
+ return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
4131
4152
  }
4132
- ), yo = gt(
4153
+ ), wo = vt(
4133
4154
  (e) => {
4134
- var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4155
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4135
4156
  if (r == null)
4136
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4137
- return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4158
+ return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
4138
4159
  }
4139
- ), _o = gt(
4160
+ ), Eo = vt(
4140
4161
  (e) => {
4141
- var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4162
+ var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4142
4163
  if (r == null)
4143
4164
  throw new Error(
4144
4165
  '[svelte-i18n] A "locale" must be set to format time values'
4145
4166
  );
4146
- return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4167
+ return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
4147
4168
  }
4148
- ), wo = (e = {}) => {
4169
+ ), xo = (e = {}) => {
4149
4170
  var t = e, {
4150
4171
  locale: r = ve()
4151
- } = t, n = Ue(t, [
4172
+ } = t, n = Re(t, [
4152
4173
  "locale"
4153
4174
  ]);
4154
- return vo(Vt({ locale: r }, n));
4155
- }, Eo = (e = {}) => {
4175
+ return _o(Xt({ locale: r }, n));
4176
+ }, So = (e = {}) => {
4156
4177
  var t = e, {
4157
4178
  locale: r = ve()
4158
- } = t, n = Ue(t, [
4179
+ } = t, n = Re(t, [
4159
4180
  "locale"
4160
4181
  ]);
4161
- return yo(Vt({ locale: r }, n));
4162
- }, xo = (e = {}) => {
4182
+ return wo(Xt({ locale: r }, n));
4183
+ }, Po = (e = {}) => {
4163
4184
  var t = e, {
4164
4185
  locale: r = ve()
4165
- } = t, n = Ue(t, [
4186
+ } = t, n = Re(t, [
4166
4187
  "locale"
4167
4188
  ]);
4168
- return _o(Vt({ locale: r }, n));
4169
- }, So = gt(
4189
+ return Eo(Xt({ locale: r }, n));
4190
+ }, To = vt(
4170
4191
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4171
- (e, t = ve()) => new Ji(e, t, Le().formats, {
4172
- ignoreTag: Le().ignoreTag
4192
+ (e, t = ve()) => new Yi(e, t, Ce().formats, {
4193
+ ignoreTag: Ce().ignoreTag
4173
4194
  })
4174
- ), Po = (e, t = {}) => {
4195
+ ), Ho = (e, t = {}) => {
4175
4196
  var r, n, i, o;
4176
4197
  let s = t;
4177
4198
  typeof e == "object" && (s = e, e = s.id);
@@ -4184,9 +4205,9 @@ const We = (e, t) => {
4184
4205
  throw new Error(
4185
4206
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4186
4207
  );
4187
- let u = Jr(e, c);
4208
+ let u = Qr(e, c);
4188
4209
  if (!u)
4189
- 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;
4210
+ 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;
4190
4211
  else if (typeof u != "string")
4191
4212
  return console.warn(
4192
4213
  `[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.`
@@ -4195,7 +4216,7 @@ const We = (e, t) => {
4195
4216
  return u;
4196
4217
  let f = u;
4197
4218
  try {
4198
- f = So(u, c).format(a);
4219
+ f = To(u, c).format(a);
4199
4220
  } catch (d) {
4200
4221
  d instanceof Error && console.warn(
4201
4222
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4203,26 +4224,26 @@ const We = (e, t) => {
4203
4224
  );
4204
4225
  }
4205
4226
  return f;
4206
- }, To = (e, t) => xo(t).format(e), Ho = (e, t) => Eo(t).format(e), Bo = (e, t) => wo(t).format(e), Ao = (e, t = ve()) => Jr(e, t), Io = Ne([ce, Re], () => Po);
4207
- Ne([ce], () => To);
4208
- Ne([ce], () => Ho);
4209
- Ne([ce], () => Bo);
4210
- Ne([ce, Re], () => Ao);
4227
+ }, Bo = (e, t) => Po(t).format(e), Ao = (e, t) => So(t).format(e), Io = (e, t) => xo(t).format(e), Oo = (e, t = ve()) => Qr(e, t), Co = Me([ce, Ne], () => Ho);
4228
+ Me([ce], () => Bo);
4229
+ Me([ce], () => Ao);
4230
+ Me([ce], () => Io);
4231
+ Me([ce, Ne], () => Oo);
4211
4232
  window.emWidgets = { topic: jn };
4212
- const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4233
+ const Lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4213
4234
  String(Number.MAX_SAFE_INTEGER).length;
4214
- function Oo({ withLocale: e, translations: t }) {
4235
+ function Mo({ withLocale: e, translations: t }) {
4215
4236
  ce.subscribe((r) => {
4216
- r == null && (Re.set(t), ce.set(e));
4237
+ r == null && (Ne.set(t), ce.set(e));
4217
4238
  });
4218
4239
  }
4219
- function pr(e, t) {
4220
- Yr(e, t);
4240
+ function br(e, t) {
4241
+ Kr(e, t);
4221
4242
  }
4222
- function Lo(e) {
4243
+ function No(e) {
4223
4244
  ce.set(e);
4224
4245
  }
4225
- const gr = {
4246
+ const vr = {
4226
4247
  en: {
4227
4248
  loginTitle: "Welcome",
4228
4249
  loginSubtitle: "Don't have an account yet?",
@@ -4367,13 +4388,13 @@ const gr = {
4367
4388
  successMessage: "Login successful"
4368
4389
  }
4369
4390
  };
4370
- function Mo(e, t) {
4391
+ function Ro(e, t) {
4371
4392
  if (e) {
4372
4393
  const r = document.createElement("style");
4373
4394
  r.innerHTML = t, e.appendChild(r);
4374
4395
  }
4375
4396
  }
4376
- function No(e, t) {
4397
+ function Uo(e, t) {
4377
4398
  if (!e || !t)
4378
4399
  return;
4379
4400
  const r = new URL(t);
@@ -4384,7 +4405,7 @@ function No(e, t) {
4384
4405
  console.error("There was an error while trying to load client styling from URL", n);
4385
4406
  });
4386
4407
  }
4387
- function Ro(e, t, r) {
4408
+ function Fo(e, t, r) {
4388
4409
  if (window.emMessageBus) {
4389
4410
  const n = document.createElement("style");
4390
4411
  window.emMessageBus.subscribe(t, (i) => {
@@ -4404,18 +4425,18 @@ if (typeof window < "u") {
4404
4425
  }
4405
4426
  };
4406
4427
  };
4407
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DX_5tHlq.js").then(({ default: t }) => {
4428
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-twswR9Vh.js").then(({ default: t }) => {
4408
4429
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4409
4430
  });
4410
4431
  }
4411
- function Uo(e) {
4412
- ln(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);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:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4432
+ function Do(e) {
4433
+ un(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);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:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4413
4434
  }
4414
- function br(e) {
4435
+ function yr(e) {
4415
4436
  let t, r;
4416
4437
  return {
4417
4438
  c() {
4418
- t = x("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4439
+ t = E("script"), qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4419
4440
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4420
4441
  },
4421
4442
  m(n, i) {
@@ -4423,7 +4444,7 @@ function br(e) {
4423
4444
  },
4424
4445
  p(n, i) {
4425
4446
  i[0] & /*captchakey*/
4426
- 2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4447
+ 2 && !qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4427
4448
  n[1]) && h(t, "src", r);
4428
4449
  },
4429
4450
  d(n) {
@@ -4431,18 +4452,18 @@ function br(e) {
4431
4452
  }
4432
4453
  };
4433
4454
  }
4434
- function Fo(e) {
4455
+ function ko(e) {
4435
4456
  let t, r, n;
4436
4457
  function i(a, c) {
4437
4458
  return (
4438
4459
  /*startSmsValidation*/
4439
- a[21] ? Go : ko
4460
+ a[21] ? jo : Go
4440
4461
  );
4441
4462
  }
4442
4463
  let o = i(e), s = o(e);
4443
4464
  return {
4444
4465
  c() {
4445
- t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4466
+ t = E("div"), r = E("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4446
4467
  (e[11] ? "FormMobileContainer" : ""));
4447
4468
  },
4448
4469
  m(a, c) {
@@ -4458,11 +4479,11 @@ function Fo(e) {
4458
4479
  }
4459
4480
  };
4460
4481
  }
4461
- function Do(e) {
4482
+ function $o(e) {
4462
4483
  let t;
4463
4484
  return {
4464
4485
  c() {
4465
- t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4486
+ t = E("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4466
4487
  },
4467
4488
  m(r, n) {
4468
4489
  L(r, t, n);
@@ -4473,7 +4494,7 @@ function Do(e) {
4473
4494
  }
4474
4495
  };
4475
4496
  }
4476
- function ko(e) {
4497
+ function Go(e) {
4477
4498
  let t, r, n = (
4478
4499
  /*$_*/
4479
4500
  e[22]("loginTitle") + ""
@@ -4483,158 +4504,158 @@ function ko(e) {
4483
4504
  ), c, l, u, f = (
4484
4505
  /*$_*/
4485
4506
  e[22]("loginSubtitleRegister") + ""
4486
- ), d, b, y, g, S, C, z = (
4507
+ ), d, b, y, g, x, O, z = (
4487
4508
  /*$_*/
4488
4509
  e[22]("loginUsername") + ""
4489
- ), R, U, A, re, H, ie, he, J, le, B, ne, X = (
4510
+ ), R, U, A, re, H, oe, he, J, le, B, ne, X = (
4490
4511
  /*$_*/
4491
4512
  e[22]("loginPassword") + ""
4492
- ), Fe, Ze, fe, de, M, ye, qe, _e, we, me, De, Ee, Q, pe = (
4513
+ ), Ue, Ze, fe, de, M, ye, qe, _e, we, me, Fe, Ee, Q, pe = (
4493
4514
  /*$_*/
4494
4515
  e[22]("loginButton") + ""
4495
4516
  ), xe, Je, ge, be = (
4496
4517
  /*$_*/
4497
4518
  e[22]("loginForgotPassword") + ""
4498
- ), ke, Ge, Qe, F = (
4519
+ ), De, ke, Qe, F = (
4499
4520
  /*invalidName*/
4500
- e[14] && vr(e)
4521
+ e[14] && _r(e)
4501
4522
  );
4502
- function Ye(v, P) {
4523
+ function Ye(v, S) {
4503
4524
  return (
4504
4525
  /*isPasswordVisible*/
4505
- v[19] ? jo : $o
4526
+ v[19] ? zo : Vo
4506
4527
  );
4507
4528
  }
4508
4529
  let Se = Ye(e), Y = Se(e), D = (
4509
4530
  /*invalidPassword*/
4510
4531
  e[15] && /*simplepasswordvalidation*/
4511
- e[2] !== "true" && yr(e)
4532
+ e[2] !== "true" && wr(e)
4512
4533
  ), k = (
4513
4534
  /*invalidPassword*/
4514
4535
  e[15] && /*simplepasswordvalidation*/
4515
- e[2] === "true" && _r(e)
4516
- ), G = (
4536
+ e[2] === "true" && Er(e)
4537
+ ), $ = (
4517
4538
  /*errorMessage*/
4518
- e[16] && wr(e)
4539
+ e[16] && xr(e)
4519
4540
  );
4520
4541
  return {
4521
4542
  c() {
4522
- 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(), M = x("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), De = j(), G && G.c(), Ee = 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, "autocomplete", ie = /*savecredentials*/
4523
- e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
4543
+ t = E("div"), r = E("h4"), i = N(n), o = j(), s = E("p"), c = N(a), l = j(), u = E("span"), d = N(f), b = j(), y = E("div"), g = E("form"), x = E("div"), O = E("label"), R = N(z), U = N(":"), A = E("span"), A.textContent = "*", re = j(), H = E("input"), he = j(), F && F.c(), le = j(), B = E("div"), ne = E("label"), Ue = N(X), Ze = N(":"), fe = E("span"), fe.textContent = "*", de = j(), M = E("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), Fe = j(), $ && $.c(), Ee = j(), Q = E("button"), xe = N(pe), Je = j(), ge = E("button"), De = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(O, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", oe = /*savecredentials*/
4544
+ e[6] ? "username email" : "off"), H.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
4524
4545
  (e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", ye = /*savecredentials*/
4525
4546
  e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
4526
4547
  (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4527
4548
  e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4528
4549
  },
4529
- m(v, P) {
4530
- 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, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
4550
+ m(v, S) {
4551
+ L(v, t, S), 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, S), L(v, y, S), m(y, g), m(g, x), m(x, O), m(O, R), m(O, U), m(O, A), m(x, re), m(x, H), rt(
4531
4552
  H,
4532
4553
  /*userValue*/
4533
4554
  e[12]
4534
- ), 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, M), rt(
4555
+ ), m(x, he), F && F.m(x, null), m(g, le), m(g, B), m(B, ne), m(ne, Ue), m(ne, Ze), m(ne, fe), m(B, de), m(B, M), rt(
4535
4556
  M,
4536
4557
  /*userPassword*/
4537
4558
  e[13]
4538
- ), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, De), G && G.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, ke), Ge || (Qe = [
4539
- oe(
4559
+ ), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, Fe), $ && $.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, De), ke || (Qe = [
4560
+ se(
4540
4561
  u,
4541
4562
  "click",
4542
4563
  /*click_handler*/
4543
4564
  e[33]
4544
4565
  ),
4545
- oe(
4566
+ se(
4546
4567
  H,
4547
4568
  "input",
4548
4569
  /*input0_input_handler*/
4549
4570
  e[34]
4550
4571
  ),
4551
- oe(
4572
+ se(
4552
4573
  H,
4553
4574
  "input",
4554
4575
  /*validateUserName*/
4555
4576
  e[28]
4556
4577
  ),
4557
- oe(
4578
+ se(
4558
4579
  M,
4559
4580
  "input",
4560
4581
  /*input1_input_handler*/
4561
4582
  e[35]
4562
4583
  ),
4563
- oe(
4584
+ se(
4564
4585
  M,
4565
4586
  "input",
4566
4587
  /*validatePassword*/
4567
4588
  e[29]
4568
4589
  ),
4569
- oe(
4590
+ se(
4570
4591
  Q,
4571
4592
  "click",
4572
4593
  /*click_handler_3*/
4573
4594
  e[39]
4574
4595
  ),
4575
- oe(
4596
+ se(
4576
4597
  ge,
4577
4598
  "click",
4578
4599
  /*click_handler_4*/
4579
4600
  e[40]
4580
4601
  )
4581
- ], Ge = !0);
4602
+ ], ke = !0);
4582
4603
  },
4583
- p(v, P) {
4584
- P[0] & /*$_*/
4604
+ p(v, S) {
4605
+ S[0] & /*$_*/
4585
4606
  4194304 && n !== (n = /*$_*/
4586
- v[22]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
4607
+ v[22]("loginTitle") + "") && te(i, n), S[0] & /*$_*/
4587
4608
  4194304 && a !== (a = /*$_*/
4588
- v[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
4609
+ v[22]("loginSubtitle") + "") && te(c, a), S[0] & /*$_*/
4589
4610
  4194304 && f !== (f = /*$_*/
4590
- v[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
4611
+ v[22]("loginSubtitleRegister") + "") && te(d, f), S[0] & /*$_*/
4591
4612
  4194304 && z !== (z = /*$_*/
4592
- v[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
4593
- 64 && ie !== (ie = /*savecredentials*/
4594
- v[6] ? "username email" : "off") && h(H, "autocomplete", ie), P[0] & /*userValue*/
4613
+ v[22]("loginUsername") + "") && te(R, z), S[0] & /*savecredentials*/
4614
+ 64 && oe !== (oe = /*savecredentials*/
4615
+ v[6] ? "username email" : "off") && h(H, "autocomplete", oe), S[0] & /*userValue*/
4595
4616
  4096 && H.value !== /*userValue*/
4596
4617
  v[12] && rt(
4597
4618
  H,
4598
4619
  /*userValue*/
4599
4620
  v[12]
4600
4621
  ), /*invalidName*/
4601
- v[14] ? F ? F.p(v, P) : (F = vr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4622
+ v[14] ? F ? F.p(v, S) : (F = _r(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4602
4623
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4603
- (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4624
+ (v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
4604
4625
  4194304 && X !== (X = /*$_*/
4605
- v[22]("loginPassword") + "") && te(Fe, X), P[0] & /*savecredentials*/
4626
+ v[22]("loginPassword") + "") && te(Ue, X), S[0] & /*savecredentials*/
4606
4627
  64 && ye !== (ye = /*savecredentials*/
4607
- v[6] ? "current-password" : "off") && h(M, "autocomplete", ye), P[0] & /*userPassword*/
4628
+ v[6] ? "current-password" : "off") && h(M, "autocomplete", ye), S[0] & /*userPassword*/
4608
4629
  8192 && M.value !== /*userPassword*/
4609
4630
  v[13] && rt(
4610
4631
  M,
4611
4632
  /*userPassword*/
4612
4633
  v[13]
4613
- ), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4634
+ ), Se === (Se = Ye(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4614
4635
  v[15] && /*simplepasswordvalidation*/
4615
- v[2] !== "true" ? D ? D.p(v, P) : (D = yr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4636
+ v[2] !== "true" ? D ? D.p(v, S) : (D = wr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4616
4637
  v[15] && /*simplepasswordvalidation*/
4617
- v[2] === "true" ? k ? k.p(v, P) : (k = _r(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4638
+ v[2] === "true" ? k ? k.p(v, S) : (k = Er(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4618
4639
  32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4619
4640
  (v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
4620
- v[16] ? G ? G.p(v, P) : (G = wr(v), G.c(), G.m(g, Ee)) : G && (G.d(1), G = null), P[0] & /*$_*/
4641
+ v[16] ? $ ? $.p(v, S) : ($ = xr(v), $.c(), $.m(g, Ee)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4621
4642
  4194304 && pe !== (pe = /*$_*/
4622
- v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
4643
+ v[22]("loginButton") + "") && te(xe, pe), S[0] & /*isFormDataInvalid*/
4623
4644
  1048576 && (Q.disabled = /*isFormDataInvalid*/
4624
- v[20]), P[0] & /*$_*/
4645
+ v[20]), S[0] & /*$_*/
4625
4646
  4194304 && be !== (be = /*$_*/
4626
- v[22]("loginForgotPassword") + "") && te(ke, be);
4647
+ v[22]("loginForgotPassword") + "") && te(De, be);
4627
4648
  },
4628
4649
  d(v) {
4629
- 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);
4650
+ v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), ke = !1, Le(Qe);
4630
4651
  }
4631
4652
  };
4632
4653
  }
4633
- function Go(e) {
4654
+ function jo(e) {
4634
4655
  let t;
4635
4656
  return {
4636
4657
  c() {
4637
- t = x("general-player-sms-verification-form"), W(
4658
+ t = E("general-player-sms-verification-form"), W(
4638
4659
  t,
4639
4660
  "endpoint",
4640
4661
  /*endpoint*/
@@ -4724,14 +4745,14 @@ function Go(e) {
4724
4745
  }
4725
4746
  };
4726
4747
  }
4727
- function vr(e) {
4748
+ function _r(e) {
4728
4749
  let t, r = (
4729
4750
  /*$_*/
4730
4751
  e[22]("loginUsernameError") + ""
4731
4752
  ), n;
4732
4753
  return {
4733
4754
  c() {
4734
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4755
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4735
4756
  },
4736
4757
  m(i, o) {
4737
4758
  L(i, t, o), m(t, n);
@@ -4746,14 +4767,14 @@ function vr(e) {
4746
4767
  }
4747
4768
  };
4748
4769
  }
4749
- function $o(e) {
4770
+ function Vo(e) {
4750
4771
  let t, r, n, i, o, s, a, c, l;
4751
4772
  return {
4752
4773
  c() {
4753
- 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");
4774
+ t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("path"), a = C("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");
4754
4775
  },
4755
4776
  m(u, f) {
4756
- L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = oe(
4777
+ 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(
4757
4778
  t,
4758
4779
  "click",
4759
4780
  /*click_handler_2*/
@@ -4766,14 +4787,14 @@ function $o(e) {
4766
4787
  }
4767
4788
  };
4768
4789
  }
4769
- function jo(e) {
4790
+ function zo(e) {
4770
4791
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4771
4792
  return {
4772
4793
  c() {
4773
- 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");
4794
+ t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("circle"), a = C("g"), c = C("path"), l = C("path"), u = C("g"), f = C("path"), d = C("path"), b = C("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");
4774
4795
  },
4775
- m(S, C) {
4776
- L(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(
4796
+ m(x, O) {
4797
+ L(x, t, O), 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(
4777
4798
  t,
4778
4799
  "click",
4779
4800
  /*click_handler_1*/
@@ -4781,19 +4802,19 @@ function jo(e) {
4781
4802
  ), y = !0);
4782
4803
  },
4783
4804
  p: Z,
4784
- d(S) {
4785
- S && I(t), y = !1, g();
4805
+ d(x) {
4806
+ x && I(t), y = !1, g();
4786
4807
  }
4787
4808
  };
4788
4809
  }
4789
- function yr(e) {
4810
+ function wr(e) {
4790
4811
  let t, r = (
4791
4812
  /*$_*/
4792
4813
  e[22]("loginPasswordError") + ""
4793
4814
  ), n;
4794
4815
  return {
4795
4816
  c() {
4796
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4817
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4797
4818
  },
4798
4819
  m(i, o) {
4799
4820
  L(i, t, o), m(t, n);
@@ -4808,14 +4829,14 @@ function yr(e) {
4808
4829
  }
4809
4830
  };
4810
4831
  }
4811
- function _r(e) {
4832
+ function Er(e) {
4812
4833
  let t, r = (
4813
4834
  /*$_*/
4814
4835
  e[22]("loginSimplePasswordError") + ""
4815
4836
  ), n;
4816
4837
  return {
4817
4838
  c() {
4818
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4839
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4819
4840
  },
4820
4841
  m(i, o) {
4821
4842
  L(i, t, o), m(t, n);
@@ -4830,11 +4851,11 @@ function _r(e) {
4830
4851
  }
4831
4852
  };
4832
4853
  }
4833
- function wr(e) {
4854
+ function xr(e) {
4834
4855
  let t, r;
4835
4856
  return {
4836
4857
  c() {
4837
- t = x("p"), r = N(
4858
+ t = E("p"), r = N(
4838
4859
  /*errorMessage*/
4839
4860
  e[16]
4840
4861
  ), h(t, "class", "ErrorMessage");
@@ -4855,21 +4876,21 @@ function wr(e) {
4855
4876
  }
4856
4877
  };
4857
4878
  }
4858
- function Vo(e) {
4879
+ function Xo(e) {
4859
4880
  let t, r, n, i, o, s = (
4860
4881
  /*captchakey*/
4861
- e[1] && br(e)
4882
+ e[1] && yr(e)
4862
4883
  );
4863
4884
  function a(u, f) {
4864
4885
  return (
4865
4886
  /*isLoading*/
4866
- u[17] ? Do : Fo
4887
+ u[17] ? $o : ko
4867
4888
  );
4868
4889
  }
4869
4890
  let c = a(e), l = c(e);
4870
4891
  return {
4871
4892
  c() {
4872
- s && s.c(), t = hn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4893
+ s && s.c(), t = fn(), r = j(), n = E("div"), i = j(), o = E("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4873
4894
  n,
4874
4895
  "data-sitekey",
4875
4896
  /*captchakey*/
@@ -4881,7 +4902,7 @@ function Vo(e) {
4881
4902
  },
4882
4903
  p(u, f) {
4883
4904
  /*captchakey*/
4884
- u[1] ? s ? s.p(u, f) : (s = br(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4905
+ u[1] ? s ? s.p(u, f) : (s = yr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4885
4906
  2 && h(
4886
4907
  n,
4887
4908
  "data-sitekey",
@@ -4896,27 +4917,27 @@ function Vo(e) {
4896
4917
  }
4897
4918
  };
4898
4919
  }
4899
- let zo = "Please use this code {0} to activate your account";
4900
- function Xo(e, t, r) {
4920
+ let Wo = "Please use this code {0} to activate your account";
4921
+ function Zo(e, t, r) {
4901
4922
  let n;
4902
- an(e, Io, (p) => r(22, n = p));
4903
- 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 = {
4923
+ ln(e, Co, (p) => r(22, n = p));
4924
+ 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, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, oe = !1, he = "", J = !1, le, B = !1, ne = !0, X, Ue = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Ue, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4904
4925
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4905
4926
  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,
4906
4927
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4907
4928
  };
4908
- Oo({ withLocale: "en", translations: {} });
4929
+ Mo({ withLocale: "en", translations: {} });
4909
4930
  const M = () => {
4910
4931
  fetch(d).then((q) => q.json()).then((q) => {
4911
4932
  Object.keys(q).forEach((ee) => {
4912
- pr(ee, q[ee]);
4933
+ br(ee, q[ee]);
4913
4934
  });
4914
4935
  }).catch((q) => {
4915
4936
  console.log(q);
4916
4937
  });
4917
4938
  };
4918
- Object.keys(gr).forEach((p) => {
4919
- pr(p, gr[p]);
4939
+ Object.keys(vr).forEach((p) => {
4940
+ br(p, vr[p]);
4920
4941
  });
4921
4942
  const ye = () => new Promise((p, q) => {
4922
4943
  grecaptcha.ready(() => {
@@ -4932,7 +4953,7 @@ function Xo(e, t, r) {
4932
4953
  r(19, B = !1), me();
4933
4954
  }, me = () => {
4934
4955
  r(18, le.type = B ? "text" : "password", le);
4935
- }, De = () => {
4956
+ }, Fe = () => {
4936
4957
  window.postMessage({ type: "ToRegister" }, window.location.href);
4937
4958
  }, Ee = (p) => {
4938
4959
  p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
@@ -4942,12 +4963,12 @@ function Xo(e, t, r) {
4942
4963
  username: U,
4943
4964
  password: A,
4944
4965
  token: q
4945
- }, r(17, J = !0), Ge(re));
4966
+ }, r(17, J = !0), ke(re));
4946
4967
  });
4947
4968
  }, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
4948
- r(14, H = !pe(U)), r(20, ne = !(!H && !ie && A));
4969
+ r(14, H = !pe(U)), r(20, ne = !(!H && !oe && A));
4949
4970
  }, ge = () => {
4950
- r(15, ie = !xe(A)), r(20, ne = !(!H && !ie && U));
4971
+ r(15, oe = !xe(A)), r(20, ne = !(!H && !oe && U));
4951
4972
  }, be = (p) => {
4952
4973
  if (p.data)
4953
4974
  switch (p.data.type) {
@@ -4961,20 +4982,20 @@ function Xo(e, t, r) {
4961
4982
  Q();
4962
4983
  break;
4963
4984
  }
4964
- }, ke = (p) => {
4985
+ }, De = (p) => {
4965
4986
  typeof gtag == "function" && gtag("event", "Login", {
4966
4987
  context: "GeneralPlayerLoginRegisterPage"
4967
4988
  });
4968
- }, Ge = async ({ username: p, password: q, token: ee }) => {
4989
+ }, ke = async ({ username: p, password: q, token: ee }) => {
4969
4990
  let Ke = {
4970
4991
  "Content-Type": "application/json",
4971
4992
  "g-recaptcha-response": ee
4972
- }, et = { username: p, password: q }, on = {
4993
+ }, et = { username: p, password: q }, sn = {
4973
4994
  method: "POST",
4974
4995
  headers: Ke,
4975
4996
  body: JSON.stringify(et)
4976
4997
  };
4977
- fetch(`${i}/v1/player/login/player`, on).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4998
+ fetch(`${i}/v1/player/login/player`, sn).then((G) => (G.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4978
4999
  {
4979
5000
  type: "WidgetNotification",
4980
5001
  data: {
@@ -4983,13 +5004,13 @@ function Xo(e, t, r) {
4983
5004
  }
4984
5005
  },
4985
5006
  window.location.href
4986
- )), $.json())).then(($) => {
4987
- 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) {
5007
+ )), G.json())).then((G) => {
5008
+ if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, O = G.detail.phonePrefix + G.detail.phone), r(21, fe = !0), Qe(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
4988
5009
  if (window.postMessage(
4989
5010
  {
4990
5011
  type: "UserSessionID",
4991
- session: $.sessionID,
4992
- userid: $.universalID
5012
+ session: G.sessionID,
5013
+ userid: G.universalID
4993
5014
  },
4994
5015
  window.location.href
4995
5016
  ), window.postMessage(
@@ -5008,10 +5029,10 @@ function Xo(e, t, r) {
5008
5029
  });
5009
5030
  navigator.credentials.store($e);
5010
5031
  }
5011
- ke();
5032
+ De();
5012
5033
  } else
5013
5034
  try {
5014
- let $e = $.error;
5035
+ let $e = G.error;
5015
5036
  r(16, he = $e), r(17, J = !1), window.postMessage(
5016
5037
  {
5017
5038
  type: "WidgetNotification",
@@ -5020,11 +5041,11 @@ function Xo(e, t, r) {
5020
5041
  window.location.href
5021
5042
  );
5022
5043
  } catch {
5023
- let zt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5024
- r(16, he = zt), r(17, J = !1), window.postMessage(
5044
+ let Wt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5045
+ r(16, he = Wt), r(17, J = !1), window.postMessage(
5025
5046
  {
5026
5047
  type: "WidgetNotification",
5027
- data: { type: "error", message: zt }
5048
+ data: { type: "error", message: Wt }
5028
5049
  },
5029
5050
  window.location.href
5030
5051
  );
@@ -5041,26 +5062,26 @@ function Xo(e, t, r) {
5041
5062
  },
5042
5063
  body: JSON.stringify({
5043
5064
  userId: q,
5044
- messageTemplate: zo,
5065
+ messageTemplate: Wo,
5045
5066
  destination: p
5046
5067
  })
5047
5068
  }), Ke = await ee.json();
5048
5069
  if (ee.ok) {
5049
5070
  r(9, g = Ke.id);
5050
5071
  let et = Ke.maxValidationAttempts;
5051
- S = !1;
5072
+ x = !1;
5052
5073
  } else
5053
- throw S = !0, new Error("Failed to fetch");
5074
+ throw x = !0, new Error("Failed to fetch");
5054
5075
  } catch (ee) {
5055
- S = !0, console.error(ee);
5076
+ x = !0, console.error(ee);
5056
5077
  }
5057
5078
  }, F = () => {
5058
- Lo(s);
5079
+ No(s);
5059
5080
  };
5060
- pn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Co(R)), () => {
5081
+ gn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Lo(R)), () => {
5061
5082
  window.removeEventListener("message", be);
5062
5083
  }));
5063
- const Ye = () => De();
5084
+ const Ye = () => Fe();
5064
5085
  function Se() {
5065
5086
  U = this.value, r(12, U);
5066
5087
  }
@@ -5072,8 +5093,8 @@ function Xo(e, t, r) {
5072
5093
  le = p, r(18, le);
5073
5094
  });
5074
5095
  }
5075
- const k = () => we(), G = () => _e(), v = (p) => Q(p), P = (p) => Ee(p);
5076
- function nn(p) {
5096
+ const k = () => we(), $ = () => _e(), v = (p) => Q(p), S = (p) => Ee(p);
5097
+ function on(p) {
5077
5098
  ut[p ? "unshift" : "push"](() => {
5078
5099
  X = p, r(7, X);
5079
5100
  });
@@ -5084,9 +5105,9 @@ function Xo(e, t, r) {
5084
5105
  e.$$.dirty[0] & /*endpoint, lang*/
5085
5106
  1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5086
5107
  4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5087
- 144 && u && X && Mo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5088
- 160 && f && X && No(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5089
- 136 && l && X && Ro(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5108
+ 144 && u && X && Ro(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5109
+ 160 && f && X && Uo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5110
+ 136 && l && X && Fo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5090
5111
  2 && d && M();
5091
5112
  }, [
5092
5113
  i,
@@ -5099,12 +5120,12 @@ function Xo(e, t, r) {
5099
5120
  X,
5100
5121
  y,
5101
5122
  g,
5102
- C,
5123
+ O,
5103
5124
  z,
5104
5125
  U,
5105
5126
  A,
5106
5127
  H,
5107
- ie,
5128
+ oe,
5108
5129
  he,
5109
5130
  J,
5110
5131
  le,
@@ -5114,7 +5135,7 @@ function Xo(e, t, r) {
5114
5135
  n,
5115
5136
  _e,
5116
5137
  we,
5117
- De,
5138
+ Fe,
5118
5139
  Ee,
5119
5140
  Q,
5120
5141
  Je,
@@ -5127,20 +5148,20 @@ function Xo(e, t, r) {
5127
5148
  Y,
5128
5149
  D,
5129
5150
  k,
5130
- G,
5151
+ $,
5131
5152
  v,
5132
- P,
5133
- nn
5153
+ S,
5154
+ on
5134
5155
  ];
5135
5156
  }
5136
- class Wo extends Hn {
5157
+ class qo extends Bn {
5137
5158
  constructor(t) {
5138
- super(), Pn(
5159
+ super(), Tn(
5139
5160
  this,
5140
5161
  t,
5162
+ Zo,
5141
5163
  Xo,
5142
- Vo,
5143
- xr,
5164
+ Pr,
5144
5165
  {
5145
5166
  endpoint: 0,
5146
5167
  captchakey: 1,
@@ -5153,7 +5174,7 @@ class Wo extends Hn {
5153
5174
  translationurl: 32,
5154
5175
  savecredentials: 6
5155
5176
  },
5156
- Uo,
5177
+ Do,
5157
5178
  [-1, -1]
5158
5179
  );
5159
5180
  }
@@ -5218,35 +5239,35 @@ class Wo extends Hn {
5218
5239
  this.$$set({ savecredentials: t }), K();
5219
5240
  }
5220
5241
  }
5221
- Tn(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5242
+ Hn(qo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5222
5243
  export {
5223
5244
  ce as $,
5224
- Wo as G,
5225
- Hn as S,
5226
- Re as a,
5227
- Yr as b,
5228
- Tn as c,
5229
- ln as d,
5230
- x as e,
5245
+ qo as G,
5246
+ Bn as S,
5247
+ Ne as a,
5248
+ Kr as b,
5249
+ Hn as c,
5250
+ un as d,
5251
+ I as e,
5231
5252
  K as f,
5232
- j as g,
5233
- h,
5234
- Pn as i,
5235
- L as j,
5236
- m as k,
5237
- rt as l,
5238
- oe as m,
5239
- te as n,
5240
- Z as o,
5241
- I as p,
5242
- an as q,
5243
- Me as r,
5244
- xr as s,
5253
+ te as g,
5254
+ rt as h,
5255
+ Tn as i,
5256
+ h as j,
5257
+ L as k,
5258
+ m as l,
5259
+ se as m,
5260
+ Z as n,
5261
+ E as o,
5262
+ j as p,
5263
+ ln as q,
5264
+ Le as r,
5265
+ Pr as s,
5245
5266
  N as t,
5246
- pn as u,
5247
- Ro as v,
5248
- ut as w,
5249
- Mo as x,
5250
- No as y,
5251
- Io as z
5267
+ gn as u,
5268
+ ut as v,
5269
+ Co as w,
5270
+ Ro as x,
5271
+ Uo as y,
5272
+ Fo as z
5252
5273
  };