@everymatrix/general-player-login-form-nd 1.70.1 → 1.71.1

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