@everymatrix/player-account-vault 0.19.12 → 0.19.13

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.
@@ -15,14 +15,14 @@ var jt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(n.next(l));
18
- } catch (c) {
19
- i(c);
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
21
  }, a = (l) => {
22
22
  try {
23
23
  s(n.throw(l));
24
- } catch (c) {
25
- i(c);
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
27
  }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
28
  s((n = n.apply(e, t)).next());
@@ -35,7 +35,7 @@ function nr(e) {
35
35
  function An() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Ce(e) {
38
+ function we(e) {
39
39
  e.forEach(nr);
40
40
  }
41
41
  function pt(e) {
@@ -208,7 +208,7 @@ function G() {
208
208
  }
209
209
  function qr(e) {
210
210
  if (e.fragment !== null) {
211
- e.update(), Ce(e.before_update);
211
+ e.update(), we(e.before_update);
212
212
  const t = e.dirty;
213
213
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nn);
214
214
  }
@@ -228,7 +228,7 @@ function Re() {
228
228
  };
229
229
  }
230
230
  function Oe() {
231
- Ne.r || Ce(Ne.c), Ne = Ne.p;
231
+ Ne.r || we(Ne.c), Ne = Ne.p;
232
232
  }
233
233
  function $(e, t) {
234
234
  e && e.i && (At.delete(e), e.i(t));
@@ -257,12 +257,12 @@ function ze(e, t, n) {
257
257
  const { fragment: r, after_update: i } = e.$$;
258
258
  r && r.m(t, n), nn(() => {
259
259
  const o = e.$$.on_mount.map(nr).filter(pt);
260
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ce(o), e.$$.on_mount = [];
260
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : we(o), e.$$.on_mount = [];
261
261
  }), i.forEach(nn);
262
262
  }
263
263
  function Ze(e, t) {
264
264
  const n = e.$$;
265
- n.fragment !== null && (Kr(n.after_update), Ce(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
265
+ n.fragment !== null && (Kr(n.after_update), we(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
266
266
  }
267
267
  function Qr(e, t) {
268
268
  e.$$.dirty[0] === -1 && (je.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
@@ -270,7 +270,7 @@ function Qr(e, t) {
270
270
  function mn(e, t, n, r, i, o, a = null, s = [-1]) {
271
271
  const l = ut;
272
272
  lt(e);
273
- const c = e.$$ = {
273
+ const u = e.$$ = {
274
274
  fragment: null,
275
275
  ctx: [],
276
276
  // state
@@ -291,17 +291,17 @@ function mn(e, t, n, r, i, o, a = null, s = [-1]) {
291
291
  skip_bound: !1,
292
292
  root: t.target || l.$$.root
293
293
  };
294
- a && a(c.root);
295
- let u = !1;
296
- if (c.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
294
+ a && a(u.root);
295
+ let c = !1;
296
+ if (u.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
297
297
  const _ = m.length ? m[0] : h;
298
- return c.ctx && i(c.ctx[f], c.ctx[f] = _) && (!c.skip_bound && c.bound[f] && c.bound[f](_), u && Qr(e, f)), h;
299
- }) : [], c.update(), u = !0, Ce(c.before_update), c.fragment = r ? r(c.ctx) : !1, t.target) {
298
+ return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), c && Qr(e, f)), h;
299
+ }) : [], u.update(), c = !0, we(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
301
  const f = jr(t.target);
302
- c.fragment && c.fragment.l(f), f.forEach(S);
302
+ u.fragment && u.fragment.l(f), f.forEach(S);
303
303
  } else
304
- c.fragment && c.fragment.c();
304
+ u.fragment && u.fragment.c();
305
305
  t.intro && $(e.$$.fragment), ze(e, t.target, t.anchor), G();
306
306
  }
307
307
  lt(l);
@@ -357,11 +357,11 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
357
357
  * @param {HTMLElement} target
358
358
  * @param {HTMLElement} [anchor]
359
359
  */
360
- m: function(c, u) {
361
- H(c, a, u);
360
+ m: function(u, c) {
361
+ H(u, a, c);
362
362
  },
363
- d: function(c) {
364
- c && S(a);
363
+ d: function(u) {
364
+ u && S(a);
365
365
  }
366
366
  };
367
367
  };
@@ -474,8 +474,8 @@ function gn(e, t, n, r, i, o) {
474
474
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
475
475
  },
476
476
  set(l) {
477
- var c;
478
- l = Ct(s, l, t), this.$$d[s] = l, (c = this.$$c) == null || c.$set({ [s]: l });
477
+ var u;
478
+ l = Ct(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
479
479
  }
480
480
  });
481
481
  }), r.forEach((s) => {
@@ -548,11 +548,11 @@ function Rt(e, t = L) {
548
548
  function i(s) {
549
549
  if (Nt(e, s) && (e = s, n)) {
550
550
  const l = !$e.length;
551
- for (const c of r)
552
- c[1](), $e.push(c, e);
551
+ for (const u of r)
552
+ u[1](), $e.push(u, e);
553
553
  if (l) {
554
- for (let c = 0; c < $e.length; c += 2)
555
- $e[c][0]($e[c + 1]);
554
+ for (let u = 0; u < $e.length; u += 2)
555
+ $e[u][0]($e[u + 1]);
556
556
  $e.length = 0;
557
557
  }
558
558
  }
@@ -561,9 +561,9 @@ function Rt(e, t = L) {
561
561
  i(s(e));
562
562
  }
563
563
  function a(s, l = L) {
564
- const c = [s, l];
565
- return r.add(c), r.size === 1 && (n = t(i, o) || L), s(e), () => {
566
- r.delete(c), r.size === 0 && n && (n(), n = null);
564
+ const u = [s, l];
565
+ return r.add(u), r.size === 1 && (n = t(i, o) || L), s(e), () => {
566
+ r.delete(u), r.size === 0 && n && (n(), n = null);
567
567
  };
568
568
  }
569
569
  return { set: i, update: o, subscribe: a };
@@ -575,27 +575,27 @@ function Je(e, t, n) {
575
575
  const o = t.length < 2;
576
576
  return Jr(n, (a, s) => {
577
577
  let l = !1;
578
- const c = [];
579
- let u = 0, f = L;
578
+ const u = [];
579
+ let c = 0, f = L;
580
580
  const h = () => {
581
- if (u)
581
+ if (c)
582
582
  return;
583
583
  f();
584
- const _ = t(r ? c[0] : c, a, s);
584
+ const _ = t(r ? u[0] : u, a, s);
585
585
  o ? a(_) : f = pt(_) ? _ : L;
586
586
  }, m = i.map(
587
587
  (_, d) => rr(
588
588
  _,
589
589
  (E) => {
590
- c[d] = E, u &= ~(1 << d), l && h();
590
+ u[d] = E, c &= ~(1 << d), l && h();
591
591
  },
592
592
  () => {
593
- u |= 1 << d;
593
+ c |= 1 << d;
594
594
  }
595
595
  )
596
596
  );
597
597
  return l = !0, h(), function() {
598
- Ce(m), f(), l = !1;
598
+ we(m), f(), l = !1;
599
599
  };
600
600
  });
601
601
  }
@@ -690,15 +690,15 @@ function Ot(e, t) {
690
690
  }
691
691
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
692
692
  }
693
- var ge = function() {
694
- return ge = Object.assign || function(t) {
693
+ var me = function() {
694
+ return me = Object.assign || function(t) {
695
695
  for (var n, r = 1, i = arguments.length; r < i; r++) {
696
696
  n = arguments[r];
697
697
  for (var o in n)
698
698
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
699
699
  }
700
700
  return t;
701
- }, ge.apply(this, arguments);
701
+ }, me.apply(this, arguments);
702
702
  };
703
703
  function gi(e, t) {
704
704
  var n = {};
@@ -930,8 +930,8 @@ function Hi(e) {
930
930
  var o = i[r], a = o.split("/");
931
931
  if (a.length === 0)
932
932
  throw new Error("Invalid number skeleton");
933
- for (var s = a[0], l = a.slice(1), c = 0, u = l; c < u.length; c++) {
934
- var f = u[c];
933
+ for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
934
+ var f = c[u];
935
935
  if (f.length === 0)
936
936
  throw new Error("Invalid number skeleton");
937
937
  }
@@ -1042,13 +1042,13 @@ function Ni(e) {
1042
1042
  t.notation = "compact", t.compactDisplay = "long";
1043
1043
  continue;
1044
1044
  case "scientific":
1045
- t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(l, c) {
1046
- return V(V({}, l), Ln(c));
1045
+ t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1046
+ return V(V({}, l), Ln(u));
1047
1047
  }, {}));
1048
1048
  continue;
1049
1049
  case "engineering":
1050
- t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(l, c) {
1051
- return V(V({}, l), Ln(c));
1050
+ t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1051
+ return V(V({}, l), Ln(u));
1052
1052
  }, {}));
1053
1053
  continue;
1054
1054
  case "notation-simple":
@@ -1093,9 +1093,9 @@ function Ni(e) {
1093
1093
  case "integer-width":
1094
1094
  if (i.options.length > 1)
1095
1095
  throw new RangeError("integer-width stems only accept a single optional option");
1096
- i.options[0].replace(Pi, function(l, c, u, f, h, m) {
1097
- if (c)
1098
- t.minimumIntegerDigits = u.length;
1096
+ i.options[0].replace(Pi, function(l, u, c, f, h, m) {
1097
+ if (u)
1098
+ t.minimumIntegerDigits = c.length;
1099
1099
  else {
1100
1100
  if (f && h)
1101
1101
  throw new Error("We currently do not support maximum integer digits");
@@ -1113,8 +1113,8 @@ function Ni(e) {
1113
1113
  if (In.test(i.stem)) {
1114
1114
  if (i.options.length > 1)
1115
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1116
- i.stem.replace(In, function(l, c, u, f, h, m) {
1117
- return u === "*" ? t.minimumFractionDigits = c.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
1116
+ i.stem.replace(In, function(l, u, c, f, h, m) {
1117
+ return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1118
1118
  });
1119
1119
  var o = i.options[0];
1120
1120
  o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Pn(o)));
@@ -2552,11 +2552,11 @@ function Ri(e, t) {
2552
2552
  if (i === "j") {
2553
2553
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2554
2554
  o++, r++;
2555
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c = Oi(t);
2556
- for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
2555
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
2556
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2557
2557
  n += l;
2558
2558
  for (; a-- > 0; )
2559
- n = c + n;
2559
+ n = u + n;
2560
2560
  } else
2561
2561
  i === "J" ? n += "H" : n += i;
2562
2562
  }
@@ -2754,8 +2754,8 @@ var qi = (
2754
2754
  if (this.bumpIf("</")) {
2755
2755
  if (this.isEOF() || !un(this.char()))
2756
2756
  return this.error(P.INVALID_TAG, N(s, this.clonePosition()));
2757
- var l = this.clonePosition(), c = this.parseTagName();
2758
- return i !== c ? this.error(P.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2757
+ var l = this.clonePosition(), u = this.parseTagName();
2758
+ return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2759
2759
  val: {
2760
2760
  type: U.tag,
2761
2761
  value: i,
@@ -2880,26 +2880,26 @@ var qi = (
2880
2880
  case "date":
2881
2881
  case "time": {
2882
2882
  this.bumpSpace();
2883
- var c = null;
2883
+ var u = null;
2884
2884
  if (this.bumpIf(",")) {
2885
2885
  this.bumpSpace();
2886
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2886
+ var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2887
2887
  if (f.err)
2888
2888
  return f;
2889
2889
  var h = Zi(f.val);
2890
2890
  if (h.length === 0)
2891
2891
  return this.error(P.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2892
- var m = N(u, this.clonePosition());
2893
- c = { style: h, styleLocation: m };
2892
+ var m = N(c, this.clonePosition());
2893
+ u = { style: h, styleLocation: m };
2894
2894
  }
2895
2895
  var _ = this.tryParseArgumentClose(i);
2896
2896
  if (_.err)
2897
2897
  return _;
2898
2898
  var d = N(i, this.clonePosition());
2899
- if (c && Nn(c == null ? void 0 : c.style, "::", 0)) {
2900
- var E = zi(c.style.slice(2));
2899
+ if (u && Nn(u == null ? void 0 : u.style, "::", 0)) {
2900
+ var E = zi(u.style.slice(2));
2901
2901
  if (s === "number") {
2902
- var f = this.parseNumberSkeletonFromString(E, c.styleLocation);
2902
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2903
2903
  return f.err ? f : {
2904
2904
  val: { type: U.number, value: r, location: d, style: f.val },
2905
2905
  err: null
@@ -2912,7 +2912,7 @@ var qi = (
2912
2912
  var h = {
2913
2913
  type: Ke.dateTime,
2914
2914
  pattern: C,
2915
- location: c.styleLocation,
2915
+ location: u.styleLocation,
2916
2916
  parsedOptions: this.shouldParseSkeletons ? Bi(C) : {}
2917
2917
  }, R = s === "date" ? U.date : U.time;
2918
2918
  return {
@@ -2926,7 +2926,7 @@ var qi = (
2926
2926
  type: s === "number" ? U.number : s === "date" ? U.date : U.time,
2927
2927
  value: r,
2928
2928
  location: d,
2929
- style: (o = c == null ? void 0 : c.style) !== null && o !== void 0 ? o : null
2929
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2930
2930
  },
2931
2931
  err: null
2932
2932
  };
@@ -2938,7 +2938,7 @@ var qi = (
2938
2938
  if (this.bumpSpace(), !this.bumpIf(","))
2939
2939
  return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, N(y, It({}, y)));
2940
2940
  this.bumpSpace();
2941
- var D = this.parseIdentifierIfPossible(), k = 0;
2941
+ var D = this.parseIdentifierIfPossible(), M = 0;
2942
2942
  if (s !== "select" && D.value === "offset") {
2943
2943
  if (!this.bumpIf(":"))
2944
2944
  return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
@@ -2946,7 +2946,7 @@ var qi = (
2946
2946
  var f = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2947
2947
  if (f.err)
2948
2948
  return f;
2949
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), k = f.val;
2949
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = f.val;
2950
2950
  }
2951
2951
  var X = this.tryParsePluralOrSelectOptions(t, s, n, D);
2952
2952
  if (X.err)
@@ -2954,13 +2954,13 @@ var qi = (
2954
2954
  var _ = this.tryParseArgumentClose(i);
2955
2955
  if (_.err)
2956
2956
  return _;
2957
- var be = N(i, this.clonePosition());
2957
+ var ge = N(i, this.clonePosition());
2958
2958
  return s === "select" ? {
2959
2959
  val: {
2960
2960
  type: U.select,
2961
2961
  value: r,
2962
2962
  options: Rn(X.val),
2963
- location: be
2963
+ location: ge
2964
2964
  },
2965
2965
  err: null
2966
2966
  } : {
@@ -2968,9 +2968,9 @@ var qi = (
2968
2968
  type: U.plural,
2969
2969
  value: r,
2970
2970
  options: Rn(X.val),
2971
- offset: k,
2971
+ offset: M,
2972
2972
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2973
- location: be
2973
+ location: ge
2974
2974
  },
2975
2975
  err: null
2976
2976
  };
@@ -3032,20 +3032,20 @@ var qi = (
3032
3032
  err: null
3033
3033
  };
3034
3034
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3035
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), c = i.value, u = i.location; ; ) {
3036
- if (c.length === 0) {
3035
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3036
+ if (u.length === 0) {
3037
3037
  var f = this.clonePosition();
3038
3038
  if (n !== "select" && this.bumpIf("=")) {
3039
3039
  var h = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
3040
  if (h.err)
3041
3041
  return h;
3042
- u = N(f, this.clonePosition()), c = this.message.slice(f.offset, this.offset());
3042
+ c = N(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3043
3043
  } else
3044
3044
  break;
3045
3045
  }
3046
- if (l.has(c))
3047
- return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3048
- c === "other" && (a = !0), this.bumpSpace();
3046
+ if (l.has(u))
3047
+ return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3048
+ u === "other" && (a = !0), this.bumpSpace();
3049
3049
  var m = this.clonePosition();
3050
3050
  if (!this.bumpIf("{"))
3051
3051
  return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
@@ -3056,12 +3056,12 @@ var qi = (
3056
3056
  if (d.err)
3057
3057
  return d;
3058
3058
  s.push([
3059
- c,
3059
+ u,
3060
3060
  {
3061
3061
  value: _.val,
3062
3062
  location: N(m, this.clonePosition())
3063
3063
  }
3064
- ]), l.add(c), this.bumpSpace(), o = this.parseIdentifierIfPossible(), c = o.value, u = o.location;
3064
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3065
3065
  }
3066
3066
  return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3067
3067
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
@@ -3238,105 +3238,105 @@ function Tt(e, t, n, r, i, o, a) {
3238
3238
  value: e[0].value
3239
3239
  }
3240
3240
  ];
3241
- for (var s = [], l = 0, c = e; l < c.length; l++) {
3242
- var u = c[l];
3243
- if (Hn(u)) {
3241
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3242
+ var c = u[l];
3243
+ if (Hn(c)) {
3244
3244
  s.push({
3245
3245
  type: Y.literal,
3246
- value: u.value
3246
+ value: c.value
3247
3247
  });
3248
3248
  continue;
3249
3249
  }
3250
- if (Ci(u)) {
3250
+ if (Ci(c)) {
3251
3251
  typeof o == "number" && s.push({
3252
3252
  type: Y.literal,
3253
3253
  value: n.getNumberFormat(t).format(o)
3254
3254
  });
3255
3255
  continue;
3256
3256
  }
3257
- var f = u.value;
3257
+ var f = c.value;
3258
3258
  if (!(i && f in i))
3259
3259
  throw new to(f, a);
3260
3260
  var h = i[f];
3261
- if (Ai(u)) {
3261
+ if (Ai(c)) {
3262
3262
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), s.push({
3263
3263
  type: typeof h == "string" ? Y.literal : Y.object,
3264
3264
  value: h
3265
3265
  });
3266
3266
  continue;
3267
3267
  }
3268
- if (fr(u)) {
3269
- var m = typeof u.style == "string" ? r.date[u.style] : on(u.style) ? u.style.parsedOptions : void 0;
3268
+ if (fr(c)) {
3269
+ var m = typeof c.style == "string" ? r.date[c.style] : on(c.style) ? c.style.parsedOptions : void 0;
3270
3270
  s.push({
3271
3271
  type: Y.literal,
3272
3272
  value: n.getDateTimeFormat(t, m).format(h)
3273
3273
  });
3274
3274
  continue;
3275
3275
  }
3276
- if (pr(u)) {
3277
- var m = typeof u.style == "string" ? r.time[u.style] : on(u.style) ? u.style.parsedOptions : r.time.medium;
3276
+ if (pr(c)) {
3277
+ var m = typeof c.style == "string" ? r.time[c.style] : on(c.style) ? c.style.parsedOptions : r.time.medium;
3278
3278
  s.push({
3279
3279
  type: Y.literal,
3280
3280
  value: n.getDateTimeFormat(t, m).format(h)
3281
3281
  });
3282
3282
  continue;
3283
3283
  }
3284
- if (hr(u)) {
3285
- var m = typeof u.style == "string" ? r.number[u.style] : br(u.style) ? u.style.parsedOptions : void 0;
3284
+ if (hr(c)) {
3285
+ var m = typeof c.style == "string" ? r.number[c.style] : br(c.style) ? c.style.parsedOptions : void 0;
3286
3286
  m && m.scale && (h = h * (m.scale || 1)), s.push({
3287
3287
  type: Y.literal,
3288
3288
  value: n.getNumberFormat(t, m).format(h)
3289
3289
  });
3290
3290
  continue;
3291
3291
  }
3292
- if (gr(u)) {
3293
- var _ = u.children, d = u.value, E = i[d];
3292
+ if (gr(c)) {
3293
+ var _ = c.children, d = c.value, E = i[d];
3294
3294
  if (!ro(E))
3295
3295
  throw new eo(d, "function", a);
3296
- var C = Tt(_, t, n, r, i, o), R = E(C.map(function(k) {
3297
- return k.value;
3296
+ var C = Tt(_, t, n, r, i, o), R = E(C.map(function(M) {
3297
+ return M.value;
3298
3298
  }));
3299
- Array.isArray(R) || (R = [R]), s.push.apply(s, R.map(function(k) {
3299
+ Array.isArray(R) || (R = [R]), s.push.apply(s, R.map(function(M) {
3300
3300
  return {
3301
- type: typeof k == "string" ? Y.literal : Y.object,
3302
- value: k
3301
+ type: typeof M == "string" ? Y.literal : Y.object,
3302
+ value: M
3303
3303
  };
3304
3304
  }));
3305
3305
  }
3306
- if (dr(u)) {
3307
- var y = u.options[h] || u.options.other;
3306
+ if (dr(c)) {
3307
+ var y = c.options[h] || c.options.other;
3308
3308
  if (!y)
3309
- throw new Dn(u.value, h, Object.keys(u.options), a);
3309
+ throw new Dn(c.value, h, Object.keys(c.options), a);
3310
3310
  s.push.apply(s, Tt(y.value, t, n, r, i));
3311
3311
  continue;
3312
3312
  }
3313
- if (mr(u)) {
3314
- var y = u.options["=".concat(h)];
3313
+ if (mr(c)) {
3314
+ var y = c.options["=".concat(h)];
3315
3315
  if (!y) {
3316
3316
  if (!Intl.PluralRules)
3317
3317
  throw new Dt(`Intl.PluralRules is not available in this environment.
3318
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3319
3319
  `, Qe.MISSING_INTL_API, a);
3320
- var D = n.getPluralRules(t, { type: u.pluralType }).select(h - (u.offset || 0));
3321
- y = u.options[D] || u.options.other;
3320
+ var D = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3321
+ y = c.options[D] || c.options.other;
3322
3322
  }
3323
3323
  if (!y)
3324
- throw new Dn(u.value, h, Object.keys(u.options), a);
3325
- s.push.apply(s, Tt(y.value, t, n, r, i, h - (u.offset || 0)));
3324
+ throw new Dn(c.value, h, Object.keys(c.options), a);
3325
+ s.push.apply(s, Tt(y.value, t, n, r, i, h - (c.offset || 0)));
3326
3326
  continue;
3327
3327
  }
3328
3328
  }
3329
3329
  return no(s);
3330
3330
  }
3331
3331
  function io(e, t) {
3332
- return t ? ge(ge(ge({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3333
- return n[r] = ge(ge({}, e[r]), t[r] || {}), n;
3332
+ return t ? me(me(me({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3333
+ return n[r] = me(me({}, e[r]), t[r] || {}), n;
3334
3334
  }, {})) : e;
3335
3335
  }
3336
3336
  function oo(e, t) {
3337
3337
  return t ? Object.keys(e).reduce(function(n, r) {
3338
3338
  return n[r] = io(e[r], t[r]), n;
3339
- }, ge({}, e)) : e;
3339
+ }, me({}, e)) : e;
3340
3340
  }
3341
3341
  function Kt(e) {
3342
3342
  return {
@@ -3395,13 +3395,13 @@ var so = (
3395
3395
  dateTime: {},
3396
3396
  pluralRules: {}
3397
3397
  }, this.format = function(l) {
3398
- var c = o.formatToParts(l);
3399
- if (c.length === 1)
3400
- return c[0].value;
3401
- var u = c.reduce(function(f, h) {
3398
+ var u = o.formatToParts(l);
3399
+ if (u.length === 1)
3400
+ return u[0].value;
3401
+ var c = u.reduce(function(f, h) {
3402
3402
  return !f.length || h.type !== Y.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3403
3403
  }, []);
3404
- return u.length <= 1 ? u[0] || "" : u;
3404
+ return c.length <= 1 ? c[0] || "" : c;
3405
3405
  }, this.formatToParts = function(l) {
3406
3406
  return Tt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3407
3407
  }, this.resolvedOptions = function() {
@@ -3417,7 +3417,7 @@ var so = (
3417
3417
  var a = i || {};
3418
3418
  a.formatters;
3419
3419
  var s = gi(a, ["formatters"]);
3420
- this.ast = e.__parse(t, ge(ge({}, s), { locale: this.resolvedLocale }));
3420
+ this.ast = e.__parse(t, me(me({}, s), { locale: this.resolvedLocale }));
3421
3421
  } else
3422
3422
  this.ast = t;
3423
3423
  if (!Array.isArray(this.ast))
@@ -3766,24 +3766,24 @@ const ft = (e, t) => {
3766
3766
  const {
3767
3767
  values: s,
3768
3768
  locale: l = De(),
3769
- default: c
3769
+ default: u
3770
3770
  } = a;
3771
3771
  if (l == null)
3772
3772
  throw new Error(
3773
3773
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3774
3774
  );
3775
- let u = Cr(e, l);
3776
- if (!u)
3777
- u = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
3778
- else if (typeof u != "string")
3775
+ let c = Cr(e, l);
3776
+ if (!c)
3777
+ c = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3778
+ else if (typeof c != "string")
3779
3779
  return console.warn(
3780
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3781
- ), u;
3780
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3781
+ ), c;
3782
3782
  if (!s)
3783
- return u;
3784
- let f = u;
3783
+ return c;
3784
+ let f = c;
3785
3785
  try {
3786
- f = Oo(u, l).format(s);
3786
+ f = Oo(c, l).format(s);
3787
3787
  } catch (h) {
3788
3788
  h instanceof Error && console.warn(
3789
3789
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3807,7 +3807,7 @@ function Fn(e, t) {
3807
3807
  function $o(e) {
3808
3808
  Le.set(e);
3809
3809
  }
3810
- const M = kr(Fo), Gn = {
3810
+ const k = kr(Fo), Gn = {
3811
3811
  en: {
3812
3812
  vaultExchange: "Vault Exchange",
3813
3813
  debitPlaceHolder: "Debit amount",
@@ -4209,7 +4209,7 @@ const M = kr(Fo), Gn = {
4209
4209
  }, jn = {
4210
4210
  Real: "Real",
4211
4211
  Vault: "Vault"
4212
- }, Ae = {
4212
+ }, He = {
4213
4213
  success: "success",
4214
4214
  error: "error"
4215
4215
  }, Jt = String(Number.MAX_SAFE_INTEGER).length + 1, wt = {
@@ -4329,11 +4329,11 @@ function Kn(e) {
4329
4329
  ), i, o, a = (
4330
4330
  /*option*/
4331
4331
  ((m = e[16]) == null ? void 0 : m.currency) + ""
4332
- ), s, l, c, u, f;
4332
+ ), s, l, u, c, f;
4333
4333
  return {
4334
4334
  c() {
4335
4335
  var _, d, E, C;
4336
- t = A("li"), n = A("span"), i = Z(r), o = O(), s = Z(a), l = O(), b(n, "class", "symbol svelte-1g9pqha"), b(t, "role", "option"), b(t, "aria-selected", c = /*option*/
4336
+ t = A("li"), n = A("span"), i = Z(r), o = O(), s = Z(a), l = O(), b(n, "class", "symbol svelte-1g9pqha"), b(t, "role", "option"), b(t, "aria-selected", u = /*option*/
4337
4337
  ((_ = e[16]) == null ? void 0 : _.currency) === /*selected*/
4338
4338
  ((d = e[0]) == null ? void 0 : d.currency) || /*index*/
4339
4339
  e[18] === /*activeIndex*/
@@ -4348,7 +4348,7 @@ function Kn(e) {
4348
4348
  );
4349
4349
  },
4350
4350
  m(_, d) {
4351
- H(_, t, d), v(t, n), v(n, i), v(t, o), v(t, s), v(t, l), u || (f = [
4351
+ H(_, t, d), v(t, n), v(n, i), v(t, o), v(t, s), v(t, l), c || (f = [
4352
4352
  ne(t, "keydown", Qo),
4353
4353
  ne(t, "click", function() {
4354
4354
  pt(
@@ -4366,32 +4366,32 @@ function Kn(e) {
4366
4366
  e[18]
4367
4367
  ).apply(this, arguments);
4368
4368
  })
4369
- ], u = !0);
4369
+ ], c = !0);
4370
4370
  },
4371
4371
  p(_, d) {
4372
- var E, C, R, y, D, k;
4372
+ var E, C, R, y, D, M;
4373
4373
  e = _, d & /*options*/
4374
4374
  2 && r !== (r = /*option*/
4375
4375
  ((E = e[16]) == null ? void 0 : E.symbol) + "") && re(i, r), d & /*options*/
4376
4376
  2 && a !== (a = /*option*/
4377
4377
  ((C = e[16]) == null ? void 0 : C.currency) + "") && re(s, a), d & /*options, selected, activeIndex*/
4378
- 35 && c !== (c = /*option*/
4378
+ 35 && u !== (u = /*option*/
4379
4379
  ((R = e[16]) == null ? void 0 : R.currency) === /*selected*/
4380
4380
  ((y = e[0]) == null ? void 0 : y.currency) || /*index*/
4381
4381
  e[18] === /*activeIndex*/
4382
- e[5]) && b(t, "aria-selected", c), d & /*options, selected, activeIndex*/
4382
+ e[5]) && b(t, "aria-selected", u), d & /*options, selected, activeIndex*/
4383
4383
  35 && ue(
4384
4384
  t,
4385
4385
  "active",
4386
4386
  /*option*/
4387
4387
  ((D = e[16]) == null ? void 0 : D.currency) === /*selected*/
4388
- ((k = e[0]) == null ? void 0 : k.currency) || /*index*/
4388
+ ((M = e[0]) == null ? void 0 : M.currency) || /*index*/
4389
4389
  e[18] === /*activeIndex*/
4390
4390
  e[5]
4391
4391
  );
4392
4392
  },
4393
4393
  d(_) {
4394
- _ && S(t), u = !1, Ce(f);
4394
+ _ && S(t), c = !1, we(f);
4395
4395
  }
4396
4396
  };
4397
4397
  }
@@ -4401,7 +4401,7 @@ function Ko(e) {
4401
4401
  /*selected*/
4402
4402
  (((_ = e[0]) == null ? void 0 : _.currency) || /*placeholder*/
4403
4403
  e[2]) + ""
4404
- ), a, s, l, c, u, f, h = (
4404
+ ), a, s, l, u, c, f, h = (
4405
4405
  /*selected*/
4406
4406
  ((d = e[0]) == null ? void 0 : d.symbol) && /*withSymbol*/
4407
4407
  e[3] === Ie.true && Zn(e)
@@ -4411,7 +4411,7 @@ function Ko(e) {
4411
4411
  );
4412
4412
  return {
4413
4413
  c() {
4414
- t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), a = Z(o), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', c = O(), m && m.c(), b(r, "class", "label svelte-1g9pqha"), b(l, "class", "arrow"), ue(
4414
+ t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), a = Z(o), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = O(), m && m.c(), b(r, "class", "label svelte-1g9pqha"), b(l, "class", "arrow"), ue(
4415
4415
  l,
4416
4416
  "open",
4417
4417
  /*open*/
@@ -4425,7 +4425,7 @@ function Ko(e) {
4425
4425
  e[4], b(t, "class", "selectWrapper svelte-1g9pqha");
4426
4426
  },
4427
4427
  m(E, C) {
4428
- H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, a), v(n, s), v(n, l), v(t, c), m && m.m(t, null), u || (f = [
4428
+ H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, a), v(n, s), v(n, l), v(t, u), m && m.m(t, null), c || (f = [
4429
4429
  ne(
4430
4430
  n,
4431
4431
  "keydown",
@@ -4443,7 +4443,7 @@ function Ko(e) {
4443
4443
  /*handleOutClick*/
4444
4444
  e[10]
4445
4445
  )
4446
- ], u = !0);
4446
+ ], c = !0);
4447
4447
  },
4448
4448
  p(E, [C]) {
4449
4449
  var R, y;
@@ -4472,24 +4472,24 @@ function Ko(e) {
4472
4472
  i: L,
4473
4473
  o: L,
4474
4474
  d(E) {
4475
- E && S(t), h && h.d(), m && m.d(), u = !1, Ce(f);
4475
+ E && S(t), h && h.d(), m && m.d(), c = !1, we(f);
4476
4476
  }
4477
4477
  };
4478
4478
  }
4479
4479
  const Qo = (e) => e.preventDefault();
4480
4480
  function Yo(e, t, n) {
4481
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = M("select") } = t, { withSymbol: a = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: c = () => {
4482
- } } = t, u = -1, f, h = !1;
4481
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { withSymbol: a = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4482
+ } } = t, c = -1, f, h = !1;
4483
4483
  const m = () => {
4484
- r.length !== 0 && (n(7, h = !h), h && (n(5, u = r.findIndex((y) => (y == null ? void 0 : y.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4484
+ r.length !== 0 && (n(7, h = !h), h && (n(5, c = r.findIndex((y) => (y == null ? void 0 : y.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4485
4485
  }, _ = (y) => {
4486
4486
  y.detail !== s && h && n(7, h = !1);
4487
4487
  }, d = (y, D) => () => {
4488
- n(7, h = !1), n(0, i = y), c && typeof c == "function" && c(y, D);
4488
+ n(7, h = !1), n(0, i = y), u && typeof u == "function" && u(y, D);
4489
4489
  }, E = () => {
4490
4490
  n(7, h = !1);
4491
4491
  }, C = (y) => {
4492
- h && (y.key === wt.ArrowDown ? (y.preventDefault(), n(5, u = (u + 1) % r.length)) : y.key === wt.ArrowUp ? (y.preventDefault(), n(5, u = (u - 1 + r.length) % r.length)) : y.key === wt.Enter ? (y.preventDefault(), d(i, u)()) : y.key === wt.Escape && n(7, h = !1));
4492
+ h && (y.key === wt.ArrowDown ? (y.preventDefault(), n(5, c = (c + 1) % r.length)) : y.key === wt.ArrowUp ? (y.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : y.key === wt.Enter ? (y.preventDefault(), d(i, c)()) : y.key === wt.Escape && n(7, h = !1));
4493
4493
  };
4494
4494
  ar(() => {
4495
4495
  window.addEventListener("dropdown-opened", _);
@@ -4502,14 +4502,14 @@ function Yo(e, t, n) {
4502
4502
  });
4503
4503
  }
4504
4504
  return e.$$set = (y) => {
4505
- "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, o = y.placeholder), "withSymbol" in y && n(3, a = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, c = y.onChange);
4505
+ "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, o = y.placeholder), "withSymbol" in y && n(3, a = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, u = y.onChange);
4506
4506
  }, [
4507
4507
  i,
4508
4508
  r,
4509
4509
  o,
4510
4510
  a,
4511
4511
  l,
4512
- u,
4512
+ c,
4513
4513
  f,
4514
4514
  h,
4515
4515
  m,
@@ -4517,7 +4517,7 @@ function Yo(e, t, n) {
4517
4517
  E,
4518
4518
  C,
4519
4519
  s,
4520
- c,
4520
+ u,
4521
4521
  R
4522
4522
  ];
4523
4523
  }
@@ -4589,7 +4589,7 @@ function Jo(e) {
4589
4589
  dn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4590
4590
  }
4591
4591
  function ea(e) {
4592
- let t, n, r = M("balanceUnavailable") + "", i;
4592
+ let t, n, r = k("balanceUnavailable") + "", i;
4593
4593
  return {
4594
4594
  c() {
4595
4595
  t = A("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = O(), i = Z(r), b(t, "class", "warningIcon svelte-2fhtvy");
@@ -4641,7 +4641,7 @@ function Yn(e) {
4641
4641
  function Jn(e) {
4642
4642
  let t, n, r, i;
4643
4643
  const o = [ra, na], a = [];
4644
- function s(l, c) {
4644
+ function s(l, u) {
4645
4645
  return !/*isBalanceFetched*/
4646
4646
  l[16] || !/*isCurrenciesFetched*/
4647
4647
  l[17] ? 0 : 1;
@@ -4650,14 +4650,14 @@ function Jn(e) {
4650
4650
  c() {
4651
4651
  n.c(), r = Gr();
4652
4652
  },
4653
- m(l, c) {
4654
- a[t].m(l, c), H(l, r, c), i = !0;
4653
+ m(l, u) {
4654
+ a[t].m(l, u), H(l, r, u), i = !0;
4655
4655
  },
4656
- p(l, c) {
4657
- let u = t;
4658
- t = s(l), t === u ? a[t].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4659
- a[u] = null;
4660
- }), Oe(), n = a[t], n ? n.p(l, c) : (n = a[t] = o[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4656
+ p(l, u) {
4657
+ let c = t;
4658
+ t = s(l), t === c ? a[t].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4659
+ a[c] = null;
4660
+ }), Oe(), n = a[t], n ? n.p(l, u) : (n = a[t] = o[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4661
4661
  },
4662
4662
  i(l) {
4663
4663
  i || ($(n), i = !0);
@@ -4673,25 +4673,25 @@ function Jn(e) {
4673
4673
  function na(e) {
4674
4674
  let t, n, r, i;
4675
4675
  const o = [oa, ia], a = [];
4676
- function s(l, c) {
4677
- var u;
4676
+ function s(l, u) {
4677
+ var c;
4678
4678
  return (
4679
4679
  /*fetchResponse*/
4680
- ((u = l[12]) == null ? void 0 : u.source) === q.BalanceError ? 0 : 1
4680
+ ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4681
4681
  );
4682
4682
  }
4683
4683
  return n = s(e), r = a[n] = o[n](e), {
4684
4684
  c() {
4685
4685
  t = A("div"), r.c(), b(t, "class", "headerPlayerBalance amountContainer");
4686
4686
  },
4687
- m(l, c) {
4688
- H(l, t, c), a[n].m(t, null), i = !0;
4687
+ m(l, u) {
4688
+ H(l, t, u), a[n].m(t, null), i = !0;
4689
4689
  },
4690
- p(l, c) {
4691
- let u = n;
4692
- n = s(l), n === u ? a[n].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4693
- a[u] = null;
4694
- }), Oe(), r = a[n], r ? r.p(l, c) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4690
+ p(l, u) {
4691
+ let c = n;
4692
+ n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4693
+ a[c] = null;
4694
+ }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4695
4695
  },
4696
4696
  i(l) {
4697
4697
  i || ($(r), i = !0);
@@ -4722,33 +4722,33 @@ function ra(e) {
4722
4722
  };
4723
4723
  }
4724
4724
  function ia(e) {
4725
- var l, c;
4725
+ var l, u;
4726
4726
  let t, n, r = (
4727
4727
  /*playerBalance*/
4728
4728
  (((l = e[10]) == null ? void 0 : l.amount) || 0) + ""
4729
4729
  ), i, o, a = (
4730
4730
  /*playerBalance*/
4731
- (((c = e[10]) == null ? void 0 : c.currency) || "") + ""
4731
+ (((u = e[10]) == null ? void 0 : u.currency) || "") + ""
4732
4732
  ), s;
4733
4733
  return {
4734
4734
  c() {
4735
- t = A("span"), t.textContent = `${M("totalBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "totalAmount");
4735
+ t = A("span"), t.textContent = `${k("totalBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "totalAmount");
4736
4736
  },
4737
- m(u, f) {
4738
- H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4737
+ m(c, f) {
4738
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4739
4739
  },
4740
- p(u, f) {
4740
+ p(c, f) {
4741
4741
  var h, m;
4742
4742
  f[0] & /*playerBalance*/
4743
4743
  1024 && r !== (r = /*playerBalance*/
4744
- (((h = u[10]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*playerBalance*/
4744
+ (((h = c[10]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*playerBalance*/
4745
4745
  1024 && a !== (a = /*playerBalance*/
4746
- (((m = u[10]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4746
+ (((m = c[10]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4747
4747
  },
4748
4748
  i: L,
4749
4749
  o: L,
4750
- d(u) {
4751
- u && (S(t), S(n), S(i), S(o), S(s));
4750
+ d(c) {
4751
+ c && (S(t), S(n), S(i), S(o), S(s));
4752
4752
  }
4753
4753
  };
4754
4754
  }
@@ -4774,8 +4774,8 @@ function oa(e) {
4774
4774
  };
4775
4775
  }
4776
4776
  function aa(e) {
4777
- let t, n, r, i, o, a, s, l, c;
4778
- const u = [ua, la], f = [];
4777
+ let t, n, r, i, o, a, s, l, u;
4778
+ const c = [ua, la], f = [];
4779
4779
  function h(m, _) {
4780
4780
  var d;
4781
4781
  return (
@@ -4783,7 +4783,7 @@ function aa(e) {
4783
4783
  ((d = m[12]) == null ? void 0 : d.source) === q.BalanceError ? 0 : 1
4784
4784
  );
4785
4785
  }
4786
- return a = h(e), s = f[a] = u[a](e), {
4786
+ return a = h(e), s = f[a] = c[a](e), {
4787
4787
  c() {
4788
4788
  t = A("div"), n = A("p"), r = Z(
4789
4789
  /*validationError*/
@@ -4792,10 +4792,10 @@ function aa(e) {
4792
4792
  (e[13] ? "hasError" : ""));
4793
4793
  },
4794
4794
  m(m, _) {
4795
- H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, o), f[a].m(o, null), c = !0;
4795
+ H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, o), f[a].m(o, null), u = !0;
4796
4796
  },
4797
4797
  p(m, _) {
4798
- (!c || _[0] & /*validationError*/
4798
+ (!u || _[0] & /*validationError*/
4799
4799
  8192) && re(
4800
4800
  r,
4801
4801
  /*validationError*/
@@ -4804,15 +4804,15 @@ function aa(e) {
4804
4804
  let d = a;
4805
4805
  a = h(m), a === d ? f[a].p(m, _) : (Re(), z(f[d], 1, 1, () => {
4806
4806
  f[d] = null;
4807
- }), Oe(), s = f[a], s ? s.p(m, _) : (s = f[a] = u[a](m), s.c()), $(s, 1), s.m(o, null)), (!c || _[0] & /*validationError*/
4807
+ }), Oe(), s = f[a], s ? s.p(m, _) : (s = f[a] = c[a](m), s.c()), $(s, 1), s.m(o, null)), (!u || _[0] & /*validationError*/
4808
4808
  8192 && l !== (l = "balanceContainer " + /*validationError*/
4809
4809
  (m[13] ? "hasError" : ""))) && b(t, "class", l);
4810
4810
  },
4811
4811
  i(m) {
4812
- c || ($(s), c = !0);
4812
+ u || ($(s), u = !0);
4813
4813
  },
4814
4814
  o(m) {
4815
- z(s), c = !1;
4815
+ z(s), u = !1;
4816
4816
  },
4817
4817
  d(m) {
4818
4818
  m && S(t), f[a].d();
@@ -4837,33 +4837,33 @@ function sa(e) {
4837
4837
  };
4838
4838
  }
4839
4839
  function la(e) {
4840
- var l, c;
4840
+ var l, u;
4841
4841
  let t, n, r = (
4842
4842
  /*selectedCurrencyFrom*/
4843
4843
  (((l = e[5]) == null ? void 0 : l.amount) || 0) + ""
4844
4844
  ), i, o, a = (
4845
4845
  /*selectedCurrencyFrom*/
4846
- (((c = e[5]) == null ? void 0 : c.currency) || "") + ""
4846
+ (((u = e[5]) == null ? void 0 : u.currency) || "") + ""
4847
4847
  ), s;
4848
4848
  return {
4849
4849
  c() {
4850
- t = A("span"), t.textContent = `${M("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4850
+ t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4851
4851
  },
4852
- m(u, f) {
4853
- H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4852
+ m(c, f) {
4853
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4854
4854
  },
4855
- p(u, f) {
4855
+ p(c, f) {
4856
4856
  var h, m;
4857
4857
  f[0] & /*selectedCurrencyFrom*/
4858
4858
  32 && r !== (r = /*selectedCurrencyFrom*/
4859
- (((h = u[5]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyFrom*/
4859
+ (((h = c[5]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyFrom*/
4860
4860
  32 && a !== (a = /*selectedCurrencyFrom*/
4861
- (((m = u[5]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4861
+ (((m = c[5]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4862
4862
  },
4863
4863
  i: L,
4864
4864
  o: L,
4865
- d(u) {
4866
- u && (S(t), S(n), S(i), S(o), S(s));
4865
+ d(c) {
4866
+ c && (S(t), S(n), S(i), S(o), S(s));
4867
4867
  }
4868
4868
  };
4869
4869
  }
@@ -4891,25 +4891,25 @@ function ua(e) {
4891
4891
  function ca(e) {
4892
4892
  let t, n, r, i;
4893
4893
  const o = [pa, fa], a = [];
4894
- function s(l, c) {
4895
- var u;
4894
+ function s(l, u) {
4895
+ var c;
4896
4896
  return (
4897
4897
  /*fetchResponse*/
4898
- ((u = l[12]) == null ? void 0 : u.source) === q.BalanceError ? 0 : 1
4898
+ ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4899
4899
  );
4900
4900
  }
4901
4901
  return n = s(e), r = a[n] = o[n](e), {
4902
4902
  c() {
4903
4903
  t = A("div"), r.c(), b(t, "class", "playerBalance amountContainer");
4904
4904
  },
4905
- m(l, c) {
4906
- H(l, t, c), a[n].m(t, null), i = !0;
4905
+ m(l, u) {
4906
+ H(l, t, u), a[n].m(t, null), i = !0;
4907
4907
  },
4908
- p(l, c) {
4909
- let u = n;
4910
- n = s(l), n === u ? a[n].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4911
- a[u] = null;
4912
- }), Oe(), r = a[n], r ? r.p(l, c) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4908
+ p(l, u) {
4909
+ let c = n;
4910
+ n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4911
+ a[c] = null;
4912
+ }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4913
4913
  },
4914
4914
  i(l) {
4915
4915
  i || ($(r), i = !0);
@@ -4940,33 +4940,33 @@ function ha(e) {
4940
4940
  };
4941
4941
  }
4942
4942
  function fa(e) {
4943
- var l, c;
4943
+ var l, u;
4944
4944
  let t, n, r = (
4945
4945
  /*selectedCurrencyTo*/
4946
4946
  (((l = e[6]) == null ? void 0 : l.amount) || 0) + ""
4947
4947
  ), i, o, a = (
4948
4948
  /*selectedCurrencyTo*/
4949
- (((c = e[6]) == null ? void 0 : c.currency) || "") + ""
4949
+ (((u = e[6]) == null ? void 0 : u.currency) || "") + ""
4950
4950
  ), s;
4951
4951
  return {
4952
4952
  c() {
4953
- t = A("span"), t.textContent = `${M("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4953
+ t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4954
4954
  },
4955
- m(u, f) {
4956
- H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4955
+ m(c, f) {
4956
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4957
4957
  },
4958
- p(u, f) {
4958
+ p(c, f) {
4959
4959
  var h, m;
4960
4960
  f[0] & /*selectedCurrencyTo*/
4961
4961
  64 && r !== (r = /*selectedCurrencyTo*/
4962
- (((h = u[6]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyTo*/
4962
+ (((h = c[6]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyTo*/
4963
4963
  64 && a !== (a = /*selectedCurrencyTo*/
4964
- (((m = u[6]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4964
+ (((m = c[6]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4965
4965
  },
4966
4966
  i: L,
4967
4967
  o: L,
4968
- d(u) {
4969
- u && (S(t), S(n), S(i), S(o), S(s));
4968
+ d(c) {
4969
+ c && (S(t), S(n), S(i), S(o), S(s));
4970
4970
  }
4971
4971
  };
4972
4972
  }
@@ -4992,7 +4992,7 @@ function pa(e) {
4992
4992
  };
4993
4993
  }
4994
4994
  function er(e) {
4995
- let t, n, r, i, o, a, s, l, c, u, f = Ht(
4995
+ let t, n, r, i, o, a, s, l, u, c, f = Ht(
4996
4996
  /*dropDownVaults*/
4997
4997
  e[19]
4998
4998
  ), h = [];
@@ -5013,12 +5013,12 @@ function er(e) {
5013
5013
  H(m, t, _), v(t, n), v(n, r), v(r, i), v(t, a), v(t, s);
5014
5014
  for (let d = 0; d < h.length; d += 1)
5015
5015
  h[d] && h[d].m(s, null);
5016
- c || (u = ne(
5016
+ u || (c = ne(
5017
5017
  n,
5018
5018
  "click",
5019
5019
  /*handleToggleVaultDropdown*/
5020
5020
  e[22]
5021
- ), c = !0);
5021
+ ), u = !0);
5022
5022
  },
5023
5023
  p(m, _) {
5024
5024
  if (_[0] & /*isVaultDropDownToggled, dropDownVaults*/
@@ -5045,25 +5045,25 @@ function er(e) {
5045
5045
  m[19].length > 0 ? "expanded" : "")) && b(s, "class", l);
5046
5046
  },
5047
5047
  d(m) {
5048
- m && S(t), ir(h, m), c = !1, u();
5048
+ m && S(t), ir(h, m), u = !1, c();
5049
5049
  }
5050
5050
  };
5051
5051
  }
5052
5052
  function tr(e) {
5053
- var u, f;
5053
+ var c, f;
5054
5054
  let t, n, r = (
5055
5055
  /*vault*/
5056
- ((u = e[62]) == null ? void 0 : u.currency) + ""
5056
+ ((c = e[62]) == null ? void 0 : c.currency) + ""
5057
5057
  ), i, o, a, s = (
5058
5058
  /*vault*/
5059
5059
  ((f = e[62]) == null ? void 0 : f.amount) + ""
5060
- ), l, c;
5060
+ ), l, u;
5061
5061
  return {
5062
5062
  c() {
5063
- t = A("div"), n = A("p"), i = Z(r), o = O(), a = A("p"), l = Z(s), c = O(), b(t, "class", "vaultItem");
5063
+ t = A("div"), n = A("p"), i = Z(r), o = O(), a = A("p"), l = Z(s), u = O(), b(t, "class", "vaultItem");
5064
5064
  },
5065
5065
  m(h, m) {
5066
- H(h, t, m), v(t, n), v(n, i), v(t, o), v(t, a), v(a, l), v(t, c);
5066
+ H(h, t, m), v(t, n), v(n, i), v(t, o), v(t, a), v(a, l), v(t, u);
5067
5067
  },
5068
5068
  p(h, m) {
5069
5069
  var _, d;
@@ -5091,10 +5091,10 @@ function da(e) {
5091
5091
  H(s, n, l);
5092
5092
  },
5093
5093
  p(s, l) {
5094
- var c, u, f, h;
5094
+ var u, c, f, h;
5095
5095
  l[0] & /*currentFee*/
5096
5096
  2048 && t !== (t = `${/*currentFee*/
5097
- ((u = (c = s[11]) == null ? void 0 : c.fees[0]) == null ? void 0 : u.amount) || 0} ${/*currentFee*/
5097
+ ((c = (u = s[11]) == null ? void 0 : u.fees[0]) == null ? void 0 : c.amount) || 0} ${/*currentFee*/
5098
5098
  ((h = (f = s[11]) == null ? void 0 : f.fees[0]) == null ? void 0 : h.currency) || ""}`) && re(n, t);
5099
5099
  },
5100
5100
  d(s) {
@@ -5103,7 +5103,7 @@ function da(e) {
5103
5103
  };
5104
5104
  }
5105
5105
  function ma(e) {
5106
- let t = M("feesUnavailable") + "", n;
5106
+ let t = k("feesUnavailable") + "", n;
5107
5107
  return {
5108
5108
  c() {
5109
5109
  n = Z(t);
@@ -5119,10 +5119,10 @@ function ma(e) {
5119
5119
  }
5120
5120
  function ga(e) {
5121
5121
  var j;
5122
- let t, n, r, i, o, a, s, l, c, u, f, h, m, _, d, E, C, R, y, D, k, X, be, ie, W, ce, he, se, fe, Te, K, J, pe, nt, Be, Me, dt, ke, rt, oe, ye = M(
5122
+ let t, n, r, i, o, a, s, l, u, c, f, h, m, _, d, E, C, R, y, D, M, X, ge, ie, W, ce, be, se, he, Ae, K, J, fe, nt, Ce, Me, dt, ke, rt, oe, ye = k(
5123
5123
  /*fetchResponse*/
5124
5124
  ((j = e[12]) == null ? void 0 : j.message) || ""
5125
- ) + "", Se, ve, Ee, Ue, ee, _e = M("exchange") + "", mt, xe, te, it, ot, Q = (
5125
+ ) + "", Te, ve, Ee, Ue, ee, Be = k("exchange") + "", mt, _e, te, it, ot, Q = (
5126
5126
  /*showclosebutton*/
5127
5127
  e[3] === Ie.true && Yn(e)
5128
5128
  ), F = (
@@ -5153,13 +5153,13 @@ function ga(e) {
5153
5153
  /*selectedCurrencyFrom*/
5154
5154
  e[5] !== void 0 && (gt.selected = /*selectedCurrencyFrom*/
5155
5155
  e[5]), d = new pn({ props: gt }), We.push(() => Bn(d, "selected", Vt));
5156
- const bt = [sa, aa], de = [];
5156
+ const bt = [sa, aa], pe = [];
5157
5157
  function at(g, B) {
5158
5158
  return !/*isBalanceFetched*/
5159
5159
  g[16] || !/*isCurrenciesFetched*/
5160
5160
  g[17] ? 0 : 1;
5161
5161
  }
5162
- R = at(e), y = de[R] = bt[R](e);
5162
+ R = at(e), y = pe[R] = bt[R](e);
5163
5163
  function Ft(g) {
5164
5164
  e[41](g);
5165
5165
  }
@@ -5186,13 +5186,13 @@ function ga(e) {
5186
5186
  /*selectedCurrencyTo*/
5187
5187
  e[6] !== void 0 && (yt.selected = /*selectedCurrencyTo*/
5188
5188
  e[6]), se = new pn({ props: yt }), We.push(() => Bn(se, "selected", Ft));
5189
- const vt = [ha, ca], me = [];
5189
+ const vt = [ha, ca], de = [];
5190
5190
  function Et(g, B) {
5191
5191
  return !/*isBalanceFetched*/
5192
5192
  g[16] || !/*isCurrenciesFetched*/
5193
5193
  g[17] ? 0 : 1;
5194
5194
  }
5195
- K = Et(e), J = me[K] = vt[K](e);
5195
+ K = Et(e), J = de[K] = vt[K](e);
5196
5196
  let p = (
5197
5197
  /*showvaults*/
5198
5198
  e[1] === Ie.true && er(e)
@@ -5208,13 +5208,13 @@ function ga(e) {
5208
5208
  return {
5209
5209
  c() {
5210
5210
  var g, B, ae;
5211
- t = A("div"), Q && Q.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${M("vaultExchange")}`, o = O(), F && F.c(), a = O(), s = A("div"), l = A("div"), c = A("p"), c.textContent = `${M("exchangeFrom")}`, u = O(), f = A("div"), h = A("input"), _ = O(), ct(d.$$.fragment), C = O(), y.c(), D = O(), k = A("div"), X = A("p"), X.textContent = `${M("exchangeTo")}`, be = O(), ie = A("div"), W = A("input"), he = O(), ct(se.$$.fragment), Te = O(), J.c(), pe = O(), p && p.c(), nt = O(), Be = A("div"), Me = A("span"), Me.textContent = `${M("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), rt = O(), oe = A("div"), Se = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${M("reset")}`, Ue = O(), ee = A("button"), mt = Z(_e), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(c, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5211
+ t = A("div"), Q && Q.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = A("div"), h = A("input"), _ = O(), ct(d.$$.fragment), C = O(), y.c(), D = O(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ge = O(), ie = A("div"), W = A("input"), be = O(), ct(se.$$.fragment), Ae = O(), J.c(), fe = O(), p && p.c(), nt = O(), Ce = A("div"), Me = A("span"), Me.textContent = `${k("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), rt = O(), oe = A("div"), Te = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${k("reset")}`, Ue = O(), ee = A("button"), mt = Z(Be), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5212
5212
  e[0] || !/*isBalanceFetched*/
5213
5213
  e[16] || !/*isCurrenciesFetched*/
5214
- e[17], b(h, "placeholder", M("debitPlaceHolder")), b(h, "class", "exchangeInput"), b(h, "type", "number"), b(h, "aria-label", "Enter exchange amount"), b(h, "inputmode", "decimal"), b(h, "step", "0.000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(l, "class", "containerExchangeFrom exchangeContainer"), b(X, "class", "exchangeHeader"), b(W, "id", "destinationInput"), W.disabled = ce = !/*session*/
5214
+ e[17], b(h, "placeholder", k("debitPlaceHolder")), b(h, "class", "exchangeInput"), b(h, "type", "number"), b(h, "aria-label", "Enter exchange amount"), b(h, "inputmode", "decimal"), b(h, "step", "0.000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(l, "class", "containerExchangeFrom exchangeContainer"), b(X, "class", "exchangeHeader"), b(W, "id", "destinationInput"), W.disabled = ce = !/*session*/
5215
5215
  e[0] || !/*isBalanceFetched*/
5216
5216
  e[16] || !/*isCurrenciesFetched*/
5217
- e[17], b(W, "placeholder", M("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(ie, "class", "flexingContainerRow"), b(k, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Be, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5217
+ e[17], b(W, "placeholder", k("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(ie, "class", "flexingContainerRow"), b(M, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Ce, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5218
5218
  oe,
5219
5219
  "error",
5220
5220
  /*fetchResponse*/
@@ -5224,7 +5224,7 @@ function ga(e) {
5224
5224
  "success",
5225
5225
  /*fetchResponse*/
5226
5226
  ((B = e[12]) == null ? void 0 : B.type) === "success"
5227
- ), b(Ee, "class", "resetButton"), b(Ee, "type", "button"), b(ee, "type", "button"), b(ee, "class", "exchangeButton"), ee.disabled = xe = /*isExchangeDisabled*/
5227
+ ), b(Ee, "class", "resetButton"), b(Ee, "type", "button"), b(ee, "type", "button"), b(ee, "class", "exchangeButton"), ee.disabled = _e = /*isExchangeDisabled*/
5228
5228
  e[14] || /*isExchangePending*/
5229
5229
  e[18] || /*inputExchangeFrom*/
5230
5230
  e[8] === 0 && !/*selectedCurrencyFrom*/
@@ -5242,15 +5242,15 @@ function ga(e) {
5242
5242
  ), b(ve, "class", "actionsContainer"), b(t, "class", "playerAccountVault");
5243
5243
  },
5244
5244
  m(g, B) {
5245
- H(g, t, B), Q && Q.m(t, null), v(t, n), v(t, r), v(r, i), v(r, o), F && F.m(r, null), v(t, a), v(t, s), v(s, l), v(l, c), v(l, u), v(l, f), v(f, h), _t(
5245
+ H(g, t, B), Q && Q.m(t, null), v(t, n), v(t, r), v(r, i), v(r, o), F && F.m(r, null), v(t, a), v(t, s), v(s, l), v(l, u), v(l, c), v(l, f), v(f, h), _t(
5246
5246
  h,
5247
5247
  /*inputExchangeFrom*/
5248
5248
  e[8]
5249
- ), v(f, _), ze(d, f, null), v(l, C), de[R].m(l, null), v(s, D), v(s, k), v(k, X), v(k, be), v(k, ie), v(ie, W), _t(
5249
+ ), v(f, _), ze(d, f, null), v(l, C), pe[R].m(l, null), v(s, D), v(s, M), v(M, X), v(M, ge), v(M, ie), v(ie, W), _t(
5250
5250
  W,
5251
5251
  /*inputExchangeTo*/
5252
5252
  e[9]
5253
- ), v(ie, he), ze(se, ie, null), v(k, Te), me[K].m(k, null), v(t, pe), p && p.m(t, null), v(t, nt), v(t, Be), v(Be, Me), v(Be, dt), v(Be, ke), x.m(ke, null), v(t, rt), v(t, oe), oe.innerHTML = ye, v(t, Se), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, ee), v(ee, mt), e[42](t), te = !0, it || (ot = [
5253
+ ), v(ie, be), ze(se, ie, null), v(M, Ae), de[K].m(M, null), v(t, fe), p && p.m(t, null), v(t, nt), v(t, Ce), v(Ce, Me), v(Ce, dt), v(Ce, ke), x.m(ke, null), v(t, rt), v(t, oe), oe.innerHTML = ye, v(t, Te), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, ee), v(ee, mt), e[42](t), te = !0, it || (ot = [
5254
5254
  ne(
5255
5255
  h,
5256
5256
  "input",
@@ -5296,7 +5296,7 @@ function ga(e) {
5296
5296
  ], it = !0);
5297
5297
  },
5298
5298
  p(g, B) {
5299
- var He, En, _n, xn;
5299
+ var Se, En, _n, xn;
5300
5300
  /*showclosebutton*/
5301
5301
  g[3] === Ie.true ? Q ? Q.p(g, B) : (Q = Yn(g), Q.c(), Q.m(t, n)) : Q && (Q.d(1), Q = null), /*showtotalbalance*/
5302
5302
  g[2] === Ie.true ? F ? (F.p(g, B), B[0] & /*showtotalbalance*/
@@ -5325,9 +5325,9 @@ function ga(e) {
5325
5325
  32 && (E = !0, ae.selected = /*selectedCurrencyFrom*/
5326
5326
  g[5], Tn(() => E = !1)), d.$set(ae);
5327
5327
  let Ve = R;
5328
- R = at(g), R === Ve ? de[R].p(g, B) : (Re(), z(de[Ve], 1, 1, () => {
5329
- de[Ve] = null;
5330
- }), Oe(), y = de[R], y ? y.p(g, B) : (y = de[R] = bt[R](g), y.c()), $(y, 1), y.m(l, null)), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5328
+ R = at(g), R === Ve ? pe[R].p(g, B) : (Re(), z(pe[Ve], 1, 1, () => {
5329
+ pe[Ve] = null;
5330
+ }), Oe(), y = pe[R], y ? y.p(g, B) : (y = pe[R] = bt[R](g), y.c()), $(y, 1), y.m(l, null)), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5331
5331
  196609 && ce !== (ce = !/*session*/
5332
5332
  g[0] || !/*isBalanceFetched*/
5333
5333
  g[16] || !/*isCurrenciesFetched*/
@@ -5348,17 +5348,17 @@ function ga(e) {
5348
5348
  g[16] || !/*isCurrenciesFetched*/
5349
5349
  g[17]), B[0] & /*optionsTo*/
5350
5350
  2097152 && (T.options = /*optionsTo*/
5351
- g[21]), !fe && B[0] & /*selectedCurrencyTo*/
5352
- 64 && (fe = !0, T.selected = /*selectedCurrencyTo*/
5353
- g[6], Tn(() => fe = !1)), se.$set(T);
5354
- let we = K;
5355
- K = Et(g), K === we ? me[K].p(g, B) : (Re(), z(me[we], 1, 1, () => {
5356
- me[we] = null;
5357
- }), Oe(), J = me[K], J ? J.p(g, B) : (J = me[K] = vt[K](g), J.c()), $(J, 1), J.m(k, null)), /*showvaults*/
5351
+ g[21]), !he && B[0] & /*selectedCurrencyTo*/
5352
+ 64 && (he = !0, T.selected = /*selectedCurrencyTo*/
5353
+ g[6], Tn(() => he = !1)), se.$set(T);
5354
+ let xe = K;
5355
+ K = Et(g), K === xe ? de[K].p(g, B) : (Re(), z(de[xe], 1, 1, () => {
5356
+ de[xe] = null;
5357
+ }), Oe(), J = de[K], J ? J.p(g, B) : (J = de[K] = vt[K](g), J.c()), $(J, 1), J.m(M, null)), /*showvaults*/
5358
5358
  g[1] === Ie.true ? p ? p.p(g, B) : (p = er(g), p.c(), p.m(t, nt)) : p && (p.d(1), p = null), I === (I = w(g)) && x ? x.p(g, B) : (x.d(1), x = I(g), x && (x.c(), x.m(ke, null))), (!te || B[0] & /*fetchResponse*/
5359
- 4096) && ye !== (ye = M(
5359
+ 4096) && ye !== (ye = k(
5360
5360
  /*fetchResponse*/
5361
- ((He = g[12]) == null ? void 0 : He.message) || ""
5361
+ ((Se = g[12]) == null ? void 0 : Se.message) || ""
5362
5362
  ) + "") && (oe.innerHTML = ye), (!te || B[0] & /*fetchResponse*/
5363
5363
  4096) && ue(
5364
5364
  oe,
@@ -5372,11 +5372,11 @@ function ga(e) {
5372
5372
  /*fetchResponse*/
5373
5373
  ((_n = g[12]) == null ? void 0 : _n.type) === "success"
5374
5374
  ), (!te || B[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5375
- 278816 && xe !== (xe = /*isExchangeDisabled*/
5375
+ 278816 && _e !== (_e = /*isExchangeDisabled*/
5376
5376
  g[14] || /*isExchangePending*/
5377
5377
  g[18] || /*inputExchangeFrom*/
5378
5378
  g[8] === 0 && !/*selectedCurrencyFrom*/
5379
- ((xn = g[5]) != null && xn.amount))) && (ee.disabled = xe), (!te || B[0] & /*isExchangeDisabled, isExchangePending*/
5379
+ ((xn = g[5]) != null && xn.amount))) && (ee.disabled = _e), (!te || B[0] & /*isExchangeDisabled, isExchangePending*/
5380
5380
  278528) && ue(
5381
5381
  ee,
5382
5382
  "disabled",
@@ -5398,19 +5398,19 @@ function ga(e) {
5398
5398
  z(F), z(d.$$.fragment, g), z(y), z(se.$$.fragment, g), z(J), te = !1;
5399
5399
  },
5400
5400
  d(g) {
5401
- g && S(t), Q && Q.d(), F && F.d(), Ze(d), de[R].d(), Ze(se), me[K].d(), p && p.d(), x.d(), e[42](null), it = !1, Ce(ot);
5401
+ g && S(t), Q && Q.d(), F && F.d(), Ze(d), pe[R].d(), Ze(se), de[K].d(), p && p.d(), x.d(), e[42](null), it = !1, we(ot);
5402
5402
  }
5403
5403
  };
5404
5404
  }
5405
5405
  function ba(e, t, n) {
5406
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { playercurrency: u = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, d = null, E = null, C = 0, R = 0, y = 0, D = null, k = null, X = null, be = "", ie = !0, W = !1, ce = !1, he = !1, se = !1, fe = [], Te = [], K = [], J = [], pe;
5406
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, d = null, E = null, C = 0, R = 0, y = 0, D = null, M = null, X = null, ge = "", ie = !0, W = !1, ce = !1, be = !1, se = !1, he = [], Ae = [], K = [], J = [], fe;
5407
5407
  Go({ withLocale: "en", translations: {} }), Object.keys(Gn).forEach((p) => {
5408
5408
  Fn(p, Gn[p]);
5409
5409
  });
5410
5410
  const nt = () => {
5411
5411
  $o(a);
5412
- }, Be = () => {
5413
- fetch(c).then((p) => p.json()).then((p) => {
5412
+ }, Ce = () => {
5413
+ fetch(u).then((p) => p.json()).then((p) => {
5414
5414
  Object.keys(p).forEach((w) => {
5415
5415
  Fn(w, p[w]);
5416
5416
  });
@@ -5419,19 +5419,19 @@ function ba(e, t, n) {
5419
5419
  });
5420
5420
  }, Me = () => {
5421
5421
  let p = document.createElement("style");
5422
- p.innerHTML = s, pe.appendChild(p);
5422
+ p.innerHTML = s, fe.appendChild(p);
5423
5423
  }, dt = () => {
5424
5424
  let p, w = new URL(l), I = document.createElement("style");
5425
5425
  fetch(w.href).then((x) => x.text()).then((x) => {
5426
5426
  I.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5427
5427
  () => {
5428
- pe.appendChild(I);
5428
+ fe.appendChild(I);
5429
5429
  },
5430
5430
  1
5431
5431
  );
5432
5432
  });
5433
5433
  }, ke = () => {
5434
- Te.length !== 0 && (n(15, W = !W), window.postMessage(
5434
+ Ae.length !== 0 && (n(15, W = !W), window.postMessage(
5435
5435
  {
5436
5436
  type: Yt.VaultDropdownToggled,
5437
5437
  state: W
@@ -5446,26 +5446,26 @@ function ba(e, t, n) {
5446
5446
  window.location.href
5447
5447
  );
5448
5448
  }, oe = () => {
5449
- n(14, ie = !0), Se(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5449
+ n(14, ie = !0), Te(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5450
5450
  }, ye = () => {
5451
5451
  n(14, ie = !0), n(9, y = 0);
5452
- }, Se = () => {
5453
- n(11, k = null);
5452
+ }, Te = () => {
5453
+ n(11, M = null);
5454
5454
  }, ve = () => {
5455
5455
  n(8, C = 0), n(9, y = 0);
5456
5456
  }, Ee = () => {
5457
- n(13, be = "");
5457
+ n(13, ge = "");
5458
5458
  }, Ue = () => {
5459
5459
  n(12, X = null);
5460
5460
  }, ee = (p) => {
5461
- p && n(13, be = p);
5462
- }, _e = ({ type: p, message: w, source: I = "" }) => {
5461
+ p && n(13, ge = p);
5462
+ }, Be = ({ type: p, message: w, source: I = "" }) => {
5463
5463
  let x;
5464
5464
  switch (n(12, X = { message: w, source: I, type: p }), p) {
5465
- case Ae.error:
5465
+ case He.error:
5466
5466
  n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href);
5467
5467
  break;
5468
- case Ae.success:
5468
+ case He.success:
5469
5469
  n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5470
5470
  () => {
5471
5471
  Ue();
@@ -5476,13 +5476,13 @@ function ba(e, t, n) {
5476
5476
  }
5477
5477
  }, mt = () => new Promise((p, w) => {
5478
5478
  const I = X == null ? void 0 : X.message.includes(Wo.InvalidSession);
5479
- I && w(), isNaN(Number(C)) && (ye(), Se(), w(M("invalidValue"))), C > (d == null ? void 0 : d.amount) && (ye(), Se(), w(M("exceededValue"))), C === null && !I && (ye(), Se(), w()), C === 0 && C === 0 && !I && (oe(), w()), (!d || !E) && !I && w(), Ee(), p();
5480
- }), xe = (p, w) => jt(this, null, function* () {
5479
+ I && w(), isNaN(Number(C)) && (ye(), Te(), w(k("invalidValue"))), C > (d == null ? void 0 : d.amount) && (ye(), Te(), w(k("exceededValue"))), C === null && !I && (ye(), Te(), w()), C === 0 && C === 0 && !I && (oe(), w()), (!d || !E) && !I && w(), Ee(), p();
5480
+ }), _e = (p, w) => jt(this, null, function* () {
5481
5481
  var x, j;
5482
5482
  const I = yield p.json();
5483
- return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === q.CheckWalletExchangeError && ye(), !ce && w === q.BalanceError && (n(16, ce = !0), n(17, he = !0)), !he && w === q.CurrenciesError && n(17, he = !0), _e({
5484
- type: Ae.error,
5485
- message: M((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || M((j = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : j.errorCode) || "generalError",
5483
+ return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === q.CheckWalletExchangeError && ye(), !ce && w === q.BalanceError && (n(16, ce = !0), n(17, be = !0)), !be && w === q.CurrenciesError && n(17, be = !0), Be({
5484
+ type: He.error,
5485
+ message: k((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || k((j = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : j.errorCode) || "generalError",
5486
5486
  source: w
5487
5487
  }));
5488
5488
  }), te = () => new Promise((p, w) => {
@@ -5494,31 +5494,31 @@ function ba(e, t, n) {
5494
5494
  "Content-Type": "application/json",
5495
5495
  Accept: "application/json"
5496
5496
  }
5497
- }).then((j) => xe(j, q.CurrenciesError)).then((j) => {
5497
+ }).then((j) => _e(j, q.CurrenciesError)).then((j) => {
5498
5498
  p(j == null ? void 0 : j.currencies);
5499
5499
  }).catch((j) => {
5500
- n(17, he = !0), console.error("There was an error on the allowed currencies request.", j), _e({
5501
- type: Ae.error,
5502
- message: M("generalError"),
5500
+ n(17, be = !0), console.error("There was an error on the allowed currencies request.", j), Be({
5501
+ type: He.error,
5502
+ message: k("generalError"),
5503
5503
  source: q.CurrenciesError
5504
5504
  }), w();
5505
5505
  }).finally(() => {
5506
- n(17, he = !0);
5506
+ n(17, be = !0);
5507
5507
  });
5508
5508
  }), it = ({ data: p, shouldUpdateSelectedCurrencies: w, allowed: I = [] }) => {
5509
5509
  var Ve;
5510
5510
  const { items: x = [], totalAmount: j = {}, totalRealAmount: g } = p || {};
5511
- n(10, D = Object.entries(g || j).map(([T = "", we = 0]) => ({ currency: T, amount: we }))[0]);
5511
+ n(10, D = Object.entries(g || j).map(([T = "", xe = 0]) => ({ currency: T, amount: xe }))[0]);
5512
5512
  let B = null;
5513
5513
  const ae = new Map(I.map((T) => [T.code, T]));
5514
5514
  for (const T of x)
5515
5515
  if ((T == null ? void 0 : T.type) === jn.Real) {
5516
- const we = ae.get(T == null ? void 0 : T.currency);
5517
- if (we && we.code === (T == null ? void 0 : T.currency)) {
5518
- const He = $t(Fe(Fe({}, T), we), {
5516
+ const xe = ae.get(T == null ? void 0 : T.currency);
5517
+ if (xe && xe.code === (T == null ? void 0 : T.currency)) {
5518
+ const Se = $t(Fe(Fe({}, T), xe), {
5519
5519
  symbol: (Ve = jo[T == null ? void 0 : T.currency]) == null ? void 0 : Ve[0]
5520
5520
  });
5521
- n(37, fe = [...fe, He]), (T == null ? void 0 : T.currency) === (D == null ? void 0 : D.currency) && n(10, D = Fe(Fe({}, D), He)), (T == null ? void 0 : T.currency) !== (D == null ? void 0 : D.currency) && (T == null ? void 0 : T.walletAccountType) === jn.Vault && n(19, Te = [...Te, He]), w && (T == null ? void 0 : T.amount) > 0 && n(5, d = D != null && D.currency ? D : B), d && (d == null ? void 0 : d.currency) === (T == null ? void 0 : T.currency) && n(5, d = He), E && (E == null ? void 0 : E.currency) === (T == null ? void 0 : T.currency) && n(6, E = He);
5521
+ n(37, he = [...he, Se]), (T == null ? void 0 : T.currency) === (D == null ? void 0 : D.currency) && n(10, D = Fe(Fe({}, D), Se)), (T == null ? void 0 : T.currency) !== (D == null ? void 0 : D.currency) && (T == null ? void 0 : T.walletAccountType) === jn.Vault && n(19, Ae = [...Ae, Se]), w && (T == null ? void 0 : T.amount) > 0 && n(5, d = D != null && D.currency ? D : B), d && (d == null ? void 0 : d.currency) === (T == null ? void 0 : T.currency) && n(5, d = Se), E && (E == null ? void 0 : E.currency) === (T == null ? void 0 : T.currency) && n(6, E = Se);
5522
5522
  }
5523
5523
  }
5524
5524
  }, ot = (p = !0) => {
@@ -5530,18 +5530,18 @@ function ba(e, t, n) {
5530
5530
  "Content-Type": "application/json",
5531
5531
  Accept: "application/json"
5532
5532
  }
5533
- }).then((x) => xe(x, q.BalanceError)).then((x) => {
5533
+ }).then((x) => _e(x, q.BalanceError)).then((x) => {
5534
5534
  x && te().then((j) => {
5535
- n(37, fe = []), n(19, Te = []), it({
5535
+ n(37, he = []), n(19, Ae = []), it({
5536
5536
  data: x,
5537
5537
  shouldUpdateSelectedCurrencies: p,
5538
5538
  allowed: j
5539
5539
  });
5540
5540
  });
5541
5541
  }).catch((x) => {
5542
- n(16, ce = !0), console.error("There was an error with the player balance request.", x), _e({
5543
- type: Ae.error,
5544
- message: M("generalError"),
5542
+ n(16, ce = !0), console.error("There was an error with the player balance request.", x), Be({
5543
+ type: He.error,
5544
+ message: k("generalError"),
5545
5545
  source: q.BalanceError
5546
5546
  });
5547
5547
  }).finally(() => {
@@ -5555,7 +5555,7 @@ function ba(e, t, n) {
5555
5555
  currency: d == null ? void 0 : d.currency,
5556
5556
  fromCurrency: d == null ? void 0 : d.currency,
5557
5557
  toCurrency: E == null ? void 0 : E.currency,
5558
- payload: { PlayerCurrency: u }
5558
+ payload: { PlayerCurrency: c }
5559
5559
  }, I = {
5560
5560
  method: "POST",
5561
5561
  headers: {
@@ -5565,13 +5565,13 @@ function ba(e, t, n) {
5565
5565
  },
5566
5566
  body: Wn(w)
5567
5567
  };
5568
- fetch(p, I).then((x) => xe(x, q.CheckWalletExchangeError)).then((x) => {
5568
+ fetch(p, I).then((x) => _e(x, q.CheckWalletExchangeError)).then((x) => {
5569
5569
  var j, g;
5570
- x && ((X == null ? void 0 : X.source) === q.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, k = x.fees), Array.isArray(x == null ? void 0 : x.walletActions) && n(9, y = ((g = x.walletActions.find((B) => (B == null ? void 0 : B.directionName) === "Credit")) == null ? void 0 : g.amount) || 0), C > 0 && (d != null && d.currency) && (E != null && E.currency) && u && n(14, ie = !1));
5570
+ x && ((X == null ? void 0 : X.source) === q.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions) && n(9, y = ((g = x.walletActions.find((B) => (B == null ? void 0 : B.directionName) === "Credit")) == null ? void 0 : g.amount) || 0), C > 0 && (d != null && d.currency) && (E != null && E.currency) && c && n(14, ie = !1));
5571
5571
  }).catch((x) => {
5572
- _e({
5573
- type: Ae.error,
5574
- message: M("generalError"),
5572
+ Be({
5573
+ type: He.error,
5574
+ message: k("generalError"),
5575
5575
  source: q.CheckWalletExchangeError
5576
5576
  }), console.error("There was a problem with the wallet exchange request.", x);
5577
5577
  });
@@ -5586,17 +5586,17 @@ function ba(e, t, n) {
5586
5586
  [">", "<", ","].includes(w) && p.preventDefault(), w && !w.match(/[\d.]/) && p.preventDefault(), w === "." && p.target.value.includes(".") && p.preventDefault();
5587
5587
  }, bt = () => {
5588
5588
  C === 0 && n(8, C = null);
5589
- }, de = () => {
5589
+ }, pe = () => {
5590
5590
  const p = new URL(`${o}/v2/player/${i}/wallet-exchange`);
5591
5591
  n(18, se = !0);
5592
5592
  const w = {
5593
- feeDetails: k,
5593
+ feeDetails: M,
5594
5594
  userId: i,
5595
5595
  amount: C,
5596
5596
  currency: d == null ? void 0 : d.currency,
5597
5597
  fromCurrency: d == null ? void 0 : d.currency,
5598
5598
  toCurrency: E == null ? void 0 : E.currency,
5599
- payload: { PlayerCurrency: u }
5599
+ payload: { PlayerCurrency: c }
5600
5600
  }, I = {
5601
5601
  method: "PUT",
5602
5602
  headers: {
@@ -5606,20 +5606,20 @@ function ba(e, t, n) {
5606
5606
  },
5607
5607
  body: Wn(w)
5608
5608
  };
5609
- fetch(p, I).then((x) => xe(x, q.WalletExchangeError)).then((x) => {
5610
- x && (_e({
5611
- type: Ae.success,
5612
- message: M("exchangeSuccess"),
5609
+ fetch(p, I).then((x) => _e(x, q.WalletExchangeError)).then((x) => {
5610
+ x && (Be({
5611
+ type: He.success,
5612
+ message: k("exchangeSuccess"),
5613
5613
  source: "ExchangeSuccess"
5614
5614
  }), ot(!1));
5615
5615
  }).catch((x) => {
5616
- _e({
5617
- type: Ae.error,
5618
- message: M("generalError"),
5616
+ Be({
5617
+ type: He.error,
5618
+ message: k("generalError"),
5619
5619
  source: q.WalletExchangeError
5620
5620
  }), console.error("There was an error with the wallet exchange request.", x);
5621
5621
  }).finally(() => {
5622
- n(18, se = !1), ve(), Se();
5622
+ n(18, se = !1), ve(), Te();
5623
5623
  });
5624
5624
  }, at = (p) => {
5625
5625
  const { data: { type: w } = {} } = p || {};
@@ -5644,36 +5644,30 @@ function ba(e, t, n) {
5644
5644
  function vt() {
5645
5645
  y = St(this.value), n(9, y);
5646
5646
  }
5647
- function me(p) {
5647
+ function de(p) {
5648
5648
  E = p, n(6, E);
5649
5649
  }
5650
5650
  function Et(p) {
5651
5651
  We[p ? "unshift" : "push"](() => {
5652
- pe = p, n(7, pe);
5652
+ fe = p, n(7, fe);
5653
5653
  });
5654
5654
  }
5655
5655
  return e.$$set = (p) => {
5656
- "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, o = p.endpoint), "lang" in p && n(32, a = p.lang), "clientstyling" in p && n(33, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, c = p.translationurl), "playercurrency" in p && n(36, u = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, m = p.showclosebutton), "showcurrencysymbol" in p && n(4, _ = p.showcurrencysymbol);
5656
+ "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, o = p.endpoint), "lang" in p && n(32, a = p.lang), "clientstyling" in p && n(33, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, c = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, m = p.showclosebutton), "showcurrencysymbol" in p && n(4, _ = p.showcurrencysymbol);
5657
5657
  }, e.$$.update = () => {
5658
5658
  e.$$.dirty[1] & /*lang*/
5659
5659
  2 && a && nt(), e.$$.dirty[0] & /*customStylingContainer*/
5660
5660
  128 | e.$$.dirty[1] & /*clientstyling*/
5661
- 4 && s && pe && Me(), e.$$.dirty[0] & /*customStylingContainer*/
5661
+ 4 && s && fe && Me(), e.$$.dirty[0] & /*customStylingContainer*/
5662
5662
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5663
- 8 && l && pe && dt(), e.$$.dirty[1] & /*translationurl*/
5664
- 16 && c && Be(), e.$$.dirty[0] & /*session, userid*/
5665
- 1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5666
- 33 && r && i && o && u && ot(), e.$$.dirty[0] & /*session, userid*/
5663
+ 8 && l && fe && dt(), e.$$.dirty[1] & /*translationurl*/
5664
+ 16 && u && Ce(), e.$$.dirty[0] & /*session, userid*/
5667
5665
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5668
- 33 && (!r || !i || !o || !u) && (n(16, ce = !0), n(17, he = !0), _e({
5669
- type: Ae.error,
5670
- message: M("generalError"),
5671
- source: q.BalanceError
5672
- })), e.$$.dirty[0] & /*selectedCurrencyTo*/
5666
+ 33 && r && i && o && c && ot(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5673
5667
  64 | e.$$.dirty[1] & /*filteredBalances*/
5674
- 64 && n(20, K = fe.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5668
+ 64 && n(20, K = he.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5675
5669
  32 | e.$$.dirty[1] & /*filteredBalances*/
5676
- 64 && n(21, J = fe.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5670
+ 64 && n(21, J = he.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5677
5671
  }, [
5678
5672
  r,
5679
5673
  f,
@@ -5682,19 +5676,19 @@ function ba(e, t, n) {
5682
5676
  _,
5683
5677
  d,
5684
5678
  E,
5685
- pe,
5679
+ fe,
5686
5680
  C,
5687
5681
  y,
5688
5682
  D,
5689
- k,
5683
+ M,
5690
5684
  X,
5691
- be,
5685
+ ge,
5692
5686
  ie,
5693
5687
  W,
5694
5688
  ce,
5695
- he,
5689
+ be,
5696
5690
  se,
5697
- Te,
5691
+ Ae,
5698
5692
  K,
5699
5693
  J,
5700
5694
  ke,
@@ -5704,19 +5698,19 @@ function ba(e, t, n) {
5704
5698
  Vt,
5705
5699
  gt,
5706
5700
  bt,
5707
- de,
5701
+ pe,
5708
5702
  i,
5709
5703
  o,
5710
5704
  a,
5711
5705
  s,
5712
5706
  l,
5713
- c,
5714
5707
  u,
5715
- fe,
5708
+ c,
5709
+ he,
5716
5710
  Ft,
5717
5711
  yt,
5718
5712
  vt,
5719
- me,
5713
+ de,
5720
5714
  Et
5721
5715
  ];
5722
5716
  }