@everymatrix/player-account-balance-modal-nd 1.64.0 → 1.64.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.
@@ -59,13 +59,13 @@ function Pn(e, ...t) {
59
59
  function yr(e, t, n) {
60
60
  e.$$.on_destroy.push(Pn(t, n));
61
61
  }
62
- function C(e, t) {
62
+ function H(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
65
  function vr(e, t, n) {
66
66
  const r = Er(e);
67
67
  if (!r.getElementById(t)) {
68
- const i = j("style");
68
+ const i = k("style");
69
69
  i.id = t, i.textContent = n, xr(r, i);
70
70
  }
71
71
  }
@@ -80,7 +80,7 @@ function Er(e) {
80
80
  ) : e.ownerDocument;
81
81
  }
82
82
  function xr(e, t) {
83
- return C(
83
+ return H(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
@@ -96,7 +96,7 @@ function Dn(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
- function j(e) {
99
+ function k(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function hn(e) {
@@ -114,7 +114,7 @@ function _r() {
114
114
  function gt(e, t, n, r) {
115
115
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
- function N(e, t, n) {
117
+ function M(e, t, n) {
118
118
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
119
119
  }
120
120
  function Br(e) {
@@ -150,14 +150,14 @@ let Ge = [];
150
150
  const fn = [], Ar = /* @__PURE__ */ Promise.resolve();
151
151
  let Xt = !1;
152
152
  function Cr() {
153
- Xt || (Xt = !0, Ar.then(J));
153
+ Xt || (Xt = !0, Ar.then(Q));
154
154
  }
155
155
  function zt(e) {
156
156
  Ge.push(e);
157
157
  }
158
158
  const Dt = /* @__PURE__ */ new Set();
159
159
  let De = 0;
160
- function J() {
160
+ function Q() {
161
161
  if (De !== 0)
162
162
  return;
163
163
  const e = nt;
@@ -249,7 +249,7 @@ function Pr(e, t, n, r, i, o, l = null, s = [-1]) {
249
249
  u.fragment && u.fragment.l(g), g.forEach(de);
250
250
  } else
251
251
  u.fragment && u.fragment.c();
252
- t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), J();
252
+ t.intro && Lr(e.$$.fragment), Mr(e, t.target, t.anchor), Q();
253
253
  }
254
254
  tt(c);
255
255
  }
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (Un = class extends HTMLElement {
298
298
  let l;
299
299
  return {
300
300
  c: function() {
301
- l = j("slot"), o !== "default" && N(l, "name", o);
301
+ l = k("slot"), o !== "default" && M(l, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
@@ -748,40 +748,40 @@ var O;
748
748
  (function(e) {
749
749
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
750
750
  })(O || (O = {}));
751
- var $;
751
+ var j;
752
752
  (function(e) {
753
753
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
754
- })($ || ($ = {}));
754
+ })(j || (j = {}));
755
755
  var je;
756
756
  (function(e) {
757
757
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
758
758
  })(je || (je = {}));
759
759
  function pn(e) {
760
- return e.type === $.literal;
760
+ return e.type === j.literal;
761
761
  }
762
762
  function mi(e) {
763
- return e.type === $.argument;
763
+ return e.type === j.argument;
764
764
  }
765
765
  function jn(e) {
766
- return e.type === $.number;
766
+ return e.type === j.number;
767
767
  }
768
768
  function kn(e) {
769
- return e.type === $.date;
769
+ return e.type === j.date;
770
770
  }
771
771
  function Vn(e) {
772
- return e.type === $.time;
772
+ return e.type === j.time;
773
773
  }
774
774
  function Xn(e) {
775
- return e.type === $.select;
775
+ return e.type === j.select;
776
776
  }
777
777
  function zn(e) {
778
- return e.type === $.plural;
778
+ return e.type === j.plural;
779
779
  }
780
780
  function gi(e) {
781
- return e.type === $.pound;
781
+ return e.type === j.pound;
782
782
  }
783
783
  function Wn(e) {
784
- return e.type === $.tag;
784
+ return e.type === j.tag;
785
785
  }
786
786
  function Zn(e) {
787
787
  return !!(e && typeof e == "object" && e.type === je.number);
@@ -2556,7 +2556,7 @@ function Si(e) {
2556
2556
  return i[0];
2557
2557
  }
2558
2558
  var $t, Ai = new RegExp("^".concat(qn.source, "*")), Ci = new RegExp("".concat(qn.source, "*$"));
2559
- function M(e, t) {
2559
+ function L(e, t) {
2560
2560
  return { start: e, end: t };
2561
2561
  }
2562
2562
  var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Ri = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Pi = Ii ? Number.isSafeInteger : function(e) {
@@ -2683,13 +2683,13 @@ var Gi = (
2683
2683
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2684
2684
  var s = this.clonePosition();
2685
2685
  this.bump(), i.push({
2686
- type: $.pound,
2687
- location: M(s, this.clonePosition())
2686
+ type: j.pound,
2687
+ location: L(s, this.clonePosition())
2688
2688
  });
2689
2689
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2690
2690
  if (r)
2691
2691
  break;
2692
- return this.error(O.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2692
+ return this.error(O.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
2693
2693
  } else if (o === 60 && !this.ignoreTag && Yt(this.peek() || 0)) {
2694
2694
  var l = this.parseTag(t, n);
2695
2695
  if (l.err)
@@ -2711,9 +2711,9 @@ var Gi = (
2711
2711
  if (this.bumpSpace(), this.bumpIf("/>"))
2712
2712
  return {
2713
2713
  val: {
2714
- type: $.literal,
2714
+ type: j.literal,
2715
2715
  value: "<".concat(i, "/>"),
2716
- location: M(r, this.clonePosition())
2716
+ location: L(r, this.clonePosition())
2717
2717
  },
2718
2718
  err: null
2719
2719
  };
@@ -2724,21 +2724,21 @@ var Gi = (
2724
2724
  var l = o.val, s = this.clonePosition();
2725
2725
  if (this.bumpIf("</")) {
2726
2726
  if (this.isEOF() || !Yt(this.char()))
2727
- return this.error(O.INVALID_TAG, M(s, this.clonePosition()));
2727
+ return this.error(O.INVALID_TAG, L(s, this.clonePosition()));
2728
2728
  var c = this.clonePosition(), u = this.parseTagName();
2729
- return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, M(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2729
+ return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, L(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2730
2730
  val: {
2731
- type: $.tag,
2731
+ type: j.tag,
2732
2732
  value: i,
2733
2733
  children: l,
2734
- location: M(r, this.clonePosition())
2734
+ location: L(r, this.clonePosition())
2735
2735
  },
2736
2736
  err: null
2737
- } : this.error(O.INVALID_TAG, M(s, this.clonePosition())));
2737
+ } : this.error(O.INVALID_TAG, L(s, this.clonePosition())));
2738
2738
  } else
2739
- return this.error(O.UNCLOSED_TAG, M(r, this.clonePosition()));
2739
+ return this.error(O.UNCLOSED_TAG, L(r, this.clonePosition()));
2740
2740
  } else
2741
- return this.error(O.INVALID_TAG, M(r, this.clonePosition()));
2741
+ return this.error(O.INVALID_TAG, L(r, this.clonePosition()));
2742
2742
  }, e.prototype.parseTagName = function() {
2743
2743
  var t = this.offset();
2744
2744
  for (this.bump(); !this.isEOF() && ji(this.char()); )
@@ -2763,9 +2763,9 @@ var Gi = (
2763
2763
  }
2764
2764
  break;
2765
2765
  }
2766
- var c = M(r, this.clonePosition());
2766
+ var c = L(r, this.clonePosition());
2767
2767
  return {
2768
- val: { type: $.literal, value: i, location: c },
2768
+ val: { type: j.literal, value: i, location: c },
2769
2769
  err: null
2770
2770
  };
2771
2771
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2813,40 +2813,40 @@ var Gi = (
2813
2813
  }, e.prototype.parseArgument = function(t, n) {
2814
2814
  var r = this.clonePosition();
2815
2815
  if (this.bump(), this.bumpSpace(), this.isEOF())
2816
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2816
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2817
2817
  if (this.char() === 125)
2818
- return this.bump(), this.error(O.EMPTY_ARGUMENT, M(r, this.clonePosition()));
2818
+ return this.bump(), this.error(O.EMPTY_ARGUMENT, L(r, this.clonePosition()));
2819
2819
  var i = this.parseIdentifierIfPossible().value;
2820
2820
  if (!i)
2821
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2821
+ return this.error(O.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2822
2822
  if (this.bumpSpace(), this.isEOF())
2823
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2823
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2824
2824
  switch (this.char()) {
2825
2825
  case 125:
2826
2826
  return this.bump(), {
2827
2827
  val: {
2828
- type: $.argument,
2828
+ type: j.argument,
2829
2829
  // value does not include the opening and closing braces.
2830
2830
  value: i,
2831
- location: M(r, this.clonePosition())
2831
+ location: L(r, this.clonePosition())
2832
2832
  },
2833
2833
  err: null
2834
2834
  };
2835
2835
  case 44:
2836
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2836
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2837
2837
  default:
2838
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2838
+ return this.error(O.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2839
2839
  }
2840
2840
  }, e.prototype.parseIdentifierIfPossible = function() {
2841
2841
  var t = this.clonePosition(), n = this.offset(), r = Jt(this.message, n), i = n + r.length;
2842
2842
  this.bumpTo(i);
2843
- var o = this.clonePosition(), l = M(t, o);
2843
+ var o = this.clonePosition(), l = L(t, o);
2844
2844
  return { value: r, location: l };
2845
2845
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2846
2846
  var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2847
2847
  switch (s) {
2848
2848
  case "":
2849
- return this.error(O.EXPECT_ARGUMENT_TYPE, M(l, c));
2849
+ return this.error(O.EXPECT_ARGUMENT_TYPE, L(l, c));
2850
2850
  case "number":
2851
2851
  case "date":
2852
2852
  case "time": {
@@ -2859,20 +2859,20 @@ var Gi = (
2859
2859
  return g;
2860
2860
  var b = Fi(g.val);
2861
2861
  if (b.length === 0)
2862
- return this.error(O.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2863
- var _ = M(d, this.clonePosition());
2862
+ return this.error(O.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2863
+ var _ = L(d, this.clonePosition());
2864
2864
  u = { style: b, styleLocation: _ };
2865
2865
  }
2866
2866
  var B = this.tryParseArgumentClose(i);
2867
2867
  if (B.err)
2868
2868
  return B;
2869
- var T = M(i, this.clonePosition());
2869
+ var T = L(i, this.clonePosition());
2870
2870
  if (u && yn(u == null ? void 0 : u.style, "::", 0)) {
2871
2871
  var x = Ui(u.style.slice(2));
2872
2872
  if (s === "number") {
2873
2873
  var g = this.parseNumberSkeletonFromString(x, u.styleLocation);
2874
2874
  return g.err ? g : {
2875
- val: { type: $.number, value: r, location: T, style: g.val },
2875
+ val: { type: j.number, value: r, location: T, style: g.val },
2876
2876
  err: null
2877
2877
  };
2878
2878
  } else {
@@ -2885,7 +2885,7 @@ var Gi = (
2885
2885
  pattern: S,
2886
2886
  location: u.styleLocation,
2887
2887
  parsedOptions: this.shouldParseSkeletons ? yi(S) : {}
2888
- }, P = s === "date" ? $.date : $.time;
2888
+ }, P = s === "date" ? j.date : j.time;
2889
2889
  return {
2890
2890
  val: { type: P, value: r, location: T, style: b },
2891
2891
  err: null
@@ -2894,7 +2894,7 @@ var Gi = (
2894
2894
  }
2895
2895
  return {
2896
2896
  val: {
2897
- type: s === "number" ? $.number : s === "date" ? $.date : $.time,
2897
+ type: s === "number" ? j.number : s === "date" ? j.date : j.time,
2898
2898
  value: r,
2899
2899
  location: T,
2900
2900
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -2905,40 +2905,40 @@ var Gi = (
2905
2905
  case "plural":
2906
2906
  case "selectordinal":
2907
2907
  case "select": {
2908
- var H = this.clonePosition();
2908
+ var C = this.clonePosition();
2909
2909
  if (this.bumpSpace(), !this.bumpIf(","))
2910
- return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, M(H, yt({}, H)));
2910
+ return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, L(C, yt({}, C)));
2911
2911
  this.bumpSpace();
2912
2912
  var D = this.parseIdentifierIfPossible(), W = 0;
2913
2913
  if (s !== "select" && D.value === "offset") {
2914
2914
  if (!this.bumpIf(":"))
2915
- return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2915
+ return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2916
2916
  this.bumpSpace();
2917
2917
  var g = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2918
2918
  if (g.err)
2919
2919
  return g;
2920
2920
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), W = g.val;
2921
2921
  }
2922
- var q = this.tryParsePluralOrSelectOptions(t, s, n, D);
2923
- if (q.err)
2924
- return q;
2922
+ var J = this.tryParsePluralOrSelectOptions(t, s, n, D);
2923
+ if (J.err)
2924
+ return J;
2925
2925
  var B = this.tryParseArgumentClose(i);
2926
2926
  if (B.err)
2927
2927
  return B;
2928
- var Y = M(i, this.clonePosition());
2928
+ var Y = L(i, this.clonePosition());
2929
2929
  return s === "select" ? {
2930
2930
  val: {
2931
- type: $.select,
2931
+ type: j.select,
2932
2932
  value: r,
2933
- options: vn(q.val),
2933
+ options: vn(J.val),
2934
2934
  location: Y
2935
2935
  },
2936
2936
  err: null
2937
2937
  } : {
2938
2938
  val: {
2939
- type: $.plural,
2939
+ type: j.plural,
2940
2940
  value: r,
2941
- options: vn(q.val),
2941
+ options: vn(J.val),
2942
2942
  offset: W,
2943
2943
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2944
2944
  location: Y
@@ -2947,10 +2947,10 @@ var Gi = (
2947
2947
  };
2948
2948
  }
2949
2949
  default:
2950
- return this.error(O.INVALID_ARGUMENT_TYPE, M(l, c));
2950
+ return this.error(O.INVALID_ARGUMENT_TYPE, L(l, c));
2951
2951
  }
2952
2952
  }, e.prototype.tryParseArgumentClose = function(t) {
2953
- return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2953
+ return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2954
2954
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2955
2955
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2956
2956
  var r = this.char();
@@ -2959,7 +2959,7 @@ var Gi = (
2959
2959
  this.bump();
2960
2960
  var i = this.clonePosition();
2961
2961
  if (!this.bumpUntil("'"))
2962
- return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(i, this.clonePosition()));
2962
+ return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(i, this.clonePosition()));
2963
2963
  this.bump();
2964
2964
  break;
2965
2965
  }
@@ -3010,7 +3010,7 @@ var Gi = (
3010
3010
  var b = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
3011
3011
  if (b.err)
3012
3012
  return b;
3013
- d = M(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
3013
+ d = L(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
3014
3014
  } else
3015
3015
  break;
3016
3016
  }
@@ -3019,7 +3019,7 @@ var Gi = (
3019
3019
  u === "other" && (l = !0), this.bumpSpace();
3020
3020
  var _ = this.clonePosition();
3021
3021
  if (!this.bumpIf("{"))
3022
- return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3022
+ return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
3023
3023
  var B = this.parseMessage(t + 1, n, r);
3024
3024
  if (B.err)
3025
3025
  return B;
@@ -3030,11 +3030,11 @@ var Gi = (
3030
3030
  u,
3031
3031
  {
3032
3032
  value: B.val,
3033
- location: M(_, this.clonePosition())
3033
+ location: L(_, this.clonePosition())
3034
3034
  }
3035
3035
  ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, d = o.location;
3036
3036
  }
3037
- return s.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(O.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3037
+ return s.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(O.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3038
3038
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3039
3039
  var r = 1, i = this.clonePosition();
3040
3040
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3045,7 +3045,7 @@ var Gi = (
3045
3045
  else
3046
3046
  break;
3047
3047
  }
3048
- var c = M(i, this.clonePosition());
3048
+ var c = L(i, this.clonePosition());
3049
3049
  return o ? (l *= r, Pi(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
3050
3050
  }, e.prototype.offset = function() {
3051
3051
  return this.position.offset;
@@ -3275,25 +3275,25 @@ function dt(e, t, n, r, i, o, l) {
3275
3275
  }));
3276
3276
  }
3277
3277
  if (Xn(d)) {
3278
- var H = d.options[b] || d.options.other;
3279
- if (!H)
3278
+ var C = d.options[b] || d.options.other;
3279
+ if (!C)
3280
3280
  throw new xn(d.value, b, Object.keys(d.options), l);
3281
- s.push.apply(s, dt(H.value, t, n, r, i));
3281
+ s.push.apply(s, dt(C.value, t, n, r, i));
3282
3282
  continue;
3283
3283
  }
3284
3284
  if (zn(d)) {
3285
- var H = d.options["=".concat(b)];
3286
- if (!H) {
3285
+ var C = d.options["=".concat(b)];
3286
+ if (!C) {
3287
3287
  if (!Intl.PluralRules)
3288
3288
  throw new Bt(`Intl.PluralRules is not available in this environment.
3289
3289
  Try polyfilling it using "@formatjs/intl-pluralrules"
3290
3290
  `, ke.MISSING_INTL_API, l);
3291
3291
  var D = n.getPluralRules(t, { type: d.pluralType }).select(b - (d.offset || 0));
3292
- H = d.options[D] || d.options.other;
3292
+ C = d.options[D] || d.options.other;
3293
3293
  }
3294
- if (!H)
3294
+ if (!C)
3295
3295
  throw new xn(d.value, b, Object.keys(d.options), l);
3296
- s.push.apply(s, dt(H.value, t, n, r, i, b - (d.offset || 0)));
3296
+ s.push.apply(s, dt(C.value, t, n, r, i, b - (d.offset || 0)));
3297
3297
  continue;
3298
3298
  }
3299
3299
  }
@@ -4040,8 +4040,8 @@ var nn = { exports: {} };
4040
4040
  return 3;
4041
4041
  throw new Error();
4042
4042
  }
4043
- for (var h = 65533, E = "", v = this.bitsNeeded, m = this.codePoint, L = 0; L < a.length; L += 1) {
4044
- var A = a[L];
4043
+ for (var h = 65533, E = "", v = this.bitsNeeded, m = this.codePoint, R = 0; R < a.length; R += 1) {
4044
+ var A = a[R];
4045
4045
  v !== 0 && (A < 128 || A > 191 || !f(m << 6 | A & 63, v - 6, p(v, m))) && (v = 0, m = h, E += String.fromCharCode(m)), v === 0 ? (A >= 0 && A <= 127 ? (v = 0, m = A) : A >= 192 && A <= 223 ? (v = 6 * 1, m = A & 31) : A >= 224 && A <= 239 ? (v = 6 * 2, m = A & 15) : A >= 240 && A <= 247 ? (v = 6 * 3, m = A & 7) : (v = 0, m = h), v !== 0 && !f(m, v, p(v, m)) && (v = 0, m = h)) : (v -= 6, m = m << 6 | A & 63), v === 0 && (m <= 65535 ? E += String.fromCharCode(m) : (E += String.fromCharCode(55296 + (m - 65535 - 1 >> 10)), E += String.fromCharCode(56320 + (m - 65535 - 1 & 1023))));
4046
4046
  }
4047
4047
  return this.bitsNeeded = v, this.codePoint = m, E;
@@ -4055,60 +4055,60 @@ var nn = { exports: {} };
4055
4055
  return !1;
4056
4056
  };
4057
4057
  (_ == null || B == null || !P()) && (_ = S);
4058
- var H = function() {
4058
+ var C = function() {
4059
4059
  };
4060
4060
  function D(a) {
4061
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = H, this.onload = H, this.onerror = H, this.onreadystatechange = H, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = H;
4061
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = C, this.onload = C, this.onerror = C, this.onreadystatechange = C, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = C;
4062
4062
  }
4063
4063
  D.prototype.open = function(a, f) {
4064
4064
  this._abort(!0);
4065
4065
  var p = this, h = this._xhr, E = 1, v = 0;
4066
4066
  this._abort = function(w) {
4067
- p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (E === 1 || E === 2 || E === 3) && (E = 4, h.onload = H, h.onerror = H, h.onabort = H, h.onprogress = H, h.onreadystatechange = H, h.abort(), v !== 0 && (i(v), v = 0), w || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), E = 0;
4067
+ p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (E === 1 || E === 2 || E === 3) && (E = 4, h.onload = C, h.onerror = C, h.onabort = C, h.onprogress = C, h.onreadystatechange = C, h.abort(), v !== 0 && (i(v), v = 0), w || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), E = 0;
4068
4068
  };
4069
4069
  var m = function() {
4070
4070
  if (E === 1) {
4071
- var w = 0, k = "", ye = void 0;
4071
+ var w = 0, V = "", ye = void 0;
4072
4072
  if ("contentType" in h)
4073
- w = 200, k = "OK", ye = h.contentType;
4073
+ w = 200, V = "OK", ye = h.contentType;
4074
4074
  else
4075
4075
  try {
4076
- w = h.status, k = h.statusText, ye = h.getResponseHeader("Content-Type");
4076
+ w = h.status, V = h.statusText, ye = h.getResponseHeader("Content-Type");
4077
4077
  } catch (Ye) {
4078
- w = 0, k = "", ye = void 0;
4078
+ w = 0, V = "", ye = void 0;
4079
4079
  }
4080
- w !== 0 && (E = 2, p.readyState = 2, p.status = w, p.statusText = k, p._contentType = ye, p.onreadystatechange());
4080
+ w !== 0 && (E = 2, p.readyState = 2, p.status = w, p.statusText = V, p._contentType = ye, p.onreadystatechange());
4081
4081
  }
4082
- }, L = function() {
4082
+ }, R = function() {
4083
4083
  if (m(), E === 2 || E === 3) {
4084
4084
  E = 3;
4085
4085
  var w = "";
4086
4086
  try {
4087
4087
  w = h.responseText;
4088
- } catch (k) {
4088
+ } catch (V) {
4089
4089
  }
4090
4090
  p.readyState = 3, p.responseText = w, p.onprogress();
4091
4091
  }
4092
- }, A = function(w, k) {
4093
- if ((k == null || k.preventDefault == null) && (k = {
4094
- preventDefault: H
4095
- }), L(), E === 1 || E === 2 || E === 3) {
4092
+ }, A = function(w, V) {
4093
+ if ((V == null || V.preventDefault == null) && (V = {
4094
+ preventDefault: C
4095
+ }), R(), E === 1 || E === 2 || E === 3) {
4096
4096
  if (E = 4, v !== 0 && (i(v), v = 0), p.readyState = 4, w === "load")
4097
- p.onload(k);
4097
+ p.onload(V);
4098
4098
  else if (w === "error")
4099
- p.onerror(k);
4099
+ p.onerror(V);
4100
4100
  else if (w === "abort")
4101
- p.onabort(k);
4101
+ p.onabort(V);
4102
4102
  else
4103
4103
  throw new TypeError();
4104
4104
  p.onreadystatechange();
4105
4105
  }
4106
4106
  }, I = function(w) {
4107
- h != null && (h.readyState === 4 ? (!("onload" in h) || !("onerror" in h) || !("onabort" in h)) && A(h.responseText === "" ? "error" : "load", w) : h.readyState === 3 ? "onprogress" in h || L() : h.readyState === 2 && m());
4107
+ h != null && (h.readyState === 4 ? (!("onload" in h) || !("onerror" in h) || !("onabort" in h)) && A(h.responseText === "" ? "error" : "load", w) : h.readyState === 3 ? "onprogress" in h || R() : h.readyState === 2 && m());
4108
4108
  }, F = function() {
4109
4109
  v = r(function() {
4110
4110
  F();
4111
- }, 500), h.readyState === 3 && L();
4111
+ }, 500), h.readyState === 3 && R();
4112
4112
  };
4113
4113
  "onload" in h && (h.onload = function(w) {
4114
4114
  A("load", w);
@@ -4116,7 +4116,7 @@ var nn = { exports: {} };
4116
4116
  A("error", w);
4117
4117
  }), "onabort" in h && (h.onabort = function(w) {
4118
4118
  A("abort", w);
4119
- }), "onprogress" in h && (h.onprogress = L), "onreadystatechange" in h && (h.onreadystatechange = function(w) {
4119
+ }), "onprogress" in h && (h.onprogress = R), "onreadystatechange" in h && (h.onreadystatechange = function(w) {
4120
4120
  I(w);
4121
4121
  }), ("contentType" in h || !("ontimeout" in o.prototype)) && (f += (f.indexOf("?") === -1 ? "?" : "&") + "padding=true"), h.open(a, f, !0), "readyState" in h && (v = r(function() {
4122
4122
  F();
@@ -4151,25 +4151,25 @@ var nn = { exports: {} };
4151
4151
  return String.fromCharCode(f.charCodeAt(0) + 32);
4152
4152
  });
4153
4153
  }
4154
- function q(a) {
4154
+ function J(a) {
4155
4155
  for (var f = /* @__PURE__ */ Object.create(null), p = a.split(`\r
4156
4156
  `), h = 0; h < p.length; h += 1) {
4157
- var E = p[h], v = E.split(": "), m = v.shift(), L = v.join(": ");
4158
- f[W(m)] = L;
4157
+ var E = p[h], v = E.split(": "), m = v.shift(), R = v.join(": ");
4158
+ f[W(m)] = R;
4159
4159
  }
4160
4160
  this._map = f;
4161
4161
  }
4162
- q.prototype.get = function(a) {
4162
+ J.prototype.get = function(a) {
4163
4163
  return this._map[W(a)];
4164
4164
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4165
4165
  function Y() {
4166
4166
  }
4167
4167
  Y.prototype.open = function(a, f, p, h, E, v, m) {
4168
4168
  a.open("GET", E);
4169
- var L = 0;
4169
+ var R = 0;
4170
4170
  a.onprogress = function() {
4171
- var I = a.responseText, F = I.slice(L);
4172
- L += F.length, p(F);
4171
+ var I = a.responseText, F = I.slice(R);
4172
+ R += F.length, p(F);
4173
4173
  }, a.onerror = function(I) {
4174
4174
  I.preventDefault(), h(new Error("NetworkError"));
4175
4175
  }, a.onload = function() {
@@ -4178,8 +4178,8 @@ var nn = { exports: {} };
4178
4178
  h(null);
4179
4179
  }, a.onreadystatechange = function() {
4180
4180
  if (a.readyState === o.HEADERS_RECEIVED) {
4181
- var I = a.status, F = a.statusText, w = a.getResponseHeader("Content-Type"), k = a.getAllResponseHeaders();
4182
- f(I, F, w, new q(k));
4181
+ var I = a.status, F = a.statusText, w = a.getResponseHeader("Content-Type"), V = a.getAllResponseHeaders();
4182
+ f(I, F, w, new J(V));
4183
4183
  }
4184
4184
  }, a.withCredentials = v;
4185
4185
  for (var A in m)
@@ -4192,21 +4192,21 @@ var nn = { exports: {} };
4192
4192
  G.prototype.get = function(a) {
4193
4193
  return this._headers.get(a);
4194
4194
  };
4195
- function R() {
4195
+ function N() {
4196
4196
  }
4197
- R.prototype.open = function(a, f, p, h, E, v, m) {
4198
- var L = null, A = new T(), I = A.signal, F = new _();
4197
+ N.prototype.open = function(a, f, p, h, E, v, m) {
4198
+ var R = null, A = new T(), I = A.signal, F = new _();
4199
4199
  return g(E, {
4200
4200
  headers: m,
4201
4201
  credentials: v ? "include" : "same-origin",
4202
4202
  signal: I,
4203
4203
  cache: "no-store"
4204
4204
  }).then(function(w) {
4205
- return L = w.body.getReader(), f(w.status, w.statusText, w.headers.get("Content-Type"), new G(w.headers)), new d(function(k, ye) {
4205
+ return R = w.body.getReader(), f(w.status, w.statusText, w.headers.get("Content-Type"), new G(w.headers)), new d(function(V, ye) {
4206
4206
  var Ye = function() {
4207
- L.read().then(function(ie) {
4207
+ R.read().then(function(ie) {
4208
4208
  if (ie.done)
4209
- k(void 0);
4209
+ V(void 0);
4210
4210
  else {
4211
4211
  var K = F.decode(ie.value, { stream: !0 });
4212
4212
  p(K), Ye();
@@ -4224,11 +4224,11 @@ var nn = { exports: {} };
4224
4224
  h(w);
4225
4225
  }), {
4226
4226
  abort: function() {
4227
- L != null && L.cancel(), A.abort();
4227
+ R != null && R.cancel(), A.abort();
4228
4228
  }
4229
4229
  };
4230
4230
  };
4231
- function V() {
4231
+ function $() {
4232
4232
  this._listeners = /* @__PURE__ */ Object.create(null);
4233
4233
  }
4234
4234
  function U(a) {
@@ -4236,7 +4236,7 @@ var nn = { exports: {} };
4236
4236
  throw a;
4237
4237
  }, 0);
4238
4238
  }
4239
- V.prototype.dispatchEvent = function(a) {
4239
+ $.prototype.dispatchEvent = function(a) {
4240
4240
  a.target = this;
4241
4241
  var f = this._listeners[a.type];
4242
4242
  if (f != null)
@@ -4248,14 +4248,14 @@ var nn = { exports: {} };
4248
4248
  U(v);
4249
4249
  }
4250
4250
  }
4251
- }, V.prototype.addEventListener = function(a, f) {
4251
+ }, $.prototype.addEventListener = function(a, f) {
4252
4252
  a = String(a);
4253
4253
  var p = this._listeners, h = p[a];
4254
4254
  h == null && (h = [], p[a] = h);
4255
4255
  for (var E = !1, v = 0; v < h.length; v += 1)
4256
4256
  h[v] === f && (E = !0);
4257
4257
  E || h.push(f);
4258
- }, V.prototype.removeEventListener = function(a, f) {
4258
+ }, $.prototype.removeEventListener = function(a, f) {
4259
4259
  a = String(a);
4260
4260
  var p = this._listeners, h = p[a];
4261
4261
  if (h != null) {
@@ -4292,7 +4292,7 @@ var nn = { exports: {} };
4292
4292
  }
4293
4293
  };
4294
4294
  function re(a, f) {
4295
- V.call(this), f = f || {}, 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, Ot(this, a, f);
4295
+ $.call(this), f = f || {}, 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, Ot(this, a, f);
4296
4296
  }
4297
4297
  function Ct() {
4298
4298
  return o != null && "withCredentials" in o.prototype || l == null ? new o() : new l();
@@ -4300,7 +4300,7 @@ var nn = { exports: {} };
4300
4300
  var Ht = g != null && b != null && "body" in b.prototype;
4301
4301
  function Ot(a, f, p) {
4302
4302
  f = String(f);
4303
- var h = !!p.withCredentials, E = p.lastEventIdQueryParameterName || "lastEventId", v = Ne(1e3), m = Je(p.heartbeatTimeout, 45e3), L = "", A = v, I = !1, F = 0, w = p.headers || {}, k = p.Transport, ye = Ht && k == null ? void 0 : new D(k != null ? new k() : Ct()), Ye = k != null && typeof k != "string" ? new k() : ye == null ? new R() : new Y(), ie = void 0, K = 0, ce = Le, Ie = "", ut = "", ve = "", ct = "", ee = ue, Rt = 0, Oe = 0, cr = function(Z, z, oe, ae) {
4303
+ var h = !!p.withCredentials, E = p.lastEventIdQueryParameterName || "lastEventId", v = Ne(1e3), m = Je(p.heartbeatTimeout, 45e3), R = "", A = v, I = !1, F = 0, w = p.headers || {}, V = p.Transport, ye = Ht && V == null ? void 0 : new D(V != null ? new V() : Ct()), Ye = V != null && typeof V != "string" ? new V() : ye == null ? new N() : new Y(), ie = void 0, K = 0, ce = Le, Ie = "", ut = "", ve = "", ct = "", ee = ue, Rt = 0, Oe = 0, cr = function(Z, z, oe, ae) {
4304
4304
  if (ce === me)
4305
4305
  if (Z === 200 && oe != null && St.test(oe)) {
4306
4306
  ce = we, I = Date.now(), A = v, a.readyState = we;
@@ -4311,14 +4311,14 @@ var nn = { exports: {} };
4311
4311
  });
4312
4312
  a.dispatchEvent(te), Se(a, a.onopen, te);
4313
4313
  } else {
4314
- var Q = "";
4315
- Z !== 200 ? (z && (z = z.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + Z + " " + z + " that is not 200. Aborting the connection.") : Q = "EventSource's response has a Content-Type specifying an unsupported type: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4314
+ var q = "";
4315
+ Z !== 200 ? (z && (z = z.replace(/\s+/g, " ")), q = "EventSource's response has a status " + Z + " " + z + " that is not 200. Aborting the connection.") : q = "EventSource's response has a Content-Type specifying an unsupported type: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4316
4316
  var te = new qe("error", {
4317
4317
  status: Z,
4318
4318
  statusText: z,
4319
4319
  headers: ae
4320
4320
  });
4321
- a.dispatchEvent(te), Se(a, a.onerror, te), console.error(Q);
4321
+ a.dispatchEvent(te), Se(a, a.onerror, te), console.error(q);
4322
4322
  }
4323
4323
  }, hr = function(Z) {
4324
4324
  if (ce === we) {
@@ -4328,14 +4328,14 @@ var nn = { exports: {} };
4328
4328
  }
4329
4329
  var te = (z !== -1 ? ct : "") + Z.slice(0, z + 1);
4330
4330
  ct = (z === -1 ? ct : "") + Z.slice(z + 1), Z !== "" && (I = Date.now(), F += Z.length);
4331
- for (var Q = 0; Q < te.length; Q += 1) {
4332
- var ae = te.charCodeAt(Q);
4331
+ for (var q = 0; q < te.length; q += 1) {
4332
+ var ae = te.charCodeAt(q);
4333
4333
  if (ee === He && ae === 10)
4334
4334
  ee = ue;
4335
4335
  else if (ee === He && (ee = ue), ae === 13 || ae === 10) {
4336
4336
  if (ee !== ue) {
4337
- ee === Qe && (Oe = Q + 1);
4338
- var Ee = te.slice(Rt, Oe - 1), xe = te.slice(Oe + (Oe < Q && te.charCodeAt(Oe) === 32 ? 1 : 0), Q);
4337
+ ee === Qe && (Oe = q + 1);
4338
+ var Ee = te.slice(Rt, Oe - 1), xe = te.slice(Oe + (Oe < q && te.charCodeAt(Oe) === 32 ? 1 : 0), q);
4339
4339
  Ee === "data" ? (Ie += `
4340
4340
  `, Ie += xe) : Ee === "id" ? ut = xe : Ee === "event" ? ve = xe : Ee === "retry" ? (v = Je(xe, v), A = v) : Ee === "heartbeatTimeout" && (m = Je(xe, m), K !== 0 && (i(K), K = r(function() {
4341
4341
  Ke();
@@ -4343,7 +4343,7 @@ var nn = { exports: {} };
4343
4343
  }
4344
4344
  if (ee === ue) {
4345
4345
  if (Ie !== "") {
4346
- L = ut, ve === "" && (ve = "message");
4346
+ R = ut, ve === "" && (ve = "message");
4347
4347
  var Pe = new Be(ve, {
4348
4348
  data: Ie.slice(1),
4349
4349
  lastEventId: ut
@@ -4355,7 +4355,7 @@ var nn = { exports: {} };
4355
4355
  }
4356
4356
  ee = ae === 13 ? He : ue;
4357
4357
  } else
4358
- ee === ue && (Rt = Q, ee = Qe), ee === Qe ? ae === 58 && (Oe = Q + 1, ee = Me) : ee === Me && (ee = at);
4358
+ ee === ue && (Rt = q, ee = Qe), ee === Qe ? ae === 58 && (Oe = q + 1, ee = Me) : ee === Me && (ee = at);
4359
4359
  }
4360
4360
  }
4361
4361
  }, ln = function(Z) {
@@ -4382,20 +4382,20 @@ var nn = { exports: {} };
4382
4382
  }
4383
4383
  I = !1, F = 0, K = r(function() {
4384
4384
  Ke();
4385
- }, m), ce = me, Ie = "", ve = "", ut = L, ct = "", Rt = 0, Oe = 0, ee = ue;
4385
+ }, m), ce = me, Ie = "", ve = "", ut = R, ct = "", Rt = 0, Oe = 0, ee = ue;
4386
4386
  var z = f;
4387
- if (f.slice(0, 5) !== "data:" && f.slice(0, 5) !== "blob:" && L !== "") {
4387
+ if (f.slice(0, 5) !== "data:" && f.slice(0, 5) !== "blob:" && R !== "") {
4388
4388
  var oe = f.indexOf("?");
4389
4389
  z = oe === -1 ? f : f.slice(0, oe + 1) + f.slice(oe + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Pe) {
4390
4390
  return Pe === E ? "" : xe;
4391
- }), z += (f.indexOf("?") === -1 ? "?" : "&") + E + "=" + encodeURIComponent(L);
4391
+ }), z += (f.indexOf("?") === -1 ? "?" : "&") + E + "=" + encodeURIComponent(R);
4392
4392
  }
4393
4393
  var ae = a.withCredentials, te = {};
4394
4394
  te.Accept = "text/event-stream";
4395
- var Q = a.headers;
4396
- if (Q != null)
4397
- for (var Ee in Q)
4398
- Object.prototype.hasOwnProperty.call(Q, Ee) && (te[Ee] = Q[Ee]);
4395
+ var q = a.headers;
4396
+ if (q != null)
4397
+ for (var Ee in q)
4398
+ Object.prototype.hasOwnProperty.call(q, Ee) && (te[Ee] = q[Ee]);
4399
4399
  try {
4400
4400
  ie = Ye.open(ye, cr, hr, ln, z, ae, te);
4401
4401
  } catch (xe) {
@@ -4404,7 +4404,7 @@ var nn = { exports: {} };
4404
4404
  };
4405
4405
  a.url = f, a.readyState = me, a.withCredentials = h, a.headers = w, a._close = Lt, Ke();
4406
4406
  }
4407
- re.prototype = Object.create(V.prototype), re.prototype.CONNECTING = me, re.prototype.OPEN = we, re.prototype.CLOSED = Ce, re.prototype.close = function() {
4407
+ re.prototype = Object.create($.prototype), re.prototype.CONNECTING = me, re.prototype.OPEN = we, re.prototype.CLOSED = Ce, re.prototype.close = function() {
4408
4408
  this._close();
4409
4409
  }, re.CONNECTING = me, re.OPEN = we, re.CLOSED = Ce, re.prototype.withCredentials = void 0;
4410
4410
  var lt = c;
@@ -4561,7 +4561,7 @@ he.prototype = {
4561
4561
  }
4562
4562
  };
4563
4563
  function Go(e) {
4564
- vr(e, "svelte-138w7kz", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4564
+ vr(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4565
4565
  }
4566
4566
  function Cn(e, t, n) {
4567
4567
  const r = e.slice();
@@ -4587,14 +4587,14 @@ function $o(e) {
4587
4587
  );
4588
4588
  return {
4589
4589
  c() {
4590
- t = j("div"), n = j("p"), i = fe(r), o = pe(), l = fe(
4590
+ t = k("button"), n = k("p"), i = fe(r), o = pe(), l = fe(
4591
4591
  /*currency*/
4592
4592
  e[5]
4593
- ), s = pe(), c = j("span"), u = hn("svg"), d = hn("path"), b = pe(), x && x.c(), _ = _r(), N(d, "id", "arrow"), N(d, "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"), N(d, "transform", "translate(-274.511 -441.088)"), N(d, "fill", "#d1d1d1"), N(u, "xmlns", "http://www.w3.org/2000/svg"), N(u, "width", "14"), N(u, "height", "6.835"), N(u, "viewBox", "0 0 14 6.835"), N(c, "class", g = /*modalOpened*/
4594
- e[3] ? "TriangleActive" : "TriangleInactive"), N(t, "class", "BalanceValue");
4593
+ ), s = pe(), c = k("span"), u = hn("svg"), d = hn("path"), b = pe(), x && x.c(), _ = _r(), M(d, "id", "arrow"), M(d, "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"), M(d, "transform", "translate(-274.511 -441.088)"), M(d, "fill", "#d1d1d1"), M(u, "xmlns", "http://www.w3.org/2000/svg"), M(u, "width", "14"), M(u, "height", "6.835"), M(u, "viewBox", "0 0 14 6.835"), M(c, "class", g = /*isModalDisplayed*/
4594
+ e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
4595
4595
  },
4596
4596
  m(S, P) {
4597
- be(S, t, P), C(t, n), C(n, i), C(n, o), C(n, l), C(t, s), C(t, c), C(c, u), C(u, d), be(S, b, P), x && x.m(S, P), be(S, _, P), B || (T = gt(
4597
+ be(S, t, P), H(t, n), H(n, i), H(n, o), H(n, l), H(t, s), H(t, c), H(c, u), H(u, d), be(S, b, P), x && x.m(S, P), be(S, _, P), B || (T = gt(
4598
4598
  t,
4599
4599
  "click",
4600
4600
  /*click_handler*/
@@ -4615,9 +4615,9 @@ function $o(e) {
4615
4615
  l,
4616
4616
  /*currency*/
4617
4617
  S[5]
4618
- ), P[0] & /*modalOpened*/
4619
- 8 && g !== (g = /*modalOpened*/
4620
- S[3] ? "TriangleActive" : "TriangleInactive") && N(c, "class", g), /*showBalance*/
4618
+ ), P[0] & /*isModalDisplayed*/
4619
+ 8 && g !== (g = /*isModalDisplayed*/
4620
+ S[3] ? "TriangleActive" : "TriangleInactive") && M(c, "class", g), /*showBalance*/
4621
4621
  S[4] ? x ? x.p(S, P) : (x = On(S), x.c(), x.m(_.parentNode, _)) : x && (x.d(1), x = null);
4622
4622
  },
4623
4623
  d(S) {
@@ -4632,10 +4632,10 @@ function jo(e) {
4632
4632
  ), r;
4633
4633
  return {
4634
4634
  c() {
4635
- t = j("p"), r = fe(n), N(t, "class", "Loading");
4635
+ t = k("p"), r = fe(n), M(t, "class", "Loading");
4636
4636
  },
4637
4637
  m(i, o) {
4638
- be(i, t, o), C(t, r);
4638
+ be(i, t, o), H(t, r);
4639
4639
  },
4640
4640
  p(i, o) {
4641
4641
  o[0] & /*$_*/
@@ -4654,28 +4654,28 @@ function On(e) {
4654
4654
  ), d, g, b, _, B, T, x = (
4655
4655
  /*$_*/
4656
4656
  e[6]("DepositButton") + ""
4657
- ), S, P, H, D, W, q, Y = bt(Object.keys(
4657
+ ), S, P, C, D, W, J, Y = bt(Object.keys(
4658
4658
  /*balances*/
4659
4659
  e[1]
4660
4660
  )), G = [];
4661
- for (let R = 0; R < Y.length; R += 1)
4662
- G[R] = Ln(Cn(e, Y, R));
4661
+ for (let N = 0; N < Y.length; N += 1)
4662
+ G[N] = Ln(Cn(e, Y, N));
4663
4663
  return {
4664
4664
  c() {
4665
- t = j("div"), n = j("div"), i = pe(), o = j("div"), l = j("div"), s = j("div"), c = j("p"), d = fe(u), g = pe(), b = j("div");
4666
- for (let R = 0; R < G.length; R += 1)
4667
- G[R].c();
4668
- _ = pe(), B = j("div"), T = j("button"), S = fe(x), N(n, "class", r = "BalanceModalClose " + /*modalOpened*/
4669
- (e[3] ? "Open" : "")), N(c, "class", "BalanceModalTitle"), N(s, "class", "BalanceModalHeader"), N(b, "class", "BalanceModalBody"), N(T, "class", "BalanceModalAction"), N(B, "class", "BalanceModalFooter"), N(l, "class", P = "ModalContent " + /*modalOpened*/
4670
- (e[3] ? "Open" : "")), N(o, "class", H = "BalanceModal " + /*modalOpened*/
4671
- (e[3] ? "Open" : "")), N(t, "class", D = "BalanceModalWrapper " + /*modalOpened*/
4665
+ t = k("div"), n = k("button"), i = pe(), o = k("div"), l = k("div"), s = k("div"), c = k("p"), d = fe(u), g = pe(), b = k("div");
4666
+ for (let N = 0; N < G.length; N += 1)
4667
+ G[N].c();
4668
+ _ = pe(), B = k("div"), T = k("button"), S = fe(x), M(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
4669
+ (e[3] ? "Open" : "")), M(c, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(b, "class", "BalanceModalBody"), M(T, "class", "BalanceModalAction"), M(B, "class", "BalanceModalFooter"), M(l, "class", P = "ModalContent " + /*isModalDisplayed*/
4670
+ (e[3] ? "Open" : "")), M(o, "class", C = "BalanceModal " + /*isModalDisplayed*/
4671
+ (e[3] ? "Open" : "")), M(t, "class", D = "BalanceModalWrapper " + /*isModalDisplayed*/
4672
4672
  (e[3] ? "Open" : ""));
4673
4673
  },
4674
- m(R, V) {
4675
- be(R, t, V), C(t, n), C(t, i), C(t, o), C(o, l), C(l, s), C(s, c), C(c, d), C(l, g), C(l, b);
4674
+ m(N, $) {
4675
+ be(N, t, $), H(t, n), H(t, i), H(t, o), H(o, l), H(l, s), H(s, c), H(c, d), H(l, g), H(l, b);
4676
4676
  for (let U = 0; U < G.length; U += 1)
4677
4677
  G[U] && G[U].m(b, null);
4678
- C(l, _), C(l, B), C(B, T), C(T, S), W || (q = [
4678
+ H(l, _), H(l, B), H(B, T), H(T, S), W || (J = [
4679
4679
  gt(
4680
4680
  n,
4681
4681
  "click",
@@ -4690,38 +4690,38 @@ function On(e) {
4690
4690
  )
4691
4691
  ], W = !0);
4692
4692
  },
4693
- p(R, V) {
4694
- if (V[0] & /*modalOpened*/
4695
- 8 && r !== (r = "BalanceModalClose " + /*modalOpened*/
4696
- (R[3] ? "Open" : "")) && N(n, "class", r), V[0] & /*$_*/
4693
+ p(N, $) {
4694
+ if ($[0] & /*isModalDisplayed*/
4695
+ 8 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
4696
+ (N[3] ? "Open" : "")) && M(n, "class", r), $[0] & /*$_*/
4697
4697
  64 && u !== (u = /*$_*/
4698
- R[6]("Title") + "") && _e(d, u), V[0] & /*balances, currency, formatBalance, $_*/
4698
+ N[6]("Title") + "") && _e(d, u), $[0] & /*balances, currency, formatBalance, $_*/
4699
4699
  354) {
4700
4700
  Y = bt(Object.keys(
4701
4701
  /*balances*/
4702
- R[1]
4702
+ N[1]
4703
4703
  ));
4704
4704
  let U;
4705
4705
  for (U = 0; U < Y.length; U += 1) {
4706
- const y = Cn(R, Y, U);
4707
- G[U] ? G[U].p(y, V) : (G[U] = Ln(y), G[U].c(), G[U].m(b, null));
4706
+ const y = Cn(N, Y, U);
4707
+ G[U] ? G[U].p(y, $) : (G[U] = Ln(y), G[U].c(), G[U].m(b, null));
4708
4708
  }
4709
4709
  for (; U < G.length; U += 1)
4710
4710
  G[U].d(1);
4711
4711
  G.length = Y.length;
4712
4712
  }
4713
- V[0] & /*$_*/
4713
+ $[0] & /*$_*/
4714
4714
  64 && x !== (x = /*$_*/
4715
- R[6]("DepositButton") + "") && _e(S, x), V[0] & /*modalOpened*/
4716
- 8 && P !== (P = "ModalContent " + /*modalOpened*/
4717
- (R[3] ? "Open" : "")) && N(l, "class", P), V[0] & /*modalOpened*/
4718
- 8 && H !== (H = "BalanceModal " + /*modalOpened*/
4719
- (R[3] ? "Open" : "")) && N(o, "class", H), V[0] & /*modalOpened*/
4720
- 8 && D !== (D = "BalanceModalWrapper " + /*modalOpened*/
4721
- (R[3] ? "Open" : "")) && N(t, "class", D);
4715
+ N[6]("DepositButton") + "") && _e(S, x), $[0] & /*isModalDisplayed*/
4716
+ 8 && P !== (P = "ModalContent " + /*isModalDisplayed*/
4717
+ (N[3] ? "Open" : "")) && M(l, "class", P), $[0] & /*isModalDisplayed*/
4718
+ 8 && C !== (C = "BalanceModal " + /*isModalDisplayed*/
4719
+ (N[3] ? "Open" : "")) && M(o, "class", C), $[0] & /*isModalDisplayed*/
4720
+ 8 && D !== (D = "BalanceModalWrapper " + /*isModalDisplayed*/
4721
+ (N[3] ? "Open" : "")) && M(t, "class", D);
4722
4722
  },
4723
- d(R) {
4724
- R && de(t), Dn(G, R), W = !1, Xe(q);
4723
+ d(N) {
4724
+ N && de(t), Dn(G, N), W = !1, Xe(J);
4725
4725
  }
4726
4726
  };
4727
4727
  }
@@ -4753,13 +4753,13 @@ function Rn(e) {
4753
4753
  ), b, _, B, T;
4754
4754
  return {
4755
4755
  c() {
4756
- t = j("div"), n = j("p"), i = fe(r), o = pe(), s = fe(l), c = pe(), u = j("p"), d = j("span"), b = fe(g), _ = pe(), B = j("span"), T = fe(
4756
+ t = k("div"), n = k("p"), i = fe(r), o = pe(), s = fe(l), c = pe(), u = k("p"), d = k("span"), b = fe(g), _ = pe(), B = k("span"), T = fe(
4757
4757
  /*currency*/
4758
4758
  e[5]
4759
- ), N(n, "class", "BalanceModalText"), N(d, "class", "BalanceModalAmount"), N(B, "class", "BalanceModalCurrency"), N(u, "class", "BalanceModalValue"), N(t, "class", "BalanceModalRowLine");
4759
+ ), M(n, "class", "BalanceModalText"), M(d, "class", "BalanceModalAmount"), M(B, "class", "BalanceModalCurrency"), M(u, "class", "BalanceModalValue"), M(t, "class", "BalanceModalRowLine");
4760
4760
  },
4761
4761
  m(x, S) {
4762
- be(x, t, S), C(t, n), C(n, i), C(n, o), C(n, s), C(t, c), C(t, u), C(u, d), C(d, b), C(u, _), C(u, B), C(B, T);
4762
+ be(x, t, S), H(t, n), H(n, i), H(n, o), H(n, s), H(t, c), H(t, u), H(u, d), H(d, b), H(u, _), H(u, B), H(B, T);
4763
4763
  },
4764
4764
  p(x, S) {
4765
4765
  S[0] & /*$_, balances*/
@@ -4807,16 +4807,16 @@ function Ln(e) {
4807
4807
  i[o] = Rn(Hn(e, r, o));
4808
4808
  return {
4809
4809
  c() {
4810
- t = j("div");
4810
+ t = k("div");
4811
4811
  for (let o = 0; o < i.length; o += 1)
4812
4812
  i[o].c();
4813
- n = pe(), N(t, "class", "BalanceModalRowBoth");
4813
+ n = pe(), M(t, "class", "BalanceModalRowBoth");
4814
4814
  },
4815
4815
  m(o, l) {
4816
4816
  be(o, t, l);
4817
4817
  for (let s = 0; s < i.length; s += 1)
4818
4818
  i[s] && i[s].m(t, null);
4819
- C(t, n);
4819
+ H(t, n);
4820
4820
  },
4821
4821
  p(o, l) {
4822
4822
  if (l[0] & /*currency, balances, formatBalance, $_*/
@@ -4847,7 +4847,7 @@ function Mn(e) {
4847
4847
  let t, n, r;
4848
4848
  return {
4849
4849
  c() {
4850
- t = j("div"), N(t, "class", "ShowBalanceModalOverlay");
4850
+ t = k("button"), M(t, "class", "ShowBalanceModalOverlay");
4851
4851
  },
4852
4852
  m(i, o) {
4853
4853
  be(i, t, o), n || (r = gt(
@@ -4877,10 +4877,10 @@ function ko(e) {
4877
4877
  );
4878
4878
  return {
4879
4879
  c() {
4880
- t = j("div"), n = j("div"), l.c(), r = pe(), s && s.c(), N(n, "class", "ShowBalance");
4880
+ t = k("div"), n = k("div"), l.c(), r = pe(), s && s.c(), M(n, "class", "ShowBalance");
4881
4881
  },
4882
4882
  m(c, u) {
4883
- be(c, t, u), C(t, n), l.m(n, null), C(t, r), s && s.m(t, null), e[29](t);
4883
+ be(c, t, u), H(t, n), l.m(n, null), H(t, r), s && s.m(t, null), e[29](t);
4884
4884
  },
4885
4885
  p(c, u) {
4886
4886
  o === (o = i(c)) && l ? l.p(c, u) : (l.d(1), l = o(c), l && (l.c(), l.m(n, null))), /*showBalance*/
@@ -4896,7 +4896,7 @@ function ko(e) {
4896
4896
  function Vo(e, t, n) {
4897
4897
  let r;
4898
4898
  yr(e, Lo, (a) => n(6, r = a));
4899
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { mbsource: c } = t, { clientstyling: u = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { gmversion: _ = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencyseparator: x = "" } = t, { currencydecimal: S = "" } = t, { currencyprecision: P = "" } = t, H, D, W, q, Y = !1, G = "", R = [], V, U = !1;
4899
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { mbsource: c } = t, { clientstyling: u = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { gmversion: _ = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencyseparator: x = "" } = t, { currencydecimal: S = "" } = t, { currencyprecision: P = "" } = t, C, D = !0, W = !1, J = !1, Y = !1, G, N = "", $ = [], U;
4900
4900
  const y = {}, Be = ["totalCashAmount", "totalRealAmount"], qe = () => {
4901
4901
  fetch(g).then((a) => a.json()).then((a) => Object.keys(a).forEach((f) => Sn(f, a[f]))).catch((a) => console.log(a));
4902
4902
  };
@@ -4942,7 +4942,7 @@ function Vo(e, t, n) {
4942
4942
  precision: parseInt(P || "2", 10)
4943
4943
  }).format(), we = () => Pt(this, null, function* () {
4944
4944
  var f, p, h;
4945
- n(2, H = !0);
4945
+ n(2, D = !0);
4946
4946
  const a = new URL(`${l}/v1/player/${i}/account`);
4947
4947
  try {
4948
4948
  const E = yield fetch(a, {
@@ -4950,11 +4950,11 @@ function Vo(e, t, n) {
4950
4950
  headers: { "X-SessionID": o }
4951
4951
  }), v = yield E.json();
4952
4952
  if (E.ok)
4953
- window.postMessage({ type: "BalancedFetched" }, window.location.href), R = v.items, n(5, G = (f = R.find((m) => m.displayName === "Casino")) == null ? void 0 : f.currency), n(1, y.Total = [{ amount: v.totalAmount[G] }], y), n(
4953
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), $ = v.items, n(5, N = (f = $.find((m) => m.displayName === "Casino")) == null ? void 0 : f.currency), n(1, y.Total = [{ amount: v.totalAmount[N] }], y), n(
4954
4954
  1,
4955
4955
  y.Real = [
4956
4956
  {
4957
- amount: (p = R.find((m) => m.displayName === "Casino")) == null ? void 0 : p.balanceAmount
4957
+ amount: (p = $.find((m) => m.displayName === "Casino")) == null ? void 0 : p.balanceAmount
4958
4958
  }
4959
4959
  ],
4960
4960
  y
@@ -4962,7 +4962,7 @@ function Vo(e, t, n) {
4962
4962
  1,
4963
4963
  y.Bonus = [
4964
4964
  {
4965
- amount: (h = R.find((m) => m.displayName === "UBS")) == null ? void 0 : h.balanceAmount
4965
+ amount: (h = $.find((m) => m.displayName === "UBS")) == null ? void 0 : h.balanceAmount
4966
4966
  }
4967
4967
  ],
4968
4968
  y
@@ -4972,19 +4972,19 @@ function Vo(e, t, n) {
4972
4972
  } catch (E) {
4973
4973
  console.log("Balance error: ", E);
4974
4974
  } finally {
4975
- n(2, H = !1);
4975
+ n(2, D = !1);
4976
4976
  }
4977
4977
  }), Ce = () => {
4978
- n(2, H = !0);
4978
+ n(2, D = !0);
4979
4979
  const a = new URL(`${l}/v2/player/${i}/balance`), f = new Headers();
4980
4980
  f.append("X-SessionID", o), fetch(a, { method: "GET", headers: f }).then((h) => h.json()).then((h) => {
4981
4981
  h[T] || n(10, T = Be[0]);
4982
4982
  const E = h.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
4983
- if (n(5, G = E.currency), U = !!E.productType, n(1, y.Total = [{ amount: 0 }], y), n(1, y.Real = [], y), n(1, y.Bonus = [], y), n(1, y.Credit = [], y), !U) {
4984
- V = {
4983
+ if (n(5, N = E.currency), J = !!E.productType, n(1, y.Total = [{ amount: 0 }], y), n(1, y.Real = [], y), n(1, y.Bonus = [], y), n(1, y.Credit = [], y), !J) {
4984
+ U = {
4985
4985
  lastOrdinaryAfterAmount: 0,
4986
4986
  showCreditLineAfterAmount: !1
4987
- }, n(1, y.Total[0].amount = h[T][G], y);
4987
+ }, n(1, y.Total[0].amount = h[T][N], y);
4988
4988
  for (const m of h.items)
4989
4989
  switch (m.type) {
4990
4990
  case "Bonus":
@@ -4996,12 +4996,12 @@ function Vo(e, t, n) {
4996
4996
  y.Real.length === 0 ? y.Real.push({ amount: m.amount }) : n(1, y.Real[0].amount += m.amount, y);
4997
4997
  break;
4998
4998
  }
4999
- for (const [m, L] of Object.entries(y))
5000
- L.length < 1 && delete y[m];
5001
- n(2, H = !1);
4999
+ for (const [m, R] of Object.entries(y))
5000
+ R.length < 1 && delete y[m];
5001
+ n(2, D = !1);
5002
5002
  return;
5003
5003
  }
5004
- V = {
5004
+ U = {
5005
5005
  Casino: {
5006
5006
  lastOrdinaryAfterAmount: 0,
5007
5007
  showCreditLineAfterAmount: !1
@@ -5014,10 +5014,10 @@ function Vo(e, t, n) {
5014
5014
  let v = h.items;
5015
5015
  B && B !== "All" && (v = h.items.filter((m) => m.productType === B));
5016
5016
  for (const m of v) {
5017
- let L;
5017
+ let R;
5018
5018
  switch (m.type) {
5019
5019
  case "Bonus":
5020
- L = y.Bonus.findIndex((A) => A.productType === m.productType), L > 0 ? n(1, y.Bonus[L].amount += m.amount, y) : y.Bonus.push({
5020
+ R = y.Bonus.findIndex((A) => A.productType === m.productType), R > 0 ? n(1, y.Bonus[R].amount += m.amount, y) : y.Bonus.push({
5021
5021
  amount: m.amount,
5022
5022
  productType: m.productType
5023
5023
  });
@@ -5026,7 +5026,7 @@ function Vo(e, t, n) {
5026
5026
  m.creditLine && y.Credit.push({
5027
5027
  amount: m.creditLine,
5028
5028
  productType: m.productType
5029
- }), L = y.Real.findIndex((A) => A.productType === m.productType), L > 0 ? n(1, y.Real[L].amount += m.amount, y) : y.Real.push({
5029
+ }), R = y.Real.findIndex((A) => A.productType === m.productType), R > 0 ? n(1, y.Real[R].amount += m.amount, y) : y.Real.push({
5030
5030
  amount: m.amount,
5031
5031
  productType: m.productType
5032
5032
  });
@@ -5034,14 +5034,14 @@ function Vo(e, t, n) {
5034
5034
  }
5035
5035
  }
5036
5036
  at();
5037
- for (const [m, L] of Object.entries(y))
5038
- L.length < 1 && delete y[m];
5039
- n(2, H = !1);
5037
+ for (const [m, R] of Object.entries(y))
5038
+ R.length < 1 && delete y[m];
5039
+ n(2, D = !1);
5040
5040
  }).catch((h) => {
5041
- throw n(2, H = !1), new Error("Failed to fetch balance data !");
5041
+ throw n(2, D = !1), console.log("Balance fetch error", h), new Error("Failed to fetch balance data!");
5042
5042
  });
5043
5043
  }, He = () => {
5044
- if (q && q.close(), o.length < 1)
5044
+ if (G && G.close(), o.length < 1)
5045
5045
  return;
5046
5046
  let a, f;
5047
5047
  switch (_) {
@@ -5056,7 +5056,7 @@ function Vo(e, t, n) {
5056
5056
  accept: "text/event-stream",
5057
5057
  "X-SessionId": o
5058
5058
  }, h = new No.EventSourcePolyfill(a, { headers: p });
5059
- q = h, h.addEventListener("message", f);
5059
+ G = h, h.addEventListener("message", f);
5060
5060
  }, ue = (a) => {
5061
5061
  let f;
5062
5062
  try {
@@ -5075,14 +5075,14 @@ function Vo(e, t, n) {
5075
5075
  }
5076
5076
  let p = "0";
5077
5077
  const h = f.balanceChange;
5078
- R = R.map((m) => (h && h[m.id] && (m = It(Nt({}, m), {
5078
+ $ = $.map((m) => (h && h[m.id] && (m = It(Nt({}, m), {
5079
5079
  balanceAmount: h[m.id].afterAmount
5080
- })), p = (parseFloat(m == null ? void 0 : m.balanceAmount) + parseFloat(p)).toString(), m)), n(1, y.Real = [{ amount: (E = R[0]) == null ? void 0 : E.balanceAmount }], y), n(1, y.Bonus = [{ amount: (v = R[1]) == null ? void 0 : v.balanceAmount }], y), n(1, y.Total = [{ amount: Number(p) }], y);
5080
+ })), p = (parseFloat(m == null ? void 0 : m.balanceAmount) + parseFloat(p)).toString(), m)), n(1, y.Real = [{ amount: (E = $[0]) == null ? void 0 : E.balanceAmount }], y), n(1, y.Bonus = [{ amount: (v = $[1]) == null ? void 0 : v.balanceAmount }], y), n(1, y.Total = [{ amount: Number(p) }], y);
5081
5081
  }, Me = (a, f, p) => {
5082
5082
  let h = null;
5083
5083
  switch (p.walletAccountType) {
5084
5084
  case "Ordinary":
5085
- p.afterAmount !== p.affectedAmount && (f.lastOrdinaryAfterAmount = p.afterAmount, f.showCreditLineAfterAmount || (h = p.afterAmount));
5085
+ (p.afterAmount !== p.affectedAmount || f.lastOrdinaryAfterAmount === 0) && (f.lastOrdinaryAfterAmount = p.afterAmount, f.showCreditLineAfterAmount || (h = p.afterAmount));
5086
5086
  break;
5087
5087
  case "CreditLine":
5088
5088
  p.afterAmount !== 0 ? (h = p.afterAmount, f.showCreditLineAfterAmount = !0) : (h = f.lastOrdinaryAfterAmount, f.showCreditLineAfterAmount = !1);
@@ -5101,7 +5101,7 @@ function Vo(e, t, n) {
5101
5101
  n(1, y.Total[0].amount = a, y);
5102
5102
  break;
5103
5103
  case "totalRealAmount":
5104
- if (!U)
5104
+ if (!J)
5105
5105
  return;
5106
5106
  let f = 0;
5107
5107
  for (const p of y.Real)
@@ -5118,13 +5118,13 @@ function Vo(e, t, n) {
5118
5118
  return;
5119
5119
  const p = f.body.balanceChange;
5120
5120
  for (const [h, E] of Object.entries(p))
5121
- if (T === "totalRealAmount" && h === "Real" && !U && n(1, y.Total[0].amount = Me(y.Total[0].amount, V, E), y), !!y[h])
5121
+ if (T === "totalRealAmount" && h === "Real" && !J && n(1, y.Total[0].amount = Me(y.Total[0].amount, U, E), y), !!y[h])
5122
5122
  for (const v of y[h]) {
5123
- if (!U) {
5124
- v.amount = h === "Real" ? Me(v.amount, V, E) : E.afterAmount;
5123
+ if (!J) {
5124
+ v.amount = h === "Real" ? Me(v.amount, U, E) : E.afterAmount;
5125
5125
  continue;
5126
5126
  }
5127
- E.productType === v.productType && (v.amount = h === "Real" ? Me(v.amount, V[v.productType], E) : E.afterAmount);
5127
+ E.productType === v.productType && (v.amount = h === "Real" ? Me(v.amount, U[v.productType], E) : E.afterAmount);
5128
5128
  }
5129
5129
  at();
5130
5130
  }, st = () => {
@@ -5142,16 +5142,16 @@ function Vo(e, t, n) {
5142
5142
  default:
5143
5143
  throw Error(`Invalid apiversion attribute: ${_}`);
5144
5144
  }
5145
- }, Ne = (a) => a.data && a.data.type === "LogoutSuccessfull" && q.close(), Se = () => {
5145
+ }, Ne = (a) => a.data && a.data.type === "LogoutSuccessfull" && G.close(), Se = () => {
5146
5146
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5147
5147
  };
5148
5148
  Sr(() => (window.addEventListener("message", Ne, !1), () => {
5149
- window.removeEventListener("message", Ne), q && q.close();
5149
+ window.removeEventListener("message", Ne), G && G.close();
5150
5150
  }));
5151
5151
  const re = () => Te("balance"), Ct = () => Te("closebalance"), Ht = () => st(), Ot = () => Te("closeBalance");
5152
5152
  function lt(a) {
5153
5153
  Vt[a ? "unshift" : "push"](() => {
5154
- D = a, n(0, D);
5154
+ C = a, n(0, C);
5155
5155
  });
5156
5156
  }
5157
5157
  return e.$$set = (a) => {
@@ -5163,16 +5163,16 @@ function Vo(e, t, n) {
5163
5163
  1062912 && l && i && o && _ && He(), e.$$.dirty[0] & /*translationurl*/
5164
5164
  262144 && g && qe(), e.$$.dirty[0] & /*balances*/
5165
5165
  2 && y.Total && Se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5166
- 65537 && u && D && Gr(D, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5167
- 131073 && d && D && $r(D, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5168
- 32769 && c && D && jr(D, `${c}.Style`);
5166
+ 65537 && u && C && Gr(C, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5167
+ 131073 && d && C && $r(C, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5168
+ 32769 && c && C && jr(C, `${c}.Style`);
5169
5169
  }, [
5170
- D,
5170
+ C,
5171
5171
  y,
5172
- H,
5172
+ D,
5173
5173
  W,
5174
5174
  Y,
5175
- G,
5175
+ N,
5176
5176
  r,
5177
5177
  Te,
5178
5178
  me,
@@ -5232,91 +5232,91 @@ class Xo extends Ur {
5232
5232
  return this.$$.ctx[11];
5233
5233
  }
5234
5234
  set userid(t) {
5235
- this.$$set({ userid: t }), J();
5235
+ this.$$set({ userid: t }), Q();
5236
5236
  }
5237
5237
  get session() {
5238
5238
  return this.$$.ctx[12];
5239
5239
  }
5240
5240
  set session(t) {
5241
- this.$$set({ session: t }), J();
5241
+ this.$$set({ session: t }), Q();
5242
5242
  }
5243
5243
  get endpoint() {
5244
5244
  return this.$$.ctx[13];
5245
5245
  }
5246
5246
  set endpoint(t) {
5247
- this.$$set({ endpoint: t }), J();
5247
+ this.$$set({ endpoint: t }), Q();
5248
5248
  }
5249
5249
  get lang() {
5250
5250
  return this.$$.ctx[14];
5251
5251
  }
5252
5252
  set lang(t) {
5253
- this.$$set({ lang: t }), J();
5253
+ this.$$set({ lang: t }), Q();
5254
5254
  }
5255
5255
  get mbsource() {
5256
5256
  return this.$$.ctx[15];
5257
5257
  }
5258
5258
  set mbsource(t) {
5259
- this.$$set({ mbsource: t }), J();
5259
+ this.$$set({ mbsource: t }), Q();
5260
5260
  }
5261
5261
  get clientstyling() {
5262
5262
  return this.$$.ctx[16];
5263
5263
  }
5264
5264
  set clientstyling(t) {
5265
- this.$$set({ clientstyling: t }), J();
5265
+ this.$$set({ clientstyling: t }), Q();
5266
5266
  }
5267
5267
  get clientstylingurl() {
5268
5268
  return this.$$.ctx[17];
5269
5269
  }
5270
5270
  set clientstylingurl(t) {
5271
- this.$$set({ clientstylingurl: t }), J();
5271
+ this.$$set({ clientstylingurl: t }), Q();
5272
5272
  }
5273
5273
  get translationurl() {
5274
5274
  return this.$$.ctx[18];
5275
5275
  }
5276
5276
  set translationurl(t) {
5277
- this.$$set({ translationurl: t }), J();
5277
+ this.$$set({ translationurl: t }), Q();
5278
5278
  }
5279
5279
  get customlocaleidentifier() {
5280
5280
  return this.$$.ctx[19];
5281
5281
  }
5282
5282
  set customlocaleidentifier(t) {
5283
- this.$$set({ customlocaleidentifier: t }), J();
5283
+ this.$$set({ customlocaleidentifier: t }), Q();
5284
5284
  }
5285
5285
  get gmversion() {
5286
5286
  return this.$$.ctx[20];
5287
5287
  }
5288
5288
  set gmversion(t) {
5289
- this.$$set({ gmversion: t }), J();
5289
+ this.$$set({ gmversion: t }), Q();
5290
5290
  }
5291
5291
  get displaybalanceoption() {
5292
5292
  return this.$$.ctx[21];
5293
5293
  }
5294
5294
  set displaybalanceoption(t) {
5295
- this.$$set({ displaybalanceoption: t }), J();
5295
+ this.$$set({ displaybalanceoption: t }), Q();
5296
5296
  }
5297
5297
  get totalcalculationmode() {
5298
5298
  return this.$$.ctx[10];
5299
5299
  }
5300
5300
  set totalcalculationmode(t) {
5301
- this.$$set({ totalcalculationmode: t }), J();
5301
+ this.$$set({ totalcalculationmode: t }), Q();
5302
5302
  }
5303
5303
  get currencyseparator() {
5304
5304
  return this.$$.ctx[22];
5305
5305
  }
5306
5306
  set currencyseparator(t) {
5307
- this.$$set({ currencyseparator: t }), J();
5307
+ this.$$set({ currencyseparator: t }), Q();
5308
5308
  }
5309
5309
  get currencydecimal() {
5310
5310
  return this.$$.ctx[23];
5311
5311
  }
5312
5312
  set currencydecimal(t) {
5313
- this.$$set({ currencydecimal: t }), J();
5313
+ this.$$set({ currencydecimal: t }), Q();
5314
5314
  }
5315
5315
  get currencyprecision() {
5316
5316
  return this.$$.ctx[24];
5317
5317
  }
5318
5318
  set currencyprecision(t) {
5319
- this.$$set({ currencyprecision: t }), J();
5319
+ this.$$set({ currencyprecision: t }), Q();
5320
5320
  }
5321
5321
  }
5322
5322
  Dr(Xo, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);