@everymatrix/general-player-register-form-nd 1.74.10 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/components/{GeneralPlayerRegisterFormNd-GoBYaeYc.js → GeneralPlayerRegisterFormNd-B81vMd6o.js} +706 -692
  2. package/components/GeneralPlayerRegisterFormNd-DVeAF24W.cjs +18 -0
  3. package/components/{GeneralPlayerRegisterFormNd-C1JQ8ARs.js → GeneralPlayerRegisterFormNd-DsMvfO2O.js} +716 -702
  4. package/components/{GeneralPlayerRegisterFormStep1-PNHf13iF.cjs → GeneralPlayerRegisterFormStep1-B1yUji7Q.cjs} +1 -1
  5. package/components/{GeneralPlayerRegisterFormStep1-BukkWYjI.js → GeneralPlayerRegisterFormStep1-ChAgwOVE.js} +4 -4
  6. package/components/{GeneralPlayerRegisterFormStep1-BqlRLeii.js → GeneralPlayerRegisterFormStep1-ChHWqbZT.js} +4 -4
  7. package/components/{GeneralPlayerRegisterFormStep2-CSz_dCaX.cjs → GeneralPlayerRegisterFormStep2-DOr7-P-1.cjs} +2 -2
  8. package/components/{GeneralPlayerRegisterFormStep2-DBnZ9YrY.js → GeneralPlayerRegisterFormStep2-m-1TTcWc.js} +991 -991
  9. package/components/{GeneralPlayerRegisterFormStep2-To7K540j.js → GeneralPlayerRegisterFormStep2-wd8bqKAA.js} +986 -986
  10. package/components/{GeneralPlayerRegisterFormStep3-CzA9W6SQ.js → GeneralPlayerRegisterFormStep3-BWdiFMfP.js} +5 -5
  11. package/components/{GeneralPlayerRegisterFormStep3-CcFGaz76.js → GeneralPlayerRegisterFormStep3-CakxX22B.js} +5 -5
  12. package/components/{GeneralPlayerRegisterFormStep3-Bo5g25HL.cjs → GeneralPlayerRegisterFormStep3-DRKlVOfe.cjs} +1 -1
  13. package/components/{GeneralPlayerSmsVerificationForm-Cz9dvc1N.js → GeneralPlayerSmsVerificationForm-7Ta2HmaS.js} +5 -5
  14. package/components/{GeneralPlayerSmsVerificationForm-DhT7I5pU.js → GeneralPlayerSmsVerificationForm-BLNcr3Lk.js} +5 -5
  15. package/components/{GeneralPlayerSmsVerificationForm-DcYEcOTa.cjs → GeneralPlayerSmsVerificationForm-yHLU83KN.cjs} +1 -1
  16. package/es2015/general-player-register-form-nd.cjs +1 -1
  17. package/es2015/general-player-register-form-nd.js +1 -1
  18. package/esnext/general-player-register-form-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GeneralPlayerRegisterFormNd-BTl6uATk.cjs +0 -18
@@ -1,28 +1,28 @@
1
1
  function k() {
2
2
  }
