@everymatrix/player-account-vault 0.19.9 → 0.19.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Br = Object.defineProperty, Sr = Object.defineProperties;
2
- var Hr = Object.getOwnPropertyDescriptors;
3
- var En = Object.getOwnPropertySymbols;
4
- var Pr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
- var Vt = (e, t, n) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ke = (e, t) => {
1
+ var Sr = Object.defineProperty, Hr = Object.defineProperties;
2
+ var Pr = Object.getOwnPropertyDescriptors;
3
+ var xn = Object.getOwnPropertySymbols;
4
+ var Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
5
+ var Ft = (e, t, n) => t in e ? Sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, De = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Pr.call(t, n) && Vt(e, n, t[n]);
8
- if (En)
9
- for (var n of En(t))
10
- Ir.call(t, n) && Vt(e, n, t[n]);
7
+ Ir.call(t, n) && Ft(e, n, t[n]);
8
+ if (xn)
9
+ for (var n of xn(t))
10
+ Lr.call(t, n) && Ft(e, n, t[n]);
11
11
  return e;
12
- }, Ft = (e, t) => Sr(e, Hr(t));
13
- var le = (e, t, n) => (Vt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Gt = (e, t, n) => new Promise((r, i) => {
12
+ }, Gt = (e, t) => Hr(e, Pr(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
15
  var o = (s) => {
16
16
  try {
17
17
  l(n.next(s));
@@ -29,25 +29,25 @@ var Gt = (e, t, n) => new Promise((r, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function qn(e) {
32
+ function er(e) {
33
33
  return e();
34
34
  }
35
- function xn() {
35
+ function wn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function _e(e) {
39
- e.forEach(qn);
39
+ e.forEach(er);
40
40
  }
41
- function lt(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function St(e, t) {
44
+ function Ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Lr(e) {
47
+ function Nr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function er(e, ...t) {
50
+ function tr(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
@@ -56,24 +56,24 @@ function er(e, ...t) {
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function Nr(e) {
59
+ function Or(e) {
60
60
  let t;
61
- return er(e, (n) => t = n)(), t;
61
+ return tr(e, (n) => t = n)(), t;
62
62
  }
63
- function Or(e) {
64
- return e && lt(e.destroy) ? e.destroy : I;
63
+ function Rr(e) {
64
+ return e && ut(e.destroy) ? e.destroy : I;
65
65
  }
66
66
  function _(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function hn(e, t, n) {
70
- const r = Rr(e);
69
+ function fn(e, t, n) {
70
+ const r = kr(e);
71
71
  if (!r.getElementById(t)) {
72
72
  const i = w("style");
73
- i.id = t, i.textContent = n, kr(r, i);
73
+ i.id = t, i.textContent = n, Dr(r, i);
74
74
  }
75
75
  }
76
- function Rr(e) {
76
+ function kr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function Rr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function kr(e, t) {
86
+ function Dr(e, t) {
87
87
  return _(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,14 +96,14 @@ function H(e, t, n) {
96
96
  function S(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function tr(e, t) {
99
+ function nr(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
103
103
  function w(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function wn(e) {
106
+ function An(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
109
  function z(e) {
@@ -112,13 +112,13 @@ function z(e) {
112
112
  function O() {
113
113
  return z(" ");
114
114
  }
115
- function Dr() {
115
+ function Mr() {
116
116
  return z("");
117
117
  }
118
118
  function ae(e, t, n, r) {
119
119
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
120
120
  }
121
- function Mr(e) {
121
+ function Ur(e) {
122
122
  return function(t) {
123
123
  return t.stopPropagation(), e.call(this, t);
124
124
  };
@@ -126,23 +126,23 @@ function Mr(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 wt(e) {
129
+ function At(e) {
130
130
  return e === "" ? null : +e;
131
131
  }
132
- function Ur(e) {
132
+ function Vr(e) {
133
133
  return Array.from(e.childNodes);
134
134
  }
135
135
  function re(e, t) {
136
136
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
137
137
  t);
138
138
  }
139
- function gt(e, t) {
139
+ function bt(e, t) {
140
140
  e.value = t == null ? "" : t;
141
141
  }
142
142
  function ue(e, t, n) {
143
143
  e.classList.toggle(t, !!n);
144
144
  }
145
- function Vr(e) {
145
+ function Fr(e) {
146
146
  const t = {};
147
147
  return e.childNodes.forEach(
148
148
  /** @param {Element} node */
@@ -151,122 +151,122 @@ function Vr(e) {
151
151
  }
152
152
  ), t;
153
153
  }
154
- let it;
155
- function rt(e) {
156
- it = e;
154
+ let ot;
155
+ function it(e) {
156
+ ot = e;
157
157
  }
158
- function Fr() {
159
- if (!it)
158
+ function Gr() {
159
+ if (!ot)
160
160
  throw new Error("Function called outside component initialization");
161
- return it;
161
+ return ot;
162
162
  }
163
- function Gr(e) {
164
- Fr().$$.on_mount.push(e);
163
+ function $r(e) {
164
+ Gr().$$.on_mount.push(e);
165
165
  }
166
- const Ue = [], Fe = [];
167
- let Ve = [];
168
- const Yt = [], $r = /* @__PURE__ */ Promise.resolve();
169
- let Jt = !1;
170
- function jr() {
171
- Jt || (Jt = !0, $r.then(G));
166
+ const Ve = [], Ge = [];
167
+ let Fe = [];
168
+ const Jt = [], jr = /* @__PURE__ */ Promise.resolve();
169
+ let qt = !1;
170
+ function Xr() {
171
+ qt || (qt = !0, jr.then(G));
172
172
  }
173
- function qt(e) {
174
- Ve.push(e);
173
+ function en(e) {
174
+ Fe.push(e);
175
175
  }
176
- function An(e) {
177
- Yt.push(e);
176
+ function Tn(e) {
177
+ Jt.push(e);
178
178
  }
179
- const $t = /* @__PURE__ */ new Set();
180
- let De = 0;
179
+ const jt = /* @__PURE__ */ new Set();
180
+ let Me = 0;
181
181
  function G() {
182
- if (De !== 0)
182
+ if (Me !== 0)
183
183
  return;
184
- const e = it;
184
+ const e = ot;
185
185
  do {
186
186
  try {
187
- for (; De < Ue.length; ) {
188
- const t = Ue[De];
189
- De++, rt(t), Xr(t.$$);
187
+ for (; Me < Ve.length; ) {
188
+ const t = Ve[Me];
189
+ Me++, it(t), Wr(t.$$);
190
190
  }
191
191
  } catch (t) {
192
- throw Ue.length = 0, De = 0, t;
192
+ throw Ve.length = 0, Me = 0, t;
193
193
  }
194
- for (rt(null), Ue.length = 0, De = 0; Fe.length; )
195
- Fe.pop()();
196
- for (let t = 0; t < Ve.length; t += 1) {
197
- const n = Ve[t];
198
- $t.has(n) || ($t.add(n), n());
194
+ for (it(null), Ve.length = 0, Me = 0; Ge.length; )
195
+ Ge.pop()();
196
+ for (let t = 0; t < Fe.length; t += 1) {
197
+ const n = Fe[t];
198
+ jt.has(n) || (jt.add(n), n());
199
199
  }
200
- Ve.length = 0;
201
- } while (Ue.length);
202
- for (; Yt.length; )
203
- Yt.pop()();
204
- Jt = !1, $t.clear(), rt(e);
200
+ Fe.length = 0;
201
+ } while (Ve.length);
202
+ for (; Jt.length; )
203
+ Jt.pop()();
204
+ qt = !1, jt.clear(), it(e);
205
205
  }
206
- function Xr(e) {
206
+ function Wr(e) {
207
207
  if (e.fragment !== null) {
208
208
  e.update(), _e(e.before_update);
209
209
  const t = e.dirty;
210
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qt);
210
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(en);
211
211
  }
212
212
  }
213
- function Wr(e) {
213
+ function zr(e) {
214
214
  const t = [], n = [];
215
- Ve.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ve = t;
215
+ Fe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Fe = t;
216
216
  }
217
- const vt = /* @__PURE__ */ new Set();
218
- let Be;
219
- function Se() {
220
- Be = {
217
+ const _t = /* @__PURE__ */ new Set();
218
+ let Se;
219
+ function He() {
220
+ Se = {
221
221
  r: 0,
222
222
  c: [],
223
- p: Be
223
+ p: Se
224
224
  // parent group
225
225
  };
226
226
  }
227
- function He() {
228
- Be.r || _e(Be.c), Be = Be.p;
227
+ function Pe() {
228
+ Se.r || _e(Se.c), Se = Se.p;
229
229
  }
230
230
  function V(e, t) {
231
- e && e.i && (vt.delete(e), e.i(t));
231
+ e && e.i && (_t.delete(e), e.i(t));
232
232
  }
233
233
  function W(e, t, n, r) {
234
234
  if (e && e.o) {
235
- if (vt.has(e))
235
+ if (_t.has(e))
236
236
  return;
237
- vt.add(e), Be.c.push(() => {
238
- vt.delete(e), r && (n && e.d(1), r());
237
+ _t.add(e), Se.c.push(() => {
238
+ _t.delete(e), r && (n && e.d(1), r());
239
239
  }), e.o(t);
240
240
  } else
241
241
  r && r();
242
242
  }
243
- function At(e) {
243
+ function Tt(e) {
244
244
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
245
245
  }
246
- function Tn(e, t, n) {
246
+ function Cn(e, t, n) {
247
247
  const r = e.$$.props[t];
248
248
  r !== void 0 && (e.$$.bound[r] = n, n(e.$$.ctx[r]));
249
249
  }
250
- function ot(e) {
250
+ function at(e) {
251
251
  e && e.c();
252
252
  }
253
- function Ge(e, t, n) {
253
+ function $e(e, t, n) {
254
254
  const { fragment: r, after_update: i } = e.$$;
255
- r && r.m(t, n), qt(() => {
256
- const o = e.$$.on_mount.map(qn).filter(lt);
255
+ r && r.m(t, n), en(() => {
256
+ const o = e.$$.on_mount.map(er).filter(ut);
257
257
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : _e(o), e.$$.on_mount = [];
258
- }), i.forEach(qt);
258
+ }), i.forEach(en);
259
259
  }
260
- function $e(e, t) {
260
+ function je(e, t) {
261
261
  const n = e.$$;
262
- n.fragment !== null && (Wr(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
262
+ n.fragment !== null && (zr(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
263
263
  }
264
- function zr(e, t) {
265
- e.$$.dirty[0] === -1 && (Ue.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
264
+ function Zr(e, t) {
265
+ e.$$.dirty[0] === -1 && (Ve.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
266
  }
267
- function fn(e, t, n, r, i, o, a = null, l = [-1]) {
268
- const s = it;
269
- rt(e);
267
+ function pn(e, t, n, r, i, o, a = null, l = [-1]) {
268
+ const s = ot;
269
+ it(e);
270
270
  const u = e.$$ = {
271
271
  fragment: null,
272
272
  ctx: [],
@@ -274,7 +274,7 @@ function fn(e, t, n, r, i, o, a = null, l = [-1]) {
274
274
  props: o,
275
275
  update: I,
276
276
  not_equal: i,
277
- bound: xn(),
277
+ bound: wn(),
278
278
  // lifecycle
279
279
  on_mount: [],
280
280
  on_destroy: [],
@@ -283,7 +283,7 @@ function fn(e, t, n, r, i, o, a = null, l = [-1]) {
283
283
  after_update: [],
284
284
  context: new Map(t.context || (s ? s.$$.context : [])),
285
285
  // everything else
286
- callbacks: xn(),
286
+ callbacks: wn(),
287
287
  dirty: l,
288
288
  skip_bound: !1,
289
289
  root: t.target || s.$$.root
@@ -292,19 +292,19 @@ function fn(e, t, n, r, i, o, a = null, l = [-1]) {
292
292
  let c = !1;
293
293
  if (u.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
294
294
  const x = m.length ? m[0] : h;
295
- return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), c && zr(e, f)), h;
295
+ return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), c && Zr(e, f)), h;
296
296
  }) : [], u.update(), c = !0, _e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
297
297
  if (t.hydrate) {
298
- const f = Ur(t.target);
298
+ const f = Vr(t.target);
299
299
  u.fragment && u.fragment.l(f), f.forEach(S);
300
300
  } else
301
301
  u.fragment && u.fragment.c();
302
- t.intro && V(e.$$.fragment), Ge(e, t.target, t.anchor), G();
302
+ t.intro && V(e.$$.fragment), $e(e, t.target, t.anchor), G();
303
303
  }
304
- rt(s);
304
+ it(s);
305
305
  }
306
- let nr;
307
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
306
+ let rr;
307
+ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
308
308
  constructor(t, n, r) {
309
309
  super();
310
310
  /** The Svelte component constructor */
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
341
341
  }
342
342
  }
343
343
  connectedCallback() {
344
- return Gt(this, null, function* () {
344
+ return $t(this, null, function* () {
345
345
  if (this.$$cn = !0, !this.$$c) {
346
346
  let t = function(o) {
347
347
  return () => {
@@ -365,18 +365,18 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
365
365
  };
366
366
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
367
367
  return;
368
- const n = {}, r = Vr(this);
368
+ const n = {}, r = Fr(this);
369
369
  for (const o of this.$$s)
370
370
  o in r && (n[o] = [t(o)]);
371
371
  for (const o of this.attributes) {
372
372
  const a = this.$$g_p(o.name);
373
- a in this.$$d || (this.$$d[a] = _t(a, o.value, this.$$p_d, "toProp"));
373
+ a in this.$$d || (this.$$d[a] = Et(a, o.value, this.$$p_d, "toProp"));
374
374
  }
375
375
  for (const o in this.$$p_d)
376
376
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
377
377
  this.$$c = new this.$$ctor({
378
378
  target: this.shadowRoot || this,
379
- props: Ft(ke({}, this.$$d), {
379
+ props: Gt(De({}, this.$$d), {
380
380
  $$slots: n,
381
381
  $$scope: {
382
382
  ctx: []
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
387
387
  this.$$r = !0;
388
388
  for (const o in this.$$p_d)
389
389
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
390
- const a = _t(
390
+ const a = Et(
391
391
  o,
392
392
  this.$$d[o],
393
393
  this.$$p_d,
@@ -411,7 +411,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
411
411
  // and setting attributes through setAttribute etc, this is helpful
412
412
  attributeChangedCallback(t, n, r) {
413
413
  var i;
414
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = _t(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
414
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Et(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
415
415
  }
416
416
  disconnectedCallback() {
417
417
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -424,7 +424,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
424
424
  ) || t;
425
425
  }
426
426
  });
427
- function _t(e, t, n, r) {
427
+ function Et(e, t, n, r) {
428
428
  var o;
429
429
  const i = (o = n[e]) == null ? void 0 : o.type;
430
430
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
@@ -454,8 +454,8 @@ function _t(e, t, n, r) {
454
454
  return t;
455
455
  }
456
456
  }
457
- function pn(e, t, n, r, i, o) {
458
- let a = class extends nr {
457
+ function dn(e, t, n, r, i, o) {
458
+ let a = class extends rr {
459
459
  constructor() {
460
460
  super(e, n, i), this.$$p_d = t;
461
461
  }
@@ -472,7 +472,7 @@ function pn(e, t, n, r, i, o) {
472
472
  },
473
473
  set(s) {
474
474
  var u;
475
- s = _t(l, s, t), this.$$d[l] = s, (u = this.$$c) == null || u.$set({ [l]: s });
475
+ s = Et(l, s, t), this.$$d[l] = s, (u = this.$$c) == null || u.$set({ [l]: s });
476
476
  }
477
477
  });
478
478
  }), r.forEach((l) => {
@@ -485,7 +485,7 @@ function pn(e, t, n, r, i, o) {
485
485
  }), e.element = /** @type {any} */
486
486
  a, a;
487
487
  }
488
- class dn {
488
+ class mn {
489
489
  constructor() {
490
490
  /**
491
491
  * ### PRIVATE API
@@ -506,7 +506,7 @@ class dn {
506
506
  }
507
507
  /** @returns {void} */
508
508
  $destroy() {
509
- $e(this, 1), this.$destroy = I;
509
+ je(this, 1), this.$destroy = I;
510
510
  }
511
511
  /**
512
512
  * @template {Extract<keyof Events, string>} K
@@ -515,7 +515,7 @@ class dn {
515
515
  * @returns {() => void}
516
516
  */
517
517
  $on(t, n) {
518
- if (!lt(n))
518
+ if (!ut(n))
519
519
  return I;
520
520
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
521
521
  return r.push(n), () => {
@@ -528,29 +528,29 @@ class dn {
528
528
  * @returns {void}
529
529
  */
530
530
  $set(t) {
531
- this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
531
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
532
  }
533
533
  }
534
- const Zr = "4";
535
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
536
- const Me = [];
537
- function Qr(e, t) {
534
+ const Qr = "4";
535
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
536
+ const Ue = [];
537
+ function Kr(e, t) {
538
538
  return {
539
- subscribe: Ht(e, t).subscribe
539
+ subscribe: Pt(e, t).subscribe
540
540
  };
541
541
  }
542
- function Ht(e, t = I) {
542
+ function Pt(e, t = I) {
543
543
  let n;
544
544
  const r = /* @__PURE__ */ new Set();
545
545
  function i(l) {
546
- if (St(e, l) && (e = l, n)) {
547
- const s = !Me.length;
546
+ if (Ht(e, l) && (e = l, n)) {
547
+ const s = !Ue.length;
548
548
  for (const u of r)
549
- u[1](), Me.push(u, e);
549
+ u[1](), Ue.push(u, e);
550
550
  if (s) {
551
- for (let u = 0; u < Me.length; u += 2)
552
- Me[u][0](Me[u + 1]);
553
- Me.length = 0;
551
+ for (let u = 0; u < Ue.length; u += 2)
552
+ Ue[u][0](Ue[u + 1]);
553
+ Ue.length = 0;
554
554
  }
555
555
  }
556
556
  }
@@ -565,12 +565,12 @@ function Ht(e, t = I) {
565
565
  }
566
566
  return { set: i, update: o, subscribe: a };
567
567
  }
568
- function Ze(e, t, n) {
568
+ function Qe(e, t, n) {
569
569
  const r = !Array.isArray(e), i = r ? [e] : e;
570
570
  if (!i.every(Boolean))
571
571
  throw new Error("derived() expects stores as input, got a falsy value");
572
572
  const o = t.length < 2;
573
- return Qr(n, (a, l) => {
573
+ return Kr(n, (a, l) => {
574
574
  let s = !1;
575
575
  const u = [];
576
576
  let c = 0, f = I;
@@ -579,9 +579,9 @@ function Ze(e, t, n) {
579
579
  return;
580
580
  f();
581
581
  const x = t(r ? u[0] : u, a, l);
582
- o ? a(x) : f = lt(x) ? x : I;
582
+ o ? a(x) : f = ut(x) ? x : I;
583
583
  }, m = i.map(
584
- (x, d) => er(
584
+ (x, d) => tr(
585
585
  x,
586
586
  (E) => {
587
587
  u[d] = E, c &= ~(1 << d), s && h();
@@ -596,92 +596,92 @@ function Ze(e, t, n) {
596
596
  };
597
597
  });
598
598
  }
599
- function Kr(e) {
599
+ function Yr(e) {
600
600
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
601
601
  }
602
- var Yr = function(t) {
603
- return Jr(t) && !qr(t);
602
+ var Jr = function(t) {
603
+ return qr(t) && !ei(t);
604
604
  };
605
- function Jr(e) {
605
+ function qr(e) {
606
606
  return !!e && typeof e == "object";
607
607
  }
608
- function qr(e) {
608
+ function ei(e) {
609
609
  var t = Object.prototype.toString.call(e);
610
- return t === "[object RegExp]" || t === "[object Date]" || ni(e);
611
- }
612
- var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
613
- function ni(e) {
614
- return e.$$typeof === ti;
610
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
615
611
  }
612
+ var ti = typeof Symbol == "function" && Symbol.for, ni = ti ? Symbol.for("react.element") : 60103;
616
613
  function ri(e) {
614
+ return e.$$typeof === ni;
615
+ }
616
+ function ii(e) {
617
617
  return Array.isArray(e) ? [] : {};
618
618
  }
619
- function at(e, t) {
620
- return t.clone !== !1 && t.isMergeableObject(e) ? je(ri(e), e, t) : e;
619
+ function st(e, t) {
620
+ return t.clone !== !1 && t.isMergeableObject(e) ? Xe(ii(e), e, t) : e;
621
621
  }
622
- function ii(e, t, n) {
622
+ function oi(e, t, n) {
623
623
  return e.concat(t).map(function(r) {
624
- return at(r, n);
624
+ return st(r, n);
625
625
  });
626
626
  }
627
- function oi(e, t) {
627
+ function ai(e, t) {
628
628
  if (!t.customMerge)
629
- return je;
629
+ return Xe;
630
630
  var n = t.customMerge(e);
631
- return typeof n == "function" ? n : je;
631
+ return typeof n == "function" ? n : Xe;
632
632
  }
633
- function ai(e) {
633
+ function si(e) {
634
634
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
635
635
  return Object.propertyIsEnumerable.call(e, t);
636
636
  }) : [];
637
637
  }
638
- function Cn(e) {
639
- return Object.keys(e).concat(ai(e));
638
+ function Bn(e) {
639
+ return Object.keys(e).concat(si(e));
640
640
  }
641
- function rr(e, t) {
641
+ function ir(e, t) {
642
642
  try {
643
643
  return t in e;
644
644
  } catch (n) {
645
645
  return !1;
646
646
  }
647
647
  }
648
- function si(e, t) {
649
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
648
+ function li(e, t) {
649
+ return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
650
650
  }
651
- function li(e, t, n) {
651
+ function ui(e, t, n) {
652
652
  var r = {};
653
- return n.isMergeableObject(e) && Cn(e).forEach(function(i) {
654
- r[i] = at(e[i], n);
655
- }), Cn(t).forEach(function(i) {
656
- si(e, i) || (rr(e, i) && n.isMergeableObject(t[i]) ? r[i] = oi(i, n)(e[i], t[i], n) : r[i] = at(t[i], n));
653
+ return n.isMergeableObject(e) && Bn(e).forEach(function(i) {
654
+ r[i] = st(e[i], n);
655
+ }), Bn(t).forEach(function(i) {
656
+ li(e, i) || (ir(e, i) && n.isMergeableObject(t[i]) ? r[i] = ai(i, n)(e[i], t[i], n) : r[i] = st(t[i], n));
657
657
  }), r;
658
658
  }
659
- function je(e, t, n) {
660
- n = n || {}, n.arrayMerge = n.arrayMerge || ii, n.isMergeableObject = n.isMergeableObject || Yr, n.cloneUnlessOtherwiseSpecified = at;
659
+ function Xe(e, t, n) {
660
+ n = n || {}, n.arrayMerge = n.arrayMerge || oi, n.isMergeableObject = n.isMergeableObject || Jr, n.cloneUnlessOtherwiseSpecified = st;
661
661
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
662
- return o ? r ? n.arrayMerge(e, t, n) : li(e, t, n) : at(t, n);
662
+ return o ? r ? n.arrayMerge(e, t, n) : ui(e, t, n) : st(t, n);
663
663
  }
664
- je.all = function(t, n) {
664
+ Xe.all = function(t, n) {
665
665
  if (!Array.isArray(t))
666
666
  throw new Error("first argument should be an array");
667
667
  return t.reduce(function(r, i) {
668
- return je(r, i, n);
668
+ return Xe(r, i, n);
669
669
  }, {});
670
670
  };
671
- var ui = je, ci = ui;
672
- const hi = /* @__PURE__ */ Kr(ci);
673
- var en = function(e, t) {
674
- return en = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
671
+ var ci = Xe, hi = ci;
672
+ const fi = /* @__PURE__ */ Yr(hi);
673
+ var tn = function(e, t) {
674
+ return tn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
675
675
  n.__proto__ = r;
676
676
  } || function(n, r) {
677
677
  for (var i in r)
678
678
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
679
- }, en(e, t);
679
+ }, tn(e, t);
680
680
  };
681
- function Pt(e, t) {
681
+ function It(e, t) {
682
682
  if (typeof t != "function" && t !== null)
683
683
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
684
- en(e, t);
684
+ tn(e, t);
685
685
  function n() {
686
686
  this.constructor = e;
687
687
  }
@@ -697,7 +697,7 @@ var me = function() {
697
697
  return t;
698
698
  }, me.apply(this, arguments);
699
699
  };
700
- function fi(e, t) {
700
+ function pi(e, t) {
701
701
  var n = {};
702
702
  for (var r in e)
703
703
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -706,43 +706,43 @@ function fi(e, t) {
706
706
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
707
707
  return n;
708
708
  }
709
- function jt(e, t, n) {
709
+ function Xt(e, t, n) {
710
710
  if (n || arguments.length === 2)
711
711
  for (var r = 0, i = t.length, o; r < i; r++)
712
712
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
713
713
  return e.concat(o || Array.prototype.slice.call(t));
714
714
  }
715
- function Xt(e, t) {
716
- var n = t && t.cache ? t.cache : vi, r = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : mi;
715
+ function Wt(e, t) {
716
+ var n = t && t.cache ? t.cache : _i, r = t && t.serializer ? t.serializer : yi, i = t && t.strategy ? t.strategy : gi;
717
717
  return i(e, {
718
718
  cache: n,
719
719
  serializer: r
720
720
  });
721
721
  }
722
- function pi(e) {
722
+ function di(e) {
723
723
  return e == null || typeof e == "number" || typeof e == "boolean";
724
724
  }
725
- function di(e, t, n, r) {
726
- var i = pi(r) ? r : n(r), o = t.get(i);
725
+ function mi(e, t, n, r) {
726
+ var i = di(r) ? r : n(r), o = t.get(i);
727
727
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
728
728
  }
729
- function ir(e, t, n) {
729
+ function or(e, t, n) {
730
730
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
731
731
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
732
732
  }
733
- function or(e, t, n, r, i) {
733
+ function ar(e, t, n, r, i) {
734
734
  return n.bind(t, e, r, i);
735
735
  }
736
- function mi(e, t) {
737
- var n = e.length === 1 ? di : ir;
738
- return or(e, this, n, t.cache.create(), t.serializer);
739
- }
740
736
  function gi(e, t) {
741
- return or(e, this, ir, t.cache.create(), t.serializer);
737
+ var n = e.length === 1 ? mi : or;
738
+ return ar(e, this, n, t.cache.create(), t.serializer);
739
+ }
740
+ function bi(e, t) {
741
+ return ar(e, this, or, t.cache.create(), t.serializer);
742
742
  }
743
- var bi = function() {
743
+ var yi = function() {
744
744
  return JSON.stringify(arguments);
745
- }, yi = (
745
+ }, vi = (
746
746
  /** @class */
747
747
  function() {
748
748
  function e() {
@@ -754,21 +754,21 @@ var bi = function() {
754
754
  this.cache[t] = n;
755
755
  }, e;
756
756
  }()
757
- ), vi = {
757
+ ), _i = {
758
758
  create: function() {
759
- return new yi();
759
+ return new vi();
760
760
  }
761
- }, Wt = {
762
- variadic: gi
763
- }, Tt = function() {
764
- return Tt = Object.assign || function(t) {
761
+ }, zt = {
762
+ variadic: bi
763
+ }, Ct = function() {
764
+ return Ct = Object.assign || function(t) {
765
765
  for (var n, r = 1, i = arguments.length; r < i; r++) {
766
766
  n = arguments[r];
767
767
  for (var o in n)
768
768
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
769
769
  }
770
770
  return t;
771
- }, Tt.apply(this, arguments);
771
+ }, Ct.apply(this, arguments);
772
772
  };
773
773
  var P;
774
774
  (function(e) {
@@ -778,47 +778,47 @@ var D;
778
778
  (function(e) {
779
779
  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";
780
780
  })(D || (D = {}));
781
- var Xe;
781
+ var We;
782
782
  (function(e) {
783
783
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
784
- })(Xe || (Xe = {}));
785
- function Bn(e) {
784
+ })(We || (We = {}));
785
+ function Sn(e) {
786
786
  return e.type === D.literal;
787
787
  }
788
- function _i(e) {
788
+ function Ei(e) {
789
789
  return e.type === D.argument;
790
790
  }
791
- function ar(e) {
791
+ function sr(e) {
792
792
  return e.type === D.number;
793
793
  }
794
- function sr(e) {
794
+ function lr(e) {
795
795
  return e.type === D.date;
796
796
  }
797
- function lr(e) {
797
+ function ur(e) {
798
798
  return e.type === D.time;
799
799
  }
800
- function ur(e) {
800
+ function cr(e) {
801
801
  return e.type === D.select;
802
802
  }
803
- function cr(e) {
803
+ function hr(e) {
804
804
  return e.type === D.plural;
805
805
  }
806
- function Ei(e) {
806
+ function xi(e) {
807
807
  return e.type === D.pound;
808
808
  }
809
- function hr(e) {
809
+ function fr(e) {
810
810
  return e.type === D.tag;
811
811
  }
812
- function fr(e) {
813
- return !!(e && typeof e == "object" && e.type === Xe.number);
812
+ function pr(e) {
813
+ return !!(e && typeof e == "object" && e.type === We.number);
814
814
  }
815
- function tn(e) {
816
- return !!(e && typeof e == "object" && e.type === Xe.dateTime);
815
+ function nn(e) {
816
+ return !!(e && typeof e == "object" && e.type === We.dateTime);
817
817
  }
818
- var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
819
- function wi(e) {
818
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
819
+ function Ai(e) {
820
820
  var t = {};
821
- return e.replace(xi, function(n) {
821
+ return e.replace(wi, function(n) {
822
822
  var r = n.length;
823
823
  switch (n[0]) {
824
824
  case "G":
@@ -917,11 +917,11 @@ var U = function() {
917
917
  return t;
918
918
  }, U.apply(this, arguments);
919
919
  };
920
- var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
921
- function Ti(e) {
920
+ var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
921
+ function Ci(e) {
922
922
  if (e.length === 0)
923
923
  throw new Error("Number skeleton cannot be empty");
924
- for (var t = e.split(Ai).filter(function(h) {
924
+ for (var t = e.split(Ti).filter(function(h) {
925
925
  return h.length > 0;
926
926
  }), n = [], r = 0, i = t; r < i.length; r++) {
927
927
  var o = i[r], a = o.split("/");
@@ -936,17 +936,17 @@ function Ti(e) {
936
936
  }
937
937
  return n;
938
938
  }
939
- function Ci(e) {
939
+ function Bi(e) {
940
940
  return e.replace(/^(.*?)-/, "");
941
941
  }
942
- var Sn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
943
- function Hn(e) {
942
+ var Hn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
943
+ function Pn(e) {
944
944
  var t = {};
945
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(n, r, i) {
945
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(n, r, i) {
946
946
  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)), "";
947
947
  }), t;
948
948
  }
949
- function gr(e) {
949
+ function br(e) {
950
950
  switch (e) {
951
951
  case "sign-auto":
952
952
  return {
@@ -986,7 +986,7 @@ function gr(e) {
986
986
  };
987
987
  }
988
988
  }
989
- function Si(e) {
989
+ function Hi(e) {
990
990
  var t;
991
991
  if (e[0] === "E" && e[1] === "E" ? (t = {
992
992
  notation: "engineering"
@@ -994,17 +994,17 @@ function Si(e) {
994
994
  notation: "scientific"
995
995
  }, e = e.slice(1)), t) {
996
996
  var n = e.slice(0, 2);
997
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
997
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
998
998
  throw new Error("Malformed concise eng/scientific notation");
999
999
  t.minimumIntegerDigits = e.length;
1000
1000
  }
1001
1001
  return t;
1002
1002
  }
1003
- function Pn(e) {
1004
- var t = {}, n = gr(e);
1003
+ function In(e) {
1004
+ var t = {}, n = br(e);
1005
1005
  return n || t;
1006
1006
  }
1007
- function Hi(e) {
1007
+ function Pi(e) {
1008
1008
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1009
1009
  var i = r[n];
1010
1010
  switch (i.stem) {
@@ -1028,7 +1028,7 @@ function Hi(e) {
1028
1028
  continue;
1029
1029
  case "measure-unit":
1030
1030
  case "unit":
1031
- t.style = "unit", t.unit = Ci(i.options[0]);
1031
+ t.style = "unit", t.unit = Bi(i.options[0]);
1032
1032
  continue;
1033
1033
  case "compact-short":
1034
1034
  case "K":
@@ -1040,12 +1040,12 @@ function Hi(e) {
1040
1040
  continue;
1041
1041
  case "scientific":
1042
1042
  t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(s, u) {
1043
- return U(U({}, s), Pn(u));
1043
+ return U(U({}, s), In(u));
1044
1044
  }, {}));
1045
1045
  continue;
1046
1046
  case "engineering":
1047
1047
  t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(s, u) {
1048
- return U(U({}, s), Pn(u));
1048
+ return U(U({}, s), In(u));
1049
1049
  }, {}));
1050
1050
  continue;
1051
1051
  case "notation-simple":
@@ -1090,7 +1090,7 @@ function Hi(e) {
1090
1090
  case "integer-width":
1091
1091
  if (i.options.length > 1)
1092
1092
  throw new RangeError("integer-width stems only accept a single optional option");
1093
- i.options[0].replace(Bi, function(s, u, c, f, h, m) {
1093
+ i.options[0].replace(Si, function(s, u, c, f, h, m) {
1094
1094
  if (u)
1095
1095
  t.minimumIntegerDigits = c.length;
1096
1096
  else {
@@ -1103,32 +1103,32 @@ function Hi(e) {
1103
1103
  });
1104
1104
  continue;
1105
1105
  }
1106
- if (mr.test(i.stem)) {
1106
+ if (gr.test(i.stem)) {
1107
1107
  t.minimumIntegerDigits = i.stem.length;
1108
1108
  continue;
1109
1109
  }
1110
- if (Sn.test(i.stem)) {
1110
+ if (Hn.test(i.stem)) {
1111
1111
  if (i.options.length > 1)
1112
1112
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1113
- i.stem.replace(Sn, function(s, u, c, f, h, m) {
1113
+ i.stem.replace(Hn, function(s, u, c, f, h, m) {
1114
1114
  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), "";
1115
1115
  });
1116
1116
  var o = i.options[0];
1117
- o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Hn(o)));
1117
+ o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Pn(o)));
1118
1118
  continue;
1119
1119
  }
1120
- if (dr.test(i.stem)) {
1121
- t = U(U({}, t), Hn(i.stem));
1120
+ if (mr.test(i.stem)) {
1121
+ t = U(U({}, t), Pn(i.stem));
1122
1122
  continue;
1123
1123
  }
1124
- var a = gr(i.stem);
1124
+ var a = br(i.stem);
1125
1125
  a && (t = U(U({}, t), a));
1126
- var l = Si(i.stem);
1126
+ var l = Hi(i.stem);
1127
1127
  l && (t = U(U({}, t), l));
1128
1128
  }
1129
1129
  return t;
1130
1130
  }
1131
- var bt = {
1131
+ var yt = {
1132
1132
  "001": [
1133
1133
  "H",
1134
1134
  "h"
@@ -2543,13 +2543,13 @@ var bt = {
2543
2543
  "h"
2544
2544
  ]
2545
2545
  };
2546
- function Pi(e, t) {
2546
+ function Ii(e, t) {
2547
2547
  for (var n = "", r = 0; r < e.length; r++) {
2548
2548
  var i = e.charAt(r);
2549
2549
  if (i === "j") {
2550
2550
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2551
2551
  o++, r++;
2552
- var a = 1 + (o & 1), l = o < 2 ? 1 : 3 + (o >> 1), s = "a", u = Ii(t);
2552
+ var a = 1 + (o & 1), l = o < 2 ? 1 : 3 + (o >> 1), s = "a", u = Li(t);
2553
2553
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2554
2554
  n += s;
2555
2555
  for (; a-- > 0; )
@@ -2559,7 +2559,7 @@ function Pi(e, t) {
2559
2559
  }
2560
2560
  return n;
2561
2561
  }
2562
- function Ii(e) {
2562
+ function Li(e) {
2563
2563
  var t = e.hourCycle;
2564
2564
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2565
2565
  e.hourCycles && // @ts-ignore
@@ -2578,23 +2578,23 @@ function Ii(e) {
2578
2578
  }
2579
2579
  var n = e.language, r;
2580
2580
  n !== "root" && (r = e.maximize().region);
2581
- var i = bt[r || ""] || bt[n || ""] || bt["".concat(n, "-001")] || bt["001"];
2581
+ var i = yt[r || ""] || yt[n || ""] || yt["".concat(n, "-001")] || yt["001"];
2582
2582
  return i[0];
2583
2583
  }
2584
- var zt, Li = new RegExp("^".concat(pr.source, "*")), Ni = new RegExp("".concat(pr.source, "*$"));
2584
+ var Zt, Ni = new RegExp("^".concat(dr.source, "*")), Oi = new RegExp("".concat(dr.source, "*$"));
2585
2585
  function N(e, t) {
2586
2586
  return { start: e, end: t };
2587
2587
  }
2588
- var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, ki = !!Object.fromEntries, Di = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Fi = Vi ? Number.isSafeInteger : function(e) {
2588
+ var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Di = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Gi = Fi ? Number.isSafeInteger : function(e) {
2589
2589
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2590
- }, nn = !0;
2590
+ }, rn = !0;
2591
2591
  try {
2592
- var Gi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2593
- nn = ((zt = Gi.exec("a")) === null || zt === void 0 ? void 0 : zt[0]) === "a";
2592
+ var $i = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2593
+ rn = ((Zt = $i.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
2594
2594
  } catch (e) {
2595
- nn = !1;
2595
+ rn = !1;
2596
2596
  }
2597
- var In = Oi ? (
2597
+ var Ln = Ri ? (
2598
2598
  // Native
2599
2599
  function(t, n, r) {
2600
2600
  return t.startsWith(n, r);
@@ -2604,7 +2604,7 @@ var In = Oi ? (
2604
2604
  function(t, n, r) {
2605
2605
  return t.slice(r, r + n.length) === n;
2606
2606
  }
2607
- ), rn = Ri ? String.fromCodePoint : (
2607
+ ), on = ki ? String.fromCodePoint : (
2608
2608
  // IE11
2609
2609
  function() {
2610
2610
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2616,9 +2616,9 @@ var In = Oi ? (
2616
2616
  }
2617
2617
  return r;
2618
2618
  }
2619
- ), Ln = (
2619
+ ), Nn = (
2620
2620
  // native
2621
- ki ? Object.fromEntries : (
2621
+ Di ? Object.fromEntries : (
2622
2622
  // Ponyfill
2623
2623
  function(t) {
2624
2624
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2628,7 +2628,7 @@ var In = Oi ? (
2628
2628
  return n;
2629
2629
  }
2630
2630
  )
2631
- ), br = Di ? (
2631
+ ), yr = Mi ? (
2632
2632
  // Native
2633
2633
  function(t, n) {
2634
2634
  return t.codePointAt(n);
@@ -2642,7 +2642,7 @@ var In = Oi ? (
2642
2642
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2643
2643
  }
2644
2644
  }
2645
- ), $i = Mi ? (
2645
+ ), ji = Ui ? (
2646
2646
  // Native
2647
2647
  function(t) {
2648
2648
  return t.trimStart();
@@ -2650,9 +2650,9 @@ var In = Oi ? (
2650
2650
  ) : (
2651
2651
  // Ponyfill
2652
2652
  function(t) {
2653
- return t.replace(Li, "");
2653
+ return t.replace(Ni, "");
2654
2654
  }
2655
- ), ji = Ui ? (
2655
+ ), Xi = Vi ? (
2656
2656
  // Native
2657
2657
  function(t) {
2658
2658
  return t.trimEnd();
@@ -2660,32 +2660,32 @@ var In = Oi ? (
2660
2660
  ) : (
2661
2661
  // Ponyfill
2662
2662
  function(t) {
2663
- return t.replace(Ni, "");
2663
+ return t.replace(Oi, "");
2664
2664
  }
2665
2665
  );
2666
- function yr(e, t) {
2666
+ function vr(e, t) {
2667
2667
  return new RegExp(e, t);
2668
2668
  }
2669
- var on;
2670
- if (nn) {
2671
- var Nn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2672
- on = function(t, n) {
2669
+ var an;
2670
+ if (rn) {
2671
+ var On = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2672
+ an = function(t, n) {
2673
2673
  var r;
2674
- Nn.lastIndex = n;
2675
- var i = Nn.exec(t);
2674
+ On.lastIndex = n;
2675
+ var i = On.exec(t);
2676
2676
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2677
2677
  };
2678
2678
  } else
2679
- on = function(t, n) {
2679
+ an = function(t, n) {
2680
2680
  for (var r = []; ; ) {
2681
- var i = br(t, n);
2682
- if (i === void 0 || vr(i) || Zi(i))
2681
+ var i = yr(t, n);
2682
+ if (i === void 0 || _r(i) || Qi(i))
2683
2683
  break;
2684
2684
  r.push(i), n += i >= 65536 ? 2 : 1;
2685
2685
  }
2686
- return rn.apply(void 0, r);
2686
+ return on.apply(void 0, r);
2687
2687
  };
2688
- var Xi = (
2688
+ var Wi = (
2689
2689
  /** @class */
2690
2690
  function() {
2691
2691
  function e(t, n) {
@@ -2716,7 +2716,7 @@ var Xi = (
2716
2716
  if (r)
2717
2717
  break;
2718
2718
  return this.error(P.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2719
- } else if (o === 60 && !this.ignoreTag && an(this.peek() || 0)) {
2719
+ } else if (o === 60 && !this.ignoreTag && sn(this.peek() || 0)) {
2720
2720
  var a = this.parseTag(t, n);
2721
2721
  if (a.err)
2722
2722
  return a;
@@ -2749,7 +2749,7 @@ var Xi = (
2749
2749
  return o;
2750
2750
  var a = o.val, l = this.clonePosition();
2751
2751
  if (this.bumpIf("</")) {
2752
- if (this.isEOF() || !an(this.char()))
2752
+ if (this.isEOF() || !sn(this.char()))
2753
2753
  return this.error(P.INVALID_TAG, N(l, this.clonePosition()));
2754
2754
  var s = this.clonePosition(), u = this.parseTagName();
2755
2755
  return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG, N(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2767,7 +2767,7 @@ var Xi = (
2767
2767
  return this.error(P.INVALID_TAG, N(r, this.clonePosition()));
2768
2768
  }, e.prototype.parseTagName = function() {
2769
2769
  var t = this.offset();
2770
- for (this.bump(); !this.isEOF() && zi(this.char()); )
2770
+ for (this.bump(); !this.isEOF() && Zi(this.char()); )
2771
2771
  this.bump();
2772
2772
  return this.message.slice(t, this.offset());
2773
2773
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2796,7 +2796,7 @@ var Xi = (
2796
2796
  };
2797
2797
  }, e.prototype.tryParseLeftAngleBracket = function() {
2798
2798
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2799
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2799
+ !zi(this.peek() || 0)) ? (this.bump(), "<") : null;
2800
2800
  }, e.prototype.tryParseQuote = function(t) {
2801
2801
  if (this.isEOF() || this.char() !== 39)
2802
2802
  return null;
@@ -2830,12 +2830,12 @@ var Xi = (
2830
2830
  n.push(r);
2831
2831
  this.bump();
2832
2832
  }
2833
- return rn.apply(void 0, n);
2833
+ return on.apply(void 0, n);
2834
2834
  }, e.prototype.tryParseUnquoted = function(t, n) {
2835
2835
  if (this.isEOF())
2836
2836
  return null;
2837
2837
  var r = this.char();
2838
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), rn(r));
2838
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), on(r));
2839
2839
  }, e.prototype.parseArgument = function(t, n) {
2840
2840
  var r = this.clonePosition();
2841
2841
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2864,7 +2864,7 @@ var Xi = (
2864
2864
  return this.error(P.MALFORMED_ARGUMENT, N(r, this.clonePosition()));
2865
2865
  }
2866
2866
  }, e.prototype.parseIdentifierIfPossible = function() {
2867
- var t = this.clonePosition(), n = this.offset(), r = on(this.message, n), i = n + r.length;
2867
+ var t = this.clonePosition(), n = this.offset(), r = an(this.message, n), i = n + r.length;
2868
2868
  this.bumpTo(i);
2869
2869
  var o = this.clonePosition(), a = N(t, o);
2870
2870
  return { value: r, location: a };
@@ -2883,7 +2883,7 @@ var Xi = (
2883
2883
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2884
2884
  if (f.err)
2885
2885
  return f;
2886
- var h = ji(f.val);
2886
+ var h = Xi(f.val);
2887
2887
  if (h.length === 0)
2888
2888
  return this.error(P.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2889
2889
  var m = N(c, this.clonePosition());
@@ -2893,8 +2893,8 @@ var Xi = (
2893
2893
  if (x.err)
2894
2894
  return x;
2895
2895
  var d = N(i, this.clonePosition());
2896
- if (u && In(u == null ? void 0 : u.style, "::", 0)) {
2897
- var E = $i(u.style.slice(2));
2896
+ if (u && Ln(u == null ? void 0 : u.style, "::", 0)) {
2897
+ var E = ji(u.style.slice(2));
2898
2898
  if (l === "number") {
2899
2899
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2900
2900
  return f.err ? f : {
@@ -2905,12 +2905,12 @@ var Xi = (
2905
2905
  if (E.length === 0)
2906
2906
  return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2907
2907
  var v = E;
2908
- this.locale && (v = Pi(E, this.locale));
2908
+ this.locale && (v = Ii(E, this.locale));
2909
2909
  var h = {
2910
- type: Xe.dateTime,
2910
+ type: We.dateTime,
2911
2911
  pattern: v,
2912
2912
  location: u.styleLocation,
2913
- parsedOptions: this.shouldParseSkeletons ? wi(v) : {}
2913
+ parsedOptions: this.shouldParseSkeletons ? Ai(v) : {}
2914
2914
  }, L = l === "date" ? D.date : D.time;
2915
2915
  return {
2916
2916
  val: { type: L, value: r, location: d, style: h },
@@ -2933,7 +2933,7 @@ var Xi = (
2933
2933
  case "select": {
2934
2934
  var C = this.clonePosition();
2935
2935
  if (this.bumpSpace(), !this.bumpIf(","))
2936
- return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, Tt({}, C)));
2936
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, Ct({}, C)));
2937
2937
  this.bumpSpace();
2938
2938
  var Y = this.parseIdentifierIfPossible(), R = 0;
2939
2939
  if (l !== "select" && Y.value === "offset") {
@@ -2956,7 +2956,7 @@ var Xi = (
2956
2956
  val: {
2957
2957
  type: D.select,
2958
2958
  value: r,
2959
- options: Ln(ie.val),
2959
+ options: Nn(ie.val),
2960
2960
  location: se
2961
2961
  },
2962
2962
  err: null
@@ -2964,7 +2964,7 @@ var Xi = (
2964
2964
  val: {
2965
2965
  type: D.plural,
2966
2966
  value: r,
2967
- options: Ln(ie.val),
2967
+ options: Nn(ie.val),
2968
2968
  offset: R,
2969
2969
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2970
2970
  location: se
@@ -3015,16 +3015,16 @@ var Xi = (
3015
3015
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3016
3016
  var r = [];
3017
3017
  try {
3018
- r = Ti(t);
3018
+ r = Ci(t);
3019
3019
  } catch (i) {
3020
3020
  return this.error(P.INVALID_NUMBER_SKELETON, n);
3021
3021
  }
3022
3022
  return {
3023
3023
  val: {
3024
- type: Xe.number,
3024
+ type: We.number,
3025
3025
  tokens: r,
3026
3026
  location: n,
3027
- parsedOptions: this.shouldParseSkeletons ? Hi(r) : {}
3027
+ parsedOptions: this.shouldParseSkeletons ? Pi(r) : {}
3028
3028
  },
3029
3029
  err: null
3030
3030
  };
@@ -3072,7 +3072,7 @@ var Xi = (
3072
3072
  break;
3073
3073
  }
3074
3074
  var s = N(i, this.clonePosition());
3075
- return o ? (a *= r, Fi(a) ? { val: a, err: null } : this.error(n, s)) : this.error(t, s);
3075
+ return o ? (a *= r, Gi(a) ? { val: a, err: null } : this.error(n, s)) : this.error(t, s);
3076
3076
  }, e.prototype.offset = function() {
3077
3077
  return this.position.offset;
3078
3078
  }, e.prototype.isEOF = function() {
@@ -3087,7 +3087,7 @@ var Xi = (
3087
3087
  var t = this.position.offset;
3088
3088
  if (t >= this.message.length)
3089
3089
  throw Error("out of bound");
3090
- var n = br(this.message, t);
3090
+ var n = yr(this.message, t);
3091
3091
  if (n === void 0)
3092
3092
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3093
3093
  return n;
@@ -3106,7 +3106,7 @@ var Xi = (
3106
3106
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3107
3107
  }
3108
3108
  }, e.prototype.bumpIf = function(t) {
3109
- if (In(this.message, t, this.offset())) {
3109
+ if (Ln(this.message, t, this.offset())) {
3110
3110
  for (var n = 0; n < t.length; n++)
3111
3111
  this.bump();
3112
3112
  return !0;
@@ -3128,7 +3128,7 @@ var Xi = (
3128
3128
  break;
3129
3129
  }
3130
3130
  }, e.prototype.bumpSpace = function() {
3131
- for (; !this.isEOF() && vr(this.char()); )
3131
+ for (; !this.isEOF() && _r(this.char()); )
3132
3132
  this.bump();
3133
3133
  }, e.prototype.peek = function() {
3134
3134
  if (this.isEOF())
@@ -3138,47 +3138,47 @@ var Xi = (
3138
3138
  }, e;
3139
3139
  }()
3140
3140
  );
3141
- function an(e) {
3141
+ function sn(e) {
3142
3142
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3143
3143
  }
3144
- function Wi(e) {
3145
- return an(e) || e === 47;
3146
- }
3147
3144
  function zi(e) {
3145
+ return sn(e) || e === 47;
3146
+ }
3147
+ function Zi(e) {
3148
3148
  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;
3149
3149
  }
3150
- function vr(e) {
3150
+ function _r(e) {
3151
3151
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3152
3152
  }
3153
- function Zi(e) {
3153
+ function Qi(e) {
3154
3154
  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;
3155
3155
  }
3156
- function sn(e) {
3156
+ function ln(e) {
3157
3157
  e.forEach(function(t) {
3158
- if (delete t.location, ur(t) || cr(t))
3158
+ if (delete t.location, cr(t) || hr(t))
3159
3159
  for (var n in t.options)
3160
- delete t.options[n].location, sn(t.options[n].value);
3160
+ delete t.options[n].location, ln(t.options[n].value);
3161
3161
  else
3162
- ar(t) && fr(t.style) || (sr(t) || lr(t)) && tn(t.style) ? delete t.style.location : hr(t) && sn(t.children);
3162
+ sr(t) && pr(t.style) || (lr(t) || ur(t)) && nn(t.style) ? delete t.style.location : fr(t) && ln(t.children);
3163
3163
  });
3164
3164
  }
3165
- function Qi(e, t) {
3166
- t === void 0 && (t = {}), t = Tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3167
- var n = new Xi(e, t).parse();
3165
+ function Ki(e, t) {
3166
+ t === void 0 && (t = {}), t = Ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3167
+ var n = new Wi(e, t).parse();
3168
3168
  if (n.err) {
3169
3169
  var r = SyntaxError(P[n.err.kind]);
3170
3170
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3171
3171
  }
3172
- return t != null && t.captureLocation || sn(n.val), n.val;
3172
+ return t != null && t.captureLocation || ln(n.val), n.val;
3173
3173
  }
3174
- var We;
3174
+ var ze;
3175
3175
  (function(e) {
3176
3176
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3177
- })(We || (We = {}));
3178
- var It = (
3177
+ })(ze || (ze = {}));
3178
+ var Lt = (
3179
3179
  /** @class */
3180
3180
  function(e) {
3181
- Pt(t, e);
3181
+ It(t, e);
3182
3182
  function t(n, r, i) {
3183
3183
  var o = e.call(this, n) || this;
3184
3184
  return o.code = r, o.originalMessage = i, o;
@@ -3187,48 +3187,48 @@ var It = (
3187
3187
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3188
3188
  }, t;
3189
3189
  }(Error)
3190
- ), On = (
3190
+ ), Rn = (
3191
3191
  /** @class */
3192
3192
  function(e) {
3193
- Pt(t, e);
3193
+ It(t, e);
3194
3194
  function t(n, r, i, o) {
3195
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), We.INVALID_VALUE, o) || this;
3195
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ze.INVALID_VALUE, o) || this;
3196
3196
  }
3197
3197
  return t;
3198
- }(It)
3199
- ), Ki = (
3198
+ }(Lt)
3199
+ ), Yi = (
3200
3200
  /** @class */
3201
3201
  function(e) {
3202
- Pt(t, e);
3202
+ It(t, e);
3203
3203
  function t(n, r, i) {
3204
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), We.INVALID_VALUE, i) || this;
3204
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ze.INVALID_VALUE, i) || this;
3205
3205
  }
3206
3206
  return t;
3207
- }(It)
3208
- ), Yi = (
3207
+ }(Lt)
3208
+ ), Ji = (
3209
3209
  /** @class */
3210
3210
  function(e) {
3211
- Pt(t, e);
3211
+ It(t, e);
3212
3212
  function t(n, r) {
3213
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), We.MISSING_VALUE, r) || this;
3213
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ze.MISSING_VALUE, r) || this;
3214
3214
  }
3215
3215
  return t;
3216
- }(It)
3216
+ }(Lt)
3217
3217
  ), te;
3218
3218
  (function(e) {
3219
3219
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3220
3220
  })(te || (te = {}));
3221
- function Ji(e) {
3221
+ function qi(e) {
3222
3222
  return e.length < 2 ? e : e.reduce(function(t, n) {
3223
3223
  var r = t[t.length - 1];
3224
3224
  return !r || r.type !== te.literal || n.type !== te.literal ? t.push(n) : r.value += n.value, t;
3225
3225
  }, []);
3226
3226
  }
3227
- function qi(e) {
3227
+ function eo(e) {
3228
3228
  return typeof e == "function";
3229
3229
  }
3230
- function Et(e, t, n, r, i, o, a) {
3231
- if (e.length === 1 && Bn(e[0]))
3230
+ function xt(e, t, n, r, i, o, a) {
3231
+ if (e.length === 1 && Sn(e[0]))
3232
3232
  return [
3233
3233
  {
3234
3234
  type: te.literal,
@@ -3237,14 +3237,14 @@ function Et(e, t, n, r, i, o, a) {
3237
3237
  ];
3238
3238
  for (var l = [], s = 0, u = e; s < u.length; s++) {
3239
3239
  var c = u[s];
3240
- if (Bn(c)) {
3240
+ if (Sn(c)) {
3241
3241
  l.push({
3242
3242
  type: te.literal,
3243
3243
  value: c.value
3244
3244
  });
3245
3245
  continue;
3246
3246
  }
3247
- if (Ei(c)) {
3247
+ if (xi(c)) {
3248
3248
  typeof o == "number" && l.push({
3249
3249
  type: te.literal,
3250
3250
  value: n.getNumberFormat(t).format(o)
@@ -3253,44 +3253,44 @@ function Et(e, t, n, r, i, o, a) {
3253
3253
  }
3254
3254
  var f = c.value;
3255
3255
  if (!(i && f in i))
3256
- throw new Yi(f, a);
3256
+ throw new Ji(f, a);
3257
3257
  var h = i[f];
3258
- if (_i(c)) {
3258
+ if (Ei(c)) {
3259
3259
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), l.push({
3260
3260
  type: typeof h == "string" ? te.literal : te.object,
3261
3261
  value: h
3262
3262
  });
3263
3263
  continue;
3264
3264
  }
3265
- if (sr(c)) {
3266
- var m = typeof c.style == "string" ? r.date[c.style] : tn(c.style) ? c.style.parsedOptions : void 0;
3265
+ if (lr(c)) {
3266
+ var m = typeof c.style == "string" ? r.date[c.style] : nn(c.style) ? c.style.parsedOptions : void 0;
3267
3267
  l.push({
3268
3268
  type: te.literal,
3269
3269
  value: n.getDateTimeFormat(t, m).format(h)
3270
3270
  });
3271
3271
  continue;
3272
3272
  }
3273
- if (lr(c)) {
3274
- var m = typeof c.style == "string" ? r.time[c.style] : tn(c.style) ? c.style.parsedOptions : r.time.medium;
3273
+ if (ur(c)) {
3274
+ var m = typeof c.style == "string" ? r.time[c.style] : nn(c.style) ? c.style.parsedOptions : r.time.medium;
3275
3275
  l.push({
3276
3276
  type: te.literal,
3277
3277
  value: n.getDateTimeFormat(t, m).format(h)
3278
3278
  });
3279
3279
  continue;
3280
3280
  }
3281
- if (ar(c)) {
3282
- var m = typeof c.style == "string" ? r.number[c.style] : fr(c.style) ? c.style.parsedOptions : void 0;
3281
+ if (sr(c)) {
3282
+ var m = typeof c.style == "string" ? r.number[c.style] : pr(c.style) ? c.style.parsedOptions : void 0;
3283
3283
  m && m.scale && (h = h * (m.scale || 1)), l.push({
3284
3284
  type: te.literal,
3285
3285
  value: n.getNumberFormat(t, m).format(h)
3286
3286
  });
3287
3287
  continue;
3288
3288
  }
3289
- if (hr(c)) {
3289
+ if (fr(c)) {
3290
3290
  var x = c.children, d = c.value, E = i[d];
3291
- if (!qi(E))
3292
- throw new Ki(d, "function", a);
3293
- var v = Et(x, t, n, r, i, o), L = E(v.map(function(R) {
3291
+ if (!eo(E))
3292
+ throw new Yi(d, "function", a);
3293
+ var v = xt(x, t, n, r, i, o), L = E(v.map(function(R) {
3294
3294
  return R.value;
3295
3295
  }));
3296
3296
  Array.isArray(L) || (L = [L]), l.push.apply(l, L.map(function(R) {
@@ -3300,42 +3300,42 @@ function Et(e, t, n, r, i, o, a) {
3300
3300
  };
3301
3301
  }));
3302
3302
  }
3303
- if (ur(c)) {
3303
+ if (cr(c)) {
3304
3304
  var C = c.options[h] || c.options.other;
3305
3305
  if (!C)
3306
- throw new On(c.value, h, Object.keys(c.options), a);
3307
- l.push.apply(l, Et(C.value, t, n, r, i));
3306
+ throw new Rn(c.value, h, Object.keys(c.options), a);
3307
+ l.push.apply(l, xt(C.value, t, n, r, i));
3308
3308
  continue;
3309
3309
  }
3310
- if (cr(c)) {
3310
+ if (hr(c)) {
3311
3311
  var C = c.options["=".concat(h)];
3312
3312
  if (!C) {
3313
3313
  if (!Intl.PluralRules)
3314
- throw new It(`Intl.PluralRules is not available in this environment.
3314
+ throw new Lt(`Intl.PluralRules is not available in this environment.
3315
3315
  Try polyfilling it using "@formatjs/intl-pluralrules"
3316
- `, We.MISSING_INTL_API, a);
3316
+ `, ze.MISSING_INTL_API, a);
3317
3317
  var Y = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3318
3318
  C = c.options[Y] || c.options.other;
3319
3319
  }
3320
3320
  if (!C)
3321
- throw new On(c.value, h, Object.keys(c.options), a);
3322
- l.push.apply(l, Et(C.value, t, n, r, i, h - (c.offset || 0)));
3321
+ throw new Rn(c.value, h, Object.keys(c.options), a);
3322
+ l.push.apply(l, xt(C.value, t, n, r, i, h - (c.offset || 0)));
3323
3323
  continue;
3324
3324
  }
3325
3325
  }
3326
- return Ji(l);
3326
+ return qi(l);
3327
3327
  }
3328
- function eo(e, t) {
3328
+ function to(e, t) {
3329
3329
  return t ? me(me(me({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3330
3330
  return n[r] = me(me({}, e[r]), t[r] || {}), n;
3331
3331
  }, {})) : e;
3332
3332
  }
3333
- function to(e, t) {
3333
+ function no(e, t) {
3334
3334
  return t ? Object.keys(e).reduce(function(n, r) {
3335
- return n[r] = eo(e[r], t[r]), n;
3335
+ return n[r] = to(e[r], t[r]), n;
3336
3336
  }, me({}, e)) : e;
3337
3337
  }
3338
- function Zt(e) {
3338
+ function Qt(e) {
3339
3339
  return {
3340
3340
  create: function() {
3341
3341
  return {
@@ -3349,39 +3349,39 @@ function Zt(e) {
3349
3349
  }
3350
3350
  };
3351
3351
  }
3352
- function no(e) {
3352
+ function ro(e) {
3353
3353
  return e === void 0 && (e = {
3354
3354
  number: {},
3355
3355
  dateTime: {},
3356
3356
  pluralRules: {}
3357
3357
  }), {
3358
- getNumberFormat: Xt(function() {
3358
+ getNumberFormat: Wt(function() {
3359
3359
  for (var t, n = [], r = 0; r < arguments.length; r++)
3360
3360
  n[r] = arguments[r];
3361
- return new ((t = Intl.NumberFormat).bind.apply(t, jt([void 0], n, !1)))();
3361
+ return new ((t = Intl.NumberFormat).bind.apply(t, Xt([void 0], n, !1)))();
3362
3362
  }, {
3363
- cache: Zt(e.number),
3364
- strategy: Wt.variadic
3363
+ cache: Qt(e.number),
3364
+ strategy: zt.variadic
3365
3365
  }),
3366
- getDateTimeFormat: Xt(function() {
3366
+ getDateTimeFormat: Wt(function() {
3367
3367
  for (var t, n = [], r = 0; r < arguments.length; r++)
3368
3368
  n[r] = arguments[r];
3369
- return new ((t = Intl.DateTimeFormat).bind.apply(t, jt([void 0], n, !1)))();
3369
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Xt([void 0], n, !1)))();
3370
3370
  }, {
3371
- cache: Zt(e.dateTime),
3372
- strategy: Wt.variadic
3371
+ cache: Qt(e.dateTime),
3372
+ strategy: zt.variadic
3373
3373
  }),
3374
- getPluralRules: Xt(function() {
3374
+ getPluralRules: Wt(function() {
3375
3375
  for (var t, n = [], r = 0; r < arguments.length; r++)
3376
3376
  n[r] = arguments[r];
3377
- return new ((t = Intl.PluralRules).bind.apply(t, jt([void 0], n, !1)))();
3377
+ return new ((t = Intl.PluralRules).bind.apply(t, Xt([void 0], n, !1)))();
3378
3378
  }, {
3379
- cache: Zt(e.pluralRules),
3380
- strategy: Wt.variadic
3379
+ cache: Qt(e.pluralRules),
3380
+ strategy: zt.variadic
3381
3381
  })
3382
3382
  };
3383
3383
  }
3384
- var ro = (
3384
+ var io = (
3385
3385
  /** @class */
3386
3386
  function() {
3387
3387
  function e(t, n, r, i) {
@@ -3400,7 +3400,7 @@ var ro = (
3400
3400
  }, []);
3401
3401
  return c.length <= 1 ? c[0] || "" : c;
3402
3402
  }, this.formatToParts = function(s) {
3403
- return Et(o.ast, o.locales, o.formatters, o.formats, s, void 0, o.message);
3403
+ return xt(o.ast, o.locales, o.formatters, o.formats, s, void 0, o.message);
3404
3404
  }, this.resolvedOptions = function() {
3405
3405
  var s;
3406
3406
  return {
@@ -3413,13 +3413,13 @@ var ro = (
3413
3413
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3414
3414
  var a = i || {};
3415
3415
  a.formatters;
3416
- var l = fi(a, ["formatters"]);
3416
+ var l = pi(a, ["formatters"]);
3417
3417
  this.ast = e.__parse(t, me(me({}, l), { locale: this.resolvedLocale }));
3418
3418
  } else
3419
3419
  this.ast = t;
3420
3420
  if (!Array.isArray(this.ast))
3421
3421
  throw new TypeError("A message must be provided as a String or AST.");
3422
- this.formats = to(e.formats, r), this.formatters = i && i.formatters || no(this.formatterCache);
3422
+ this.formats = no(e.formats, r), this.formatters = i && i.formatters || ro(this.formatterCache);
3423
3423
  }
3424
3424
  return Object.defineProperty(e, "defaultLocale", {
3425
3425
  get: function() {
@@ -3432,7 +3432,7 @@ var ro = (
3432
3432
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3433
3433
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3434
3434
  }
3435
- }, e.__parse = Qi, e.formats = {
3435
+ }, e.__parse = Ki, e.formats = {
3436
3436
  number: {
3437
3437
  integer: {
3438
3438
  maximumFractionDigits: 0
@@ -3493,7 +3493,7 @@ var ro = (
3493
3493
  }, e;
3494
3494
  }()
3495
3495
  );
3496
- function io(e, t) {
3496
+ function oo(e, t) {
3497
3497
  if (t == null)
3498
3498
  return;
3499
3499
  if (t in e)
@@ -3514,92 +3514,92 @@ function io(e, t) {
3514
3514
  r = void 0;
3515
3515
  return r;
3516
3516
  }
3517
- const we = {}, oo = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = n), n), _r = (e, t) => {
3517
+ const Ae = {}, ao = (e, t, n) => n && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = n), n), Er = (e, t) => {
3518
3518
  if (t == null)
3519
3519
  return;
3520
- if (t in we && e in we[t])
3521
- return we[t][e];
3522
- const n = Lt(t);
3520
+ if (t in Ae && e in Ae[t])
3521
+ return Ae[t][e];
3522
+ const n = Nt(t);
3523
3523
  for (let r = 0; r < n.length; r++) {
3524
- const i = n[r], o = so(i, e);
3524
+ const i = n[r], o = lo(i, e);
3525
3525
  if (o)
3526
- return oo(e, t, o);
3526
+ return ao(e, t, o);
3527
3527
  }
3528
3528
  };
3529
- let mn;
3530
- const Qe = Ht({});
3531
- function ao(e) {
3532
- return mn[e] || null;
3529
+ let gn;
3530
+ const Ke = Pt({});
3531
+ function so(e) {
3532
+ return gn[e] || null;
3533
3533
  }
3534
- function Er(e) {
3535
- return e in mn;
3534
+ function xr(e) {
3535
+ return e in gn;
3536
3536
  }
3537
- function so(e, t) {
3538
- if (!Er(e))
3537
+ function lo(e, t) {
3538
+ if (!xr(e))
3539
3539
  return null;
3540
- const n = ao(e);
3541
- return io(n, t);
3540
+ const n = so(e);
3541
+ return oo(n, t);
3542
3542
  }
3543
- function lo(e) {
3543
+ function uo(e) {
3544
3544
  if (e == null)
3545
3545
  return;
3546
- const t = Lt(e);
3546
+ const t = Nt(e);
3547
3547
  for (let n = 0; n < t.length; n++) {
3548
3548
  const r = t[n];
3549
- if (Er(r))
3549
+ if (xr(r))
3550
3550
  return r;
3551
3551
  }
3552
3552
  }
3553
- function xr(e, ...t) {
3554
- delete we[e], Qe.update((n) => (n[e] = hi.all([n[e] || {}, ...t]), n));
3553
+ function wr(e, ...t) {
3554
+ delete Ae[e], Ke.update((n) => (n[e] = fi.all([n[e] || {}, ...t]), n));
3555
3555
  }
3556
- Ze(
3557
- [Qe],
3556
+ Qe(
3557
+ [Ke],
3558
3558
  ([e]) => Object.keys(e)
3559
3559
  );
3560
- Qe.subscribe((e) => mn = e);
3561
- const xt = {};
3562
- function uo(e, t) {
3563
- xt[e].delete(t), xt[e].size === 0 && delete xt[e];
3560
+ Ke.subscribe((e) => gn = e);
3561
+ const wt = {};
3562
+ function co(e, t) {
3563
+ wt[e].delete(t), wt[e].size === 0 && delete wt[e];
3564
3564
  }
3565
- function wr(e) {
3566
- return xt[e];
3565
+ function Ar(e) {
3566
+ return wt[e];
3567
3567
  }
3568
- function co(e) {
3569
- return Lt(e).map((t) => {
3570
- const n = wr(t);
3568
+ function ho(e) {
3569
+ return Nt(e).map((t) => {
3570
+ const n = Ar(t);
3571
3571
  return [t, n ? [...n] : []];
3572
3572
  }).filter(([, t]) => t.length > 0);
3573
3573
  }
3574
- function ln(e) {
3575
- return e == null ? !1 : Lt(e).some(
3574
+ function un(e) {
3575
+ return e == null ? !1 : Nt(e).some(
3576
3576
  (t) => {
3577
3577
  var n;
3578
- return (n = wr(t)) == null ? void 0 : n.size;
3578
+ return (n = Ar(t)) == null ? void 0 : n.size;
3579
3579
  }
3580
3580
  );
3581
3581
  }
3582
- function ho(e, t) {
3582
+ function fo(e, t) {
3583
3583
  return Promise.all(
3584
- t.map((r) => (uo(e, r), r().then((i) => i.default || i)))
3585
- ).then((r) => xr(e, ...r));
3586
- }
3587
- const nt = {};
3588
- function Ar(e) {
3589
- if (!ln(e))
3590
- return e in nt ? nt[e] : Promise.resolve();
3591
- const t = co(e);
3592
- return nt[e] = Promise.all(
3584
+ t.map((r) => (co(e, r), r().then((i) => i.default || i)))
3585
+ ).then((r) => wr(e, ...r));
3586
+ }
3587
+ const rt = {};
3588
+ function Tr(e) {
3589
+ if (!un(e))
3590
+ return e in rt ? rt[e] : Promise.resolve();
3591
+ const t = ho(e);
3592
+ return rt[e] = Promise.all(
3593
3593
  t.map(
3594
- ([n, r]) => ho(n, r)
3594
+ ([n, r]) => fo(n, r)
3595
3595
  )
3596
3596
  ).then(() => {
3597
- if (ln(e))
3598
- return Ar(e);
3599
- delete nt[e];
3600
- }), nt[e];
3597
+ if (un(e))
3598
+ return Tr(e);
3599
+ delete rt[e];
3600
+ }), rt[e];
3601
3601
  }
3602
- const fo = {
3602
+ const po = {
3603
3603
  number: {
3604
3604
  scientific: { notation: "scientific" },
3605
3605
  engineering: { notation: "engineering" },
@@ -3628,150 +3628,150 @@ const fo = {
3628
3628
  timeZoneName: "short"
3629
3629
  }
3630
3630
  }
3631
- }, po = {
3631
+ }, mo = {
3632
3632
  fallbackLocale: null,
3633
3633
  loadingDelay: 200,
3634
- formats: fo,
3634
+ formats: po,
3635
3635
  warnOnMissingMessages: !0,
3636
3636
  handleMissingMessage: void 0,
3637
3637
  ignoreTag: !0
3638
- }, mo = po;
3639
- function ze() {
3640
- return mo;
3638
+ }, go = mo;
3639
+ function Ze() {
3640
+ return go;
3641
3641
  }
3642
- const Qt = Ht(!1);
3643
- var go = Object.defineProperty, bo = Object.defineProperties, yo = Object.getOwnPropertyDescriptors, Rn = Object.getOwnPropertySymbols, vo = Object.prototype.hasOwnProperty, _o = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Eo = (e, t) => {
3642
+ const Kt = Pt(!1);
3643
+ var bo = Object.defineProperty, yo = Object.defineProperties, vo = Object.getOwnPropertyDescriptors, kn = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, Eo = Object.prototype.propertyIsEnumerable, Dn = (e, t, n) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xo = (e, t) => {
3644
3644
  for (var n in t || (t = {}))
3645
- vo.call(t, n) && kn(e, n, t[n]);
3646
- if (Rn)
3647
- for (var n of Rn(t))
3648
- _o.call(t, n) && kn(e, n, t[n]);
3645
+ _o.call(t, n) && Dn(e, n, t[n]);
3646
+ if (kn)
3647
+ for (var n of kn(t))
3648
+ Eo.call(t, n) && Dn(e, n, t[n]);
3649
3649
  return e;
3650
- }, xo = (e, t) => bo(e, yo(t));
3651
- let un;
3652
- const Ct = Ht(null);
3653
- function Dn(e) {
3650
+ }, wo = (e, t) => yo(e, vo(t));
3651
+ let cn;
3652
+ const Bt = Pt(null);
3653
+ function Mn(e) {
3654
3654
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3655
3655
  }
3656
- function Lt(e, t = ze().fallbackLocale) {
3657
- const n = Dn(e);
3658
- return t ? [.../* @__PURE__ */ new Set([...n, ...Dn(t)])] : n;
3656
+ function Nt(e, t = Ze().fallbackLocale) {
3657
+ const n = Mn(e);
3658
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Mn(t)])] : n;
3659
3659
  }
3660
- function Pe() {
3661
- return un != null ? un : void 0;
3660
+ function Ie() {
3661
+ return cn != null ? cn : void 0;
3662
3662
  }
3663
- Ct.subscribe((e) => {
3664
- un = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3663
+ Bt.subscribe((e) => {
3664
+ cn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3665
3665
  });
3666
- const wo = (e) => {
3667
- if (e && lo(e) && ln(e)) {
3668
- const { loadingDelay: t } = ze();
3666
+ const Ao = (e) => {
3667
+ if (e && uo(e) && un(e)) {
3668
+ const { loadingDelay: t } = Ze();
3669
3669
  let n;
3670
- return typeof window != "undefined" && Pe() != null && t ? n = window.setTimeout(
3671
- () => Qt.set(!0),
3670
+ return typeof window != "undefined" && Ie() != null && t ? n = window.setTimeout(
3671
+ () => Kt.set(!0),
3672
3672
  t
3673
- ) : Qt.set(!0), Ar(e).then(() => {
3674
- Ct.set(e);
3673
+ ) : Kt.set(!0), Tr(e).then(() => {
3674
+ Bt.set(e);
3675
3675
  }).finally(() => {
3676
- clearTimeout(n), Qt.set(!1);
3676
+ clearTimeout(n), Kt.set(!1);
3677
3677
  });
3678
3678
  }
3679
- return Ct.set(e);
3680
- }, Ae = xo(Eo({}, Ct), {
3681
- set: wo
3682
- }), Nt = (e) => {
3679
+ return Bt.set(e);
3680
+ }, Te = wo(xo({}, Bt), {
3681
+ set: Ao
3682
+ }), Ot = (e) => {
3683
3683
  const t = /* @__PURE__ */ Object.create(null);
3684
3684
  return (r) => {
3685
3685
  const i = JSON.stringify(r);
3686
3686
  return i in t ? t[i] : t[i] = e(r);
3687
3687
  };
3688
3688
  };
3689
- var Ao = Object.defineProperty, Bt = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Mn = (e, t, n) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gn = (e, t) => {
3689
+ var To = Object.defineProperty, St = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Un = (e, t, n) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bn = (e, t) => {
3690
3690
  for (var n in t || (t = {}))
3691
- Tr.call(t, n) && Mn(e, n, t[n]);
3692
- if (Bt)
3693
- for (var n of Bt(t))
3694
- Cr.call(t, n) && Mn(e, n, t[n]);
3691
+ Cr.call(t, n) && Un(e, n, t[n]);
3692
+ if (St)
3693
+ for (var n of St(t))
3694
+ Br.call(t, n) && Un(e, n, t[n]);
3695
3695
  return e;
3696
- }, Ke = (e, t) => {
3696
+ }, Ye = (e, t) => {
3697
3697
  var n = {};
3698
3698
  for (var r in e)
3699
- Tr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3700
- if (e != null && Bt)
3701
- for (var r of Bt(e))
3702
- t.indexOf(r) < 0 && Cr.call(e, r) && (n[r] = e[r]);
3699
+ Cr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3700
+ if (e != null && St)
3701
+ for (var r of St(e))
3702
+ t.indexOf(r) < 0 && Br.call(e, r) && (n[r] = e[r]);
3703
3703
  return n;
3704
3704
  };
3705
- const st = (e, t) => {
3706
- const { formats: n } = ze();
3705
+ const lt = (e, t) => {
3706
+ const { formats: n } = Ze();
3707
3707
  if (e in n && t in n[e])
3708
3708
  return n[e][t];
3709
3709
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3710
- }, To = Nt(
3710
+ }, Co = Ot(
3711
3711
  (e) => {
3712
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3712
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3713
3713
  if (n == null)
3714
3714
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3715
- return r && (i = st("number", r)), new Intl.NumberFormat(n, i);
3715
+ return r && (i = lt("number", r)), new Intl.NumberFormat(n, i);
3716
3716
  }
3717
- ), Co = Nt(
3717
+ ), Bo = Ot(
3718
3718
  (e) => {
3719
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3719
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3720
3720
  if (n == null)
3721
3721
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3722
- return r ? i = st("date", r) : Object.keys(i).length === 0 && (i = st("date", "short")), new Intl.DateTimeFormat(n, i);
3722
+ return r ? i = lt("date", r) : Object.keys(i).length === 0 && (i = lt("date", "short")), new Intl.DateTimeFormat(n, i);
3723
3723
  }
3724
- ), Bo = Nt(
3724
+ ), So = Ot(
3725
3725
  (e) => {
3726
- var t = e, { locale: n, format: r } = t, i = Ke(t, ["locale", "format"]);
3726
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3727
3727
  if (n == null)
3728
3728
  throw new Error(
3729
3729
  '[svelte-i18n] A "locale" must be set to format time values'
3730
3730
  );
3731
- return r ? i = st("time", r) : Object.keys(i).length === 0 && (i = st("time", "short")), new Intl.DateTimeFormat(n, i);
3731
+ return r ? i = lt("time", r) : Object.keys(i).length === 0 && (i = lt("time", "short")), new Intl.DateTimeFormat(n, i);
3732
3732
  }
3733
- ), So = (e = {}) => {
3733
+ ), Ho = (e = {}) => {
3734
3734
  var t = e, {
3735
- locale: n = Pe()
3736
- } = t, r = Ke(t, [
3735
+ locale: n = Ie()
3736
+ } = t, r = Ye(t, [
3737
3737
  "locale"
3738
3738
  ]);
3739
- return To(gn({ locale: n }, r));
3740
- }, Ho = (e = {}) => {
3739
+ return Co(bn({ locale: n }, r));
3740
+ }, Po = (e = {}) => {
3741
3741
  var t = e, {
3742
- locale: n = Pe()
3743
- } = t, r = Ke(t, [
3742
+ locale: n = Ie()
3743
+ } = t, r = Ye(t, [
3744
3744
  "locale"
3745
3745
  ]);
3746
- return Co(gn({ locale: n }, r));
3747
- }, Po = (e = {}) => {
3746
+ return Bo(bn({ locale: n }, r));
3747
+ }, Io = (e = {}) => {
3748
3748
  var t = e, {
3749
- locale: n = Pe()
3750
- } = t, r = Ke(t, [
3749
+ locale: n = Ie()
3750
+ } = t, r = Ye(t, [
3751
3751
  "locale"
3752
3752
  ]);
3753
- return Bo(gn({ locale: n }, r));
3754
- }, Io = Nt(
3753
+ return So(bn({ locale: n }, r));
3754
+ }, Lo = Ot(
3755
3755
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3756
- (e, t = Pe()) => new ro(e, t, ze().formats, {
3757
- ignoreTag: ze().ignoreTag
3756
+ (e, t = Ie()) => new io(e, t, Ze().formats, {
3757
+ ignoreTag: Ze().ignoreTag
3758
3758
  })
3759
- ), Lo = (e, t = {}) => {
3759
+ ), No = (e, t = {}) => {
3760
3760
  var n, r, i, o;
3761
3761
  let a = t;
3762
3762
  typeof e == "object" && (a = e, e = a.id);
3763
3763
  const {
3764
3764
  values: l,
3765
- locale: s = Pe(),
3765
+ locale: s = Ie(),
3766
3766
  default: u
3767
3767
  } = a;
3768
3768
  if (s == null)
3769
3769
  throw new Error(
3770
3770
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3771
3771
  );
3772
- let c = _r(e, s);
3772
+ let c = Er(e, s);
3773
3773
  if (!c)
3774
- c = (o = (i = (r = (n = ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3774
+ c = (o = (i = (r = (n = Ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: s, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3775
3775
  else if (typeof c != "string")
3776
3776
  return console.warn(
3777
3777
  `[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.`
@@ -3780,7 +3780,7 @@ const st = (e, t) => {
3780
3780
  return c;
3781
3781
  let f = c;
3782
3782
  try {
3783
- f = Io(c, s).format(l);
3783
+ f = Lo(c, s).format(l);
3784
3784
  } catch (h) {
3785
3785
  h instanceof Error && console.warn(
3786
3786
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3788,23 +3788,23 @@ const st = (e, t) => {
3788
3788
  );
3789
3789
  }
3790
3790
  return f;
3791
- }, No = (e, t) => Po(t).format(e), Oo = (e, t) => Ho(t).format(e), Ro = (e, t) => So(t).format(e), ko = (e, t = Pe()) => _r(e, t), Do = Ze([Ae, Qe], () => Lo);
3792
- Ze([Ae], () => No);
3793
- Ze([Ae], () => Oo);
3794
- Ze([Ae], () => Ro);
3795
- Ze([Ae, Qe], () => ko);
3796
- function Mo({ withLocale: e, translations: t }) {
3797
- Ae.subscribe((n) => {
3798
- n == null && (Qe.set(t), Ae.set(e));
3791
+ }, Oo = (e, t) => Io(t).format(e), Ro = (e, t) => Po(t).format(e), ko = (e, t) => Ho(t).format(e), Do = (e, t = Ie()) => Er(e, t), Mo = Qe([Te, Ke], () => No);
3792
+ Qe([Te], () => Oo);
3793
+ Qe([Te], () => Ro);
3794
+ Qe([Te], () => ko);
3795
+ Qe([Te, Ke], () => Do);
3796
+ function Uo({ withLocale: e, translations: t }) {
3797
+ Te.subscribe((n) => {
3798
+ n == null && (Ke.set(t), Te.set(e));
3799
3799
  });
3800
3800
  }
3801
- function Un(e, t) {
3802
- xr(e, t);
3801
+ function Vn(e, t) {
3802
+ wr(e, t);
3803
3803
  }
3804
- function Uo(e) {
3805
- Ae.set(e);
3804
+ function Vo(e) {
3805
+ Te.set(e);
3806
3806
  }
3807
- const k = Nr(Do), Vn = {
3807
+ const k = Or(Mo), Fn = {
3808
3808
  en: {
3809
3809
  vaultExchange: "Vault Exchange",
3810
3810
  debitPlaceHolder: "Debit amount",
@@ -3911,7 +3911,7 @@ const k = Nr(Do), Vn = {
3911
3911
  10114: "Kullanıcı hesabı aktif değil.",
3912
3912
  10115: "İşlem niyeti bulunamadı."
3913
3913
  }
3914
- }, Vo = {
3914
+ }, Fo = {
3915
3915
  "1INCH": "",
3916
3916
  AAVE: "",
3917
3917
  ADA: "₳",
@@ -4187,33 +4187,35 @@ const k = Nr(Do), Vn = {
4187
4187
  ZMK: "",
4188
4188
  ZMW: "",
4189
4189
  ZWD: "Z$"
4190
- }, Fo = 6e3, Go = {
4190
+ }, Go = 6e3, $o = {
4191
4191
  InvalidSession: "Invalid session"
4192
4192
  }, K = {
4193
4193
  BalanceError: "BalanceError",
4194
4194
  CheckWalletExchangeError: "CheckWalletExchangeError",
4195
4195
  WalletExchangeError: "WalletExchangeError",
4196
4196
  CurrenciesError: "CurrenciesError"
4197
- }, Fn = {
4197
+ }, Gn = {
4198
4198
  ResetVaultWidget: "ResetVaultWidget",
4199
4199
  CloseVaultWidget: "CloseVaultWidget"
4200
- }, Kt = {
4200
+ }, Yt = {
4201
4201
  VaultWidgetReset: "VaultWidgetReset",
4202
4202
  VaultWidgetClosed: "VaultWidgetClosed",
4203
4203
  VaultDropdownToggled: "VaultDropdownToggled"
4204
- }, Gn = {
4204
+ }, $n = {
4205
4205
  Real: "Real",
4206
4206
  Vault: "Vault"
4207
4207
  }, xe = {
4208
4208
  success: "success",
4209
4209
  error: "error"
4210
- }, $o = String(Number.MAX_SAFE_INTEGER) + 1, yt = {
4210
+ }, jo = String(Number.MAX_SAFE_INTEGER) + 1, vt = {
4211
4211
  ArrowDown: "ArrowDown",
4212
4212
  ArrowUp: "ArrowUp",
4213
4213
  Enter: "Enter",
4214
4214
  Escape: "Escape"
4215
+ }, we = {
4216
+ true: "true"
4215
4217
  };
4216
- function jo(e, t) {
4218
+ function Xo(e, t) {
4217
4219
  let n;
4218
4220
  return function(...r) {
4219
4221
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4221,14 +4223,14 @@ function jo(e, t) {
4221
4223
  }, t);
4222
4224
  };
4223
4225
  }
4224
- const $n = (e, t = null, n = 2) => {
4226
+ const jn = (e, t = null, n = 2) => {
4225
4227
  try {
4226
4228
  return JSON.stringify(e, t, n);
4227
4229
  } catch (r) {
4228
4230
  return console.warn("Failed to stringify:", r), null;
4229
4231
  }
4230
4232
  };
4231
- function Xo(e) {
4233
+ function Wo(e) {
4232
4234
  const t = (n) => {
4233
4235
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4234
4236
  };
@@ -4238,14 +4240,14 @@ function Xo(e) {
4238
4240
  }
4239
4241
  };
4240
4242
  }
4241
- function Wo(e) {
4242
- hn(e, "svelte-1fe9nk9", ".selectWrapper.svelte-1fe9nk9.svelte-1fe9nk9{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-1fe9nk9.svelte-1fe9nk9{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;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));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-1fe9nk9.svelte-1fe9nk9{display:flex;align-items:center}.selectDropdown.svelte-1fe9nk9.svelte-1fe9nk9{position:absolute;top:calc(100% + 2px);left:0;right:0;display:flex;flex-direction:column;gap:4px;max-height:200px;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-1fe9nk9 li.svelte-1fe9nk9{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-1fe9nk9 li.svelte-1fe9nk9:hover,.selectDropdown.svelte-1fe9nk9 li.active.svelte-1fe9nk9{background:var(--emw--selected-option, var(--emw-w-color-gray-150, #f0f0f0))}.symbol.svelte-1fe9nk9.svelte-1fe9nk9{display:inline-flex;width:1rem;height:1rem;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw-typography, var(--emw-w-color-gray-450, #595959));font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--color-white, #fff))}");
4243
+ function zo(e) {
4244
+ fn(e, "svelte-1fe9nk9", ".selectWrapper.svelte-1fe9nk9.svelte-1fe9nk9{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-1fe9nk9.svelte-1fe9nk9{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;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));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-1fe9nk9.svelte-1fe9nk9{display:flex;align-items:center}.selectDropdown.svelte-1fe9nk9.svelte-1fe9nk9{position:absolute;top:calc(100% + 2px);left:0;right:0;display:flex;flex-direction:column;gap:4px;max-height:200px;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-1fe9nk9 li.svelte-1fe9nk9{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-1fe9nk9 li.svelte-1fe9nk9:hover,.selectDropdown.svelte-1fe9nk9 li.active.svelte-1fe9nk9{background:var(--emw--selected-option, var(--emw-w-color-gray-150, #f0f0f0))}.symbol.svelte-1fe9nk9.svelte-1fe9nk9{display:inline-flex;width:1rem;height:1rem;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw-typography, var(--emw-w-color-gray-450, #595959));font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--color-white, #fff))}");
4243
4245
  }
4244
- function jn(e, t, n) {
4246
+ function Xn(e, t, n) {
4245
4247
  const r = e.slice();
4246
4248
  return r[14] = t[n], r[16] = n, r;
4247
4249
  }
4248
- function Xn(e) {
4250
+ function Wn(e) {
4249
4251
  var i;
4250
4252
  let t, n = (
4251
4253
  /*selected*/
@@ -4269,13 +4271,13 @@ function Xn(e) {
4269
4271
  }
4270
4272
  };
4271
4273
  }
4272
- function Wn(e) {
4273
- let t, n = At(
4274
+ function zn(e) {
4275
+ let t, n = Tt(
4274
4276
  /*options*/
4275
4277
  e[1]
4276
4278
  ), r = [];
4277
4279
  for (let i = 0; i < n.length; i += 1)
4278
- r[i] = zn(jn(e, n, i));
4280
+ r[i] = Zn(Xn(e, n, i));
4279
4281
  return {
4280
4282
  c() {
4281
4283
  t = w("ul");
@@ -4292,14 +4294,14 @@ function Wn(e) {
4292
4294
  p(i, o) {
4293
4295
  if (o & /*options, selected, activeIndex, handleChange*/
4294
4296
  547) {
4295
- n = At(
4297
+ n = Tt(
4296
4298
  /*options*/
4297
4299
  i[1]
4298
4300
  );
4299
4301
  let a;
4300
4302
  for (a = 0; a < n.length; a += 1) {
4301
- const l = jn(i, n, a);
4302
- r[a] ? r[a].p(l, o) : (r[a] = zn(l), r[a].c(), r[a].m(t, null));
4303
+ const l = Xn(i, n, a);
4304
+ r[a] ? r[a].p(l, o) : (r[a] = Zn(l), r[a].c(), r[a].m(t, null));
4303
4305
  }
4304
4306
  for (; a < r.length; a += 1)
4305
4307
  r[a].d(1);
@@ -4307,11 +4309,11 @@ function Wn(e) {
4307
4309
  }
4308
4310
  },
4309
4311
  d(i) {
4310
- i && S(t), tr(r, i), e[13](null);
4312
+ i && S(t), nr(r, i), e[13](null);
4311
4313
  }
4312
4314
  };
4313
4315
  }
4314
- function zn(e) {
4316
+ function Zn(e) {
4315
4317
  var h, m;
4316
4318
  let t, n, r = (
4317
4319
  /*option*/
@@ -4339,9 +4341,9 @@ function zn(e) {
4339
4341
  },
4340
4342
  m(x, d) {
4341
4343
  H(x, t, d), _(t, n), _(n, i), _(t, o), _(t, l), _(t, s), c || (f = [
4342
- ae(t, "keydown", Zo),
4344
+ ae(t, "keydown", Qo),
4343
4345
  ae(t, "click", function() {
4344
- lt(
4346
+ ut(
4345
4347
  /*handleChange*/
4346
4348
  e[9](
4347
4349
  /*option*/
@@ -4385,7 +4387,7 @@ function zn(e) {
4385
4387
  }
4386
4388
  };
4387
4389
  }
4388
- function zo(e) {
4390
+ function Zo(e) {
4389
4391
  var x, d;
4390
4392
  let t, n, r, i, o = (
4391
4393
  /*selected*/
@@ -4394,10 +4396,10 @@ function zo(e) {
4394
4396
  ), a, l, s, u, c, f, h = (
4395
4397
  /*selected*/
4396
4398
  ((d = e[0]) == null ? void 0 : d.symbol) && /*withSymbol*/
4397
- e[4] && Xn(e)
4399
+ e[3] === we.true && Wn(e)
4398
4400
  ), m = (
4399
4401
  /*open*/
4400
- e[7] && Wn(e)
4402
+ e[7] && zn(e)
4401
4403
  );
4402
4404
  return {
4403
4405
  c() {
@@ -4412,7 +4414,7 @@ function zo(e) {
4412
4414
  /*open*/
4413
4415
  e[7]
4414
4416
  ), b(n, "aria-controls", "custom-select"), b(n, "tabindex", "0"), n.disabled = /*disabled*/
4415
- e[3], b(t, "class", "selectWrapper svelte-1fe9nk9");
4417
+ e[4], b(t, "class", "selectWrapper svelte-1fe9nk9");
4416
4418
  },
4417
4419
  m(E, v) {
4418
4420
  H(E, t, v), _(t, n), _(n, r), h && h.m(r, null), _(r, i), _(r, a), _(n, l), _(n, s), _(t, u), m && m.m(t, null), c || (f = [
@@ -4422,11 +4424,11 @@ function zo(e) {
4422
4424
  /*handleKeyDown*/
4423
4425
  e[11]
4424
4426
  ),
4425
- ae(n, "click", Mr(
4427
+ ae(n, "click", Ur(
4426
4428
  /*handleToggleDropdown*/
4427
4429
  e[8]
4428
4430
  )),
4429
- Or(Xo.call(null, t)),
4431
+ Rr(Wo.call(null, t)),
4430
4432
  ae(
4431
4433
  t,
4432
4434
  "outclick",
@@ -4439,7 +4441,7 @@ function zo(e) {
4439
4441
  var L, C;
4440
4442
  /*selected*/
4441
4443
  (L = E[0]) != null && L.symbol && /*withSymbol*/
4442
- E[4] ? h ? h.p(E, v) : (h = Xn(E), h.c(), h.m(r, i)) : h && (h.d(1), h = null), v & /*selected, placeholder*/
4444
+ E[3] === we.true ? h ? h.p(E, v) : (h = Wn(E), h.c(), h.m(r, i)) : h && (h.d(1), h = null), v & /*selected, placeholder*/
4443
4445
  5 && o !== (o = /*selected*/
4444
4446
  (((C = E[0]) == null ? void 0 : C.currency) || /*placeholder*/
4445
4447
  E[2]) + "") && re(a, o), v & /*open*/
@@ -4455,9 +4457,9 @@ function zo(e) {
4455
4457
  /*open*/
4456
4458
  E[7]
4457
4459
  ), v & /*disabled*/
4458
- 8 && (n.disabled = /*disabled*/
4459
- E[3]), /*open*/
4460
- E[7] ? m ? m.p(E, v) : (m = Wn(E), m.c(), m.m(t, null)) : m && (m.d(1), m = null);
4460
+ 16 && (n.disabled = /*disabled*/
4461
+ E[4]), /*open*/
4462
+ E[7] ? m ? m.p(E, v) : (m = zn(E), m.c(), m.m(t, null)) : m && (m.d(1), m = null);
4461
4463
  },
4462
4464
  i: I,
4463
4465
  o: I,
@@ -4466,9 +4468,9 @@ function zo(e) {
4466
4468
  }
4467
4469
  };
4468
4470
  }
4469
- const Zo = (e) => e.preventDefault();
4470
- function Qo(e, t, n) {
4471
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { disabled: a = !1 } = t, { withSymbol: l = !0 } = t, { onChange: s = () => {
4471
+ const Qo = (e) => e.preventDefault();
4472
+ function Ko(e, t, n) {
4473
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { withSymbol: a = "true" } = t, { disabled: l = !1 } = t, { onChange: s = () => {
4472
4474
  } } = t, u = -1, c, f = !1;
4473
4475
  const h = () => {
4474
4476
  r.length !== 0 && (n(7, f = !f), f && (n(5, u = r.findIndex((v) => (v == null ? void 0 : v.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => c == null ? void 0 : c.focus(), 0)));
@@ -4477,15 +4479,15 @@ function Qo(e, t, n) {
4477
4479
  }, x = () => {
4478
4480
  n(7, f = !1);
4479
4481
  }, d = (v) => {
4480
- f && (v.key === yt.ArrowDown ? (v.preventDefault(), n(5, u = (u + 1) % r.length)) : v.key === yt.ArrowUp ? (v.preventDefault(), n(5, u = (u - 1 + r.length) % r.length)) : v.key === yt.Enter ? (v.preventDefault(), m(i, u)()) : v.key === yt.Escape && n(7, f = !1));
4482
+ f && (v.key === vt.ArrowDown ? (v.preventDefault(), n(5, u = (u + 1) % r.length)) : v.key === vt.ArrowUp ? (v.preventDefault(), n(5, u = (u - 1 + r.length) % r.length)) : v.key === vt.Enter ? (v.preventDefault(), m(i, u)()) : v.key === vt.Escape && n(7, f = !1));
4481
4483
  };
4482
4484
  function E(v) {
4483
- Fe[v ? "unshift" : "push"](() => {
4485
+ Ge[v ? "unshift" : "push"](() => {
4484
4486
  c = v, n(6, c);
4485
4487
  });
4486
4488
  }
4487
4489
  return e.$$set = (v) => {
4488
- "options" in v && n(1, r = v.options), "selected" in v && n(0, i = v.selected), "placeholder" in v && n(2, o = v.placeholder), "disabled" in v && n(3, a = v.disabled), "withSymbol" in v && n(4, l = v.withSymbol), "onChange" in v && n(12, s = v.onChange);
4490
+ "options" in v && n(1, r = v.options), "selected" in v && n(0, i = v.selected), "placeholder" in v && n(2, o = v.placeholder), "withSymbol" in v && n(3, a = v.withSymbol), "disabled" in v && n(4, l = v.disabled), "onChange" in v && n(12, s = v.onChange);
4489
4491
  }, [
4490
4492
  i,
4491
4493
  r,
@@ -4503,23 +4505,23 @@ function Qo(e, t, n) {
4503
4505
  E
4504
4506
  ];
4505
4507
  }
4506
- class cn extends dn {
4508
+ class hn extends mn {
4507
4509
  constructor(t) {
4508
- super(), fn(
4510
+ super(), pn(
4509
4511
  this,
4510
4512
  t,
4511
- Qo,
4512
- zo,
4513
- St,
4513
+ Ko,
4514
+ Zo,
4515
+ Ht,
4514
4516
  {
4515
4517
  options: 1,
4516
4518
  selected: 0,
4517
4519
  placeholder: 2,
4518
- disabled: 3,
4519
- withSymbol: 4,
4520
+ withSymbol: 3,
4521
+ disabled: 4,
4520
4522
  onChange: 12
4521
4523
  },
4522
- Wo
4524
+ zo
4523
4525
  );
4524
4526
  }
4525
4527
  get options() {
@@ -4540,17 +4542,17 @@ class cn extends dn {
4540
4542
  set placeholder(t) {
4541
4543
  this.$$set({ placeholder: t }), G();
4542
4544
  }
4543
- get disabled() {
4545
+ get withSymbol() {
4544
4546
  return this.$$.ctx[3];
4545
4547
  }
4546
- set disabled(t) {
4547
- this.$$set({ disabled: t }), G();
4548
+ set withSymbol(t) {
4549
+ this.$$set({ withSymbol: t }), G();
4548
4550
  }
4549
- get withSymbol() {
4551
+ get disabled() {
4550
4552
  return this.$$.ctx[4];
4551
4553
  }
4552
- set withSymbol(t) {
4553
- this.$$set({ withSymbol: t }), G();
4554
+ set disabled(t) {
4555
+ this.$$set({ disabled: t }), G();
4554
4556
  }
4555
4557
  get onChange() {
4556
4558
  return this.$$.ctx[12];
@@ -4559,11 +4561,11 @@ class cn extends dn {
4559
4561
  this.$$set({ onChange: t }), G();
4560
4562
  }
4561
4563
  }
4562
- pn(cn, { options: {}, selected: {}, placeholder: {}, disabled: { type: "Boolean" }, withSymbol: { type: "Boolean" }, onChange: {} }, [], [], !0);
4563
- function Ko(e) {
4564
- hn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4565
- }
4564
+ dn(hn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4566
4565
  function Yo(e) {
4566
+ fn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4567
+ }
4568
+ function Jo(e) {
4567
4569
  let t, n, r = k("balanceUnavailable") + "", i;
4568
4570
  return {
4569
4571
  c() {
@@ -4580,20 +4582,20 @@ function Yo(e) {
4580
4582
  }
4581
4583
  };
4582
4584
  }
4583
- class Ot extends dn {
4585
+ class Rt extends mn {
4584
4586
  constructor(t) {
4585
- super(), fn(this, t, null, Yo, St, {}, Ko);
4587
+ super(), pn(this, t, null, Jo, Ht, {}, Yo);
4586
4588
  }
4587
4589
  }
4588
- pn(Ot, {}, [], [], !0);
4589
- function Jo(e) {
4590
- hn(e, "svelte-vp2pzr", '@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, var(--emw--color-gray-450, #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}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.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, var(--emw--color-red, #ed0909))}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, var(--emw--color-red, #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, var(--emw--color-red, #FF2424))}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, var(--emw--color-primary, #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, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--typography, var(--emw--color-gray-450, #595959));border:2px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, var(--emw--color-gray-450, #595959))}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, var(--emw--color-gray-450, #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}');
4590
+ dn(Rt, {}, [], [], !0);
4591
+ function qo(e) {
4592
+ fn(e, "svelte-vp2pzr", '@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, var(--emw--color-gray-450, #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}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.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, var(--emw--color-red, #ed0909))}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, var(--emw--color-red, #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, var(--emw--color-red, #FF2424))}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, var(--emw--color-primary, #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, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--typography, var(--emw--color-gray-450, #595959));border:2px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, var(--emw--color-white, #fff))}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, var(--emw--color-gray-450, #595959))}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, var(--emw--color-gray-450, #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}');
4591
4593
  }
4592
- function Zn(e, t, n) {
4594
+ function Qn(e, t, n) {
4593
4595
  const r = e.slice();
4594
4596
  return r[60] = t[n], r;
4595
4597
  }
4596
- function Qn(e) {
4598
+ function Kn(e) {
4597
4599
  let t, n, r;
4598
4600
  return {
4599
4601
  c() {
@@ -4613,9 +4615,9 @@ function Qn(e) {
4613
4615
  }
4614
4616
  };
4615
4617
  }
4616
- function Kn(e) {
4618
+ function Yn(e) {
4617
4619
  let t, n, r, i;
4618
- const o = [ea, qo], a = [];
4620
+ const o = [ta, ea], a = [];
4619
4621
  function l(s, u) {
4620
4622
  return !/*isBalanceFetched*/
4621
4623
  s[16] || !/*isCurrenciesFetched*/
@@ -4623,16 +4625,16 @@ function Kn(e) {
4623
4625
  }
4624
4626
  return t = l(e), n = a[t] = o[t](e), {
4625
4627
  c() {
4626
- n.c(), r = Dr();
4628
+ n.c(), r = Mr();
4627
4629
  },
4628
4630
  m(s, u) {
4629
4631
  a[t].m(s, u), H(s, r, u), i = !0;
4630
4632
  },
4631
4633
  p(s, u) {
4632
4634
  let c = t;
4633
- t = l(s), t === c ? a[t].p(s, u) : (Se(), W(a[c], 1, 1, () => {
4635
+ t = l(s), t === c ? a[t].p(s, u) : (He(), W(a[c], 1, 1, () => {
4634
4636
  a[c] = null;
4635
- }), He(), n = a[t], n ? n.p(s, u) : (n = a[t] = o[t](s), n.c()), V(n, 1), n.m(r.parentNode, r));
4637
+ }), Pe(), n = a[t], n ? n.p(s, u) : (n = a[t] = o[t](s), n.c()), V(n, 1), n.m(r.parentNode, r));
4636
4638
  },
4637
4639
  i(s) {
4638
4640
  i || (V(n), i = !0);
@@ -4645,9 +4647,9 @@ function Kn(e) {
4645
4647
  }
4646
4648
  };
4647
4649
  }
4648
- function qo(e) {
4650
+ function ea(e) {
4649
4651
  let t, n, r, i;
4650
- const o = [na, ta], a = [];
4652
+ const o = [ra, na], a = [];
4651
4653
  function l(s, u) {
4652
4654
  var c;
4653
4655
  return (
@@ -4664,9 +4666,9 @@ function qo(e) {
4664
4666
  },
4665
4667
  p(s, u) {
4666
4668
  let c = n;
4667
- n = l(s), n === c ? a[n].p(s, u) : (Se(), W(a[c], 1, 1, () => {
4669
+ n = l(s), n === c ? a[n].p(s, u) : (He(), W(a[c], 1, 1, () => {
4668
4670
  a[c] = null;
4669
- }), He(), r = a[n], r ? r.p(s, u) : (r = a[n] = o[n](s), r.c()), V(r, 1), r.m(t, null));
4671
+ }), Pe(), r = a[n], r ? r.p(s, u) : (r = a[n] = o[n](s), r.c()), V(r, 1), r.m(t, null));
4670
4672
  },
4671
4673
  i(s) {
4672
4674
  i || (V(r), i = !0);
@@ -4679,7 +4681,7 @@ function qo(e) {
4679
4681
  }
4680
4682
  };
4681
4683
  }
4682
- function ea(e) {
4684
+ function ta(e) {
4683
4685
  let t;
4684
4686
  return {
4685
4687
  c() {
@@ -4696,7 +4698,7 @@ function ea(e) {
4696
4698
  }
4697
4699
  };
4698
4700
  }
4699
- function ta(e) {
4701
+ function na(e) {
4700
4702
  var s, u;
4701
4703
  let t, n, r = (
4702
4704
  /*playerBalance*/
@@ -4727,14 +4729,14 @@ function ta(e) {
4727
4729
  }
4728
4730
  };
4729
4731
  }
4730
- function na(e) {
4732
+ function ra(e) {
4731
4733
  let t, n;
4732
- return t = new Ot({}), {
4734
+ return t = new Rt({}), {
4733
4735
  c() {
4734
- ot(t.$$.fragment);
4736
+ at(t.$$.fragment);
4735
4737
  },
4736
4738
  m(r, i) {
4737
- Ge(t, r, i), n = !0;
4739
+ $e(t, r, i), n = !0;
4738
4740
  },
4739
4741
  p: I,
4740
4742
  i(r) {
@@ -4744,13 +4746,13 @@ function na(e) {
4744
4746
  W(t.$$.fragment, r), n = !1;
4745
4747
  },
4746
4748
  d(r) {
4747
- $e(t, r);
4749
+ je(t, r);
4748
4750
  }
4749
4751
  };
4750
4752
  }
4751
- function ra(e) {
4753
+ function ia(e) {
4752
4754
  let t, n, r, i, o, a, l, s, u;
4753
- const c = [aa, oa], f = [];
4755
+ const c = [sa, aa], f = [];
4754
4756
  function h(m, x) {
4755
4757
  var d;
4756
4758
  return (
@@ -4777,9 +4779,9 @@ function ra(e) {
4777
4779
  m[13]
4778
4780
  );
4779
4781
  let d = a;
4780
- a = h(m), a === d ? f[a].p(m, x) : (Se(), W(f[d], 1, 1, () => {
4782
+ a = h(m), a === d ? f[a].p(m, x) : (He(), W(f[d], 1, 1, () => {
4781
4783
  f[d] = null;
4782
- }), He(), l = f[a], l ? l.p(m, x) : (l = f[a] = c[a](m), l.c()), V(l, 1), l.m(o, null)), (!u || x[0] & /*validationError*/
4784
+ }), Pe(), l = f[a], l ? l.p(m, x) : (l = f[a] = c[a](m), l.c()), V(l, 1), l.m(o, null)), (!u || x[0] & /*validationError*/
4783
4785
  8192 && s !== (s = "balanceContainer " + /*validationError*/
4784
4786
  (m[13] ? "hasError" : ""))) && b(t, "class", s);
4785
4787
  },
@@ -4794,7 +4796,7 @@ function ra(e) {
4794
4796
  }
4795
4797
  };
4796
4798
  }
4797
- function ia(e) {
4799
+ function oa(e) {
4798
4800
  let t;
4799
4801
  return {
4800
4802
  c() {
@@ -4811,7 +4813,7 @@ function ia(e) {
4811
4813
  }
4812
4814
  };
4813
4815
  }
4814
- function oa(e) {
4816
+ function aa(e) {
4815
4817
  var s, u;
4816
4818
  let t, n, r = (
4817
4819
  /*selectedCurrencyFrom*/
@@ -4842,14 +4844,14 @@ function oa(e) {
4842
4844
  }
4843
4845
  };
4844
4846
  }
4845
- function aa(e) {
4847
+ function sa(e) {
4846
4848
  let t, n;
4847
- return t = new Ot({}), {
4849
+ return t = new Rt({}), {
4848
4850
  c() {
4849
- ot(t.$$.fragment);
4851
+ at(t.$$.fragment);
4850
4852
  },
4851
4853
  m(r, i) {
4852
- Ge(t, r, i), n = !0;
4854
+ $e(t, r, i), n = !0;
4853
4855
  },
4854
4856
  p: I,
4855
4857
  i(r) {
@@ -4859,13 +4861,13 @@ function aa(e) {
4859
4861
  W(t.$$.fragment, r), n = !1;
4860
4862
  },
4861
4863
  d(r) {
4862
- $e(t, r);
4864
+ je(t, r);
4863
4865
  }
4864
4866
  };
4865
4867
  }
4866
- function sa(e) {
4868
+ function la(e) {
4867
4869
  let t, n, r, i;
4868
- const o = [ca, ua], a = [];
4870
+ const o = [ha, ca], a = [];
4869
4871
  function l(s, u) {
4870
4872
  var c;
4871
4873
  return (
@@ -4882,9 +4884,9 @@ function sa(e) {
4882
4884
  },
4883
4885
  p(s, u) {
4884
4886
  let c = n;
4885
- n = l(s), n === c ? a[n].p(s, u) : (Se(), W(a[c], 1, 1, () => {
4887
+ n = l(s), n === c ? a[n].p(s, u) : (He(), W(a[c], 1, 1, () => {
4886
4888
  a[c] = null;
4887
- }), He(), r = a[n], r ? r.p(s, u) : (r = a[n] = o[n](s), r.c()), V(r, 1), r.m(t, null));
4889
+ }), Pe(), r = a[n], r ? r.p(s, u) : (r = a[n] = o[n](s), r.c()), V(r, 1), r.m(t, null));
4888
4890
  },
4889
4891
  i(s) {
4890
4892
  i || (V(r), i = !0);
@@ -4897,7 +4899,7 @@ function sa(e) {
4897
4899
  }
4898
4900
  };
4899
4901
  }
4900
- function la(e) {
4902
+ function ua(e) {
4901
4903
  let t;
4902
4904
  return {
4903
4905
  c() {
@@ -4914,7 +4916,7 @@ function la(e) {
4914
4916
  }
4915
4917
  };
4916
4918
  }
4917
- function ua(e) {
4919
+ function ca(e) {
4918
4920
  var s, u;
4919
4921
  let t, n, r = (
4920
4922
  /*selectedCurrencyTo*/
@@ -4945,14 +4947,14 @@ function ua(e) {
4945
4947
  }
4946
4948
  };
4947
4949
  }
4948
- function ca(e) {
4950
+ function ha(e) {
4949
4951
  let t, n;
4950
- return t = new Ot({}), {
4952
+ return t = new Rt({}), {
4951
4953
  c() {
4952
- ot(t.$$.fragment);
4954
+ at(t.$$.fragment);
4953
4955
  },
4954
4956
  m(r, i) {
4955
- Ge(t, r, i), n = !0;
4957
+ $e(t, r, i), n = !0;
4956
4958
  },
4957
4959
  p: I,
4958
4960
  i(r) {
@@ -4962,20 +4964,20 @@ function ca(e) {
4962
4964
  W(t.$$.fragment, r), n = !1;
4963
4965
  },
4964
4966
  d(r) {
4965
- $e(t, r);
4967
+ je(t, r);
4966
4968
  }
4967
4969
  };
4968
4970
  }
4969
- function Yn(e) {
4970
- let t, n, r, i, o, a, l, s, u, c, f = At(
4971
+ function Jn(e) {
4972
+ let t, n, r, i, o, a, l, s, u, c, f = Tt(
4971
4973
  /*dropDownVaults*/
4972
4974
  e[19]
4973
4975
  ), h = [];
4974
4976
  for (let m = 0; m < f.length; m += 1)
4975
- h[m] = Jn(Zn(e, f, m));
4977
+ h[m] = qn(Qn(e, f, m));
4976
4978
  return {
4977
4979
  c() {
4978
- t = w("div"), n = w("button"), r = wn("svg"), i = wn("path"), a = O(), l = w("div");
4980
+ t = w("div"), n = w("button"), r = An("svg"), i = An("path"), a = O(), l = w("div");
4979
4981
  for (let m = 0; m < h.length; m += 1)
4980
4982
  h[m].c();
4981
4983
  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*/
@@ -5001,14 +5003,14 @@ function Yn(e) {
5001
5003
  (m[15] && /*dropDownVaults*/
5002
5004
  m[19].length > 0 ? "active" : "")) && b(n, "class", o), x[0] & /*dropDownVaults*/
5003
5005
  524288) {
5004
- f = At(
5006
+ f = Tt(
5005
5007
  /*dropDownVaults*/
5006
5008
  m[19]
5007
5009
  );
5008
5010
  let d;
5009
5011
  for (d = 0; d < f.length; d += 1) {
5010
- const E = Zn(m, f, d);
5011
- h[d] ? h[d].p(E, x) : (h[d] = Jn(E), h[d].c(), h[d].m(l, null));
5012
+ const E = Qn(m, f, d);
5013
+ h[d] ? h[d].p(E, x) : (h[d] = qn(E), h[d].c(), h[d].m(l, null));
5012
5014
  }
5013
5015
  for (; d < h.length; d += 1)
5014
5016
  h[d].d(1);
@@ -5020,11 +5022,11 @@ function Yn(e) {
5020
5022
  m[19].length > 0 ? "expanded" : "")) && b(l, "class", s);
5021
5023
  },
5022
5024
  d(m) {
5023
- m && S(t), tr(h, m), u = !1, c();
5025
+ m && S(t), nr(h, m), u = !1, c();
5024
5026
  }
5025
5027
  };
5026
5028
  }
5027
- function Jn(e) {
5029
+ function qn(e) {
5028
5030
  var c, f;
5029
5031
  let t, n, r = (
5030
5032
  /*vault*/
@@ -5053,7 +5055,7 @@ function Jn(e) {
5053
5055
  }
5054
5056
  };
5055
5057
  }
5056
- function ha(e) {
5058
+ function fa(e) {
5057
5059
  var r, i;
5058
5060
  let t = `${/*currentFee*/
5059
5061
  ((r = e[11]) == null ? void 0 : r.amount) || 0} ${/*currentFee*/
@@ -5077,7 +5079,7 @@ function ha(e) {
5077
5079
  }
5078
5080
  };
5079
5081
  }
5080
- function fa(e) {
5082
+ function pa(e) {
5081
5083
  let t = k("feesUnavailable") + "", n;
5082
5084
  return {
5083
5085
  c() {
@@ -5092,22 +5094,22 @@ function fa(e) {
5092
5094
  }
5093
5095
  };
5094
5096
  }
5095
- function pa(e) {
5097
+ function da(e) {
5096
5098
  var de;
5097
- let t, n, r, i, o, a, l, s, u, c, f, h, m, x, d, E, v, L, C, Y, R, ie, se, ce, $, he, Ie, J, ge, Ye, q, j, ut, Je, Ee, Le, ct, Te, Ne, oe, be = k(
5099
+ let t, n, r, i, o, a, l, s, u, c, f, h, m, x, d, E, v, L, C, Y, R, ie, se, ce, $, he, Le, J, ge, Je, q, j, ct, qe, Ee, Ne, ht, Ce, Oe, oe, be = k(
5098
5100
  /*fetchResponse*/
5099
5101
  ((de = e[12]) == null ? void 0 : de.message) || ""
5100
- ) + "", qe, ye, fe, ht, X, Rt = k("exchange") + "", Ce, Oe, ne, Re, kt, Z = (
5102
+ ) + "", et, ye, fe, ft, X, kt = k("exchange") + "", Be, Re, ne, ke, Dt, Z = (
5101
5103
  /*showclosebutton*/
5102
- e[3] && Qn(e)
5104
+ e[3] === we.true && Kn(e)
5103
5105
  ), F = (
5104
5106
  /*showtotalbalance*/
5105
- e[2] && Kn(e)
5107
+ e[2] === we.true && Yn(e)
5106
5108
  );
5107
- function Dt(g) {
5109
+ function Mt(g) {
5108
5110
  e[38](g);
5109
5111
  }
5110
- let ft = {
5112
+ let pt = {
5111
5113
  withSymbol: (
5112
5114
  /*showcurrencysymbol*/
5113
5115
  e[4]
@@ -5125,19 +5127,19 @@ function pa(e) {
5125
5127
  )
5126
5128
  };
5127
5129
  /*selectedCurrencyFrom*/
5128
- e[5] !== void 0 && (ft.selected = /*selectedCurrencyFrom*/
5129
- e[5]), d = new cn({ props: ft }), Fe.push(() => Tn(d, "selected", Dt));
5130
- const et = [ia, ra], pe = [];
5131
- function pt(g, y) {
5130
+ e[5] !== void 0 && (pt.selected = /*selectedCurrencyFrom*/
5131
+ e[5]), d = new hn({ props: pt }), Ge.push(() => Cn(d, "selected", Mt));
5132
+ const tt = [oa, ia], pe = [];
5133
+ function dt(g, y) {
5132
5134
  return !/*isBalanceFetched*/
5133
5135
  g[16] || !/*isCurrenciesFetched*/
5134
5136
  g[17] ? 0 : 1;
5135
5137
  }
5136
- L = pt(e), C = pe[L] = et[L](e);
5137
- function Mt(g) {
5138
+ L = dt(e), C = pe[L] = tt[L](e);
5139
+ function Ut(g) {
5138
5140
  e[40](g);
5139
5141
  }
5140
- let dt = {
5142
+ let mt = {
5141
5143
  withSymbol: (
5142
5144
  /*showcurrencysymbol*/
5143
5145
  e[4]
@@ -5157,37 +5159,37 @@ function pa(e) {
5157
5159
  )
5158
5160
  };
5159
5161
  /*selectedCurrencyTo*/
5160
- e[6] !== void 0 && (dt.selected = /*selectedCurrencyTo*/
5161
- e[6]), J = new cn({ props: dt }), Fe.push(() => Tn(J, "selected", Mt));
5162
- const mt = [la, sa], p = [];
5162
+ e[6] !== void 0 && (mt.selected = /*selectedCurrencyTo*/
5163
+ e[6]), J = new hn({ props: mt }), Ge.push(() => Cn(J, "selected", Ut));
5164
+ const gt = [ua, la], p = [];
5163
5165
  function B(g, y) {
5164
5166
  return !/*isBalanceFetched*/
5165
5167
  g[16] || !/*isCurrenciesFetched*/
5166
5168
  g[17] ? 0 : 1;
5167
5169
  }
5168
- q = B(e), j = p[q] = mt[q](e);
5170
+ q = B(e), j = p[q] = gt[q](e);
5169
5171
  let T = (
5170
5172
  /*showvaults*/
5171
- e[1] && Yn(e)
5173
+ e[1] === we.true && Jn(e)
5172
5174
  );
5173
5175
  function A(g, y) {
5174
5176
  var Q;
5175
5177
  return (
5176
5178
  /*fetchResponse*/
5177
- ((Q = g[12]) == null ? void 0 : Q.source) === K.CheckWalletExchangeError ? fa : ha
5179
+ ((Q = g[12]) == null ? void 0 : Q.source) === K.CheckWalletExchangeError ? pa : fa
5178
5180
  );
5179
5181
  }
5180
5182
  let M = A(e), ee = M(e);
5181
5183
  return {
5182
5184
  c() {
5183
5185
  var g, y, Q;
5184
- t = w("div"), Z && Z.c(), n = O(), r = w("div"), i = w("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = w("div"), h = w("input"), x = O(), ot(d.$$.fragment), v = O(), C.c(), Y = O(), R = w("div"), ie = w("p"), ie.textContent = `${k("exchangeTo")}`, se = O(), ce = w("div"), $ = w("input"), Ie = O(), ot(J.$$.fragment), Ye = O(), j.c(), ut = O(), T && T.c(), Je = O(), Ee = w("div"), Le = w("span"), Le.textContent = `${k("feesIncluded")}`, ct = O(), Te = w("span"), ee.c(), Ne = O(), oe = w("div"), qe = O(), ye = w("div"), fe = w("button"), fe.textContent = `${k("reset")}`, ht = O(), X = w("button"), Ce = z(Rt), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5186
+ t = w("div"), Z && Z.c(), n = O(), r = w("div"), i = w("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = w("div"), h = w("input"), x = O(), at(d.$$.fragment), v = O(), C.c(), Y = O(), R = w("div"), ie = w("p"), ie.textContent = `${k("exchangeTo")}`, se = O(), ce = w("div"), $ = w("input"), Le = O(), at(J.$$.fragment), Je = O(), j.c(), ct = O(), T && T.c(), qe = O(), Ee = w("div"), Ne = w("span"), Ne.textContent = `${k("feesIncluded")}`, ht = O(), Ce = w("span"), ee.c(), Oe = O(), oe = w("div"), et = O(), ye = w("div"), fe = w("button"), fe.textContent = `${k("reset")}`, ft = O(), X = w("button"), Be = z(kt), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5185
5187
  e[0] || !/*isBalanceFetched*/
5186
5188
  e[16] || !/*isCurrenciesFetched*/
5187
5189
  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.000000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(s, "class", "containerExchangeFrom exchangeContainer"), b(ie, "class", "exchangeHeader"), b($, "id", "destinationInput"), $.disabled = he = !/*session*/
5188
5190
  e[0] || !/*isBalanceFetched*/
5189
5191
  e[16] || !/*isCurrenciesFetched*/
5190
- e[17], b($, "placeholder", k("creditPlaceHolder")), b($, "class", "exchangeInput"), b($, "type", "number"), $.readOnly = !0, b($, "min", "0"), b(ce, "class", "flexingContainerRow"), b(R, "class", "containerExchangeTo exchangeContainer"), b(l, "class", "exchangesContainer"), b(Le, "class", "feesLabel"), b(Ee, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5192
+ e[17], b($, "placeholder", k("creditPlaceHolder")), b($, "class", "exchangeInput"), b($, "type", "number"), $.readOnly = !0, b($, "min", "0"), b(ce, "class", "flexingContainerRow"), b(R, "class", "containerExchangeTo exchangeContainer"), b(l, "class", "exchangesContainer"), b(Ne, "class", "feesLabel"), b(Ee, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5191
5193
  oe,
5192
5194
  "error",
5193
5195
  /*fetchResponse*/
@@ -5197,7 +5199,7 @@ function pa(e) {
5197
5199
  "success",
5198
5200
  /*fetchResponse*/
5199
5201
  ((y = e[12]) == null ? void 0 : y.type) === "success"
5200
- ), b(fe, "class", "resetButton"), b(fe, "type", "button"), b(X, "type", "button"), b(X, "class", "exchangeButton"), X.disabled = Oe = /*isExchangeDisabled*/
5202
+ ), b(fe, "class", "resetButton"), b(fe, "type", "button"), b(X, "type", "button"), b(X, "class", "exchangeButton"), X.disabled = Re = /*isExchangeDisabled*/
5201
5203
  e[14] || /*isExchangePending*/
5202
5204
  e[18] || /*inputExchangeFrom*/
5203
5205
  e[8] === 0 && !/*selectedCurrencyFrom*/
@@ -5215,15 +5217,15 @@ function pa(e) {
5215
5217
  ), b(ye, "class", "actionsContainer"), b(t, "class", "playerAccountVault");
5216
5218
  },
5217
5219
  m(g, y) {
5218
- H(g, t, y), Z && Z.m(t, null), _(t, n), _(t, r), _(r, i), _(r, o), F && F.m(r, null), _(t, a), _(t, l), _(l, s), _(s, u), _(s, c), _(s, f), _(f, h), gt(
5220
+ H(g, t, y), Z && Z.m(t, null), _(t, n), _(t, r), _(r, i), _(r, o), F && F.m(r, null), _(t, a), _(t, l), _(l, s), _(s, u), _(s, c), _(s, f), _(f, h), bt(
5219
5221
  h,
5220
5222
  /*inputExchangeFrom*/
5221
5223
  e[8]
5222
- ), _(f, x), Ge(d, f, null), _(s, v), pe[L].m(s, null), _(l, Y), _(l, R), _(R, ie), _(R, se), _(R, ce), _(ce, $), gt(
5224
+ ), _(f, x), $e(d, f, null), _(s, v), pe[L].m(s, null), _(l, Y), _(l, R), _(R, ie), _(R, se), _(R, ce), _(ce, $), bt(
5223
5225
  $,
5224
5226
  /*inputExchangeTo*/
5225
5227
  e[9]
5226
- ), _(ce, Ie), Ge(J, ce, null), _(R, Ye), p[q].m(R, null), _(t, ut), T && T.m(t, null), _(t, Je), _(t, Ee), _(Ee, Le), _(Ee, ct), _(Ee, Te), ee.m(Te, null), _(t, Ne), _(t, oe), oe.innerHTML = be, _(t, qe), _(t, ye), _(ye, fe), _(ye, ht), _(ye, X), _(X, Ce), e[41](t), ne = !0, Re || (kt = [
5228
+ ), _(ce, Le), $e(J, ce, null), _(R, Je), p[q].m(R, null), _(t, ct), T && T.m(t, null), _(t, qe), _(t, Ee), _(Ee, Ne), _(Ee, ht), _(Ee, Ce), ee.m(Ce, null), _(t, Oe), _(t, oe), oe.innerHTML = be, _(t, et), _(t, ye), _(ye, fe), _(ye, ft), _(ye, X), _(X, Be), e[41](t), ne = !0, ke || (Dt = [
5227
5229
  ae(
5228
5230
  h,
5229
5231
  "input",
@@ -5260,22 +5262,22 @@ function pa(e) {
5260
5262
  /*handleExchange*/
5261
5263
  e[28]
5262
5264
  )
5263
- ], Re = !0);
5265
+ ], ke = !0);
5264
5266
  },
5265
5267
  p(g, y) {
5266
- var bn, yn, vn, _n;
5268
+ var yn, vn, _n, En;
5267
5269
  /*showclosebutton*/
5268
- g[3] ? Z ? Z.p(g, y) : (Z = Qn(g), Z.c(), Z.m(t, n)) : Z && (Z.d(1), Z = null), /*showtotalbalance*/
5269
- g[2] ? F ? (F.p(g, y), y[0] & /*showtotalbalance*/
5270
- 4 && V(F, 1)) : (F = Kn(g), F.c(), V(F, 1), F.m(r, null)) : F && (Se(), W(F, 1, 1, () => {
5270
+ g[3] === we.true ? Z ? Z.p(g, y) : (Z = Kn(g), Z.c(), Z.m(t, n)) : Z && (Z.d(1), Z = null), /*showtotalbalance*/
5271
+ g[2] === we.true ? F ? (F.p(g, y), y[0] & /*showtotalbalance*/
5272
+ 4 && V(F, 1)) : (F = Yn(g), F.c(), V(F, 1), F.m(r, null)) : F && (He(), W(F, 1, 1, () => {
5271
5273
  F = null;
5272
- }), He()), (!ne || y[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5274
+ }), Pe()), (!ne || y[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5273
5275
  196609 && m !== (m = !/*session*/
5274
5276
  g[0] || !/*isBalanceFetched*/
5275
5277
  g[16] || !/*isCurrenciesFetched*/
5276
5278
  g[17])) && (h.disabled = m), y[0] & /*inputExchangeFrom*/
5277
- 256 && wt(h.value) !== /*inputExchangeFrom*/
5278
- g[8] && gt(
5279
+ 256 && At(h.value) !== /*inputExchangeFrom*/
5280
+ g[8] && bt(
5279
5281
  h,
5280
5282
  /*inputExchangeFrom*/
5281
5283
  g[8]
@@ -5290,60 +5292,60 @@ function pa(e) {
5290
5292
  1048576 && (Q.options = /*optionsFrom*/
5291
5293
  g[20]), !E && y[0] & /*selectedCurrencyFrom*/
5292
5294
  32 && (E = !0, Q.selected = /*selectedCurrencyFrom*/
5293
- g[5], An(() => E = !1)), d.$set(Q);
5295
+ g[5], Tn(() => E = !1)), d.$set(Q);
5294
5296
  let ve = L;
5295
- L = pt(g), L === ve ? pe[L].p(g, y) : (Se(), W(pe[ve], 1, 1, () => {
5297
+ L = dt(g), L === ve ? pe[L].p(g, y) : (He(), W(pe[ve], 1, 1, () => {
5296
5298
  pe[ve] = null;
5297
- }), He(), C = pe[L], C ? C.p(g, y) : (C = pe[L] = et[L](g), C.c()), V(C, 1), C.m(s, null)), (!ne || y[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5299
+ }), Pe(), C = pe[L], C ? C.p(g, y) : (C = pe[L] = tt[L](g), C.c()), V(C, 1), C.m(s, null)), (!ne || y[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5298
5300
  196609 && he !== (he = !/*session*/
5299
5301
  g[0] || !/*isBalanceFetched*/
5300
5302
  g[16] || !/*isCurrenciesFetched*/
5301
5303
  g[17])) && ($.disabled = he), y[0] & /*inputExchangeTo*/
5302
- 512 && wt($.value) !== /*inputExchangeTo*/
5303
- g[9] && gt(
5304
+ 512 && At($.value) !== /*inputExchangeTo*/
5305
+ g[9] && bt(
5304
5306
  $,
5305
5307
  /*inputExchangeTo*/
5306
5308
  g[9]
5307
5309
  );
5308
- const tt = {};
5310
+ const nt = {};
5309
5311
  y[0] & /*showcurrencysymbol*/
5310
- 16 && (tt.withSymbol = /*showcurrencysymbol*/
5312
+ 16 && (nt.withSymbol = /*showcurrencysymbol*/
5311
5313
  g[4]), y[0] & /*session, validationError, isBalanceFetched, isCurrenciesFetched*/
5312
- 204801 && (tt.disabled = !/*session*/
5314
+ 204801 && (nt.disabled = !/*session*/
5313
5315
  g[0] || !!/*validationError*/
5314
5316
  g[13] || !/*isBalanceFetched*/
5315
5317
  g[16] || !/*isCurrenciesFetched*/
5316
5318
  g[17]), y[0] & /*optionsTo*/
5317
- 2097152 && (tt.options = /*optionsTo*/
5319
+ 2097152 && (nt.options = /*optionsTo*/
5318
5320
  g[21]), !ge && y[0] & /*selectedCurrencyTo*/
5319
- 64 && (ge = !0, tt.selected = /*selectedCurrencyTo*/
5320
- g[6], An(() => ge = !1)), J.$set(tt);
5321
- let Ut = q;
5322
- q = B(g), q === Ut ? p[q].p(g, y) : (Se(), W(p[Ut], 1, 1, () => {
5323
- p[Ut] = null;
5324
- }), He(), j = p[q], j ? j.p(g, y) : (j = p[q] = mt[q](g), j.c()), V(j, 1), j.m(R, null)), /*showvaults*/
5325
- g[1] ? T ? T.p(g, y) : (T = Yn(g), T.c(), T.m(t, Je)) : T && (T.d(1), T = null), M === (M = A(g)) && ee ? ee.p(g, y) : (ee.d(1), ee = M(g), ee && (ee.c(), ee.m(Te, null))), (!ne || y[0] & /*fetchResponse*/
5321
+ 64 && (ge = !0, nt.selected = /*selectedCurrencyTo*/
5322
+ g[6], Tn(() => ge = !1)), J.$set(nt);
5323
+ let Vt = q;
5324
+ q = B(g), q === Vt ? p[q].p(g, y) : (He(), W(p[Vt], 1, 1, () => {
5325
+ p[Vt] = null;
5326
+ }), Pe(), j = p[q], j ? j.p(g, y) : (j = p[q] = gt[q](g), j.c()), V(j, 1), j.m(R, null)), /*showvaults*/
5327
+ g[1] === we.true ? T ? T.p(g, y) : (T = Jn(g), T.c(), T.m(t, qe)) : T && (T.d(1), T = null), M === (M = A(g)) && ee ? ee.p(g, y) : (ee.d(1), ee = M(g), ee && (ee.c(), ee.m(Ce, null))), (!ne || y[0] & /*fetchResponse*/
5326
5328
  4096) && be !== (be = k(
5327
5329
  /*fetchResponse*/
5328
- ((bn = g[12]) == null ? void 0 : bn.message) || ""
5330
+ ((yn = g[12]) == null ? void 0 : yn.message) || ""
5329
5331
  ) + "") && (oe.innerHTML = be), (!ne || y[0] & /*fetchResponse*/
5330
5332
  4096) && ue(
5331
5333
  oe,
5332
5334
  "error",
5333
5335
  /*fetchResponse*/
5334
- ((yn = g[12]) == null ? void 0 : yn.type) === "error"
5336
+ ((vn = g[12]) == null ? void 0 : vn.type) === "error"
5335
5337
  ), (!ne || y[0] & /*fetchResponse*/
5336
5338
  4096) && ue(
5337
5339
  oe,
5338
5340
  "success",
5339
5341
  /*fetchResponse*/
5340
- ((vn = g[12]) == null ? void 0 : vn.type) === "success"
5342
+ ((_n = g[12]) == null ? void 0 : _n.type) === "success"
5341
5343
  ), (!ne || y[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5342
- 278816 && Oe !== (Oe = /*isExchangeDisabled*/
5344
+ 278816 && Re !== (Re = /*isExchangeDisabled*/
5343
5345
  g[14] || /*isExchangePending*/
5344
5346
  g[18] || /*inputExchangeFrom*/
5345
5347
  g[8] === 0 && !/*selectedCurrencyFrom*/
5346
- ((_n = g[5]) != null && _n.amount))) && (X.disabled = Oe), (!ne || y[0] & /*isExchangeDisabled, isExchangePending*/
5348
+ ((En = g[5]) != null && En.amount))) && (X.disabled = Re), (!ne || y[0] & /*isExchangeDisabled, isExchangePending*/
5347
5349
  278528) && ue(
5348
5350
  X,
5349
5351
  "disabled",
@@ -5365,21 +5367,21 @@ function pa(e) {
5365
5367
  W(F), W(d.$$.fragment, g), W(C), W(J.$$.fragment, g), W(j), ne = !1;
5366
5368
  },
5367
5369
  d(g) {
5368
- g && S(t), Z && Z.d(), F && F.d(), $e(d), pe[L].d(), $e(J), p[q].d(), T && T.d(), ee.d(), e[41](null), Re = !1, _e(kt);
5370
+ g && S(t), Z && Z.d(), F && F.d(), je(d), pe[L].d(), je(J), p[q].d(), T && T.d(), ee.d(), e[41](null), ke = !1, _e(Dt);
5369
5371
  }
5370
5372
  };
5371
5373
  }
5372
- function da(e, t, n) {
5373
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f } = t, { showtotalbalance: h } = t, { showclosebutton: m } = t, { showcurrencysymbol: x } = t, d = null, E = null, v = 0, L = 0, C = null, Y = null, R = null, ie = "", se = !0, ce = !1, $ = !1, he = !1, Ie = !1, J = [], ge = [], Ye = [], q = [], j;
5374
- Mo({ withLocale: "en", translations: {} }), Object.keys(Vn).forEach((p) => {
5375
- Un(p, Vn[p]);
5374
+ function ma(e, t, n) {
5375
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: x = "true" } = t, d = null, E = null, v = 0, L = 0, C = null, Y = null, R = null, ie = "", se = !0, ce = !1, $ = !1, he = !1, Le = !1, J = [], ge = [], Je = [], q = [], j;
5376
+ Uo({ withLocale: "en", translations: {} }), Object.keys(Fn).forEach((p) => {
5377
+ Vn(p, Fn[p]);
5376
5378
  });
5377
- const ut = () => {
5378
- Uo(a);
5379
- }, Je = () => {
5379
+ const ct = () => {
5380
+ Vo(a);
5381
+ }, qe = () => {
5380
5382
  fetch(u).then((p) => p.json()).then((p) => {
5381
5383
  Object.keys(p).forEach((B) => {
5382
- Un(B, p[B]);
5384
+ Vn(B, p[B]);
5383
5385
  });
5384
5386
  }).catch((p) => {
5385
5387
  console.error("There was a problem with the translations request.", p);
@@ -5387,7 +5389,7 @@ function da(e, t, n) {
5387
5389
  }, Ee = () => {
5388
5390
  let p = document.createElement("style");
5389
5391
  p.innerHTML = l, j.appendChild(p);
5390
- }, Le = () => {
5392
+ }, Ne = () => {
5391
5393
  let p, B = new URL(s), T = document.createElement("style");
5392
5394
  fetch(B.href).then((A) => A.text()).then((A) => {
5393
5395
  T.innerHTML = A, p && clearTimeout(p), p = setTimeout(
@@ -5397,34 +5399,34 @@ function da(e, t, n) {
5397
5399
  1
5398
5400
  );
5399
5401
  });
5400
- }, ct = () => {
5402
+ }, ht = () => {
5401
5403
  ge.length !== 0 && (n(15, ce = !ce), window.postMessage(
5402
5404
  {
5403
- type: Kt.VaultDropdownToggled,
5405
+ type: Yt.VaultDropdownToggled,
5404
5406
  state: ce
5405
5407
  },
5406
5408
  window.location.href
5407
5409
  ));
5408
- }, Te = () => {
5410
+ }, Ce = () => {
5409
5411
  window.postMessage(
5410
5412
  {
5411
- type: Kt.VaultWidgetClosed
5413
+ type: Yt.VaultWidgetClosed
5412
5414
  },
5413
5415
  window.location.href
5414
5416
  );
5415
- }, Ne = () => {
5416
- n(14, se = !0), be(), qe(), ye(), fe(), window.postMessage({ type: Kt.VaultWidgetReset }, window.location.href);
5417
+ }, Oe = () => {
5418
+ n(14, se = !0), be(), et(), ye(), fe(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5417
5419
  }, oe = () => {
5418
5420
  n(14, se = !0), n(9, L = 0);
5419
5421
  }, be = () => {
5420
5422
  n(11, Y = null);
5421
- }, qe = () => {
5423
+ }, et = () => {
5422
5424
  n(8, v = 0), n(9, L = 0);
5423
5425
  }, ye = () => {
5424
5426
  n(13, ie = "");
5425
5427
  }, fe = () => {
5426
5428
  n(12, R = null);
5427
- }, ht = (p) => {
5429
+ }, ft = (p) => {
5428
5430
  p && n(13, ie = p);
5429
5431
  }, X = ({ type: p, message: B, source: T = "" }) => {
5430
5432
  let A;
@@ -5437,14 +5439,14 @@ function da(e, t, n) {
5437
5439
  () => {
5438
5440
  fe();
5439
5441
  },
5440
- Fo
5442
+ Go
5441
5443
  );
5442
5444
  break;
5443
5445
  }
5444
- }, Rt = () => new Promise((p, B) => {
5445
- const T = R == null ? void 0 : R.message.includes(Go.InvalidSession);
5446
- T && B(), (v < 0 || v === null || isNaN(Number(v))) && (oe(), be(), B(k("invalidValue"))), v > (d == null ? void 0 : d.amount) && (oe(), be(), B(k("exceededValue"))), v === 0 && v === 0 && !T && (Ne(), B()), (!d || !E) && !T && B(), ye(), p();
5447
- }), Ce = (p, B) => Gt(this, null, function* () {
5446
+ }, kt = () => new Promise((p, B) => {
5447
+ const T = R == null ? void 0 : R.message.includes($o.InvalidSession);
5448
+ T && B(), (v < 0 || v === null || isNaN(Number(v))) && (oe(), be(), B(k("invalidValue"))), v > (d == null ? void 0 : d.amount) && (oe(), be(), B(k("exceededValue"))), v === 0 && v === 0 && !T && (Oe(), B()), (!d || !E) && !T && B(), ye(), p();
5449
+ }), Be = (p, B) => $t(this, null, function* () {
5448
5450
  var A, M;
5449
5451
  const T = yield p.json();
5450
5452
  return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? T : (B === K.CheckWalletExchangeError && oe(), !$ && B === K.BalanceError && (n(16, $ = !0), n(17, he = !0)), !he && B === K.CurrenciesError && n(17, he = !0), X({
@@ -5452,7 +5454,7 @@ function da(e, t, n) {
5452
5454
  message: k((A = T == null ? void 0 : T.thirdPartyResponse) == null ? void 0 : A.code) || k((M = T == null ? void 0 : T.thirdPartyResponse) == null ? void 0 : M.errorCode) || "generalError",
5453
5455
  source: B
5454
5456
  }));
5455
- }), Oe = () => new Promise((p, B) => {
5457
+ }), Re = () => new Promise((p, B) => {
5456
5458
  const T = new URL(`${o}/v1/player/${i}/wallet-exchange/currencies`);
5457
5459
  fetch(T, {
5458
5460
  method: "GET",
@@ -5461,7 +5463,7 @@ function da(e, t, n) {
5461
5463
  "Content-Type": "application/json",
5462
5464
  Accept: "application/json"
5463
5465
  }
5464
- }).then((M) => Ce(M, K.CurrenciesError)).then((M) => {
5466
+ }).then((M) => Be(M, K.CurrenciesError)).then((M) => {
5465
5467
  p(M == null ? void 0 : M.currencies);
5466
5468
  }).catch((M) => {
5467
5469
  X({
@@ -5478,16 +5480,16 @@ function da(e, t, n) {
5478
5480
  let de = null;
5479
5481
  const g = new Map(T.map((y) => [y.code, y]));
5480
5482
  for (const y of A)
5481
- if ((y == null ? void 0 : y.type) === Gn.Real) {
5483
+ if ((y == null ? void 0 : y.type) === $n.Real) {
5482
5484
  const Q = g.get(y == null ? void 0 : y.currency);
5483
5485
  if (Q && Q.code === (y == null ? void 0 : y.currency)) {
5484
- const ve = Ft(ke(ke({}, y), Q), {
5485
- symbol: Vo[y == null ? void 0 : y.currency]
5486
+ const ve = Gt(De(De({}, y), Q), {
5487
+ symbol: Fo[y == null ? void 0 : y.currency]
5486
5488
  });
5487
- n(36, J = [...J, ve]), (y == null ? void 0 : y.currency) === (C == null ? void 0 : C.currency) && n(10, C = ke(ke({}, C), ve)), (y == null ? void 0 : y.currency) !== (C == null ? void 0 : C.currency) && (y == null ? void 0 : y.walletAccountType) === Gn.Vault && n(19, ge = [...ge, ve]), B && (y == null ? void 0 : y.amount) > 0 && n(5, d = C != null && C.currency ? C : de), d && (d == null ? void 0 : d.currency) === (y == null ? void 0 : y.currency) && n(5, d = ve), E && (E == null ? void 0 : E.currency) === (y == null ? void 0 : y.currency) && n(6, E = ve);
5489
+ n(36, J = [...J, ve]), (y == null ? void 0 : y.currency) === (C == null ? void 0 : C.currency) && n(10, C = De(De({}, C), ve)), (y == null ? void 0 : y.currency) !== (C == null ? void 0 : C.currency) && (y == null ? void 0 : y.walletAccountType) === $n.Vault && n(19, ge = [...ge, ve]), B && (y == null ? void 0 : y.amount) > 0 && n(5, d = C != null && C.currency ? C : de), d && (d == null ? void 0 : d.currency) === (y == null ? void 0 : y.currency) && n(5, d = ve), E && (E == null ? void 0 : E.currency) === (y == null ? void 0 : y.currency) && n(6, E = ve);
5488
5490
  }
5489
5491
  }
5490
- }, Re = (p = !0) => {
5492
+ }, ke = (p = !0) => {
5491
5493
  const B = new URL(`${o}/v2/player/${i}/balance`);
5492
5494
  fetch(B, {
5493
5495
  method: "GET",
@@ -5496,8 +5498,8 @@ function da(e, t, n) {
5496
5498
  "Content-Type": "application/json",
5497
5499
  Accept: "application/json"
5498
5500
  }
5499
- }).then((A) => Ce(A, K.BalanceError)).then((A) => {
5500
- A && Oe().then((M) => {
5501
+ }).then((A) => Be(A, K.BalanceError)).then((A) => {
5502
+ A && Re().then((M) => {
5501
5503
  n(36, J = []), n(19, ge = []), ne({
5502
5504
  data: A,
5503
5505
  shouldUpdateSelectedCurrencies: p,
@@ -5513,8 +5515,8 @@ function da(e, t, n) {
5513
5515
  }).finally(() => {
5514
5516
  n(16, $ = !0);
5515
5517
  });
5516
- }, Z = jo(() => {
5517
- Rt().then(() => {
5518
+ }, Z = Xo(() => {
5519
+ kt().then(() => {
5518
5520
  const p = new URL(`${o}/v2/player/${i}/check/wallet-exchange`), B = {
5519
5521
  userId: i,
5520
5522
  amount: v,
@@ -5529,9 +5531,9 @@ function da(e, t, n) {
5529
5531
  "Content-Type": "application/json",
5530
5532
  Accept: "application/json"
5531
5533
  },
5532
- body: $n(B)
5534
+ body: jn(B)
5533
5535
  };
5534
- fetch(p, T).then((A) => Ce(A, K.CheckWalletExchangeError)).then((A) => {
5536
+ fetch(p, T).then((A) => Be(A, K.CheckWalletExchangeError)).then((A) => {
5535
5537
  var M, ee;
5536
5538
  A && ((R == null ? void 0 : R.source) === K.CheckWalletExchangeError && fe(), Array.isArray((M = A == null ? void 0 : A.fees) == null ? void 0 : M.fees) && n(11, Y = A.fees.fees.find((de) => de.id)), Array.isArray(A == null ? void 0 : A.walletActions) && n(9, L = ((ee = A.walletActions.find((de) => (de == null ? void 0 : de.directionName) === "Credit")) == null ? void 0 : ee.amount) || 0), v > 0 && (d != null && d.currency) && (E != null && E.currency) && c && n(14, se = !1));
5537
5539
  }).catch((A) => {
@@ -5542,21 +5544,21 @@ function da(e, t, n) {
5542
5544
  }), console.error("There was a problem with the wallet exchange request.", A);
5543
5545
  });
5544
5546
  }).catch((p) => {
5545
- ht(p);
5547
+ ft(p);
5546
5548
  });
5547
5549
  }, 500), F = (p) => {
5548
5550
  const B = p.target.value;
5549
- if (B.length <= $o) {
5551
+ if (B.length <= jo) {
5550
5552
  const [T, A] = B.split(".");
5551
5553
  A && A.length >= (d == null ? void 0 : d.precision) && n(8, v = parseFloat(T + "." + A.slice(0, d == null ? void 0 : d.precision)));
5552
5554
  }
5553
5555
  Z();
5554
- }, Dt = (p) => {
5556
+ }, Mt = (p) => {
5555
5557
  const B = p.data;
5556
5558
  [">", "<", ","].includes(B) && p.preventDefault(), B && !B.match(/[\d.]/) && p.preventDefault(), B === "." && p.target.value.includes(".") && p.preventDefault();
5557
- }, ft = () => {
5559
+ }, pt = () => {
5558
5560
  const p = new URL(`${o}/v2/player/${i}/wallet-exchange`);
5559
- n(18, Ie = !0);
5561
+ n(18, Le = !0);
5560
5562
  const B = {
5561
5563
  userId: i,
5562
5564
  amount: v,
@@ -5571,14 +5573,14 @@ function da(e, t, n) {
5571
5573
  "Content-Type": "application/json",
5572
5574
  Accept: "application/json"
5573
5575
  },
5574
- body: $n(B)
5576
+ body: jn(B)
5575
5577
  };
5576
- fetch(p, T).then((A) => Ce(A, K.WalletExchangeError)).then((A) => {
5578
+ fetch(p, T).then((A) => Be(A, K.WalletExchangeError)).then((A) => {
5577
5579
  A && (X({
5578
5580
  type: xe.success,
5579
5581
  message: k("exchangeSuccess"),
5580
5582
  source: "ExchangeSuccess"
5581
- }), Re(!1));
5583
+ }), ke(!1));
5582
5584
  }).catch((A) => {
5583
5585
  X({
5584
5586
  type: xe.error,
@@ -5586,36 +5588,36 @@ function da(e, t, n) {
5586
5588
  source: K.WalletExchangeError
5587
5589
  }), console.error("There was an error with the wallet exchange request.", A);
5588
5590
  }).finally(() => {
5589
- n(18, Ie = !1), qe(), be();
5591
+ n(18, Le = !1), et(), be();
5590
5592
  });
5591
- }, et = (p) => {
5593
+ }, tt = (p) => {
5592
5594
  const { data: { type: B } = {} } = p || {};
5593
5595
  switch (B) {
5594
- case Fn.ResetVaultWidget:
5595
- Ne();
5596
+ case Gn.ResetVaultWidget:
5597
+ Oe();
5596
5598
  break;
5597
- case Fn.CloseVaultWidget:
5598
- Te();
5599
+ case Gn.CloseVaultWidget:
5600
+ Ce();
5599
5601
  break;
5600
5602
  }
5601
5603
  };
5602
- Gr(() => (window.addEventListener("message", et), () => {
5603
- window.removeEventListener("message", et);
5604
+ $r(() => (window.addEventListener("message", tt), () => {
5605
+ window.removeEventListener("message", tt);
5604
5606
  }));
5605
5607
  function pe() {
5606
- v = wt(this.value), n(8, v);
5608
+ v = At(this.value), n(8, v);
5607
5609
  }
5608
- function pt(p) {
5610
+ function dt(p) {
5609
5611
  d = p, n(5, d);
5610
5612
  }
5611
- function Mt() {
5612
- L = wt(this.value), n(9, L);
5613
+ function Ut() {
5614
+ L = At(this.value), n(9, L);
5613
5615
  }
5614
- function dt(p) {
5616
+ function mt(p) {
5615
5617
  E = p, n(6, E);
5616
5618
  }
5617
- function mt(p) {
5618
- Fe[p ? "unshift" : "push"](() => {
5619
+ function gt(p) {
5620
+ Ge[p ? "unshift" : "push"](() => {
5619
5621
  j = p, n(7, j);
5620
5622
  });
5621
5623
  }
@@ -5623,16 +5625,16 @@ function da(e, t, n) {
5623
5625
  "session" in p && n(0, r = p.session), "userid" in p && n(29, i = p.userid), "endpoint" in p && n(30, o = p.endpoint), "lang" in p && n(31, a = p.lang), "clientstyling" in p && n(32, l = p.clientstyling), "clientstylingurl" in p && n(33, s = p.clientstylingurl), "translationurl" in p && n(34, u = p.translationurl), "playercurrency" in p && n(35, 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, x = p.showcurrencysymbol);
5624
5626
  }, e.$$.update = () => {
5625
5627
  e.$$.dirty[1] & /*lang*/
5626
- 1 && a && ut(), e.$$.dirty[0] & /*session, userid, endpoint*/
5628
+ 1 && a && ct(), e.$$.dirty[0] & /*session, userid, endpoint*/
5627
5629
  1610612737 | e.$$.dirty[1] & /*playercurrency*/
5628
- 16 && r && i && o && c && Re(), e.$$.dirty[0] & /*customStylingContainer*/
5630
+ 16 && r && i && o && c && ke(), e.$$.dirty[0] & /*customStylingContainer*/
5629
5631
  128 | e.$$.dirty[1] & /*clientstyling*/
5630
5632
  2 && l && j && Ee(), e.$$.dirty[0] & /*customStylingContainer*/
5631
5633
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5632
- 4 && s && j && Le(), e.$$.dirty[1] & /*translationurl*/
5633
- 8 && u && Je(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5634
+ 4 && s && j && Ne(), e.$$.dirty[1] & /*translationurl*/
5635
+ 8 && u && qe(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5634
5636
  64 | e.$$.dirty[1] & /*filteredBalances*/
5635
- 32 && n(20, Ye = J.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*/
5637
+ 32 && n(20, Je = J.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*/
5636
5638
  32 | e.$$.dirty[1] & /*filteredBalances*/
5637
5639
  32 && n(21, q = J.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5638
5640
  }, [
@@ -5654,17 +5656,17 @@ function da(e, t, n) {
5654
5656
  ce,
5655
5657
  $,
5656
5658
  he,
5657
- Ie,
5659
+ Le,
5658
5660
  ge,
5659
- Ye,
5661
+ Je,
5660
5662
  q,
5661
- ct,
5662
- Te,
5663
- Ne,
5663
+ ht,
5664
+ Ce,
5665
+ Oe,
5664
5666
  Z,
5665
5667
  F,
5666
- Dt,
5667
- ft,
5668
+ Mt,
5669
+ pt,
5668
5670
  i,
5669
5671
  o,
5670
5672
  a,
@@ -5674,20 +5676,20 @@ function da(e, t, n) {
5674
5676
  c,
5675
5677
  J,
5676
5678
  pe,
5677
- pt,
5678
- Mt,
5679
5679
  dt,
5680
- mt
5680
+ Ut,
5681
+ mt,
5682
+ gt
5681
5683
  ];
5682
5684
  }
5683
- class ma extends dn {
5685
+ class ga extends mn {
5684
5686
  constructor(t) {
5685
- super(), fn(
5687
+ super(), pn(
5686
5688
  this,
5687
5689
  t,
5690
+ ma,
5688
5691
  da,
5689
- pa,
5690
- St,
5692
+ Ht,
5691
5693
  {
5692
5694
  session: 0,
5693
5695
  userid: 29,
@@ -5702,7 +5704,7 @@ class ma extends dn {
5702
5704
  showclosebutton: 3,
5703
5705
  showcurrencysymbol: 4
5704
5706
  },
5705
- Jo,
5707
+ qo,
5706
5708
  [-1, -1, -1]
5707
5709
  );
5708
5710
  }
@@ -5779,7 +5781,7 @@ class ma extends dn {
5779
5781
  this.$$set({ showcurrencysymbol: t }), G();
5780
5782
  }
5781
5783
  }
5782
- pn(ma, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5784
+ dn(ga, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5783
5785
  export {
5784
- ma as default
5786
+ ga as default
5785
5787
  };