@everymatrix/player-account-vault 0.19.11 → 0.19.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,29 +2,29 @@ var Lr = Object.defineProperty, Nr = Object.defineProperties;
2
2
  var Rr = Object.getOwnPropertyDescriptors;
3
3
  var wn = Object.getOwnPropertySymbols;
4
4
  var Or = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
- var Ft = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ve = (e, t) => {
5
+ var Gt = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Fe = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Or.call(t, n) && Ft(e, n, t[n]);
7
+ Or.call(t, n) && Gt(e, n, t[n]);
8
8
  if (wn)
9
9
  for (var n of wn(t))
10
- Dr.call(t, n) && Ft(e, n, t[n]);
10
+ Dr.call(t, n) && Gt(e, n, t[n]);
11
11
  return e;
12
- }, Gt = (e, t) => Nr(e, Rr(t));
13
- var le = (e, t, n) => (Ft(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var $t = (e, t, n) => new Promise((r, i) => {
15
- var a = (l) => {
12
+ }, $t = (e, t) => Nr(e, Rr(t));
13
+ var le = (e, t, n) => (Gt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var jt = (e, t, n) => new Promise((r, i) => {
15
+ var o = (l) => {
16
16
  try {
17
17
  s(n.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, o = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
23
  s(n.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, o);
27
+ }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
28
  s((n = n.apply(e, t)).next());
29
29
  });
30
30
  function L() {
@@ -38,10 +38,10 @@ function An() {
38
38
  function we(e) {
39
39
  e.forEach(nr);
40
40
  }
41
- function ft(e) {
41
+ function pt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  function Mr(e) {
@@ -61,7 +61,7 @@ function kr(e) {
61
61
  return rr(e, (n) => t = n)(), t;
62
62
  }
63
63
  function Ur(e) {
64
- return e && ft(e.destroy) ? e.destroy : L;
64
+ return e && pt(e.destroy) ? e.destroy : L;
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
@@ -126,7 +126,7 @@ function $r(e) {
126
126
  function b(e, t, n) {
127
127
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
128
128
  }
129
- function Bt(e) {
129
+ function St(e) {
130
130
  return e === "" ? null : +e;
131
131
  }
132
132
  function jr(e) {
@@ -136,7 +136,7 @@ function re(e, t) {
136
136
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
137
137
  t);
138
138
  }
139
- function Et(e, t) {
139
+ function _t(e, t) {
140
140
  e.value = t == null ? "" : t;
141
141
  }
142
142
  function ue(e, t, n) {
@@ -151,73 +151,73 @@ function Xr(e) {
151
151
  }
152
152
  ), t;
153
153
  }
154
- let lt;
155
- function st(e) {
156
- lt = e;
154
+ let ut;
155
+ function lt(e) {
156
+ ut = e;
157
157
  }
158
- function ar() {
159
- if (!lt)
158
+ function or() {
159
+ if (!ut)
160
160
  throw new Error("Function called outside component initialization");
161
- return lt;
161
+ return ut;
162
162
  }
163
- function or(e) {
164
- ar().$$.on_mount.push(e);
163
+ function ar(e) {
164
+ or().$$.on_mount.push(e);
165
165
  }
166
166
  function Wr(e) {
167
- ar().$$.on_destroy.push(e);
167
+ or().$$.on_destroy.push(e);
168
168
  }
169
- const $e = [], Xe = [];
170
- let je = [];
171
- const qt = [], zr = /* @__PURE__ */ Promise.resolve();
172
- let en = !1;
169
+ const je = [], We = [];
170
+ let Xe = [];
171
+ const en = [], zr = /* @__PURE__ */ Promise.resolve();
172
+ let tn = !1;
173
173
  function Zr() {
174
- en || (en = !0, zr.then(G));
174
+ tn || (tn = !0, zr.then(G));
175
175
  }
176
- function tn(e) {
177
- je.push(e);
176
+ function nn(e) {
177
+ Xe.push(e);
178
178
  }
179
179
  function Tn(e) {
180
- qt.push(e);
180
+ en.push(e);
181
181
  }
182
- const jt = /* @__PURE__ */ new Set();
183
- let Fe = 0;
182
+ const Xt = /* @__PURE__ */ new Set();
183
+ let Ge = 0;
184
184
  function G() {
185
- if (Fe !== 0)
185
+ if (Ge !== 0)
186
186
  return;
187
- const e = lt;
187
+ const e = ut;
188
188
  do {
189
189
  try {
190
- for (; Fe < $e.length; ) {
191
- const t = $e[Fe];
192
- Fe++, st(t), Qr(t.$$);
190
+ for (; Ge < je.length; ) {
191
+ const t = je[Ge];
192
+ Ge++, lt(t), qr(t.$$);
193
193
  }
194
194
  } catch (t) {
195
- throw $e.length = 0, Fe = 0, t;
195
+ throw je.length = 0, Ge = 0, t;
196
196
  }
197
- for (st(null), $e.length = 0, Fe = 0; Xe.length; )
198
- Xe.pop()();
199
- for (let t = 0; t < je.length; t += 1) {
200
- const n = je[t];
201
- jt.has(n) || (jt.add(n), n());
197
+ for (lt(null), je.length = 0, Ge = 0; We.length; )
198
+ We.pop()();
199
+ for (let t = 0; t < Xe.length; t += 1) {
200
+ const n = Xe[t];
201
+ Xt.has(n) || (Xt.add(n), n());
202
202
  }
203
- je.length = 0;
204
- } while ($e.length);
205
- for (; qt.length; )
206
- qt.pop()();
207
- en = !1, jt.clear(), st(e);
203
+ Xe.length = 0;
204
+ } while (je.length);
205
+ for (; en.length; )
206
+ en.pop()();
207
+ tn = !1, Xt.clear(), lt(e);
208
208
  }
209
- function Qr(e) {
209
+ function qr(e) {
210
210
  if (e.fragment !== null) {
211
211
  e.update(), we(e.before_update);
212
212
  const t = e.dirty;
213
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tn);
213
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nn);
214
214
  }
215
215
  }
216
216
  function Kr(e) {
217
217
  const t = [], n = [];
218
- je.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), je = t;
218
+ Xe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Xe = t;
219
219
  }
220
- const wt = /* @__PURE__ */ new Set();
220
+ const At = /* @__PURE__ */ new Set();
221
221
  let Ne;
222
222
  function Re() {
223
223
  Ne = {
@@ -231,50 +231,50 @@ function Oe() {
231
231
  Ne.r || we(Ne.c), Ne = Ne.p;
232
232
  }
233
233
  function $(e, t) {
234
- e && e.i && (wt.delete(e), e.i(t));
234
+ e && e.i && (At.delete(e), e.i(t));
235
235
  }
236
236
  function z(e, t, n, r) {
237
237
  if (e && e.o) {
238
- if (wt.has(e))
238
+ if (At.has(e))
239
239
  return;
240
- wt.add(e), Ne.c.push(() => {
241
- wt.delete(e), r && (n && e.d(1), r());
240
+ At.add(e), Ne.c.push(() => {
241
+ At.delete(e), r && (n && e.d(1), r());
242
242
  }), e.o(t);
243
243
  } else
244
244
  r && r();
245
245
  }
246
- function St(e) {
246
+ function Ht(e) {
247
247
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
248
248
  }
249
249
  function Bn(e, t, n) {
250
250
  const r = e.$$.props[t];
251
251
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
252
252
  }
253
- function ut(e) {
253
+ function ct(e) {
254
254
  e && e.c();
255
255
  }
256
- function We(e, t, n) {
256
+ function ze(e, t, n) {
257
257
  const { fragment: r, after_update: i } = e.$$;
258
- r && r.m(t, n), tn(() => {
259
- const a = e.$$.on_mount.map(nr).filter(ft);
260
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : we(a), e.$$.on_mount = [];
261
- }), i.forEach(tn);
258
+ r && r.m(t, n), nn(() => {
259
+ const o = e.$$.on_mount.map(nr).filter(pt);
260
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : we(o), e.$$.on_mount = [];
261
+ }), i.forEach(nn);
262
262
  }
263
- function ze(e, t) {
263
+ function Ze(e, t) {
264
264
  const n = e.$$;
265
265
  n.fragment !== null && (Kr(n.after_update), we(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
266
266
  }
267
- function Yr(e, t) {
268
- e.$$.dirty[0] === -1 && ($e.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
+ function Qr(e, t) {
268
+ e.$$.dirty[0] === -1 && (je.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
269
  }
270
- function pn(e, t, n, r, i, a, o = null, s = [-1]) {
271
- const l = lt;
272
- st(e);
270
+ function mn(e, t, n, r, i, o, a = null, s = [-1]) {
271
+ const l = ut;
272
+ lt(e);
273
273
  const u = e.$$ = {
274
274
  fragment: null,
275
275
  ctx: [],
276
276
  // state
277
- props: a,
277
+ props: o,
278
278
  update: L,
279
279
  not_equal: i,
280
280
  bound: An(),
@@ -291,20 +291,20 @@ function pn(e, t, n, r, i, a, o = null, s = [-1]) {
291
291
  skip_bound: !1,
292
292
  root: t.target || l.$$.root
293
293
  };
294
- o && o(u.root);
294
+ a && a(u.root);
295
295
  let c = !1;
296
296
  if (u.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
297
297
  const _ = m.length ? m[0] : h;
298
- return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), c && Yr(e, f)), h;
298
+ return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), c && Qr(e, f)), h;
299
299
  }) : [], u.update(), c = !0, we(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
301
  const f = jr(t.target);
302
302
  u.fragment && u.fragment.l(f), f.forEach(S);
303
303
  } else
304
304
  u.fragment && u.fragment.c();
305
- t.intro && $(e.$$.fragment), We(e, t.target, t.anchor), G();
305
+ t.intro && $(e.$$.fragment), ze(e, t.target, t.anchor), G();
306
306
  }
307
- st(l);
307
+ lt(l);
308
308
  }
309
309
  let sr;
310
310
  typeof HTMLElement == "function" && (sr = class extends HTMLElement {
@@ -344,24 +344,24 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
344
344
  }
345
345
  }
346
346
  connectedCallback() {
347
- return $t(this, null, function* () {
347
+ return jt(this, null, function* () {
348
348
  if (this.$$cn = !0, !this.$$c) {
349
- let t = function(a) {
349
+ let t = function(o) {
350
350
  return () => {
351
- let o;
351
+ let a;
352
352
  return {
353
353
  c: function() {
354
- o = A("slot"), a !== "default" && b(o, "name", a);
354
+ a = A("slot"), o !== "default" && b(a, "name", o);
355
355
  },
356
356
  /**
357
357
  * @param {HTMLElement} target
358
358
  * @param {HTMLElement} [anchor]
359
359
  */
360
360
  m: function(u, c) {
361
- H(u, o, c);
361
+ H(u, a, c);
362
362
  },
363
363
  d: function(u) {
364
- u && S(o);
364
+ u && S(a);
365
365
  }
366
366
  };
367
367
  };
@@ -369,17 +369,17 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
369
369
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
370
370
  return;
371
371
  const n = {}, r = Xr(this);
372
- for (const a of this.$$s)
373
- a in r && (n[a] = [t(a)]);
374
- for (const a of this.attributes) {
375
- const o = this.$$g_p(a.name);
376
- o in this.$$d || (this.$$d[o] = At(o, a.value, this.$$p_d, "toProp"));
372
+ for (const o of this.$$s)
373
+ o in r && (n[o] = [t(o)]);
374
+ for (const o of this.attributes) {
375
+ const a = this.$$g_p(o.name);
376
+ a in this.$$d || (this.$$d[a] = Ct(a, o.value, this.$$p_d, "toProp"));
377
377
  }
378
- for (const a in this.$$p_d)
379
- !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
378
+ for (const o in this.$$p_d)
379
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
380
380
  this.$$c = new this.$$ctor({
381
381
  target: this.shadowRoot || this,
382
- props: Gt(Ve({}, this.$$d), {
382
+ props: $t(Fe({}, this.$$d), {
383
383
  $$slots: n,
384
384
  $$scope: {
385
385
  ctx: []
@@ -388,23 +388,23 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
388
388
  });
389
389
  const i = () => {
390
390
  this.$$r = !0;
391
- for (const a in this.$$p_d)
392
- if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
393
- const o = At(
394
- a,
395
- this.$$d[a],
391
+ for (const o in this.$$p_d)
392
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
393
+ const a = Ct(
394
+ o,
395
+ this.$$d[o],
396
396
  this.$$p_d,
397
397
  "toAttribute"
398
398
  );
399
- o == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, o);
399
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
400
400
  }
401
401
  this.$$r = !1;
402
402
  };
403
403
  this.$$c.$$.after_update.push(i), i();
404
- for (const a in this.$$l)
405
- for (const o of this.$$l[a]) {
406
- const s = this.$$c.$on(a, o);
407
- this.$$l_u.set(o, s);
404
+ for (const o in this.$$l)
405
+ for (const a of this.$$l[o]) {
406
+ const s = this.$$c.$on(o, a);
407
+ this.$$l_u.set(a, s);
408
408
  }
409
409
  this.$$l = {};
410
410
  }
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
414
414
  // and setting attributes through setAttribute etc, this is helpful
415
415
  attributeChangedCallback(t, n, r) {
416
416
  var i;
417
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = At(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
417
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ct(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
418
418
  }
419
419
  disconnectedCallback() {
420
420
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -427,9 +427,9 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
427
427
  ) || t;
428
428
  }
429
429
  });
430
- function At(e, t, n, r) {
431
- var a;
432
- const i = (a = n[e]) == null ? void 0 : a.type;
430
+ function Ct(e, t, n, r) {
431
+ var o;
432
+ const i = (o = n[e]) == null ? void 0 : o.type;
433
433
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
434
434
  return t;
435
435
  if (r === "toAttribute")
@@ -457,8 +457,8 @@ function At(e, t, n, r) {
457
457
  return t;
458
458
  }
459
459
  }
460
- function mn(e, t, n, r, i, a) {
461
- let o = class extends sr {
460
+ function gn(e, t, n, r, i, o) {
461
+ let a = class extends sr {
462
462
  constructor() {
463
463
  super(e, n, i), this.$$p_d = t;
464
464
  }
@@ -469,26 +469,26 @@ function mn(e, t, n, r, i, a) {
469
469
  }
470
470
  };
471
471
  return Object.keys(t).forEach((s) => {
472
- Object.defineProperty(o.prototype, s, {
472
+ Object.defineProperty(a.prototype, s, {
473
473
  get() {
474
474
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
475
475
  },
476
476
  set(l) {
477
477
  var u;
478
- l = At(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
478
+ l = Ct(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
479
479
  }
480
480
  });
481
481
  }), r.forEach((s) => {
482
- Object.defineProperty(o.prototype, s, {
482
+ Object.defineProperty(a.prototype, s, {
483
483
  get() {
484
484
  var l;
485
485
  return (l = this.$$c) == null ? void 0 : l[s];
486
486
  }
487
487
  });
488
488
  }), e.element = /** @type {any} */
489
- o, o;
489
+ a, a;
490
490
  }
491
- class gn {
491
+ class bn {
492
492
  constructor() {
493
493
  /**
494
494
  * ### PRIVATE API
@@ -509,7 +509,7 @@ class gn {
509
509
  }
510
510
  /** @returns {void} */
511
511
  $destroy() {
512
- ze(this, 1), this.$destroy = L;
512
+ Ze(this, 1), this.$destroy = L;
513
513
  }
514
514
  /**
515
515
  * @template {Extract<keyof Events, string>} K
@@ -518,7 +518,7 @@ class gn {
518
518
  * @returns {() => void}
519
519
  */
520
520
  $on(t, n) {
521
- if (!ft(n))
521
+ if (!pt(n))
522
522
  return L;
523
523
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
524
524
  return r.push(n), () => {
@@ -534,46 +534,46 @@ class gn {
534
534
  this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
535
535
  }
536
536
  }
537
- const Jr = "4";
538
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
539
- const Ge = [];
540
- function qr(e, t) {
537
+ const Yr = "4";
538
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
539
+ const $e = [];
540
+ function Jr(e, t) {
541
541
  return {
542
- subscribe: Nt(e, t).subscribe
542
+ subscribe: Rt(e, t).subscribe
543
543
  };
544
544
  }
545
- function Nt(e, t = L) {
545
+ function Rt(e, t = L) {
546
546
  let n;
547
547
  const r = /* @__PURE__ */ new Set();
548
548
  function i(s) {
549
- if (Lt(e, s) && (e = s, n)) {
550
- const l = !Ge.length;
549
+ if (Nt(e, s) && (e = s, n)) {
550
+ const l = !$e.length;
551
551
  for (const u of r)
552
- u[1](), Ge.push(u, e);
552
+ u[1](), $e.push(u, e);
553
553
  if (l) {
554
- for (let u = 0; u < Ge.length; u += 2)
555
- Ge[u][0](Ge[u + 1]);
556
- Ge.length = 0;
554
+ for (let u = 0; u < $e.length; u += 2)
555
+ $e[u][0]($e[u + 1]);
556
+ $e.length = 0;
557
557
  }
558
558
  }
559
559
  }
560
- function a(s) {
560
+ function o(s) {
561
561
  i(s(e));
562
562
  }
563
- function o(s, l = L) {
563
+ function a(s, l = L) {
564
564
  const u = [s, l];
565
- return r.add(u), r.size === 1 && (n = t(i, a) || L), s(e), () => {
565
+ return r.add(u), r.size === 1 && (n = t(i, o) || L), s(e), () => {
566
566
  r.delete(u), r.size === 0 && n && (n(), n = null);
567
567
  };
568
568
  }
569
- return { set: i, update: a, subscribe: o };
569
+ return { set: i, update: o, subscribe: a };
570
570
  }
571
571
  function Je(e, t, n) {
572
572
  const r = !Array.isArray(e), i = r ? [e] : e;
573
573
  if (!i.every(Boolean))
574
574
  throw new Error("derived() expects stores as input, got a falsy value");
575
- const a = t.length < 2;
576
- return qr(n, (o, s) => {
575
+ const o = t.length < 2;
576
+ return Jr(n, (a, s) => {
577
577
  let l = !1;
578
578
  const u = [];
579
579
  let c = 0, f = L;
@@ -581,16 +581,16 @@ function Je(e, t, n) {
581
581
  if (c)
582
582
  return;
583
583
  f();
584
- const _ = t(r ? u[0] : u, o, s);
585
- a ? o(_) : f = ft(_) ? _ : L;
584
+ const _ = t(r ? u[0] : u, a, s);
585
+ o ? a(_) : f = pt(_) ? _ : L;
586
586
  }, m = i.map(
587
- (_, p) => rr(
587
+ (_, d) => rr(
588
588
  _,
589
589
  (E) => {
590
- u[p] = E, c &= ~(1 << p), l && h();
590
+ u[d] = E, c &= ~(1 << d), l && h();
591
591
  },
592
592
  () => {
593
- c |= 1 << p;
593
+ c |= 1 << d;
594
594
  }
595
595
  )
596
596
  );
@@ -610,28 +610,28 @@ function ni(e) {
610
610
  }
611
611
  function ri(e) {
612
612
  var t = Object.prototype.toString.call(e);
613
- return t === "[object RegExp]" || t === "[object Date]" || oi(e);
613
+ return t === "[object RegExp]" || t === "[object Date]" || ai(e);
614
614
  }
615
- var ii = typeof Symbol == "function" && Symbol.for, ai = ii ? Symbol.for("react.element") : 60103;
616
- function oi(e) {
617
- return e.$$typeof === ai;
615
+ var ii = typeof Symbol == "function" && Symbol.for, oi = ii ? Symbol.for("react.element") : 60103;
616
+ function ai(e) {
617
+ return e.$$typeof === oi;
618
618
  }
619
619
  function si(e) {
620
620
  return Array.isArray(e) ? [] : {};
621
621
  }
622
- function ct(e, t) {
623
- return t.clone !== !1 && t.isMergeableObject(e) ? Ze(si(e), e, t) : e;
622
+ function ht(e, t) {
623
+ return t.clone !== !1 && t.isMergeableObject(e) ? qe(si(e), e, t) : e;
624
624
  }
625
625
  function li(e, t, n) {
626
626
  return e.concat(t).map(function(r) {
627
- return ct(r, n);
627
+ return ht(r, n);
628
628
  });
629
629
  }
630
630
  function ui(e, t) {
631
631
  if (!t.customMerge)
632
- return Ze;
632
+ return qe;
633
633
  var n = t.customMerge(e);
634
- return typeof n == "function" ? n : Ze;
634
+ return typeof n == "function" ? n : qe;
635
635
  }
636
636
  function ci(e) {
637
637
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -654,37 +654,37 @@ function hi(e, t) {
654
654
  function fi(e, t, n) {
655
655
  var r = {};
656
656
  return n.isMergeableObject(e) && Sn(e).forEach(function(i) {
657
- r[i] = ct(e[i], n);
657
+ r[i] = ht(e[i], n);
658
658
  }), Sn(t).forEach(function(i) {
659
- hi(e, i) || (lr(e, i) && n.isMergeableObject(t[i]) ? r[i] = ui(i, n)(e[i], t[i], n) : r[i] = ct(t[i], n));
659
+ hi(e, i) || (lr(e, i) && n.isMergeableObject(t[i]) ? r[i] = ui(i, n)(e[i], t[i], n) : r[i] = ht(t[i], n));
660
660
  }), r;
661
661
  }
662
- function Ze(e, t, n) {
663
- n = n || {}, n.arrayMerge = n.arrayMerge || li, n.isMergeableObject = n.isMergeableObject || ti, n.cloneUnlessOtherwiseSpecified = ct;
664
- var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
665
- return a ? r ? n.arrayMerge(e, t, n) : fi(e, t, n) : ct(t, n);
662
+ function qe(e, t, n) {
663
+ n = n || {}, n.arrayMerge = n.arrayMerge || li, n.isMergeableObject = n.isMergeableObject || ti, n.cloneUnlessOtherwiseSpecified = ht;
664
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
665
+ return o ? r ? n.arrayMerge(e, t, n) : fi(e, t, n) : ht(t, n);
666
666
  }
667
- Ze.all = function(t, n) {
667
+ qe.all = function(t, n) {
668
668
  if (!Array.isArray(t))
669
669
  throw new Error("first argument should be an array");
670
670
  return t.reduce(function(r, i) {
671
- return Ze(r, i, n);
671
+ return qe(r, i, n);
672
672
  }, {});
673
673
  };
674
- var di = Ze, pi = di;
675
- const mi = /* @__PURE__ */ ei(pi);
676
- var nn = function(e, t) {
677
- return nn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
674
+ var pi = qe, di = pi;
675
+ const mi = /* @__PURE__ */ ei(di);
676
+ var rn = function(e, t) {
677
+ return rn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
678
678
  n.__proto__ = r;
679
679
  } || function(n, r) {
680
680
  for (var i in r)
681
681
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
682
- }, nn(e, t);
682
+ }, rn(e, t);
683
683
  };
684
- function Rt(e, t) {
684
+ function Ot(e, t) {
685
685
  if (typeof t != "function" && t !== null)
686
686
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
687
- nn(e, t);
687
+ rn(e, t);
688
688
  function n() {
689
689
  this.constructor = e;
690
690
  }
@@ -694,8 +694,8 @@ var me = function() {
694
694
  return me = Object.assign || function(t) {
695
695
  for (var n, r = 1, i = arguments.length; r < i; r++) {
696
696
  n = arguments[r];
697
- for (var a in n)
698
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
697
+ for (var o in n)
698
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
699
699
  }
700
700
  return t;
701
701
  }, me.apply(this, arguments);
@@ -709,13 +709,13 @@ function gi(e, t) {
709
709
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
710
710
  return n;
711
711
  }
712
- function Xt(e, t, n) {
712
+ function Wt(e, t, n) {
713
713
  if (n || arguments.length === 2)
714
- for (var r = 0, i = t.length, a; r < i; r++)
715
- (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
716
- return e.concat(a || Array.prototype.slice.call(t));
714
+ for (var r = 0, i = t.length, o; r < i; r++)
715
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
716
+ return e.concat(o || Array.prototype.slice.call(t));
717
717
  }
718
- function Wt(e, t) {
718
+ function zt(e, t) {
719
719
  var n = t && t.cache ? t.cache : wi, r = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : vi;
720
720
  return i(e, {
721
721
  cache: n,
@@ -726,12 +726,12 @@ function bi(e) {
726
726
  return e == null || typeof e == "number" || typeof e == "boolean";
727
727
  }
728
728
  function yi(e, t, n, r) {
729
- var i = bi(r) ? r : n(r), a = t.get(i);
730
- return typeof a == "undefined" && (a = e.call(this, r), t.set(i, a)), a;
729
+ var i = bi(r) ? r : n(r), o = t.get(i);
730
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
731
731
  }
732
732
  function ur(e, t, n) {
733
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
734
- return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
733
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
734
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
735
735
  }
736
736
  function cr(e, t, n, r, i) {
737
737
  return n.bind(t, e, r, i);
@@ -761,30 +761,30 @@ var _i = function() {
761
761
  create: function() {
762
762
  return new xi();
763
763
  }
764
- }, zt = {
764
+ }, Zt = {
765
765
  variadic: Ei
766
- }, Ht = function() {
767
- return Ht = Object.assign || function(t) {
766
+ }, It = function() {
767
+ return It = Object.assign || function(t) {
768
768
  for (var n, r = 1, i = arguments.length; r < i; r++) {
769
769
  n = arguments[r];
770
- for (var a in n)
771
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
770
+ for (var o in n)
771
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
772
772
  }
773
773
  return t;
774
- }, Ht.apply(this, arguments);
774
+ }, It.apply(this, arguments);
775
775
  };
776
- var I;
776
+ var P;
777
777
  (function(e) {
778
778
  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";
779
- })(I || (I = {}));
779
+ })(P || (P = {}));
780
780
  var U;
781
781
  (function(e) {
782
782
  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";
783
783
  })(U || (U = {}));
784
- var Qe;
784
+ var Ke;
785
785
  (function(e) {
786
786
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
787
- })(Qe || (Qe = {}));
787
+ })(Ke || (Ke = {}));
788
788
  function Hn(e) {
789
789
  return e.type === U.literal;
790
790
  }
@@ -797,10 +797,10 @@ function hr(e) {
797
797
  function fr(e) {
798
798
  return e.type === U.date;
799
799
  }
800
- function dr(e) {
800
+ function pr(e) {
801
801
  return e.type === U.time;
802
802
  }
803
- function pr(e) {
803
+ function dr(e) {
804
804
  return e.type === U.select;
805
805
  }
806
806
  function mr(e) {
@@ -813,10 +813,10 @@ function gr(e) {
813
813
  return e.type === U.tag;
814
814
  }
815
815
  function br(e) {
816
- return !!(e && typeof e == "object" && e.type === Qe.number);
816
+ return !!(e && typeof e == "object" && e.type === Ke.number);
817
817
  }
818
- function rn(e) {
819
- return !!(e && typeof e == "object" && e.type === Qe.dateTime);
818
+ function on(e) {
819
+ return !!(e && typeof e == "object" && e.type === Ke.dateTime);
820
820
  }
821
821
  var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
822
822
  function Bi(e) {
@@ -914,8 +914,8 @@ var V = function() {
914
914
  return V = Object.assign || function(t) {
915
915
  for (var n, r = 1, i = arguments.length; r < i; r++) {
916
916
  n = arguments[r];
917
- for (var a in n)
918
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
917
+ for (var o in n)
918
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
919
919
  }
920
920
  return t;
921
921
  }, V.apply(this, arguments);
@@ -927,10 +927,10 @@ function Hi(e) {
927
927
  for (var t = e.split(Si).filter(function(h) {
928
928
  return h.length > 0;
929
929
  }), n = [], r = 0, i = t; r < i.length; r++) {
930
- var a = i[r], o = a.split("/");
931
- if (o.length === 0)
930
+ var o = i[r], a = o.split("/");
931
+ if (a.length === 0)
932
932
  throw new Error("Invalid number skeleton");
933
- for (var s = o[0], l = o.slice(1), u = 0, c = l; u < c.length; u++) {
933
+ for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
934
934
  var f = c[u];
935
935
  if (f.length === 0)
936
936
  throw new Error("Invalid number skeleton");
@@ -939,11 +939,11 @@ function Hi(e) {
939
939
  }
940
940
  return n;
941
941
  }
942
- function Pi(e) {
942
+ function Ii(e) {
943
943
  return e.replace(/^(.*?)-/, "");
944
944
  }
945
- var Pn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
946
- function In(e) {
945
+ var In = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
946
+ function Pn(e) {
947
947
  var t = {};
948
948
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(n, r, i) {
949
949
  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)), "";
@@ -1031,7 +1031,7 @@ function Ni(e) {
1031
1031
  continue;
1032
1032
  case "measure-unit":
1033
1033
  case "unit":
1034
- t.style = "unit", t.unit = Pi(i.options[0]);
1034
+ t.style = "unit", t.unit = Ii(i.options[0]);
1035
1035
  continue;
1036
1036
  case "compact-short":
1037
1037
  case "K":
@@ -1093,7 +1093,7 @@ function Ni(e) {
1093
1093
  case "integer-width":
1094
1094
  if (i.options.length > 1)
1095
1095
  throw new RangeError("integer-width stems only accept a single optional option");
1096
- i.options[0].replace(Ii, function(l, u, c, f, h, m) {
1096
+ i.options[0].replace(Pi, function(l, u, c, f, h, m) {
1097
1097
  if (u)
1098
1098
  t.minimumIntegerDigits = c.length;
1099
1099
  else {
@@ -1110,28 +1110,28 @@ function Ni(e) {
1110
1110
  t.minimumIntegerDigits = i.stem.length;
1111
1111
  continue;
1112
1112
  }
1113
- if (Pn.test(i.stem)) {
1113
+ if (In.test(i.stem)) {
1114
1114
  if (i.options.length > 1)
1115
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1116
- i.stem.replace(Pn, function(l, u, c, f, h, m) {
1116
+ i.stem.replace(In, function(l, u, c, f, h, m) {
1117
1117
  return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1118
1118
  });
1119
- var a = i.options[0];
1120
- a === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = V(V({}, t), In(a)));
1119
+ var o = i.options[0];
1120
+ o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Pn(o)));
1121
1121
  continue;
1122
1122
  }
1123
1123
  if (vr.test(i.stem)) {
1124
- t = V(V({}, t), In(i.stem));
1124
+ t = V(V({}, t), Pn(i.stem));
1125
1125
  continue;
1126
1126
  }
1127
- var o = _r(i.stem);
1128
- o && (t = V(V({}, t), o));
1127
+ var a = _r(i.stem);
1128
+ a && (t = V(V({}, t), a));
1129
1129
  var s = Li(i.stem);
1130
1130
  s && (t = V(V({}, t), s));
1131
1131
  }
1132
1132
  return t;
1133
1133
  }
1134
- var _t = {
1134
+ var xt = {
1135
1135
  "001": [
1136
1136
  "H",
1137
1137
  "h"
@@ -2550,12 +2550,12 @@ function Ri(e, t) {
2550
2550
  for (var n = "", r = 0; r < e.length; r++) {
2551
2551
  var i = e.charAt(r);
2552
2552
  if (i === "j") {
2553
- for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2554
- a++, r++;
2555
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Oi(t);
2553
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2554
+ o++, r++;
2555
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
2556
2556
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2557
2557
  n += l;
2558
- for (; o-- > 0; )
2558
+ for (; a-- > 0; )
2559
2559
  n = u + n;
2560
2560
  } else
2561
2561
  i === "J" ? n += "H" : n += i;
@@ -2581,10 +2581,10 @@ function Oi(e) {
2581
2581
  }
2582
2582
  var n = e.language, r;
2583
2583
  n !== "root" && (r = e.maximize().region);
2584
- var i = _t[r || ""] || _t[n || ""] || _t["".concat(n, "-001")] || _t["001"];
2584
+ var i = xt[r || ""] || xt[n || ""] || xt["".concat(n, "-001")] || xt["001"];
2585
2585
  return i[0];
2586
2586
  }
2587
- var Zt, Di = new RegExp("^".concat(yr.source, "*")), Mi = new RegExp("".concat(yr.source, "*$"));
2587
+ var qt, Di = new RegExp("^".concat(yr.source, "*")), Mi = new RegExp("".concat(yr.source, "*$"));
2588
2588
  function N(e, t) {
2589
2589
  return { start: e, end: t };
2590
2590
  }
@@ -2593,7 +2593,7 @@ var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String
2593
2593
  }, an = !0;
2594
2594
  try {
2595
2595
  var Wi = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
- an = ((Zt = Wi.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
2596
+ an = ((qt = Wi.exec("a")) === null || qt === void 0 ? void 0 : qt[0]) === "a";
2597
2597
  } catch (e) {
2598
2598
  an = !1;
2599
2599
  }
@@ -2607,15 +2607,15 @@ var Nn = ki ? (
2607
2607
  function(t, n, r) {
2608
2608
  return t.slice(r, r + n.length) === n;
2609
2609
  }
2610
- ), on = Ui ? String.fromCodePoint : (
2610
+ ), sn = Ui ? String.fromCodePoint : (
2611
2611
  // IE11
2612
2612
  function() {
2613
2613
  for (var t = [], n = 0; n < arguments.length; n++)
2614
2614
  t[n] = arguments[n];
2615
- for (var r = "", i = t.length, a = 0, o; i > a; ) {
2616
- if (o = t[a++], o > 1114111)
2617
- throw RangeError(o + " is not a valid code point");
2618
- r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2615
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
2616
+ if (a = t[o++], a > 1114111)
2617
+ throw RangeError(a + " is not a valid code point");
2618
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2619
2619
  }
2620
2620
  return r;
2621
2621
  }
@@ -2625,8 +2625,8 @@ var Nn = ki ? (
2625
2625
  // Ponyfill
2626
2626
  function(t) {
2627
2627
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2628
- var a = i[r], o = a[0], s = a[1];
2629
- n[o] = s;
2628
+ var o = i[r], a = o[0], s = o[1];
2629
+ n[a] = s;
2630
2630
  }
2631
2631
  return n;
2632
2632
  }
@@ -2641,8 +2641,8 @@ var Nn = ki ? (
2641
2641
  function(t, n) {
2642
2642
  var r = t.length;
2643
2643
  if (!(n < 0 || n >= r)) {
2644
- var i = t.charCodeAt(n), a;
2645
- return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2644
+ var i = t.charCodeAt(n), o;
2645
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2646
2646
  }
2647
2647
  }
2648
2648
  ), zi = Gi ? (
@@ -2669,26 +2669,26 @@ var Nn = ki ? (
2669
2669
  function wr(e, t) {
2670
2670
  return new RegExp(e, t);
2671
2671
  }
2672
- var sn;
2672
+ var ln;
2673
2673
  if (an) {
2674
2674
  var On = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2675
- sn = function(t, n) {
2675
+ ln = function(t, n) {
2676
2676
  var r;
2677
2677
  On.lastIndex = n;
2678
2678
  var i = On.exec(t);
2679
2679
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2680
2680
  };
2681
2681
  } else
2682
- sn = function(t, n) {
2682
+ ln = function(t, n) {
2683
2683
  for (var r = []; ; ) {
2684
2684
  var i = xr(t, n);
2685
- if (i === void 0 || Ar(i) || Ji(i))
2685
+ if (i === void 0 || Ar(i) || Yi(i))
2686
2686
  break;
2687
2687
  r.push(i), n += i >= 65536 ? 2 : 1;
2688
2688
  }
2689
- return on.apply(void 0, r);
2689
+ return sn.apply(void 0, r);
2690
2690
  };
2691
- var Qi = (
2691
+ var qi = (
2692
2692
  /** @class */
2693
2693
  function() {
2694
2694
  function e(t, n) {
@@ -2700,35 +2700,35 @@ var Qi = (
2700
2700
  return this.parseMessage(0, "", !1);
2701
2701
  }, e.prototype.parseMessage = function(t, n, r) {
2702
2702
  for (var i = []; !this.isEOF(); ) {
2703
- var a = this.char();
2704
- if (a === 123) {
2705
- var o = this.parseArgument(t, r);
2706
- if (o.err)
2707
- return o;
2708
- i.push(o.val);
2703
+ var o = this.char();
2704
+ if (o === 123) {
2705
+ var a = this.parseArgument(t, r);
2706
+ if (a.err)
2707
+ return a;
2708
+ i.push(a.val);
2709
2709
  } else {
2710
- if (a === 125 && t > 0)
2710
+ if (o === 125 && t > 0)
2711
2711
  break;
2712
- if (a === 35 && (n === "plural" || n === "selectordinal")) {
2712
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2713
2713
  var s = this.clonePosition();
2714
2714
  this.bump(), i.push({
2715
2715
  type: U.pound,
2716
2716
  location: N(s, this.clonePosition())
2717
2717
  });
2718
- } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2718
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2719
2719
  if (r)
2720
2720
  break;
2721
- return this.error(I.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2722
- } else if (a === 60 && !this.ignoreTag && ln(this.peek() || 0)) {
2723
- var o = this.parseTag(t, n);
2724
- if (o.err)
2725
- return o;
2726
- i.push(o.val);
2721
+ return this.error(P.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2722
+ } else if (o === 60 && !this.ignoreTag && un(this.peek() || 0)) {
2723
+ var a = this.parseTag(t, n);
2724
+ if (a.err)
2725
+ return a;
2726
+ i.push(a.val);
2727
2727
  } else {
2728
- var o = this.parseLiteral(t, n);
2729
- if (o.err)
2730
- return o;
2731
- i.push(o.val);
2728
+ var a = this.parseLiteral(t, n);
2729
+ if (a.err)
2730
+ return a;
2731
+ i.push(a.val);
2732
2732
  }
2733
2733
  }
2734
2734
  }
@@ -2747,44 +2747,44 @@ var Qi = (
2747
2747
  err: null
2748
2748
  };
2749
2749
  if (this.bumpIf(">")) {
2750
- var a = this.parseMessage(t + 1, n, !0);
2751
- if (a.err)
2752
- return a;
2753
- var o = a.val, s = this.clonePosition();
2750
+ var o = this.parseMessage(t + 1, n, !0);
2751
+ if (o.err)
2752
+ return o;
2753
+ var a = o.val, s = this.clonePosition();
2754
2754
  if (this.bumpIf("</")) {
2755
- if (this.isEOF() || !ln(this.char()))
2756
- return this.error(I.INVALID_TAG, N(s, this.clonePosition()));
2755
+ if (this.isEOF() || !un(this.char()))
2756
+ return this.error(P.INVALID_TAG, N(s, this.clonePosition()));
2757
2757
  var l = this.clonePosition(), u = this.parseTagName();
2758
- return i !== u ? this.error(I.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2758
+ return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2759
2759
  val: {
2760
2760
  type: U.tag,
2761
2761
  value: i,
2762
- children: o,
2762
+ children: a,
2763
2763
  location: N(r, this.clonePosition())
2764
2764
  },
2765
2765
  err: null
2766
- } : this.error(I.INVALID_TAG, N(s, this.clonePosition())));
2766
+ } : this.error(P.INVALID_TAG, N(s, this.clonePosition())));
2767
2767
  } else
2768
- return this.error(I.UNCLOSED_TAG, N(r, this.clonePosition()));
2768
+ return this.error(P.UNCLOSED_TAG, N(r, this.clonePosition()));
2769
2769
  } else
2770
- return this.error(I.INVALID_TAG, N(r, this.clonePosition()));
2770
+ return this.error(P.INVALID_TAG, N(r, this.clonePosition()));
2771
2771
  }, e.prototype.parseTagName = function() {
2772
2772
  var t = this.offset();
2773
- for (this.bump(); !this.isEOF() && Yi(this.char()); )
2773
+ for (this.bump(); !this.isEOF() && Qi(this.char()); )
2774
2774
  this.bump();
2775
2775
  return this.message.slice(t, this.offset());
2776
2776
  }, e.prototype.parseLiteral = function(t, n) {
2777
2777
  for (var r = this.clonePosition(), i = ""; ; ) {
2778
- var a = this.tryParseQuote(n);
2779
- if (a) {
2780
- i += a;
2781
- continue;
2782
- }
2783
- var o = this.tryParseUnquoted(t, n);
2778
+ var o = this.tryParseQuote(n);
2784
2779
  if (o) {
2785
2780
  i += o;
2786
2781
  continue;
2787
2782
  }
2783
+ var a = this.tryParseUnquoted(t, n);
2784
+ if (a) {
2785
+ i += a;
2786
+ continue;
2787
+ }
2788
2788
  var s = this.tryParseLeftAngleBracket();
2789
2789
  if (s) {
2790
2790
  i += s;
@@ -2833,23 +2833,23 @@ var Qi = (
2833
2833
  n.push(r);
2834
2834
  this.bump();
2835
2835
  }
2836
- return on.apply(void 0, n);
2836
+ return sn.apply(void 0, n);
2837
2837
  }, e.prototype.tryParseUnquoted = function(t, n) {
2838
2838
  if (this.isEOF())
2839
2839
  return null;
2840
2840
  var r = this.char();
2841
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), on(r));
2841
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), sn(r));
2842
2842
  }, e.prototype.parseArgument = function(t, n) {
2843
2843
  var r = this.clonePosition();
2844
2844
  if (this.bump(), this.bumpSpace(), this.isEOF())
2845
- return this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2845
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2846
2846
  if (this.char() === 125)
2847
- return this.bump(), this.error(I.EMPTY_ARGUMENT, N(r, this.clonePosition()));
2847
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, N(r, this.clonePosition()));
2848
2848
  var i = this.parseIdentifierIfPossible().value;
2849
2849
  if (!i)
2850
- return this.error(I.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2850
+ return this.error(P.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2851
2851
  if (this.bumpSpace(), this.isEOF())
2852
- return this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2852
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition()));
2853
2853
  switch (this.char()) {
2854
2854
  case 125:
2855
2855
  return this.bump(), {
@@ -2862,20 +2862,20 @@ var Qi = (
2862
2862
  err: null
2863
2863
  };
2864
2864
  case 44:
2865
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2865
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2866
2866
  default:
2867
- return this.error(I.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2867
+ return this.error(P.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2868
2868
  }
2869
2869
  }, e.prototype.parseIdentifierIfPossible = function() {
2870
- var t = this.clonePosition(), n = this.offset(), r = sn(this.message, n), i = n + r.length;
2870
+ var t = this.clonePosition(), n = this.offset(), r = ln(this.message, n), i = n + r.length;
2871
2871
  this.bumpTo(i);
2872
- var a = this.clonePosition(), o = N(t, a);
2873
- return { value: r, location: o };
2872
+ var o = this.clonePosition(), a = N(t, o);
2873
+ return { value: r, location: a };
2874
2874
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2875
- var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2875
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2876
2876
  switch (s) {
2877
2877
  case "":
2878
- return this.error(I.EXPECT_ARGUMENT_TYPE, N(o, l));
2878
+ return this.error(P.EXPECT_ARGUMENT_TYPE, N(a, l));
2879
2879
  case "number":
2880
2880
  case "date":
2881
2881
  case "time": {
@@ -2888,35 +2888,35 @@ var Qi = (
2888
2888
  return f;
2889
2889
  var h = Zi(f.val);
2890
2890
  if (h.length === 0)
2891
- return this.error(I.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2891
+ return this.error(P.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2892
2892
  var m = N(c, this.clonePosition());
2893
2893
  u = { style: h, styleLocation: m };
2894
2894
  }
2895
2895
  var _ = this.tryParseArgumentClose(i);
2896
2896
  if (_.err)
2897
2897
  return _;
2898
- var p = N(i, this.clonePosition());
2898
+ var d = N(i, this.clonePosition());
2899
2899
  if (u && Nn(u == null ? void 0 : u.style, "::", 0)) {
2900
2900
  var E = zi(u.style.slice(2));
2901
2901
  if (s === "number") {
2902
2902
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2903
2903
  return f.err ? f : {
2904
- val: { type: U.number, value: r, location: p, style: f.val },
2904
+ val: { type: U.number, value: r, location: d, style: f.val },
2905
2905
  err: null
2906
2906
  };
2907
2907
  } else {
2908
2908
  if (E.length === 0)
2909
- return this.error(I.EXPECT_DATE_TIME_SKELETON, p);
2909
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2910
2910
  var C = E;
2911
2911
  this.locale && (C = Ri(E, this.locale));
2912
2912
  var h = {
2913
- type: Qe.dateTime,
2913
+ type: Ke.dateTime,
2914
2914
  pattern: C,
2915
2915
  location: u.styleLocation,
2916
2916
  parsedOptions: this.shouldParseSkeletons ? Bi(C) : {}
2917
2917
  }, R = s === "date" ? U.date : U.time;
2918
2918
  return {
2919
- val: { type: R, value: r, location: p, style: h },
2919
+ val: { type: R, value: r, location: d, style: h },
2920
2920
  err: null
2921
2921
  };
2922
2922
  }
@@ -2925,8 +2925,8 @@ var Qi = (
2925
2925
  val: {
2926
2926
  type: s === "number" ? U.number : s === "date" ? U.date : U.time,
2927
2927
  value: r,
2928
- location: p,
2929
- style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
2928
+ location: d,
2929
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2930
2930
  },
2931
2931
  err: null
2932
2932
  };
@@ -2936,14 +2936,14 @@ var Qi = (
2936
2936
  case "select": {
2937
2937
  var y = this.clonePosition();
2938
2938
  if (this.bumpSpace(), !this.bumpIf(","))
2939
- return this.error(I.EXPECT_SELECT_ARGUMENT_OPTIONS, N(y, Ht({}, y)));
2939
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, N(y, It({}, y)));
2940
2940
  this.bumpSpace();
2941
2941
  var D = this.parseIdentifierIfPossible(), M = 0;
2942
2942
  if (s !== "select" && D.value === "offset") {
2943
2943
  if (!this.bumpIf(":"))
2944
- return this.error(I.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2944
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2945
2945
  this.bumpSpace();
2946
- var f = this.tryParseDecimalInteger(I.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, I.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2946
+ var f = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2947
2947
  if (f.err)
2948
2948
  return f;
2949
2949
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = f.val;
@@ -2976,10 +2976,10 @@ var Qi = (
2976
2976
  };
2977
2977
  }
2978
2978
  default:
2979
- return this.error(I.INVALID_ARGUMENT_TYPE, N(o, l));
2979
+ return this.error(P.INVALID_ARGUMENT_TYPE, N(a, l));
2980
2980
  }
2981
2981
  }, e.prototype.tryParseArgumentClose = function(t) {
2982
- return this.isEOF() || this.char() !== 125 ? this.error(I.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2982
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2983
2983
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2984
2984
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2985
2985
  var r = this.char();
@@ -2988,7 +2988,7 @@ var Qi = (
2988
2988
  this.bump();
2989
2989
  var i = this.clonePosition();
2990
2990
  if (!this.bumpUntil("'"))
2991
- return this.error(I.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2991
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2992
2992
  this.bump();
2993
2993
  break;
2994
2994
  }
@@ -3020,11 +3020,11 @@ var Qi = (
3020
3020
  try {
3021
3021
  r = Hi(t);
3022
3022
  } catch (i) {
3023
- return this.error(I.INVALID_NUMBER_SKELETON, n);
3023
+ return this.error(P.INVALID_NUMBER_SKELETON, n);
3024
3024
  }
3025
3025
  return {
3026
3026
  val: {
3027
- type: Qe.number,
3027
+ type: Ke.number,
3028
3028
  tokens: r,
3029
3029
  location: n,
3030
3030
  parsedOptions: this.shouldParseSkeletons ? Ni(r) : {}
@@ -3032,11 +3032,11 @@ var Qi = (
3032
3032
  err: null
3033
3033
  };
3034
3034
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3035
- for (var a, o = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3035
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3036
3036
  if (u.length === 0) {
3037
3037
  var f = this.clonePosition();
3038
3038
  if (n !== "select" && this.bumpIf("=")) {
3039
- var h = this.tryParseDecimalInteger(I.EXPECT_PLURAL_ARGUMENT_SELECTOR, I.INVALID_PLURAL_ARGUMENT_SELECTOR);
3039
+ var h = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
3040
  if (h.err)
3041
3041
  return h;
3042
3042
  c = N(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3044,38 +3044,38 @@ var Qi = (
3044
3044
  break;
3045
3045
  }
3046
3046
  if (l.has(u))
3047
- return this.error(n === "select" ? I.DUPLICATE_SELECT_ARGUMENT_SELECTOR : I.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3048
- u === "other" && (o = !0), this.bumpSpace();
3047
+ return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3048
+ u === "other" && (a = !0), this.bumpSpace();
3049
3049
  var m = this.clonePosition();
3050
3050
  if (!this.bumpIf("{"))
3051
- return this.error(n === "select" ? I.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : I.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
3051
+ return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
3052
3052
  var _ = this.parseMessage(t + 1, n, r);
3053
3053
  if (_.err)
3054
3054
  return _;
3055
- var p = this.tryParseArgumentClose(m);
3056
- if (p.err)
3057
- return p;
3055
+ var d = this.tryParseArgumentClose(m);
3056
+ if (d.err)
3057
+ return d;
3058
3058
  s.push([
3059
3059
  u,
3060
3060
  {
3061
3061
  value: _.val,
3062
3062
  location: N(m, this.clonePosition())
3063
3063
  }
3064
- ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, c = a.location;
3064
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3065
3065
  }
3066
- return s.length === 0 ? this.error(n === "select" ? I.EXPECT_SELECT_ARGUMENT_SELECTOR : I.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(I.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3066
+ return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3067
3067
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3068
3068
  var r = 1, i = this.clonePosition();
3069
3069
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3070
- for (var a = !1, o = 0; !this.isEOF(); ) {
3070
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3071
3071
  var s = this.char();
3072
3072
  if (s >= 48 && s <= 57)
3073
- a = !0, o = o * 10 + (s - 48), this.bump();
3073
+ o = !0, a = a * 10 + (s - 48), this.bump();
3074
3074
  else
3075
3075
  break;
3076
3076
  }
3077
3077
  var l = N(i, this.clonePosition());
3078
- return a ? (o *= r, Xi(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
3078
+ return o ? (a *= r, Xi(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3079
3079
  }, e.prototype.offset = function() {
3080
3080
  return this.position.offset;
3081
3081
  }, e.prototype.isEOF = function() {
@@ -3141,50 +3141,50 @@ var Qi = (
3141
3141
  }, e;
3142
3142
  }()
3143
3143
  );
3144
- function ln(e) {
3144
+ function un(e) {
3145
3145
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3146
3146
  }
3147
3147
  function Ki(e) {
3148
- return ln(e) || e === 47;
3148
+ return un(e) || e === 47;
3149
3149
  }
3150
- function Yi(e) {
3150
+ function Qi(e) {
3151
3151
  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;
3152
3152
  }
3153
3153
  function Ar(e) {
3154
3154
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3155
3155
  }
3156
- function Ji(e) {
3156
+ function Yi(e) {
3157
3157
  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;
3158
3158
  }
3159
- function un(e) {
3159
+ function cn(e) {
3160
3160
  e.forEach(function(t) {
3161
- if (delete t.location, pr(t) || mr(t))
3161
+ if (delete t.location, dr(t) || mr(t))
3162
3162
  for (var n in t.options)
3163
- delete t.options[n].location, un(t.options[n].value);
3163
+ delete t.options[n].location, cn(t.options[n].value);
3164
3164
  else
3165
- hr(t) && br(t.style) || (fr(t) || dr(t)) && rn(t.style) ? delete t.style.location : gr(t) && un(t.children);
3165
+ hr(t) && br(t.style) || (fr(t) || pr(t)) && on(t.style) ? delete t.style.location : gr(t) && cn(t.children);
3166
3166
  });
3167
3167
  }
3168
- function qi(e, t) {
3169
- t === void 0 && (t = {}), t = Ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
- var n = new Qi(e, t).parse();
3168
+ function Ji(e, t) {
3169
+ t === void 0 && (t = {}), t = It({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
+ var n = new qi(e, t).parse();
3171
3171
  if (n.err) {
3172
- var r = SyntaxError(I[n.err.kind]);
3172
+ var r = SyntaxError(P[n.err.kind]);
3173
3173
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3174
3174
  }
3175
- return t != null && t.captureLocation || un(n.val), n.val;
3175
+ return t != null && t.captureLocation || cn(n.val), n.val;
3176
3176
  }
3177
- var Ke;
3177
+ var Qe;
3178
3178
  (function(e) {
3179
3179
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3180
- })(Ke || (Ke = {}));
3181
- var Ot = (
3180
+ })(Qe || (Qe = {}));
3181
+ var Dt = (
3182
3182
  /** @class */
3183
3183
  function(e) {
3184
- Rt(t, e);
3184
+ Ot(t, e);
3185
3185
  function t(n, r, i) {
3186
- var a = e.call(this, n) || this;
3187
- return a.code = r, a.originalMessage = i, a;
3186
+ var o = e.call(this, n) || this;
3187
+ return o.code = r, o.originalMessage = i, o;
3188
3188
  }
3189
3189
  return t.prototype.toString = function() {
3190
3190
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3193,48 +3193,48 @@ var Ot = (
3193
3193
  ), Dn = (
3194
3194
  /** @class */
3195
3195
  function(e) {
3196
- Rt(t, e);
3197
- function t(n, r, i, a) {
3198
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ke.INVALID_VALUE, a) || this;
3196
+ Ot(t, e);
3197
+ function t(n, r, i, o) {
3198
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Qe.INVALID_VALUE, o) || this;
3199
3199
  }
3200
3200
  return t;
3201
- }(Ot)
3202
- ), ea = (
3201
+ }(Dt)
3202
+ ), eo = (
3203
3203
  /** @class */
3204
3204
  function(e) {
3205
- Rt(t, e);
3205
+ Ot(t, e);
3206
3206
  function t(n, r, i) {
3207
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ke.INVALID_VALUE, i) || this;
3207
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Qe.INVALID_VALUE, i) || this;
3208
3208
  }
3209
3209
  return t;
3210
- }(Ot)
3211
- ), ta = (
3210
+ }(Dt)
3211
+ ), to = (
3212
3212
  /** @class */
3213
3213
  function(e) {
3214
- Rt(t, e);
3214
+ Ot(t, e);
3215
3215
  function t(n, r) {
3216
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ke.MISSING_VALUE, r) || this;
3216
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Qe.MISSING_VALUE, r) || this;
3217
3217
  }
3218
3218
  return t;
3219
- }(Ot)
3220
- ), J;
3219
+ }(Dt)
3220
+ ), Y;
3221
3221
  (function(e) {
3222
3222
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3223
- })(J || (J = {}));
3224
- function na(e) {
3223
+ })(Y || (Y = {}));
3224
+ function no(e) {
3225
3225
  return e.length < 2 ? e : e.reduce(function(t, n) {
3226
3226
  var r = t[t.length - 1];
3227
- return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3227
+ return !r || r.type !== Y.literal || n.type !== Y.literal ? t.push(n) : r.value += n.value, t;
3228
3228
  }, []);
3229
3229
  }
3230
- function ra(e) {
3230
+ function ro(e) {
3231
3231
  return typeof e == "function";
3232
3232
  }
3233
- function Ct(e, t, n, r, i, a, o) {
3233
+ function Tt(e, t, n, r, i, o, a) {
3234
3234
  if (e.length === 1 && Hn(e[0]))
3235
3235
  return [
3236
3236
  {
3237
- type: J.literal,
3237
+ type: Y.literal,
3238
3238
  value: e[0].value
3239
3239
  }
3240
3240
  ];
@@ -3242,41 +3242,41 @@ function Ct(e, t, n, r, i, a, o) {
3242
3242
  var c = u[l];
3243
3243
  if (Hn(c)) {
3244
3244
  s.push({
3245
- type: J.literal,
3245
+ type: Y.literal,
3246
3246
  value: c.value
3247
3247
  });
3248
3248
  continue;
3249
3249
  }
3250
3250
  if (Ci(c)) {
3251
- typeof a == "number" && s.push({
3252
- type: J.literal,
3253
- value: n.getNumberFormat(t).format(a)
3251
+ typeof o == "number" && s.push({
3252
+ type: Y.literal,
3253
+ value: n.getNumberFormat(t).format(o)
3254
3254
  });
3255
3255
  continue;
3256
3256
  }
3257
3257
  var f = c.value;
3258
3258
  if (!(i && f in i))
3259
- throw new ta(f, o);
3259
+ throw new to(f, a);
3260
3260
  var h = i[f];
3261
3261
  if (Ai(c)) {
3262
3262
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), s.push({
3263
- type: typeof h == "string" ? J.literal : J.object,
3263
+ type: typeof h == "string" ? Y.literal : Y.object,
3264
3264
  value: h
3265
3265
  });
3266
3266
  continue;
3267
3267
  }
3268
3268
  if (fr(c)) {
3269
- var m = typeof c.style == "string" ? r.date[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
3269
+ var m = typeof c.style == "string" ? r.date[c.style] : on(c.style) ? c.style.parsedOptions : void 0;
3270
3270
  s.push({
3271
- type: J.literal,
3271
+ type: Y.literal,
3272
3272
  value: n.getDateTimeFormat(t, m).format(h)
3273
3273
  });
3274
3274
  continue;
3275
3275
  }
3276
- if (dr(c)) {
3277
- var m = typeof c.style == "string" ? r.time[c.style] : rn(c.style) ? c.style.parsedOptions : r.time.medium;
3276
+ if (pr(c)) {
3277
+ var m = typeof c.style == "string" ? r.time[c.style] : on(c.style) ? c.style.parsedOptions : r.time.medium;
3278
3278
  s.push({
3279
- type: J.literal,
3279
+ type: Y.literal,
3280
3280
  value: n.getDateTimeFormat(t, m).format(h)
3281
3281
  });
3282
3282
  continue;
@@ -3284,61 +3284,61 @@ function Ct(e, t, n, r, i, a, o) {
3284
3284
  if (hr(c)) {
3285
3285
  var m = typeof c.style == "string" ? r.number[c.style] : br(c.style) ? c.style.parsedOptions : void 0;
3286
3286
  m && m.scale && (h = h * (m.scale || 1)), s.push({
3287
- type: J.literal,
3287
+ type: Y.literal,
3288
3288
  value: n.getNumberFormat(t, m).format(h)
3289
3289
  });
3290
3290
  continue;
3291
3291
  }
3292
3292
  if (gr(c)) {
3293
- var _ = c.children, p = c.value, E = i[p];
3294
- if (!ra(E))
3295
- throw new ea(p, "function", o);
3296
- var C = Ct(_, t, n, r, i, a), R = E(C.map(function(M) {
3293
+ var _ = c.children, d = c.value, E = i[d];
3294
+ if (!ro(E))
3295
+ throw new eo(d, "function", a);
3296
+ var C = Tt(_, t, n, r, i, o), R = E(C.map(function(M) {
3297
3297
  return M.value;
3298
3298
  }));
3299
3299
  Array.isArray(R) || (R = [R]), s.push.apply(s, R.map(function(M) {
3300
3300
  return {
3301
- type: typeof M == "string" ? J.literal : J.object,
3301
+ type: typeof M == "string" ? Y.literal : Y.object,
3302
3302
  value: M
3303
3303
  };
3304
3304
  }));
3305
3305
  }
3306
- if (pr(c)) {
3306
+ if (dr(c)) {
3307
3307
  var y = c.options[h] || c.options.other;
3308
3308
  if (!y)
3309
- throw new Dn(c.value, h, Object.keys(c.options), o);
3310
- s.push.apply(s, Ct(y.value, t, n, r, i));
3309
+ throw new Dn(c.value, h, Object.keys(c.options), a);
3310
+ s.push.apply(s, Tt(y.value, t, n, r, i));
3311
3311
  continue;
3312
3312
  }
3313
3313
  if (mr(c)) {
3314
3314
  var y = c.options["=".concat(h)];
3315
3315
  if (!y) {
3316
3316
  if (!Intl.PluralRules)
3317
- throw new Ot(`Intl.PluralRules is not available in this environment.
3317
+ throw new Dt(`Intl.PluralRules is not available in this environment.
3318
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3319
- `, Ke.MISSING_INTL_API, o);
3319
+ `, Qe.MISSING_INTL_API, a);
3320
3320
  var D = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3321
3321
  y = c.options[D] || c.options.other;
3322
3322
  }
3323
3323
  if (!y)
3324
- throw new Dn(c.value, h, Object.keys(c.options), o);
3325
- s.push.apply(s, Ct(y.value, t, n, r, i, h - (c.offset || 0)));
3324
+ throw new Dn(c.value, h, Object.keys(c.options), a);
3325
+ s.push.apply(s, Tt(y.value, t, n, r, i, h - (c.offset || 0)));
3326
3326
  continue;
3327
3327
  }
3328
3328
  }
3329
- return na(s);
3329
+ return no(s);
3330
3330
  }
3331
- function ia(e, t) {
3331
+ function io(e, t) {
3332
3332
  return t ? me(me(me({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3333
3333
  return n[r] = me(me({}, e[r]), t[r] || {}), n;
3334
3334
  }, {})) : e;
3335
3335
  }
3336
- function aa(e, t) {
3336
+ function oo(e, t) {
3337
3337
  return t ? Object.keys(e).reduce(function(n, r) {
3338
- return n[r] = ia(e[r], t[r]), n;
3338
+ return n[r] = io(e[r], t[r]), n;
3339
3339
  }, me({}, e)) : e;
3340
3340
  }
3341
- function Qt(e) {
3341
+ function Kt(e) {
3342
3342
  return {
3343
3343
  create: function() {
3344
3344
  return {
@@ -3352,77 +3352,77 @@ function Qt(e) {
3352
3352
  }
3353
3353
  };
3354
3354
  }
3355
- function oa(e) {
3355
+ function ao(e) {
3356
3356
  return e === void 0 && (e = {
3357
3357
  number: {},
3358
3358
  dateTime: {},
3359
3359
  pluralRules: {}
3360
3360
  }), {
3361
- getNumberFormat: Wt(function() {
3361
+ getNumberFormat: zt(function() {
3362
3362
  for (var t, n = [], r = 0; r < arguments.length; r++)
3363
3363
  n[r] = arguments[r];
3364
- return new ((t = Intl.NumberFormat).bind.apply(t, Xt([void 0], n, !1)))();
3364
+ return new ((t = Intl.NumberFormat).bind.apply(t, Wt([void 0], n, !1)))();
3365
3365
  }, {
3366
- cache: Qt(e.number),
3367
- strategy: zt.variadic
3366
+ cache: Kt(e.number),
3367
+ strategy: Zt.variadic
3368
3368
  }),
3369
- getDateTimeFormat: Wt(function() {
3369
+ getDateTimeFormat: zt(function() {
3370
3370
  for (var t, n = [], r = 0; r < arguments.length; r++)
3371
3371
  n[r] = arguments[r];
3372
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Xt([void 0], n, !1)))();
3372
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Wt([void 0], n, !1)))();
3373
3373
  }, {
3374
- cache: Qt(e.dateTime),
3375
- strategy: zt.variadic
3374
+ cache: Kt(e.dateTime),
3375
+ strategy: Zt.variadic
3376
3376
  }),
3377
- getPluralRules: Wt(function() {
3377
+ getPluralRules: zt(function() {
3378
3378
  for (var t, n = [], r = 0; r < arguments.length; r++)
3379
3379
  n[r] = arguments[r];
3380
- return new ((t = Intl.PluralRules).bind.apply(t, Xt([void 0], n, !1)))();
3380
+ return new ((t = Intl.PluralRules).bind.apply(t, Wt([void 0], n, !1)))();
3381
3381
  }, {
3382
- cache: Qt(e.pluralRules),
3383
- strategy: zt.variadic
3382
+ cache: Kt(e.pluralRules),
3383
+ strategy: Zt.variadic
3384
3384
  })
3385
3385
  };
3386
3386
  }
3387
- var sa = (
3387
+ var so = (
3388
3388
  /** @class */
3389
3389
  function() {
3390
3390
  function e(t, n, r, i) {
3391
3391
  n === void 0 && (n = e.defaultLocale);
3392
- var a = this;
3392
+ var o = this;
3393
3393
  if (this.formatterCache = {
3394
3394
  number: {},
3395
3395
  dateTime: {},
3396
3396
  pluralRules: {}
3397
3397
  }, this.format = function(l) {
3398
- var u = a.formatToParts(l);
3398
+ var u = o.formatToParts(l);
3399
3399
  if (u.length === 1)
3400
3400
  return u[0].value;
3401
3401
  var c = u.reduce(function(f, h) {
3402
- return !f.length || h.type !== J.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3402
+ return !f.length || h.type !== Y.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3403
3403
  }, []);
3404
3404
  return c.length <= 1 ? c[0] || "" : c;
3405
3405
  }, this.formatToParts = function(l) {
3406
- return Ct(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3406
+ return Tt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3407
3407
  }, this.resolvedOptions = function() {
3408
3408
  var l;
3409
3409
  return {
3410
- locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3410
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3411
3411
  };
3412
3412
  }, this.getAst = function() {
3413
- return a.ast;
3413
+ return o.ast;
3414
3414
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3415
3415
  if (this.message = t, !e.__parse)
3416
3416
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3417
- var o = i || {};
3418
- o.formatters;
3419
- var s = gi(o, ["formatters"]);
3417
+ var a = i || {};
3418
+ a.formatters;
3419
+ var s = gi(a, ["formatters"]);
3420
3420
  this.ast = e.__parse(t, me(me({}, s), { locale: this.resolvedLocale }));
3421
3421
  } else
3422
3422
  this.ast = t;
3423
3423
  if (!Array.isArray(this.ast))
3424
3424
  throw new TypeError("A message must be provided as a String or AST.");
3425
- this.formats = aa(e.formats, r), this.formatters = i && i.formatters || oa(this.formatterCache);
3425
+ this.formats = oo(e.formats, r), this.formatters = i && i.formatters || ao(this.formatterCache);
3426
3426
  }
3427
3427
  return Object.defineProperty(e, "defaultLocale", {
3428
3428
  get: function() {
@@ -3435,7 +3435,7 @@ var sa = (
3435
3435
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3436
3436
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3437
3437
  }
3438
- }, e.__parse = qi, e.formats = {
3438
+ }, e.__parse = Ji, e.formats = {
3439
3439
  number: {
3440
3440
  integer: {
3441
3441
  maximumFractionDigits: 0
@@ -3496,7 +3496,7 @@ var sa = (
3496
3496
  }, e;
3497
3497
  }()
3498
3498
  );
3499
- function la(e, t) {
3499
+ function lo(e, t) {
3500
3500
  if (t == null)
3501
3501
  return;
3502
3502
  if (t in e)
@@ -3506,9 +3506,9 @@ function la(e, t) {
3506
3506
  for (let i = 0; i < n.length; i++)
3507
3507
  if (typeof r == "object") {
3508
3508
  if (i > 0) {
3509
- const a = n.slice(i, n.length).join(".");
3510
- if (a in r) {
3511
- r = r[a];
3509
+ const o = n.slice(i, n.length).join(".");
3510
+ if (o in r) {
3511
+ r = r[o];
3512
3512
  break;
3513
3513
  }
3514
3514
  }
@@ -3517,36 +3517,36 @@ function la(e, t) {
3517
3517
  r = void 0;
3518
3518
  return r;
3519
3519
  }
3520
- const Ie = {}, ua = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Cr = (e, t) => {
3520
+ const Pe = {}, uo = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (Pe[t][e] = n), n), Cr = (e, t) => {
3521
3521
  if (t == null)
3522
3522
  return;
3523
- if (t in Ie && e in Ie[t])
3524
- return Ie[t][e];
3525
- const n = Dt(t);
3523
+ if (t in Pe && e in Pe[t])
3524
+ return Pe[t][e];
3525
+ const n = Mt(t);
3526
3526
  for (let r = 0; r < n.length; r++) {
3527
- const i = n[r], a = ha(i, e);
3528
- if (a)
3529
- return ua(e, t, a);
3527
+ const i = n[r], o = ho(i, e);
3528
+ if (o)
3529
+ return uo(e, t, o);
3530
3530
  }
3531
3531
  };
3532
- let bn;
3533
- const qe = Nt({});
3534
- function ca(e) {
3535
- return bn[e] || null;
3532
+ let yn;
3533
+ const et = Rt({});
3534
+ function co(e) {
3535
+ return yn[e] || null;
3536
3536
  }
3537
3537
  function Tr(e) {
3538
- return e in bn;
3538
+ return e in yn;
3539
3539
  }
3540
- function ha(e, t) {
3540
+ function ho(e, t) {
3541
3541
  if (!Tr(e))
3542
3542
  return null;
3543
- const n = ca(e);
3544
- return la(n, t);
3543
+ const n = co(e);
3544
+ return lo(n, t);
3545
3545
  }
3546
- function fa(e) {
3546
+ function fo(e) {
3547
3547
  if (e == null)
3548
3548
  return;
3549
- const t = Dt(e);
3549
+ const t = Mt(e);
3550
3550
  for (let n = 0; n < t.length; n++) {
3551
3551
  const r = t[n];
3552
3552
  if (Tr(r))
@@ -3554,55 +3554,55 @@ function fa(e) {
3554
3554
  }
3555
3555
  }
3556
3556
  function Br(e, ...t) {
3557
- delete Ie[e], qe.update((n) => (n[e] = mi.all([n[e] || {}, ...t]), n));
3557
+ delete Pe[e], et.update((n) => (n[e] = mi.all([n[e] || {}, ...t]), n));
3558
3558
  }
3559
3559
  Je(
3560
- [qe],
3560
+ [et],
3561
3561
  ([e]) => Object.keys(e)
3562
3562
  );
3563
- qe.subscribe((e) => bn = e);
3564
- const Tt = {};
3565
- function da(e, t) {
3566
- Tt[e].delete(t), Tt[e].size === 0 && delete Tt[e];
3563
+ et.subscribe((e) => yn = e);
3564
+ const Bt = {};
3565
+ function po(e, t) {
3566
+ Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
3567
3567
  }
3568
3568
  function Sr(e) {
3569
- return Tt[e];
3569
+ return Bt[e];
3570
3570
  }
3571
- function pa(e) {
3572
- return Dt(e).map((t) => {
3571
+ function mo(e) {
3572
+ return Mt(e).map((t) => {
3573
3573
  const n = Sr(t);
3574
3574
  return [t, n ? [...n] : []];
3575
3575
  }).filter(([, t]) => t.length > 0);
3576
3576
  }
3577
- function cn(e) {
3578
- return e == null ? !1 : Dt(e).some(
3577
+ function hn(e) {
3578
+ return e == null ? !1 : Mt(e).some(
3579
3579
  (t) => {
3580
3580
  var n;
3581
3581
  return (n = Sr(t)) == null ? void 0 : n.size;
3582
3582
  }
3583
3583
  );
3584
3584
  }
3585
- function ma(e, t) {
3585
+ function go(e, t) {
3586
3586
  return Promise.all(
3587
- t.map((r) => (da(e, r), r().then((i) => i.default || i)))
3587
+ t.map((r) => (po(e, r), r().then((i) => i.default || i)))
3588
3588
  ).then((r) => Br(e, ...r));
3589
3589
  }
3590
- const ot = {};
3590
+ const st = {};
3591
3591
  function Hr(e) {
3592
- if (!cn(e))
3593
- return e in ot ? ot[e] : Promise.resolve();
3594
- const t = pa(e);
3595
- return ot[e] = Promise.all(
3592
+ if (!hn(e))
3593
+ return e in st ? st[e] : Promise.resolve();
3594
+ const t = mo(e);
3595
+ return st[e] = Promise.all(
3596
3596
  t.map(
3597
- ([n, r]) => ma(n, r)
3597
+ ([n, r]) => go(n, r)
3598
3598
  )
3599
3599
  ).then(() => {
3600
- if (cn(e))
3600
+ if (hn(e))
3601
3601
  return Hr(e);
3602
- delete ot[e];
3603
- }), ot[e];
3602
+ delete st[e];
3603
+ }), st[e];
3604
3604
  }
3605
- const ga = {
3605
+ const bo = {
3606
3606
  number: {
3607
3607
  scientific: { notation: "scientific" },
3608
3608
  engineering: { notation: "engineering" },
@@ -3631,150 +3631,150 @@ const ga = {
3631
3631
  timeZoneName: "short"
3632
3632
  }
3633
3633
  }
3634
- }, ba = {
3634
+ }, yo = {
3635
3635
  fallbackLocale: null,
3636
3636
  loadingDelay: 200,
3637
- formats: ga,
3637
+ formats: bo,
3638
3638
  warnOnMissingMessages: !0,
3639
3639
  handleMissingMessage: void 0,
3640
3640
  ignoreTag: !0
3641
- }, ya = ba;
3641
+ }, vo = yo;
3642
3642
  function Ye() {
3643
- return ya;
3643
+ return vo;
3644
3644
  }
3645
- const Kt = Nt(!1);
3646
- var va = Object.defineProperty, Ea = Object.defineProperties, _a = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, xa = Object.prototype.hasOwnProperty, wa = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? va(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Aa = (e, t) => {
3645
+ const Qt = Rt(!1);
3646
+ var Eo = Object.defineProperty, _o = Object.defineProperties, xo = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, wo = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Co = (e, t) => {
3647
3647
  for (var n in t || (t = {}))
3648
- xa.call(t, n) && kn(e, n, t[n]);
3648
+ wo.call(t, n) && kn(e, n, t[n]);
3649
3649
  if (Mn)
3650
3650
  for (var n of Mn(t))
3651
- wa.call(t, n) && kn(e, n, t[n]);
3651
+ Ao.call(t, n) && kn(e, n, t[n]);
3652
3652
  return e;
3653
- }, Ca = (e, t) => Ea(e, _a(t));
3654
- let hn;
3655
- const Pt = Nt(null);
3653
+ }, To = (e, t) => _o(e, xo(t));
3654
+ let fn;
3655
+ const Pt = Rt(null);
3656
3656
  function Un(e) {
3657
3657
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3658
3658
  }
3659
- function Dt(e, t = Ye().fallbackLocale) {
3659
+ function Mt(e, t = Ye().fallbackLocale) {
3660
3660
  const n = Un(e);
3661
3661
  return t ? [.../* @__PURE__ */ new Set([...n, ...Un(t)])] : n;
3662
3662
  }
3663
3663
  function De() {
3664
- return hn != null ? hn : void 0;
3664
+ return fn != null ? fn : void 0;
3665
3665
  }
3666
3666
  Pt.subscribe((e) => {
3667
- hn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3667
+ fn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3668
3668
  });
3669
- const Ta = (e) => {
3670
- if (e && fa(e) && cn(e)) {
3669
+ const Bo = (e) => {
3670
+ if (e && fo(e) && hn(e)) {
3671
3671
  const { loadingDelay: t } = Ye();
3672
3672
  let n;
3673
3673
  return typeof window != "undefined" && De() != null && t ? n = window.setTimeout(
3674
- () => Kt.set(!0),
3674
+ () => Qt.set(!0),
3675
3675
  t
3676
- ) : Kt.set(!0), Hr(e).then(() => {
3676
+ ) : Qt.set(!0), Hr(e).then(() => {
3677
3677
  Pt.set(e);
3678
3678
  }).finally(() => {
3679
- clearTimeout(n), Kt.set(!1);
3679
+ clearTimeout(n), Qt.set(!1);
3680
3680
  });
3681
3681
  }
3682
3682
  return Pt.set(e);
3683
- }, Le = Ca(Aa({}, Pt), {
3684
- set: Ta
3685
- }), Mt = (e) => {
3683
+ }, Le = To(Co({}, Pt), {
3684
+ set: Bo
3685
+ }), kt = (e) => {
3686
3686
  const t = /* @__PURE__ */ Object.create(null);
3687
3687
  return (r) => {
3688
3688
  const i = JSON.stringify(r);
3689
3689
  return i in t ? t[i] : t[i] = e(r);
3690
3690
  };
3691
3691
  };
3692
- var Ba = Object.defineProperty, It = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? Ba(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yn = (e, t) => {
3692
+ var So = Object.defineProperty, Lt = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, vn = (e, t) => {
3693
3693
  for (var n in t || (t = {}))
3694
- Pr.call(t, n) && Vn(e, n, t[n]);
3695
- if (It)
3696
- for (var n of It(t))
3697
- Ir.call(t, n) && Vn(e, n, t[n]);
3694
+ Ir.call(t, n) && Vn(e, n, t[n]);
3695
+ if (Lt)
3696
+ for (var n of Lt(t))
3697
+ Pr.call(t, n) && Vn(e, n, t[n]);
3698
3698
  return e;
3699
- }, et = (e, t) => {
3699
+ }, tt = (e, t) => {
3700
3700
  var n = {};
3701
3701
  for (var r in e)
3702
- Pr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3703
- if (e != null && It)
3704
- for (var r of It(e))
3705
- t.indexOf(r) < 0 && Ir.call(e, r) && (n[r] = e[r]);
3702
+ Ir.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3703
+ if (e != null && Lt)
3704
+ for (var r of Lt(e))
3705
+ t.indexOf(r) < 0 && Pr.call(e, r) && (n[r] = e[r]);
3706
3706
  return n;
3707
3707
  };
3708
- const ht = (e, t) => {
3708
+ const ft = (e, t) => {
3709
3709
  const { formats: n } = Ye();
3710
3710
  if (e in n && t in n[e])
3711
3711
  return n[e][t];
3712
3712
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3713
- }, Sa = Mt(
3713
+ }, Ho = kt(
3714
3714
  (e) => {
3715
- var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
3715
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3716
3716
  if (n == null)
3717
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3718
- return r && (i = ht("number", r)), new Intl.NumberFormat(n, i);
3718
+ return r && (i = ft("number", r)), new Intl.NumberFormat(n, i);
3719
3719
  }
3720
- ), Ha = Mt(
3720
+ ), Io = kt(
3721
3721
  (e) => {
3722
- var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
3722
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3723
3723
  if (n == null)
3724
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3725
- return r ? i = ht("date", r) : Object.keys(i).length === 0 && (i = ht("date", "short")), new Intl.DateTimeFormat(n, i);
3725
+ return r ? i = ft("date", r) : Object.keys(i).length === 0 && (i = ft("date", "short")), new Intl.DateTimeFormat(n, i);
3726
3726
  }
3727
- ), Pa = Mt(
3727
+ ), Po = kt(
3728
3728
  (e) => {
3729
- var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
3729
+ var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
3730
3730
  if (n == null)
3731
3731
  throw new Error(
3732
3732
  '[svelte-i18n] A "locale" must be set to format time values'
3733
3733
  );
3734
- return r ? i = ht("time", r) : Object.keys(i).length === 0 && (i = ht("time", "short")), new Intl.DateTimeFormat(n, i);
3734
+ return r ? i = ft("time", r) : Object.keys(i).length === 0 && (i = ft("time", "short")), new Intl.DateTimeFormat(n, i);
3735
3735
  }
3736
- ), Ia = (e = {}) => {
3736
+ ), Lo = (e = {}) => {
3737
3737
  var t = e, {
3738
3738
  locale: n = De()
3739
- } = t, r = et(t, [
3739
+ } = t, r = tt(t, [
3740
3740
  "locale"
3741
3741
  ]);
3742
- return Sa(yn({ locale: n }, r));
3743
- }, La = (e = {}) => {
3742
+ return Ho(vn({ locale: n }, r));
3743
+ }, No = (e = {}) => {
3744
3744
  var t = e, {
3745
3745
  locale: n = De()
3746
- } = t, r = et(t, [
3746
+ } = t, r = tt(t, [
3747
3747
  "locale"
3748
3748
  ]);
3749
- return Ha(yn({ locale: n }, r));
3750
- }, Na = (e = {}) => {
3749
+ return Io(vn({ locale: n }, r));
3750
+ }, Ro = (e = {}) => {
3751
3751
  var t = e, {
3752
3752
  locale: n = De()
3753
- } = t, r = et(t, [
3753
+ } = t, r = tt(t, [
3754
3754
  "locale"
3755
3755
  ]);
3756
- return Pa(yn({ locale: n }, r));
3757
- }, Ra = Mt(
3756
+ return Po(vn({ locale: n }, r));
3757
+ }, Oo = kt(
3758
3758
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3759
- (e, t = De()) => new sa(e, t, Ye().formats, {
3759
+ (e, t = De()) => new so(e, t, Ye().formats, {
3760
3760
  ignoreTag: Ye().ignoreTag
3761
3761
  })
3762
- ), Oa = (e, t = {}) => {
3763
- var n, r, i, a;
3764
- let o = t;
3765
- typeof e == "object" && (o = e, e = o.id);
3762
+ ), Do = (e, t = {}) => {
3763
+ var n, r, i, o;
3764
+ let a = t;
3765
+ typeof e == "object" && (a = e, e = a.id);
3766
3766
  const {
3767
3767
  values: s,
3768
3768
  locale: l = De(),
3769
3769
  default: u
3770
- } = o;
3770
+ } = a;
3771
3771
  if (l == null)
3772
3772
  throw new Error(
3773
3773
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3774
3774
  );
3775
3775
  let c = Cr(e, l);
3776
3776
  if (!c)
3777
- c = (a = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3777
+ c = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3778
3778
  else if (typeof c != "string")
3779
3779
  return console.warn(
3780
3780
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3783,7 +3783,7 @@ const ht = (e, t) => {
3783
3783
  return c;
3784
3784
  let f = c;
3785
3785
  try {
3786
- f = Ra(c, l).format(s);
3786
+ f = Oo(c, l).format(s);
3787
3787
  } catch (h) {
3788
3788
  h instanceof Error && console.warn(
3789
3789
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3791,23 +3791,23 @@ const ht = (e, t) => {
3791
3791
  );
3792
3792
  }
3793
3793
  return f;
3794
- }, Da = (e, t) => Na(t).format(e), Ma = (e, t) => La(t).format(e), ka = (e, t) => Ia(t).format(e), Ua = (e, t = De()) => Cr(e, t), Va = Je([Le, qe], () => Oa);
3795
- Je([Le], () => Da);
3796
- Je([Le], () => Ma);
3797
- Je([Le], () => ka);
3798
- Je([Le, qe], () => Ua);
3799
- function Fa({ withLocale: e, translations: t }) {
3794
+ }, Mo = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Uo = (e, t) => Lo(t).format(e), Vo = (e, t = De()) => Cr(e, t), Fo = Je([Le, et], () => Do);
3795
+ Je([Le], () => Mo);
3796
+ Je([Le], () => ko);
3797
+ Je([Le], () => Uo);
3798
+ Je([Le, et], () => Vo);
3799
+ function Go({ withLocale: e, translations: t }) {
3800
3800
  Le.subscribe((n) => {
3801
- n == null && (qe.set(t), Le.set(e));
3801
+ n == null && (et.set(t), Le.set(e));
3802
3802
  });
3803
3803
  }
3804
3804
  function Fn(e, t) {
3805
3805
  Br(e, t);
3806
3806
  }
3807
- function Ga(e) {
3807
+ function $o(e) {
3808
3808
  Le.set(e);
3809
3809
  }
3810
- const k = kr(Va), Gn = {
3810
+ const k = kr(Fo), Gn = {
3811
3811
  en: {
3812
3812
  vaultExchange: "Vault Exchange",
3813
3813
  debitPlaceHolder: "Debit amount",
@@ -3916,7 +3916,7 @@ const k = kr(Va), Gn = {
3916
3916
  10114: "Kullanıcı hesabı aktif değil.",
3917
3917
  10115: "İşlem niyeti bulunamadı."
3918
3918
  }
3919
- }, $a = {
3919
+ }, jo = {
3920
3920
  "1INCH": "",
3921
3921
  AAVE: "",
3922
3922
  ADA: "₳",
@@ -3993,7 +3993,7 @@ const k = kr(Va), Gn = {
3993
3993
  DASH: "Đ",
3994
3994
  DCR: "",
3995
3995
  DJF: "",
3996
- DKK: "kr",
3996
+ DKK: "KR",
3997
3997
  DOGE: "Ð",
3998
3998
  DOP: "RD$",
3999
3999
  DOT: "●",
@@ -4043,7 +4043,7 @@ const k = kr(Va), Gn = {
4043
4043
  IOTX: "",
4044
4044
  IQD: "د.ع",
4045
4045
  IRR: "﷼",
4046
- ISK: "kr",
4046
+ ISK: "KR",
4047
4047
  JMD: "J$",
4048
4048
  JOD: "د.ا",
4049
4049
  JPY: "¥",
@@ -4098,7 +4098,7 @@ const k = kr(Va), Gn = {
4098
4098
  NEXO: "",
4099
4099
  NGN: "₦",
4100
4100
  NIO: "C$",
4101
- NOK: "kr",
4101
+ NOK: "KR",
4102
4102
  NPR: "₨",
4103
4103
  NZD: "$",
4104
4104
  OKB: "",
@@ -4115,7 +4115,7 @@ const k = kr(Va), Gn = {
4115
4115
  QAR: "﷼",
4116
4116
  QNT: "",
4117
4117
  QTUM: "",
4118
- RON: "lei",
4118
+ RON: "LEI",
4119
4119
  ROSE: "",
4120
4120
  RSD: "Дин.",
4121
4121
  RUB: "₽",
@@ -4128,7 +4128,7 @@ const k = kr(Va), Gn = {
4128
4128
  SCC: "",
4129
4129
  SCR: "₨",
4130
4130
  SDG: "د.س",
4131
- SEK: "kr",
4131
+ SEK: "KR",
4132
4132
  SGD: "$",
4133
4133
  SHIB: "",
4134
4134
  SHP: "£",
@@ -4192,9 +4192,9 @@ const k = kr(Va), Gn = {
4192
4192
  ZMK: "",
4193
4193
  ZMW: "",
4194
4194
  ZWD: "Z$"
4195
- }, ja = 6e3, Xa = {
4195
+ }, Xo = 6e3, Wo = {
4196
4196
  InvalidSession: "Invalid session"
4197
- }, Q = {
4197
+ }, q = {
4198
4198
  BalanceError: "BalanceError",
4199
4199
  CheckWalletExchangeError: "CheckWalletExchangeError",
4200
4200
  WalletExchangeError: "WalletExchangeError",
@@ -4212,18 +4212,18 @@ const k = kr(Va), Gn = {
4212
4212
  }, He = {
4213
4213
  success: "success",
4214
4214
  error: "error"
4215
- }, Jt = String(Number.MAX_SAFE_INTEGER).length + 1, xt = {
4215
+ }, Jt = String(Number.MAX_SAFE_INTEGER).length + 1, wt = {
4216
4216
  ArrowDown: "ArrowDown",
4217
4217
  ArrowUp: "ArrowUp",
4218
4218
  Enter: "Enter",
4219
4219
  Escape: "Escape"
4220
- }, Pe = {
4220
+ }, Ie = {
4221
4221
  true: "true"
4222
4222
  }, Xn = {
4223
4223
  Fiat: "Fiat",
4224
4224
  CryptoCurrency: "CryptoCurrency"
4225
4225
  };
4226
- function Wa(e, t) {
4226
+ function zo(e, t) {
4227
4227
  let n;
4228
4228
  return function(...r) {
4229
4229
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4238,7 +4238,7 @@ const Wn = (e, t = null, n = 2) => {
4238
4238
  return console.warn("Failed to stringify:", r), null;
4239
4239
  }
4240
4240
  };
4241
- function za(e) {
4241
+ function Zo(e) {
4242
4242
  const t = (n) => {
4243
4243
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4244
4244
  };
@@ -4248,8 +4248,8 @@ function za(e) {
4248
4248
  }
4249
4249
  };
4250
4250
  }
4251
- function Za(e) {
4252
- dn(e, "svelte-ieaeyb", ".selectWrapper.svelte-ieaeyb.svelte-ieaeyb{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-ieaeyb.svelte-ieaeyb{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}.label.svelte-ieaeyb.svelte-ieaeyb{display:flex;align-items:center}.selectDropdown.svelte-ieaeyb.svelte-ieaeyb{position:absolute;top:calc(100% + 2px);left:0;right:0;display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin;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-ieaeyb li.svelte-ieaeyb{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-ieaeyb li.svelte-ieaeyb:hover,.selectDropdown.svelte-ieaeyb li.active.svelte-ieaeyb{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-ieaeyb.svelte-ieaeyb{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)}");
4251
+ function qo(e) {
4252
+ dn(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)}");
4253
4253
  }
4254
4254
  function zn(e, t, n) {
4255
4255
  const r = e.slice();
@@ -4263,61 +4263,61 @@ function Zn(e) {
4263
4263
  ), r;
4264
4264
  return {
4265
4265
  c() {
4266
- t = A("span"), r = Z(n), b(t, "class", "symbol svelte-ieaeyb");
4266
+ t = A("span"), r = Z(n), b(t, "class", "symbol svelte-1g9pqha");
4267
4267
  },
4268
- m(a, o) {
4269
- H(a, t, o), v(t, r);
4268
+ m(o, a) {
4269
+ H(o, t, a), v(t, r);
4270
4270
  },
4271
- p(a, o) {
4271
+ p(o, a) {
4272
4272
  var s;
4273
- o & /*selected*/
4273
+ a & /*selected*/
4274
4274
  1 && n !== (n = /*selected*/
4275
- (((s = a[0]) == null ? void 0 : s.symbol) || "") + "") && re(r, n);
4275
+ (((s = o[0]) == null ? void 0 : s.symbol) || "") + "") && re(r, n);
4276
4276
  },
4277
- d(a) {
4278
- a && S(t);
4277
+ d(o) {
4278
+ o && S(t);
4279
4279
  }
4280
4280
  };
4281
4281
  }
4282
- function Qn(e) {
4283
- let t, n = St(
4282
+ function qn(e) {
4283
+ let t, n, r = Ht(
4284
4284
  /*options*/
4285
4285
  e[1]
4286
- ), r = [];
4287
- for (let i = 0; i < n.length; i += 1)
4288
- r[i] = Kn(zn(e, n, i));
4286
+ ), i = [];
4287
+ for (let o = 0; o < r.length; o += 1)
4288
+ i[o] = Kn(zn(e, r, o));
4289
4289
  return {
4290
4290
  c() {
4291
- t = A("ul");
4292
- for (let i = 0; i < r.length; i += 1)
4293
- r[i].c();
4294
- b(t, "class", "selectDropdown svelte-ieaeyb");
4291
+ t = A("div"), n = A("ul");
4292
+ for (let o = 0; o < i.length; o += 1)
4293
+ i[o].c();
4294
+ b(n, "class", "selectDropdown svelte-1g9pqha"), b(t, "class", "selectDropdownWrapper svelte-1g9pqha");
4295
4295
  },
4296
- m(i, a) {
4297
- H(i, t, a);
4298
- for (let o = 0; o < r.length; o += 1)
4299
- r[o] && r[o].m(t, null);
4300
- e[14](t);
4296
+ m(o, a) {
4297
+ H(o, t, a), v(t, n);
4298
+ for (let s = 0; s < i.length; s += 1)
4299
+ i[s] && i[s].m(n, null);
4300
+ e[14](n);
4301
4301
  },
4302
- p(i, a) {
4302
+ p(o, a) {
4303
4303
  if (a & /*options, selected, activeIndex, handleChange*/
4304
4304
  547) {
4305
- n = St(
4305
+ r = Ht(
4306
4306
  /*options*/
4307
- i[1]
4307
+ o[1]
4308
4308
  );
4309
- let o;
4310
- for (o = 0; o < n.length; o += 1) {
4311
- const s = zn(i, n, o);
4312
- r[o] ? r[o].p(s, a) : (r[o] = Kn(s), r[o].c(), r[o].m(t, null));
4309
+ let s;
4310
+ for (s = 0; s < r.length; s += 1) {
4311
+ const l = zn(o, r, s);
4312
+ i[s] ? i[s].p(l, a) : (i[s] = Kn(l), i[s].c(), i[s].m(n, null));
4313
4313
  }
4314
- for (; o < r.length; o += 1)
4315
- r[o].d(1);
4316
- r.length = n.length;
4314
+ for (; s < i.length; s += 1)
4315
+ i[s].d(1);
4316
+ i.length = r.length;
4317
4317
  }
4318
4318
  },
4319
- d(i) {
4320
- i && S(t), ir(r, i), e[14](null);
4319
+ d(o) {
4320
+ o && S(t), ir(i, o), e[14](null);
4321
4321
  }
4322
4322
  };
4323
4323
  }
@@ -4326,18 +4326,18 @@ function Kn(e) {
4326
4326
  let t, n, r = (
4327
4327
  /*option*/
4328
4328
  ((h = e[16]) == null ? void 0 : h.symbol) + ""
4329
- ), i, a, o = (
4329
+ ), i, o, a = (
4330
4330
  /*option*/
4331
4331
  ((m = e[16]) == null ? void 0 : m.currency) + ""
4332
4332
  ), s, l, u, c, f;
4333
4333
  return {
4334
4334
  c() {
4335
- var _, p, E, C;
4336
- t = A("li"), n = A("span"), i = Z(r), a = O(), s = Z(o), l = O(), b(n, "class", "symbol svelte-ieaeyb"), b(t, "role", "option"), b(t, "aria-selected", u = /*option*/
4335
+ var _, d, E, C;
4336
+ t = A("li"), n = A("span"), i = Z(r), o = O(), s = Z(a), l = O(), b(n, "class", "symbol svelte-1g9pqha"), b(t, "role", "option"), b(t, "aria-selected", u = /*option*/
4337
4337
  ((_ = e[16]) == null ? void 0 : _.currency) === /*selected*/
4338
- ((p = e[0]) == null ? void 0 : p.currency) || /*index*/
4338
+ ((d = e[0]) == null ? void 0 : d.currency) || /*index*/
4339
4339
  e[18] === /*activeIndex*/
4340
- e[5]), b(t, "class", "svelte-ieaeyb"), ue(
4340
+ e[5]), b(t, "class", "svelte-1g9pqha"), ue(
4341
4341
  t,
4342
4342
  "active",
4343
4343
  /*option*/
@@ -4347,11 +4347,11 @@ function Kn(e) {
4347
4347
  e[5]
4348
4348
  );
4349
4349
  },
4350
- m(_, p) {
4351
- H(_, t, p), v(t, n), v(n, i), v(t, a), v(t, s), v(t, l), c || (f = [
4352
- ne(t, "keydown", Ka),
4350
+ m(_, d) {
4351
+ H(_, t, d), v(t, n), v(n, i), v(t, o), v(t, s), v(t, l), c || (f = [
4352
+ ne(t, "keydown", Qo),
4353
4353
  ne(t, "click", function() {
4354
- ft(
4354
+ pt(
4355
4355
  /*handleChange*/
4356
4356
  e[9](
4357
4357
  /*option*/
@@ -4368,18 +4368,18 @@ function Kn(e) {
4368
4368
  })
4369
4369
  ], c = !0);
4370
4370
  },
4371
- p(_, p) {
4371
+ p(_, d) {
4372
4372
  var E, C, R, y, D, M;
4373
- e = _, p & /*options*/
4373
+ e = _, d & /*options*/
4374
4374
  2 && r !== (r = /*option*/
4375
- ((E = e[16]) == null ? void 0 : E.symbol) + "") && re(i, r), p & /*options*/
4376
- 2 && o !== (o = /*option*/
4377
- ((C = e[16]) == null ? void 0 : C.currency) + "") && re(s, o), p & /*options, selected, activeIndex*/
4375
+ ((E = e[16]) == null ? void 0 : E.symbol) + "") && re(i, r), d & /*options*/
4376
+ 2 && a !== (a = /*option*/
4377
+ ((C = e[16]) == null ? void 0 : C.currency) + "") && re(s, a), d & /*options, selected, activeIndex*/
4378
4378
  35 && u !== (u = /*option*/
4379
4379
  ((R = e[16]) == null ? void 0 : R.currency) === /*selected*/
4380
4380
  ((y = e[0]) == null ? void 0 : y.currency) || /*index*/
4381
4381
  e[18] === /*activeIndex*/
4382
- e[5]) && b(t, "aria-selected", u), p & /*options, selected, activeIndex*/
4382
+ e[5]) && b(t, "aria-selected", u), d & /*options, selected, activeIndex*/
4383
4383
  35 && ue(
4384
4384
  t,
4385
4385
  "active",
@@ -4395,37 +4395,37 @@ function Kn(e) {
4395
4395
  }
4396
4396
  };
4397
4397
  }
4398
- function Qa(e) {
4399
- var _, p;
4400
- let t, n, r, i, a = (
4398
+ function Ko(e) {
4399
+ var _, d;
4400
+ let t, n, r, i, o = (
4401
4401
  /*selected*/
4402
4402
  (((_ = e[0]) == null ? void 0 : _.currency) || /*placeholder*/
4403
4403
  e[2]) + ""
4404
- ), o, s, l, u, c, f, h = (
4404
+ ), a, s, l, u, c, f, h = (
4405
4405
  /*selected*/
4406
- ((p = e[0]) == null ? void 0 : p.symbol) && /*withSymbol*/
4407
- e[3] === Pe.true && Zn(e)
4406
+ ((d = e[0]) == null ? void 0 : d.symbol) && /*withSymbol*/
4407
+ e[3] === Ie.true && Zn(e)
4408
4408
  ), m = (
4409
4409
  /*open*/
4410
- e[7] && Qn(e)
4410
+ e[7] && qn(e)
4411
4411
  );
4412
4412
  return {
4413
4413
  c() {
4414
- t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), o = Z(a), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = O(), m && m.c(), b(r, "class", "label svelte-ieaeyb"), b(l, "class", "arrow"), ue(
4414
+ t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), a = Z(o), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = O(), m && m.c(), b(r, "class", "label svelte-1g9pqha"), b(l, "class", "arrow"), ue(
4415
4415
  l,
4416
4416
  "open",
4417
4417
  /*open*/
4418
4418
  e[7]
4419
- ), b(n, "class", "selectButton svelte-ieaeyb"), b(n, "aria-haspopup", "listbox"), b(
4419
+ ), b(n, "class", "selectButton svelte-1g9pqha"), b(n, "aria-haspopup", "listbox"), b(
4420
4420
  n,
4421
4421
  "aria-expanded",
4422
4422
  /*open*/
4423
4423
  e[7]
4424
4424
  ), b(n, "aria-controls", "custom-select"), b(n, "tabindex", "0"), n.disabled = /*disabled*/
4425
- e[4], b(t, "class", "selectWrapper svelte-ieaeyb");
4425
+ e[4], b(t, "class", "selectWrapper svelte-1g9pqha");
4426
4426
  },
4427
4427
  m(E, C) {
4428
- H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, o), v(n, s), v(n, l), v(t, u), m && m.m(t, null), c || (f = [
4428
+ H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, a), v(n, s), v(n, l), v(t, u), m && m.m(t, null), c || (f = [
4429
4429
  ne(
4430
4430
  n,
4431
4431
  "keydown",
@@ -4436,7 +4436,7 @@ function Qa(e) {
4436
4436
  /*handleToggleDropdown*/
4437
4437
  e[8]
4438
4438
  )),
4439
- Ur(za.call(null, t)),
4439
+ Ur(Zo.call(null, t)),
4440
4440
  ne(
4441
4441
  t,
4442
4442
  "outclick",
@@ -4449,10 +4449,10 @@ function Qa(e) {
4449
4449
  var R, y;
4450
4450
  /*selected*/
4451
4451
  (R = E[0]) != null && R.symbol && /*withSymbol*/
4452
- E[3] === Pe.true ? h ? h.p(E, C) : (h = Zn(E), h.c(), h.m(r, i)) : h && (h.d(1), h = null), C & /*selected, placeholder*/
4453
- 5 && a !== (a = /*selected*/
4452
+ E[3] === Ie.true ? h ? h.p(E, C) : (h = Zn(E), h.c(), h.m(r, i)) : h && (h.d(1), h = null), C & /*selected, placeholder*/
4453
+ 5 && o !== (o = /*selected*/
4454
4454
  (((y = E[0]) == null ? void 0 : y.currency) || /*placeholder*/
4455
- E[2]) + "") && re(o, a), C & /*open*/
4455
+ E[2]) + "") && re(a, o), C & /*open*/
4456
4456
  128 && ue(
4457
4457
  l,
4458
4458
  "open",
@@ -4467,7 +4467,7 @@ function Qa(e) {
4467
4467
  ), C & /*disabled*/
4468
4468
  16 && (n.disabled = /*disabled*/
4469
4469
  E[4]), /*open*/
4470
- E[7] ? m ? m.p(E, C) : (m = Qn(E), m.c(), m.m(t, null)) : m && (m.d(1), m = null);
4470
+ E[7] ? m ? m.p(E, C) : (m = qn(E), m.c(), m.m(t, null)) : m && (m.d(1), m = null);
4471
4471
  },
4472
4472
  i: L,
4473
4473
  o: L,
@@ -4476,44 +4476,44 @@ function Qa(e) {
4476
4476
  }
4477
4477
  };
4478
4478
  }
4479
- const Ka = (e) => e.preventDefault();
4480
- function Ya(e, t, n) {
4481
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: a = k("select") } = t, { withSymbol: o = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4479
+ const Qo = (e) => e.preventDefault();
4480
+ function Yo(e, t, n) {
4481
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { withSymbol: a = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4482
4482
  } } = t, c = -1, f, h = !1;
4483
4483
  const m = () => {
4484
4484
  r.length !== 0 && (n(7, h = !h), h && (n(5, c = r.findIndex((y) => (y == null ? void 0 : y.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4485
4485
  }, _ = (y) => {
4486
4486
  y.detail !== s && h && n(7, h = !1);
4487
- }, p = (y, D) => () => {
4487
+ }, d = (y, D) => () => {
4488
4488
  n(7, h = !1), n(0, i = y), u && typeof u == "function" && u(y, D);
4489
4489
  }, E = () => {
4490
4490
  n(7, h = !1);
4491
4491
  }, C = (y) => {
4492
- h && (y.key === xt.ArrowDown ? (y.preventDefault(), n(5, c = (c + 1) % r.length)) : y.key === xt.ArrowUp ? (y.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : y.key === xt.Enter ? (y.preventDefault(), p(i, c)()) : y.key === xt.Escape && n(7, h = !1));
4492
+ h && (y.key === wt.ArrowDown ? (y.preventDefault(), n(5, c = (c + 1) % r.length)) : y.key === wt.ArrowUp ? (y.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : y.key === wt.Enter ? (y.preventDefault(), d(i, c)()) : y.key === wt.Escape && n(7, h = !1));
4493
4493
  };
4494
- or(() => {
4494
+ ar(() => {
4495
4495
  window.addEventListener("dropdown-opened", _);
4496
4496
  }), Wr(() => {
4497
4497
  window.removeEventListener("dropdown-opened", _);
4498
4498
  });
4499
4499
  function R(y) {
4500
- Xe[y ? "unshift" : "push"](() => {
4500
+ We[y ? "unshift" : "push"](() => {
4501
4501
  f = y, n(6, f);
4502
4502
  });
4503
4503
  }
4504
4504
  return e.$$set = (y) => {
4505
- "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, a = y.placeholder), "withSymbol" in y && n(3, o = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, u = y.onChange);
4505
+ "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, o = y.placeholder), "withSymbol" in y && n(3, a = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, u = y.onChange);
4506
4506
  }, [
4507
4507
  i,
4508
4508
  r,
4509
- a,
4510
4509
  o,
4510
+ a,
4511
4511
  l,
4512
4512
  c,
4513
4513
  f,
4514
4514
  h,
4515
4515
  m,
4516
- p,
4516
+ d,
4517
4517
  E,
4518
4518
  C,
4519
4519
  s,
@@ -4521,14 +4521,14 @@ function Ya(e, t, n) {
4521
4521
  R
4522
4522
  ];
4523
4523
  }
4524
- class fn extends gn {
4524
+ class pn extends bn {
4525
4525
  constructor(t) {
4526
- super(), pn(
4526
+ super(), mn(
4527
4527
  this,
4528
4528
  t,
4529
- Ya,
4530
- Qa,
4531
- Lt,
4529
+ Yo,
4530
+ Ko,
4531
+ Nt,
4532
4532
  {
4533
4533
  options: 1,
4534
4534
  selected: 0,
@@ -4538,7 +4538,7 @@ class fn extends gn {
4538
4538
  disabled: 4,
4539
4539
  onChange: 13
4540
4540
  },
4541
- Za
4541
+ qo
4542
4542
  );
4543
4543
  }
4544
4544
  get options() {
@@ -4584,48 +4584,48 @@ class fn extends gn {
4584
4584
  this.$$set({ onChange: t }), G();
4585
4585
  }
4586
4586
  }
4587
- mn(fn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4588
- function Ja(e) {
4587
+ gn(pn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4588
+ function Jo(e) {
4589
4589
  dn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4590
4590
  }
4591
- function qa(e) {
4591
+ function ea(e) {
4592
4592
  let t, n, r = k("balanceUnavailable") + "", i;
4593
4593
  return {
4594
4594
  c() {
4595
4595
  t = A("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = O(), i = Z(r), b(t, "class", "warningIcon svelte-2fhtvy");
4596
4596
  },
4597
- m(a, o) {
4598
- H(a, t, o), H(a, n, o), H(a, i, o);
4597
+ m(o, a) {
4598
+ H(o, t, a), H(o, n, a), H(o, i, a);
4599
4599
  },
4600
4600
  p: L,
4601
4601
  i: L,
4602
4602
  o: L,
4603
- d(a) {
4604
- a && (S(t), S(n), S(i));
4603
+ d(o) {
4604
+ o && (S(t), S(n), S(i));
4605
4605
  }
4606
4606
  };
4607
4607
  }
4608
- class kt extends gn {
4608
+ class Ut extends bn {
4609
4609
  constructor(t) {
4610
- super(), pn(this, t, null, qa, Lt, {}, Ja);
4610
+ super(), mn(this, t, null, ea, Nt, {}, Jo);
4611
4611
  }
4612
4612
  }
4613
- mn(kt, {}, [], [], !0);
4614
- function eo(e) {
4615
- dn(e, "svelte-rr3qrx", '@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--font-size-small, 12px);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}');
4613
+ gn(Ut, {}, [], [], !0);
4614
+ function ta(e) {
4615
+ dn(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}');
4616
4616
  }
4617
- function Yn(e, t, n) {
4617
+ function Qn(e, t, n) {
4618
4618
  const r = e.slice();
4619
4619
  return r[62] = t[n], r;
4620
4620
  }
4621
- function Jn(e) {
4621
+ function Yn(e) {
4622
4622
  let t, n, r;
4623
4623
  return {
4624
4624
  c() {
4625
4625
  t = A("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.414 12l4.95-4.95-1.414-1.414-4.95 4.95-4.95-4.95L5.636 7.05l4.95 4.95-4.95 4.95 1.414 1.414 4.95-4.95 4.95 4.95 1.414-1.414-4.95-4.95z"></path></svg>', b(t, "type", "button"), b(t, "class", "closeButton");
4626
4626
  },
4627
- m(i, a) {
4628
- H(i, t, a), n || (r = ne(
4627
+ m(i, o) {
4628
+ H(i, t, o), n || (r = ne(
4629
4629
  t,
4630
4630
  "click",
4631
4631
  /*handleCloseWidget*/
@@ -4638,26 +4638,26 @@ function Jn(e) {
4638
4638
  }
4639
4639
  };
4640
4640
  }
4641
- function qn(e) {
4641
+ function Jn(e) {
4642
4642
  let t, n, r, i;
4643
- const a = [no, to], o = [];
4643
+ const o = [ra, na], a = [];
4644
4644
  function s(l, u) {
4645
4645
  return !/*isBalanceFetched*/
4646
4646
  l[16] || !/*isCurrenciesFetched*/
4647
4647
  l[17] ? 0 : 1;
4648
4648
  }
4649
- return t = s(e), n = o[t] = a[t](e), {
4649
+ return t = s(e), n = a[t] = o[t](e), {
4650
4650
  c() {
4651
4651
  n.c(), r = Gr();
4652
4652
  },
4653
4653
  m(l, u) {
4654
- o[t].m(l, u), H(l, r, u), i = !0;
4654
+ a[t].m(l, u), H(l, r, u), i = !0;
4655
4655
  },
4656
4656
  p(l, u) {
4657
4657
  let c = t;
4658
- t = s(l), t === c ? o[t].p(l, u) : (Re(), z(o[c], 1, 1, () => {
4659
- o[c] = null;
4660
- }), Oe(), n = o[t], n ? n.p(l, u) : (n = o[t] = a[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4658
+ t = s(l), t === c ? a[t].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4659
+ a[c] = null;
4660
+ }), Oe(), n = a[t], n ? n.p(l, u) : (n = a[t] = o[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4661
4661
  },
4662
4662
  i(l) {
4663
4663
  i || ($(n), i = !0);
@@ -4666,32 +4666,32 @@ function qn(e) {
4666
4666
  z(n), i = !1;
4667
4667
  },
4668
4668
  d(l) {
4669
- l && S(r), o[t].d(l);
4669
+ l && S(r), a[t].d(l);
4670
4670
  }
4671
4671
  };
4672
4672
  }
4673
- function to(e) {
4673
+ function na(e) {
4674
4674
  let t, n, r, i;
4675
- const a = [io, ro], o = [];
4675
+ const o = [oa, ia], a = [];
4676
4676
  function s(l, u) {
4677
4677
  var c;
4678
4678
  return (
4679
4679
  /*fetchResponse*/
4680
- ((c = l[12]) == null ? void 0 : c.source) === Q.BalanceError ? 0 : 1
4680
+ ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4681
4681
  );
4682
4682
  }
4683
- return n = s(e), r = o[n] = a[n](e), {
4683
+ return n = s(e), r = a[n] = o[n](e), {
4684
4684
  c() {
4685
4685
  t = A("div"), r.c(), b(t, "class", "headerPlayerBalance amountContainer");
4686
4686
  },
4687
4687
  m(l, u) {
4688
- H(l, t, u), o[n].m(t, null), i = !0;
4688
+ H(l, t, u), a[n].m(t, null), i = !0;
4689
4689
  },
4690
4690
  p(l, u) {
4691
4691
  let c = n;
4692
- n = s(l), n === c ? o[n].p(l, u) : (Re(), z(o[c], 1, 1, () => {
4693
- o[c] = null;
4694
- }), Oe(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), $(r, 1), r.m(t, null));
4692
+ n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4693
+ a[c] = null;
4694
+ }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4695
4695
  },
4696
4696
  i(l) {
4697
4697
  i || ($(r), i = !0);
@@ -4700,11 +4700,11 @@ function to(e) {
4700
4700
  z(r), i = !1;
4701
4701
  },
4702
4702
  d(l) {
4703
- l && S(t), o[n].d();
4703
+ l && S(t), a[n].d();
4704
4704
  }
4705
4705
  };
4706
4706
  }
4707
- function no(e) {
4707
+ function ra(e) {
4708
4708
  let t;
4709
4709
  return {
4710
4710
  c() {
@@ -4721,45 +4721,45 @@ function no(e) {
4721
4721
  }
4722
4722
  };
4723
4723
  }
4724
- function ro(e) {
4724
+ function ia(e) {
4725
4725
  var l, u;
4726
4726
  let t, n, r = (
4727
4727
  /*playerBalance*/
4728
4728
  (((l = e[10]) == null ? void 0 : l.amount) || 0) + ""
4729
- ), i, a, o = (
4729
+ ), i, o, a = (
4730
4730
  /*playerBalance*/
4731
4731
  (((u = e[10]) == null ? void 0 : u.currency) || "") + ""
4732
4732
  ), s;
4733
4733
  return {
4734
4734
  c() {
4735
- t = A("span"), t.textContent = `${k("totalBalance")}`, n = O(), i = Z(r), a = O(), s = Z(o), b(t, "class", "totalAmount");
4735
+ t = A("span"), t.textContent = `${k("totalBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "totalAmount");
4736
4736
  },
4737
4737
  m(c, f) {
4738
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
4738
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4739
4739
  },
4740
4740
  p(c, f) {
4741
4741
  var h, m;
4742
4742
  f[0] & /*playerBalance*/
4743
4743
  1024 && r !== (r = /*playerBalance*/
4744
4744
  (((h = c[10]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*playerBalance*/
4745
- 1024 && o !== (o = /*playerBalance*/
4746
- (((m = c[10]) == null ? void 0 : m.currency) || "") + "") && re(s, o);
4745
+ 1024 && a !== (a = /*playerBalance*/
4746
+ (((m = c[10]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4747
4747
  },
4748
4748
  i: L,
4749
4749
  o: L,
4750
4750
  d(c) {
4751
- c && (S(t), S(n), S(i), S(a), S(s));
4751
+ c && (S(t), S(n), S(i), S(o), S(s));
4752
4752
  }
4753
4753
  };
4754
4754
  }
4755
- function io(e) {
4755
+ function oa(e) {
4756
4756
  let t, n;
4757
- return t = new kt({}), {
4757
+ return t = new Ut({}), {
4758
4758
  c() {
4759
- ut(t.$$.fragment);
4759
+ ct(t.$$.fragment);
4760
4760
  },
4761
4761
  m(r, i) {
4762
- We(t, r, i), n = !0;
4762
+ ze(t, r, i), n = !0;
4763
4763
  },
4764
4764
  p: L,
4765
4765
  i(r) {
@@ -4769,30 +4769,30 @@ function io(e) {
4769
4769
  z(t.$$.fragment, r), n = !1;
4770
4770
  },
4771
4771
  d(r) {
4772
- ze(t, r);
4772
+ Ze(t, r);
4773
4773
  }
4774
4774
  };
4775
4775
  }
4776
- function ao(e) {
4777
- let t, n, r, i, a, o, s, l, u;
4778
- const c = [lo, so], f = [];
4776
+ function aa(e) {
4777
+ let t, n, r, i, o, a, s, l, u;
4778
+ const c = [ua, la], f = [];
4779
4779
  function h(m, _) {
4780
- var p;
4780
+ var d;
4781
4781
  return (
4782
4782
  /*fetchResponse*/
4783
- ((p = m[12]) == null ? void 0 : p.source) === Q.BalanceError ? 0 : 1
4783
+ ((d = m[12]) == null ? void 0 : d.source) === q.BalanceError ? 0 : 1
4784
4784
  );
4785
4785
  }
4786
- return o = h(e), s = f[o] = c[o](e), {
4786
+ return a = h(e), s = f[a] = c[a](e), {
4787
4787
  c() {
4788
4788
  t = A("div"), n = A("p"), r = Z(
4789
4789
  /*validationError*/
4790
4790
  e[13]
4791
- ), i = O(), a = A("div"), s.c(), b(n, "class", "validationError"), b(a, "class", "playerBalance amountContainer"), b(t, "class", l = "balanceContainer " + /*validationError*/
4791
+ ), i = O(), o = A("div"), s.c(), b(n, "class", "validationError"), b(o, "class", "playerBalance amountContainer"), b(t, "class", l = "balanceContainer " + /*validationError*/
4792
4792
  (e[13] ? "hasError" : ""));
4793
4793
  },
4794
4794
  m(m, _) {
4795
- H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, a), f[o].m(a, null), u = !0;
4795
+ H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, o), f[a].m(o, null), u = !0;
4796
4796
  },
4797
4797
  p(m, _) {
4798
4798
  (!u || _[0] & /*validationError*/
@@ -4801,10 +4801,10 @@ function ao(e) {
4801
4801
  /*validationError*/
4802
4802
  m[13]
4803
4803
  );
4804
- let p = o;
4805
- o = h(m), o === p ? f[o].p(m, _) : (Re(), z(f[p], 1, 1, () => {
4806
- f[p] = null;
4807
- }), Oe(), s = f[o], s ? s.p(m, _) : (s = f[o] = c[o](m), s.c()), $(s, 1), s.m(a, null)), (!u || _[0] & /*validationError*/
4804
+ let d = a;
4805
+ a = h(m), a === d ? f[a].p(m, _) : (Re(), z(f[d], 1, 1, () => {
4806
+ f[d] = null;
4807
+ }), Oe(), s = f[a], s ? s.p(m, _) : (s = f[a] = c[a](m), s.c()), $(s, 1), s.m(o, null)), (!u || _[0] & /*validationError*/
4808
4808
  8192 && l !== (l = "balanceContainer " + /*validationError*/
4809
4809
  (m[13] ? "hasError" : ""))) && b(t, "class", l);
4810
4810
  },
@@ -4815,11 +4815,11 @@ function ao(e) {
4815
4815
  z(s), u = !1;
4816
4816
  },
4817
4817
  d(m) {
4818
- m && S(t), f[o].d();
4818
+ m && S(t), f[a].d();
4819
4819
  }
4820
4820
  };
4821
4821
  }
4822
- function oo(e) {
4822
+ function sa(e) {
4823
4823
  let t;
4824
4824
  return {
4825
4825
  c() {
@@ -4836,45 +4836,45 @@ function oo(e) {
4836
4836
  }
4837
4837
  };
4838
4838
  }
4839
- function so(e) {
4839
+ function la(e) {
4840
4840
  var l, u;
4841
4841
  let t, n, r = (
4842
4842
  /*selectedCurrencyFrom*/
4843
4843
  (((l = e[5]) == null ? void 0 : l.amount) || 0) + ""
4844
- ), i, a, o = (
4844
+ ), i, o, a = (
4845
4845
  /*selectedCurrencyFrom*/
4846
4846
  (((u = e[5]) == null ? void 0 : u.currency) || "") + ""
4847
4847
  ), s;
4848
4848
  return {
4849
4849
  c() {
4850
- t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), a = O(), s = Z(o), b(t, "class", "amount");
4850
+ t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4851
4851
  },
4852
4852
  m(c, f) {
4853
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
4853
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4854
4854
  },
4855
4855
  p(c, f) {
4856
4856
  var h, m;
4857
4857
  f[0] & /*selectedCurrencyFrom*/
4858
4858
  32 && r !== (r = /*selectedCurrencyFrom*/
4859
4859
  (((h = c[5]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyFrom*/
4860
- 32 && o !== (o = /*selectedCurrencyFrom*/
4861
- (((m = c[5]) == null ? void 0 : m.currency) || "") + "") && re(s, o);
4860
+ 32 && a !== (a = /*selectedCurrencyFrom*/
4861
+ (((m = c[5]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4862
4862
  },
4863
4863
  i: L,
4864
4864
  o: L,
4865
4865
  d(c) {
4866
- c && (S(t), S(n), S(i), S(a), S(s));
4866
+ c && (S(t), S(n), S(i), S(o), S(s));
4867
4867
  }
4868
4868
  };
4869
4869
  }
4870
- function lo(e) {
4870
+ function ua(e) {
4871
4871
  let t, n;
4872
- return t = new kt({}), {
4872
+ return t = new Ut({}), {
4873
4873
  c() {
4874
- ut(t.$$.fragment);
4874
+ ct(t.$$.fragment);
4875
4875
  },
4876
4876
  m(r, i) {
4877
- We(t, r, i), n = !0;
4877
+ ze(t, r, i), n = !0;
4878
4878
  },
4879
4879
  p: L,
4880
4880
  i(r) {
@@ -4884,32 +4884,32 @@ function lo(e) {
4884
4884
  z(t.$$.fragment, r), n = !1;
4885
4885
  },
4886
4886
  d(r) {
4887
- ze(t, r);
4887
+ Ze(t, r);
4888
4888
  }
4889
4889
  };
4890
4890
  }
4891
- function uo(e) {
4891
+ function ca(e) {
4892
4892
  let t, n, r, i;
4893
- const a = [fo, ho], o = [];
4893
+ const o = [pa, fa], a = [];
4894
4894
  function s(l, u) {
4895
4895
  var c;
4896
4896
  return (
4897
4897
  /*fetchResponse*/
4898
- ((c = l[12]) == null ? void 0 : c.source) === Q.BalanceError ? 0 : 1
4898
+ ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4899
4899
  );
4900
4900
  }
4901
- return n = s(e), r = o[n] = a[n](e), {
4901
+ return n = s(e), r = a[n] = o[n](e), {
4902
4902
  c() {
4903
4903
  t = A("div"), r.c(), b(t, "class", "playerBalance amountContainer");
4904
4904
  },
4905
4905
  m(l, u) {
4906
- H(l, t, u), o[n].m(t, null), i = !0;
4906
+ H(l, t, u), a[n].m(t, null), i = !0;
4907
4907
  },
4908
4908
  p(l, u) {
4909
4909
  let c = n;
4910
- n = s(l), n === c ? o[n].p(l, u) : (Re(), z(o[c], 1, 1, () => {
4911
- o[c] = null;
4912
- }), Oe(), r = o[n], r ? r.p(l, u) : (r = o[n] = a[n](l), r.c()), $(r, 1), r.m(t, null));
4910
+ n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4911
+ a[c] = null;
4912
+ }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4913
4913
  },
4914
4914
  i(l) {
4915
4915
  i || ($(r), i = !0);
@@ -4918,11 +4918,11 @@ function uo(e) {
4918
4918
  z(r), i = !1;
4919
4919
  },
4920
4920
  d(l) {
4921
- l && S(t), o[n].d();
4921
+ l && S(t), a[n].d();
4922
4922
  }
4923
4923
  };
4924
4924
  }
4925
- function co(e) {
4925
+ function ha(e) {
4926
4926
  let t;
4927
4927
  return {
4928
4928
  c() {
@@ -4939,45 +4939,45 @@ function co(e) {
4939
4939
  }
4940
4940
  };
4941
4941
  }
4942
- function ho(e) {
4942
+ function fa(e) {
4943
4943
  var l, u;
4944
4944
  let t, n, r = (
4945
4945
  /*selectedCurrencyTo*/
4946
4946
  (((l = e[6]) == null ? void 0 : l.amount) || 0) + ""
4947
- ), i, a, o = (
4947
+ ), i, o, a = (
4948
4948
  /*selectedCurrencyTo*/
4949
4949
  (((u = e[6]) == null ? void 0 : u.currency) || "") + ""
4950
4950
  ), s;
4951
4951
  return {
4952
4952
  c() {
4953
- t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), a = O(), s = Z(o), b(t, "class", "amount");
4953
+ t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4954
4954
  },
4955
4955
  m(c, f) {
4956
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, a, f), H(c, s, f);
4956
+ H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4957
4957
  },
4958
4958
  p(c, f) {
4959
4959
  var h, m;
4960
4960
  f[0] & /*selectedCurrencyTo*/
4961
4961
  64 && r !== (r = /*selectedCurrencyTo*/
4962
4962
  (((h = c[6]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyTo*/
4963
- 64 && o !== (o = /*selectedCurrencyTo*/
4964
- (((m = c[6]) == null ? void 0 : m.currency) || "") + "") && re(s, o);
4963
+ 64 && a !== (a = /*selectedCurrencyTo*/
4964
+ (((m = c[6]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4965
4965
  },
4966
4966
  i: L,
4967
4967
  o: L,
4968
4968
  d(c) {
4969
- c && (S(t), S(n), S(i), S(a), S(s));
4969
+ c && (S(t), S(n), S(i), S(o), S(s));
4970
4970
  }
4971
4971
  };
4972
4972
  }
4973
- function fo(e) {
4973
+ function pa(e) {
4974
4974
  let t, n;
4975
- return t = new kt({}), {
4975
+ return t = new Ut({}), {
4976
4976
  c() {
4977
- ut(t.$$.fragment);
4977
+ ct(t.$$.fragment);
4978
4978
  },
4979
4979
  m(r, i) {
4980
- We(t, r, i), n = !0;
4980
+ ze(t, r, i), n = !0;
4981
4981
  },
4982
4982
  p: L,
4983
4983
  i(r) {
@@ -4987,32 +4987,32 @@ function fo(e) {
4987
4987
  z(t.$$.fragment, r), n = !1;
4988
4988
  },
4989
4989
  d(r) {
4990
- ze(t, r);
4990
+ Ze(t, r);
4991
4991
  }
4992
4992
  };
4993
4993
  }
4994
4994
  function er(e) {
4995
- let t, n, r, i, a, o, s, l, u, c, f = St(
4995
+ let t, n, r, i, o, a, s, l, u, c, f = Ht(
4996
4996
  /*dropDownVaults*/
4997
4997
  e[19]
4998
4998
  ), h = [];
4999
4999
  for (let m = 0; m < f.length; m += 1)
5000
- h[m] = tr(Yn(e, f, m));
5000
+ h[m] = tr(Qn(e, f, m));
5001
5001
  return {
5002
5002
  c() {
5003
- t = A("div"), n = A("button"), r = Cn("svg"), i = Cn("path"), o = O(), s = A("div");
5003
+ t = A("div"), n = A("button"), r = Cn("svg"), i = Cn("path"), a = O(), s = A("div");
5004
5004
  for (let m = 0; m < h.length; m += 1)
5005
5005
  h[m].c();
5006
- b(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"), b(i, "fill", "currentColor"), b(r, "class", "vaultToggleIcon"), b(r, "width", "12"), b(r, "height", "7"), b(r, "viewBox", "0 0 12 7"), b(r, "fill", "currentColor"), b(r, "xmlns", "http://www.w3.org/2000/svg"), b(n, "type", "button"), b(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
5006
+ b(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"), b(i, "fill", "currentColor"), b(r, "class", "vaultToggleIcon"), b(r, "width", "12"), b(r, "height", "7"), b(r, "viewBox", "0 0 12 7"), b(r, "fill", "currentColor"), b(r, "xmlns", "http://www.w3.org/2000/svg"), b(n, "type", "button"), b(n, "class", o = "vaultToggleButton " + /*isVaultDropDownToggled*/
5007
5007
  (e[15] && /*dropDownVaults*/
5008
5008
  e[19].length > 0 ? "active" : "")), b(s, "class", l = "vaultDropdown " + /*isVaultDropDownToggled*/
5009
5009
  (e[15] && /*dropDownVaults*/
5010
5010
  e[19].length > 0 ? "expanded" : "")), b(t, "class", "vaultsContainer");
5011
5011
  },
5012
5012
  m(m, _) {
5013
- H(m, t, _), v(t, n), v(n, r), v(r, i), v(t, o), v(t, s);
5014
- for (let p = 0; p < h.length; p += 1)
5015
- h[p] && h[p].m(s, null);
5013
+ H(m, t, _), v(t, n), v(n, r), v(r, i), v(t, a), v(t, s);
5014
+ for (let d = 0; d < h.length; d += 1)
5015
+ h[d] && h[d].m(s, null);
5016
5016
  u || (c = ne(
5017
5017
  n,
5018
5018
  "click",
@@ -5022,21 +5022,21 @@ function er(e) {
5022
5022
  },
5023
5023
  p(m, _) {
5024
5024
  if (_[0] & /*isVaultDropDownToggled, dropDownVaults*/
5025
- 557056 && a !== (a = "vaultToggleButton " + /*isVaultDropDownToggled*/
5025
+ 557056 && o !== (o = "vaultToggleButton " + /*isVaultDropDownToggled*/
5026
5026
  (m[15] && /*dropDownVaults*/
5027
- m[19].length > 0 ? "active" : "")) && b(n, "class", a), _[0] & /*dropDownVaults*/
5027
+ m[19].length > 0 ? "active" : "")) && b(n, "class", o), _[0] & /*dropDownVaults*/
5028
5028
  524288) {
5029
- f = St(
5029
+ f = Ht(
5030
5030
  /*dropDownVaults*/
5031
5031
  m[19]
5032
5032
  );
5033
- let p;
5034
- for (p = 0; p < f.length; p += 1) {
5035
- const E = Yn(m, f, p);
5036
- h[p] ? h[p].p(E, _) : (h[p] = tr(E), h[p].c(), h[p].m(s, null));
5033
+ let d;
5034
+ for (d = 0; d < f.length; d += 1) {
5035
+ const E = Qn(m, f, d);
5036
+ h[d] ? h[d].p(E, _) : (h[d] = tr(E), h[d].c(), h[d].m(s, null));
5037
5037
  }
5038
- for (; p < h.length; p += 1)
5039
- h[p].d(1);
5038
+ for (; d < h.length; d += 1)
5039
+ h[d].d(1);
5040
5040
  h.length = f.length;
5041
5041
  }
5042
5042
  _[0] & /*isVaultDropDownToggled, dropDownVaults*/
@@ -5054,35 +5054,35 @@ function tr(e) {
5054
5054
  let t, n, r = (
5055
5055
  /*vault*/
5056
5056
  ((c = e[62]) == null ? void 0 : c.currency) + ""
5057
- ), i, a, o, s = (
5057
+ ), i, o, a, s = (
5058
5058
  /*vault*/
5059
5059
  ((f = e[62]) == null ? void 0 : f.amount) + ""
5060
5060
  ), l, u;
5061
5061
  return {
5062
5062
  c() {
5063
- t = A("div"), n = A("p"), i = Z(r), a = O(), o = A("p"), l = Z(s), u = O(), b(t, "class", "vaultItem");
5063
+ t = A("div"), n = A("p"), i = Z(r), o = O(), a = A("p"), l = Z(s), u = O(), b(t, "class", "vaultItem");
5064
5064
  },
5065
5065
  m(h, m) {
5066
- H(h, t, m), v(t, n), v(n, i), v(t, a), v(t, o), v(o, l), v(t, u);
5066
+ H(h, t, m), v(t, n), v(n, i), v(t, o), v(t, a), v(a, l), v(t, u);
5067
5067
  },
5068
5068
  p(h, m) {
5069
- var _, p;
5069
+ var _, d;
5070
5070
  m[0] & /*dropDownVaults*/
5071
5071
  524288 && r !== (r = /*vault*/
5072
5072
  ((_ = h[62]) == null ? void 0 : _.currency) + "") && re(i, r), m[0] & /*dropDownVaults*/
5073
5073
  524288 && s !== (s = /*vault*/
5074
- ((p = h[62]) == null ? void 0 : p.amount) + "") && re(l, s);
5074
+ ((d = h[62]) == null ? void 0 : d.amount) + "") && re(l, s);
5075
5075
  },
5076
5076
  d(h) {
5077
5077
  h && S(t);
5078
5078
  }
5079
5079
  };
5080
5080
  }
5081
- function po(e) {
5082
- var r, i, a, o;
5081
+ function da(e) {
5082
+ var r, i, o, a;
5083
5083
  let t = `${/*currentFee*/
5084
5084
  ((i = (r = e[11]) == null ? void 0 : r.fees[0]) == null ? void 0 : i.amount) || 0} ${/*currentFee*/
5085
- ((o = (a = e[11]) == null ? void 0 : a.fees[0]) == null ? void 0 : o.currency) || ""}`, n;
5085
+ ((a = (o = e[11]) == null ? void 0 : o.fees[0]) == null ? void 0 : a.currency) || ""}`, n;
5086
5086
  return {
5087
5087
  c() {
5088
5088
  n = Z(t);
@@ -5102,7 +5102,7 @@ function po(e) {
5102
5102
  }
5103
5103
  };
5104
5104
  }
5105
- function mo(e) {
5105
+ function ma(e) {
5106
5106
  let t = k("feesUnavailable") + "", n;
5107
5107
  return {
5108
5108
  c() {
@@ -5117,22 +5117,22 @@ function mo(e) {
5117
5117
  }
5118
5118
  };
5119
5119
  }
5120
- function go(e) {
5120
+ function ga(e) {
5121
5121
  var j;
5122
- let t, n, r, i, a, o, s, l, u, c, f, h, m, _, p, E, C, R, y, D, M, X, ge, ie, W, be, Ae, se, he, Ce, K, q, fe, tt, Te, Me, dt, ke, nt, ae, ye = k(
5122
+ let t, n, r, i, o, a, s, l, u, c, f, h, m, _, d, E, C, R, y, D, M, X, ge, ie, W, ce, be, se, he, Ae, K, J, fe, nt, Ce, Me, dt, ke, rt, oe, ye = k(
5123
5123
  /*fetchResponse*/
5124
5124
  ((j = e[12]) == null ? void 0 : j.message) || ""
5125
- ) + "", Be, ve, Ee, Ue, ee, Se = k("exchange") + "", pt, _e, te, rt, it, Y = (
5125
+ ) + "", Te, ve, Ee, Ue, ee, Be = k("exchange") + "", mt, _e, te, it, ot, Q = (
5126
5126
  /*showclosebutton*/
5127
- e[3] === Pe.true && Jn(e)
5127
+ e[3] === Ie.true && Yn(e)
5128
5128
  ), F = (
5129
5129
  /*showtotalbalance*/
5130
- e[2] === Pe.true && qn(e)
5130
+ e[2] === Ie.true && Jn(e)
5131
5131
  );
5132
- function Ut(g) {
5132
+ function Vt(g) {
5133
5133
  e[39](g);
5134
5134
  }
5135
- let mt = {
5135
+ let gt = {
5136
5136
  id: "senderSelect",
5137
5137
  withSymbol: (
5138
5138
  /*showcurrencysymbol*/
@@ -5151,19 +5151,19 @@ function go(e) {
5151
5151
  )
5152
5152
  };
5153
5153
  /*selectedCurrencyFrom*/
5154
- e[5] !== void 0 && (mt.selected = /*selectedCurrencyFrom*/
5155
- e[5]), p = new fn({ props: mt }), Xe.push(() => Bn(p, "selected", Ut));
5156
- const gt = [oo, ao], de = [];
5157
- function at(g, T) {
5154
+ e[5] !== void 0 && (gt.selected = /*selectedCurrencyFrom*/
5155
+ e[5]), d = new pn({ props: gt }), We.push(() => Bn(d, "selected", Vt));
5156
+ const bt = [sa, aa], pe = [];
5157
+ function at(g, B) {
5158
5158
  return !/*isBalanceFetched*/
5159
5159
  g[16] || !/*isCurrenciesFetched*/
5160
5160
  g[17] ? 0 : 1;
5161
5161
  }
5162
- R = at(e), y = de[R] = gt[R](e);
5163
- function Vt(g) {
5162
+ R = at(e), y = pe[R] = bt[R](e);
5163
+ function Ft(g) {
5164
5164
  e[41](g);
5165
5165
  }
5166
- let bt = {
5166
+ let yt = {
5167
5167
  id: "destinationSelect",
5168
5168
  withSymbol: (
5169
5169
  /*showcurrencysymbol*/
@@ -5184,51 +5184,51 @@ function go(e) {
5184
5184
  )
5185
5185
  };
5186
5186
  /*selectedCurrencyTo*/
5187
- e[6] !== void 0 && (bt.selected = /*selectedCurrencyTo*/
5188
- e[6]), se = new fn({ props: bt }), Xe.push(() => Bn(se, "selected", Vt));
5189
- const yt = [co, uo], pe = [];
5190
- function vt(g, T) {
5187
+ e[6] !== void 0 && (yt.selected = /*selectedCurrencyTo*/
5188
+ e[6]), se = new pn({ props: yt }), We.push(() => Bn(se, "selected", Ft));
5189
+ const vt = [ha, ca], de = [];
5190
+ function Et(g, B) {
5191
5191
  return !/*isBalanceFetched*/
5192
5192
  g[16] || !/*isCurrenciesFetched*/
5193
5193
  g[17] ? 0 : 1;
5194
5194
  }
5195
- K = vt(e), q = pe[K] = yt[K](e);
5196
- let d = (
5195
+ K = Et(e), J = de[K] = vt[K](e);
5196
+ let p = (
5197
5197
  /*showvaults*/
5198
- e[1] === Pe.true && er(e)
5198
+ e[1] === Ie.true && er(e)
5199
5199
  );
5200
- function w(g, T) {
5201
- var oe;
5200
+ function w(g, B) {
5201
+ var ae;
5202
5202
  return (
5203
5203
  /*fetchResponse*/
5204
- ((oe = g[12]) == null ? void 0 : oe.source) === Q.CheckWalletExchangeError ? mo : po
5204
+ ((ae = g[12]) == null ? void 0 : ae.source) === q.CheckWalletExchangeError ? ma : da
5205
5205
  );
5206
5206
  }
5207
- let P = w(e), x = P(e);
5207
+ let I = w(e), x = I(e);
5208
5208
  return {
5209
5209
  c() {
5210
- var g, T, oe;
5211
- t = A("div"), Y && Y.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, a = O(), F && F.c(), o = O(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = A("div"), h = A("input"), _ = O(), ut(p.$$.fragment), C = O(), y.c(), D = O(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ge = O(), ie = A("div"), W = A("input"), Ae = O(), ut(se.$$.fragment), Ce = O(), q.c(), fe = O(), d && d.c(), tt = O(), Te = A("div"), Me = A("span"), Me.textContent = `${k("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), nt = O(), ae = A("div"), Be = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${k("reset")}`, Ue = O(), ee = A("button"), pt = Z(Se), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5210
+ var g, B, ae;
5211
+ t = A("div"), Q && Q.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = A("div"), h = A("input"), _ = O(), ct(d.$$.fragment), C = O(), y.c(), D = O(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ge = O(), ie = A("div"), W = A("input"), be = O(), ct(se.$$.fragment), Ae = O(), J.c(), fe = O(), p && p.c(), nt = O(), Ce = A("div"), Me = A("span"), Me.textContent = `${k("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), rt = O(), oe = A("div"), Te = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${k("reset")}`, Ue = O(), ee = A("button"), mt = Z(Be), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5212
5212
  e[0] || !/*isBalanceFetched*/
5213
5213
  e[16] || !/*isCurrenciesFetched*/
5214
- e[17], b(h, "placeholder", k("debitPlaceHolder")), b(h, "class", "exchangeInput"), b(h, "type", "number"), b(h, "aria-label", "Enter exchange amount"), b(h, "inputmode", "decimal"), b(h, "step", "0.000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(l, "class", "containerExchangeFrom exchangeContainer"), b(X, "class", "exchangeHeader"), b(W, "id", "destinationInput"), W.disabled = be = !/*session*/
5214
+ e[17], b(h, "placeholder", k("debitPlaceHolder")), b(h, "class", "exchangeInput"), b(h, "type", "number"), b(h, "aria-label", "Enter exchange amount"), b(h, "inputmode", "decimal"), b(h, "step", "0.000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(l, "class", "containerExchangeFrom exchangeContainer"), b(X, "class", "exchangeHeader"), b(W, "id", "destinationInput"), W.disabled = ce = !/*session*/
5215
5215
  e[0] || !/*isBalanceFetched*/
5216
5216
  e[16] || !/*isCurrenciesFetched*/
5217
- e[17], b(W, "placeholder", k("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(ie, "class", "flexingContainerRow"), b(M, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Te, "class", "feesContainer"), b(ae, "class", "notificationsContainer"), ue(
5218
- ae,
5217
+ e[17], b(W, "placeholder", k("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(ie, "class", "flexingContainerRow"), b(M, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Ce, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5218
+ oe,
5219
5219
  "error",
5220
5220
  /*fetchResponse*/
5221
5221
  ((g = e[12]) == null ? void 0 : g.type) === "error"
5222
5222
  ), ue(
5223
- ae,
5223
+ oe,
5224
5224
  "success",
5225
5225
  /*fetchResponse*/
5226
- ((T = e[12]) == null ? void 0 : T.type) === "success"
5226
+ ((B = e[12]) == null ? void 0 : B.type) === "success"
5227
5227
  ), b(Ee, "class", "resetButton"), b(Ee, "type", "button"), b(ee, "type", "button"), b(ee, "class", "exchangeButton"), ee.disabled = _e = /*isExchangeDisabled*/
5228
5228
  e[14] || /*isExchangePending*/
5229
5229
  e[18] || /*inputExchangeFrom*/
5230
5230
  e[8] === 0 && !/*selectedCurrencyFrom*/
5231
- ((oe = e[5]) != null && oe.amount), ue(
5231
+ ((ae = e[5]) != null && ae.amount), ue(
5232
5232
  ee,
5233
5233
  "disabled",
5234
5234
  /*isExchangeDisabled*/
@@ -5241,16 +5241,16 @@ function go(e) {
5241
5241
  e[18]
5242
5242
  ), b(ve, "class", "actionsContainer"), b(t, "class", "playerAccountVault");
5243
5243
  },
5244
- m(g, T) {
5245
- H(g, t, T), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), F && F.m(r, null), v(t, o), v(t, s), v(s, l), v(l, u), v(l, c), v(l, f), v(f, h), Et(
5244
+ m(g, B) {
5245
+ H(g, t, B), Q && Q.m(t, null), v(t, n), v(t, r), v(r, i), v(r, o), F && F.m(r, null), v(t, a), v(t, s), v(s, l), v(l, u), v(l, c), v(l, f), v(f, h), _t(
5246
5246
  h,
5247
5247
  /*inputExchangeFrom*/
5248
5248
  e[8]
5249
- ), v(f, _), We(p, f, null), v(l, C), de[R].m(l, null), v(s, D), v(s, M), v(M, X), v(M, ge), v(M, ie), v(ie, W), Et(
5249
+ ), v(f, _), ze(d, f, null), v(l, C), pe[R].m(l, null), v(s, D), v(s, M), v(M, X), v(M, ge), v(M, ie), v(ie, W), _t(
5250
5250
  W,
5251
5251
  /*inputExchangeTo*/
5252
5252
  e[9]
5253
- ), v(ie, Ae), We(se, ie, null), v(M, Ce), pe[K].m(M, null), v(t, fe), d && d.m(t, null), v(t, tt), v(t, Te), v(Te, Me), v(Te, dt), v(Te, ke), x.m(ke, null), v(t, nt), v(t, ae), ae.innerHTML = ye, v(t, Be), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, ee), v(ee, pt), e[42](t), te = !0, rt || (it = [
5253
+ ), v(ie, be), ze(se, ie, null), v(M, Ae), de[K].m(M, null), v(t, fe), p && p.m(t, null), v(t, nt), v(t, Ce), v(Ce, Me), v(Ce, dt), v(Ce, ke), x.m(ke, null), v(t, rt), v(t, oe), oe.innerHTML = ye, v(t, Te), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, ee), v(ee, mt), e[42](t), te = !0, it || (ot = [
5254
5254
  ne(
5255
5255
  h,
5256
5256
  "input",
@@ -5293,97 +5293,97 @@ function go(e) {
5293
5293
  /*handleExchange*/
5294
5294
  e[29]
5295
5295
  )
5296
- ], rt = !0);
5296
+ ], it = !0);
5297
5297
  },
5298
- p(g, T) {
5299
- var vn, En, _n, xn;
5298
+ p(g, B) {
5299
+ var Se, En, _n, xn;
5300
5300
  /*showclosebutton*/
5301
- g[3] === Pe.true ? Y ? Y.p(g, T) : (Y = Jn(g), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5302
- g[2] === Pe.true ? F ? (F.p(g, T), T[0] & /*showtotalbalance*/
5303
- 4 && $(F, 1)) : (F = qn(g), F.c(), $(F, 1), F.m(r, null)) : F && (Re(), z(F, 1, 1, () => {
5301
+ g[3] === Ie.true ? Q ? Q.p(g, B) : (Q = Yn(g), Q.c(), Q.m(t, n)) : Q && (Q.d(1), Q = null), /*showtotalbalance*/
5302
+ g[2] === Ie.true ? F ? (F.p(g, B), B[0] & /*showtotalbalance*/
5303
+ 4 && $(F, 1)) : (F = Jn(g), F.c(), $(F, 1), F.m(r, null)) : F && (Re(), z(F, 1, 1, () => {
5304
5304
  F = null;
5305
- }), Oe()), (!te || T[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5305
+ }), Oe()), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5306
5306
  196609 && m !== (m = !/*session*/
5307
5307
  g[0] || !/*isBalanceFetched*/
5308
5308
  g[16] || !/*isCurrenciesFetched*/
5309
- g[17])) && (h.disabled = m), T[0] & /*inputExchangeFrom*/
5310
- 256 && Bt(h.value) !== /*inputExchangeFrom*/
5311
- g[8] && Et(
5309
+ g[17])) && (h.disabled = m), B[0] & /*inputExchangeFrom*/
5310
+ 256 && St(h.value) !== /*inputExchangeFrom*/
5311
+ g[8] && _t(
5312
5312
  h,
5313
5313
  /*inputExchangeFrom*/
5314
5314
  g[8]
5315
5315
  );
5316
- const oe = {};
5317
- T[0] & /*showcurrencysymbol*/
5318
- 16 && (oe.withSymbol = /*showcurrencysymbol*/
5319
- g[4]), T[0] & /*isBalanceFetched, isCurrenciesFetched*/
5320
- 196608 && (oe.disabled = !/*isBalanceFetched*/
5316
+ const ae = {};
5317
+ B[0] & /*showcurrencysymbol*/
5318
+ 16 && (ae.withSymbol = /*showcurrencysymbol*/
5319
+ g[4]), B[0] & /*isBalanceFetched, isCurrenciesFetched*/
5320
+ 196608 && (ae.disabled = !/*isBalanceFetched*/
5321
5321
  g[16] || !/*isCurrenciesFetched*/
5322
- g[17]), T[0] & /*optionsFrom*/
5323
- 1048576 && (oe.options = /*optionsFrom*/
5324
- g[20]), !E && T[0] & /*selectedCurrencyFrom*/
5325
- 32 && (E = !0, oe.selected = /*selectedCurrencyFrom*/
5326
- g[5], Tn(() => E = !1)), p.$set(oe);
5327
- let B = R;
5328
- R = at(g), R === B ? de[R].p(g, T) : (Re(), z(de[B], 1, 1, () => {
5329
- de[B] = null;
5330
- }), Oe(), y = de[R], y ? y.p(g, T) : (y = de[R] = gt[R](g), y.c()), $(y, 1), y.m(l, null)), (!te || T[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5331
- 196609 && be !== (be = !/*session*/
5322
+ g[17]), B[0] & /*optionsFrom*/
5323
+ 1048576 && (ae.options = /*optionsFrom*/
5324
+ g[20]), !E && B[0] & /*selectedCurrencyFrom*/
5325
+ 32 && (E = !0, ae.selected = /*selectedCurrencyFrom*/
5326
+ g[5], Tn(() => E = !1)), d.$set(ae);
5327
+ let Ve = R;
5328
+ R = at(g), R === Ve ? pe[R].p(g, B) : (Re(), z(pe[Ve], 1, 1, () => {
5329
+ pe[Ve] = null;
5330
+ }), Oe(), y = pe[R], y ? y.p(g, B) : (y = pe[R] = bt[R](g), y.c()), $(y, 1), y.m(l, null)), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5331
+ 196609 && ce !== (ce = !/*session*/
5332
5332
  g[0] || !/*isBalanceFetched*/
5333
5333
  g[16] || !/*isCurrenciesFetched*/
5334
- g[17])) && (W.disabled = be), T[0] & /*inputExchangeTo*/
5335
- 512 && Bt(W.value) !== /*inputExchangeTo*/
5336
- g[9] && Et(
5334
+ g[17])) && (W.disabled = ce), B[0] & /*inputExchangeTo*/
5335
+ 512 && St(W.value) !== /*inputExchangeTo*/
5336
+ g[9] && _t(
5337
5337
  W,
5338
5338
  /*inputExchangeTo*/
5339
5339
  g[9]
5340
5340
  );
5341
- const ce = {};
5342
- T[0] & /*showcurrencysymbol*/
5343
- 16 && (ce.withSymbol = /*showcurrencysymbol*/
5344
- g[4]), T[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
5345
- 204801 && (ce.disabled = !/*session*/
5341
+ const T = {};
5342
+ B[0] & /*showcurrencysymbol*/
5343
+ 16 && (T.withSymbol = /*showcurrencysymbol*/
5344
+ g[4]), B[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
5345
+ 204801 && (T.disabled = !/*session*/
5346
5346
  g[0] || !!/*validationError*/
5347
5347
  g[13] || !/*isBalanceFetched*/
5348
5348
  g[16] || !/*isCurrenciesFetched*/
5349
- g[17]), T[0] & /*optionsTo*/
5350
- 2097152 && (ce.options = /*optionsTo*/
5351
- g[21]), !he && T[0] & /*selectedCurrencyTo*/
5352
- 64 && (he = !0, ce.selected = /*selectedCurrencyTo*/
5353
- g[6], Tn(() => he = !1)), se.$set(ce);
5349
+ g[17]), B[0] & /*optionsTo*/
5350
+ 2097152 && (T.options = /*optionsTo*/
5351
+ g[21]), !he && B[0] & /*selectedCurrencyTo*/
5352
+ 64 && (he = !0, T.selected = /*selectedCurrencyTo*/
5353
+ g[6], Tn(() => he = !1)), se.$set(T);
5354
5354
  let xe = K;
5355
- K = vt(g), K === xe ? pe[K].p(g, T) : (Re(), z(pe[xe], 1, 1, () => {
5356
- pe[xe] = null;
5357
- }), Oe(), q = pe[K], q ? q.p(g, T) : (q = pe[K] = yt[K](g), q.c()), $(q, 1), q.m(M, null)), /*showvaults*/
5358
- g[1] === Pe.true ? d ? d.p(g, T) : (d = er(g), d.c(), d.m(t, tt)) : d && (d.d(1), d = null), P === (P = w(g)) && x ? x.p(g, T) : (x.d(1), x = P(g), x && (x.c(), x.m(ke, null))), (!te || T[0] & /*fetchResponse*/
5355
+ K = Et(g), K === xe ? de[K].p(g, B) : (Re(), z(de[xe], 1, 1, () => {
5356
+ de[xe] = null;
5357
+ }), Oe(), J = de[K], J ? J.p(g, B) : (J = de[K] = vt[K](g), J.c()), $(J, 1), J.m(M, null)), /*showvaults*/
5358
+ g[1] === Ie.true ? p ? p.p(g, B) : (p = er(g), p.c(), p.m(t, nt)) : p && (p.d(1), p = null), I === (I = w(g)) && x ? x.p(g, B) : (x.d(1), x = I(g), x && (x.c(), x.m(ke, null))), (!te || B[0] & /*fetchResponse*/
5359
5359
  4096) && ye !== (ye = k(
5360
5360
  /*fetchResponse*/
5361
- ((vn = g[12]) == null ? void 0 : vn.message) || ""
5362
- ) + "") && (ae.innerHTML = ye), (!te || T[0] & /*fetchResponse*/
5361
+ ((Se = g[12]) == null ? void 0 : Se.message) || ""
5362
+ ) + "") && (oe.innerHTML = ye), (!te || B[0] & /*fetchResponse*/
5363
5363
  4096) && ue(
5364
- ae,
5364
+ oe,
5365
5365
  "error",
5366
5366
  /*fetchResponse*/
5367
5367
  ((En = g[12]) == null ? void 0 : En.type) === "error"
5368
- ), (!te || T[0] & /*fetchResponse*/
5368
+ ), (!te || B[0] & /*fetchResponse*/
5369
5369
  4096) && ue(
5370
- ae,
5370
+ oe,
5371
5371
  "success",
5372
5372
  /*fetchResponse*/
5373
5373
  ((_n = g[12]) == null ? void 0 : _n.type) === "success"
5374
- ), (!te || T[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5374
+ ), (!te || B[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5375
5375
  278816 && _e !== (_e = /*isExchangeDisabled*/
5376
5376
  g[14] || /*isExchangePending*/
5377
5377
  g[18] || /*inputExchangeFrom*/
5378
5378
  g[8] === 0 && !/*selectedCurrencyFrom*/
5379
- ((xn = g[5]) != null && xn.amount))) && (ee.disabled = _e), (!te || T[0] & /*isExchangeDisabled, isExchangePending*/
5379
+ ((xn = g[5]) != null && xn.amount))) && (ee.disabled = _e), (!te || B[0] & /*isExchangeDisabled, isExchangePending*/
5380
5380
  278528) && ue(
5381
5381
  ee,
5382
5382
  "disabled",
5383
5383
  /*isExchangeDisabled*/
5384
5384
  g[14] || /*isExchangePending*/
5385
5385
  g[18]
5386
- ), (!te || T[0] & /*isExchangePending*/
5386
+ ), (!te || B[0] & /*isExchangePending*/
5387
5387
  262144) && ue(
5388
5388
  ee,
5389
5389
  "pending",
@@ -5392,64 +5392,64 @@ function go(e) {
5392
5392
  );
5393
5393
  },
5394
5394
  i(g) {
5395
- te || ($(F), $(p.$$.fragment, g), $(y), $(se.$$.fragment, g), $(q), te = !0);
5395
+ te || ($(F), $(d.$$.fragment, g), $(y), $(se.$$.fragment, g), $(J), te = !0);
5396
5396
  },
5397
5397
  o(g) {
5398
- z(F), z(p.$$.fragment, g), z(y), z(se.$$.fragment, g), z(q), te = !1;
5398
+ z(F), z(d.$$.fragment, g), z(y), z(se.$$.fragment, g), z(J), te = !1;
5399
5399
  },
5400
5400
  d(g) {
5401
- g && S(t), Y && Y.d(), F && F.d(), ze(p), de[R].d(), ze(se), pe[K].d(), d && d.d(), x.d(), e[42](null), rt = !1, we(it);
5401
+ g && S(t), Q && Q.d(), F && F.d(), Ze(d), pe[R].d(), Ze(se), de[K].d(), p && p.d(), x.d(), e[42](null), it = !1, we(ot);
5402
5402
  }
5403
5403
  };
5404
5404
  }
5405
- function bo(e, t, n) {
5406
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, p = null, E = null, C = 0, R = 0, y = 0, D = null, M = null, X = null, ge = "", ie = !0, W = !1, be = !1, Ae = !1, se = !1, he = [], Ce = [], K = [], q = [], fe;
5407
- Fa({ withLocale: "en", translations: {} }), Object.keys(Gn).forEach((d) => {
5408
- Fn(d, Gn[d]);
5405
+ function ba(e, t, n) {
5406
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, d = null, E = null, C = 0, R = 0, y = 0, D = null, M = null, X = null, ge = "", ie = !0, W = !1, ce = !1, be = !1, se = !1, he = [], Ae = [], K = [], J = [], fe;
5407
+ Go({ withLocale: "en", translations: {} }), Object.keys(Gn).forEach((p) => {
5408
+ Fn(p, Gn[p]);
5409
5409
  });
5410
- const tt = () => {
5411
- Ga(o);
5412
- }, Te = () => {
5413
- fetch(u).then((d) => d.json()).then((d) => {
5414
- Object.keys(d).forEach((w) => {
5415
- Fn(w, d[w]);
5410
+ const nt = () => {
5411
+ $o(a);
5412
+ }, Ce = () => {
5413
+ fetch(u).then((p) => p.json()).then((p) => {
5414
+ Object.keys(p).forEach((w) => {
5415
+ Fn(w, p[w]);
5416
5416
  });
5417
- }).catch((d) => {
5418
- console.error("There was a problem with the translations request.", d);
5417
+ }).catch((p) => {
5418
+ console.error("There was a problem with the translations request.", p);
5419
5419
  });
5420
5420
  }, Me = () => {
5421
- let d = document.createElement("style");
5422
- d.innerHTML = s, fe.appendChild(d);
5421
+ let p = document.createElement("style");
5422
+ p.innerHTML = s, fe.appendChild(p);
5423
5423
  }, dt = () => {
5424
- let d, w = new URL(l), P = document.createElement("style");
5424
+ let p, w = new URL(l), I = document.createElement("style");
5425
5425
  fetch(w.href).then((x) => x.text()).then((x) => {
5426
- P.innerHTML = x, d && clearTimeout(d), d = setTimeout(
5426
+ I.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5427
5427
  () => {
5428
- fe.appendChild(P);
5428
+ fe.appendChild(I);
5429
5429
  },
5430
5430
  1
5431
5431
  );
5432
5432
  });
5433
5433
  }, ke = () => {
5434
- Ce.length !== 0 && (n(15, W = !W), window.postMessage(
5434
+ Ae.length !== 0 && (n(15, W = !W), window.postMessage(
5435
5435
  {
5436
5436
  type: Yt.VaultDropdownToggled,
5437
5437
  state: W
5438
5438
  },
5439
5439
  window.location.href
5440
5440
  ));
5441
- }, nt = () => {
5441
+ }, rt = () => {
5442
5442
  window.postMessage(
5443
5443
  {
5444
5444
  type: Yt.VaultWidgetClosed
5445
5445
  },
5446
5446
  window.location.href
5447
5447
  );
5448
- }, ae = () => {
5449
- n(14, ie = !0), Be(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5448
+ }, oe = () => {
5449
+ n(14, ie = !0), Te(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5450
5450
  }, ye = () => {
5451
5451
  n(14, ie = !0), n(9, y = 0);
5452
- }, Be = () => {
5452
+ }, Te = () => {
5453
5453
  n(11, M = null);
5454
5454
  }, ve = () => {
5455
5455
  n(8, C = 0), n(9, y = 0);
@@ -5457,71 +5457,72 @@ function bo(e, t, n) {
5457
5457
  n(13, ge = "");
5458
5458
  }, Ue = () => {
5459
5459
  n(12, X = null);
5460
- }, ee = (d) => {
5461
- d && n(13, ge = d);
5462
- }, Se = ({ type: d, message: w, source: P = "" }) => {
5460
+ }, ee = (p) => {
5461
+ p && n(13, ge = p);
5462
+ }, Be = ({ type: p, message: w, source: I = "" }) => {
5463
5463
  let x;
5464
- switch (n(12, X = { message: w, source: P, type: d }), d) {
5464
+ switch (n(12, X = { message: w, source: I, type: p }), p) {
5465
5465
  case He.error:
5466
- n(14, ie = !0), window.postMessage({ type: P, data: { type: d, message: w } }, window.location.href);
5466
+ n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href);
5467
5467
  break;
5468
5468
  case He.success:
5469
- n(14, ie = !0), window.postMessage({ type: P, data: { type: d, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5469
+ n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5470
5470
  () => {
5471
5471
  Ue();
5472
5472
  },
5473
- ja
5473
+ Xo
5474
5474
  );
5475
5475
  break;
5476
5476
  }
5477
- }, pt = () => new Promise((d, w) => {
5478
- const P = X == null ? void 0 : X.message.includes(Xa.InvalidSession);
5479
- P && w(), isNaN(Number(C)) && (ye(), Be(), w(k("invalidValue"))), C > (p == null ? void 0 : p.amount) && (ye(), Be(), w(k("exceededValue"))), C === null && !P && (ye(), Be(), w()), C === 0 && C === 0 && !P && (ae(), w()), (!p || !E) && !P && w(), Ee(), d();
5480
- }), _e = (d, w) => $t(this, null, function* () {
5477
+ }, mt = () => new Promise((p, w) => {
5478
+ const I = X == null ? void 0 : X.message.includes(Wo.InvalidSession);
5479
+ I && w(), isNaN(Number(C)) && (ye(), Te(), w(k("invalidValue"))), C > (d == null ? void 0 : d.amount) && (ye(), Te(), w(k("exceededValue"))), C === null && !I && (ye(), Te(), w()), C === 0 && C === 0 && !I && (oe(), w()), (!d || !E) && !I && w(), Ee(), p();
5480
+ }), _e = (p, w) => jt(this, null, function* () {
5481
5481
  var x, j;
5482
- const P = yield d.json();
5483
- return (d == null ? void 0 : d.status) >= 200 && (d == null ? void 0 : d.status) < 400 ? P : (w === Q.CheckWalletExchangeError && ye(), !be && w === Q.BalanceError && (n(16, be = !0), n(17, Ae = !0)), !Ae && w === Q.CurrenciesError && n(17, Ae = !0), Se({
5482
+ const I = yield p.json();
5483
+ return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === q.CheckWalletExchangeError && ye(), !ce && w === q.BalanceError && (n(16, ce = !0), n(17, be = !0)), !be && w === q.CurrenciesError && n(17, be = !0), Be({
5484
5484
  type: He.error,
5485
- message: k((x = P == null ? void 0 : P.thirdPartyResponse) == null ? void 0 : x.code) || k((j = P == null ? void 0 : P.thirdPartyResponse) == null ? void 0 : j.errorCode) || "generalError",
5485
+ message: k((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || k((j = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : j.errorCode) || "generalError",
5486
5486
  source: w
5487
5487
  }));
5488
- }), te = () => new Promise((d, w) => {
5489
- const P = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5490
- fetch(P, {
5488
+ }), te = () => new Promise((p, w) => {
5489
+ const I = new URL(`${o}/v1/player/${i}/wallet-exchange/currencies`);
5490
+ fetch(I, {
5491
5491
  method: "GET",
5492
5492
  headers: {
5493
5493
  "X-SessionId": r,
5494
5494
  "Content-Type": "application/json",
5495
5495
  Accept: "application/json"
5496
5496
  }
5497
- }).then((j) => _e(j, Q.CurrenciesError)).then((j) => {
5498
- d(j == null ? void 0 : j.currencies);
5497
+ }).then((j) => _e(j, q.CurrenciesError)).then((j) => {
5498
+ p(j == null ? void 0 : j.currencies);
5499
5499
  }).catch((j) => {
5500
- Se({
5500
+ n(17, be = !0), console.error("There was an error on the allowed currencies request.", j), Be({
5501
5501
  type: He.error,
5502
5502
  message: k("generalError"),
5503
- source: Q.CurrenciesError
5504
- }), w(), console.error("There was an error on the allowed currencies request.", j);
5503
+ source: q.CurrenciesError
5504
+ }), w();
5505
5505
  }).finally(() => {
5506
- n(17, Ae = !0);
5506
+ n(17, be = !0);
5507
5507
  });
5508
- }), rt = ({ data: d, shouldUpdateSelectedCurrencies: w, allowed: P = [] }) => {
5509
- const { items: x = [], totalAmount: j = {}, totalRealAmount: g } = d || {};
5510
- n(10, D = Object.entries(g || j).map(([B = "", ce = 0]) => ({ currency: B, amount: ce }))[0]);
5511
- let T = null;
5512
- const oe = new Map(P.map((B) => [B.code, B]));
5513
- for (const B of x)
5514
- if ((B == null ? void 0 : B.type) === jn.Real) {
5515
- const ce = oe.get(B == null ? void 0 : B.currency);
5516
- if (ce && ce.code === (B == null ? void 0 : B.currency)) {
5517
- const xe = Gt(Ve(Ve({}, B), ce), {
5518
- symbol: $a[B == null ? void 0 : B.currency]
5508
+ }), it = ({ data: p, shouldUpdateSelectedCurrencies: w, allowed: I = [] }) => {
5509
+ var Ve;
5510
+ const { items: x = [], totalAmount: j = {}, totalRealAmount: g } = p || {};
5511
+ n(10, D = Object.entries(g || j).map(([T = "", xe = 0]) => ({ currency: T, amount: xe }))[0]);
5512
+ let B = null;
5513
+ const ae = new Map(I.map((T) => [T.code, T]));
5514
+ for (const T of x)
5515
+ if ((T == null ? void 0 : T.type) === jn.Real) {
5516
+ const xe = ae.get(T == null ? void 0 : T.currency);
5517
+ if (xe && xe.code === (T == null ? void 0 : T.currency)) {
5518
+ const Se = $t(Fe(Fe({}, T), xe), {
5519
+ symbol: (Ve = jo[T == null ? void 0 : T.currency]) == null ? void 0 : Ve[0]
5519
5520
  });
5520
- n(37, he = [...he, xe]), (B == null ? void 0 : B.currency) === (D == null ? void 0 : D.currency) && n(10, D = Ve(Ve({}, D), xe)), (B == null ? void 0 : B.currency) !== (D == null ? void 0 : D.currency) && (B == null ? void 0 : B.walletAccountType) === jn.Vault && n(19, Ce = [...Ce, xe]), w && (B == null ? void 0 : B.amount) > 0 && n(5, p = D != null && D.currency ? D : T), p && (p == null ? void 0 : p.currency) === (B == null ? void 0 : B.currency) && n(5, p = xe), E && (E == null ? void 0 : E.currency) === (B == null ? void 0 : B.currency) && n(6, E = xe);
5521
+ n(37, he = [...he, Se]), (T == null ? void 0 : T.currency) === (D == null ? void 0 : D.currency) && n(10, D = Fe(Fe({}, D), Se)), (T == null ? void 0 : T.currency) !== (D == null ? void 0 : D.currency) && (T == null ? void 0 : T.walletAccountType) === jn.Vault && n(19, Ae = [...Ae, Se]), w && (T == null ? void 0 : T.amount) > 0 && n(5, d = D != null && D.currency ? D : B), d && (d == null ? void 0 : d.currency) === (T == null ? void 0 : T.currency) && n(5, d = Se), E && (E == null ? void 0 : E.currency) === (T == null ? void 0 : T.currency) && n(6, E = Se);
5521
5522
  }
5522
5523
  }
5523
- }, it = (d = !0) => {
5524
- const w = new URL(`${a}/v2/player/${i}/balance`);
5524
+ }, ot = (p = !0) => {
5525
+ const w = new URL(`${o}/v2/player/${i}/balance`);
5525
5526
  fetch(w, {
5526
5527
  method: "GET",
5527
5528
  headers: {
@@ -5529,33 +5530,33 @@ function bo(e, t, n) {
5529
5530
  "Content-Type": "application/json",
5530
5531
  Accept: "application/json"
5531
5532
  }
5532
- }).then((x) => _e(x, Q.BalanceError)).then((x) => {
5533
+ }).then((x) => _e(x, q.BalanceError)).then((x) => {
5533
5534
  x && te().then((j) => {
5534
- n(37, he = []), n(19, Ce = []), rt({
5535
+ n(37, he = []), n(19, Ae = []), it({
5535
5536
  data: x,
5536
- shouldUpdateSelectedCurrencies: d,
5537
+ shouldUpdateSelectedCurrencies: p,
5537
5538
  allowed: j
5538
5539
  });
5539
5540
  });
5540
5541
  }).catch((x) => {
5541
- Se({
5542
+ n(16, ce = !0), console.error("There was an error with the player balance request.", x), Be({
5542
5543
  type: He.error,
5543
5544
  message: k("generalError"),
5544
- source: Q.BalanceError
5545
- }), console.error("There was an error with the player balance request.", x);
5545
+ source: q.BalanceError
5546
+ });
5546
5547
  }).finally(() => {
5547
- n(16, be = !0);
5548
+ n(16, ce = !0);
5548
5549
  });
5549
- }, F = Wa(() => {
5550
- pt().then(() => {
5551
- const d = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), w = {
5550
+ }, F = zo(() => {
5551
+ mt().then(() => {
5552
+ const p = new URL(`${o}/v2/player/${i}/check/wallet-exchange`), w = {
5552
5553
  userId: i,
5553
5554
  amount: C,
5554
- currency: p == null ? void 0 : p.currency,
5555
- fromCurrency: p == null ? void 0 : p.currency,
5555
+ currency: d == null ? void 0 : d.currency,
5556
+ fromCurrency: d == null ? void 0 : d.currency,
5556
5557
  toCurrency: E == null ? void 0 : E.currency,
5557
5558
  payload: { PlayerCurrency: c }
5558
- }, P = {
5559
+ }, I = {
5559
5560
  method: "POST",
5560
5561
  headers: {
5561
5562
  "X-SessionId": r,
@@ -5564,39 +5565,39 @@ function bo(e, t, n) {
5564
5565
  },
5565
5566
  body: Wn(w)
5566
5567
  };
5567
- fetch(d, P).then((x) => _e(x, Q.CheckWalletExchangeError)).then((x) => {
5568
+ fetch(p, I).then((x) => _e(x, q.CheckWalletExchangeError)).then((x) => {
5568
5569
  var j, g;
5569
- x && ((X == null ? void 0 : X.source) === Q.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions) && n(9, y = ((g = x.walletActions.find((T) => (T == null ? void 0 : T.directionName) === "Credit")) == null ? void 0 : g.amount) || 0), C > 0 && (p != null && p.currency) && (E != null && E.currency) && c && n(14, ie = !1));
5570
+ x && ((X == null ? void 0 : X.source) === q.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions) && n(9, y = ((g = x.walletActions.find((B) => (B == null ? void 0 : B.directionName) === "Credit")) == null ? void 0 : g.amount) || 0), C > 0 && (d != null && d.currency) && (E != null && E.currency) && c && n(14, ie = !1));
5570
5571
  }).catch((x) => {
5571
- Se({
5572
+ Be({
5572
5573
  type: He.error,
5573
5574
  message: k("generalError"),
5574
- source: Q.CheckWalletExchangeError
5575
+ source: q.CheckWalletExchangeError
5575
5576
  }), console.error("There was a problem with the wallet exchange request.", x);
5576
5577
  });
5577
- }).catch((d) => {
5578
- ee(d);
5578
+ }).catch((p) => {
5579
+ ee(p);
5579
5580
  });
5580
- }, 500), Ut = (d) => {
5581
- const w = d.target.value, [P, x] = w.split(".");
5582
- !x && w.length >= Jt && n(8, C = w.slice(0, Jt)), x && (p == null ? void 0 : p.type) === Xn.Fiat && (x.length <= (p == null ? void 0 : p.precision) ? (n(8, C = w), R = w) : n(8, C = R)), x && (p == null ? void 0 : p.type) === Xn.CryptoCurrency && (w.length <= Jt ? (n(8, C = w), R = w) : n(8, C = R)), F();
5583
- }, mt = (d) => {
5584
- const w = d.data;
5585
- [">", "<", ","].includes(w) && d.preventDefault(), w && !w.match(/[\d.]/) && d.preventDefault(), w === "." && d.target.value.includes(".") && d.preventDefault();
5586
- }, gt = () => {
5581
+ }, 500), Vt = (p) => {
5582
+ const w = p.target.value, [I, x] = w.split(".");
5583
+ !x && w.length >= Jt && n(8, C = w.slice(0, Jt)), x && (d == null ? void 0 : d.type) === Xn.Fiat && (x.length <= (d == null ? void 0 : d.precision) ? (n(8, C = w), R = w) : n(8, C = R)), x && (d == null ? void 0 : d.type) === Xn.CryptoCurrency && (w.length <= Jt ? (n(8, C = w), R = w) : n(8, C = R)), F();
5584
+ }, gt = (p) => {
5585
+ const w = p.data;
5586
+ [">", "<", ","].includes(w) && p.preventDefault(), w && !w.match(/[\d.]/) && p.preventDefault(), w === "." && p.target.value.includes(".") && p.preventDefault();
5587
+ }, bt = () => {
5587
5588
  C === 0 && n(8, C = null);
5588
- }, de = () => {
5589
- const d = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5589
+ }, pe = () => {
5590
+ const p = new URL(`${o}/v2/player/${i}/wallet-exchange`);
5590
5591
  n(18, se = !0);
5591
5592
  const w = {
5592
5593
  feeDetails: M,
5593
5594
  userId: i,
5594
5595
  amount: C,
5595
- currency: p == null ? void 0 : p.currency,
5596
- fromCurrency: p == null ? void 0 : p.currency,
5596
+ currency: d == null ? void 0 : d.currency,
5597
+ fromCurrency: d == null ? void 0 : d.currency,
5597
5598
  toCurrency: E == null ? void 0 : E.currency,
5598
5599
  payload: { PlayerCurrency: c }
5599
- }, P = {
5600
+ }, I = {
5600
5601
  method: "PUT",
5601
5602
  headers: {
5602
5603
  "X-SessionId": r,
@@ -5605,75 +5606,75 @@ function bo(e, t, n) {
5605
5606
  },
5606
5607
  body: Wn(w)
5607
5608
  };
5608
- fetch(d, P).then((x) => _e(x, Q.WalletExchangeError)).then((x) => {
5609
- x && (Se({
5609
+ fetch(p, I).then((x) => _e(x, q.WalletExchangeError)).then((x) => {
5610
+ x && (Be({
5610
5611
  type: He.success,
5611
5612
  message: k("exchangeSuccess"),
5612
5613
  source: "ExchangeSuccess"
5613
- }), it(!1));
5614
+ }), ot(!1));
5614
5615
  }).catch((x) => {
5615
- Se({
5616
+ Be({
5616
5617
  type: He.error,
5617
5618
  message: k("generalError"),
5618
- source: Q.WalletExchangeError
5619
+ source: q.WalletExchangeError
5619
5620
  }), console.error("There was an error with the wallet exchange request.", x);
5620
5621
  }).finally(() => {
5621
- n(18, se = !1), ve(), Be();
5622
+ n(18, se = !1), ve(), Te();
5622
5623
  });
5623
- }, at = (d) => {
5624
- const { data: { type: w } = {} } = d || {};
5624
+ }, at = (p) => {
5625
+ const { data: { type: w } = {} } = p || {};
5625
5626
  switch (w) {
5626
5627
  case $n.ResetVaultWidget:
5627
- ae();
5628
+ oe();
5628
5629
  break;
5629
5630
  case $n.CloseVaultWidget:
5630
- nt();
5631
+ rt();
5631
5632
  break;
5632
5633
  }
5633
5634
  };
5634
- or(() => (window.addEventListener("message", at), () => {
5635
+ ar(() => (window.addEventListener("message", at), () => {
5635
5636
  window.removeEventListener("message", at);
5636
5637
  }));
5637
- function Vt() {
5638
- C = Bt(this.value), n(8, C);
5638
+ function Ft() {
5639
+ C = St(this.value), n(8, C);
5639
5640
  }
5640
- function bt(d) {
5641
- p = d, n(5, p);
5641
+ function yt(p) {
5642
+ d = p, n(5, d);
5642
5643
  }
5643
- function yt() {
5644
- y = Bt(this.value), n(9, y);
5644
+ function vt() {
5645
+ y = St(this.value), n(9, y);
5645
5646
  }
5646
- function pe(d) {
5647
- E = d, n(6, E);
5647
+ function de(p) {
5648
+ E = p, n(6, E);
5648
5649
  }
5649
- function vt(d) {
5650
- Xe[d ? "unshift" : "push"](() => {
5651
- fe = d, n(7, fe);
5650
+ function Et(p) {
5651
+ We[p ? "unshift" : "push"](() => {
5652
+ fe = p, n(7, fe);
5652
5653
  });
5653
5654
  }
5654
- return e.$$set = (d) => {
5655
- "session" in d && n(0, r = d.session), "userid" in d && n(30, i = d.userid), "endpoint" in d && n(31, a = d.endpoint), "lang" in d && n(32, o = d.lang), "clientstyling" in d && n(33, s = d.clientstyling), "clientstylingurl" in d && n(34, l = d.clientstylingurl), "translationurl" in d && n(35, u = d.translationurl), "playercurrency" in d && n(36, c = d.playercurrency), "showvaults" in d && n(1, f = d.showvaults), "showtotalbalance" in d && n(2, h = d.showtotalbalance), "showclosebutton" in d && n(3, m = d.showclosebutton), "showcurrencysymbol" in d && n(4, _ = d.showcurrencysymbol);
5655
+ return e.$$set = (p) => {
5656
+ "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, o = p.endpoint), "lang" in p && n(32, a = p.lang), "clientstyling" in p && n(33, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, c = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, m = p.showclosebutton), "showcurrencysymbol" in p && n(4, _ = p.showcurrencysymbol);
5656
5657
  }, e.$$.update = () => {
5657
5658
  e.$$.dirty[1] & /*lang*/
5658
- 2 && o && tt(), e.$$.dirty[0] & /*session, userid*/
5659
- 1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5660
- 33 && r && i && a && c && it(), e.$$.dirty[0] & /*customStylingContainer*/
5659
+ 2 && a && nt(), e.$$.dirty[0] & /*customStylingContainer*/
5661
5660
  128 | e.$$.dirty[1] & /*clientstyling*/
5662
5661
  4 && s && fe && Me(), e.$$.dirty[0] & /*customStylingContainer*/
5663
5662
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5664
5663
  8 && l && fe && dt(), e.$$.dirty[1] & /*translationurl*/
5665
- 16 && u && Te(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5664
+ 16 && u && Ce(), e.$$.dirty[0] & /*session, userid*/
5665
+ 1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5666
+ 33 && r && i && o && c && ot(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5666
5667
  64 | e.$$.dirty[1] & /*filteredBalances*/
5667
- 64 && n(20, K = he.filter((d) => (d == null ? void 0 : d.amount) > 0 && (d == null ? void 0 : d.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5668
+ 64 && n(20, K = he.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5668
5669
  32 | e.$$.dirty[1] & /*filteredBalances*/
5669
- 64 && n(21, q = he.filter((d) => (p == null ? void 0 : p.currency) !== (d == null ? void 0 : d.currency)));
5670
+ 64 && n(21, J = he.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5670
5671
  }, [
5671
5672
  r,
5672
5673
  f,
5673
5674
  h,
5674
5675
  m,
5675
5676
  _,
5676
- p,
5677
+ d,
5677
5678
  E,
5678
5679
  fe,
5679
5680
  C,
@@ -5684,43 +5685,43 @@ function bo(e, t, n) {
5684
5685
  ge,
5685
5686
  ie,
5686
5687
  W,
5688
+ ce,
5687
5689
  be,
5688
- Ae,
5689
5690
  se,
5690
- Ce,
5691
+ Ae,
5691
5692
  K,
5692
- q,
5693
+ J,
5693
5694
  ke,
5694
- nt,
5695
- ae,
5695
+ rt,
5696
+ oe,
5696
5697
  F,
5697
- Ut,
5698
- mt,
5698
+ Vt,
5699
5699
  gt,
5700
- de,
5700
+ bt,
5701
+ pe,
5701
5702
  i,
5702
- a,
5703
5703
  o,
5704
+ a,
5704
5705
  s,
5705
5706
  l,
5706
5707
  u,
5707
5708
  c,
5708
5709
  he,
5709
- Vt,
5710
- bt,
5710
+ Ft,
5711
5711
  yt,
5712
- pe,
5713
- vt
5712
+ vt,
5713
+ de,
5714
+ Et
5714
5715
  ];
5715
5716
  }
5716
- class yo extends gn {
5717
+ class ya extends bn {
5717
5718
  constructor(t) {
5718
- super(), pn(
5719
+ super(), mn(
5719
5720
  this,
5720
5721
  t,
5721
- bo,
5722
- go,
5723
- Lt,
5722
+ ba,
5723
+ ga,
5724
+ Nt,
5724
5725
  {
5725
5726
  session: 0,
5726
5727
  userid: 30,
@@ -5735,7 +5736,7 @@ class yo extends gn {
5735
5736
  showclosebutton: 3,
5736
5737
  showcurrencysymbol: 4
5737
5738
  },
5738
- eo,
5739
+ ta,
5739
5740
  [-1, -1, -1]
5740
5741
  );
5741
5742
  }
@@ -5812,7 +5813,7 @@ class yo extends gn {
5812
5813
  this.$$set({ showcurrencysymbol: t }), G();
5813
5814
  }
5814
5815
  }
5815
- mn(yo, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5816
+ gn(ya, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5816
5817
  export {
5817
- yo as default
5818
+ ya as default
5818
5819
  };