@everymatrix/player-account-balance-modal-nd 1.80.11 → 1.80.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function ce() {
1
+ function me() {
2
2
  }
3
- function $r(e) {
3
+ function Vr(e) {
4
4
  return e();
5
5
  }
6
6
  function fr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Xe(e) {
10
- e.forEach($r);
9
+ function Ve(e) {
10
+ e.forEach(Vr);
11
11
  }
12
12
  function ur(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Vr(e, t) {
15
+ function Xr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function An(e) {
18
+ function Cn(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Xr(e, ...t) {
21
+ function zr(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return ce;
25
+ return me;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Cn(e, t, r) {
31
- e.$$.on_destroy.push(Xr(t, r));
30
+ function Hn(e, t, r) {
31
+ e.$$.on_destroy.push(zr(t, r));
32
32
  }
33
- function M(e, t) {
33
+ function R(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Hn(e, t, r) {
37
- const n = On(e);
36
+ function On(e, t, r) {
37
+ const n = Ln(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = G("style");
40
- i.id = t, i.textContent = r, Pn(n, i);
39
+ const i = k("style");
40
+ i.id = t, i.textContent = r, Mn(n, i);
41
41
  }
42
42
  }
43
- function On(e) {
43
+ function Ln(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,8 +50,8 @@ function On(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Pn(e, t) {
54
- return M(
53
+ function Mn(e, t) {
54
+ return R(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
@@ -60,42 +60,42 @@ function Pn(e, t) {
60
60
  function ge(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function de(e) {
63
+ function be(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function zr(e, t) {
66
+ function Wr(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
70
- function G(e) {
70
+ function k(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function dr(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function we(e) {
76
+ function xe(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Se() {
80
- return we(" ");
79
+ function Ee() {
80
+ return xe(" ");
81
81
  }
82
82
  function Rn() {
83
- return we("");
83
+ return xe("");
84
84
  }
85
- function vt(e, t, r, n) {
85
+ function rt(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
87
87
  }
88
- function P(e, t, r) {
88
+ function L(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function Mn(e) {
91
+ function Pn(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
- function Pe(e, t) {
94
+ function Oe(e, t) {
95
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
96
96
  t);
97
97
  }
98
- function Ln(e) {
98
+ function Nn(e) {
99
99
  const t = {};
100
100
  return e.childNodes.forEach(
101
101
  /** @param {Element} node */
@@ -104,96 +104,96 @@ function Ln(e) {
104
104
  }
105
105
  ), t;
106
106
  }
107
- let rt;
107
+ let nt;
108
108
  function tt(e) {
109
- rt = e;
109
+ nt = e;
110
110
  }
111
- function Nn() {
112
- if (!rt)
111
+ function In() {
112
+ if (!nt)
113
113
  throw new Error("Function called outside component initialization");
114
- return rt;
114
+ return nt;
115
115
  }
116
- function In(e) {
117
- Nn().$$.on_mount.push(e);
116
+ function Dn(e) {
117
+ In().$$.on_mount.push(e);
118
118
  }
119
- const Fe = [], $t = [];
120
- let Ge = [];
121
- const pr = [], Dn = /* @__PURE__ */ Promise.resolve();
119
+ const Ue = [], $t = [];
120
+ let Fe = [];
121
+ const pr = [], Un = /* @__PURE__ */ Promise.resolve();
122
122
  let Vt = !1;
123
- function Un() {
124
- Vt || (Vt = !0, Dn.then(Q));
123
+ function Fn() {
124
+ Vt || (Vt = !0, Un.then(Y));
125
125
  }
126
126
  function Xt(e) {
127
- Ge.push(e);
127
+ Fe.push(e);
128
128
  }
129
129
  const Nt = /* @__PURE__ */ new Set();
130
- let De = 0;
131
- function Q() {
132
- if (De !== 0)
130
+ let Ie = 0;
131
+ function Y() {
132
+ if (Ie !== 0)
133
133
  return;
134
- const e = rt;
134
+ const e = nt;
135
135
  do {
136
136
  try {
137
- for (; De < Fe.length; ) {
138
- const t = Fe[De];
139
- De++, tt(t), Fn(t.$$);
137
+ for (; Ie < Ue.length; ) {
138
+ const t = Ue[Ie];
139
+ Ie++, tt(t), Gn(t.$$);
140
140
  }
141
141
  } catch (t) {
142
- throw Fe.length = 0, De = 0, t;
142
+ throw Ue.length = 0, Ie = 0, t;
143
143
  }
144
- for (tt(null), Fe.length = 0, De = 0; $t.length; )
144
+ for (tt(null), Ue.length = 0, Ie = 0; $t.length; )
145
145
  $t.pop()();
146
- for (let t = 0; t < Ge.length; t += 1) {
147
- const r = Ge[t];
146
+ for (let t = 0; t < Fe.length; t += 1) {
147
+ const r = Fe[t];
148
148
  Nt.has(r) || (Nt.add(r), r());
149
149
  }
150
- Ge.length = 0;
151
- } while (Fe.length);
150
+ Fe.length = 0;
151
+ } while (Ue.length);
152
152
  for (; pr.length; )
153
153
  pr.pop()();
154
154
  Vt = !1, Nt.clear(), tt(e);
155
155
  }
156
- function Fn(e) {
156
+ function Gn(e) {
157
157
  if (e.fragment !== null) {
158
- e.update(), Xe(e.before_update);
158
+ e.update(), Ve(e.before_update);
159
159
  const t = e.dirty;
160
160
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xt);
161
161
  }
162
162
  }
163
- function Gn(e) {
163
+ function kn(e) {
164
164
  const t = [], r = [];
165
- Ge.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ge = t;
165
+ Fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Fe = t;
166
166
  }
167
167
  const jn = /* @__PURE__ */ new Set();
168
- function kn(e, t) {
168
+ function $n(e, t) {
169
169
  e && e.i && (jn.delete(e), e.i(t));
170
170
  }
171
171
  function _t(e) {
172
172
  return e?.length !== void 0 ? e : Array.from(e);
173
173
  }
174
- function $n(e, t, r) {
174
+ function Vn(e, t, r) {
175
175
  const { fragment: n, after_update: i } = e.$$;
176
176
  n && n.m(t, r), Xt(() => {
177
- const o = e.$$.on_mount.map($r).filter(ur);
178
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
177
+ const o = e.$$.on_mount.map(Vr).filter(ur);
178
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ve(o), e.$$.on_mount = [];
179
179
  }), i.forEach(Xt);
180
180
  }
181
- function Vn(e, t) {
181
+ function Xn(e, t) {
182
182
  const r = e.$$;
183
- r.fragment !== null && (Gn(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
183
+ r.fragment !== null && (kn(r.after_update), Ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
184
  }
185
- function Xn(e, t) {
186
- e.$$.dirty[0] === -1 && (Fe.push(e), Un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
+ function zn(e, t) {
186
+ e.$$.dirty[0] === -1 && (Ue.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
- function zn(e, t, r, n, i, o, s = null, a = [-1]) {
189
- const l = rt;
188
+ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
189
+ const l = nt;
190
190
  tt(e);
191
191
  const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
195
195
  props: o,
196
- update: ce,
196
+ update: me,
197
197
  not_equal: i,
198
198
  bound: fr(),
199
199
  // lifecycle
@@ -211,21 +211,21 @@ function zn(e, t, r, n, i, o, s = null, a = [-1]) {
211
211
  };
212
212
  s && s(u.root);
213
213
  let f = !1;
214
- if (u.ctx = r ? r(e, t.props || {}, (b, m, ...w) => {
215
- const _ = w.length ? w[0] : m;
216
- return u.ctx && i(u.ctx[b], u.ctx[b] = _) && (!u.skip_bound && u.bound[b] && u.bound[b](_), f && Xn(e, b)), m;
217
- }) : [], u.update(), f = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ if (u.ctx = r ? r(e, t.props || {}, (m, d, ...S) => {
215
+ const _ = S.length ? S[0] : d;
216
+ return u.ctx && i(u.ctx[m], u.ctx[m] = _) && (!u.skip_bound && u.bound[m] && u.bound[m](_), f && zn(e, m)), d;
217
+ }) : [], u.update(), f = !0, Ve(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const b = Mn(t.target);
220
- u.fragment && u.fragment.l(b), b.forEach(de);
219
+ const m = Pn(t.target);
220
+ u.fragment && u.fragment.l(m), m.forEach(be);
221
221
  } else
222
222
  u.fragment && u.fragment.c();
223
- t.intro && kn(e.$$.fragment), $n(e, t.target, t.anchor), Q();
223
+ t.intro && $n(e.$$.fragment), Vn(e, t.target, t.anchor), Y();
224
224
  }
225
225
  tt(l);
226
226
  }
227
- let Wr;
228
- typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
227
+ let Zr;
228
+ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
229
229
  /** The Svelte component constructor */
230
230
  $$ctor;
231
231
  /** Slots */
@@ -267,7 +267,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
267
267
  let o;
268
268
  return {
269
269
  c: function() {
270
- o = G("slot"), i !== "default" && P(o, "name", i);
270
+ o = k("slot"), i !== "default" && L(o, "name", i);
271
271
  },
272
272
  /**
273
273
  * @param {HTMLElement} target
@@ -277,19 +277,19 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
277
277
  ge(l, o, u);
278
278
  },
279
279
  d: function(l) {
280
- l && de(o);
280
+ l && be(o);
281
281
  }
282
282
  };
283
283
  };
284
284
  };
285
285
  if (await Promise.resolve(), !this.$$cn || this.$$c)
286
286
  return;
287
- const t = {}, r = Ln(this);
287
+ const t = {}, r = Nn(this);
288
288
  for (const i of this.$$s)
289
289
  i in r && (t[i] = [e(i)]);
290
290
  for (const i of this.attributes) {
291
291
  const o = this.$$g_p(i.name);
292
- o in this.$$d || (this.$$d[o] = mt(o, i.value, this.$$p_d, "toProp"));
292
+ o in this.$$d || (this.$$d[o] = bt(o, i.value, this.$$p_d, "toProp"));
293
293
  }
294
294
  for (const i in this.$$p_d)
295
295
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
307
307
  this.$$r = !0;
308
308
  for (const i in this.$$p_d)
309
309
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
310
- const o = mt(
310
+ const o = bt(
311
311
  i,
312
312
  this.$$d[i],
313
313
  this.$$p_d,
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
329
329
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
330
330
  // and setting attributes through setAttribute etc, this is helpful
331
331
  attributeChangedCallback(e, t, r) {
332
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = mt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
332
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = bt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
333
333
  }
334
334
  disconnectedCallback() {
335
335
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
342
342
  ) || e;
343
343
  }
344
344
  });
345
- function mt(e, t, r, n) {
345
+ function bt(e, t, r, n) {
346
346
  const i = r[e]?.type;
347
347
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
348
348
  return t;
@@ -371,8 +371,8 @@ function mt(e, t, r, n) {
371
371
  return t;
372
372
  }
373
373
  }
374
- function Wn(e, t, r, n, i, o) {
375
- let s = class extends Wr {
374
+ function Zn(e, t, r, n, i, o) {
375
+ let s = class extends Zr {
376
376
  constructor() {
377
377
  super(e, r, i), this.$$p_d = t;
378
378
  }
@@ -388,7 +388,7 @@ function Wn(e, t, r, n, i, o) {
388
388
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
389
389
  },
390
390
  set(l) {
391
- l = mt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
391
+ l = bt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
392
392
  }
393
393
  });
394
394
  }), n.forEach((a) => {
@@ -400,7 +400,7 @@ function Wn(e, t, r, n, i, o) {
400
400
  }), e.element = /** @type {any} */
401
401
  s, s;
402
402
  }
403
- class Zn {
403
+ class qn {
404
404
  /**
405
405
  * ### PRIVATE API
406
406
  *
@@ -419,7 +419,7 @@ class Zn {
419
419
  $$set = void 0;
420
420
  /** @returns {void} */
421
421
  $destroy() {
422
- Vn(this, 1), this.$destroy = ce;
422
+ Xn(this, 1), this.$destroy = me;
423
423
  }
424
424
  /**
425
425
  * @template {Extract<keyof Events, string>} K
@@ -429,7 +429,7 @@ class Zn {
429
429
  */
430
430
  $on(t, r) {
431
431
  if (!ur(r))
432
- return ce;
432
+ return me;
433
433
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
434
434
  return n.push(r), () => {
435
435
  const i = n.indexOf(r);
@@ -441,18 +441,18 @@ class Zn {
441
441
  * @returns {void}
442
442
  */
443
443
  $set(t) {
444
- this.$$set && !An(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
444
+ this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
445
445
  }
446
446
  }
447
- const qn = "4";
448
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qn);
449
- function Yn(e, t) {
447
+ const Yn = "4";
448
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yn);
449
+ function Qn(e, t) {
450
450
  if (e) {
451
451
  const r = document.createElement("style");
452
452
  r.innerHTML = t, e.appendChild(r);
453
453
  }
454
454
  }
455
- function Qn(e, t) {
455
+ function Jn(e, t) {
456
456
  const r = new URL(t);
457
457
  fetch(r.href).then((n) => n.text()).then((n) => {
458
458
  const i = document.createElement("style");
@@ -461,7 +461,7 @@ function Qn(e, t) {
461
461
  console.error("There was an error while trying to load client styling from URL", n);
462
462
  });
463
463
  }
464
- function Jn(e, t, r) {
464
+ function Kn(e, t, r) {
465
465
  if (window.emMessageBus) {
466
466
  const n = document.createElement("style");
467
467
  window.emMessageBus.subscribe(t, (i) => {
@@ -469,144 +469,144 @@ function Jn(e, t, r) {
469
469
  });
470
470
  }
471
471
  }
472
- const Ue = [];
473
- function Kn(e, t) {
472
+ const De = [];
473
+ function ei(e, t) {
474
474
  return {
475
475
  subscribe: St(e, t).subscribe
476
476
  };
477
477
  }
478
- function St(e, t = ce) {
478
+ function St(e, t = me) {
479
479
  let r;
480
480
  const n = /* @__PURE__ */ new Set();
481
481
  function i(a) {
482
- if (Vr(e, a) && (e = a, r)) {
483
- const l = !Ue.length;
482
+ if (Xr(e, a) && (e = a, r)) {
483
+ const l = !De.length;
484
484
  for (const u of n)
485
- u[1](), Ue.push(u, e);
485
+ u[1](), De.push(u, e);
486
486
  if (l) {
487
- for (let u = 0; u < Ue.length; u += 2)
488
- Ue[u][0](Ue[u + 1]);
489
- Ue.length = 0;
487
+ for (let u = 0; u < De.length; u += 2)
488
+ De[u][0](De[u + 1]);
489
+ De.length = 0;
490
490
  }
491
491
  }
492
492
  }
493
493
  function o(a) {
494
494
  i(a(e));
495
495
  }
496
- function s(a, l = ce) {
496
+ function s(a, l = me) {
497
497
  const u = [a, l];
498
- return n.add(u), n.size === 1 && (r = t(i, o) || ce), a(e), () => {
498
+ return n.add(u), n.size === 1 && (r = t(i, o) || me), a(e), () => {
499
499
  n.delete(u), n.size === 0 && r && (r(), r = null);
500
500
  };
501
501
  }
502
502
  return { set: i, update: o, subscribe: s };
503
503
  }
504
- function ze(e, t, r) {
504
+ function Xe(e, t, r) {
505
505
  const n = !Array.isArray(e), i = n ? [e] : e;
506
506
  if (!i.every(Boolean))
507
507
  throw new Error("derived() expects stores as input, got a falsy value");
508
508
  const o = t.length < 2;
509
- return Kn(r, (s, a) => {
509
+ return ei(r, (s, a) => {
510
510
  let l = !1;
511
511
  const u = [];
512
- let f = 0, b = ce;
513
- const m = () => {
512
+ let f = 0, m = me;
513
+ const d = () => {
514
514
  if (f)
515
515
  return;
516
- b();
516
+ m();
517
517
  const _ = t(n ? u[0] : u, s, a);
518
- o ? s(_) : b = ur(_) ? _ : ce;
519
- }, w = i.map(
520
- (_, A) => Xr(
518
+ o ? s(_) : m = ur(_) ? _ : me;
519
+ }, S = i.map(
520
+ (_, T) => zr(
521
521
  _,
522
- (N) => {
523
- u[A] = N, f &= ~(1 << A), l && m();
522
+ (I) => {
523
+ u[T] = I, f &= ~(1 << T), l && d();
524
524
  },
525
525
  () => {
526
- f |= 1 << A;
526
+ f |= 1 << T;
527
527
  }
528
528
  )
529
529
  );
530
- return l = !0, m(), function() {
531
- Xe(w), b(), l = !1;
530
+ return l = !0, d(), function() {
531
+ Ve(S), m(), l = !1;
532
532
  };
533
533
  });
534
534
  }
535
- var ei = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
536
- function ti(e) {
535
+ var ti = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
536
+ function ri(e) {
537
537
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
538
538
  }
539
- var ri = function(t) {
540
- return ni(t) && !ii(t);
539
+ var ni = function(t) {
540
+ return ii(t) && !oi(t);
541
541
  };
542
- function ni(e) {
542
+ function ii(e) {
543
543
  return !!e && typeof e == "object";
544
544
  }
545
- function ii(e) {
545
+ function oi(e) {
546
546
  var t = Object.prototype.toString.call(e);
547
- return t === "[object RegExp]" || t === "[object Date]" || si(e);
548
- }
549
- var oi = typeof Symbol == "function" && Symbol.for, ai = oi ? Symbol.for("react.element") : 60103;
550
- function si(e) {
551
- return e.$$typeof === ai;
547
+ return t === "[object RegExp]" || t === "[object Date]" || ui(e);
552
548
  }
549
+ var ai = typeof Symbol == "function" && Symbol.for, si = ai ? Symbol.for("react.element") : 60103;
553
550
  function ui(e) {
551
+ return e.$$typeof === si;
552
+ }
553
+ function li(e) {
554
554
  return Array.isArray(e) ? [] : {};
555
555
  }
556
- function nt(e, t) {
557
- return t.clone !== !1 && t.isMergeableObject(e) ? je(ui(e), e, t) : e;
556
+ function it(e, t) {
557
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ge(li(e), e, t) : e;
558
558
  }
559
- function li(e, t, r) {
559
+ function ci(e, t, r) {
560
560
  return e.concat(t).map(function(n) {
561
- return nt(n, r);
561
+ return it(n, r);
562
562
  });
563
563
  }
564
- function ci(e, t) {
564
+ function hi(e, t) {
565
565
  if (!t.customMerge)
566
- return je;
566
+ return Ge;
567
567
  var r = t.customMerge(e);
568
- return typeof r == "function" ? r : je;
568
+ return typeof r == "function" ? r : Ge;
569
569
  }
570
- function hi(e) {
570
+ function fi(e) {
571
571
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
572
572
  return Object.propertyIsEnumerable.call(e, t);
573
573
  }) : [];
574
574
  }
575
575
  function mr(e) {
576
- return Object.keys(e).concat(hi(e));
576
+ return Object.keys(e).concat(fi(e));
577
577
  }
578
- function Zr(e, t) {
578
+ function qr(e, t) {
579
579
  try {
580
580
  return t in e;
581
581
  } catch {
582
582
  return !1;
583
583
  }
584
584
  }
585
- function fi(e, t) {
586
- return Zr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
585
+ function di(e, t) {
586
+ return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
587
587
  }
588
- function di(e, t, r) {
588
+ function pi(e, t, r) {
589
589
  var n = {};
590
590
  return r.isMergeableObject(e) && mr(e).forEach(function(i) {
591
- n[i] = nt(e[i], r);
591
+ n[i] = it(e[i], r);
592
592
  }), mr(t).forEach(function(i) {
593
- fi(e, i) || (Zr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ci(i, r)(e[i], t[i], r) : n[i] = nt(t[i], r));
593
+ di(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
594
594
  }), n;
595
595
  }
596
- function je(e, t, r) {
597
- r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = nt;
596
+ function Ge(e, t, r) {
597
+ r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = it;
598
598
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
599
- return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) : nt(t, r);
599
+ return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : it(t, r);
600
600
  }
601
- je.all = function(t, r) {
601
+ Ge.all = function(t, r) {
602
602
  if (!Array.isArray(t))
603
603
  throw new Error("first argument should be an array");
604
604
  return t.reduce(function(n, i) {
605
- return je(n, i, r);
605
+ return Ge(n, i, r);
606
606
  }, {});
607
607
  };
608
- var pi = je, mi = pi;
609
- const bi = /* @__PURE__ */ ti(mi);
608
+ var mi = Ge, bi = mi;
609
+ const gi = /* @__PURE__ */ ri(bi);
610
610
  var zt = function(e, t) {
611
611
  return zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
612
612
  r.__proto__ = n;
@@ -615,7 +615,7 @@ var zt = function(e, t) {
615
615
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
616
616
  }, zt(e, t);
617
617
  };
618
- function Tt(e, t) {
618
+ function Bt(e, t) {
619
619
  if (typeof t != "function" && t !== null)
620
620
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
621
621
  zt(e, t);
@@ -624,17 +624,17 @@ function Tt(e, t) {
624
624
  }
625
625
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
626
626
  }
627
- var be = function() {
628
- return be = Object.assign || function(t) {
627
+ var _e = function() {
628
+ return _e = Object.assign || function(t) {
629
629
  for (var r, n = 1, i = arguments.length; n < i; n++) {
630
630
  r = arguments[n];
631
631
  for (var o in r)
632
632
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
633
633
  }
634
634
  return t;
635
- }, be.apply(this, arguments);
635
+ }, _e.apply(this, arguments);
636
636
  };
637
- function gi(e, t) {
637
+ function yi(e, t) {
638
638
  var r = {};
639
639
  for (var n in e)
640
640
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -650,36 +650,36 @@ function It(e, t, r) {
650
650
  return e.concat(o || Array.prototype.slice.call(t));
651
651
  }
652
652
  function Dt(e, t) {
653
- var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : xi, i = t && t.strategy ? t.strategy : _i;
653
+ var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy : Ei;
654
654
  return i(e, {
655
655
  cache: r,
656
656
  serializer: n
657
657
  });
658
658
  }
659
- function yi(e) {
659
+ function vi(e) {
660
660
  return e == null || typeof e == "number" || typeof e == "boolean";
661
661
  }
662
- function vi(e, t, r, n) {
663
- var i = yi(n) ? n : r(n), o = t.get(i);
662
+ function _i(e, t, r, n) {
663
+ var i = vi(n) ? n : r(n), o = t.get(i);
664
664
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
665
665
  }
666
- function qr(e, t, r) {
666
+ function Yr(e, t, r) {
667
667
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
668
668
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
669
669
  }
670
- function Yr(e, t, r, n, i) {
670
+ function Qr(e, t, r, n, i) {
671
671
  return r.bind(t, e, n, i);
672
672
  }
673
- function _i(e, t) {
674
- var r = e.length === 1 ? vi : qr;
675
- return Yr(e, this, r, t.cache.create(), t.serializer);
676
- }
677
673
  function Ei(e, t) {
678
- return Yr(e, this, qr, t.cache.create(), t.serializer);
674
+ var r = e.length === 1 ? _i : Yr;
675
+ return Qr(e, this, r, t.cache.create(), t.serializer);
676
+ }
677
+ function xi(e, t) {
678
+ return Qr(e, this, Yr, t.cache.create(), t.serializer);
679
679
  }
680
- var xi = function() {
680
+ var wi = function() {
681
681
  return JSON.stringify(arguments);
682
- }, wi = (
682
+ }, Si = (
683
683
  /** @class */
684
684
  function() {
685
685
  function e() {
@@ -691,12 +691,12 @@ var xi = function() {
691
691
  this.cache[t] = r;
692
692
  }, e;
693
693
  }()
694
- ), Si = {
694
+ ), Bi = {
695
695
  create: function() {
696
- return new wi();
696
+ return new Si();
697
697
  }
698
698
  }, Ut = {
699
- variadic: Ei
699
+ variadic: xi
700
700
  }, Et = function() {
701
701
  return Et = Object.assign || function(t) {
702
702
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -707,55 +707,55 @@ var xi = function() {
707
707
  return t;
708
708
  }, Et.apply(this, arguments);
709
709
  };
710
- var H;
710
+ var O;
711
711
  (function(e) {
712
712
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
713
- })(H || (H = {}));
714
- var F;
713
+ })(O || (O = {}));
714
+ var G;
715
715
  (function(e) {
716
716
  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";
717
- })(F || (F = {}));
717
+ })(G || (G = {}));
718
718
  var ke;
719
719
  (function(e) {
720
720
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
721
721
  })(ke || (ke = {}));
722
722
  function br(e) {
723
- return e.type === F.literal;
723
+ return e.type === G.literal;
724
724
  }
725
725
  function Ti(e) {
726
- return e.type === F.argument;
727
- }
728
- function Qr(e) {
729
- return e.type === F.number;
726
+ return e.type === G.argument;
730
727
  }
731
728
  function Jr(e) {
732
- return e.type === F.date;
729
+ return e.type === G.number;
733
730
  }
734
731
  function Kr(e) {
735
- return e.type === F.time;
732
+ return e.type === G.date;
736
733
  }
737
734
  function en(e) {
738
- return e.type === F.select;
735
+ return e.type === G.time;
739
736
  }
740
737
  function tn(e) {
741
- return e.type === F.plural;
742
- }
743
- function Bi(e) {
744
- return e.type === F.pound;
738
+ return e.type === G.select;
745
739
  }
746
740
  function rn(e) {
747
- return e.type === F.tag;
741
+ return e.type === G.plural;
742
+ }
743
+ function Ai(e) {
744
+ return e.type === G.pound;
748
745
  }
749
746
  function nn(e) {
747
+ return e.type === G.tag;
748
+ }
749
+ function on(e) {
750
750
  return !!(e && typeof e == "object" && e.type === ke.number);
751
751
  }
752
752
  function Wt(e) {
753
753
  return !!(e && typeof e == "object" && e.type === ke.dateTime);
754
754
  }
755
- var on = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ai = /(?:[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;
756
- function Ci(e) {
755
+ var an = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ci = /(?:[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;
756
+ function Hi(e) {
757
757
  var t = {};
758
- return e.replace(Ai, function(r) {
758
+ return e.replace(Ci, function(r) {
759
759
  var n = r.length;
760
760
  switch (r[0]) {
761
761
  case "G":
@@ -844,46 +844,46 @@ function Ci(e) {
844
844
  return "";
845
845
  }), t;
846
846
  }
847
- var $ = function() {
848
- return $ = Object.assign || function(t) {
847
+ var z = function() {
848
+ return z = Object.assign || function(t) {
849
849
  for (var r, n = 1, i = arguments.length; n < i; n++) {
850
850
  r = arguments[n];
851
851
  for (var o in r)
852
852
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
853
853
  }
854
854
  return t;
855
- }, $.apply(this, arguments);
855
+ }, z.apply(this, arguments);
856
856
  };
857
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
- function Oi(e) {
857
+ var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
+ function Li(e) {
859
859
  if (e.length === 0)
860
860
  throw new Error("Number skeleton cannot be empty");
861
- for (var t = e.split(Hi).filter(function(m) {
862
- return m.length > 0;
861
+ for (var t = e.split(Oi).filter(function(d) {
862
+ return d.length > 0;
863
863
  }), r = [], n = 0, i = t; n < i.length; n++) {
864
864
  var o = i[n], s = o.split("/");
865
865
  if (s.length === 0)
866
866
  throw new Error("Invalid number skeleton");
867
867
  for (var a = s[0], l = s.slice(1), u = 0, f = l; u < f.length; u++) {
868
- var b = f[u];
869
- if (b.length === 0)
868
+ var m = f[u];
869
+ if (m.length === 0)
870
870
  throw new Error("Invalid number skeleton");
871
871
  }
872
872
  r.push({ stem: a, options: l });
873
873
  }
874
874
  return r;
875
875
  }
876
- function Pi(e) {
876
+ function Mi(e) {
877
877
  return e.replace(/^(.*?)-/, "");
878
878
  }
879
- var gr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
879
+ var gr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sn = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
880
880
  function yr(e) {
881
881
  var t = {};
882
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(r, n, i) {
882
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sn, function(r, n, i) {
883
883
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
884
884
  }), t;
885
885
  }
886
- function un(e) {
886
+ function ln(e) {
887
887
  switch (e) {
888
888
  case "sign-auto":
889
889
  return {
@@ -923,7 +923,7 @@ function un(e) {
923
923
  };
924
924
  }
925
925
  }
926
- function Mi(e) {
926
+ function Pi(e) {
927
927
  var t;
928
928
  if (e[0] === "E" && e[1] === "E" ? (t = {
929
929
  notation: "engineering"
@@ -931,17 +931,17 @@ function Mi(e) {
931
931
  notation: "scientific"
932
932
  }, e = e.slice(1)), t) {
933
933
  var r = e.slice(0, 2);
934
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
934
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !un.test(e))
935
935
  throw new Error("Malformed concise eng/scientific notation");
936
936
  t.minimumIntegerDigits = e.length;
937
937
  }
938
938
  return t;
939
939
  }
940
940
  function vr(e) {
941
- var t = {}, r = un(e);
941
+ var t = {}, r = ln(e);
942
942
  return r || t;
943
943
  }
944
- function Li(e) {
944
+ function Ni(e) {
945
945
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
946
946
  var i = n[r];
947
947
  switch (i.stem) {
@@ -965,7 +965,7 @@ function Li(e) {
965
965
  continue;
966
966
  case "measure-unit":
967
967
  case "unit":
968
- t.style = "unit", t.unit = Pi(i.options[0]);
968
+ t.style = "unit", t.unit = Mi(i.options[0]);
969
969
  continue;
970
970
  case "compact-short":
971
971
  case "K":
@@ -976,13 +976,13 @@ function Li(e) {
976
976
  t.notation = "compact", t.compactDisplay = "long";
977
977
  continue;
978
978
  case "scientific":
979
- t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
980
- return $($({}, l), vr(u));
979
+ t = z(z(z({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
980
+ return z(z({}, l), vr(u));
981
981
  }, {}));
982
982
  continue;
983
983
  case "engineering":
984
- t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
985
- return $($({}, l), vr(u));
984
+ t = z(z(z({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
985
+ return z(z({}, l), vr(u));
986
986
  }, {}));
987
987
  continue;
988
988
  case "notation-simple":
@@ -1027,45 +1027,45 @@ function Li(e) {
1027
1027
  case "integer-width":
1028
1028
  if (i.options.length > 1)
1029
1029
  throw new RangeError("integer-width stems only accept a single optional option");
1030
- i.options[0].replace(Ri, function(l, u, f, b, m, w) {
1030
+ i.options[0].replace(Ri, function(l, u, f, m, d, S) {
1031
1031
  if (u)
1032
1032
  t.minimumIntegerDigits = f.length;
1033
1033
  else {
1034
- if (b && m)
1034
+ if (m && d)
1035
1035
  throw new Error("We currently do not support maximum integer digits");
1036
- if (w)
1036
+ if (S)
1037
1037
  throw new Error("We currently do not support exact integer digits");
1038
1038
  }
1039
1039
  return "";
1040
1040
  });
1041
1041
  continue;
1042
1042
  }
1043
- if (sn.test(i.stem)) {
1043
+ if (un.test(i.stem)) {
1044
1044
  t.minimumIntegerDigits = i.stem.length;
1045
1045
  continue;
1046
1046
  }
1047
1047
  if (gr.test(i.stem)) {
1048
1048
  if (i.options.length > 1)
1049
1049
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1050
- i.stem.replace(gr, function(l, u, f, b, m, w) {
1051
- return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && w ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + w.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1050
+ i.stem.replace(gr, function(l, u, f, m, d, S) {
1051
+ return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && S ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1052
1052
  });
1053
1053
  var o = i.options[0];
1054
- o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), yr(o)));
1054
+ o === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = z(z({}, t), yr(o)));
1055
1055
  continue;
1056
1056
  }
1057
- if (an.test(i.stem)) {
1058
- t = $($({}, t), yr(i.stem));
1057
+ if (sn.test(i.stem)) {
1058
+ t = z(z({}, t), yr(i.stem));
1059
1059
  continue;
1060
1060
  }
1061
- var s = un(i.stem);
1062
- s && (t = $($({}, t), s));
1063
- var a = Mi(i.stem);
1064
- a && (t = $($({}, t), a));
1061
+ var s = ln(i.stem);
1062
+ s && (t = z(z({}, t), s));
1063
+ var a = Pi(i.stem);
1064
+ a && (t = z(z({}, t), a));
1065
1065
  }
1066
1066
  return t;
1067
1067
  }
1068
- var dt = {
1068
+ var pt = {
1069
1069
  "001": [
1070
1070
  "H",
1071
1071
  "h"
@@ -2480,13 +2480,13 @@ var dt = {
2480
2480
  "h"
2481
2481
  ]
2482
2482
  };
2483
- function Ni(e, t) {
2483
+ function Ii(e, t) {
2484
2484
  for (var r = "", n = 0; n < e.length; n++) {
2485
2485
  var i = e.charAt(n);
2486
2486
  if (i === "j") {
2487
2487
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2488
2488
  o++, n++;
2489
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ii(t);
2489
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Di(t);
2490
2490
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2491
2491
  r += l;
2492
2492
  for (; s-- > 0; )
@@ -2496,7 +2496,7 @@ function Ni(e, t) {
2496
2496
  }
2497
2497
  return r;
2498
2498
  }
2499
- function Ii(e) {
2499
+ function Di(e) {
2500
2500
  var t = e.hourCycle;
2501
2501
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2502
2502
  e.hourCycles && // @ts-ignore
@@ -2515,23 +2515,23 @@ function Ii(e) {
2515
2515
  }
2516
2516
  var r = e.language, n;
2517
2517
  r !== "root" && (n = e.maximize().region);
2518
- var i = dt[n || ""] || dt[r || ""] || dt["".concat(r, "-001")] || dt["001"];
2518
+ var i = pt[n || ""] || pt[r || ""] || pt["".concat(r, "-001")] || pt["001"];
2519
2519
  return i[0];
2520
2520
  }
2521
- var Ft, Di = new RegExp("^".concat(on.source, "*")), Ui = new RegExp("".concat(on.source, "*$"));
2522
- function O(e, t) {
2521
+ var Ft, Ui = new RegExp("^".concat(an.source, "*")), Fi = new RegExp("".concat(an.source, "*$"));
2522
+ function M(e, t) {
2523
2523
  return { start: e, end: t };
2524
2524
  }
2525
- var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, ji = !!Object.fromEntries, ki = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, zi = Xi ? Number.isSafeInteger : function(e) {
2525
+ var Gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, ji = !!Object.fromEntries, $i = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Wi = zi ? Number.isSafeInteger : function(e) {
2526
2526
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2527
2527
  }, Zt = !0;
2528
2528
  try {
2529
- var Wi = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
- Zt = ((Ft = Wi.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
2529
+ var Zi = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
+ Zt = ((Ft = Zi.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
2531
2531
  } catch {
2532
2532
  Zt = !1;
2533
2533
  }
2534
- var _r = Fi ? (
2534
+ var _r = Gi ? (
2535
2535
  // Native
2536
2536
  function(t, r, n) {
2537
2537
  return t.startsWith(r, n);
@@ -2541,7 +2541,7 @@ var _r = Fi ? (
2541
2541
  function(t, r, n) {
2542
2542
  return t.slice(n, n + r.length) === r;
2543
2543
  }
2544
- ), qt = Gi ? String.fromCodePoint : (
2544
+ ), qt = ki ? String.fromCodePoint : (
2545
2545
  // IE11
2546
2546
  function() {
2547
2547
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2565,7 +2565,7 @@ var _r = Fi ? (
2565
2565
  return r;
2566
2566
  }
2567
2567
  )
2568
- ), ln = ki ? (
2568
+ ), cn = $i ? (
2569
2569
  // Native
2570
2570
  function(t, r) {
2571
2571
  return t.codePointAt(r);
@@ -2579,7 +2579,7 @@ var _r = Fi ? (
2579
2579
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2580
2580
  }
2581
2581
  }
2582
- ), Zi = $i ? (
2582
+ ), qi = Vi ? (
2583
2583
  // Native
2584
2584
  function(t) {
2585
2585
  return t.trimStart();
@@ -2587,9 +2587,9 @@ var _r = Fi ? (
2587
2587
  ) : (
2588
2588
  // Ponyfill
2589
2589
  function(t) {
2590
- return t.replace(Di, "");
2590
+ return t.replace(Ui, "");
2591
2591
  }
2592
- ), qi = Vi ? (
2592
+ ), Yi = Xi ? (
2593
2593
  // Native
2594
2594
  function(t) {
2595
2595
  return t.trimEnd();
@@ -2597,15 +2597,15 @@ var _r = Fi ? (
2597
2597
  ) : (
2598
2598
  // Ponyfill
2599
2599
  function(t) {
2600
- return t.replace(Ui, "");
2600
+ return t.replace(Fi, "");
2601
2601
  }
2602
2602
  );
2603
- function cn(e, t) {
2603
+ function hn(e, t) {
2604
2604
  return new RegExp(e, t);
2605
2605
  }
2606
2606
  var Yt;
2607
2607
  if (Zt) {
2608
- var xr = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2608
+ var xr = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2609
2609
  Yt = function(t, r) {
2610
2610
  var n;
2611
2611
  xr.lastIndex = r;
@@ -2615,14 +2615,14 @@ if (Zt) {
2615
2615
  } else
2616
2616
  Yt = function(t, r) {
2617
2617
  for (var n = []; ; ) {
2618
- var i = ln(t, r);
2619
- if (i === void 0 || hn(i) || Ki(i))
2618
+ var i = cn(t, r);
2619
+ if (i === void 0 || fn(i) || eo(i))
2620
2620
  break;
2621
2621
  n.push(i), r += i >= 65536 ? 2 : 1;
2622
2622
  }
2623
2623
  return qt.apply(void 0, n);
2624
2624
  };
2625
- var Yi = (
2625
+ var Qi = (
2626
2626
  /** @class */
2627
2627
  function() {
2628
2628
  function e(t, r) {
@@ -2646,13 +2646,13 @@ var Yi = (
2646
2646
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2647
2647
  var a = this.clonePosition();
2648
2648
  this.bump(), i.push({
2649
- type: F.pound,
2650
- location: O(a, this.clonePosition())
2649
+ type: G.pound,
2650
+ location: M(a, this.clonePosition())
2651
2651
  });
2652
2652
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2653
2653
  if (n)
2654
2654
  break;
2655
- return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2655
+ return this.error(O.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2656
2656
  } else if (o === 60 && !this.ignoreTag && Qt(this.peek() || 0)) {
2657
2657
  var s = this.parseTag(t, r);
2658
2658
  if (s.err)
@@ -2674,9 +2674,9 @@ var Yi = (
2674
2674
  if (this.bumpSpace(), this.bumpIf("/>"))
2675
2675
  return {
2676
2676
  val: {
2677
- type: F.literal,
2677
+ type: G.literal,
2678
2678
  value: "<".concat(i, "/>"),
2679
- location: O(n, this.clonePosition())
2679
+ location: M(n, this.clonePosition())
2680
2680
  },
2681
2681
  err: null
2682
2682
  };
@@ -2687,24 +2687,24 @@ var Yi = (
2687
2687
  var s = o.val, a = this.clonePosition();
2688
2688
  if (this.bumpIf("</")) {
2689
2689
  if (this.isEOF() || !Qt(this.char()))
2690
- return this.error(H.INVALID_TAG, O(a, this.clonePosition()));
2690
+ return this.error(O.INVALID_TAG, M(a, this.clonePosition()));
2691
2691
  var l = this.clonePosition(), u = this.parseTagName();
2692
- return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, O(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2692
+ return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
2693
  val: {
2694
- type: F.tag,
2694
+ type: G.tag,
2695
2695
  value: i,
2696
2696
  children: s,
2697
- location: O(n, this.clonePosition())
2697
+ location: M(n, this.clonePosition())
2698
2698
  },
2699
2699
  err: null
2700
- } : this.error(H.INVALID_TAG, O(a, this.clonePosition())));
2700
+ } : this.error(O.INVALID_TAG, M(a, this.clonePosition())));
2701
2701
  } else
2702
- return this.error(H.UNCLOSED_TAG, O(n, this.clonePosition()));
2702
+ return this.error(O.UNCLOSED_TAG, M(n, this.clonePosition()));
2703
2703
  } else
2704
- return this.error(H.INVALID_TAG, O(n, this.clonePosition()));
2704
+ return this.error(O.INVALID_TAG, M(n, this.clonePosition()));
2705
2705
  }, e.prototype.parseTagName = function() {
2706
2706
  var t = this.offset();
2707
- for (this.bump(); !this.isEOF() && Ji(this.char()); )
2707
+ for (this.bump(); !this.isEOF() && Ki(this.char()); )
2708
2708
  this.bump();
2709
2709
  return this.message.slice(t, this.offset());
2710
2710
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2726,14 +2726,14 @@ var Yi = (
2726
2726
  }
2727
2727
  break;
2728
2728
  }
2729
- var l = O(n, this.clonePosition());
2729
+ var l = M(n, this.clonePosition());
2730
2730
  return {
2731
- val: { type: F.literal, value: i, location: l },
2731
+ val: { type: G.literal, value: i, location: l },
2732
2732
  err: null
2733
2733
  };
2734
2734
  }, e.prototype.tryParseLeftAngleBracket = function() {
2735
2735
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2736
- !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2736
+ !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2737
2737
  }, e.prototype.tryParseQuote = function(t) {
2738
2738
  if (this.isEOF() || this.char() !== 39)
2739
2739
  return null;
@@ -2776,40 +2776,40 @@ var Yi = (
2776
2776
  }, e.prototype.parseArgument = function(t, r) {
2777
2777
  var n = this.clonePosition();
2778
2778
  if (this.bump(), this.bumpSpace(), this.isEOF())
2779
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(n, this.clonePosition()));
2779
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition()));
2780
2780
  if (this.char() === 125)
2781
- return this.bump(), this.error(H.EMPTY_ARGUMENT, O(n, this.clonePosition()));
2781
+ return this.bump(), this.error(O.EMPTY_ARGUMENT, M(n, this.clonePosition()));
2782
2782
  var i = this.parseIdentifierIfPossible().value;
2783
2783
  if (!i)
2784
- return this.error(H.MALFORMED_ARGUMENT, O(n, this.clonePosition()));
2784
+ return this.error(O.MALFORMED_ARGUMENT, M(n, this.clonePosition()));
2785
2785
  if (this.bumpSpace(), this.isEOF())
2786
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(n, this.clonePosition()));
2786
+ return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition()));
2787
2787
  switch (this.char()) {
2788
2788
  case 125:
2789
2789
  return this.bump(), {
2790
2790
  val: {
2791
- type: F.argument,
2791
+ type: G.argument,
2792
2792
  // value does not include the opening and closing braces.
2793
2793
  value: i,
2794
- location: O(n, this.clonePosition())
2794
+ location: M(n, this.clonePosition())
2795
2795
  },
2796
2796
  err: null
2797
2797
  };
2798
2798
  case 44:
2799
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2799
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2800
2800
  default:
2801
- return this.error(H.MALFORMED_ARGUMENT, O(n, this.clonePosition()));
2801
+ return this.error(O.MALFORMED_ARGUMENT, M(n, this.clonePosition()));
2802
2802
  }
2803
2803
  }, e.prototype.parseIdentifierIfPossible = function() {
2804
2804
  var t = this.clonePosition(), r = this.offset(), n = Yt(this.message, r), i = r + n.length;
2805
2805
  this.bumpTo(i);
2806
- var o = this.clonePosition(), s = O(t, o);
2806
+ var o = this.clonePosition(), s = M(t, o);
2807
2807
  return { value: n, location: s };
2808
2808
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2809
2809
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2810
2810
  switch (a) {
2811
2811
  case "":
2812
- return this.error(H.EXPECT_ARGUMENT_TYPE, O(s, l));
2812
+ return this.error(O.EXPECT_ARGUMENT_TYPE, M(s, l));
2813
2813
  case "number":
2814
2814
  case "date":
2815
2815
  case "time": {
@@ -2817,49 +2817,49 @@ var Yi = (
2817
2817
  var u = null;
2818
2818
  if (this.bumpIf(",")) {
2819
2819
  this.bumpSpace();
2820
- var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2821
- if (b.err)
2822
- return b;
2823
- var m = qi(b.val);
2824
- if (m.length === 0)
2825
- return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2826
- var w = O(f, this.clonePosition());
2827
- u = { style: m, styleLocation: w };
2820
+ var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2821
+ if (m.err)
2822
+ return m;
2823
+ var d = Yi(m.val);
2824
+ if (d.length === 0)
2825
+ return this.error(O.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2826
+ var S = M(f, this.clonePosition());
2827
+ u = { style: d, styleLocation: S };
2828
2828
  }
2829
2829
  var _ = this.tryParseArgumentClose(i);
2830
2830
  if (_.err)
2831
2831
  return _;
2832
- var A = O(i, this.clonePosition());
2832
+ var T = M(i, this.clonePosition());
2833
2833
  if (u && _r(u?.style, "::", 0)) {
2834
- var N = Zi(u.style.slice(2));
2834
+ var I = qi(u.style.slice(2));
2835
2835
  if (a === "number") {
2836
- var b = this.parseNumberSkeletonFromString(N, u.styleLocation);
2837
- return b.err ? b : {
2838
- val: { type: F.number, value: n, location: A, style: b.val },
2836
+ var m = this.parseNumberSkeletonFromString(I, u.styleLocation);
2837
+ return m.err ? m : {
2838
+ val: { type: G.number, value: n, location: T, style: m.val },
2839
2839
  err: null
2840
2840
  };
2841
2841
  } else {
2842
- if (N.length === 0)
2843
- return this.error(H.EXPECT_DATE_TIME_SKELETON, A);
2844
- var W = N;
2845
- this.locale && (W = Ni(N, this.locale));
2846
- var m = {
2842
+ if (I.length === 0)
2843
+ return this.error(O.EXPECT_DATE_TIME_SKELETON, T);
2844
+ var re = I;
2845
+ this.locale && (re = Ii(I, this.locale));
2846
+ var d = {
2847
2847
  type: ke.dateTime,
2848
- pattern: W,
2848
+ pattern: re,
2849
2849
  location: u.styleLocation,
2850
- parsedOptions: this.shouldParseSkeletons ? Ci(W) : {}
2851
- }, V = a === "date" ? F.date : F.time;
2850
+ parsedOptions: this.shouldParseSkeletons ? Hi(re) : {}
2851
+ }, K = a === "date" ? G.date : G.time;
2852
2852
  return {
2853
- val: { type: V, value: n, location: A, style: m },
2853
+ val: { type: K, value: n, location: T, style: d },
2854
2854
  err: null
2855
2855
  };
2856
2856
  }
2857
2857
  }
2858
2858
  return {
2859
2859
  val: {
2860
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
2860
+ type: a === "number" ? G.number : a === "date" ? G.date : G.time,
2861
2861
  value: n,
2862
- location: A,
2862
+ location: T,
2863
2863
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2864
2864
  },
2865
2865
  err: null
@@ -2868,52 +2868,52 @@ var Yi = (
2868
2868
  case "plural":
2869
2869
  case "selectordinal":
2870
2870
  case "select": {
2871
- var R = this.clonePosition();
2871
+ var P = this.clonePosition();
2872
2872
  if (this.bumpSpace(), !this.bumpIf(","))
2873
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(R, Et({}, R)));
2873
+ return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, M(P, Et({}, P)));
2874
2874
  this.bumpSpace();
2875
- var I = this.parseIdentifierIfPossible(), j = 0;
2876
- if (a !== "select" && I.value === "offset") {
2875
+ var j = this.parseIdentifierIfPossible(), U = 0;
2876
+ if (a !== "select" && j.value === "offset") {
2877
2877
  if (!this.bumpIf(":"))
2878
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2878
+ return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2879
2879
  this.bumpSpace();
2880
- var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
- if (b.err)
2882
- return b;
2883
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), j = b.val;
2880
+ var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
+ if (m.err)
2882
+ return m;
2883
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), U = m.val;
2884
2884
  }
2885
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, I);
2886
- if (oe.err)
2887
- return oe;
2885
+ var W = this.tryParsePluralOrSelectOptions(t, a, r, j);
2886
+ if (W.err)
2887
+ return W;
2888
2888
  var _ = this.tryParseArgumentClose(i);
2889
2889
  if (_.err)
2890
2890
  return _;
2891
- var Z = O(i, this.clonePosition());
2891
+ var de = M(i, this.clonePosition());
2892
2892
  return a === "select" ? {
2893
2893
  val: {
2894
- type: F.select,
2894
+ type: G.select,
2895
2895
  value: n,
2896
- options: Er(oe.val),
2897
- location: Z
2896
+ options: Er(W.val),
2897
+ location: de
2898
2898
  },
2899
2899
  err: null
2900
2900
  } : {
2901
2901
  val: {
2902
- type: F.plural,
2902
+ type: G.plural,
2903
2903
  value: n,
2904
- options: Er(oe.val),
2905
- offset: j,
2904
+ options: Er(W.val),
2905
+ offset: U,
2906
2906
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2907
- location: Z
2907
+ location: de
2908
2908
  },
2909
2909
  err: null
2910
2910
  };
2911
2911
  }
2912
2912
  default:
2913
- return this.error(H.INVALID_ARGUMENT_TYPE, O(s, l));
2913
+ return this.error(O.INVALID_ARGUMENT_TYPE, M(s, l));
2914
2914
  }
2915
2915
  }, e.prototype.tryParseArgumentClose = function(t) {
2916
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2916
+ return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2917
2917
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2918
2918
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2919
2919
  var n = this.char();
@@ -2922,7 +2922,7 @@ var Yi = (
2922
2922
  this.bump();
2923
2923
  var i = this.clonePosition();
2924
2924
  if (!this.bumpUntil("'"))
2925
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2925
+ return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(i, this.clonePosition()));
2926
2926
  this.bump();
2927
2927
  break;
2928
2928
  }
@@ -2952,52 +2952,52 @@ var Yi = (
2952
2952
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2953
2953
  var n = [];
2954
2954
  try {
2955
- n = Oi(t);
2955
+ n = Li(t);
2956
2956
  } catch {
2957
- return this.error(H.INVALID_NUMBER_SKELETON, r);
2957
+ return this.error(O.INVALID_NUMBER_SKELETON, r);
2958
2958
  }
2959
2959
  return {
2960
2960
  val: {
2961
2961
  type: ke.number,
2962
2962
  tokens: n,
2963
2963
  location: r,
2964
- parsedOptions: this.shouldParseSkeletons ? Li(n) : {}
2964
+ parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
2965
2965
  },
2966
2966
  err: null
2967
2967
  };
2968
2968
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2969
2969
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2970
2970
  if (u.length === 0) {
2971
- var b = this.clonePosition();
2971
+ var m = this.clonePosition();
2972
2972
  if (r !== "select" && this.bumpIf("=")) {
2973
- var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
- if (m.err)
2975
- return m;
2976
- f = O(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
2973
+ var d = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
+ if (d.err)
2975
+ return d;
2976
+ f = M(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2977
2977
  } else
2978
2978
  break;
2979
2979
  }
2980
2980
  if (l.has(u))
2981
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2981
+ return this.error(r === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2982
2982
  u === "other" && (s = !0), this.bumpSpace();
2983
- var w = this.clonePosition();
2983
+ var S = this.clonePosition();
2984
2984
  if (!this.bumpIf("{"))
2985
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2985
+ return this.error(r === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
2986
2986
  var _ = this.parseMessage(t + 1, r, n);
2987
2987
  if (_.err)
2988
2988
  return _;
2989
- var A = this.tryParseArgumentClose(w);
2990
- if (A.err)
2991
- return A;
2989
+ var T = this.tryParseArgumentClose(S);
2990
+ if (T.err)
2991
+ return T;
2992
2992
  a.push([
2993
2993
  u,
2994
2994
  {
2995
2995
  value: _.val,
2996
- location: O(w, this.clonePosition())
2996
+ location: M(S, this.clonePosition())
2997
2997
  }
2998
2998
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
2999
2999
  }
3000
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3000
+ return a.length === 0 ? this.error(r === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(O.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3001
3001
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3002
3002
  var n = 1, i = this.clonePosition();
3003
3003
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3008,8 +3008,8 @@ var Yi = (
3008
3008
  else
3009
3009
  break;
3010
3010
  }
3011
- var l = O(i, this.clonePosition());
3012
- return o ? (s *= n, zi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3011
+ var l = M(i, this.clonePosition());
3012
+ return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3013
3013
  }, e.prototype.offset = function() {
3014
3014
  return this.position.offset;
3015
3015
  }, e.prototype.isEOF = function() {
@@ -3024,7 +3024,7 @@ var Yi = (
3024
3024
  var t = this.position.offset;
3025
3025
  if (t >= this.message.length)
3026
3026
  throw Error("out of bound");
3027
- var r = ln(this.message, t);
3027
+ var r = cn(this.message, t);
3028
3028
  if (r === void 0)
3029
3029
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3030
3030
  return r;
@@ -3065,7 +3065,7 @@ var Yi = (
3065
3065
  break;
3066
3066
  }
3067
3067
  }, e.prototype.bumpSpace = function() {
3068
- for (; !this.isEOF() && hn(this.char()); )
3068
+ for (; !this.isEOF() && fn(this.char()); )
3069
3069
  this.bump();
3070
3070
  }, e.prototype.peek = function() {
3071
3071
  if (this.isEOF())
@@ -3078,44 +3078,44 @@ var Yi = (
3078
3078
  function Qt(e) {
3079
3079
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3080
3080
  }
3081
- function Qi(e) {
3081
+ function Ji(e) {
3082
3082
  return Qt(e) || e === 47;
3083
3083
  }
3084
- function Ji(e) {
3084
+ function Ki(e) {
3085
3085
  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;
3086
3086
  }
3087
- function hn(e) {
3087
+ function fn(e) {
3088
3088
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3089
3089
  }
3090
- function Ki(e) {
3090
+ function eo(e) {
3091
3091
  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;
3092
3092
  }
3093
3093
  function Jt(e) {
3094
3094
  e.forEach(function(t) {
3095
- if (delete t.location, en(t) || tn(t))
3095
+ if (delete t.location, tn(t) || rn(t))
3096
3096
  for (var r in t.options)
3097
3097
  delete t.options[r].location, Jt(t.options[r].value);
3098
3098
  else
3099
- Qr(t) && nn(t.style) || (Jr(t) || Kr(t)) && Wt(t.style) ? delete t.style.location : rn(t) && Jt(t.children);
3099
+ Jr(t) && on(t.style) || (Kr(t) || en(t)) && Wt(t.style) ? delete t.style.location : nn(t) && Jt(t.children);
3100
3100
  });
3101
3101
  }
3102
- function eo(e, t) {
3102
+ function to(e, t) {
3103
3103
  t === void 0 && (t = {}), t = Et({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3104
- var r = new Yi(e, t).parse();
3104
+ var r = new Qi(e, t).parse();
3105
3105
  if (r.err) {
3106
- var n = SyntaxError(H[r.err.kind]);
3106
+ var n = SyntaxError(O[r.err.kind]);
3107
3107
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3108
3108
  }
3109
3109
  return t?.captureLocation || Jt(r.val), r.val;
3110
3110
  }
3111
- var $e;
3111
+ var je;
3112
3112
  (function(e) {
3113
3113
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3114
- })($e || ($e = {}));
3115
- var Bt = (
3114
+ })(je || (je = {}));
3115
+ var Tt = (
3116
3116
  /** @class */
3117
3117
  function(e) {
3118
- Tt(t, e);
3118
+ Bt(t, e);
3119
3119
  function t(r, n, i) {
3120
3120
  var o = e.call(this, r) || this;
3121
3121
  return o.code = n, o.originalMessage = i, o;
@@ -3127,48 +3127,48 @@ var Bt = (
3127
3127
  ), wr = (
3128
3128
  /** @class */
3129
3129
  function(e) {
3130
- Tt(t, e);
3130
+ Bt(t, e);
3131
3131
  function t(r, n, i, o) {
3132
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, o) || this;
3132
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), je.INVALID_VALUE, o) || this;
3133
3133
  }
3134
3134
  return t;
3135
- }(Bt)
3136
- ), to = (
3135
+ }(Tt)
3136
+ ), ro = (
3137
3137
  /** @class */
3138
3138
  function(e) {
3139
- Tt(t, e);
3139
+ Bt(t, e);
3140
3140
  function t(r, n, i) {
3141
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), $e.INVALID_VALUE, i) || this;
3141
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), je.INVALID_VALUE, i) || this;
3142
3142
  }
3143
3143
  return t;
3144
- }(Bt)
3145
- ), ro = (
3144
+ }(Tt)
3145
+ ), no = (
3146
3146
  /** @class */
3147
3147
  function(e) {
3148
- Tt(t, e);
3148
+ Bt(t, e);
3149
3149
  function t(r, n) {
3150
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), $e.MISSING_VALUE, n) || this;
3150
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), je.MISSING_VALUE, n) || this;
3151
3151
  }
3152
3152
  return t;
3153
- }(Bt)
3154
- ), ie;
3153
+ }(Tt)
3154
+ ), se;
3155
3155
  (function(e) {
3156
3156
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3157
- })(ie || (ie = {}));
3158
- function no(e) {
3157
+ })(se || (se = {}));
3158
+ function io(e) {
3159
3159
  return e.length < 2 ? e : e.reduce(function(t, r) {
3160
3160
  var n = t[t.length - 1];
3161
- return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
3161
+ return !n || n.type !== se.literal || r.type !== se.literal ? t.push(r) : n.value += r.value, t;
3162
3162
  }, []);
3163
3163
  }
3164
- function io(e) {
3164
+ function oo(e) {
3165
3165
  return typeof e == "function";
3166
3166
  }
3167
- function bt(e, t, r, n, i, o, s) {
3167
+ function gt(e, t, r, n, i, o, s) {
3168
3168
  if (e.length === 1 && br(e[0]))
3169
3169
  return [
3170
3170
  {
3171
- type: ie.literal,
3171
+ type: se.literal,
3172
3172
  value: e[0].value
3173
3173
  }
3174
3174
  ];
@@ -3176,101 +3176,101 @@ function bt(e, t, r, n, i, o, s) {
3176
3176
  var f = u[l];
3177
3177
  if (br(f)) {
3178
3178
  a.push({
3179
- type: ie.literal,
3179
+ type: se.literal,
3180
3180
  value: f.value
3181
3181
  });
3182
3182
  continue;
3183
3183
  }
3184
- if (Bi(f)) {
3184
+ if (Ai(f)) {
3185
3185
  typeof o == "number" && a.push({
3186
- type: ie.literal,
3186
+ type: se.literal,
3187
3187
  value: r.getNumberFormat(t).format(o)
3188
3188
  });
3189
3189
  continue;
3190
3190
  }
3191
- var b = f.value;
3192
- if (!(i && b in i))
3193
- throw new ro(b, s);
3194
- var m = i[b];
3191
+ var m = f.value;
3192
+ if (!(i && m in i))
3193
+ throw new no(m, s);
3194
+ var d = i[m];
3195
3195
  if (Ti(f)) {
3196
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3197
- type: typeof m == "string" ? ie.literal : ie.object,
3198
- value: m
3196
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3197
+ type: typeof d == "string" ? se.literal : se.object,
3198
+ value: d
3199
3199
  });
3200
3200
  continue;
3201
3201
  }
3202
- if (Jr(f)) {
3203
- var w = typeof f.style == "string" ? n.date[f.style] : Wt(f.style) ? f.style.parsedOptions : void 0;
3202
+ if (Kr(f)) {
3203
+ var S = typeof f.style == "string" ? n.date[f.style] : Wt(f.style) ? f.style.parsedOptions : void 0;
3204
3204
  a.push({
3205
- type: ie.literal,
3206
- value: r.getDateTimeFormat(t, w).format(m)
3205
+ type: se.literal,
3206
+ value: r.getDateTimeFormat(t, S).format(d)
3207
3207
  });
3208
3208
  continue;
3209
3209
  }
3210
- if (Kr(f)) {
3211
- var w = typeof f.style == "string" ? n.time[f.style] : Wt(f.style) ? f.style.parsedOptions : n.time.medium;
3210
+ if (en(f)) {
3211
+ var S = typeof f.style == "string" ? n.time[f.style] : Wt(f.style) ? f.style.parsedOptions : n.time.medium;
3212
3212
  a.push({
3213
- type: ie.literal,
3214
- value: r.getDateTimeFormat(t, w).format(m)
3213
+ type: se.literal,
3214
+ value: r.getDateTimeFormat(t, S).format(d)
3215
3215
  });
3216
3216
  continue;
3217
3217
  }
3218
- if (Qr(f)) {
3219
- var w = typeof f.style == "string" ? n.number[f.style] : nn(f.style) ? f.style.parsedOptions : void 0;
3220
- w && w.scale && (m = m * (w.scale || 1)), a.push({
3221
- type: ie.literal,
3222
- value: r.getNumberFormat(t, w).format(m)
3218
+ if (Jr(f)) {
3219
+ var S = typeof f.style == "string" ? n.number[f.style] : on(f.style) ? f.style.parsedOptions : void 0;
3220
+ S && S.scale && (d = d * (S.scale || 1)), a.push({
3221
+ type: se.literal,
3222
+ value: r.getNumberFormat(t, S).format(d)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
- if (rn(f)) {
3227
- var _ = f.children, A = f.value, N = i[A];
3228
- if (!io(N))
3229
- throw new to(A, "function", s);
3230
- var W = bt(_, t, r, n, i, o), V = N(W.map(function(j) {
3231
- return j.value;
3226
+ if (nn(f)) {
3227
+ var _ = f.children, T = f.value, I = i[T];
3228
+ if (!oo(I))
3229
+ throw new ro(T, "function", s);
3230
+ var re = gt(_, t, r, n, i, o), K = I(re.map(function(U) {
3231
+ return U.value;
3232
3232
  }));
3233
- Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(j) {
3233
+ Array.isArray(K) || (K = [K]), a.push.apply(a, K.map(function(U) {
3234
3234
  return {
3235
- type: typeof j == "string" ? ie.literal : ie.object,
3236
- value: j
3235
+ type: typeof U == "string" ? se.literal : se.object,
3236
+ value: U
3237
3237
  };
3238
3238
  }));
3239
3239
  }
3240
- if (en(f)) {
3241
- var R = f.options[m] || f.options.other;
3242
- if (!R)
3243
- throw new wr(f.value, m, Object.keys(f.options), s);
3244
- a.push.apply(a, bt(R.value, t, r, n, i));
3240
+ if (tn(f)) {
3241
+ var P = f.options[d] || f.options.other;
3242
+ if (!P)
3243
+ throw new wr(f.value, d, Object.keys(f.options), s);
3244
+ a.push.apply(a, gt(P.value, t, r, n, i));
3245
3245
  continue;
3246
3246
  }
3247
- if (tn(f)) {
3248
- var R = f.options["=".concat(m)];
3249
- if (!R) {
3247
+ if (rn(f)) {
3248
+ var P = f.options["=".concat(d)];
3249
+ if (!P) {
3250
3250
  if (!Intl.PluralRules)
3251
- throw new Bt(`Intl.PluralRules is not available in this environment.
3251
+ throw new Tt(`Intl.PluralRules is not available in this environment.
3252
3252
  Try polyfilling it using "@formatjs/intl-pluralrules"
3253
- `, $e.MISSING_INTL_API, s);
3254
- var I = r.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3255
- R = f.options[I] || f.options.other;
3253
+ `, je.MISSING_INTL_API, s);
3254
+ var j = r.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3255
+ P = f.options[j] || f.options.other;
3256
3256
  }
3257
- if (!R)
3258
- throw new wr(f.value, m, Object.keys(f.options), s);
3259
- a.push.apply(a, bt(R.value, t, r, n, i, m - (f.offset || 0)));
3257
+ if (!P)
3258
+ throw new wr(f.value, d, Object.keys(f.options), s);
3259
+ a.push.apply(a, gt(P.value, t, r, n, i, d - (f.offset || 0)));
3260
3260
  continue;
3261
3261
  }
3262
3262
  }
3263
- return no(a);
3263
+ return io(a);
3264
3264
  }
3265
- function oo(e, t) {
3266
- return t ? be(be(be({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3267
- return r[n] = be(be({}, e[n]), t[n] || {}), r;
3265
+ function ao(e, t) {
3266
+ return t ? _e(_e(_e({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3267
+ return r[n] = _e(_e({}, e[n]), t[n] || {}), r;
3268
3268
  }, {})) : e;
3269
3269
  }
3270
- function ao(e, t) {
3270
+ function so(e, t) {
3271
3271
  return t ? Object.keys(e).reduce(function(r, n) {
3272
- return r[n] = oo(e[n], t[n]), r;
3273
- }, be({}, e)) : e;
3272
+ return r[n] = ao(e[n], t[n]), r;
3273
+ }, _e({}, e)) : e;
3274
3274
  }
3275
3275
  function Gt(e) {
3276
3276
  return {
@@ -3286,7 +3286,7 @@ function Gt(e) {
3286
3286
  }
3287
3287
  };
3288
3288
  }
3289
- function so(e) {
3289
+ function uo(e) {
3290
3290
  return e === void 0 && (e = {
3291
3291
  number: {},
3292
3292
  dateTime: {},
@@ -3318,7 +3318,7 @@ function so(e) {
3318
3318
  })
3319
3319
  };
3320
3320
  }
3321
- var uo = (
3321
+ var lo = (
3322
3322
  /** @class */
3323
3323
  function() {
3324
3324
  function e(t, r, n, i) {
@@ -3332,12 +3332,12 @@ var uo = (
3332
3332
  var u = o.formatToParts(l);
3333
3333
  if (u.length === 1)
3334
3334
  return u[0].value;
3335
- var f = u.reduce(function(b, m) {
3336
- return !b.length || m.type !== ie.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3335
+ var f = u.reduce(function(m, d) {
3336
+ return !m.length || d.type !== se.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
3337
3337
  }, []);
3338
3338
  return f.length <= 1 ? f[0] || "" : f;
3339
3339
  }, this.formatToParts = function(l) {
3340
- return bt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3340
+ return gt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3341
3341
  }, this.resolvedOptions = function() {
3342
3342
  var l;
3343
3343
  return {
@@ -3350,13 +3350,13 @@ var uo = (
3350
3350
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3351
3351
  var s = i || {};
3352
3352
  s.formatters;
3353
- var a = gi(s, ["formatters"]);
3354
- this.ast = e.__parse(t, be(be({}, a), { locale: this.resolvedLocale }));
3353
+ var a = yi(s, ["formatters"]);
3354
+ this.ast = e.__parse(t, _e(_e({}, a), { locale: this.resolvedLocale }));
3355
3355
  } else
3356
3356
  this.ast = t;
3357
3357
  if (!Array.isArray(this.ast))
3358
3358
  throw new TypeError("A message must be provided as a String or AST.");
3359
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || so(this.formatterCache);
3359
+ this.formats = so(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
3360
3360
  }
3361
3361
  return Object.defineProperty(e, "defaultLocale", {
3362
3362
  get: function() {
@@ -3369,7 +3369,7 @@ var uo = (
3369
3369
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3370
3370
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3371
3371
  }
3372
- }, e.__parse = eo, e.formats = {
3372
+ }, e.__parse = to, e.formats = {
3373
3373
  number: {
3374
3374
  integer: {
3375
3375
  maximumFractionDigits: 0
@@ -3430,7 +3430,7 @@ var uo = (
3430
3430
  }, e;
3431
3431
  }()
3432
3432
  );
3433
- function lo(e, t) {
3433
+ function co(e, t) {
3434
3434
  if (t == null)
3435
3435
  return;
3436
3436
  if (t in e)
@@ -3451,60 +3451,60 @@ function lo(e, t) {
3451
3451
  n = void 0;
3452
3452
  return n;
3453
3453
  }
3454
- const Ce = {}, co = (e, t, r) => r && (t in Ce || (Ce[t] = {}), e in Ce[t] || (Ce[t][e] = r), r), fn = (e, t) => {
3454
+ const He = {}, ho = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = r), r), dn = (e, t) => {
3455
3455
  if (t == null)
3456
3456
  return;
3457
- if (t in Ce && e in Ce[t])
3458
- return Ce[t][e];
3457
+ if (t in He && e in He[t])
3458
+ return He[t][e];
3459
3459
  const r = At(t);
3460
3460
  for (let n = 0; n < r.length; n++) {
3461
- const i = r[n], o = fo(i, e);
3461
+ const i = r[n], o = po(i, e);
3462
3462
  if (o)
3463
- return co(e, t, o);
3463
+ return ho(e, t, o);
3464
3464
  }
3465
3465
  };
3466
3466
  let lr;
3467
- const ot = St({});
3468
- function ho(e) {
3467
+ const at = St({});
3468
+ function fo(e) {
3469
3469
  return lr[e] || null;
3470
3470
  }
3471
- function dn(e) {
3471
+ function pn(e) {
3472
3472
  return e in lr;
3473
3473
  }
3474
- function fo(e, t) {
3475
- if (!dn(e))
3474
+ function po(e, t) {
3475
+ if (!pn(e))
3476
3476
  return null;
3477
- const r = ho(e);
3478
- return lo(r, t);
3477
+ const r = fo(e);
3478
+ return co(r, t);
3479
3479
  }
3480
- function po(e) {
3480
+ function mo(e) {
3481
3481
  if (e == null)
3482
3482
  return;
3483
3483
  const t = At(e);
3484
3484
  for (let r = 0; r < t.length; r++) {
3485
3485
  const n = t[r];
3486
- if (dn(n))
3486
+ if (pn(n))
3487
3487
  return n;
3488
3488
  }
3489
3489
  }
3490
- function pn(e, ...t) {
3491
- delete Ce[e], ot.update((r) => (r[e] = bi.all([r[e] || {}, ...t]), r));
3490
+ function mn(e, ...t) {
3491
+ delete He[e], at.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3492
3492
  }
3493
- ze(
3494
- [ot],
3493
+ Xe(
3494
+ [at],
3495
3495
  ([e]) => Object.keys(e)
3496
3496
  );
3497
- ot.subscribe((e) => lr = e);
3498
- const gt = {};
3499
- function mo(e, t) {
3500
- gt[e].delete(t), gt[e].size === 0 && delete gt[e];
3497
+ at.subscribe((e) => lr = e);
3498
+ const yt = {};
3499
+ function bo(e, t) {
3500
+ yt[e].delete(t), yt[e].size === 0 && delete yt[e];
3501
3501
  }
3502
- function mn(e) {
3503
- return gt[e];
3502
+ function bn(e) {
3503
+ return yt[e];
3504
3504
  }
3505
- function bo(e) {
3505
+ function go(e) {
3506
3506
  return At(e).map((t) => {
3507
- const r = mn(t);
3507
+ const r = bn(t);
3508
3508
  return [t, r ? [...r] : []];
3509
3509
  }).filter(([, t]) => t.length > 0);
3510
3510
  }
@@ -3512,31 +3512,31 @@ function Kt(e) {
3512
3512
  return e == null ? !1 : At(e).some(
3513
3513
  (t) => {
3514
3514
  var r;
3515
- return (r = mn(t)) == null ? void 0 : r.size;
3515
+ return (r = bn(t)) == null ? void 0 : r.size;
3516
3516
  }
3517
3517
  );
3518
3518
  }
3519
- function go(e, t) {
3519
+ function yo(e, t) {
3520
3520
  return Promise.all(
3521
- t.map((n) => (mo(e, n), n().then((i) => i.default || i)))
3522
- ).then((n) => pn(e, ...n));
3521
+ t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
3522
+ ).then((n) => mn(e, ...n));
3523
3523
  }
3524
3524
  const et = {};
3525
- function bn(e) {
3525
+ function gn(e) {
3526
3526
  if (!Kt(e))
3527
3527
  return e in et ? et[e] : Promise.resolve();
3528
- const t = bo(e);
3528
+ const t = go(e);
3529
3529
  return et[e] = Promise.all(
3530
3530
  t.map(
3531
- ([r, n]) => go(r, n)
3531
+ ([r, n]) => yo(r, n)
3532
3532
  )
3533
3533
  ).then(() => {
3534
3534
  if (Kt(e))
3535
- return bn(e);
3535
+ return gn(e);
3536
3536
  delete et[e];
3537
3537
  }), et[e];
3538
3538
  }
3539
- const yo = {
3539
+ const vo = {
3540
3540
  number: {
3541
3541
  scientific: { notation: "scientific" },
3542
3542
  engineering: { notation: "engineering" },
@@ -3565,57 +3565,57 @@ const yo = {
3565
3565
  timeZoneName: "short"
3566
3566
  }
3567
3567
  }
3568
- }, vo = {
3568
+ }, _o = {
3569
3569
  fallbackLocale: null,
3570
3570
  loadingDelay: 200,
3571
- formats: yo,
3571
+ formats: vo,
3572
3572
  warnOnMissingMessages: !0,
3573
3573
  handleMissingMessage: void 0,
3574
3574
  ignoreTag: !0
3575
- }, _o = vo;
3576
- function Ve() {
3577
- return _o;
3575
+ }, Eo = _o;
3576
+ function $e() {
3577
+ return Eo;
3578
3578
  }
3579
- const jt = St(!1);
3580
- var Eo = Object.defineProperty, xo = Object.defineProperties, wo = Object.getOwnPropertyDescriptors, Sr = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, Tr = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bo = (e, t) => {
3579
+ const kt = St(!1);
3580
+ var xo = Object.defineProperty, wo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, Sr = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, Br = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
3581
3581
  for (var r in t || (t = {}))
3582
- So.call(t, r) && Tr(e, r, t[r]);
3582
+ Bo.call(t, r) && Br(e, r, t[r]);
3583
3583
  if (Sr)
3584
3584
  for (var r of Sr(t))
3585
- To.call(t, r) && Tr(e, r, t[r]);
3585
+ To.call(t, r) && Br(e, r, t[r]);
3586
3586
  return e;
3587
- }, Ao = (e, t) => xo(e, wo(t));
3587
+ }, Co = (e, t) => wo(e, So(t));
3588
3588
  let er;
3589
3589
  const xt = St(null);
3590
- function Br(e) {
3590
+ function Tr(e) {
3591
3591
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3592
3592
  }
3593
- function At(e, t = Ve().fallbackLocale) {
3594
- const r = Br(e);
3595
- return t ? [.../* @__PURE__ */ new Set([...r, ...Br(t)])] : r;
3593
+ function At(e, t = $e().fallbackLocale) {
3594
+ const r = Tr(e);
3595
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tr(t)])] : r;
3596
3596
  }
3597
- function Re() {
3597
+ function Me() {
3598
3598
  return er ?? void 0;
3599
3599
  }
3600
3600
  xt.subscribe((e) => {
3601
3601
  er = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3602
3602
  });
3603
- const Co = (e) => {
3604
- if (e && po(e) && Kt(e)) {
3605
- const { loadingDelay: t } = Ve();
3603
+ const Ho = (e) => {
3604
+ if (e && mo(e) && Kt(e)) {
3605
+ const { loadingDelay: t } = $e();
3606
3606
  let r;
3607
- return typeof window < "u" && Re() != null && t ? r = window.setTimeout(
3608
- () => jt.set(!0),
3607
+ return typeof window < "u" && Me() != null && t ? r = window.setTimeout(
3608
+ () => kt.set(!0),
3609
3609
  t
3610
- ) : jt.set(!0), bn(e).then(() => {
3610
+ ) : kt.set(!0), gn(e).then(() => {
3611
3611
  xt.set(e);
3612
3612
  }).finally(() => {
3613
- clearTimeout(r), jt.set(!1);
3613
+ clearTimeout(r), kt.set(!1);
3614
3614
  });
3615
3615
  }
3616
3616
  return xt.set(e);
3617
- }, We = Ao(Bo({}, xt), {
3618
- set: Co
3617
+ }, ze = Co(Ao({}, xt), {
3618
+ set: Ho
3619
3619
  }), Ct = (e) => {
3620
3620
  const t = /* @__PURE__ */ Object.create(null);
3621
3621
  return (n) => {
@@ -3623,118 +3623,118 @@ const Co = (e) => {
3623
3623
  return i in t ? t[i] : t[i] = e(n);
3624
3624
  };
3625
3625
  };
3626
- var Ho = Object.defineProperty, wt = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, Ar = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, cr = (e, t) => {
3626
+ var Oo = Object.defineProperty, wt = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, Ar = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, cr = (e, t) => {
3627
3627
  for (var r in t || (t = {}))
3628
- gn.call(t, r) && Ar(e, r, t[r]);
3628
+ yn.call(t, r) && Ar(e, r, t[r]);
3629
3629
  if (wt)
3630
3630
  for (var r of wt(t))
3631
- yn.call(t, r) && Ar(e, r, t[r]);
3631
+ vn.call(t, r) && Ar(e, r, t[r]);
3632
3632
  return e;
3633
- }, Ze = (e, t) => {
3633
+ }, We = (e, t) => {
3634
3634
  var r = {};
3635
3635
  for (var n in e)
3636
- gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3636
+ yn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3637
3637
  if (e != null && wt)
3638
3638
  for (var n of wt(e))
3639
- t.indexOf(n) < 0 && yn.call(e, n) && (r[n] = e[n]);
3639
+ t.indexOf(n) < 0 && vn.call(e, n) && (r[n] = e[n]);
3640
3640
  return r;
3641
3641
  };
3642
- const it = (e, t) => {
3643
- const { formats: r } = Ve();
3642
+ const ot = (e, t) => {
3643
+ const { formats: r } = $e();
3644
3644
  if (e in r && t in r[e])
3645
3645
  return r[e][t];
3646
3646
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3647
- }, Oo = Ct(
3647
+ }, Lo = Ct(
3648
3648
  (e) => {
3649
- var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3649
+ var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3650
3650
  if (r == null)
3651
3651
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3652
- return n && (i = it("number", n)), new Intl.NumberFormat(r, i);
3652
+ return n && (i = ot("number", n)), new Intl.NumberFormat(r, i);
3653
3653
  }
3654
- ), Po = Ct(
3654
+ ), Mo = Ct(
3655
3655
  (e) => {
3656
- var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3656
+ var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3657
3657
  if (r == null)
3658
3658
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3659
- return n ? i = it("date", n) : Object.keys(i).length === 0 && (i = it("date", "short")), new Intl.DateTimeFormat(r, i);
3659
+ return n ? i = ot("date", n) : Object.keys(i).length === 0 && (i = ot("date", "short")), new Intl.DateTimeFormat(r, i);
3660
3660
  }
3661
3661
  ), Ro = Ct(
3662
3662
  (e) => {
3663
- var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3663
+ var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3664
3664
  if (r == null)
3665
3665
  throw new Error(
3666
3666
  '[svelte-i18n] A "locale" must be set to format time values'
3667
3667
  );
3668
- return n ? i = it("time", n) : Object.keys(i).length === 0 && (i = it("time", "short")), new Intl.DateTimeFormat(r, i);
3668
+ return n ? i = ot("time", n) : Object.keys(i).length === 0 && (i = ot("time", "short")), new Intl.DateTimeFormat(r, i);
3669
3669
  }
3670
- ), Mo = (e = {}) => {
3670
+ ), Po = (e = {}) => {
3671
3671
  var t = e, {
3672
- locale: r = Re()
3673
- } = t, n = Ze(t, [
3672
+ locale: r = Me()
3673
+ } = t, n = We(t, [
3674
3674
  "locale"
3675
3675
  ]);
3676
- return Oo(cr({ locale: r }, n));
3677
- }, Lo = (e = {}) => {
3676
+ return Lo(cr({ locale: r }, n));
3677
+ }, No = (e = {}) => {
3678
3678
  var t = e, {
3679
- locale: r = Re()
3680
- } = t, n = Ze(t, [
3679
+ locale: r = Me()
3680
+ } = t, n = We(t, [
3681
3681
  "locale"
3682
3682
  ]);
3683
- return Po(cr({ locale: r }, n));
3684
- }, No = (e = {}) => {
3683
+ return Mo(cr({ locale: r }, n));
3684
+ }, Io = (e = {}) => {
3685
3685
  var t = e, {
3686
- locale: r = Re()
3687
- } = t, n = Ze(t, [
3686
+ locale: r = Me()
3687
+ } = t, n = We(t, [
3688
3688
  "locale"
3689
3689
  ]);
3690
3690
  return Ro(cr({ locale: r }, n));
3691
- }, Io = Ct(
3691
+ }, Do = Ct(
3692
3692
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3693
- (e, t = Re()) => new uo(e, t, Ve().formats, {
3694
- ignoreTag: Ve().ignoreTag
3693
+ (e, t = Me()) => new lo(e, t, $e().formats, {
3694
+ ignoreTag: $e().ignoreTag
3695
3695
  })
3696
- ), Do = (e, t = {}) => {
3696
+ ), Uo = (e, t = {}) => {
3697
3697
  var r, n, i, o;
3698
3698
  let s = t;
3699
3699
  typeof e == "object" && (s = e, e = s.id);
3700
3700
  const {
3701
3701
  values: a,
3702
- locale: l = Re(),
3702
+ locale: l = Me(),
3703
3703
  default: u
3704
3704
  } = s;
3705
3705
  if (l == null)
3706
3706
  throw new Error(
3707
3707
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3708
3708
  );
3709
- let f = fn(e, l);
3709
+ let f = dn(e, l);
3710
3710
  if (!f)
3711
- f = (o = (i = (n = (r = Ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3711
+ f = (o = (i = (n = (r = $e()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3712
3712
  else if (typeof f != "string")
3713
3713
  return console.warn(
3714
3714
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3715
3715
  ), f;
3716
3716
  if (!a)
3717
3717
  return f;
3718
- let b = f;
3718
+ let m = f;
3719
3719
  try {
3720
- b = Io(f, l).format(a);
3721
- } catch (m) {
3722
- m instanceof Error && console.warn(
3720
+ m = Do(f, l).format(a);
3721
+ } catch (d) {
3722
+ d instanceof Error && console.warn(
3723
3723
  `[svelte-i18n] Message "${e}" has syntax error:`,
3724
- m.message
3724
+ d.message
3725
3725
  );
3726
3726
  }
3727
- return b;
3728
- }, Uo = (e, t) => No(t).format(e), Fo = (e, t) => Lo(t).format(e), Go = (e, t) => Mo(t).format(e), jo = (e, t = Re()) => fn(e, t), ko = ze([We, ot], () => Do);
3729
- ze([We], () => Uo);
3730
- ze([We], () => Fo);
3731
- ze([We], () => Go);
3732
- ze([We, ot], () => jo);
3727
+ return m;
3728
+ }, Fo = (e, t) => Io(t).format(e), Go = (e, t) => No(t).format(e), ko = (e, t) => Po(t).format(e), jo = (e, t = Me()) => dn(e, t), $o = Xe([ze, at], () => Uo);
3729
+ Xe([ze], () => Fo);
3730
+ Xe([ze], () => Go);
3731
+ Xe([ze], () => ko);
3732
+ Xe([ze, at], () => jo);
3733
3733
  function Cr(e, t) {
3734
- pn(e, t);
3734
+ mn(e, t);
3735
3735
  }
3736
- function $o(e) {
3737
- We.set(e);
3736
+ function Vo(e) {
3737
+ ze.set(e);
3738
3738
  }
3739
3739
  const Hr = {
3740
3740
  en: {
@@ -3745,6 +3745,7 @@ const Hr = {
3745
3745
  Credit: "Credit Balance",
3746
3746
  Casino: "Casino",
3747
3747
  Sports: "Sports",
3748
+ LimitsButton: "Limits",
3748
3749
  DepositButton: "Deposit",
3749
3750
  Loading: "Loading ..."
3750
3751
  },
@@ -3756,6 +3757,7 @@ const Hr = {
3756
3757
  Credit: "信用結餘",
3757
3758
  Casino: "賭場",
3758
3759
  Sports: "體育",
3760
+ LimitsButton: "Limits",
3759
3761
  DepositButton: "存款",
3760
3762
  Loading: "載入中 ..."
3761
3763
  },
@@ -3767,6 +3769,7 @@ const Hr = {
3767
3769
  Credit: "Kreditguthaben",
3768
3770
  Casino: "Casino",
3769
3771
  Sports: "Sport",
3772
+ LimitsButton: "Limits",
3770
3773
  DepositButton: "Einzahlen",
3771
3774
  Loading: "Wird geladen ..."
3772
3775
  },
@@ -3778,6 +3781,7 @@ const Hr = {
3778
3781
  Credit: "Saldo di credito",
3779
3782
  Casino: "Casinò",
3780
3783
  Sports: "Sport",
3784
+ LimitsButton: "Limits",
3781
3785
  DepositButton: "Deposita",
3782
3786
  Loading: "Caricamento ..."
3783
3787
  },
@@ -3789,6 +3793,7 @@ const Hr = {
3789
3793
  Credit: "Solde de crédit",
3790
3794
  Casino: "Casino",
3791
3795
  Sports: "Sports",
3796
+ LimitsButton: "Limits",
3792
3797
  DepositButton: "Dépôt",
3793
3798
  Loading: "Chargement ..."
3794
3799
  },
@@ -3800,6 +3805,7 @@ const Hr = {
3800
3805
  Credit: "Saldo de crédito",
3801
3806
  Casino: "Casino",
3802
3807
  Sports: "Deportes",
3808
+ LimitsButton: "Limits",
3803
3809
  DepositButton: "Depósito",
3804
3810
  Loading: "Cargando ..."
3805
3811
  },
@@ -3811,6 +3817,7 @@ const Hr = {
3811
3817
  Credit: "Kredi Bakiyesi",
3812
3818
  Casino: "Kumarhane",
3813
3819
  Sports: "Spor",
3820
+ LimitsButton: "Limits",
3814
3821
  DepositButton: "Yatır",
3815
3822
  Loading: "Yükleniyor ..."
3816
3823
  },
@@ -3822,6 +3829,7 @@ const Hr = {
3822
3829
  Credit: "Кредитный баланс",
3823
3830
  Casino: "Казино",
3824
3831
  Sports: "Спорт",
3832
+ LimitsButton: "Limits",
3825
3833
  DepositButton: "Депозит",
3826
3834
  Loading: "Загружается ..."
3827
3835
  },
@@ -3833,6 +3841,7 @@ const Hr = {
3833
3841
  Credit: "Sold credit",
3834
3842
  Casino: "Cazinou",
3835
3843
  Sports: "Sporturi",
3844
+ LimitsButton: "Limits",
3836
3845
  DepositButton: "Depozit",
3837
3846
  Loading: "Se încarcă ..."
3838
3847
  },
@@ -3844,6 +3853,7 @@ const Hr = {
3844
3853
  Credit: "Kreditni saldo",
3845
3854
  Casino: "Casino",
3846
3855
  Sports: "Sportovi",
3856
+ LimitsButton: "Limits",
3847
3857
  DepositButton: "Depozit",
3848
3858
  Loading: "Učitavanje ..."
3849
3859
  },
@@ -3855,6 +3865,7 @@ const Hr = {
3855
3865
  Credit: "Hitel egyenleg",
3856
3866
  Casino: "Kaszinó",
3857
3867
  Sports: "Sport",
3868
+ LimitsButton: "Limits",
3858
3869
  DepositButton: "Befizetés",
3859
3870
  Loading: "Betöltés ..."
3860
3871
  },
@@ -3866,6 +3877,7 @@ const Hr = {
3866
3877
  Credit: "Saldo kredytowe",
3867
3878
  Casino: "Kasyno",
3868
3879
  Sports: "Sport",
3880
+ LimitsButton: "Limits",
3869
3881
  DepositButton: "Wpłać",
3870
3882
  Loading: "Ładowanie ..."
3871
3883
  },
@@ -3877,6 +3889,7 @@ const Hr = {
3877
3889
  Credit: "Saldo de Crédito",
3878
3890
  Casino: "Cassino",
3879
3891
  Sports: "Esportes",
3892
+ LimitsButton: "Limits",
3880
3893
  DepositButton: "Depositar",
3881
3894
  Loading: "Carregando ..."
3882
3895
  },
@@ -3888,6 +3901,7 @@ const Hr = {
3888
3901
  Credit: "Kreditni saldo",
3889
3902
  Casino: "Kasino",
3890
3903
  Sports: "Šport",
3904
+ LimitsButton: "Limits",
3891
3905
  DepositButton: "Depozit",
3892
3906
  Loading: "Nalaganje ..."
3893
3907
  },
@@ -3899,6 +3913,7 @@ const Hr = {
3899
3913
  Credit: "Kreditni saldo",
3900
3914
  Casino: "Kasino",
3901
3915
  Sports: "Sport",
3916
+ LimitsButton: "Limits",
3902
3917
  DepositButton: "Depozit",
3903
3918
  Loading: "Učitavanje ..."
3904
3919
  },
@@ -3910,6 +3925,7 @@ const Hr = {
3910
3925
  Credit: "Saldo de Crédito",
3911
3926
  Casino: "Cassino",
3912
3927
  Sports: "Esportes",
3928
+ LimitsButton: "Limits",
3913
3929
  DepositButton: "Depositar",
3914
3930
  Loading: "Carregando ..."
3915
3931
  },
@@ -3921,6 +3937,7 @@ const Hr = {
3921
3937
  Credit: "Saldo de crédito",
3922
3938
  Casino: "Casino",
3923
3939
  Sports: "Deportes",
3940
+ LimitsButton: "Limits",
3924
3941
  DepositButton: "Depósito",
3925
3942
  Loading: "Cargando ..."
3926
3943
  },
@@ -3932,6 +3949,7 @@ const Hr = {
3932
3949
  Credit: "Credit Balance",
3933
3950
  Casino: "Casino",
3934
3951
  Sports: "Sports",
3952
+ LimitsButton: "Limits",
3935
3953
  DepositButton: "Deposit",
3936
3954
  Loading: "Loading ..."
3937
3955
  }
@@ -3944,35 +3962,35 @@ var tr = { exports: {} };
3944
3962
  */
3945
3963
  (function(e, t) {
3946
3964
  (function(r) {
3947
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, l = r.EventSource, u = r.document, f = r.Promise, b = r.fetch, m = r.Response, w = r.TextDecoder, _ = r.TextEncoder, A = r.AbortController;
3948
- if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
3965
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, l = r.EventSource, u = r.document, f = r.Promise, m = r.fetch, d = r.Response, S = r.TextDecoder, _ = r.TextEncoder, T = r.AbortController;
3966
+ if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(c) {
3949
3967
  u.readyState = "complete";
3950
3968
  }, !1)), o == null && a != null && (o = function() {
3951
3969
  return new a("Microsoft.XMLHTTP");
3952
- }), Object.create == null && (Object.create = function(h) {
3953
- function y() {
3970
+ }), Object.create == null && (Object.create = function(c) {
3971
+ function g() {
3954
3972
  }
3955
- return y.prototype = h, new y();
3973
+ return g.prototype = c, new g();
3956
3974
  }), Date.now || (Date.now = function() {
3957
3975
  return (/* @__PURE__ */ new Date()).getTime();
3958
- }), A == null) {
3959
- var N = b;
3960
- b = function(h, y) {
3961
- var E = y.signal;
3962
- return N(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
3963
- var c = g.body.getReader();
3964
- return E._reader = c, E._aborted && E._reader.cancel(), {
3965
- status: g.status,
3966
- statusText: g.statusText,
3967
- headers: g.headers,
3976
+ }), T == null) {
3977
+ var I = m;
3978
+ m = function(c, g) {
3979
+ var x = g.signal;
3980
+ return I(c, { headers: g.headers, credentials: g.credentials, cache: g.cache }).then(function(b) {
3981
+ var H = b.body.getReader();
3982
+ return x._reader = H, x._aborted && x._reader.cancel(), {
3983
+ status: b.status,
3984
+ statusText: b.statusText,
3985
+ headers: b.headers,
3968
3986
  body: {
3969
3987
  getReader: function() {
3970
- return c;
3988
+ return H;
3971
3989
  }
3972
3990
  }
3973
3991
  };
3974
3992
  });
3975
- }, A = function() {
3993
+ }, T = function() {
3976
3994
  this.signal = {
3977
3995
  _reader: null,
3978
3996
  _aborted: !1
@@ -3981,407 +3999,407 @@ var tr = { exports: {} };
3981
3999
  };
3982
4000
  };
3983
4001
  }
3984
- function W() {
4002
+ function re() {
3985
4003
  this.bitsNeeded = 0, this.codePoint = 0;
3986
4004
  }
3987
- W.prototype.decode = function(h) {
3988
- function y(C, S, B) {
3989
- if (B === 1)
3990
- return C >= 128 >> S && C << S <= 2047;
3991
- if (B === 2)
3992
- return C >= 2048 >> S && C << S <= 55295 || C >= 57344 >> S && C << S <= 65535;
3993
- if (B === 3)
3994
- return C >= 65536 >> S && C << S <= 1114111;
4005
+ re.prototype.decode = function(c) {
4006
+ function g(y, C, w) {
4007
+ if (w === 1)
4008
+ return y >= 128 >> C && y << C <= 2047;
4009
+ if (w === 2)
4010
+ return y >= 2048 >> C && y << C <= 55295 || y >= 57344 >> C && y << C <= 65535;
4011
+ if (w === 3)
4012
+ return y >= 65536 >> C && y << C <= 1114111;
3995
4013
  throw new Error();
3996
4014
  }
3997
- function E(C, S) {
3998
- if (C === 6 * 1)
3999
- return S >> 6 > 15 ? 3 : S > 31 ? 2 : 1;
4000
- if (C === 6 * 2)
4001
- return S > 15 ? 3 : 2;
4002
- if (C === 6 * 3)
4015
+ function x(y, C) {
4016
+ if (y === 6 * 1)
4017
+ return C >> 6 > 15 ? 3 : C > 31 ? 2 : 1;
4018
+ if (y === 6 * 2)
4019
+ return C > 15 ? 3 : 2;
4020
+ if (y === 6 * 3)
4003
4021
  return 3;
4004
4022
  throw new Error();
4005
4023
  }
4006
- for (var g = 65533, c = "", d = this.bitsNeeded, p = this.codePoint, v = 0; v < h.length; v += 1) {
4007
- var T = h[v];
4008
- d !== 0 && (T < 128 || T > 191 || !y(p << 6 | T & 63, d - 6, E(d, p))) && (d = 0, p = g, c += String.fromCharCode(p)), d === 0 ? (T >= 0 && T <= 127 ? (d = 0, p = T) : T >= 192 && T <= 223 ? (d = 6 * 1, p = T & 31) : T >= 224 && T <= 239 ? (d = 6 * 2, p = T & 15) : T >= 240 && T <= 247 ? (d = 6 * 3, p = T & 7) : (d = 0, p = g), d !== 0 && !y(p, d, E(d, p)) && (d = 0, p = g)) : (d -= 6, p = p << 6 | T & 63), d === 0 && (p <= 65535 ? c += String.fromCharCode(p) : (c += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), c += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4024
+ for (var b = 65533, H = "", A = this.bitsNeeded, h = this.codePoint, v = 0; v < c.length; v += 1) {
4025
+ var p = c[v];
4026
+ A !== 0 && (p < 128 || p > 191 || !g(h << 6 | p & 63, A - 6, x(A, h))) && (A = 0, h = b, H += String.fromCharCode(h)), A === 0 ? (p >= 0 && p <= 127 ? (A = 0, h = p) : p >= 192 && p <= 223 ? (A = 6 * 1, h = p & 31) : p >= 224 && p <= 239 ? (A = 6 * 2, h = p & 15) : p >= 240 && p <= 247 ? (A = 6 * 3, h = p & 7) : (A = 0, h = b), A !== 0 && !g(h, A, x(A, h)) && (A = 0, h = b)) : (A -= 6, h = h << 6 | p & 63), A === 0 && (h <= 65535 ? H += String.fromCharCode(h) : (H += String.fromCharCode(55296 + (h - 65535 - 1 >> 10)), H += String.fromCharCode(56320 + (h - 65535 - 1 & 1023))));
4009
4027
  }
4010
- return this.bitsNeeded = d, this.codePoint = p, c;
4028
+ return this.bitsNeeded = A, this.codePoint = h, H;
4011
4029
  };
4012
- var V = function() {
4030
+ var K = function() {
4013
4031
  try {
4014
- return new w().decode(new _().encode("test"), { stream: !0 }) === "test";
4015
- } catch (h) {
4016
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4032
+ return new S().decode(new _().encode("test"), { stream: !0 }) === "test";
4033
+ } catch (c) {
4034
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4017
4035
  }
4018
4036
  return !1;
4019
4037
  };
4020
- (w == null || _ == null || !V()) && (w = W);
4021
- var R = function() {
4038
+ (S == null || _ == null || !K()) && (S = re);
4039
+ var P = function() {
4022
4040
  };
4023
- function I(h) {
4024
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = R, this.onload = R, this.onerror = R, this.onreadystatechange = R, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = R;
4041
+ function j(c) {
4042
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = P, this.onload = P, this.onerror = P, this.onreadystatechange = P, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = P;
4025
4043
  }
4026
- I.prototype.open = function(h, y) {
4044
+ j.prototype.open = function(c, g) {
4027
4045
  this._abort(!0);
4028
- var E = this, g = this._xhr, c = 1, d = 0;
4029
- this._abort = function(B) {
4030
- E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (c === 1 || c === 2 || c === 3) && (c = 4, g.onload = R, g.onerror = R, g.onabort = R, g.onprogress = R, g.onreadystatechange = R, g.abort(), d !== 0 && (i(d), d = 0), B || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), c = 0;
4046
+ var x = this, b = this._xhr, H = 1, A = 0;
4047
+ this._abort = function(w) {
4048
+ x._sendTimeout !== 0 && (i(x._sendTimeout), x._sendTimeout = 0), (H === 1 || H === 2 || H === 3) && (H = 4, b.onload = P, b.onerror = P, b.onabort = P, b.onprogress = P, b.onreadystatechange = P, b.abort(), A !== 0 && (i(A), A = 0), w || (x.readyState = 4, x.onabort(null), x.onreadystatechange())), H = 0;
4031
4049
  };
4032
- var p = function() {
4033
- if (c === 1) {
4034
- var B = 0, L = "", ee = void 0;
4035
- if ("contentType" in g)
4036
- B = 200, L = "OK", ee = g.contentType;
4050
+ var h = function() {
4051
+ if (H === 1) {
4052
+ var w = 0, B = "", V = void 0;
4053
+ if ("contentType" in b)
4054
+ w = 200, B = "OK", V = b.contentType;
4037
4055
  else
4038
4056
  try {
4039
- B = g.status, L = g.statusText, ee = g.getResponseHeader("Content-Type");
4057
+ w = b.status, B = b.statusText, V = b.getResponseHeader("Content-Type");
4040
4058
  } catch {
4041
- B = 0, L = "", ee = void 0;
4059
+ w = 0, B = "", V = void 0;
4042
4060
  }
4043
- B !== 0 && (c = 2, E.readyState = 2, E.status = B, E.statusText = L, E._contentType = ee, E.onreadystatechange());
4061
+ w !== 0 && (H = 2, x.readyState = 2, x.status = w, x.statusText = B, x._contentType = V, x.onreadystatechange());
4044
4062
  }
4045
4063
  }, v = function() {
4046
- if (p(), c === 2 || c === 3) {
4047
- c = 3;
4048
- var B = "";
4064
+ if (h(), H === 2 || H === 3) {
4065
+ H = 3;
4066
+ var w = "";
4049
4067
  try {
4050
- B = g.responseText;
4068
+ w = b.responseText;
4051
4069
  } catch {
4052
4070
  }
4053
- E.readyState = 3, E.responseText = B, E.onprogress();
4071
+ x.readyState = 3, x.responseText = w, x.onprogress();
4054
4072
  }
4055
- }, T = function(B, L) {
4056
- if ((L == null || L.preventDefault == null) && (L = {
4057
- preventDefault: R
4058
- }), v(), c === 1 || c === 2 || c === 3) {
4059
- if (c = 4, d !== 0 && (i(d), d = 0), E.readyState = 4, B === "load")
4060
- E.onload(L);
4061
- else if (B === "error")
4062
- E.onerror(L);
4063
- else if (B === "abort")
4064
- E.onabort(L);
4073
+ }, p = function(w, B) {
4074
+ if ((B == null || B.preventDefault == null) && (B = {
4075
+ preventDefault: P
4076
+ }), v(), H === 1 || H === 2 || H === 3) {
4077
+ if (H = 4, A !== 0 && (i(A), A = 0), x.readyState = 4, w === "load")
4078
+ x.onload(B);
4079
+ else if (w === "error")
4080
+ x.onerror(B);
4081
+ else if (w === "abort")
4082
+ x.onabort(B);
4065
4083
  else
4066
4084
  throw new TypeError();
4067
- E.onreadystatechange();
4085
+ x.onreadystatechange();
4068
4086
  }
4069
- }, C = function(B) {
4070
- g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && T(g.responseText === "" ? "error" : "load", B) : g.readyState === 3 ? "onprogress" in g || v() : g.readyState === 2 && p());
4071
- }, S = function() {
4072
- d = n(function() {
4073
- S();
4074
- }, 500), g.readyState === 3 && v();
4087
+ }, y = function(w) {
4088
+ b != null && (b.readyState === 4 ? (!("onload" in b) || !("onerror" in b) || !("onabort" in b)) && p(b.responseText === "" ? "error" : "load", w) : b.readyState === 3 ? "onprogress" in b || v() : b.readyState === 2 && h());
4089
+ }, C = function() {
4090
+ A = n(function() {
4091
+ C();
4092
+ }, 500), b.readyState === 3 && v();
4075
4093
  };
4076
- "onload" in g && (g.onload = function(B) {
4077
- T("load", B);
4078
- }), "onerror" in g && (g.onerror = function(B) {
4079
- T("error", B);
4080
- }), "onabort" in g && (g.onabort = function(B) {
4081
- T("abort", B);
4082
- }), "onprogress" in g && (g.onprogress = v), "onreadystatechange" in g && (g.onreadystatechange = function(B) {
4083
- C(B);
4084
- }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (d = n(function() {
4085
- S();
4094
+ "onload" in b && (b.onload = function(w) {
4095
+ p("load", w);
4096
+ }), "onerror" in b && (b.onerror = function(w) {
4097
+ p("error", w);
4098
+ }), "onabort" in b && (b.onabort = function(w) {
4099
+ p("abort", w);
4100
+ }), "onprogress" in b && (b.onprogress = v), "onreadystatechange" in b && (b.onreadystatechange = function(w) {
4101
+ y(w);
4102
+ }), ("contentType" in b || !("ontimeout" in o.prototype)) && (g += (g.indexOf("?") === -1 ? "?" : "&") + "padding=true"), b.open(c, g, !0), "readyState" in b && (A = n(function() {
4103
+ C();
4086
4104
  }, 0));
4087
- }, I.prototype.abort = function() {
4105
+ }, j.prototype.abort = function() {
4088
4106
  this._abort(!1);
4089
- }, I.prototype.getResponseHeader = function(h) {
4107
+ }, j.prototype.getResponseHeader = function(c) {
4090
4108
  return this._contentType;
4091
- }, I.prototype.setRequestHeader = function(h, y) {
4092
- var E = this._xhr;
4093
- "setRequestHeader" in E && E.setRequestHeader(h, y);
4094
- }, I.prototype.getAllResponseHeaders = function() {
4109
+ }, j.prototype.setRequestHeader = function(c, g) {
4110
+ var x = this._xhr;
4111
+ "setRequestHeader" in x && x.setRequestHeader(c, g);
4112
+ }, j.prototype.getAllResponseHeaders = function() {
4095
4113
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4096
- }, I.prototype.send = function() {
4114
+ }, j.prototype.send = function() {
4097
4115
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4098
- var h = this;
4099
- h._sendTimeout = n(function() {
4100
- h._sendTimeout = 0, h.send();
4116
+ var c = this;
4117
+ c._sendTimeout = n(function() {
4118
+ c._sendTimeout = 0, c.send();
4101
4119
  }, 4);
4102
4120
  return;
4103
4121
  }
4104
- var y = this._xhr;
4105
- "withCredentials" in y && (y.withCredentials = this.withCredentials);
4122
+ var g = this._xhr;
4123
+ "withCredentials" in g && (g.withCredentials = this.withCredentials);
4106
4124
  try {
4107
- y.send(void 0);
4108
- } catch (E) {
4109
- throw E;
4125
+ g.send(void 0);
4126
+ } catch (x) {
4127
+ throw x;
4110
4128
  }
4111
4129
  };
4112
- function j(h) {
4113
- return h.replace(/[A-Z]/g, function(y) {
4114
- return String.fromCharCode(y.charCodeAt(0) + 32);
4130
+ function U(c) {
4131
+ return c.replace(/[A-Z]/g, function(g) {
4132
+ return String.fromCharCode(g.charCodeAt(0) + 32);
4115
4133
  });
4116
4134
  }
4117
- function oe(h) {
4118
- for (var y = /* @__PURE__ */ Object.create(null), E = h.split(`\r
4119
- `), g = 0; g < E.length; g += 1) {
4120
- var c = E[g], d = c.split(": "), p = d.shift(), v = d.join(": ");
4121
- y[j(p)] = v;
4135
+ function W(c) {
4136
+ for (var g = /* @__PURE__ */ Object.create(null), x = c.split(`\r
4137
+ `), b = 0; b < x.length; b += 1) {
4138
+ var H = x[b], A = H.split(": "), h = A.shift(), v = A.join(": ");
4139
+ g[U(h)] = v;
4122
4140
  }
4123
- this._map = y;
4141
+ this._map = g;
4124
4142
  }
4125
- oe.prototype.get = function(h) {
4126
- return this._map[j(h)];
4143
+ W.prototype.get = function(c) {
4144
+ return this._map[U(c)];
4127
4145
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4128
- function Z() {
4146
+ function de() {
4129
4147
  }
4130
- Z.prototype.open = function(h, y, E, g, c, d, p) {
4131
- h.open("GET", c);
4148
+ de.prototype.open = function(c, g, x, b, H, A, h) {
4149
+ c.open("GET", H);
4132
4150
  var v = 0;
4133
- h.onprogress = function() {
4134
- var C = h.responseText, S = C.slice(v);
4135
- v += S.length, E(S);
4136
- }, h.onerror = function(C) {
4137
- C.preventDefault(), g(new Error("NetworkError"));
4138
- }, h.onload = function() {
4139
- g(null);
4140
- }, h.onabort = function() {
4141
- g(null);
4142
- }, h.onreadystatechange = function() {
4143
- if (h.readyState === o.HEADERS_RECEIVED) {
4144
- var C = h.status, S = h.statusText, B = h.getResponseHeader("Content-Type"), L = h.getAllResponseHeaders();
4145
- y(C, S, B, new oe(L));
4151
+ c.onprogress = function() {
4152
+ var y = c.responseText, C = y.slice(v);
4153
+ v += C.length, x(C);
4154
+ }, c.onerror = function(y) {
4155
+ y.preventDefault(), b(new Error("NetworkError"));
4156
+ }, c.onload = function() {
4157
+ b(null);
4158
+ }, c.onabort = function() {
4159
+ b(null);
4160
+ }, c.onreadystatechange = function() {
4161
+ if (c.readyState === o.HEADERS_RECEIVED) {
4162
+ var y = c.status, C = c.statusText, w = c.getResponseHeader("Content-Type"), B = c.getAllResponseHeaders();
4163
+ g(y, C, w, new W(B));
4146
4164
  }
4147
- }, h.withCredentials = d;
4148
- for (var T in p)
4149
- Object.prototype.hasOwnProperty.call(p, T) && h.setRequestHeader(T, p[T]);
4150
- return h.send(), h;
4165
+ }, c.withCredentials = A;
4166
+ for (var p in h)
4167
+ Object.prototype.hasOwnProperty.call(h, p) && c.setRequestHeader(p, h[p]);
4168
+ return c.send(), c;
4151
4169
  };
4152
- function k(h) {
4153
- this._headers = h;
4170
+ function ne(c) {
4171
+ this._headers = c;
4154
4172
  }
4155
- k.prototype.get = function(h) {
4156
- return this._headers.get(h);
4173
+ ne.prototype.get = function(c) {
4174
+ return this._headers.get(c);
4157
4175
  };
4158
- function D() {
4176
+ function X() {
4159
4177
  }
4160
- D.prototype.open = function(h, y, E, g, c, d, p) {
4161
- var v = null, T = new A(), C = T.signal, S = new w();
4162
- return b(c, {
4163
- headers: p,
4164
- credentials: d ? "include" : "same-origin",
4165
- signal: C,
4178
+ X.prototype.open = function(c, g, x, b, H, A, h) {
4179
+ var v = null, p = new T(), y = p.signal, C = new S();
4180
+ return m(H, {
4181
+ headers: h,
4182
+ credentials: A ? "include" : "same-origin",
4183
+ signal: y,
4166
4184
  cache: "no-store"
4167
- }).then(function(B) {
4168
- return v = B.body.getReader(), y(B.status, B.statusText, B.headers.get("Content-Type"), new k(B.headers)), new f(function(L, ee) {
4169
- var Ae = function() {
4170
- v.read().then(function(X) {
4171
- if (X.done)
4172
- L(void 0);
4185
+ }).then(function(w) {
4186
+ return v = w.body.getReader(), g(w.status, w.statusText, w.headers.get("Content-Type"), new ne(w.headers)), new f(function(B, V) {
4187
+ var ce = function() {
4188
+ v.read().then(function(Z) {
4189
+ if (Z.done)
4190
+ B(void 0);
4173
4191
  else {
4174
- var te = S.decode(X.value, { stream: !0 });
4175
- E(te), Ae();
4192
+ var Q = C.decode(Z.value, { stream: !0 });
4193
+ x(Q), ce();
4176
4194
  }
4177
- }).catch(function(X) {
4178
- ee(X);
4195
+ }).catch(function(Z) {
4196
+ V(Z);
4179
4197
  });
4180
4198
  };
4181
- Ae();
4199
+ ce();
4182
4200
  });
4183
- }).catch(function(B) {
4184
- if (B.name !== "AbortError")
4185
- return B;
4186
- }).then(function(B) {
4187
- g(B);
4201
+ }).catch(function(w) {
4202
+ if (w.name !== "AbortError")
4203
+ return w;
4204
+ }).then(function(w) {
4205
+ b(w);
4188
4206
  }), {
4189
4207
  abort: function() {
4190
- v?.cancel(), T.abort();
4208
+ v?.cancel(), p.abort();
4191
4209
  }
4192
4210
  };
4193
4211
  };
4194
- function q() {
4212
+ function $() {
4195
4213
  this._listeners = /* @__PURE__ */ Object.create(null);
4196
4214
  }
4197
- function U(h) {
4215
+ function N(c) {
4198
4216
  n(function() {
4199
- throw h;
4217
+ throw c;
4200
4218
  }, 0);
4201
4219
  }
4202
- q.prototype.dispatchEvent = function(h) {
4203
- h.target = this;
4204
- var y = this._listeners[h.type];
4205
- if (y != null)
4206
- for (var E = y.length, g = 0; g < E; g += 1) {
4207
- var c = y[g];
4220
+ $.prototype.dispatchEvent = function(c) {
4221
+ c.target = this;
4222
+ var g = this._listeners[c.type];
4223
+ if (g != null)
4224
+ for (var x = g.length, b = 0; b < x; b += 1) {
4225
+ var H = g[b];
4208
4226
  try {
4209
- typeof c.handleEvent == "function" ? c.handleEvent(h) : c.call(this, h);
4210
- } catch (d) {
4211
- U(d);
4227
+ typeof H.handleEvent == "function" ? H.handleEvent(c) : H.call(this, c);
4228
+ } catch (A) {
4229
+ N(A);
4212
4230
  }
4213
4231
  }
4214
- }, q.prototype.addEventListener = function(h, y) {
4215
- h = String(h);
4216
- var E = this._listeners, g = E[h];
4217
- g == null && (g = [], E[h] = g);
4218
- for (var c = !1, d = 0; d < g.length; d += 1)
4219
- g[d] === y && (c = !0);
4220
- c || g.push(y);
4221
- }, q.prototype.removeEventListener = function(h, y) {
4222
- h = String(h);
4223
- var E = this._listeners, g = E[h];
4224
- if (g != null) {
4225
- for (var c = [], d = 0; d < g.length; d += 1)
4226
- g[d] !== y && c.push(g[d]);
4227
- c.length === 0 ? delete E[h] : E[h] = c;
4232
+ }, $.prototype.addEventListener = function(c, g) {
4233
+ c = String(c);
4234
+ var x = this._listeners, b = x[c];
4235
+ b == null && (b = [], x[c] = b);
4236
+ for (var H = !1, A = 0; A < b.length; A += 1)
4237
+ b[A] === g && (H = !0);
4238
+ H || b.push(g);
4239
+ }, $.prototype.removeEventListener = function(c, g) {
4240
+ c = String(c);
4241
+ var x = this._listeners, b = x[c];
4242
+ if (b != null) {
4243
+ for (var H = [], A = 0; A < b.length; A += 1)
4244
+ b[A] !== g && H.push(b[A]);
4245
+ H.length === 0 ? delete x[c] : x[c] = H;
4228
4246
  }
4229
4247
  };
4230
- function K(h) {
4231
- this.type = h, this.target = void 0;
4248
+ function F(c) {
4249
+ this.type = c, this.target = void 0;
4232
4250
  }
4233
- function he(h, y) {
4234
- K.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4251
+ function D(c, g) {
4252
+ F.call(this, c), this.data = g.data, this.lastEventId = g.lastEventId;
4235
4253
  }
4236
- he.prototype = Object.create(K.prototype);
4237
- function ye(h, y) {
4238
- K.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4254
+ D.prototype = Object.create(F.prototype);
4255
+ function ie(c, g) {
4256
+ F.call(this, c), this.status = g.status, this.statusText = g.statusText, this.headers = g.headers;
4239
4257
  }
4240
- ye.prototype = Object.create(K.prototype);
4241
- function x(h, y) {
4242
- K.call(this, h), this.error = y.error;
4258
+ ie.prototype = Object.create(F.prototype);
4259
+ function Ae(c, g) {
4260
+ F.call(this, c), this.error = g.error;
4243
4261
  }
4244
- x.prototype = Object.create(K.prototype);
4245
- var ve = -1, pe = 0, ae = 1, He = 2, qe = -1, me = 0, Ye = 1, Me = 2, st = 3, Ot = /^text\/event\-stream(;.*)?$/i, Qe = 1e3, ut = 18e6, Je = function(h, y) {
4246
- var E = h == null ? y : parseInt(h, 10);
4247
- return E !== E && (E = y), Le(E);
4248
- }, Le = function(h) {
4249
- return Math.min(Math.max(h, Qe), ut);
4250
- }, Be = function(h, y, E) {
4262
+ Ae.prototype = Object.create(F.prototype);
4263
+ var E = -1, ue = 0, Ce = 1, pe = 2, Ze = -1, ye = 0, qe = 1, ut = 2, Ye = 3, lt = /^text\/event\-stream(;.*)?$/i, Ot = 1e3, Qe = 18e6, Re = function(c, g) {
4264
+ var x = c == null ? g : parseInt(c, 10);
4265
+ return x !== x && (x = g), Je(x);
4266
+ }, Je = function(c) {
4267
+ return Math.min(Math.max(c, Ot), Qe);
4268
+ }, ve = function(c, g, x) {
4251
4269
  try {
4252
- typeof y == "function" && y.call(h, E);
4253
- } catch (g) {
4254
- U(g);
4270
+ typeof g == "function" && g.call(c, x);
4271
+ } catch (b) {
4272
+ N(b);
4255
4273
  }
4256
4274
  };
4257
- function se(h, y) {
4258
- q.call(this), y = y || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Rt(this, h, y);
4275
+ function le(c, g) {
4276
+ $.call(this), g = g || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, ct(this, c, g);
4259
4277
  }
4260
- function Pt() {
4278
+ function Lt() {
4261
4279
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4262
4280
  }
4263
- var lt = b != null && m != null && "body" in m.prototype;
4264
- function Rt(h, y, E) {
4265
- y = String(y);
4266
- var g = !!E.withCredentials, c = E.lastEventIdQueryParameterName || "lastEventId", d = Le(1e3), p = Je(E.heartbeatTimeout, 45e3), v = "", T = d, C = !1, S = 0, B = E.headers || {}, L = E.Transport, ee = lt && L == null ? void 0 : new I(L != null ? new L() : Pt()), Ae = L != null && typeof L != "string" ? new L() : ee == null ? new D() : new Z(), X = void 0, te = 0, fe = ve, Ne = "", ht = "", _e = "", ft = "", re = me, Mt = 0, Oe = 0, Tn = function(Y, z, ue, le) {
4267
- if (fe === pe)
4268
- if (Y === 200 && ue != null && Ot.test(ue)) {
4269
- fe = ae, C = Date.now(), T = d, h.readyState = ae;
4270
- var ne = new ye("open", {
4271
- status: Y,
4272
- statusText: z,
4273
- headers: le
4281
+ var Mt = m != null && d != null && "body" in d.prototype;
4282
+ function ct(c, g, x) {
4283
+ g = String(g);
4284
+ var b = !!x.withCredentials, H = x.lastEventIdQueryParameterName || "lastEventId", A = Je(1e3), h = Re(x.heartbeatTimeout, 45e3), v = "", p = A, y = !1, C = 0, w = x.headers || {}, B = x.Transport, V = Mt && B == null ? void 0 : new j(B != null ? new B() : Lt()), ce = B != null && typeof B != "string" ? new B() : V == null ? new X() : new de(), Z = void 0, Q = 0, ee = E, Pe = "", ft = "", we = "", dt = "", oe = ye, Rt = 0, Le = 0, Tn = function(J, q, he, fe) {
4285
+ if (ee === ue)
4286
+ if (J === 200 && he != null && lt.test(he)) {
4287
+ ee = Ce, y = Date.now(), p = A, c.readyState = Ce;
4288
+ var ae = new ie("open", {
4289
+ status: J,
4290
+ statusText: q,
4291
+ headers: fe
4274
4292
  });
4275
- h.dispatchEvent(ne), Be(h, h.onopen, ne);
4293
+ c.dispatchEvent(ae), ve(c, c.onopen, ae);
4276
4294
  } else {
4277
- var J = "";
4278
- Y !== 200 ? (z && (z = z.replace(/\s+/g, " ")), J = "EventSource's response has a status " + Y + " " + z + " that is not 200. Aborting the connection.") : J = "EventSource's response has a Content-Type specifying an unsupported type: " + (ue == null ? "-" : ue.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4279
- var ne = new ye("error", {
4280
- status: Y,
4281
- statusText: z,
4282
- headers: le
4295
+ var te = "";
4296
+ J !== 200 ? (q && (q = q.replace(/\s+/g, " ")), te = "EventSource's response has a status " + J + " " + q + " that is not 200. Aborting the connection.") : te = "EventSource's response has a Content-Type specifying an unsupported type: " + (he == null ? "-" : he.replace(/\s+/g, " ")) + ". Aborting the connection.", Pt();
4297
+ var ae = new ie("error", {
4298
+ status: J,
4299
+ statusText: q,
4300
+ headers: fe
4283
4301
  });
4284
- h.dispatchEvent(ne), Be(h, h.onerror, ne), console.error(J);
4302
+ c.dispatchEvent(ae), ve(c, c.onerror, ae), console.error(te);
4285
4303
  }
4286
- }, Bn = function(Y) {
4287
- if (fe === ae) {
4288
- for (var z = -1, ue = 0; ue < Y.length; ue += 1) {
4289
- var le = Y.charCodeAt(ue);
4290
- (le === 10 || le === 13) && (z = ue);
4304
+ }, An = function(J) {
4305
+ if (ee === Ce) {
4306
+ for (var q = -1, he = 0; he < J.length; he += 1) {
4307
+ var fe = J.charCodeAt(he);
4308
+ (fe === 10 || fe === 13) && (q = he);
4291
4309
  }
4292
- var ne = (z !== -1 ? ft : "") + Y.slice(0, z + 1);
4293
- ft = (z === -1 ? ft : "") + Y.slice(z + 1), Y !== "" && (C = Date.now(), S += Y.length);
4294
- for (var J = 0; J < ne.length; J += 1) {
4295
- var le = ne.charCodeAt(J);
4296
- if (re === qe && le === 10)
4297
- re = me;
4298
- else if (re === qe && (re = me), le === 13 || le === 10) {
4299
- if (re !== me) {
4300
- re === Ye && (Oe = J + 1);
4301
- var Ee = ne.slice(Mt, Oe - 1), xe = ne.slice(Oe + (Oe < J && ne.charCodeAt(Oe) === 32 ? 1 : 0), J);
4302
- Ee === "data" ? (Ne += `
4303
- `, Ne += xe) : Ee === "id" ? ht = xe : Ee === "event" ? _e = xe : Ee === "retry" ? (d = Je(xe, d), T = d) : Ee === "heartbeatTimeout" && (p = Je(xe, p), te !== 0 && (i(te), te = n(function() {
4310
+ var ae = (q !== -1 ? dt : "") + J.slice(0, q + 1);
4311
+ dt = (q === -1 ? dt : "") + J.slice(q + 1), J !== "" && (y = Date.now(), C += J.length);
4312
+ for (var te = 0; te < ae.length; te += 1) {
4313
+ var fe = ae.charCodeAt(te);
4314
+ if (oe === Ze && fe === 10)
4315
+ oe = ye;
4316
+ else if (oe === Ze && (oe = ye), fe === 13 || fe === 10) {
4317
+ if (oe !== ye) {
4318
+ oe === qe && (Le = te + 1);
4319
+ var Se = ae.slice(Rt, Le - 1), Be = ae.slice(Le + (Le < te && ae.charCodeAt(Le) === 32 ? 1 : 0), te);
4320
+ Se === "data" ? (Pe += `
4321
+ `, Pe += Be) : Se === "id" ? ft = Be : Se === "event" ? we = Be : Se === "retry" ? (A = Re(Be, A), p = A) : Se === "heartbeatTimeout" && (h = Re(Be, h), Q !== 0 && (i(Q), Q = n(function() {
4304
4322
  Ke();
4305
- }, p)));
4323
+ }, h)));
4306
4324
  }
4307
- if (re === me) {
4308
- if (Ne !== "") {
4309
- v = ht, _e === "" && (_e = "message");
4310
- var Ie = new he(_e, {
4311
- data: Ne.slice(1),
4312
- lastEventId: ht
4325
+ if (oe === ye) {
4326
+ if (Pe !== "") {
4327
+ v = ft, we === "" && (we = "message");
4328
+ var Ne = new D(we, {
4329
+ data: Pe.slice(1),
4330
+ lastEventId: ft
4313
4331
  });
4314
- if (h.dispatchEvent(Ie), _e === "open" ? Be(h, h.onopen, Ie) : _e === "message" ? Be(h, h.onmessage, Ie) : _e === "error" && Be(h, h.onerror, Ie), fe === He)
4332
+ if (c.dispatchEvent(Ne), we === "open" ? ve(c, c.onopen, Ne) : we === "message" ? ve(c, c.onmessage, Ne) : we === "error" && ve(c, c.onerror, Ne), ee === pe)
4315
4333
  return;
4316
4334
  }
4317
- Ne = "", _e = "";
4335
+ Pe = "", we = "";
4318
4336
  }
4319
- re = le === 13 ? qe : me;
4337
+ oe = fe === 13 ? Ze : ye;
4320
4338
  } else
4321
- re === me && (Mt = J, re = Ye), re === Ye ? le === 58 && (Oe = J + 1, re = Me) : re === Me && (re = st);
4339
+ oe === ye && (Rt = te, oe = qe), oe === qe ? fe === 58 && (Le = te + 1, oe = ut) : oe === ut && (oe = Ye);
4322
4340
  }
4323
4341
  }
4324
- }, hr = function(Y) {
4325
- if (fe === ae || fe === pe) {
4326
- fe = ve, te !== 0 && (i(te), te = 0), te = n(function() {
4342
+ }, hr = function(J) {
4343
+ if (ee === Ce || ee === ue) {
4344
+ ee = E, Q !== 0 && (i(Q), Q = 0), Q = n(function() {
4327
4345
  Ke();
4328
- }, T), T = Le(Math.min(d * 16, T * 2)), h.readyState = pe;
4329
- var z = new x("error", { error: Y });
4330
- h.dispatchEvent(z), Be(h, h.onerror, z), Y != null && console.error(Y);
4346
+ }, p), p = Je(Math.min(A * 16, p * 2)), c.readyState = ue;
4347
+ var q = new Ae("error", { error: J });
4348
+ c.dispatchEvent(q), ve(c, c.onerror, q), J != null && console.error(J);
4331
4349
  }
4332
- }, Lt = function() {
4333
- fe = He, X != null && (X.abort(), X = void 0), te !== 0 && (i(te), te = 0), h.readyState = He;
4350
+ }, Pt = function() {
4351
+ ee = pe, Z != null && (Z.abort(), Z = void 0), Q !== 0 && (i(Q), Q = 0), c.readyState = pe;
4334
4352
  }, Ke = function() {
4335
- if (te = 0, fe !== ve) {
4336
- if (!C && X != null)
4337
- hr(new Error("No activity within " + p + " milliseconds. " + (fe === pe ? "No response received." : S + " chars received.") + " Reconnecting.")), X != null && (X.abort(), X = void 0);
4353
+ if (Q = 0, ee !== E) {
4354
+ if (!y && Z != null)
4355
+ hr(new Error("No activity within " + h + " milliseconds. " + (ee === ue ? "No response received." : C + " chars received.") + " Reconnecting.")), Z != null && (Z.abort(), Z = void 0);
4338
4356
  else {
4339
- var Y = Math.max((C || Date.now()) + p - Date.now(), 1);
4340
- C = !1, te = n(function() {
4357
+ var J = Math.max((y || Date.now()) + h - Date.now(), 1);
4358
+ y = !1, Q = n(function() {
4341
4359
  Ke();
4342
- }, Y);
4360
+ }, J);
4343
4361
  }
4344
4362
  return;
4345
4363
  }
4346
- C = !1, S = 0, te = n(function() {
4364
+ y = !1, C = 0, Q = n(function() {
4347
4365
  Ke();
4348
- }, p), fe = pe, Ne = "", _e = "", ht = v, ft = "", Mt = 0, Oe = 0, re = me;
4349
- var z = y;
4350
- if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && v !== "") {
4351
- var ue = y.indexOf("?");
4352
- z = ue === -1 ? y : y.slice(0, ue + 1) + y.slice(ue + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ie) {
4353
- return Ie === c ? "" : xe;
4354
- }), z += (y.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(v);
4366
+ }, h), ee = ue, Pe = "", we = "", ft = v, dt = "", Rt = 0, Le = 0, oe = ye;
4367
+ var q = g;
4368
+ if (g.slice(0, 5) !== "data:" && g.slice(0, 5) !== "blob:" && v !== "") {
4369
+ var he = g.indexOf("?");
4370
+ q = he === -1 ? g : g.slice(0, he + 1) + g.slice(he + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Be, Ne) {
4371
+ return Ne === H ? "" : Be;
4372
+ }), q += (g.indexOf("?") === -1 ? "?" : "&") + H + "=" + encodeURIComponent(v);
4355
4373
  }
4356
- var le = h.withCredentials, ne = {};
4357
- ne.Accept = "text/event-stream";
4358
- var J = h.headers;
4359
- if (J != null)
4360
- for (var Ee in J)
4361
- Object.prototype.hasOwnProperty.call(J, Ee) && (ne[Ee] = J[Ee]);
4374
+ var fe = c.withCredentials, ae = {};
4375
+ ae.Accept = "text/event-stream";
4376
+ var te = c.headers;
4377
+ if (te != null)
4378
+ for (var Se in te)
4379
+ Object.prototype.hasOwnProperty.call(te, Se) && (ae[Se] = te[Se]);
4362
4380
  try {
4363
- X = Ae.open(ee, Tn, Bn, hr, z, le, ne);
4364
- } catch (xe) {
4365
- throw Lt(), xe;
4381
+ Z = ce.open(V, Tn, An, hr, q, fe, ae);
4382
+ } catch (Be) {
4383
+ throw Pt(), Be;
4366
4384
  }
4367
4385
  };
4368
- h.url = y, h.readyState = pe, h.withCredentials = g, h.headers = B, h._close = Lt, Ke();
4386
+ c.url = g, c.readyState = ue, c.withCredentials = b, c.headers = w, c._close = Pt, Ke();
4369
4387
  }
4370
- se.prototype = Object.create(q.prototype), se.prototype.CONNECTING = pe, se.prototype.OPEN = ae, se.prototype.CLOSED = He, se.prototype.close = function() {
4388
+ le.prototype = Object.create($.prototype), le.prototype.CONNECTING = ue, le.prototype.OPEN = Ce, le.prototype.CLOSED = pe, le.prototype.close = function() {
4371
4389
  this._close();
4372
- }, se.CONNECTING = pe, se.OPEN = ae, se.CLOSED = He, se.prototype.withCredentials = void 0;
4373
- var ct = l;
4374
- o != null && (l == null || !("withCredentials" in l.prototype)) && (ct = se), function(h) {
4390
+ }, le.CONNECTING = ue, le.OPEN = Ce, le.CLOSED = pe, le.prototype.withCredentials = void 0;
4391
+ var ht = l;
4392
+ o != null && (l == null || !("withCredentials" in l.prototype)) && (ht = le), function(c) {
4375
4393
  {
4376
- var y = h(t);
4377
- y !== void 0 && (e.exports = y);
4394
+ var g = c(t);
4395
+ g !== void 0 && (e.exports = g);
4378
4396
  }
4379
- }(function(h) {
4380
- h.EventSourcePolyfill = se, h.NativeEventSource = l, h.EventSource = ct;
4397
+ }(function(c) {
4398
+ c.EventSourcePolyfill = le, c.NativeEventSource = l, c.EventSource = ht;
4381
4399
  });
4382
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ei : globalThis);
4400
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ti : globalThis);
4383
4401
  })(tr, tr.exports);
4384
- var Vo = tr.exports;
4402
+ var Xo = tr.exports;
4385
4403
  /*! *****************************************************************************
4386
4404
  Copyright (c) Microsoft Corporation.
4387
4405
 
@@ -4404,7 +4422,7 @@ var rr = function(e, t) {
4404
4422
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4405
4423
  }, rr(e, t);
4406
4424
  };
4407
- function at(e, t) {
4425
+ function st(e, t) {
4408
4426
  if (typeof t != "function" && t !== null)
4409
4427
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4410
4428
  rr(e, t);
@@ -4454,13 +4472,13 @@ function or(e, t, r) {
4454
4472
  function Te(e) {
4455
4473
  return typeof e == "function";
4456
4474
  }
4457
- function vn(e) {
4475
+ function _n(e) {
4458
4476
  var t = function(n) {
4459
4477
  Error.call(n), n.stack = new Error().stack;
4460
4478
  }, r = e(t);
4461
4479
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4462
4480
  }
4463
- var kt = vn(function(e) {
4481
+ var jt = _n(function(e) {
4464
4482
  return function(r) {
4465
4483
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4466
4484
  ` + r.map(function(n, i) {
@@ -4491,8 +4509,8 @@ var Ht = function() {
4491
4509
  var u = l.value;
4492
4510
  u.remove(this);
4493
4511
  }
4494
- } catch (A) {
4495
- t = { error: A };
4512
+ } catch (T) {
4513
+ t = { error: T };
4496
4514
  } finally {
4497
4515
  try {
4498
4516
  l && !l.done && (r = a.return) && r.call(a);
@@ -4507,26 +4525,26 @@ var Ht = function() {
4507
4525
  if (Te(f))
4508
4526
  try {
4509
4527
  f();
4510
- } catch (A) {
4511
- o = A instanceof kt ? A.errors : [A];
4528
+ } catch (T) {
4529
+ o = T instanceof jt ? T.errors : [T];
4512
4530
  }
4513
- var b = this._finalizers;
4514
- if (b) {
4531
+ var m = this._finalizers;
4532
+ if (m) {
4515
4533
  this._finalizers = null;
4516
4534
  try {
4517
- for (var m = nr(b), w = m.next(); !w.done; w = m.next()) {
4518
- var _ = w.value;
4535
+ for (var d = nr(m), S = d.next(); !S.done; S = d.next()) {
4536
+ var _ = S.value;
4519
4537
  try {
4520
4538
  Or(_);
4521
- } catch (A) {
4522
- o = o ?? [], A instanceof kt ? o = or(or([], ir(o)), ir(A.errors)) : o.push(A);
4539
+ } catch (T) {
4540
+ o = o ?? [], T instanceof jt ? o = or(or([], ir(o)), ir(T.errors)) : o.push(T);
4523
4541
  }
4524
4542
  }
4525
- } catch (A) {
4526
- n = { error: A };
4543
+ } catch (T) {
4544
+ n = { error: T };
4527
4545
  } finally {
4528
4546
  try {
4529
- w && !w.done && (i = m.return) && i.call(m);
4547
+ S && !S.done && (i = d.return) && i.call(d);
4530
4548
  } finally {
4531
4549
  if (n)
4532
4550
  throw n.error;
@@ -4534,7 +4552,7 @@ var Ht = function() {
4534
4552
  }
4535
4553
  }
4536
4554
  if (o)
4537
- throw new kt(o);
4555
+ throw new jt(o);
4538
4556
  }
4539
4557
  }, e.prototype.add = function(t) {
4540
4558
  var r;
@@ -4565,16 +4583,16 @@ var Ht = function() {
4565
4583
  var t = new e();
4566
4584
  return t.closed = !0, t;
4567
4585
  }(), e;
4568
- }(), _n = Ht.EMPTY;
4569
- function En(e) {
4586
+ }(), En = Ht.EMPTY;
4587
+ function xn(e) {
4570
4588
  return e instanceof Ht || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
4571
4589
  }
4572
4590
  function Or(e) {
4573
4591
  Te(e) ? e() : e.unsubscribe();
4574
4592
  }
4575
- var Xo = {
4593
+ var zo = {
4576
4594
  Promise: void 0
4577
- }, zo = {
4595
+ }, Wo = {
4578
4596
  setTimeout: function(e, t) {
4579
4597
  for (var r = [], n = 2; n < arguments.length; n++)
4580
4598
  r[n - 2] = arguments[n];
@@ -4585,21 +4603,21 @@ var Xo = {
4585
4603
  },
4586
4604
  delegate: void 0
4587
4605
  };
4588
- function Wo(e) {
4589
- zo.setTimeout(function() {
4606
+ function Zo(e) {
4607
+ Wo.setTimeout(function() {
4590
4608
  throw e;
4591
4609
  });
4592
4610
  }
4593
- function Pr() {
4611
+ function Lr() {
4594
4612
  }
4595
- function yt(e) {
4613
+ function vt(e) {
4596
4614
  e();
4597
4615
  }
4598
- var xn = function(e) {
4599
- at(t, e);
4616
+ var wn = function(e) {
4617
+ st(t, e);
4600
4618
  function t(r) {
4601
4619
  var n = e.call(this) || this;
4602
- return n.isStopped = !1, r ? (n.destination = r, En(r) && r.add(n)) : n.destination = Yo, n;
4620
+ return n.isStopped = !1, r ? (n.destination = r, xn(r) && r.add(n)) : n.destination = Qo, n;
4603
4621
  }
4604
4622
  return t.create = function(r, n, i) {
4605
4623
  return new sr(r, n, i);
@@ -4626,7 +4644,7 @@ var xn = function(e) {
4626
4644
  this.unsubscribe();
4627
4645
  }
4628
4646
  }, t;
4629
- }(Ht), Zo = function() {
4647
+ }(Ht), qo = function() {
4630
4648
  function e(t) {
4631
4649
  this.partialObserver = t;
4632
4650
  }
@@ -4636,7 +4654,7 @@ var xn = function(e) {
4636
4654
  try {
4637
4655
  r.next(t);
4638
4656
  } catch (n) {
4639
- pt(n);
4657
+ mt(n);
4640
4658
  }
4641
4659
  }, e.prototype.error = function(t) {
4642
4660
  var r = this.partialObserver;
@@ -4644,56 +4662,56 @@ var xn = function(e) {
4644
4662
  try {
4645
4663
  r.error(t);
4646
4664
  } catch (n) {
4647
- pt(n);
4665
+ mt(n);
4648
4666
  }
4649
4667
  else
4650
- pt(t);
4668
+ mt(t);
4651
4669
  }, e.prototype.complete = function() {
4652
4670
  var t = this.partialObserver;
4653
4671
  if (t.complete)
4654
4672
  try {
4655
4673
  t.complete();
4656
4674
  } catch (r) {
4657
- pt(r);
4675
+ mt(r);
4658
4676
  }
4659
4677
  }, e;
4660
4678
  }(), sr = function(e) {
4661
- at(t, e);
4679
+ st(t, e);
4662
4680
  function t(r, n, i) {
4663
4681
  var o = e.call(this) || this, s;
4664
4682
  return Te(r) || !r ? s = {
4665
4683
  next: r ?? void 0,
4666
4684
  error: n ?? void 0,
4667
4685
  complete: i ?? void 0
4668
- } : s = r, o.destination = new Zo(s), o;
4686
+ } : s = r, o.destination = new qo(s), o;
4669
4687
  }
4670
4688
  return t;
4671
- }(xn);
4672
- function pt(e) {
4673
- Wo(e);
4689
+ }(wn);
4690
+ function mt(e) {
4691
+ Zo(e);
4674
4692
  }
4675
- function qo(e) {
4693
+ function Yo(e) {
4676
4694
  throw e;
4677
4695
  }
4678
- var Yo = {
4696
+ var Qo = {
4679
4697
  closed: !0,
4680
- next: Pr,
4681
- error: qo,
4682
- complete: Pr
4683
- }, Qo = function() {
4698
+ next: Lr,
4699
+ error: Yo,
4700
+ complete: Lr
4701
+ }, Jo = function() {
4684
4702
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4685
4703
  }();
4686
- function Jo(e) {
4704
+ function Ko(e) {
4687
4705
  return e;
4688
4706
  }
4689
- function Ko(e) {
4690
- return e.length === 0 ? Jo : e.length === 1 ? e[0] : function(r) {
4707
+ function ea(e) {
4708
+ return e.length === 0 ? Ko : e.length === 1 ? e[0] : function(r) {
4691
4709
  return e.reduce(function(n, i) {
4692
4710
  return i(n);
4693
4711
  }, r);
4694
4712
  };
4695
4713
  }
4696
- var Rr = function() {
4714
+ var Mr = function() {
4697
4715
  function e(t) {
4698
4716
  t && (this._subscribe = t);
4699
4717
  }
@@ -4701,8 +4719,8 @@ var Rr = function() {
4701
4719
  var r = new e();
4702
4720
  return r.source = this, r.operator = t, r;
4703
4721
  }, e.prototype.subscribe = function(t, r, n) {
4704
- var i = this, o = ta(t) ? t : new sr(t, r, n);
4705
- return yt(function() {
4722
+ var i = this, o = ra(t) ? t : new sr(t, r, n);
4723
+ return vt(function() {
4706
4724
  var s = i, a = s.operator, l = s.source;
4707
4725
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4708
4726
  }), o;
@@ -4714,7 +4732,7 @@ var Rr = function() {
4714
4732
  }
4715
4733
  }, e.prototype.forEach = function(t, r) {
4716
4734
  var n = this;
4717
- return r = Mr(r), new r(function(i, o) {
4735
+ return r = Rr(r), new r(function(i, o) {
4718
4736
  var s = new sr({
4719
4737
  next: function(a) {
4720
4738
  try {
@@ -4731,15 +4749,15 @@ var Rr = function() {
4731
4749
  }, e.prototype._subscribe = function(t) {
4732
4750
  var r;
4733
4751
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4734
- }, e.prototype[Qo] = function() {
4752
+ }, e.prototype[Jo] = function() {
4735
4753
  return this;
4736
4754
  }, e.prototype.pipe = function() {
4737
4755
  for (var t = [], r = 0; r < arguments.length; r++)
4738
4756
  t[r] = arguments[r];
4739
- return Ko(t)(this);
4757
+ return ea(t)(this);
4740
4758
  }, e.prototype.toPromise = function(t) {
4741
4759
  var r = this;
4742
- return t = Mr(t), new t(function(n, i) {
4760
+ return t = Rr(t), new t(function(n, i) {
4743
4761
  var o;
4744
4762
  r.subscribe(function(s) {
4745
4763
  return o = s;
@@ -4753,35 +4771,35 @@ var Rr = function() {
4753
4771
  return new e(t);
4754
4772
  }, e;
4755
4773
  }();
4756
- function Mr(e) {
4774
+ function Rr(e) {
4757
4775
  var t;
4758
- return (t = e ?? Xo.Promise) !== null && t !== void 0 ? t : Promise;
4776
+ return (t = e ?? zo.Promise) !== null && t !== void 0 ? t : Promise;
4759
4777
  }
4760
- function ea(e) {
4778
+ function ta(e) {
4761
4779
  return e && Te(e.next) && Te(e.error) && Te(e.complete);
4762
4780
  }
4763
- function ta(e) {
4764
- return e && e instanceof xn || ea(e) && En(e);
4781
+ function ra(e) {
4782
+ return e && e instanceof wn || ta(e) && xn(e);
4765
4783
  }
4766
- var ra = vn(function(e) {
4784
+ var na = _n(function(e) {
4767
4785
  return function() {
4768
4786
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4769
4787
  };
4770
- }), wn = function(e) {
4771
- at(t, e);
4788
+ }), Sn = function(e) {
4789
+ st(t, e);
4772
4790
  function t() {
4773
4791
  var r = e.call(this) || this;
4774
4792
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4775
4793
  }
4776
4794
  return t.prototype.lift = function(r) {
4777
- var n = new Lr(this, this);
4795
+ var n = new Pr(this, this);
4778
4796
  return n.operator = r, n;
4779
4797
  }, t.prototype._throwIfClosed = function() {
4780
4798
  if (this.closed)
4781
- throw new ra();
4799
+ throw new na();
4782
4800
  }, t.prototype.next = function(r) {
4783
4801
  var n = this;
4784
- yt(function() {
4802
+ vt(function() {
4785
4803
  var i, o;
4786
4804
  if (n._throwIfClosed(), !n.isStopped) {
4787
4805
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -4804,7 +4822,7 @@ var ra = vn(function(e) {
4804
4822
  });
4805
4823
  }, t.prototype.error = function(r) {
4806
4824
  var n = this;
4807
- yt(function() {
4825
+ vt(function() {
4808
4826
  if (n._throwIfClosed(), !n.isStopped) {
4809
4827
  n.hasError = n.isStopped = !0, n.thrownError = r;
4810
4828
  for (var i = n.observers; i.length; )
@@ -4813,7 +4831,7 @@ var ra = vn(function(e) {
4813
4831
  });
4814
4832
  }, t.prototype.complete = function() {
4815
4833
  var r = this;
4816
- yt(function() {
4834
+ vt(function() {
4817
4835
  if (r._throwIfClosed(), !r.isStopped) {
4818
4836
  r.isStopped = !0;
4819
4837
  for (var n = r.observers; n.length; )
@@ -4835,20 +4853,20 @@ var ra = vn(function(e) {
4835
4853
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4836
4854
  }, t.prototype._innerSubscribe = function(r) {
4837
4855
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4838
- return o || s ? _n : (this.currentObservers = null, a.push(r), new Ht(function() {
4856
+ return o || s ? En : (this.currentObservers = null, a.push(r), new Ht(function() {
4839
4857
  n.currentObservers = null, ar(a, r);
4840
4858
  }));
4841
4859
  }, t.prototype._checkFinalizedStatuses = function(r) {
4842
4860
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4843
4861
  i ? r.error(o) : s && r.complete();
4844
4862
  }, t.prototype.asObservable = function() {
4845
- var r = new Rr();
4863
+ var r = new Mr();
4846
4864
  return r.source = this, r;
4847
4865
  }, t.create = function(r, n) {
4848
- return new Lr(r, n);
4866
+ return new Pr(r, n);
4849
4867
  }, t;
4850
- }(Rr), Lr = function(e) {
4851
- at(t, e);
4868
+ }(Mr), Pr = function(e) {
4869
+ st(t, e);
4852
4870
  function t(r, n) {
4853
4871
  var i = e.call(this) || this;
4854
4872
  return i.destination = r, i.source = n, i;
@@ -4864,17 +4882,17 @@ var ra = vn(function(e) {
4864
4882
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4865
4883
  }, t.prototype._subscribe = function(r) {
4866
4884
  var n, i;
4867
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _n;
4885
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : En;
4868
4886
  }, t;
4869
- }(wn), Sn = {
4887
+ }(Sn), Bn = {
4870
4888
  now: function() {
4871
- return (Sn.delegate || Date).now();
4889
+ return (Bn.delegate || Date).now();
4872
4890
  },
4873
4891
  delegate: void 0
4874
- }, na = function(e) {
4875
- at(t, e);
4892
+ }, ia = function(e) {
4893
+ st(t, e);
4876
4894
  function t(r, n, i) {
4877
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Sn);
4895
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Bn);
4878
4896
  var o = e.call(this) || this;
4879
4897
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4880
4898
  }
@@ -4894,260 +4912,265 @@ var ra = vn(function(e) {
4894
4912
  u && o.splice(0, u + 1);
4895
4913
  }
4896
4914
  }, t;
4897
- }(wn);
4898
- const Nr = [], Ir = {}, ia = (e, t = 0) => {
4915
+ }(Sn);
4916
+ const Nr = [], Ir = {}, oa = (e, t = 0) => {
4899
4917
  if (Nr.indexOf(e) == -1) {
4900
- const r = new na(t);
4918
+ const r = new ia(t);
4901
4919
  Ir[e] = r, Nr.push(e);
4902
4920
  }
4903
4921
  return Ir[e];
4904
4922
  };
4905
- window.emWidgets = { topic: ia };
4906
- const oa = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4907
- function aa(e) {
4908
- Hn(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4923
+ window.emWidgets = { topic: oa };
4924
+ const aa = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4925
+ function sa(e) {
4926
+ On(e, "svelte-15fwckg", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px;gap:5px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4909
4927
  }
4910
4928
  function Dr(e, t, r) {
4911
4929
  const n = e.slice();
4912
- return n[54] = t[r], n;
4930
+ return n[56] = t[r], n;
4913
4931
  }
4914
4932
  function Ur(e, t, r) {
4915
4933
  const n = e.slice();
4916
- return n[57] = t[r], n;
4934
+ return n[59] = t[r], n;
4917
4935
  }
4918
- function sa(e) {
4936
+ function ua(e) {
4919
4937
  let t, r, n = (
4920
4938
  /*balances*/
4921
- (e[1].Total ? (
4939
+ (e[2].Total ? (
4922
4940
  /*formatBalance*/
4923
- e[8](
4941
+ e[9](
4924
4942
  /*balances*/
4925
- e[1].Total[0].amount
4943
+ e[2].Total[0].amount
4926
4944
  )
4927
4945
  ) : "0") + ""
4928
- ), i, o, s, a, l, u, f, b, m, w, _ = (
4946
+ ), i, o, s, a, l, u, f, m, d, S, _ = (
4929
4947
  /*showBalance*/
4930
- e[4] && Fr(e)
4948
+ e[5] && Fr(e)
4931
4949
  );
4932
4950
  return {
4933
4951
  c() {
4934
- t = G("button"), r = G("p"), i = we(n), o = Se(), s = G("span"), a = dr("svg"), l = dr("path"), f = Se(), _ && _.c(), b = Rn(), P(l, "id", "arrow"), P(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), P(l, "transform", "translate(-274.511 -441.088)"), P(l, "fill", "#d1d1d1"), P(a, "xmlns", "http://www.w3.org/2000/svg"), P(a, "width", "14"), P(a, "height", "6.835"), P(a, "viewBox", "0 0 14 6.835"), P(s, "class", u = /*isModalDisplayed*/
4935
- e[3] ? "TriangleActive" : "TriangleInactive"), P(t, "class", "BalanceValue");
4952
+ t = k("button"), r = k("p"), i = xe(n), o = Ee(), s = k("span"), a = dr("svg"), l = dr("path"), f = Ee(), _ && _.c(), m = Rn(), L(l, "id", "arrow"), L(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), L(l, "transform", "translate(-274.511 -441.088)"), L(l, "fill", "#d1d1d1"), L(a, "xmlns", "http://www.w3.org/2000/svg"), L(a, "width", "14"), L(a, "height", "6.835"), L(a, "viewBox", "0 0 14 6.835"), L(s, "class", u = /*isModalDisplayed*/
4953
+ e[4] ? "TriangleActive" : "TriangleInactive"), L(t, "class", "BalanceValue");
4936
4954
  },
4937
- m(A, N) {
4938
- ge(A, t, N), M(t, r), M(r, i), M(t, o), M(t, s), M(s, a), M(a, l), ge(A, f, N), _ && _.m(A, N), ge(A, b, N), m || (w = vt(
4955
+ m(T, I) {
4956
+ ge(T, t, I), R(t, r), R(r, i), R(t, o), R(t, s), R(s, a), R(a, l), ge(T, f, I), _ && _.m(T, I), ge(T, m, I), d || (S = rt(
4939
4957
  t,
4940
4958
  "click",
4941
4959
  /*click_handler*/
4942
- e[26]
4943
- ), m = !0);
4960
+ e[27]
4961
+ ), d = !0);
4944
4962
  },
4945
- p(A, N) {
4946
- N[0] & /*balances*/
4947
- 2 && n !== (n = /*balances*/
4948
- (A[1].Total ? (
4963
+ p(T, I) {
4964
+ I[0] & /*balances*/
4965
+ 4 && n !== (n = /*balances*/
4966
+ (T[2].Total ? (
4949
4967
  /*formatBalance*/
4950
- A[8](
4968
+ T[9](
4951
4969
  /*balances*/
4952
- A[1].Total[0].amount
4970
+ T[2].Total[0].amount
4953
4971
  )
4954
- ) : "0") + "") && Pe(i, n), N[0] & /*isModalDisplayed*/
4955
- 8 && u !== (u = /*isModalDisplayed*/
4956
- A[3] ? "TriangleActive" : "TriangleInactive") && P(s, "class", u), /*showBalance*/
4957
- A[4] ? _ ? _.p(A, N) : (_ = Fr(A), _.c(), _.m(b.parentNode, b)) : _ && (_.d(1), _ = null);
4972
+ ) : "0") + "") && Oe(i, n), I[0] & /*isModalDisplayed*/
4973
+ 16 && u !== (u = /*isModalDisplayed*/
4974
+ T[4] ? "TriangleActive" : "TriangleInactive") && L(s, "class", u), /*showBalance*/
4975
+ T[5] ? _ ? _.p(T, I) : (_ = Fr(T), _.c(), _.m(m.parentNode, m)) : _ && (_.d(1), _ = null);
4958
4976
  },
4959
- d(A) {
4960
- A && (de(t), de(f), de(b)), _ && _.d(A), m = !1, w();
4977
+ d(T) {
4978
+ T && (be(t), be(f), be(m)), _ && _.d(T), d = !1, S();
4961
4979
  }
4962
4980
  };
4963
4981
  }
4964
- function ua(e) {
4982
+ function la(e) {
4965
4983
  let t, r = (
4966
4984
  /*$_*/
4967
- e[6]("Loading") + ""
4985
+ e[7]("Loading") + ""
4968
4986
  ), n;
4969
4987
  return {
4970
4988
  c() {
4971
- t = G("p"), n = we(r), P(t, "class", "Loading");
4989
+ t = k("p"), n = xe(r), L(t, "class", "Loading");
4972
4990
  },
4973
4991
  m(i, o) {
4974
- ge(i, t, o), M(t, n);
4992
+ ge(i, t, o), R(t, n);
4975
4993
  },
4976
4994
  p(i, o) {
4977
4995
  o[0] & /*$_*/
4978
- 64 && r !== (r = /*$_*/
4979
- i[6]("Loading") + "") && Pe(n, r);
4996
+ 128 && r !== (r = /*$_*/
4997
+ i[7]("Loading") + "") && Oe(n, r);
4980
4998
  },
4981
4999
  d(i) {
4982
- i && de(t);
5000
+ i && be(t);
4983
5001
  }
4984
5002
  };
4985
5003
  }
4986
5004
  function Fr(e) {
4987
5005
  let t, r, n, i, o, s, a, l, u = (
4988
5006
  /*$_*/
4989
- e[6]("Title") + ""
4990
- ), f, b, m, w, _, A, N = (
5007
+ e[7]("Title") + ""
5008
+ ), f, m, d, S, _, T, I = (
4991
5009
  /*$_*/
4992
- e[6]("DepositButton") + ""
4993
- ), W, V, R, I, j, oe, Z = _t(Object.keys(
5010
+ e[7]("DepositButton") + ""
5011
+ ), re, K, P, j, U, W, de, ne = _t(Object.keys(
4994
5012
  /*balances*/
4995
- e[1]
4996
- )), k = [];
4997
- for (let D = 0; D < Z.length; D += 1)
4998
- k[D] = jr(Dr(e, Z, D));
5013
+ e[2]
5014
+ )), X = [];
5015
+ for (let N = 0; N < ne.length; N += 1)
5016
+ X[N] = kr(Dr(e, ne, N));
5017
+ let $ = (
5018
+ /*balancelimitsbutton*/
5019
+ e[0] === "true" && jr(e)
5020
+ );
4999
5021
  return {
5000
5022
  c() {
5001
- t = G("div"), r = G("button"), i = Se(), o = G("div"), s = G("div"), a = G("div"), l = G("p"), f = we(u), b = Se(), m = G("div");
5002
- for (let D = 0; D < k.length; D += 1)
5003
- k[D].c();
5004
- w = Se(), _ = G("div"), A = G("button"), W = we(N), P(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5005
- (e[3] ? "Open" : "")), P(l, "class", "BalanceModalTitle"), P(a, "class", "BalanceModalHeader"), P(m, "class", "BalanceModalBody"), P(A, "class", "BalanceModalAction"), P(_, "class", "BalanceModalFooter"), P(s, "class", V = "ModalContent " + /*isModalDisplayed*/
5006
- (e[3] ? "Open" : "")), P(o, "class", R = "BalanceModal " + /*isModalDisplayed*/
5007
- (e[3] ? "Open" : "")), P(t, "class", I = "BalanceModalWrapper " + /*isModalDisplayed*/
5008
- (e[3] ? "Open" : ""));
5023
+ t = k("div"), r = k("button"), i = Ee(), o = k("div"), s = k("div"), a = k("div"), l = k("p"), f = xe(u), m = Ee(), d = k("div");
5024
+ for (let N = 0; N < X.length; N += 1)
5025
+ X[N].c();
5026
+ S = Ee(), _ = k("div"), T = k("button"), re = xe(I), K = Ee(), $ && $.c(), L(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5027
+ (e[4] ? "Open" : "")), L(l, "class", "BalanceModalTitle"), L(a, "class", "BalanceModalHeader"), L(d, "class", "BalanceModalBody"), L(T, "class", "BalanceModalAction DepositButton"), L(_, "class", "BalanceModalFooter"), L(s, "class", P = "ModalContent " + /*isModalDisplayed*/
5028
+ (e[4] ? "Open" : "")), L(o, "class", j = "BalanceModal " + /*isModalDisplayed*/
5029
+ (e[4] ? "Open" : "")), L(t, "class", U = "BalanceModalWrapper " + /*isModalDisplayed*/
5030
+ (e[4] ? "Open" : ""));
5009
5031
  },
5010
- m(D, q) {
5011
- ge(D, t, q), M(t, r), M(t, i), M(t, o), M(o, s), M(s, a), M(a, l), M(l, f), M(s, b), M(s, m);
5012
- for (let U = 0; U < k.length; U += 1)
5013
- k[U] && k[U].m(m, null);
5014
- M(s, w), M(s, _), M(_, A), M(A, W), j || (oe = [
5015
- vt(
5032
+ m(N, F) {
5033
+ ge(N, t, F), R(t, r), R(t, i), R(t, o), R(o, s), R(s, a), R(a, l), R(l, f), R(s, m), R(s, d);
5034
+ for (let D = 0; D < X.length; D += 1)
5035
+ X[D] && X[D].m(d, null);
5036
+ R(s, S), R(s, _), R(_, T), R(T, re), R(_, K), $ && $.m(_, null), W || (de = [
5037
+ rt(
5016
5038
  r,
5017
5039
  "click",
5018
5040
  /*click_handler_1*/
5019
- e[27]
5041
+ e[28]
5020
5042
  ),
5021
- vt(
5022
- A,
5043
+ rt(
5044
+ T,
5023
5045
  "click",
5024
5046
  /*click_handler_2*/
5025
- e[28]
5047
+ e[29]
5026
5048
  )
5027
- ], j = !0);
5049
+ ], W = !0);
5028
5050
  },
5029
- p(D, q) {
5030
- if (q[0] & /*isModalDisplayed*/
5031
- 8 && n !== (n = "BalanceModalClose " + /*isModalDisplayed*/
5032
- (D[3] ? "Open" : "")) && P(r, "class", n), q[0] & /*$_*/
5033
- 64 && u !== (u = /*$_*/
5034
- D[6]("Title") + "") && Pe(f, u), q[0] & /*balances, formatBalance, $_*/
5035
- 322) {
5036
- Z = _t(Object.keys(
5051
+ p(N, F) {
5052
+ if (F[0] & /*isModalDisplayed*/
5053
+ 16 && n !== (n = "BalanceModalClose " + /*isModalDisplayed*/
5054
+ (N[4] ? "Open" : "")) && L(r, "class", n), F[0] & /*$_*/
5055
+ 128 && u !== (u = /*$_*/
5056
+ N[7]("Title") + "") && Oe(f, u), F[0] & /*balances, formatBalance, $_*/
5057
+ 644) {
5058
+ ne = _t(Object.keys(
5037
5059
  /*balances*/
5038
- D[1]
5060
+ N[2]
5039
5061
  ));
5040
- let U;
5041
- for (U = 0; U < Z.length; U += 1) {
5042
- const K = Dr(D, Z, U);
5043
- k[U] ? k[U].p(K, q) : (k[U] = jr(K), k[U].c(), k[U].m(m, null));
5062
+ let D;
5063
+ for (D = 0; D < ne.length; D += 1) {
5064
+ const ie = Dr(N, ne, D);
5065
+ X[D] ? X[D].p(ie, F) : (X[D] = kr(ie), X[D].c(), X[D].m(d, null));
5044
5066
  }
5045
- for (; U < k.length; U += 1)
5046
- k[U].d(1);
5047
- k.length = Z.length;
5067
+ for (; D < X.length; D += 1)
5068
+ X[D].d(1);
5069
+ X.length = ne.length;
5048
5070
  }
5049
- q[0] & /*$_*/
5050
- 64 && N !== (N = /*$_*/
5051
- D[6]("DepositButton") + "") && Pe(W, N), q[0] & /*isModalDisplayed*/
5052
- 8 && V !== (V = "ModalContent " + /*isModalDisplayed*/
5053
- (D[3] ? "Open" : "")) && P(s, "class", V), q[0] & /*isModalDisplayed*/
5054
- 8 && R !== (R = "BalanceModal " + /*isModalDisplayed*/
5055
- (D[3] ? "Open" : "")) && P(o, "class", R), q[0] & /*isModalDisplayed*/
5056
- 8 && I !== (I = "BalanceModalWrapper " + /*isModalDisplayed*/
5057
- (D[3] ? "Open" : "")) && P(t, "class", I);
5071
+ F[0] & /*$_*/
5072
+ 128 && I !== (I = /*$_*/
5073
+ N[7]("DepositButton") + "") && Oe(re, I), /*balancelimitsbutton*/
5074
+ N[0] === "true" ? $ ? $.p(N, F) : ($ = jr(N), $.c(), $.m(_, null)) : $ && ($.d(1), $ = null), F[0] & /*isModalDisplayed*/
5075
+ 16 && P !== (P = "ModalContent " + /*isModalDisplayed*/
5076
+ (N[4] ? "Open" : "")) && L(s, "class", P), F[0] & /*isModalDisplayed*/
5077
+ 16 && j !== (j = "BalanceModal " + /*isModalDisplayed*/
5078
+ (N[4] ? "Open" : "")) && L(o, "class", j), F[0] & /*isModalDisplayed*/
5079
+ 16 && U !== (U = "BalanceModalWrapper " + /*isModalDisplayed*/
5080
+ (N[4] ? "Open" : "")) && L(t, "class", U);
5058
5081
  },
5059
- d(D) {
5060
- D && de(t), zr(k, D), j = !1, Xe(oe);
5082
+ d(N) {
5083
+ N && be(t), Wr(X, N), $ && $.d(), W = !1, Ve(de);
5061
5084
  }
5062
5085
  };
5063
5086
  }
5064
5087
  function Gr(e) {
5065
5088
  let t, r, n = (
5066
5089
  /*$_*/
5067
- e[6](
5090
+ e[7](
5068
5091
  /*k*/
5069
- e[54]
5092
+ e[56]
5070
5093
  ) + ""
5071
5094
  ), i, o, s = (
5072
5095
  /*b*/
5073
- (e[57].productType ? (
5096
+ (e[59].productType ? (
5074
5097
  /*$_*/
5075
- e[6](
5098
+ e[7](
5076
5099
  /*b*/
5077
- e[57].productType
5100
+ e[59].productType
5078
5101
  )
5079
5102
  ) : "") + ""
5080
- ), a, l, u, f, b = (
5103
+ ), a, l, u, f, m = (
5081
5104
  /*formatBalance*/
5082
- e[8](
5105
+ e[9](
5083
5106
  /*b*/
5084
- e[57].amount
5107
+ e[59].amount
5085
5108
  ) + ""
5086
- ), m;
5109
+ ), d;
5087
5110
  return {
5088
5111
  c() {
5089
- t = G("div"), r = G("p"), i = we(n), o = Se(), a = we(s), l = Se(), u = G("p"), f = G("span"), m = we(b), P(r, "class", "BalanceModalText"), P(f, "class", "BalanceModalAmount"), P(u, "class", "BalanceModalValue"), P(t, "class", "BalanceModalRowLine");
5112
+ t = k("div"), r = k("p"), i = xe(n), o = Ee(), a = xe(s), l = Ee(), u = k("p"), f = k("span"), d = xe(m), L(r, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(u, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5090
5113
  },
5091
- m(w, _) {
5092
- ge(w, t, _), M(t, r), M(r, i), M(r, o), M(r, a), M(t, l), M(t, u), M(u, f), M(f, m);
5114
+ m(S, _) {
5115
+ ge(S, t, _), R(t, r), R(r, i), R(r, o), R(r, a), R(t, l), R(t, u), R(u, f), R(f, d);
5093
5116
  },
5094
- p(w, _) {
5117
+ p(S, _) {
5095
5118
  _[0] & /*$_, balances*/
5096
- 66 && n !== (n = /*$_*/
5097
- w[6](
5119
+ 132 && n !== (n = /*$_*/
5120
+ S[7](
5098
5121
  /*k*/
5099
- w[54]
5100
- ) + "") && Pe(i, n), _[0] & /*balances, $_*/
5101
- 66 && s !== (s = /*b*/
5102
- (w[57].productType ? (
5122
+ S[56]
5123
+ ) + "") && Oe(i, n), _[0] & /*balances, $_*/
5124
+ 132 && s !== (s = /*b*/
5125
+ (S[59].productType ? (
5103
5126
  /*$_*/
5104
- w[6](
5127
+ S[7](
5105
5128
  /*b*/
5106
- w[57].productType
5129
+ S[59].productType
5107
5130
  )
5108
- ) : "") + "") && Pe(a, s), _[0] & /*balances*/
5109
- 2 && b !== (b = /*formatBalance*/
5110
- w[8](
5131
+ ) : "") + "") && Oe(a, s), _[0] & /*balances*/
5132
+ 4 && m !== (m = /*formatBalance*/
5133
+ S[9](
5111
5134
  /*b*/
5112
- w[57].amount
5113
- ) + "") && Pe(m, b);
5135
+ S[59].amount
5136
+ ) + "") && Oe(d, m);
5114
5137
  },
5115
- d(w) {
5116
- w && de(t);
5138
+ d(S) {
5139
+ S && be(t);
5117
5140
  }
5118
5141
  };
5119
5142
  }
5120
- function jr(e) {
5143
+ function kr(e) {
5121
5144
  let t, r, n = _t(
5122
5145
  /*balances*/
5123
- e[1][
5146
+ e[2][
5124
5147
  /*k*/
5125
- e[54]
5148
+ e[56]
5126
5149
  ]
5127
5150
  ), i = [];
5128
5151
  for (let o = 0; o < n.length; o += 1)
5129
5152
  i[o] = Gr(Ur(e, n, o));
5130
5153
  return {
5131
5154
  c() {
5132
- t = G("div");
5155
+ t = k("div");
5133
5156
  for (let o = 0; o < i.length; o += 1)
5134
5157
  i[o].c();
5135
- r = Se(), P(t, "class", "BalanceModalRowBoth");
5158
+ r = Ee(), L(t, "class", "BalanceModalRowBoth");
5136
5159
  },
5137
5160
  m(o, s) {
5138
5161
  ge(o, t, s);
5139
5162
  for (let a = 0; a < i.length; a += 1)
5140
5163
  i[a] && i[a].m(t, null);
5141
- M(t, r);
5164
+ R(t, r);
5142
5165
  },
5143
5166
  p(o, s) {
5144
5167
  if (s[0] & /*formatBalance, balances, $_*/
5145
- 322) {
5168
+ 644) {
5146
5169
  n = _t(
5147
5170
  /*balances*/
5148
- o[1][
5171
+ o[2][
5149
5172
  /*k*/
5150
- o[54]
5173
+ o[56]
5151
5174
  ]
5152
5175
  );
5153
5176
  let a;
@@ -5161,73 +5184,100 @@ function jr(e) {
5161
5184
  }
5162
5185
  },
5163
5186
  d(o) {
5164
- o && de(t), zr(i, o);
5187
+ o && be(t), Wr(i, o);
5165
5188
  }
5166
5189
  };
5167
5190
  }
5168
- function kr(e) {
5191
+ function jr(e) {
5192
+ let t, r = (
5193
+ /*$_*/
5194
+ e[7]("LimitsButton") + ""
5195
+ ), n, i, o;
5196
+ return {
5197
+ c() {
5198
+ t = k("button"), n = xe(r), L(t, "class", "BalanceModalAction LimitsButton");
5199
+ },
5200
+ m(s, a) {
5201
+ ge(s, t, a), R(t, n), i || (o = rt(
5202
+ t,
5203
+ "click",
5204
+ /*click_handler_3*/
5205
+ e[30]
5206
+ ), i = !0);
5207
+ },
5208
+ p(s, a) {
5209
+ a[0] & /*$_*/
5210
+ 128 && r !== (r = /*$_*/
5211
+ s[7]("LimitsButton") + "") && Oe(n, r);
5212
+ },
5213
+ d(s) {
5214
+ s && be(t), i = !1, o();
5215
+ }
5216
+ };
5217
+ }
5218
+ function $r(e) {
5169
5219
  let t, r, n;
5170
5220
  return {
5171
5221
  c() {
5172
- t = G("button"), P(t, "class", "ShowBalanceModalOverlay");
5222
+ t = k("button"), L(t, "class", "ShowBalanceModalOverlay");
5173
5223
  },
5174
5224
  m(i, o) {
5175
- ge(i, t, o), r || (n = vt(
5225
+ ge(i, t, o), r || (n = rt(
5176
5226
  t,
5177
5227
  "click",
5178
- /*click_handler_3*/
5179
- e[29]
5228
+ /*click_handler_4*/
5229
+ e[31]
5180
5230
  ), r = !0);
5181
5231
  },
5182
- p: ce,
5232
+ p: me,
5183
5233
  d(i) {
5184
- i && de(t), r = !1, n();
5234
+ i && be(t), r = !1, n();
5185
5235
  }
5186
5236
  };
5187
5237
  }
5188
- function la(e) {
5238
+ function ca(e) {
5189
5239
  let t, r, n, i;
5190
5240
  function o(u, f) {
5191
5241
  return (
5192
5242
  /*isLoading*/
5193
- u[2] ? ua : sa
5243
+ u[3] ? la : ua
5194
5244
  );
5195
5245
  }
5196
5246
  let s = o(e), a = s(e), l = (
5197
5247
  /*showBalance*/
5198
- e[4] && kr(e)
5248
+ e[5] && $r(e)
5199
5249
  );
5200
5250
  return {
5201
5251
  c() {
5202
- t = G("div"), r = G("div"), a.c(), i = Se(), l && l.c(), P(r, "class", n = "ShowBalance " + /*mobileView*/
5203
- (e[5] ? "Mobile" : ""));
5252
+ t = k("div"), r = k("div"), a.c(), i = Ee(), l && l.c(), L(r, "class", n = "ShowBalance " + /*mobileView*/
5253
+ (e[6] ? "Mobile" : ""));
5204
5254
  },
5205
5255
  m(u, f) {
5206
- ge(u, t, f), M(t, r), a.m(r, null), M(t, i), l && l.m(t, null), e[30](t);
5256
+ ge(u, t, f), R(t, r), a.m(r, null), R(t, i), l && l.m(t, null), e[32](t);
5207
5257
  },
5208
5258
  p(u, f) {
5209
5259
  s === (s = o(u)) && a ? a.p(u, f) : (a.d(1), a = s(u), a && (a.c(), a.m(r, null))), f[0] & /*mobileView*/
5210
- 32 && n !== (n = "ShowBalance " + /*mobileView*/
5211
- (u[5] ? "Mobile" : "")) && P(r, "class", n), /*showBalance*/
5212
- u[4] ? l ? l.p(u, f) : (l = kr(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5260
+ 64 && n !== (n = "ShowBalance " + /*mobileView*/
5261
+ (u[6] ? "Mobile" : "")) && L(r, "class", n), /*showBalance*/
5262
+ u[5] ? l ? l.p(u, f) : (l = $r(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5213
5263
  },
5214
- i: ce,
5215
- o: ce,
5264
+ i: me,
5265
+ o: me,
5216
5266
  d(u) {
5217
- u && de(t), a.d(), l && l.d(), e[30](null);
5267
+ u && be(t), a.d(), l && l.d(), e[32](null);
5218
5268
  }
5219
5269
  };
5220
5270
  }
5221
- function ca(e, t, r) {
5271
+ function ha(e, t, r) {
5222
5272
  let n;
5223
- Cn(e, ko, (c) => r(6, n = c));
5224
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: w = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { currencylocale: A = "en" } = t, { currencydisplay: N = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: R = "" } = t, I, j = !0, oe = !1, Z = !1, k = !1, D = !1, q = window.navigator.userAgent, U, K = "", he = [], ye;
5225
- const x = {}, ve = ["totalCashAmount", "totalRealAmount"], pe = () => {
5226
- fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((d) => Cr(d, c[d]))).catch((c) => console.log(c));
5273
+ Hn(e, $o, (h) => r(7, n = h));
5274
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: S = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { balancelimitsbutton: T = "false" } = t, { currencylocale: I = "en" } = t, { currencydisplay: re = "symbol" } = t, { maximumfractiondigits: K = "2" } = t, { minimumfractiondigits: P = "0" } = t, { customdisplayformat: j = "" } = t, U, W = !0, de = !1, ne = !1, X = !1, $ = !1, N = window.navigator.userAgent, F, D = "", ie = [], Ae;
5275
+ const E = {}, ue = ["totalCashAmount", "totalRealAmount"], Ce = () => {
5276
+ fetch(m).then((h) => h.json()).then((h) => Object.keys(h).forEach((v) => Cr(v, h[v]))).catch((h) => console.log(h));
5227
5277
  };
5228
- Object.keys(Hr).forEach((c) => Cr(c, Hr[c]));
5229
- const ae = (c) => {
5230
- switch (c) {
5278
+ Object.keys(Hr).forEach((h) => Cr(h, Hr[h]));
5279
+ const pe = (h) => {
5280
+ switch (h) {
5231
5281
  case "balance":
5232
5282
  window.postMessage(
5233
5283
  {
@@ -5235,10 +5285,10 @@ function ca(e, t, r) {
5235
5285
  status: "open"
5236
5286
  },
5237
5287
  window.location.href
5238
- ), r(4, k = !0), setTimeout(() => r(3, oe = !0), 150);
5288
+ ), r(5, X = !0), setTimeout(() => r(4, de = !0), 150);
5239
5289
  break;
5240
5290
  case "closebalance":
5241
- r(3, oe = !1), window.postMessage(
5291
+ r(4, de = !1), window.postMessage(
5242
5292
  {
5243
5293
  type: "BalanceModalStatus",
5244
5294
  status: "close"
@@ -5246,113 +5296,113 @@ function ca(e, t, r) {
5246
5296
  window.location.href
5247
5297
  ), setTimeout(
5248
5298
  () => {
5249
- r(4, k = !1);
5299
+ r(5, X = !1);
5250
5300
  },
5251
5301
  150
5252
5302
  );
5253
5303
  break;
5254
5304
  }
5255
- }, He = (c) => {
5256
- if (R)
5257
- return qe(c);
5258
- const d = A || a, p = {
5305
+ }, Ze = (h) => {
5306
+ if (j)
5307
+ return ye(h);
5308
+ const v = I || a, p = {
5259
5309
  style: "currency",
5260
- currency: K,
5310
+ currency: D,
5261
5311
  useGrouping: !0,
5262
- currencyDisplay: N || "code",
5263
- maximumFractionDigits: W === "" || isNaN(Number(W)) ? 2 : Number(W),
5264
- minimumFractionDigits: V === "" || isNaN(Number(V)) ? 0 : Number(V)
5312
+ currencyDisplay: re || "code",
5313
+ maximumFractionDigits: K === "" || isNaN(Number(K)) ? 2 : Number(K),
5314
+ minimumFractionDigits: P === "" || isNaN(Number(P)) ? 0 : Number(P)
5265
5315
  };
5266
- return new Intl.NumberFormat(d, p).format(c);
5267
- }, qe = (c) => {
5268
- const d = [];
5316
+ return new Intl.NumberFormat(v, p).format(h);
5317
+ }, ye = (h) => {
5318
+ const v = [];
5269
5319
  let p = "";
5270
- for (const v of R)
5271
- switch (v) {
5320
+ for (const y of j)
5321
+ switch (y) {
5272
5322
  default:
5273
- p += v;
5323
+ p += y;
5274
5324
  break;
5275
5325
  case "{":
5276
- p && d.push(p), p = "";
5326
+ p && v.push(p), p = "";
5277
5327
  break;
5278
5328
  case "}":
5279
- const [T, C] = p.split("|");
5280
- if (p = "", T.toLowerCase() === "currency")
5281
- p = K;
5282
- else if (T.toLowerCase() === "amount") {
5283
- let S = ",", B = ".", L = 2;
5284
- C && (C[0] !== " " && (S = C[0]), C[1] !== " " && (B = C[1]), C[2] !== " " && !isNaN(Number(C[2])) && (L = Number(C[2])));
5285
- let [ee, Ae] = String(Math.floor(c * 10 ** L) / 10 ** L).split(".");
5286
- p += ee[0];
5287
- for (let X = 1; X < ee.length; ++X)
5288
- (ee.length - X) % 3 === 0 ? p += S + ee[X] : p += ee[X];
5289
- Ae && (p += B + Ae);
5329
+ const [C, w] = p.split("|");
5330
+ if (p = "", C.toLowerCase() === "currency")
5331
+ p = D;
5332
+ else if (C.toLowerCase() === "amount") {
5333
+ let B = ",", V = ".", ce = 2;
5334
+ w && (w[0] !== " " && (B = w[0]), w[1] !== " " && (V = w[1]), w[2] !== " " && !isNaN(Number(w[2])) && (ce = Number(w[2])));
5335
+ let [Z, Q] = String(Math.floor(h * 10 ** ce) / 10 ** ce).split(".");
5336
+ p += Z[0];
5337
+ for (let ee = 1; ee < Z.length; ++ee)
5338
+ (Z.length - ee) % 3 === 0 ? p += B + Z[ee] : p += Z[ee];
5339
+ Q && (p += V + Q);
5290
5340
  }
5291
- p && d.push(p), p = "";
5341
+ p && v.push(p), p = "";
5292
5342
  break;
5293
5343
  }
5294
- return d.push(p), d.join("");
5295
- }, me = async () => {
5296
- r(2, j = !0);
5297
- const c = new URL(`${s}/v1/player/${i}/account`);
5344
+ return v.push(p), v.join("");
5345
+ }, qe = async () => {
5346
+ r(3, W = !0);
5347
+ const h = new URL(`${s}/v1/player/${i}/account`);
5298
5348
  try {
5299
- const d = await fetch(c, {
5349
+ const v = await fetch(h, {
5300
5350
  method: "GET",
5301
5351
  headers: { "X-SessionID": o }
5302
- }), p = await d.json();
5303
- if (d.ok)
5304
- window.postMessage({ type: "BalancedFetched" }, window.location.href), he = p.items, K = he.find((v) => v.displayName === "Casino")?.currency, r(1, x.Total = [{ amount: p.totalAmount[K] }], x), r(
5305
- 1,
5306
- x.Real = [
5352
+ }), p = await v.json();
5353
+ if (v.ok)
5354
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), ie = p.items, D = ie.find((y) => y.displayName === "Casino")?.currency, r(2, E.Total = [{ amount: p.totalAmount[D] }], E), r(
5355
+ 2,
5356
+ E.Real = [
5307
5357
  {
5308
- amount: he.find((v) => v.displayName === "Casino")?.balanceAmount
5358
+ amount: ie.find((y) => y.displayName === "Casino")?.balanceAmount
5309
5359
  }
5310
5360
  ],
5311
- x
5361
+ E
5312
5362
  ), r(
5313
- 1,
5314
- x.Bonus = [
5363
+ 2,
5364
+ E.Bonus = [
5315
5365
  {
5316
- amount: he.find((v) => v.displayName === "UBS")?.balanceAmount
5366
+ amount: ie.find((y) => y.displayName === "UBS")?.balanceAmount
5317
5367
  }
5318
5368
  ],
5319
- x
5369
+ E
5320
5370
  );
5321
5371
  else
5322
5372
  throw new Error("Failed to fetch balance data !");
5323
- } catch (d) {
5324
- console.log("Balance error: ", d);
5373
+ } catch (v) {
5374
+ console.log("Balance error: ", v);
5325
5375
  } finally {
5326
- r(2, j = !1);
5376
+ r(3, W = !1);
5327
5377
  }
5328
- }, Ye = () => {
5329
- r(2, j = !0);
5330
- const c = new URL(`${s}/v2/player/${i}/balance`), d = new Headers();
5331
- d.append("X-SessionID", o), fetch(c, { method: "GET", headers: d }).then((v) => v.json()).then((v) => {
5332
- v[_] || r(10, _ = ve[0]);
5333
- const T = v.items.find((S) => S.type === "Real" && S.walletAccountType === "Ordinary");
5334
- if (K = T.currency, Z = !!T.productType, r(1, x.Total = [{ amount: 0 }], x), r(1, x.Real = [], x), r(1, x.Bonus = [], x), r(1, x.Credit = [], x), !Z) {
5335
- ye = {
5378
+ }, ut = () => {
5379
+ r(3, W = !0);
5380
+ const h = new URL(`${s}/v2/player/${i}/balance`), v = new Headers();
5381
+ v.append("X-SessionID", o), fetch(h, { method: "GET", headers: v }).then((y) => y.json()).then((y) => {
5382
+ y[_] || r(11, _ = ue[0]);
5383
+ const C = y.items.find((B) => B.type === "Real" && B.walletAccountType === "Ordinary");
5384
+ if (D = C.currency, ne = !!C.productType, r(2, E.Total = [{ amount: 0 }], E), r(2, E.Real = [], E), r(2, E.Bonus = [], E), r(2, E.Credit = [], E), !ne) {
5385
+ Ae = {
5336
5386
  lastOrdinaryAfterAmount: 0,
5337
5387
  showCreditLineAfterAmount: !1
5338
- }, r(1, x.Total[0].amount = v[_][K], x);
5339
- for (const S of v.items)
5340
- switch (S.type) {
5388
+ }, r(2, E.Total[0].amount = y[_][D], E);
5389
+ for (const B of y.items)
5390
+ switch (B.type) {
5341
5391
  case "Bonus":
5342
- x.Bonus.length === 0 ? x.Bonus.push({ amount: S.amount }) : r(1, x.Bonus[0].amount += S.amount, x);
5392
+ E.Bonus.length === 0 ? E.Bonus.push({ amount: B.amount }) : r(2, E.Bonus[0].amount += B.amount, E);
5343
5393
  break;
5344
5394
  case "Real":
5345
- if (S.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: S.creditLine }), _ === "totalRealAmount")
5395
+ if (B.creditLine && E.Credit.length === 0 && E.Credit.push({ amount: B.creditLine }), _ === "totalRealAmount")
5346
5396
  continue;
5347
- x.Real.length === 0 ? x.Real.push({ amount: S.amount }) : r(1, x.Real[0].amount += S.amount, x);
5397
+ E.Real.length === 0 ? E.Real.push({ amount: B.amount }) : r(2, E.Real[0].amount += B.amount, E);
5348
5398
  break;
5349
5399
  }
5350
- for (const [S, B] of Object.entries(x))
5351
- B.length < 1 && delete x[S];
5352
- r(2, j = !1);
5400
+ for (const [B, V] of Object.entries(E))
5401
+ V.length < 1 && delete E[B];
5402
+ r(3, W = !1);
5353
5403
  return;
5354
5404
  }
5355
- ye = {
5405
+ Ae = {
5356
5406
  Casino: {
5357
5407
  lastOrdinaryAfterAmount: 0,
5358
5408
  showCreditLineAfterAmount: !1
@@ -5362,181 +5412,190 @@ function ca(e, t, r) {
5362
5412
  showCreditLineAfterAmount: !1
5363
5413
  }
5364
5414
  };
5365
- let C = v.items;
5366
- w && w !== "All" && (C = v.items.filter((S) => S.productType === w));
5367
- for (const S of C) {
5368
- let B;
5369
- switch (S.type) {
5415
+ let w = y.items;
5416
+ S && S !== "All" && (w = y.items.filter((B) => B.productType === S));
5417
+ for (const B of w) {
5418
+ let V;
5419
+ switch (B.type) {
5370
5420
  case "Bonus":
5371
- B = x.Bonus.findIndex((L) => L.productType === S.productType), B > 0 ? r(1, x.Bonus[B].amount += S.amount, x) : x.Bonus.push({
5372
- amount: S.amount,
5373
- productType: S.productType
5421
+ V = E.Bonus.findIndex((ce) => ce.productType === B.productType), V > 0 ? r(2, E.Bonus[V].amount += B.amount, E) : E.Bonus.push({
5422
+ amount: B.amount,
5423
+ productType: B.productType
5374
5424
  });
5375
5425
  break;
5376
5426
  case "Real":
5377
- S.creditLine && x.Credit.push({
5378
- amount: S.creditLine,
5379
- productType: S.productType
5380
- }), B = x.Real.findIndex((L) => L.productType === S.productType), B > 0 ? r(1, x.Real[B].amount += S.amount, x) : x.Real.push({
5381
- amount: S.amount,
5382
- productType: S.productType
5427
+ B.creditLine && E.Credit.push({
5428
+ amount: B.creditLine,
5429
+ productType: B.productType
5430
+ }), V = E.Real.findIndex((ce) => ce.productType === B.productType), V > 0 ? r(2, E.Real[V].amount += B.amount, E) : E.Real.push({
5431
+ amount: B.amount,
5432
+ productType: B.productType
5383
5433
  });
5384
5434
  break;
5385
5435
  }
5386
5436
  }
5387
- ut();
5388
- for (const [S, B] of Object.entries(x))
5389
- B.length < 1 && delete x[S];
5390
- r(2, j = !1);
5391
- }).catch((v) => {
5392
- throw r(2, j = !1), console.log("Balance fetch error", v), new Error("Failed to fetch balance data!");
5437
+ Re();
5438
+ for (const [B, V] of Object.entries(E))
5439
+ V.length < 1 && delete E[B];
5440
+ r(3, W = !1);
5441
+ }).catch((y) => {
5442
+ throw r(3, W = !1), console.log("Balance fetch error", y), new Error("Failed to fetch balance data!");
5393
5443
  });
5394
- }, Me = () => {
5395
- if (U && U.close(), o.length < 1)
5444
+ }, Ye = () => {
5445
+ if (F && F.close(), o.length < 1)
5396
5446
  return;
5397
- let c, d;
5398
- switch (m) {
5447
+ let h, v;
5448
+ switch (d) {
5399
5449
  case "gm16":
5400
- c = new URL(`${s}/v2/player/${i}/information/updates`), d = (T) => Je(T);
5450
+ h = new URL(`${s}/v2/player/${i}/information/updates`), v = (C) => Je(C);
5401
5451
  break;
5402
5452
  case "gmcore":
5403
- c = new URL(`${s}/v1/player/${i}/balance/updates`), d = (T) => Ot(T);
5453
+ h = new URL(`${s}/v1/player/${i}/balance/updates`), v = (C) => Ot(C);
5404
5454
  break;
5405
5455
  }
5406
5456
  const p = {
5407
5457
  accept: "text/event-stream",
5408
5458
  "X-SessionId": o
5409
- }, v = new Vo.EventSourcePolyfill(c, { headers: p });
5410
- U = v, v.addEventListener("message", d);
5411
- }, st = (c) => {
5412
- let d;
5459
+ }, y = new Xo.EventSourcePolyfill(h, { headers: p });
5460
+ F = y, y.addEventListener("message", v);
5461
+ }, lt = (h) => {
5462
+ let v;
5413
5463
  try {
5414
- d = JSON.parse(c);
5464
+ v = JSON.parse(h);
5415
5465
  } catch (p) {
5416
5466
  console.log("Balance stream failed: ", p);
5417
5467
  return;
5418
5468
  }
5419
- return d;
5420
- }, Ot = (c) => {
5421
- const d = st(c.data);
5422
- if (!d) {
5423
- Me();
5469
+ return v;
5470
+ }, Ot = (h) => {
5471
+ const v = lt(h.data);
5472
+ if (!v) {
5473
+ Ye();
5424
5474
  return;
5425
5475
  }
5426
5476
  let p = "0";
5427
- const v = d.balanceChange;
5428
- he = he.map((T) => (v && v[T.id] && (T = {
5429
- ...T,
5430
- balanceAmount: v[T.id].afterAmount
5431
- }), p = (parseFloat(T?.balanceAmount) + parseFloat(p)).toString(), T)), r(1, x.Real = [{ amount: he[0]?.balanceAmount }], x), r(1, x.Bonus = [{ amount: he[1]?.balanceAmount }], x), r(1, x.Total = [{ amount: Number(p) }], x);
5432
- }, Qe = (c, d, p) => {
5433
- let v = null;
5477
+ const y = v.balanceChange;
5478
+ ie = ie.map((C) => (y && y[C.id] && (C = {
5479
+ ...C,
5480
+ balanceAmount: y[C.id].afterAmount
5481
+ }), p = (parseFloat(C?.balanceAmount) + parseFloat(p)).toString(), C)), r(2, E.Real = [{ amount: ie[0]?.balanceAmount }], E), r(2, E.Bonus = [{ amount: ie[1]?.balanceAmount }], E), r(2, E.Total = [{ amount: Number(p) }], E);
5482
+ }, Qe = (h, v, p) => {
5483
+ let y = null;
5434
5484
  switch (p.walletAccountType) {
5435
5485
  case "Ordinary":
5436
- (p.afterAmount !== p.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = p.afterAmount, d.showCreditLineAfterAmount || (v = p.afterAmount));
5486
+ (p.afterAmount !== p.affectedAmount || v.lastOrdinaryAfterAmount === 0) && (v.lastOrdinaryAfterAmount = p.afterAmount, v.showCreditLineAfterAmount || (y = p.afterAmount));
5437
5487
  break;
5438
5488
  case "CreditLine":
5439
- p.afterAmount !== 0 ? (v = p.afterAmount, d.showCreditLineAfterAmount = !0) : (v = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
5489
+ p.afterAmount !== 0 ? (y = p.afterAmount, v.showCreditLineAfterAmount = !0) : (y = v.lastOrdinaryAfterAmount, v.showCreditLineAfterAmount = !1);
5440
5490
  break;
5441
5491
  default:
5442
- v = p.afterAmount;
5492
+ y = p.afterAmount;
5443
5493
  }
5444
- return v === null ? c : v;
5445
- }, ut = () => {
5494
+ return y === null ? h : y;
5495
+ }, Re = () => {
5446
5496
  switch (_) {
5447
5497
  case "totalCashAmount":
5448
- let c = 0;
5498
+ let h = 0;
5449
5499
  for (const p of ["Real", "Bonus"])
5450
- for (const v of x[p])
5451
- c += Math.max(v.amount, 0);
5452
- r(1, x.Total[0].amount = c, x);
5500
+ for (const y of E[p])
5501
+ h += Math.max(y.amount, 0);
5502
+ r(2, E.Total[0].amount = h, E);
5453
5503
  break;
5454
5504
  case "totalRealAmount":
5455
- if (!Z)
5505
+ if (!ne)
5456
5506
  return;
5457
- let d = 0;
5458
- for (const p of x.Real)
5459
- d += p.amount;
5460
- r(1, x.Total[0].amount = d, x);
5507
+ let v = 0;
5508
+ for (const p of E.Real)
5509
+ v += p.amount;
5510
+ r(2, E.Total[0].amount = v, E);
5461
5511
  }
5462
- }, Je = (c) => {
5463
- const d = st(c.data);
5464
- if (!d) {
5465
- Me();
5512
+ }, Je = (h) => {
5513
+ const v = lt(h.data);
5514
+ if (!v) {
5515
+ Ye();
5466
5516
  return;
5467
5517
  }
5468
- if (Be(d?.type) || d.type !== "BALANCE_UPDATE_V2")
5518
+ if (le(v?.type) || v.type !== "BALANCE_UPDATE_V2")
5469
5519
  return;
5470
- const p = d.body.balanceChange;
5471
- for (const [v, T] of Object.entries(p))
5472
- if (_ === "totalRealAmount" && v === "Real" && !Z && r(1, x.Total[0].amount = Qe(x.Total[0].amount, ye, T), x), !!x[v])
5473
- for (const C of x[v]) {
5474
- if (!Z) {
5475
- C.amount = v === "Real" ? Qe(C.amount, ye, T) : T.afterAmount;
5520
+ const p = v.body.balanceChange;
5521
+ for (const [y, C] of Object.entries(p))
5522
+ if (_ === "totalRealAmount" && y === "Real" && !ne && r(2, E.Total[0].amount = Qe(E.Total[0].amount, Ae, C), E), !!E[y])
5523
+ for (const w of E[y]) {
5524
+ if (!ne) {
5525
+ w.amount = y === "Real" ? Qe(w.amount, Ae, C) : C.afterAmount;
5476
5526
  continue;
5477
5527
  }
5478
- T.productType === C.productType && (C.amount = v === "Real" ? Qe(C.amount, ye[C.productType], T) : T.afterAmount);
5528
+ C.productType === w.productType && (w.amount = y === "Real" ? Qe(w.amount, Ae[w.productType], C) : C.afterAmount);
5479
5529
  }
5480
- ut();
5481
- }, Le = () => {
5482
- ae("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5483
- }, Be = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, se = () => {
5484
- ve.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ve}. Using default value ('${ve[0]}').`), r(10, _ = ve[0]));
5485
- }, Pt = () => {
5486
- switch ($o(a), se(), m) {
5530
+ Re();
5531
+ }, ve = (h) => {
5532
+ switch (pe("closebalance"), h) {
5533
+ case "deposit":
5534
+ window.postMessage({ type: "GoToDeposit" }, window.location.href);
5535
+ break;
5536
+ case "limits":
5537
+ window.postMessage({ type: "GoToLimits" }, window.location.href);
5538
+ break;
5539
+ }
5540
+ typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5541
+ }, le = (h) => h === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Lt = () => {
5542
+ ue.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ue}. Using default value ('${ue[0]}').`), r(11, _ = ue[0]));
5543
+ }, Mt = () => {
5544
+ switch (Vo(a), Lt(), d) {
5487
5545
  case "gmcore":
5488
- me();
5546
+ qe();
5489
5547
  break;
5490
5548
  case "gm16":
5491
- Ye();
5549
+ ut();
5492
5550
  break;
5493
5551
  default:
5494
- throw Error(`Invalid apiversion attribute: ${m}`);
5552
+ throw Error(`Invalid apiversion attribute: ${d}`);
5495
5553
  }
5496
- }, lt = (c) => {
5497
- const { data: { type: d } = {} } = c || {};
5498
- switch (d) {
5554
+ }, ct = (h) => {
5555
+ const { data: { type: v } = {} } = h || {};
5556
+ switch (v) {
5499
5557
  case "LogoutSuccessfull":
5500
- U.close();
5558
+ F.close();
5501
5559
  break;
5502
5560
  case "CloseBalance":
5503
- ae("closebalance");
5561
+ pe("closebalance");
5504
5562
  break;
5505
5563
  }
5506
- }, Rt = () => {
5564
+ }, ht = () => {
5507
5565
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5508
5566
  };
5509
- In(() => (window.addEventListener("message", lt, !1), r(5, D = oa(q)), () => {
5510
- window.removeEventListener("message", lt), U && U.close();
5567
+ Dn(() => (window.addEventListener("message", ct, !1), r(6, $ = aa(N)), () => {
5568
+ window.removeEventListener("message", ct), F && F.close();
5511
5569
  }));
5512
- const ct = () => ae("balance"), h = () => ae("closebalance"), y = () => Le(), E = () => ae("closebalance");
5513
- function g(c) {
5514
- $t[c ? "unshift" : "push"](() => {
5515
- I = c, r(0, I);
5570
+ const c = () => pe("balance"), g = () => pe("closebalance"), x = () => ve("deposit"), b = () => ve("limits"), H = () => pe("closebalance");
5571
+ function A(h) {
5572
+ $t[h ? "unshift" : "push"](() => {
5573
+ U = h, r(1, U);
5516
5574
  });
5517
5575
  }
5518
- return e.$$set = (c) => {
5519
- "userid" in c && r(11, i = c.userid), "session" in c && r(12, o = c.session), "endpoint" in c && r(13, s = c.endpoint), "lang" in c && r(14, a = c.lang), "mbsource" in c && r(15, l = c.mbsource), "clientstyling" in c && r(16, u = c.clientstyling), "clientstylingurl" in c && r(17, f = c.clientstylingurl), "translationurl" in c && r(18, b = c.translationurl), "gmversion" in c && r(19, m = c.gmversion), "displaybalanceoption" in c && r(20, w = c.displaybalanceoption), "totalcalculationmode" in c && r(10, _ = c.totalcalculationmode), "currencylocale" in c && r(21, A = c.currencylocale), "currencydisplay" in c && r(22, N = c.currencydisplay), "maximumfractiondigits" in c && r(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && r(24, V = c.minimumfractiondigits), "customdisplayformat" in c && r(25, R = c.customdisplayformat);
5576
+ return e.$$set = (h) => {
5577
+ "userid" in h && r(12, i = h.userid), "session" in h && r(13, o = h.session), "endpoint" in h && r(14, s = h.endpoint), "lang" in h && r(15, a = h.lang), "mbsource" in h && r(16, l = h.mbsource), "clientstyling" in h && r(17, u = h.clientstyling), "clientstylingurl" in h && r(18, f = h.clientstylingurl), "translationurl" in h && r(19, m = h.translationurl), "gmversion" in h && r(20, d = h.gmversion), "displaybalanceoption" in h && r(21, S = h.displaybalanceoption), "totalcalculationmode" in h && r(11, _ = h.totalcalculationmode), "balancelimitsbutton" in h && r(0, T = h.balancelimitsbutton), "currencylocale" in h && r(22, I = h.currencylocale), "currencydisplay" in h && r(23, re = h.currencydisplay), "maximumfractiondigits" in h && r(24, K = h.maximumfractiondigits), "minimumfractiondigits" in h && r(25, P = h.minimumfractiondigits), "customdisplayformat" in h && r(26, j = h.customdisplayformat);
5520
5578
  }, e.$$.update = () => {
5521
5579
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5522
- 1603584 && s && i && o && a && m && w && Pt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5523
- 538624 && s && i && o && m && Me(), e.$$.dirty[0] & /*translationurl*/
5524
- 262144 && b && pe(), e.$$.dirty[0] & /*balances*/
5525
- 2 && x.Total && Rt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5526
- 65537 && u && I && Yn(I, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5527
- 131073 && f && I && Qn(I, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5528
- 32769 && l && I && Jn(I, `${l}.Style`);
5580
+ 3207168 && s && i && o && a && d && S && Mt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5581
+ 1077248 && s && i && o && d && Ye(), e.$$.dirty[0] & /*translationurl*/
5582
+ 524288 && m && Ce(), e.$$.dirty[0] & /*balances*/
5583
+ 4 && E.Total && ht(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5584
+ 131074 && u && U && Qn(U, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5585
+ 262146 && f && U && Jn(U, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5586
+ 65538 && l && U && Kn(U, `${l}.Style`);
5529
5587
  }, [
5530
- I,
5531
- x,
5532
- j,
5533
- oe,
5534
- k,
5535
- D,
5588
+ T,
5589
+ U,
5590
+ E,
5591
+ W,
5592
+ de,
5593
+ X,
5594
+ $,
5536
5595
  n,
5537
- ae,
5538
- He,
5539
- Le,
5596
+ pe,
5597
+ Ze,
5598
+ ve,
5540
5599
  _,
5541
5600
  i,
5542
5601
  o,
@@ -5545,149 +5604,157 @@ function ca(e, t, r) {
5545
5604
  l,
5546
5605
  u,
5547
5606
  f,
5548
- b,
5549
5607
  m,
5550
- w,
5551
- A,
5552
- N,
5553
- W,
5554
- V,
5555
- R,
5556
- ct,
5557
- h,
5558
- y,
5559
- E,
5560
- g
5608
+ d,
5609
+ S,
5610
+ I,
5611
+ re,
5612
+ K,
5613
+ P,
5614
+ j,
5615
+ c,
5616
+ g,
5617
+ x,
5618
+ b,
5619
+ H,
5620
+ A
5561
5621
  ];
5562
5622
  }
5563
- class ha extends Zn {
5623
+ class fa extends qn {
5564
5624
  constructor(t) {
5565
- super(), zn(
5625
+ super(), Wn(
5566
5626
  this,
5567
5627
  t,
5628
+ ha,
5568
5629
  ca,
5569
- la,
5570
- Vr,
5630
+ Xr,
5571
5631
  {
5572
- userid: 11,
5573
- session: 12,
5574
- endpoint: 13,
5575
- lang: 14,
5576
- mbsource: 15,
5577
- clientstyling: 16,
5578
- clientstylingurl: 17,
5579
- translationurl: 18,
5580
- gmversion: 19,
5581
- displaybalanceoption: 20,
5582
- totalcalculationmode: 10,
5583
- currencylocale: 21,
5584
- currencydisplay: 22,
5585
- maximumfractiondigits: 23,
5586
- minimumfractiondigits: 24,
5587
- customdisplayformat: 25
5632
+ userid: 12,
5633
+ session: 13,
5634
+ endpoint: 14,
5635
+ lang: 15,
5636
+ mbsource: 16,
5637
+ clientstyling: 17,
5638
+ clientstylingurl: 18,
5639
+ translationurl: 19,
5640
+ gmversion: 20,
5641
+ displaybalanceoption: 21,
5642
+ totalcalculationmode: 11,
5643
+ balancelimitsbutton: 0,
5644
+ currencylocale: 22,
5645
+ currencydisplay: 23,
5646
+ maximumfractiondigits: 24,
5647
+ minimumfractiondigits: 25,
5648
+ customdisplayformat: 26
5588
5649
  },
5589
- aa,
5650
+ sa,
5590
5651
  [-1, -1]
5591
5652
  );
5592
5653
  }
5593
5654
  get userid() {
5594
- return this.$$.ctx[11];
5655
+ return this.$$.ctx[12];
5595
5656
  }
5596
5657
  set userid(t) {
5597
- this.$$set({ userid: t }), Q();
5658
+ this.$$set({ userid: t }), Y();
5598
5659
  }
5599
5660
  get session() {
5600
- return this.$$.ctx[12];
5661
+ return this.$$.ctx[13];
5601
5662
  }
5602
5663
  set session(t) {
5603
- this.$$set({ session: t }), Q();
5664
+ this.$$set({ session: t }), Y();
5604
5665
  }
5605
5666
  get endpoint() {
5606
- return this.$$.ctx[13];
5667
+ return this.$$.ctx[14];
5607
5668
  }
5608
5669
  set endpoint(t) {
5609
- this.$$set({ endpoint: t }), Q();
5670
+ this.$$set({ endpoint: t }), Y();
5610
5671
  }
5611
5672
  get lang() {
5612
- return this.$$.ctx[14];
5673
+ return this.$$.ctx[15];
5613
5674
  }
5614
5675
  set lang(t) {
5615
- this.$$set({ lang: t }), Q();
5676
+ this.$$set({ lang: t }), Y();
5616
5677
  }
5617
5678
  get mbsource() {
5618
- return this.$$.ctx[15];
5679
+ return this.$$.ctx[16];
5619
5680
  }
5620
5681
  set mbsource(t) {
5621
- this.$$set({ mbsource: t }), Q();
5682
+ this.$$set({ mbsource: t }), Y();
5622
5683
  }
5623
5684
  get clientstyling() {
5624
- return this.$$.ctx[16];
5685
+ return this.$$.ctx[17];
5625
5686
  }
5626
5687
  set clientstyling(t) {
5627
- this.$$set({ clientstyling: t }), Q();
5688
+ this.$$set({ clientstyling: t }), Y();
5628
5689
  }
5629
5690
  get clientstylingurl() {
5630
- return this.$$.ctx[17];
5691
+ return this.$$.ctx[18];
5631
5692
  }
5632
5693
  set clientstylingurl(t) {
5633
- this.$$set({ clientstylingurl: t }), Q();
5694
+ this.$$set({ clientstylingurl: t }), Y();
5634
5695
  }
5635
5696
  get translationurl() {
5636
- return this.$$.ctx[18];
5697
+ return this.$$.ctx[19];
5637
5698
  }
5638
5699
  set translationurl(t) {
5639
- this.$$set({ translationurl: t }), Q();
5700
+ this.$$set({ translationurl: t }), Y();
5640
5701
  }
5641
5702
  get gmversion() {
5642
- return this.$$.ctx[19];
5703
+ return this.$$.ctx[20];
5643
5704
  }
5644
5705
  set gmversion(t) {
5645
- this.$$set({ gmversion: t }), Q();
5706
+ this.$$set({ gmversion: t }), Y();
5646
5707
  }
5647
5708
  get displaybalanceoption() {
5648
- return this.$$.ctx[20];
5709
+ return this.$$.ctx[21];
5649
5710
  }
5650
5711
  set displaybalanceoption(t) {
5651
- this.$$set({ displaybalanceoption: t }), Q();
5712
+ this.$$set({ displaybalanceoption: t }), Y();
5652
5713
  }
5653
5714
  get totalcalculationmode() {
5654
- return this.$$.ctx[10];
5715
+ return this.$$.ctx[11];
5655
5716
  }
5656
5717
  set totalcalculationmode(t) {
5657
- this.$$set({ totalcalculationmode: t }), Q();
5718
+ this.$$set({ totalcalculationmode: t }), Y();
5719
+ }
5720
+ get balancelimitsbutton() {
5721
+ return this.$$.ctx[0];
5722
+ }
5723
+ set balancelimitsbutton(t) {
5724
+ this.$$set({ balancelimitsbutton: t }), Y();
5658
5725
  }
5659
5726
  get currencylocale() {
5660
- return this.$$.ctx[21];
5727
+ return this.$$.ctx[22];
5661
5728
  }
5662
5729
  set currencylocale(t) {
5663
- this.$$set({ currencylocale: t }), Q();
5730
+ this.$$set({ currencylocale: t }), Y();
5664
5731
  }
5665
5732
  get currencydisplay() {
5666
- return this.$$.ctx[22];
5733
+ return this.$$.ctx[23];
5667
5734
  }
5668
5735
  set currencydisplay(t) {
5669
- this.$$set({ currencydisplay: t }), Q();
5736
+ this.$$set({ currencydisplay: t }), Y();
5670
5737
  }
5671
5738
  get maximumfractiondigits() {
5672
- return this.$$.ctx[23];
5739
+ return this.$$.ctx[24];
5673
5740
  }
5674
5741
  set maximumfractiondigits(t) {
5675
- this.$$set({ maximumfractiondigits: t }), Q();
5742
+ this.$$set({ maximumfractiondigits: t }), Y();
5676
5743
  }
5677
5744
  get minimumfractiondigits() {
5678
- return this.$$.ctx[24];
5745
+ return this.$$.ctx[25];
5679
5746
  }
5680
5747
  set minimumfractiondigits(t) {
5681
- this.$$set({ minimumfractiondigits: t }), Q();
5748
+ this.$$set({ minimumfractiondigits: t }), Y();
5682
5749
  }
5683
5750
  get customdisplayformat() {
5684
- return this.$$.ctx[25];
5751
+ return this.$$.ctx[26];
5685
5752
  }
5686
5753
  set customdisplayformat(t) {
5687
- this.$$set({ customdisplayformat: t }), Q();
5754
+ this.$$set({ customdisplayformat: t }), Y();
5688
5755
  }
5689
5756
  }
5690
- Wn(ha, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5757
+ Zn(fa, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, balancelimitsbutton: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5691
5758
  export {
5692
- ha as P
5759
+ fa as P
5693
5760
  };