@everymatrix/general-player-login-form-nd 1.86.2 → 1.86.3

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,26 +4203,26 @@ 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));
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));
4234
4213
  String(Number.MAX_SAFE_INTEGER).length;
4235
- function Mo({ withLocale: e, translations: t }) {
4214
+ function Oo({ withLocale: e, translations: t }) {
4236
4215
  ce.subscribe((r) => {
4237
- r == null && (Ne.set(t), ce.set(e));
4216
+ r == null && (Re.set(t), ce.set(e));
4238
4217
  });
4239
4218
  }
4240
- function br(e, t) {
4241
- Kr(e, t);
4219
+ function pr(e, t) {
4220
+ Yr(e, t);
4242
4221
  }
4243
- function No(e) {
4222
+ function Lo(e) {
4244
4223
  ce.set(e);
4245
4224
  }
4246
- const vr = {
4225
+ const gr = {
4247
4226
  en: {
4248
4227
  loginTitle: "Welcome",
4249
4228
  loginSubtitle: "Don't have an account yet?",
@@ -4388,13 +4367,13 @@ const vr = {
4388
4367
  successMessage: "Login successful"
4389
4368
  }
4390
4369
  };
4391
- function Ro(e, t) {
4370
+ function Mo(e, t) {
4392
4371
  if (e) {
4393
4372
  const r = document.createElement("style");
4394
4373
  r.innerHTML = t, e.appendChild(r);
4395
4374
  }
4396
4375
  }
4397
- function Uo(e, t) {
4376
+ function No(e, t) {
4398
4377
  if (!e || !t)
4399
4378
  return;
4400
4379
  const r = new URL(t);
@@ -4405,7 +4384,7 @@ function Uo(e, t) {
4405
4384
  console.error("There was an error while trying to load client styling from URL", n);
4406
4385
  });
4407
4386
  }
4408
- function Fo(e, t, r) {
4387
+ function Ro(e, t, r) {
4409
4388
  if (window.emMessageBus) {
4410
4389
  const n = document.createElement("style");
4411
4390
  window.emMessageBus.subscribe(t, (i) => {
@@ -4425,18 +4404,18 @@ if (typeof window < "u") {
4425
4404
  }
4426
4405
  };
4427
4406
  };
4428
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-twswR9Vh.js").then(({ default: t }) => {
4407
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DX_5tHlq.js").then(({ default: t }) => {
4429
4408
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4430
4409
  });
4431
4410
  }
4432
- function Do(e) {
4433
- un(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4411
+ function Uo(e) {
4412
+ ln(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4434
4413
  }
4435
- function yr(e) {
4414
+ function br(e) {
4436
4415
  let t, r;
4437
4416
  return {
4438
4417
  c() {
4439
- t = E("script"), qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4418
+ t = x("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4440
4419
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4441
4420
  },
4442
4421
  m(n, i) {
@@ -4444,7 +4423,7 @@ function yr(e) {
4444
4423
  },
4445
4424
  p(n, i) {
4446
4425
  i[0] & /*captchakey*/
4447
- 2 && !qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4426
+ 2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4448
4427
  n[1]) && h(t, "src", r);
4449
4428
  },
4450
4429
  d(n) {
@@ -4452,18 +4431,18 @@ function yr(e) {
4452
4431
  }
4453
4432
  };
4454
4433
  }
4455
- function ko(e) {
4434
+ function Fo(e) {
4456
4435
  let t, r, n;
4457
4436
  function i(a, c) {
4458
4437
  return (
4459
4438
  /*startSmsValidation*/
4460
- a[21] ? jo : Go
4439
+ a[21] ? Go : ko
4461
4440
  );
4462
4441
  }
4463
4442
  let o = i(e), s = o(e);
4464
4443
  return {
4465
4444
  c() {
4466
- t = E("div"), r = E("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4445
+ t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4467
4446
  (e[11] ? "FormMobileContainer" : ""));
4468
4447
  },
4469
4448
  m(a, c) {
@@ -4479,11 +4458,11 @@ function ko(e) {
4479
4458
  }
4480
4459
  };
4481
4460
  }
4482
- function $o(e) {
4461
+ function Do(e) {
4483
4462
  let t;
4484
4463
  return {
4485
4464
  c() {
4486
- t = E("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4465
+ t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4487
4466
  },
4488
4467
  m(r, n) {
4489
4468
  L(r, t, n);
@@ -4494,7 +4473,7 @@ function $o(e) {
4494
4473
  }
4495
4474
  };
4496
4475
  }
4497
- function Go(e) {
4476
+ function ko(e) {
4498
4477
  let t, r, n = (
4499
4478
  /*$_*/
4500
4479
  e[22]("loginTitle") + ""
@@ -4504,158 +4483,158 @@ function Go(e) {
4504
4483
  ), c, l, u, f = (
4505
4484
  /*$_*/
4506
4485
  e[22]("loginSubtitleRegister") + ""
4507
- ), d, b, y, g, x, O, z = (
4486
+ ), d, b, y, g, S, C, z = (
4508
4487
  /*$_*/
4509
4488
  e[22]("loginUsername") + ""
4510
- ), R, U, A, re, H, oe, he, J, le, B, ne, X = (
4489
+ ), R, U, A, re, H, ie, he, J, le, B, ne, X = (
4511
4490
  /*$_*/
4512
4491
  e[22]("loginPassword") + ""
4513
- ), Ue, Ze, fe, de, M, ye, qe, _e, we, me, Fe, Ee, Q, pe = (
4492
+ ), Fe, Ze, fe, de, M, ye, qe, _e, we, me, De, Ee, Q, pe = (
4514
4493
  /*$_*/
4515
4494
  e[22]("loginButton") + ""
4516
4495
  ), xe, Je, ge, be = (
4517
4496
  /*$_*/
4518
4497
  e[22]("loginForgotPassword") + ""
4519
- ), De, ke, Qe, F = (
4498
+ ), ke, Ge, Qe, F = (
4520
4499
  /*invalidName*/
4521
- e[14] && _r(e)
4500
+ e[14] && vr(e)
4522
4501
  );
4523
- function Ye(v, S) {
4502
+ function Ye(v, P) {
4524
4503
  return (
4525
4504
  /*isPasswordVisible*/
4526
- v[19] ? zo : Vo
4505
+ v[19] ? jo : $o
4527
4506
  );
4528
4507
  }
4529
4508
  let Se = Ye(e), Y = Se(e), D = (
4530
4509
  /*invalidPassword*/
4531
4510
  e[15] && /*simplepasswordvalidation*/
4532
- e[2] !== "true" && wr(e)
4511
+ e[2] !== "true" && yr(e)
4533
4512
  ), k = (
4534
4513
  /*invalidPassword*/
4535
4514
  e[15] && /*simplepasswordvalidation*/
4536
- e[2] === "true" && Er(e)
4537
- ), $ = (
4515
+ e[2] === "true" && _r(e)
4516
+ ), G = (
4538
4517
  /*errorMessage*/
4539
- e[16] && xr(e)
4518
+ e[16] && wr(e)
4540
4519
  );
4541
4520
  return {
4542
4521
  c() {
4543
- t = E("div"), r = E("h4"), i = N(n), o = j(), s = E("p"), c = N(a), l = j(), u = E("span"), d = N(f), b = j(), y = E("div"), g = E("form"), x = E("div"), O = E("label"), R = N(z), U = N(":"), A = E("span"), A.textContent = "*", re = j(), H = E("input"), he = j(), F && F.c(), le = j(), B = E("div"), ne = E("label"), Ue = N(X), Ze = N(":"), fe = E("span"), fe.textContent = "*", de = j(), M = E("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), Fe = j(), $ && $.c(), Ee = j(), Q = E("button"), xe = N(pe), Je = j(), ge = E("button"), De = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(O, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", oe = /*savecredentials*/
4544
- e[6] ? "username email" : "off"), H.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
4522
+ t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), c = N(a), l = j(), u = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", re = j(), H = x("input"), he = j(), F && F.c(), le = j(), B = x("div"), ne = x("label"), Fe = N(X), Ze = N(":"), fe = x("span"), fe.textContent = "*", de = j(), M = x("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), De = j(), G && G.c(), Ee = j(), Q = x("button"), xe = N(pe), Je = j(), ge = x("button"), ke = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", ie = /*savecredentials*/
4523
+ e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
4545
4524
  (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*/
4546
4525
  e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
4547
4526
  (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4548
4527
  e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4549
4528
  },
4550
- m(v, S) {
4551
- L(v, t, S), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, S), L(v, y, S), m(y, g), m(g, x), m(x, O), m(O, R), m(O, U), m(O, A), m(x, re), m(x, H), rt(
4529
+ m(v, P) {
4530
+ L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, P), L(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
4552
4531
  H,
4553
4532
  /*userValue*/
4554
4533
  e[12]
4555
- ), m(x, he), F && F.m(x, null), m(g, le), m(g, B), m(B, ne), m(ne, Ue), m(ne, Ze), m(ne, fe), m(B, de), m(B, M), rt(
4534
+ ), m(S, he), F && F.m(S, null), m(g, le), m(g, B), m(B, ne), m(ne, Fe), m(ne, Ze), m(ne, fe), m(B, de), m(B, M), rt(
4556
4535
  M,
4557
4536
  /*userPassword*/
4558
4537
  e[13]
4559
- ), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, Fe), $ && $.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, De), ke || (Qe = [
4560
- se(
4538
+ ), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, De), G && G.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, ke), Ge || (Qe = [
4539
+ oe(
4561
4540
  u,
4562
4541
  "click",
4563
4542
  /*click_handler*/
4564
4543
  e[33]
4565
4544
  ),
4566
- se(
4545
+ oe(
4567
4546
  H,
4568
4547
  "input",
4569
4548
  /*input0_input_handler*/
4570
4549
  e[34]
4571
4550
  ),
4572
- se(
4551
+ oe(
4573
4552
  H,
4574
4553
  "input",
4575
4554
  /*validateUserName*/
4576
4555
  e[28]
4577
4556
  ),
4578
- se(
4557
+ oe(
4579
4558
  M,
4580
4559
  "input",
4581
4560
  /*input1_input_handler*/
4582
4561
  e[35]
4583
4562
  ),
4584
- se(
4563
+ oe(
4585
4564
  M,
4586
4565
  "input",
4587
4566
  /*validatePassword*/
4588
4567
  e[29]
4589
4568
  ),
4590
- se(
4569
+ oe(
4591
4570
  Q,
4592
4571
  "click",
4593
4572
  /*click_handler_3*/
4594
4573
  e[39]
4595
4574
  ),
4596
- se(
4575
+ oe(
4597
4576
  ge,
4598
4577
  "click",
4599
4578
  /*click_handler_4*/
4600
4579
  e[40]
4601
4580
  )
4602
- ], ke = !0);
4581
+ ], Ge = !0);
4603
4582
  },
4604
- p(v, S) {
4605
- S[0] & /*$_*/
4583
+ p(v, P) {
4584
+ P[0] & /*$_*/
4606
4585
  4194304 && n !== (n = /*$_*/
4607
- v[22]("loginTitle") + "") && te(i, n), S[0] & /*$_*/
4586
+ v[22]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
4608
4587
  4194304 && a !== (a = /*$_*/
4609
- v[22]("loginSubtitle") + "") && te(c, a), S[0] & /*$_*/
4588
+ v[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
4610
4589
  4194304 && f !== (f = /*$_*/
4611
- v[22]("loginSubtitleRegister") + "") && te(d, f), S[0] & /*$_*/
4590
+ v[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
4612
4591
  4194304 && z !== (z = /*$_*/
4613
- v[22]("loginUsername") + "") && te(R, z), S[0] & /*savecredentials*/
4614
- 64 && oe !== (oe = /*savecredentials*/
4615
- v[6] ? "username email" : "off") && h(H, "autocomplete", oe), S[0] & /*userValue*/
4592
+ v[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
4593
+ 64 && ie !== (ie = /*savecredentials*/
4594
+ v[6] ? "username email" : "off") && h(H, "autocomplete", ie), P[0] & /*userValue*/
4616
4595
  4096 && H.value !== /*userValue*/
4617
4596
  v[12] && rt(
4618
4597
  H,
4619
4598
  /*userValue*/
4620
4599
  v[12]
4621
4600
  ), /*invalidName*/
4622
- v[14] ? F ? F.p(v, S) : (F = _r(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4601
+ v[14] ? F ? F.p(v, P) : (F = vr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4623
4602
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4624
- (v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
4603
+ (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4625
4604
  4194304 && X !== (X = /*$_*/
4626
- v[22]("loginPassword") + "") && te(Ue, X), S[0] & /*savecredentials*/
4605
+ v[22]("loginPassword") + "") && te(Fe, X), P[0] & /*savecredentials*/
4627
4606
  64 && ye !== (ye = /*savecredentials*/
4628
- v[6] ? "current-password" : "off") && h(M, "autocomplete", ye), S[0] & /*userPassword*/
4607
+ v[6] ? "current-password" : "off") && h(M, "autocomplete", ye), P[0] & /*userPassword*/
4629
4608
  8192 && M.value !== /*userPassword*/
4630
4609
  v[13] && rt(
4631
4610
  M,
4632
4611
  /*userPassword*/
4633
4612
  v[13]
4634
- ), Se === (Se = Ye(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4613
+ ), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4635
4614
  v[15] && /*simplepasswordvalidation*/
4636
- v[2] !== "true" ? D ? D.p(v, S) : (D = wr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4615
+ v[2] !== "true" ? D ? D.p(v, P) : (D = yr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4637
4616
  v[15] && /*simplepasswordvalidation*/
4638
- v[2] === "true" ? k ? k.p(v, S) : (k = Er(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4617
+ v[2] === "true" ? k ? k.p(v, P) : (k = _r(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4639
4618
  32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4640
4619
  (v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
4641
- v[16] ? $ ? $.p(v, S) : ($ = xr(v), $.c(), $.m(g, Ee)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4620
+ v[16] ? G ? G.p(v, P) : (G = wr(v), G.c(), G.m(g, Ee)) : G && (G.d(1), G = null), P[0] & /*$_*/
4642
4621
  4194304 && pe !== (pe = /*$_*/
4643
- v[22]("loginButton") + "") && te(xe, pe), S[0] & /*isFormDataInvalid*/
4622
+ v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
4644
4623
  1048576 && (Q.disabled = /*isFormDataInvalid*/
4645
- v[20]), S[0] & /*$_*/
4624
+ v[20]), P[0] & /*$_*/
4646
4625
  4194304 && be !== (be = /*$_*/
4647
- v[22]("loginForgotPassword") + "") && te(De, be);
4626
+ v[22]("loginForgotPassword") + "") && te(ke, be);
4648
4627
  },
4649
4628
  d(v) {
4650
- v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), ke = !1, Le(Qe);
4629
+ v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), Ge = !1, Me(Qe);
4651
4630
  }
4652
4631
  };
4653
4632
  }
4654
- function jo(e) {
4633
+ function Go(e) {
4655
4634
  let t;
4656
4635
  return {
4657
4636
  c() {
4658
- t = E("general-player-sms-verification-form"), W(
4637
+ t = x("general-player-sms-verification-form"), W(
4659
4638
  t,
4660
4639
  "endpoint",
4661
4640
  /*endpoint*/
@@ -4745,14 +4724,14 @@ function jo(e) {
4745
4724
  }
4746
4725
  };
4747
4726
  }
4748
- function _r(e) {
4727
+ function vr(e) {
4749
4728
  let t, r = (
4750
4729
  /*$_*/
4751
4730
  e[22]("loginUsernameError") + ""
4752
4731
  ), n;
4753
4732
  return {
4754
4733
  c() {
4755
- t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4734
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4756
4735
  },
4757
4736
  m(i, o) {
4758
4737
  L(i, t, o), m(t, n);
@@ -4767,14 +4746,14 @@ function _r(e) {
4767
4746
  }
4768
4747
  };
4769
4748
  }
4770
- function Vo(e) {
4749
+ function $o(e) {
4771
4750
  let t, r, n, i, o, s, a, c, l;
4772
4751
  return {
4773
4752
  c() {
4774
- t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("path"), a = C("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4753
+ t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4775
4754
  },
4776
4755
  m(u, f) {
4777
- L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = se(
4756
+ L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = oe(
4778
4757
  t,
4779
4758
  "click",
4780
4759
  /*click_handler_2*/
@@ -4787,14 +4766,14 @@ function Vo(e) {
4787
4766
  }
4788
4767
  };
4789
4768
  }
4790
- function zo(e) {
4769
+ function jo(e) {
4791
4770
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4792
4771
  return {
4793
4772
  c() {
4794
- t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("circle"), a = C("g"), c = C("path"), l = C("path"), u = C("g"), f = C("path"), d = C("path"), b = C("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4773
+ t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4795
4774
  },
4796
- m(x, O) {
4797
- L(x, t, O), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = se(
4775
+ m(S, C) {
4776
+ L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = oe(
4798
4777
  t,
4799
4778
  "click",
4800
4779
  /*click_handler_1*/
@@ -4802,19 +4781,19 @@ function zo(e) {
4802
4781
  ), y = !0);
4803
4782
  },
4804
4783
  p: Z,
4805
- d(x) {
4806
- x && I(t), y = !1, g();
4784
+ d(S) {
4785
+ S && I(t), y = !1, g();
4807
4786
  }
4808
4787
  };
4809
4788
  }
4810
- function wr(e) {
4789
+ function yr(e) {
4811
4790
  let t, r = (
4812
4791
  /*$_*/
4813
4792
  e[22]("loginPasswordError") + ""
4814
4793
  ), n;
4815
4794
  return {
4816
4795
  c() {
4817
- t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4796
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4818
4797
  },
4819
4798
  m(i, o) {
4820
4799
  L(i, t, o), m(t, n);
@@ -4829,14 +4808,14 @@ function wr(e) {
4829
4808
  }
4830
4809
  };
4831
4810
  }
4832
- function Er(e) {
4811
+ function _r(e) {
4833
4812
  let t, r = (
4834
4813
  /*$_*/
4835
4814
  e[22]("loginSimplePasswordError") + ""
4836
4815
  ), n;
4837
4816
  return {
4838
4817
  c() {
4839
- t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4818
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4840
4819
  },
4841
4820
  m(i, o) {
4842
4821
  L(i, t, o), m(t, n);
@@ -4851,11 +4830,11 @@ function Er(e) {
4851
4830
  }
4852
4831
  };
4853
4832
  }
4854
- function xr(e) {
4833
+ function wr(e) {
4855
4834
  let t, r;
4856
4835
  return {
4857
4836
  c() {
4858
- t = E("p"), r = N(
4837
+ t = x("p"), r = N(
4859
4838
  /*errorMessage*/
4860
4839
  e[16]
4861
4840
  ), h(t, "class", "ErrorMessage");
@@ -4876,21 +4855,21 @@ function xr(e) {
4876
4855
  }
4877
4856
  };
4878
4857
  }
4879
- function Xo(e) {
4858
+ function Vo(e) {
4880
4859
  let t, r, n, i, o, s = (
4881
4860
  /*captchakey*/
4882
- e[1] && yr(e)
4861
+ e[1] && br(e)
4883
4862
  );
4884
4863
  function a(u, f) {
4885
4864
  return (
4886
4865
  /*isLoading*/
4887
- u[17] ? $o : ko
4866
+ u[17] ? Do : Fo
4888
4867
  );
4889
4868
  }
4890
4869
  let c = a(e), l = c(e);
4891
4870
  return {
4892
4871
  c() {
4893
- s && s.c(), t = fn(), r = j(), n = E("div"), i = j(), o = E("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4872
+ s && s.c(), t = hn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4894
4873
  n,
4895
4874
  "data-sitekey",
4896
4875
  /*captchakey*/
@@ -4902,7 +4881,7 @@ function Xo(e) {
4902
4881
  },
4903
4882
  p(u, f) {
4904
4883
  /*captchakey*/
4905
- u[1] ? s ? s.p(u, f) : (s = yr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4884
+ u[1] ? s ? s.p(u, f) : (s = br(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4906
4885
  2 && h(
4907
4886
  n,
4908
4887
  "data-sitekey",
@@ -4917,27 +4896,27 @@ function Xo(e) {
4917
4896
  }
4918
4897
  };
4919
4898
  }
4920
- let Wo = "Please use this code {0} to activate your account";
4921
- function Zo(e, t, r) {
4899
+ let zo = "Please use this code {0} to activate your account";
4900
+ function Xo(e, t, r) {
4922
4901
  let n;
4923
- ln(e, Co, (p) => r(22, n = p));
4924
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, oe = !1, he = "", J = !1, le, B = !1, ne = !0, X, Ue = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Ue, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4902
+ an(e, Io, (p) => r(22, n = p));
4903
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, ie = !1, he = "", J = !1, le, B = !1, ne = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Fe, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4925
4904
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4926
4905
  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,
4927
4906
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4928
4907
  };
4929
- Mo({ withLocale: "en", translations: {} });
4908
+ Oo({ withLocale: "en", translations: {} });
4930
4909
  const M = () => {
4931
4910
  fetch(d).then((q) => q.json()).then((q) => {
4932
4911
  Object.keys(q).forEach((ee) => {
4933
- br(ee, q[ee]);
4912
+ pr(ee, q[ee]);
4934
4913
  });
4935
4914
  }).catch((q) => {
4936
4915
  console.log(q);
4937
4916
  });
4938
4917
  };
4939
- Object.keys(vr).forEach((p) => {
4940
- br(p, vr[p]);
4918
+ Object.keys(gr).forEach((p) => {
4919
+ pr(p, gr[p]);
4941
4920
  });
4942
4921
  const ye = () => new Promise((p, q) => {
4943
4922
  grecaptcha.ready(() => {
@@ -4953,7 +4932,7 @@ function Zo(e, t, r) {
4953
4932
  r(19, B = !1), me();
4954
4933
  }, me = () => {
4955
4934
  r(18, le.type = B ? "text" : "password", le);
4956
- }, Fe = () => {
4935
+ }, De = () => {
4957
4936
  window.postMessage({ type: "ToRegister" }, window.location.href);
4958
4937
  }, Ee = (p) => {
4959
4938
  p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
@@ -4963,12 +4942,12 @@ function Zo(e, t, r) {
4963
4942
  username: U,
4964
4943
  password: A,
4965
4944
  token: q
4966
- }, r(17, J = !0), ke(re));
4945
+ }, r(17, J = !0), Ge(re));
4967
4946
  });
4968
4947
  }, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
4969
- r(14, H = !pe(U)), r(20, ne = !(!H && !oe && A));
4948
+ r(14, H = !pe(U)), r(20, ne = !(!H && !ie && A));
4970
4949
  }, ge = () => {
4971
- r(15, oe = !xe(A)), r(20, ne = !(!H && !oe && U));
4950
+ r(15, ie = !xe(A)), r(20, ne = !(!H && !ie && U));
4972
4951
  }, be = (p) => {
4973
4952
  if (p.data)
4974
4953
  switch (p.data.type) {
@@ -4982,20 +4961,20 @@ function Zo(e, t, r) {
4982
4961
  Q();
4983
4962
  break;
4984
4963
  }
4985
- }, De = (p) => {
4964
+ }, ke = (p) => {
4986
4965
  typeof gtag == "function" && gtag("event", "Login", {
4987
4966
  context: "GeneralPlayerLoginRegisterPage"
4988
4967
  });
4989
- }, ke = async ({ username: p, password: q, token: ee }) => {
4968
+ }, Ge = async ({ username: p, password: q, token: ee }) => {
4990
4969
  let Ke = {
4991
4970
  "Content-Type": "application/json",
4992
4971
  "g-recaptcha-response": ee
4993
- }, et = { username: p, password: q }, sn = {
4972
+ }, et = { username: p, password: q }, on = {
4994
4973
  method: "POST",
4995
4974
  headers: Ke,
4996
4975
  body: JSON.stringify(et)
4997
4976
  };
4998
- fetch(`${i}/v1/player/login/player`, sn).then((G) => (G.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4977
+ fetch(`${i}/v1/player/login/player`, on).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4999
4978
  {
5000
4979
  type: "WidgetNotification",
5001
4980
  data: {
@@ -5004,13 +4983,13 @@ function Zo(e, t, r) {
5004
4983
  }
5005
4984
  },
5006
4985
  window.location.href
5007
- )), G.json())).then((G) => {
5008
- if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, O = G.detail.phonePrefix + G.detail.phone), r(21, fe = !0), Qe(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
4986
+ )), $.json())).then(($) => {
4987
+ if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, fe = !0), Qe(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
5009
4988
  if (window.postMessage(
5010
4989
  {
5011
4990
  type: "UserSessionID",
5012
- session: G.sessionID,
5013
- userid: G.universalID
4991
+ session: $.sessionID,
4992
+ userid: $.universalID
5014
4993
  },
5015
4994
  window.location.href
5016
4995
  ), window.postMessage(
@@ -5029,10 +5008,10 @@ function Zo(e, t, r) {
5029
5008
  });
5030
5009
  navigator.credentials.store($e);
5031
5010
  }
5032
- De();
5011
+ ke();
5033
5012
  } else
5034
5013
  try {
5035
- let $e = G.error;
5014
+ let $e = $.error;
5036
5015
  r(16, he = $e), r(17, J = !1), window.postMessage(
5037
5016
  {
5038
5017
  type: "WidgetNotification",
@@ -5041,11 +5020,11 @@ function Zo(e, t, r) {
5041
5020
  window.location.href
5042
5021
  );
5043
5022
  } catch {
5044
- let Wt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5045
- r(16, he = Wt), r(17, J = !1), window.postMessage(
5023
+ let zt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5024
+ r(16, he = zt), r(17, J = !1), window.postMessage(
5046
5025
  {
5047
5026
  type: "WidgetNotification",
5048
- data: { type: "error", message: Wt }
5027
+ data: { type: "error", message: zt }
5049
5028
  },
5050
5029
  window.location.href
5051
5030
  );
@@ -5062,26 +5041,26 @@ function Zo(e, t, r) {
5062
5041
  },
5063
5042
  body: JSON.stringify({
5064
5043
  userId: q,
5065
- messageTemplate: Wo,
5044
+ messageTemplate: zo,
5066
5045
  destination: p
5067
5046
  })
5068
5047
  }), Ke = await ee.json();
5069
5048
  if (ee.ok) {
5070
5049
  r(9, g = Ke.id);
5071
5050
  let et = Ke.maxValidationAttempts;
5072
- x = !1;
5051
+ S = !1;
5073
5052
  } else
5074
- throw x = !0, new Error("Failed to fetch");
5053
+ throw S = !0, new Error("Failed to fetch");
5075
5054
  } catch (ee) {
5076
- x = !0, console.error(ee);
5055
+ S = !0, console.error(ee);
5077
5056
  }
5078
5057
  }, F = () => {
5079
- No(s);
5058
+ Lo(s);
5080
5059
  };
5081
- gn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Lo(R)), () => {
5060
+ pn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Co(R)), () => {
5082
5061
  window.removeEventListener("message", be);
5083
5062
  }));
5084
- const Ye = () => Fe();
5063
+ const Ye = () => De();
5085
5064
  function Se() {
5086
5065
  U = this.value, r(12, U);
5087
5066
  }
@@ -5093,8 +5072,8 @@ function Zo(e, t, r) {
5093
5072
  le = p, r(18, le);
5094
5073
  });
5095
5074
  }
5096
- const k = () => we(), $ = () => _e(), v = (p) => Q(p), S = (p) => Ee(p);
5097
- function on(p) {
5075
+ const k = () => we(), G = () => _e(), v = (p) => Q(p), P = (p) => Ee(p);
5076
+ function nn(p) {
5098
5077
  ut[p ? "unshift" : "push"](() => {
5099
5078
  X = p, r(7, X);
5100
5079
  });
@@ -5105,9 +5084,9 @@ function Zo(e, t, r) {
5105
5084
  e.$$.dirty[0] & /*endpoint, lang*/
5106
5085
  1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5107
5086
  4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5108
- 144 && u && X && Ro(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5109
- 160 && f && X && Uo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5110
- 136 && l && X && Fo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5087
+ 144 && u && X && Mo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5088
+ 160 && f && X && No(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5089
+ 136 && l && X && Ro(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5111
5090
  2 && d && M();
5112
5091
  }, [
5113
5092
  i,
@@ -5120,12 +5099,12 @@ function Zo(e, t, r) {
5120
5099
  X,
5121
5100
  y,
5122
5101
  g,
5123
- O,
5102
+ C,
5124
5103
  z,
5125
5104
  U,
5126
5105
  A,
5127
5106
  H,
5128
- oe,
5107
+ ie,
5129
5108
  he,
5130
5109
  J,
5131
5110
  le,
@@ -5135,7 +5114,7 @@ function Zo(e, t, r) {
5135
5114
  n,
5136
5115
  _e,
5137
5116
  we,
5138
- Fe,
5117
+ De,
5139
5118
  Ee,
5140
5119
  Q,
5141
5120
  Je,
@@ -5148,20 +5127,20 @@ function Zo(e, t, r) {
5148
5127
  Y,
5149
5128
  D,
5150
5129
  k,
5151
- $,
5130
+ G,
5152
5131
  v,
5153
- S,
5154
- on
5132
+ P,
5133
+ nn
5155
5134
  ];
5156
5135
  }
5157
- class qo extends Bn {
5136
+ class Wo extends Hn {
5158
5137
  constructor(t) {
5159
- super(), Tn(
5138
+ super(), Pn(
5160
5139
  this,
5161
5140
  t,
5162
- Zo,
5163
5141
  Xo,
5164
- Pr,
5142
+ Vo,
5143
+ xr,
5165
5144
  {
5166
5145
  endpoint: 0,
5167
5146
  captchakey: 1,
@@ -5174,7 +5153,7 @@ class qo extends Bn {
5174
5153
  translationurl: 32,
5175
5154
  savecredentials: 6
5176
5155
  },
5177
- Do,
5156
+ Uo,
5178
5157
  [-1, -1]
5179
5158
  );
5180
5159
  }
@@ -5239,35 +5218,35 @@ class qo extends Bn {
5239
5218
  this.$$set({ savecredentials: t }), K();
5240
5219
  }
5241
5220
  }
5242
- Hn(qo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5221
+ Tn(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5243
5222
  export {
5244
5223
  ce as $,
5245
- qo as G,
5246
- Bn as S,
5247
- Ne as a,
5248
- Kr as b,
5249
- Hn as c,
5250
- un as d,
5251
- I as e,
5224
+ Wo as G,
5225
+ Hn as S,
5226
+ Re as a,
5227
+ Yr as b,
5228
+ Tn as c,
5229
+ ln as d,
5230
+ x as e,
5252
5231
  K as f,
5253
- te as g,
5254
- rt as h,
5255
- Tn as i,
5256
- h as j,
5257
- L as k,
5258
- m as l,
5259
- se as m,
5260
- Z as n,
5261
- E as o,
5262
- j as p,
5263
- ln as q,
5264
- Le as r,
5265
- Pr as s,
5232
+ j as g,
5233
+ h,
5234
+ Pn as i,
5235
+ L as j,
5236
+ m as k,
5237
+ rt as l,
5238
+ oe as m,
5239
+ te as n,
5240
+ Z as o,
5241
+ I as p,
5242
+ an as q,
5243
+ Me as r,
5244
+ xr as s,
5266
5245
  N as t,
5267
- gn as u,
5268
- ut as v,
5269
- Co as w,
5270
- Ro as x,
5271
- Uo as y,
5272
- Fo as z
5246
+ pn as u,
5247
+ Ro as v,
5248
+ ut as w,
5249
+ Mo as x,
5250
+ No as y,
5251
+ Io as z
5273
5252
  };