@everymatrix/player-account-vault 1.85.20 → 1.85.22

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.
@@ -9,10 +9,10 @@ function Ir() {
9
9
  function xe(e) {
10
10
  e.forEach(yn);
11
11
  }
12
- function mt(e) {
12
+ function dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ft(e, t) {
15
+ function kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  function ii(e) {
@@ -32,7 +32,7 @@ function oi(e) {
32
32
  return vn(e, (r) => t = r)(), t;
33
33
  }
34
34
  function ai(e) {
35
- return e && mt(e.destroy) ? e.destroy : B;
35
+ return e && dt(e.destroy) ? e.destroy : B;
36
36
  }
37
37
  function _(e, t) {
38
38
  e.appendChild(t);
@@ -97,7 +97,7 @@ function ci(e) {
97
97
  function g(e, t, r) {
98
98
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
99
99
  }
100
- function Rt(e) {
100
+ function Lt(e) {
101
101
  return e === "" ? null : +e;
102
102
  }
103
103
  function hi(e) {
@@ -107,7 +107,7 @@ function ne(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function Ct(e, t) {
110
+ function At(e, t) {
111
111
  e.value = t ?? "";
112
112
  }
113
113
  function ae(e, t, r) {
@@ -139,21 +139,21 @@ function pi(e) {
139
139
  }
140
140
  const $e = [], We = [];
141
141
  let je = [];
142
- const ir = [], wn = /* @__PURE__ */ Promise.resolve();
143
- let or = !1;
142
+ const nr = [], wn = /* @__PURE__ */ Promise.resolve();
143
+ let ir = !1;
144
144
  function An() {
145
- or || (or = !0, wn.then(R));
145
+ ir || (ir = !0, wn.then(R));
146
146
  }
147
147
  function di() {
148
148
  return An(), wn;
149
149
  }
150
- function ar(e) {
150
+ function or(e) {
151
151
  je.push(e);
152
152
  }
153
153
  function Lr(e) {
154
- ir.push(e);
154
+ nr.push(e);
155
155
  }
156
- const Kt = /* @__PURE__ */ new Set();
156
+ const Zt = /* @__PURE__ */ new Set();
157
157
  let Ve = 0;
158
158
  function R() {
159
159
  if (Ve !== 0)
@@ -172,26 +172,26 @@ function R() {
172
172
  We.pop()();
173
173
  for (let t = 0; t < je.length; t += 1) {
174
174
  const r = je[t];
175
- Kt.has(r) || (Kt.add(r), r());
175
+ Zt.has(r) || (Zt.add(r), r());
176
176
  }
177
177
  je.length = 0;
178
178
  } while ($e.length);
179
- for (; ir.length; )
180
- ir.pop()();
181
- or = !1, Kt.clear(), ut(e);
179
+ for (; nr.length; )
180
+ nr.pop()();
181
+ ir = !1, Zt.clear(), ut(e);
182
182
  }
183
183
  function mi(e) {
184
184
  if (e.fragment !== null) {
185
185
  e.update(), xe(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ar);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(or);
188
188
  }
189
189
  }
190
190
  function gi(e) {
191
191
  const t = [], r = [];
192
192
  je.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), je = t;
193
193
  }
194
- const Pt = /* @__PURE__ */ new Set();
194
+ const Bt = /* @__PURE__ */ new Set();
195
195
  let Ie;
196
196
  function Oe() {
197
197
  Ie = {
@@ -205,19 +205,19 @@ function Le() {
205
205
  Ie.r || xe(Ie.c), Ie = Ie.p;
206
206
  }
207
207
  function k(e, t) {
208
- e && e.i && (Pt.delete(e), e.i(t));
208
+ e && e.i && (Bt.delete(e), e.i(t));
209
209
  }
210
210
  function $(e, t, r, n) {
211
211
  if (e && e.o) {
212
- if (Pt.has(e))
212
+ if (Bt.has(e))
213
213
  return;
214
- Pt.add(e), Ie.c.push(() => {
215
- Pt.delete(e), n && (r && e.d(1), n());
214
+ Bt.add(e), Ie.c.push(() => {
215
+ Bt.delete(e), n && (r && e.d(1), n());
216
216
  }), e.o(t);
217
217
  } else
218
218
  n && n();
219
219
  }
220
- function Nt(e) {
220
+ function Rt(e) {
221
221
  return e?.length !== void 0 ? e : Array.from(e);
222
222
  }
223
223
  function Rr(e, t, r) {
@@ -229,10 +229,10 @@ function ht(e) {
229
229
  }
230
230
  function Xe(e, t, r) {
231
231
  const { fragment: n, after_update: i } = e.$$;
232
- n && n.m(t, r), ar(() => {
233
- const o = e.$$.on_mount.map(yn).filter(mt);
232
+ n && n.m(t, r), or(() => {
233
+ const o = e.$$.on_mount.map(yn).filter(dt);
234
234
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : xe(o), e.$$.on_mount = [];
235
- }), i.forEach(ar);
235
+ }), i.forEach(or);
236
236
  }
237
237
  function ze(e, t) {
238
238
  const r = e.$$;
@@ -267,13 +267,13 @@ function Tr(e, t, r, n, i, o, a = null, l = [-1]) {
267
267
  };
268
268
  a && a(u.root);
269
269
  let c = !1;
270
- if (u.ctx = r ? r(e, t.props || {}, (d, h, ...m) => {
271
- const v = m.length ? m[0] : h;
272
- return u.ctx && i(u.ctx[d], u.ctx[d] = v) && (!u.skip_bound && u.bound[d] && u.bound[d](v), c && bi(e, d)), h;
270
+ if (u.ctx = r ? r(e, t.props || {}, (m, h, ...d) => {
271
+ const v = d.length ? d[0] : h;
272
+ return u.ctx && i(u.ctx[m], u.ctx[m] = v) && (!u.skip_bound && u.bound[m] && u.bound[m](v), c && bi(e, m)), h;
273
273
  }) : [], u.update(), c = !0, xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
274
274
  if (t.hydrate) {
275
- const d = hi(t.target);
276
- u.fragment && u.fragment.l(d), d.forEach(C);
275
+ const m = hi(t.target);
276
+ u.fragment && u.fragment.l(m), m.forEach(C);
277
277
  } else
278
278
  u.fragment && u.fragment.c();
279
279
  t.intro && k(e.$$.fragment), Xe(e, t.target, t.anchor), R();
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
345
345
  i in r && (t[i] = [e(i)]);
346
346
  for (const i of this.attributes) {
347
347
  const o = this.$$g_p(i.name);
348
- o in this.$$d || (this.$$d[o] = Ht(o, i.value, this.$$p_d, "toProp"));
348
+ o in this.$$d || (this.$$d[o] = Pt(o, i.value, this.$$p_d, "toProp"));
349
349
  }
350
350
  for (const i in this.$$p_d)
351
351
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
363
363
  this.$$r = !0;
364
364
  for (const i in this.$$p_d)
365
365
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
366
- const o = Ht(
366
+ const o = Pt(
367
367
  i,
368
368
  this.$$d[i],
369
369
  this.$$p_d,
@@ -385,7 +385,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
385
385
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
386
386
  // and setting attributes through setAttribute etc, this is helpful
387
387
  attributeChangedCallback(e, t, r) {
388
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ht(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
388
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Pt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
389
389
  }
390
390
  disconnectedCallback() {
391
391
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -398,7 +398,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
398
398
  ) || e;
399
399
  }
400
400
  });
401
- function Ht(e, t, r, n) {
401
+ function Pt(e, t, r, n) {
402
402
  const i = r[e]?.type;
403
403
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
404
404
  return t;
@@ -444,7 +444,7 @@ function Sr(e, t, r, n, i, o) {
444
444
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
445
445
  },
446
446
  set(s) {
447
- s = Ht(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
447
+ s = Pt(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
448
448
  }
449
449
  });
450
450
  }), n.forEach((l) => {
@@ -484,7 +484,7 @@ class Br {
484
484
  * @returns {() => void}
485
485
  */
486
486
  $on(t, r) {
487
- if (!mt(r))
487
+ if (!dt(r))
488
488
  return B;
489
489
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
490
490
  return n.push(r), () => {
@@ -505,14 +505,14 @@ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__
505
505
  const Ge = [];
506
506
  function vi(e, t) {
507
507
  return {
508
- subscribe: Ut(e, t).subscribe
508
+ subscribe: Ft(e, t).subscribe
509
509
  };
510
510
  }
511
- function Ut(e, t = B) {
511
+ function Ft(e, t = B) {
512
512
  let r;
513
513
  const n = /* @__PURE__ */ new Set();
514
514
  function i(l) {
515
- if (Ft(e, l) && (e = l, r)) {
515
+ if (kt(e, l) && (e = l, r)) {
516
516
  const s = !Ge.length;
517
517
  for (const u of n)
518
518
  u[1](), Ge.push(u, e);
@@ -542,14 +542,14 @@ function Ye(e, t, r) {
542
542
  return vi(r, (a, l) => {
543
543
  let s = !1;
544
544
  const u = [];
545
- let c = 0, d = B;
545
+ let c = 0, m = B;
546
546
  const h = () => {
547
547
  if (c)
548
548
  return;
549
- d();
549
+ m();
550
550
  const v = t(n ? u[0] : u, a, l);
551
- o ? a(v) : d = mt(v) ? v : B;
552
- }, m = i.map(
551
+ o ? a(v) : m = dt(v) ? v : B;
552
+ }, d = i.map(
553
553
  (v, b) => vn(
554
554
  v,
555
555
  (D) => {
@@ -561,7 +561,7 @@ function Ye(e, t, r) {
561
561
  )
562
562
  );
563
563
  return s = !0, h(), function() {
564
- xe(m), d(), s = !1;
564
+ xe(d), m(), s = !1;
565
565
  };
566
566
  });
567
567
  }
@@ -639,18 +639,18 @@ Ze.all = function(t, r) {
639
639
  };
640
640
  var Li = Ze, Ri = Li;
641
641
  const Ni = /* @__PURE__ */ _i(Ri);
642
- var sr = function(e, t) {
643
- return sr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
642
+ var ar = function(e, t) {
643
+ return ar = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
644
644
  r.__proto__ = n;
645
645
  } || function(r, n) {
646
646
  for (var i in n)
647
647
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
648
- }, sr(e, t);
648
+ }, ar(e, t);
649
649
  };
650
- function Vt(e, t) {
650
+ function Ut(e, t) {
651
651
  if (typeof t != "function" && t !== null)
652
652
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
653
- sr(e, t);
653
+ ar(e, t);
654
654
  function r() {
655
655
  this.constructor = e;
656
656
  }
@@ -675,13 +675,13 @@ function Di(e, t) {
675
675
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
676
676
  return r;
677
677
  }
678
- function qt(e, t, r) {
678
+ function Kt(e, t, r) {
679
679
  if (r || arguments.length === 2)
680
680
  for (var n = 0, i = t.length, o; n < i; n++)
681
681
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
682
682
  return e.concat(o || Array.prototype.slice.call(t));
683
683
  }
684
- function Qt(e, t) {
684
+ function qt(e, t) {
685
685
  var r = t && t.cache ? t.cache : $i, n = t && t.serializer ? t.serializer : Vi, i = t && t.strategy ? t.strategy : Fi;
686
686
  return i(e, {
687
687
  cache: r,
@@ -727,17 +727,17 @@ var Vi = function() {
727
727
  create: function() {
728
728
  return new Gi();
729
729
  }
730
- }, Yt = {
730
+ }, Qt = {
731
731
  variadic: Ui
732
- }, Dt = function() {
733
- return Dt = Object.assign || function(t) {
732
+ }, Nt = function() {
733
+ return Nt = Object.assign || function(t) {
734
734
  for (var r, n = 1, i = arguments.length; n < i; n++) {
735
735
  r = arguments[n];
736
736
  for (var o in r)
737
737
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
738
738
  }
739
739
  return t;
740
- }, Dt.apply(this, arguments);
740
+ }, Nt.apply(this, arguments);
741
741
  };
742
742
  var S;
743
743
  (function(e) {
@@ -781,7 +781,7 @@ function Rn(e) {
781
781
  function Nn(e) {
782
782
  return !!(e && typeof e == "object" && e.type === Ke.number);
783
783
  }
784
- function lr(e) {
784
+ function sr(e) {
785
785
  return !!(e && typeof e == "object" && e.type === Ke.dateTime);
786
786
  }
787
787
  var Dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xi = /(?:[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;
@@ -897,8 +897,8 @@ function Ki(e) {
897
897
  if (a.length === 0)
898
898
  throw new Error("Invalid number skeleton");
899
899
  for (var l = a[0], s = a.slice(1), u = 0, c = s; u < c.length; u++) {
900
- var d = c[u];
901
- if (d.length === 0)
900
+ var m = c[u];
901
+ if (m.length === 0)
902
902
  throw new Error("Invalid number skeleton");
903
903
  }
904
904
  r.push({ stem: l, options: s });
@@ -1059,13 +1059,13 @@ function Ji(e) {
1059
1059
  case "integer-width":
1060
1060
  if (i.options.length > 1)
1061
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1062
- i.options[0].replace(Qi, function(s, u, c, d, h, m) {
1062
+ i.options[0].replace(Qi, function(s, u, c, m, h, d) {
1063
1063
  if (u)
1064
1064
  t.minimumIntegerDigits = c.length;
1065
1065
  else {
1066
- if (d && h)
1066
+ if (m && h)
1067
1067
  throw new Error("We currently do not support maximum integer digits");
1068
- if (m)
1068
+ if (d)
1069
1069
  throw new Error("We currently do not support exact integer digits");
1070
1070
  }
1071
1071
  return "";
@@ -1079,8 +1079,8 @@ function Ji(e) {
1079
1079
  if (Mr.test(i.stem)) {
1080
1080
  if (i.options.length > 1)
1081
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1082
- i.stem.replace(Mr, function(s, u, c, d, h, m) {
1083
- return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1082
+ i.stem.replace(Mr, function(s, u, c, m, h, d) {
1083
+ return c === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1084
1084
  });
1085
1085
  var o = i.options[0];
1086
1086
  o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), kr(o)));
@@ -1097,7 +1097,7 @@ function Ji(e) {
1097
1097
  }
1098
1098
  return t;
1099
1099
  }
1100
- var Tt = {
1100
+ var Ct = {
1101
1101
  "001": [
1102
1102
  "H",
1103
1103
  "h"
@@ -2547,21 +2547,21 @@ function to(e) {
2547
2547
  }
2548
2548
  var r = e.language, n;
2549
2549
  r !== "root" && (n = e.maximize().region);
2550
- var i = Tt[n || ""] || Tt[r || ""] || Tt["".concat(r, "-001")] || Tt["001"];
2550
+ var i = Ct[n || ""] || Ct[r || ""] || Ct["".concat(r, "-001")] || Ct["001"];
2551
2551
  return i[0];
2552
2552
  }
2553
- var Jt, ro = new RegExp("^".concat(Dn.source, "*")), no = new RegExp("".concat(Dn.source, "*$"));
2553
+ var Yt, ro = new RegExp("^".concat(Dn.source, "*")), no = new RegExp("".concat(Dn.source, "*$"));
2554
2554
  function P(e, t) {
2555
2555
  return { start: e, end: t };
2556
2556
  }
2557
2557
  var io = !!String.prototype.startsWith && "_a".startsWith("a", 1), oo = !!String.fromCodePoint, ao = !!Object.fromEntries, so = !!String.prototype.codePointAt, lo = !!String.prototype.trimStart, uo = !!String.prototype.trimEnd, co = !!Number.isSafeInteger, ho = co ? Number.isSafeInteger : function(e) {
2558
2558
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2559
- }, ur = !0;
2559
+ }, lr = !0;
2560
2560
  try {
2561
2561
  var fo = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2562
- ur = ((Jt = fo.exec("a")) === null || Jt === void 0 ? void 0 : Jt[0]) === "a";
2562
+ lr = ((Yt = fo.exec("a")) === null || Yt === void 0 ? void 0 : Yt[0]) === "a";
2563
2563
  } catch {
2564
- ur = !1;
2564
+ lr = !1;
2565
2565
  }
2566
2566
  var Ur = io ? (
2567
2567
  // Native
@@ -2573,7 +2573,7 @@ var Ur = io ? (
2573
2573
  function(t, r, n) {
2574
2574
  return t.slice(n, n + r.length) === r;
2575
2575
  }
2576
- ), cr = oo ? String.fromCodePoint : (
2576
+ ), ur = oo ? String.fromCodePoint : (
2577
2577
  // IE11
2578
2578
  function() {
2579
2579
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2635,24 +2635,24 @@ var Ur = io ? (
2635
2635
  function Vn(e, t) {
2636
2636
  return new RegExp(e, t);
2637
2637
  }
2638
- var hr;
2639
- if (ur) {
2638
+ var cr;
2639
+ if (lr) {
2640
2640
  var Gr = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2641
- hr = function(t, r) {
2641
+ cr = function(t, r) {
2642
2642
  var n;
2643
2643
  Gr.lastIndex = r;
2644
2644
  var i = Gr.exec(t);
2645
2645
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2646
2646
  };
2647
2647
  } else
2648
- hr = function(t, r) {
2648
+ cr = function(t, r) {
2649
2649
  for (var n = []; ; ) {
2650
2650
  var i = Un(t, r);
2651
2651
  if (i === void 0 || Gn(i) || vo(i))
2652
2652
  break;
2653
2653
  n.push(i), r += i >= 65536 ? 2 : 1;
2654
2654
  }
2655
- return cr.apply(void 0, n);
2655
+ return ur.apply(void 0, n);
2656
2656
  };
2657
2657
  var go = (
2658
2658
  /** @class */
@@ -2685,7 +2685,7 @@ var go = (
2685
2685
  if (n)
2686
2686
  break;
2687
2687
  return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2688
- } else if (o === 60 && !this.ignoreTag && fr(this.peek() || 0)) {
2688
+ } else if (o === 60 && !this.ignoreTag && hr(this.peek() || 0)) {
2689
2689
  var a = this.parseTag(t, r);
2690
2690
  if (a.err)
2691
2691
  return a;
@@ -2718,7 +2718,7 @@ var go = (
2718
2718
  return o;
2719
2719
  var a = o.val, l = this.clonePosition();
2720
2720
  if (this.bumpIf("</")) {
2721
- if (this.isEOF() || !fr(this.char()))
2721
+ if (this.isEOF() || !hr(this.char()))
2722
2722
  return this.error(S.INVALID_TAG, P(l, this.clonePosition()));
2723
2723
  var s = this.clonePosition(), u = this.parseTagName();
2724
2724
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, P(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2799,12 +2799,12 @@ var go = (
2799
2799
  r.push(n);
2800
2800
  this.bump();
2801
2801
  }
2802
- return cr.apply(void 0, r);
2802
+ return ur.apply(void 0, r);
2803
2803
  }, e.prototype.tryParseUnquoted = function(t, r) {
2804
2804
  if (this.isEOF())
2805
2805
  return null;
2806
2806
  var n = this.char();
2807
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), cr(n));
2807
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ur(n));
2808
2808
  }, e.prototype.parseArgument = function(t, r) {
2809
2809
  var n = this.clonePosition();
2810
2810
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2833,7 +2833,7 @@ var go = (
2833
2833
  return this.error(S.MALFORMED_ARGUMENT, P(n, this.clonePosition()));
2834
2834
  }
2835
2835
  }, e.prototype.parseIdentifierIfPossible = function() {
2836
- var t = this.clonePosition(), r = this.offset(), n = hr(this.message, r), i = r + n.length;
2836
+ var t = this.clonePosition(), r = this.offset(), n = cr(this.message, r), i = r + n.length;
2837
2837
  this.bumpTo(i);
2838
2838
  var o = this.clonePosition(), a = P(t, o);
2839
2839
  return { value: n, location: a };
@@ -2849,14 +2849,14 @@ var go = (
2849
2849
  var u = null;
2850
2850
  if (this.bumpIf(",")) {
2851
2851
  this.bumpSpace();
2852
- var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2853
- if (d.err)
2854
- return d;
2855
- var h = mo(d.val);
2852
+ var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2853
+ if (m.err)
2854
+ return m;
2855
+ var h = mo(m.val);
2856
2856
  if (h.length === 0)
2857
2857
  return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2858
- var m = P(c, this.clonePosition());
2859
- u = { style: h, styleLocation: m };
2858
+ var d = P(c, this.clonePosition());
2859
+ u = { style: h, styleLocation: d };
2860
2860
  }
2861
2861
  var v = this.tryParseArgumentClose(i);
2862
2862
  if (v.err)
@@ -2865,9 +2865,9 @@ var go = (
2865
2865
  if (u && Ur(u?.style, "::", 0)) {
2866
2866
  var D = po(u.style.slice(2));
2867
2867
  if (l === "number") {
2868
- var d = this.parseNumberSkeletonFromString(D, u.styleLocation);
2869
- return d.err ? d : {
2870
- val: { type: N.number, value: n, location: b, style: d.val },
2868
+ var m = this.parseNumberSkeletonFromString(D, u.styleLocation);
2869
+ return m.err ? m : {
2870
+ val: { type: N.number, value: n, location: b, style: m.val },
2871
2871
  err: null
2872
2872
  };
2873
2873
  } else {
@@ -2902,17 +2902,17 @@ var go = (
2902
2902
  case "select": {
2903
2903
  var y = this.clonePosition();
2904
2904
  if (this.bumpSpace(), !this.bumpIf(","))
2905
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(y, Dt({}, y)));
2905
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(y, Nt({}, y)));
2906
2906
  this.bumpSpace();
2907
2907
  var H = this.parseIdentifierIfPossible(), L = 0;
2908
2908
  if (l !== "select" && H.value === "offset") {
2909
2909
  if (!this.bumpIf(":"))
2910
2910
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2911
2911
  this.bumpSpace();
2912
- var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2913
- if (d.err)
2914
- return d;
2915
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = d.val;
2912
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2913
+ if (m.err)
2914
+ return m;
2915
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = m.val;
2916
2916
  }
2917
2917
  var X = this.tryParsePluralOrSelectOptions(t, l, r, H);
2918
2918
  if (X.err)
@@ -3000,32 +3000,32 @@ var go = (
3000
3000
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3001
3001
  for (var o, a = !1, l = [], s = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3002
3002
  if (u.length === 0) {
3003
- var d = this.clonePosition();
3003
+ var m = this.clonePosition();
3004
3004
  if (r !== "select" && this.bumpIf("=")) {
3005
3005
  var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3006
3006
  if (h.err)
3007
3007
  return h;
3008
- c = P(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3008
+ c = P(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3009
3009
  } else
3010
3010
  break;
3011
3011
  }
3012
3012
  if (s.has(u))
3013
3013
  return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3014
3014
  u === "other" && (a = !0), this.bumpSpace();
3015
- var m = this.clonePosition();
3015
+ var d = this.clonePosition();
3016
3016
  if (!this.bumpIf("{"))
3017
3017
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
3018
3018
  var v = this.parseMessage(t + 1, r, n);
3019
3019
  if (v.err)
3020
3020
  return v;
3021
- var b = this.tryParseArgumentClose(m);
3021
+ var b = this.tryParseArgumentClose(d);
3022
3022
  if (b.err)
3023
3023
  return b;
3024
3024
  l.push([
3025
3025
  u,
3026
3026
  {
3027
3027
  value: v.val,
3028
- location: P(m, this.clonePosition())
3028
+ location: P(d, this.clonePosition())
3029
3029
  }
3030
3030
  ]), s.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3031
3031
  }
@@ -3107,11 +3107,11 @@ var go = (
3107
3107
  }, e;
3108
3108
  }()
3109
3109
  );
3110
- function fr(e) {
3110
+ function hr(e) {
3111
3111
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3112
3112
  }
3113
3113
  function bo(e) {
3114
- return fr(e) || e === 47;
3114
+ return hr(e) || e === 47;
3115
3115
  }
3116
3116
  function yo(e) {
3117
3117
  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;
@@ -3122,32 +3122,32 @@ function Gn(e) {
3122
3122
  function vo(e) {
3123
3123
  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;
3124
3124
  }
3125
- function pr(e) {
3125
+ function fr(e) {
3126
3126
  e.forEach(function(t) {
3127
3127
  if (delete t.location, On(t) || Ln(t))
3128
3128
  for (var r in t.options)
3129
- delete t.options[r].location, pr(t.options[r].value);
3129
+ delete t.options[r].location, fr(t.options[r].value);
3130
3130
  else
3131
- Pn(t) && Nn(t.style) || (Hn(t) || In(t)) && lr(t.style) ? delete t.style.location : Rn(t) && pr(t.children);
3131
+ Pn(t) && Nn(t.style) || (Hn(t) || In(t)) && sr(t.style) ? delete t.style.location : Rn(t) && fr(t.children);
3132
3132
  });
3133
3133
  }
3134
3134
  function _o(e, t) {
3135
- t === void 0 && (t = {}), t = Dt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3135
+ t === void 0 && (t = {}), t = Nt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
3136
  var r = new go(e, t).parse();
3137
3137
  if (r.err) {
3138
3138
  var n = SyntaxError(S[r.err.kind]);
3139
3139
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3140
3140
  }
3141
- return t?.captureLocation || pr(r.val), r.val;
3141
+ return t?.captureLocation || fr(r.val), r.val;
3142
3142
  }
3143
3143
  var qe;
3144
3144
  (function(e) {
3145
3145
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3146
3146
  })(qe || (qe = {}));
3147
- var Gt = (
3147
+ var Vt = (
3148
3148
  /** @class */
3149
3149
  function(e) {
3150
- Vt(t, e);
3150
+ Ut(t, e);
3151
3151
  function t(r, n, i) {
3152
3152
  var o = e.call(this, r) || this;
3153
3153
  return o.code = n, o.originalMessage = i, o;
@@ -3159,30 +3159,30 @@ var Gt = (
3159
3159
  ), $r = (
3160
3160
  /** @class */
3161
3161
  function(e) {
3162
- Vt(t, e);
3162
+ Ut(t, e);
3163
3163
  function t(r, n, i, o) {
3164
3164
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), qe.INVALID_VALUE, o) || this;
3165
3165
  }
3166
3166
  return t;
3167
- }(Gt)
3167
+ }(Vt)
3168
3168
  ), Eo = (
3169
3169
  /** @class */
3170
3170
  function(e) {
3171
- Vt(t, e);
3171
+ Ut(t, e);
3172
3172
  function t(r, n, i) {
3173
3173
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), qe.INVALID_VALUE, i) || this;
3174
3174
  }
3175
3175
  return t;
3176
- }(Gt)
3176
+ }(Vt)
3177
3177
  ), xo = (
3178
3178
  /** @class */
3179
3179
  function(e) {
3180
- Vt(t, e);
3180
+ Ut(t, e);
3181
3181
  function t(r, n) {
3182
3182
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), qe.MISSING_VALUE, n) || this;
3183
3183
  }
3184
3184
  return t;
3185
- }(Gt)
3185
+ }(Vt)
3186
3186
  ), J;
3187
3187
  (function(e) {
3188
3188
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3196,7 +3196,7 @@ function wo(e) {
3196
3196
  function Ao(e) {
3197
3197
  return typeof e == "function";
3198
3198
  }
3199
- function It(e, t, r, n, i, o, a) {
3199
+ function Ht(e, t, r, n, i, o, a) {
3200
3200
  if (e.length === 1 && Dr(e[0]))
3201
3201
  return [
3202
3202
  {
@@ -3220,10 +3220,10 @@ function It(e, t, r, n, i, o, a) {
3220
3220
  });
3221
3221
  continue;
3222
3222
  }
3223
- var d = c.value;
3224
- if (!(i && d in i))
3225
- throw new xo(d, a);
3226
- var h = i[d];
3223
+ var m = c.value;
3224
+ if (!(i && m in i))
3225
+ throw new xo(m, a);
3226
+ var h = i[m];
3227
3227
  if (ji(c)) {
3228
3228
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), l.push({
3229
3229
  type: typeof h == "string" ? J.literal : J.object,
@@ -3232,26 +3232,26 @@ function It(e, t, r, n, i, o, a) {
3232
3232
  continue;
3233
3233
  }
3234
3234
  if (Hn(c)) {
3235
- var m = typeof c.style == "string" ? n.date[c.style] : lr(c.style) ? c.style.parsedOptions : void 0;
3235
+ var d = typeof c.style == "string" ? n.date[c.style] : sr(c.style) ? c.style.parsedOptions : void 0;
3236
3236
  l.push({
3237
3237
  type: J.literal,
3238
- value: r.getDateTimeFormat(t, m).format(h)
3238
+ value: r.getDateTimeFormat(t, d).format(h)
3239
3239
  });
3240
3240
  continue;
3241
3241
  }
3242
3242
  if (In(c)) {
3243
- var m = typeof c.style == "string" ? n.time[c.style] : lr(c.style) ? c.style.parsedOptions : n.time.medium;
3243
+ var d = typeof c.style == "string" ? n.time[c.style] : sr(c.style) ? c.style.parsedOptions : n.time.medium;
3244
3244
  l.push({
3245
3245
  type: J.literal,
3246
- value: r.getDateTimeFormat(t, m).format(h)
3246
+ value: r.getDateTimeFormat(t, d).format(h)
3247
3247
  });
3248
3248
  continue;
3249
3249
  }
3250
3250
  if (Pn(c)) {
3251
- var m = typeof c.style == "string" ? n.number[c.style] : Nn(c.style) ? c.style.parsedOptions : void 0;
3252
- m && m.scale && (h = h * (m.scale || 1)), l.push({
3251
+ var d = typeof c.style == "string" ? n.number[c.style] : Nn(c.style) ? c.style.parsedOptions : void 0;
3252
+ d && d.scale && (h = h * (d.scale || 1)), l.push({
3253
3253
  type: J.literal,
3254
- value: r.getNumberFormat(t, m).format(h)
3254
+ value: r.getNumberFormat(t, d).format(h)
3255
3255
  });
3256
3256
  continue;
3257
3257
  }
@@ -3259,7 +3259,7 @@ function It(e, t, r, n, i, o, a) {
3259
3259
  var v = c.children, b = c.value, D = i[b];
3260
3260
  if (!Ao(D))
3261
3261
  throw new Eo(b, "function", a);
3262
- var ee = It(v, t, r, n, i, o), A = D(ee.map(function(L) {
3262
+ var ee = Ht(v, t, r, n, i, o), A = D(ee.map(function(L) {
3263
3263
  return L.value;
3264
3264
  }));
3265
3265
  Array.isArray(A) || (A = [A]), l.push.apply(l, A.map(function(L) {
@@ -3273,14 +3273,14 @@ function It(e, t, r, n, i, o, a) {
3273
3273
  var y = c.options[h] || c.options.other;
3274
3274
  if (!y)
3275
3275
  throw new $r(c.value, h, Object.keys(c.options), a);
3276
- l.push.apply(l, It(y.value, t, r, n, i));
3276
+ l.push.apply(l, Ht(y.value, t, r, n, i));
3277
3277
  continue;
3278
3278
  }
3279
3279
  if (Ln(c)) {
3280
3280
  var y = c.options["=".concat(h)];
3281
3281
  if (!y) {
3282
3282
  if (!Intl.PluralRules)
3283
- throw new Gt(`Intl.PluralRules is not available in this environment.
3283
+ throw new Vt(`Intl.PluralRules is not available in this environment.
3284
3284
  Try polyfilling it using "@formatjs/intl-pluralrules"
3285
3285
  `, qe.MISSING_INTL_API, a);
3286
3286
  var H = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
@@ -3288,7 +3288,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3288
3288
  }
3289
3289
  if (!y)
3290
3290
  throw new $r(c.value, h, Object.keys(c.options), a);
3291
- l.push.apply(l, It(y.value, t, r, n, i, h - (c.offset || 0)));
3291
+ l.push.apply(l, Ht(y.value, t, r, n, i, h - (c.offset || 0)));
3292
3292
  continue;
3293
3293
  }
3294
3294
  }
@@ -3304,7 +3304,7 @@ function To(e, t) {
3304
3304
  return r[n] = Co(e[n], t[n]), r;
3305
3305
  }, de({}, e)) : e;
3306
3306
  }
3307
- function er(e) {
3307
+ function Jt(e) {
3308
3308
  return {
3309
3309
  create: function() {
3310
3310
  return {
@@ -3324,29 +3324,29 @@ function So(e) {
3324
3324
  dateTime: {},
3325
3325
  pluralRules: {}
3326
3326
  }), {
3327
- getNumberFormat: Qt(function() {
3327
+ getNumberFormat: qt(function() {
3328
3328
  for (var t, r = [], n = 0; n < arguments.length; n++)
3329
3329
  r[n] = arguments[n];
3330
- return new ((t = Intl.NumberFormat).bind.apply(t, qt([void 0], r, !1)))();
3330
+ return new ((t = Intl.NumberFormat).bind.apply(t, Kt([void 0], r, !1)))();
3331
3331
  }, {
3332
- cache: er(e.number),
3333
- strategy: Yt.variadic
3332
+ cache: Jt(e.number),
3333
+ strategy: Qt.variadic
3334
3334
  }),
3335
- getDateTimeFormat: Qt(function() {
3335
+ getDateTimeFormat: qt(function() {
3336
3336
  for (var t, r = [], n = 0; n < arguments.length; n++)
3337
3337
  r[n] = arguments[n];
3338
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qt([void 0], r, !1)))();
3338
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Kt([void 0], r, !1)))();
3339
3339
  }, {
3340
- cache: er(e.dateTime),
3341
- strategy: Yt.variadic
3340
+ cache: Jt(e.dateTime),
3341
+ strategy: Qt.variadic
3342
3342
  }),
3343
- getPluralRules: Qt(function() {
3343
+ getPluralRules: qt(function() {
3344
3344
  for (var t, r = [], n = 0; n < arguments.length; n++)
3345
3345
  r[n] = arguments[n];
3346
- return new ((t = Intl.PluralRules).bind.apply(t, qt([void 0], r, !1)))();
3346
+ return new ((t = Intl.PluralRules).bind.apply(t, Kt([void 0], r, !1)))();
3347
3347
  }, {
3348
- cache: er(e.pluralRules),
3349
- strategy: Yt.variadic
3348
+ cache: Jt(e.pluralRules),
3349
+ strategy: Qt.variadic
3350
3350
  })
3351
3351
  };
3352
3352
  }
@@ -3364,12 +3364,12 @@ var Bo = (
3364
3364
  var u = o.formatToParts(s);
3365
3365
  if (u.length === 1)
3366
3366
  return u[0].value;
3367
- var c = u.reduce(function(d, h) {
3368
- return !d.length || h.type !== J.literal || typeof d[d.length - 1] != "string" ? d.push(h.value) : d[d.length - 1] += h.value, d;
3367
+ var c = u.reduce(function(m, h) {
3368
+ return !m.length || h.type !== J.literal || typeof m[m.length - 1] != "string" ? m.push(h.value) : m[m.length - 1] += h.value, m;
3369
3369
  }, []);
3370
3370
  return c.length <= 1 ? c[0] || "" : c;
3371
3371
  }, this.formatToParts = function(s) {
3372
- return It(o.ast, o.locales, o.formatters, o.formats, s, void 0, o.message);
3372
+ return Ht(o.ast, o.locales, o.formatters, o.formats, s, void 0, o.message);
3373
3373
  }, this.resolvedOptions = function() {
3374
3374
  var s;
3375
3375
  return {
@@ -3488,7 +3488,7 @@ const Se = {}, Ho = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (S
3488
3488
  return;
3489
3489
  if (t in Se && e in Se[t])
3490
3490
  return Se[t][e];
3491
- const r = $t(t);
3491
+ const r = Gt(t);
3492
3492
  for (let n = 0; n < r.length; n++) {
3493
3493
  const i = r[n], o = Oo(i, e);
3494
3494
  if (o)
@@ -3496,7 +3496,7 @@ const Se = {}, Ho = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (S
3496
3496
  }
3497
3497
  };
3498
3498
  let Pr;
3499
- const Je = Ut({});
3499
+ const Je = Ft({});
3500
3500
  function Io(e) {
3501
3501
  return Pr[e] || null;
3502
3502
  }
@@ -3512,7 +3512,7 @@ function Oo(e, t) {
3512
3512
  function Lo(e) {
3513
3513
  if (e == null)
3514
3514
  return;
3515
- const t = $t(e);
3515
+ const t = Gt(e);
3516
3516
  for (let r = 0; r < t.length; r++) {
3517
3517
  const n = t[r];
3518
3518
  if (jn(n))
@@ -3527,21 +3527,21 @@ Ye(
3527
3527
  ([e]) => Object.keys(e)
3528
3528
  );
3529
3529
  Je.subscribe((e) => Pr = e);
3530
- const Ot = {};
3530
+ const It = {};
3531
3531
  function Ro(e, t) {
3532
- Ot[e].delete(t), Ot[e].size === 0 && delete Ot[e];
3532
+ It[e].delete(t), It[e].size === 0 && delete It[e];
3533
3533
  }
3534
3534
  function Xn(e) {
3535
- return Ot[e];
3535
+ return It[e];
3536
3536
  }
3537
3537
  function No(e) {
3538
- return $t(e).map((t) => {
3538
+ return Gt(e).map((t) => {
3539
3539
  const r = Xn(t);
3540
3540
  return [t, r ? [...r] : []];
3541
3541
  }).filter(([, t]) => t.length > 0);
3542
3542
  }
3543
- function dr(e) {
3544
- return e == null ? !1 : $t(e).some(
3543
+ function pr(e) {
3544
+ return e == null ? !1 : Gt(e).some(
3545
3545
  (t) => {
3546
3546
  var r;
3547
3547
  return (r = Xn(t)) == null ? void 0 : r.size;
@@ -3555,7 +3555,7 @@ function Do(e, t) {
3555
3555
  }
3556
3556
  const lt = {};
3557
3557
  function zn(e) {
3558
- if (!dr(e))
3558
+ if (!pr(e))
3559
3559
  return e in lt ? lt[e] : Promise.resolve();
3560
3560
  const t = No(e);
3561
3561
  return lt[e] = Promise.all(
@@ -3563,7 +3563,7 @@ function zn(e) {
3563
3563
  ([r, n]) => Do(r, n)
3564
3564
  )
3565
3565
  ).then(() => {
3566
- if (dr(e))
3566
+ if (pr(e))
3567
3567
  return zn(e);
3568
3568
  delete lt[e];
3569
3569
  }), lt[e];
@@ -3608,7 +3608,7 @@ const Mo = {
3608
3608
  function Qe() {
3609
3609
  return Fo;
3610
3610
  }
3611
- const tr = Ut(!1);
3611
+ const er = Ft(!1);
3612
3612
  var Uo = Object.defineProperty, Vo = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, jr = Object.getOwnPropertySymbols, $o = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, Wr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wo = (e, t) => {
3613
3613
  for (var r in t || (t = {}))
3614
3614
  $o.call(t, r) && Wr(e, r, t[r]);
@@ -3617,57 +3617,57 @@ var Uo = Object.defineProperty, Vo = Object.defineProperties, Go = Object.getOwn
3617
3617
  jo.call(t, r) && Wr(e, r, t[r]);
3618
3618
  return e;
3619
3619
  }, Xo = (e, t) => Vo(e, Go(t));
3620
- let mr;
3621
- const Mt = Ut(null);
3620
+ let dr;
3621
+ const Dt = Ft(null);
3622
3622
  function Xr(e) {
3623
3623
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3624
3624
  }
3625
- function $t(e, t = Qe().fallbackLocale) {
3625
+ function Gt(e, t = Qe().fallbackLocale) {
3626
3626
  const r = Xr(e);
3627
3627
  return t ? [.../* @__PURE__ */ new Set([...r, ...Xr(t)])] : r;
3628
3628
  }
3629
3629
  function Re() {
3630
- return mr ?? void 0;
3630
+ return dr ?? void 0;
3631
3631
  }
3632
- Mt.subscribe((e) => {
3633
- mr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3632
+ Dt.subscribe((e) => {
3633
+ dr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3634
3634
  });
3635
3635
  const zo = (e) => {
3636
- if (e && Lo(e) && dr(e)) {
3636
+ if (e && Lo(e) && pr(e)) {
3637
3637
  const { loadingDelay: t } = Qe();
3638
3638
  let r;
3639
3639
  return typeof window < "u" && Re() != null && t ? r = window.setTimeout(
3640
- () => tr.set(!0),
3640
+ () => er.set(!0),
3641
3641
  t
3642
- ) : tr.set(!0), zn(e).then(() => {
3643
- Mt.set(e);
3642
+ ) : er.set(!0), zn(e).then(() => {
3643
+ Dt.set(e);
3644
3644
  }).finally(() => {
3645
- clearTimeout(r), tr.set(!1);
3645
+ clearTimeout(r), er.set(!1);
3646
3646
  });
3647
3647
  }
3648
- return Mt.set(e);
3649
- }, Be = Xo(Wo({}, Mt), {
3648
+ return Dt.set(e);
3649
+ }, Be = Xo(Wo({}, Dt), {
3650
3650
  set: zo
3651
- }), jt = (e) => {
3651
+ }), $t = (e) => {
3652
3652
  const t = /* @__PURE__ */ Object.create(null);
3653
3653
  return (n) => {
3654
3654
  const i = JSON.stringify(n);
3655
3655
  return i in t ? t[i] : t[i] = e(n);
3656
3656
  };
3657
3657
  };
3658
- var Zo = Object.defineProperty, kt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, zr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hr = (e, t) => {
3658
+ var Zo = Object.defineProperty, Mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, zr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hr = (e, t) => {
3659
3659
  for (var r in t || (t = {}))
3660
3660
  Zn.call(t, r) && zr(e, r, t[r]);
3661
- if (kt)
3662
- for (var r of kt(t))
3661
+ if (Mt)
3662
+ for (var r of Mt(t))
3663
3663
  Kn.call(t, r) && zr(e, r, t[r]);
3664
3664
  return e;
3665
3665
  }, et = (e, t) => {
3666
3666
  var r = {};
3667
3667
  for (var n in e)
3668
3668
  Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3669
- if (e != null && kt)
3670
- for (var n of kt(e))
3669
+ if (e != null && Mt)
3670
+ for (var n of Mt(e))
3671
3671
  t.indexOf(n) < 0 && Kn.call(e, n) && (r[n] = e[n]);
3672
3672
  return r;
3673
3673
  };
@@ -3676,21 +3676,21 @@ const pt = (e, t) => {
3676
3676
  if (e in r && t in r[e])
3677
3677
  return r[e][t];
3678
3678
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3679
- }, Ko = jt(
3679
+ }, Ko = $t(
3680
3680
  (e) => {
3681
3681
  var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
3682
3682
  if (r == null)
3683
3683
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3684
3684
  return n && (i = pt("number", n)), new Intl.NumberFormat(r, i);
3685
3685
  }
3686
- ), qo = jt(
3686
+ ), qo = $t(
3687
3687
  (e) => {
3688
3688
  var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
3689
3689
  if (r == null)
3690
3690
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3691
3691
  return n ? i = pt("date", n) : Object.keys(i).length === 0 && (i = pt("date", "short")), new Intl.DateTimeFormat(r, i);
3692
3692
  }
3693
- ), Qo = jt(
3693
+ ), Qo = $t(
3694
3694
  (e) => {
3695
3695
  var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
3696
3696
  if (r == null)
@@ -3720,7 +3720,7 @@ const pt = (e, t) => {
3720
3720
  "locale"
3721
3721
  ]);
3722
3722
  return Qo(Hr({ locale: r }, n));
3723
- }, ta = jt(
3723
+ }, ta = $t(
3724
3724
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3725
3725
  (e, t = Re()) => new Bo(e, t, Qe().formats, {
3726
3726
  ignoreTag: Qe().ignoreTag
@@ -3747,16 +3747,16 @@ const pt = (e, t) => {
3747
3747
  ), c;
3748
3748
  if (!l)
3749
3749
  return c;
3750
- let d = c;
3750
+ let m = c;
3751
3751
  try {
3752
- d = ta(c, s).format(l);
3752
+ m = ta(c, s).format(l);
3753
3753
  } catch (h) {
3754
3754
  h instanceof Error && console.warn(
3755
3755
  `[svelte-i18n] Message "${e}" has syntax error:`,
3756
3756
  h.message
3757
3757
  );
3758
3758
  }
3759
- return d;
3759
+ return m;
3760
3760
  }, na = (e, t) => ea(t).format(e), ia = (e, t) => Jo(t).format(e), oa = (e, t) => Yo(t).format(e), aa = (e, t = Re()) => $n(e, t), sa = Ye([Be, Je], () => ra);
3761
3761
  Ye([Be], () => na);
3762
3762
  Ye([Be], () => ia);
@@ -3897,24 +3897,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3897
3897
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3898
3898
  PERFORMANCE OF THIS SOFTWARE.
3899
3899
  ***************************************************************************** */
3900
- var gr = function(e, t) {
3901
- return gr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3900
+ var mr = function(e, t) {
3901
+ return mr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3902
3902
  r.__proto__ = n;
3903
3903
  } || function(r, n) {
3904
3904
  for (var i in n)
3905
3905
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3906
- }, gr(e, t);
3906
+ }, mr(e, t);
3907
3907
  };
3908
- function gt(e, t) {
3908
+ function mt(e, t) {
3909
3909
  if (typeof t != "function" && t !== null)
3910
3910
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3911
- gr(e, t);
3911
+ mr(e, t);
3912
3912
  function r() {
3913
3913
  this.constructor = e;
3914
3914
  }
3915
3915
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3916
3916
  }
3917
- function br(e) {
3917
+ function gr(e) {
3918
3918
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3919
3919
  if (r)
3920
3920
  return r.call(e);
@@ -3926,7 +3926,7 @@ function br(e) {
3926
3926
  };
3927
3927
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3928
3928
  }
3929
- function yr(e, t) {
3929
+ function br(e, t) {
3930
3930
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3931
3931
  if (!r)
3932
3932
  return e;
@@ -3946,7 +3946,7 @@ function yr(e, t) {
3946
3946
  }
3947
3947
  return o;
3948
3948
  }
3949
- function vr(e, t, r) {
3949
+ function yr(e, t, r) {
3950
3950
  if (arguments.length === 2)
3951
3951
  for (var n = 0, i = t.length, o; n < i; n++)
3952
3952
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -3961,7 +3961,7 @@ function qn(e) {
3961
3961
  }, r = e(t);
3962
3962
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3963
3963
  }
3964
- var rr = qn(function(e) {
3964
+ var tr = qn(function(e) {
3965
3965
  return function(r) {
3966
3966
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3967
3967
  ` + r.map(function(n, i) {
@@ -3970,13 +3970,13 @@ var rr = qn(function(e) {
3970
3970
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3971
3971
  };
3972
3972
  });
3973
- function _r(e, t) {
3973
+ function vr(e, t) {
3974
3974
  if (e) {
3975
3975
  var r = e.indexOf(t);
3976
3976
  0 <= r && e.splice(r, 1);
3977
3977
  }
3978
3978
  }
3979
- var Wt = function() {
3979
+ var jt = function() {
3980
3980
  function e(t) {
3981
3981
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3982
3982
  }
@@ -3988,7 +3988,7 @@ var Wt = function() {
3988
3988
  if (a)
3989
3989
  if (this._parentage = null, Array.isArray(a))
3990
3990
  try {
3991
- for (var l = br(a), s = l.next(); !s.done; s = l.next()) {
3991
+ for (var l = gr(a), s = l.next(); !s.done; s = l.next()) {
3992
3992
  var u = s.value;
3993
3993
  u.remove(this);
3994
3994
  }
@@ -4009,25 +4009,25 @@ var Wt = function() {
4009
4009
  try {
4010
4010
  c();
4011
4011
  } catch (b) {
4012
- o = b instanceof rr ? b.errors : [b];
4012
+ o = b instanceof tr ? b.errors : [b];
4013
4013
  }
4014
- var d = this._finalizers;
4015
- if (d) {
4014
+ var m = this._finalizers;
4015
+ if (m) {
4016
4016
  this._finalizers = null;
4017
4017
  try {
4018
- for (var h = br(d), m = h.next(); !m.done; m = h.next()) {
4019
- var v = m.value;
4018
+ for (var h = gr(m), d = h.next(); !d.done; d = h.next()) {
4019
+ var v = d.value;
4020
4020
  try {
4021
4021
  qr(v);
4022
4022
  } catch (b) {
4023
- o = o ?? [], b instanceof rr ? o = vr(vr([], yr(o)), yr(b.errors)) : o.push(b);
4023
+ o = o ?? [], b instanceof tr ? o = yr(yr([], br(o)), br(b.errors)) : o.push(b);
4024
4024
  }
4025
4025
  }
4026
4026
  } catch (b) {
4027
4027
  n = { error: b };
4028
4028
  } finally {
4029
4029
  try {
4030
- m && !m.done && (i = h.return) && i.call(h);
4030
+ d && !d.done && (i = h.return) && i.call(h);
4031
4031
  } finally {
4032
4032
  if (n)
4033
4033
  throw n.error;
@@ -4035,7 +4035,7 @@ var Wt = function() {
4035
4035
  }
4036
4036
  }
4037
4037
  if (o)
4038
- throw new rr(o);
4038
+ throw new tr(o);
4039
4039
  }
4040
4040
  }, e.prototype.add = function(t) {
4041
4041
  var r;
@@ -4058,17 +4058,17 @@ var Wt = function() {
4058
4058
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4059
4059
  }, e.prototype._removeParent = function(t) {
4060
4060
  var r = this._parentage;
4061
- r === t ? this._parentage = null : Array.isArray(r) && _r(r, t);
4061
+ r === t ? this._parentage = null : Array.isArray(r) && vr(r, t);
4062
4062
  }, e.prototype.remove = function(t) {
4063
4063
  var r = this._finalizers;
4064
- r && _r(r, t), t instanceof e && t._removeParent(this);
4064
+ r && vr(r, t), t instanceof e && t._removeParent(this);
4065
4065
  }, e.EMPTY = function() {
4066
4066
  var t = new e();
4067
4067
  return t.closed = !0, t;
4068
4068
  }(), e;
4069
- }(), Qn = Wt.EMPTY;
4069
+ }(), Qn = jt.EMPTY;
4070
4070
  function Yn(e) {
4071
- return e instanceof Wt || e && "closed" in e && Ee(e.remove) && Ee(e.add) && Ee(e.unsubscribe);
4071
+ return e instanceof jt || e && "closed" in e && Ee(e.remove) && Ee(e.add) && Ee(e.unsubscribe);
4072
4072
  }
4073
4073
  function qr(e) {
4074
4074
  Ee(e) ? e() : e.unsubscribe();
@@ -4079,7 +4079,7 @@ var ca = {
4079
4079
  setTimeout: function(e, t) {
4080
4080
  for (var r = [], n = 2; n < arguments.length; n++)
4081
4081
  r[n - 2] = arguments[n];
4082
- return setTimeout.apply(void 0, vr([e, t], yr(r)));
4082
+ return setTimeout.apply(void 0, yr([e, t], br(r)));
4083
4083
  },
4084
4084
  clearTimeout: function(e) {
4085
4085
  return clearTimeout(e);
@@ -4093,17 +4093,17 @@ function fa(e) {
4093
4093
  }
4094
4094
  function Qr() {
4095
4095
  }
4096
- function Lt(e) {
4096
+ function Ot(e) {
4097
4097
  e();
4098
4098
  }
4099
4099
  var Jn = function(e) {
4100
- gt(t, e);
4100
+ mt(t, e);
4101
4101
  function t(r) {
4102
4102
  var n = e.call(this) || this;
4103
4103
  return n.isStopped = !1, r ? (n.destination = r, Yn(r) && r.add(n)) : n.destination = ma, n;
4104
4104
  }
4105
4105
  return t.create = function(r, n, i) {
4106
- return new Er(r, n, i);
4106
+ return new _r(r, n, i);
4107
4107
  }, t.prototype.next = function(r) {
4108
4108
  this.isStopped || this._next(r);
4109
4109
  }, t.prototype.error = function(r) {
@@ -4127,7 +4127,7 @@ var Jn = function(e) {
4127
4127
  this.unsubscribe();
4128
4128
  }
4129
4129
  }, t;
4130
- }(Wt), pa = function() {
4130
+ }(jt), pa = function() {
4131
4131
  function e(t) {
4132
4132
  this.partialObserver = t;
4133
4133
  }
@@ -4137,7 +4137,7 @@ var Jn = function(e) {
4137
4137
  try {
4138
4138
  r.next(t);
4139
4139
  } catch (n) {
4140
- St(n);
4140
+ Tt(n);
4141
4141
  }
4142
4142
  }, e.prototype.error = function(t) {
4143
4143
  var r = this.partialObserver;
@@ -4145,21 +4145,21 @@ var Jn = function(e) {
4145
4145
  try {
4146
4146
  r.error(t);
4147
4147
  } catch (n) {
4148
- St(n);
4148
+ Tt(n);
4149
4149
  }
4150
4150
  else
4151
- St(t);
4151
+ Tt(t);
4152
4152
  }, e.prototype.complete = function() {
4153
4153
  var t = this.partialObserver;
4154
4154
  if (t.complete)
4155
4155
  try {
4156
4156
  t.complete();
4157
4157
  } catch (r) {
4158
- St(r);
4158
+ Tt(r);
4159
4159
  }
4160
4160
  }, e;
4161
- }(), Er = function(e) {
4162
- gt(t, e);
4161
+ }(), _r = function(e) {
4162
+ mt(t, e);
4163
4163
  function t(r, n, i) {
4164
4164
  var o = e.call(this) || this, a;
4165
4165
  return Ee(r) || !r ? a = {
@@ -4170,7 +4170,7 @@ var Jn = function(e) {
4170
4170
  }
4171
4171
  return t;
4172
4172
  }(Jn);
4173
- function St(e) {
4173
+ function Tt(e) {
4174
4174
  fa(e);
4175
4175
  }
4176
4176
  function da(e) {
@@ -4202,8 +4202,8 @@ var Yr = function() {
4202
4202
  var r = new e();
4203
4203
  return r.source = this, r.operator = t, r;
4204
4204
  }, e.prototype.subscribe = function(t, r, n) {
4205
- var i = this, o = _a(t) ? t : new Er(t, r, n);
4206
- return Lt(function() {
4205
+ var i = this, o = _a(t) ? t : new _r(t, r, n);
4206
+ return Ot(function() {
4207
4207
  var a = i, l = a.operator, s = a.source;
4208
4208
  o.add(l ? l.call(o, s) : s ? i._subscribe(o) : i._trySubscribe(o));
4209
4209
  }), o;
@@ -4216,7 +4216,7 @@ var Yr = function() {
4216
4216
  }, e.prototype.forEach = function(t, r) {
4217
4217
  var n = this;
4218
4218
  return r = Jr(r), new r(function(i, o) {
4219
- var a = new Er({
4219
+ var a = new _r({
4220
4220
  next: function(l) {
4221
4221
  try {
4222
4222
  t(l);
@@ -4269,7 +4269,7 @@ var Ea = qn(function(e) {
4269
4269
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4270
4270
  };
4271
4271
  }), ei = function(e) {
4272
- gt(t, e);
4272
+ mt(t, e);
4273
4273
  function t() {
4274
4274
  var r = e.call(this) || this;
4275
4275
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4282,12 +4282,12 @@ var Ea = qn(function(e) {
4282
4282
  throw new Ea();
4283
4283
  }, t.prototype.next = function(r) {
4284
4284
  var n = this;
4285
- Lt(function() {
4285
+ Ot(function() {
4286
4286
  var i, o;
4287
4287
  if (n._throwIfClosed(), !n.isStopped) {
4288
4288
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4289
4289
  try {
4290
- for (var a = br(n.currentObservers), l = a.next(); !l.done; l = a.next()) {
4290
+ for (var a = gr(n.currentObservers), l = a.next(); !l.done; l = a.next()) {
4291
4291
  var s = l.value;
4292
4292
  s.next(r);
4293
4293
  }
@@ -4305,7 +4305,7 @@ var Ea = qn(function(e) {
4305
4305
  });
4306
4306
  }, t.prototype.error = function(r) {
4307
4307
  var n = this;
4308
- Lt(function() {
4308
+ Ot(function() {
4309
4309
  if (n._throwIfClosed(), !n.isStopped) {
4310
4310
  n.hasError = n.isStopped = !0, n.thrownError = r;
4311
4311
  for (var i = n.observers; i.length; )
@@ -4314,7 +4314,7 @@ var Ea = qn(function(e) {
4314
4314
  });
4315
4315
  }, t.prototype.complete = function() {
4316
4316
  var r = this;
4317
- Lt(function() {
4317
+ Ot(function() {
4318
4318
  if (r._throwIfClosed(), !r.isStopped) {
4319
4319
  r.isStopped = !0;
4320
4320
  for (var n = r.observers; n.length; )
@@ -4336,8 +4336,8 @@ var Ea = qn(function(e) {
4336
4336
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4337
4337
  }, t.prototype._innerSubscribe = function(r) {
4338
4338
  var n = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
4339
- return o || a ? Qn : (this.currentObservers = null, l.push(r), new Wt(function() {
4340
- n.currentObservers = null, _r(l, r);
4339
+ return o || a ? Qn : (this.currentObservers = null, l.push(r), new jt(function() {
4340
+ n.currentObservers = null, vr(l, r);
4341
4341
  }));
4342
4342
  }, t.prototype._checkFinalizedStatuses = function(r) {
4343
4343
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
@@ -4349,7 +4349,7 @@ var Ea = qn(function(e) {
4349
4349
  return new en(r, n);
4350
4350
  }, t;
4351
4351
  }(Yr), en = function(e) {
4352
- gt(t, e);
4352
+ mt(t, e);
4353
4353
  function t(r, n) {
4354
4354
  var i = e.call(this) || this;
4355
4355
  return i.destination = r, i.source = n, i;
@@ -4373,7 +4373,7 @@ var Ea = qn(function(e) {
4373
4373
  },
4374
4374
  delegate: void 0
4375
4375
  }, xa = function(e) {
4376
- gt(t, e);
4376
+ mt(t, e);
4377
4377
  function t(r, n, i) {
4378
4378
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ti);
4379
4379
  var o = e.call(this) || this;
@@ -4403,24 +4403,22 @@ const tn = [], rn = {}, wa = (e, t = 0) => {
4403
4403
  }
4404
4404
  return rn[e];
4405
4405
  };
4406
- let xr = "en-UK", ri = "true", dt = 2, wr = "";
4406
+ let Er = "en-UK", ri = "true", xr = 0, wr = "";
4407
4407
  const Aa = (e, t, r, n) => {
4408
- xr = e || "en-UK", ri = t || "true", dt = +n || 2, wr = r || "";
4408
+ Er = e || "en-UK", ri = t || "true", xr = +n || 0, wr = r || "";
4409
4409
  }, nn = ({ local: e, options: t = {}, amount: r }) => {
4410
4410
  try {
4411
- return new Intl.NumberFormat(e, t).format(r);
4411
+ return new Intl.NumberFormat(e, t);
4412
4412
  } catch (n) {
4413
- console.info(n);
4414
- const i = new Intl.NumberFormat(e, {
4415
- maximumFractionDigits: dt,
4416
- minimumFractionDigits: dt
4417
- }).format(r);
4418
- return `${t.currency || ""} ${i}`;
4413
+ return console.info(n), new Intl.NumberFormat(e, {
4414
+ minimumFractionDigits: t.minimumFractionDigits,
4415
+ maximumFractionDigits: t.maximumFractionDigits
4416
+ });
4419
4417
  }
4420
4418
  }, Pe = (e, t, r = {}, n = !0) => {
4421
4419
  const i = {
4422
- maximumFractionDigits: dt,
4423
- minimumFractionDigits: dt,
4420
+ maximumFractionDigits: xr,
4421
+ minimumFractionDigits: xr,
4424
4422
  ...n && {
4425
4423
  style: "currency",
4426
4424
  currency: t,
@@ -4429,9 +4427,9 @@ const Aa = (e, t, r, n) => {
4429
4427
  ...r
4430
4428
  };
4431
4429
  if (!wr)
4432
- return nn({ local: xr, options: i, amount: e });
4433
- const a = nn({ local: xr, options: i, amount: e }).formatToParts(e), l = a.find((d) => d.type === "currency"), u = a.filter((d) => d.type !== "currency").map((d) => d.value).join("");
4434
- return wr === "before" ? `${l.value || ""} ${u}` : `${u} ${l.value || ""}`;
4430
+ return nn({ local: Er, options: i }).format(e);
4431
+ const a = nn({ local: Er, options: i }).formatToParts(e), l = a.find(({ type: c = "" } = {}) => c === "currency") || {}, s = a.filter(({ type: c = "" } = {}) => c !== "currency").map(({ value: c = "" } = {}) => c).join("");
4432
+ return wr === "before" ? `${l.value || t || ""} ${s}` : `${s} ${l.value || t || ""}`;
4435
4433
  };
4436
4434
  window.emWidgets = { topic: wa };
4437
4435
  const Ca = {
@@ -4762,7 +4760,7 @@ const _e = String(Number.MAX_SAFE_INTEGER).length, Ba = 6e3, Pa = {
4762
4760
  }, an = {
4763
4761
  ResetVaultWidget: "ResetVaultWidget",
4764
4762
  CloseVaultWidget: "CloseVaultWidget"
4765
- }, nr = {
4763
+ }, rr = {
4766
4764
  VaultWidgetReset: "VaultWidgetReset",
4767
4765
  VaultWidgetClosed: "VaultWidgetClosed",
4768
4766
  VaultDropdownToggled: "VaultDropdownToggled"
@@ -4772,7 +4770,7 @@ const _e = String(Number.MAX_SAFE_INTEGER).length, Ba = 6e3, Pa = {
4772
4770
  }, Te = {
4773
4771
  success: "success",
4774
4772
  error: "error"
4775
- }, Bt = {
4773
+ }, St = {
4776
4774
  ArrowDown: "ArrowDown",
4777
4775
  ArrowUp: "ArrowUp",
4778
4776
  Enter: "Enter",
@@ -4825,7 +4823,7 @@ function cn(e) {
4825
4823
  };
4826
4824
  }
4827
4825
  function hn(e) {
4828
- let t, r, n = Nt(
4826
+ let t, r, n = Rt(
4829
4827
  /*options*/
4830
4828
  e[1]
4831
4829
  ), i = [];
@@ -4847,7 +4845,7 @@ function hn(e) {
4847
4845
  p(o, a) {
4848
4846
  if (a & /*options, selected, activeIndex, handleChange*/
4849
4847
  547) {
4850
- n = Nt(
4848
+ n = Rt(
4851
4849
  /*options*/
4852
4850
  o[1]
4853
4851
  );
@@ -4873,7 +4871,7 @@ function fn(e) {
4873
4871
  ), i, o, a = (
4874
4872
  /*option*/
4875
4873
  e[16]?.currency + ""
4876
- ), l, s, u, c, d;
4874
+ ), l, s, u, c, m;
4877
4875
  return {
4878
4876
  c() {
4879
4877
  t = x("li"), r = x("span"), i = j(n), o = I(), l = j(a), s = I(), g(r, "class", "symbol svelte-1g9pqha"), g(t, "role", "option"), g(t, "aria-selected", u = /*option*/
@@ -4890,11 +4888,11 @@ function fn(e) {
4890
4888
  e[5]
4891
4889
  );
4892
4890
  },
4893
- m(h, m) {
4894
- T(h, t, m), _(t, r), _(r, i), _(t, o), _(t, l), _(t, s), c || (d = [
4891
+ m(h, d) {
4892
+ T(h, t, d), _(t, r), _(r, i), _(t, o), _(t, l), _(t, s), c || (m = [
4895
4893
  re(t, "keydown", Ra),
4896
4894
  re(t, "click", function() {
4897
- mt(
4895
+ dt(
4898
4896
  /*handleChange*/
4899
4897
  e[9](
4900
4898
  /*option*/
@@ -4911,17 +4909,17 @@ function fn(e) {
4911
4909
  })
4912
4910
  ], c = !0);
4913
4911
  },
4914
- p(h, m) {
4915
- e = h, m & /*options*/
4912
+ p(h, d) {
4913
+ e = h, d & /*options*/
4916
4914
  2 && n !== (n = /*option*/
4917
- e[16]?.symbol + "") && ne(i, n), m & /*options*/
4915
+ e[16]?.symbol + "") && ne(i, n), d & /*options*/
4918
4916
  2 && a !== (a = /*option*/
4919
- e[16]?.currency + "") && ne(l, a), m & /*options, selected, activeIndex*/
4917
+ e[16]?.currency + "") && ne(l, a), d & /*options, selected, activeIndex*/
4920
4918
  35 && u !== (u = /*option*/
4921
4919
  e[16]?.currency === /*selected*/
4922
4920
  e[0]?.currency || /*index*/
4923
4921
  e[18] === /*activeIndex*/
4924
- e[5]) && g(t, "aria-selected", u), m & /*options, selected, activeIndex*/
4922
+ e[5]) && g(t, "aria-selected", u), d & /*options, selected, activeIndex*/
4925
4923
  35 && ae(
4926
4924
  t,
4927
4925
  "active",
@@ -4933,7 +4931,7 @@ function fn(e) {
4933
4931
  );
4934
4932
  },
4935
4933
  d(h) {
4936
- h && C(t), c = !1, xe(d);
4934
+ h && C(t), c = !1, xe(m);
4937
4935
  }
4938
4936
  };
4939
4937
  }
@@ -4942,17 +4940,17 @@ function La(e) {
4942
4940
  /*selected*/
4943
4941
  (e[0]?.currency || /*placeholder*/
4944
4942
  e[2]) + ""
4945
- ), a, l, s, u, c, d, h = (
4943
+ ), a, l, s, u, c, m, h = (
4946
4944
  /*selected*/
4947
4945
  e[0]?.symbol && /*withSymbol*/
4948
4946
  e[3] === se.true && cn(e)
4949
- ), m = (
4947
+ ), d = (
4950
4948
  /*open*/
4951
4949
  e[7] && hn(e)
4952
4950
  );
4953
4951
  return {
4954
4952
  c() {
4955
- t = x("div"), r = x("button"), n = x("span"), h && h.c(), i = I(), a = j(o), l = I(), s = x("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = I(), m && m.c(), g(n, "class", "label svelte-1g9pqha"), g(s, "class", "arrow"), ae(
4953
+ t = x("div"), r = x("button"), n = x("span"), h && h.c(), i = I(), a = j(o), l = I(), s = x("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = I(), d && d.c(), g(n, "class", "label svelte-1g9pqha"), g(s, "class", "arrow"), ae(
4956
4954
  s,
4957
4955
  "open",
4958
4956
  /*open*/
@@ -4966,7 +4964,7 @@ function La(e) {
4966
4964
  e[4], g(t, "class", "selectWrapper svelte-1g9pqha");
4967
4965
  },
4968
4966
  m(v, b) {
4969
- T(v, t, b), _(t, r), _(r, n), h && h.m(n, null), _(n, i), _(n, a), _(r, l), _(r, s), _(t, u), m && m.m(t, null), c || (d = [
4967
+ T(v, t, b), _(t, r), _(r, n), h && h.m(n, null), _(n, i), _(n, a), _(r, l), _(r, s), _(t, u), d && d.m(t, null), c || (m = [
4970
4968
  re(
4971
4969
  r,
4972
4970
  "keydown",
@@ -5007,21 +5005,21 @@ function La(e) {
5007
5005
  ), b & /*disabled*/
5008
5006
  16 && (r.disabled = /*disabled*/
5009
5007
  v[4]), /*open*/
5010
- v[7] ? m ? m.p(v, b) : (m = hn(v), m.c(), m.m(t, null)) : m && (m.d(1), m = null);
5008
+ v[7] ? d ? d.p(v, b) : (d = hn(v), d.c(), d.m(t, null)) : d && (d.d(1), d = null);
5011
5009
  },
5012
5010
  i: B,
5013
5011
  o: B,
5014
5012
  d(v) {
5015
- v && C(t), h && h.d(), m && m.d(), c = !1, xe(d);
5013
+ v && C(t), h && h.d(), d && d.d(), c = !1, xe(m);
5016
5014
  }
5017
5015
  };
5018
5016
  }
5019
5017
  const Ra = (e) => e.preventDefault();
5020
5018
  function Na(e, t, r) {
5021
5019
  let { options: n = [] } = t, { selected: i = null } = t, { placeholder: o = O("select") } = t, { withSymbol: a = "true" } = t, { id: l } = t, { disabled: s = !1 } = t, { onChange: u = () => {
5022
- } } = t, c = -1, d, h = !1;
5023
- const m = async () => {
5024
- n.length !== 0 && (r(7, h = !h), h && (r(5, c = n.findIndex((y) => y?.currency === i?.currency)), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: l })), await di(), d?.focus(), d?.querySelector('li[aria-selected="true"]')?.scrollIntoView({ block: "nearest" })));
5020
+ } } = t, c = -1, m, h = !1;
5021
+ const d = async () => {
5022
+ n.length !== 0 && (r(7, h = !h), h && (r(5, c = n.findIndex((y) => y?.currency === i?.currency)), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: l })), await di(), m?.focus(), m?.querySelector('li[aria-selected="true"]')?.scrollIntoView({ block: "nearest" })));
5025
5023
  }, v = (y) => {
5026
5024
  y.detail !== l && h && r(7, h = !1);
5027
5025
  }, b = (y, H) => () => {
@@ -5029,7 +5027,7 @@ function Na(e, t, r) {
5029
5027
  }, D = () => {
5030
5028
  r(7, h = !1);
5031
5029
  }, ee = (y) => {
5032
- h && (y.key === Bt.ArrowDown ? (y.preventDefault(), r(5, c = (c + 1) % n.length)) : y.key === Bt.ArrowUp ? (y.preventDefault(), r(5, c = (c - 1 + n.length) % n.length)) : y.key === Bt.Enter ? (y.preventDefault(), b(i, c)()) : y.key === Bt.Escape && r(7, h = !1));
5030
+ h && (y.key === St.ArrowDown ? (y.preventDefault(), r(5, c = (c + 1) % n.length)) : y.key === St.ArrowUp ? (y.preventDefault(), r(5, c = (c - 1 + n.length) % n.length)) : y.key === St.Enter ? (y.preventDefault(), b(i, c)()) : y.key === St.Escape && r(7, h = !1));
5033
5031
  };
5034
5032
  xn(() => {
5035
5033
  window.addEventListener("dropdown-opened", v);
@@ -5038,7 +5036,7 @@ function Na(e, t, r) {
5038
5036
  });
5039
5037
  function A(y) {
5040
5038
  We[y ? "unshift" : "push"](() => {
5041
- d = y, r(6, d);
5039
+ m = y, r(6, m);
5042
5040
  });
5043
5041
  }
5044
5042
  return e.$$set = (y) => {
@@ -5050,9 +5048,9 @@ function Na(e, t, r) {
5050
5048
  a,
5051
5049
  s,
5052
5050
  c,
5053
- d,
5054
- h,
5055
5051
  m,
5052
+ h,
5053
+ d,
5056
5054
  b,
5057
5055
  D,
5058
5056
  ee,
@@ -5068,7 +5066,7 @@ class Ar extends Br {
5068
5066
  t,
5069
5067
  Na,
5070
5068
  La,
5071
- Ft,
5069
+ kt,
5072
5070
  {
5073
5071
  options: 1,
5074
5072
  selected: 0,
@@ -5145,12 +5143,12 @@ function Ma(e) {
5145
5143
  }
5146
5144
  };
5147
5145
  }
5148
- class Xt extends Br {
5146
+ class Wt extends Br {
5149
5147
  constructor(t) {
5150
- super(), Tr(this, t, null, Ma, Ft, {}, Da);
5148
+ super(), Tr(this, t, null, Ma, kt, {}, Da);
5151
5149
  }
5152
5150
  }
5153
- Sr(Xt, {}, [], [], !0);
5151
+ Sr(Wt, {}, [], [], !0);
5154
5152
  function ka(e) {
5155
5153
  Cr(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
5156
5154
  }
@@ -5301,7 +5299,7 @@ function Va(e) {
5301
5299
  }
5302
5300
  function Ga(e) {
5303
5301
  let t, r;
5304
- return t = new Xt({}), {
5302
+ return t = new Wt({}), {
5305
5303
  c() {
5306
5304
  ht(t.$$.fragment);
5307
5305
  },
@@ -5322,14 +5320,14 @@ function Ga(e) {
5322
5320
  }
5323
5321
  function $a(e) {
5324
5322
  let t, r, n, i, o, a, l, s, u;
5325
- const c = [Xa, Wa], d = [];
5326
- function h(m, v) {
5323
+ const c = [Xa, Wa], m = [];
5324
+ function h(d, v) {
5327
5325
  return (
5328
5326
  /*fetchResponse*/
5329
- m[13]?.source === Q.BalanceError ? 0 : 1
5327
+ d[13]?.source === Q.BalanceError ? 0 : 1
5330
5328
  );
5331
5329
  }
5332
- return a = h(e), l = d[a] = c[a](e), {
5330
+ return a = h(e), l = m[a] = c[a](e), {
5333
5331
  c() {
5334
5332
  t = x("div"), r = x("p"), n = j(
5335
5333
  /*validationError*/
@@ -5337,31 +5335,31 @@ function $a(e) {
5337
5335
  ), i = I(), o = x("div"), l.c(), g(r, "class", "validationError"), g(o, "class", "playerBalance amountContainer"), g(t, "class", s = "balanceContainer " + /*validationError*/
5338
5336
  (e[14] ? "hasError" : ""));
5339
5337
  },
5340
- m(m, v) {
5341
- T(m, t, v), _(t, r), _(r, n), _(t, i), _(t, o), d[a].m(o, null), u = !0;
5338
+ m(d, v) {
5339
+ T(d, t, v), _(t, r), _(r, n), _(t, i), _(t, o), m[a].m(o, null), u = !0;
5342
5340
  },
5343
- p(m, v) {
5341
+ p(d, v) {
5344
5342
  (!u || v[0] & /*validationError*/
5345
5343
  16384) && ne(
5346
5344
  n,
5347
5345
  /*validationError*/
5348
- m[14]
5346
+ d[14]
5349
5347
  );
5350
5348
  let b = a;
5351
- a = h(m), a === b ? d[a].p(m, v) : (Oe(), $(d[b], 1, 1, () => {
5352
- d[b] = null;
5353
- }), Le(), l = d[a], l ? l.p(m, v) : (l = d[a] = c[a](m), l.c()), k(l, 1), l.m(o, null)), (!u || v[0] & /*validationError*/
5349
+ a = h(d), a === b ? m[a].p(d, v) : (Oe(), $(m[b], 1, 1, () => {
5350
+ m[b] = null;
5351
+ }), Le(), l = m[a], l ? l.p(d, v) : (l = m[a] = c[a](d), l.c()), k(l, 1), l.m(o, null)), (!u || v[0] & /*validationError*/
5354
5352
  16384 && s !== (s = "balanceContainer " + /*validationError*/
5355
- (m[14] ? "hasError" : ""))) && g(t, "class", s);
5353
+ (d[14] ? "hasError" : ""))) && g(t, "class", s);
5356
5354
  },
5357
- i(m) {
5355
+ i(d) {
5358
5356
  u || (k(l), u = !0);
5359
5357
  },
5360
- o(m) {
5358
+ o(d) {
5361
5359
  $(l), u = !1;
5362
5360
  },
5363
- d(m) {
5364
- m && C(t), d[a].d();
5361
+ d(d) {
5362
+ d && C(t), m[a].d();
5365
5363
  }
5366
5364
  };
5367
5365
  }
@@ -5423,7 +5421,7 @@ function Wa(e) {
5423
5421
  }
5424
5422
  function Xa(e) {
5425
5423
  let t, r;
5426
- return t = new Xt({}), {
5424
+ return t = new Wt({}), {
5427
5425
  c() {
5428
5426
  ht(t.$$.fragment);
5429
5427
  },
@@ -5533,7 +5531,7 @@ function Ka(e) {
5533
5531
  }
5534
5532
  function qa(e) {
5535
5533
  let t, r;
5536
- return t = new Xt({}), {
5534
+ return t = new Wt({}), {
5537
5535
  c() {
5538
5536
  ht(t.$$.fragment);
5539
5537
  },
@@ -5553,25 +5551,25 @@ function qa(e) {
5553
5551
  };
5554
5552
  }
5555
5553
  function gn(e) {
5556
- let t, r, n, i, o, a, l, s, u, c, d = Nt(
5554
+ let t, r, n, i, o, a, l, s, u, c, m = Rt(
5557
5555
  /*dropDownVaults*/
5558
5556
  e[20]
5559
5557
  ), h = [];
5560
- for (let m = 0; m < d.length; m += 1)
5561
- h[m] = bn(pn(e, d, m));
5558
+ for (let d = 0; d < m.length; d += 1)
5559
+ h[d] = bn(pn(e, m, d));
5562
5560
  return {
5563
5561
  c() {
5564
5562
  t = x("div"), r = x("button"), n = Or("svg"), i = Or("path"), a = I(), l = x("div");
5565
- for (let m = 0; m < h.length; m += 1)
5566
- h[m].c();
5563
+ for (let d = 0; d < h.length; d += 1)
5564
+ h[d].c();
5567
5565
  g(i, "d", "M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z"), g(i, "fill", "currentColor"), g(n, "class", "vaultToggleIcon"), g(n, "width", "12"), g(n, "height", "7"), g(n, "viewBox", "0 0 12 7"), g(n, "fill", "currentColor"), g(n, "xmlns", "http://www.w3.org/2000/svg"), g(r, "type", "button"), g(r, "class", o = "vaultToggleButton " + /*isVaultDropDownToggled*/
5568
5566
  (e[16] && /*dropDownVaults*/
5569
5567
  e[20].length > 0 ? "active" : "")), g(l, "class", s = "vaultDropdown " + /*isVaultDropDownToggled*/
5570
5568
  (e[16] && /*dropDownVaults*/
5571
5569
  e[20].length > 0 ? "expanded" : "")), g(t, "class", "vaultsContainer");
5572
5570
  },
5573
- m(m, v) {
5574
- T(m, t, v), _(t, r), _(r, n), _(n, i), _(t, a), _(t, l);
5571
+ m(d, v) {
5572
+ T(d, t, v), _(t, r), _(r, n), _(n, i), _(t, a), _(t, l);
5575
5573
  for (let b = 0; b < h.length; b += 1)
5576
5574
  h[b] && h[b].m(l, null);
5577
5575
  u || (c = re(
@@ -5581,32 +5579,32 @@ function gn(e) {
5581
5579
  e[23]
5582
5580
  ), u = !0);
5583
5581
  },
5584
- p(m, v) {
5582
+ p(d, v) {
5585
5583
  if (v[0] & /*isVaultDropDownToggled, dropDownVaults*/
5586
5584
  1114112 && o !== (o = "vaultToggleButton " + /*isVaultDropDownToggled*/
5587
- (m[16] && /*dropDownVaults*/
5588
- m[20].length > 0 ? "active" : "")) && g(r, "class", o), v[0] & /*dropDownVaults, currencydecimals*/
5585
+ (d[16] && /*dropDownVaults*/
5586
+ d[20].length > 0 ? "active" : "")) && g(r, "class", o), v[0] & /*dropDownVaults, currencydecimals*/
5589
5587
  1048608) {
5590
- d = Nt(
5588
+ m = Rt(
5591
5589
  /*dropDownVaults*/
5592
- m[20]
5590
+ d[20]
5593
5591
  );
5594
5592
  let b;
5595
- for (b = 0; b < d.length; b += 1) {
5596
- const D = pn(m, d, b);
5593
+ for (b = 0; b < m.length; b += 1) {
5594
+ const D = pn(d, m, b);
5597
5595
  h[b] ? h[b].p(D, v) : (h[b] = bn(D), h[b].c(), h[b].m(l, null));
5598
5596
  }
5599
5597
  for (; b < h.length; b += 1)
5600
5598
  h[b].d(1);
5601
- h.length = d.length;
5599
+ h.length = m.length;
5602
5600
  }
5603
5601
  v[0] & /*isVaultDropDownToggled, dropDownVaults*/
5604
5602
  1114112 && s !== (s = "vaultDropdown " + /*isVaultDropDownToggled*/
5605
- (m[16] && /*dropDownVaults*/
5606
- m[20].length > 0 ? "expanded" : "")) && g(l, "class", s);
5603
+ (d[16] && /*dropDownVaults*/
5604
+ d[20].length > 0 ? "expanded" : "")) && g(l, "class", s);
5607
5605
  },
5608
- d(m) {
5609
- m && C(t), _n(h, m), u = !1, c();
5606
+ d(d) {
5607
+ d && C(t), _n(h, d), u = !1, c();
5610
5608
  }
5611
5609
  };
5612
5610
  }
@@ -5638,13 +5636,13 @@ function bn(e) {
5638
5636
  c() {
5639
5637
  t = x("div"), r = x("p"), i = j(n), o = I(), a = x("p"), s = j(l), u = I(), g(t, "class", "vaultItem");
5640
5638
  },
5641
- m(c, d) {
5642
- T(c, t, d), _(t, r), _(r, i), _(t, o), _(t, a), _(a, s), _(t, u);
5639
+ m(c, m) {
5640
+ T(c, t, m), _(t, r), _(r, i), _(t, o), _(t, a), _(a, s), _(t, u);
5643
5641
  },
5644
- p(c, d) {
5645
- d[0] & /*dropDownVaults*/
5642
+ p(c, m) {
5643
+ m[0] & /*dropDownVaults*/
5646
5644
  1048576 && n !== (n = /*vault*/
5647
- c[65]?.currency + "") && ne(i, n), d[0] & /*dropDownVaults, currencydecimals*/
5645
+ c[65]?.currency + "") && ne(i, n), m[0] & /*dropDownVaults, currencydecimals*/
5648
5646
  1048608 && l !== (l = Pe(
5649
5647
  /*vault*/
5650
5648
  c[65]?.amount,
@@ -5709,20 +5707,20 @@ function Ya(e) {
5709
5707
  };
5710
5708
  }
5711
5709
  function Ja(e) {
5712
- let t, r, n, i, o, a, l, s, u, c, d, h, m, v, b, D, ee, A, y, H, L, X, te, le, F, we, me, ie, ge, be, Z, W, Ae, Ne, ye, oe, bt, De, yt, ue, Me = O(
5710
+ let t, r, n, i, o, a, l, s, u, c, m, h, d, v, b, D, ee, A, y, H, L, X, te, le, F, we, me, ie, ge, be, Z, W, Ae, Ne, ye, oe, gt, De, bt, ue, Me = O(
5713
5711
  /*fetchResponse*/
5714
5712
  e[13]?.message || ""
5715
- ) + "", tt, he, ce, Ce, Y, vt = O("exchange") + "", ke, Fe, G, rt, He, K = (
5713
+ ) + "", tt, he, ce, Ce, Y, yt = O("exchange") + "", ke, Fe, G, rt, He, K = (
5716
5714
  /*showclosebutton*/
5717
5715
  e[3] === se.true && dn(e)
5718
5716
  ), U = (
5719
5717
  /*showtotalbalance*/
5720
5718
  e[2] === se.true && mn(e)
5721
5719
  );
5722
- function _t(f) {
5720
+ function vt(f) {
5723
5721
  e[42](f);
5724
5722
  }
5725
- let zt = {
5723
+ let Xt = {
5726
5724
  id: "senderSelect",
5727
5725
  withSymbol: (
5728
5726
  /*showcurrencysymbol*/
@@ -5741,19 +5739,19 @@ function Ja(e) {
5741
5739
  )
5742
5740
  };
5743
5741
  /*selectedCurrencyFrom*/
5744
- e[6] !== void 0 && (zt.selected = /*selectedCurrencyFrom*/
5745
- e[6]), b = new Ar({ props: zt }), We.push(() => Rr(b, "selected", _t));
5742
+ e[6] !== void 0 && (Xt.selected = /*selectedCurrencyFrom*/
5743
+ e[6]), b = new Ar({ props: Xt }), We.push(() => Rr(b, "selected", vt));
5746
5744
  const nt = [ja, $a], fe = [];
5747
- function Et(f, E) {
5745
+ function _t(f, E) {
5748
5746
  return !/*isBalanceFetched*/
5749
5747
  f[17] || !/*isCurrenciesFetched*/
5750
5748
  f[18] ? 0 : 1;
5751
5749
  }
5752
- A = Et(e), y = fe[A] = nt[A](e);
5753
- function Zt(f) {
5750
+ A = _t(e), y = fe[A] = nt[A](e);
5751
+ function zt(f) {
5754
5752
  e[44](f);
5755
5753
  }
5756
- let xt = {
5754
+ let Et = {
5757
5755
  id: "destinationSelect",
5758
5756
  withSymbol: (
5759
5757
  /*showcurrencysymbol*/
@@ -5774,32 +5772,32 @@ function Ja(e) {
5774
5772
  )
5775
5773
  };
5776
5774
  /*selectedCurrencyTo*/
5777
- e[7] !== void 0 && (xt.selected = /*selectedCurrencyTo*/
5778
- e[7]), ie = new Ar({ props: xt }), We.push(() => Rr(ie, "selected", Zt));
5775
+ e[7] !== void 0 && (Et.selected = /*selectedCurrencyTo*/
5776
+ e[7]), ie = new Ar({ props: Et }), We.push(() => Rr(ie, "selected", zt));
5779
5777
  const it = [Za, za], pe = [];
5780
- function wt(f, E) {
5778
+ function xt(f, E) {
5781
5779
  return !/*isBalanceFetched*/
5782
5780
  f[17] || !/*isCurrenciesFetched*/
5783
5781
  f[18] ? 0 : 1;
5784
5782
  }
5785
- Z = wt(e), W = pe[Z] = it[Z](e);
5783
+ Z = xt(e), W = pe[Z] = it[Z](e);
5786
5784
  let q = (
5787
5785
  /*showvaults*/
5788
5786
  e[1] === se.true && gn(e)
5789
5787
  );
5790
- function At(f, E) {
5788
+ function wt(f, E) {
5791
5789
  return (
5792
5790
  /*fetchResponse*/
5793
5791
  f[13]?.source === Q.CheckWalletExchangeError ? Ya : Qa
5794
5792
  );
5795
5793
  }
5796
- let Ue = At(e), p = Ue(e);
5794
+ let Ue = wt(e), p = Ue(e);
5797
5795
  return {
5798
5796
  c() {
5799
- t = x("div"), K && K.c(), r = I(), n = x("div"), i = x("h1"), i.textContent = `${O("vaultExchange")}`, o = I(), U && U.c(), a = I(), l = x("div"), s = x("div"), u = x("p"), u.textContent = `${O("exchangeFrom")}`, c = I(), d = x("div"), h = x("input"), v = I(), ht(b.$$.fragment), ee = I(), y.c(), H = I(), L = x("div"), X = x("p"), X.textContent = `${O("exchangeTo")}`, te = I(), le = x("div"), F = x("input"), me = I(), ht(ie.$$.fragment), be = I(), W.c(), Ae = I(), q && q.c(), Ne = I(), ye = x("div"), oe = x("span"), oe.textContent = `${O("feesIncluded")}`, bt = I(), De = x("span"), p.c(), yt = I(), ue = x("div"), tt = I(), he = x("div"), ce = x("button"), ce.textContent = `${O("reset")}`, Ce = I(), Y = x("button"), ke = j(vt), g(i, "class", "headerTitle"), g(n, "class", "headerContainer"), g(u, "class", "exchangeHeader"), g(h, "id", "senderInput"), h.disabled = m = !/*session*/
5797
+ t = x("div"), K && K.c(), r = I(), n = x("div"), i = x("h1"), i.textContent = `${O("vaultExchange")}`, o = I(), U && U.c(), a = I(), l = x("div"), s = x("div"), u = x("p"), u.textContent = `${O("exchangeFrom")}`, c = I(), m = x("div"), h = x("input"), v = I(), ht(b.$$.fragment), ee = I(), y.c(), H = I(), L = x("div"), X = x("p"), X.textContent = `${O("exchangeTo")}`, te = I(), le = x("div"), F = x("input"), me = I(), ht(ie.$$.fragment), be = I(), W.c(), Ae = I(), q && q.c(), Ne = I(), ye = x("div"), oe = x("span"), oe.textContent = `${O("feesIncluded")}`, gt = I(), De = x("span"), p.c(), bt = I(), ue = x("div"), tt = I(), he = x("div"), ce = x("button"), ce.textContent = `${O("reset")}`, Ce = I(), Y = x("button"), ke = j(yt), g(i, "class", "headerTitle"), g(n, "class", "headerContainer"), g(u, "class", "exchangeHeader"), g(h, "id", "senderInput"), h.disabled = d = !/*session*/
5800
5798
  e[0] || !/*isBalanceFetched*/
5801
5799
  e[17] || !/*isCurrenciesFetched*/
5802
- e[18], g(h, "placeholder", O("debitPlaceHolder")), g(h, "class", "exchangeInput"), g(h, "type", "number"), g(h, "aria-label", "Enter exchange amount"), g(h, "inputmode", "decimal"), g(h, "step", "0.000000000000001"), g(h, "min", "0"), g(d, "class", "flexingContainerRow"), g(s, "class", "containerExchangeFrom exchangeContainer"), g(X, "class", "exchangeHeader"), g(F, "id", "destinationInput"), F.disabled = we = !/*session*/
5800
+ e[18], g(h, "placeholder", O("debitPlaceHolder")), g(h, "class", "exchangeInput"), g(h, "type", "number"), g(h, "aria-label", "Enter exchange amount"), g(h, "inputmode", "decimal"), g(h, "step", "0.000000000000001"), g(h, "min", "0"), g(m, "class", "flexingContainerRow"), g(s, "class", "containerExchangeFrom exchangeContainer"), g(X, "class", "exchangeHeader"), g(F, "id", "destinationInput"), F.disabled = we = !/*session*/
5803
5801
  e[0] || !/*isBalanceFetched*/
5804
5802
  e[17] || !/*isCurrenciesFetched*/
5805
5803
  e[18], g(F, "placeholder", O("creditPlaceHolder")), g(F, "class", "exchangeInput"), g(F, "type", "number"), F.readOnly = !0, g(F, "min", "0"), g(le, "class", "flexingContainerRow"), g(L, "class", "containerExchangeTo exchangeContainer"), g(l, "class", "exchangesContainer"), g(oe, "class", "feesLabel"), g(ye, "class", "feesContainer"), g(ue, "class", "notificationsContainer"), ae(
@@ -5830,15 +5828,15 @@ function Ja(e) {
5830
5828
  ), g(he, "class", "actionsContainer"), g(t, "class", "playerAccountVault");
5831
5829
  },
5832
5830
  m(f, E) {
5833
- T(f, t, E), K && K.m(t, null), _(t, r), _(t, n), _(n, i), _(n, o), U && U.m(n, null), _(t, a), _(t, l), _(l, s), _(s, u), _(s, c), _(s, d), _(d, h), Ct(
5831
+ T(f, t, E), K && K.m(t, null), _(t, r), _(t, n), _(n, i), _(n, o), U && U.m(n, null), _(t, a), _(t, l), _(l, s), _(s, u), _(s, c), _(s, m), _(m, h), At(
5834
5832
  h,
5835
5833
  /*inputExchangeFrom*/
5836
5834
  e[9]
5837
- ), _(d, v), Xe(b, d, null), _(s, ee), fe[A].m(s, null), _(l, H), _(l, L), _(L, X), _(L, te), _(L, le), _(le, F), Ct(
5835
+ ), _(m, v), Xe(b, m, null), _(s, ee), fe[A].m(s, null), _(l, H), _(l, L), _(L, X), _(L, te), _(L, le), _(le, F), At(
5838
5836
  F,
5839
5837
  /*inputExchangeTo*/
5840
5838
  e[10]
5841
- ), _(le, me), Xe(ie, le, null), _(L, be), pe[Z].m(L, null), _(t, Ae), q && q.m(t, null), _(t, Ne), _(t, ye), _(ye, oe), _(ye, bt), _(ye, De), p.m(De, null), _(t, yt), _(t, ue), ue.innerHTML = Me, _(t, tt), _(t, he), _(he, ce), _(he, Ce), _(he, Y), _(Y, ke), e[45](t), G = !0, rt || (He = [
5839
+ ), _(le, me), Xe(ie, le, null), _(L, be), pe[Z].m(L, null), _(t, Ae), q && q.m(t, null), _(t, Ne), _(t, ye), _(ye, oe), _(ye, gt), _(ye, De), p.m(De, null), _(t, bt), _(t, ue), ue.innerHTML = Me, _(t, tt), _(t, he), _(he, ce), _(he, Ce), _(he, Y), _(Y, ke), e[45](t), G = !0, rt || (He = [
5842
5840
  re(
5843
5841
  h,
5844
5842
  "input",
@@ -5890,12 +5888,12 @@ function Ja(e) {
5890
5888
  4 && k(U, 1)) : (U = mn(f), U.c(), k(U, 1), U.m(n, null)) : U && (Oe(), $(U, 1, 1, () => {
5891
5889
  U = null;
5892
5890
  }), Le()), (!G || E[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5893
- 393217 && m !== (m = !/*session*/
5891
+ 393217 && d !== (d = !/*session*/
5894
5892
  f[0] || !/*isBalanceFetched*/
5895
5893
  f[17] || !/*isCurrenciesFetched*/
5896
- f[18])) && (h.disabled = m), E[0] & /*inputExchangeFrom*/
5897
- 512 && Rt(h.value) !== /*inputExchangeFrom*/
5898
- f[9] && Ct(
5894
+ f[18])) && (h.disabled = d), E[0] & /*inputExchangeFrom*/
5895
+ 512 && Lt(h.value) !== /*inputExchangeFrom*/
5896
+ f[9] && At(
5899
5897
  h,
5900
5898
  /*inputExchangeFrom*/
5901
5899
  f[9]
@@ -5912,15 +5910,15 @@ function Ja(e) {
5912
5910
  64 && (D = !0, w.selected = /*selectedCurrencyFrom*/
5913
5911
  f[6], Lr(() => D = !1)), b.$set(w);
5914
5912
  let V = A;
5915
- A = Et(f), A === V ? fe[A].p(f, E) : (Oe(), $(fe[V], 1, 1, () => {
5913
+ A = _t(f), A === V ? fe[A].p(f, E) : (Oe(), $(fe[V], 1, 1, () => {
5916
5914
  fe[V] = null;
5917
5915
  }), Le(), y = fe[A], y ? y.p(f, E) : (y = fe[A] = nt[A](f), y.c()), k(y, 1), y.m(s, null)), (!G || E[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5918
5916
  393217 && we !== (we = !/*session*/
5919
5917
  f[0] || !/*isBalanceFetched*/
5920
5918
  f[17] || !/*isCurrenciesFetched*/
5921
5919
  f[18])) && (F.disabled = we), E[0] & /*inputExchangeTo*/
5922
- 1024 && Rt(F.value) !== /*inputExchangeTo*/
5923
- f[10] && Ct(
5920
+ 1024 && Lt(F.value) !== /*inputExchangeTo*/
5921
+ f[10] && At(
5924
5922
  F,
5925
5923
  /*inputExchangeTo*/
5926
5924
  f[10]
@@ -5939,10 +5937,10 @@ function Ja(e) {
5939
5937
  128 && (ge = !0, ve.selected = /*selectedCurrencyTo*/
5940
5938
  f[7], Lr(() => ge = !1)), ie.$set(ve);
5941
5939
  let ot = Z;
5942
- Z = wt(f), Z === ot ? pe[Z].p(f, E) : (Oe(), $(pe[ot], 1, 1, () => {
5940
+ Z = xt(f), Z === ot ? pe[Z].p(f, E) : (Oe(), $(pe[ot], 1, 1, () => {
5943
5941
  pe[ot] = null;
5944
5942
  }), Le(), W = pe[Z], W ? W.p(f, E) : (W = pe[Z] = it[Z](f), W.c()), k(W, 1), W.m(L, null)), /*showvaults*/
5945
- f[1] === se.true ? q ? q.p(f, E) : (q = gn(f), q.c(), q.m(t, Ne)) : q && (q.d(1), q = null), Ue === (Ue = At(f)) && p ? p.p(f, E) : (p.d(1), p = Ue(f), p && (p.c(), p.m(De, null))), (!G || E[0] & /*fetchResponse*/
5943
+ f[1] === se.true ? q ? q.p(f, E) : (q = gn(f), q.c(), q.m(t, Ne)) : q && (q.d(1), q = null), Ue === (Ue = wt(f)) && p ? p.p(f, E) : (p.d(1), p = Ue(f), p && (p.c(), p.m(De, null))), (!G || E[0] & /*fetchResponse*/
5946
5944
  8192) && Me !== (Me = O(
5947
5945
  /*fetchResponse*/
5948
5946
  f[13]?.message || ""
@@ -5990,11 +5988,11 @@ function Ja(e) {
5990
5988
  };
5991
5989
  }
5992
5990
  function es(e, t, r) {
5993
- let { session: n = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: d = se.true } = t, { showtotalbalance: h = se.true } = t, { showclosebutton: m = se.true } = t, { showcurrencysymbol: v = se.true } = t, { currencyposition: b = "" } = t, { currencydecimals: D = "2" } = t, { local: ee = "en-US" } = t, A = null, y = null, H = 0, L = 0, X = 0, te = null, le = null, F = null, we = "", me = !0, ie = !1, ge = !1, be = !1, Z = !1, W = [], Ae = [], Ne = [], ye = [], oe;
5991
+ let { session: n = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: m = se.true } = t, { showtotalbalance: h = se.true } = t, { showclosebutton: d = se.true } = t, { showcurrencysymbol: v = se.true } = t, { currencyposition: b = "" } = t, { currencydecimals: D = "2" } = t, { local: ee = "en-US" } = t, A = null, y = null, H = 0, L = 0, X = 0, te = null, le = null, F = null, we = "", me = !0, ie = !1, ge = !1, be = !1, Z = !1, W = [], Ae = [], Ne = [], ye = [], oe;
5994
5992
  la({ withLocale: "en", translations: {} }), Object.keys(Kr).forEach((p) => {
5995
5993
  Zr(p, Kr[p]);
5996
5994
  });
5997
- const bt = () => {
5995
+ const gt = () => {
5998
5996
  ua(a);
5999
5997
  }, De = () => {
6000
5998
  fetch(u).then((p) => p.json()).then((p) => {
@@ -6004,7 +6002,7 @@ function es(e, t, r) {
6004
6002
  }).catch((p) => {
6005
6003
  console.error("There was a problem with the translations request.", p);
6006
6004
  });
6007
- }, yt = () => {
6005
+ }, bt = () => {
6008
6006
  let p = document.createElement("style");
6009
6007
  p.innerHTML = l, oe.appendChild(p);
6010
6008
  }, ue = () => {
@@ -6020,7 +6018,7 @@ function es(e, t, r) {
6020
6018
  }, Me = () => {
6021
6019
  Ae.length !== 0 && (r(16, ie = !ie), window.postMessage(
6022
6020
  {
6023
- type: nr.VaultDropdownToggled,
6021
+ type: rr.VaultDropdownToggled,
6024
6022
  state: ie
6025
6023
  },
6026
6024
  window.location.href
@@ -6028,19 +6026,19 @@ function es(e, t, r) {
6028
6026
  }, tt = () => {
6029
6027
  window.postMessage(
6030
6028
  {
6031
- type: nr.VaultWidgetClosed
6029
+ type: rr.VaultWidgetClosed
6032
6030
  },
6033
6031
  window.location.href
6034
6032
  );
6035
6033
  }, he = () => {
6036
- r(15, me = !0), Ce(), Y(), vt(), ke(), window.postMessage({ type: nr.VaultWidgetReset }, window.location.href);
6034
+ r(15, me = !0), Ce(), Y(), yt(), ke(), window.postMessage({ type: rr.VaultWidgetReset }, window.location.href);
6037
6035
  }, ce = () => {
6038
6036
  r(15, me = !0), r(10, X = 0);
6039
6037
  }, Ce = () => {
6040
6038
  r(12, le = null);
6041
6039
  }, Y = () => {
6042
6040
  r(9, H = 0), r(10, X = 0);
6043
- }, vt = () => {
6041
+ }, yt = () => {
6044
6042
  r(14, we = "");
6045
6043
  }, ke = () => {
6046
6044
  r(13, F = null);
@@ -6063,7 +6061,7 @@ function es(e, t, r) {
6063
6061
  }
6064
6062
  }, rt = () => new Promise((p, f) => {
6065
6063
  const E = F?.message.includes(Pa.InvalidSession);
6066
- E && f(), isNaN(Number(H)) && (ce(), Ce(), f(O("invalidValue"))), H > A?.amount && (ce(), Ce(), f(O("exceededValue"))), H === null && !E && (ce(), Ce(), f()), H === 0 && H === 0 && !E && (he(), f()), (!A || !y) && !E && f(), vt(), p();
6064
+ E && f(), isNaN(Number(H)) && (ce(), Ce(), f(O("invalidValue"))), H > A?.amount && (ce(), Ce(), f(O("exceededValue"))), H === null && !E && (ce(), Ce(), f()), H === 0 && H === 0 && !E && (he(), f()), (!A || !y) && !E && f(), yt(), p();
6067
6065
  }), He = async (p, f) => {
6068
6066
  const E = await p.json();
6069
6067
  return p?.status >= 200 && p?.status < 400 ? E : (f === Q.CheckWalletExchangeError && ce(), !ge && f === Q.BalanceError && (r(17, ge = !0), r(18, be = !0)), !be && f === Q.CurrenciesError && r(18, be = !0), G({
@@ -6108,7 +6106,7 @@ function es(e, t, r) {
6108
6106
  r(40, W = [...W, st]), z?.currency === te?.currency && r(11, te = { ...te, ...st }), z?.currency !== te?.currency && z?.walletAccountType === sn.Vault && r(20, Ae = [...Ae, st]), f && z?.amount > 0 && r(6, A = te?.currency ? te : ot), A && A?.currency === z?.currency && r(6, A = st), y && y?.currency === z?.currency && r(7, y = st);
6109
6107
  }
6110
6108
  }
6111
- }, _t = (p = !0) => {
6109
+ }, vt = (p = !0) => {
6112
6110
  const f = new URL(`${o}/v2/player/${i}/balance`);
6113
6111
  fetch(f, {
6114
6112
  method: "GET",
@@ -6175,12 +6173,12 @@ function es(e, t, r) {
6175
6173
  !w && f.length >= _e && r(9, H = f.slice(0, _e));
6176
6174
  const V = Number(A?.precision || "2");
6177
6175
  w && A?.type === ln.Fiat && (w.length <= V ? (r(9, H = f), L = f) : r(9, H = L)), w && A?.type === ln.CryptoCurrency && (V <= _e && w.length <= V ? (r(9, H = f), L = f) : r(9, H = L), V > _e && w.length <= _e ? (r(9, H = f), L = f) : r(9, H = L)), nt();
6178
- }, Et = (p) => {
6176
+ }, _t = (p) => {
6179
6177
  const f = p.data;
6180
6178
  [">", "<", ","].includes(f) && p.preventDefault(), f && !f.match(/[\d.]/) && p.preventDefault(), f === "." && p.target.value.includes(".") && p.preventDefault();
6181
- }, Zt = () => {
6179
+ }, zt = () => {
6182
6180
  H === 0 && r(9, H = null);
6183
- }, xt = () => {
6181
+ }, Et = () => {
6184
6182
  const p = new URL(`${o}/v2/player/${i}/wallet-exchange`);
6185
6183
  r(19, Z = !0);
6186
6184
  const f = {
@@ -6205,7 +6203,7 @@ function es(e, t, r) {
6205
6203
  type: Te.success,
6206
6204
  message: O("exchangeSuccess"),
6207
6205
  source: "ExchangeSuccess"
6208
- }), _t(!1));
6206
+ }), vt(!1));
6209
6207
  }).catch((w) => {
6210
6208
  G({
6211
6209
  type: Te.error,
@@ -6230,15 +6228,15 @@ function es(e, t, r) {
6230
6228
  window.removeEventListener("message", it);
6231
6229
  }));
6232
6230
  function pe() {
6233
- H = Rt(this.value), r(9, H);
6231
+ H = Lt(this.value), r(9, H);
6234
6232
  }
6235
- function wt(p) {
6233
+ function xt(p) {
6236
6234
  A = p, r(6, A);
6237
6235
  }
6238
6236
  function q() {
6239
- X = Rt(this.value), r(10, X);
6237
+ X = Lt(this.value), r(10, X);
6240
6238
  }
6241
- function At(p) {
6239
+ function wt(p) {
6242
6240
  y = p, r(7, y);
6243
6241
  }
6244
6242
  function Ue(p) {
@@ -6247,26 +6245,26 @@ function es(e, t, r) {
6247
6245
  });
6248
6246
  }
6249
6247
  return e.$$set = (p) => {
6250
- "session" in p && r(0, n = p.session), "userid" in p && r(31, i = p.userid), "endpoint" in p && r(32, o = p.endpoint), "lang" in p && r(33, a = p.lang), "clientstyling" in p && r(34, l = p.clientstyling), "clientstylingurl" in p && r(35, s = p.clientstylingurl), "translationurl" in p && r(36, u = p.translationurl), "playercurrency" in p && r(37, c = p.playercurrency), "showvaults" in p && r(1, d = p.showvaults), "showtotalbalance" in p && r(2, h = p.showtotalbalance), "showclosebutton" in p && r(3, m = p.showclosebutton), "showcurrencysymbol" in p && r(4, v = p.showcurrencysymbol), "currencyposition" in p && r(38, b = p.currencyposition), "currencydecimals" in p && r(5, D = p.currencydecimals), "local" in p && r(39, ee = p.local);
6248
+ "session" in p && r(0, n = p.session), "userid" in p && r(31, i = p.userid), "endpoint" in p && r(32, o = p.endpoint), "lang" in p && r(33, a = p.lang), "clientstyling" in p && r(34, l = p.clientstyling), "clientstylingurl" in p && r(35, s = p.clientstylingurl), "translationurl" in p && r(36, u = p.translationurl), "playercurrency" in p && r(37, c = p.playercurrency), "showvaults" in p && r(1, m = p.showvaults), "showtotalbalance" in p && r(2, h = p.showtotalbalance), "showclosebutton" in p && r(3, d = p.showclosebutton), "showcurrencysymbol" in p && r(4, v = p.showcurrencysymbol), "currencyposition" in p && r(38, b = p.currencyposition), "currencydecimals" in p && r(5, D = p.currencydecimals), "local" in p && r(39, ee = p.local);
6251
6249
  }, e.$$.update = () => {
6252
6250
  e.$$.dirty[1] & /*lang*/
6253
- 4 && a && bt(), e.$$.dirty[0] & /*customStylingContainer*/
6251
+ 4 && a && gt(), e.$$.dirty[0] & /*customStylingContainer*/
6254
6252
  256 | e.$$.dirty[1] & /*clientstyling*/
6255
- 8 && l && oe && yt(), e.$$.dirty[0] & /*customStylingContainer*/
6253
+ 8 && l && oe && bt(), e.$$.dirty[0] & /*customStylingContainer*/
6256
6254
  256 | e.$$.dirty[1] & /*clientstylingurl*/
6257
6255
  16 && s && oe && ue(), e.$$.dirty[1] & /*translationurl*/
6258
6256
  32 && u && De(), e.$$.dirty[0] & /*session*/
6259
6257
  1 | e.$$.dirty[1] & /*userid, endpoint, playercurrency*/
6260
- 67 && n && i && o && c && _t(), e.$$.dirty[0] & /*selectedCurrencyTo*/
6258
+ 67 && n && i && o && c && vt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
6261
6259
  128 | e.$$.dirty[1] & /*filteredBalances*/
6262
6260
  512 && r(21, Ne = W.filter((p) => p?.amount > 0 && p?.currency !== y?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
6263
6261
  64 | e.$$.dirty[1] & /*filteredBalances*/
6264
6262
  512 && r(22, ye = W.filter((p) => A?.currency !== p?.currency));
6265
6263
  }, [
6266
6264
  n,
6267
- d,
6268
- h,
6269
6265
  m,
6266
+ h,
6267
+ d,
6270
6268
  v,
6271
6269
  D,
6272
6270
  A,
@@ -6291,9 +6289,9 @@ function es(e, t, r) {
6291
6289
  he,
6292
6290
  nt,
6293
6291
  fe,
6292
+ _t,
6293
+ zt,
6294
6294
  Et,
6295
- Zt,
6296
- xt,
6297
6295
  i,
6298
6296
  o,
6299
6297
  a,
@@ -6305,9 +6303,9 @@ function es(e, t, r) {
6305
6303
  ee,
6306
6304
  W,
6307
6305
  pe,
6308
- wt,
6306
+ xt,
6309
6307
  q,
6310
- At,
6308
+ wt,
6311
6309
  Ue
6312
6310
  ];
6313
6311
  }
@@ -6318,7 +6316,7 @@ class ts extends Br {
6318
6316
  t,
6319
6317
  es,
6320
6318
  Ja,
6321
- Ft,
6319
+ kt,
6322
6320
  {
6323
6321
  session: 0,
6324
6322
  userid: 31,