@everymatrix/player-account-balance-modal-nd 1.73.2 → 1.74.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ function Xr(e, ...t) {
30
30
  function Cn(e, t, r) {
31
31
  e.$$.on_destroy.push(Xr(t, r));
32
32
  }
33
- function L(e, t) {
33
+ function M(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function Hn(e, t, r) {
@@ -51,16 +51,16 @@ function On(e) {
51
51
  ) : e.ownerDocument;
52
52
  }
53
53
  function Pn(e, t) {
54
- return L(
54
+ return M(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function ye(e, t, r) {
60
+ function ge(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function pe(e) {
63
+ function de(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function zr(e, t) {
@@ -73,14 +73,14 @@ function G(e) {
73
73
  function dr(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function Se(e) {
76
+ function we(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Te() {
80
- return Se(" ");
79
+ function Se() {
80
+ return we(" ");
81
81
  }
82
82
  function Rn() {
83
- return Se("");
83
+ return we("");
84
84
  }
85
85
  function vt(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -88,14 +88,14 @@ function vt(e, t, r, n) {
88
88
  function P(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function Ln(e) {
91
+ function Mn(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
94
  function Pe(e, t) {
95
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
96
96
  t);
97
97
  }
98
- function Mn(e) {
98
+ function Ln(e) {
99
99
  const t = {};
100
100
  return e.childNodes.forEach(
101
101
  /** @param {Element} node */
@@ -121,14 +121,14 @@ let Ge = [];
121
121
  const pr = [], Dn = /* @__PURE__ */ Promise.resolve();
122
122
  let Vt = !1;
123
123
  function Un() {
124
- Vt || (Vt = !0, Dn.then(Y));
124
+ Vt || (Vt = !0, Dn.then(Q));
125
125
  }
126
126
  function Xt(e) {
127
127
  Ge.push(e);
128
128
  }
129
129
  const Nt = /* @__PURE__ */ new Set();
130
130
  let De = 0;
131
- function Y() {
131
+ function Q() {
132
132
  if (De !== 0)
133
133
  return;
134
134
  const e = rt;
@@ -186,9 +186,9 @@ function Xn(e, t) {
186
186
  e.$$.dirty[0] === -1 && (Fe.push(e), Un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
188
  function zn(e, t, r, n, i, o, s = null, a = [-1]) {
189
- const c = rt;
189
+ const l = rt;
190
190
  tt(e);
191
- const l = e.$$ = {
191
+ const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
@@ -202,27 +202,27 @@ function zn(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  on_disconnect: [],
203
203
  before_update: [],
204
204
  after_update: [],
205
- context: new Map(t.context || (c ? c.$$.context : [])),
205
+ context: new Map(t.context || (l ? l.$$.context : [])),
206
206
  // everything else
207
207
  callbacks: fr(),
208
208
  dirty: a,
209
209
  skip_bound: !1,
210
- root: t.target || c.$$.root
210
+ root: t.target || l.$$.root
211
211
  };
212
- s && s(l.root);
212
+ s && s(u.root);
213
213
  let f = !1;
214
- if (l.ctx = r ? r(e, t.props || {}, (g, m, ...w) => {
215
- const v = w.length ? w[0] : m;
216
- return l.ctx && i(l.ctx[g], l.ctx[g] = v) && (!l.skip_bound && l.bound[g] && l.bound[g](v), f && Xn(e, g)), m;
217
- }) : [], l.update(), f = !0, Xe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
214
+ if (u.ctx = r ? r(e, t.props || {}, (b, m, ...w) => {
215
+ const _ = w.length ? w[0] : m;
216
+ return u.ctx && i(u.ctx[b], u.ctx[b] = _) && (!u.skip_bound && u.bound[b] && u.bound[b](_), f && Xn(e, b)), m;
217
+ }) : [], u.update(), f = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const g = Ln(t.target);
220
- l.fragment && l.fragment.l(g), g.forEach(pe);
219
+ const b = Mn(t.target);
220
+ u.fragment && u.fragment.l(b), b.forEach(de);
221
221
  } else
222
- l.fragment && l.fragment.c();
223
- t.intro && kn(e.$$.fragment), $n(e, t.target, t.anchor), Y();
222
+ u.fragment && u.fragment.c();
223
+ t.intro && kn(e.$$.fragment), $n(e, t.target, t.anchor), Q();
224
224
  }
225
- tt(c);
225
+ tt(l);
226
226
  }
227
227
  let Wr;
228
228
  typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
@@ -273,18 +273,18 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
273
273
  * @param {HTMLElement} target
274
274
  * @param {HTMLElement} [anchor]
275
275
  */
276
- m: function(c, l) {
277
- ye(c, o, l);
276
+ m: function(l, u) {
277
+ ge(l, o, u);
278
278
  },
279
- d: function(c) {
280
- c && pe(o);
279
+ d: function(l) {
280
+ l && de(o);
281
281
  }
282
282
  };
283
283
  };
284
284
  };
285
285
  if (await Promise.resolve(), !this.$$cn || this.$$c)
286
286
  return;
287
- const t = {}, r = Mn(this);
287
+ const t = {}, r = Ln(this);
288
288
  for (const i of this.$$s)
289
289
  i in r && (t[i] = [e(i)]);
290
290
  for (const i of this.attributes) {
@@ -387,8 +387,8 @@ function Wn(e, t, r, n, i, o) {
387
387
  get() {
388
388
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
389
389
  },
390
- set(c) {
391
- c = mt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
390
+ set(l) {
391
+ l = mt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
392
392
  }
393
393
  });
394
394
  }), n.forEach((a) => {
@@ -480,12 +480,12 @@ function St(e, t = ce) {
480
480
  const n = /* @__PURE__ */ new Set();
481
481
  function i(a) {
482
482
  if (Vr(e, a) && (e = a, r)) {
483
- const c = !Ue.length;
484
- for (const l of n)
485
- l[1](), Ue.push(l, e);
486
- if (c) {
487
- for (let l = 0; l < Ue.length; l += 2)
488
- Ue[l][0](Ue[l + 1]);
483
+ const l = !Ue.length;
484
+ for (const u of n)
485
+ u[1](), Ue.push(u, e);
486
+ if (l) {
487
+ for (let u = 0; u < Ue.length; u += 2)
488
+ Ue[u][0](Ue[u + 1]);
489
489
  Ue.length = 0;
490
490
  }
491
491
  }
@@ -493,10 +493,10 @@ function St(e, t = ce) {
493
493
  function o(a) {
494
494
  i(a(e));
495
495
  }
496
- function s(a, c = ce) {
497
- const l = [a, c];
498
- return n.add(l), n.size === 1 && (r = t(i, o) || ce), a(e), () => {
499
- n.delete(l), n.size === 0 && r && (r(), r = null);
496
+ function s(a, l = ce) {
497
+ const u = [a, l];
498
+ return n.add(u), n.size === 1 && (r = t(i, o) || ce), a(e), () => {
499
+ n.delete(u), n.size === 0 && r && (r(), r = null);
500
500
  };
501
501
  }
502
502
  return { set: i, update: o, subscribe: s };
@@ -507,28 +507,28 @@ function ze(e, t, r) {
507
507
  throw new Error("derived() expects stores as input, got a falsy value");
508
508
  const o = t.length < 2;
509
509
  return Kn(r, (s, a) => {
510
- let c = !1;
511
- const l = [];
512
- let f = 0, g = ce;
510
+ let l = !1;
511
+ const u = [];
512
+ let f = 0, b = ce;
513
513
  const m = () => {
514
514
  if (f)
515
515
  return;
516
- g();
517
- const v = t(n ? l[0] : l, s, a);
518
- o ? s(v) : g = ur(v) ? v : ce;
516
+ b();
517
+ const _ = t(n ? u[0] : u, s, a);
518
+ o ? s(_) : b = ur(_) ? _ : ce;
519
519
  }, w = i.map(
520
- (v, S) => Xr(
521
- v,
522
- (M) => {
523
- l[S] = M, f &= ~(1 << S), c && m();
520
+ (_, A) => Xr(
521
+ _,
522
+ (N) => {
523
+ u[A] = N, f &= ~(1 << A), l && m();
524
524
  },
525
525
  () => {
526
- f |= 1 << S;
526
+ f |= 1 << A;
527
527
  }
528
528
  )
529
529
  );
530
- return c = !0, m(), function() {
531
- Xe(w), g(), c = !1;
530
+ return l = !0, m(), function() {
531
+ Xe(w), b(), l = !1;
532
532
  };
533
533
  });
534
534
  }
@@ -624,15 +624,15 @@ function Tt(e, t) {
624
624
  }
625
625
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
626
626
  }
627
- var ge = function() {
628
- return ge = Object.assign || function(t) {
627
+ var be = function() {
628
+ return be = Object.assign || function(t) {
629
629
  for (var r, n = 1, i = arguments.length; n < i; n++) {
630
630
  r = arguments[n];
631
631
  for (var o in r)
632
632
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
633
633
  }
634
634
  return t;
635
- }, ge.apply(this, arguments);
635
+ }, be.apply(this, arguments);
636
636
  };
637
637
  function gi(e, t) {
638
638
  var r = {};
@@ -864,12 +864,12 @@ function Oi(e) {
864
864
  var o = i[n], s = o.split("/");
865
865
  if (s.length === 0)
866
866
  throw new Error("Invalid number skeleton");
867
- for (var a = s[0], c = s.slice(1), l = 0, f = c; l < f.length; l++) {
868
- var g = f[l];
869
- if (g.length === 0)
867
+ for (var a = s[0], l = s.slice(1), u = 0, f = l; u < f.length; u++) {
868
+ var b = f[u];
869
+ if (b.length === 0)
870
870
  throw new Error("Invalid number skeleton");
871
871
  }
872
- r.push({ stem: a, options: c });
872
+ r.push({ stem: a, options: l });
873
873
  }
874
874
  return r;
875
875
  }
@@ -923,7 +923,7 @@ function un(e) {
923
923
  };
924
924
  }
925
925
  }
926
- function Li(e) {
926
+ function Mi(e) {
927
927
  var t;
928
928
  if (e[0] === "E" && e[1] === "E" ? (t = {
929
929
  notation: "engineering"
@@ -941,7 +941,7 @@ function vr(e) {
941
941
  var t = {}, r = un(e);
942
942
  return r || t;
943
943
  }
944
- function Mi(e) {
944
+ function Li(e) {
945
945
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
946
946
  var i = n[r];
947
947
  switch (i.stem) {
@@ -976,13 +976,13 @@ function Mi(e) {
976
976
  t.notation = "compact", t.compactDisplay = "long";
977
977
  continue;
978
978
  case "scientific":
979
- t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
980
- return $($({}, c), vr(l));
979
+ t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
980
+ return $($({}, l), vr(u));
981
981
  }, {}));
982
982
  continue;
983
983
  case "engineering":
984
- t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
985
- return $($({}, c), vr(l));
984
+ t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
985
+ return $($({}, l), vr(u));
986
986
  }, {}));
987
987
  continue;
988
988
  case "notation-simple":
@@ -1027,11 +1027,11 @@ function Mi(e) {
1027
1027
  case "integer-width":
1028
1028
  if (i.options.length > 1)
1029
1029
  throw new RangeError("integer-width stems only accept a single optional option");
1030
- i.options[0].replace(Ri, function(c, l, f, g, m, w) {
1031
- if (l)
1030
+ i.options[0].replace(Ri, function(l, u, f, b, m, w) {
1031
+ if (u)
1032
1032
  t.minimumIntegerDigits = f.length;
1033
1033
  else {
1034
- if (g && m)
1034
+ if (b && m)
1035
1035
  throw new Error("We currently do not support maximum integer digits");
1036
1036
  if (w)
1037
1037
  throw new Error("We currently do not support exact integer digits");
@@ -1047,8 +1047,8 @@ function Mi(e) {
1047
1047
  if (gr.test(i.stem)) {
1048
1048
  if (i.options.length > 1)
1049
1049
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1050
- i.stem.replace(gr, function(c, l, f, g, m, w) {
1051
- return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : m && w ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + w.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1050
+ i.stem.replace(gr, function(l, u, f, b, m, w) {
1051
+ return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && w ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + w.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1052
1052
  });
1053
1053
  var o = i.options[0];
1054
1054
  o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), yr(o)));
@@ -1060,7 +1060,7 @@ function Mi(e) {
1060
1060
  }
1061
1061
  var s = un(i.stem);
1062
1062
  s && (t = $($({}, t), s));
1063
- var a = Li(i.stem);
1063
+ var a = Mi(i.stem);
1064
1064
  a && (t = $($({}, t), a));
1065
1065
  }
1066
1066
  return t;
@@ -2486,11 +2486,11 @@ function Ni(e, t) {
2486
2486
  if (i === "j") {
2487
2487
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2488
2488
  o++, n++;
2489
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ii(t);
2490
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2491
- r += c;
2489
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ii(t);
2490
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2491
+ r += l;
2492
2492
  for (; s-- > 0; )
2493
- r = l + r;
2493
+ r = u + r;
2494
2494
  } else
2495
2495
  i === "J" ? r += "H" : r += i;
2496
2496
  }
@@ -2688,8 +2688,8 @@ var Yi = (
2688
2688
  if (this.bumpIf("</")) {
2689
2689
  if (this.isEOF() || !Qt(this.char()))
2690
2690
  return this.error(H.INVALID_TAG, O(a, this.clonePosition()));
2691
- var c = this.clonePosition(), l = this.parseTagName();
2692
- return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, O(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2691
+ var l = this.clonePosition(), u = this.parseTagName();
2692
+ return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, O(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
2693
  val: {
2694
2694
  type: F.tag,
2695
2695
  value: i,
@@ -2726,9 +2726,9 @@ var Yi = (
2726
2726
  }
2727
2727
  break;
2728
2728
  }
2729
- var c = O(n, this.clonePosition());
2729
+ var l = O(n, this.clonePosition());
2730
2730
  return {
2731
- val: { type: F.literal, value: i, location: c },
2731
+ val: { type: F.literal, value: i, location: l },
2732
2732
  err: null
2733
2733
  };
2734
2734
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2806,51 +2806,51 @@ var Yi = (
2806
2806
  var o = this.clonePosition(), s = O(t, o);
2807
2807
  return { value: n, location: s };
2808
2808
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2809
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2809
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2810
2810
  switch (a) {
2811
2811
  case "":
2812
- return this.error(H.EXPECT_ARGUMENT_TYPE, O(s, c));
2812
+ return this.error(H.EXPECT_ARGUMENT_TYPE, O(s, l));
2813
2813
  case "number":
2814
2814
  case "date":
2815
2815
  case "time": {
2816
2816
  this.bumpSpace();
2817
- var l = null;
2817
+ var u = null;
2818
2818
  if (this.bumpIf(",")) {
2819
2819
  this.bumpSpace();
2820
- var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2821
- if (g.err)
2822
- return g;
2823
- var m = qi(g.val);
2820
+ var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2821
+ if (b.err)
2822
+ return b;
2823
+ var m = qi(b.val);
2824
2824
  if (m.length === 0)
2825
2825
  return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2826
2826
  var w = O(f, this.clonePosition());
2827
- l = { style: m, styleLocation: w };
2827
+ u = { style: m, styleLocation: w };
2828
2828
  }
2829
- var v = this.tryParseArgumentClose(i);
2830
- if (v.err)
2831
- return v;
2832
- var S = O(i, this.clonePosition());
2833
- if (l && _r(l?.style, "::", 0)) {
2834
- var M = Zi(l.style.slice(2));
2829
+ var _ = this.tryParseArgumentClose(i);
2830
+ if (_.err)
2831
+ return _;
2832
+ var A = O(i, this.clonePosition());
2833
+ if (u && _r(u?.style, "::", 0)) {
2834
+ var N = Zi(u.style.slice(2));
2835
2835
  if (a === "number") {
2836
- var g = this.parseNumberSkeletonFromString(M, l.styleLocation);
2837
- return g.err ? g : {
2838
- val: { type: F.number, value: n, location: S, style: g.val },
2836
+ var b = this.parseNumberSkeletonFromString(N, u.styleLocation);
2837
+ return b.err ? b : {
2838
+ val: { type: F.number, value: n, location: A, style: b.val },
2839
2839
  err: null
2840
2840
  };
2841
2841
  } else {
2842
- if (M.length === 0)
2843
- return this.error(H.EXPECT_DATE_TIME_SKELETON, S);
2844
- var z = M;
2845
- this.locale && (z = Ni(M, this.locale));
2842
+ if (N.length === 0)
2843
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, A);
2844
+ var W = N;
2845
+ this.locale && (W = Ni(N, this.locale));
2846
2846
  var m = {
2847
2847
  type: ke.dateTime,
2848
- pattern: z,
2849
- location: l.styleLocation,
2850
- parsedOptions: this.shouldParseSkeletons ? Ci(z) : {}
2848
+ pattern: W,
2849
+ location: u.styleLocation,
2850
+ parsedOptions: this.shouldParseSkeletons ? Ci(W) : {}
2851
2851
  }, V = a === "date" ? F.date : F.time;
2852
2852
  return {
2853
- val: { type: V, value: n, location: S, style: m },
2853
+ val: { type: V, value: n, location: A, style: m },
2854
2854
  err: null
2855
2855
  };
2856
2856
  }
@@ -2859,8 +2859,8 @@ var Yi = (
2859
2859
  val: {
2860
2860
  type: a === "number" ? F.number : a === "date" ? F.date : F.time,
2861
2861
  value: n,
2862
- location: S,
2863
- style: (o = l?.style) !== null && o !== void 0 ? o : null
2862
+ location: A,
2863
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
2864
2864
  },
2865
2865
  err: null
2866
2866
  };
@@ -2877,40 +2877,40 @@ var Yi = (
2877
2877
  if (!this.bumpIf(":"))
2878
2878
  return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2879
2879
  this.bumpSpace();
2880
- var g = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
- if (g.err)
2882
- return g;
2883
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), j = g.val;
2880
+ var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
+ if (b.err)
2882
+ return b;
2883
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), j = b.val;
2884
2884
  }
2885
- var ne = this.tryParsePluralOrSelectOptions(t, a, r, I);
2886
- if (ne.err)
2887
- return ne;
2888
- var v = this.tryParseArgumentClose(i);
2889
- if (v.err)
2890
- return v;
2891
- var W = O(i, this.clonePosition());
2885
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, I);
2886
+ if (oe.err)
2887
+ return oe;
2888
+ var _ = this.tryParseArgumentClose(i);
2889
+ if (_.err)
2890
+ return _;
2891
+ var Z = O(i, this.clonePosition());
2892
2892
  return a === "select" ? {
2893
2893
  val: {
2894
2894
  type: F.select,
2895
2895
  value: n,
2896
- options: Er(ne.val),
2897
- location: W
2896
+ options: Er(oe.val),
2897
+ location: Z
2898
2898
  },
2899
2899
  err: null
2900
2900
  } : {
2901
2901
  val: {
2902
2902
  type: F.plural,
2903
2903
  value: n,
2904
- options: Er(ne.val),
2904
+ options: Er(oe.val),
2905
2905
  offset: j,
2906
2906
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2907
- location: W
2907
+ location: Z
2908
2908
  },
2909
2909
  err: null
2910
2910
  };
2911
2911
  }
2912
2912
  default:
2913
- return this.error(H.INVALID_ARGUMENT_TYPE, O(s, c));
2913
+ return this.error(H.INVALID_ARGUMENT_TYPE, O(s, l));
2914
2914
  }
2915
2915
  }, e.prototype.tryParseArgumentClose = function(t) {
2916
2916
  return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2961,41 +2961,41 @@ var Yi = (
2961
2961
  type: ke.number,
2962
2962
  tokens: n,
2963
2963
  location: r,
2964
- parsedOptions: this.shouldParseSkeletons ? Mi(n) : {}
2964
+ parsedOptions: this.shouldParseSkeletons ? Li(n) : {}
2965
2965
  },
2966
2966
  err: null
2967
2967
  };
2968
2968
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2969
- for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
2970
- if (l.length === 0) {
2971
- var g = this.clonePosition();
2969
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2970
+ if (u.length === 0) {
2971
+ var b = this.clonePosition();
2972
2972
  if (r !== "select" && this.bumpIf("=")) {
2973
2973
  var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
2974
  if (m.err)
2975
2975
  return m;
2976
- f = O(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2976
+ f = O(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
2977
2977
  } else
2978
2978
  break;
2979
2979
  }
2980
- if (c.has(l))
2980
+ if (l.has(u))
2981
2981
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2982
- l === "other" && (s = !0), this.bumpSpace();
2982
+ u === "other" && (s = !0), this.bumpSpace();
2983
2983
  var w = this.clonePosition();
2984
2984
  if (!this.bumpIf("{"))
2985
2985
  return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2986
- var v = this.parseMessage(t + 1, r, n);
2987
- if (v.err)
2988
- return v;
2989
- var S = this.tryParseArgumentClose(w);
2990
- if (S.err)
2991
- return S;
2986
+ var _ = this.parseMessage(t + 1, r, n);
2987
+ if (_.err)
2988
+ return _;
2989
+ var A = this.tryParseArgumentClose(w);
2990
+ if (A.err)
2991
+ return A;
2992
2992
  a.push([
2993
- l,
2993
+ u,
2994
2994
  {
2995
- value: v.val,
2995
+ value: _.val,
2996
2996
  location: O(w, this.clonePosition())
2997
2997
  }
2998
- ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
2998
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
2999
2999
  }
3000
3000
  return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3001
3001
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3008,8 +3008,8 @@ var Yi = (
3008
3008
  else
3009
3009
  break;
3010
3010
  }
3011
- var c = O(i, this.clonePosition());
3012
- return o ? (s *= n, zi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3011
+ var l = O(i, this.clonePosition());
3012
+ return o ? (s *= n, zi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3013
3013
  }, e.prototype.offset = function() {
3014
3014
  return this.position.offset;
3015
3015
  }, e.prototype.isEOF = function() {
@@ -3151,14 +3151,14 @@ var Bt = (
3151
3151
  }
3152
3152
  return t;
3153
3153
  }(Bt)
3154
- ), re;
3154
+ ), ie;
3155
3155
  (function(e) {
3156
3156
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3157
- })(re || (re = {}));
3157
+ })(ie || (ie = {}));
3158
3158
  function no(e) {
3159
3159
  return e.length < 2 ? e : e.reduce(function(t, r) {
3160
3160
  var n = t[t.length - 1];
3161
- return !n || n.type !== re.literal || r.type !== re.literal ? t.push(r) : n.value += r.value, t;
3161
+ return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
3162
3162
  }, []);
3163
3163
  }
3164
3164
  function io(e) {
@@ -3168,33 +3168,33 @@ function bt(e, t, r, n, i, o, s) {
3168
3168
  if (e.length === 1 && br(e[0]))
3169
3169
  return [
3170
3170
  {
3171
- type: re.literal,
3171
+ type: ie.literal,
3172
3172
  value: e[0].value
3173
3173
  }
3174
3174
  ];
3175
- for (var a = [], c = 0, l = e; c < l.length; c++) {
3176
- var f = l[c];
3175
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3176
+ var f = u[l];
3177
3177
  if (br(f)) {
3178
3178
  a.push({
3179
- type: re.literal,
3179
+ type: ie.literal,
3180
3180
  value: f.value
3181
3181
  });
3182
3182
  continue;
3183
3183
  }
3184
3184
  if (Bi(f)) {
3185
3185
  typeof o == "number" && a.push({
3186
- type: re.literal,
3186
+ type: ie.literal,
3187
3187
  value: r.getNumberFormat(t).format(o)
3188
3188
  });
3189
3189
  continue;
3190
3190
  }
3191
- var g = f.value;
3192
- if (!(i && g in i))
3193
- throw new ro(g, s);
3194
- var m = i[g];
3191
+ var b = f.value;
3192
+ if (!(i && b in i))
3193
+ throw new ro(b, s);
3194
+ var m = i[b];
3195
3195
  if (Ti(f)) {
3196
3196
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3197
- type: typeof m == "string" ? re.literal : re.object,
3197
+ type: typeof m == "string" ? ie.literal : ie.object,
3198
3198
  value: m
3199
3199
  });
3200
3200
  continue;
@@ -3202,7 +3202,7 @@ function bt(e, t, r, n, i, o, s) {
3202
3202
  if (Jr(f)) {
3203
3203
  var w = typeof f.style == "string" ? n.date[f.style] : Wt(f.style) ? f.style.parsedOptions : void 0;
3204
3204
  a.push({
3205
- type: re.literal,
3205
+ type: ie.literal,
3206
3206
  value: r.getDateTimeFormat(t, w).format(m)
3207
3207
  });
3208
3208
  continue;
@@ -3210,7 +3210,7 @@ function bt(e, t, r, n, i, o, s) {
3210
3210
  if (Kr(f)) {
3211
3211
  var w = typeof f.style == "string" ? n.time[f.style] : Wt(f.style) ? f.style.parsedOptions : n.time.medium;
3212
3212
  a.push({
3213
- type: re.literal,
3213
+ type: ie.literal,
3214
3214
  value: r.getDateTimeFormat(t, w).format(m)
3215
3215
  });
3216
3216
  continue;
@@ -3218,21 +3218,21 @@ function bt(e, t, r, n, i, o, s) {
3218
3218
  if (Qr(f)) {
3219
3219
  var w = typeof f.style == "string" ? n.number[f.style] : nn(f.style) ? f.style.parsedOptions : void 0;
3220
3220
  w && w.scale && (m = m * (w.scale || 1)), a.push({
3221
- type: re.literal,
3221
+ type: ie.literal,
3222
3222
  value: r.getNumberFormat(t, w).format(m)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
3226
  if (rn(f)) {
3227
- var v = f.children, S = f.value, M = i[S];
3228
- if (!io(M))
3229
- throw new to(S, "function", s);
3230
- var z = bt(v, t, r, n, i, o), V = M(z.map(function(j) {
3227
+ var _ = f.children, A = f.value, N = i[A];
3228
+ if (!io(N))
3229
+ throw new to(A, "function", s);
3230
+ var W = bt(_, t, r, n, i, o), V = N(W.map(function(j) {
3231
3231
  return j.value;
3232
3232
  }));
3233
3233
  Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(j) {
3234
3234
  return {
3235
- type: typeof j == "string" ? re.literal : re.object,
3235
+ type: typeof j == "string" ? ie.literal : ie.object,
3236
3236
  value: j
3237
3237
  };
3238
3238
  }));
@@ -3263,14 +3263,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3263
3263
  return no(a);
3264
3264
  }
3265
3265
  function oo(e, t) {
3266
- return t ? ge(ge(ge({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3267
- return r[n] = ge(ge({}, e[n]), t[n] || {}), r;
3266
+ return t ? be(be(be({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3267
+ return r[n] = be(be({}, e[n]), t[n] || {}), r;
3268
3268
  }, {})) : e;
3269
3269
  }
3270
3270
  function ao(e, t) {
3271
3271
  return t ? Object.keys(e).reduce(function(r, n) {
3272
3272
  return r[n] = oo(e[n], t[n]), r;
3273
- }, ge({}, e)) : e;
3273
+ }, be({}, e)) : e;
3274
3274
  }
3275
3275
  function Gt(e) {
3276
3276
  return {
@@ -3328,20 +3328,20 @@ var uo = (
3328
3328
  number: {},
3329
3329
  dateTime: {},
3330
3330
  pluralRules: {}
3331
- }, this.format = function(c) {
3332
- var l = o.formatToParts(c);
3333
- if (l.length === 1)
3334
- return l[0].value;
3335
- var f = l.reduce(function(g, m) {
3336
- return !g.length || m.type !== re.literal || typeof g[g.length - 1] != "string" ? g.push(m.value) : g[g.length - 1] += m.value, g;
3331
+ }, this.format = function(l) {
3332
+ var u = o.formatToParts(l);
3333
+ if (u.length === 1)
3334
+ return u[0].value;
3335
+ var f = u.reduce(function(b, m) {
3336
+ return !b.length || m.type !== ie.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3337
3337
  }, []);
3338
3338
  return f.length <= 1 ? f[0] || "" : f;
3339
- }, this.formatToParts = function(c) {
3340
- return bt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3339
+ }, this.formatToParts = function(l) {
3340
+ return bt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3341
3341
  }, this.resolvedOptions = function() {
3342
- var c;
3342
+ var l;
3343
3343
  return {
3344
- locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3344
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3345
3345
  };
3346
3346
  }, this.getAst = function() {
3347
3347
  return o.ast;
@@ -3351,7 +3351,7 @@ var uo = (
3351
3351
  var s = i || {};
3352
3352
  s.formatters;
3353
3353
  var a = gi(s, ["formatters"]);
3354
- this.ast = e.__parse(t, ge(ge({}, a), { locale: this.resolvedLocale }));
3354
+ this.ast = e.__parse(t, be(be({}, a), { locale: this.resolvedLocale }));
3355
3355
  } else
3356
3356
  this.ast = t;
3357
3357
  if (!Array.isArray(this.ast))
@@ -3667,14 +3667,14 @@ const it = (e, t) => {
3667
3667
  );
3668
3668
  return n ? i = it("time", n) : Object.keys(i).length === 0 && (i = it("time", "short")), new Intl.DateTimeFormat(r, i);
3669
3669
  }
3670
- ), Lo = (e = {}) => {
3670
+ ), Mo = (e = {}) => {
3671
3671
  var t = e, {
3672
3672
  locale: r = Re()
3673
3673
  } = t, n = Ze(t, [
3674
3674
  "locale"
3675
3675
  ]);
3676
3676
  return Oo(cr({ locale: r }, n));
3677
- }, Mo = (e = {}) => {
3677
+ }, Lo = (e = {}) => {
3678
3678
  var t = e, {
3679
3679
  locale: r = Re()
3680
3680
  } = t, n = Ze(t, [
@@ -3699,33 +3699,33 @@ const it = (e, t) => {
3699
3699
  typeof e == "object" && (s = e, e = s.id);
3700
3700
  const {
3701
3701
  values: a,
3702
- locale: c = Re(),
3703
- default: l
3702
+ locale: l = Re(),
3703
+ default: u
3704
3704
  } = s;
3705
- if (c == null)
3705
+ if (l == null)
3706
3706
  throw new Error(
3707
3707
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3708
3708
  );
3709
- let f = fn(e, c);
3709
+ let f = fn(e, l);
3710
3710
  if (!f)
3711
- f = (o = (i = (n = (r = Ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3711
+ f = (o = (i = (n = (r = Ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3712
3712
  else if (typeof f != "string")
3713
3713
  return console.warn(
3714
3714
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3715
3715
  ), f;
3716
3716
  if (!a)
3717
3717
  return f;
3718
- let g = f;
3718
+ let b = f;
3719
3719
  try {
3720
- g = Io(f, c).format(a);
3720
+ b = Io(f, l).format(a);
3721
3721
  } catch (m) {
3722
3722
  m instanceof Error && console.warn(
3723
3723
  `[svelte-i18n] Message "${e}" has syntax error:`,
3724
3724
  m.message
3725
3725
  );
3726
3726
  }
3727
- return g;
3728
- }, Uo = (e, t) => No(t).format(e), Fo = (e, t) => Mo(t).format(e), Go = (e, t) => Lo(t).format(e), jo = (e, t = Re()) => fn(e, t), ko = ze([We, ot], () => Do);
3727
+ return b;
3728
+ }, Uo = (e, t) => No(t).format(e), Fo = (e, t) => Lo(t).format(e), Go = (e, t) => Mo(t).format(e), jo = (e, t = Re()) => fn(e, t), ko = ze([We, ot], () => Do);
3729
3729
  ze([We], () => Uo);
3730
3730
  ze([We], () => Fo);
3731
3731
  ze([We], () => Go);
@@ -3944,9 +3944,9 @@ var tr = { exports: {} };
3944
3944
  */
3945
3945
  (function(e, t) {
3946
3946
  (function(r) {
3947
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, c = r.EventSource, l = r.document, f = r.Promise, g = r.fetch, m = r.Response, w = r.TextDecoder, v = r.TextEncoder, S = r.AbortController;
3948
- if (typeof window < "u" && typeof l < "u" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(h) {
3949
- l.readyState = "complete";
3947
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, l = r.EventSource, u = r.document, f = r.Promise, b = r.fetch, m = r.Response, w = r.TextDecoder, _ = r.TextEncoder, A = r.AbortController;
3948
+ if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
3949
+ u.readyState = "complete";
3950
3950
  }, !1)), o == null && a != null && (o = function() {
3951
3951
  return new a("Microsoft.XMLHTTP");
3952
3952
  }), Object.create == null && (Object.create = function(h) {
@@ -3955,24 +3955,24 @@ var tr = { exports: {} };
3955
3955
  return y.prototype = h, new y();
3956
3956
  }), Date.now || (Date.now = function() {
3957
3957
  return (/* @__PURE__ */ new Date()).getTime();
3958
- }), S == null) {
3959
- var M = g;
3960
- g = function(h, y) {
3961
- var _ = y.signal;
3962
- return M(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(u) {
3963
- var p = u.body.getReader();
3964
- return _._reader = p, _._aborted && _._reader.cancel(), {
3965
- status: u.status,
3966
- statusText: u.statusText,
3967
- headers: u.headers,
3958
+ }), A == null) {
3959
+ var N = b;
3960
+ b = function(h, y) {
3961
+ var E = y.signal;
3962
+ return N(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
3963
+ var c = g.body.getReader();
3964
+ return E._reader = c, E._aborted && E._reader.cancel(), {
3965
+ status: g.status,
3966
+ statusText: g.statusText,
3967
+ headers: g.headers,
3968
3968
  body: {
3969
3969
  getReader: function() {
3970
- return p;
3970
+ return c;
3971
3971
  }
3972
3972
  }
3973
3973
  };
3974
3974
  });
3975
- }, S = function() {
3975
+ }, A = function() {
3976
3976
  this.signal = {
3977
3977
  _reader: null,
3978
3978
  _aborted: !1
@@ -3981,43 +3981,43 @@ var tr = { exports: {} };
3981
3981
  };
3982
3982
  };
3983
3983
  }
3984
- function z() {
3984
+ function W() {
3985
3985
  this.bitsNeeded = 0, this.codePoint = 0;
3986
3986
  }
3987
- z.prototype.decode = function(h) {
3988
- function y(E, C, B) {
3987
+ W.prototype.decode = function(h) {
3988
+ function y(C, S, B) {
3989
3989
  if (B === 1)
3990
- return E >= 128 >> C && E << C <= 2047;
3990
+ return C >= 128 >> S && C << S <= 2047;
3991
3991
  if (B === 2)
3992
- return E >= 2048 >> C && E << C <= 55295 || E >= 57344 >> C && E << C <= 65535;
3992
+ return C >= 2048 >> S && C << S <= 55295 || C >= 57344 >> S && C << S <= 65535;
3993
3993
  if (B === 3)
3994
- return E >= 65536 >> C && E << C <= 1114111;
3994
+ return C >= 65536 >> S && C << S <= 1114111;
3995
3995
  throw new Error();
3996
3996
  }
3997
- function _(E, C) {
3998
- if (E === 6 * 1)
3999
- return C >> 6 > 15 ? 3 : C > 31 ? 2 : 1;
4000
- if (E === 6 * 2)
4001
- return C > 15 ? 3 : 2;
4002
- if (E === 6 * 3)
3997
+ function E(C, S) {
3998
+ if (C === 6 * 1)
3999
+ return S >> 6 > 15 ? 3 : S > 31 ? 2 : 1;
4000
+ if (C === 6 * 2)
4001
+ return S > 15 ? 3 : 2;
4002
+ if (C === 6 * 3)
4003
4003
  return 3;
4004
4004
  throw new Error();
4005
4005
  }
4006
- for (var u = 65533, p = "", d = this.bitsNeeded, b = this.codePoint, A = 0; A < h.length; A += 1) {
4007
- var T = h[A];
4008
- d !== 0 && (T < 128 || T > 191 || !y(b << 6 | T & 63, d - 6, _(d, b))) && (d = 0, b = u, p += String.fromCharCode(b)), d === 0 ? (T >= 0 && T <= 127 ? (d = 0, b = T) : T >= 192 && T <= 223 ? (d = 6 * 1, b = T & 31) : T >= 224 && T <= 239 ? (d = 6 * 2, b = T & 15) : T >= 240 && T <= 247 ? (d = 6 * 3, b = T & 7) : (d = 0, b = u), d !== 0 && !y(b, d, _(d, b)) && (d = 0, b = u)) : (d -= 6, b = b << 6 | T & 63), d === 0 && (b <= 65535 ? p += String.fromCharCode(b) : (p += String.fromCharCode(55296 + (b - 65535 - 1 >> 10)), p += String.fromCharCode(56320 + (b - 65535 - 1 & 1023))));
4006
+ for (var g = 65533, c = "", d = this.bitsNeeded, p = this.codePoint, v = 0; v < h.length; v += 1) {
4007
+ var T = h[v];
4008
+ d !== 0 && (T < 128 || T > 191 || !y(p << 6 | T & 63, d - 6, E(d, p))) && (d = 0, p = g, c += String.fromCharCode(p)), d === 0 ? (T >= 0 && T <= 127 ? (d = 0, p = T) : T >= 192 && T <= 223 ? (d = 6 * 1, p = T & 31) : T >= 224 && T <= 239 ? (d = 6 * 2, p = T & 15) : T >= 240 && T <= 247 ? (d = 6 * 3, p = T & 7) : (d = 0, p = g), d !== 0 && !y(p, d, E(d, p)) && (d = 0, p = g)) : (d -= 6, p = p << 6 | T & 63), d === 0 && (p <= 65535 ? c += String.fromCharCode(p) : (c += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), c += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4009
4009
  }
4010
- return this.bitsNeeded = d, this.codePoint = b, p;
4010
+ return this.bitsNeeded = d, this.codePoint = p, c;
4011
4011
  };
4012
4012
  var V = function() {
4013
4013
  try {
4014
- return new w().decode(new v().encode("test"), { stream: !0 }) === "test";
4014
+ return new w().decode(new _().encode("test"), { stream: !0 }) === "test";
4015
4015
  } catch (h) {
4016
4016
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4017
4017
  }
4018
4018
  return !1;
4019
4019
  };
4020
- (w == null || v == null || !V()) && (w = z);
4020
+ (w == null || _ == null || !V()) && (w = W);
4021
4021
  var R = function() {
4022
4022
  };
4023
4023
  function I(h) {
@@ -4025,76 +4025,76 @@ var tr = { exports: {} };
4025
4025
  }
4026
4026
  I.prototype.open = function(h, y) {
4027
4027
  this._abort(!0);
4028
- var _ = this, u = this._xhr, p = 1, d = 0;
4028
+ var E = this, g = this._xhr, c = 1, d = 0;
4029
4029
  this._abort = function(B) {
4030
- _._sendTimeout !== 0 && (i(_._sendTimeout), _._sendTimeout = 0), (p === 1 || p === 2 || p === 3) && (p = 4, u.onload = R, u.onerror = R, u.onabort = R, u.onprogress = R, u.onreadystatechange = R, u.abort(), d !== 0 && (i(d), d = 0), B || (_.readyState = 4, _.onabort(null), _.onreadystatechange())), p = 0;
4030
+ E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (c === 1 || c === 2 || c === 3) && (c = 4, g.onload = R, g.onerror = R, g.onabort = R, g.onprogress = R, g.onreadystatechange = R, g.abort(), d !== 0 && (i(d), d = 0), B || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), c = 0;
4031
4031
  };
4032
- var b = function() {
4033
- if (p === 1) {
4034
- var B = 0, N = "", le = void 0;
4035
- if ("contentType" in u)
4036
- B = 200, N = "OK", le = u.contentType;
4032
+ var p = function() {
4033
+ if (c === 1) {
4034
+ var B = 0, L = "", ee = void 0;
4035
+ if ("contentType" in g)
4036
+ B = 200, L = "OK", ee = g.contentType;
4037
4037
  else
4038
4038
  try {
4039
- B = u.status, N = u.statusText, le = u.getResponseHeader("Content-Type");
4039
+ B = g.status, L = g.statusText, ee = g.getResponseHeader("Content-Type");
4040
4040
  } catch {
4041
- B = 0, N = "", le = void 0;
4041
+ B = 0, L = "", ee = void 0;
4042
4042
  }
4043
- B !== 0 && (p = 2, _.readyState = 2, _.status = B, _.statusText = N, _._contentType = le, _.onreadystatechange());
4043
+ B !== 0 && (c = 2, E.readyState = 2, E.status = B, E.statusText = L, E._contentType = ee, E.onreadystatechange());
4044
4044
  }
4045
- }, A = function() {
4046
- if (b(), p === 2 || p === 3) {
4047
- p = 3;
4045
+ }, v = function() {
4046
+ if (p(), c === 2 || c === 3) {
4047
+ c = 3;
4048
4048
  var B = "";
4049
4049
  try {
4050
- B = u.responseText;
4050
+ B = g.responseText;
4051
4051
  } catch {
4052
4052
  }
4053
- _.readyState = 3, _.responseText = B, _.onprogress();
4053
+ E.readyState = 3, E.responseText = B, E.onprogress();
4054
4054
  }
4055
- }, T = function(B, N) {
4056
- if ((N == null || N.preventDefault == null) && (N = {
4055
+ }, T = function(B, L) {
4056
+ if ((L == null || L.preventDefault == null) && (L = {
4057
4057
  preventDefault: R
4058
- }), A(), p === 1 || p === 2 || p === 3) {
4059
- if (p = 4, d !== 0 && (i(d), d = 0), _.readyState = 4, B === "load")
4060
- _.onload(N);
4058
+ }), v(), c === 1 || c === 2 || c === 3) {
4059
+ if (c = 4, d !== 0 && (i(d), d = 0), E.readyState = 4, B === "load")
4060
+ E.onload(L);
4061
4061
  else if (B === "error")
4062
- _.onerror(N);
4062
+ E.onerror(L);
4063
4063
  else if (B === "abort")
4064
- _.onabort(N);
4064
+ E.onabort(L);
4065
4065
  else
4066
4066
  throw new TypeError();
4067
- _.onreadystatechange();
4067
+ E.onreadystatechange();
4068
4068
  }
4069
- }, E = function(B) {
4070
- u != null && (u.readyState === 4 ? (!("onload" in u) || !("onerror" in u) || !("onabort" in u)) && T(u.responseText === "" ? "error" : "load", B) : u.readyState === 3 ? "onprogress" in u || A() : u.readyState === 2 && b());
4071
- }, C = function() {
4069
+ }, C = function(B) {
4070
+ g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && T(g.responseText === "" ? "error" : "load", B) : g.readyState === 3 ? "onprogress" in g || v() : g.readyState === 2 && p());
4071
+ }, S = function() {
4072
4072
  d = n(function() {
4073
- C();
4074
- }, 500), u.readyState === 3 && A();
4073
+ S();
4074
+ }, 500), g.readyState === 3 && v();
4075
4075
  };
4076
- "onload" in u && (u.onload = function(B) {
4076
+ "onload" in g && (g.onload = function(B) {
4077
4077
  T("load", B);
4078
- }), "onerror" in u && (u.onerror = function(B) {
4078
+ }), "onerror" in g && (g.onerror = function(B) {
4079
4079
  T("error", B);
4080
- }), "onabort" in u && (u.onabort = function(B) {
4080
+ }), "onabort" in g && (g.onabort = function(B) {
4081
4081
  T("abort", B);
4082
- }), "onprogress" in u && (u.onprogress = A), "onreadystatechange" in u && (u.onreadystatechange = function(B) {
4083
- E(B);
4084
- }), ("contentType" in u || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), u.open(h, y, !0), "readyState" in u && (d = n(function() {
4085
- C();
4082
+ }), "onprogress" in g && (g.onprogress = v), "onreadystatechange" in g && (g.onreadystatechange = function(B) {
4083
+ C(B);
4084
+ }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (d = n(function() {
4085
+ S();
4086
4086
  }, 0));
4087
4087
  }, I.prototype.abort = function() {
4088
4088
  this._abort(!1);
4089
4089
  }, I.prototype.getResponseHeader = function(h) {
4090
4090
  return this._contentType;
4091
4091
  }, I.prototype.setRequestHeader = function(h, y) {
4092
- var _ = this._xhr;
4093
- "setRequestHeader" in _ && _.setRequestHeader(h, y);
4092
+ var E = this._xhr;
4093
+ "setRequestHeader" in E && E.setRequestHeader(h, y);
4094
4094
  }, I.prototype.getAllResponseHeaders = function() {
4095
4095
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4096
4096
  }, I.prototype.send = function() {
4097
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4097
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4098
4098
  var h = this;
4099
4099
  h._sendTimeout = n(function() {
4100
4100
  h._sendTimeout = 0, h.send();
@@ -4105,8 +4105,8 @@ var tr = { exports: {} };
4105
4105
  "withCredentials" in y && (y.withCredentials = this.withCredentials);
4106
4106
  try {
4107
4107
  y.send(void 0);
4108
- } catch (_) {
4109
- throw _;
4108
+ } catch (E) {
4109
+ throw E;
4110
4110
  }
4111
4111
  };
4112
4112
  function j(h) {
@@ -4114,39 +4114,39 @@ var tr = { exports: {} };
4114
4114
  return String.fromCharCode(y.charCodeAt(0) + 32);
4115
4115
  });
4116
4116
  }
4117
- function ne(h) {
4118
- for (var y = /* @__PURE__ */ Object.create(null), _ = h.split(`\r
4119
- `), u = 0; u < _.length; u += 1) {
4120
- var p = _[u], d = p.split(": "), b = d.shift(), A = d.join(": ");
4121
- y[j(b)] = A;
4117
+ function oe(h) {
4118
+ for (var y = /* @__PURE__ */ Object.create(null), E = h.split(`\r
4119
+ `), g = 0; g < E.length; g += 1) {
4120
+ var c = E[g], d = c.split(": "), p = d.shift(), v = d.join(": ");
4121
+ y[j(p)] = v;
4122
4122
  }
4123
4123
  this._map = y;
4124
4124
  }
4125
- ne.prototype.get = function(h) {
4125
+ oe.prototype.get = function(h) {
4126
4126
  return this._map[j(h)];
4127
4127
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4128
- function W() {
4128
+ function Z() {
4129
4129
  }
4130
- W.prototype.open = function(h, y, _, u, p, d, b) {
4131
- h.open("GET", p);
4132
- var A = 0;
4130
+ Z.prototype.open = function(h, y, E, g, c, d, p) {
4131
+ h.open("GET", c);
4132
+ var v = 0;
4133
4133
  h.onprogress = function() {
4134
- var E = h.responseText, C = E.slice(A);
4135
- A += C.length, _(C);
4136
- }, h.onerror = function(E) {
4137
- E.preventDefault(), u(new Error("NetworkError"));
4134
+ var C = h.responseText, S = C.slice(v);
4135
+ v += S.length, E(S);
4136
+ }, h.onerror = function(C) {
4137
+ C.preventDefault(), g(new Error("NetworkError"));
4138
4138
  }, h.onload = function() {
4139
- u(null);
4139
+ g(null);
4140
4140
  }, h.onabort = function() {
4141
- u(null);
4141
+ g(null);
4142
4142
  }, h.onreadystatechange = function() {
4143
4143
  if (h.readyState === o.HEADERS_RECEIVED) {
4144
- var E = h.status, C = h.statusText, B = h.getResponseHeader("Content-Type"), N = h.getAllResponseHeaders();
4145
- y(E, C, B, new ne(N));
4144
+ var C = h.status, S = h.statusText, B = h.getResponseHeader("Content-Type"), L = h.getAllResponseHeaders();
4145
+ y(C, S, B, new oe(L));
4146
4146
  }
4147
4147
  }, h.withCredentials = d;
4148
- for (var T in b)
4149
- Object.prototype.hasOwnProperty.call(b, T) && h.setRequestHeader(T, b[T]);
4148
+ for (var T in p)
4149
+ Object.prototype.hasOwnProperty.call(p, T) && h.setRequestHeader(T, p[T]);
4150
4150
  return h.send(), h;
4151
4151
  };
4152
4152
  function k(h) {
@@ -4157,41 +4157,41 @@ var tr = { exports: {} };
4157
4157
  };
4158
4158
  function D() {
4159
4159
  }
4160
- D.prototype.open = function(h, y, _, u, p, d, b) {
4161
- var A = null, T = new S(), E = T.signal, C = new w();
4162
- return g(p, {
4163
- headers: b,
4160
+ D.prototype.open = function(h, y, E, g, c, d, p) {
4161
+ var v = null, T = new A(), C = T.signal, S = new w();
4162
+ return b(c, {
4163
+ headers: p,
4164
4164
  credentials: d ? "include" : "same-origin",
4165
- signal: E,
4165
+ signal: C,
4166
4166
  cache: "no-store"
4167
4167
  }).then(function(B) {
4168
- return A = B.body.getReader(), y(B.status, B.statusText, B.headers.get("Content-Type"), new k(B.headers)), new f(function(N, le) {
4169
- var fe = function() {
4170
- A.read().then(function(oe) {
4171
- if (oe.done)
4172
- N(void 0);
4168
+ return v = B.body.getReader(), y(B.status, B.statusText, B.headers.get("Content-Type"), new k(B.headers)), new f(function(L, ee) {
4169
+ var Ae = function() {
4170
+ v.read().then(function(X) {
4171
+ if (X.done)
4172
+ L(void 0);
4173
4173
  else {
4174
- var K = C.decode(oe.value, { stream: !0 });
4175
- _(K), fe();
4174
+ var te = S.decode(X.value, { stream: !0 });
4175
+ E(te), Ae();
4176
4176
  }
4177
- }).catch(function(oe) {
4178
- le(oe);
4177
+ }).catch(function(X) {
4178
+ ee(X);
4179
4179
  });
4180
4180
  };
4181
- fe();
4181
+ Ae();
4182
4182
  });
4183
4183
  }).catch(function(B) {
4184
4184
  if (B.name !== "AbortError")
4185
4185
  return B;
4186
4186
  }).then(function(B) {
4187
- u(B);
4187
+ g(B);
4188
4188
  }), {
4189
4189
  abort: function() {
4190
- A?.cancel(), T.abort();
4190
+ v?.cancel(), T.abort();
4191
4191
  }
4192
4192
  };
4193
4193
  };
4194
- function Z() {
4194
+ function q() {
4195
4195
  this._listeners = /* @__PURE__ */ Object.create(null);
4196
4196
  }
4197
4197
  function U(h) {
@@ -4199,185 +4199,185 @@ var tr = { exports: {} };
4199
4199
  throw h;
4200
4200
  }, 0);
4201
4201
  }
4202
- Z.prototype.dispatchEvent = function(h) {
4202
+ q.prototype.dispatchEvent = function(h) {
4203
4203
  h.target = this;
4204
4204
  var y = this._listeners[h.type];
4205
4205
  if (y != null)
4206
- for (var _ = y.length, u = 0; u < _; u += 1) {
4207
- var p = y[u];
4206
+ for (var E = y.length, g = 0; g < E; g += 1) {
4207
+ var c = y[g];
4208
4208
  try {
4209
- typeof p.handleEvent == "function" ? p.handleEvent(h) : p.call(this, h);
4209
+ typeof c.handleEvent == "function" ? c.handleEvent(h) : c.call(this, h);
4210
4210
  } catch (d) {
4211
4211
  U(d);
4212
4212
  }
4213
4213
  }
4214
- }, Z.prototype.addEventListener = function(h, y) {
4214
+ }, q.prototype.addEventListener = function(h, y) {
4215
4215
  h = String(h);
4216
- var _ = this._listeners, u = _[h];
4217
- u == null && (u = [], _[h] = u);
4218
- for (var p = !1, d = 0; d < u.length; d += 1)
4219
- u[d] === y && (p = !0);
4220
- p || u.push(y);
4221
- }, Z.prototype.removeEventListener = function(h, y) {
4216
+ var E = this._listeners, g = E[h];
4217
+ g == null && (g = [], E[h] = g);
4218
+ for (var c = !1, d = 0; d < g.length; d += 1)
4219
+ g[d] === y && (c = !0);
4220
+ c || g.push(y);
4221
+ }, q.prototype.removeEventListener = function(h, y) {
4222
4222
  h = String(h);
4223
- var _ = this._listeners, u = _[h];
4224
- if (u != null) {
4225
- for (var p = [], d = 0; d < u.length; d += 1)
4226
- u[d] !== y && p.push(u[d]);
4227
- p.length === 0 ? delete _[h] : _[h] = p;
4223
+ var E = this._listeners, g = E[h];
4224
+ if (g != null) {
4225
+ for (var c = [], d = 0; d < g.length; d += 1)
4226
+ g[d] !== y && c.push(g[d]);
4227
+ c.length === 0 ? delete E[h] : E[h] = c;
4228
4228
  }
4229
4229
  };
4230
- function J(h) {
4230
+ function K(h) {
4231
4231
  this.type = h, this.target = void 0;
4232
4232
  }
4233
4233
  function he(h, y) {
4234
- J.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4234
+ K.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4235
4235
  }
4236
- he.prototype = Object.create(J.prototype);
4237
- function ve(h, y) {
4238
- J.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4236
+ he.prototype = Object.create(K.prototype);
4237
+ function ye(h, y) {
4238
+ K.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4239
4239
  }
4240
- ve.prototype = Object.create(J.prototype);
4240
+ ye.prototype = Object.create(K.prototype);
4241
4241
  function x(h, y) {
4242
- J.call(this, h), this.error = y.error;
4242
+ K.call(this, h), this.error = y.error;
4243
4243
  }
4244
- x.prototype = Object.create(J.prototype);
4245
- var _e = -1, me = 0, ue = 1, He = 2, qe = -1, be = 0, Ye = 1, Le = 2, st = 3, Ot = /^text\/event\-stream(;.*)?$/i, Qe = 1e3, ut = 18e6, Je = function(h, y) {
4246
- var _ = h == null ? y : parseInt(h, 10);
4247
- return _ !== _ && (_ = y), Me(_);
4248
- }, Me = function(h) {
4244
+ x.prototype = Object.create(K.prototype);
4245
+ var ve = -1, pe = 0, le = 1, He = 2, qe = -1, me = 0, Ye = 1, Me = 2, st = 3, Ot = /^text\/event\-stream(;.*)?$/i, Qe = 1e3, ut = 18e6, Je = function(h, y) {
4246
+ var E = h == null ? y : parseInt(h, 10);
4247
+ return E !== E && (E = y), Le(E);
4248
+ }, Le = function(h) {
4249
4249
  return Math.min(Math.max(h, Qe), ut);
4250
- }, Ae = function(h, y, _) {
4250
+ }, Be = function(h, y, E) {
4251
4251
  try {
4252
- typeof y == "function" && y.call(h, _);
4253
- } catch (u) {
4254
- U(u);
4252
+ typeof y == "function" && y.call(h, E);
4253
+ } catch (g) {
4254
+ U(g);
4255
4255
  }
4256
4256
  };
4257
- function ie(h, y) {
4258
- Z.call(this), y = y || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Rt(this, h, y);
4257
+ function ae(h, y) {
4258
+ q.call(this), y = y || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Rt(this, h, y);
4259
4259
  }
4260
- function lt() {
4260
+ function Pt() {
4261
4261
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4262
4262
  }
4263
- var Pt = g != null && m != null && "body" in m.prototype;
4264
- function Rt(h, y, _) {
4263
+ var lt = b != null && m != null && "body" in m.prototype;
4264
+ function Rt(h, y, E) {
4265
4265
  y = String(y);
4266
- var u = !!_.withCredentials, p = _.lastEventIdQueryParameterName || "lastEventId", d = Me(1e3), b = Je(_.heartbeatTimeout, 45e3), A = "", T = d, E = !1, C = 0, B = _.headers || {}, N = _.Transport, le = Pt && N == null ? void 0 : new I(N != null ? new N() : lt()), fe = N != null && typeof N != "string" ? new N() : le == null ? new D() : new W(), oe = void 0, K = 0, de = _e, Ne = "", ht = "", Ee = "", ft = "", ee = be, Lt = 0, Oe = 0, Tn = function(q, X, ae, se) {
4267
- if (de === me)
4268
- if (q === 200 && ae != null && Ot.test(ae)) {
4269
- de = ue, E = Date.now(), T = d, h.readyState = ue;
4270
- var te = new ve("open", {
4271
- status: q,
4272
- statusText: X,
4273
- headers: se
4266
+ var g = !!E.withCredentials, c = E.lastEventIdQueryParameterName || "lastEventId", d = Le(1e3), p = Je(E.heartbeatTimeout, 45e3), v = "", T = d, C = !1, S = 0, B = E.headers || {}, L = E.Transport, ee = lt && L == null ? void 0 : new I(L != null ? new L() : Pt()), Ae = L != null && typeof L != "string" ? new L() : ee == null ? new D() : new Z(), X = void 0, te = 0, fe = ve, Ne = "", ht = "", _e = "", ft = "", re = me, Mt = 0, Oe = 0, Tn = function(Y, z, se, ue) {
4267
+ if (fe === pe)
4268
+ if (Y === 200 && se != null && Ot.test(se)) {
4269
+ fe = le, C = Date.now(), T = d, h.readyState = le;
4270
+ var ne = new ye("open", {
4271
+ status: Y,
4272
+ statusText: z,
4273
+ headers: ue
4274
4274
  });
4275
- h.dispatchEvent(te), Ae(h, h.onopen, te);
4275
+ h.dispatchEvent(ne), Be(h, h.onopen, ne);
4276
4276
  } else {
4277
- var Q = "";
4278
- q !== 200 ? (X && (X = X.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + q + " " + X + " that is not 200. Aborting the connection.") : Q = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4279
- var te = new ve("error", {
4280
- status: q,
4281
- statusText: X,
4282
- headers: se
4277
+ var J = "";
4278
+ Y !== 200 ? (z && (z = z.replace(/\s+/g, " ")), J = "EventSource's response has a status " + Y + " " + z + " that is not 200. Aborting the connection.") : J = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4279
+ var ne = new ye("error", {
4280
+ status: Y,
4281
+ statusText: z,
4282
+ headers: ue
4283
4283
  });
4284
- h.dispatchEvent(te), Ae(h, h.onerror, te), console.error(Q);
4284
+ h.dispatchEvent(ne), Be(h, h.onerror, ne), console.error(J);
4285
4285
  }
4286
- }, Bn = function(q) {
4287
- if (de === ue) {
4288
- for (var X = -1, ae = 0; ae < q.length; ae += 1) {
4289
- var se = q.charCodeAt(ae);
4290
- (se === 10 || se === 13) && (X = ae);
4286
+ }, Bn = function(Y) {
4287
+ if (fe === le) {
4288
+ for (var z = -1, se = 0; se < Y.length; se += 1) {
4289
+ var ue = Y.charCodeAt(se);
4290
+ (ue === 10 || ue === 13) && (z = se);
4291
4291
  }
4292
- var te = (X !== -1 ? ft : "") + q.slice(0, X + 1);
4293
- ft = (X === -1 ? ft : "") + q.slice(X + 1), q !== "" && (E = Date.now(), C += q.length);
4294
- for (var Q = 0; Q < te.length; Q += 1) {
4295
- var se = te.charCodeAt(Q);
4296
- if (ee === qe && se === 10)
4297
- ee = be;
4298
- else if (ee === qe && (ee = be), se === 13 || se === 10) {
4299
- if (ee !== be) {
4300
- ee === Ye && (Oe = Q + 1);
4301
- var xe = te.slice(Lt, Oe - 1), we = te.slice(Oe + (Oe < Q && te.charCodeAt(Oe) === 32 ? 1 : 0), Q);
4302
- xe === "data" ? (Ne += `
4303
- `, Ne += we) : xe === "id" ? ht = we : xe === "event" ? Ee = we : xe === "retry" ? (d = Je(we, d), T = d) : xe === "heartbeatTimeout" && (b = Je(we, b), K !== 0 && (i(K), K = n(function() {
4292
+ var ne = (z !== -1 ? ft : "") + Y.slice(0, z + 1);
4293
+ ft = (z === -1 ? ft : "") + Y.slice(z + 1), Y !== "" && (C = Date.now(), S += Y.length);
4294
+ for (var J = 0; J < ne.length; J += 1) {
4295
+ var ue = ne.charCodeAt(J);
4296
+ if (re === qe && ue === 10)
4297
+ re = me;
4298
+ else if (re === qe && (re = me), ue === 13 || ue === 10) {
4299
+ if (re !== me) {
4300
+ re === Ye && (Oe = J + 1);
4301
+ var Ee = ne.slice(Mt, Oe - 1), xe = ne.slice(Oe + (Oe < J && ne.charCodeAt(Oe) === 32 ? 1 : 0), J);
4302
+ Ee === "data" ? (Ne += `
4303
+ `, Ne += xe) : Ee === "id" ? ht = xe : Ee === "event" ? _e = xe : Ee === "retry" ? (d = Je(xe, d), T = d) : Ee === "heartbeatTimeout" && (p = Je(xe, p), te !== 0 && (i(te), te = n(function() {
4304
4304
  Ke();
4305
- }, b)));
4305
+ }, p)));
4306
4306
  }
4307
- if (ee === be) {
4307
+ if (re === me) {
4308
4308
  if (Ne !== "") {
4309
- A = ht, Ee === "" && (Ee = "message");
4310
- var Ie = new he(Ee, {
4309
+ v = ht, _e === "" && (_e = "message");
4310
+ var Ie = new he(_e, {
4311
4311
  data: Ne.slice(1),
4312
4312
  lastEventId: ht
4313
4313
  });
4314
- if (h.dispatchEvent(Ie), Ee === "open" ? Ae(h, h.onopen, Ie) : Ee === "message" ? Ae(h, h.onmessage, Ie) : Ee === "error" && Ae(h, h.onerror, Ie), de === He)
4314
+ if (h.dispatchEvent(Ie), _e === "open" ? Be(h, h.onopen, Ie) : _e === "message" ? Be(h, h.onmessage, Ie) : _e === "error" && Be(h, h.onerror, Ie), fe === He)
4315
4315
  return;
4316
4316
  }
4317
- Ne = "", Ee = "";
4317
+ Ne = "", _e = "";
4318
4318
  }
4319
- ee = se === 13 ? qe : be;
4319
+ re = ue === 13 ? qe : me;
4320
4320
  } else
4321
- ee === be && (Lt = Q, ee = Ye), ee === Ye ? se === 58 && (Oe = Q + 1, ee = Le) : ee === Le && (ee = st);
4321
+ re === me && (Mt = J, re = Ye), re === Ye ? ue === 58 && (Oe = J + 1, re = Me) : re === Me && (re = st);
4322
4322
  }
4323
4323
  }
4324
- }, hr = function(q) {
4325
- if (de === ue || de === me) {
4326
- de = _e, K !== 0 && (i(K), K = 0), K = n(function() {
4324
+ }, hr = function(Y) {
4325
+ if (fe === le || fe === pe) {
4326
+ fe = ve, te !== 0 && (i(te), te = 0), te = n(function() {
4327
4327
  Ke();
4328
- }, T), T = Me(Math.min(d * 16, T * 2)), h.readyState = me;
4329
- var X = new x("error", { error: q });
4330
- h.dispatchEvent(X), Ae(h, h.onerror, X), q != null && console.error(q);
4328
+ }, T), T = Le(Math.min(d * 16, T * 2)), h.readyState = pe;
4329
+ var z = new x("error", { error: Y });
4330
+ h.dispatchEvent(z), Be(h, h.onerror, z), Y != null && console.error(Y);
4331
4331
  }
4332
- }, Mt = function() {
4333
- de = He, oe != null && (oe.abort(), oe = void 0), K !== 0 && (i(K), K = 0), h.readyState = He;
4332
+ }, Lt = function() {
4333
+ fe = He, X != null && (X.abort(), X = void 0), te !== 0 && (i(te), te = 0), h.readyState = He;
4334
4334
  }, Ke = function() {
4335
- if (K = 0, de !== _e) {
4336
- if (!E && oe != null)
4337
- hr(new Error("No activity within " + b + " milliseconds. " + (de === me ? "No response received." : C + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
4335
+ if (te = 0, fe !== ve) {
4336
+ if (!C && X != null)
4337
+ hr(new Error("No activity within " + p + " milliseconds. " + (fe === pe ? "No response received." : S + " chars received.") + " Reconnecting.")), X != null && (X.abort(), X = void 0);
4338
4338
  else {
4339
- var q = Math.max((E || Date.now()) + b - Date.now(), 1);
4340
- E = !1, K = n(function() {
4339
+ var Y = Math.max((C || Date.now()) + p - Date.now(), 1);
4340
+ C = !1, te = n(function() {
4341
4341
  Ke();
4342
- }, q);
4342
+ }, Y);
4343
4343
  }
4344
4344
  return;
4345
4345
  }
4346
- E = !1, C = 0, K = n(function() {
4346
+ C = !1, S = 0, te = n(function() {
4347
4347
  Ke();
4348
- }, b), de = me, Ne = "", Ee = "", ht = A, ft = "", Lt = 0, Oe = 0, ee = be;
4349
- var X = y;
4350
- if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && A !== "") {
4351
- var ae = y.indexOf("?");
4352
- X = ae === -1 ? y : y.slice(0, ae + 1) + y.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(we, Ie) {
4353
- return Ie === p ? "" : we;
4354
- }), X += (y.indexOf("?") === -1 ? "?" : "&") + p + "=" + encodeURIComponent(A);
4348
+ }, p), fe = pe, Ne = "", _e = "", ht = v, ft = "", Mt = 0, Oe = 0, re = me;
4349
+ var z = y;
4350
+ if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && v !== "") {
4351
+ var se = y.indexOf("?");
4352
+ z = se === -1 ? y : y.slice(0, se + 1) + y.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ie) {
4353
+ return Ie === c ? "" : xe;
4354
+ }), z += (y.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(v);
4355
4355
  }
4356
- var se = h.withCredentials, te = {};
4357
- te.Accept = "text/event-stream";
4358
- var Q = h.headers;
4359
- if (Q != null)
4360
- for (var xe in Q)
4361
- Object.prototype.hasOwnProperty.call(Q, xe) && (te[xe] = Q[xe]);
4356
+ var ue = h.withCredentials, ne = {};
4357
+ ne.Accept = "text/event-stream";
4358
+ var J = h.headers;
4359
+ if (J != null)
4360
+ for (var Ee in J)
4361
+ Object.prototype.hasOwnProperty.call(J, Ee) && (ne[Ee] = J[Ee]);
4362
4362
  try {
4363
- oe = fe.open(le, Tn, Bn, hr, X, se, te);
4364
- } catch (we) {
4365
- throw Mt(), we;
4363
+ X = Ae.open(ee, Tn, Bn, hr, z, ue, ne);
4364
+ } catch (xe) {
4365
+ throw Lt(), xe;
4366
4366
  }
4367
4367
  };
4368
- h.url = y, h.readyState = me, h.withCredentials = u, h.headers = B, h._close = Mt, Ke();
4368
+ h.url = y, h.readyState = pe, h.withCredentials = g, h.headers = B, h._close = Lt, Ke();
4369
4369
  }
4370
- ie.prototype = Object.create(Z.prototype), ie.prototype.CONNECTING = me, ie.prototype.OPEN = ue, ie.prototype.CLOSED = He, ie.prototype.close = function() {
4370
+ ae.prototype = Object.create(q.prototype), ae.prototype.CONNECTING = pe, ae.prototype.OPEN = le, ae.prototype.CLOSED = He, ae.prototype.close = function() {
4371
4371
  this._close();
4372
- }, ie.CONNECTING = me, ie.OPEN = ue, ie.CLOSED = He, ie.prototype.withCredentials = void 0;
4373
- var ct = c;
4374
- o != null && (c == null || !("withCredentials" in c.prototype)) && (ct = ie), function(h) {
4372
+ }, ae.CONNECTING = pe, ae.OPEN = le, ae.CLOSED = He, ae.prototype.withCredentials = void 0;
4373
+ var ct = l;
4374
+ o != null && (l == null || !("withCredentials" in l.prototype)) && (ct = ae), function(h) {
4375
4375
  {
4376
4376
  var y = h(t);
4377
4377
  y !== void 0 && (e.exports = y);
4378
4378
  }
4379
4379
  }(function(h) {
4380
- h.EventSourcePolyfill = ie, h.NativeEventSource = c, h.EventSource = ct;
4380
+ h.EventSourcePolyfill = ae, h.NativeEventSource = l, h.EventSource = ct;
4381
4381
  });
4382
4382
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ei : globalThis);
4383
4383
  })(tr, tr.exports);
@@ -4451,7 +4451,7 @@ function or(e, t, r) {
4451
4451
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4452
4452
  return e.concat(o || t);
4453
4453
  }
4454
- function Be(e) {
4454
+ function Te(e) {
4455
4455
  return typeof e == "function";
4456
4456
  }
4457
4457
  function vn(e) {
@@ -4487,15 +4487,15 @@ var Ht = function() {
4487
4487
  if (s)
4488
4488
  if (this._parentage = null, Array.isArray(s))
4489
4489
  try {
4490
- for (var a = nr(s), c = a.next(); !c.done; c = a.next()) {
4491
- var l = c.value;
4492
- l.remove(this);
4490
+ for (var a = nr(s), l = a.next(); !l.done; l = a.next()) {
4491
+ var u = l.value;
4492
+ u.remove(this);
4493
4493
  }
4494
- } catch (S) {
4495
- t = { error: S };
4494
+ } catch (A) {
4495
+ t = { error: A };
4496
4496
  } finally {
4497
4497
  try {
4498
- c && !c.done && (r = a.return) && r.call(a);
4498
+ l && !l.done && (r = a.return) && r.call(a);
4499
4499
  } finally {
4500
4500
  if (t)
4501
4501
  throw t.error;
@@ -4504,26 +4504,26 @@ var Ht = function() {
4504
4504
  else
4505
4505
  s.remove(this);
4506
4506
  var f = this.initialTeardown;
4507
- if (Be(f))
4507
+ if (Te(f))
4508
4508
  try {
4509
4509
  f();
4510
- } catch (S) {
4511
- o = S instanceof kt ? S.errors : [S];
4510
+ } catch (A) {
4511
+ o = A instanceof kt ? A.errors : [A];
4512
4512
  }
4513
- var g = this._finalizers;
4514
- if (g) {
4513
+ var b = this._finalizers;
4514
+ if (b) {
4515
4515
  this._finalizers = null;
4516
4516
  try {
4517
- for (var m = nr(g), w = m.next(); !w.done; w = m.next()) {
4518
- var v = w.value;
4517
+ for (var m = nr(b), w = m.next(); !w.done; w = m.next()) {
4518
+ var _ = w.value;
4519
4519
  try {
4520
- Or(v);
4521
- } catch (S) {
4522
- o = o ?? [], S instanceof kt ? o = or(or([], ir(o)), ir(S.errors)) : o.push(S);
4520
+ Or(_);
4521
+ } catch (A) {
4522
+ o = o ?? [], A instanceof kt ? o = or(or([], ir(o)), ir(A.errors)) : o.push(A);
4523
4523
  }
4524
4524
  }
4525
- } catch (S) {
4526
- n = { error: S };
4525
+ } catch (A) {
4526
+ n = { error: A };
4527
4527
  } finally {
4528
4528
  try {
4529
4529
  w && !w.done && (i = m.return) && i.call(m);
@@ -4567,10 +4567,10 @@ var Ht = function() {
4567
4567
  }(), e;
4568
4568
  }(), _n = Ht.EMPTY;
4569
4569
  function En(e) {
4570
- return e instanceof Ht || e && "closed" in e && Be(e.remove) && Be(e.add) && Be(e.unsubscribe);
4570
+ return e instanceof Ht || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
4571
4571
  }
4572
4572
  function Or(e) {
4573
- Be(e) ? e() : e.unsubscribe();
4573
+ Te(e) ? e() : e.unsubscribe();
4574
4574
  }
4575
4575
  var Xo = {
4576
4576
  Promise: void 0
@@ -4661,7 +4661,7 @@ var xn = function(e) {
4661
4661
  at(t, e);
4662
4662
  function t(r, n, i) {
4663
4663
  var o = e.call(this) || this, s;
4664
- return Be(r) || !r ? s = {
4664
+ return Te(r) || !r ? s = {
4665
4665
  next: r ?? void 0,
4666
4666
  error: n ?? void 0,
4667
4667
  complete: i ?? void 0
@@ -4703,8 +4703,8 @@ var Rr = function() {
4703
4703
  }, e.prototype.subscribe = function(t, r, n) {
4704
4704
  var i = this, o = ta(t) ? t : new sr(t, r, n);
4705
4705
  return yt(function() {
4706
- var s = i, a = s.operator, c = s.source;
4707
- o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
4706
+ var s = i, a = s.operator, l = s.source;
4707
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4708
4708
  }), o;
4709
4709
  }, e.prototype._trySubscribe = function(t) {
4710
4710
  try {
@@ -4714,13 +4714,13 @@ var Rr = function() {
4714
4714
  }
4715
4715
  }, e.prototype.forEach = function(t, r) {
4716
4716
  var n = this;
4717
- return r = Lr(r), new r(function(i, o) {
4717
+ return r = Mr(r), new r(function(i, o) {
4718
4718
  var s = new sr({
4719
4719
  next: function(a) {
4720
4720
  try {
4721
4721
  t(a);
4722
- } catch (c) {
4723
- o(c), s.unsubscribe();
4722
+ } catch (l) {
4723
+ o(l), s.unsubscribe();
4724
4724
  }
4725
4725
  },
4726
4726
  error: o,
@@ -4739,7 +4739,7 @@ var Rr = function() {
4739
4739
  return Ko(t)(this);
4740
4740
  }, e.prototype.toPromise = function(t) {
4741
4741
  var r = this;
4742
- return t = Lr(t), new t(function(n, i) {
4742
+ return t = Mr(t), new t(function(n, i) {
4743
4743
  var o;
4744
4744
  r.subscribe(function(s) {
4745
4745
  return o = s;
@@ -4753,12 +4753,12 @@ var Rr = function() {
4753
4753
  return new e(t);
4754
4754
  }, e;
4755
4755
  }();
4756
- function Lr(e) {
4756
+ function Mr(e) {
4757
4757
  var t;
4758
4758
  return (t = e ?? Xo.Promise) !== null && t !== void 0 ? t : Promise;
4759
4759
  }
4760
4760
  function ea(e) {
4761
- return e && Be(e.next) && Be(e.error) && Be(e.complete);
4761
+ return e && Te(e.next) && Te(e.error) && Te(e.complete);
4762
4762
  }
4763
4763
  function ta(e) {
4764
4764
  return e && e instanceof xn || ea(e) && En(e);
@@ -4774,7 +4774,7 @@ var ra = vn(function(e) {
4774
4774
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4775
4775
  }
4776
4776
  return t.prototype.lift = function(r) {
4777
- var n = new Mr(this, this);
4777
+ var n = new Lr(this, this);
4778
4778
  return n.operator = r, n;
4779
4779
  }, t.prototype._throwIfClosed = function() {
4780
4780
  if (this.closed)
@@ -4787,11 +4787,11 @@ var ra = vn(function(e) {
4787
4787
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4788
4788
  try {
4789
4789
  for (var s = nr(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4790
- var c = a.value;
4791
- c.next(r);
4790
+ var l = a.value;
4791
+ l.next(r);
4792
4792
  }
4793
- } catch (l) {
4794
- i = { error: l };
4793
+ } catch (u) {
4794
+ i = { error: u };
4795
4795
  } finally {
4796
4796
  try {
4797
4797
  a && !a.done && (o = s.return) && o.call(s);
@@ -4845,9 +4845,9 @@ var ra = vn(function(e) {
4845
4845
  var r = new Rr();
4846
4846
  return r.source = this, r;
4847
4847
  }, t.create = function(r, n) {
4848
- return new Mr(r, n);
4848
+ return new Lr(r, n);
4849
4849
  }, t;
4850
- }(Rr), Mr = function(e) {
4850
+ }(Rr), Lr = function(e) {
4851
4851
  at(t, e);
4852
4852
  function t(r, n) {
4853
4853
  var i = e.call(this) || this;
@@ -4879,19 +4879,19 @@ var ra = vn(function(e) {
4879
4879
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4880
4880
  }
4881
4881
  return t.prototype.next = function(r) {
4882
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
4883
- i || (o.push(r), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, r);
4882
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
4883
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4884
4884
  }, t.prototype._subscribe = function(r) {
4885
4885
  this._throwIfClosed(), this._trimBuffer();
4886
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !r.closed; c += o ? 1 : 2)
4887
- r.next(a[c]);
4886
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
4887
+ r.next(a[l]);
4888
4888
  return this._checkFinalizedStatuses(r), n;
4889
4889
  }, t.prototype._trimBuffer = function() {
4890
4890
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4891
4891
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4892
- for (var c = i.now(), l = 0, f = 1; f < o.length && o[f] <= c; f += 2)
4893
- l = f;
4894
- l && o.splice(0, l + 1);
4892
+ for (var l = i.now(), u = 0, f = 1; f < o.length && o[f] <= l; f += 2)
4893
+ u = f;
4894
+ u && o.splice(0, u + 1);
4895
4895
  }
4896
4896
  }, t;
4897
4897
  }(wn);
@@ -4909,11 +4909,11 @@ function aa(e) {
4909
4909
  }
4910
4910
  function Dr(e, t, r) {
4911
4911
  const n = e.slice();
4912
- return n[53] = t[r], n;
4912
+ return n[54] = t[r], n;
4913
4913
  }
4914
4914
  function Ur(e, t, r) {
4915
4915
  const n = e.slice();
4916
- return n[56] = t[r], n;
4916
+ return n[57] = t[r], n;
4917
4917
  }
4918
4918
  function sa(e) {
4919
4919
  let t, r, n = (
@@ -4925,39 +4925,39 @@ function sa(e) {
4925
4925
  e[1].Total[0].amount
4926
4926
  )
4927
4927
  ) : "0") + ""
4928
- ), i, o, s, a, c, l, f, g, m, w, v = (
4928
+ ), i, o, s, a, l, u, f, b, m, w, _ = (
4929
4929
  /*showBalance*/
4930
4930
  e[4] && Fr(e)
4931
4931
  );
4932
4932
  return {
4933
4933
  c() {
4934
- t = G("button"), r = G("p"), i = Se(n), o = Te(), s = G("span"), a = dr("svg"), c = dr("path"), f = Te(), v && v.c(), g = Rn(), P(c, "id", "arrow"), P(c, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), P(c, "transform", "translate(-274.511 -441.088)"), P(c, "fill", "#d1d1d1"), P(a, "xmlns", "http://www.w3.org/2000/svg"), P(a, "width", "14"), P(a, "height", "6.835"), P(a, "viewBox", "0 0 14 6.835"), P(s, "class", l = /*isModalDisplayed*/
4934
+ t = G("button"), r = G("p"), i = we(n), o = Se(), s = G("span"), a = dr("svg"), l = dr("path"), f = Se(), _ && _.c(), b = Rn(), P(l, "id", "arrow"), P(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), P(l, "transform", "translate(-274.511 -441.088)"), P(l, "fill", "#d1d1d1"), P(a, "xmlns", "http://www.w3.org/2000/svg"), P(a, "width", "14"), P(a, "height", "6.835"), P(a, "viewBox", "0 0 14 6.835"), P(s, "class", u = /*isModalDisplayed*/
4935
4935
  e[3] ? "TriangleActive" : "TriangleInactive"), P(t, "class", "BalanceValue");
4936
4936
  },
4937
- m(S, M) {
4938
- ye(S, t, M), L(t, r), L(r, i), L(t, o), L(t, s), L(s, a), L(a, c), ye(S, f, M), v && v.m(S, M), ye(S, g, M), m || (w = vt(
4937
+ m(A, N) {
4938
+ ge(A, t, N), M(t, r), M(r, i), M(t, o), M(t, s), M(s, a), M(a, l), ge(A, f, N), _ && _.m(A, N), ge(A, b, N), m || (w = vt(
4939
4939
  t,
4940
4940
  "click",
4941
4941
  /*click_handler*/
4942
4942
  e[26]
4943
4943
  ), m = !0);
4944
4944
  },
4945
- p(S, M) {
4946
- M[0] & /*balances*/
4945
+ p(A, N) {
4946
+ N[0] & /*balances*/
4947
4947
  2 && n !== (n = /*balances*/
4948
- (S[1].Total ? (
4948
+ (A[1].Total ? (
4949
4949
  /*formatBalance*/
4950
- S[8](
4950
+ A[8](
4951
4951
  /*balances*/
4952
- S[1].Total[0].amount
4952
+ A[1].Total[0].amount
4953
4953
  )
4954
- ) : "0") + "") && Pe(i, n), M[0] & /*isModalDisplayed*/
4955
- 8 && l !== (l = /*isModalDisplayed*/
4956
- S[3] ? "TriangleActive" : "TriangleInactive") && P(s, "class", l), /*showBalance*/
4957
- S[4] ? v ? v.p(S, M) : (v = Fr(S), v.c(), v.m(g.parentNode, g)) : v && (v.d(1), v = null);
4954
+ ) : "0") + "") && Pe(i, n), N[0] & /*isModalDisplayed*/
4955
+ 8 && u !== (u = /*isModalDisplayed*/
4956
+ A[3] ? "TriangleActive" : "TriangleInactive") && P(s, "class", u), /*showBalance*/
4957
+ A[4] ? _ ? _.p(A, N) : (_ = Fr(A), _.c(), _.m(b.parentNode, b)) : _ && (_.d(1), _ = null);
4958
4958
  },
4959
- d(S) {
4960
- S && (pe(t), pe(f), pe(g)), v && v.d(S), m = !1, w();
4959
+ d(A) {
4960
+ A && (de(t), de(f), de(b)), _ && _.d(A), m = !1, w();
4961
4961
  }
4962
4962
  };
4963
4963
  }
@@ -4968,10 +4968,10 @@ function ua(e) {
4968
4968
  ), n;
4969
4969
  return {
4970
4970
  c() {
4971
- t = G("p"), n = Se(r), P(t, "class", "Loading");
4971
+ t = G("p"), n = we(r), P(t, "class", "Loading");
4972
4972
  },
4973
4973
  m(i, o) {
4974
- ye(i, t, o), L(t, n);
4974
+ ge(i, t, o), M(t, n);
4975
4975
  },
4976
4976
  p(i, o) {
4977
4977
  o[0] & /*$_*/
@@ -4979,39 +4979,39 @@ function ua(e) {
4979
4979
  i[6]("Loading") + "") && Pe(n, r);
4980
4980
  },
4981
4981
  d(i) {
4982
- i && pe(t);
4982
+ i && de(t);
4983
4983
  }
4984
4984
  };
4985
4985
  }
4986
4986
  function Fr(e) {
4987
- let t, r, n, i, o, s, a, c, l = (
4987
+ let t, r, n, i, o, s, a, l, u = (
4988
4988
  /*$_*/
4989
4989
  e[6]("Title") + ""
4990
- ), f, g, m, w, v, S, M = (
4990
+ ), f, b, m, w, _, A, N = (
4991
4991
  /*$_*/
4992
4992
  e[6]("DepositButton") + ""
4993
- ), z, V, R, I, j, ne, W = _t(Object.keys(
4993
+ ), W, V, R, I, j, oe, Z = _t(Object.keys(
4994
4994
  /*balances*/
4995
4995
  e[1]
4996
4996
  )), k = [];
4997
- for (let D = 0; D < W.length; D += 1)
4998
- k[D] = jr(Dr(e, W, D));
4997
+ for (let D = 0; D < Z.length; D += 1)
4998
+ k[D] = jr(Dr(e, Z, D));
4999
4999
  return {
5000
5000
  c() {
5001
- t = G("div"), r = G("button"), i = Te(), o = G("div"), s = G("div"), a = G("div"), c = G("p"), f = Se(l), g = Te(), m = G("div");
5001
+ t = G("div"), r = G("button"), i = Se(), o = G("div"), s = G("div"), a = G("div"), l = G("p"), f = we(u), b = Se(), m = G("div");
5002
5002
  for (let D = 0; D < k.length; D += 1)
5003
5003
  k[D].c();
5004
- w = Te(), v = G("div"), S = G("button"), z = Se(M), P(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5005
- (e[3] ? "Open" : "")), P(c, "class", "BalanceModalTitle"), P(a, "class", "BalanceModalHeader"), P(m, "class", "BalanceModalBody"), P(S, "class", "BalanceModalAction"), P(v, "class", "BalanceModalFooter"), P(s, "class", V = "ModalContent " + /*isModalDisplayed*/
5004
+ w = Se(), _ = G("div"), A = G("button"), W = we(N), P(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5005
+ (e[3] ? "Open" : "")), P(l, "class", "BalanceModalTitle"), P(a, "class", "BalanceModalHeader"), P(m, "class", "BalanceModalBody"), P(A, "class", "BalanceModalAction"), P(_, "class", "BalanceModalFooter"), P(s, "class", V = "ModalContent " + /*isModalDisplayed*/
5006
5006
  (e[3] ? "Open" : "")), P(o, "class", R = "BalanceModal " + /*isModalDisplayed*/
5007
5007
  (e[3] ? "Open" : "")), P(t, "class", I = "BalanceModalWrapper " + /*isModalDisplayed*/
5008
5008
  (e[3] ? "Open" : ""));
5009
5009
  },
5010
- m(D, Z) {
5011
- ye(D, t, Z), L(t, r), L(t, i), L(t, o), L(o, s), L(s, a), L(a, c), L(c, f), L(s, g), L(s, m);
5010
+ m(D, q) {
5011
+ ge(D, t, q), M(t, r), M(t, i), M(t, o), M(o, s), M(s, a), M(a, l), M(l, f), M(s, b), M(s, m);
5012
5012
  for (let U = 0; U < k.length; U += 1)
5013
5013
  k[U] && k[U].m(m, null);
5014
- L(s, w), L(s, v), L(v, S), L(S, z), j || (ne = [
5014
+ M(s, w), M(s, _), M(_, A), M(A, W), j || (oe = [
5015
5015
  vt(
5016
5016
  r,
5017
5017
  "click",
@@ -5019,45 +5019,45 @@ function Fr(e) {
5019
5019
  e[27]
5020
5020
  ),
5021
5021
  vt(
5022
- S,
5022
+ A,
5023
5023
  "click",
5024
5024
  /*click_handler_2*/
5025
5025
  e[28]
5026
5026
  )
5027
5027
  ], j = !0);
5028
5028
  },
5029
- p(D, Z) {
5030
- if (Z[0] & /*isModalDisplayed*/
5029
+ p(D, q) {
5030
+ if (q[0] & /*isModalDisplayed*/
5031
5031
  8 && n !== (n = "BalanceModalClose " + /*isModalDisplayed*/
5032
- (D[3] ? "Open" : "")) && P(r, "class", n), Z[0] & /*$_*/
5033
- 64 && l !== (l = /*$_*/
5034
- D[6]("Title") + "") && Pe(f, l), Z[0] & /*balances, formatBalance, $_*/
5032
+ (D[3] ? "Open" : "")) && P(r, "class", n), q[0] & /*$_*/
5033
+ 64 && u !== (u = /*$_*/
5034
+ D[6]("Title") + "") && Pe(f, u), q[0] & /*balances, formatBalance, $_*/
5035
5035
  322) {
5036
- W = _t(Object.keys(
5036
+ Z = _t(Object.keys(
5037
5037
  /*balances*/
5038
5038
  D[1]
5039
5039
  ));
5040
5040
  let U;
5041
- for (U = 0; U < W.length; U += 1) {
5042
- const J = Dr(D, W, U);
5043
- k[U] ? k[U].p(J, Z) : (k[U] = jr(J), k[U].c(), k[U].m(m, null));
5041
+ for (U = 0; U < Z.length; U += 1) {
5042
+ const K = Dr(D, Z, U);
5043
+ k[U] ? k[U].p(K, q) : (k[U] = jr(K), k[U].c(), k[U].m(m, null));
5044
5044
  }
5045
5045
  for (; U < k.length; U += 1)
5046
5046
  k[U].d(1);
5047
- k.length = W.length;
5047
+ k.length = Z.length;
5048
5048
  }
5049
- Z[0] & /*$_*/
5050
- 64 && M !== (M = /*$_*/
5051
- D[6]("DepositButton") + "") && Pe(z, M), Z[0] & /*isModalDisplayed*/
5049
+ q[0] & /*$_*/
5050
+ 64 && N !== (N = /*$_*/
5051
+ D[6]("DepositButton") + "") && Pe(W, N), q[0] & /*isModalDisplayed*/
5052
5052
  8 && V !== (V = "ModalContent " + /*isModalDisplayed*/
5053
- (D[3] ? "Open" : "")) && P(s, "class", V), Z[0] & /*isModalDisplayed*/
5053
+ (D[3] ? "Open" : "")) && P(s, "class", V), q[0] & /*isModalDisplayed*/
5054
5054
  8 && R !== (R = "BalanceModal " + /*isModalDisplayed*/
5055
- (D[3] ? "Open" : "")) && P(o, "class", R), Z[0] & /*isModalDisplayed*/
5055
+ (D[3] ? "Open" : "")) && P(o, "class", R), q[0] & /*isModalDisplayed*/
5056
5056
  8 && I !== (I = "BalanceModalWrapper " + /*isModalDisplayed*/
5057
5057
  (D[3] ? "Open" : "")) && P(t, "class", I);
5058
5058
  },
5059
5059
  d(D) {
5060
- D && pe(t), zr(k, D), j = !1, Xe(ne);
5060
+ D && de(t), zr(k, D), j = !1, Xe(oe);
5061
5061
  }
5062
5062
  };
5063
5063
  }
@@ -5066,54 +5066,54 @@ function Gr(e) {
5066
5066
  /*$_*/
5067
5067
  e[6](
5068
5068
  /*k*/
5069
- e[53]
5069
+ e[54]
5070
5070
  ) + ""
5071
5071
  ), i, o, s = (
5072
5072
  /*b*/
5073
- (e[56].productType ? (
5073
+ (e[57].productType ? (
5074
5074
  /*$_*/
5075
5075
  e[6](
5076
5076
  /*b*/
5077
- e[56].productType
5077
+ e[57].productType
5078
5078
  )
5079
5079
  ) : "") + ""
5080
- ), a, c, l, f, g = (
5080
+ ), a, l, u, f, b = (
5081
5081
  /*formatBalance*/
5082
5082
  e[8](
5083
5083
  /*b*/
5084
- e[56].amount
5084
+ e[57].amount
5085
5085
  ) + ""
5086
5086
  ), m;
5087
5087
  return {
5088
5088
  c() {
5089
- t = G("div"), r = G("p"), i = Se(n), o = Te(), a = Se(s), c = Te(), l = G("p"), f = G("span"), m = Se(g), P(r, "class", "BalanceModalText"), P(f, "class", "BalanceModalAmount"), P(l, "class", "BalanceModalValue"), P(t, "class", "BalanceModalRowLine");
5089
+ t = G("div"), r = G("p"), i = we(n), o = Se(), a = we(s), l = Se(), u = G("p"), f = G("span"), m = we(b), P(r, "class", "BalanceModalText"), P(f, "class", "BalanceModalAmount"), P(u, "class", "BalanceModalValue"), P(t, "class", "BalanceModalRowLine");
5090
5090
  },
5091
- m(w, v) {
5092
- ye(w, t, v), L(t, r), L(r, i), L(r, o), L(r, a), L(t, c), L(t, l), L(l, f), L(f, m);
5091
+ m(w, _) {
5092
+ ge(w, t, _), M(t, r), M(r, i), M(r, o), M(r, a), M(t, l), M(t, u), M(u, f), M(f, m);
5093
5093
  },
5094
- p(w, v) {
5095
- v[0] & /*$_, balances*/
5094
+ p(w, _) {
5095
+ _[0] & /*$_, balances*/
5096
5096
  66 && n !== (n = /*$_*/
5097
5097
  w[6](
5098
5098
  /*k*/
5099
- w[53]
5100
- ) + "") && Pe(i, n), v[0] & /*balances, $_*/
5099
+ w[54]
5100
+ ) + "") && Pe(i, n), _[0] & /*balances, $_*/
5101
5101
  66 && s !== (s = /*b*/
5102
- (w[56].productType ? (
5102
+ (w[57].productType ? (
5103
5103
  /*$_*/
5104
5104
  w[6](
5105
5105
  /*b*/
5106
- w[56].productType
5106
+ w[57].productType
5107
5107
  )
5108
- ) : "") + "") && Pe(a, s), v[0] & /*balances*/
5109
- 2 && g !== (g = /*formatBalance*/
5108
+ ) : "") + "") && Pe(a, s), _[0] & /*balances*/
5109
+ 2 && b !== (b = /*formatBalance*/
5110
5110
  w[8](
5111
5111
  /*b*/
5112
- w[56].amount
5113
- ) + "") && Pe(m, g);
5112
+ w[57].amount
5113
+ ) + "") && Pe(m, b);
5114
5114
  },
5115
5115
  d(w) {
5116
- w && pe(t);
5116
+ w && de(t);
5117
5117
  }
5118
5118
  };
5119
5119
  }
@@ -5122,7 +5122,7 @@ function jr(e) {
5122
5122
  /*balances*/
5123
5123
  e[1][
5124
5124
  /*k*/
5125
- e[53]
5125
+ e[54]
5126
5126
  ]
5127
5127
  ), i = [];
5128
5128
  for (let o = 0; o < n.length; o += 1)
@@ -5132,13 +5132,13 @@ function jr(e) {
5132
5132
  t = G("div");
5133
5133
  for (let o = 0; o < i.length; o += 1)
5134
5134
  i[o].c();
5135
- r = Te(), P(t, "class", "BalanceModalRowBoth");
5135
+ r = Se(), P(t, "class", "BalanceModalRowBoth");
5136
5136
  },
5137
5137
  m(o, s) {
5138
- ye(o, t, s);
5138
+ ge(o, t, s);
5139
5139
  for (let a = 0; a < i.length; a += 1)
5140
5140
  i[a] && i[a].m(t, null);
5141
- L(t, r);
5141
+ M(t, r);
5142
5142
  },
5143
5143
  p(o, s) {
5144
5144
  if (s[0] & /*formatBalance, balances, $_*/
@@ -5147,13 +5147,13 @@ function jr(e) {
5147
5147
  /*balances*/
5148
5148
  o[1][
5149
5149
  /*k*/
5150
- o[53]
5150
+ o[54]
5151
5151
  ]
5152
5152
  );
5153
5153
  let a;
5154
5154
  for (a = 0; a < n.length; a += 1) {
5155
- const c = Ur(o, n, a);
5156
- i[a] ? i[a].p(c, s) : (i[a] = Gr(c), i[a].c(), i[a].m(t, r));
5155
+ const l = Ur(o, n, a);
5156
+ i[a] ? i[a].p(l, s) : (i[a] = Gr(l), i[a].c(), i[a].m(t, r));
5157
5157
  }
5158
5158
  for (; a < i.length; a += 1)
5159
5159
  i[a].d(1);
@@ -5161,7 +5161,7 @@ function jr(e) {
5161
5161
  }
5162
5162
  },
5163
5163
  d(o) {
5164
- o && pe(t), zr(i, o);
5164
+ o && de(t), zr(i, o);
5165
5165
  }
5166
5166
  };
5167
5167
  }
@@ -5172,7 +5172,7 @@ function kr(e) {
5172
5172
  t = G("button"), P(t, "class", "ShowBalanceModalOverlay");
5173
5173
  },
5174
5174
  m(i, o) {
5175
- ye(i, t, o), r || (n = vt(
5175
+ ge(i, t, o), r || (n = vt(
5176
5176
  t,
5177
5177
  "click",
5178
5178
  /*click_handler_3*/
@@ -5181,53 +5181,53 @@ function kr(e) {
5181
5181
  },
5182
5182
  p: ce,
5183
5183
  d(i) {
5184
- i && pe(t), r = !1, n();
5184
+ i && de(t), r = !1, n();
5185
5185
  }
5186
5186
  };
5187
5187
  }
5188
5188
  function la(e) {
5189
5189
  let t, r, n, i;
5190
- function o(l, f) {
5190
+ function o(u, f) {
5191
5191
  return (
5192
5192
  /*isLoading*/
5193
- l[2] ? ua : sa
5193
+ u[2] ? ua : sa
5194
5194
  );
5195
5195
  }
5196
- let s = o(e), a = s(e), c = (
5196
+ let s = o(e), a = s(e), l = (
5197
5197
  /*showBalance*/
5198
5198
  e[4] && kr(e)
5199
5199
  );
5200
5200
  return {
5201
5201
  c() {
5202
- t = G("div"), r = G("div"), a.c(), i = Te(), c && c.c(), P(r, "class", n = "ShowBalance " + /*mobileView*/
5202
+ t = G("div"), r = G("div"), a.c(), i = Se(), l && l.c(), P(r, "class", n = "ShowBalance " + /*mobileView*/
5203
5203
  (e[5] ? "Mobile" : ""));
5204
5204
  },
5205
- m(l, f) {
5206
- ye(l, t, f), L(t, r), a.m(r, null), L(t, i), c && c.m(t, null), e[30](t);
5205
+ m(u, f) {
5206
+ ge(u, t, f), M(t, r), a.m(r, null), M(t, i), l && l.m(t, null), e[30](t);
5207
5207
  },
5208
- p(l, f) {
5209
- s === (s = o(l)) && a ? a.p(l, f) : (a.d(1), a = s(l), a && (a.c(), a.m(r, null))), f[0] & /*mobileView*/
5208
+ p(u, f) {
5209
+ s === (s = o(u)) && a ? a.p(u, f) : (a.d(1), a = s(u), a && (a.c(), a.m(r, null))), f[0] & /*mobileView*/
5210
5210
  32 && n !== (n = "ShowBalance " + /*mobileView*/
5211
- (l[5] ? "Mobile" : "")) && P(r, "class", n), /*showBalance*/
5212
- l[4] ? c ? c.p(l, f) : (c = kr(l), c.c(), c.m(t, null)) : c && (c.d(1), c = null);
5211
+ (u[5] ? "Mobile" : "")) && P(r, "class", n), /*showBalance*/
5212
+ u[4] ? l ? l.p(u, f) : (l = kr(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5213
5213
  },
5214
5214
  i: ce,
5215
5215
  o: ce,
5216
- d(l) {
5217
- l && pe(t), a.d(), c && c.d(), e[30](null);
5216
+ d(u) {
5217
+ u && de(t), a.d(), l && l.d(), e[30](null);
5218
5218
  }
5219
5219
  };
5220
5220
  }
5221
5221
  function ca(e, t, r) {
5222
5222
  let n;
5223
- Cn(e, ko, (u) => r(6, n = u));
5224
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: c } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: w = "All" } = t, { totalcalculationmode: v = "totalCashAmount" } = t, { currencylocale: S = "en" } = t, { currencydisplay: M = "symbol" } = t, { maximumfractiondigits: z = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: R = "" } = t, I, j = !0, ne = !1, W = !1, k = !1, D = !1, Z = window.navigator.userAgent, U, J = "", he = [], ve;
5225
- const x = {}, _e = ["totalCashAmount", "totalRealAmount"], me = () => {
5226
- fetch(g).then((u) => u.json()).then((u) => Object.keys(u).forEach((p) => Cr(p, u[p]))).catch((u) => console.log(u));
5223
+ Cn(e, ko, (c) => r(6, n = c));
5224
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: w = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { currencylocale: A = "en" } = t, { currencydisplay: N = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: R = "" } = t, I, j = !0, oe = !1, Z = !1, k = !1, D = !1, q = window.navigator.userAgent, U, K = "", he = [], ye;
5225
+ const x = {}, ve = ["totalCashAmount", "totalRealAmount"], pe = () => {
5226
+ fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((d) => Cr(d, c[d]))).catch((c) => console.log(c));
5227
5227
  };
5228
- Object.keys(Hr).forEach((u) => Cr(u, Hr[u]));
5229
- const ue = (u) => {
5230
- switch (u) {
5228
+ Object.keys(Hr).forEach((c) => Cr(c, Hr[c]));
5229
+ const le = (c) => {
5230
+ switch (c) {
5231
5231
  case "balance":
5232
5232
  window.postMessage(
5233
5233
  {
@@ -5235,10 +5235,10 @@ function ca(e, t, r) {
5235
5235
  status: "open"
5236
5236
  },
5237
5237
  window.location.href
5238
- ), r(4, k = !0), setTimeout(() => r(3, ne = !0), 150);
5238
+ ), r(4, k = !0), setTimeout(() => r(3, oe = !0), 150);
5239
5239
  break;
5240
5240
  case "closebalance":
5241
- r(3, ne = !1), window.postMessage(
5241
+ r(3, oe = !1), window.postMessage(
5242
5242
  {
5243
5243
  type: "BalanceModalStatus",
5244
5244
  status: "close"
@@ -5252,60 +5252,60 @@ function ca(e, t, r) {
5252
5252
  );
5253
5253
  break;
5254
5254
  }
5255
- }, He = (u) => {
5255
+ }, He = (c) => {
5256
5256
  if (R)
5257
- return qe(u);
5258
- const p = S || a, d = {
5257
+ return qe(c);
5258
+ const d = A || a, p = {
5259
5259
  style: "currency",
5260
- currency: J,
5260
+ currency: K,
5261
5261
  useGrouping: !0,
5262
- currencyDisplay: M || "code",
5263
- maximumFractionDigits: z === "" || isNaN(Number(z)) ? 2 : Number(z),
5262
+ currencyDisplay: N || "code",
5263
+ maximumFractionDigits: W === "" || isNaN(Number(W)) ? 2 : Number(W),
5264
5264
  minimumFractionDigits: V === "" || isNaN(Number(V)) ? 0 : Number(V)
5265
5265
  };
5266
- return new Intl.NumberFormat(p, d).format(u);
5267
- }, qe = (u) => {
5268
- const p = [];
5269
- let d = "";
5270
- for (const b of R)
5271
- switch (b) {
5266
+ return new Intl.NumberFormat(d, p).format(c);
5267
+ }, qe = (c) => {
5268
+ const d = [];
5269
+ let p = "";
5270
+ for (const v of R)
5271
+ switch (v) {
5272
5272
  default:
5273
- d += b;
5273
+ p += v;
5274
5274
  break;
5275
5275
  case "{":
5276
- d && p.push(d), d = "";
5276
+ p && d.push(p), p = "";
5277
5277
  break;
5278
5278
  case "}":
5279
- const [A, T] = d.split("|");
5280
- if (d = "", A.toLowerCase() === "currency")
5281
- d = J;
5282
- else if (A.toLowerCase() === "amount") {
5283
- let E = ",", C = ".", B = 2;
5284
- T && (T[0] !== " " && (E = T[0]), T[1] !== " " && (C = T[1]), T[2] !== " " && !isNaN(Number(T[2])) && (B = Number(T[2])));
5285
- let [N, le] = String(Math.floor(u * 10 ** B) / 10 ** B).split(".");
5286
- d += N[0];
5287
- for (let fe = 1; fe < N.length; ++fe)
5288
- (N.length - fe) % 3 === 0 ? d += E + N[fe] : d += N[fe];
5289
- le && (d += C + le);
5279
+ const [T, C] = p.split("|");
5280
+ if (p = "", T.toLowerCase() === "currency")
5281
+ p = K;
5282
+ else if (T.toLowerCase() === "amount") {
5283
+ let S = ",", B = ".", L = 2;
5284
+ C && (C[0] !== " " && (S = C[0]), C[1] !== " " && (B = C[1]), C[2] !== " " && !isNaN(Number(C[2])) && (L = Number(C[2])));
5285
+ let [ee, Ae] = String(Math.floor(c * 10 ** L) / 10 ** L).split(".");
5286
+ p += ee[0];
5287
+ for (let X = 1; X < ee.length; ++X)
5288
+ (ee.length - X) % 3 === 0 ? p += S + ee[X] : p += ee[X];
5289
+ Ae && (p += B + Ae);
5290
5290
  }
5291
- d && p.push(d), d = "";
5291
+ p && d.push(p), p = "";
5292
5292
  break;
5293
5293
  }
5294
- return p.push(d), p.join("");
5295
- }, be = async () => {
5294
+ return d.push(p), d.join("");
5295
+ }, me = async () => {
5296
5296
  r(2, j = !0);
5297
- const u = new URL(`${s}/v1/player/${i}/account`);
5297
+ const c = new URL(`${s}/v1/player/${i}/account`);
5298
5298
  try {
5299
- const p = await fetch(u, {
5299
+ const d = await fetch(c, {
5300
5300
  method: "GET",
5301
5301
  headers: { "X-SessionID": o }
5302
- }), d = await p.json();
5303
- if (p.ok)
5304
- window.postMessage({ type: "BalancedFetched" }, window.location.href), he = d.items, J = he.find((b) => b.displayName === "Casino")?.currency, r(1, x.Total = [{ amount: d.totalAmount[J] }], x), r(
5302
+ }), p = await d.json();
5303
+ if (d.ok)
5304
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), he = p.items, K = he.find((v) => v.displayName === "Casino")?.currency, r(1, x.Total = [{ amount: p.totalAmount[K] }], x), r(
5305
5305
  1,
5306
5306
  x.Real = [
5307
5307
  {
5308
- amount: he.find((b) => b.displayName === "Casino")?.balanceAmount
5308
+ amount: he.find((v) => v.displayName === "Casino")?.balanceAmount
5309
5309
  }
5310
5310
  ],
5311
5311
  x
@@ -5313,46 +5313,46 @@ function ca(e, t, r) {
5313
5313
  1,
5314
5314
  x.Bonus = [
5315
5315
  {
5316
- amount: he.find((b) => b.displayName === "UBS")?.balanceAmount
5316
+ amount: he.find((v) => v.displayName === "UBS")?.balanceAmount
5317
5317
  }
5318
5318
  ],
5319
5319
  x
5320
5320
  );
5321
5321
  else
5322
5322
  throw new Error("Failed to fetch balance data !");
5323
- } catch (p) {
5324
- console.log("Balance error: ", p);
5323
+ } catch (d) {
5324
+ console.log("Balance error: ", d);
5325
5325
  } finally {
5326
5326
  r(2, j = !1);
5327
5327
  }
5328
5328
  }, Ye = () => {
5329
5329
  r(2, j = !0);
5330
- const u = new URL(`${s}/v2/player/${i}/balance`), p = new Headers();
5331
- p.append("X-SessionID", o), fetch(u, { method: "GET", headers: p }).then((b) => b.json()).then((b) => {
5332
- b[v] || r(10, v = _e[0]);
5333
- const A = b.items.find((E) => E.type === "Real" && E.walletAccountType === "Ordinary");
5334
- if (J = A.currency, W = !!A.productType, r(1, x.Total = [{ amount: 0 }], x), r(1, x.Real = [], x), r(1, x.Bonus = [], x), r(1, x.Credit = [], x), !W) {
5335
- ve = {
5330
+ const c = new URL(`${s}/v2/player/${i}/balance`), d = new Headers();
5331
+ d.append("X-SessionID", o), fetch(c, { method: "GET", headers: d }).then((v) => v.json()).then((v) => {
5332
+ v[_] || r(10, _ = ve[0]);
5333
+ const T = v.items.find((S) => S.type === "Real" && S.walletAccountType === "Ordinary");
5334
+ if (K = T.currency, Z = !!T.productType, r(1, x.Total = [{ amount: 0 }], x), r(1, x.Real = [], x), r(1, x.Bonus = [], x), r(1, x.Credit = [], x), !Z) {
5335
+ ye = {
5336
5336
  lastOrdinaryAfterAmount: 0,
5337
5337
  showCreditLineAfterAmount: !1
5338
- }, r(1, x.Total[0].amount = b[v][J], x);
5339
- for (const E of b.items)
5340
- switch (E.type) {
5338
+ }, r(1, x.Total[0].amount = v[_][K], x);
5339
+ for (const S of v.items)
5340
+ switch (S.type) {
5341
5341
  case "Bonus":
5342
- x.Bonus.length === 0 ? x.Bonus.push({ amount: E.amount }) : r(1, x.Bonus[0].amount += E.amount, x);
5342
+ x.Bonus.length === 0 ? x.Bonus.push({ amount: S.amount }) : r(1, x.Bonus[0].amount += S.amount, x);
5343
5343
  break;
5344
5344
  case "Real":
5345
- if (E.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: E.creditLine }), v === "totalRealAmount")
5345
+ if (S.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: S.creditLine }), _ === "totalRealAmount")
5346
5346
  continue;
5347
- x.Real.length === 0 ? x.Real.push({ amount: E.amount }) : r(1, x.Real[0].amount += E.amount, x);
5347
+ x.Real.length === 0 ? x.Real.push({ amount: S.amount }) : r(1, x.Real[0].amount += S.amount, x);
5348
5348
  break;
5349
5349
  }
5350
- for (const [E, C] of Object.entries(x))
5351
- C.length < 1 && delete x[E];
5350
+ for (const [S, B] of Object.entries(x))
5351
+ B.length < 1 && delete x[S];
5352
5352
  r(2, j = !1);
5353
5353
  return;
5354
5354
  }
5355
- ve = {
5355
+ ye = {
5356
5356
  Casino: {
5357
5357
  lastOrdinaryAfterAmount: 0,
5358
5358
  showCreditLineAfterAmount: !1
@@ -5362,130 +5362,130 @@ function ca(e, t, r) {
5362
5362
  showCreditLineAfterAmount: !1
5363
5363
  }
5364
5364
  };
5365
- let T = b.items;
5366
- w && w !== "All" && (T = b.items.filter((E) => E.productType === w));
5367
- for (const E of T) {
5368
- let C;
5369
- switch (E.type) {
5365
+ let C = v.items;
5366
+ w && w !== "All" && (C = v.items.filter((S) => S.productType === w));
5367
+ for (const S of C) {
5368
+ let B;
5369
+ switch (S.type) {
5370
5370
  case "Bonus":
5371
- C = x.Bonus.findIndex((B) => B.productType === E.productType), C > 0 ? r(1, x.Bonus[C].amount += E.amount, x) : x.Bonus.push({
5372
- amount: E.amount,
5373
- productType: E.productType
5371
+ B = x.Bonus.findIndex((L) => L.productType === S.productType), B > 0 ? r(1, x.Bonus[B].amount += S.amount, x) : x.Bonus.push({
5372
+ amount: S.amount,
5373
+ productType: S.productType
5374
5374
  });
5375
5375
  break;
5376
5376
  case "Real":
5377
- E.creditLine && x.Credit.push({
5378
- amount: E.creditLine,
5379
- productType: E.productType
5380
- }), C = x.Real.findIndex((B) => B.productType === E.productType), C > 0 ? r(1, x.Real[C].amount += E.amount, x) : x.Real.push({
5381
- amount: E.amount,
5382
- productType: E.productType
5377
+ S.creditLine && x.Credit.push({
5378
+ amount: S.creditLine,
5379
+ productType: S.productType
5380
+ }), B = x.Real.findIndex((L) => L.productType === S.productType), B > 0 ? r(1, x.Real[B].amount += S.amount, x) : x.Real.push({
5381
+ amount: S.amount,
5382
+ productType: S.productType
5383
5383
  });
5384
5384
  break;
5385
5385
  }
5386
5386
  }
5387
5387
  ut();
5388
- for (const [E, C] of Object.entries(x))
5389
- C.length < 1 && delete x[E];
5388
+ for (const [S, B] of Object.entries(x))
5389
+ B.length < 1 && delete x[S];
5390
5390
  r(2, j = !1);
5391
- }).catch((b) => {
5392
- throw r(2, j = !1), console.log("Balance fetch error", b), new Error("Failed to fetch balance data!");
5391
+ }).catch((v) => {
5392
+ throw r(2, j = !1), console.log("Balance fetch error", v), new Error("Failed to fetch balance data!");
5393
5393
  });
5394
- }, Le = () => {
5394
+ }, Me = () => {
5395
5395
  if (U && U.close(), o.length < 1)
5396
5396
  return;
5397
- let u, p;
5397
+ let c, d;
5398
5398
  switch (m) {
5399
5399
  case "gm16":
5400
- u = new URL(`${s}/v2/player/${i}/information/updates`), p = (A) => Je(A);
5400
+ c = new URL(`${s}/v2/player/${i}/information/updates`), d = (T) => Je(T);
5401
5401
  break;
5402
5402
  case "gmcore":
5403
- u = new URL(`${s}/v1/player/${i}/balance/updates`), p = (A) => Ot(A);
5403
+ c = new URL(`${s}/v1/player/${i}/balance/updates`), d = (T) => Ot(T);
5404
5404
  break;
5405
5405
  }
5406
- const d = {
5406
+ const p = {
5407
5407
  accept: "text/event-stream",
5408
5408
  "X-SessionId": o
5409
- }, b = new Vo.EventSourcePolyfill(u, { headers: d });
5410
- U = b, b.addEventListener("message", p);
5411
- }, st = (u) => {
5412
- let p;
5409
+ }, v = new Vo.EventSourcePolyfill(c, { headers: p });
5410
+ U = v, v.addEventListener("message", d);
5411
+ }, st = (c) => {
5412
+ let d;
5413
5413
  try {
5414
- p = JSON.parse(u);
5415
- } catch (d) {
5416
- console.log("Balance stream failed: ", d);
5414
+ d = JSON.parse(c);
5415
+ } catch (p) {
5416
+ console.log("Balance stream failed: ", p);
5417
5417
  return;
5418
5418
  }
5419
- return p;
5420
- }, Ot = (u) => {
5421
- const p = st(u.data);
5422
- if (!p) {
5423
- Le();
5419
+ return d;
5420
+ }, Ot = (c) => {
5421
+ const d = st(c.data);
5422
+ if (!d) {
5423
+ Me();
5424
5424
  return;
5425
5425
  }
5426
- let d = "0";
5427
- const b = p.balanceChange;
5428
- he = he.map((A) => (b && b[A.id] && (A = {
5429
- ...A,
5430
- balanceAmount: b[A.id].afterAmount
5431
- }), d = (parseFloat(A?.balanceAmount) + parseFloat(d)).toString(), A)), r(1, x.Real = [{ amount: he[0]?.balanceAmount }], x), r(1, x.Bonus = [{ amount: he[1]?.balanceAmount }], x), r(1, x.Total = [{ amount: Number(d) }], x);
5432
- }, Qe = (u, p, d) => {
5433
- let b = null;
5434
- switch (d.walletAccountType) {
5426
+ let p = "0";
5427
+ const v = d.balanceChange;
5428
+ he = he.map((T) => (v && v[T.id] && (T = {
5429
+ ...T,
5430
+ balanceAmount: v[T.id].afterAmount
5431
+ }), p = (parseFloat(T?.balanceAmount) + parseFloat(p)).toString(), T)), r(1, x.Real = [{ amount: he[0]?.balanceAmount }], x), r(1, x.Bonus = [{ amount: he[1]?.balanceAmount }], x), r(1, x.Total = [{ amount: Number(p) }], x);
5432
+ }, Qe = (c, d, p) => {
5433
+ let v = null;
5434
+ switch (p.walletAccountType) {
5435
5435
  case "Ordinary":
5436
- (d.afterAmount !== d.affectedAmount || p.lastOrdinaryAfterAmount === 0) && (p.lastOrdinaryAfterAmount = d.afterAmount, p.showCreditLineAfterAmount || (b = d.afterAmount));
5436
+ (p.afterAmount !== p.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = p.afterAmount, d.showCreditLineAfterAmount || (v = p.afterAmount));
5437
5437
  break;
5438
5438
  case "CreditLine":
5439
- d.afterAmount !== 0 ? (b = d.afterAmount, p.showCreditLineAfterAmount = !0) : (b = p.lastOrdinaryAfterAmount, p.showCreditLineAfterAmount = !1);
5439
+ p.afterAmount !== 0 ? (v = p.afterAmount, d.showCreditLineAfterAmount = !0) : (v = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
5440
5440
  break;
5441
5441
  default:
5442
- b = d.afterAmount;
5442
+ v = p.afterAmount;
5443
5443
  }
5444
- return b === null ? u : b;
5444
+ return v === null ? c : v;
5445
5445
  }, ut = () => {
5446
- switch (v) {
5446
+ switch (_) {
5447
5447
  case "totalCashAmount":
5448
- let u = 0;
5449
- for (const d of ["Real", "Bonus"])
5450
- for (const b of x[d])
5451
- u += Math.max(b.amount, 0);
5452
- r(1, x.Total[0].amount = u, x);
5448
+ let c = 0;
5449
+ for (const p of ["Real", "Bonus"])
5450
+ for (const v of x[p])
5451
+ c += Math.max(v.amount, 0);
5452
+ r(1, x.Total[0].amount = c, x);
5453
5453
  break;
5454
5454
  case "totalRealAmount":
5455
- if (!W)
5455
+ if (!Z)
5456
5456
  return;
5457
- let p = 0;
5458
- for (const d of x.Real)
5459
- p += d.amount;
5460
- r(1, x.Total[0].amount = p, x);
5457
+ let d = 0;
5458
+ for (const p of x.Real)
5459
+ d += p.amount;
5460
+ r(1, x.Total[0].amount = d, x);
5461
5461
  }
5462
- }, Je = (u) => {
5463
- const p = st(u.data);
5464
- if (!p) {
5465
- Le();
5462
+ }, Je = (c) => {
5463
+ const d = st(c.data);
5464
+ if (!d) {
5465
+ Me();
5466
5466
  return;
5467
5467
  }
5468
- if (p.type !== "BALANCE_UPDATE_V2")
5468
+ if (Be(d?.type) || d.type !== "BALANCE_UPDATE_V2")
5469
5469
  return;
5470
- const d = p.body.balanceChange;
5471
- for (const [b, A] of Object.entries(d))
5472
- if (v === "totalRealAmount" && b === "Real" && !W && r(1, x.Total[0].amount = Qe(x.Total[0].amount, ve, A), x), !!x[b])
5473
- for (const T of x[b]) {
5474
- if (!W) {
5475
- T.amount = b === "Real" ? Qe(T.amount, ve, A) : A.afterAmount;
5470
+ const p = d.body.balanceChange;
5471
+ for (const [v, T] of Object.entries(p))
5472
+ if (_ === "totalRealAmount" && v === "Real" && !Z && r(1, x.Total[0].amount = Qe(x.Total[0].amount, ye, T), x), !!x[v])
5473
+ for (const C of x[v]) {
5474
+ if (!Z) {
5475
+ C.amount = v === "Real" ? Qe(C.amount, ye, T) : T.afterAmount;
5476
5476
  continue;
5477
5477
  }
5478
- A.productType === T.productType && (T.amount = b === "Real" ? Qe(T.amount, ve[T.productType], A) : A.afterAmount);
5478
+ T.productType === C.productType && (C.amount = v === "Real" ? Qe(C.amount, ye[C.productType], T) : T.afterAmount);
5479
5479
  }
5480
5480
  ut();
5481
- }, Me = () => {
5482
- ue("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5483
- }, Ae = () => {
5484
- _e.includes(v) || (console.error(`Unsupported value ('${v}') for totalcalculationmode parameter. Only the following values are supported ${_e}. Using default value ('${_e[0]}').`), r(10, v = _e[0]));
5485
- }, ie = () => {
5486
- switch ($o(a), Ae(), m) {
5481
+ }, Le = () => {
5482
+ le("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5483
+ }, Be = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, ae = () => {
5484
+ ve.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ve}. Using default value ('${ve[0]}').`), r(10, _ = ve[0]));
5485
+ }, Pt = () => {
5486
+ switch ($o(a), ae(), m) {
5487
5487
  case "gmcore":
5488
- be();
5488
+ me();
5489
5489
  break;
5490
5490
  case "gm16":
5491
5491
  Ye();
@@ -5493,61 +5493,61 @@ function ca(e, t, r) {
5493
5493
  default:
5494
5494
  throw Error(`Invalid apiversion attribute: ${m}`);
5495
5495
  }
5496
- }, lt = (u) => u.data && u.data.type === "LogoutSuccessfull" && U.close(), Pt = () => {
5496
+ }, lt = (c) => c.data && c.data.type === "LogoutSuccessfull" && U.close(), Rt = () => {
5497
5497
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5498
5498
  };
5499
- In(() => (window.addEventListener("message", lt, !1), r(5, D = oa(Z)), () => {
5499
+ In(() => (window.addEventListener("message", lt, !1), r(5, D = oa(q)), () => {
5500
5500
  window.removeEventListener("message", lt), U && U.close();
5501
5501
  }));
5502
- const Rt = () => ue("balance"), ct = () => ue("closebalance"), h = () => Me(), y = () => ue("closebalance");
5503
- function _(u) {
5504
- $t[u ? "unshift" : "push"](() => {
5505
- I = u, r(0, I);
5502
+ const ct = () => le("balance"), h = () => le("closebalance"), y = () => Le(), E = () => le("closebalance");
5503
+ function g(c) {
5504
+ $t[c ? "unshift" : "push"](() => {
5505
+ I = c, r(0, I);
5506
5506
  });
5507
5507
  }
5508
- return e.$$set = (u) => {
5509
- "userid" in u && r(11, i = u.userid), "session" in u && r(12, o = u.session), "endpoint" in u && r(13, s = u.endpoint), "lang" in u && r(14, a = u.lang), "mbsource" in u && r(15, c = u.mbsource), "clientstyling" in u && r(16, l = u.clientstyling), "clientstylingurl" in u && r(17, f = u.clientstylingurl), "translationurl" in u && r(18, g = u.translationurl), "gmversion" in u && r(19, m = u.gmversion), "displaybalanceoption" in u && r(20, w = u.displaybalanceoption), "totalcalculationmode" in u && r(10, v = u.totalcalculationmode), "currencylocale" in u && r(21, S = u.currencylocale), "currencydisplay" in u && r(22, M = u.currencydisplay), "maximumfractiondigits" in u && r(23, z = u.maximumfractiondigits), "minimumfractiondigits" in u && r(24, V = u.minimumfractiondigits), "customdisplayformat" in u && r(25, R = u.customdisplayformat);
5508
+ return e.$$set = (c) => {
5509
+ "userid" in c && r(11, i = c.userid), "session" in c && r(12, o = c.session), "endpoint" in c && r(13, s = c.endpoint), "lang" in c && r(14, a = c.lang), "mbsource" in c && r(15, l = c.mbsource), "clientstyling" in c && r(16, u = c.clientstyling), "clientstylingurl" in c && r(17, f = c.clientstylingurl), "translationurl" in c && r(18, b = c.translationurl), "gmversion" in c && r(19, m = c.gmversion), "displaybalanceoption" in c && r(20, w = c.displaybalanceoption), "totalcalculationmode" in c && r(10, _ = c.totalcalculationmode), "currencylocale" in c && r(21, A = c.currencylocale), "currencydisplay" in c && r(22, N = c.currencydisplay), "maximumfractiondigits" in c && r(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && r(24, V = c.minimumfractiondigits), "customdisplayformat" in c && r(25, R = c.customdisplayformat);
5510
5510
  }, e.$$.update = () => {
5511
5511
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5512
- 1603584 && s && i && o && a && m && w && ie(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5513
- 538624 && s && i && o && m && Le(), e.$$.dirty[0] & /*translationurl*/
5514
- 262144 && g && me(), e.$$.dirty[0] & /*balances*/
5515
- 2 && x.Total && Pt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5516
- 65537 && l && I && Yn(I, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5512
+ 1603584 && s && i && o && a && m && w && Pt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5513
+ 538624 && s && i && o && m && Me(), e.$$.dirty[0] & /*translationurl*/
5514
+ 262144 && b && pe(), e.$$.dirty[0] & /*balances*/
5515
+ 2 && x.Total && Rt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5516
+ 65537 && u && I && Yn(I, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5517
5517
  131073 && f && I && Qn(I, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5518
- 32769 && c && I && Jn(I, `${c}.Style`);
5518
+ 32769 && l && I && Jn(I, `${l}.Style`);
5519
5519
  }, [
5520
5520
  I,
5521
5521
  x,
5522
5522
  j,
5523
- ne,
5523
+ oe,
5524
5524
  k,
5525
5525
  D,
5526
5526
  n,
5527
- ue,
5527
+ le,
5528
5528
  He,
5529
- Me,
5530
- v,
5529
+ Le,
5530
+ _,
5531
5531
  i,
5532
5532
  o,
5533
5533
  s,
5534
5534
  a,
5535
- c,
5536
5535
  l,
5536
+ u,
5537
5537
  f,
5538
- g,
5538
+ b,
5539
5539
  m,
5540
5540
  w,
5541
- S,
5542
- M,
5543
- z,
5541
+ A,
5542
+ N,
5543
+ W,
5544
5544
  V,
5545
5545
  R,
5546
- Rt,
5547
5546
  ct,
5548
5547
  h,
5549
5548
  y,
5550
- _
5549
+ E,
5550
+ g
5551
5551
  ];
5552
5552
  }
5553
5553
  class ha extends Zn {
@@ -5584,97 +5584,97 @@ class ha extends Zn {
5584
5584
  return this.$$.ctx[11];
5585
5585
  }
5586
5586
  set userid(t) {
5587
- this.$$set({ userid: t }), Y();
5587
+ this.$$set({ userid: t }), Q();
5588
5588
  }
5589
5589
  get session() {
5590
5590
  return this.$$.ctx[12];
5591
5591
  }
5592
5592
  set session(t) {
5593
- this.$$set({ session: t }), Y();
5593
+ this.$$set({ session: t }), Q();
5594
5594
  }
5595
5595
  get endpoint() {
5596
5596
  return this.$$.ctx[13];
5597
5597
  }
5598
5598
  set endpoint(t) {
5599
- this.$$set({ endpoint: t }), Y();
5599
+ this.$$set({ endpoint: t }), Q();
5600
5600
  }
5601
5601
  get lang() {
5602
5602
  return this.$$.ctx[14];
5603
5603
  }
5604
5604
  set lang(t) {
5605
- this.$$set({ lang: t }), Y();
5605
+ this.$$set({ lang: t }), Q();
5606
5606
  }
5607
5607
  get mbsource() {
5608
5608
  return this.$$.ctx[15];
5609
5609
  }
5610
5610
  set mbsource(t) {
5611
- this.$$set({ mbsource: t }), Y();
5611
+ this.$$set({ mbsource: t }), Q();
5612
5612
  }
5613
5613
  get clientstyling() {
5614
5614
  return this.$$.ctx[16];
5615
5615
  }
5616
5616
  set clientstyling(t) {
5617
- this.$$set({ clientstyling: t }), Y();
5617
+ this.$$set({ clientstyling: t }), Q();
5618
5618
  }
5619
5619
  get clientstylingurl() {
5620
5620
  return this.$$.ctx[17];
5621
5621
  }
5622
5622
  set clientstylingurl(t) {
5623
- this.$$set({ clientstylingurl: t }), Y();
5623
+ this.$$set({ clientstylingurl: t }), Q();
5624
5624
  }
5625
5625
  get translationurl() {
5626
5626
  return this.$$.ctx[18];
5627
5627
  }
5628
5628
  set translationurl(t) {
5629
- this.$$set({ translationurl: t }), Y();
5629
+ this.$$set({ translationurl: t }), Q();
5630
5630
  }
5631
5631
  get gmversion() {
5632
5632
  return this.$$.ctx[19];
5633
5633
  }
5634
5634
  set gmversion(t) {
5635
- this.$$set({ gmversion: t }), Y();
5635
+ this.$$set({ gmversion: t }), Q();
5636
5636
  }
5637
5637
  get displaybalanceoption() {
5638
5638
  return this.$$.ctx[20];
5639
5639
  }
5640
5640
  set displaybalanceoption(t) {
5641
- this.$$set({ displaybalanceoption: t }), Y();
5641
+ this.$$set({ displaybalanceoption: t }), Q();
5642
5642
  }
5643
5643
  get totalcalculationmode() {
5644
5644
  return this.$$.ctx[10];
5645
5645
  }
5646
5646
  set totalcalculationmode(t) {
5647
- this.$$set({ totalcalculationmode: t }), Y();
5647
+ this.$$set({ totalcalculationmode: t }), Q();
5648
5648
  }
5649
5649
  get currencylocale() {
5650
5650
  return this.$$.ctx[21];
5651
5651
  }
5652
5652
  set currencylocale(t) {
5653
- this.$$set({ currencylocale: t }), Y();
5653
+ this.$$set({ currencylocale: t }), Q();
5654
5654
  }
5655
5655
  get currencydisplay() {
5656
5656
  return this.$$.ctx[22];
5657
5657
  }
5658
5658
  set currencydisplay(t) {
5659
- this.$$set({ currencydisplay: t }), Y();
5659
+ this.$$set({ currencydisplay: t }), Q();
5660
5660
  }
5661
5661
  get maximumfractiondigits() {
5662
5662
  return this.$$.ctx[23];
5663
5663
  }
5664
5664
  set maximumfractiondigits(t) {
5665
- this.$$set({ maximumfractiondigits: t }), Y();
5665
+ this.$$set({ maximumfractiondigits: t }), Q();
5666
5666
  }
5667
5667
  get minimumfractiondigits() {
5668
5668
  return this.$$.ctx[24];
5669
5669
  }
5670
5670
  set minimumfractiondigits(t) {
5671
- this.$$set({ minimumfractiondigits: t }), Y();
5671
+ this.$$set({ minimumfractiondigits: t }), Q();
5672
5672
  }
5673
5673
  get customdisplayformat() {
5674
5674
  return this.$$.ctx[25];
5675
5675
  }
5676
5676
  set customdisplayformat(t) {
5677
- this.$$set({ customdisplayformat: t }), Y();
5677
+ this.$$set({ customdisplayformat: t }), Q();
5678
5678
  }
5679
5679
  }
5680
5680
  Wn(ha, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);