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

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