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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- var mn = Object.defineProperty, pn = Object.defineProperties;
2
- var gn = Object.getOwnPropertyDescriptors;
3
- var Jt = Object.getOwnPropertySymbols;
4
- var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
5
- var vt = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
1
+ var pn = Object.defineProperty, gn = Object.defineProperties;
2
+ var bn = Object.getOwnPropertyDescriptors;
3
+ var Yt = Object.getOwnPropertySymbols;
4
+ var vn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
5
+ var _t = (e, t, r) => t in e ? pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- bn.call(t, r) && vt(e, r, t[r]);
8
- if (Jt)
9
- for (var r of Jt(t))
10
- vn.call(t, r) && vt(e, r, t[r]);
7
+ vn.call(t, r) && _t(e, r, t[r]);
8
+ if (Yt)
9
+ for (var r of Yt(t))
10
+ yn.call(t, r) && _t(e, r, t[r]);
11
11
  return e;
12
- }, Yt = (e, t) => pn(e, gn(t));
13
- var K = (e, t, r) => (vt(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, er = (e, t) => gn(e, bn(t));
13
+ var K = (e, t, r) => (_t(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function Z() {
31
31
  }
32
- function Ar(e) {
32
+ function Or(e) {
33
33
  return e();
34
34
  }
35
- function Kt() {
35
+ function tr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Ne(e) {
39
- e.forEach(Ar);
38
+ function Me(e) {
39
+ e.forEach(Or);
40
40
  }
41
- function $t(e) {
41
+ function Xt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ir(e, t) {
44
+ function Cr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let tt;
48
- function er(e, t) {
48
+ function rr(e, t) {
49
49
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
50
50
  }
51
- function yn(e) {
51
+ function _n(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Cr(e, ...t) {
54
+ function Lr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Cr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function _n(e, t, r) {
64
- e.$$.on_destroy.push(Cr(t, r));
63
+ function wn(e, t, r) {
64
+ e.$$.on_destroy.push(Lr(t, r));
65
65
  }
66
66
  function m(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function wn(e, t, r) {
70
- const n = En(e);
69
+ function En(e, t, r) {
70
+ const n = xn(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = x("style");
73
- i.id = t, i.textContent = r, xn(n, i);
72
+ const i = E("style");
73
+ i.id = t, i.textContent = r, Sn(n, i);
74
74
  }
75
75
  }
76
- function En(e) {
76
+ function xn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function En(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function xn(e, t) {
86
+ function Sn(e, t) {
87
87
  return m(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,10 +96,10 @@ function L(e, t, r) {
96
96
  function I(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function x(e) {
99
+ function E(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function O(e) {
102
+ function C(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function N(e) {
@@ -108,10 +108,10 @@ function N(e) {
108
108
  function j() {
109
109
  return N(" ");
110
110
  }
111
- function Sn() {
111
+ function Pn() {
112
112
  return N("");
113
113
  }
114
- function se(e, t, r, n) {
114
+ function ae(e, t, r, n) {
115
115
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
116
  }
117
117
  function h(e, t, r) {
@@ -121,7 +121,7 @@ function W(e, t, r) {
121
121
  const n = t.toLowerCase();
122
122
  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);
123
123
  }
124
- function Pn(e) {
124
+ function Tn(e) {
125
125
  return Array.from(e.childNodes);
126
126
  }
127
127
  function re(e, t) {
@@ -131,7 +131,7 @@ function re(e, t) {
131
131
  function rt(e, t) {
132
132
  e.value = t == null ? "" : t;
133
133
  }
134
- function Tn(e) {
134
+ function Hn(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
@@ -140,87 +140,87 @@ function Tn(e) {
140
140
  }
141
141
  ), t;
142
142
  }
143
- let Xe;
144
- function ze(e) {
145
- Xe = e;
143
+ let ze;
144
+ function Ve(e) {
145
+ ze = e;
146
146
  }
147
- function Hn() {
148
- if (!Xe)
147
+ function Bn() {
148
+ if (!ze)
149
149
  throw new Error("Function called outside component initialization");
150
- return Xe;
150
+ return ze;
151
151
  }
152
- function Bn(e) {
153
- Hn().$$.on_mount.push(e);
152
+ function An(e) {
153
+ Bn().$$.on_mount.push(e);
154
154
  }
155
155
  const Be = [], ut = [];
156
156
  let Ae = [];
157
- const tr = [], An = /* @__PURE__ */ Promise.resolve();
158
- let Ht = !1;
159
- function In() {
160
- Ht || (Ht = !0, An.then(ee));
157
+ const nr = [], In = /* @__PURE__ */ Promise.resolve();
158
+ let At = !1;
159
+ function On() {
160
+ At || (At = !0, In.then(ee));
161
161
  }
162
- function Bt(e) {
162
+ function It(e) {
163
163
  Ae.push(e);
164
164
  }
165
- const yt = /* @__PURE__ */ new Set();
165
+ const wt = /* @__PURE__ */ new Set();
166
166
  let Te = 0;
167
167
  function ee() {
168
168
  if (Te !== 0)
169
169
  return;
170
- const e = Xe;
170
+ const e = ze;
171
171
  do {
172
172
  try {
173
173
  for (; Te < Be.length; ) {
174
174
  const t = Be[Te];
175
- Te++, ze(t), Cn(t.$$);
175
+ Te++, Ve(t), Cn(t.$$);
176
176
  }
177
177
  } catch (t) {
178
178
  throw Be.length = 0, Te = 0, t;
179
179
  }
180
- for (ze(null), Be.length = 0, Te = 0; ut.length; )
180
+ for (Ve(null), Be.length = 0, Te = 0; ut.length; )
181
181
  ut.pop()();
182
182
  for (let t = 0; t < Ae.length; t += 1) {
183
183
  const r = Ae[t];
184
- yt.has(r) || (yt.add(r), r());
184
+ wt.has(r) || (wt.add(r), r());
185
185
  }
186
186
  Ae.length = 0;
187
187
  } while (Be.length);
188
- for (; tr.length; )
189
- tr.pop()();
190
- Ht = !1, yt.clear(), ze(e);
188
+ for (; nr.length; )
189
+ nr.pop()();
190
+ At = !1, wt.clear(), Ve(e);
191
191
  }
192
192
  function Cn(e) {
193
193
  if (e.fragment !== null) {
194
- e.update(), Ne(e.before_update);
194
+ e.update(), Me(e.before_update);
195
195
  const t = e.dirty;
196
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
196
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(It);
197
197
  }
198
198
  }
199
- function On(e) {
199
+ function Ln(e) {
200
200
  const t = [], r = [];
201
201
  Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
202
202
  }
203
- const Ln = /* @__PURE__ */ new Set();
204
- function Mn(e, t) {
205
- e && e.i && (Ln.delete(e), e.i(t));
203
+ const Mn = /* @__PURE__ */ new Set();
204
+ function Nn(e, t) {
205
+ e && e.i && (Mn.delete(e), e.i(t));
206
206
  }
207
- function Nn(e, t, r) {
207
+ function Rn(e, t, r) {
208
208
  const { fragment: n, after_update: i } = e.$$;
209
- n && n.m(t, r), Bt(() => {
210
- const o = e.$$.on_mount.map(Ar).filter($t);
211
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
212
- }), i.forEach(Bt);
209
+ n && n.m(t, r), It(() => {
210
+ const o = e.$$.on_mount.map(Or).filter(Xt);
211
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
212
+ }), i.forEach(It);
213
213
  }
214
- function Rn(e, t) {
214
+ function Un(e, t) {
215
215
  const r = e.$$;
216
- r.fragment !== null && (On(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (Ln(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
217
  }
218
- function Un(e, t) {
219
- e.$$.dirty[0] === -1 && (Be.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ function Fn(e, t) {
219
+ e.$$.dirty[0] === -1 && (Be.push(e), On(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
220
  }
221
- function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
222
- const u = Xe;
223
- ze(e);
221
+ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ const u = ze;
223
+ Ve(e);
224
224
  const l = e.$$ = {
225
225
  fragment: null,
226
226
  ctx: [],
@@ -228,7 +228,7 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
228
228
  props: o,
229
229
  update: Z,
230
230
  not_equal: i,
231
- bound: Kt(),
231
+ bound: tr(),
232
232
  // lifecycle
233
233
  on_mount: [],
234
234
  on_destroy: [],
@@ -237,7 +237,7 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
237
237
  after_update: [],
238
238
  context: new Map(t.context || (u ? u.$$.context : [])),
239
239
  // everything else
240
- callbacks: Kt(),
240
+ callbacks: tr(),
241
241
  dirty: a,
242
242
  skip_bound: !1,
243
243
  root: t.target || u.$$.root
@@ -246,19 +246,19 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
246
246
  let c = !1;
247
247
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
248
248
  const y = b.length ? b[0] : d;
249
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Un(e, f)), d;
250
- }) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
249
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Fn(e, f)), d;
250
+ }) : [], l.update(), c = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
251
  if (t.hydrate) {
252
- const f = Pn(t.target);
252
+ const f = Tn(t.target);
253
253
  l.fragment && l.fragment.l(f), f.forEach(I);
254
254
  } else
255
255
  l.fragment && l.fragment.c();
256
- t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
256
+ t.intro && Nn(e.$$.fragment), Rn(e, t.target, t.anchor), ee();
257
257
  }
258
- ze(u);
258
+ Ve(u);
259
259
  }
260
- let Or;
261
- typeof HTMLElement == "function" && (Or = class extends HTMLElement {
260
+ let Mr;
261
+ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
262
262
  constructor(t, r, n) {
263
263
  super();
264
264
  /** The Svelte component constructor */
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
302
302
  let s;
303
303
  return {
304
304
  c: function() {
305
- s = x("slot"), o !== "default" && h(s, "name", o);
305
+ s = E("slot"), o !== "default" && h(s, "name", o);
306
306
  },
307
307
  /**
308
308
  * @param {HTMLElement} target
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
319
319
  };
320
320
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
321
321
  return;
322
- const r = {}, n = Tn(this);
322
+ const r = {}, n = Hn(this);
323
323
  for (const o of this.$$s)
324
324
  o in n && (r[o] = [t(o)]);
325
325
  for (const o of this.attributes) {
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
330
330
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
331
331
  this.$$c = new this.$$ctor({
332
332
  target: this.shadowRoot || this,
333
- props: Yt(Qt({}, this.$$d), {
333
+ props: er(Kt({}, this.$$d), {
334
334
  $$slots: r,
335
335
  $$scope: {
336
336
  ctx: []
@@ -408,8 +408,8 @@ function ot(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function Dn(e, t, r, n, i, o) {
412
- let s = class extends Or {
411
+ function kn(e, t, r, n, i, o) {
412
+ let s = class extends Mr {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -439,7 +439,7 @@ function Dn(e, t, r, n, i, o) {
439
439
  }), e.element = /** @type {any} */
440
440
  s, s;
441
441
  }
442
- class kn {
442
+ class $n {
443
443
  constructor() {
444
444
  /**
445
445
  * ### PRIVATE API
@@ -460,7 +460,7 @@ class kn {
460
460
  }
461
461
  /** @returns {void} */
462
462
  $destroy() {
463
- Rn(this, 1), this.$destroy = Z;
463
+ Un(this, 1), this.$destroy = Z;
464
464
  }
465
465
  /**
466
466
  * @template {Extract<keyof Events, string>} K
@@ -469,7 +469,7 @@ class kn {
469
469
  * @returns {() => void}
470
470
  */
471
471
  $on(t, r) {
472
- if (!$t(r))
472
+ if (!Xt(r))
473
473
  return Z;
474
474
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
475
475
  return n.push(r), () => {
@@ -482,7 +482,7 @@ class kn {
482
482
  * @returns {void}
483
483
  */
484
484
  $set(t) {
485
- this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
+ this.$$set && !_n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
486
  }
487
487
  }
488
488
  const Gn = "4";
@@ -501,43 +501,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
501
501
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
502
502
  PERFORMANCE OF THIS SOFTWARE.
503
503
  ***************************************************************************** */
504
- var At = function(e, t) {
505
- return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
504
+ var Ot = function(e, t) {
505
+ return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
506
506
  r.__proto__ = n;
507
507
  } || function(r, n) {
508
508
  for (var i in n)
509
509
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
510
- }, At(e, t);
510
+ }, Ot(e, t);
511
511
  };
512
- function le(e, t) {
512
+ function Ze(e, t) {
513
513
  if (typeof t != "function" && t !== null)
514
514
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
515
- At(e, t);
515
+ Ot(e, t);
516
516
  function r() {
517
517
  this.constructor = e;
518
518
  }
519
519
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
520
520
  }
521
- var E = function() {
522
- return E = Object.assign || function(t) {
523
- for (var r, n = 1, i = arguments.length; n < i; n++) {
524
- r = arguments[n];
525
- for (var o in r)
526
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
527
- }
528
- return t;
529
- }, E.apply(this, arguments);
530
- };
531
- function $n(e, t) {
532
- var r = {};
533
- for (var n in e)
534
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
535
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
536
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
537
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
538
- return r;
539
- }
540
- function It(e) {
521
+ function Ct(e) {
541
522
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
542
523
  if (r)
543
524
  return r.call(e);
@@ -549,7 +530,7 @@ function It(e) {
549
530
  };
550
531
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
551
532
  }
552
- function Ct(e, t) {
533
+ function Lt(e, t) {
553
534
  var r = typeof Symbol == "function" && e[Symbol.iterator];
554
535
  if (!r)
555
536
  return e;
@@ -569,22 +550,22 @@ function Ct(e, t) {
569
550
  }
570
551
  return o;
571
552
  }
572
- function Ie(e, t, r) {
573
- if (r || arguments.length === 2)
553
+ function Mt(e, t, r) {
554
+ if (arguments.length === 2)
574
555
  for (var n = 0, i = t.length, o; n < i; n++)
575
556
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
576
557
  return e.concat(o || t);
577
558
  }
578
- function ae(e) {
559
+ function le(e) {
579
560
  return typeof e == "function";
580
561
  }
581
- function Lr(e) {
562
+ function Nr(e) {
582
563
  var t = function(n) {
583
564
  Error.call(n), n.stack = new Error().stack;
584
565
  }, r = e(t);
585
566
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
586
567
  }
587
- var _t = Lr(function(e) {
568
+ var Et = Nr(function(e) {
588
569
  return function(r) {
589
570
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
590
571
  ` + r.map(function(n, i) {
@@ -593,13 +574,13 @@ var _t = Lr(function(e) {
593
574
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
594
575
  };
595
576
  });
596
- function Ot(e, t) {
577
+ function Nt(e, t) {
597
578
  if (e) {
598
579
  var r = e.indexOf(t);
599
580
  0 <= r && e.splice(r, 1);
600
581
  }
601
582
  }
602
- var ft = function() {
583
+ var dt = function() {
603
584
  function e(t) {
604
585
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
605
586
  }
@@ -611,7 +592,7 @@ var ft = function() {
611
592
  if (s)
612
593
  if (this._parentage = null, Array.isArray(s))
613
594
  try {
614
- for (var a = It(s), u = a.next(); !u.done; u = a.next()) {
595
+ for (var a = Ct(s), u = a.next(); !u.done; u = a.next()) {
615
596
  var l = u.value;
616
597
  l.remove(this);
617
598
  }
@@ -628,22 +609,22 @@ var ft = function() {
628
609
  else
629
610
  s.remove(this);
630
611
  var c = this.initialTeardown;
631
- if (ae(c))
612
+ if (le(c))
632
613
  try {
633
614
  c();
634
615
  } catch (g) {
635
- o = g instanceof _t ? g.errors : [g];
616
+ o = g instanceof Et ? g.errors : [g];
636
617
  }
637
618
  var f = this._finalizers;
638
619
  if (f) {
639
620
  this._finalizers = null;
640
621
  try {
641
- for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
622
+ for (var d = Ct(f), b = d.next(); !b.done; b = d.next()) {
642
623
  var y = b.value;
643
624
  try {
644
- rr(y);
625
+ ir(y);
645
626
  } catch (g) {
646
- o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], Ct(o)), Ct(g.errors)) : o.push(g);
627
+ o = o != null ? o : [], g instanceof Et ? o = Mt(Mt([], Lt(o)), Lt(g.errors)) : o.push(g);
647
628
  }
648
629
  }
649
630
  } catch (g) {
@@ -658,13 +639,13 @@ var ft = function() {
658
639
  }
659
640
  }
660
641
  if (o)
661
- throw new _t(o);
642
+ throw new Et(o);
662
643
  }
663
644
  }, e.prototype.add = function(t) {
664
645
  var r;
665
646
  if (t && t !== this)
666
647
  if (this.closed)
667
- rr(t);
648
+ ir(t);
668
649
  else {
669
650
  if (t instanceof e) {
670
651
  if (t.closed || t._hasParent(this))
@@ -681,56 +662,52 @@ var ft = function() {
681
662
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
682
663
  }, e.prototype._removeParent = function(t) {
683
664
  var r = this._parentage;
684
- r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
665
+ r === t ? this._parentage = null : Array.isArray(r) && Nt(r, t);
685
666
  }, e.prototype.remove = function(t) {
686
667
  var r = this._finalizers;
687
- r && Ot(r, t), t instanceof e && t._removeParent(this);
668
+ r && Nt(r, t), t instanceof e && t._removeParent(this);
688
669
  }, e.EMPTY = function() {
689
670
  var t = new e();
690
671
  return t.closed = !0, t;
691
672
  }(), e;
692
- }(), Mr = ft.EMPTY;
693
- function Nr(e) {
694
- return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
695
- }
696
- function rr(e) {
697
- ae(e) ? e() : e.unsubscribe();
698
- }
699
- var Rr = {
700
- onUnhandledError: null,
701
- onStoppedNotification: null,
702
- Promise: void 0,
703
- useDeprecatedSynchronousErrorHandling: !1,
704
- useDeprecatedNextContext: !1
705
- }, jn = {
673
+ }(), Rr = dt.EMPTY;
674
+ function Ur(e) {
675
+ return e instanceof dt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
676
+ }
677
+ function ir(e) {
678
+ le(e) ? e() : e.unsubscribe();
679
+ }
680
+ var jn = {
681
+ Promise: void 0
682
+ }, Vn = {
706
683
  setTimeout: function(e, t) {
707
684
  for (var r = [], n = 2; n < arguments.length; n++)
708
685
  r[n - 2] = arguments[n];
709
- return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
686
+ return setTimeout.apply(void 0, Mt([e, t], Lt(r)));
710
687
  },
711
688
  clearTimeout: function(e) {
712
689
  return clearTimeout(e);
713
690
  },
714
691
  delegate: void 0
715
692
  };
716
- function Vn(e) {
717
- jn.setTimeout(function() {
693
+ function zn(e) {
694
+ Vn.setTimeout(function() {
718
695
  throw e;
719
696
  });
720
697
  }
721
- function nr() {
698
+ function or() {
722
699
  }
723
700
  function st(e) {
724
701
  e();
725
702
  }
726
- var Ur = function(e) {
727
- le(t, e);
703
+ var Fr = function(e) {
704
+ Ze(t, e);
728
705
  function t(r) {
729
706
  var n = e.call(this) || this;
730
- return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Zn, n;
707
+ return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = Zn, n;
731
708
  }
732
709
  return t.create = function(r, n, i) {
733
- return new Lt(r, n, i);
710
+ return new Rt(r, n, i);
734
711
  }, t.prototype.next = function(r) {
735
712
  this.isStopped || this._next(r);
736
713
  }, t.prototype.error = function(r) {
@@ -754,11 +731,7 @@ var Ur = function(e) {
754
731
  this.unsubscribe();
755
732
  }
756
733
  }, t;
757
- }(ft), zn = Function.prototype.bind;
758
- function wt(e, t) {
759
- return zn.call(e, t);
760
- }
761
- var Xn = function() {
734
+ }(dt), Xn = function() {
762
735
  function e(t) {
763
736
  this.partialObserver = t;
764
737
  }
@@ -789,41 +762,29 @@ var Xn = function() {
789
762
  nt(r);
790
763
  }
791
764
  }, e;
792
- }(), Lt = function(e) {
793
- le(t, e);
765
+ }(), Rt = function(e) {
766
+ Ze(t, e);
794
767
  function t(r, n, i) {
795
768
  var o = e.call(this) || this, s;
796
- if (ae(r) || !r)
797
- s = {
798
- next: r != null ? r : void 0,
799
- error: n != null ? n : void 0,
800
- complete: i != null ? i : void 0
801
- };
802
- else {
803
- var a;
804
- o && Rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
805
- return o.unsubscribe();
806
- }, s = {
807
- next: r.next && wt(r.next, a),
808
- error: r.error && wt(r.error, a),
809
- complete: r.complete && wt(r.complete, a)
810
- }) : s = r;
811
- }
812
- return o.destination = new Xn(s), o;
769
+ return le(r) || !r ? s = {
770
+ next: r != null ? r : void 0,
771
+ error: n != null ? n : void 0,
772
+ complete: i != null ? i : void 0
773
+ } : s = r, o.destination = new Xn(s), o;
813
774
  }
814
775
  return t;
815
- }(Ur);
776
+ }(Fr);
816
777
  function nt(e) {
817
- Vn(e);
778
+ zn(e);
818
779
  }
819
780
  function Wn(e) {
820
781
  throw e;
821
782
  }
822
783
  var Zn = {
823
784
  closed: !0,
824
- next: nr,
785
+ next: or,
825
786
  error: Wn,
826
- complete: nr
787
+ complete: or
827
788
  }, qn = function() {
828
789
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
829
790
  }();
@@ -837,7 +798,7 @@ function Qn(e) {
837
798
  }, r);
838
799
  };
839
800
  }
840
- var ir = function() {
801
+ var sr = function() {
841
802
  function e(t) {
842
803
  t && (this._subscribe = t);
843
804
  }
@@ -845,7 +806,7 @@ var ir = function() {
845
806
  var r = new e();
846
807
  return r.source = this, r.operator = t, r;
847
808
  }, e.prototype.subscribe = function(t, r, n) {
848
- var i = this, o = Kn(t) ? t : new Lt(t, r, n);
809
+ var i = this, o = Kn(t) ? t : new Rt(t, r, n);
849
810
  return st(function() {
850
811
  var s = i, a = s.operator, u = s.source;
851
812
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -858,8 +819,8 @@ var ir = function() {
858
819
  }
859
820
  }, e.prototype.forEach = function(t, r) {
860
821
  var n = this;
861
- return r = or(r), new r(function(i, o) {
862
- var s = new Lt({
822
+ return r = ar(r), new r(function(i, o) {
823
+ var s = new Rt({
863
824
  next: function(a) {
864
825
  try {
865
826
  t(a);
@@ -883,7 +844,7 @@ var ir = function() {
883
844
  return Qn(t)(this);
884
845
  }, e.prototype.toPromise = function(t) {
885
846
  var r = this;
886
- return t = or(t), new t(function(n, i) {
847
+ return t = ar(t), new t(function(n, i) {
887
848
  var o;
888
849
  r.subscribe(function(s) {
889
850
  return o = s;
@@ -897,28 +858,28 @@ var ir = function() {
897
858
  return new e(t);
898
859
  }, e;
899
860
  }();
900
- function or(e) {
861
+ function ar(e) {
901
862
  var t;
902
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
863
+ return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
903
864
  }
904
865
  function Yn(e) {
905
- return e && ae(e.next) && ae(e.error) && ae(e.complete);
866
+ return e && le(e.next) && le(e.error) && le(e.complete);
906
867
  }
907
868
  function Kn(e) {
908
- return e && e instanceof Ur || Yn(e) && Nr(e);
869
+ return e && e instanceof Fr || Yn(e) && Ur(e);
909
870
  }
910
- var ei = Lr(function(e) {
871
+ var ei = Nr(function(e) {
911
872
  return function() {
912
873
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
913
874
  };
914
- }), Fr = function(e) {
915
- le(t, e);
875
+ }), Dr = function(e) {
876
+ Ze(t, e);
916
877
  function t() {
917
878
  var r = e.call(this) || this;
918
879
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
919
880
  }
920
881
  return t.prototype.lift = function(r) {
921
- var n = new sr(this, this);
882
+ var n = new lr(this, this);
922
883
  return n.operator = r, n;
923
884
  }, t.prototype._throwIfClosed = function() {
924
885
  if (this.closed)
@@ -930,7 +891,7 @@ var ei = Lr(function(e) {
930
891
  if (n._throwIfClosed(), !n.isStopped) {
931
892
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
932
893
  try {
933
- for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
894
+ for (var s = Ct(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
934
895
  var u = a.value;
935
896
  u.next(r);
936
897
  }
@@ -979,20 +940,20 @@ var ei = Lr(function(e) {
979
940
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
980
941
  }, t.prototype._innerSubscribe = function(r) {
981
942
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
982
- return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
983
- n.currentObservers = null, Ot(a, r);
943
+ return o || s ? Rr : (this.currentObservers = null, a.push(r), new dt(function() {
944
+ n.currentObservers = null, Nt(a, r);
984
945
  }));
985
946
  }, t.prototype._checkFinalizedStatuses = function(r) {
986
947
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
987
948
  i ? r.error(o) : s && r.complete();
988
949
  }, t.prototype.asObservable = function() {
989
- var r = new ir();
950
+ var r = new sr();
990
951
  return r.source = this, r;
991
952
  }, t.create = function(r, n) {
992
- return new sr(r, n);
953
+ return new lr(r, n);
993
954
  }, t;
994
- }(ir), sr = function(e) {
995
- le(t, e);
955
+ }(sr), lr = function(e) {
956
+ Ze(t, e);
996
957
  function t(r, n) {
997
958
  var i = e.call(this) || this;
998
959
  return i.destination = r, i.source = n, i;
@@ -1008,17 +969,17 @@ var ei = Lr(function(e) {
1008
969
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1009
970
  }, t.prototype._subscribe = function(r) {
1010
971
  var n, i;
1011
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
972
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rr;
1012
973
  }, t;
1013
- }(Fr), Dr = {
974
+ }(Dr), kr = {
1014
975
  now: function() {
1015
- return (Dr.delegate || Date).now();
976
+ return (kr.delegate || Date).now();
1016
977
  },
1017
978
  delegate: void 0
1018
979
  }, ti = function(e) {
1019
- le(t, e);
980
+ Ze(t, e);
1020
981
  function t(r, n, i) {
1021
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
982
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
1022
983
  var o = e.call(this) || this;
1023
984
  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;
1024
985
  }
@@ -1038,24 +999,24 @@ var ei = Lr(function(e) {
1038
999
  l && o.splice(0, l + 1);
1039
1000
  }
1040
1001
  }, t;
1041
- }(Fr);
1042
- const ar = [], lr = {}, ri = (e, t = 0) => {
1043
- if (ar.indexOf(e) == -1) {
1002
+ }(Dr);
1003
+ const ur = [], cr = {}, ri = (e, t = 0) => {
1004
+ if (ur.indexOf(e) == -1) {
1044
1005
  const r = new ti(t);
1045
- lr[e] = r, ar.push(e);
1006
+ cr[e] = r, ur.push(e);
1046
1007
  }
1047
- return lr[e];
1008
+ return cr[e];
1048
1009
  }, He = [];
1049
1010
  function ni(e, t) {
1050
1011
  return {
1051
- subscribe: dt(e, t).subscribe
1012
+ subscribe: mt(e, t).subscribe
1052
1013
  };
1053
1014
  }
1054
- function dt(e, t = Z) {
1015
+ function mt(e, t = Z) {
1055
1016
  let r;
1056
1017
  const n = /* @__PURE__ */ new Set();
1057
1018
  function i(a) {
1058
- if (Ir(e, a) && (e = a, r)) {
1019
+ if (Cr(e, a) && (e = a, r)) {
1059
1020
  const u = !He.length;
1060
1021
  for (const l of n)
1061
1022
  l[1](), He.push(l, e);
@@ -1077,7 +1038,7 @@ function dt(e, t = Z) {
1077
1038
  }
1078
1039
  return { set: i, update: o, subscribe: s };
1079
1040
  }
1080
- function Re(e, t, r) {
1041
+ function Ne(e, t, r) {
1081
1042
  const n = !Array.isArray(e), i = n ? [e] : e;
1082
1043
  if (!i.every(Boolean))
1083
1044
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1091,12 +1052,12 @@ function Re(e, t, r) {
1091
1052
  return;
1092
1053
  f();
1093
1054
  const y = t(n ? l[0] : l, s, a);
1094
- o ? s(y) : f = $t(y) ? y : Z;
1055
+ o ? s(y) : f = Xt(y) ? y : Z;
1095
1056
  }, b = i.map(
1096
- (y, g) => Cr(
1057
+ (y, g) => Lr(
1097
1058
  y,
1098
- (S) => {
1099
- l[g] = S, c &= ~(1 << g), u && d();
1059
+ (x) => {
1060
+ l[g] = x, c &= ~(1 << g), u && d();
1100
1061
  },
1101
1062
  () => {
1102
1063
  c |= 1 << g;
@@ -1104,7 +1065,7 @@ function Re(e, t, r) {
1104
1065
  )
1105
1066
  );
1106
1067
  return u = !0, d(), function() {
1107
- Ne(b), f(), u = !1;
1068
+ Me(b), f(), u = !1;
1108
1069
  };
1109
1070
  });
1110
1071
  }
@@ -1128,29 +1089,29 @@ function ci(e) {
1128
1089
  function hi(e) {
1129
1090
  return Array.isArray(e) ? [] : {};
1130
1091
  }
1131
- function We(e, t) {
1132
- return t.clone !== !1 && t.isMergeableObject(e) ? Ce(hi(e), e, t) : e;
1092
+ function Xe(e, t) {
1093
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ie(hi(e), e, t) : e;
1133
1094
  }
1134
1095
  function fi(e, t, r) {
1135
1096
  return e.concat(t).map(function(n) {
1136
- return We(n, r);
1097
+ return Xe(n, r);
1137
1098
  });
1138
1099
  }
1139
1100
  function di(e, t) {
1140
1101
  if (!t.customMerge)
1141
- return Ce;
1102
+ return Ie;
1142
1103
  var r = t.customMerge(e);
1143
- return typeof r == "function" ? r : Ce;
1104
+ return typeof r == "function" ? r : Ie;
1144
1105
  }
1145
1106
  function mi(e) {
1146
1107
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1147
1108
  return Object.propertyIsEnumerable.call(e, t);
1148
1109
  }) : [];
1149
1110
  }
1150
- function ur(e) {
1111
+ function hr(e) {
1151
1112
  return Object.keys(e).concat(mi(e));
1152
1113
  }
1153
- function kr(e, t) {
1114
+ function $r(e, t) {
1154
1115
  try {
1155
1116
  return t in e;
1156
1117
  } catch (r) {
@@ -1158,129 +1119,179 @@ function kr(e, t) {
1158
1119
  }
1159
1120
  }
1160
1121
  function pi(e, t) {
1161
- return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1122
+ return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1162
1123
  }
1163
1124
  function gi(e, t, r) {
1164
1125
  var n = {};
1165
- return r.isMergeableObject(e) && ur(e).forEach(function(i) {
1166
- n[i] = We(e[i], r);
1167
- }), ur(t).forEach(function(i) {
1168
- pi(e, i) || (kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1126
+ return r.isMergeableObject(e) && hr(e).forEach(function(i) {
1127
+ n[i] = Xe(e[i], r);
1128
+ }), hr(t).forEach(function(i) {
1129
+ pi(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1169
1130
  }), n;
1170
1131
  }
1171
- function Ce(e, t, r) {
1172
- r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = We;
1132
+ function Ie(e, t, r) {
1133
+ r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = Xe;
1173
1134
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1174
- return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : We(t, r);
1135
+ return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : Xe(t, r);
1175
1136
  }
1176
- Ce.all = function(t, r) {
1137
+ Ie.all = function(t, r) {
1177
1138
  if (!Array.isArray(t))
1178
1139
  throw new Error("first argument should be an array");
1179
1140
  return t.reduce(function(n, i) {
1180
- return Ce(n, i, r);
1141
+ return Ie(n, i, r);
1181
1142
  }, {});
1182
1143
  };
1183
- var bi = Ce, vi = bi;
1144
+ var bi = Ie, vi = bi;
1184
1145
  const yi = /* @__PURE__ */ ii(vi);
1185
- function Et(e, t) {
1186
- var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : wi;
1146
+ var Ut = function(e, t) {
1147
+ return Ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1148
+ r.__proto__ = n;
1149
+ } || function(r, n) {
1150
+ for (var i in n)
1151
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1152
+ }, Ut(e, t);
1153
+ };
1154
+ function pt(e, t) {
1155
+ if (typeof t != "function" && t !== null)
1156
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1157
+ Ut(e, t);
1158
+ function r() {
1159
+ this.constructor = e;
1160
+ }
1161
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1162
+ }
1163
+ var oe = function() {
1164
+ return oe = Object.assign || function(t) {
1165
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1166
+ r = arguments[n];
1167
+ for (var o in r)
1168
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1169
+ }
1170
+ return t;
1171
+ }, oe.apply(this, arguments);
1172
+ };
1173
+ function _i(e, t) {
1174
+ var r = {};
1175
+ for (var n in e)
1176
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1177
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1178
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1179
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1180
+ return r;
1181
+ }
1182
+ function xt(e, t, r) {
1183
+ if (r || arguments.length === 2)
1184
+ for (var n = 0, i = t.length, o; n < i; n++)
1185
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1186
+ return e.concat(o || Array.prototype.slice.call(t));
1187
+ }
1188
+ function St(e, t) {
1189
+ var r = t && t.cache ? t.cache : Hi, n = t && t.serializer ? t.serializer : Pi, i = t && t.strategy ? t.strategy : xi;
1187
1190
  return i(e, {
1188
1191
  cache: r,
1189
1192
  serializer: n
1190
1193
  });
1191
1194
  }
1192
- function _i(e) {
1195
+ function wi(e) {
1193
1196
  return e == null || typeof e == "number" || typeof e == "boolean";
1194
1197
  }
1195
- function Gr(e, t, r, n) {
1196
- var i = _i(n) ? n : r(n), o = t.get(i);
1198
+ function Ei(e, t, r, n) {
1199
+ var i = wi(n) ? n : r(n), o = t.get(i);
1197
1200
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1198
1201
  }
1199
- function $r(e, t, r) {
1202
+ function Gr(e, t, r) {
1200
1203
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1201
1204
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1202
1205
  }
1203
- function jt(e, t, r, n, i) {
1206
+ function jr(e, t, r, n, i) {
1204
1207
  return r.bind(t, e, n, i);
1205
1208
  }
1206
- function wi(e, t) {
1207
- var r = e.length === 1 ? Gr : $r;
1208
- return jt(e, this, r, t.cache.create(), t.serializer);
1209
- }
1210
- function Ei(e, t) {
1211
- return jt(e, this, $r, t.cache.create(), t.serializer);
1212
- }
1213
1209
  function xi(e, t) {
1214
- return jt(e, this, Gr, t.cache.create(), t.serializer);
1210
+ var r = e.length === 1 ? Ei : Gr;
1211
+ return jr(e, this, r, t.cache.create(), t.serializer);
1215
1212
  }
1216
- var Si = function() {
1217
- return JSON.stringify(arguments);
1218
- };
1219
- function Vt() {
1220
- this.cache = /* @__PURE__ */ Object.create(null);
1213
+ function Si(e, t) {
1214
+ return jr(e, this, Gr, t.cache.create(), t.serializer);
1221
1215
  }
1222
- Vt.prototype.get = function(e) {
1223
- return this.cache[e];
1224
- };
1225
- Vt.prototype.set = function(e, t) {
1226
- this.cache[e] = t;
1227
- };
1228
- var Pi = {
1216
+ var Pi = function() {
1217
+ return JSON.stringify(arguments);
1218
+ }, Ti = (
1219
+ /** @class */
1220
+ function() {
1221
+ function e() {
1222
+ this.cache = /* @__PURE__ */ Object.create(null);
1223
+ }
1224
+ return e.prototype.get = function(t) {
1225
+ return this.cache[t];
1226
+ }, e.prototype.set = function(t, r) {
1227
+ this.cache[t] = r;
1228
+ }, e;
1229
+ }()
1230
+ ), Hi = {
1229
1231
  create: function() {
1230
- return new Vt();
1232
+ return new Ti();
1231
1233
  }
1232
- }, xt = {
1233
- variadic: Ei,
1234
- monadic: xi
1235
- }, _;
1234
+ }, Pt = {
1235
+ variadic: Si
1236
+ }, ct = function() {
1237
+ return ct = Object.assign || function(t) {
1238
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
+ r = arguments[n];
1240
+ for (var o in r)
1241
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
+ }
1243
+ return t;
1244
+ }, ct.apply(this, arguments);
1245
+ };
1246
+ var _;
1236
1247
  (function(e) {
1237
1248
  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";
1238
1249
  })(_ || (_ = {}));
1239
- var T;
1250
+ var P;
1240
1251
  (function(e) {
1241
1252
  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";
1242
- })(T || (T = {}));
1253
+ })(P || (P = {}));
1243
1254
  var Oe;
1244
1255
  (function(e) {
1245
1256
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1246
1257
  })(Oe || (Oe = {}));
1247
- function cr(e) {
1248
- return e.type === T.literal;
1249
- }
1250
- function Ti(e) {
1251
- return e.type === T.argument;
1258
+ function fr(e) {
1259
+ return e.type === P.literal;
1252
1260
  }
1253
- function jr(e) {
1254
- return e.type === T.number;
1261
+ function Bi(e) {
1262
+ return e.type === P.argument;
1255
1263
  }
1256
1264
  function Vr(e) {
1257
- return e.type === T.date;
1265
+ return e.type === P.number;
1258
1266
  }
1259
1267
  function zr(e) {
1260
- return e.type === T.time;
1268
+ return e.type === P.date;
1261
1269
  }
1262
1270
  function Xr(e) {
1263
- return e.type === T.select;
1271
+ return e.type === P.time;
1264
1272
  }
1265
1273
  function Wr(e) {
1266
- return e.type === T.plural;
1267
- }
1268
- function Hi(e) {
1269
- return e.type === T.pound;
1274
+ return e.type === P.select;
1270
1275
  }
1271
1276
  function Zr(e) {
1272
- return e.type === T.tag;
1277
+ return e.type === P.plural;
1278
+ }
1279
+ function Ai(e) {
1280
+ return e.type === P.pound;
1273
1281
  }
1274
1282
  function qr(e) {
1283
+ return e.type === P.tag;
1284
+ }
1285
+ function Jr(e) {
1275
1286
  return !!(e && typeof e == "object" && e.type === Oe.number);
1276
1287
  }
1277
- function Mt(e) {
1288
+ function Ft(e) {
1278
1289
  return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1279
1290
  }
1280
- var Jr = /[ \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;
1281
- function Ai(e) {
1291
+ var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
1292
+ function Oi(e) {
1282
1293
  var t = {};
1283
- return e.replace(Bi, function(r) {
1294
+ return e.replace(Ii, function(r) {
1284
1295
  var n = r.length;
1285
1296
  switch (r[0]) {
1286
1297
  case "G":
@@ -1369,11 +1380,21 @@ function Ai(e) {
1369
1380
  return "";
1370
1381
  }), t;
1371
1382
  }
1372
- var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1373
- function Ci(e) {
1383
+ var T = function() {
1384
+ return T = Object.assign || function(t) {
1385
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1386
+ r = arguments[n];
1387
+ for (var o in r)
1388
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1389
+ }
1390
+ return t;
1391
+ }, T.apply(this, arguments);
1392
+ };
1393
+ var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1394
+ function Li(e) {
1374
1395
  if (e.length === 0)
1375
1396
  throw new Error("Number skeleton cannot be empty");
1376
- for (var t = e.split(Ii).filter(function(d) {
1397
+ for (var t = e.split(Ci).filter(function(d) {
1377
1398
  return d.length > 0;
1378
1399
  }), r = [], n = 0, i = t; n < i.length; n++) {
1379
1400
  var o = i[n], s = o.split("/");
@@ -1388,17 +1409,17 @@ function Ci(e) {
1388
1409
  }
1389
1410
  return r;
1390
1411
  }
1391
- function Oi(e) {
1412
+ function Mi(e) {
1392
1413
  return e.replace(/^(.*?)-/, "");
1393
1414
  }
1394
- var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
1395
- function fr(e) {
1415
+ var dr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Kr = /^(0+)$/;
1416
+ function mr(e) {
1396
1417
  var t = {};
1397
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
1418
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yr, function(r, n, i) {
1398
1419
  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)), "";
1399
1420
  }), t;
1400
1421
  }
1401
- function Kr(e) {
1422
+ function en(e) {
1402
1423
  switch (e) {
1403
1424
  case "sign-auto":
1404
1425
  return {
@@ -1438,7 +1459,7 @@ function Kr(e) {
1438
1459
  };
1439
1460
  }
1440
1461
  }
1441
- function Mi(e) {
1462
+ function Ri(e) {
1442
1463
  var t;
1443
1464
  if (e[0] === "E" && e[1] === "E" ? (t = {
1444
1465
  notation: "engineering"
@@ -1446,17 +1467,17 @@ function Mi(e) {
1446
1467
  notation: "scientific"
1447
1468
  }, e = e.slice(1)), t) {
1448
1469
  var r = e.slice(0, 2);
1449
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
1470
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kr.test(e))
1450
1471
  throw new Error("Malformed concise eng/scientific notation");
1451
1472
  t.minimumIntegerDigits = e.length;
1452
1473
  }
1453
1474
  return t;
1454
1475
  }
1455
- function dr(e) {
1456
- var t = {}, r = Kr(e);
1476
+ function pr(e) {
1477
+ var t = {}, r = en(e);
1457
1478
  return r || t;
1458
1479
  }
1459
- function Ni(e) {
1480
+ function Ui(e) {
1460
1481
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1461
1482
  var i = n[r];
1462
1483
  switch (i.stem) {
@@ -1480,7 +1501,7 @@ function Ni(e) {
1480
1501
  continue;
1481
1502
  case "measure-unit":
1482
1503
  case "unit":
1483
- t.style = "unit", t.unit = Oi(i.options[0]);
1504
+ t.style = "unit", t.unit = Mi(i.options[0]);
1484
1505
  continue;
1485
1506
  case "compact-short":
1486
1507
  case "K":
@@ -1491,13 +1512,13 @@ function Ni(e) {
1491
1512
  t.notation = "compact", t.compactDisplay = "long";
1492
1513
  continue;
1493
1514
  case "scientific":
1494
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1495
- return E(E({}, u), dr(l));
1515
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1516
+ return T(T({}, u), pr(l));
1496
1517
  }, {}));
1497
1518
  continue;
1498
1519
  case "engineering":
1499
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1500
- return E(E({}, u), dr(l));
1520
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1521
+ return T(T({}, u), pr(l));
1501
1522
  }, {}));
1502
1523
  continue;
1503
1524
  case "notation-simple":
@@ -1542,7 +1563,7 @@ function Ni(e) {
1542
1563
  case "integer-width":
1543
1564
  if (i.options.length > 1)
1544
1565
  throw new RangeError("integer-width stems only accept a single optional option");
1545
- i.options[0].replace(Li, function(u, l, c, f, d, b) {
1566
+ i.options[0].replace(Ni, function(u, l, c, f, d, b) {
1546
1567
  if (l)
1547
1568
  t.minimumIntegerDigits = c.length;
1548
1569
  else {
@@ -1555,28 +1576,28 @@ function Ni(e) {
1555
1576
  });
1556
1577
  continue;
1557
1578
  }
1558
- if (Yr.test(i.stem)) {
1579
+ if (Kr.test(i.stem)) {
1559
1580
  t.minimumIntegerDigits = i.stem.length;
1560
1581
  continue;
1561
1582
  }
1562
- if (hr.test(i.stem)) {
1583
+ if (dr.test(i.stem)) {
1563
1584
  if (i.options.length > 1)
1564
1585
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1565
- i.stem.replace(hr, function(u, l, c, f, d, b) {
1586
+ i.stem.replace(dr, function(u, l, c, f, d, b) {
1566
1587
  return c === "*" ? 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), "";
1567
1588
  });
1568
1589
  var o = i.options[0];
1569
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), fr(o)));
1590
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), mr(o)));
1570
1591
  continue;
1571
1592
  }
1572
- if (Qr.test(i.stem)) {
1573
- t = E(E({}, t), fr(i.stem));
1593
+ if (Yr.test(i.stem)) {
1594
+ t = T(T({}, t), mr(i.stem));
1574
1595
  continue;
1575
1596
  }
1576
- var s = Kr(i.stem);
1577
- s && (t = E(E({}, t), s));
1578
- var a = Mi(i.stem);
1579
- a && (t = E(E({}, t), a));
1597
+ var s = en(i.stem);
1598
+ s && (t = T(T({}, t), s));
1599
+ var a = Ri(i.stem);
1600
+ a && (t = T(T({}, t), a));
1580
1601
  }
1581
1602
  return t;
1582
1603
  }
@@ -2995,13 +3016,13 @@ var it = {
2995
3016
  "h"
2996
3017
  ]
2997
3018
  };
2998
- function Ri(e, t) {
3019
+ function Fi(e, t) {
2999
3020
  for (var r = "", n = 0; n < e.length; n++) {
3000
3021
  var i = e.charAt(n);
3001
3022
  if (i === "j") {
3002
3023
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3003
3024
  o++, n++;
3004
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
3025
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Di(t);
3005
3026
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3006
3027
  r += u;
3007
3028
  for (; s-- > 0; )
@@ -3011,7 +3032,7 @@ function Ri(e, t) {
3011
3032
  }
3012
3033
  return r;
3013
3034
  }
3014
- function Ui(e) {
3035
+ function Di(e) {
3015
3036
  var t = e.hourCycle;
3016
3037
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3017
3038
  e.hourCycles && // @ts-ignore
@@ -3033,20 +3054,20 @@ function Ui(e) {
3033
3054
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
3034
3055
  return i[0];
3035
3056
  }
3036
- var St, Fi = new RegExp("^".concat(Jr.source, "*")), Di = new RegExp("".concat(Jr.source, "*$"));
3057
+ var Tt, ki = new RegExp("^".concat(Qr.source, "*")), $i = new RegExp("".concat(Qr.source, "*$"));
3037
3058
  function w(e, t) {
3038
3059
  return { start: e, end: t };
3039
3060
  }
3040
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
3061
+ var Gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, Vi = !!Object.fromEntries, zi = !!String.prototype.codePointAt, Xi = !!String.prototype.trimStart, Wi = !!String.prototype.trimEnd, Zi = !!Number.isSafeInteger, qi = Zi ? Number.isSafeInteger : function(e) {
3041
3062
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3042
- }, Nt = !0;
3063
+ }, Dt = !0;
3043
3064
  try {
3044
- var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3045
- Nt = ((St = Zi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
3065
+ var Ji = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
+ Dt = ((Tt = Ji.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
3046
3067
  } catch (e) {
3047
- Nt = !1;
3068
+ Dt = !1;
3048
3069
  }
3049
- var mr = ki ? (
3070
+ var gr = Gi ? (
3050
3071
  // Native
3051
3072
  function(t, r, n) {
3052
3073
  return t.startsWith(r, n);
@@ -3056,7 +3077,7 @@ var mr = ki ? (
3056
3077
  function(t, r, n) {
3057
3078
  return t.slice(n, n + r.length) === r;
3058
3079
  }
3059
- ), Rt = Gi ? String.fromCodePoint : (
3080
+ ), kt = ji ? String.fromCodePoint : (
3060
3081
  // IE11
3061
3082
  function() {
3062
3083
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3068,9 +3089,9 @@ var mr = ki ? (
3068
3089
  }
3069
3090
  return n;
3070
3091
  }
3071
- ), pr = (
3092
+ ), br = (
3072
3093
  // native
3073
- $i ? Object.fromEntries : (
3094
+ Vi ? Object.fromEntries : (
3074
3095
  // Ponyfill
3075
3096
  function(t) {
3076
3097
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3080,7 +3101,7 @@ var mr = ki ? (
3080
3101
  return r;
3081
3102
  }
3082
3103
  )
3083
- ), en = ji ? (
3104
+ ), tn = zi ? (
3084
3105
  // Native
3085
3106
  function(t, r) {
3086
3107
  return t.codePointAt(r);
@@ -3094,7 +3115,7 @@ var mr = ki ? (
3094
3115
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3095
3116
  }
3096
3117
  }
3097
- ), qi = Vi ? (
3118
+ ), Qi = Xi ? (
3098
3119
  // Native
3099
3120
  function(t) {
3100
3121
  return t.trimStart();
@@ -3102,9 +3123,9 @@ var mr = ki ? (
3102
3123
  ) : (
3103
3124
  // Ponyfill
3104
3125
  function(t) {
3105
- return t.replace(Fi, "");
3126
+ return t.replace(ki, "");
3106
3127
  }
3107
- ), Ji = zi ? (
3128
+ ), Yi = Wi ? (
3108
3129
  // Native
3109
3130
  function(t) {
3110
3131
  return t.trimEnd();
@@ -3112,32 +3133,32 @@ var mr = ki ? (
3112
3133
  ) : (
3113
3134
  // Ponyfill
3114
3135
  function(t) {
3115
- return t.replace(Di, "");
3136
+ return t.replace($i, "");
3116
3137
  }
3117
3138
  );
3118
- function tn(e, t) {
3139
+ function rn(e, t) {
3119
3140
  return new RegExp(e, t);
3120
3141
  }
3121
- var Ut;
3122
- if (Nt) {
3123
- var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3124
- Ut = function(t, r) {
3142
+ var $t;
3143
+ if (Dt) {
3144
+ var vr = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3145
+ $t = function(t, r) {
3125
3146
  var n;
3126
- gr.lastIndex = r;
3127
- var i = gr.exec(t);
3147
+ vr.lastIndex = r;
3148
+ var i = vr.exec(t);
3128
3149
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3129
3150
  };
3130
3151
  } else
3131
- Ut = function(t, r) {
3152
+ $t = function(t, r) {
3132
3153
  for (var n = []; ; ) {
3133
- var i = en(t, r);
3134
- if (i === void 0 || rn(i) || eo(i))
3154
+ var i = tn(t, r);
3155
+ if (i === void 0 || nn(i) || ro(i))
3135
3156
  break;
3136
3157
  n.push(i), r += i >= 65536 ? 2 : 1;
3137
3158
  }
3138
- return Rt.apply(void 0, n);
3159
+ return kt.apply(void 0, n);
3139
3160
  };
3140
- var Qi = (
3161
+ var Ki = (
3141
3162
  /** @class */
3142
3163
  function() {
3143
3164
  function e(t, r) {
@@ -3161,14 +3182,14 @@ var Qi = (
3161
3182
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3162
3183
  var a = this.clonePosition();
3163
3184
  this.bump(), i.push({
3164
- type: T.pound,
3185
+ type: P.pound,
3165
3186
  location: w(a, this.clonePosition())
3166
3187
  });
3167
3188
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3168
3189
  if (n)
3169
3190
  break;
3170
3191
  return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3171
- } else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
3192
+ } else if (o === 60 && !this.ignoreTag && Gt(this.peek() || 0)) {
3172
3193
  var s = this.parseTag(t, r);
3173
3194
  if (s.err)
3174
3195
  return s;
@@ -3189,7 +3210,7 @@ var Qi = (
3189
3210
  if (this.bumpSpace(), this.bumpIf("/>"))
3190
3211
  return {
3191
3212
  val: {
3192
- type: T.literal,
3213
+ type: P.literal,
3193
3214
  value: "<".concat(i, "/>"),
3194
3215
  location: w(n, this.clonePosition())
3195
3216
  },
@@ -3201,12 +3222,12 @@ var Qi = (
3201
3222
  return o;
3202
3223
  var s = o.val, a = this.clonePosition();
3203
3224
  if (this.bumpIf("</")) {
3204
- if (this.isEOF() || !Ft(this.char()))
3225
+ if (this.isEOF() || !Gt(this.char()))
3205
3226
  return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
3206
3227
  var u = this.clonePosition(), l = this.parseTagName();
3207
3228
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3208
3229
  val: {
3209
- type: T.tag,
3230
+ type: P.tag,
3210
3231
  value: i,
3211
3232
  children: s,
3212
3233
  location: w(n, this.clonePosition())
@@ -3219,7 +3240,7 @@ var Qi = (
3219
3240
  return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
3220
3241
  }, e.prototype.parseTagName = function() {
3221
3242
  var t = this.offset();
3222
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
3243
+ for (this.bump(); !this.isEOF() && to(this.char()); )
3223
3244
  this.bump();
3224
3245
  return this.message.slice(t, this.offset());
3225
3246
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3243,12 +3264,12 @@ var Qi = (
3243
3264
  }
3244
3265
  var u = w(n, this.clonePosition());
3245
3266
  return {
3246
- val: { type: T.literal, value: i, location: u },
3267
+ val: { type: P.literal, value: i, location: u },
3247
3268
  err: null
3248
3269
  };
3249
3270
  }, e.prototype.tryParseLeftAngleBracket = function() {
3250
3271
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3251
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
3272
+ !eo(this.peek() || 0)) ? (this.bump(), "<") : null;
3252
3273
  }, e.prototype.tryParseQuote = function(t) {
3253
3274
  if (this.isEOF() || this.char() !== 39)
3254
3275
  return null;
@@ -3282,12 +3303,12 @@ var Qi = (
3282
3303
  r.push(n);
3283
3304
  this.bump();
3284
3305
  }
3285
- return Rt.apply(void 0, r);
3306
+ return kt.apply(void 0, r);
3286
3307
  }, e.prototype.tryParseUnquoted = function(t, r) {
3287
3308
  if (this.isEOF())
3288
3309
  return null;
3289
3310
  var n = this.char();
3290
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
3311
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), kt(n));
3291
3312
  }, e.prototype.parseArgument = function(t, r) {
3292
3313
  var n = this.clonePosition();
3293
3314
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3303,7 +3324,7 @@ var Qi = (
3303
3324
  case 125:
3304
3325
  return this.bump(), {
3305
3326
  val: {
3306
- type: T.argument,
3327
+ type: P.argument,
3307
3328
  // value does not include the opening and closing braces.
3308
3329
  value: i,
3309
3330
  location: w(n, this.clonePosition())
@@ -3316,7 +3337,7 @@ var Qi = (
3316
3337
  return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3317
3338
  }
3318
3339
  }, e.prototype.parseIdentifierIfPossible = function() {
3319
- var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
3340
+ var t = this.clonePosition(), r = this.offset(), n = $t(this.message, r), i = r + n.length;
3320
3341
  this.bumpTo(i);
3321
3342
  var o = this.clonePosition(), s = w(t, o);
3322
3343
  return { value: n, location: s };
@@ -3335,7 +3356,7 @@ var Qi = (
3335
3356
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3336
3357
  if (f.err)
3337
3358
  return f;
3338
- var d = Ji(f.val);
3359
+ var d = Yi(f.val);
3339
3360
  if (d.length === 0)
3340
3361
  return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3341
3362
  var b = w(c, this.clonePosition());
@@ -3345,25 +3366,25 @@ var Qi = (
3345
3366
  if (y.err)
3346
3367
  return y;
3347
3368
  var g = w(i, this.clonePosition());
3348
- if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
3349
- var S = qi(l.style.slice(2));
3369
+ if (l && gr(l == null ? void 0 : l.style, "::", 0)) {
3370
+ var x = Qi(l.style.slice(2));
3350
3371
  if (a === "number") {
3351
- var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3372
+ var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3352
3373
  return f.err ? f : {
3353
- val: { type: T.number, value: n, location: g, style: f.val },
3374
+ val: { type: P.number, value: n, location: g, style: f.val },
3354
3375
  err: null
3355
3376
  };
3356
3377
  } else {
3357
- if (S.length === 0)
3378
+ if (x.length === 0)
3358
3379
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3359
- var C = S;
3360
- this.locale && (C = Ri(S, this.locale));
3380
+ var O = x;
3381
+ this.locale && (O = Fi(x, this.locale));
3361
3382
  var d = {
3362
3383
  type: Oe.dateTime,
3363
- pattern: C,
3384
+ pattern: O,
3364
3385
  location: l.styleLocation,
3365
- parsedOptions: this.shouldParseSkeletons ? Ai(C) : {}
3366
- }, z = a === "date" ? T.date : T.time;
3386
+ parsedOptions: this.shouldParseSkeletons ? Oi(O) : {}
3387
+ }, z = a === "date" ? P.date : P.time;
3367
3388
  return {
3368
3389
  val: { type: z, value: n, location: g, style: d },
3369
3390
  err: null
@@ -3372,7 +3393,7 @@ var Qi = (
3372
3393
  }
3373
3394
  return {
3374
3395
  val: {
3375
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3396
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3376
3397
  value: n,
3377
3398
  location: g,
3378
3399
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3385,7 +3406,7 @@ var Qi = (
3385
3406
  case "select": {
3386
3407
  var R = this.clonePosition();
3387
3408
  if (this.bumpSpace(), !this.bumpIf(","))
3388
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, E({}, R)));
3409
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, ct({}, R)));
3389
3410
  this.bumpSpace();
3390
3411
  var U = this.parseIdentifierIfPossible(), A = 0;
3391
3412
  if (a !== "select" && U.value === "offset") {
@@ -3406,17 +3427,17 @@ var Qi = (
3406
3427
  var H = w(i, this.clonePosition());
3407
3428
  return a === "select" ? {
3408
3429
  val: {
3409
- type: T.select,
3430
+ type: P.select,
3410
3431
  value: n,
3411
- options: pr(ne.val),
3432
+ options: br(ne.val),
3412
3433
  location: H
3413
3434
  },
3414
3435
  err: null
3415
3436
  } : {
3416
3437
  val: {
3417
- type: T.plural,
3438
+ type: P.plural,
3418
3439
  value: n,
3419
- options: pr(ne.val),
3440
+ options: br(ne.val),
3420
3441
  offset: A,
3421
3442
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3422
3443
  location: H
@@ -3467,7 +3488,7 @@ var Qi = (
3467
3488
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3468
3489
  var n = [];
3469
3490
  try {
3470
- n = Ci(t);
3491
+ n = Li(t);
3471
3492
  } catch (i) {
3472
3493
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3473
3494
  }
@@ -3476,7 +3497,7 @@ var Qi = (
3476
3497
  type: Oe.number,
3477
3498
  tokens: n,
3478
3499
  location: r,
3479
- parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
3500
+ parsedOptions: this.shouldParseSkeletons ? Ui(n) : {}
3480
3501
  },
3481
3502
  err: null
3482
3503
  };
@@ -3524,7 +3545,7 @@ var Qi = (
3524
3545
  break;
3525
3546
  }
3526
3547
  var u = w(i, this.clonePosition());
3527
- return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3548
+ return o ? (s *= n, qi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3528
3549
  }, e.prototype.offset = function() {
3529
3550
  return this.position.offset;
3530
3551
  }, e.prototype.isEOF = function() {
@@ -3539,7 +3560,7 @@ var Qi = (
3539
3560
  var t = this.position.offset;
3540
3561
  if (t >= this.message.length)
3541
3562
  throw Error("out of bound");
3542
- var r = en(this.message, t);
3563
+ var r = tn(this.message, t);
3543
3564
  if (r === void 0)
3544
3565
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3545
3566
  return r;
@@ -3558,7 +3579,7 @@ var Qi = (
3558
3579
  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);
3559
3580
  }
3560
3581
  }, e.prototype.bumpIf = function(t) {
3561
- if (mr(this.message, t, this.offset())) {
3582
+ if (gr(this.message, t, this.offset())) {
3562
3583
  for (var r = 0; r < t.length; r++)
3563
3584
  this.bump();
3564
3585
  return !0;
@@ -3580,7 +3601,7 @@ var Qi = (
3580
3601
  break;
3581
3602
  }
3582
3603
  }, e.prototype.bumpSpace = function() {
3583
- for (; !this.isEOF() && rn(this.char()); )
3604
+ for (; !this.isEOF() && nn(this.char()); )
3584
3605
  this.bump();
3585
3606
  }, e.prototype.peek = function() {
3586
3607
  if (this.isEOF())
@@ -3590,47 +3611,47 @@ var Qi = (
3590
3611
  }, e;
3591
3612
  }()
3592
3613
  );
3593
- function Ft(e) {
3614
+ function Gt(e) {
3594
3615
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3595
3616
  }
3596
- function Yi(e) {
3597
- return Ft(e) || e === 47;
3617
+ function eo(e) {
3618
+ return Gt(e) || e === 47;
3598
3619
  }
3599
- function Ki(e) {
3620
+ function to(e) {
3600
3621
  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;
3601
3622
  }
3602
- function rn(e) {
3623
+ function nn(e) {
3603
3624
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3604
3625
  }
3605
- function eo(e) {
3626
+ function ro(e) {
3606
3627
  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;
3607
3628
  }
3608
- function Dt(e) {
3629
+ function jt(e) {
3609
3630
  e.forEach(function(t) {
3610
- if (delete t.location, Xr(t) || Wr(t))
3631
+ if (delete t.location, Wr(t) || Zr(t))
3611
3632
  for (var r in t.options)
3612
- delete t.options[r].location, Dt(t.options[r].value);
3633
+ delete t.options[r].location, jt(t.options[r].value);
3613
3634
  else
3614
- jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
3635
+ Vr(t) && Jr(t.style) || (zr(t) || Xr(t)) && Ft(t.style) ? delete t.style.location : qr(t) && jt(t.children);
3615
3636
  });
3616
3637
  }
3617
- function to(e, t) {
3618
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3619
- var r = new Qi(e, t).parse();
3638
+ function no(e, t) {
3639
+ t === void 0 && (t = {}), t = ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3640
+ var r = new Ki(e, t).parse();
3620
3641
  if (r.err) {
3621
3642
  var n = SyntaxError(_[r.err.kind]);
3622
3643
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3623
3644
  }
3624
- return t != null && t.captureLocation || Dt(r.val), r.val;
3645
+ return t != null && t.captureLocation || jt(r.val), r.val;
3625
3646
  }
3626
- var Le;
3647
+ var Ce;
3627
3648
  (function(e) {
3628
3649
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3629
- })(Le || (Le = {}));
3630
- var mt = (
3650
+ })(Ce || (Ce = {}));
3651
+ var gt = (
3631
3652
  /** @class */
3632
3653
  function(e) {
3633
- le(t, e);
3654
+ pt(t, e);
3634
3655
  function t(r, n, i) {
3635
3656
  var o = e.call(this, r) || this;
3636
3657
  return o.code = n, o.originalMessage = i, o;
@@ -3639,48 +3660,48 @@ var mt = (
3639
3660
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3640
3661
  }, t;
3641
3662
  }(Error)
3642
- ), br = (
3663
+ ), yr = (
3643
3664
  /** @class */
3644
3665
  function(e) {
3645
- le(t, e);
3666
+ pt(t, e);
3646
3667
  function t(r, n, i, o) {
3647
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3668
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
3648
3669
  }
3649
3670
  return t;
3650
- }(mt)
3651
- ), ro = (
3671
+ }(gt)
3672
+ ), io = (
3652
3673
  /** @class */
3653
3674
  function(e) {
3654
- le(t, e);
3675
+ pt(t, e);
3655
3676
  function t(r, n, i) {
3656
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
3677
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3657
3678
  }
3658
3679
  return t;
3659
- }(mt)
3660
- ), no = (
3680
+ }(gt)
3681
+ ), oo = (
3661
3682
  /** @class */
3662
3683
  function(e) {
3663
- le(t, e);
3684
+ pt(t, e);
3664
3685
  function t(r, n) {
3665
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
3686
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3666
3687
  }
3667
3688
  return t;
3668
- }(mt)
3689
+ }(gt)
3669
3690
  ), V;
3670
3691
  (function(e) {
3671
3692
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3672
3693
  })(V || (V = {}));
3673
- function io(e) {
3694
+ function so(e) {
3674
3695
  return e.length < 2 ? e : e.reduce(function(t, r) {
3675
3696
  var n = t[t.length - 1];
3676
3697
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3677
3698
  }, []);
3678
3699
  }
3679
- function oo(e) {
3700
+ function ao(e) {
3680
3701
  return typeof e == "function";
3681
3702
  }
3682
3703
  function at(e, t, r, n, i, o, s) {
3683
- if (e.length === 1 && cr(e[0]))
3704
+ if (e.length === 1 && fr(e[0]))
3684
3705
  return [
3685
3706
  {
3686
3707
  type: V.literal,
@@ -3689,14 +3710,14 @@ function at(e, t, r, n, i, o, s) {
3689
3710
  ];
3690
3711
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3691
3712
  var c = l[u];
3692
- if (cr(c)) {
3713
+ if (fr(c)) {
3693
3714
  a.push({
3694
3715
  type: V.literal,
3695
3716
  value: c.value
3696
3717
  });
3697
3718
  continue;
3698
3719
  }
3699
- if (Hi(c)) {
3720
+ if (Ai(c)) {
3700
3721
  typeof o == "number" && a.push({
3701
3722
  type: V.literal,
3702
3723
  value: r.getNumberFormat(t).format(o)
@@ -3705,44 +3726,44 @@ function at(e, t, r, n, i, o, s) {
3705
3726
  }
3706
3727
  var f = c.value;
3707
3728
  if (!(i && f in i))
3708
- throw new no(f, s);
3729
+ throw new oo(f, s);
3709
3730
  var d = i[f];
3710
- if (Ti(c)) {
3731
+ if (Bi(c)) {
3711
3732
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3712
3733
  type: typeof d == "string" ? V.literal : V.object,
3713
3734
  value: d
3714
3735
  });
3715
3736
  continue;
3716
3737
  }
3717
- if (Vr(c)) {
3718
- var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
3738
+ if (zr(c)) {
3739
+ var b = typeof c.style == "string" ? n.date[c.style] : Ft(c.style) ? c.style.parsedOptions : void 0;
3719
3740
  a.push({
3720
3741
  type: V.literal,
3721
3742
  value: r.getDateTimeFormat(t, b).format(d)
3722
3743
  });
3723
3744
  continue;
3724
3745
  }
3725
- if (zr(c)) {
3726
- var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
3746
+ if (Xr(c)) {
3747
+ var b = typeof c.style == "string" ? n.time[c.style] : Ft(c.style) ? c.style.parsedOptions : n.time.medium;
3727
3748
  a.push({
3728
3749
  type: V.literal,
3729
3750
  value: r.getDateTimeFormat(t, b).format(d)
3730
3751
  });
3731
3752
  continue;
3732
3753
  }
3733
- if (jr(c)) {
3734
- var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
3754
+ if (Vr(c)) {
3755
+ var b = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
3735
3756
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3736
3757
  type: V.literal,
3737
3758
  value: r.getNumberFormat(t, b).format(d)
3738
3759
  });
3739
3760
  continue;
3740
3761
  }
3741
- if (Zr(c)) {
3742
- var y = c.children, g = c.value, S = i[g];
3743
- if (!oo(S))
3744
- throw new ro(g, "function", s);
3745
- var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3762
+ if (qr(c)) {
3763
+ var y = c.children, g = c.value, x = i[g];
3764
+ if (!ao(x))
3765
+ throw new io(g, "function", s);
3766
+ var O = at(y, t, r, n, i, o), z = x(O.map(function(A) {
3746
3767
  return A.value;
3747
3768
  }));
3748
3769
  Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
@@ -3752,42 +3773,42 @@ function at(e, t, r, n, i, o, s) {
3752
3773
  };
3753
3774
  }));
3754
3775
  }
3755
- if (Xr(c)) {
3776
+ if (Wr(c)) {
3756
3777
  var R = c.options[d] || c.options.other;
3757
3778
  if (!R)
3758
- throw new br(c.value, d, Object.keys(c.options), s);
3779
+ throw new yr(c.value, d, Object.keys(c.options), s);
3759
3780
  a.push.apply(a, at(R.value, t, r, n, i));
3760
3781
  continue;
3761
3782
  }
3762
- if (Wr(c)) {
3783
+ if (Zr(c)) {
3763
3784
  var R = c.options["=".concat(d)];
3764
3785
  if (!R) {
3765
3786
  if (!Intl.PluralRules)
3766
- throw new mt(`Intl.PluralRules is not available in this environment.
3787
+ throw new gt(`Intl.PluralRules is not available in this environment.
3767
3788
  Try polyfilling it using "@formatjs/intl-pluralrules"
3768
- `, Le.MISSING_INTL_API, s);
3789
+ `, Ce.MISSING_INTL_API, s);
3769
3790
  var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3770
3791
  R = c.options[U] || c.options.other;
3771
3792
  }
3772
3793
  if (!R)
3773
- throw new br(c.value, d, Object.keys(c.options), s);
3794
+ throw new yr(c.value, d, Object.keys(c.options), s);
3774
3795
  a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
3775
3796
  continue;
3776
3797
  }
3777
3798
  }
3778
- return io(a);
3799
+ return so(a);
3779
3800
  }
3780
- function so(e, t) {
3781
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3782
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3801
+ function lo(e, t) {
3802
+ return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3803
+ return r[n] = oe(oe({}, e[n]), t[n] || {}), r;
3783
3804
  }, {})) : e;
3784
3805
  }
3785
- function ao(e, t) {
3806
+ function uo(e, t) {
3786
3807
  return t ? Object.keys(e).reduce(function(r, n) {
3787
- return r[n] = so(e[n], t[n]), r;
3788
- }, E({}, e)) : e;
3808
+ return r[n] = lo(e[n], t[n]), r;
3809
+ }, oe({}, e)) : e;
3789
3810
  }
3790
- function Pt(e) {
3811
+ function Ht(e) {
3791
3812
  return {
3792
3813
  create: function() {
3793
3814
  return {
@@ -3801,39 +3822,39 @@ function Pt(e) {
3801
3822
  }
3802
3823
  };
3803
3824
  }
3804
- function lo(e) {
3825
+ function co(e) {
3805
3826
  return e === void 0 && (e = {
3806
3827
  number: {},
3807
3828
  dateTime: {},
3808
3829
  pluralRules: {}
3809
3830
  }), {
3810
- getNumberFormat: Et(function() {
3831
+ getNumberFormat: St(function() {
3811
3832
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3833
  r[n] = arguments[n];
3813
- return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3834
+ return new ((t = Intl.NumberFormat).bind.apply(t, xt([void 0], r, !1)))();
3814
3835
  }, {
3815
- cache: Pt(e.number),
3816
- strategy: xt.variadic
3836
+ cache: Ht(e.number),
3837
+ strategy: Pt.variadic
3817
3838
  }),
3818
- getDateTimeFormat: Et(function() {
3839
+ getDateTimeFormat: St(function() {
3819
3840
  for (var t, r = [], n = 0; n < arguments.length; n++)
3820
3841
  r[n] = arguments[n];
3821
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3842
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, xt([void 0], r, !1)))();
3822
3843
  }, {
3823
- cache: Pt(e.dateTime),
3824
- strategy: xt.variadic
3844
+ cache: Ht(e.dateTime),
3845
+ strategy: Pt.variadic
3825
3846
  }),
3826
- getPluralRules: Et(function() {
3847
+ getPluralRules: St(function() {
3827
3848
  for (var t, r = [], n = 0; n < arguments.length; n++)
3828
3849
  r[n] = arguments[n];
3829
- return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3850
+ return new ((t = Intl.PluralRules).bind.apply(t, xt([void 0], r, !1)))();
3830
3851
  }, {
3831
- cache: Pt(e.pluralRules),
3832
- strategy: xt.variadic
3852
+ cache: Ht(e.pluralRules),
3853
+ strategy: Pt.variadic
3833
3854
  })
3834
3855
  };
3835
3856
  }
3836
- var uo = (
3857
+ var ho = (
3837
3858
  /** @class */
3838
3859
  function() {
3839
3860
  function e(t, r, n, i) {
@@ -3865,13 +3886,13 @@ var uo = (
3865
3886
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3866
3887
  var s = i || {};
3867
3888
  s.formatters;
3868
- var a = $n(s, ["formatters"]);
3869
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3889
+ var a = _i(s, ["formatters"]);
3890
+ this.ast = e.__parse(t, oe(oe({}, a), { locale: this.resolvedLocale }));
3870
3891
  } else
3871
3892
  this.ast = t;
3872
3893
  if (!Array.isArray(this.ast))
3873
3894
  throw new TypeError("A message must be provided as a String or AST.");
3874
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3895
+ this.formats = uo(e.formats, n), this.formatters = i && i.formatters || co(this.formatterCache);
3875
3896
  }
3876
3897
  return Object.defineProperty(e, "defaultLocale", {
3877
3898
  get: function() {
@@ -3884,7 +3905,7 @@ var uo = (
3884
3905
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3885
3906
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3886
3907
  }
3887
- }, e.__parse = to, e.formats = {
3908
+ }, e.__parse = no, e.formats = {
3888
3909
  number: {
3889
3910
  integer: {
3890
3911
  maximumFractionDigits: 0
@@ -3945,7 +3966,7 @@ var uo = (
3945
3966
  }, e;
3946
3967
  }()
3947
3968
  );
3948
- function co(e, t) {
3969
+ function fo(e, t) {
3949
3970
  if (t == null)
3950
3971
  return;
3951
3972
  if (t in e)
@@ -3966,92 +3987,92 @@ function co(e, t) {
3966
3987
  n = void 0;
3967
3988
  return n;
3968
3989
  }
3969
- const ce = {}, ho = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), nn = (e, t) => {
3990
+ const ce = {}, mo = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), on = (e, t) => {
3970
3991
  if (t == null)
3971
3992
  return;
3972
3993
  if (t in ce && e in ce[t])
3973
3994
  return ce[t][e];
3974
- const r = pt(t);
3995
+ const r = bt(t);
3975
3996
  for (let n = 0; n < r.length; n++) {
3976
- const i = r[n], o = mo(i, e);
3997
+ const i = r[n], o = go(i, e);
3977
3998
  if (o)
3978
- return ho(e, t, o);
3999
+ return mo(e, t, o);
3979
4000
  }
3980
4001
  };
3981
- let zt;
3982
- const Ue = dt({});
3983
- function fo(e) {
3984
- return zt[e] || null;
4002
+ let Wt;
4003
+ const Re = mt({});
4004
+ function po(e) {
4005
+ return Wt[e] || null;
3985
4006
  }
3986
- function on(e) {
3987
- return e in zt;
4007
+ function sn(e) {
4008
+ return e in Wt;
3988
4009
  }
3989
- function mo(e, t) {
3990
- if (!on(e))
4010
+ function go(e, t) {
4011
+ if (!sn(e))
3991
4012
  return null;
3992
- const r = fo(e);
3993
- return co(r, t);
4013
+ const r = po(e);
4014
+ return fo(r, t);
3994
4015
  }
3995
- function po(e) {
4016
+ function bo(e) {
3996
4017
  if (e == null)
3997
4018
  return;
3998
- const t = pt(e);
4019
+ const t = bt(e);
3999
4020
  for (let r = 0; r < t.length; r++) {
4000
4021
  const n = t[r];
4001
- if (on(n))
4022
+ if (sn(n))
4002
4023
  return n;
4003
4024
  }
4004
4025
  }
4005
- function sn(e, ...t) {
4006
- delete ce[e], Ue.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
4026
+ function an(e, ...t) {
4027
+ delete ce[e], Re.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
4007
4028
  }
4008
- Re(
4009
- [Ue],
4029
+ Ne(
4030
+ [Re],
4010
4031
  ([e]) => Object.keys(e)
4011
4032
  );
4012
- Ue.subscribe((e) => zt = e);
4033
+ Re.subscribe((e) => Wt = e);
4013
4034
  const lt = {};
4014
- function go(e, t) {
4035
+ function vo(e, t) {
4015
4036
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
4016
4037
  }
4017
- function an(e) {
4038
+ function ln(e) {
4018
4039
  return lt[e];
4019
4040
  }
4020
- function bo(e) {
4021
- return pt(e).map((t) => {
4022
- const r = an(t);
4041
+ function yo(e) {
4042
+ return bt(e).map((t) => {
4043
+ const r = ln(t);
4023
4044
  return [t, r ? [...r] : []];
4024
4045
  }).filter(([, t]) => t.length > 0);
4025
4046
  }
4026
- function kt(e) {
4027
- return e == null ? !1 : pt(e).some(
4047
+ function Vt(e) {
4048
+ return e == null ? !1 : bt(e).some(
4028
4049
  (t) => {
4029
4050
  var r;
4030
- return (r = an(t)) == null ? void 0 : r.size;
4051
+ return (r = ln(t)) == null ? void 0 : r.size;
4031
4052
  }
4032
4053
  );
4033
4054
  }
4034
- function vo(e, t) {
4055
+ function _o(e, t) {
4035
4056
  return Promise.all(
4036
- t.map((n) => (go(e, n), n().then((i) => i.default || i)))
4037
- ).then((n) => sn(e, ...n));
4038
- }
4039
- const Ve = {};
4040
- function ln(e) {
4041
- if (!kt(e))
4042
- return e in Ve ? Ve[e] : Promise.resolve();
4043
- const t = bo(e);
4044
- return Ve[e] = Promise.all(
4057
+ t.map((n) => (vo(e, n), n().then((i) => i.default || i)))
4058
+ ).then((n) => an(e, ...n));
4059
+ }
4060
+ const je = {};
4061
+ function un(e) {
4062
+ if (!Vt(e))
4063
+ return e in je ? je[e] : Promise.resolve();
4064
+ const t = yo(e);
4065
+ return je[e] = Promise.all(
4045
4066
  t.map(
4046
- ([r, n]) => vo(r, n)
4067
+ ([r, n]) => _o(r, n)
4047
4068
  )
4048
4069
  ).then(() => {
4049
- if (kt(e))
4050
- return ln(e);
4051
- delete Ve[e];
4052
- }), Ve[e];
4070
+ if (Vt(e))
4071
+ return un(e);
4072
+ delete je[e];
4073
+ }), je[e];
4053
4074
  }
4054
- const yo = {
4075
+ const wo = {
4055
4076
  number: {
4056
4077
  scientific: { notation: "scientific" },
4057
4078
  engineering: { notation: "engineering" },
@@ -4080,135 +4101,135 @@ const yo = {
4080
4101
  timeZoneName: "short"
4081
4102
  }
4082
4103
  }
4083
- }, _o = {
4104
+ }, Eo = {
4084
4105
  fallbackLocale: null,
4085
4106
  loadingDelay: 200,
4086
- formats: yo,
4107
+ formats: wo,
4087
4108
  warnOnMissingMessages: !0,
4088
4109
  handleMissingMessage: void 0,
4089
4110
  ignoreTag: !0
4090
- }, wo = _o;
4091
- function Me() {
4092
- return wo;
4111
+ }, xo = Eo;
4112
+ function Le() {
4113
+ return xo;
4093
4114
  }
4094
- const Tt = dt(!1);
4095
- var Eo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
4115
+ const Bt = mt(!1);
4116
+ var So = Object.defineProperty, Po = Object.defineProperties, To = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, Ho = Object.prototype.hasOwnProperty, Bo = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
4096
4117
  for (var r in t || (t = {}))
4097
- Po.call(t, r) && yr(e, r, t[r]);
4098
- if (vr)
4099
- for (var r of vr(t))
4100
- To.call(t, r) && yr(e, r, t[r]);
4118
+ Ho.call(t, r) && wr(e, r, t[r]);
4119
+ if (_r)
4120
+ for (var r of _r(t))
4121
+ Bo.call(t, r) && wr(e, r, t[r]);
4101
4122
  return e;
4102
- }, Bo = (e, t) => xo(e, So(t));
4103
- let Gt;
4104
- const ct = dt(null);
4105
- function _r(e) {
4123
+ }, Io = (e, t) => Po(e, To(t));
4124
+ let zt;
4125
+ const ht = mt(null);
4126
+ function Er(e) {
4106
4127
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4107
4128
  }
4108
- function pt(e, t = Me().fallbackLocale) {
4109
- const r = _r(e);
4110
- return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
4129
+ function bt(e, t = Le().fallbackLocale) {
4130
+ const r = Er(e);
4131
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Er(t)])] : r;
4111
4132
  }
4112
4133
  function ye() {
4113
- return Gt != null ? Gt : void 0;
4134
+ return zt != null ? zt : void 0;
4114
4135
  }
4115
- ct.subscribe((e) => {
4116
- Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4136
+ ht.subscribe((e) => {
4137
+ zt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4117
4138
  });
4118
- const Ao = (e) => {
4119
- if (e && po(e) && kt(e)) {
4120
- const { loadingDelay: t } = Me();
4139
+ const Oo = (e) => {
4140
+ if (e && bo(e) && Vt(e)) {
4141
+ const { loadingDelay: t } = Le();
4121
4142
  let r;
4122
4143
  return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
4123
- () => Tt.set(!0),
4144
+ () => Bt.set(!0),
4124
4145
  t
4125
- ) : Tt.set(!0), ln(e).then(() => {
4126
- ct.set(e);
4146
+ ) : Bt.set(!0), un(e).then(() => {
4147
+ ht.set(e);
4127
4148
  }).finally(() => {
4128
- clearTimeout(r), Tt.set(!1);
4149
+ clearTimeout(r), Bt.set(!1);
4129
4150
  });
4130
4151
  }
4131
- return ct.set(e);
4132
- }, he = Bo(Ho({}, ct), {
4133
- set: Ao
4134
- }), gt = (e) => {
4152
+ return ht.set(e);
4153
+ }, he = Io(Ao({}, ht), {
4154
+ set: Oo
4155
+ }), vt = (e) => {
4135
4156
  const t = /* @__PURE__ */ Object.create(null);
4136
4157
  return (n) => {
4137
4158
  const i = JSON.stringify(n);
4138
4159
  return i in t ? t[i] : t[i] = e(n);
4139
4160
  };
4140
4161
  };
4141
- var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4162
+ var Co = Object.defineProperty, ft = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, xr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
4142
4163
  for (var r in t || (t = {}))
4143
- un.call(t, r) && wr(e, r, t[r]);
4144
- if (ht)
4145
- for (var r of ht(t))
4146
- cn.call(t, r) && wr(e, r, t[r]);
4164
+ cn.call(t, r) && xr(e, r, t[r]);
4165
+ if (ft)
4166
+ for (var r of ft(t))
4167
+ hn.call(t, r) && xr(e, r, t[r]);
4147
4168
  return e;
4148
- }, Fe = (e, t) => {
4169
+ }, Ue = (e, t) => {
4149
4170
  var r = {};
4150
4171
  for (var n in e)
4151
- un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4152
- if (e != null && ht)
4153
- for (var n of ht(e))
4154
- t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
4172
+ cn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4173
+ if (e != null && ft)
4174
+ for (var n of ft(e))
4175
+ t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4155
4176
  return r;
4156
4177
  };
4157
- const Ze = (e, t) => {
4158
- const { formats: r } = Me();
4178
+ const We = (e, t) => {
4179
+ const { formats: r } = Le();
4159
4180
  if (e in r && t in r[e])
4160
4181
  return r[e][t];
4161
4182
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4162
- }, Co = gt(
4183
+ }, Lo = vt(
4163
4184
  (e) => {
4164
- var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4185
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4165
4186
  if (r == null)
4166
4187
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4167
- return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4188
+ return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4168
4189
  }
4169
- ), Oo = gt(
4190
+ ), Mo = vt(
4170
4191
  (e) => {
4171
- var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4192
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4172
4193
  if (r == null)
4173
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4174
- return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4175
4196
  }
4176
- ), Lo = gt(
4197
+ ), No = vt(
4177
4198
  (e) => {
4178
- var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4179
4200
  if (r == null)
4180
4201
  throw new Error(
4181
4202
  '[svelte-i18n] A "locale" must be set to format time values'
4182
4203
  );
4183
- return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4184
4205
  }
4185
- ), Mo = (e = {}) => {
4206
+ ), Ro = (e = {}) => {
4186
4207
  var t = e, {
4187
4208
  locale: r = ye()
4188
- } = t, n = Fe(t, [
4209
+ } = t, n = Ue(t, [
4189
4210
  "locale"
4190
4211
  ]);
4191
- return Co(Xt({ locale: r }, n));
4192
- }, No = (e = {}) => {
4212
+ return Lo(Zt({ locale: r }, n));
4213
+ }, Uo = (e = {}) => {
4193
4214
  var t = e, {
4194
4215
  locale: r = ye()
4195
- } = t, n = Fe(t, [
4216
+ } = t, n = Ue(t, [
4196
4217
  "locale"
4197
4218
  ]);
4198
- return Oo(Xt({ locale: r }, n));
4199
- }, Ro = (e = {}) => {
4219
+ return Mo(Zt({ locale: r }, n));
4220
+ }, Fo = (e = {}) => {
4200
4221
  var t = e, {
4201
4222
  locale: r = ye()
4202
- } = t, n = Fe(t, [
4223
+ } = t, n = Ue(t, [
4203
4224
  "locale"
4204
4225
  ]);
4205
- return Lo(Xt({ locale: r }, n));
4206
- }, Uo = gt(
4226
+ return No(Zt({ locale: r }, n));
4227
+ }, Do = vt(
4207
4228
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4208
- (e, t = ye()) => new uo(e, t, Me().formats, {
4209
- ignoreTag: Me().ignoreTag
4229
+ (e, t = ye()) => new ho(e, t, Le().formats, {
4230
+ ignoreTag: Le().ignoreTag
4210
4231
  })
4211
- ), Fo = (e, t = {}) => {
4232
+ ), ko = (e, t = {}) => {
4212
4233
  var r, n, i, o;
4213
4234
  let s = t;
4214
4235
  typeof e == "object" && (s = e, e = s.id);
@@ -4221,9 +4242,9 @@ const Ze = (e, t) => {
4221
4242
  throw new Error(
4222
4243
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4223
4244
  );
4224
- let c = nn(e, u);
4245
+ let c = on(e, u);
4225
4246
  if (!c)
4226
- c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4247
+ c = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4227
4248
  else if (typeof c != "string")
4228
4249
  return console.warn(
4229
4250
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4232,7 +4253,7 @@ const Ze = (e, t) => {
4232
4253
  return c;
4233
4254
  let f = c;
4234
4255
  try {
4235
- f = Uo(c, u).format(a);
4256
+ f = Do(c, u).format(a);
4236
4257
  } catch (d) {
4237
4258
  d instanceof Error && console.warn(
4238
4259
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4240,25 +4261,25 @@ const Ze = (e, t) => {
4240
4261
  );
4241
4262
  }
4242
4263
  return f;
4243
- }, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Go = (e, t) => Mo(t).format(e), $o = (e, t = ye()) => nn(e, t), jo = Re([he, Ue], () => Fo);
4244
- Re([he], () => Do);
4245
- Re([he], () => ko);
4246
- Re([he], () => Go);
4247
- Re([he, Ue], () => $o);
4264
+ }, $o = (e, t) => Fo(t).format(e), Go = (e, t) => Uo(t).format(e), jo = (e, t) => Ro(t).format(e), Vo = (e, t = ye()) => on(e, t), zo = Ne([he, Re], () => ko);
4265
+ Ne([he], () => $o);
4266
+ Ne([he], () => Go);
4267
+ Ne([he], () => jo);
4268
+ Ne([he, Re], () => Vo);
4248
4269
  window.emWidgets = { topic: ri };
4249
- const Vo = (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));
4250
- function zo({ withLocale: e, translations: t }) {
4270
+ const Xo = (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));
4271
+ function Wo({ withLocale: e, translations: t }) {
4251
4272
  he.subscribe((r) => {
4252
- r == null && (Ue.set(t), he.set(e));
4273
+ r == null && (Re.set(t), he.set(e));
4253
4274
  });
4254
4275
  }
4255
- function Er(e, t) {
4256
- sn(e, t);
4276
+ function Sr(e, t) {
4277
+ an(e, t);
4257
4278
  }
4258
- function Xo(e) {
4279
+ function Zo(e) {
4259
4280
  he.set(e);
4260
4281
  }
4261
- const xr = {
4282
+ const Pr = {
4262
4283
  en: {
4263
4284
  loginTitle: "Welcome",
4264
4285
  loginSubtitle: "Don't have an account yet?",
@@ -4403,13 +4424,13 @@ const xr = {
4403
4424
  successMessage: "Login successful"
4404
4425
  }
4405
4426
  };
4406
- function Wo(e, t) {
4427
+ function qo(e, t) {
4407
4428
  if (e) {
4408
4429
  const r = document.createElement("style");
4409
4430
  r.innerHTML = t, e.appendChild(r);
4410
4431
  }
4411
4432
  }
4412
- function Zo(e, t) {
4433
+ function Jo(e, t) {
4413
4434
  const r = new URL(t);
4414
4435
  fetch(r.href).then((n) => n.text()).then((n) => {
4415
4436
  const i = document.createElement("style");
@@ -4418,7 +4439,7 @@ function Zo(e, t) {
4418
4439
  console.error("There was an error while trying to load client styling from URL", n);
4419
4440
  });
4420
4441
  }
4421
- function qo(e, t, r) {
4442
+ function Qo(e, t, r) {
4422
4443
  if (window.emMessageBus) {
4423
4444
  const n = document.createElement("style");
4424
4445
  window.emMessageBus.subscribe(t, (i) => {
@@ -4438,18 +4459,18 @@ if (typeof window != "undefined") {
4438
4459
  }
4439
4460
  };
4440
4461
  };
4441
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-De0U_8Hy.js").then(({ default: t }) => {
4462
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BKWeCfRG.js").then(({ default: t }) => {
4442
4463
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4443
4464
  });
4444
4465
  }
4445
- function Jo(e) {
4446
- wn(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)}}');
4466
+ function Yo(e) {
4467
+ En(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)}}');
4447
4468
  }
4448
- function Sr(e) {
4469
+ function Tr(e) {
4449
4470
  let t, r;
4450
4471
  return {
4451
4472
  c() {
4452
- t = x("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4473
+ t = E("script"), rr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4453
4474
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4454
4475
  },
4455
4476
  m(n, i) {
@@ -4457,7 +4478,7 @@ function Sr(e) {
4457
4478
  },
4458
4479
  p(n, i) {
4459
4480
  i[0] & /*captchakey*/
4460
- 2 && !er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4481
+ 2 && !rr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4461
4482
  n[1]) && h(t, "src", r);
4462
4483
  },
4463
4484
  d(n) {
@@ -4465,18 +4486,18 @@ function Sr(e) {
4465
4486
  }
4466
4487
  };
4467
4488
  }
4468
- function Qo(e) {
4489
+ function Ko(e) {
4469
4490
  let t, r, n;
4470
4491
  function i(a, u) {
4471
4492
  return (
4472
4493
  /*startSmsValidation*/
4473
- a[21] ? es : Ko
4494
+ a[21] ? rs : ts
4474
4495
  );
4475
4496
  }
4476
4497
  let o = i(e), s = o(e);
4477
4498
  return {
4478
4499
  c() {
4479
- t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4500
+ t = E("div"), r = E("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4480
4501
  (e[11] ? "FormMobileContainer" : ""));
4481
4502
  },
4482
4503
  m(a, u) {
@@ -4492,11 +4513,11 @@ function Qo(e) {
4492
4513
  }
4493
4514
  };
4494
4515
  }
4495
- function Yo(e) {
4516
+ function es(e) {
4496
4517
  let t;
4497
4518
  return {
4498
4519
  c() {
4499
- t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4520
+ t = E("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4500
4521
  },
4501
4522
  m(r, n) {
4502
4523
  L(r, t, n);
@@ -4507,7 +4528,7 @@ function Yo(e) {
4507
4528
  }
4508
4529
  };
4509
4530
  }
4510
- function Ko(e) {
4531
+ function ts(e) {
4511
4532
  let t, r, n = (
4512
4533
  /*$_*/
4513
4534
  e[22]("loginTitle") + ""
@@ -4517,96 +4538,96 @@ function Ko(e) {
4517
4538
  ), u, l, c, f = (
4518
4539
  /*$_*/
4519
4540
  e[22]("loginSubtitleRegister") + ""
4520
- ), d, b, y, g, S, C, z = (
4541
+ ), d, b, y, g, x, O, z = (
4521
4542
  /*$_*/
4522
4543
  e[22]("loginUsername") + ""
4523
- ), R, U, A, ne, H, oe, fe, J, ue, B, ie, X = (
4544
+ ), R, U, A, ne, H, se, fe, J, ue, B, ie, X = (
4524
4545
  /*$_*/
4525
4546
  e[22]("loginPassword") + ""
4526
- ), De, qe, de, me, M, _e, Je, we, Ee, pe, ke, xe, Q, ge = (
4547
+ ), Fe, qe, de, me, M, _e, Je, we, Ee, pe, De, xe, Q, ge = (
4527
4548
  /*$_*/
4528
4549
  e[22]("loginButton") + ""
4529
4550
  ), Se, Qe, be, ve = (
4530
4551
  /*$_*/
4531
4552
  e[22]("loginForgotPassword") + ""
4532
- ), Ge, $e, Ye, F = (
4553
+ ), ke, $e, Ye, F = (
4533
4554
  /*invalidName*/
4534
- e[14] && Pr(e)
4555
+ e[14] && Hr(e)
4535
4556
  );
4536
- function Ke(v, P) {
4557
+ function Ke(v, S) {
4537
4558
  return (
4538
4559
  /*isPasswordVisible*/
4539
- v[19] ? rs : ts
4560
+ v[19] ? is : ns
4540
4561
  );
4541
4562
  }
4542
4563
  let Pe = Ke(e), Y = Pe(e), D = (
4543
4564
  /*invalidPassword*/
4544
4565
  e[15] && /*simplepasswordvalidation*/
4545
- e[2] !== "true" && Tr(e)
4566
+ e[2] !== "true" && Br(e)
4546
4567
  ), k = (
4547
4568
  /*invalidPassword*/
4548
4569
  e[15] && /*simplepasswordvalidation*/
4549
- e[2] === "true" && Hr(e)
4550
- ), G = (
4570
+ e[2] === "true" && Ar(e)
4571
+ ), $ = (
4551
4572
  /*errorMessage*/
4552
- e[16] && Br(e)
4573
+ e[16] && Ir(e)
4553
4574
  );
4554
4575
  return {
4555
4576
  c() {
4556
- t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = 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 = "*", ne = j(), H = x("input"), fe = j(), F && F.c(), ue = j(), B = x("div"), ie = x("label"), De = N(X), qe = N(":"), de = x("span"), de.textContent = "*", me = j(), M = x("input"), Je = j(), Y.c(), we = j(), D && D.c(), Ee = j(), k && k.c(), ke = j(), G && G.c(), xe = j(), Q = x("button"), Se = N(ge), Qe = j(), be = x("button"), Ge = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "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", oe = /*savecredentials*/
4557
- e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
4577
+ t = E("div"), r = E("h4"), i = N(n), o = j(), s = E("p"), u = N(a), l = j(), c = 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 = "*", ne = j(), H = E("input"), fe = j(), F && F.c(), ue = j(), B = E("div"), ie = E("label"), Fe = N(X), qe = N(":"), de = E("span"), de.textContent = "*", me = j(), M = E("input"), Je = j(), Y.c(), we = j(), D && D.c(), Ee = j(), k && k.c(), De = j(), $ && $.c(), xe = j(), Q = E("button"), Se = N(ge), Qe = j(), be = E("button"), ke = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "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", se = /*savecredentials*/
4578
+ e[6] ? "username email" : "off"), H.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
4558
4579
  (e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", _e = /*savecredentials*/
4559
4580
  e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", pe = "PasswordContainer " + /*invalidPassword*/
4560
4581
  (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4561
4582
  e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4562
4583
  },
4563
- m(v, P) {
4564
- L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, 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, ne), m(S, H), rt(
4584
+ m(v, S) {
4585
+ L(v, t, S), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, 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, ne), m(x, H), rt(
4565
4586
  H,
4566
4587
  /*userValue*/
4567
4588
  e[12]
4568
- ), m(S, fe), F && F.m(S, null), m(g, ue), m(g, B), m(B, ie), m(ie, De), m(ie, qe), m(ie, de), m(B, me), m(B, M), rt(
4589
+ ), m(x, fe), F && F.m(x, null), m(g, ue), m(g, B), m(B, ie), m(ie, Fe), m(ie, qe), m(ie, de), m(B, me), m(B, M), rt(
4569
4590
  M,
4570
4591
  /*userPassword*/
4571
4592
  e[13]
4572
- ), e[36](M), m(B, Je), Y.m(B, null), m(B, we), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g, ke), G && G.m(g, null), m(g, xe), m(g, Q), m(Q, Se), m(g, Qe), m(g, be), m(be, Ge), $e || (Ye = [
4573
- se(
4593
+ ), e[36](M), m(B, Je), Y.m(B, null), m(B, we), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g, De), $ && $.m(g, null), m(g, xe), m(g, Q), m(Q, Se), m(g, Qe), m(g, be), m(be, ke), $e || (Ye = [
4594
+ ae(
4574
4595
  c,
4575
4596
  "click",
4576
4597
  /*click_handler*/
4577
4598
  e[33]
4578
4599
  ),
4579
- se(
4600
+ ae(
4580
4601
  H,
4581
4602
  "input",
4582
4603
  /*input0_input_handler*/
4583
4604
  e[34]
4584
4605
  ),
4585
- se(
4606
+ ae(
4586
4607
  H,
4587
4608
  "input",
4588
4609
  /*validateUserName*/
4589
4610
  e[28]
4590
4611
  ),
4591
- se(
4612
+ ae(
4592
4613
  M,
4593
4614
  "input",
4594
4615
  /*input1_input_handler*/
4595
4616
  e[35]
4596
4617
  ),
4597
- se(
4618
+ ae(
4598
4619
  M,
4599
4620
  "input",
4600
4621
  /*validatePassword*/
4601
4622
  e[29]
4602
4623
  ),
4603
- se(
4624
+ ae(
4604
4625
  Q,
4605
4626
  "click",
4606
4627
  /*click_handler_3*/
4607
4628
  e[39]
4608
4629
  ),
4609
- se(
4630
+ ae(
4610
4631
  be,
4611
4632
  "click",
4612
4633
  /*click_handler_4*/
@@ -4614,61 +4635,61 @@ function Ko(e) {
4614
4635
  )
4615
4636
  ], $e = !0);
4616
4637
  },
4617
- p(v, P) {
4618
- P[0] & /*$_*/
4638
+ p(v, S) {
4639
+ S[0] & /*$_*/
4619
4640
  4194304 && n !== (n = /*$_*/
4620
- v[22]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
4641
+ v[22]("loginTitle") + "") && re(i, n), S[0] & /*$_*/
4621
4642
  4194304 && a !== (a = /*$_*/
4622
- v[22]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
4643
+ v[22]("loginSubtitle") + "") && re(u, a), S[0] & /*$_*/
4623
4644
  4194304 && f !== (f = /*$_*/
4624
- v[22]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
4645
+ v[22]("loginSubtitleRegister") + "") && re(d, f), S[0] & /*$_*/
4625
4646
  4194304 && z !== (z = /*$_*/
4626
- v[22]("loginUsername") + "") && re(R, z), P[0] & /*savecredentials*/
4627
- 64 && oe !== (oe = /*savecredentials*/
4628
- v[6] ? "username email" : "off") && h(H, "autocomplete", oe), P[0] & /*userValue*/
4647
+ v[22]("loginUsername") + "") && re(R, z), S[0] & /*savecredentials*/
4648
+ 64 && se !== (se = /*savecredentials*/
4649
+ v[6] ? "username email" : "off") && h(H, "autocomplete", se), S[0] & /*userValue*/
4629
4650
  4096 && H.value !== /*userValue*/
4630
4651
  v[12] && rt(
4631
4652
  H,
4632
4653
  /*userValue*/
4633
4654
  v[12]
4634
4655
  ), /*invalidName*/
4635
- v[14] ? F ? F.p(v, P) : (F = Pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4656
+ v[14] ? F ? F.p(v, S) : (F = Hr(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4636
4657
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4637
- (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4658
+ (v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
4638
4659
  4194304 && X !== (X = /*$_*/
4639
- v[22]("loginPassword") + "") && re(De, X), P[0] & /*savecredentials*/
4660
+ v[22]("loginPassword") + "") && re(Fe, X), S[0] & /*savecredentials*/
4640
4661
  64 && _e !== (_e = /*savecredentials*/
4641
- v[6] ? "current-password" : "off") && h(M, "autocomplete", _e), P[0] & /*userPassword*/
4662
+ v[6] ? "current-password" : "off") && h(M, "autocomplete", _e), S[0] & /*userPassword*/
4642
4663
  8192 && M.value !== /*userPassword*/
4643
4664
  v[13] && rt(
4644
4665
  M,
4645
4666
  /*userPassword*/
4646
4667
  v[13]
4647
- ), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, we))), /*invalidPassword*/
4668
+ ), Pe === (Pe = Ke(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, we))), /*invalidPassword*/
4648
4669
  v[15] && /*simplepasswordvalidation*/
4649
- v[2] !== "true" ? D ? D.p(v, P) : (D = Tr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4670
+ v[2] !== "true" ? D ? D.p(v, S) : (D = Br(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4650
4671
  v[15] && /*simplepasswordvalidation*/
4651
- v[2] === "true" ? k ? k.p(v, P) : (k = Hr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4672
+ v[2] === "true" ? k ? k.p(v, S) : (k = Ar(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4652
4673
  32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
4653
4674
  (v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
4654
- v[16] ? G ? G.p(v, P) : (G = Br(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
4675
+ v[16] ? $ ? $.p(v, S) : ($ = Ir(v), $.c(), $.m(g, xe)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4655
4676
  4194304 && ge !== (ge = /*$_*/
4656
- v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
4677
+ v[22]("loginButton") + "") && re(Se, ge), S[0] & /*isFormDataInvalid*/
4657
4678
  1048576 && (Q.disabled = /*isFormDataInvalid*/
4658
- v[20]), P[0] & /*$_*/
4679
+ v[20]), S[0] & /*$_*/
4659
4680
  4194304 && ve !== (ve = /*$_*/
4660
- v[22]("loginForgotPassword") + "") && re(Ge, ve);
4681
+ v[22]("loginForgotPassword") + "") && re(ke, ve);
4661
4682
  },
4662
4683
  d(v) {
4663
- v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), $e = !1, Ne(Ye);
4684
+ v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), $e = !1, Me(Ye);
4664
4685
  }
4665
4686
  };
4666
4687
  }
4667
- function es(e) {
4688
+ function rs(e) {
4668
4689
  let t;
4669
4690
  return {
4670
4691
  c() {
4671
- t = x("general-player-sms-verification-form"), W(
4692
+ t = E("general-player-sms-verification-form"), W(
4672
4693
  t,
4673
4694
  "endpoint",
4674
4695
  /*endpoint*/
@@ -4758,14 +4779,14 @@ function es(e) {
4758
4779
  }
4759
4780
  };
4760
4781
  }
4761
- function Pr(e) {
4782
+ function Hr(e) {
4762
4783
  let t, r = (
4763
4784
  /*$_*/
4764
4785
  e[22]("loginUsernameError") + ""
4765
4786
  ), n;
4766
4787
  return {
4767
4788
  c() {
4768
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4789
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4769
4790
  },
4770
4791
  m(i, o) {
4771
4792
  L(i, t, o), m(t, n);
@@ -4780,14 +4801,14 @@ function Pr(e) {
4780
4801
  }
4781
4802
  };
4782
4803
  }
4783
- function ts(e) {
4804
+ function ns(e) {
4784
4805
  let t, r, n, i, o, s, a, u, l;
4785
4806
  return {
4786
4807
  c() {
4787
- 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");
4808
+ 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");
4788
4809
  },
4789
4810
  m(c, f) {
4790
- L(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l = se(
4811
+ L(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l = ae(
4791
4812
  t,
4792
4813
  "click",
4793
4814
  /*click_handler_2*/
@@ -4800,14 +4821,14 @@ function ts(e) {
4800
4821
  }
4801
4822
  };
4802
4823
  }
4803
- function rs(e) {
4824
+ function is(e) {
4804
4825
  let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
4805
4826
  return {
4806
4827
  c() {
4807
- 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"), u = O("path"), l = O("path"), c = 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(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "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(c, "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");
4828
+ 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"), u = C("path"), l = C("path"), c = 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(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "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(c, "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");
4808
4829
  },
4809
- m(S, C) {
4810
- L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = se(
4830
+ m(x, O) {
4831
+ L(x, t, O), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = ae(
4811
4832
  t,
4812
4833
  "click",
4813
4834
  /*click_handler_1*/
@@ -4815,19 +4836,19 @@ function rs(e) {
4815
4836
  ), y = !0);
4816
4837
  },
4817
4838
  p: Z,
4818
- d(S) {
4819
- S && I(t), y = !1, g();
4839
+ d(x) {
4840
+ x && I(t), y = !1, g();
4820
4841
  }
4821
4842
  };
4822
4843
  }
4823
- function Tr(e) {
4844
+ function Br(e) {
4824
4845
  let t, r = (
4825
4846
  /*$_*/
4826
4847
  e[22]("loginPasswordError") + ""
4827
4848
  ), n;
4828
4849
  return {
4829
4850
  c() {
4830
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4851
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4831
4852
  },
4832
4853
  m(i, o) {
4833
4854
  L(i, t, o), m(t, n);
@@ -4842,14 +4863,14 @@ function Tr(e) {
4842
4863
  }
4843
4864
  };
4844
4865
  }
4845
- function Hr(e) {
4866
+ function Ar(e) {
4846
4867
  let t, r = (
4847
4868
  /*$_*/
4848
4869
  e[22]("loginSimplePasswordError") + ""
4849
4870
  ), n;
4850
4871
  return {
4851
4872
  c() {
4852
- t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4873
+ t = E("p"), n = N(r), h(t, "class", "InvalidInput");
4853
4874
  },
4854
4875
  m(i, o) {
4855
4876
  L(i, t, o), m(t, n);
@@ -4864,11 +4885,11 @@ function Hr(e) {
4864
4885
  }
4865
4886
  };
4866
4887
  }
4867
- function Br(e) {
4888
+ function Ir(e) {
4868
4889
  let t, r;
4869
4890
  return {
4870
4891
  c() {
4871
- t = x("p"), r = N(
4892
+ t = E("p"), r = N(
4872
4893
  /*errorMessage*/
4873
4894
  e[16]
4874
4895
  ), h(t, "class", "ErrorMessage");
@@ -4889,21 +4910,21 @@ function Br(e) {
4889
4910
  }
4890
4911
  };
4891
4912
  }
4892
- function ns(e) {
4913
+ function os(e) {
4893
4914
  let t, r, n, i, o, s = (
4894
4915
  /*captchakey*/
4895
- e[1] && Sr(e)
4916
+ e[1] && Tr(e)
4896
4917
  );
4897
4918
  function a(c, f) {
4898
4919
  return (
4899
4920
  /*isLoading*/
4900
- c[17] ? Yo : Qo
4921
+ c[17] ? es : Ko
4901
4922
  );
4902
4923
  }
4903
4924
  let u = a(e), l = u(e);
4904
4925
  return {
4905
4926
  c() {
4906
- s && s.c(), t = Sn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4927
+ s && s.c(), t = Pn(), r = j(), n = E("div"), i = j(), o = E("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4907
4928
  n,
4908
4929
  "data-sitekey",
4909
4930
  /*captchakey*/
@@ -4915,7 +4936,7 @@ function ns(e) {
4915
4936
  },
4916
4937
  p(c, f) {
4917
4938
  /*captchakey*/
4918
- c[1] ? s ? s.p(c, f) : (s = Sr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4939
+ c[1] ? s ? s.p(c, f) : (s = Tr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4919
4940
  2 && h(
4920
4941
  n,
4921
4942
  "data-sitekey",
@@ -4930,27 +4951,27 @@ function ns(e) {
4930
4951
  }
4931
4952
  };
4932
4953
  }
4933
- let is = "Please use this code {0} to activate your account";
4934
- function os(e, t, r) {
4954
+ let ss = "Please use this code {0} to activate your account";
4955
+ function as(e, t, r) {
4935
4956
  let n;
4936
- _n(e, jo, (p) => r(22, n = p));
4937
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
4957
+ wn(e, zo, (p) => r(22, n = p));
4958
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, se = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - Fe, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
4938
4959
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4939
4960
  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,
4940
4961
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4941
4962
  };
4942
- zo({ withLocale: "en", translations: {} });
4963
+ Wo({ withLocale: "en", translations: {} });
4943
4964
  const M = () => {
4944
4965
  fetch(d).then((q) => q.json()).then((q) => {
4945
4966
  Object.keys(q).forEach((te) => {
4946
- Er(te, q[te]);
4967
+ Sr(te, q[te]);
4947
4968
  });
4948
4969
  }).catch((q) => {
4949
4970
  console.log(q);
4950
4971
  });
4951
4972
  };
4952
- Object.keys(xr).forEach((p) => {
4953
- Er(p, xr[p]);
4973
+ Object.keys(Pr).forEach((p) => {
4974
+ Sr(p, Pr[p]);
4954
4975
  });
4955
4976
  const _e = () => new Promise((p, q) => {
4956
4977
  grecaptcha.ready(() => {
@@ -4966,7 +4987,7 @@ function os(e, t, r) {
4966
4987
  r(19, B = !1), pe();
4967
4988
  }, pe = () => {
4968
4989
  r(18, ue.type = B ? "text" : "password", ue);
4969
- }, ke = () => {
4990
+ }, De = () => {
4970
4991
  window.postMessage({ type: "ToRegister" }, window.location.href);
4971
4992
  }, xe = (p) => {
4972
4993
  p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
@@ -4979,9 +5000,9 @@ function os(e, t, r) {
4979
5000
  }, r(17, J = !0), $e(ne));
4980
5001
  });
4981
5002
  }, ge = (p) => !!((me.user.test(p) || me.email.test(p)) && p.length <= 100), Se = (p) => !!me.password.test(p), Qe = () => {
4982
- r(14, H = !ge(U)), r(20, ie = !(!H && !oe && A));
5003
+ r(14, H = !ge(U)), r(20, ie = !(!H && !se && A));
4983
5004
  }, be = () => {
4984
- r(15, oe = !Se(A)), r(20, ie = !(!H && !oe && U));
5005
+ r(15, se = !Se(A)), r(20, ie = !(!H && !se && U));
4985
5006
  }, ve = (p) => {
4986
5007
  if (p.data)
4987
5008
  switch (p.data.type) {
@@ -4995,20 +5016,20 @@ function os(e, t, r) {
4995
5016
  Q();
4996
5017
  break;
4997
5018
  }
4998
- }, Ge = (p) => {
5019
+ }, ke = (p) => {
4999
5020
  typeof gtag == "function" && gtag("event", "Login", {
5000
5021
  context: "GeneralPlayerLoginRegisterPage"
5001
5022
  });
5002
- }, $e = (Wt) => et(this, [Wt], function* ({ username: p, password: q, token: te }) {
5003
- let Zt = {
5023
+ }, $e = (qt) => et(this, [qt], function* ({ username: p, password: q, token: te }) {
5024
+ let Jt = {
5004
5025
  "Content-Type": "application/json",
5005
5026
  "g-recaptcha-response": te
5006
- }, bt = { username: p, password: q }, dn = {
5027
+ }, yt = { username: p, password: q }, mn = {
5007
5028
  method: "POST",
5008
- headers: Zt,
5009
- body: JSON.stringify(bt)
5029
+ headers: Jt,
5030
+ body: JSON.stringify(yt)
5010
5031
  };
5011
- fetch(`${i}/v1/player/login/player`, dn).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
5032
+ fetch(`${i}/v1/player/login/player`, mn).then((G) => (G.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
5012
5033
  {
5013
5034
  type: "WidgetNotification",
5014
5035
  data: {
@@ -5017,13 +5038,13 @@ function os(e, t, r) {
5017
5038
  }
5018
5039
  },
5019
5040
  window.location.href
5020
- )), $.json())).then(($) => {
5021
- 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, de = !0), Ye(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
5041
+ )), G.json())).then((G) => {
5042
+ 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, de = !0), Ye(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
5022
5043
  if (window.postMessage(
5023
5044
  {
5024
5045
  type: "UserSessionID",
5025
- session: $.sessionID,
5026
- userid: $.universalID
5046
+ session: G.sessionID,
5047
+ userid: G.universalID
5027
5048
  },
5028
5049
  window.location.href
5029
5050
  ), window.postMessage(
@@ -5036,29 +5057,29 @@ function os(e, t, r) {
5036
5057
  },
5037
5058
  window.location.href
5038
5059
  ), window.PasswordCredential && b == "true") {
5039
- const je = new PasswordCredential({
5040
- password: bt.password,
5041
- id: bt.username
5060
+ const Ge = new PasswordCredential({
5061
+ password: yt.password,
5062
+ id: yt.username
5042
5063
  });
5043
- navigator.credentials.store(je);
5064
+ navigator.credentials.store(Ge);
5044
5065
  }
5045
- Ge();
5066
+ ke();
5046
5067
  } else
5047
5068
  try {
5048
- let je = $.error;
5049
- r(16, fe = je), r(17, J = !1), window.postMessage(
5069
+ let Ge = G.error;
5070
+ r(16, fe = Ge), r(17, J = !1), window.postMessage(
5050
5071
  {
5051
5072
  type: "WidgetNotification",
5052
- data: { type: "error", message: je }
5073
+ data: { type: "error", message: Ge }
5053
5074
  },
5054
5075
  window.location.href
5055
5076
  );
5056
- } catch (je) {
5057
- let qt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5058
- r(16, fe = qt), r(17, J = !1), window.postMessage(
5077
+ } catch (Ge) {
5078
+ let Qt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5079
+ r(16, fe = Qt), r(17, J = !1), window.postMessage(
5059
5080
  {
5060
5081
  type: "WidgetNotification",
5061
- data: { type: "error", message: qt }
5082
+ data: { type: "error", message: Qt }
5062
5083
  },
5063
5084
  window.location.href
5064
5085
  );
@@ -5075,26 +5096,26 @@ function os(e, t, r) {
5075
5096
  },
5076
5097
  body: JSON.stringify({
5077
5098
  userId: q,
5078
- messageTemplate: is,
5099
+ messageTemplate: ss,
5079
5100
  destination: p
5080
5101
  })
5081
- }), Wt = yield te.json();
5102
+ }), qt = yield te.json();
5082
5103
  if (te.ok) {
5083
- r(9, g = Wt.id);
5084
- let Zt = Wt.maxValidationAttempts;
5085
- S = !1;
5104
+ r(9, g = qt.id);
5105
+ let Jt = qt.maxValidationAttempts;
5106
+ x = !1;
5086
5107
  } else
5087
- throw S = !0, new Error("Failed to fetch");
5108
+ throw x = !0, new Error("Failed to fetch");
5088
5109
  } catch (te) {
5089
- S = !0, console.error(te);
5110
+ x = !0, console.error(te);
5090
5111
  }
5091
5112
  }), F = () => {
5092
- Xo(s);
5113
+ Zo(s);
5093
5114
  };
5094
- Bn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Vo(R)), () => {
5115
+ An(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Xo(R)), () => {
5095
5116
  window.removeEventListener("message", ve);
5096
5117
  }));
5097
- const Ke = () => ke();
5118
+ const Ke = () => De();
5098
5119
  function Pe() {
5099
5120
  U = this.value, r(12, U);
5100
5121
  }
@@ -5106,8 +5127,8 @@ function os(e, t, r) {
5106
5127
  ue = p, r(18, ue);
5107
5128
  });
5108
5129
  }
5109
- const k = () => Ee(), G = () => we(), v = (p) => Q(p), P = (p) => xe(p);
5110
- function fn(p) {
5130
+ const k = () => Ee(), $ = () => we(), v = (p) => Q(p), S = (p) => xe(p);
5131
+ function dn(p) {
5111
5132
  ut[p ? "unshift" : "push"](() => {
5112
5133
  X = p, r(7, X);
5113
5134
  });
@@ -5118,9 +5139,9 @@ function os(e, t, r) {
5118
5139
  e.$$.dirty[0] & /*endpoint, lang*/
5119
5140
  1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5120
5141
  4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5121
- 144 && c && X && Wo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5122
- 160 && f && X && Zo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5123
- 136 && l && X && qo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5142
+ 144 && c && X && qo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5143
+ 160 && f && X && Jo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5144
+ 136 && l && X && Qo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5124
5145
  2 && d && M();
5125
5146
  }, [
5126
5147
  i,
@@ -5133,12 +5154,12 @@ function os(e, t, r) {
5133
5154
  X,
5134
5155
  y,
5135
5156
  g,
5136
- C,
5157
+ O,
5137
5158
  z,
5138
5159
  U,
5139
5160
  A,
5140
5161
  H,
5141
- oe,
5162
+ se,
5142
5163
  fe,
5143
5164
  J,
5144
5165
  ue,
@@ -5148,7 +5169,7 @@ function os(e, t, r) {
5148
5169
  n,
5149
5170
  we,
5150
5171
  Ee,
5151
- ke,
5172
+ De,
5152
5173
  xe,
5153
5174
  Q,
5154
5175
  Qe,
@@ -5161,20 +5182,20 @@ function os(e, t, r) {
5161
5182
  Y,
5162
5183
  D,
5163
5184
  k,
5164
- G,
5185
+ $,
5165
5186
  v,
5166
- P,
5167
- fn
5187
+ S,
5188
+ dn
5168
5189
  ];
5169
5190
  }
5170
- class hn extends kn {
5191
+ class fn extends $n {
5171
5192
  constructor(t) {
5172
- super(), Fn(
5193
+ super(), Dn(
5173
5194
  this,
5174
5195
  t,
5196
+ as,
5175
5197
  os,
5176
- ns,
5177
- Ir,
5198
+ Cr,
5178
5199
  {
5179
5200
  endpoint: 0,
5180
5201
  captchakey: 1,
@@ -5187,7 +5208,7 @@ class hn extends kn {
5187
5208
  translationurl: 32,
5188
5209
  savecredentials: 6
5189
5210
  },
5190
- Jo,
5211
+ Yo,
5191
5212
  [-1, -1]
5192
5213
  );
5193
5214
  }
@@ -5252,39 +5273,39 @@ class hn extends kn {
5252
5273
  this.$$set({ savecredentials: t }), ee();
5253
5274
  }
5254
5275
  }
5255
- Dn(hn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5256
- const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5276
+ kn(fn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5277
+ const us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5257
5278
  __proto__: null,
5258
- default: hn
5279
+ default: fn
5259
5280
  }, Symbol.toStringTag, { value: "Module" }));
5260
5281
  export {
5261
5282
  he as $,
5262
- as as G,
5263
- kn as S,
5264
- Ue as a,
5265
- sn as b,
5266
- Dn as c,
5267
- wn as d,
5268
- x as e,
5283
+ us as G,
5284
+ $n as S,
5285
+ Re as a,
5286
+ an as b,
5287
+ En as c,
5288
+ I as d,
5289
+ re as e,
5269
5290
  ee as f,
5270
- j as g,
5291
+ rt as g,
5271
5292
  h,
5272
- Fn as i,
5293
+ Dn as i,
5273
5294
  L as j,
5274
5295
  m as k,
5275
- rt as l,
5276
- se as m,
5277
- re as n,
5278
- Z as o,
5279
- I as p,
5280
- _n as q,
5281
- Ne as r,
5282
- Ir as s,
5296
+ ae as l,
5297
+ E as m,
5298
+ Z as n,
5299
+ j as o,
5300
+ wn as p,
5301
+ An as q,
5302
+ Me as r,
5303
+ Cr as s,
5283
5304
  N as t,
5284
- Bn as u,
5285
- Zo as v,
5286
- qo as w,
5287
- ut as x,
5288
- Wo as y,
5289
- jo as z
5305
+ ut as u,
5306
+ qo as v,
5307
+ Jo as w,
5308
+ Qo as x,
5309
+ kn as y,
5310
+ zo as z
5290
5311
  };