3
- function sr(e) {
3
+ function ar(e) {
4
4
  return e();
5
5
  }
6
- function Pt() {
6
+ function Ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ge(e) {
10
- e.forEach(sr);
10
+ e.forEach(ar);
11
11
  }
12
- function ht(e) {
12
+ function ft(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function or(e, t) {
15
+ function ur(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let we;
19
- function ks(e, t) {
19
+ function js(e, t) {
20
20
  return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
21
21
  }
22
- function Qr(e) {
22
+ function en(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function ar(e, ...t) {
25
+ function lr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function ar(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Yr(e, t, r) {
35
- e.$$.on_destroy.push(ar(t, r));
34
+ function tn(e, t, r) {
35
+ e.$$.on_destroy.push(lr(t, r));
36
36
  }
37
37
  function E(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Kr(e, t, r) {
41
- const n = en(e);
40
+ function rn(e, t, r) {
41
+ const n = nn(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = B("style");
44
- i.id = t, i.textContent = r, tn(n, i);
44
+ i.id = t, i.textContent = r, sn(n, i);
45
45
  }
46
46
  }
47
- function en(e) {
47
+ function nn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function en(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function tn(e, t) {
57
+ function sn(e, t) {
58
58
  return E(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,17 +64,17 @@ function tn(e, t) {
64
64
  function F(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function M(e) {
67
+ function N(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Gs(e, t) {
70
+ function $s(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function B(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function xe(e) {
77
+ function Se(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function $(e) {
@@ -83,30 +83,30 @@ function $(e) {
83
83
  function U() {
84
84
  return $(" ");
85
85
  }
86
- function rn() {
86
+ function on() {
87
87
  return $("");
88
88
  }
89
- function nn(e, t, r, n) {
89
+ function an(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function S(e, t, r) {
92
+ function x(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
95
  function m(e, t, r) {
96
96
  const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
98
98
  }
99
- function sn(e) {
99
+ function un(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function K(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function js(e, t) {
106
+ function Vs(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function $s(e, t, r) {
109
+ function Xs(e, t, r) {
110
110
  for (let n = 0; n < e.options.length; n += 1) {
111
111
  const i = e.options[n];
112
112
  if (i.__value === t) {
@@ -116,11 +116,11 @@ function $s(e, t, r) {
116
116
  }
117
117
  (!r || t !== void 0) && (e.selectedIndex = -1);
118
118
  }
119
- function Vs(e) {
119
+ function Ws(e) {
120
120
  const t = e.querySelector(":checked");
121
121
  return t && t.__value;
122
122
  }
123
- function on(e) {
123
+ function ln(e) {
124
124
  const t = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -133,22 +133,22 @@ let me;
133
133
  function ce(e) {
134
134
  me = e;
135
135
  }
136
- function an() {
136
+ function hn() {
137
137
  if (!me)
138
138
  throw new Error("Function called outside component initialization");
139
139
  return me;
140
140
  }
141
- function un(e) {
142
- an().$$.on_mount.push(e);
141
+ function fn(e) {
142
+ hn().$$.on_mount.push(e);
143
143
  }
144
144
  const Y = [], Oe = [];
145
145
  let ee = [];
146
- const Ot = [], ln = /* @__PURE__ */ Promise.resolve();
147
- let Je = !1;
148
- function hn() {
149
- Je || (Je = !0, ln.then(A));
146
+ const It = [], cn = /* @__PURE__ */ Promise.resolve();
147
+ let qe = !1;
148
+ function mn() {
149
+ qe || (qe = !0, cn.then(A));
150
150
  }
151
- function qe(e) {
151
+ function Qe(e) {
152
152
  ee.push(e);
153
153
  }
154
154
  const je = /* @__PURE__ */ new Set();
@@ -161,7 +161,7 @@ function A() {
161
161
  try {
162
162
  for (; q < Y.length; ) {
163
163
  const t = Y[q];
164
- q++, ce(t), fn(t.$$);
164
+ q++, ce(t), pn(t.$$);
165
165
  }
166
166
  } catch (t) {
167
167
  throw Y.length = 0, q = 0, t;
@@ -174,43 +174,43 @@ function A() {
174
174
  }
175
175
  ee.length = 0;
176
176
  } while (Y.length);
177
- for (; Ot.length; )
178
- Ot.pop()();
179
- Je = !1, je.clear(), ce(e);
177
+ for (; It.length; )
178
+ It.pop()();
179
+ qe = !1, je.clear(), ce(e);
180
180
  }
181
- function fn(e) {
181
+ function pn(e) {
182
182
  if (e.fragment !== null) {
183
183
  e.update(), ge(e.before_update);
184
184
  const t = e.dirty;
185
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
186
186
  }
187
187
  }
188
- function cn(e) {
188
+ function dn(e) {
189
189
  const t = [], r = [];
190
190
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
191
191
  }
192
- const mn = /* @__PURE__ */ new Set();
193
- function dn(e, t) {
194
- e && e.i && (mn.delete(e), e.i(t));
192
+ const gn = /* @__PURE__ */ new Set();
193
+ function bn(e, t) {
194
+ e && e.i && (gn.delete(e), e.i(t));
195
195
  }
196
- function Xs(e) {
196
+ function zs(e) {
197
197
  return e?.length !== void 0 ? e : Array.from(e);
198
198
  }
199
- function pn(e, t, r) {
199
+ function yn(e, t, r) {
200
200
  const { fragment: n, after_update: i } = e.$$;
201
- n && n.m(t, r), qe(() => {
202
- const s = e.$$.on_mount.map(sr).filter(ht);
201
+ n && n.m(t, r), Qe(() => {
202
+ const s = e.$$.on_mount.map(ar).filter(ft);
203
203
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
204
- }), i.forEach(qe);
204
+ }), i.forEach(Qe);
205
205
  }
206
- function gn(e, t) {
206
+ function vn(e, t) {
207
207
  const r = e.$$;
208
- r.fragment !== null && (cn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
+ r.fragment !== null && (dn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
209
  }
210
- function bn(e, t) {
211
- e.$$.dirty[0] === -1 && (Y.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
+ function _n(e, t) {
211
+ e.$$.dirty[0] === -1 && (Y.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
212
  }
213
- function yn(e, t, r, n, i, s, o = null, a = [-1]) {
213
+ function En(e, t, r, n, i, s, o = null, a = [-1]) {
214
214
  const h = me;
215
215
  ce(e);
216
216
  const l = e.$$ = {
@@ -220,7 +220,7 @@ function yn(e, t, r, n, i, s, o = null, a = [-1]) {
220
220
  props: s,
221
221
  update: k,
222
222
  not_equal: i,
223
- bound: Pt(),
223
+ bound: Ct(),
224
224
  // lifecycle
225
225
  on_mount: [],
226
226
  on_destroy: [],
@@ -229,28 +229,28 @@ function yn(e, t, r, n, i, s, o = null, a = [-1]) {
229
229
  after_update: [],
230
230
  context: new Map(t.context || (h ? h.$$.context : [])),
231
231
  // everything else
232
- callbacks: Pt(),
232
+ callbacks: Ct(),
233
233
  dirty: a,
234
234
  skip_bound: !1,
235
235
  root: t.target || h.$$.root
236
236
  };
237
237
  o && o(l.root);
238
238
  let u = !1;
239
- if (l.ctx = r ? r(e, t.props || {}, (c, d, ...y) => {
240
- const g = y.length ? y[0] : d;
241
- return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && bn(e, c)), d;
239
+ if (l.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
240
+ const g = y.length ? y[0] : p;
241
+ return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && _n(e, c)), p;
242
242
  }) : [], l.update(), u = !0, ge(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
243
243
  if (t.hydrate) {
244
- const c = sn(t.target);
245
- l.fragment && l.fragment.l(c), c.forEach(M);
244
+ const c = un(t.target);
245
+ l.fragment && l.fragment.l(c), c.forEach(N);
246
246
  } else
247
247
  l.fragment && l.fragment.c();
248
- t.intro && dn(e.$$.fragment), pn(e, t.target, t.anchor), A();
248
+ t.intro && bn(e.$$.fragment), yn(e, t.target, t.anchor), A();
249
249
  }
250
250
  ce(h);
251
251
  }
252
- let ur;
253
- typeof HTMLElement == "function" && (ur = class extends HTMLElement {
252
+ let hr;
253
+ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
254
254
  /** The Svelte component constructor */
255
255
  $$ctor;
256
256
  /** Slots */
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (ur = class extends HTMLElement {
292
292
  let s;
293
293
  return {
294
294
  c: function() {
295
- s = B("slot"), i !== "default" && S(s, "name", i);
295
+ s = B("slot"), i !== "default" && x(s, "name", i);
296
296
  },
297
297
  /**
298
298
  * @param {HTMLElement} target
@@ -302,14 +302,14 @@ typeof HTMLElement == "function" && (ur = class extends HTMLElement {
302
302
  F(h, s, l);
303
303
  },
304
304
  d: function(h) {
305
- h && M(s);
305
+ h && N(s);
306
306
  }
307
307
  };
308
308
  };
309
309
  };
310
310
  if (await Promise.resolve(), !this.$$cn || this.$$c)
311
311
  return;
312
- const t = {}, r = on(this);
312
+ const t = {}, r = ln(this);
313
313
  for (const i of this.$$s)
314
314
  i in r && (t[i] = [e(i)]);
315
315
  for (const i of this.attributes) {
@@ -396,8 +396,8 @@ function He(e, t, r, n) {
396
396
  return t;
397
397
  }
398
398
  }
399
- function vn(e, t, r, n, i, s) {
400
- let o = class extends ur {
399
+ function wn(e, t, r, n, i, s) {
400
+ let o = class extends hr {
401
401
  constructor() {
402
402
  super(e, r, i), this.$$p_d = t;
403
403
  }
@@ -425,7 +425,7 @@ function vn(e, t, r, n, i, s) {
425
425
  }), e.element = /** @type {any} */
426
426
  o, o;
427
427
  }
428
- class _n {
428
+ class Sn {
429
429
  /**
430
430
  * ### PRIVATE API
431
431
  *
@@ -444,7 +444,7 @@ class _n {
444
444
  $$set = void 0;
445
445
  /** @returns {void} */
446
446
  $destroy() {
447
- gn(this, 1), this.$destroy = k;
447
+ vn(this, 1), this.$destroy = k;
448
448
  }
449
449
  /**
450
450
  * @template {Extract<keyof Events, string>} K
@@ -453,7 +453,7 @@ class _n {
453
453
  * @returns {() => void}
454
454
  */
455
455
  $on(t, r) {
456
- if (!ht(r))
456
+ if (!ft(r))
457
457
  return k;
458
458
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
459
459
  return n.push(r), () => {
@@ -466,11 +466,11 @@ class _n {
466
466
  * @returns {void}
467
467
  */
468
468
  $set(t) {
469
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
+ this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
470
470
  }
471
471
  }
472
- const En = "4";
473
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
472
+ const xn = "4";
473
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
474
474
  /*! *****************************************************************************
475
475
  Copyright (c) Microsoft Corporation.
476
476
 
@@ -485,18 +485,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
485
485
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
486
486
  PERFORMANCE OF THIS SOFTWARE.
487
487
  ***************************************************************************** */
488
- var Qe = function(e, t) {
489
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
488
+ var Ye = function(e, t) {
489
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
490
490
  r.__proto__ = n;
491
491
  } || function(r, n) {
492
492
  for (var i in n)
493
493
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
494
- }, Qe(e, t);
494
+ }, Ye(e, t);
495
495
  };
496
496
  function X(e, t) {
497
497
  if (typeof t != "function" && t !== null)
498
498
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
499
- Qe(e, t);
499
+ Ye(e, t);
500
500
  function r() {
501
501
  this.constructor = e;
502
502
  }
@@ -512,7 +512,7 @@ var w = function() {
512
512
  return t;
513
513
  }, w.apply(this, arguments);
514
514
  };
515
- function wn(e, t) {
515
+ function Tn(e, t) {
516
516
  var r = {};
517
517
  for (var n in e)
518
518
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -521,7 +521,7 @@ function wn(e, t) {
521
521
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
522
522
  return r;
523
523
  }
524
- function Ye(e) {
524
+ function Ke(e) {
525
525
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
526
526
  if (r)
527
527
  return r.call(e);
@@ -533,7 +533,7 @@ function Ye(e) {
533
533
  };
534
534
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
535
535
  }
536
- function Ke(e, t) {
536
+ function et(e, t) {
537
537
  var r = typeof Symbol == "function" && e[Symbol.iterator];
538
538
  if (!r)
539
539
  return e;
@@ -562,13 +562,13 @@ function te(e, t, r) {
562
562
  function V(e) {
563
563
  return typeof e == "function";
564
564
  }
565
- function lr(e) {
565
+ function fr(e) {
566
566
  var t = function(n) {
567
567
  Error.call(n), n.stack = new Error().stack;
568
568
  }, r = e(t);
569
569
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
570
570
  }
571
- var $e = lr(function(e) {
571
+ var $e = fr(function(e) {
572
572
  return function(r) {
573
573
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
574
574
  ` + r.map(function(n, i) {
@@ -577,7 +577,7 @@ var $e = lr(function(e) {
577
577
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
578
578
  };
579
579
  });
580
- function et(e, t) {
580
+ function tt(e, t) {
581
581
  if (e) {
582
582
  var r = e.indexOf(t);
583
583
  0 <= r && e.splice(r, 1);
@@ -595,12 +595,12 @@ var Le = function() {
595
595
  if (o)
596
596
  if (this._parentage = null, Array.isArray(o))
597
597
  try {
598
- for (var a = Ye(o), h = a.next(); !h.done; h = a.next()) {
598
+ for (var a = Ke(o), h = a.next(); !h.done; h = a.next()) {
599
599
  var l = h.value;
600
600
  l.remove(this);
601
601
  }
602
- } catch (p) {
603
- t = { error: p };
602
+ } catch (d) {
603
+ t = { error: d };
604
604
  } finally {
605
605
  try {
606
606
  h && !h.done && (r = a.return) && r.call(a);
@@ -615,26 +615,26 @@ var Le = function() {
615
615
  if (V(u))
616
616
  try {
617
617
  u();
618
- } catch (p) {
619
- s = p instanceof $e ? p.errors : [p];
618
+ } catch (d) {
619
+ s = d instanceof $e ? d.errors : [d];
620
620
  }
621
621
  var c = this._finalizers;
622
622
  if (c) {
623
623
  this._finalizers = null;
624
624
  try {
625
- for (var d = Ye(c), y = d.next(); !y.done; y = d.next()) {
625
+ for (var p = Ke(c), y = p.next(); !y.done; y = p.next()) {
626
626
  var g = y.value;
627
627
  try {
628
- Ct(g);
629
- } catch (p) {
630
- s = s ?? [], p instanceof $e ? s = te(te([], Ke(s)), Ke(p.errors)) : s.push(p);
628
+ Lt(g);
629
+ } catch (d) {
630
+ s = s ?? [], d instanceof $e ? s = te(te([], et(s)), et(d.errors)) : s.push(d);
631
631
  }
632
632
  }
633
- } catch (p) {
634
- n = { error: p };
633
+ } catch (d) {
634
+ n = { error: d };
635
635
  } finally {
636
636
  try {
637
- y && !y.done && (i = d.return) && i.call(d);
637
+ y && !y.done && (i = p.return) && i.call(p);
638
638
  } finally {
639
639
  if (n)
640
640
  throw n.error;
@@ -648,7 +648,7 @@ var Le = function() {
648
648
  var r;
649
649
  if (t && t !== this)
650
650
  if (this.closed)
651
- Ct(t);
651
+ Lt(t);
652
652
  else {
653
653
  if (t instanceof e) {
654
654
  if (t.closed || t._hasParent(this))
@@ -665,56 +665,56 @@ var Le = function() {
665
665
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
666
666
  }, e.prototype._removeParent = function(t) {
667
667
  var r = this._parentage;
668
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
668
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
669
669
  }, e.prototype.remove = function(t) {
670
670
  var r = this._finalizers;
671
- r && et(r, t), t instanceof e && t._removeParent(this);
671
+ r && tt(r, t), t instanceof e && t._removeParent(this);
672
672
  }, e.EMPTY = function() {
673
673
  var t = new e();
674
674
  return t.closed = !0, t;
675
675
  }(), e;
676
- }(), hr = Le.EMPTY;
677
- function fr(e) {
676
+ }(), cr = Le.EMPTY;
677
+ function mr(e) {
678
678
  return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
679
679
  }
680
- function Ct(e) {
680
+ function Lt(e) {
681
681
  V(e) ? e() : e.unsubscribe();
682
682
  }
683
- var xn = {
683
+ var pr = {
684
684
  onUnhandledError: null,
685
685
  onStoppedNotification: null,
686
686
  Promise: void 0,
687
687
  useDeprecatedSynchronousErrorHandling: !1,
688
688
  useDeprecatedNextContext: !1
689
- }, Sn = {
689
+ }, Hn = {
690
690
  setTimeout: function(e, t) {
691
691
  for (var r = [], n = 2; n < arguments.length; n++)
692
692
  r[n - 2] = arguments[n];
693
- return setTimeout.apply(void 0, te([e, t], Ke(r)));
693
+ return setTimeout.apply(void 0, te([e, t], et(r)));
694
694
  },
695
695
  clearTimeout: function(e) {
696
696
  return clearTimeout(e);
697
697
  },
698
698
  delegate: void 0
699
699
  };
700
- function Tn(e) {
701
- Sn.setTimeout(function() {
700
+ function Bn(e) {
701
+ Hn.setTimeout(function() {
702
702
  throw e;
703
703
  });
704
704
  }
705
- function It() {
705
+ function Rt() {
706
706
  }
707
707
  function Be(e) {
708
708
  e();
709
709
  }
710
- var cr = function(e) {
710
+ var dr = function(e) {
711
711
  X(t, e);
712
712
  function t(r) {
713
713
  var n = e.call(this) || this;
714
- return n.isStopped = !1, r ? (n.destination = r, fr(r) && r.add(n)) : n.destination = An, n;
714
+ return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Cn, n;
715
715
  }
716
716
  return t.create = function(r, n, i) {
717
- return new tt(r, n, i);
717
+ return new rt(r, n, i);
718
718
  }, t.prototype.next = function(r) {
719
719
  this.isStopped || this._next(r);
720
720
  }, t.prototype.error = function(r) {
@@ -738,7 +738,11 @@ var cr = function(e) {
738
738
  this.unsubscribe();
739
739
  }
740
740
  }, t;
741
- }(Le), Hn = function() {
741
+ }(Le), An = Function.prototype.bind;
742
+ function Ve(e, t) {
743
+ return An.call(e, t);
744
+ }
745
+ var Pn = function() {
742
746
  function e(t) {
743
747
  this.partialObserver = t;
744
748
  }
@@ -748,7 +752,7 @@ var cr = function(e) {
748
752
  try {
749
753
  r.next(t);
750
754
  } catch (n) {
751
- Se(n);
755
+ xe(n);
752
756
  }
753
757
  }, e.prototype.error = function(t) {
754
758
  var r = this.partialObserver;
@@ -756,56 +760,68 @@ var cr = function(e) {
756
760
  try {
757
761
  r.error(t);
758
762
  } catch (n) {
759
- Se(n);
763
+ xe(n);
760
764
  }
761
765
  else
762
- Se(t);
766
+ xe(t);
763
767
  }, e.prototype.complete = function() {
764
768
  var t = this.partialObserver;
765
769
  if (t.complete)
766
770
  try {
767
771
  t.complete();
768
772
  } catch (r) {
769
- Se(r);
773
+ xe(r);
770
774
  }
771
775
  }, e;
772
- }(), tt = function(e) {
776
+ }(), rt = function(e) {
773
777
  X(t, e);
774
778
  function t(r, n, i) {
775
779
  var s = e.call(this) || this, o;
776
- return V(r) || !r ? o = {
777
- next: r ?? void 0,
778
- error: n ?? void 0,
779
- complete: i ?? void 0
780
- } : o = r, s.destination = new Hn(o), s;
780
+ if (V(r) || !r)
781
+ o = {
782
+ next: r ?? void 0,
783
+ error: n ?? void 0,
784
+ complete: i ?? void 0
785
+ };
786
+ else {
787
+ var a;
788
+ s && pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
789
+ return s.unsubscribe();
790
+ }, o = {
791
+ next: r.next && Ve(r.next, a),
792
+ error: r.error && Ve(r.error, a),
793
+ complete: r.complete && Ve(r.complete, a)
794
+ }) : o = r;
795
+ }
796
+ return s.destination = new Pn(o), s;
781
797
  }
782
798
  return t;
783
- }(cr);
784
- function Se(e) {
785
- Tn(e);
799
+ }(dr);
800
+ function xe(e) {
801
+ Bn(e);
786
802
  }
787
- function Bn(e) {
803
+ function On(e) {
788
804
  throw e;
789
805
  }
790
- var An = {
806
+ var Cn = {
791
807
  closed: !0,
792
- next: It,
793
- error: Bn,
794
- complete: It
795
- }, Pn = function() {
808
+ next: Rt,
809
+ error: On,
810
+ complete: Rt
811
+ }, In = function() {
796
812
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
813
  }();
798
- function On(e) {
814
+ function Ln(e) {
799
815
  return e;
800
816
  }
801
- function Cn(e) {
802
- return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
817
+ function Rn(e) {
818
+ return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
803
819
  return e.reduce(function(n, i) {
804
820
  return i(n);
805
821
  }, r);
806
822
  };
807
823
  }
808
- var Lt = function() {
824
+ var Mt = function() {
809
825
  function e(t) {
810
826
  t && (this._subscribe = t);
811
827
  }
@@ -813,7 +829,7 @@ var Lt = function() {
813
829
  var r = new e();
814
830
  return r.source = this, r.operator = t, r;
815
831
  }, e.prototype.subscribe = function(t, r, n) {
816
- var i = this, s = Ln(t) ? t : new tt(t, r, n);
832
+ var i = this, s = Nn(t) ? t : new rt(t, r, n);
817
833
  return Be(function() {
818
834
  var o = i, a = o.operator, h = o.source;
819
835
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -826,8 +842,8 @@ var Lt = function() {
826
842
  }
827
843
  }, e.prototype.forEach = function(t, r) {
828
844
  var n = this;
829
- return r = Rt(r), new r(function(i, s) {
830
- var o = new tt({
845
+ return r = Nt(r), new r(function(i, s) {
846
+ var o = new rt({
831
847
  next: function(a) {
832
848
  try {
833
849
  t(a);
@@ -843,15 +859,15 @@ var Lt = function() {
843
859
  }, e.prototype._subscribe = function(t) {
844
860
  var r;
845
861
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
846
- }, e.prototype[Pn] = function() {
862
+ }, e.prototype[In] = function() {
847
863
  return this;
848
864
  }, e.prototype.pipe = function() {
849
865
  for (var t = [], r = 0; r < arguments.length; r++)
850
866
  t[r] = arguments[r];
851
- return Cn(t)(this);
867
+ return Rn(t)(this);
852
868
  }, e.prototype.toPromise = function(t) {
853
869
  var r = this;
854
- return t = Rt(t), new t(function(n, i) {
870
+ return t = Nt(t), new t(function(n, i) {
855
871
  var s;
856
872
  r.subscribe(function(o) {
857
873
  return s = o;
@@ -865,32 +881,32 @@ var Lt = function() {
865
881
  return new e(t);
866
882
  }, e;
867
883
  }();
868
- function Rt(e) {
884
+ function Nt(e) {
869
885
  var t;
870
- return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
886
+ return (t = e ?? pr.Promise) !== null && t !== void 0 ? t : Promise;
871
887
  }
872
- function In(e) {
888
+ function Mn(e) {
873
889
  return e && V(e.next) && V(e.error) && V(e.complete);
874
890
  }
875
- function Ln(e) {
876
- return e && e instanceof cr || In(e) && fr(e);
891
+ function Nn(e) {
892
+ return e && e instanceof dr || Mn(e) && mr(e);
877
893
  }
878
- var Rn = lr(function(e) {
894
+ var Dn = fr(function(e) {
879
895
  return function() {
880
896
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
897
  };
882
- }), mr = function(e) {
898
+ }), gr = function(e) {
883
899
  X(t, e);
884
900
  function t() {
885
901
  var r = e.call(this) || this;
886
902
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
887
903
  }
888
904
  return t.prototype.lift = function(r) {
889
- var n = new Nt(this, this);
905
+ var n = new Dt(this, this);
890
906
  return n.operator = r, n;
891
907
  }, t.prototype._throwIfClosed = function() {
892
908
  if (this.closed)
893
- throw new Rn();
909
+ throw new Dn();
894
910
  }, t.prototype.next = function(r) {
895
911
  var n = this;
896
912
  Be(function() {
@@ -898,7 +914,7 @@ var Rn = lr(function(e) {
898
914
  if (n._throwIfClosed(), !n.isStopped) {
899
915
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
900
916
  try {
901
- for (var o = Ye(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
917
+ for (var o = Ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
902
918
  var h = a.value;
903
919
  h.next(r);
904
920
  }
@@ -947,19 +963,19 @@ var Rn = lr(function(e) {
947
963
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
948
964
  }, t.prototype._innerSubscribe = function(r) {
949
965
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
950
- return s || o ? hr : (this.currentObservers = null, a.push(r), new Le(function() {
951
- n.currentObservers = null, et(a, r);
966
+ return s || o ? cr : (this.currentObservers = null, a.push(r), new Le(function() {
967
+ n.currentObservers = null, tt(a, r);
952
968
  }));
953
969
  }, t.prototype._checkFinalizedStatuses = function(r) {
954
970
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
955
971
  i ? r.error(s) : o && r.complete();
956
972
  }, t.prototype.asObservable = function() {
957
- var r = new Lt();
973
+ var r = new Mt();
958
974
  return r.source = this, r;
959
975
  }, t.create = function(r, n) {
960
- return new Nt(r, n);
976
+ return new Dt(r, n);
961
977
  }, t;
962
- }(Lt), Nt = function(e) {
978
+ }(Mt), Dt = function(e) {
963
979
  X(t, e);
964
980
  function t(r, n) {
965
981
  var i = e.call(this) || this;
@@ -976,17 +992,17 @@ var Rn = lr(function(e) {
976
992
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
977
993
  }, t.prototype._subscribe = function(r) {
978
994
  var n, i;
979
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : hr;
995
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : cr;
980
996
  }, t;
981
- }(mr), dr = {
997
+ }(gr), br = {
982
998
  now: function() {
983
- return (dr.delegate || Date).now();
999
+ return (br.delegate || Date).now();
984
1000
  },
985
1001
  delegate: void 0
986
- }, Nn = function(e) {
1002
+ }, Fn = function(e) {
987
1003
  X(t, e);
988
1004
  function t(r, n, i) {
989
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
1005
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
990
1006
  var s = e.call(this) || this;
991
1007
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
992
1008
  }
@@ -1006,15 +1022,15 @@ var Rn = lr(function(e) {
1006
1022
  l && s.splice(0, l + 1);
1007
1023
  }
1008
1024
  }, t;
1009
- }(mr);
1010
- const Mt = [], Dt = {}, Mn = (e, t = 0) => {
1011
- if (Mt.indexOf(e) == -1) {
1012
- const r = new Nn(t);
1013
- Dt[e] = r, Mt.push(e);
1025
+ }(gr);
1026
+ const Ft = [], Ut = {}, Un = (e, t = 0) => {
1027
+ if (Ft.indexOf(e) == -1) {
1028
+ const r = new Fn(t);
1029
+ Ut[e] = r, Ft.push(e);
1014
1030
  }
1015
- return Dt[e];
1031
+ return Ut[e];
1016
1032
  }, Q = [];
1017
- function Dn(e, t) {
1033
+ function kn(e, t) {
1018
1034
  return {
1019
1035
  subscribe: Re(e, t).subscribe
1020
1036
  };
@@ -1023,7 +1039,7 @@ function Re(e, t = k) {
1023
1039
  let r;
1024
1040
  const n = /* @__PURE__ */ new Set();
1025
1041
  function i(a) {
1026
- if (or(e, a) && (e = a, r)) {
1042
+ if (ur(e, a) && (e = a, r)) {
1027
1043
  const h = !Q.length;
1028
1044
  for (const l of n)
1029
1045
  l[1](), Q.push(l, e);
@@ -1050,96 +1066,96 @@ function oe(e, t, r) {
1050
1066
  if (!i.every(Boolean))
1051
1067
  throw new Error("derived() expects stores as input, got a falsy value");
1052
1068
  const s = t.length < 2;
1053
- return Dn(r, (o, a) => {
1069
+ return kn(r, (o, a) => {
1054
1070
  let h = !1;
1055
1071
  const l = [];
1056
1072
  let u = 0, c = k;
1057
- const d = () => {
1073
+ const p = () => {
1058
1074
  if (u)
1059
1075
  return;
1060
1076
  c();
1061
1077
  const g = t(n ? l[0] : l, o, a);
1062
- s ? o(g) : c = ht(g) ? g : k;
1078
+ s ? o(g) : c = ft(g) ? g : k;
1063
1079
  }, y = i.map(
1064
- (g, p) => ar(
1080
+ (g, d) => lr(
1065
1081
  g,
1066
1082
  (b) => {
1067
- l[p] = b, u &= ~(1 << p), h && d();
1083
+ l[d] = b, u &= ~(1 << d), h && p();
1068
1084
  },
1069
1085
  () => {
1070
- u |= 1 << p;
1086
+ u |= 1 << d;
1071
1087
  }
1072
1088
  )
1073
1089
  );
1074
- return h = !0, d(), function() {
1090
+ return h = !0, p(), function() {
1075
1091
  ge(y), c(), h = !1;
1076
1092
  };
1077
1093
  });
1078
1094
  }
1079
- function Fn(e) {
1080
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1095
+ function Gn(e) {
1096
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
1097
  }
1082
- var Un = function(t) {
1083
- return kn(t) && !Gn(t);
1098
+ var jn = function(t) {
1099
+ return $n(t) && !Vn(t);
1084
1100
  };
1085
- function kn(e) {
1101
+ function $n(e) {
1086
1102
  return !!e && typeof e == "object";
1087
1103
  }
1088
- function Gn(e) {
1104
+ function Vn(e) {
1089
1105
  var t = Object.prototype.toString.call(e);
1090
- return t === "[object RegExp]" || t === "[object Date]" || Vn(e);
1106
+ return t === "[object RegExp]" || t === "[object Date]" || zn(e);
1091
1107
  }
1092
- var jn = typeof Symbol == "function" && Symbol.for, $n = jn ? Symbol.for("react.element") : 60103;
1093
- function Vn(e) {
1094
- return e.$$typeof === $n;
1108
+ var Xn = typeof Symbol == "function" && Symbol.for, Wn = Xn ? Symbol.for("react.element") : 60103;
1109
+ function zn(e) {
1110
+ return e.$$typeof === Wn;
1095
1111
  }
1096
- function Xn(e) {
1112
+ function Zn(e) {
1097
1113
  return Array.isArray(e) ? [] : {};
1098
1114
  }
1099
- function de(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Xn(e), e, t) : e;
1115
+ function pe(e, t) {
1116
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(Zn(e), e, t) : e;
1101
1117
  }
1102
- function Wn(e, t, r) {
1118
+ function Jn(e, t, r) {
1103
1119
  return e.concat(t).map(function(n) {
1104
- return de(n, r);
1120
+ return pe(n, r);
1105
1121
  });
1106
1122
  }
1107
- function zn(e, t) {
1123
+ function qn(e, t) {
1108
1124
  if (!t.customMerge)
1109
1125
  return re;
1110
1126
  var r = t.customMerge(e);
1111
1127
  return typeof r == "function" ? r : re;
1112
1128
  }
1113
- function Zn(e) {
1129
+ function Qn(e) {
1114
1130
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1115
1131
  return Object.propertyIsEnumerable.call(e, t);
1116
1132
  }) : [];
1117
1133
  }
1118
- function Ft(e) {
1119
- return Object.keys(e).concat(Zn(e));
1134
+ function kt(e) {
1135
+ return Object.keys(e).concat(Qn(e));
1120
1136
  }
1121
- function pr(e, t) {
1137
+ function yr(e, t) {
1122
1138
  try {
1123
1139
  return t in e;
1124
1140
  } catch {
1125
1141
  return !1;
1126
1142
  }
1127
1143
  }
1128
- function Jn(e, t) {
1129
- return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1144
+ function Yn(e, t) {
1145
+ return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1146
  }
1131
- function qn(e, t, r) {
1147
+ function Kn(e, t, r) {
1132
1148
  var n = {};
1133
- return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1134
- n[i] = de(e[i], r);
1135
- }), Ft(t).forEach(function(i) {
1136
- Jn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1149
+ return r.isMergeableObject(e) && kt(e).forEach(function(i) {
1150
+ n[i] = pe(e[i], r);
1151
+ }), kt(t).forEach(function(i) {
1152
+ Yn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1137
1153
  }), n;
1138
1154
  }
1139
1155
  function re(e, t, r) {
1140
- r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = de;
1156
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
1141
1157
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1142
- return s ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : de(t, r);
1158
+ return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
1143
1159
  }
1144
1160
  re.all = function(t, r) {
1145
1161
  if (!Array.isArray(t))
@@ -1148,60 +1164,58 @@ re.all = function(t, r) {
1148
1164
  return re(n, i, r);
1149
1165
  }, {});
1150
1166
  };
1151
- var Qn = re, Yn = Qn;
1152
- const Kn = /* @__PURE__ */ Fn(Yn);
1153
- function Ve(e, t) {
1154
- var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ti;
1167
+ var ei = re, ti = ei;
1168
+ const ri = /* @__PURE__ */ Gn(ti);
1169
+ function Xe(e, t) {
1170
+ var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ii;
1155
1171
  return i(e, {
1156
1172
  cache: r,
1157
1173
  serializer: n
1158
1174
  });
1159
1175
  }
1160
- function ei(e) {
1176
+ function ni(e) {
1161
1177
  return e == null || typeof e == "number" || typeof e == "boolean";
1162
1178
  }
1163
- function gr(e, t, r, n) {
1164
- var i = ei(n) ? n : r(n), s = t.get(i);
1179
+ function vr(e, t, r, n) {
1180
+ var i = ni(n) ? n : r(n), s = t.get(i);
1165
1181
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1166
1182
  }
1167
- function br(e, t, r) {
1183
+ function _r(e, t, r) {
1168
1184
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1169
1185
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1170
1186
  }
1171
- function ft(e, t, r, n, i) {
1187
+ function ct(e, t, r, n, i) {
1172
1188
  return r.bind(t, e, n, i);
1173
1189
  }
1174
- function ti(e, t) {
1175
- var r = e.length === 1 ? gr : br;
1176
- return ft(e, this, r, t.cache.create(), t.serializer);
1190
+ function ii(e, t) {
1191
+ var r = e.length === 1 ? vr : _r;
1192
+ return ct(e, this, r, t.cache.create(), t.serializer);
1177
1193
  }
1178
- function ri(e, t) {
1179
- return ft(e, this, br, t.cache.create(), t.serializer);
1194
+ function si(e, t) {
1195
+ return ct(e, this, _r, t.cache.create(), t.serializer);
1180
1196
  }
1181
- function ni(e, t) {
1182
- return ft(e, this, gr, t.cache.create(), t.serializer);
1197
+ function oi(e, t) {
1198
+ return ct(e, this, vr, t.cache.create(), t.serializer);
1183
1199
  }
1184
- var ii = function() {
1200
+ var ai = function() {
1185
1201
  return JSON.stringify(arguments);
1186
- }, si = (
1187
- /** @class */
1188
- function() {
1189
- function e() {
1190
- this.cache = /* @__PURE__ */ Object.create(null);
1191
- }
1192
- return e.prototype.get = function(t) {
1193
- return this.cache[t];
1194
- }, e.prototype.set = function(t, r) {
1195
- this.cache[t] = r;
1196
- }, e;
1197
- }()
1198
- ), oi = {
1202
+ };
1203
+ function mt() {
1204
+ this.cache = /* @__PURE__ */ Object.create(null);
1205
+ }
1206
+ mt.prototype.get = function(e) {
1207
+ return this.cache[e];
1208
+ };
1209
+ mt.prototype.set = function(e, t) {
1210
+ this.cache[e] = t;
1211
+ };
1212
+ var ui = {
1199
1213
  create: function() {
1200
- return new si();
1214
+ return new mt();
1201
1215
  }
1202
- }, Xe = {
1203
- variadic: ri,
1204
- monadic: ni
1216
+ }, We = {
1217
+ variadic: si,
1218
+ monadic: oi
1205
1219
  }, v;
1206
1220
  (function(e) {
1207
1221
  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";
@@ -1214,43 +1228,43 @@ var ne;
1214
1228
  (function(e) {
1215
1229
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1216
1230
  })(ne || (ne = {}));
1217
- function Ut(e) {
1231
+ function Gt(e) {
1218
1232
  return e.type === T.literal;
1219
1233
  }
1220
- function ai(e) {
1234
+ function li(e) {
1221
1235
  return e.type === T.argument;
1222
1236
  }
1223
- function yr(e) {
1237
+ function Er(e) {
1224
1238
  return e.type === T.number;
1225
1239
  }
1226
- function vr(e) {
1240
+ function wr(e) {
1227
1241
  return e.type === T.date;
1228
1242
  }
1229
- function _r(e) {
1243
+ function Sr(e) {
1230
1244
  return e.type === T.time;
1231
1245
  }
1232
- function Er(e) {
1246
+ function xr(e) {
1233
1247
  return e.type === T.select;
1234
1248
  }
1235
- function wr(e) {
1249
+ function Tr(e) {
1236
1250
  return e.type === T.plural;
1237
1251
  }
1238
- function ui(e) {
1252
+ function hi(e) {
1239
1253
  return e.type === T.pound;
1240
1254
  }
1241
- function xr(e) {
1255
+ function Hr(e) {
1242
1256
  return e.type === T.tag;
1243
1257
  }
1244
- function Sr(e) {
1258
+ function Br(e) {
1245
1259
  return !!(e && typeof e == "object" && e.type === ne.number);
1246
1260
  }
1247
- function rt(e) {
1261
+ function nt(e) {
1248
1262
  return !!(e && typeof e == "object" && e.type === ne.dateTime);
1249
1263
  }
1250
- var Tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
1251
- function hi(e) {
1264
+ var Ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1265
+ function ci(e) {
1252
1266
  var t = {};
1253
- return e.replace(li, function(r) {
1267
+ return e.replace(fi, function(r) {
1254
1268
  var n = r.length;
1255
1269
  switch (r[0]) {
1256
1270
  case "G":
@@ -1339,12 +1353,12 @@ function hi(e) {
1339
1353
  return "";
1340
1354
  }), t;
1341
1355
  }
1342
- var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
- function ci(e) {
1356
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
+ function pi(e) {
1344
1358
  if (e.length === 0)
1345
1359
  throw new Error("Number skeleton cannot be empty");
1346
- for (var t = e.split(fi).filter(function(d) {
1347
- return d.length > 0;
1360
+ for (var t = e.split(mi).filter(function(p) {
1361
+ return p.length > 0;
1348
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1349
1363
  var s = i[n], o = s.split("/");
1350
1364
  if (o.length === 0)
@@ -1358,17 +1372,17 @@ function ci(e) {
1358
1372
  }
1359
1373
  return r;
1360
1374
  }
1361
- function mi(e) {
1375
+ function di(e) {
1362
1376
  return e.replace(/^(.*?)-/, "");
1363
1377
  }
1364
- var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Br = /^(0+)$/;
1365
- function Gt(e) {
1378
+ var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1379
+ function $t(e) {
1366
1380
  var t = {};
1367
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, i) {
1381
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pr, function(r, n, i) {
1368
1382
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1369
1383
  }), t;
1370
1384
  }
1371
- function Ar(e) {
1385
+ function Cr(e) {
1372
1386
  switch (e) {
1373
1387
  case "sign-auto":
1374
1388
  return {
@@ -1408,7 +1422,7 @@ function Ar(e) {
1408
1422
  };
1409
1423
  }
1410
1424
  }
1411
- function pi(e) {
1425
+ function bi(e) {
1412
1426
  var t;
1413
1427
  if (e[0] === "E" && e[1] === "E" ? (t = {
1414
1428
  notation: "engineering"
@@ -1416,17 +1430,17 @@ function pi(e) {
1416
1430
  notation: "scientific"
1417
1431
  }, e = e.slice(1)), t) {
1418
1432
  var r = e.slice(0, 2);
1419
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Br.test(e))
1433
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1420
1434
  throw new Error("Malformed concise eng/scientific notation");
1421
1435
  t.minimumIntegerDigits = e.length;
1422
1436
  }
1423
1437
  return t;
1424
1438
  }
1425
- function jt(e) {
1426
- var t = {}, r = Ar(e);
1439
+ function Vt(e) {
1440
+ var t = {}, r = Cr(e);
1427
1441
  return r || t;
1428
1442
  }
1429
- function gi(e) {
1443
+ function yi(e) {
1430
1444
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1431
1445
  var i = n[r];
1432
1446
  switch (i.stem) {
@@ -1450,7 +1464,7 @@ function gi(e) {
1450
1464
  continue;
1451
1465
  case "measure-unit":
1452
1466
  case "unit":
1453
- t.style = "unit", t.unit = mi(i.options[0]);
1467
+ t.style = "unit", t.unit = di(i.options[0]);
1454
1468
  continue;
1455
1469
  case "compact-short":
1456
1470
  case "K":
@@ -1462,12 +1476,12 @@ function gi(e) {
1462
1476
  continue;
1463
1477
  case "scientific":
1464
1478
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1465
- return w(w({}, h), jt(l));
1479
+ return w(w({}, h), Vt(l));
1466
1480
  }, {}));
1467
1481
  continue;
1468
1482
  case "engineering":
1469
1483
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1470
- return w(w({}, h), jt(l));
1484
+ return w(w({}, h), Vt(l));
1471
1485
  }, {}));
1472
1486
  continue;
1473
1487
  case "notation-simple":
@@ -1512,11 +1526,11 @@ function gi(e) {
1512
1526
  case "integer-width":
1513
1527
  if (i.options.length > 1)
1514
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1515
- i.options[0].replace(di, function(h, l, u, c, d, y) {
1529
+ i.options[0].replace(gi, function(h, l, u, c, p, y) {
1516
1530
  if (l)
1517
1531
  t.minimumIntegerDigits = u.length;
1518
1532
  else {
1519
- if (c && d)
1533
+ if (c && p)
1520
1534
  throw new Error("We currently do not support maximum integer digits");
1521
1535
  if (y)
1522
1536
  throw new Error("We currently do not support exact integer digits");
@@ -1525,27 +1539,27 @@ function gi(e) {
1525
1539
  });
1526
1540
  continue;
1527
1541
  }
1528
- if (Br.test(i.stem)) {
1542
+ if (Or.test(i.stem)) {
1529
1543
  t.minimumIntegerDigits = i.stem.length;
1530
1544
  continue;
1531
1545
  }
1532
- if (kt.test(i.stem)) {
1546
+ if (jt.test(i.stem)) {
1533
1547
  if (i.options.length > 1)
1534
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1535
- i.stem.replace(kt, function(h, l, u, c, d, y) {
1536
- return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1549
+ i.stem.replace(jt, function(h, l, u, c, p, y) {
1550
+ return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1537
1551
  });
1538
1552
  var s = i.options[0];
1539
- s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Gt(s)));
1553
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), $t(s)));
1540
1554
  continue;
1541
1555
  }
1542
- if (Hr.test(i.stem)) {
1543
- t = w(w({}, t), Gt(i.stem));
1556
+ if (Pr.test(i.stem)) {
1557
+ t = w(w({}, t), $t(i.stem));
1544
1558
  continue;
1545
1559
  }
1546
- var o = Ar(i.stem);
1560
+ var o = Cr(i.stem);
1547
1561
  o && (t = w(w({}, t), o));
1548
- var a = pi(i.stem);
1562
+ var a = bi(i.stem);
1549
1563
  a && (t = w(w({}, t), a));
1550
1564
  }
1551
1565
  return t;
@@ -2965,13 +2979,13 @@ var Te = {
2965
2979
  "h"
2966
2980
  ]
2967
2981
  };
2968
- function bi(e, t) {
2982
+ function vi(e, t) {
2969
2983
  for (var r = "", n = 0; n < e.length; n++) {
2970
2984
  var i = e.charAt(n);
2971
2985
  if (i === "j") {
2972
2986
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2973
2987
  s++, n++;
2974
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = yi(t);
2988
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = _i(t);
2975
2989
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2976
2990
  r += h;
2977
2991
  for (; o-- > 0; )
@@ -2981,7 +2995,7 @@ function bi(e, t) {
2981
2995
  }
2982
2996
  return r;
2983
2997
  }
2984
- function yi(e) {
2998
+ function _i(e) {
2985
2999
  var t = e.hourCycle;
2986
3000
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2987
3001
  e.hourCycles && // @ts-ignore
@@ -3003,20 +3017,20 @@ function yi(e) {
3003
3017
  var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
3004
3018
  return i[0];
3005
3019
  }
3006
- var We, vi = new RegExp("^".concat(Tr.source, "*")), _i = new RegExp("".concat(Tr.source, "*$"));
3020
+ var ze, Ei = new RegExp("^".concat(Ar.source, "*")), wi = new RegExp("".concat(Ar.source, "*$"));
3007
3021
  function _(e, t) {
3008
3022
  return { start: e, end: t };
3009
3023
  }
3010
- var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, xi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Ai = Bi ? Number.isSafeInteger : function(e) {
3024
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Oi = Pi ? Number.isSafeInteger : function(e) {
3011
3025
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3012
- }, nt = !0;
3026
+ }, it = !0;
3013
3027
  try {
3014
- var Pi = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
- nt = ((We = Pi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3028
+ var Ci = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
+ it = ((ze = Ci.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
3016
3030
  } catch {
3017
- nt = !1;
3031
+ it = !1;
3018
3032
  }
3019
- var $t = Ei ? (
3033
+ var Xt = Si ? (
3020
3034
  // Native
3021
3035
  function(t, r, n) {
3022
3036
  return t.startsWith(r, n);
@@ -3026,7 +3040,7 @@ var $t = Ei ? (
3026
3040
  function(t, r, n) {
3027
3041
  return t.slice(n, n + r.length) === r;
3028
3042
  }
3029
- ), it = wi ? String.fromCodePoint : (
3043
+ ), st = xi ? String.fromCodePoint : (
3030
3044
  // IE11
3031
3045
  function() {
3032
3046
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3038,9 +3052,9 @@ var $t = Ei ? (
3038
3052
  }
3039
3053
  return n;
3040
3054
  }
3041
- ), Vt = (
3055
+ ), Wt = (
3042
3056
  // native
3043
- xi ? Object.fromEntries : (
3057
+ Ti ? Object.fromEntries : (
3044
3058
  // Ponyfill
3045
3059
  function(t) {
3046
3060
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3050,7 +3064,7 @@ var $t = Ei ? (
3050
3064
  return r;
3051
3065
  }
3052
3066
  )
3053
- ), Pr = Si ? (
3067
+ ), Ir = Hi ? (
3054
3068
  // Native
3055
3069
  function(t, r) {
3056
3070
  return t.codePointAt(r);
@@ -3064,7 +3078,7 @@ var $t = Ei ? (
3064
3078
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3065
3079
  }
3066
3080
  }
3067
- ), Oi = Ti ? (
3081
+ ), Ii = Bi ? (
3068
3082
  // Native
3069
3083
  function(t) {
3070
3084
  return t.trimStart();
@@ -3072,9 +3086,9 @@ var $t = Ei ? (
3072
3086
  ) : (
3073
3087
  // Ponyfill
3074
3088
  function(t) {
3075
- return t.replace(vi, "");
3089
+ return t.replace(Ei, "");
3076
3090
  }
3077
- ), Ci = Hi ? (
3091
+ ), Li = Ai ? (
3078
3092
  // Native
3079
3093
  function(t) {
3080
3094
  return t.trimEnd();
@@ -3082,32 +3096,32 @@ var $t = Ei ? (
3082
3096
  ) : (
3083
3097
  // Ponyfill
3084
3098
  function(t) {
3085
- return t.replace(_i, "");
3099
+ return t.replace(wi, "");
3086
3100
  }
3087
3101
  );
3088
- function Or(e, t) {
3102
+ function Lr(e, t) {
3089
3103
  return new RegExp(e, t);
3090
3104
  }
3091
- var st;
3092
- if (nt) {
3093
- var Xt = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
- st = function(t, r) {
3105
+ var ot;
3106
+ if (it) {
3107
+ var zt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
+ ot = function(t, r) {
3095
3109
  var n;
3096
- Xt.lastIndex = r;
3097
- var i = Xt.exec(t);
3110
+ zt.lastIndex = r;
3111
+ var i = zt.exec(t);
3098
3112
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3099
3113
  };
3100
3114
  } else
3101
- st = function(t, r) {
3115
+ ot = function(t, r) {
3102
3116
  for (var n = []; ; ) {
3103
- var i = Pr(t, r);
3104
- if (i === void 0 || Cr(i) || Ni(i))
3117
+ var i = Ir(t, r);
3118
+ if (i === void 0 || Rr(i) || Di(i))
3105
3119
  break;
3106
3120
  n.push(i), r += i >= 65536 ? 2 : 1;
3107
3121
  }
3108
- return it.apply(void 0, n);
3122
+ return st.apply(void 0, n);
3109
3123
  };
3110
- var Ii = (
3124
+ var Ri = (
3111
3125
  /** @class */
3112
3126
  function() {
3113
3127
  function e(t, r) {
@@ -3138,7 +3152,7 @@ var Ii = (
3138
3152
  if (n)
3139
3153
  break;
3140
3154
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3141
- } else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3155
+ } else if (s === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3142
3156
  var o = this.parseTag(t, r);
3143
3157
  if (o.err)
3144
3158
  return o;
@@ -3171,7 +3185,7 @@ var Ii = (
3171
3185
  return s;
3172
3186
  var o = s.val, a = this.clonePosition();
3173
3187
  if (this.bumpIf("</")) {
3174
- if (this.isEOF() || !ot(this.char()))
3188
+ if (this.isEOF() || !at(this.char()))
3175
3189
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3176
3190
  var h = this.clonePosition(), l = this.parseTagName();
3177
3191
  return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3189,7 +3203,7 @@ var Ii = (
3189
3203
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3190
3204
  }, e.prototype.parseTagName = function() {
3191
3205
  var t = this.offset();
3192
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
3206
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
3193
3207
  this.bump();
3194
3208
  return this.message.slice(t, this.offset());
3195
3209
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3218,7 +3232,7 @@ var Ii = (
3218
3232
  };
3219
3233
  }, e.prototype.tryParseLeftAngleBracket = function() {
3220
3234
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3221
- !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
+ !Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3222
3236
  }, e.prototype.tryParseQuote = function(t) {
3223
3237
  if (this.isEOF() || this.char() !== 39)
3224
3238
  return null;
@@ -3252,12 +3266,12 @@ var Ii = (
3252
3266
  r.push(n);
3253
3267
  this.bump();
3254
3268
  }
3255
- return it.apply(void 0, r);
3269
+ return st.apply(void 0, r);
3256
3270
  }, e.prototype.tryParseUnquoted = function(t, r) {
3257
3271
  if (this.isEOF())
3258
3272
  return null;
3259
3273
  var n = this.char();
3260
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
3274
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
3261
3275
  }, e.prototype.parseArgument = function(t, r) {
3262
3276
  var n = this.clonePosition();
3263
3277
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3286,7 +3300,7 @@ var Ii = (
3286
3300
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3287
3301
  }
3288
3302
  }, e.prototype.parseIdentifierIfPossible = function() {
3289
- var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3303
+ var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
3290
3304
  this.bumpTo(i);
3291
3305
  var s = this.clonePosition(), o = _(t, s);
3292
3306
  return { value: n, location: o };
@@ -3305,37 +3319,37 @@ var Ii = (
3305
3319
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3306
3320
  if (c.err)
3307
3321
  return c;
3308
- var d = Ci(c.val);
3309
- if (d.length === 0)
3322
+ var p = Li(c.val);
3323
+ if (p.length === 0)
3310
3324
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3311
3325
  var y = _(u, this.clonePosition());
3312
- l = { style: d, styleLocation: y };
3326
+ l = { style: p, styleLocation: y };
3313
3327
  }
3314
3328
  var g = this.tryParseArgumentClose(i);
3315
3329
  if (g.err)
3316
3330
  return g;
3317
- var p = _(i, this.clonePosition());
3318
- if (l && $t(l?.style, "::", 0)) {
3319
- var b = Oi(l.style.slice(2));
3331
+ var d = _(i, this.clonePosition());
3332
+ if (l && Xt(l?.style, "::", 0)) {
3333
+ var b = Ii(l.style.slice(2));
3320
3334
  if (a === "number") {
3321
3335
  var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
3322
3336
  return c.err ? c : {
3323
- val: { type: T.number, value: n, location: p, style: c.val },
3337
+ val: { type: T.number, value: n, location: d, style: c.val },
3324
3338
  err: null
3325
3339
  };
3326
3340
  } else {
3327
3341
  if (b.length === 0)
3328
- return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3329
- var x = b;
3330
- this.locale && (x = bi(b, this.locale));
3331
- var d = {
3342
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3343
+ var S = b;
3344
+ this.locale && (S = vi(b, this.locale));
3345
+ var p = {
3332
3346
  type: ne.dateTime,
3333
- pattern: x,
3347
+ pattern: S,
3334
3348
  location: l.styleLocation,
3335
- parsedOptions: this.shouldParseSkeletons ? hi(x) : {}
3349
+ parsedOptions: this.shouldParseSkeletons ? ci(S) : {}
3336
3350
  }, O = a === "date" ? T.date : T.time;
3337
3351
  return {
3338
- val: { type: O, value: n, location: p, style: d },
3352
+ val: { type: O, value: n, location: d, style: p },
3339
3353
  err: null
3340
3354
  };
3341
3355
  }
@@ -3344,7 +3358,7 @@ var Ii = (
3344
3358
  val: {
3345
3359
  type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3346
3360
  value: n,
3347
- location: p,
3361
+ location: d,
3348
3362
  style: (s = l?.style) !== null && s !== void 0 ? s : null
3349
3363
  },
3350
3364
  err: null
@@ -3357,7 +3371,7 @@ var Ii = (
3357
3371
  if (this.bumpSpace(), !this.bumpIf(","))
3358
3372
  return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
3359
3373
  this.bumpSpace();
3360
- var R = this.parseIdentifierIfPossible(), N = 0;
3374
+ var R = this.parseIdentifierIfPossible(), M = 0;
3361
3375
  if (a !== "select" && R.value === "offset") {
3362
3376
  if (!this.bumpIf(":"))
3363
3377
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
@@ -3365,7 +3379,7 @@ var Ii = (
3365
3379
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3366
3380
  if (c.err)
3367
3381
  return c;
3368
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3382
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = c.val;
3369
3383
  }
3370
3384
  var C = this.tryParsePluralOrSelectOptions(t, a, r, R);
3371
3385
  if (C.err)
@@ -3378,7 +3392,7 @@ var Ii = (
3378
3392
  val: {
3379
3393
  type: T.select,
3380
3394
  value: n,
3381
- options: Vt(C.val),
3395
+ options: Wt(C.val),
3382
3396
  location: D
3383
3397
  },
3384
3398
  err: null
@@ -3386,8 +3400,8 @@ var Ii = (
3386
3400
  val: {
3387
3401
  type: T.plural,
3388
3402
  value: n,
3389
- options: Vt(C.val),
3390
- offset: N,
3403
+ options: Wt(C.val),
3404
+ offset: M,
3391
3405
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3392
3406
  location: D
3393
3407
  },
@@ -3437,7 +3451,7 @@ var Ii = (
3437
3451
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3438
3452
  var n = [];
3439
3453
  try {
3440
- n = ci(t);
3454
+ n = pi(t);
3441
3455
  } catch {
3442
3456
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3443
3457
  }
@@ -3446,7 +3460,7 @@ var Ii = (
3446
3460
  type: ne.number,
3447
3461
  tokens: n,
3448
3462
  location: r,
3449
- parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3463
+ parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3450
3464
  },
3451
3465
  err: null
3452
3466
  };
@@ -3455,9 +3469,9 @@ var Ii = (
3455
3469
  if (l.length === 0) {
3456
3470
  var c = this.clonePosition();
3457
3471
  if (r !== "select" && this.bumpIf("=")) {
3458
- var d = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3459
- if (d.err)
3460
- return d;
3472
+ var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3473
+ if (p.err)
3474
+ return p;
3461
3475
  u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3462
3476
  } else
3463
3477
  break;
@@ -3471,9 +3485,9 @@ var Ii = (
3471
3485
  var g = this.parseMessage(t + 1, r, n);
3472
3486
  if (g.err)
3473
3487
  return g;
3474
- var p = this.tryParseArgumentClose(y);
3475
- if (p.err)
3476
- return p;
3488
+ var d = this.tryParseArgumentClose(y);
3489
+ if (d.err)
3490
+ return d;
3477
3491
  a.push([
3478
3492
  l,
3479
3493
  {
@@ -3494,7 +3508,7 @@ var Ii = (
3494
3508
  break;
3495
3509
  }
3496
3510
  var h = _(i, this.clonePosition());
3497
- return s ? (o *= n, Ai(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3511
+ return s ? (o *= n, Oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3498
3512
  }, e.prototype.offset = function() {
3499
3513
  return this.position.offset;
3500
3514
  }, e.prototype.isEOF = function() {
@@ -3509,7 +3523,7 @@ var Ii = (
3509
3523
  var t = this.position.offset;
3510
3524
  if (t >= this.message.length)
3511
3525
  throw Error("out of bound");
3512
- var r = Pr(this.message, t);
3526
+ var r = Ir(this.message, t);
3513
3527
  if (r === void 0)
3514
3528
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3515
3529
  return r;
@@ -3528,7 +3542,7 @@ var Ii = (
3528
3542
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3529
3543
  }
3530
3544
  }, e.prototype.bumpIf = function(t) {
3531
- if ($t(this.message, t, this.offset())) {
3545
+ if (Xt(this.message, t, this.offset())) {
3532
3546
  for (var r = 0; r < t.length; r++)
3533
3547
  this.bump();
3534
3548
  return !0;
@@ -3550,7 +3564,7 @@ var Ii = (
3550
3564
  break;
3551
3565
  }
3552
3566
  }, e.prototype.bumpSpace = function() {
3553
- for (; !this.isEOF() && Cr(this.char()); )
3567
+ for (; !this.isEOF() && Rr(this.char()); )
3554
3568
  this.bump();
3555
3569
  }, e.prototype.peek = function() {
3556
3570
  if (this.isEOF())
@@ -3560,44 +3574,44 @@ var Ii = (
3560
3574
  }, e;
3561
3575
  }()
3562
3576
  );
3563
- function ot(e) {
3577
+ function at(e) {
3564
3578
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3565
3579
  }
3566
- function Li(e) {
3567
- return ot(e) || e === 47;
3580
+ function Mi(e) {
3581
+ return at(e) || e === 47;
3568
3582
  }
3569
- function Ri(e) {
3583
+ function Ni(e) {
3570
3584
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3571
3585
  }
3572
- function Cr(e) {
3586
+ function Rr(e) {
3573
3587
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3574
3588
  }
3575
- function Ni(e) {
3589
+ function Di(e) {
3576
3590
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3577
3591
  }
3578
- function at(e) {
3592
+ function ut(e) {
3579
3593
  e.forEach(function(t) {
3580
- if (delete t.location, Er(t) || wr(t))
3594
+ if (delete t.location, xr(t) || Tr(t))
3581
3595
  for (var r in t.options)
3582
- delete t.options[r].location, at(t.options[r].value);
3596
+ delete t.options[r].location, ut(t.options[r].value);
3583
3597
  else
3584
- yr(t) && Sr(t.style) || (vr(t) || _r(t)) && rt(t.style) ? delete t.style.location : xr(t) && at(t.children);
3598
+ Er(t) && Br(t.style) || (wr(t) || Sr(t)) && nt(t.style) ? delete t.style.location : Hr(t) && ut(t.children);
3585
3599
  });
3586
3600
  }
3587
- function Mi(e, t) {
3601
+ function Fi(e, t) {
3588
3602
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
- var r = new Ii(e, t).parse();
3603
+ var r = new Ri(e, t).parse();
3590
3604
  if (r.err) {
3591
3605
  var n = SyntaxError(v[r.err.kind]);
3592
3606
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3593
3607
  }
3594
- return t?.captureLocation || at(r.val), r.val;
3608
+ return t?.captureLocation || ut(r.val), r.val;
3595
3609
  }
3596
3610
  var ie;
3597
3611
  (function(e) {
3598
3612
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3599
3613
  })(ie || (ie = {}));
3600
- var Ne = (
3614
+ var Me = (
3601
3615
  /** @class */
3602
3616
  function(e) {
3603
3617
  X(t, e);
@@ -3609,7 +3623,7 @@ var Ne = (
3609
3623
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3610
3624
  }, t;
3611
3625
  }(Error)
3612
- ), Wt = (
3626
+ ), Zt = (
3613
3627
  /** @class */
3614
3628
  function(e) {
3615
3629
  X(t, e);
@@ -3617,8 +3631,8 @@ var Ne = (
3617
3631
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3618
3632
  }
3619
3633
  return t;
3620
- }(Ne)
3621
- ), Di = (
3634
+ }(Me)
3635
+ ), Ui = (
3622
3636
  /** @class */
3623
3637
  function(e) {
3624
3638
  X(t, e);
@@ -3626,8 +3640,8 @@ var Ne = (
3626
3640
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3627
3641
  }
3628
3642
  return t;
3629
- }(Ne)
3630
- ), Fi = (
3643
+ }(Me)
3644
+ ), ki = (
3631
3645
  /** @class */
3632
3646
  function(e) {
3633
3647
  X(t, e);
@@ -3635,22 +3649,22 @@ var Ne = (
3635
3649
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3636
3650
  }
3637
3651
  return t;
3638
- }(Ne)
3652
+ }(Me)
3639
3653
  ), L;
3640
3654
  (function(e) {
3641
3655
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3642
3656
  })(L || (L = {}));
3643
- function Ui(e) {
3657
+ function Gi(e) {
3644
3658
  return e.length < 2 ? e : e.reduce(function(t, r) {
3645
3659
  var n = t[t.length - 1];
3646
3660
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3647
3661
  }, []);
3648
3662
  }
3649
- function ki(e) {
3663
+ function ji(e) {
3650
3664
  return typeof e == "function";
3651
3665
  }
3652
3666
  function Ae(e, t, r, n, i, s, o) {
3653
- if (e.length === 1 && Ut(e[0]))
3667
+ if (e.length === 1 && Gt(e[0]))
3654
3668
  return [
3655
3669
  {
3656
3670
  type: L.literal,
@@ -3659,14 +3673,14 @@ function Ae(e, t, r, n, i, s, o) {
3659
3673
  ];
3660
3674
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3661
3675
  var u = l[h];
3662
- if (Ut(u)) {
3676
+ if (Gt(u)) {
3663
3677
  a.push({
3664
3678
  type: L.literal,
3665
3679
  value: u.value
3666
3680
  });
3667
3681
  continue;
3668
3682
  }
3669
- if (ui(u)) {
3683
+ if (hi(u)) {
3670
3684
  typeof s == "number" && a.push({
3671
3685
  type: L.literal,
3672
3686
  value: r.getNumberFormat(t).format(s)
@@ -3675,89 +3689,89 @@ function Ae(e, t, r, n, i, s, o) {
3675
3689
  }
3676
3690
  var c = u.value;
3677
3691
  if (!(i && c in i))
3678
- throw new Fi(c, o);
3679
- var d = i[c];
3680
- if (ai(u)) {
3681
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3682
- type: typeof d == "string" ? L.literal : L.object,
3683
- value: d
3692
+ throw new ki(c, o);
3693
+ var p = i[c];
3694
+ if (li(u)) {
3695
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3696
+ type: typeof p == "string" ? L.literal : L.object,
3697
+ value: p
3684
3698
  });
3685
3699
  continue;
3686
3700
  }
3687
- if (vr(u)) {
3688
- var y = typeof u.style == "string" ? n.date[u.style] : rt(u.style) ? u.style.parsedOptions : void 0;
3701
+ if (wr(u)) {
3702
+ var y = typeof u.style == "string" ? n.date[u.style] : nt(u.style) ? u.style.parsedOptions : void 0;
3689
3703
  a.push({
3690
3704
  type: L.literal,
3691
- value: r.getDateTimeFormat(t, y).format(d)
3705
+ value: r.getDateTimeFormat(t, y).format(p)
3692
3706
  });
3693
3707
  continue;
3694
3708
  }
3695
- if (_r(u)) {
3696
- var y = typeof u.style == "string" ? n.time[u.style] : rt(u.style) ? u.style.parsedOptions : n.time.medium;
3709
+ if (Sr(u)) {
3710
+ var y = typeof u.style == "string" ? n.time[u.style] : nt(u.style) ? u.style.parsedOptions : n.time.medium;
3697
3711
  a.push({
3698
3712
  type: L.literal,
3699
- value: r.getDateTimeFormat(t, y).format(d)
3713
+ value: r.getDateTimeFormat(t, y).format(p)
3700
3714
  });
3701
3715
  continue;
3702
3716
  }
3703
- if (yr(u)) {
3704
- var y = typeof u.style == "string" ? n.number[u.style] : Sr(u.style) ? u.style.parsedOptions : void 0;
3705
- y && y.scale && (d = d * (y.scale || 1)), a.push({
3717
+ if (Er(u)) {
3718
+ var y = typeof u.style == "string" ? n.number[u.style] : Br(u.style) ? u.style.parsedOptions : void 0;
3719
+ y && y.scale && (p = p * (y.scale || 1)), a.push({
3706
3720
  type: L.literal,
3707
- value: r.getNumberFormat(t, y).format(d)
3721
+ value: r.getNumberFormat(t, y).format(p)
3708
3722
  });
3709
3723
  continue;
3710
3724
  }
3711
- if (xr(u)) {
3712
- var g = u.children, p = u.value, b = i[p];
3713
- if (!ki(b))
3714
- throw new Di(p, "function", o);
3715
- var x = Ae(g, t, r, n, i, s), O = b(x.map(function(N) {
3716
- return N.value;
3725
+ if (Hr(u)) {
3726
+ var g = u.children, d = u.value, b = i[d];
3727
+ if (!ji(b))
3728
+ throw new Ui(d, "function", o);
3729
+ var S = Ae(g, t, r, n, i, s), O = b(S.map(function(M) {
3730
+ return M.value;
3717
3731
  }));
3718
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
3732
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(M) {
3719
3733
  return {
3720
- type: typeof N == "string" ? L.literal : L.object,
3721
- value: N
3734
+ type: typeof M == "string" ? L.literal : L.object,
3735
+ value: M
3722
3736
  };
3723
3737
  }));
3724
3738
  }
3725
- if (Er(u)) {
3726
- var P = u.options[d] || u.options.other;
3739
+ if (xr(u)) {
3740
+ var P = u.options[p] || u.options.other;
3727
3741
  if (!P)
3728
- throw new Wt(u.value, d, Object.keys(u.options), o);
3742
+ throw new Zt(u.value, p, Object.keys(u.options), o);
3729
3743
  a.push.apply(a, Ae(P.value, t, r, n, i));
3730
3744
  continue;
3731
3745
  }
3732
- if (wr(u)) {
3733
- var P = u.options["=".concat(d)];
3746
+ if (Tr(u)) {
3747
+ var P = u.options["=".concat(p)];
3734
3748
  if (!P) {
3735
3749
  if (!Intl.PluralRules)
3736
- throw new Ne(`Intl.PluralRules is not available in this environment.
3750
+ throw new Me(`Intl.PluralRules is not available in this environment.
3737
3751
  Try polyfilling it using "@formatjs/intl-pluralrules"
3738
3752
  `, ie.MISSING_INTL_API, o);
3739
- var R = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3753
+ var R = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
3740
3754
  P = u.options[R] || u.options.other;
3741
3755
  }
3742
3756
  if (!P)
3743
- throw new Wt(u.value, d, Object.keys(u.options), o);
3744
- a.push.apply(a, Ae(P.value, t, r, n, i, d - (u.offset || 0)));
3757
+ throw new Zt(u.value, p, Object.keys(u.options), o);
3758
+ a.push.apply(a, Ae(P.value, t, r, n, i, p - (u.offset || 0)));
3745
3759
  continue;
3746
3760
  }
3747
3761
  }
3748
- return Ui(a);
3762
+ return Gi(a);
3749
3763
  }
3750
- function Gi(e, t) {
3764
+ function $i(e, t) {
3751
3765
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3752
3766
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3753
3767
  }, {})) : e;
3754
3768
  }
3755
- function ji(e, t) {
3769
+ function Vi(e, t) {
3756
3770
  return t ? Object.keys(e).reduce(function(r, n) {
3757
- return r[n] = Gi(e[n], t[n]), r;
3771
+ return r[n] = $i(e[n], t[n]), r;
3758
3772
  }, w({}, e)) : e;
3759
3773
  }
3760
- function ze(e) {
3774
+ function Ze(e) {
3761
3775
  return {
3762
3776
  create: function() {
3763
3777
  return {
@@ -3771,39 +3785,39 @@ function ze(e) {
3771
3785
  }
3772
3786
  };
3773
3787
  }
3774
- function $i(e) {
3788
+ function Xi(e) {
3775
3789
  return e === void 0 && (e = {
3776
3790
  number: {},
3777
3791
  dateTime: {},
3778
3792
  pluralRules: {}
3779
3793
  }), {
3780
- getNumberFormat: Ve(function() {
3794
+ getNumberFormat: Xe(function() {
3781
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3782
3796
  r[n] = arguments[n];
3783
3797
  return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3784
3798
  }, {
3785
- cache: ze(e.number),
3786
- strategy: Xe.variadic
3799
+ cache: Ze(e.number),
3800
+ strategy: We.variadic
3787
3801
  }),
3788
- getDateTimeFormat: Ve(function() {
3802
+ getDateTimeFormat: Xe(function() {
3789
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3790
3804
  r[n] = arguments[n];
3791
3805
  return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3792
3806
  }, {
3793
- cache: ze(e.dateTime),
3794
- strategy: Xe.variadic
3807
+ cache: Ze(e.dateTime),
3808
+ strategy: We.variadic
3795
3809
  }),
3796
- getPluralRules: Ve(function() {
3810
+ getPluralRules: Xe(function() {
3797
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3798
3812
  r[n] = arguments[n];
3799
3813
  return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3800
3814
  }, {
3801
- cache: ze(e.pluralRules),
3802
- strategy: Xe.variadic
3815
+ cache: Ze(e.pluralRules),
3816
+ strategy: We.variadic
3803
3817
  })
3804
3818
  };
3805
3819
  }
3806
- var Vi = (
3820
+ var Wi = (
3807
3821
  /** @class */
3808
3822
  function() {
3809
3823
  function e(t, r, n, i) {
@@ -3817,8 +3831,8 @@ var Vi = (
3817
3831
  var l = s.formatToParts(h);
3818
3832
  if (l.length === 1)
3819
3833
  return l[0].value;
3820
- var u = l.reduce(function(c, d) {
3821
- return !c.length || d.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3834
+ var u = l.reduce(function(c, p) {
3835
+ return !c.length || p.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3822
3836
  }, []);
3823
3837
  return u.length <= 1 ? u[0] || "" : u;
3824
3838
  }, this.formatToParts = function(h) {
@@ -3835,13 +3849,13 @@ var Vi = (
3835
3849
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3836
3850
  var o = i || {};
3837
3851
  o.formatters;
3838
- var a = wn(o, ["formatters"]);
3852
+ var a = Tn(o, ["formatters"]);
3839
3853
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3840
3854
  } else
3841
3855
  this.ast = t;
3842
3856
  if (!Array.isArray(this.ast))
3843
3857
  throw new TypeError("A message must be provided as a String or AST.");
3844
- this.formats = ji(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
3858
+ this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3845
3859
  }
3846
3860
  return Object.defineProperty(e, "defaultLocale", {
3847
3861
  get: function() {
@@ -3854,7 +3868,7 @@ var Vi = (
3854
3868
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3855
3869
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3856
3870
  }
3857
- }, e.__parse = Mi, e.formats = {
3871
+ }, e.__parse = Fi, e.formats = {
3858
3872
  number: {
3859
3873
  integer: {
3860
3874
  maximumFractionDigits: 0
@@ -3915,7 +3929,7 @@ var Vi = (
3915
3929
  }, e;
3916
3930
  }()
3917
3931
  );
3918
- function Xi(e, t) {
3932
+ function zi(e, t) {
3919
3933
  if (t == null)
3920
3934
  return;
3921
3935
  if (t in e)
@@ -3936,92 +3950,92 @@ function Xi(e, t) {
3936
3950
  n = void 0;
3937
3951
  return n;
3938
3952
  }
3939
- const z = {}, Wi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Ir = (e, t) => {
3953
+ const z = {}, Zi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
3940
3954
  if (t == null)
3941
3955
  return;
3942
3956
  if (t in z && e in z[t])
3943
3957
  return z[t][e];
3944
- const r = Me(t);
3958
+ const r = Ne(t);
3945
3959
  for (let n = 0; n < r.length; n++) {
3946
- const i = r[n], s = Zi(i, e);
3960
+ const i = r[n], s = qi(i, e);
3947
3961
  if (s)
3948
- return Wi(e, t, s);
3962
+ return Zi(e, t, s);
3949
3963
  }
3950
3964
  };
3951
- let ct;
3965
+ let pt;
3952
3966
  const ae = Re({});
3953
- function zi(e) {
3954
- return ct[e] || null;
3967
+ function Ji(e) {
3968
+ return pt[e] || null;
3955
3969
  }
3956
- function Lr(e) {
3957
- return e in ct;
3970
+ function Nr(e) {
3971
+ return e in pt;
3958
3972
  }
3959
- function Zi(e, t) {
3960
- if (!Lr(e))
3973
+ function qi(e, t) {
3974
+ if (!Nr(e))
3961
3975
  return null;
3962
- const r = zi(e);
3963
- return Xi(r, t);
3976
+ const r = Ji(e);
3977
+ return zi(r, t);
3964
3978
  }
3965
- function Ji(e) {
3979
+ function Qi(e) {
3966
3980
  if (e == null)
3967
3981
  return;
3968
- const t = Me(e);
3982
+ const t = Ne(e);
3969
3983
  for (let r = 0; r < t.length; r++) {
3970
3984
  const n = t[r];
3971
- if (Lr(n))
3985
+ if (Nr(n))
3972
3986
  return n;
3973
3987
  }
3974
3988
  }
3975
- function Rr(e, ...t) {
3976
- delete z[e], ae.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
3989
+ function Dr(e, ...t) {
3990
+ delete z[e], ae.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3977
3991
  }
3978
3992
  oe(
3979
3993
  [ae],
3980
3994
  ([e]) => Object.keys(e)
3981
3995
  );
3982
- ae.subscribe((e) => ct = e);
3996
+ ae.subscribe((e) => pt = e);
3983
3997
  const Pe = {};
3984
- function qi(e, t) {
3998
+ function Yi(e, t) {
3985
3999
  Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
3986
4000
  }
3987
- function Nr(e) {
4001
+ function Fr(e) {
3988
4002
  return Pe[e];
3989
4003
  }
3990
- function Qi(e) {
3991
- return Me(e).map((t) => {
3992
- const r = Nr(t);
4004
+ function Ki(e) {
4005
+ return Ne(e).map((t) => {
4006
+ const r = Fr(t);
3993
4007
  return [t, r ? [...r] : []];
3994
4008
  }).filter(([, t]) => t.length > 0);
3995
4009
  }
3996
- function ut(e) {
3997
- return e == null ? !1 : Me(e).some(
4010
+ function lt(e) {
4011
+ return e == null ? !1 : Ne(e).some(
3998
4012
  (t) => {
3999
4013
  var r;
4000
- return (r = Nr(t)) == null ? void 0 : r.size;
4014
+ return (r = Fr(t)) == null ? void 0 : r.size;
4001
4015
  }
4002
4016
  );
4003
4017
  }
4004
- function Yi(e, t) {
4018
+ function es(e, t) {
4005
4019
  return Promise.all(
4006
- t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
4007
- ).then((n) => Rr(e, ...n));
4020
+ t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
4021
+ ).then((n) => Dr(e, ...n));
4008
4022
  }
4009
4023
  const fe = {};
4010
- function Mr(e) {
4011
- if (!ut(e))
4024
+ function Ur(e) {
4025
+ if (!lt(e))
4012
4026
  return e in fe ? fe[e] : Promise.resolve();
4013
- const t = Qi(e);
4027
+ const t = Ki(e);
4014
4028
  return fe[e] = Promise.all(
4015
4029
  t.map(
4016
- ([r, n]) => Yi(r, n)
4030
+ ([r, n]) => es(r, n)
4017
4031
  )
4018
4032
  ).then(() => {
4019
- if (ut(e))
4020
- return Mr(e);
4033
+ if (lt(e))
4034
+ return Ur(e);
4021
4035
  delete fe[e];
4022
4036
  }), fe[e];
4023
4037
  }
4024
- const Ki = {
4038
+ const ts = {
4025
4039
  number: {
4026
4040
  scientific: { notation: "scientific" },
4027
4041
  engineering: { notation: "engineering" },
@@ -4050,57 +4064,57 @@ const Ki = {
4050
4064
  timeZoneName: "short"
4051
4065
  }
4052
4066
  }
4053
- }, es = {
4067
+ }, rs = {
4054
4068
  fallbackLocale: null,
4055
4069
  loadingDelay: 200,
4056
- formats: Ki,
4070
+ formats: ts,
4057
4071
  warnOnMissingMessages: !0,
4058
4072
  handleMissingMessage: void 0,
4059
4073
  ignoreTag: !0
4060
- }, ts = es;
4074
+ }, ns = rs;
4061
4075
  function se() {
4062
- return ts;
4063
- }
4064
- const Ze = Re(!1);
4065
- var rs = Object.defineProperty, ns = Object.defineProperties, is = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, ss = Object.prototype.hasOwnProperty, os = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? rs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, as = (e, t) => {
4066
- for (var r in t)
4067
- ss.call(t, r) && Zt(e, r, t[r]);
4068
- if (zt)
4069
- for (var r of zt(t))
4070
- os.call(t, r) && Zt(e, r, t[r]);
4076
+ return ns;
4077
+ }
4078
+ const Je = Re(!1);
4079
+ var is = Object.defineProperty, ss = Object.defineProperties, os = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, as = Object.prototype.hasOwnProperty, us = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ls = (e, t) => {
4080
+ for (var r in t || (t = {}))
4081
+ as.call(t, r) && qt(e, r, t[r]);
4082
+ if (Jt)
4083
+ for (var r of Jt(t))
4084
+ us.call(t, r) && qt(e, r, t[r]);
4071
4085
  return e;
4072
- }, us = (e, t) => ns(e, is(t));
4073
- let lt;
4086
+ }, hs = (e, t) => ss(e, os(t));
4087
+ let ht;
4074
4088
  const Ce = Re(null);
4075
- function Jt(e) {
4089
+ function Qt(e) {
4076
4090
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4077
4091
  }
4078
- function Me(e, t = se().fallbackLocale) {
4079
- const r = Jt(e);
4080
- return t ? [.../* @__PURE__ */ new Set([...r, ...Jt(t)])] : r;
4092
+ function Ne(e, t = se().fallbackLocale) {
4093
+ const r = Qt(e);
4094
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4081
4095
  }
4082
4096
  function J() {
4083
- return lt ?? void 0;
4097
+ return ht ?? void 0;
4084
4098
  }
4085
4099
  Ce.subscribe((e) => {
4086
- lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4100
+ ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4087
4101
  });
4088
- const ls = (e) => {
4089
- if (e && Ji(e) && ut(e)) {
4102
+ const fs = (e) => {
4103
+ if (e && Qi(e) && lt(e)) {
4090
4104
  const { loadingDelay: t } = se();
4091
4105
  let r;
4092
4106
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4093
- () => Ze.set(!0),
4107
+ () => Je.set(!0),
4094
4108
  t
4095
- ) : Ze.set(!0), Mr(e).then(() => {
4109
+ ) : Je.set(!0), Ur(e).then(() => {
4096
4110
  Ce.set(e);
4097
4111
  }).finally(() => {
4098
- clearTimeout(r), Ze.set(!1);
4112
+ clearTimeout(r), Je.set(!1);
4099
4113
  });
4100
4114
  }
4101
4115
  return Ce.set(e);
4102
- }, Z = us(as({}, Ce), {
4103
- set: ls
4116
+ }, Z = hs(ls({}, Ce), {
4117
+ set: fs
4104
4118
  }), De = (e) => {
4105
4119
  const t = /* @__PURE__ */ Object.create(null);
4106
4120
  return (n) => {
@@ -4108,77 +4122,77 @@ const ls = (e) => {
4108
4122
  return i in t ? t[i] : t[i] = e(n);
4109
4123
  };
4110
4124
  };
4111
- var hs = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? hs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4125
+ var cs = Object.defineProperty, Ie = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? cs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4112
4126
  for (var r in t || (t = {}))
4113
- Dr.call(t, r) && qt(e, r, t[r]);
4127
+ kr.call(t, r) && Yt(e, r, t[r]);
4114
4128
  if (Ie)
4115
4129
  for (var r of Ie(t))
4116
- Fr.call(t, r) && qt(e, r, t[r]);
4130
+ Gr.call(t, r) && Yt(e, r, t[r]);
4117
4131
  return e;
4118
4132
  }, ue = (e, t) => {
4119
4133
  var r = {};
4120
4134
  for (var n in e)
4121
- Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4135
+ kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4122
4136
  if (e != null && Ie)
4123
4137
  for (var n of Ie(e))
4124
- t.indexOf(n) < 0 && Fr.call(e, n) && (r[n] = e[n]);
4138
+ t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
4125
4139
  return r;
4126
4140
  };
4127
- const pe = (e, t) => {
4141
+ const de = (e, t) => {
4128
4142
  const { formats: r } = se();
4129
4143
  if (e in r && t in r[e])
4130
4144
  return r[e][t];
4131
4145
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4132
- }, fs = De(
4146
+ }, ms = De(
4133
4147
  (e) => {
4134
4148
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4135
4149
  if (r == null)
4136
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4137
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4151
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4138
4152
  }
4139
- ), cs = De(
4153
+ ), ps = De(
4140
4154
  (e) => {
4141
4155
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4142
4156
  if (r == null)
4143
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4144
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4158
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4145
4159
  }
4146
- ), ms = De(
4160
+ ), ds = De(
4147
4161
  (e) => {
4148
4162
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4149
4163
  if (r == null)
4150
4164
  throw new Error(
4151
4165
  '[svelte-i18n] A "locale" must be set to format time values'
4152
4166
  );
4153
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4167
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4154
4168
  }
4155
- ), ds = (e = {}) => {
4169
+ ), gs = (e = {}) => {
4156
4170
  var t = e, {
4157
4171
  locale: r = J()
4158
4172
  } = t, n = ue(t, [
4159
4173
  "locale"
4160
4174
  ]);
4161
- return fs(mt({ locale: r }, n));
4162
- }, ps = (e = {}) => {
4175
+ return ms(dt({ locale: r }, n));
4176
+ }, bs = (e = {}) => {
4163
4177
  var t = e, {
4164
4178
  locale: r = J()
4165
4179
  } = t, n = ue(t, [
4166
4180
  "locale"
4167
4181
  ]);
4168
- return cs(mt({ locale: r }, n));
4169
- }, gs = (e = {}) => {
4182
+ return ps(dt({ locale: r }, n));
4183
+ }, ys = (e = {}) => {
4170
4184
  var t = e, {
4171
4185
  locale: r = J()
4172
4186
  } = t, n = ue(t, [
4173
4187
  "locale"
4174
4188
  ]);
4175
- return ms(mt({ locale: r }, n));
4176
- }, bs = De(
4189
+ return ds(dt({ locale: r }, n));
4190
+ }, vs = De(
4177
4191
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4178
- (e, t = J()) => new Vi(e, t, se().formats, {
4192
+ (e, t = J()) => new Wi(e, t, se().formats, {
4179
4193
  ignoreTag: se().ignoreTag
4180
4194
  })
4181
- ), ys = (e, t = {}) => {
4195
+ ), _s = (e, t = {}) => {
4182
4196
  var r, n, i, s;
4183
4197
  let o = t;
4184
4198
  typeof e == "object" && (o = e, e = o.id);
@@ -4191,7 +4205,7 @@ const pe = (e, t) => {
4191
4205
  throw new Error(
4192
4206
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4193
4207
  );
4194
- let u = Ir(e, h);
4208
+ let u = Mr(e, h);
4195
4209
  if (!u)
4196
4210
  u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4197
4211
  else if (typeof u != "string")
@@ -4202,33 +4216,33 @@ const pe = (e, t) => {
4202
4216
  return u;
4203
4217
  let c = u;
4204
4218
  try {
4205
- c = bs(u, h).format(a);
4206
- } catch (d) {
4207
- d instanceof Error && console.warn(
4219
+ c = vs(u, h).format(a);
4220
+ } catch (p) {
4221
+ p instanceof Error && console.warn(
4208
4222
  `[svelte-i18n] Message "${e}" has syntax error:`,
4209
- d.message
4223
+ p.message
4210
4224
  );
4211
4225
  }
4212
4226
  return c;
4213
- }, vs = (e, t) => gs(t).format(e), _s = (e, t) => ps(t).format(e), Es = (e, t) => ds(t).format(e), ws = (e, t = J()) => Ir(e, t), xs = oe([Z, ae], () => ys);
4214
- oe([Z], () => vs);
4215
- oe([Z], () => _s);
4227
+ }, Es = (e, t) => ys(t).format(e), ws = (e, t) => bs(t).format(e), Ss = (e, t) => gs(t).format(e), xs = (e, t = J()) => Mr(e, t), Ts = oe([Z, ae], () => _s);
4216
4228
  oe([Z], () => Es);
4217
- oe([Z, ae], () => ws);
4218
- window.emWidgets = { topic: Mn };
4219
- const Qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4220
- function Ss({ withLocale: e, translations: t }) {
4229
+ oe([Z], () => ws);
4230
+ oe([Z], () => Ss);
4231
+ oe([Z, ae], () => xs);
4232
+ window.emWidgets = { topic: Un };
4233
+ const Kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4234
+ function Hs({ withLocale: e, translations: t }) {
4221
4235
  Z.subscribe((r) => {
4222
4236
  r == null && (ae.set(t), Z.set(e));
4223
4237
  });
4224
4238
  }
4225
- function Yt(e, t) {
4226
- Rr(e, t);
4239
+ function er(e, t) {
4240
+ Dr(e, t);
4227
4241
  }
4228
- function Ts(e) {
4242
+ function Bs(e) {
4229
4243
  Z.set(e);
4230
4244
  }
4231
- const Kt = {
4245
+ const tr = {
4232
4246
  en: {
4233
4247
  goToLoginButton: "Go To Login",
4234
4248
  error: "We encountered an issue. Please go to Login to receive your SMS code."
@@ -4274,13 +4288,13 @@ const Kt = {
4274
4288
  error: "We encountered an issue. Please go to Login to receive your SMS code."
4275
4289
  }
4276
4290
  };
4277
- function Hs(e, t) {
4291
+ function As(e, t) {
4278
4292
  if (e) {
4279
4293
  const r = document.createElement("style");
4280
4294
  r.innerHTML = t, e.appendChild(r);
4281
4295
  }
4282
4296
  }
4283
- function Bs(e, t) {
4297
+ function Ps(e, t) {
4284
4298
  const r = new URL(t);
4285
4299
  fetch(r.href).then((n) => n.text()).then((n) => {
4286
4300
  const i = document.createElement("style");
@@ -4289,7 +4303,7 @@ function Bs(e, t) {
4289
4303
  console.error("There was an error while trying to load client styling from URL", n);
4290
4304
  });
4291
4305
  }
4292
- function As(e, t, r) {
4306
+ function Os(e, t, r) {
4293
4307
  if (window.emMessageBus) {
4294
4308
  const n = document.createElement("style");
4295
4309
  window.emMessageBus.subscribe(t, (i) => {
@@ -4309,7 +4323,7 @@ if (typeof window < "u") {
4309
4323
  }
4310
4324
  };
4311
4325
  };
4312
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-BqlRLeii.js").then(({ default: t }) => {
4326
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-ChHWqbZT.js").then(({ default: t }) => {
4313
4327
  !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
4314
4328
  });
4315
4329
  }
@@ -4325,7 +4339,7 @@ if (typeof window < "u") {
4325
4339
  }
4326
4340
  };
4327
4341
  };
4328
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-DBnZ9YrY.js").then(({ default: t }) => {
4342
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-m-1TTcWc.js").then(({ default: t }) => {
4329
4343
  !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
4330
4344
  });
4331
4345
  }
@@ -4341,7 +4355,7 @@ if (typeof window < "u") {
4341
4355
  }
4342
4356
  };
4343
4357
  };
4344
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-CzA9W6SQ.js").then(({ default: t }) => {
4358
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-BWdiFMfP.js").then(({ default: t }) => {
4345
4359
  !customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
4346
4360
  });
4347
4361
  }
@@ -4357,85 +4371,85 @@ if (typeof window < "u") {
4357
4371
  }
4358
4372
  };
4359
4373
  };
4360
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-Cz9dvc1N.js").then(({ default: t }) => {
4374
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-7Ta2HmaS.js").then(({ default: t }) => {
4361
4375
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4362
4376
  });
4363
4377
  }
4364
- function Ps(e) {
4365
- Kr(e, "svelte-2vt9w2", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{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;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{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));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4378
+ function Cs(e) {
4379
+ rn(e, "svelte-2vt9w2", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{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;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{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));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4366
4380
  }
4367
- function Os(e) {
4381
+ function Is(e) {
4368
4382
  let t, r, n, i, s, o, a, h = (
4369
4383
  /*showRegisterStepOne*/
4370
4384
  (e[18] || /*showRegisterStepTwo*/
4371
4385
  e[19] || /*showRegisterStepThree*/
4372
- e[20]) && er(e)
4386
+ e[20]) && rr(e)
4373
4387
  ), l = (
4374
4388
  /*showRegisterStepOne*/
4375
- e[18] && tr(e)
4389
+ e[18] && nr(e)
4376
4390
  ), u = (
4377
4391
  /*showRegisterStepTwo*/
4378
- e[19] && rr(e)
4392
+ e[19] && ir(e)
4379
4393
  ), c = (
4380
4394
  /*showRegisterStepThree*/
4381
- e[20] && nr(e)
4395
+ e[20] && sr(e)
4382
4396
  );
4383
- function d(b, x) {
4397
+ function p(b, S) {
4384
4398
  if (
4385
4399
  /*smsverification*/
4386
4400
  b[7] && /*showSmsVerification*/
4387
4401
  b[21]
4388
4402
  )
4389
- return Is;
4403
+ return Rs;
4390
4404
  if (
4391
4405
  /*smsSendApiFailed*/
4392
4406
  b[31]
4393
4407
  )
4394
- return Cs;
4408
+ return Ls;
4395
4409
  }
4396
- let y = d(e), g = y && y(e), p = (
4410
+ let y = p(e), g = y && y(e), d = (
4397
4411
  /*showConfirmation*/
4398
- e[22] && ir(e)
4412
+ e[22] && or(e)
4399
4413
  );
4400
4414
  return {
4401
4415
  c() {
4402
- t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), p && p.c(), S(r, "class", "RegisterFormContainer " + /*isMobile*/
4403
- (e[35] ? "RegisterFormContainerMobile" : "")), S(t, "class", "RegisterFormWrapper");
4416
+ t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
4417
+ (e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
4404
4418
  },
4405
- m(b, x) {
4406
- F(b, t, x), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), p && p.m(r, null);
4419
+ m(b, S) {
4420
+ F(b, t, S), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
4407
4421
  },
4408
- p(b, x) {
4422
+ p(b, S) {
4409
4423
  /*showRegisterStepOne*/
4410
4424
  b[18] || /*showRegisterStepTwo*/
4411
4425
  b[19] || /*showRegisterStepThree*/
4412
- b[20] ? h ? h.p(b, x) : (h = er(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
4413
- b[18] ? l ? l.p(b, x) : (l = tr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
4414
- b[19] ? u ? u.p(b, x) : (u = rr(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
4415
- b[20] ? c ? c.p(b, x) : (c = nr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = d(b)) && g ? g.p(b, x) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4416
- b[22] ? p ? p.p(b, x) : (p = ir(b), p.c(), p.m(r, null)) : p && (p.d(1), p = null);
4426
+ b[20] ? h ? h.p(b, S) : (h = rr(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
4427
+ b[18] ? l ? l.p(b, S) : (l = nr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
4428
+ b[19] ? u ? u.p(b, S) : (u = ir(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
4429
+ b[20] ? c ? c.p(b, S) : (c = sr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4430
+ b[22] ? d ? d.p(b, S) : (d = or(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4417
4431
  },
4418
4432
  d(b) {
4419
- b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), p && p.d();
4433
+ b && N(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
4420
4434
  }
4421
4435
  };
4422
4436
  }
4423
- function er(e) {
4437
+ function rr(e) {
4424
4438
  let t, r, n, i, s, o, a, h, l;
4425
4439
  return {
4426
4440
  c() {
4427
- t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), S(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4441
+ t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4428
4442
  (e[18] || !/*showRegisterStepOne*/
4429
4443
  e[18] && /*showRegisterStepTwo*/
4430
4444
  e[19] || !/*showRegisterStepOne*/
4431
4445
  e[18] && !/*showRegisterStepTwo*/
4432
4446
  e[19] && /*showRegisterStepThree*/
4433
- e[20] ? "RegisterStepDashColor" : "")), S(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4447
+ e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4434
4448
  (e[19] || !/*showRegisterStepOne*/
4435
4449
  e[18] && !/*showRegisterStepTwo*/
4436
4450
  e[19] && /*showRegisterStepThree*/
4437
- e[20] ? "RegisterStepDashColor" : "")), S(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4438
- (e[20] ? "RegisterStepDashColor" : "")), S(t, "class", "RegisterSteps");
4451
+ e[20] ? "RegisterStepDashColor" : "")), x(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4452
+ (e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
4439
4453
  },
4440
4454
  m(u, c) {
4441
4455
  F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[41](t);
@@ -4448,21 +4462,21 @@ function er(e) {
4448
4462
  u[19] || !/*showRegisterStepOne*/
4449
4463
  u[18] && !/*showRegisterStepTwo*/
4450
4464
  u[19] && /*showRegisterStepThree*/
4451
- u[20] ? "RegisterStepDashColor" : "")) && S(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4465
+ u[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4452
4466
  1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4453
4467
  (u[19] || !/*showRegisterStepOne*/
4454
4468
  u[18] && !/*showRegisterStepTwo*/
4455
4469
  u[19] && /*showRegisterStepThree*/
4456
- u[20] ? "RegisterStepDashColor" : "")) && S(s, "class", o), c[0] & /*showRegisterStepThree*/
4470
+ u[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
4457
4471
  1048576 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4458
- (u[20] ? "RegisterStepDashColor" : "")) && S(h, "class", l);
4472
+ (u[20] ? "RegisterStepDashColor" : "")) && x(h, "class", l);
4459
4473
  },
4460
4474
  d(u) {
4461
- u && M(t), e[41](null);
4475
+ u && N(t), e[41](null);
4462
4476
  }
4463
4477
  };
4464
4478
  }
4465
- function tr(e) {
4479
+ function nr(e) {
4466
4480
  let t, r;
4467
4481
  return {
4468
4482
  c() {
@@ -4516,7 +4530,7 @@ function tr(e) {
4516
4530
  "mbsource",
4517
4531
  /*mbsource*/
4518
4532
  e[9]
4519
- ), S(t, "class", "RegisterFormStep1");
4533
+ ), x(t, "class", "RegisterFormStep1");
4520
4534
  },
4521
4535
  m(n, i) {
4522
4536
  F(n, t, i), E(t, r);
@@ -4585,11 +4599,11 @@ function tr(e) {
4585
4599
  );
4586
4600
  },
4587
4601
  d(n) {
4588
- n && M(t);
4602
+ n && N(t);
4589
4603
  }
4590
4604
  };
4591
4605
  }
4592
- function rr(e) {
4606
+ function ir(e) {
4593
4607
  let t, r;
4594
4608
  return {
4595
4609
  c() {
@@ -4643,7 +4657,7 @@ function rr(e) {
4643
4657
  "mbsource",
4644
4658
  /*mbsource*/
4645
4659
  e[9]
4646
- ), S(t, "class", "RegisterFormStep2");
4660
+ ), x(t, "class", "RegisterFormStep2");
4647
4661
  },
4648
4662
  m(n, i) {
4649
4663
  F(n, t, i), E(t, r);
@@ -4712,11 +4726,11 @@ function rr(e) {
4712
4726
  );
4713
4727
  },
4714
4728
  d(n) {
4715
- n && M(t);
4729
+ n && N(t);
4716
4730
  }
4717
4731
  };
4718
4732
  }
4719
- function nr(e) {
4733
+ function sr(e) {
4720
4734
  let t, r;
4721
4735
  return {
4722
4736
  c() {
@@ -4785,7 +4799,7 @@ function nr(e) {
4785
4799
  "mbsource",
4786
4800
  /*mbsource*/
4787
4801
  e[9]
4788
- ), S(t, "class", "RegisterFormStep3");
4802
+ ), x(t, "class", "RegisterFormStep3");
4789
4803
  },
4790
4804
  m(n, i) {
4791
4805
  F(n, t, i), E(t, r);
@@ -4872,18 +4886,18 @@ function nr(e) {
4872
4886
  );
4873
4887
  },
4874
4888
  d(n) {
4875
- n && M(t);
4889
+ n && N(t);
4876
4890
  }
4877
4891
  };
4878
4892
  }
4879
- function Cs(e) {
4893
+ function Ls(e) {
4880
4894
  let t, r = (
4881
4895
  /*$_*/
4882
4896
  e[34]("error") + ""
4883
4897
  ), n;
4884
4898
  return {
4885
4899
  c() {
4886
- t = B("p"), n = $(r), S(t, "class", "SMSErrorText");
4900
+ t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
4887
4901
  },
4888
4902
  m(i, s) {
4889
4903
  F(i, t, s), E(t, n);
@@ -4894,22 +4908,22 @@ function Cs(e) {
4894
4908
  i[34]("error") + "") && K(n, r);
4895
4909
  },
4896
4910
  d(i) {
4897
- i && M(t);
4911
+ i && N(t);
4898
4912
  }
4899
4913
  };
4900
4914
  }
4901
- function Is(e) {
4915
+ function Rs(e) {
4902
4916
  let t;
4903
4917
  function r(s, o) {
4904
4918
  return (
4905
4919
  /*smsSendApiFailed*/
4906
- s[31] ? Ls : Rs
4920
+ s[31] ? Ms : Ns
4907
4921
  );
4908
4922
  }
4909
4923
  let n = r(e), i = n(e);
4910
4924
  return {
4911
4925
  c() {
4912
- i.c(), t = rn();
4926
+ i.c(), t = on();
4913
4927
  },
4914
4928
  m(s, o) {
4915
4929
  i.m(s, o), F(s, t, o);
@@ -4918,18 +4932,18 @@ function Is(e) {
4918
4932
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
4919
4933
  },
4920
4934
  d(s) {
4921
- s && M(t), i.d(s);
4935
+ s && N(t), i.d(s);
4922
4936
  }
4923
4937
  };
4924
4938
  }
4925
- function Ls(e) {
4939
+ function Ms(e) {
4926
4940
  let t, r = (
4927
4941
  /*$_*/
4928
4942
  e[34]("error") + ""
4929
4943
  ), n;
4930
4944
  return {
4931
4945
  c() {
4932
- t = B("p"), n = $(r), S(t, "class", "SMSErrorText");
4946
+ t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
4933
4947
  },
4934
4948
  m(i, s) {
4935
4949
  F(i, t, s), E(t, n);
@@ -4940,11 +4954,11 @@ function Ls(e) {
4940
4954
  i[34]("error") + "") && K(n, r);
4941
4955
  },
4942
4956
  d(i) {
4943
- i && M(t);
4957
+ i && N(t);
4944
4958
  }
4945
4959
  };
4946
4960
  }
4947
- function Rs(e) {
4961
+ function Ns(e) {
4948
4962
  let t;
4949
4963
  return {
4950
4964
  c() {
@@ -5045,31 +5059,31 @@ function Rs(e) {
5045
5059
  );
5046
5060
  },
5047
5061
  d(r) {
5048
- r && M(t);
5062
+ r && N(t);
5049
5063
  }
5050
5064
  };
5051
5065
  }
5052
- function ir(e) {
5053
- let t, r, n, i, s, o, a, h, l, u, c, d, y, g, p, b, x, O = (
5066
+ function or(e) {
5067
+ let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, S, O = (
5054
5068
  /*$_*/
5055
5069
  e[34]("goToLoginButton") + ""
5056
- ), P, R, N;
5070
+ ), P, R, M;
5057
5071
  return {
5058
5072
  c() {
5059
- t = B("div"), r = xe("svg"), n = xe("defs"), i = xe("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = xe("path"), a = U(), h = B("h2"), l = $(
5073
+ t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = B("h2"), l = $(
5060
5074
  /*accountCreationTitle*/
5061
5075
  e[23]
5062
- ), u = U(), c = B("p"), d = $(
5076
+ ), u = U(), c = B("p"), p = $(
5063
5077
  /*accountCreationSubTitle*/
5064
5078
  e[24]
5065
- ), y = U(), g = B("p"), p = $(
5079
+ ), y = U(), g = B("p"), d = $(
5066
5080
  /*accountCreationMessage*/
5067
5081
  e[25]
5068
- ), b = U(), x = B("button"), P = $(O), S(o, "class", "a"), S(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), S(r, "xmlns", "http://www.w3.org/2000/svg"), S(r, "viewBox", "0 0 73.95 51"), S(h, "class", "RegisterConfirmationTitle"), S(c, "class", "RegisterConfirmationSubtitle"), S(g, "class", "RegisterConfirmationNote"), S(x, "class", "RegisterConfirmationGoToLogin"), S(t, "class", "RegisterConfirmation");
5082
+ ), b = U(), S = B("button"), P = $(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(h, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
5069
5083
  },
5070
5084
  m(C, D) {
5071
- F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, d), E(t, y), E(t, g), E(g, p), E(t, b), E(t, x), E(x, P), R || (N = nn(
5072
- x,
5085
+ F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, P), R || (M = an(
5086
+ S,
5073
5087
  "click",
5074
5088
  /*switchToLogin*/
5075
5089
  e[36]
@@ -5083,12 +5097,12 @@ function ir(e) {
5083
5097
  C[23]
5084
5098
  ), D[0] & /*accountCreationSubTitle*/
5085
5099
  16777216 && K(
5086
- d,
5100
+ p,
5087
5101
  /*accountCreationSubTitle*/
5088
5102
  C[24]
5089
5103
  ), D[0] & /*accountCreationMessage*/
5090
5104
  33554432 && K(
5091
- p,
5105
+ d,
5092
5106
  /*accountCreationMessage*/
5093
5107
  C[25]
5094
5108
  ), D[1] & /*$_*/
@@ -5096,14 +5110,14 @@ function ir(e) {
5096
5110
  C[34]("goToLoginButton") + "") && K(P, O);
5097
5111
  },
5098
5112
  d(C) {
5099
- C && M(t), R = !1, N();
5113
+ C && N(t), R = !1, M();
5100
5114
  }
5101
5115
  };
5102
5116
  }
5103
- function Ns(e) {
5117
+ function Ds(e) {
5104
5118
  let t;
5105
5119
  function r(s, o) {
5106
- return Os;
5120
+ return Is;
5107
5121
  }
5108
5122
  let i = r()(e);
5109
5123
  return {
@@ -5119,48 +5133,48 @@ function Ns(e) {
5119
5133
  i: k,
5120
5134
  o: k,
5121
5135
  d(s) {
5122
- s && M(t), i.d(), e[42](null);
5136
+ s && N(t), i.d(), e[42](null);
5123
5137
  }
5124
5138
  };
5125
5139
  }
5126
- let Ms = "Please use this code {0} to activate your account";
5127
- function Ds(e, t, r) {
5140
+ let Fs = "Please use this code {0} to activate your account";
5141
+ function Us(e, t, r) {
5128
5142
  let n;
5129
- Yr(e, xs, (f) => r(34, n = f));
5130
- let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: p = "false" } = t, { userroles: b = "" } = t, { mbsource: x } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: N = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, G, dt = "", Fe = !0, le = !1, be = !1, Ue = !1, ke = !1, ye, pt = !1, gt = "", bt = "", yt = "", vt = window.navigator.userAgent, Ur = Qt(vt) !== "PC", j = {}, _t = !1, Et = !1, Ge = "false", wt = "false", xt = "false", St = "false", Tt = "", Ht, ve = !1, Bt, _e;
5131
- Ss({ withLocale: "en", translations: {} });
5132
- const kr = () => {
5143
+ tn(e, Ts, (f) => r(34, n = f));
5144
+ let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, G, gt = "", Fe = !0, le = !1, be = !1, Ue = !1, ke = !1, ye, bt = !1, yt = "", vt = "", _t = "", Et = window.navigator.userAgent, jr = Kt(Et) !== "PC", j = {}, wt = !1, St = !1, Ge = "false", xt = "false", Tt = "false", Ht = "false", Bt = "", At, ve = !1, Pt, _e;
5145
+ Hs({ withLocale: "en", translations: {} });
5146
+ const $r = () => {
5133
5147
  fetch(R).then((H) => H.json()).then((H) => {
5134
5148
  Object.keys(H).forEach((I) => {
5135
- Yt(I, H[I]);
5149
+ er(I, H[I]);
5136
5150
  });
5137
5151
  }).catch((H) => {
5138
5152
  console.log(H);
5139
5153
  });
5140
5154
  };
5141
- Object.keys(Kt).forEach((f) => {
5142
- Yt(f, Kt[f]);
5155
+ Object.keys(tr).forEach((f) => {
5156
+ er(f, tr[f]);
5143
5157
  });
5144
- const Gr = () => {
5158
+ const Vr = () => {
5145
5159
  fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
5146
5160
  f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
5147
5161
  switch (H.tagCode) {
5148
5162
  case "termsandconditions":
5149
- r(27, wt = "true");
5163
+ r(27, xt = "true");
5150
5164
  break;
5151
5165
  case "sms":
5152
- r(28, xt = "true");
5166
+ r(28, Tt = "true");
5153
5167
  break;
5154
5168
  case "emailmarketing":
5155
- r(29, St = "true");
5169
+ r(29, Ht = "true");
5156
5170
  break;
5157
5171
  }
5158
5172
  })) : r(26, Ge = "false");
5159
5173
  });
5160
- }, jr = () => {
5161
- let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = Qt(vt);
5174
+ }, Xr = () => {
5175
+ let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = Kt(Et);
5162
5176
  H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
5163
- ye = I.registerData, r(23, gt = ye.title), r(24, bt = ye.subtitle), r(25, yt = ye.content);
5177
+ ye = I.registerData, r(23, yt = ye.title), r(24, vt = ye.subtitle), r(25, _t = ye.content);
5164
5178
  }).catch((I) => {
5165
5179
  console.error(I);
5166
5180
  });
@@ -5168,19 +5182,19 @@ function Ds(e, t, r) {
5168
5182
  _e.scrollIntoView();
5169
5183
  }, he = (f) => {
5170
5184
  for (const H in f)
5171
- j[H] = f[H], H === "mobile" && r(32, Bt = `${f[H].prefix}${f[H].number}`);
5185
+ j[H] = f[H], H === "mobile" && r(32, Pt = `${f[H].prefix}${f[H].number}`);
5172
5186
  j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
5173
- }, At = (f) => {
5187
+ }, Ot = (f) => {
5174
5188
  if (f.data)
5175
5189
  switch (f.data.type) {
5176
5190
  case "RegisterStepOne":
5177
- he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0), _t == !1 ? _t = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5191
+ he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0), wt == !1 ? wt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5178
5192
  break;
5179
5193
  case "RegisterStepTwo":
5180
- he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0), Et == !1 ? Et = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5194
+ he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5181
5195
  break;
5182
5196
  case "RegisterStepThree":
5183
- he(f.data.registerStepThreeData), Vr(j);
5197
+ he(f.data.registerStepThreeData), zr(j);
5184
5198
  break;
5185
5199
  case "SmsHasBeenValidated":
5186
5200
  r(22, ke = !0), r(21, Ue = !1);
@@ -5192,9 +5206,9 @@ function Ds(e, t, r) {
5192
5206
  he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5193
5207
  break;
5194
5208
  }
5195
- }, $r = () => {
5209
+ }, Wr = () => {
5196
5210
  typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
5197
- }, Vr = async (f) => {
5211
+ }, zr = async (f) => {
5198
5212
  f.language = u;
5199
5213
  let H = {
5200
5214
  method: "PUT",
@@ -5205,15 +5219,15 @@ function Ds(e, t, r) {
5205
5219
  },
5206
5220
  body: JSON.stringify(f)
5207
5221
  }, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
5208
- I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, dt = W.id), Xr(f, W.id)), f.username, f.password, $r()) : (Tt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), pt = !0, window.postMessage(
5222
+ I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, gt = W.id), Zr(f, W.id)), f.username, f.password, Wr()) : (Bt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), bt = !0, window.postMessage(
5209
5223
  {
5210
5224
  type: "ShowRegistrationError",
5211
- showError: pt,
5212
- error: Tt
5225
+ showError: bt,
5226
+ error: Bt
5213
5227
  },
5214
5228
  window.location.href
5215
5229
  ));
5216
- }, Xr = async (f, H) => {
5230
+ }, Zr = async (f, H) => {
5217
5231
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5218
5232
  try {
5219
5233
  const I = await fetch(`${i}/v1/player/sms/token`, {
@@ -5224,107 +5238,107 @@ function Ds(e, t, r) {
5224
5238
  },
5225
5239
  body: JSON.stringify({
5226
5240
  userId: H,
5227
- messageTemplate: Ms,
5241
+ messageTemplate: Fs,
5228
5242
  destination: `${f.mobile.prefix}${f.mobile.number}`
5229
5243
  })
5230
5244
  }), W = await I.json();
5231
5245
  if (I.ok) {
5232
- r(30, Ht = W.id);
5233
- let Us = W.maxValidationAttempts;
5246
+ r(30, At = W.id);
5247
+ let Gs = W.maxValidationAttempts;
5234
5248
  r(21, Ue = !0), r(31, ve = !1);
5235
5249
  } else
5236
5250
  throw r(31, ve = !0), new Error("Failed to fetch");
5237
5251
  } catch (I) {
5238
5252
  r(31, ve = !0), console.error(I);
5239
5253
  }
5240
- }, Wr = () => {
5241
- d.split(",");
5242
- }, zr = () => {
5254
+ }, Jr = () => {
5255
+ p.split(",");
5256
+ }, qr = () => {
5243
5257
  window.postMessage({ type: "ToLogin" }, window.location.href);
5244
- }, Zr = () => {
5245
- Ts(u);
5258
+ }, Qr = () => {
5259
+ Bs(u);
5246
5260
  };
5247
- un(() => (window.addEventListener("message", At, !1), () => {
5248
- window.removeEventListener("message", At);
5261
+ fn(() => (window.addEventListener("message", Ot, !1), () => {
5262
+ window.removeEventListener("message", Ot);
5249
5263
  }));
5250
- function Jr(f) {
5264
+ function Yr(f) {
5251
5265
  Oe[f ? "unshift" : "push"](() => {
5252
5266
  _e = f, r(33, _e);
5253
5267
  });
5254
5268
  }
5255
- function qr(f) {
5269
+ function Kr(f) {
5256
5270
  Oe[f ? "unshift" : "push"](() => {
5257
5271
  G = f, r(16, G);
5258
5272
  });
5259
5273
  }
5260
5274
  return e.$$set = (f) => {
5261
- "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, d = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, p = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, x = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13, N = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
5275
+ "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13, M = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
5262
5276
  }, e.$$.update = () => {
5263
5277
  e.$$.dirty[0] & /*endpoint*/
5264
- 1 && i && Gr(), e.$$.dirty[0] & /*lang*/
5278
+ 1 && i && Vr(), e.$$.dirty[0] & /*lang*/
5265
5279
  8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
5266
- 704 && s && u && o && b && jr(), e.$$.dirty[0] & /*playerid, session*/
5280
+ 704 && s && u && o && b && Xr(), e.$$.dirty[0] & /*playerid, session*/
5267
5281
  131074, e.$$.dirty[0] & /*lang*/
5268
- 8 && u && Zr(), e.$$.dirty[0] & /*disabledfields*/
5269
- 32 && d && Wr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5270
- 66560 && O && G && Hs(G, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5271
- 67584 && P && G && Bs(G, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5272
- 66048 && x && G && As(G, `${x}.Style`), e.$$.dirty[0] & /*translationurl*/
5273
- 4096 && R && kr();
5282
+ 8 && u && Qr(), e.$$.dirty[0] & /*disabledfields*/
5283
+ 32 && p && Jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5284
+ 66560 && O && G && As(G, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5285
+ 67584 && P && G && Ps(G, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5286
+ 66048 && S && G && Os(G, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
5287
+ 4096 && R && $r();
5274
5288
  }, [
5275
5289
  i,
5276
5290
  a,
5277
5291
  l,
5278
5292
  u,
5279
5293
  c,
5280
- d,
5294
+ p,
5281
5295
  y,
5282
5296
  g,
5283
- p,
5284
- x,
5297
+ d,
5298
+ S,
5285
5299
  O,
5286
5300
  P,
5287
5301
  R,
5288
- N,
5302
+ M,
5289
5303
  C,
5290
5304
  D,
5291
5305
  G,
5292
- dt,
5306
+ gt,
5293
5307
  Fe,
5294
5308
  le,
5295
5309
  be,
5296
5310
  Ue,
5297
5311
  ke,
5298
- gt,
5299
- bt,
5300
5312
  yt,
5313
+ vt,
5314
+ _t,
5301
5315
  Ge,
5302
- wt,
5303
5316
  xt,
5304
- St,
5317
+ Tt,
5305
5318
  Ht,
5319
+ At,
5306
5320
  ve,
5307
- Bt,
5321
+ Pt,
5308
5322
  _e,
5309
5323
  n,
5310
- Ur,
5311
- zr,
5324
+ jr,
5325
+ qr,
5312
5326
  s,
5313
5327
  o,
5314
5328
  h,
5315
5329
  b,
5316
- Jr,
5317
- qr
5330
+ Yr,
5331
+ Kr
5318
5332
  ];
5319
5333
  }
5320
- class Fs extends _n {
5334
+ class ks extends Sn {
5321
5335
  constructor(t) {
5322
- super(), yn(
5336
+ super(), En(
5323
5337
  this,
5324
5338
  t,
5339
+ Us,
5325
5340
  Ds,
5326
- Ns,
5327
- or,
5341
+ ur,
5328
5342
  {
5329
5343
  endpoint: 0,
5330
5344
  cmsendpoint: 37,
@@ -5347,7 +5361,7 @@ class Fs extends _n {
5347
5361
  custominputtextswitch: 14,
5348
5362
  personalidlength: 15
5349
5363
  },
5350
- Ps,
5364
+ Cs,
5351
5365
  [-1, -1, -1]
5352
5366
  );
5353
5367
  }
@@ -5472,43 +5486,43 @@ class Fs extends _n {
5472
5486
  this.$$set({ personalidlength: t }), A();
5473
5487
  }
5474
5488
  }
5475
- vn(Fs, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5489
+ wn(ks, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5476
5490
  export {
5477
5491
  Z as $,
5478
- qe as A,
5479
- $s as B,
5480
- Xs as C,
5481
- Gs as D,
5482
- rn as E,
5483
- Vs as F,
5492
+ Qe as A,
5493
+ Xs as B,
5494
+ zs as C,
5495
+ $s as D,
5496
+ on as E,
5497
+ Ws as F,
5484
5498
  ae as G,
5485
- ks as H,
5486
- Fs as I,
5487
- _n as S,
5488
- Rr as a,
5489
- Kr as b,
5490
- vn as c,
5499
+ js as H,
5500
+ ks as I,
5501
+ Sn as S,
5502
+ Dr as a,
5503
+ rn as b,
5504
+ wn as c,
5491
5505
  U as d,
5492
5506
  B as e,
5493
5507
  A as f,
5494
- S as g,
5508
+ x as g,
5495
5509
  F as h,
5496
- yn as i,
5510
+ En as i,
5497
5511
  E as j,
5498
- js as k,
5499
- nn as l,
5512
+ Vs as k,
5513
+ an as l,
5500
5514
  K as m,
5501
5515
  k as n,
5502
- M as o,
5503
- Yr as p,
5504
- un as q,
5516
+ N as o,
5517
+ tn as p,
5518
+ fn as q,
5505
5519
  ge as r,
5506
- or as s,
5520
+ ur as s,
5507
5521
  $ as t,
5508
- Oe as u,
5509
- Hs as v,
5510
- Bs as w,
5522
+ Ps as u,
5523
+ Os as v,
5524
+ Oe as w,
5511
5525
  As as x,
5512
- xe as y,
5513
- xs as z
5526
+ Se as y,
5527
+ Ts as z
5514
5528
  };