@everymatrix/player-account-vault 1.77.20 → 1.77.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function B() {
2
2
  }
3
- function lr(e) {
3
+ function cr(e) {
4
4
  return e();
5
5
  }
6
- function Cn() {
6
+ function Sn() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function _e(e) {
10
- e.forEach(lr);
9
+ function xe(e) {
10
+ e.forEach(cr);
11
11
  }
12
- function pt(e) {
12
+ function gt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Pt(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Fr(e) {
18
+ function Ur(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function ur(e, ...t) {
21
+ function hr(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const r of t)
24
24
  r(void 0);
@@ -27,24 +27,24 @@ function ur(e, ...t) {
27
27
  const n = e.subscribe(...t);
28
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
29
29
  }
30
- function Vr(e) {
30
+ function Gr(e) {
31
31
  let t;
32
- return ur(e, (n) => t = n)(), t;
32
+ return hr(e, (n) => t = n)(), t;
33
33
  }
34
- function Ur(e) {
35
- return e && pt(e.destroy) ? e.destroy : B;
34
+ function $r(e) {
35
+ return e && gt(e.destroy) ? e.destroy : B;
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function bn(e, t, n) {
41
- const r = Gr(e);
40
+ function En(e, t, n) {
41
+ const r = jr(e);
42
42
  if (!r.getElementById(t)) {
43
43
  const i = w("style");
44
- i.id = t, i.textContent = n, $r(r, i);
44
+ i.id = t, i.textContent = n, Wr(r, i);
45
45
  }
46
46
  }
47
- function Gr(e) {
47
+ function jr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function Gr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function $r(e, t) {
57
+ function Wr(e, t) {
58
58
  return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,29 +67,29 @@ function T(e, t, n) {
67
67
  function A(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function cr(e, t) {
70
+ function fr(e, t) {
71
71
  for (let n = 0; n < e.length; n += 1)
72
72
  e[n] && e[n].d(t);
73
73
  }
74
74
  function w(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Tn(e) {
77
+ function Bn(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function z(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function L() {
83
+ function I() {
84
84
  return z(" ");
85
85
  }
86
- function jr() {
86
+ function Xr() {
87
87
  return z("");
88
88
  }
89
89
  function re(e, t, n, r) {
90
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
- function Wr(e) {
92
+ function zr(e) {
93
93
  return function(t) {
94
94
  return t.stopPropagation(), e.call(this, t);
95
95
  };
@@ -97,23 +97,23 @@ function Wr(e) {
97
97
  function m(e, t, n) {
98
98
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
99
99
  }
100
- function Bt(e) {
100
+ function Ht(e) {
101
101
  return e === "" ? null : +e;
102
102
  }
103
- function Xr(e) {
103
+ function Zr(e) {
104
104
  return Array.from(e.childNodes);
105
105
  }
106
106
  function ie(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function _t(e, t) {
110
+ function xt(e, t) {
111
111
  e.value = t ?? "";
112
112
  }
113
113
  function le(e, t, n) {
114
114
  e.classList.toggle(t, !!n);
115
115
  }
116
- function zr(e) {
116
+ function qr(e) {
117
117
  const t = {};
118
118
  return e.childNodes.forEach(
119
119
  /** @param {Element} node */
@@ -122,125 +122,125 @@ function zr(e) {
122
122
  }
123
123
  ), t;
124
124
  }
125
- let lt;
126
- function st(e) {
127
- lt = e;
125
+ let ut;
126
+ function lt(e) {
127
+ ut = e;
128
128
  }
129
- function hr() {
130
- if (!lt)
129
+ function pr() {
130
+ if (!ut)
131
131
  throw new Error("Function called outside component initialization");
132
- return lt;
132
+ return ut;
133
133
  }
134
- function fr(e) {
135
- hr().$$.on_mount.push(e);
134
+ function gr(e) {
135
+ pr().$$.on_mount.push(e);
136
136
  }
137
- function Zr(e) {
138
- hr().$$.on_destroy.push(e);
137
+ function Kr(e) {
138
+ pr().$$.on_destroy.push(e);
139
139
  }
140
- const Ue = [], $e = [];
141
- let Ge = [];
142
- const Jt = [], qr = /* @__PURE__ */ Promise.resolve();
143
- let en = !1;
144
- function Kr() {
145
- en || (en = !0, qr.then(G));
140
+ const Ge = [], je = [];
141
+ let $e = [];
142
+ const tn = [], Qr = /* @__PURE__ */ Promise.resolve();
143
+ let nn = !1;
144
+ function Yr() {
145
+ nn || (nn = !0, Qr.then(G));
146
146
  }
147
- function tn(e) {
148
- Ge.push(e);
147
+ function rn(e) {
148
+ $e.push(e);
149
149
  }
150
- function Sn(e) {
151
- Jt.push(e);
150
+ function Hn(e) {
151
+ tn.push(e);
152
152
  }
153
- const Gt = /* @__PURE__ */ new Set();
154
- let Fe = 0;
153
+ const jt = /* @__PURE__ */ new Set();
154
+ let Ve = 0;
155
155
  function G() {
156
- if (Fe !== 0)
156
+ if (Ve !== 0)
157
157
  return;
158
- const e = lt;
158
+ const e = ut;
159
159
  do {
160
160
  try {
161
- for (; Fe < Ue.length; ) {
162
- const t = Ue[Fe];
163
- Fe++, st(t), Qr(t.$$);
161
+ for (; Ve < Ge.length; ) {
162
+ const t = Ge[Ve];
163
+ Ve++, lt(t), Jr(t.$$);
164
164
  }
165
165
  } catch (t) {
166
- throw Ue.length = 0, Fe = 0, t;
166
+ throw Ge.length = 0, Ve = 0, t;
167
167
  }
168
- for (st(null), Ue.length = 0, Fe = 0; $e.length; )
169
- $e.pop()();
170
- for (let t = 0; t < Ge.length; t += 1) {
171
- const n = Ge[t];
172
- Gt.has(n) || (Gt.add(n), n());
168
+ for (lt(null), Ge.length = 0, Ve = 0; je.length; )
169
+ je.pop()();
170
+ for (let t = 0; t < $e.length; t += 1) {
171
+ const n = $e[t];
172
+ jt.has(n) || (jt.add(n), n());
173
173
  }
174
- Ge.length = 0;
175
- } while (Ue.length);
176
- for (; Jt.length; )
177
- Jt.pop()();
178
- en = !1, Gt.clear(), st(e);
174
+ $e.length = 0;
175
+ } while (Ge.length);
176
+ for (; tn.length; )
177
+ tn.pop()();
178
+ nn = !1, jt.clear(), lt(e);
179
179
  }
180
- function Qr(e) {
180
+ function Jr(e) {
181
181
  if (e.fragment !== null) {
182
- e.update(), _e(e.before_update);
182
+ e.update(), xe(e.before_update);
183
183
  const t = e.dirty;
184
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tn);
184
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rn);
185
185
  }
186
186
  }
187
- function Yr(e) {
187
+ function ei(e) {
188
188
  const t = [], n = [];
189
- Ge.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ge = t;
189
+ $e.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), $e = t;
190
190
  }
191
- const At = /* @__PURE__ */ new Set();
192
- let Ne;
193
- function Pe() {
194
- Ne = {
191
+ const Ct = /* @__PURE__ */ new Set();
192
+ let Pe;
193
+ function Oe() {
194
+ Pe = {
195
195
  r: 0,
196
196
  c: [],
197
- p: Ne
197
+ p: Pe
198
198
  // parent group
199
199
  };
200
200
  }
201
- function Oe() {
202
- Ne.r || _e(Ne.c), Ne = Ne.p;
201
+ function Re() {
202
+ Pe.r || xe(Pe.c), Pe = Pe.p;
203
203
  }
204
204
  function $(e, t) {
205
- e && e.i && (At.delete(e), e.i(t));
205
+ e && e.i && (Ct.delete(e), e.i(t));
206
206
  }
207
207
  function X(e, t, n, r) {
208
208
  if (e && e.o) {
209
- if (At.has(e))
209
+ if (Ct.has(e))
210
210
  return;
211
- At.add(e), Ne.c.push(() => {
212
- At.delete(e), r && (n && e.d(1), r());
211
+ Ct.add(e), Pe.c.push(() => {
212
+ Ct.delete(e), r && (n && e.d(1), r());
213
213
  }), e.o(t);
214
214
  } else
215
215
  r && r();
216
216
  }
217
- function Ht(e) {
217
+ function It(e) {
218
218
  return e?.length !== void 0 ? e : Array.from(e);
219
219
  }
220
- function Bn(e, t, n) {
220
+ function In(e, t, n) {
221
221
  const r = e.$$.props[t];
222
222
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
223
223
  }
224
- function ut(e) {
224
+ function ct(e) {
225
225
  e && e.c();
226
226
  }
227
- function je(e, t, n) {
227
+ function We(e, t, n) {
228
228
  const { fragment: r, after_update: i } = e.$$;
229
- r && r.m(t, n), tn(() => {
230
- const a = e.$$.on_mount.map(lr).filter(pt);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : _e(a), e.$$.on_mount = [];
232
- }), i.forEach(tn);
229
+ r && r.m(t, n), rn(() => {
230
+ const a = e.$$.on_mount.map(cr).filter(gt);
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : xe(a), e.$$.on_mount = [];
232
+ }), i.forEach(rn);
233
233
  }
234
- function We(e, t) {
234
+ function Xe(e, t) {
235
235
  const n = e.$$;
236
- n.fragment !== null && (Yr(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
236
+ n.fragment !== null && (ei(n.after_update), xe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
237
237
  }
238
- function Jr(e, t) {
239
- e.$$.dirty[0] === -1 && (Ue.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
+ function ti(e, t) {
239
+ e.$$.dirty[0] === -1 && (Ge.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
- function vn(e, t, n, r, i, a, o = null, l = [-1]) {
242
- const s = lt;
243
- st(e);
241
+ function _n(e, t, n, r, i, a, o = null, l = [-1]) {
242
+ const s = ut;
243
+ lt(e);
244
244
  const u = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
@@ -248,7 +248,7 @@ function vn(e, t, n, r, i, a, o = null, l = [-1]) {
248
248
  props: a,
249
249
  update: B,
250
250
  not_equal: i,
251
- bound: Cn(),
251
+ bound: Sn(),
252
252
  // lifecycle
253
253
  on_mount: [],
254
254
  on_destroy: [],
@@ -257,7 +257,7 @@ function vn(e, t, n, r, i, a, o = null, l = [-1]) {
257
257
  after_update: [],
258
258
  context: new Map(t.context || (s ? s.$$.context : [])),
259
259
  // everything else
260
- callbacks: Cn(),
260
+ callbacks: Sn(),
261
261
  dirty: l,
262
262
  skip_bound: !1,
263
263
  root: t.target || s.$$.root
@@ -266,19 +266,19 @@ function vn(e, t, n, r, i, a, o = null, l = [-1]) {
266
266
  let h = !1;
267
267
  if (u.ctx = n ? n(e, t.props || {}, (f, c, ...g) => {
268
268
  const b = g.length ? g[0] : c;
269
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Jr(e, f)), c;
270
- }) : [], u.update(), h = !0, _e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
269
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && ti(e, f)), c;
270
+ }) : [], u.update(), h = !0, xe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
- const f = Xr(t.target);
272
+ const f = Zr(t.target);
273
273
  u.fragment && u.fragment.l(f), f.forEach(A);
274
274
  } else
275
275
  u.fragment && u.fragment.c();
276
- t.intro && $(e.$$.fragment), je(e, t.target, t.anchor), G();
276
+ t.intro && $(e.$$.fragment), We(e, t.target, t.anchor), G();
277
277
  }
278
- st(s);
278
+ lt(s);
279
279
  }
280
- let pr;
281
- typeof HTMLElement == "function" && (pr = class extends HTMLElement {
280
+ let dr;
281
+ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
282
282
  /** The Svelte component constructor */
283
283
  $$ctor;
284
284
  /** Slots */
@@ -337,12 +337,12 @@ typeof HTMLElement == "function" && (pr = class extends HTMLElement {
337
337
  };
338
338
  if (await Promise.resolve(), !this.$$cn || this.$$c)
339
339
  return;
340
- const t = {}, n = zr(this);
340
+ const t = {}, n = qr(this);
341
341
  for (const i of this.$$s)
342
342
  i in n && (t[i] = [e(i)]);
343
343
  for (const i of this.attributes) {
344
344
  const a = this.$$g_p(i.name);
345
- a in this.$$d || (this.$$d[a] = Ct(a, i.value, this.$$p_d, "toProp"));
345
+ a in this.$$d || (this.$$d[a] = Tt(a, i.value, this.$$p_d, "toProp"));
346
346
  }
347
347
  for (const i in this.$$p_d)
348
348
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (pr = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const i in this.$$p_d)
362
362
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
363
- const a = Ct(
363
+ const a = Tt(
364
364
  i,
365
365
  this.$$d[i],
366
366
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (pr = class extends HTMLElement {
382
382
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
383
383
  // and setting attributes through setAttribute etc, this is helpful
384
384
  attributeChangedCallback(e, t, n) {
385
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ct(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Tt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (pr = class extends HTMLElement {
395
395
  ) || e;
396
396
  }
397
397
  });
398
- function Ct(e, t, n, r) {
398
+ function Tt(e, t, n, r) {
399
399
  const i = n[e]?.type;
400
400
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
401
401
  return t;
@@ -424,8 +424,8 @@ function Ct(e, t, n, r) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function En(e, t, n, r, i, a) {
428
- let o = class extends pr {
427
+ function xn(e, t, n, r, i, a) {
428
+ let o = class extends dr {
429
429
  constructor() {
430
430
  super(e, n, i), this.$$p_d = t;
431
431
  }
@@ -441,7 +441,7 @@ function En(e, t, n, r, i, a) {
441
441
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
442
442
  },
443
443
  set(s) {
444
- s = Ct(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
444
+ s = Tt(l, s, t), this.$$d[l] = s, this.$$c?.$set({ [l]: s });
445
445
  }
446
446
  });
447
447
  }), r.forEach((l) => {
@@ -453,7 +453,7 @@ function En(e, t, n, r, i, a) {
453
453
  }), e.element = /** @type {any} */
454
454
  o, o;
455
455
  }
456
- class _n {
456
+ class wn {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -472,7 +472,7 @@ class _n {
472
472
  $$set = void 0;
473
473
  /** @returns {void} */
474
474
  $destroy() {
475
- We(this, 1), this.$destroy = B;
475
+ Xe(this, 1), this.$destroy = B;
476
476
  }
477
477
  /**
478
478
  * @template {Extract<keyof Events, string>} K
@@ -481,7 +481,7 @@ class _n {
481
481
  * @returns {() => void}
482
482
  */
483
483
  $on(t, n) {
484
- if (!pt(n))
484
+ if (!gt(n))
485
485
  return B;
486
486
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
487
487
  return r.push(n), () => {
@@ -494,26 +494,26 @@ class _n {
494
494
  * @returns {void}
495
495
  */
496
496
  $set(t) {
497
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
497
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
498
498
  }
499
499
  }
500
- const ei = "4";
501
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ei);
502
- function It(e, t) {
500
+ const ni = "4";
501
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ni);
502
+ function Lt(e, t) {
503
503
  var n;
504
504
  t === void 0 && (t = "0");
505
505
  var r = 0, i = -1;
506
- e[0] == "-" && (e = e.substring(1), nn(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), nn(t) || (r++, i = 2, t.length)), e = q(e), t = q(t), n = xn(q(e), q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = $t(e) : i === 2 && (t = $t(t)));
507
- var a = gr(e, t);
508
- return r ? r == 2 ? "-" + q(a) : e.length < a.length ? q(a.substring(1)) : "-" + q($t(a)) : q(a);
506
+ e[0] == "-" && (e = e.substring(1), an(e) || (r++, i = 1, e.length)), t[0] == "-" && (t = t.substring(1), an(t) || (r++, i = 2, t.length)), e = q(e), t = q(t), n = An(q(e), q(t)), e = n[0], t = n[1], r == 1 && (i === 1 ? e = Wt(e) : i === 2 && (t = Wt(t)));
507
+ var a = mr(e, t);
508
+ return r ? r == 2 ? "-" + q(a) : e.length < a.length ? q(a.substring(1)) : "-" + q(Wt(a)) : q(a);
509
509
  }
510
- function $t(e) {
511
- if (nn(e))
510
+ function Wt(e) {
511
+ if (an(e))
512
512
  return e;
513
513
  for (var t = "", n = e.length, r = e.split(".")[1], i = r ? r.length : 0, a = 0; a < n; a++)
514
514
  e[a] >= "0" && e[a] <= "9" ? t += 9 - parseInt(e[a]) : t += e[a];
515
515
  var o = i > 0 ? "0." + new Array(i).join("0") + "1" : "1";
516
- return gr(t, o);
516
+ return mr(t, o);
517
517
  }
518
518
  function q(e) {
519
519
  var t = e.split(".");
@@ -521,13 +521,13 @@ function q(e) {
521
521
  t[0] = t[0].substring(1);
522
522
  return t[0] + (t[1] ? "." + t[1] : "");
523
523
  }
524
- function xn(e, t) {
524
+ function An(e, t) {
525
525
  var n = e.split("."), r = t.split("."), i = n[0].length, a = r[0].length;
526
526
  return i > a ? r[0] = new Array(Math.abs(i - a) + 1).join("0") + (r[0] ? r[0] : "") : n[0] = new Array(Math.abs(i - a) + 1).join("0") + (n[0] ? n[0] : ""), i = n[1] ? n[1].length : 0, a = r[1] ? r[1].length : 0, (i || a) && (i > a ? r[1] = (r[1] ? r[1] : "") + new Array(Math.abs(i - a) + 1).join("0") : n[1] = (n[1] ? n[1] : "") + new Array(Math.abs(i - a) + 1).join("0")), e = n[0] + (n[1] ? "." + n[1] : ""), t = r[0] + (r[1] ? "." + r[1] : ""), [e, t];
527
527
  }
528
- function gr(e, t) {
528
+ function mr(e, t) {
529
529
  var n;
530
- n = xn(e, t), e = n[0], t = n[1];
530
+ n = An(e, t), e = n[0], t = n[1];
531
531
  for (var r = "", i = 0, a = e.length - 1; a >= 0; a--) {
532
532
  if (e[a] === ".") {
533
533
  r = "." + r;
@@ -538,17 +538,17 @@ function gr(e, t) {
538
538
  }
539
539
  return i ? i.toString() + r : r;
540
540
  }
541
- function nn(e) {
541
+ function an(e) {
542
542
  return /^0[0]*[.]{0,1}[0]*$/.test(e);
543
543
  }
544
- function Hn(e) {
544
+ function Ln(e) {
545
545
  return (typeof e == "number" || typeof e == "bigint") && (e = e.toString()), e[0] == "-" ? e.substring(1) : e;
546
546
  }
547
547
  var V;
548
548
  (function(e) {
549
549
  e[e.CEILING = 0] = "CEILING", e[e.DOWN = 1] = "DOWN", e[e.FLOOR = 2] = "FLOOR", e[e.HALF_DOWN = 3] = "HALF_DOWN", e[e.HALF_EVEN = 4] = "HALF_EVEN", e[e.HALF_UP = 5] = "HALF_UP", e[e.UNNECESSARY = 6] = "UNNECESSARY", e[e.UP = 7] = "UP";
550
550
  })(V || (V = {}));
551
- function ct(e, t, n) {
551
+ function ht(e, t, n) {
552
552
  if (t === void 0 && (t = 0), n === void 0 && (n = V.HALF_EVEN), n === V.UNNECESSARY)
553
553
  throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");
554
554
  (typeof e == "number" || typeof e == "bigint") && (e = e.toString());
@@ -559,10 +559,10 @@ function ct(e, t, n) {
559
559
  if (t = -t, a.length <= t)
560
560
  return "0";
561
561
  var l = a.substr(0, a.length - t);
562
- return e = l + "." + a.substr(a.length - t) + o, l = ct(e, 0, n), (r ? "-" : "") + l + new Array(t + 1).join("0");
562
+ return e = l + "." + a.substr(a.length - t) + o, l = ht(e, 0, n), (r ? "-" : "") + l + new Array(t + 1).join("0");
563
563
  }
564
564
  if (t == 0)
565
- return a.length, In(i[1], a, r, n) && (a = jt(a)), (r && parseInt(a) ? "-" : "") + a;
565
+ return a.length, Nn(i[1], a, r, n) && (a = Xt(a)), (r && parseInt(a) ? "-" : "") + a;
566
566
  if (i[1]) {
567
567
  if (i[1].length < t)
568
568
  return (r ? "-" : "") + a + "." + i[1] + new Array(t - i[1].length + 1).join("0");
@@ -570,9 +570,9 @@ function ct(e, t, n) {
570
570
  return (r ? "-" : "") + a + "." + new Array(t + 1).join("0");
571
571
  o = i[1].substring(0, t);
572
572
  var s = i[1].substring(t);
573
- return s && In(s, o, r, n) && (o = jt(o), o.length > t) ? (r ? "-" : "") + jt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
573
+ return s && Nn(s, o, r, n) && (o = Xt(o), o.length > t) ? (r ? "-" : "") + Xt(a, parseInt(o[0])) + "." + o.substring(1) : (r && (parseInt(a) || parseInt(o)) ? "-" : "") + a + "." + o;
574
574
  }
575
- function In(e, t, n, r) {
575
+ function Nn(e, t, n, r) {
576
576
  if (!e || e === new Array(e.length + 1).join("0") || r === V.DOWN || !n && r === V.FLOOR || n && r === V.CEILING)
577
577
  return !1;
578
578
  if (r === V.UP || n && r === V.FLOOR || !n && r === V.CEILING)
@@ -592,7 +592,7 @@ function In(e, t, n, r) {
592
592
  return parseInt(t[t.length - 1]) % 2 == 1;
593
593
  }
594
594
  }
595
- function jt(e, t) {
595
+ function Xt(e, t) {
596
596
  t === void 0 && (t = 0), t || (t = 1), typeof e == "number" && e.toString();
597
597
  for (var n = e.length - 1, r = "", i = n; i >= 0; i--) {
598
598
  var a = parseInt(e[i]) + t;
@@ -600,7 +600,7 @@ function jt(e, t) {
600
600
  }
601
601
  return t && (r += t), r.split("").reverse().join("");
602
602
  }
603
- function Be(e) {
603
+ function He(e) {
604
604
  var t = e[0] === "-";
605
605
  for (t && (e = e.substr(1)); e[0] == "0"; )
606
606
  e = e.substr(1);
@@ -609,14 +609,14 @@ function Be(e) {
609
609
  e = e.substr(0, e.length - 1);
610
610
  return e == "" || e == "." ? e = "0" : e[e.length - 1] == "." && (e = e.substr(0, e.length - 1)), e[0] == "." && (e = "0" + e), t && e != "0" && (e = "-" + e), e;
611
611
  }
612
- function rn(e, t) {
612
+ function on(e, t) {
613
613
  e = e.toString(), t = t.toString();
614
614
  var n = 0;
615
- e[0] == "-" && (n++, e = e.substr(1)), t[0] == "-" && (n++, t = t.substr(1)), e = Be(e), t = Be(t);
615
+ e[0] == "-" && (n++, e = e.substr(1)), t[0] == "-" && (n++, t = t.substr(1)), e = He(e), t = He(t);
616
616
  var r = 0, i = 0;
617
617
  e.indexOf(".") != -1 && (r = e.length - e.indexOf(".") - 1), t.indexOf(".") != -1 && (i = t.length - t.indexOf(".") - 1);
618
618
  var a = r + i;
619
- if (e = Be(e.replace(".", "")), t = Be(t.replace(".", "")), e.length < t.length) {
619
+ if (e = He(e.replace(".", "")), t = He(t.replace(".", "")), e.length < t.length) {
620
620
  var o = e;
621
621
  e = t, t = o;
622
622
  }
@@ -629,12 +629,12 @@ function rn(e, t) {
629
629
  u[b] > -1 && u[b] < e.length && (g += parseInt(e[u[b]--]) * parseInt(t[b]));
630
630
  g += s, s = Math.floor(g / 10), f = g % 10 + f, h--;
631
631
  }
632
- return f = Be(ti(f, a)), n == 1 && (f = "-" + f), f;
632
+ return f = He(ri(f, a)), n == 1 && (f = "-" + f), f;
633
633
  }
634
- function ti(e, t) {
634
+ function ri(e, t) {
635
635
  return t == 0 ? e : (e = t >= e.length ? new Array(t - e.length + 1).join("0") + e : e, e.substr(0, e.length - t) + "." + e.substr(e.length - t, t));
636
636
  }
637
- function an(e, t, n, r) {
637
+ function sn(e, t, n, r) {
638
638
  if (n === void 0 && (n = 8), r === void 0 && (r = V.HALF_EVEN), t == 0)
639
639
  throw new Error("Cannot divide by 0");
640
640
  if (e = e.toString(), t = t.toString(), e = e.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), t = t.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), e == 0)
@@ -662,46 +662,46 @@ function an(e, t, n, r) {
662
662
  }
663
663
  for (n = n + 2; s <= n; ) {
664
664
  for (var g = 0; parseInt(f) >= parseInt(t); )
665
- f = It(f, "-" + t), g++;
665
+ f = Lt(f, "-" + t), g++;
666
666
  h += g, e ? (e[0] == "." && (h += ".", s++, e = e.substring(1)), f = f + e.substring(0, 1), e = e.substring(1)) : (s || (h += "."), s++, f = f + "0");
667
667
  }
668
- return (i == 1 ? "-" : "") + q(ct(h, n - 2, r));
668
+ return (i == 1 ? "-" : "") + q(ht(h, n - 2, r));
669
669
  }
670
- function on(e, t) {
671
- return e = e.toString(), t = t.toString(), t = sn(t), It(e, t);
670
+ function ln(e, t) {
671
+ return e = e.toString(), t = t.toString(), t = un(t), Lt(e, t);
672
672
  }
673
- function sn(e) {
673
+ function un(e) {
674
674
  return e[0] == "-" ? e = e.substr(1) : e = "-" + e, e;
675
675
  }
676
- function Ln(e, t) {
676
+ function Pn(e, t) {
677
677
  if (t == 0)
678
678
  throw new Error("Cannot divide by 0");
679
- e = e.toString(), t = t.toString(), Nn(e), Nn(t);
679
+ e = e.toString(), t = t.toString(), On(e), On(t);
680
680
  var n = "";
681
681
  e[0] == "-" && (n = "-", e = e.substr(1)), t[0] == "-" && (t = t.substr(1));
682
- var r = on(e, rn(t, ct(an(e, t), 0, V.FLOOR)));
682
+ var r = ln(e, on(t, ht(sn(e, t), 0, V.FLOOR)));
683
683
  return n + r;
684
684
  }
685
- function Nn(e) {
685
+ function On(e) {
686
686
  if (e.indexOf(".") != -1)
687
687
  throw new Error("Modulus of non-integers not supported");
688
688
  }
689
- function Pn(e, t) {
689
+ function Rn(e, t) {
690
690
  var n, r, i = !1;
691
691
  if (n = [e, t].map(function(o) {
692
- return Be(o);
692
+ return He(o);
693
693
  }), e = n[0], t = n[1], e[0] == "-" && t[0] != "-")
694
694
  return -1;
695
695
  if (e[0] != "-" && t[0] == "-")
696
696
  return 1;
697
- if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = xn(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
697
+ if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), i = !0), r = An(e, t), e = r[0], t = r[1], e.localeCompare(t) == 0)
698
698
  return 0;
699
699
  for (var a = 0; a < e.length; a++)
700
700
  if (e[a] != t[a])
701
701
  return e[a] > t[a] ? i ? -1 : 1 : i ? 1 : -1;
702
702
  return 0;
703
703
  }
704
- var ni = (
704
+ var ii = (
705
705
  /** @class */
706
706
  function() {
707
707
  function e(t) {
@@ -739,15 +739,15 @@ var ni = (
739
739
  }, e.round = function(t, n, r) {
740
740
  if (n === void 0 && (n = 0), r === void 0 && (r = V.HALF_EVEN), t = e.validate(t), isNaN(n))
741
741
  throw Error("Precision is not a number: " + n);
742
- return ct(t, n, r);
742
+ return ht(t, n, r);
743
743
  }, e.prototype.round = function(t, n) {
744
744
  if (t === void 0 && (t = 0), n === void 0 && (n = V.HALF_EVEN), isNaN(t))
745
745
  throw Error("Precision is not a number: " + t);
746
- return new e(ct(this.value, t, n));
746
+ return new e(ht(this.value, t, n));
747
747
  }, e.abs = function(t) {
748
- return t = e.validate(t), Hn(t);
748
+ return t = e.validate(t), Ln(t);
749
749
  }, e.prototype.abs = function() {
750
- return new e(Hn(this.value));
750
+ return new e(Ln(this.value));
751
751
  }, e.floor = function(t) {
752
752
  return t = e.validate(t), t.indexOf(".") === -1 ? t : e.round(t, 0, V.FLOOR);
753
753
  }, e.prototype.floor = function() {
@@ -757,58 +757,58 @@ var ni = (
757
757
  }, e.prototype.ceil = function() {
758
758
  return this.value.indexOf(".") === -1 ? new e(this.value) : new e(this.value).round(0, V.CEILING);
759
759
  }, e.add = function(t, n) {
760
- return t = e.validate(t), n = e.validate(n), It(t, n);
760
+ return t = e.validate(t), n = e.validate(n), Lt(t, n);
761
761
  }, e.prototype.add = function(t) {
762
- return new e(It(this.value, t.getValue()));
762
+ return new e(Lt(this.value, t.getValue()));
763
763
  }, e.subtract = function(t, n) {
764
- return t = e.validate(t), n = e.validate(n), on(t, n);
764
+ return t = e.validate(t), n = e.validate(n), ln(t, n);
765
765
  }, e.prototype.subtract = function(t) {
766
- return new e(on(this.value, t.getValue()));
766
+ return new e(ln(this.value, t.getValue()));
767
767
  }, e.multiply = function(t, n) {
768
- return t = e.validate(t), n = e.validate(n), rn(t, n);
768
+ return t = e.validate(t), n = e.validate(n), on(t, n);
769
769
  }, e.prototype.multiply = function(t) {
770
- return new e(rn(this.value, t.getValue()));
770
+ return new e(on(this.value, t.getValue()));
771
771
  }, e.divide = function(t, n, r, i) {
772
- return t = e.validate(t), n = e.validate(n), an(t, n, r, i);
772
+ return t = e.validate(t), n = e.validate(n), sn(t, n, r, i);
773
773
  }, e.prototype.divide = function(t, n, r) {
774
- return new e(an(this.value, t.getValue(), n, r));
774
+ return new e(sn(this.value, t.getValue(), n, r));
775
775
  }, e.modulus = function(t, n) {
776
- return t = e.validate(t), n = e.validate(n), Ln(t, n);
776
+ return t = e.validate(t), n = e.validate(n), Pn(t, n);
777
777
  }, e.prototype.modulus = function(t) {
778
- return new e(Ln(this.value, t.getValue()));
778
+ return new e(Pn(this.value, t.getValue()));
779
779
  }, e.compareTo = function(t, n) {
780
- return t = e.validate(t), n = e.validate(n), Pn(t, n);
780
+ return t = e.validate(t), n = e.validate(n), Rn(t, n);
781
781
  }, e.prototype.compareTo = function(t) {
782
- return Pn(this.value, t.getValue());
782
+ return Rn(this.value, t.getValue());
783
783
  }, e.negate = function(t) {
784
- return t = e.validate(t), sn(t);
784
+ return t = e.validate(t), un(t);
785
785
  }, e.prototype.negate = function() {
786
- return new e(sn(this.value));
786
+ return new e(un(this.value));
787
787
  }, e.stripTrailingZero = function(t) {
788
- return t = e.validate(t), Be(t);
788
+ return t = e.validate(t), He(t);
789
789
  }, e.prototype.stripTrailingZero = function() {
790
- return new e(Be(this.value));
790
+ return new e(He(this.value));
791
791
  }, e.RoundingModes = V, e;
792
792
  }()
793
793
  );
794
- const Ve = [];
795
- function ri(e, t) {
794
+ const Ue = [];
795
+ function ai(e, t) {
796
796
  return {
797
- subscribe: Ot(e, t).subscribe
797
+ subscribe: Dt(e, t).subscribe
798
798
  };
799
799
  }
800
- function Ot(e, t = B) {
800
+ function Dt(e, t = B) {
801
801
  let n;
802
802
  const r = /* @__PURE__ */ new Set();
803
803
  function i(l) {
804
- if (Pt(e, l) && (e = l, n)) {
805
- const s = !Ve.length;
804
+ if (Rt(e, l) && (e = l, n)) {
805
+ const s = !Ue.length;
806
806
  for (const u of r)
807
- u[1](), Ve.push(u, e);
807
+ u[1](), Ue.push(u, e);
808
808
  if (s) {
809
- for (let u = 0; u < Ve.length; u += 2)
810
- Ve[u][0](Ve[u + 1]);
811
- Ve.length = 0;
809
+ for (let u = 0; u < Ue.length; u += 2)
810
+ Ue[u][0](Ue[u + 1]);
811
+ Ue.length = 0;
812
812
  }
813
813
  }
814
814
  }
@@ -823,12 +823,12 @@ function Ot(e, t = B) {
823
823
  }
824
824
  return { set: i, update: a, subscribe: o };
825
825
  }
826
- function Ke(e, t, n) {
826
+ function Qe(e, t, n) {
827
827
  const r = !Array.isArray(e), i = r ? [e] : e;
828
828
  if (!i.every(Boolean))
829
829
  throw new Error("derived() expects stores as input, got a falsy value");
830
830
  const a = t.length < 2;
831
- return ri(n, (o, l) => {
831
+ return ai(n, (o, l) => {
832
832
  let s = !1;
833
833
  const u = [];
834
834
  let h = 0, f = B;
@@ -837,12 +837,12 @@ function Ke(e, t, n) {
837
837
  return;
838
838
  f();
839
839
  const b = t(r ? u[0] : u, o, l);
840
- a ? o(b) : f = pt(b) ? b : B;
840
+ a ? o(b) : f = gt(b) ? b : B;
841
841
  }, g = i.map(
842
- (b, y) => ur(
842
+ (b, y) => hr(
843
843
  b,
844
- (P) => {
845
- u[y] = P, h &= ~(1 << y), s && c();
844
+ (N) => {
845
+ u[y] = N, h &= ~(1 << y), s && c();
846
846
  },
847
847
  () => {
848
848
  h |= 1 << y;
@@ -850,126 +850,112 @@ function Ke(e, t, n) {
850
850
  )
851
851
  );
852
852
  return s = !0, c(), function() {
853
- _e(g), f(), s = !1;
853
+ xe(g), f(), s = !1;
854
854
  };
855
855
  });
856
856
  }
857
- function ii(e) {
857
+ function oi(e) {
858
858
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
859
859
  }
860
- var ai = function(t) {
861
- return oi(t) && !si(t);
860
+ var si = function(t) {
861
+ return li(t) && !ui(t);
862
862
  };
863
- function oi(e) {
863
+ function li(e) {
864
864
  return !!e && typeof e == "object";
865
865
  }
866
- function si(e) {
866
+ function ui(e) {
867
867
  var t = Object.prototype.toString.call(e);
868
- return t === "[object RegExp]" || t === "[object Date]" || ci(e);
868
+ return t === "[object RegExp]" || t === "[object Date]" || fi(e);
869
869
  }
870
- var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
871
- function ci(e) {
872
- return e.$$typeof === ui;
870
+ var ci = typeof Symbol == "function" && Symbol.for, hi = ci ? Symbol.for("react.element") : 60103;
871
+ function fi(e) {
872
+ return e.$$typeof === hi;
873
873
  }
874
- function hi(e) {
874
+ function pi(e) {
875
875
  return Array.isArray(e) ? [] : {};
876
876
  }
877
- function ht(e, t) {
878
- return t.clone !== !1 && t.isMergeableObject(e) ? Xe(hi(e), e, t) : e;
877
+ function ft(e, t) {
878
+ return t.clone !== !1 && t.isMergeableObject(e) ? ze(pi(e), e, t) : e;
879
879
  }
880
- function fi(e, t, n) {
880
+ function gi(e, t, n) {
881
881
  return e.concat(t).map(function(r) {
882
- return ht(r, n);
882
+ return ft(r, n);
883
883
  });
884
884
  }
885
- function pi(e, t) {
885
+ function di(e, t) {
886
886
  if (!t.customMerge)
887
- return Xe;
887
+ return ze;
888
888
  var n = t.customMerge(e);
889
- return typeof n == "function" ? n : Xe;
889
+ return typeof n == "function" ? n : ze;
890
890
  }
891
- function gi(e) {
891
+ function mi(e) {
892
892
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
893
893
  return Object.propertyIsEnumerable.call(e, t);
894
894
  }) : [];
895
895
  }
896
- function On(e) {
897
- return Object.keys(e).concat(gi(e));
896
+ function Dn(e) {
897
+ return Object.keys(e).concat(mi(e));
898
898
  }
899
- function dr(e, t) {
899
+ function yr(e, t) {
900
900
  try {
901
901
  return t in e;
902
902
  } catch {
903
903
  return !1;
904
904
  }
905
905
  }
906
- function di(e, t) {
907
- return dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
906
+ function yi(e, t) {
907
+ return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
908
908
  }
909
- function mi(e, t, n) {
909
+ function bi(e, t, n) {
910
910
  var r = {};
911
- return n.isMergeableObject(e) && On(e).forEach(function(i) {
912
- r[i] = ht(e[i], n);
913
- }), On(t).forEach(function(i) {
914
- di(e, i) || (dr(e, i) && n.isMergeableObject(t[i]) ? r[i] = pi(i, n)(e[i], t[i], n) : r[i] = ht(t[i], n));
911
+ return n.isMergeableObject(e) && Dn(e).forEach(function(i) {
912
+ r[i] = ft(e[i], n);
913
+ }), Dn(t).forEach(function(i) {
914
+ yi(e, i) || (yr(e, i) && n.isMergeableObject(t[i]) ? r[i] = di(i, n)(e[i], t[i], n) : r[i] = ft(t[i], n));
915
915
  }), r;
916
916
  }
917
- function Xe(e, t, n) {
918
- n = n || {}, n.arrayMerge = n.arrayMerge || fi, n.isMergeableObject = n.isMergeableObject || ai, n.cloneUnlessOtherwiseSpecified = ht;
917
+ function ze(e, t, n) {
918
+ n = n || {}, n.arrayMerge = n.arrayMerge || gi, n.isMergeableObject = n.isMergeableObject || si, n.cloneUnlessOtherwiseSpecified = ft;
919
919
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
920
- return a ? r ? n.arrayMerge(e, t, n) : mi(e, t, n) : ht(t, n);
920
+ return a ? r ? n.arrayMerge(e, t, n) : bi(e, t, n) : ft(t, n);
921
921
  }
922
- Xe.all = function(t, n) {
922
+ ze.all = function(t, n) {
923
923
  if (!Array.isArray(t))
924
924
  throw new Error("first argument should be an array");
925
925
  return t.reduce(function(r, i) {
926
- return Xe(r, i, n);
926
+ return ze(r, i, n);
927
927
  }, {});
928
928
  };
929
- var yi = Xe, bi = yi;
930
- const vi = /* @__PURE__ */ ii(bi);
931
- /*! *****************************************************************************
932
- Copyright (c) Microsoft Corporation.
933
-
934
- Permission to use, copy, modify, and/or distribute this software for any
935
- purpose with or without fee is hereby granted.
936
-
937
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
938
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
939
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
940
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
941
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
942
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
943
- PERFORMANCE OF THIS SOFTWARE.
944
- ***************************************************************************** */
945
- var ln = function(e, t) {
946
- return ln = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
929
+ var vi = ze, Ei = vi;
930
+ const _i = /* @__PURE__ */ oi(Ei);
931
+ var cn = function(e, t) {
932
+ return cn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
947
933
  n.__proto__ = r;
948
934
  } || function(n, r) {
949
935
  for (var i in r)
950
936
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
951
- }, ln(e, t);
937
+ }, cn(e, t);
952
938
  };
953
- function Rt(e, t) {
939
+ function kt(e, t) {
954
940
  if (typeof t != "function" && t !== null)
955
941
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
956
- ln(e, t);
942
+ cn(e, t);
957
943
  function n() {
958
944
  this.constructor = e;
959
945
  }
960
946
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
961
947
  }
962
- var I = function() {
963
- return I = Object.assign || function(t) {
948
+ var ge = function() {
949
+ return ge = Object.assign || function(t) {
964
950
  for (var n, r = 1, i = arguments.length; r < i; r++) {
965
951
  n = arguments[r];
966
952
  for (var a in n)
967
953
  Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
968
954
  }
969
955
  return t;
970
- }, I.apply(this, arguments);
956
+ }, ge.apply(this, arguments);
971
957
  };
972
- function Ei(e, t) {
958
+ function xi(e, t) {
973
959
  var n = {};
974
960
  for (var r in e)
975
961
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -978,43 +964,43 @@ function Ei(e, t) {
978
964
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
979
965
  return n;
980
966
  }
981
- function Wt(e, t, n) {
982
- if (arguments.length === 2)
967
+ function zt(e, t, n) {
968
+ if (n || arguments.length === 2)
983
969
  for (var r = 0, i = t.length, a; r < i; r++)
984
970
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
985
- return e.concat(a || t);
971
+ return e.concat(a || Array.prototype.slice.call(t));
986
972
  }
987
- function Xt(e, t) {
988
- var n = t && t.cache ? t.cache : Si, r = t && t.serializer ? t.serializer : Ci, i = t && t.strategy ? t.strategy : wi;
973
+ function Zt(e, t) {
974
+ var n = t && t.cache ? t.cache : Hi, r = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ci;
989
975
  return i(e, {
990
976
  cache: n,
991
977
  serializer: r
992
978
  });
993
979
  }
994
- function _i(e) {
980
+ function wi(e) {
995
981
  return e == null || typeof e == "number" || typeof e == "boolean";
996
982
  }
997
- function xi(e, t, n, r) {
998
- var i = _i(r) ? r : n(r), a = t.get(i);
983
+ function Ai(e, t, n, r) {
984
+ var i = wi(r) ? r : n(r), a = t.get(i);
999
985
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
1000
986
  }
1001
- function mr(e, t, n) {
987
+ function br(e, t, n) {
1002
988
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
1003
989
  return typeof a > "u" && (a = e.apply(this, r), t.set(i, a)), a;
1004
990
  }
1005
- function yr(e, t, n, r, i) {
991
+ function vr(e, t, n, r, i) {
1006
992
  return n.bind(t, e, r, i);
1007
993
  }
1008
- function wi(e, t) {
1009
- var n = e.length === 1 ? xi : mr;
1010
- return yr(e, this, n, t.cache.create(), t.serializer);
994
+ function Ci(e, t) {
995
+ var n = e.length === 1 ? Ai : br;
996
+ return vr(e, this, n, t.cache.create(), t.serializer);
1011
997
  }
1012
- function Ai(e, t) {
1013
- return yr(e, this, mr, t.cache.create(), t.serializer);
998
+ function Ti(e, t) {
999
+ return vr(e, this, br, t.cache.create(), t.serializer);
1014
1000
  }
1015
- var Ci = function() {
1001
+ var Si = function() {
1016
1002
  return JSON.stringify(arguments);
1017
- }, Ti = (
1003
+ }, Bi = (
1018
1004
  /** @class */
1019
1005
  function() {
1020
1006
  function e() {
@@ -1026,61 +1012,71 @@ var Ci = function() {
1026
1012
  this.cache[t] = n;
1027
1013
  }, e;
1028
1014
  }()
1029
- ), Si = {
1015
+ ), Hi = {
1030
1016
  create: function() {
1031
- return new Ti();
1017
+ return new Bi();
1032
1018
  }
1033
- }, zt = {
1034
- variadic: Ai
1035
- }, S;
1019
+ }, qt = {
1020
+ variadic: Ti
1021
+ }, Nt = function() {
1022
+ return Nt = Object.assign || function(t) {
1023
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
1024
+ n = arguments[r];
1025
+ for (var a in n)
1026
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1027
+ }
1028
+ return t;
1029
+ }, Nt.apply(this, arguments);
1030
+ };
1031
+ var S;
1036
1032
  (function(e) {
1037
1033
  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";
1038
1034
  })(S || (S = {}));
1039
- var k;
1035
+ var D;
1040
1036
  (function(e) {
1041
1037
  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";
1042
- })(k || (k = {}));
1043
- var ze;
1038
+ })(D || (D = {}));
1039
+ var Ze;
1044
1040
  (function(e) {
1045
1041
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1046
- })(ze || (ze = {}));
1047
- function Rn(e) {
1048
- return e.type === k.literal;
1049
- }
1050
- function Bi(e) {
1051
- return e.type === k.argument;
1052
- }
1053
- function br(e) {
1054
- return e.type === k.number;
1042
+ })(Ze || (Ze = {}));
1043
+ function kn(e) {
1044
+ return e.type === D.literal;
1055
1045
  }
1056
- function vr(e) {
1057
- return e.type === k.date;
1046
+ function Ii(e) {
1047
+ return e.type === D.argument;
1058
1048
  }
1059
1049
  function Er(e) {
1060
- return e.type === k.time;
1050
+ return e.type === D.number;
1061
1051
  }
1062
1052
  function _r(e) {
1063
- return e.type === k.select;
1053
+ return e.type === D.date;
1064
1054
  }
1065
1055
  function xr(e) {
1066
- return e.type === k.plural;
1067
- }
1068
- function Hi(e) {
1069
- return e.type === k.pound;
1056
+ return e.type === D.time;
1070
1057
  }
1071
1058
  function wr(e) {
1072
- return e.type === k.tag;
1059
+ return e.type === D.select;
1073
1060
  }
1074
1061
  function Ar(e) {
1075
- return !!(e && typeof e == "object" && e.type === ze.number);
1076
- }
1077
- function un(e) {
1078
- return !!(e && typeof e == "object" && e.type === ze.dateTime);
1062
+ return e.type === D.plural;
1079
1063
  }
1080
- var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1081
1064
  function Li(e) {
1065
+ return e.type === D.pound;
1066
+ }
1067
+ function Cr(e) {
1068
+ return e.type === D.tag;
1069
+ }
1070
+ function Tr(e) {
1071
+ return !!(e && typeof e == "object" && e.type === Ze.number);
1072
+ }
1073
+ function hn(e) {
1074
+ return !!(e && typeof e == "object" && e.type === Ze.dateTime);
1075
+ }
1076
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1077
+ function Pi(e) {
1082
1078
  var t = {};
1083
- return e.replace(Ii, function(n) {
1079
+ return e.replace(Ni, function(n) {
1084
1080
  var r = n.length;
1085
1081
  switch (n[0]) {
1086
1082
  case "G":
@@ -1169,11 +1165,21 @@ function Li(e) {
1169
1165
  return "";
1170
1166
  }), t;
1171
1167
  }
1172
- var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1173
- function Pi(e) {
1168
+ var F = function() {
1169
+ return F = Object.assign || function(t) {
1170
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
1171
+ n = arguments[r];
1172
+ for (var a in n)
1173
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1174
+ }
1175
+ return t;
1176
+ }, F.apply(this, arguments);
1177
+ };
1178
+ var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1179
+ function Ri(e) {
1174
1180
  if (e.length === 0)
1175
1181
  throw new Error("Number skeleton cannot be empty");
1176
- for (var t = e.split(Ni).filter(function(c) {
1182
+ for (var t = e.split(Oi).filter(function(c) {
1177
1183
  return c.length > 0;
1178
1184
  }), n = [], r = 0, i = t; r < i.length; r++) {
1179
1185
  var a = i[r], o = a.split("/");
@@ -1188,17 +1194,17 @@ function Pi(e) {
1188
1194
  }
1189
1195
  return n;
1190
1196
  }
1191
- function Oi(e) {
1197
+ function Di(e) {
1192
1198
  return e.replace(/^(.*?)-/, "");
1193
1199
  }
1194
- var Dn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
1195
- function kn(e) {
1200
+ var Mn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1201
+ function Fn(e) {
1196
1202
  var t = {};
1197
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(n, r, i) {
1203
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(n, r, i) {
1198
1204
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1199
1205
  }), t;
1200
1206
  }
1201
- function Br(e) {
1207
+ function Ir(e) {
1202
1208
  switch (e) {
1203
1209
  case "sign-auto":
1204
1210
  return {
@@ -1238,7 +1244,7 @@ function Br(e) {
1238
1244
  };
1239
1245
  }
1240
1246
  }
1241
- function Di(e) {
1247
+ function Mi(e) {
1242
1248
  var t;
1243
1249
  if (e[0] === "E" && e[1] === "E" ? (t = {
1244
1250
  notation: "engineering"
@@ -1246,17 +1252,17 @@ function Di(e) {
1246
1252
  notation: "scientific"
1247
1253
  }, e = e.slice(1)), t) {
1248
1254
  var n = e.slice(0, 2);
1249
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
1255
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1250
1256
  throw new Error("Malformed concise eng/scientific notation");
1251
1257
  t.minimumIntegerDigits = e.length;
1252
1258
  }
1253
1259
  return t;
1254
1260
  }
1255
- function Mn(e) {
1256
- var t = {}, n = Br(e);
1261
+ function Vn(e) {
1262
+ var t = {}, n = Ir(e);
1257
1263
  return n || t;
1258
1264
  }
1259
- function ki(e) {
1265
+ function Fi(e) {
1260
1266
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1261
1267
  var i = r[n];
1262
1268
  switch (i.stem) {
@@ -1280,7 +1286,7 @@ function ki(e) {
1280
1286
  continue;
1281
1287
  case "measure-unit":
1282
1288
  case "unit":
1283
- t.style = "unit", t.unit = Oi(i.options[0]);
1289
+ t.style = "unit", t.unit = Di(i.options[0]);
1284
1290
  continue;
1285
1291
  case "compact-short":
1286
1292
  case "K":
@@ -1291,13 +1297,13 @@ function ki(e) {
1291
1297
  t.notation = "compact", t.compactDisplay = "long";
1292
1298
  continue;
1293
1299
  case "scientific":
1294
- t = I(I(I({}, t), { notation: "scientific" }), i.options.reduce(function(s, u) {
1295
- return I(I({}, s), Mn(u));
1300
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(s, u) {
1301
+ return F(F({}, s), Vn(u));
1296
1302
  }, {}));
1297
1303
  continue;
1298
1304
  case "engineering":
1299
- t = I(I(I({}, t), { notation: "engineering" }), i.options.reduce(function(s, u) {
1300
- return I(I({}, s), Mn(u));
1305
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(s, u) {
1306
+ return F(F({}, s), Vn(u));
1301
1307
  }, {}));
1302
1308
  continue;
1303
1309
  case "notation-simple":
@@ -1342,7 +1348,7 @@ function ki(e) {
1342
1348
  case "integer-width":
1343
1349
  if (i.options.length > 1)
1344
1350
  throw new RangeError("integer-width stems only accept a single optional option");
1345
- i.options[0].replace(Ri, function(s, u, h, f, c, g) {
1351
+ i.options[0].replace(ki, function(s, u, h, f, c, g) {
1346
1352
  if (u)
1347
1353
  t.minimumIntegerDigits = h.length;
1348
1354
  else {
@@ -1355,32 +1361,32 @@ function ki(e) {
1355
1361
  });
1356
1362
  continue;
1357
1363
  }
1358
- if (Sr.test(i.stem)) {
1364
+ if (Hr.test(i.stem)) {
1359
1365
  t.minimumIntegerDigits = i.stem.length;
1360
1366
  continue;
1361
1367
  }
1362
- if (Dn.test(i.stem)) {
1368
+ if (Mn.test(i.stem)) {
1363
1369
  if (i.options.length > 1)
1364
1370
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1365
- i.stem.replace(Dn, function(s, u, h, f, c, g) {
1371
+ i.stem.replace(Mn, function(s, u, h, f, c, g) {
1366
1372
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1367
1373
  });
1368
1374
  var a = i.options[0];
1369
- a === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = I(I({}, t), kn(a)));
1375
+ a === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = F(F({}, t), Fn(a)));
1370
1376
  continue;
1371
1377
  }
1372
- if (Tr.test(i.stem)) {
1373
- t = I(I({}, t), kn(i.stem));
1378
+ if (Br.test(i.stem)) {
1379
+ t = F(F({}, t), Fn(i.stem));
1374
1380
  continue;
1375
1381
  }
1376
- var o = Br(i.stem);
1377
- o && (t = I(I({}, t), o));
1378
- var l = Di(i.stem);
1379
- l && (t = I(I({}, t), l));
1382
+ var o = Ir(i.stem);
1383
+ o && (t = F(F({}, t), o));
1384
+ var l = Mi(i.stem);
1385
+ l && (t = F(F({}, t), l));
1380
1386
  }
1381
1387
  return t;
1382
1388
  }
1383
- var xt = {
1389
+ var wt = {
1384
1390
  "001": [
1385
1391
  "H",
1386
1392
  "h"
@@ -2795,13 +2801,13 @@ var xt = {
2795
2801
  "h"
2796
2802
  ]
2797
2803
  };
2798
- function Mi(e, t) {
2804
+ function Vi(e, t) {
2799
2805
  for (var n = "", r = 0; r < e.length; r++) {
2800
2806
  var i = e.charAt(r);
2801
2807
  if (i === "j") {
2802
2808
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2803
2809
  a++, r++;
2804
- var o = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), s = "a", u = Fi(t);
2810
+ var o = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), s = "a", u = Ui(t);
2805
2811
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2806
2812
  n += s;
2807
2813
  for (; o-- > 0; )
@@ -2811,7 +2817,7 @@ function Mi(e, t) {
2811
2817
  }
2812
2818
  return n;
2813
2819
  }
2814
- function Fi(e) {
2820
+ function Ui(e) {
2815
2821
  var t = e.hourCycle;
2816
2822
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2817
2823
  e.hourCycles && // @ts-ignore
@@ -2830,23 +2836,23 @@ function Fi(e) {
2830
2836
  }
2831
2837
  var n = e.language, r;
2832
2838
  n !== "root" && (r = e.maximize().region);
2833
- var i = xt[r || ""] || xt[n || ""] || xt["".concat(n, "-001")] || xt["001"];
2839
+ var i = wt[r || ""] || wt[n || ""] || wt["".concat(n, "-001")] || wt["001"];
2834
2840
  return i[0];
2835
2841
  }
2836
- var Zt, Vi = new RegExp("^".concat(Cr.source, "*")), Ui = new RegExp("".concat(Cr.source, "*$"));
2842
+ var Kt, Gi = new RegExp("^".concat(Sr.source, "*")), $i = new RegExp("".concat(Sr.source, "*$"));
2837
2843
  function H(e, t) {
2838
2844
  return { start: e, end: t };
2839
2845
  }
2840
- var Gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), $i = !!String.fromCodePoint, ji = !!Object.fromEntries, Wi = !!String.prototype.codePointAt, Xi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Zi = !!Number.isSafeInteger, qi = Zi ? Number.isSafeInteger : function(e) {
2846
+ var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, Xi = !!Object.fromEntries, zi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, Qi = Ki ? Number.isSafeInteger : function(e) {
2841
2847
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2842
- }, cn = !0;
2848
+ }, fn = !0;
2843
2849
  try {
2844
- var Ki = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2845
- cn = ((Zt = Ki.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
2850
+ var Yi = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2851
+ fn = ((Kt = Yi.exec("a")) === null || Kt === void 0 ? void 0 : Kt[0]) === "a";
2846
2852
  } catch {
2847
- cn = !1;
2853
+ fn = !1;
2848
2854
  }
2849
- var Fn = Gi ? (
2855
+ var Un = ji ? (
2850
2856
  // Native
2851
2857
  function(t, n, r) {
2852
2858
  return t.startsWith(n, r);
@@ -2856,7 +2862,7 @@ var Fn = Gi ? (
2856
2862
  function(t, n, r) {
2857
2863
  return t.slice(r, r + n.length) === n;
2858
2864
  }
2859
- ), hn = $i ? String.fromCodePoint : (
2865
+ ), pn = Wi ? String.fromCodePoint : (
2860
2866
  // IE11
2861
2867
  function() {
2862
2868
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2868,9 +2874,9 @@ var Fn = Gi ? (
2868
2874
  }
2869
2875
  return r;
2870
2876
  }
2871
- ), Vn = (
2877
+ ), Gn = (
2872
2878
  // native
2873
- ji ? Object.fromEntries : (
2879
+ Xi ? Object.fromEntries : (
2874
2880
  // Ponyfill
2875
2881
  function(t) {
2876
2882
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2880,7 +2886,7 @@ var Fn = Gi ? (
2880
2886
  return n;
2881
2887
  }
2882
2888
  )
2883
- ), Hr = Wi ? (
2889
+ ), Lr = zi ? (
2884
2890
  // Native
2885
2891
  function(t, n) {
2886
2892
  return t.codePointAt(n);
@@ -2894,7 +2900,7 @@ var Fn = Gi ? (
2894
2900
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2895
2901
  }
2896
2902
  }
2897
- ), Qi = Xi ? (
2903
+ ), Ji = Zi ? (
2898
2904
  // Native
2899
2905
  function(t) {
2900
2906
  return t.trimStart();
@@ -2902,9 +2908,9 @@ var Fn = Gi ? (
2902
2908
  ) : (
2903
2909
  // Ponyfill
2904
2910
  function(t) {
2905
- return t.replace(Vi, "");
2911
+ return t.replace(Gi, "");
2906
2912
  }
2907
- ), Yi = zi ? (
2913
+ ), ea = qi ? (
2908
2914
  // Native
2909
2915
  function(t) {
2910
2916
  return t.trimEnd();
@@ -2912,32 +2918,32 @@ var Fn = Gi ? (
2912
2918
  ) : (
2913
2919
  // Ponyfill
2914
2920
  function(t) {
2915
- return t.replace(Ui, "");
2921
+ return t.replace($i, "");
2916
2922
  }
2917
2923
  );
2918
- function Ir(e, t) {
2924
+ function Nr(e, t) {
2919
2925
  return new RegExp(e, t);
2920
2926
  }
2921
- var fn;
2922
- if (cn) {
2923
- var Un = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2924
- fn = function(t, n) {
2927
+ var gn;
2928
+ if (fn) {
2929
+ var $n = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2930
+ gn = function(t, n) {
2925
2931
  var r;
2926
- Un.lastIndex = n;
2927
- var i = Un.exec(t);
2932
+ $n.lastIndex = n;
2933
+ var i = $n.exec(t);
2928
2934
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2929
2935
  };
2930
2936
  } else
2931
- fn = function(t, n) {
2937
+ gn = function(t, n) {
2932
2938
  for (var r = []; ; ) {
2933
- var i = Hr(t, n);
2934
- if (i === void 0 || Lr(i) || na(i))
2939
+ var i = Lr(t, n);
2940
+ if (i === void 0 || Pr(i) || ia(i))
2935
2941
  break;
2936
2942
  r.push(i), n += i >= 65536 ? 2 : 1;
2937
2943
  }
2938
- return hn.apply(void 0, r);
2944
+ return pn.apply(void 0, r);
2939
2945
  };
2940
- var Ji = (
2946
+ var ta = (
2941
2947
  /** @class */
2942
2948
  function() {
2943
2949
  function e(t, n) {
@@ -2961,14 +2967,14 @@ var Ji = (
2961
2967
  if (a === 35 && (n === "plural" || n === "selectordinal")) {
2962
2968
  var l = this.clonePosition();
2963
2969
  this.bump(), i.push({
2964
- type: k.pound,
2970
+ type: D.pound,
2965
2971
  location: H(l, this.clonePosition())
2966
2972
  });
2967
2973
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2968
2974
  if (r)
2969
2975
  break;
2970
2976
  return this.error(S.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2971
- } else if (a === 60 && !this.ignoreTag && pn(this.peek() || 0)) {
2977
+ } else if (a === 60 && !this.ignoreTag && dn(this.peek() || 0)) {
2972
2978
  var o = this.parseTag(t, n);
2973
2979
  if (o.err)
2974
2980
  return o;
@@ -2989,7 +2995,7 @@ var Ji = (
2989
2995
  if (this.bumpSpace(), this.bumpIf("/>"))
2990
2996
  return {
2991
2997
  val: {
2992
- type: k.literal,
2998
+ type: D.literal,
2993
2999
  value: "<".concat(i, "/>"),
2994
3000
  location: H(r, this.clonePosition())
2995
3001
  },
@@ -3001,12 +3007,12 @@ var Ji = (
3001
3007
  return a;
3002
3008
  var o = a.val, l = this.clonePosition();
3003
3009
  if (this.bumpIf("</")) {
3004
- if (this.isEOF() || !pn(this.char()))
3010
+ if (this.isEOF() || !dn(this.char()))
3005
3011
  return this.error(S.INVALID_TAG, H(l, this.clonePosition()));
3006
3012
  var s = this.clonePosition(), u = this.parseTagName();
3007
3013
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, H(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3008
3014
  val: {
3009
- type: k.tag,
3015
+ type: D.tag,
3010
3016
  value: i,
3011
3017
  children: o,
3012
3018
  location: H(r, this.clonePosition())
@@ -3019,7 +3025,7 @@ var Ji = (
3019
3025
  return this.error(S.INVALID_TAG, H(r, this.clonePosition()));
3020
3026
  }, e.prototype.parseTagName = function() {
3021
3027
  var t = this.offset();
3022
- for (this.bump(); !this.isEOF() && ta(this.char()); )
3028
+ for (this.bump(); !this.isEOF() && ra(this.char()); )
3023
3029
  this.bump();
3024
3030
  return this.message.slice(t, this.offset());
3025
3031
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3043,12 +3049,12 @@ var Ji = (
3043
3049
  }
3044
3050
  var s = H(r, this.clonePosition());
3045
3051
  return {
3046
- val: { type: k.literal, value: i, location: s },
3052
+ val: { type: D.literal, value: i, location: s },
3047
3053
  err: null
3048
3054
  };
3049
3055
  }, e.prototype.tryParseLeftAngleBracket = function() {
3050
3056
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3051
- !ea(this.peek() || 0)) ? (this.bump(), "<") : null;
3057
+ !na(this.peek() || 0)) ? (this.bump(), "<") : null;
3052
3058
  }, e.prototype.tryParseQuote = function(t) {
3053
3059
  if (this.isEOF() || this.char() !== 39)
3054
3060
  return null;
@@ -3082,12 +3088,12 @@ var Ji = (
3082
3088
  n.push(r);
3083
3089
  this.bump();
3084
3090
  }
3085
- return hn.apply(void 0, n);
3091
+ return pn.apply(void 0, n);
3086
3092
  }, e.prototype.tryParseUnquoted = function(t, n) {
3087
3093
  if (this.isEOF())
3088
3094
  return null;
3089
3095
  var r = this.char();
3090
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), hn(r));
3096
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), pn(r));
3091
3097
  }, e.prototype.parseArgument = function(t, n) {
3092
3098
  var r = this.clonePosition();
3093
3099
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3103,7 +3109,7 @@ var Ji = (
3103
3109
  case 125:
3104
3110
  return this.bump(), {
3105
3111
  val: {
3106
- type: k.argument,
3112
+ type: D.argument,
3107
3113
  // value does not include the opening and closing braces.
3108
3114
  value: i,
3109
3115
  location: H(r, this.clonePosition())
@@ -3116,7 +3122,7 @@ var Ji = (
3116
3122
  return this.error(S.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
3117
3123
  }
3118
3124
  }, e.prototype.parseIdentifierIfPossible = function() {
3119
- var t = this.clonePosition(), n = this.offset(), r = fn(this.message, n), i = n + r.length;
3125
+ var t = this.clonePosition(), n = this.offset(), r = gn(this.message, n), i = n + r.length;
3120
3126
  this.bumpTo(i);
3121
3127
  var a = this.clonePosition(), o = H(t, a);
3122
3128
  return { value: r, location: o };
@@ -3135,7 +3141,7 @@ var Ji = (
3135
3141
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3136
3142
  if (f.err)
3137
3143
  return f;
3138
- var c = Yi(f.val);
3144
+ var c = ea(f.val);
3139
3145
  if (c.length === 0)
3140
3146
  return this.error(S.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3141
3147
  var g = H(h, this.clonePosition());
@@ -3145,34 +3151,34 @@ var Ji = (
3145
3151
  if (b.err)
3146
3152
  return b;
3147
3153
  var y = H(i, this.clonePosition());
3148
- if (u && Fn(u?.style, "::", 0)) {
3149
- var P = Qi(u.style.slice(2));
3154
+ if (u && Un(u?.style, "::", 0)) {
3155
+ var N = Ji(u.style.slice(2));
3150
3156
  if (l === "number") {
3151
- var f = this.parseNumberSkeletonFromString(P, u.styleLocation);
3157
+ var f = this.parseNumberSkeletonFromString(N, u.styleLocation);
3152
3158
  return f.err ? f : {
3153
- val: { type: k.number, value: r, location: y, style: f.val },
3159
+ val: { type: D.number, value: r, location: y, style: f.val },
3154
3160
  err: null
3155
3161
  };
3156
3162
  } else {
3157
- if (P.length === 0)
3163
+ if (N.length === 0)
3158
3164
  return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
3159
- var O = P;
3160
- this.locale && (O = Mi(P, this.locale));
3165
+ var P = N;
3166
+ this.locale && (P = Vi(N, this.locale));
3161
3167
  var c = {
3162
- type: ze.dateTime,
3163
- pattern: O,
3168
+ type: Ze.dateTime,
3169
+ pattern: P,
3164
3170
  location: u.styleLocation,
3165
- parsedOptions: this.shouldParseSkeletons ? Li(O) : {}
3166
- }, R = l === "date" ? k.date : k.time;
3171
+ parsedOptions: this.shouldParseSkeletons ? Pi(P) : {}
3172
+ }, O = l === "date" ? D.date : D.time;
3167
3173
  return {
3168
- val: { type: R, value: r, location: y, style: c },
3174
+ val: { type: O, value: r, location: y, style: c },
3169
3175
  err: null
3170
3176
  };
3171
3177
  }
3172
3178
  }
3173
3179
  return {
3174
3180
  val: {
3175
- type: l === "number" ? k.number : l === "date" ? k.date : k.time,
3181
+ type: l === "number" ? D.number : l === "date" ? D.date : D.time,
3176
3182
  value: r,
3177
3183
  location: y,
3178
3184
  style: (a = u?.style) !== null && a !== void 0 ? a : null
@@ -3185,9 +3191,9 @@ var Ji = (
3185
3191
  case "select": {
3186
3192
  var E = this.clonePosition();
3187
3193
  if (this.bumpSpace(), !this.bumpIf(","))
3188
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(E, I({}, E)));
3194
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(E, Nt({}, E)));
3189
3195
  this.bumpSpace();
3190
- var j = this.parseIdentifierIfPossible(), M = 0;
3196
+ var j = this.parseIdentifierIfPossible(), k = 0;
3191
3197
  if (l !== "select" && j.value === "offset") {
3192
3198
  if (!this.bumpIf(":"))
3193
3199
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
@@ -3195,7 +3201,7 @@ var Ji = (
3195
3201
  var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3196
3202
  if (f.err)
3197
3203
  return f;
3198
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), M = f.val;
3204
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), k = f.val;
3199
3205
  }
3200
3206
  var K = this.tryParsePluralOrSelectOptions(t, l, n, j);
3201
3207
  if (K.err)
@@ -3203,23 +3209,23 @@ var Ji = (
3203
3209
  var b = this.tryParseArgumentClose(i);
3204
3210
  if (b.err)
3205
3211
  return b;
3206
- var ge = H(i, this.clonePosition());
3212
+ var de = H(i, this.clonePosition());
3207
3213
  return l === "select" ? {
3208
3214
  val: {
3209
- type: k.select,
3215
+ type: D.select,
3210
3216
  value: r,
3211
- options: Vn(K.val),
3212
- location: ge
3217
+ options: Gn(K.val),
3218
+ location: de
3213
3219
  },
3214
3220
  err: null
3215
3221
  } : {
3216
3222
  val: {
3217
- type: k.plural,
3223
+ type: D.plural,
3218
3224
  value: r,
3219
- options: Vn(K.val),
3220
- offset: M,
3225
+ options: Gn(K.val),
3226
+ offset: k,
3221
3227
  pluralType: l === "plural" ? "cardinal" : "ordinal",
3222
- location: ge
3228
+ location: de
3223
3229
  },
3224
3230
  err: null
3225
3231
  };
@@ -3267,16 +3273,16 @@ var Ji = (
3267
3273
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3268
3274
  var r = [];
3269
3275
  try {
3270
- r = Pi(t);
3276
+ r = Ri(t);
3271
3277
  } catch {
3272
3278
  return this.error(S.INVALID_NUMBER_SKELETON, n);
3273
3279
  }
3274
3280
  return {
3275
3281
  val: {
3276
- type: ze.number,
3282
+ type: Ze.number,
3277
3283
  tokens: r,
3278
3284
  location: n,
3279
- parsedOptions: this.shouldParseSkeletons ? ki(r) : {}
3285
+ parsedOptions: this.shouldParseSkeletons ? Fi(r) : {}
3280
3286
  },
3281
3287
  err: null
3282
3288
  };
@@ -3324,7 +3330,7 @@ var Ji = (
3324
3330
  break;
3325
3331
  }
3326
3332
  var s = H(i, this.clonePosition());
3327
- return a ? (o *= r, qi(o) ? { val: o, err: null } : this.error(n, s)) : this.error(t, s);
3333
+ return a ? (o *= r, Qi(o) ? { val: o, err: null } : this.error(n, s)) : this.error(t, s);
3328
3334
  }, e.prototype.offset = function() {
3329
3335
  return this.position.offset;
3330
3336
  }, e.prototype.isEOF = function() {
@@ -3339,7 +3345,7 @@ var Ji = (
3339
3345
  var t = this.position.offset;
3340
3346
  if (t >= this.message.length)
3341
3347
  throw Error("out of bound");
3342
- var n = Hr(this.message, t);
3348
+ var n = Lr(this.message, t);
3343
3349
  if (n === void 0)
3344
3350
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3345
3351
  return n;
@@ -3358,7 +3364,7 @@ var Ji = (
3358
3364
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3359
3365
  }
3360
3366
  }, e.prototype.bumpIf = function(t) {
3361
- if (Fn(this.message, t, this.offset())) {
3367
+ if (Un(this.message, t, this.offset())) {
3362
3368
  for (var n = 0; n < t.length; n++)
3363
3369
  this.bump();
3364
3370
  return !0;
@@ -3380,7 +3386,7 @@ var Ji = (
3380
3386
  break;
3381
3387
  }
3382
3388
  }, e.prototype.bumpSpace = function() {
3383
- for (; !this.isEOF() && Lr(this.char()); )
3389
+ for (; !this.isEOF() && Pr(this.char()); )
3384
3390
  this.bump();
3385
3391
  }, e.prototype.peek = function() {
3386
3392
  if (this.isEOF())
@@ -3390,47 +3396,47 @@ var Ji = (
3390
3396
  }, e;
3391
3397
  }()
3392
3398
  );
3393
- function pn(e) {
3399
+ function dn(e) {
3394
3400
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3395
3401
  }
3396
- function ea(e) {
3397
- return pn(e) || e === 47;
3402
+ function na(e) {
3403
+ return dn(e) || e === 47;
3398
3404
  }
3399
- function ta(e) {
3405
+ function ra(e) {
3400
3406
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3401
3407
  }
3402
- function Lr(e) {
3408
+ function Pr(e) {
3403
3409
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3404
3410
  }
3405
- function na(e) {
3411
+ function ia(e) {
3406
3412
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3407
3413
  }
3408
- function gn(e) {
3414
+ function mn(e) {
3409
3415
  e.forEach(function(t) {
3410
- if (delete t.location, _r(t) || xr(t))
3416
+ if (delete t.location, wr(t) || Ar(t))
3411
3417
  for (var n in t.options)
3412
- delete t.options[n].location, gn(t.options[n].value);
3418
+ delete t.options[n].location, mn(t.options[n].value);
3413
3419
  else
3414
- br(t) && Ar(t.style) || (vr(t) || Er(t)) && un(t.style) ? delete t.style.location : wr(t) && gn(t.children);
3420
+ Er(t) && Tr(t.style) || (_r(t) || xr(t)) && hn(t.style) ? delete t.style.location : Cr(t) && mn(t.children);
3415
3421
  });
3416
3422
  }
3417
- function ra(e, t) {
3418
- t === void 0 && (t = {}), t = I({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3419
- var n = new Ji(e, t).parse();
3423
+ function aa(e, t) {
3424
+ t === void 0 && (t = {}), t = Nt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3425
+ var n = new ta(e, t).parse();
3420
3426
  if (n.err) {
3421
3427
  var r = SyntaxError(S[n.err.kind]);
3422
3428
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3423
3429
  }
3424
- return t?.captureLocation || gn(n.val), n.val;
3430
+ return t?.captureLocation || mn(n.val), n.val;
3425
3431
  }
3426
- var Ze;
3432
+ var qe;
3427
3433
  (function(e) {
3428
3434
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3429
- })(Ze || (Ze = {}));
3430
- var Dt = (
3435
+ })(qe || (qe = {}));
3436
+ var Mt = (
3431
3437
  /** @class */
3432
3438
  function(e) {
3433
- Rt(t, e);
3439
+ kt(t, e);
3434
3440
  function t(n, r, i) {
3435
3441
  var a = e.call(this, n) || this;
3436
3442
  return a.code = r, a.originalMessage = i, a;
@@ -3439,48 +3445,48 @@ var Dt = (
3439
3445
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3440
3446
  }, t;
3441
3447
  }(Error)
3442
- ), Gn = (
3448
+ ), jn = (
3443
3449
  /** @class */
3444
3450
  function(e) {
3445
- Rt(t, e);
3451
+ kt(t, e);
3446
3452
  function t(n, r, i, a) {
3447
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ze.INVALID_VALUE, a) || this;
3453
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), qe.INVALID_VALUE, a) || this;
3448
3454
  }
3449
3455
  return t;
3450
- }(Dt)
3451
- ), ia = (
3456
+ }(Mt)
3457
+ ), oa = (
3452
3458
  /** @class */
3453
3459
  function(e) {
3454
- Rt(t, e);
3460
+ kt(t, e);
3455
3461
  function t(n, r, i) {
3456
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ze.INVALID_VALUE, i) || this;
3462
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), qe.INVALID_VALUE, i) || this;
3457
3463
  }
3458
3464
  return t;
3459
- }(Dt)
3460
- ), aa = (
3465
+ }(Mt)
3466
+ ), sa = (
3461
3467
  /** @class */
3462
3468
  function(e) {
3463
- Rt(t, e);
3469
+ kt(t, e);
3464
3470
  function t(n, r) {
3465
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ze.MISSING_VALUE, r) || this;
3471
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), qe.MISSING_VALUE, r) || this;
3466
3472
  }
3467
3473
  return t;
3468
- }(Dt)
3474
+ }(Mt)
3469
3475
  ), J;
3470
3476
  (function(e) {
3471
3477
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3472
3478
  })(J || (J = {}));
3473
- function oa(e) {
3479
+ function la(e) {
3474
3480
  return e.length < 2 ? e : e.reduce(function(t, n) {
3475
3481
  var r = t[t.length - 1];
3476
3482
  return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3477
3483
  }, []);
3478
3484
  }
3479
- function sa(e) {
3485
+ function ua(e) {
3480
3486
  return typeof e == "function";
3481
3487
  }
3482
- function Tt(e, t, n, r, i, a, o) {
3483
- if (e.length === 1 && Rn(e[0]))
3488
+ function St(e, t, n, r, i, a, o) {
3489
+ if (e.length === 1 && kn(e[0]))
3484
3490
  return [
3485
3491
  {
3486
3492
  type: J.literal,
@@ -3489,14 +3495,14 @@ function Tt(e, t, n, r, i, a, o) {
3489
3495
  ];
3490
3496
  for (var l = [], s = 0, u = e; s < u.length; s++) {
3491
3497
  var h = u[s];
3492
- if (Rn(h)) {
3498
+ if (kn(h)) {
3493
3499
  l.push({
3494
3500
  type: J.literal,
3495
3501
  value: h.value
3496
3502
  });
3497
3503
  continue;
3498
3504
  }
3499
- if (Hi(h)) {
3505
+ if (Li(h)) {
3500
3506
  typeof a == "number" && l.push({
3501
3507
  type: J.literal,
3502
3508
  value: n.getNumberFormat(t).format(a)
@@ -3505,89 +3511,89 @@ function Tt(e, t, n, r, i, a, o) {
3505
3511
  }
3506
3512
  var f = h.value;
3507
3513
  if (!(i && f in i))
3508
- throw new aa(f, o);
3514
+ throw new sa(f, o);
3509
3515
  var c = i[f];
3510
- if (Bi(h)) {
3516
+ if (Ii(h)) {
3511
3517
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), l.push({
3512
3518
  type: typeof c == "string" ? J.literal : J.object,
3513
3519
  value: c
3514
3520
  });
3515
3521
  continue;
3516
3522
  }
3517
- if (vr(h)) {
3518
- var g = typeof h.style == "string" ? r.date[h.style] : un(h.style) ? h.style.parsedOptions : void 0;
3523
+ if (_r(h)) {
3524
+ var g = typeof h.style == "string" ? r.date[h.style] : hn(h.style) ? h.style.parsedOptions : void 0;
3519
3525
  l.push({
3520
3526
  type: J.literal,
3521
3527
  value: n.getDateTimeFormat(t, g).format(c)
3522
3528
  });
3523
3529
  continue;
3524
3530
  }
3525
- if (Er(h)) {
3526
- var g = typeof h.style == "string" ? r.time[h.style] : un(h.style) ? h.style.parsedOptions : r.time.medium;
3531
+ if (xr(h)) {
3532
+ var g = typeof h.style == "string" ? r.time[h.style] : hn(h.style) ? h.style.parsedOptions : r.time.medium;
3527
3533
  l.push({
3528
3534
  type: J.literal,
3529
3535
  value: n.getDateTimeFormat(t, g).format(c)
3530
3536
  });
3531
3537
  continue;
3532
3538
  }
3533
- if (br(h)) {
3534
- var g = typeof h.style == "string" ? r.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3539
+ if (Er(h)) {
3540
+ var g = typeof h.style == "string" ? r.number[h.style] : Tr(h.style) ? h.style.parsedOptions : void 0;
3535
3541
  g && g.scale && (c = c * (g.scale || 1)), l.push({
3536
3542
  type: J.literal,
3537
3543
  value: n.getNumberFormat(t, g).format(c)
3538
3544
  });
3539
3545
  continue;
3540
3546
  }
3541
- if (wr(h)) {
3542
- var b = h.children, y = h.value, P = i[y];
3543
- if (!sa(P))
3544
- throw new ia(y, "function", o);
3545
- var O = Tt(b, t, n, r, i, a), R = P(O.map(function(M) {
3546
- return M.value;
3547
+ if (Cr(h)) {
3548
+ var b = h.children, y = h.value, N = i[y];
3549
+ if (!ua(N))
3550
+ throw new oa(y, "function", o);
3551
+ var P = St(b, t, n, r, i, a), O = N(P.map(function(k) {
3552
+ return k.value;
3547
3553
  }));
3548
- Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(M) {
3554
+ Array.isArray(O) || (O = [O]), l.push.apply(l, O.map(function(k) {
3549
3555
  return {
3550
- type: typeof M == "string" ? J.literal : J.object,
3551
- value: M
3556
+ type: typeof k == "string" ? J.literal : J.object,
3557
+ value: k
3552
3558
  };
3553
3559
  }));
3554
3560
  }
3555
- if (_r(h)) {
3561
+ if (wr(h)) {
3556
3562
  var E = h.options[c] || h.options.other;
3557
3563
  if (!E)
3558
- throw new Gn(h.value, c, Object.keys(h.options), o);
3559
- l.push.apply(l, Tt(E.value, t, n, r, i));
3564
+ throw new jn(h.value, c, Object.keys(h.options), o);
3565
+ l.push.apply(l, St(E.value, t, n, r, i));
3560
3566
  continue;
3561
3567
  }
3562
- if (xr(h)) {
3568
+ if (Ar(h)) {
3563
3569
  var E = h.options["=".concat(c)];
3564
3570
  if (!E) {
3565
3571
  if (!Intl.PluralRules)
3566
- throw new Dt(`Intl.PluralRules is not available in this environment.
3572
+ throw new Mt(`Intl.PluralRules is not available in this environment.
3567
3573
  Try polyfilling it using "@formatjs/intl-pluralrules"
3568
- `, Ze.MISSING_INTL_API, o);
3574
+ `, qe.MISSING_INTL_API, o);
3569
3575
  var j = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3570
3576
  E = h.options[j] || h.options.other;
3571
3577
  }
3572
3578
  if (!E)
3573
- throw new Gn(h.value, c, Object.keys(h.options), o);
3574
- l.push.apply(l, Tt(E.value, t, n, r, i, c - (h.offset || 0)));
3579
+ throw new jn(h.value, c, Object.keys(h.options), o);
3580
+ l.push.apply(l, St(E.value, t, n, r, i, c - (h.offset || 0)));
3575
3581
  continue;
3576
3582
  }
3577
3583
  }
3578
- return oa(l);
3584
+ return la(l);
3579
3585
  }
3580
- function la(e, t) {
3581
- return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3582
- return n[r] = I(I({}, e[r]), t[r] || {}), n;
3586
+ function ca(e, t) {
3587
+ return t ? ge(ge(ge({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3588
+ return n[r] = ge(ge({}, e[r]), t[r] || {}), n;
3583
3589
  }, {})) : e;
3584
3590
  }
3585
- function ua(e, t) {
3591
+ function ha(e, t) {
3586
3592
  return t ? Object.keys(e).reduce(function(n, r) {
3587
- return n[r] = la(e[r], t[r]), n;
3588
- }, I({}, e)) : e;
3593
+ return n[r] = ca(e[r], t[r]), n;
3594
+ }, ge({}, e)) : e;
3589
3595
  }
3590
- function qt(e) {
3596
+ function Qt(e) {
3591
3597
  return {
3592
3598
  create: function() {
3593
3599
  return {
@@ -3601,39 +3607,39 @@ function qt(e) {
3601
3607
  }
3602
3608
  };
3603
3609
  }
3604
- function ca(e) {
3610
+ function fa(e) {
3605
3611
  return e === void 0 && (e = {
3606
3612
  number: {},
3607
3613
  dateTime: {},
3608
3614
  pluralRules: {}
3609
3615
  }), {
3610
- getNumberFormat: Xt(function() {
3616
+ getNumberFormat: Zt(function() {
3611
3617
  for (var t, n = [], r = 0; r < arguments.length; r++)
3612
3618
  n[r] = arguments[r];
3613
- return new ((t = Intl.NumberFormat).bind.apply(t, Wt([void 0], n, !1)))();
3619
+ return new ((t = Intl.NumberFormat).bind.apply(t, zt([void 0], n, !1)))();
3614
3620
  }, {
3615
- cache: qt(e.number),
3616
- strategy: zt.variadic
3621
+ cache: Qt(e.number),
3622
+ strategy: qt.variadic
3617
3623
  }),
3618
- getDateTimeFormat: Xt(function() {
3624
+ getDateTimeFormat: Zt(function() {
3619
3625
  for (var t, n = [], r = 0; r < arguments.length; r++)
3620
3626
  n[r] = arguments[r];
3621
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Wt([void 0], n, !1)))();
3627
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, zt([void 0], n, !1)))();
3622
3628
  }, {
3623
- cache: qt(e.dateTime),
3624
- strategy: zt.variadic
3629
+ cache: Qt(e.dateTime),
3630
+ strategy: qt.variadic
3625
3631
  }),
3626
- getPluralRules: Xt(function() {
3632
+ getPluralRules: Zt(function() {
3627
3633
  for (var t, n = [], r = 0; r < arguments.length; r++)
3628
3634
  n[r] = arguments[r];
3629
- return new ((t = Intl.PluralRules).bind.apply(t, Wt([void 0], n, !1)))();
3635
+ return new ((t = Intl.PluralRules).bind.apply(t, zt([void 0], n, !1)))();
3630
3636
  }, {
3631
- cache: qt(e.pluralRules),
3632
- strategy: zt.variadic
3637
+ cache: Qt(e.pluralRules),
3638
+ strategy: qt.variadic
3633
3639
  })
3634
3640
  };
3635
3641
  }
3636
- var ha = (
3642
+ var pa = (
3637
3643
  /** @class */
3638
3644
  function() {
3639
3645
  function e(t, n, r, i) {
@@ -3652,7 +3658,7 @@ var ha = (
3652
3658
  }, []);
3653
3659
  return h.length <= 1 ? h[0] || "" : h;
3654
3660
  }, this.formatToParts = function(s) {
3655
- return Tt(a.ast, a.locales, a.formatters, a.formats, s, void 0, a.message);
3661
+ return St(a.ast, a.locales, a.formatters, a.formats, s, void 0, a.message);
3656
3662
  }, this.resolvedOptions = function() {
3657
3663
  var s;
3658
3664
  return {
@@ -3665,13 +3671,13 @@ var ha = (
3665
3671
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3666
3672
  var o = i || {};
3667
3673
  o.formatters;
3668
- var l = Ei(o, ["formatters"]);
3669
- this.ast = e.__parse(t, I(I({}, l), { locale: this.resolvedLocale }));
3674
+ var l = xi(o, ["formatters"]);
3675
+ this.ast = e.__parse(t, ge(ge({}, l), { locale: this.resolvedLocale }));
3670
3676
  } else
3671
3677
  this.ast = t;
3672
3678
  if (!Array.isArray(this.ast))
3673
3679
  throw new TypeError("A message must be provided as a String or AST.");
3674
- this.formats = ua(e.formats, r), this.formatters = i && i.formatters || ca(this.formatterCache);
3680
+ this.formats = ha(e.formats, r), this.formatters = i && i.formatters || fa(this.formatterCache);
3675
3681
  }
3676
3682
  return Object.defineProperty(e, "defaultLocale", {
3677
3683
  get: function() {
@@ -3684,7 +3690,7 @@ var ha = (
3684
3690
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3685
3691
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3686
3692
  }
3687
- }, e.__parse = ra, e.formats = {
3693
+ }, e.__parse = aa, e.formats = {
3688
3694
  number: {
3689
3695
  integer: {
3690
3696
  maximumFractionDigits: 0
@@ -3745,7 +3751,7 @@ var ha = (
3745
3751
  }, e;
3746
3752
  }()
3747
3753
  );
3748
- function fa(e, t) {
3754
+ function ga(e, t) {
3749
3755
  if (t == null)
3750
3756
  return;
3751
3757
  if (t in e)
@@ -3766,92 +3772,92 @@ function fa(e, t) {
3766
3772
  r = void 0;
3767
3773
  return r;
3768
3774
  }
3769
- const He = {}, pa = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), Nr = (e, t) => {
3775
+ const Ie = {}, da = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Or = (e, t) => {
3770
3776
  if (t == null)
3771
3777
  return;
3772
- if (t in He && e in He[t])
3773
- return He[t][e];
3774
- const n = kt(t);
3778
+ if (t in Ie && e in Ie[t])
3779
+ return Ie[t][e];
3780
+ const n = Ft(t);
3775
3781
  for (let r = 0; r < n.length; r++) {
3776
- const i = n[r], a = da(i, e);
3782
+ const i = n[r], a = ya(i, e);
3777
3783
  if (a)
3778
- return pa(e, t, a);
3784
+ return da(e, t, a);
3779
3785
  }
3780
3786
  };
3781
- let wn;
3782
- const Qe = Ot({});
3783
- function ga(e) {
3784
- return wn[e] || null;
3787
+ let Cn;
3788
+ const Ye = Dt({});
3789
+ function ma(e) {
3790
+ return Cn[e] || null;
3785
3791
  }
3786
- function Pr(e) {
3787
- return e in wn;
3792
+ function Rr(e) {
3793
+ return e in Cn;
3788
3794
  }
3789
- function da(e, t) {
3790
- if (!Pr(e))
3795
+ function ya(e, t) {
3796
+ if (!Rr(e))
3791
3797
  return null;
3792
- const n = ga(e);
3793
- return fa(n, t);
3798
+ const n = ma(e);
3799
+ return ga(n, t);
3794
3800
  }
3795
- function ma(e) {
3801
+ function ba(e) {
3796
3802
  if (e == null)
3797
3803
  return;
3798
- const t = kt(e);
3804
+ const t = Ft(e);
3799
3805
  for (let n = 0; n < t.length; n++) {
3800
3806
  const r = t[n];
3801
- if (Pr(r))
3807
+ if (Rr(r))
3802
3808
  return r;
3803
3809
  }
3804
3810
  }
3805
- function Or(e, ...t) {
3806
- delete He[e], Qe.update((n) => (n[e] = vi.all([n[e] || {}, ...t]), n));
3811
+ function Dr(e, ...t) {
3812
+ delete Ie[e], Ye.update((n) => (n[e] = _i.all([n[e] || {}, ...t]), n));
3807
3813
  }
3808
- Ke(
3809
- [Qe],
3814
+ Qe(
3815
+ [Ye],
3810
3816
  ([e]) => Object.keys(e)
3811
3817
  );
3812
- Qe.subscribe((e) => wn = e);
3813
- const St = {};
3814
- function ya(e, t) {
3815
- St[e].delete(t), St[e].size === 0 && delete St[e];
3818
+ Ye.subscribe((e) => Cn = e);
3819
+ const Bt = {};
3820
+ function va(e, t) {
3821
+ Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
3816
3822
  }
3817
- function Rr(e) {
3818
- return St[e];
3823
+ function kr(e) {
3824
+ return Bt[e];
3819
3825
  }
3820
- function ba(e) {
3821
- return kt(e).map((t) => {
3822
- const n = Rr(t);
3826
+ function Ea(e) {
3827
+ return Ft(e).map((t) => {
3828
+ const n = kr(t);
3823
3829
  return [t, n ? [...n] : []];
3824
3830
  }).filter(([, t]) => t.length > 0);
3825
3831
  }
3826
- function dn(e) {
3827
- return e == null ? !1 : kt(e).some(
3832
+ function yn(e) {
3833
+ return e == null ? !1 : Ft(e).some(
3828
3834
  (t) => {
3829
3835
  var n;
3830
- return (n = Rr(t)) == null ? void 0 : n.size;
3836
+ return (n = kr(t)) == null ? void 0 : n.size;
3831
3837
  }
3832
3838
  );
3833
3839
  }
3834
- function va(e, t) {
3840
+ function _a(e, t) {
3835
3841
  return Promise.all(
3836
- t.map((r) => (ya(e, r), r().then((i) => i.default || i)))
3837
- ).then((r) => Or(e, ...r));
3838
- }
3839
- const ot = {};
3840
- function Dr(e) {
3841
- if (!dn(e))
3842
- return e in ot ? ot[e] : Promise.resolve();
3843
- const t = ba(e);
3844
- return ot[e] = Promise.all(
3842
+ t.map((r) => (va(e, r), r().then((i) => i.default || i)))
3843
+ ).then((r) => Dr(e, ...r));
3844
+ }
3845
+ const st = {};
3846
+ function Mr(e) {
3847
+ if (!yn(e))
3848
+ return e in st ? st[e] : Promise.resolve();
3849
+ const t = Ea(e);
3850
+ return st[e] = Promise.all(
3845
3851
  t.map(
3846
- ([n, r]) => va(n, r)
3852
+ ([n, r]) => _a(n, r)
3847
3853
  )
3848
3854
  ).then(() => {
3849
- if (dn(e))
3850
- return Dr(e);
3851
- delete ot[e];
3852
- }), ot[e];
3855
+ if (yn(e))
3856
+ return Mr(e);
3857
+ delete st[e];
3858
+ }), st[e];
3853
3859
  }
3854
- const Ea = {
3860
+ const xa = {
3855
3861
  number: {
3856
3862
  scientific: { notation: "scientific" },
3857
3863
  engineering: { notation: "engineering" },
@@ -3880,150 +3886,150 @@ const Ea = {
3880
3886
  timeZoneName: "short"
3881
3887
  }
3882
3888
  }
3883
- }, _a = {
3889
+ }, wa = {
3884
3890
  fallbackLocale: null,
3885
3891
  loadingDelay: 200,
3886
- formats: Ea,
3892
+ formats: xa,
3887
3893
  warnOnMissingMessages: !0,
3888
3894
  handleMissingMessage: void 0,
3889
3895
  ignoreTag: !0
3890
- }, xa = _a;
3891
- function qe() {
3892
- return xa;
3896
+ }, Aa = wa;
3897
+ function Ke() {
3898
+ return Aa;
3893
3899
  }
3894
- const Kt = Ot(!1);
3895
- var wa = Object.defineProperty, Aa = Object.defineProperties, Ca = Object.getOwnPropertyDescriptors, $n = Object.getOwnPropertySymbols, Ta = Object.prototype.hasOwnProperty, Sa = Object.prototype.propertyIsEnumerable, jn = (e, t, n) => t in e ? wa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ba = (e, t) => {
3900
+ const Yt = Dt(!1);
3901
+ var Ca = Object.defineProperty, Ta = Object.defineProperties, Sa = Object.getOwnPropertyDescriptors, Wn = Object.getOwnPropertySymbols, Ba = Object.prototype.hasOwnProperty, Ha = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? Ca(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ia = (e, t) => {
3896
3902
  for (var n in t || (t = {}))
3897
- Ta.call(t, n) && jn(e, n, t[n]);
3898
- if ($n)
3899
- for (var n of $n(t))
3900
- Sa.call(t, n) && jn(e, n, t[n]);
3903
+ Ba.call(t, n) && Xn(e, n, t[n]);
3904
+ if (Wn)
3905
+ for (var n of Wn(t))
3906
+ Ha.call(t, n) && Xn(e, n, t[n]);
3901
3907
  return e;
3902
- }, Ha = (e, t) => Aa(e, Ca(t));
3903
- let mn;
3904
- const Lt = Ot(null);
3905
- function Wn(e) {
3908
+ }, La = (e, t) => Ta(e, Sa(t));
3909
+ let bn;
3910
+ const Pt = Dt(null);
3911
+ function zn(e) {
3906
3912
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3907
3913
  }
3908
- function kt(e, t = qe().fallbackLocale) {
3909
- const n = Wn(e);
3910
- return t ? [.../* @__PURE__ */ new Set([...n, ...Wn(t)])] : n;
3914
+ function Ft(e, t = Ke().fallbackLocale) {
3915
+ const n = zn(e);
3916
+ return t ? [.../* @__PURE__ */ new Set([...n, ...zn(t)])] : n;
3911
3917
  }
3912
- function Re() {
3913
- return mn ?? void 0;
3918
+ function De() {
3919
+ return bn ?? void 0;
3914
3920
  }
3915
- Lt.subscribe((e) => {
3916
- mn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3921
+ Pt.subscribe((e) => {
3922
+ bn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3917
3923
  });
3918
- const Ia = (e) => {
3919
- if (e && ma(e) && dn(e)) {
3920
- const { loadingDelay: t } = qe();
3924
+ const Na = (e) => {
3925
+ if (e && ba(e) && yn(e)) {
3926
+ const { loadingDelay: t } = Ke();
3921
3927
  let n;
3922
- return typeof window < "u" && Re() != null && t ? n = window.setTimeout(
3923
- () => Kt.set(!0),
3928
+ return typeof window < "u" && De() != null && t ? n = window.setTimeout(
3929
+ () => Yt.set(!0),
3924
3930
  t
3925
- ) : Kt.set(!0), Dr(e).then(() => {
3926
- Lt.set(e);
3931
+ ) : Yt.set(!0), Mr(e).then(() => {
3932
+ Pt.set(e);
3927
3933
  }).finally(() => {
3928
- clearTimeout(n), Kt.set(!1);
3934
+ clearTimeout(n), Yt.set(!1);
3929
3935
  });
3930
3936
  }
3931
- return Lt.set(e);
3932
- }, Ie = Ha(Ba({}, Lt), {
3933
- set: Ia
3934
- }), Mt = (e) => {
3937
+ return Pt.set(e);
3938
+ }, Le = La(Ia({}, Pt), {
3939
+ set: Na
3940
+ }), Vt = (e) => {
3935
3941
  const t = /* @__PURE__ */ Object.create(null);
3936
3942
  return (r) => {
3937
3943
  const i = JSON.stringify(r);
3938
3944
  return i in t ? t[i] : t[i] = e(r);
3939
3945
  };
3940
3946
  };
3941
- var La = Object.defineProperty, Nt = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? La(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, An = (e, t) => {
3947
+ var Pa = Object.defineProperty, Ot = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, Zn = (e, t, n) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
3942
3948
  for (var n in t || (t = {}))
3943
- kr.call(t, n) && Xn(e, n, t[n]);
3944
- if (Nt)
3945
- for (var n of Nt(t))
3946
- Mr.call(t, n) && Xn(e, n, t[n]);
3949
+ Fr.call(t, n) && Zn(e, n, t[n]);
3950
+ if (Ot)
3951
+ for (var n of Ot(t))
3952
+ Vr.call(t, n) && Zn(e, n, t[n]);
3947
3953
  return e;
3948
- }, Ye = (e, t) => {
3954
+ }, Je = (e, t) => {
3949
3955
  var n = {};
3950
3956
  for (var r in e)
3951
- kr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3952
- if (e != null && Nt)
3953
- for (var r of Nt(e))
3954
- t.indexOf(r) < 0 && Mr.call(e, r) && (n[r] = e[r]);
3957
+ Fr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3958
+ if (e != null && Ot)
3959
+ for (var r of Ot(e))
3960
+ t.indexOf(r) < 0 && Vr.call(e, r) && (n[r] = e[r]);
3955
3961
  return n;
3956
3962
  };
3957
- const ft = (e, t) => {
3958
- const { formats: n } = qe();
3963
+ const pt = (e, t) => {
3964
+ const { formats: n } = Ke();
3959
3965
  if (e in n && t in n[e])
3960
3966
  return n[e][t];
3961
3967
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3962
- }, Na = Mt(
3968
+ }, Oa = Vt(
3963
3969
  (e) => {
3964
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3970
+ var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3965
3971
  if (n == null)
3966
3972
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3967
- return r && (i = ft("number", r)), new Intl.NumberFormat(n, i);
3973
+ return r && (i = pt("number", r)), new Intl.NumberFormat(n, i);
3968
3974
  }
3969
- ), Pa = Mt(
3975
+ ), Ra = Vt(
3970
3976
  (e) => {
3971
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3977
+ var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3972
3978
  if (n == null)
3973
3979
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3974
- return r ? i = ft("date", r) : Object.keys(i).length === 0 && (i = ft("date", "short")), new Intl.DateTimeFormat(n, i);
3980
+ return r ? i = pt("date", r) : Object.keys(i).length === 0 && (i = pt("date", "short")), new Intl.DateTimeFormat(n, i);
3975
3981
  }
3976
- ), Oa = Mt(
3982
+ ), Da = Vt(
3977
3983
  (e) => {
3978
- var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3984
+ var t = e, { locale: n, format: r } = t, i = Je(t, ["locale", "format"]);
3979
3985
  if (n == null)
3980
3986
  throw new Error(
3981
3987
  '[svelte-i18n] A "locale" must be set to format time values'
3982
3988
  );
3983
- return r ? i = ft("time", r) : Object.keys(i).length === 0 && (i = ft("time", "short")), new Intl.DateTimeFormat(n, i);
3989
+ return r ? i = pt("time", r) : Object.keys(i).length === 0 && (i = pt("time", "short")), new Intl.DateTimeFormat(n, i);
3984
3990
  }
3985
- ), Ra = (e = {}) => {
3991
+ ), ka = (e = {}) => {
3986
3992
  var t = e, {
3987
- locale: n = Re()
3988
- } = t, r = Ye(t, [
3993
+ locale: n = De()
3994
+ } = t, r = Je(t, [
3989
3995
  "locale"
3990
3996
  ]);
3991
- return Na(An({ locale: n }, r));
3992
- }, Da = (e = {}) => {
3997
+ return Oa(Tn({ locale: n }, r));
3998
+ }, Ma = (e = {}) => {
3993
3999
  var t = e, {
3994
- locale: n = Re()
3995
- } = t, r = Ye(t, [
4000
+ locale: n = De()
4001
+ } = t, r = Je(t, [
3996
4002
  "locale"
3997
4003
  ]);
3998
- return Pa(An({ locale: n }, r));
3999
- }, ka = (e = {}) => {
4004
+ return Ra(Tn({ locale: n }, r));
4005
+ }, Fa = (e = {}) => {
4000
4006
  var t = e, {
4001
- locale: n = Re()
4002
- } = t, r = Ye(t, [
4007
+ locale: n = De()
4008
+ } = t, r = Je(t, [
4003
4009
  "locale"
4004
4010
  ]);
4005
- return Oa(An({ locale: n }, r));
4006
- }, Ma = Mt(
4011
+ return Da(Tn({ locale: n }, r));
4012
+ }, Va = Vt(
4007
4013
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4008
- (e, t = Re()) => new ha(e, t, qe().formats, {
4009
- ignoreTag: qe().ignoreTag
4014
+ (e, t = De()) => new pa(e, t, Ke().formats, {
4015
+ ignoreTag: Ke().ignoreTag
4010
4016
  })
4011
- ), Fa = (e, t = {}) => {
4017
+ ), Ua = (e, t = {}) => {
4012
4018
  var n, r, i, a;
4013
4019
  let o = t;
4014
4020
  typeof e == "object" && (o = e, e = o.id);
4015
4021
  const {
4016
4022
  values: l,
4017
- locale: s = Re(),
4023
+ locale: s = De(),
4018
4024
  default: u
4019
4025
  } = o;
4020
4026
  if (s == null)
4021
4027
  throw new Error(
4022
4028
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4023
4029
  );
4024
- let h = Nr(e, s);
4030
+ let h = Or(e, s);
4025
4031
  if (!h)
4026
- h = (a = (i = (r = (n = qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4032
+ h = (a = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
4027
4033
  else if (typeof h != "string")
4028
4034
  return console.warn(
4029
4035
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4032,7 +4038,7 @@ const ft = (e, t) => {
4032
4038
  return h;
4033
4039
  let f = h;
4034
4040
  try {
4035
- f = Ma(h, s).format(l);
4041
+ f = Va(h, s).format(l);
4036
4042
  } catch (c) {
4037
4043
  c instanceof Error && console.warn(
4038
4044
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4040,23 +4046,23 @@ const ft = (e, t) => {
4040
4046
  );
4041
4047
  }
4042
4048
  return f;
4043
- }, Va = (e, t) => ka(t).format(e), Ua = (e, t) => Da(t).format(e), Ga = (e, t) => Ra(t).format(e), $a = (e, t = Re()) => Nr(e, t), ja = Ke([Ie, Qe], () => Fa);
4044
- Ke([Ie], () => Va);
4045
- Ke([Ie], () => Ua);
4046
- Ke([Ie], () => Ga);
4047
- Ke([Ie, Qe], () => $a);
4048
- function Wa({ withLocale: e, translations: t }) {
4049
- Ie.subscribe((n) => {
4050
- n == null && (Qe.set(t), Ie.set(e));
4049
+ }, Ga = (e, t) => Fa(t).format(e), $a = (e, t) => Ma(t).format(e), ja = (e, t) => ka(t).format(e), Wa = (e, t = De()) => Or(e, t), Xa = Qe([Le, Ye], () => Ua);
4050
+ Qe([Le], () => Ga);
4051
+ Qe([Le], () => $a);
4052
+ Qe([Le], () => ja);
4053
+ Qe([Le, Ye], () => Wa);
4054
+ function za({ withLocale: e, translations: t }) {
4055
+ Le.subscribe((n) => {
4056
+ n == null && (Ye.set(t), Le.set(e));
4051
4057
  });
4052
4058
  }
4053
- function zn(e, t) {
4054
- Or(e, t);
4059
+ function qn(e, t) {
4060
+ Dr(e, t);
4055
4061
  }
4056
- function Xa(e) {
4057
- Ie.set(e);
4062
+ function Za(e) {
4063
+ Le.set(e);
4058
4064
  }
4059
- const D = Vr(ja), Zn = {
4065
+ const R = Gr(Xa), Kn = {
4060
4066
  en: {
4061
4067
  vaultExchange: "Vault Exchange",
4062
4068
  debitPlaceHolder: "Debit amount",
@@ -4165,7 +4171,7 @@ const D = Vr(ja), Zn = {
4165
4171
  10114: "Kullanıcı hesabı aktif değil.",
4166
4172
  10115: "İşlem niyeti bulunamadı."
4167
4173
  }
4168
- }, za = {
4174
+ }, qa = {
4169
4175
  "1INCH": "",
4170
4176
  AAVE: "",
4171
4177
  ADA: "₳",
@@ -4441,40 +4447,40 @@ const D = Vr(ja), Zn = {
4441
4447
  ZMK: "",
4442
4448
  ZMW: "",
4443
4449
  ZWD: "Z$"
4444
- }, Za = 6e3, qa = {
4450
+ }, Ka = 6e3, Qa = {
4445
4451
  InvalidSession: "Invalid session"
4446
4452
  }, Z = {
4447
4453
  BalanceError: "BalanceError",
4448
4454
  CheckWalletExchangeError: "CheckWalletExchangeError",
4449
4455
  WalletExchangeError: "WalletExchangeError",
4450
4456
  CurrenciesError: "CurrenciesError"
4451
- }, qn = {
4457
+ }, Qn = {
4452
4458
  ResetVaultWidget: "ResetVaultWidget",
4453
4459
  CloseVaultWidget: "CloseVaultWidget"
4454
- }, Qt = {
4460
+ }, Jt = {
4455
4461
  VaultWidgetReset: "VaultWidgetReset",
4456
4462
  VaultWidgetClosed: "VaultWidgetClosed",
4457
4463
  VaultDropdownToggled: "VaultDropdownToggled"
4458
- }, Kn = {
4464
+ }, Yn = {
4459
4465
  Real: "Real",
4460
4466
  Vault: "Vault"
4461
- }, Te = {
4467
+ }, Se = {
4462
4468
  success: "success",
4463
4469
  error: "error"
4464
- }, Yt = String(Number.MAX_SAFE_INTEGER).length + 1, wt = {
4470
+ }, en = String(Number.MAX_SAFE_INTEGER).length + 1, At = {
4465
4471
  ArrowDown: "ArrowDown",
4466
4472
  ArrowUp: "ArrowUp",
4467
4473
  Enter: "Enter",
4468
4474
  Escape: "Escape"
4469
- }, Se = {
4475
+ }, Be = {
4470
4476
  true: "true"
4471
- }, Qn = {
4477
+ }, Jn = {
4472
4478
  Fiat: "Fiat",
4473
4479
  CryptoCurrency: "CryptoCurrency"
4474
- }, Ka = {
4480
+ }, Ya = {
4475
4481
  Credit: "Credit"
4476
4482
  };
4477
- function Qa(e, t) {
4483
+ function Ja(e, t) {
4478
4484
  let n;
4479
4485
  return function(...r) {
4480
4486
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4482,14 +4488,14 @@ function Qa(e, t) {
4482
4488
  }, t);
4483
4489
  };
4484
4490
  }
4485
- const Yn = (e, t = null, n = 2) => {
4491
+ const er = (e, t = null, n = 2) => {
4486
4492
  try {
4487
4493
  return JSON.stringify(e, t, n);
4488
4494
  } catch (r) {
4489
4495
  return console.warn("Failed to stringify:", r), null;
4490
4496
  }
4491
4497
  };
4492
- function Ya(e) {
4498
+ function eo(e) {
4493
4499
  const t = (n) => {
4494
4500
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4495
4501
  };
@@ -4499,14 +4505,14 @@ function Ya(e) {
4499
4505
  }
4500
4506
  };
4501
4507
  }
4502
- function Ja(e) {
4503
- bn(e, "svelte-1g9pqha", ".selectWrapper.svelte-1g9pqha.svelte-1g9pqha{position:relative;min-width:96px;font-family:inherit;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px)}.selectButton.svelte-1g9pqha.svelte-1g9pqha{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;display:flex;align-items:center;justify-content:space-between;color:var(--emw--select-typography, #595959);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));padding:0 var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px);font-family:inherit}.selectButton.svelte-1g9pqha.svelte-1g9pqha:focus-visible{outline:none}.label.svelte-1g9pqha.svelte-1g9pqha{display:flex;align-items:center}.selectDropdownWrapper.svelte-1g9pqha.svelte-1g9pqha{position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;z-index:100;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px)}.selectDropdown.svelte-1g9pqha.svelte-1g9pqha{display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha{height:24px;flex:0 0 24px;display:flex;align-items:center;;;padding:0 var(--emw--spacing-small, 10px);cursor:pointer;transition:all 0.3s ease}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha:hover,.selectDropdown.svelte-1g9pqha li.active.svelte-1g9pqha{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-1g9pqha.svelte-1g9pqha{display:inline-flex;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw--symbol-background, #595959);font-size:var(--emw--font-size-small, 12px);color:var(--emw--symbol-typography, #fff)}");
4508
+ function to(e) {
4509
+ En(e, "svelte-1g9pqha", ".selectWrapper.svelte-1g9pqha.svelte-1g9pqha{position:relative;min-width:96px;font-family:inherit;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px)}.selectButton.svelte-1g9pqha.svelte-1g9pqha{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;display:flex;align-items:center;justify-content:space-between;color:var(--emw--select-typography, #595959);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));padding:0 var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px);font-family:inherit}.selectButton.svelte-1g9pqha.svelte-1g9pqha:focus-visible{outline:none}.label.svelte-1g9pqha.svelte-1g9pqha{display:flex;align-items:center}.selectDropdownWrapper.svelte-1g9pqha.svelte-1g9pqha{position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;z-index:100;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px)}.selectDropdown.svelte-1g9pqha.svelte-1g9pqha{display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha{height:24px;flex:0 0 24px;display:flex;align-items:center;;;padding:0 var(--emw--spacing-small, 10px);cursor:pointer;transition:all 0.3s ease}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha:hover,.selectDropdown.svelte-1g9pqha li.active.svelte-1g9pqha{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-1g9pqha.svelte-1g9pqha{display:inline-flex;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw--symbol-background, #595959);font-size:var(--emw--font-size-small, 12px);color:var(--emw--symbol-typography, #fff)}");
4504
4510
  }
4505
- function Jn(e, t, n) {
4511
+ function tr(e, t, n) {
4506
4512
  const r = e.slice();
4507
4513
  return r[16] = t[n], r[18] = n, r;
4508
4514
  }
4509
- function er(e) {
4515
+ function nr(e) {
4510
4516
  let t, n = (
4511
4517
  /*selected*/
4512
4518
  (e[0]?.symbol || "") + ""
@@ -4528,13 +4534,13 @@ function er(e) {
4528
4534
  }
4529
4535
  };
4530
4536
  }
4531
- function tr(e) {
4532
- let t, n, r = Ht(
4537
+ function rr(e) {
4538
+ let t, n, r = It(
4533
4539
  /*options*/
4534
4540
  e[1]
4535
4541
  ), i = [];
4536
4542
  for (let a = 0; a < r.length; a += 1)
4537
- i[a] = nr(Jn(e, r, a));
4543
+ i[a] = ir(tr(e, r, a));
4538
4544
  return {
4539
4545
  c() {
4540
4546
  t = w("div"), n = w("ul");
@@ -4551,14 +4557,14 @@ function tr(e) {
4551
4557
  p(a, o) {
4552
4558
  if (o & /*options, selected, activeIndex, handleChange*/
4553
4559
  547) {
4554
- r = Ht(
4560
+ r = It(
4555
4561
  /*options*/
4556
4562
  a[1]
4557
4563
  );
4558
4564
  let l;
4559
4565
  for (l = 0; l < r.length; l += 1) {
4560
- const s = Jn(a, r, l);
4561
- i[l] ? i[l].p(s, o) : (i[l] = nr(s), i[l].c(), i[l].m(n, null));
4566
+ const s = tr(a, r, l);
4567
+ i[l] ? i[l].p(s, o) : (i[l] = ir(s), i[l].c(), i[l].m(n, null));
4562
4568
  }
4563
4569
  for (; l < i.length; l += 1)
4564
4570
  i[l].d(1);
@@ -4566,11 +4572,11 @@ function tr(e) {
4566
4572
  }
4567
4573
  },
4568
4574
  d(a) {
4569
- a && A(t), cr(i, a), e[14](null);
4575
+ a && A(t), fr(i, a), e[14](null);
4570
4576
  }
4571
4577
  };
4572
4578
  }
4573
- function nr(e) {
4579
+ function ir(e) {
4574
4580
  let t, n, r = (
4575
4581
  /*option*/
4576
4582
  e[16]?.symbol + ""
@@ -4580,7 +4586,7 @@ function nr(e) {
4580
4586
  ), l, s, u, h, f;
4581
4587
  return {
4582
4588
  c() {
4583
- t = w("li"), n = w("span"), i = z(r), a = L(), l = z(o), s = L(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4589
+ t = w("li"), n = w("span"), i = z(r), a = I(), l = z(o), s = I(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4584
4590
  e[16]?.currency === /*selected*/
4585
4591
  e[0]?.currency || /*index*/
4586
4592
  e[18] === /*activeIndex*/
@@ -4596,9 +4602,9 @@ function nr(e) {
4596
4602
  },
4597
4603
  m(c, g) {
4598
4604
  T(c, t, g), v(t, n), v(n, i), v(t, a), v(t, l), v(t, s), h || (f = [
4599
- re(t, "keydown", to),
4605
+ re(t, "keydown", ro),
4600
4606
  re(t, "click", function() {
4601
- pt(
4607
+ gt(
4602
4608
  /*handleChange*/
4603
4609
  e[9](
4604
4610
  /*option*/
@@ -4637,11 +4643,11 @@ function nr(e) {
4637
4643
  );
4638
4644
  },
4639
4645
  d(c) {
4640
- c && A(t), h = !1, _e(f);
4646
+ c && A(t), h = !1, xe(f);
4641
4647
  }
4642
4648
  };
4643
4649
  }
4644
- function eo(e) {
4650
+ function no(e) {
4645
4651
  let t, n, r, i, a = (
4646
4652
  /*selected*/
4647
4653
  (e[0]?.currency || /*placeholder*/
@@ -4649,14 +4655,14 @@ function eo(e) {
4649
4655
  ), o, l, s, u, h, f, c = (
4650
4656
  /*selected*/
4651
4657
  e[0]?.symbol && /*withSymbol*/
4652
- e[3] === Se.true && er(e)
4658
+ e[3] === Be.true && nr(e)
4653
4659
  ), g = (
4654
4660
  /*open*/
4655
- e[7] && tr(e)
4661
+ e[7] && rr(e)
4656
4662
  );
4657
4663
  return {
4658
4664
  c() {
4659
- t = w("div"), n = w("button"), r = w("span"), c && c.c(), i = L(), o = z(a), l = L(), s = w("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = L(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4665
+ t = w("div"), n = w("button"), r = w("span"), c && c.c(), i = I(), o = z(a), l = I(), s = w("span"), s.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = I(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4660
4666
  s,
4661
4667
  "open",
4662
4668
  /*open*/
@@ -4677,11 +4683,11 @@ function eo(e) {
4677
4683
  /*handleKeyDown*/
4678
4684
  e[11]
4679
4685
  ),
4680
- re(n, "click", Wr(
4686
+ re(n, "click", zr(
4681
4687
  /*handleToggleDropdown*/
4682
4688
  e[8]
4683
4689
  )),
4684
- Ur(Ya.call(null, t)),
4690
+ $r(eo.call(null, t)),
4685
4691
  re(
4686
4692
  t,
4687
4693
  "outclick",
@@ -4693,7 +4699,7 @@ function eo(e) {
4693
4699
  p(b, [y]) {
4694
4700
  /*selected*/
4695
4701
  b[0]?.symbol && /*withSymbol*/
4696
- b[3] === Se.true ? c ? c.p(b, y) : (c = er(b), c.c(), c.m(r, i)) : c && (c.d(1), c = null), y & /*selected, placeholder*/
4702
+ b[3] === Be.true ? c ? c.p(b, y) : (c = nr(b), c.c(), c.m(r, i)) : c && (c.d(1), c = null), y & /*selected, placeholder*/
4697
4703
  5 && a !== (a = /*selected*/
4698
4704
  (b[0]?.currency || /*placeholder*/
4699
4705
  b[2]) + "") && ie(o, a), y & /*open*/
@@ -4711,18 +4717,18 @@ function eo(e) {
4711
4717
  ), y & /*disabled*/
4712
4718
  16 && (n.disabled = /*disabled*/
4713
4719
  b[4]), /*open*/
4714
- b[7] ? g ? g.p(b, y) : (g = tr(b), g.c(), g.m(t, null)) : g && (g.d(1), g = null);
4720
+ b[7] ? g ? g.p(b, y) : (g = rr(b), g.c(), g.m(t, null)) : g && (g.d(1), g = null);
4715
4721
  },
4716
4722
  i: B,
4717
4723
  o: B,
4718
4724
  d(b) {
4719
- b && A(t), c && c.d(), g && g.d(), h = !1, _e(f);
4725
+ b && A(t), c && c.d(), g && g.d(), h = !1, xe(f);
4720
4726
  }
4721
4727
  };
4722
4728
  }
4723
- const to = (e) => e.preventDefault();
4724
- function no(e, t, n) {
4725
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = D("select") } = t, { withSymbol: o = "true" } = t, { id: l } = t, { disabled: s = !1 } = t, { onChange: u = () => {
4729
+ const ro = (e) => e.preventDefault();
4730
+ function io(e, t, n) {
4731
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = R("select") } = t, { withSymbol: o = "true" } = t, { id: l } = t, { disabled: s = !1 } = t, { onChange: u = () => {
4726
4732
  } } = t, h = -1, f, c = !1;
4727
4733
  const g = () => {
4728
4734
  r.length !== 0 && (n(7, c = !c), c && (n(5, h = r.findIndex((E) => E?.currency === i?.currency)), setTimeout(() => f?.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: l }))));
@@ -4730,18 +4736,18 @@ function no(e, t, n) {
4730
4736
  E.detail !== l && c && n(7, c = !1);
4731
4737
  }, y = (E, j) => () => {
4732
4738
  n(7, c = !1), n(0, i = E), u && typeof u == "function" && u(E, j);
4733
- }, P = () => {
4739
+ }, N = () => {
4734
4740
  n(7, c = !1);
4735
- }, O = (E) => {
4736
- c && (E.key === wt.ArrowDown ? (E.preventDefault(), n(5, h = (h + 1) % r.length)) : E.key === wt.ArrowUp ? (E.preventDefault(), n(5, h = (h - 1 + r.length) % r.length)) : E.key === wt.Enter ? (E.preventDefault(), y(i, h)()) : E.key === wt.Escape && n(7, c = !1));
4741
+ }, P = (E) => {
4742
+ c && (E.key === At.ArrowDown ? (E.preventDefault(), n(5, h = (h + 1) % r.length)) : E.key === At.ArrowUp ? (E.preventDefault(), n(5, h = (h - 1 + r.length) % r.length)) : E.key === At.Enter ? (E.preventDefault(), y(i, h)()) : E.key === At.Escape && n(7, c = !1));
4737
4743
  };
4738
- fr(() => {
4744
+ gr(() => {
4739
4745
  window.addEventListener("dropdown-opened", b);
4740
- }), Zr(() => {
4746
+ }), Kr(() => {
4741
4747
  window.removeEventListener("dropdown-opened", b);
4742
4748
  });
4743
- function R(E) {
4744
- $e[E ? "unshift" : "push"](() => {
4749
+ function O(E) {
4750
+ je[E ? "unshift" : "push"](() => {
4745
4751
  f = E, n(6, f);
4746
4752
  });
4747
4753
  }
@@ -4758,21 +4764,21 @@ function no(e, t, n) {
4758
4764
  c,
4759
4765
  g,
4760
4766
  y,
4767
+ N,
4761
4768
  P,
4762
- O,
4763
4769
  l,
4764
4770
  u,
4765
- R
4771
+ O
4766
4772
  ];
4767
4773
  }
4768
- class yn extends _n {
4774
+ class vn extends wn {
4769
4775
  constructor(t) {
4770
- super(), vn(
4776
+ super(), _n(
4771
4777
  this,
4772
4778
  t,
4779
+ io,
4773
4780
  no,
4774
- eo,
4775
- Pt,
4781
+ Rt,
4776
4782
  {
4777
4783
  options: 1,
4778
4784
  selected: 0,
@@ -4782,7 +4788,7 @@ class yn extends _n {
4782
4788
  disabled: 4,
4783
4789
  onChange: 13
4784
4790
  },
4785
- Ja
4791
+ to
4786
4792
  );
4787
4793
  }
4788
4794
  get options() {
@@ -4828,15 +4834,15 @@ class yn extends _n {
4828
4834
  this.$$set({ onChange: t }), G();
4829
4835
  }
4830
4836
  }
4831
- En(yn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4832
- function ro(e) {
4833
- bn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4837
+ xn(vn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4838
+ function ao(e) {
4839
+ En(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4834
4840
  }
4835
- function io(e) {
4836
- let t, n, r = D("balanceUnavailable") + "", i;
4841
+ function oo(e) {
4842
+ let t, n, r = R("balanceUnavailable") + "", i;
4837
4843
  return {
4838
4844
  c() {
4839
- t = w("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 = L(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4845
+ t = w("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 = I(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4840
4846
  },
4841
4847
  m(a, o) {
4842
4848
  T(a, t, o), T(a, n, o), T(a, i, o);
@@ -4849,20 +4855,20 @@ function io(e) {
4849
4855
  }
4850
4856
  };
4851
4857
  }
4852
- class Ft extends _n {
4858
+ class Ut extends wn {
4853
4859
  constructor(t) {
4854
- super(), vn(this, t, null, io, Pt, {}, ro);
4860
+ super(), _n(this, t, null, oo, Rt, {}, ao);
4855
4861
  }
4856
4862
  }
4857
- En(Ft, {}, [], [], !0);
4858
- function ao(e) {
4859
- bn(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
4863
+ xn(Ut, {}, [], [], !0);
4864
+ function so(e) {
4865
+ En(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
4860
4866
  }
4861
- function rr(e, t, n) {
4867
+ function ar(e, t, n) {
4862
4868
  const r = e.slice();
4863
4869
  return r[62] = t[n], r;
4864
4870
  }
4865
- function ir(e) {
4871
+ function or(e) {
4866
4872
  let t, n, r;
4867
4873
  return {
4868
4874
  c() {
@@ -4882,9 +4888,9 @@ function ir(e) {
4882
4888
  }
4883
4889
  };
4884
4890
  }
4885
- function ar(e) {
4891
+ function sr(e) {
4886
4892
  let t, n, r, i;
4887
- const a = [so, oo], o = [];
4893
+ const a = [uo, lo], o = [];
4888
4894
  function l(s, u) {
4889
4895
  return !/*isBalanceFetched*/
4890
4896
  s[16] || !/*isCurrenciesFetched*/
@@ -4892,16 +4898,16 @@ function ar(e) {
4892
4898
  }
4893
4899
  return t = l(e), n = o[t] = a[t](e), {
4894
4900
  c() {
4895
- n.c(), r = jr();
4901
+ n.c(), r = Xr();
4896
4902
  },
4897
4903
  m(s, u) {
4898
4904
  o[t].m(s, u), T(s, r, u), i = !0;
4899
4905
  },
4900
4906
  p(s, u) {
4901
4907
  let h = t;
4902
- t = l(s), t === h ? o[t].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
4908
+ t = l(s), t === h ? o[t].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
4903
4909
  o[h] = null;
4904
- }), Oe(), n = o[t], n ? n.p(s, u) : (n = o[t] = a[t](s), n.c()), $(n, 1), n.m(r.parentNode, r));
4910
+ }), Re(), n = o[t], n ? n.p(s, u) : (n = o[t] = a[t](s), n.c()), $(n, 1), n.m(r.parentNode, r));
4905
4911
  },
4906
4912
  i(s) {
4907
4913
  i || ($(n), i = !0);
@@ -4914,9 +4920,9 @@ function ar(e) {
4914
4920
  }
4915
4921
  };
4916
4922
  }
4917
- function oo(e) {
4923
+ function lo(e) {
4918
4924
  let t, n, r, i;
4919
- const a = [uo, lo], o = [];
4925
+ const a = [ho, co], o = [];
4920
4926
  function l(s, u) {
4921
4927
  return (
4922
4928
  /*fetchResponse*/
@@ -4932,9 +4938,9 @@ function oo(e) {
4932
4938
  },
4933
4939
  p(s, u) {
4934
4940
  let h = n;
4935
- n = l(s), n === h ? o[n].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
4941
+ n = l(s), n === h ? o[n].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
4936
4942
  o[h] = null;
4937
- }), Oe(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
4943
+ }), Re(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
4938
4944
  },
4939
4945
  i(s) {
4940
4946
  i || ($(r), i = !0);
@@ -4947,7 +4953,7 @@ function oo(e) {
4947
4953
  }
4948
4954
  };
4949
4955
  }
4950
- function so(e) {
4956
+ function uo(e) {
4951
4957
  let t;
4952
4958
  return {
4953
4959
  c() {
@@ -4964,7 +4970,7 @@ function so(e) {
4964
4970
  }
4965
4971
  };
4966
4972
  }
4967
- function lo(e) {
4973
+ function co(e) {
4968
4974
  let t, n, r = (
4969
4975
  /*playerBalance*/
4970
4976
  (e[10]?.amount || 0) + ""
@@ -4974,7 +4980,7 @@ function lo(e) {
4974
4980
  ), l;
4975
4981
  return {
4976
4982
  c() {
4977
- t = w("span"), t.textContent = `${D("totalBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "totalAmount");
4983
+ t = w("span"), t.textContent = `${R("totalBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "totalAmount");
4978
4984
  },
4979
4985
  m(s, u) {
4980
4986
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -4993,14 +4999,14 @@ function lo(e) {
4993
4999
  }
4994
5000
  };
4995
5001
  }
4996
- function uo(e) {
5002
+ function ho(e) {
4997
5003
  let t, n;
4998
- return t = new Ft({}), {
5004
+ return t = new Ut({}), {
4999
5005
  c() {
5000
- ut(t.$$.fragment);
5006
+ ct(t.$$.fragment);
5001
5007
  },
5002
5008
  m(r, i) {
5003
- je(t, r, i), n = !0;
5009
+ We(t, r, i), n = !0;
5004
5010
  },
5005
5011
  p: B,
5006
5012
  i(r) {
@@ -5010,13 +5016,13 @@ function uo(e) {
5010
5016
  X(t.$$.fragment, r), n = !1;
5011
5017
  },
5012
5018
  d(r) {
5013
- We(t, r);
5019
+ Xe(t, r);
5014
5020
  }
5015
5021
  };
5016
5022
  }
5017
- function co(e) {
5023
+ function fo(e) {
5018
5024
  let t, n, r, i, a, o, l, s, u;
5019
- const h = [po, fo], f = [];
5025
+ const h = [mo, go], f = [];
5020
5026
  function c(g, b) {
5021
5027
  return (
5022
5028
  /*fetchResponse*/
@@ -5028,7 +5034,7 @@ function co(e) {
5028
5034
  t = w("div"), n = w("p"), r = z(
5029
5035
  /*validationError*/
5030
5036
  e[13]
5031
- ), i = L(), a = w("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5037
+ ), i = I(), a = w("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5032
5038
  (e[13] ? "hasError" : ""));
5033
5039
  },
5034
5040
  m(g, b) {
@@ -5042,9 +5048,9 @@ function co(e) {
5042
5048
  g[13]
5043
5049
  );
5044
5050
  let y = o;
5045
- o = c(g), o === y ? f[o].p(g, b) : (Pe(), X(f[y], 1, 1, () => {
5051
+ o = c(g), o === y ? f[o].p(g, b) : (Oe(), X(f[y], 1, 1, () => {
5046
5052
  f[y] = null;
5047
- }), Oe(), l = f[o], l ? l.p(g, b) : (l = f[o] = h[o](g), l.c()), $(l, 1), l.m(a, null)), (!u || b[0] & /*validationError*/
5053
+ }), Re(), l = f[o], l ? l.p(g, b) : (l = f[o] = h[o](g), l.c()), $(l, 1), l.m(a, null)), (!u || b[0] & /*validationError*/
5048
5054
  8192 && s !== (s = "balanceContainer " + /*validationError*/
5049
5055
  (g[13] ? "hasError" : ""))) && m(t, "class", s);
5050
5056
  },
@@ -5059,7 +5065,7 @@ function co(e) {
5059
5065
  }
5060
5066
  };
5061
5067
  }
5062
- function ho(e) {
5068
+ function po(e) {
5063
5069
  let t;
5064
5070
  return {
5065
5071
  c() {
@@ -5076,7 +5082,7 @@ function ho(e) {
5076
5082
  }
5077
5083
  };
5078
5084
  }
5079
- function fo(e) {
5085
+ function go(e) {
5080
5086
  let t, n, r = (
5081
5087
  /*selectedCurrencyFrom*/
5082
5088
  (e[5]?.amount || 0) + ""
@@ -5086,7 +5092,7 @@ function fo(e) {
5086
5092
  ), l;
5087
5093
  return {
5088
5094
  c() {
5089
- t = w("span"), t.textContent = `${D("currentBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "amount");
5095
+ t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5090
5096
  },
5091
5097
  m(s, u) {
5092
5098
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5105,14 +5111,14 @@ function fo(e) {
5105
5111
  }
5106
5112
  };
5107
5113
  }
5108
- function po(e) {
5114
+ function mo(e) {
5109
5115
  let t, n;
5110
- return t = new Ft({}), {
5116
+ return t = new Ut({}), {
5111
5117
  c() {
5112
- ut(t.$$.fragment);
5118
+ ct(t.$$.fragment);
5113
5119
  },
5114
5120
  m(r, i) {
5115
- je(t, r, i), n = !0;
5121
+ We(t, r, i), n = !0;
5116
5122
  },
5117
5123
  p: B,
5118
5124
  i(r) {
@@ -5122,13 +5128,13 @@ function po(e) {
5122
5128
  X(t.$$.fragment, r), n = !1;
5123
5129
  },
5124
5130
  d(r) {
5125
- We(t, r);
5131
+ Xe(t, r);
5126
5132
  }
5127
5133
  };
5128
5134
  }
5129
- function go(e) {
5135
+ function yo(e) {
5130
5136
  let t, n, r, i;
5131
- const a = [bo, yo], o = [];
5137
+ const a = [Eo, vo], o = [];
5132
5138
  function l(s, u) {
5133
5139
  return (
5134
5140
  /*fetchResponse*/
@@ -5144,9 +5150,9 @@ function go(e) {
5144
5150
  },
5145
5151
  p(s, u) {
5146
5152
  let h = n;
5147
- n = l(s), n === h ? o[n].p(s, u) : (Pe(), X(o[h], 1, 1, () => {
5153
+ n = l(s), n === h ? o[n].p(s, u) : (Oe(), X(o[h], 1, 1, () => {
5148
5154
  o[h] = null;
5149
- }), Oe(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
5155
+ }), Re(), r = o[n], r ? r.p(s, u) : (r = o[n] = a[n](s), r.c()), $(r, 1), r.m(t, null));
5150
5156
  },
5151
5157
  i(s) {
5152
5158
  i || ($(r), i = !0);
@@ -5159,7 +5165,7 @@ function go(e) {
5159
5165
  }
5160
5166
  };
5161
5167
  }
5162
- function mo(e) {
5168
+ function bo(e) {
5163
5169
  let t;
5164
5170
  return {
5165
5171
  c() {
@@ -5176,7 +5182,7 @@ function mo(e) {
5176
5182
  }
5177
5183
  };
5178
5184
  }
5179
- function yo(e) {
5185
+ function vo(e) {
5180
5186
  let t, n, r = (
5181
5187
  /*selectedCurrencyTo*/
5182
5188
  (e[6]?.amount || 0) + ""
@@ -5186,7 +5192,7 @@ function yo(e) {
5186
5192
  ), l;
5187
5193
  return {
5188
5194
  c() {
5189
- t = w("span"), t.textContent = `${D("currentBalance")}`, n = L(), i = z(r), a = L(), l = z(o), m(t, "class", "amount");
5195
+ t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5190
5196
  },
5191
5197
  m(s, u) {
5192
5198
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5205,14 +5211,14 @@ function yo(e) {
5205
5211
  }
5206
5212
  };
5207
5213
  }
5208
- function bo(e) {
5214
+ function Eo(e) {
5209
5215
  let t, n;
5210
- return t = new Ft({}), {
5216
+ return t = new Ut({}), {
5211
5217
  c() {
5212
- ut(t.$$.fragment);
5218
+ ct(t.$$.fragment);
5213
5219
  },
5214
5220
  m(r, i) {
5215
- je(t, r, i), n = !0;
5221
+ We(t, r, i), n = !0;
5216
5222
  },
5217
5223
  p: B,
5218
5224
  i(r) {
@@ -5222,20 +5228,20 @@ function bo(e) {
5222
5228
  X(t.$$.fragment, r), n = !1;
5223
5229
  },
5224
5230
  d(r) {
5225
- We(t, r);
5231
+ Xe(t, r);
5226
5232
  }
5227
5233
  };
5228
5234
  }
5229
- function or(e) {
5230
- let t, n, r, i, a, o, l, s, u, h, f = Ht(
5235
+ function lr(e) {
5236
+ let t, n, r, i, a, o, l, s, u, h, f = It(
5231
5237
  /*dropDownVaults*/
5232
5238
  e[19]
5233
5239
  ), c = [];
5234
5240
  for (let g = 0; g < f.length; g += 1)
5235
- c[g] = sr(rr(e, f, g));
5241
+ c[g] = ur(ar(e, f, g));
5236
5242
  return {
5237
5243
  c() {
5238
- t = w("div"), n = w("button"), r = Tn("svg"), i = Tn("path"), o = L(), l = w("div");
5244
+ t = w("div"), n = w("button"), r = Bn("svg"), i = Bn("path"), o = I(), l = w("div");
5239
5245
  for (let g = 0; g < c.length; g += 1)
5240
5246
  c[g].c();
5241
5247
  m(i, "d", "M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z"), m(i, "fill", "currentColor"), m(r, "class", "vaultToggleIcon"), m(r, "width", "12"), m(r, "height", "7"), m(r, "viewBox", "0 0 12 7"), m(r, "fill", "currentColor"), m(r, "xmlns", "http://www.w3.org/2000/svg"), m(n, "type", "button"), m(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
@@ -5261,14 +5267,14 @@ function or(e) {
5261
5267
  (g[15] && /*dropDownVaults*/
5262
5268
  g[19].length > 0 ? "active" : "")) && m(n, "class", a), b[0] & /*dropDownVaults*/
5263
5269
  524288) {
5264
- f = Ht(
5270
+ f = It(
5265
5271
  /*dropDownVaults*/
5266
5272
  g[19]
5267
5273
  );
5268
5274
  let y;
5269
5275
  for (y = 0; y < f.length; y += 1) {
5270
- const P = rr(g, f, y);
5271
- c[y] ? c[y].p(P, b) : (c[y] = sr(P), c[y].c(), c[y].m(l, null));
5276
+ const N = ar(g, f, y);
5277
+ c[y] ? c[y].p(N, b) : (c[y] = ur(N), c[y].c(), c[y].m(l, null));
5272
5278
  }
5273
5279
  for (; y < c.length; y += 1)
5274
5280
  c[y].d(1);
@@ -5280,11 +5286,11 @@ function or(e) {
5280
5286
  g[19].length > 0 ? "expanded" : "")) && m(l, "class", s);
5281
5287
  },
5282
5288
  d(g) {
5283
- g && A(t), cr(c, g), u = !1, h();
5289
+ g && A(t), fr(c, g), u = !1, h();
5284
5290
  }
5285
5291
  };
5286
5292
  }
5287
- function sr(e) {
5293
+ function ur(e) {
5288
5294
  let t, n, r = (
5289
5295
  /*vault*/
5290
5296
  e[62]?.currency + ""
@@ -5294,7 +5300,7 @@ function sr(e) {
5294
5300
  ), s, u;
5295
5301
  return {
5296
5302
  c() {
5297
- t = w("div"), n = w("p"), i = z(r), a = L(), o = w("p"), s = z(l), u = L(), m(t, "class", "vaultItem");
5303
+ t = w("div"), n = w("p"), i = z(r), a = I(), o = w("p"), s = z(l), u = I(), m(t, "class", "vaultItem");
5298
5304
  },
5299
5305
  m(h, f) {
5300
5306
  T(h, t, f), v(t, n), v(n, i), v(t, a), v(t, o), v(o, s), v(t, u);
@@ -5311,7 +5317,7 @@ function sr(e) {
5311
5317
  }
5312
5318
  };
5313
5319
  }
5314
- function vo(e) {
5320
+ function _o(e) {
5315
5321
  let t = `${/*currentFee*/
5316
5322
  e[11]?.fees[0]?.amount || 0} ${/*currentFee*/
5317
5323
  e[11]?.fees[0]?.currency || ""}`, n;
@@ -5333,8 +5339,8 @@ function vo(e) {
5333
5339
  }
5334
5340
  };
5335
5341
  }
5336
- function Eo(e) {
5337
- let t = D("feesUnavailable") + "", n;
5342
+ function xo(e) {
5343
+ let t = R("feesUnavailable") + "", n;
5338
5344
  return {
5339
5345
  c() {
5340
5346
  n = z(t);
@@ -5348,21 +5354,21 @@ function Eo(e) {
5348
5354
  }
5349
5355
  };
5350
5356
  }
5351
- function _o(e) {
5352
- let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, P, O, R, E, j, M, K, ge, ae, W, ue, de, se, ce, xe, Q, ee, he, Je, we, De, gt, ke, et, oe, me = D(
5357
+ function wo(e) {
5358
+ let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, N, P, O, E, j, k, K, de, ae, W, ue, me, se, ce, we, Q, ee, he, et, Ae, ke, dt, Me, tt, oe, ye = R(
5353
5359
  /*fetchResponse*/
5354
5360
  e[12]?.message || ""
5355
- ) + "", Ae, ye, be, Me, te, Ce = D("exchange") + "", dt, ve, ne, tt, nt, Y = (
5361
+ ) + "", Ce, be, ve, Fe, te, Te = R("exchange") + "", mt, Ee, ne, nt, rt, Y = (
5356
5362
  /*showclosebutton*/
5357
- e[3] === Se.true && ir(e)
5363
+ e[3] === Be.true && or(e)
5358
5364
  ), U = (
5359
5365
  /*showtotalbalance*/
5360
- e[2] === Se.true && ar(e)
5366
+ e[2] === Be.true && sr(e)
5361
5367
  );
5362
- function Vt(d) {
5368
+ function Gt(d) {
5363
5369
  e[39](d);
5364
5370
  }
5365
- let mt = {
5371
+ let yt = {
5366
5372
  id: "senderSelect",
5367
5373
  withSymbol: (
5368
5374
  /*showcurrencysymbol*/
@@ -5381,19 +5387,19 @@ function _o(e) {
5381
5387
  )
5382
5388
  };
5383
5389
  /*selectedCurrencyFrom*/
5384
- e[5] !== void 0 && (mt.selected = /*selectedCurrencyFrom*/
5385
- e[5]), y = new yn({ props: mt }), $e.push(() => Bn(y, "selected", Vt));
5386
- const yt = [ho, co], fe = [];
5387
- function rt(d, C) {
5390
+ e[5] !== void 0 && (yt.selected = /*selectedCurrencyFrom*/
5391
+ e[5]), y = new vn({ props: yt }), je.push(() => In(y, "selected", Gt));
5392
+ const bt = [po, fo], fe = [];
5393
+ function it(d, C) {
5388
5394
  return !/*isBalanceFetched*/
5389
5395
  d[16] || !/*isCurrenciesFetched*/
5390
5396
  d[17] ? 0 : 1;
5391
5397
  }
5392
- R = rt(e), E = fe[R] = yt[R](e);
5393
- function Ut(d) {
5398
+ O = it(e), E = fe[O] = bt[O](e);
5399
+ function $t(d) {
5394
5400
  e[41](d);
5395
5401
  }
5396
- let bt = {
5402
+ let vt = {
5397
5403
  id: "destinationSelect",
5398
5404
  withSymbol: (
5399
5405
  /*showcurrencysymbol*/
@@ -5414,35 +5420,35 @@ function _o(e) {
5414
5420
  )
5415
5421
  };
5416
5422
  /*selectedCurrencyTo*/
5417
- e[6] !== void 0 && (bt.selected = /*selectedCurrencyTo*/
5418
- e[6]), se = new yn({ props: bt }), $e.push(() => Bn(se, "selected", Ut));
5419
- const vt = [mo, go], pe = [];
5420
- function Et(d, C) {
5423
+ e[6] !== void 0 && (vt.selected = /*selectedCurrencyTo*/
5424
+ e[6]), se = new vn({ props: vt }), je.push(() => In(se, "selected", $t));
5425
+ const Et = [bo, yo], pe = [];
5426
+ function _t(d, C) {
5421
5427
  return !/*isBalanceFetched*/
5422
5428
  d[16] || !/*isCurrenciesFetched*/
5423
5429
  d[17] ? 0 : 1;
5424
5430
  }
5425
- Q = Et(e), ee = pe[Q] = vt[Q](e);
5431
+ Q = _t(e), ee = pe[Q] = Et[Q](e);
5426
5432
  let p = (
5427
5433
  /*showvaults*/
5428
- e[1] === Se.true && or(e)
5434
+ e[1] === Be.true && lr(e)
5429
5435
  );
5430
5436
  function _(d, C) {
5431
5437
  return (
5432
5438
  /*fetchResponse*/
5433
- d[12]?.source === Z.CheckWalletExchangeError ? Eo : vo
5439
+ d[12]?.source === Z.CheckWalletExchangeError ? xo : _o
5434
5440
  );
5435
5441
  }
5436
- let N = _(e), x = N(e);
5442
+ let L = _(e), x = L(e);
5437
5443
  return {
5438
5444
  c() {
5439
- t = w("div"), Y && Y.c(), n = L(), r = w("div"), i = w("h1"), i.textContent = `${D("vaultExchange")}`, a = L(), U && U.c(), o = L(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${D("exchangeFrom")}`, h = L(), f = w("div"), c = w("input"), b = L(), ut(y.$$.fragment), O = L(), E.c(), j = L(), M = w("div"), K = w("p"), K.textContent = `${D("exchangeTo")}`, ge = L(), ae = w("div"), W = w("input"), de = L(), ut(se.$$.fragment), xe = L(), ee.c(), he = L(), p && p.c(), Je = L(), we = w("div"), De = w("span"), De.textContent = `${D("feesIncluded")}`, gt = L(), ke = w("span"), x.c(), et = L(), oe = w("div"), Ae = L(), ye = w("div"), be = w("button"), be.textContent = `${D("reset")}`, Me = L(), te = w("button"), dt = z(Ce), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5445
+ t = w("div"), Y && Y.c(), n = I(), r = w("div"), i = w("h1"), i.textContent = `${R("vaultExchange")}`, a = I(), U && U.c(), o = I(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${R("exchangeFrom")}`, h = I(), f = w("div"), c = w("input"), b = I(), ct(y.$$.fragment), P = I(), E.c(), j = I(), k = w("div"), K = w("p"), K.textContent = `${R("exchangeTo")}`, de = I(), ae = w("div"), W = w("input"), me = I(), ct(se.$$.fragment), we = I(), ee.c(), he = I(), p && p.c(), et = I(), Ae = w("div"), ke = w("span"), ke.textContent = `${R("feesIncluded")}`, dt = I(), Me = w("span"), x.c(), tt = I(), oe = w("div"), Ce = I(), be = w("div"), ve = w("button"), ve.textContent = `${R("reset")}`, Fe = I(), te = w("button"), mt = z(Te), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5440
5446
  e[0] || !/*isBalanceFetched*/
5441
5447
  e[16] || !/*isCurrenciesFetched*/
5442
- e[17], m(c, "placeholder", D("debitPlaceHolder")), m(c, "class", "exchangeInput"), m(c, "type", "number"), m(c, "aria-label", "Enter exchange amount"), m(c, "inputmode", "decimal"), m(c, "step", "0.000000000000001"), m(c, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(K, "class", "exchangeHeader"), m(W, "id", "destinationInput"), W.disabled = ue = !/*session*/
5448
+ e[17], m(c, "placeholder", R("debitPlaceHolder")), m(c, "class", "exchangeInput"), m(c, "type", "number"), m(c, "aria-label", "Enter exchange amount"), m(c, "inputmode", "decimal"), m(c, "step", "0.000000000000001"), m(c, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(K, "class", "exchangeHeader"), m(W, "id", "destinationInput"), W.disabled = ue = !/*session*/
5443
5449
  e[0] || !/*isBalanceFetched*/
5444
5450
  e[16] || !/*isCurrenciesFetched*/
5445
- e[17], m(W, "placeholder", D("creditPlaceHolder")), m(W, "class", "exchangeInput"), m(W, "type", "number"), W.readOnly = !0, m(W, "min", "0"), m(ae, "class", "flexingContainerRow"), m(M, "class", "containerExchangeTo exchangeContainer"), m(l, "class", "exchangesContainer"), m(De, "class", "feesLabel"), m(we, "class", "feesContainer"), m(oe, "class", "notificationsContainer"), le(
5451
+ e[17], m(W, "placeholder", R("creditPlaceHolder")), m(W, "class", "exchangeInput"), m(W, "type", "number"), W.readOnly = !0, m(W, "min", "0"), m(ae, "class", "flexingContainerRow"), m(k, "class", "containerExchangeTo exchangeContainer"), m(l, "class", "exchangesContainer"), m(ke, "class", "feesLabel"), m(Ae, "class", "feesContainer"), m(oe, "class", "notificationsContainer"), le(
5446
5452
  oe,
5447
5453
  "error",
5448
5454
  /*fetchResponse*/
@@ -5452,7 +5458,7 @@ function _o(e) {
5452
5458
  "success",
5453
5459
  /*fetchResponse*/
5454
5460
  e[12]?.type === "success"
5455
- ), m(be, "class", "resetButton"), m(be, "type", "button"), m(te, "type", "button"), m(te, "class", "exchangeButton"), te.disabled = ve = /*isExchangeDisabled*/
5461
+ ), m(ve, "class", "resetButton"), m(ve, "type", "button"), m(te, "type", "button"), m(te, "class", "exchangeButton"), te.disabled = Ee = /*isExchangeDisabled*/
5456
5462
  e[14] || /*isExchangePending*/
5457
5463
  e[18] || /*inputExchangeFrom*/
5458
5464
  e[8] === 0 && !/*selectedCurrencyFrom*/
@@ -5467,18 +5473,18 @@ function _o(e) {
5467
5473
  "pending",
5468
5474
  /*isExchangePending*/
5469
5475
  e[18]
5470
- ), m(ye, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
5476
+ ), m(be, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
5471
5477
  },
5472
5478
  m(d, C) {
5473
- T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), _t(
5479
+ T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), xt(
5474
5480
  c,
5475
5481
  /*inputExchangeFrom*/
5476
5482
  e[8]
5477
- ), v(f, b), je(y, f, null), v(s, O), fe[R].m(s, null), v(l, j), v(l, M), v(M, K), v(M, ge), v(M, ae), v(ae, W), _t(
5483
+ ), v(f, b), We(y, f, null), v(s, P), fe[O].m(s, null), v(l, j), v(l, k), v(k, K), v(k, de), v(k, ae), v(ae, W), xt(
5478
5484
  W,
5479
5485
  /*inputExchangeTo*/
5480
5486
  e[9]
5481
- ), v(ae, de), je(se, ae, null), v(M, xe), pe[Q].m(M, null), v(t, he), p && p.m(t, null), v(t, Je), v(t, we), v(we, De), v(we, gt), v(we, ke), x.m(ke, null), v(t, et), v(t, oe), oe.innerHTML = me, v(t, Ae), v(t, ye), v(ye, be), v(ye, Me), v(ye, te), v(te, dt), e[42](t), ne = !0, tt || (nt = [
5487
+ ), v(ae, me), We(se, ae, null), v(k, we), pe[Q].m(k, null), v(t, he), p && p.m(t, null), v(t, et), v(t, Ae), v(Ae, ke), v(Ae, dt), v(Ae, Me), x.m(Me, null), v(t, tt), v(t, oe), oe.innerHTML = ye, v(t, Ce), v(t, be), v(be, ve), v(be, Fe), v(be, te), v(te, mt), e[42](t), ne = !0, nt || (rt = [
5482
5488
  re(
5483
5489
  c,
5484
5490
  "input",
@@ -5510,7 +5516,7 @@ function _o(e) {
5510
5516
  e[40]
5511
5517
  ),
5512
5518
  re(
5513
- be,
5519
+ ve,
5514
5520
  "click",
5515
5521
  /*handleResetToDefault*/
5516
5522
  e[24]
@@ -5521,72 +5527,72 @@ function _o(e) {
5521
5527
  /*handleExchange*/
5522
5528
  e[29]
5523
5529
  )
5524
- ], tt = !0);
5530
+ ], nt = !0);
5525
5531
  },
5526
5532
  p(d, C) {
5527
5533
  /*showclosebutton*/
5528
- d[3] === Se.true ? Y ? Y.p(d, C) : (Y = ir(d), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5529
- d[2] === Se.true ? U ? (U.p(d, C), C[0] & /*showtotalbalance*/
5530
- 4 && $(U, 1)) : (U = ar(d), U.c(), $(U, 1), U.m(r, null)) : U && (Pe(), X(U, 1, 1, () => {
5534
+ d[3] === Be.true ? Y ? Y.p(d, C) : (Y = or(d), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5535
+ d[2] === Be.true ? U ? (U.p(d, C), C[0] & /*showtotalbalance*/
5536
+ 4 && $(U, 1)) : (U = sr(d), U.c(), $(U, 1), U.m(r, null)) : U && (Oe(), X(U, 1, 1, () => {
5531
5537
  U = null;
5532
- }), Oe()), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5538
+ }), Re()), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5533
5539
  196609 && g !== (g = !/*session*/
5534
5540
  d[0] || !/*isBalanceFetched*/
5535
5541
  d[16] || !/*isCurrenciesFetched*/
5536
5542
  d[17])) && (c.disabled = g), C[0] & /*inputExchangeFrom*/
5537
- 256 && Bt(c.value) !== /*inputExchangeFrom*/
5538
- d[8] && _t(
5543
+ 256 && Ht(c.value) !== /*inputExchangeFrom*/
5544
+ d[8] && xt(
5539
5545
  c,
5540
5546
  /*inputExchangeFrom*/
5541
5547
  d[8]
5542
5548
  );
5543
- const Le = {};
5549
+ const Ne = {};
5544
5550
  C[0] & /*showcurrencysymbol*/
5545
- 16 && (Le.withSymbol = /*showcurrencysymbol*/
5551
+ 16 && (Ne.withSymbol = /*showcurrencysymbol*/
5546
5552
  d[4]), C[0] & /*isBalanceFetched, isCurrenciesFetched*/
5547
- 196608 && (Le.disabled = !/*isBalanceFetched*/
5553
+ 196608 && (Ne.disabled = !/*isBalanceFetched*/
5548
5554
  d[16] || !/*isCurrenciesFetched*/
5549
5555
  d[17]), C[0] & /*optionsFrom*/
5550
- 1048576 && (Le.options = /*optionsFrom*/
5551
- d[20]), !P && C[0] & /*selectedCurrencyFrom*/
5552
- 32 && (P = !0, Le.selected = /*selectedCurrencyFrom*/
5553
- d[5], Sn(() => P = !1)), y.$set(Le);
5554
- let it = R;
5555
- R = rt(d), R === it ? fe[R].p(d, C) : (Pe(), X(fe[it], 1, 1, () => {
5556
- fe[it] = null;
5557
- }), Oe(), E = fe[R], E ? E.p(d, C) : (E = fe[R] = yt[R](d), E.c()), $(E, 1), E.m(s, null)), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5556
+ 1048576 && (Ne.options = /*optionsFrom*/
5557
+ d[20]), !N && C[0] & /*selectedCurrencyFrom*/
5558
+ 32 && (N = !0, Ne.selected = /*selectedCurrencyFrom*/
5559
+ d[5], Hn(() => N = !1)), y.$set(Ne);
5560
+ let at = O;
5561
+ O = it(d), O === at ? fe[O].p(d, C) : (Oe(), X(fe[at], 1, 1, () => {
5562
+ fe[at] = null;
5563
+ }), Re(), E = fe[O], E ? E.p(d, C) : (E = fe[O] = bt[O](d), E.c()), $(E, 1), E.m(s, null)), (!ne || C[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5558
5564
  196609 && ue !== (ue = !/*session*/
5559
5565
  d[0] || !/*isBalanceFetched*/
5560
5566
  d[16] || !/*isCurrenciesFetched*/
5561
5567
  d[17])) && (W.disabled = ue), C[0] & /*inputExchangeTo*/
5562
- 512 && Bt(W.value) !== /*inputExchangeTo*/
5563
- d[9] && _t(
5568
+ 512 && Ht(W.value) !== /*inputExchangeTo*/
5569
+ d[9] && xt(
5564
5570
  W,
5565
5571
  /*inputExchangeTo*/
5566
5572
  d[9]
5567
5573
  );
5568
- const F = {};
5574
+ const M = {};
5569
5575
  C[0] & /*showcurrencysymbol*/
5570
- 16 && (F.withSymbol = /*showcurrencysymbol*/
5576
+ 16 && (M.withSymbol = /*showcurrencysymbol*/
5571
5577
  d[4]), C[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
5572
- 204801 && (F.disabled = !/*session*/
5578
+ 204801 && (M.disabled = !/*session*/
5573
5579
  d[0] || !!/*validationError*/
5574
5580
  d[13] || !/*isBalanceFetched*/
5575
5581
  d[16] || !/*isCurrenciesFetched*/
5576
5582
  d[17]), C[0] & /*optionsTo*/
5577
- 2097152 && (F.options = /*optionsTo*/
5583
+ 2097152 && (M.options = /*optionsTo*/
5578
5584
  d[21]), !ce && C[0] & /*selectedCurrencyTo*/
5579
- 64 && (ce = !0, F.selected = /*selectedCurrencyTo*/
5580
- d[6], Sn(() => ce = !1)), se.$set(F);
5581
- let Ee = Q;
5582
- Q = Et(d), Q === Ee ? pe[Q].p(d, C) : (Pe(), X(pe[Ee], 1, 1, () => {
5583
- pe[Ee] = null;
5584
- }), Oe(), ee = pe[Q], ee ? ee.p(d, C) : (ee = pe[Q] = vt[Q](d), ee.c()), $(ee, 1), ee.m(M, null)), /*showvaults*/
5585
- d[1] === Se.true ? p ? p.p(d, C) : (p = or(d), p.c(), p.m(t, Je)) : p && (p.d(1), p = null), N === (N = _(d)) && x ? x.p(d, C) : (x.d(1), x = N(d), x && (x.c(), x.m(ke, null))), (!ne || C[0] & /*fetchResponse*/
5586
- 4096) && me !== (me = D(
5585
+ 64 && (ce = !0, M.selected = /*selectedCurrencyTo*/
5586
+ d[6], Hn(() => ce = !1)), se.$set(M);
5587
+ let _e = Q;
5588
+ Q = _t(d), Q === _e ? pe[Q].p(d, C) : (Oe(), X(pe[_e], 1, 1, () => {
5589
+ pe[_e] = null;
5590
+ }), Re(), ee = pe[Q], ee ? ee.p(d, C) : (ee = pe[Q] = Et[Q](d), ee.c()), $(ee, 1), ee.m(k, null)), /*showvaults*/
5591
+ d[1] === Be.true ? p ? p.p(d, C) : (p = lr(d), p.c(), p.m(t, et)) : p && (p.d(1), p = null), L === (L = _(d)) && x ? x.p(d, C) : (x.d(1), x = L(d), x && (x.c(), x.m(Me, null))), (!ne || C[0] & /*fetchResponse*/
5592
+ 4096) && ye !== (ye = R(
5587
5593
  /*fetchResponse*/
5588
5594
  d[12]?.message || ""
5589
- ) + "") && (oe.innerHTML = me), (!ne || C[0] & /*fetchResponse*/
5595
+ ) + "") && (oe.innerHTML = ye), (!ne || C[0] & /*fetchResponse*/
5590
5596
  4096) && le(
5591
5597
  oe,
5592
5598
  "error",
@@ -5599,11 +5605,11 @@ function _o(e) {
5599
5605
  /*fetchResponse*/
5600
5606
  d[12]?.type === "success"
5601
5607
  ), (!ne || C[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5602
- 278816 && ve !== (ve = /*isExchangeDisabled*/
5608
+ 278816 && Ee !== (Ee = /*isExchangeDisabled*/
5603
5609
  d[14] || /*isExchangePending*/
5604
5610
  d[18] || /*inputExchangeFrom*/
5605
5611
  d[8] === 0 && !/*selectedCurrencyFrom*/
5606
- d[5]?.amount)) && (te.disabled = ve), (!ne || C[0] & /*isExchangeDisabled, isExchangePending*/
5612
+ d[5]?.amount)) && (te.disabled = Ee), (!ne || C[0] & /*isExchangeDisabled, isExchangePending*/
5607
5613
  278528) && le(
5608
5614
  te,
5609
5615
  "disabled",
@@ -5625,130 +5631,130 @@ function _o(e) {
5625
5631
  X(U), X(y.$$.fragment, d), X(E), X(se.$$.fragment, d), X(ee), ne = !1;
5626
5632
  },
5627
5633
  d(d) {
5628
- d && A(t), Y && Y.d(), U && U.d(), We(y), fe[R].d(), We(se), pe[Q].d(), p && p.d(), x.d(), e[42](null), tt = !1, _e(nt);
5634
+ d && A(t), Y && Y.d(), U && U.d(), Xe(y), fe[O].d(), Xe(se), pe[Q].d(), p && p.d(), x.d(), e[42](null), nt = !1, xe(rt);
5629
5635
  }
5630
5636
  };
5631
5637
  }
5632
- function xo(e, t, n) {
5633
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, P = null, O = 0, R = 0, E = 0, j = null, M = null, K = null, ge = "", ae = !0, W = !1, ue = !1, de = !1, se = !1, ce = [], xe = [], Q = [], ee = [], he;
5634
- Wa({ withLocale: "en", translations: {} }), Object.keys(Zn).forEach((p) => {
5635
- zn(p, Zn[p]);
5638
+ function Ao(e, t, n) {
5639
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, N = null, P = 0, O = 0, E = 0, j = null, k = null, K = null, de = "", ae = !0, W = !1, ue = !1, me = !1, se = !1, ce = [], we = [], Q = [], ee = [], he;
5640
+ za({ withLocale: "en", translations: {} }), Object.keys(Kn).forEach((p) => {
5641
+ qn(p, Kn[p]);
5636
5642
  });
5637
- const Je = () => {
5638
- Xa(o);
5639
- }, we = () => {
5643
+ const et = () => {
5644
+ Za(o);
5645
+ }, Ae = () => {
5640
5646
  fetch(u).then((p) => p.json()).then((p) => {
5641
5647
  Object.keys(p).forEach((_) => {
5642
- zn(_, p[_]);
5648
+ qn(_, p[_]);
5643
5649
  });
5644
5650
  }).catch((p) => {
5645
5651
  console.error("There was a problem with the translations request.", p);
5646
5652
  });
5647
- }, De = () => {
5653
+ }, ke = () => {
5648
5654
  let p = document.createElement("style");
5649
5655
  p.innerHTML = l, he.appendChild(p);
5650
- }, gt = () => {
5651
- let p, _ = new URL(s), N = document.createElement("style");
5656
+ }, dt = () => {
5657
+ let p, _ = new URL(s), L = document.createElement("style");
5652
5658
  fetch(_.href).then((x) => x.text()).then((x) => {
5653
- N.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5659
+ L.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5654
5660
  () => {
5655
- he.appendChild(N);
5661
+ he.appendChild(L);
5656
5662
  },
5657
5663
  1
5658
5664
  );
5659
5665
  });
5660
- }, ke = () => {
5661
- xe.length !== 0 && (n(15, W = !W), window.postMessage(
5666
+ }, Me = () => {
5667
+ we.length !== 0 && (n(15, W = !W), window.postMessage(
5662
5668
  {
5663
- type: Qt.VaultDropdownToggled,
5669
+ type: Jt.VaultDropdownToggled,
5664
5670
  state: W
5665
5671
  },
5666
5672
  window.location.href
5667
5673
  ));
5668
- }, et = () => {
5674
+ }, tt = () => {
5669
5675
  window.postMessage(
5670
5676
  {
5671
- type: Qt.VaultWidgetClosed
5677
+ type: Jt.VaultWidgetClosed
5672
5678
  },
5673
5679
  window.location.href
5674
5680
  );
5675
5681
  }, oe = () => {
5676
- n(14, ae = !0), Ae(), ye(), be(), Me(), window.postMessage({ type: Qt.VaultWidgetReset }, window.location.href);
5677
- }, me = () => {
5678
- n(14, ae = !0), n(9, E = 0);
5679
- }, Ae = () => {
5680
- n(11, M = null);
5682
+ n(14, ae = !0), Ce(), be(), ve(), Fe(), window.postMessage({ type: Jt.VaultWidgetReset }, window.location.href);
5681
5683
  }, ye = () => {
5682
- n(8, O = 0), n(9, E = 0);
5684
+ n(14, ae = !0), n(9, E = 0);
5685
+ }, Ce = () => {
5686
+ n(11, k = null);
5683
5687
  }, be = () => {
5684
- n(13, ge = "");
5685
- }, Me = () => {
5688
+ n(8, P = 0), n(9, E = 0);
5689
+ }, ve = () => {
5690
+ n(13, de = "");
5691
+ }, Fe = () => {
5686
5692
  n(12, K = null);
5687
5693
  }, te = (p) => {
5688
- p && n(13, ge = p);
5689
- }, Ce = ({ type: p, message: _, source: N = "" }) => {
5694
+ p && n(13, de = p);
5695
+ }, Te = ({ type: p, message: _, source: L = "" }) => {
5690
5696
  let x;
5691
- switch (n(12, K = { message: _, source: N, type: p }), p) {
5692
- case Te.error:
5693
- n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href);
5697
+ switch (n(12, K = { message: _, source: L, type: p }), p) {
5698
+ case Se.error:
5699
+ n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href);
5694
5700
  break;
5695
- case Te.success:
5696
- n(14, ae = !0), window.postMessage({ type: N, data: { type: p, message: _ } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5701
+ case Se.success:
5702
+ n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5697
5703
  () => {
5698
- Me();
5704
+ Fe();
5699
5705
  },
5700
- Za
5706
+ Ka
5701
5707
  );
5702
5708
  break;
5703
5709
  }
5704
- }, dt = () => new Promise((p, _) => {
5705
- const N = K?.message.includes(qa.InvalidSession);
5706
- N && _(), isNaN(Number(O)) && (me(), Ae(), _(D("invalidValue"))), O > y?.amount && (me(), Ae(), _(D("exceededValue"))), O === null && !N && (me(), Ae(), _()), O === 0 && O === 0 && !N && (oe(), _()), (!y || !P) && !N && _(), be(), p();
5707
- }), ve = async (p, _) => {
5708
- const N = await p.json();
5709
- return p?.status >= 200 && p?.status < 400 ? N : (_ === Z.CheckWalletExchangeError && me(), !ue && _ === Z.BalanceError && (n(16, ue = !0), n(17, de = !0)), !de && _ === Z.CurrenciesError && n(17, de = !0), Ce({
5710
- type: Te.error,
5711
- message: D(N?.thirdPartyResponse?.code) || D(N?.thirdPartyResponse?.errorCode) || "generalError",
5710
+ }, mt = () => new Promise((p, _) => {
5711
+ const L = K?.message.includes(Qa.InvalidSession);
5712
+ L && _(), isNaN(Number(P)) && (ye(), Ce(), _(R("invalidValue"))), P > y?.amount && (ye(), Ce(), _(R("exceededValue"))), P === null && !L && (ye(), Ce(), _()), P === 0 && P === 0 && !L && (oe(), _()), (!y || !N) && !L && _(), ve(), p();
5713
+ }), Ee = async (p, _) => {
5714
+ const L = await p.json();
5715
+ return p?.status >= 200 && p?.status < 400 ? L : (_ === Z.CheckWalletExchangeError && ye(), !ue && _ === Z.BalanceError && (n(16, ue = !0), n(17, me = !0)), !me && _ === Z.CurrenciesError && n(17, me = !0), Te({
5716
+ type: Se.error,
5717
+ message: R(L?.thirdPartyResponse?.code) || R(L?.thirdPartyResponse?.errorCode) || "generalError",
5712
5718
  source: _
5713
5719
  }));
5714
5720
  }, ne = () => new Promise((p, _) => {
5715
- const N = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5716
- fetch(N, {
5721
+ const L = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5722
+ fetch(L, {
5717
5723
  method: "GET",
5718
5724
  headers: {
5719
5725
  "X-SessionId": r,
5720
5726
  "Content-Type": "application/json",
5721
5727
  Accept: "application/json"
5722
5728
  }
5723
- }).then((d) => ve(d, Z.CurrenciesError)).then((d) => {
5729
+ }).then((d) => Ee(d, Z.CurrenciesError)).then((d) => {
5724
5730
  p(d?.currencies);
5725
5731
  }).catch((d) => {
5726
- n(17, de = !0), console.error("There was an error on the allowed currencies request.", d), Ce({
5727
- type: Te.error,
5728
- message: D("generalError"),
5732
+ n(17, me = !0), console.error("There was an error on the allowed currencies request.", d), Te({
5733
+ type: Se.error,
5734
+ message: R("generalError"),
5729
5735
  source: Z.CurrenciesError
5730
5736
  }), _();
5731
5737
  }).finally(() => {
5732
- n(17, de = !0);
5738
+ n(17, me = !0);
5733
5739
  });
5734
- }), tt = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: N = [] }) => {
5740
+ }), nt = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: L = [] }) => {
5735
5741
  const { items: x = [], totalAmount: d = {}, totalRealAmount: C } = p || {};
5736
- n(10, j = Object.entries(C || d).map(([F = "", Ee = 0]) => ({ currency: F, amount: Ee }))[0]);
5737
- let Le = null;
5738
- const it = new Map(N.map((F) => [F.code, F]));
5739
- for (const F of x)
5740
- if (F?.type === Kn.Real) {
5741
- const Ee = it.get(F?.currency);
5742
- if (Ee && Ee.code === F?.currency) {
5743
- const at = {
5744
- ...F,
5745
- ...Ee,
5746
- symbol: za[F?.currency]?.[0]
5742
+ n(10, j = Object.entries(C || d).map(([M = "", _e = 0]) => ({ currency: M, amount: _e }))[0]);
5743
+ let Ne = null;
5744
+ const at = new Map(L.map((M) => [M.code, M]));
5745
+ for (const M of x)
5746
+ if (M?.type === Yn.Real) {
5747
+ const _e = at.get(M?.currency);
5748
+ if (_e && _e.code === M?.currency) {
5749
+ const ot = {
5750
+ ...M,
5751
+ ..._e,
5752
+ symbol: qa[M?.currency]?.[0]
5747
5753
  };
5748
- n(37, ce = [...ce, at]), F?.currency === j?.currency && n(10, j = { ...j, ...at }), F?.currency !== j?.currency && F?.walletAccountType === Kn.Vault && n(19, xe = [...xe, at]), _ && F?.amount > 0 && n(5, y = j?.currency ? j : Le), y && y?.currency === F?.currency && n(5, y = at), P && P?.currency === F?.currency && n(6, P = at);
5754
+ n(37, ce = [...ce, ot]), M?.currency === j?.currency && n(10, j = { ...j, ...ot }), M?.currency !== j?.currency && M?.walletAccountType === Yn.Vault && n(19, we = [...we, ot]), _ && M?.amount > 0 && n(5, y = j?.currency ? j : Ne), y && y?.currency === M?.currency && n(5, y = ot), N && N?.currency === M?.currency && n(6, N = ot);
5749
5755
  }
5750
5756
  }
5751
- }, nt = (p = !0) => {
5757
+ }, rt = (p = !0) => {
5752
5758
  const _ = new URL(`${a}/v2/player/${i}/balance`);
5753
5759
  fetch(_, {
5754
5760
  method: "GET",
@@ -5757,130 +5763,130 @@ function xo(e, t, n) {
5757
5763
  "Content-Type": "application/json",
5758
5764
  Accept: "application/json"
5759
5765
  }
5760
- }).then((x) => ve(x, Z.BalanceError)).then((x) => {
5766
+ }).then((x) => Ee(x, Z.BalanceError)).then((x) => {
5761
5767
  x && ne().then((d) => {
5762
- n(37, ce = []), n(19, xe = []), tt({
5768
+ n(37, ce = []), n(19, we = []), nt({
5763
5769
  data: x,
5764
5770
  shouldUpdateSelectedCurrencies: p,
5765
5771
  allowed: d
5766
5772
  });
5767
5773
  });
5768
5774
  }).catch((x) => {
5769
- n(16, ue = !0), console.error("There was an error with the player balance request.", x), Ce({
5770
- type: Te.error,
5771
- message: D("generalError"),
5775
+ n(16, ue = !0), console.error("There was an error with the player balance request.", x), Te({
5776
+ type: Se.error,
5777
+ message: R("generalError"),
5772
5778
  source: Z.BalanceError
5773
5779
  });
5774
5780
  }).finally(() => {
5775
5781
  n(16, ue = !0);
5776
5782
  });
5777
- }, U = Qa(() => {
5778
- dt().then(() => {
5783
+ }, U = Ja(() => {
5784
+ mt().then(() => {
5779
5785
  const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), _ = {
5780
5786
  userId: i,
5781
- amount: O,
5787
+ amount: P,
5782
5788
  currency: y?.currency,
5783
5789
  fromCurrency: y?.currency,
5784
- toCurrency: P?.currency,
5790
+ toCurrency: N?.currency,
5785
5791
  payload: { PlayerCurrency: h }
5786
- }, N = {
5792
+ }, L = {
5787
5793
  method: "POST",
5788
5794
  headers: {
5789
5795
  "X-SessionId": r,
5790
5796
  "Content-Type": "application/json",
5791
5797
  Accept: "application/json"
5792
5798
  },
5793
- body: Yn(_)
5799
+ body: er(_)
5794
5800
  };
5795
- fetch(p, N).then((x) => ve(x, Z.CheckWalletExchangeError)).then((x) => {
5801
+ fetch(p, L).then((x) => Ee(x, Z.CheckWalletExchangeError)).then((x) => {
5796
5802
  if (x) {
5797
- if (K?.source === Z.CheckWalletExchangeError && Me(), Array.isArray(x?.fees?.fees) && n(11, M = x.fees), Array.isArray(x?.walletActions)) {
5798
- const d = x.walletActions.find((C) => C?.directionName === Ka.Credit)?.amount || 0;
5799
- n(9, E = new ni(d)?.getValue());
5803
+ if (K?.source === Z.CheckWalletExchangeError && Fe(), Array.isArray(x?.fees?.fees) && n(11, k = x.fees), Array.isArray(x?.walletActions)) {
5804
+ const d = x.walletActions.find((C) => C?.directionName === Ya.Credit)?.amount || 0;
5805
+ n(9, E = new ii(d)?.getValue());
5800
5806
  }
5801
- O > 0 && E > 0 && y?.currency && P?.currency && h && n(14, ae = !1);
5807
+ P > 0 && E > 0 && y?.currency && N?.currency && h && n(14, ae = !1);
5802
5808
  }
5803
5809
  }).catch((x) => {
5804
- Ce({
5805
- type: Te.error,
5806
- message: D("generalError"),
5810
+ Te({
5811
+ type: Se.error,
5812
+ message: R("generalError"),
5807
5813
  source: Z.CheckWalletExchangeError
5808
5814
  }), console.error("There was a problem with the wallet exchange request.", x);
5809
5815
  });
5810
5816
  }).catch((p) => {
5811
5817
  te(p);
5812
5818
  });
5813
- }, 500), Vt = (p) => {
5814
- const _ = p.target.value, [N, x] = _.split(".");
5815
- !x && _.length >= Yt && n(8, O = _.slice(0, Yt)), x && y?.type === Qn.Fiat && (x.length <= y?.precision ? (n(8, O = _), R = _) : n(8, O = R)), x && y?.type === Qn.CryptoCurrency && (_.length <= Yt ? (n(8, O = _), R = _) : n(8, O = R)), U();
5816
- }, mt = (p) => {
5819
+ }, 500), Gt = (p) => {
5820
+ const _ = p.target.value, [L, x] = _.split(".");
5821
+ !x && _.length >= en && n(8, P = _.slice(0, en)), x && y?.type === Jn.Fiat && (x.length <= y?.precision ? (n(8, P = _), O = _) : n(8, P = O)), x && y?.type === Jn.CryptoCurrency && (_.length <= en ? (n(8, P = _), O = _) : n(8, P = O)), U();
5822
+ }, yt = (p) => {
5817
5823
  const _ = p.data;
5818
5824
  [">", "<", ","].includes(_) && p.preventDefault(), _ && !_.match(/[\d.]/) && p.preventDefault(), _ === "." && p.target.value.includes(".") && p.preventDefault();
5819
- }, yt = () => {
5820
- O === 0 && n(8, O = null);
5825
+ }, bt = () => {
5826
+ P === 0 && n(8, P = null);
5821
5827
  }, fe = () => {
5822
5828
  const p = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5823
5829
  n(18, se = !0);
5824
5830
  const _ = {
5825
- feeDetails: M,
5831
+ feeDetails: k,
5826
5832
  userId: i,
5827
- amount: O,
5833
+ amount: P,
5828
5834
  currency: y?.currency,
5829
5835
  fromCurrency: y?.currency,
5830
- toCurrency: P?.currency,
5836
+ toCurrency: N?.currency,
5831
5837
  payload: { PlayerCurrency: h }
5832
- }, N = {
5838
+ }, L = {
5833
5839
  method: "PUT",
5834
5840
  headers: {
5835
5841
  "X-SessionId": r,
5836
5842
  "Content-Type": "application/json",
5837
5843
  Accept: "application/json"
5838
5844
  },
5839
- body: Yn(_)
5845
+ body: er(_)
5840
5846
  };
5841
- fetch(p, N).then((x) => ve(x, Z.WalletExchangeError)).then((x) => {
5842
- x && (Ce({
5843
- type: Te.success,
5844
- message: D("exchangeSuccess"),
5847
+ fetch(p, L).then((x) => Ee(x, Z.WalletExchangeError)).then((x) => {
5848
+ x && (Te({
5849
+ type: Se.success,
5850
+ message: R("exchangeSuccess"),
5845
5851
  source: "ExchangeSuccess"
5846
- }), nt(!1));
5852
+ }), rt(!1));
5847
5853
  }).catch((x) => {
5848
- Ce({
5849
- type: Te.error,
5850
- message: D("generalError"),
5854
+ Te({
5855
+ type: Se.error,
5856
+ message: R("generalError"),
5851
5857
  source: Z.WalletExchangeError
5852
5858
  }), console.error("There was an error with the wallet exchange request.", x);
5853
5859
  }).finally(() => {
5854
- n(18, se = !1), ye(), Ae();
5860
+ n(18, se = !1), be(), Ce();
5855
5861
  });
5856
- }, rt = (p) => {
5862
+ }, it = (p) => {
5857
5863
  const { data: { type: _ } = {} } = p || {};
5858
5864
  switch (_) {
5859
- case qn.ResetVaultWidget:
5865
+ case Qn.ResetVaultWidget:
5860
5866
  oe();
5861
5867
  break;
5862
- case qn.CloseVaultWidget:
5863
- et();
5868
+ case Qn.CloseVaultWidget:
5869
+ tt();
5864
5870
  break;
5865
5871
  }
5866
5872
  };
5867
- fr(() => (window.addEventListener("message", rt), () => {
5868
- window.removeEventListener("message", rt);
5873
+ gr(() => (window.addEventListener("message", it), () => {
5874
+ window.removeEventListener("message", it);
5869
5875
  }));
5870
- function Ut() {
5871
- O = Bt(this.value), n(8, O);
5876
+ function $t() {
5877
+ P = Ht(this.value), n(8, P);
5872
5878
  }
5873
- function bt(p) {
5879
+ function vt(p) {
5874
5880
  y = p, n(5, y);
5875
5881
  }
5876
- function vt() {
5877
- E = Bt(this.value), n(9, E);
5882
+ function Et() {
5883
+ E = Ht(this.value), n(9, E);
5878
5884
  }
5879
5885
  function pe(p) {
5880
- P = p, n(6, P);
5886
+ N = p, n(6, N);
5881
5887
  }
5882
- function Et(p) {
5883
- $e[p ? "unshift" : "push"](() => {
5888
+ function _t(p) {
5889
+ je[p ? "unshift" : "push"](() => {
5884
5890
  he = p, n(7, he);
5885
5891
  });
5886
5892
  }
@@ -5888,16 +5894,16 @@ function xo(e, t, n) {
5888
5894
  "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, a = p.endpoint), "lang" in p && n(32, o = p.lang), "clientstyling" in p && n(33, l = p.clientstyling), "clientstylingurl" in p && n(34, s = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, h = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, c = p.showtotalbalance), "showclosebutton" in p && n(3, g = p.showclosebutton), "showcurrencysymbol" in p && n(4, b = p.showcurrencysymbol);
5889
5895
  }, e.$$.update = () => {
5890
5896
  e.$$.dirty[1] & /*lang*/
5891
- 2 && o && Je(), e.$$.dirty[0] & /*customStylingContainer*/
5897
+ 2 && o && et(), e.$$.dirty[0] & /*customStylingContainer*/
5892
5898
  128 | e.$$.dirty[1] & /*clientstyling*/
5893
- 4 && l && he && De(), e.$$.dirty[0] & /*customStylingContainer*/
5899
+ 4 && l && he && ke(), e.$$.dirty[0] & /*customStylingContainer*/
5894
5900
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5895
- 8 && s && he && gt(), e.$$.dirty[1] & /*translationurl*/
5896
- 16 && u && we(), e.$$.dirty[0] & /*session, userid*/
5901
+ 8 && s && he && dt(), e.$$.dirty[1] & /*translationurl*/
5902
+ 16 && u && Ae(), e.$$.dirty[0] & /*session, userid*/
5897
5903
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5898
- 33 && r && i && a && h && nt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5904
+ 33 && r && i && a && h && rt(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5899
5905
  64 | e.$$.dirty[1] & /*filteredBalances*/
5900
- 64 && n(20, Q = ce.filter((p) => p?.amount > 0 && p?.currency !== P?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5906
+ 64 && n(20, Q = ce.filter((p) => p?.amount > 0 && p?.currency !== N?.currency)), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5901
5907
  32 | e.$$.dirty[1] & /*filteredBalances*/
5902
5908
  64 && n(21, ee = ce.filter((p) => y?.currency !== p?.currency));
5903
5909
  }, [
@@ -5907,29 +5913,29 @@ function xo(e, t, n) {
5907
5913
  g,
5908
5914
  b,
5909
5915
  y,
5910
- P,
5916
+ N,
5911
5917
  he,
5912
- O,
5918
+ P,
5913
5919
  E,
5914
5920
  j,
5915
- M,
5921
+ k,
5916
5922
  K,
5917
- ge,
5923
+ de,
5918
5924
  ae,
5919
5925
  W,
5920
5926
  ue,
5921
- de,
5927
+ me,
5922
5928
  se,
5923
- xe,
5929
+ we,
5924
5930
  Q,
5925
5931
  ee,
5926
- ke,
5927
- et,
5932
+ Me,
5933
+ tt,
5928
5934
  oe,
5929
5935
  U,
5930
- Vt,
5931
- mt,
5936
+ Gt,
5932
5937
  yt,
5938
+ bt,
5933
5939
  fe,
5934
5940
  i,
5935
5941
  a,
@@ -5939,21 +5945,21 @@ function xo(e, t, n) {
5939
5945
  u,
5940
5946
  h,
5941
5947
  ce,
5942
- Ut,
5943
- bt,
5948
+ $t,
5944
5949
  vt,
5950
+ Et,
5945
5951
  pe,
5946
- Et
5952
+ _t
5947
5953
  ];
5948
5954
  }
5949
- class wo extends _n {
5955
+ class Co extends wn {
5950
5956
  constructor(t) {
5951
- super(), vn(
5957
+ super(), _n(
5952
5958
  this,
5953
5959
  t,
5954
- xo,
5955
- _o,
5956
- Pt,
5960
+ Ao,
5961
+ wo,
5962
+ Rt,
5957
5963
  {
5958
5964
  session: 0,
5959
5965
  userid: 30,
@@ -5968,7 +5974,7 @@ class wo extends _n {
5968
5974
  showclosebutton: 3,
5969
5975
  showcurrencysymbol: 4
5970
5976
  },
5971
- ao,
5977
+ so,
5972
5978
  [-1, -1, -1]
5973
5979
  );
5974
5980
  }
@@ -6045,7 +6051,7 @@ class wo extends _n {
6045
6051
  this.$$set({ showcurrencysymbol: t }), G();
6046
6052
  }
6047
6053
  }
6048
- En(wo, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6054
+ xn(Co, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6049
6055
  export {
6050
- wo as P
6056
+ Co as P
6051
6057
  };