@everymatrix/player-account-balance-modal-nd 1.85.16 → 1.85.18

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,42 +1,42 @@
1
- function ge() {
1
+ function ye() {
2
2
  }
3
- function Vr(e) {
3
+ function Xr(e) {
4
4
  return e();
5
5
  }
6
- function fr() {
6
+ function dr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function qe(e) {
10
- e.forEach(Vr);
9
+ function Ye(e) {
10
+ e.forEach(Xr);
11
11
  }
12
12
  function ur(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Xr(e, t) {
15
+ function zr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  function Cn(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function zr(e, ...t) {
21
+ function Wr(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return ge;
25
+ return ye;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
30
  function Hn(e, t, r) {
31
- e.$$.on_destroy.push(zr(t, r));
31
+ e.$$.on_destroy.push(Wr(t, r));
32
32
  }
33
- function M(e, t) {
33
+ function I(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function On(e, t, r) {
37
37
  const n = Ln(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = V("style");
39
+ const i = X("style");
40
40
  i.id = t, i.textContent = r, Rn(n, i);
41
41
  }
42
42
  }
@@ -51,41 +51,41 @@ function Ln(e) {
51
51
  ) : e.ownerDocument;
52
52
  }
53
53
  function Rn(e, t) {
54
- return M(
54
+ return I(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function ve(e, t, r) {
60
+ function _e(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function ye(e) {
63
+ function ve(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Wr(e, t) {
66
+ function Zr(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 V(e) {
70
+ function X(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function dr(e) {
73
+ function pr(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function Ae(e) {
76
+ function Be(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Te() {
80
- return Ae(" ");
79
+ function Se() {
80
+ return Be(" ");
81
81
  }
82
82
  function Mn() {
83
- return Ae("");
83
+ return Be("");
84
84
  }
85
- function ot(e, t, r, n) {
85
+ function st(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
87
87
  }
88
- function L(e, t, r) {
88
+ function R(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
91
  function Pn(e) {
@@ -104,128 +104,128 @@ function Nn(e) {
104
104
  }
105
105
  ), t;
106
106
  }
107
- let at;
108
- function it(e) {
109
- at = e;
107
+ let lt;
108
+ function at(e) {
109
+ lt = e;
110
110
  }
111
111
  function In() {
112
- if (!at)
112
+ if (!lt)
113
113
  throw new Error("Function called outside component initialization");
114
- return at;
114
+ return lt;
115
115
  }
116
116
  function Dn(e) {
117
117
  In().$$.on_mount.push(e);
118
118
  }
119
- const $e = [], $t = [];
120
- let Ve = [];
121
- const pr = [], Un = /* @__PURE__ */ Promise.resolve();
122
- let Vt = !1;
119
+ const Ve = [], Vt = [];
120
+ let Xe = [];
121
+ const mr = [], Un = /* @__PURE__ */ Promise.resolve();
122
+ let Xt = !1;
123
123
  function Fn() {
124
- Vt || (Vt = !0, Un.then(Y));
124
+ Xt || (Xt = !0, Un.then(Z));
125
125
  }
126
- function Xt(e) {
127
- Ve.push(e);
126
+ function zt(e) {
127
+ Xe.push(e);
128
128
  }
129
- const Nt = /* @__PURE__ */ new Set();
130
- let ke = 0;
131
- function Y() {
132
- if (ke !== 0)
129
+ const It = /* @__PURE__ */ new Set();
130
+ let je = 0;
131
+ function Z() {
132
+ if (je !== 0)
133
133
  return;
134
- const e = at;
134
+ const e = lt;
135
135
  do {
136
136
  try {
137
- for (; ke < $e.length; ) {
138
- const t = $e[ke];
139
- ke++, it(t), Gn(t.$$);
137
+ for (; je < Ve.length; ) {
138
+ const t = Ve[je];
139
+ je++, at(t), Gn(t.$$);
140
140
  }
141
141
  } catch (t) {
142
- throw $e.length = 0, ke = 0, t;
142
+ throw Ve.length = 0, je = 0, t;
143
143
  }
144
- for (it(null), $e.length = 0, ke = 0; $t.length; )
145
- $t.pop()();
146
- for (let t = 0; t < Ve.length; t += 1) {
147
- const r = Ve[t];
148
- Nt.has(r) || (Nt.add(r), r());
144
+ for (at(null), Ve.length = 0, je = 0; Vt.length; )
145
+ Vt.pop()();
146
+ for (let t = 0; t < Xe.length; t += 1) {
147
+ const r = Xe[t];
148
+ It.has(r) || (It.add(r), r());
149
149
  }
150
- Ve.length = 0;
151
- } while ($e.length);
152
- for (; pr.length; )
153
- pr.pop()();
154
- Vt = !1, Nt.clear(), it(e);
150
+ Xe.length = 0;
151
+ } while (Ve.length);
152
+ for (; mr.length; )
153
+ mr.pop()();
154
+ Xt = !1, It.clear(), at(e);
155
155
  }
156
156
  function Gn(e) {
157
157
  if (e.fragment !== null) {
158
- e.update(), qe(e.before_update);
158
+ e.update(), Ye(e.before_update);
159
159
  const t = e.dirty;
160
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xt);
160
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(zt);
161
161
  }
162
162
  }
163
163
  function kn(e) {
164
164
  const t = [], r = [];
165
- Ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ve = t;
165
+ Xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Xe = t;
166
166
  }
167
167
  const jn = /* @__PURE__ */ new Set();
168
168
  function $n(e, t) {
169
169
  e && e.i && (jn.delete(e), e.i(t));
170
170
  }
171
- function yt(e) {
171
+ function Et(e) {
172
172
  return e?.length !== void 0 ? e : Array.from(e);
173
173
  }
174
174
  function Vn(e, t, r) {
175
175
  const { fragment: n, after_update: i } = e.$$;
176
- n && n.m(t, r), Xt(() => {
177
- const o = e.$$.on_mount.map(Vr).filter(ur);
178
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : qe(o), e.$$.on_mount = [];
179
- }), i.forEach(Xt);
176
+ n && n.m(t, r), zt(() => {
177
+ const o = e.$$.on_mount.map(Xr).filter(ur);
178
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ye(o), e.$$.on_mount = [];
179
+ }), i.forEach(zt);
180
180
  }
181
181
  function Xn(e, t) {
182
182
  const r = e.$$;
183
- r.fragment !== null && (kn(r.after_update), qe(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), Ye(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
184
  }
185
185
  function zn(e, t) {
186
- e.$$.dirty[0] === -1 && ($e.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
186
+ e.$$.dirty[0] === -1 && (Ve.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
188
  function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
189
- const l = at;
190
- it(e);
189
+ const c = lt;
190
+ at(e);
191
191
  const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
195
195
  props: o,
196
- update: ge,
196
+ update: ye,
197
197
  not_equal: i,
198
- bound: fr(),
198
+ bound: dr(),
199
199
  // lifecycle
200
200
  on_mount: [],
201
201
  on_destroy: [],
202
202
  on_disconnect: [],
203
203
  before_update: [],
204
204
  after_update: [],
205
- context: new Map(t.context || (l ? l.$$.context : [])),
205
+ context: new Map(t.context || (c ? c.$$.context : [])),
206
206
  // everything else
207
- callbacks: fr(),
207
+ callbacks: dr(),
208
208
  dirty: a,
209
209
  skip_bound: !1,
210
- root: t.target || l.$$.root
210
+ root: t.target || c.$$.root
211
211
  };
212
212
  s && s(u.root);
213
213
  let f = !1;
214
- if (u.ctx = r ? r(e, t.props || {}, (b, p, ...y) => {
215
- const E = y.length ? y[0] : p;
216
- return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), f && zn(e, b)), p;
217
- }) : [], u.update(), f = !0, qe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
+ if (u.ctx = r ? r(e, t.props || {}, (m, d, ...g) => {
215
+ const v = g.length ? g[0] : d;
216
+ return u.ctx && i(u.ctx[m], u.ctx[m] = v) && (!u.skip_bound && u.bound[m] && u.bound[m](v), f && zn(e, m)), d;
217
+ }) : [], u.update(), f = !0, Ye(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const b = Pn(t.target);
220
- u.fragment && u.fragment.l(b), b.forEach(ye);
219
+ const m = Pn(t.target);
220
+ u.fragment && u.fragment.l(m), m.forEach(ve);
221
221
  } else
222
222
  u.fragment && u.fragment.c();
223
- t.intro && $n(e.$$.fragment), Vn(e, t.target, t.anchor), Y();
223
+ t.intro && $n(e.$$.fragment), Vn(e, t.target, t.anchor), Z();
224
224
  }
225
- it(l);
225
+ at(c);
226
226
  }
227
- let Zr;
228
- typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
227
+ let qr;
228
+ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
229
229
  /** The Svelte component constructor */
230
230
  $$ctor;
231
231
  /** Slots */
@@ -267,17 +267,17 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
267
267
  let o;
268
268
  return {
269
269
  c: function() {
270
- o = V("slot"), i !== "default" && L(o, "name", i);
270
+ o = X("slot"), i !== "default" && R(o, "name", i);
271
271
  },
272
272
  /**
273
273
  * @param {HTMLElement} target
274
274
  * @param {HTMLElement} [anchor]
275
275
  */
276
- m: function(l, u) {
277
- ve(l, o, u);
276
+ m: function(c, u) {
277
+ _e(c, o, u);
278
278
  },
279
- d: function(l) {
280
- l && ye(o);
279
+ d: function(c) {
280
+ c && ve(o);
281
281
  }
282
282
  };
283
283
  };
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
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] = pt(o, i.value, this.$$p_d, "toProp"));
292
+ o in this.$$d || (this.$$d[o] = gt(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" && (Zr = 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 = pt(
310
+ const o = gt(
311
311
  i,
312
312
  this.$$d[i],
313
313
  this.$$p_d,
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Zr = 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] = pt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
332
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = gt(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" && (Zr = class extends HTMLElement {
342
342
  ) || e;
343
343
  }
344
344
  });
345
- function pt(e, t, r, n) {
345
+ function gt(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;
@@ -372,7 +372,7 @@ function pt(e, t, r, n) {
372
372
  }
373
373
  }
374
374
  function Zn(e, t, r, n, i, o) {
375
- let s = class extends Zr {
375
+ let s = class extends qr {
376
376
  constructor() {
377
377
  super(e, r, i), this.$$p_d = t;
378
378
  }
@@ -387,8 +387,8 @@ function Zn(e, t, r, n, i, o) {
387
387
  get() {
388
388
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
389
389
  },
390
- set(l) {
391
- l = pt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
390
+ set(c) {
391
+ c = gt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
392
392
  }
393
393
  });
394
394
  }), n.forEach((a) => {
@@ -419,7 +419,7 @@ class qn {
419
419
  $$set = void 0;
420
420
  /** @returns {void} */
421
421
  $destroy() {
422
- Xn(this, 1), this.$destroy = ge;
422
+ Xn(this, 1), this.$destroy = ye;
423
423
  }
424
424
  /**
425
425
  * @template {Extract<keyof Events, string>} K
@@ -429,7 +429,7 @@ class qn {
429
429
  */
430
430
  $on(t, r) {
431
431
  if (!ur(r))
432
- return ge;
432
+ return ye;
433
433
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
434
434
  return n.push(r), () => {
435
435
  const i = n.indexOf(r);
@@ -453,6 +453,8 @@ function Qn(e, t) {
453
453
  }
454
454
  }
455
455
  function Jn(e, t) {
456
+ if (!e || !t)
457
+ return;
456
458
  const r = new URL(t);
457
459
  fetch(r.href).then((n) => n.text()).then((n) => {
458
460
  const i = document.createElement("style");
@@ -469,66 +471,66 @@ function Kn(e, t, r) {
469
471
  });
470
472
  }
471
473
  }
472
- const je = [];
474
+ const $e = [];
473
475
  function ei(e, t) {
474
476
  return {
475
- subscribe: xt(e, t).subscribe
477
+ subscribe: Bt(e, t).subscribe
476
478
  };
477
479
  }
478
- function xt(e, t = ge) {
480
+ function Bt(e, t = ye) {
479
481
  let r;
480
482
  const n = /* @__PURE__ */ new Set();
481
483
  function i(a) {
482
- if (Xr(e, a) && (e = a, r)) {
483
- const l = !je.length;
484
+ if (zr(e, a) && (e = a, r)) {
485
+ const c = !$e.length;
484
486
  for (const u of n)
485
- u[1](), je.push(u, e);
486
- if (l) {
487
- for (let u = 0; u < je.length; u += 2)
488
- je[u][0](je[u + 1]);
489
- je.length = 0;
487
+ u[1](), $e.push(u, e);
488
+ if (c) {
489
+ for (let u = 0; u < $e.length; u += 2)
490
+ $e[u][0]($e[u + 1]);
491
+ $e.length = 0;
490
492
  }
491
493
  }
492
494
  }
493
495
  function o(a) {
494
496
  i(a(e));
495
497
  }
496
- function s(a, l = ge) {
497
- const u = [a, l];
498
- return n.add(u), n.size === 1 && (r = t(i, o) || ge), a(e), () => {
498
+ function s(a, c = ye) {
499
+ const u = [a, c];
500
+ return n.add(u), n.size === 1 && (r = t(i, o) || ye), a(e), () => {
499
501
  n.delete(u), n.size === 0 && r && (r(), r = null);
500
502
  };
501
503
  }
502
504
  return { set: i, update: o, subscribe: s };
503
505
  }
504
- function Ye(e, t, r) {
506
+ function Qe(e, t, r) {
505
507
  const n = !Array.isArray(e), i = n ? [e] : e;
506
508
  if (!i.every(Boolean))
507
509
  throw new Error("derived() expects stores as input, got a falsy value");
508
510
  const o = t.length < 2;
509
511
  return ei(r, (s, a) => {
510
- let l = !1;
512
+ let c = !1;
511
513
  const u = [];
512
- let f = 0, b = ge;
513
- const p = () => {
514
+ let f = 0, m = ye;
515
+ const d = () => {
514
516
  if (f)
515
517
  return;
516
- b();
517
- const E = t(n ? u[0] : u, s, a);
518
- o ? s(E) : b = ur(E) ? E : ge;
519
- }, y = i.map(
520
- (E, B) => zr(
521
- E,
522
- (Q) => {
523
- u[B] = Q, f &= ~(1 << B), l && p();
518
+ m();
519
+ const v = t(n ? u[0] : u, s, a);
520
+ o ? s(v) : m = ur(v) ? v : ye;
521
+ }, g = i.map(
522
+ (v, S) => Wr(
523
+ v,
524
+ (K) => {
525
+ u[S] = K, f &= ~(1 << S), c && d();
524
526
  },
525
527
  () => {
526
- f |= 1 << B;
528
+ f |= 1 << S;
527
529
  }
528
530
  )
529
531
  );
530
- return l = !0, p(), function() {
531
- qe(y), b(), l = !1;
532
+ return c = !0, d(), function() {
533
+ Ye(g), m(), c = !1;
532
534
  };
533
535
  });
534
536
  }
@@ -544,38 +546,38 @@ function ii(e) {
544
546
  }
545
547
  function oi(e) {
546
548
  var t = Object.prototype.toString.call(e);
547
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
549
+ return t === "[object RegExp]" || t === "[object Date]" || li(e);
548
550
  }
549
551
  var ai = typeof Symbol == "function" && Symbol.for, si = ai ? Symbol.for("react.element") : 60103;
550
- function ui(e) {
552
+ function li(e) {
551
553
  return e.$$typeof === si;
552
554
  }
553
- function li(e) {
555
+ function ui(e) {
554
556
  return Array.isArray(e) ? [] : {};
555
557
  }
556
- function st(e, t) {
557
- return t.clone !== !1 && t.isMergeableObject(e) ? Xe(li(e), e, t) : e;
558
+ function ut(e, t) {
559
+ return t.clone !== !1 && t.isMergeableObject(e) ? ze(ui(e), e, t) : e;
558
560
  }
559
561
  function ci(e, t, r) {
560
562
  return e.concat(t).map(function(n) {
561
- return st(n, r);
563
+ return ut(n, r);
562
564
  });
563
565
  }
564
566
  function hi(e, t) {
565
567
  if (!t.customMerge)
566
- return Xe;
568
+ return ze;
567
569
  var r = t.customMerge(e);
568
- return typeof r == "function" ? r : Xe;
570
+ return typeof r == "function" ? r : ze;
569
571
  }
570
572
  function fi(e) {
571
573
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
572
574
  return Object.propertyIsEnumerable.call(e, t);
573
575
  }) : [];
574
576
  }
575
- function mr(e) {
577
+ function br(e) {
576
578
  return Object.keys(e).concat(fi(e));
577
579
  }
578
- function qr(e, t) {
580
+ function Yr(e, t) {
579
581
  try {
580
582
  return t in e;
581
583
  } catch {
@@ -583,56 +585,56 @@ function qr(e, t) {
583
585
  }
584
586
  }
585
587
  function di(e, t) {
586
- return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ return Yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
587
589
  }
588
590
  function pi(e, t, r) {
589
591
  var n = {};
590
- return r.isMergeableObject(e) && mr(e).forEach(function(i) {
591
- n[i] = st(e[i], r);
592
- }), mr(t).forEach(function(i) {
593
- di(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hi(i, r)(e[i], t[i], r) : n[i] = st(t[i], r));
592
+ return r.isMergeableObject(e) && br(e).forEach(function(i) {
593
+ n[i] = ut(e[i], r);
594
+ }), br(t).forEach(function(i) {
595
+ di(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hi(i, r)(e[i], t[i], r) : n[i] = ut(t[i], r));
594
596
  }), n;
595
597
  }
596
- function Xe(e, t, r) {
597
- r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = st;
598
+ function ze(e, t, r) {
599
+ r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = ut;
598
600
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
599
- return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : st(t, r);
601
+ return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : ut(t, r);
600
602
  }
601
- Xe.all = function(t, r) {
603
+ ze.all = function(t, r) {
602
604
  if (!Array.isArray(t))
603
605
  throw new Error("first argument should be an array");
604
606
  return t.reduce(function(n, i) {
605
- return Xe(n, i, r);
607
+ return ze(n, i, r);
606
608
  }, {});
607
609
  };
608
- var mi = Xe, bi = mi;
610
+ var mi = ze, bi = mi;
609
611
  const gi = /* @__PURE__ */ ri(bi);
610
- var zt = function(e, t) {
611
- return zt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
612
+ var Wt = function(e, t) {
613
+ return Wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
612
614
  r.__proto__ = n;
613
615
  } || function(r, n) {
614
616
  for (var i in n)
615
617
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
616
- }, zt(e, t);
618
+ }, Wt(e, t);
617
619
  };
618
- function wt(e, t) {
620
+ function Tt(e, t) {
619
621
  if (typeof t != "function" && t !== null)
620
622
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
621
- zt(e, t);
623
+ Wt(e, t);
622
624
  function r() {
623
625
  this.constructor = e;
624
626
  }
625
627
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
626
628
  }
627
- var Be = function() {
628
- return Be = Object.assign || function(t) {
629
+ var we = function() {
630
+ return we = Object.assign || function(t) {
629
631
  for (var r, n = 1, i = arguments.length; n < i; n++) {
630
632
  r = arguments[n];
631
633
  for (var o in r)
632
634
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
633
635
  }
634
636
  return t;
635
- }, Be.apply(this, arguments);
637
+ }, we.apply(this, arguments);
636
638
  };
637
639
  function yi(e, t) {
638
640
  var r = {};
@@ -643,13 +645,13 @@ function yi(e, t) {
643
645
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
644
646
  return r;
645
647
  }
646
- function It(e, t, r) {
648
+ function Dt(e, t, r) {
647
649
  if (r || arguments.length === 2)
648
650
  for (var n = 0, i = t.length, o; n < i; n++)
649
651
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
650
652
  return e.concat(o || Array.prototype.slice.call(t));
651
653
  }
652
- function Dt(e, t) {
654
+ function Ut(e, t) {
653
655
  var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy : Ei;
654
656
  return i(e, {
655
657
  cache: r,
@@ -663,19 +665,19 @@ function _i(e, t, r, n) {
663
665
  var i = vi(n) ? n : r(n), o = t.get(i);
664
666
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
665
667
  }
666
- function Yr(e, t, r) {
668
+ function Qr(e, t, r) {
667
669
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
668
670
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
669
671
  }
670
- function Qr(e, t, r, n, i) {
672
+ function Jr(e, t, r, n, i) {
671
673
  return r.bind(t, e, n, i);
672
674
  }
673
675
  function Ei(e, t) {
674
- var r = e.length === 1 ? _i : Yr;
675
- return Qr(e, this, r, t.cache.create(), t.serializer);
676
+ var r = e.length === 1 ? _i : Qr;
677
+ return Jr(e, this, r, t.cache.create(), t.serializer);
676
678
  }
677
679
  function xi(e, t) {
678
- return Qr(e, this, Yr, t.cache.create(), t.serializer);
680
+ return Jr(e, this, Qr, t.cache.create(), t.serializer);
679
681
  }
680
682
  var wi = function() {
681
683
  return JSON.stringify(arguments);
@@ -695,64 +697,64 @@ var wi = function() {
695
697
  create: function() {
696
698
  return new Si();
697
699
  }
698
- }, Ut = {
700
+ }, Ft = {
699
701
  variadic: xi
700
- }, vt = function() {
701
- return vt = Object.assign || function(t) {
702
+ }, xt = function() {
703
+ return xt = Object.assign || function(t) {
702
704
  for (var r, n = 1, i = arguments.length; n < i; n++) {
703
705
  r = arguments[n];
704
706
  for (var o in r)
705
707
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
706
708
  }
707
709
  return t;
708
- }, vt.apply(this, arguments);
710
+ }, xt.apply(this, arguments);
709
711
  };
710
- var O;
712
+ var L;
711
713
  (function(e) {
712
714
  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
- })(O || (O = {}));
714
- var $;
715
+ })(L || (L = {}));
716
+ var V;
715
717
  (function(e) {
716
718
  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
- })($ || ($ = {}));
718
- var ze;
719
+ })(V || (V = {}));
720
+ var We;
719
721
  (function(e) {
720
722
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
721
- })(ze || (ze = {}));
722
- function br(e) {
723
- return e.type === $.literal;
723
+ })(We || (We = {}));
724
+ function gr(e) {
725
+ return e.type === V.literal;
724
726
  }
725
727
  function Ti(e) {
726
- return e.type === $.argument;
727
- }
728
- function Jr(e) {
729
- return e.type === $.number;
728
+ return e.type === V.argument;
730
729
  }
731
730
  function Kr(e) {
732
- return e.type === $.date;
731
+ return e.type === V.number;
733
732
  }
734
733
  function en(e) {
735
- return e.type === $.time;
734
+ return e.type === V.date;
736
735
  }
737
736
  function tn(e) {
738
- return e.type === $.select;
737
+ return e.type === V.time;
739
738
  }
740
739
  function rn(e) {
741
- return e.type === $.plural;
742
- }
743
- function Ai(e) {
744
- return e.type === $.pound;
740
+ return e.type === V.select;
745
741
  }
746
742
  function nn(e) {
747
- return e.type === $.tag;
743
+ return e.type === V.plural;
744
+ }
745
+ function Ai(e) {
746
+ return e.type === V.pound;
748
747
  }
749
748
  function on(e) {
750
- return !!(e && typeof e == "object" && e.type === ze.number);
749
+ return e.type === V.tag;
750
+ }
751
+ function an(e) {
752
+ return !!(e && typeof e == "object" && e.type === We.number);
751
753
  }
752
- function Wt(e) {
753
- return !!(e && typeof e == "object" && e.type === ze.dateTime);
754
+ function Zt(e) {
755
+ return !!(e && typeof e == "object" && e.type === We.dateTime);
754
756
  }
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;
757
+ var sn = /[ \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
758
  function Hi(e) {
757
759
  var t = {};
758
760
  return e.replace(Ci, function(r) {
@@ -844,46 +846,46 @@ function Hi(e) {
844
846
  return "";
845
847
  }), t;
846
848
  }
847
- var W = function() {
848
- return W = Object.assign || function(t) {
849
+ var q = function() {
850
+ return q = Object.assign || function(t) {
849
851
  for (var r, n = 1, i = arguments.length; n < i; n++) {
850
852
  r = arguments[n];
851
853
  for (var o in r)
852
854
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
853
855
  }
854
856
  return t;
855
- }, W.apply(this, arguments);
857
+ }, q.apply(this, arguments);
856
858
  };
857
859
  var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
860
  function Li(e) {
859
861
  if (e.length === 0)
860
862
  throw new Error("Number skeleton cannot be empty");
861
- for (var t = e.split(Oi).filter(function(p) {
862
- return p.length > 0;
863
+ for (var t = e.split(Oi).filter(function(d) {
864
+ return d.length > 0;
863
865
  }), r = [], n = 0, i = t; n < i.length; n++) {
864
866
  var o = i[n], s = o.split("/");
865
867
  if (s.length === 0)
866
868
  throw new Error("Invalid number skeleton");
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)
869
+ for (var a = s[0], c = s.slice(1), u = 0, f = c; u < f.length; u++) {
870
+ var m = f[u];
871
+ if (m.length === 0)
870
872
  throw new Error("Invalid number skeleton");
871
873
  }
872
- r.push({ stem: a, options: l });
874
+ r.push({ stem: a, options: c });
873
875
  }
874
876
  return r;
875
877
  }
876
878
  function Ri(e) {
877
879
  return e.replace(/^(.*?)-/, "");
878
880
  }
879
- var gr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sn = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
880
- function yr(e) {
881
+ var yr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ln = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, un = /^(0+)$/;
882
+ function vr(e) {
881
883
  var t = {};
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) {
884
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ln, function(r, n, i) {
883
885
  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
886
  }), t;
885
887
  }
886
- function ln(e) {
888
+ function cn(e) {
887
889
  switch (e) {
888
890
  case "sign-auto":
889
891
  return {
@@ -937,8 +939,8 @@ function Pi(e) {
937
939
  }
938
940
  return t;
939
941
  }
940
- function vr(e) {
941
- var t = {}, r = ln(e);
942
+ function _r(e) {
943
+ var t = {}, r = cn(e);
942
944
  return r || t;
943
945
  }
944
946
  function Ni(e) {
@@ -976,13 +978,13 @@ function Ni(e) {
976
978
  t.notation = "compact", t.compactDisplay = "long";
977
979
  continue;
978
980
  case "scientific":
979
- t = W(W(W({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
980
- return W(W({}, l), vr(u));
981
+ t = q(q(q({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
982
+ return q(q({}, c), _r(u));
981
983
  }, {}));
982
984
  continue;
983
985
  case "engineering":
984
- t = W(W(W({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
985
- return W(W({}, l), vr(u));
986
+ t = q(q(q({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
987
+ return q(q({}, c), _r(u));
986
988
  }, {}));
987
989
  continue;
988
990
  case "notation-simple":
@@ -1027,13 +1029,13 @@ function Ni(e) {
1027
1029
  case "integer-width":
1028
1030
  if (i.options.length > 1)
1029
1031
  throw new RangeError("integer-width stems only accept a single optional option");
1030
- i.options[0].replace(Mi, function(l, u, f, b, p, y) {
1032
+ i.options[0].replace(Mi, function(c, u, f, m, d, g) {
1031
1033
  if (u)
1032
1034
  t.minimumIntegerDigits = f.length;
1033
1035
  else {
1034
- if (b && p)
1036
+ if (m && d)
1035
1037
  throw new Error("We currently do not support maximum integer digits");
1036
- if (y)
1038
+ if (g)
1037
1039
  throw new Error("We currently do not support exact integer digits");
1038
1040
  }
1039
1041
  return "";
@@ -1044,28 +1046,28 @@ function Ni(e) {
1044
1046
  t.minimumIntegerDigits = i.stem.length;
1045
1047
  continue;
1046
1048
  }
1047
- if (gr.test(i.stem)) {
1049
+ if (yr.test(i.stem)) {
1048
1050
  if (i.options.length > 1)
1049
1051
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1050
- i.stem.replace(gr, function(l, u, f, b, p, y) {
1051
- return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1052
+ i.stem.replace(yr, function(c, u, f, m, d, g) {
1053
+ return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1052
1054
  });
1053
1055
  var o = i.options[0];
1054
- o === "w" ? t = W(W({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = W(W({}, t), yr(o)));
1056
+ o === "w" ? t = q(q({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = q(q({}, t), vr(o)));
1055
1057
  continue;
1056
1058
  }
1057
- if (sn.test(i.stem)) {
1058
- t = W(W({}, t), yr(i.stem));
1059
+ if (ln.test(i.stem)) {
1060
+ t = q(q({}, t), vr(i.stem));
1059
1061
  continue;
1060
1062
  }
1061
- var s = ln(i.stem);
1062
- s && (t = W(W({}, t), s));
1063
+ var s = cn(i.stem);
1064
+ s && (t = q(q({}, t), s));
1063
1065
  var a = Pi(i.stem);
1064
- a && (t = W(W({}, t), a));
1066
+ a && (t = q(q({}, t), a));
1065
1067
  }
1066
1068
  return t;
1067
1069
  }
1068
- var ft = {
1070
+ var mt = {
1069
1071
  "001": [
1070
1072
  "H",
1071
1073
  "h"
@@ -2486,9 +2488,9 @@ function Ii(e, t) {
2486
2488
  if (i === "j") {
2487
2489
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2488
2490
  o++, n++;
2489
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Di(t);
2491
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = Di(t);
2490
2492
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2491
- r += l;
2493
+ r += c;
2492
2494
  for (; s-- > 0; )
2493
2495
  r = u + r;
2494
2496
  } else
@@ -2515,23 +2517,23 @@ function Di(e) {
2515
2517
  }
2516
2518
  var r = e.language, n;
2517
2519
  r !== "root" && (n = e.maximize().region);
2518
- var i = ft[n || ""] || ft[r || ""] || ft["".concat(r, "-001")] || ft["001"];
2520
+ var i = mt[n || ""] || mt[r || ""] || mt["".concat(r, "-001")] || mt["001"];
2519
2521
  return i[0];
2520
2522
  }
2521
- var Ft, Ui = new RegExp("^".concat(an.source, "*")), Fi = new RegExp("".concat(an.source, "*$"));
2522
- function R(e, t) {
2523
+ var Gt, Ui = new RegExp("^".concat(sn.source, "*")), Fi = new RegExp("".concat(sn.source, "*$"));
2524
+ function N(e, t) {
2523
2525
  return { start: e, end: t };
2524
2526
  }
2525
2527
  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
2528
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2527
- }, Zt = !0;
2529
+ }, qt = !0;
2528
2530
  try {
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
+ var Zi = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2532
+ qt = ((Gt = Zi.exec("a")) === null || Gt === void 0 ? void 0 : Gt[0]) === "a";
2531
2533
  } catch {
2532
- Zt = !1;
2534
+ qt = !1;
2533
2535
  }
2534
- var _r = Gi ? (
2536
+ var Er = Gi ? (
2535
2537
  // Native
2536
2538
  function(t, r, n) {
2537
2539
  return t.startsWith(r, n);
@@ -2541,7 +2543,7 @@ var _r = Gi ? (
2541
2543
  function(t, r, n) {
2542
2544
  return t.slice(n, n + r.length) === r;
2543
2545
  }
2544
- ), qt = ki ? String.fromCodePoint : (
2546
+ ), Yt = ki ? String.fromCodePoint : (
2545
2547
  // IE11
2546
2548
  function() {
2547
2549
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2553,7 +2555,7 @@ var _r = Gi ? (
2553
2555
  }
2554
2556
  return n;
2555
2557
  }
2556
- ), Er = (
2558
+ ), xr = (
2557
2559
  // native
2558
2560
  ji ? Object.fromEntries : (
2559
2561
  // Ponyfill
@@ -2565,7 +2567,7 @@ var _r = Gi ? (
2565
2567
  return r;
2566
2568
  }
2567
2569
  )
2568
- ), cn = $i ? (
2570
+ ), hn = $i ? (
2569
2571
  // Native
2570
2572
  function(t, r) {
2571
2573
  return t.codePointAt(r);
@@ -2600,27 +2602,27 @@ var _r = Gi ? (
2600
2602
  return t.replace(Fi, "");
2601
2603
  }
2602
2604
  );
2603
- function hn(e, t) {
2605
+ function fn(e, t) {
2604
2606
  return new RegExp(e, t);
2605
2607
  }
2606
- var Yt;
2607
- if (Zt) {
2608
- var xr = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2609
- Yt = function(t, r) {
2608
+ var Qt;
2609
+ if (qt) {
2610
+ var wr = fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2611
+ Qt = function(t, r) {
2610
2612
  var n;
2611
- xr.lastIndex = r;
2612
- var i = xr.exec(t);
2613
+ wr.lastIndex = r;
2614
+ var i = wr.exec(t);
2613
2615
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2614
2616
  };
2615
2617
  } else
2616
- Yt = function(t, r) {
2618
+ Qt = function(t, r) {
2617
2619
  for (var n = []; ; ) {
2618
- var i = cn(t, r);
2619
- if (i === void 0 || fn(i) || eo(i))
2620
+ var i = hn(t, r);
2621
+ if (i === void 0 || dn(i) || eo(i))
2620
2622
  break;
2621
2623
  n.push(i), r += i >= 65536 ? 2 : 1;
2622
2624
  }
2623
- return qt.apply(void 0, n);
2625
+ return Yt.apply(void 0, n);
2624
2626
  };
2625
2627
  var Qi = (
2626
2628
  /** @class */
@@ -2646,14 +2648,14 @@ var Qi = (
2646
2648
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2647
2649
  var a = this.clonePosition();
2648
2650
  this.bump(), i.push({
2649
- type: $.pound,
2650
- location: R(a, this.clonePosition())
2651
+ type: V.pound,
2652
+ location: N(a, this.clonePosition())
2651
2653
  });
2652
2654
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2653
2655
  if (n)
2654
2656
  break;
2655
- return this.error(O.UNMATCHED_CLOSING_TAG, R(this.clonePosition(), this.clonePosition()));
2656
- } else if (o === 60 && !this.ignoreTag && Qt(this.peek() || 0)) {
2657
+ return this.error(L.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2658
+ } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
2657
2659
  var s = this.parseTag(t, r);
2658
2660
  if (s.err)
2659
2661
  return s;
@@ -2674,9 +2676,9 @@ var Qi = (
2674
2676
  if (this.bumpSpace(), this.bumpIf("/>"))
2675
2677
  return {
2676
2678
  val: {
2677
- type: $.literal,
2679
+ type: V.literal,
2678
2680
  value: "<".concat(i, "/>"),
2679
- location: R(n, this.clonePosition())
2681
+ location: N(n, this.clonePosition())
2680
2682
  },
2681
2683
  err: null
2682
2684
  };
@@ -2686,22 +2688,22 @@ var Qi = (
2686
2688
  return o;
2687
2689
  var s = o.val, a = this.clonePosition();
2688
2690
  if (this.bumpIf("</")) {
2689
- if (this.isEOF() || !Qt(this.char()))
2690
- return this.error(O.INVALID_TAG, R(a, this.clonePosition()));
2691
- var l = this.clonePosition(), u = this.parseTagName();
2692
- return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, R(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2691
+ if (this.isEOF() || !Jt(this.char()))
2692
+ return this.error(L.INVALID_TAG, N(a, this.clonePosition()));
2693
+ var c = this.clonePosition(), u = this.parseTagName();
2694
+ return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, N(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
2695
  val: {
2694
- type: $.tag,
2696
+ type: V.tag,
2695
2697
  value: i,
2696
2698
  children: s,
2697
- location: R(n, this.clonePosition())
2699
+ location: N(n, this.clonePosition())
2698
2700
  },
2699
2701
  err: null
2700
- } : this.error(O.INVALID_TAG, R(a, this.clonePosition())));
2702
+ } : this.error(L.INVALID_TAG, N(a, this.clonePosition())));
2701
2703
  } else
2702
- return this.error(O.UNCLOSED_TAG, R(n, this.clonePosition()));
2704
+ return this.error(L.UNCLOSED_TAG, N(n, this.clonePosition()));
2703
2705
  } else
2704
- return this.error(O.INVALID_TAG, R(n, this.clonePosition()));
2706
+ return this.error(L.INVALID_TAG, N(n, this.clonePosition()));
2705
2707
  }, e.prototype.parseTagName = function() {
2706
2708
  var t = this.offset();
2707
2709
  for (this.bump(); !this.isEOF() && Ki(this.char()); )
@@ -2726,9 +2728,9 @@ var Qi = (
2726
2728
  }
2727
2729
  break;
2728
2730
  }
2729
- var l = R(n, this.clonePosition());
2731
+ var c = N(n, this.clonePosition());
2730
2732
  return {
2731
- val: { type: $.literal, value: i, location: l },
2733
+ val: { type: V.literal, value: i, location: c },
2732
2734
  err: null
2733
2735
  };
2734
2736
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2767,49 +2769,49 @@ var Qi = (
2767
2769
  r.push(n);
2768
2770
  this.bump();
2769
2771
  }
2770
- return qt.apply(void 0, r);
2772
+ return Yt.apply(void 0, r);
2771
2773
  }, e.prototype.tryParseUnquoted = function(t, r) {
2772
2774
  if (this.isEOF())
2773
2775
  return null;
2774
2776
  var n = this.char();
2775
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qt(n));
2777
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Yt(n));
2776
2778
  }, e.prototype.parseArgument = function(t, r) {
2777
2779
  var n = this.clonePosition();
2778
2780
  if (this.bump(), this.bumpSpace(), this.isEOF())
2779
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(n, this.clonePosition()));
2781
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2780
2782
  if (this.char() === 125)
2781
- return this.bump(), this.error(O.EMPTY_ARGUMENT, R(n, this.clonePosition()));
2783
+ return this.bump(), this.error(L.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2782
2784
  var i = this.parseIdentifierIfPossible().value;
2783
2785
  if (!i)
2784
- return this.error(O.MALFORMED_ARGUMENT, R(n, this.clonePosition()));
2786
+ return this.error(L.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2785
2787
  if (this.bumpSpace(), this.isEOF())
2786
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(n, this.clonePosition()));
2788
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2787
2789
  switch (this.char()) {
2788
2790
  case 125:
2789
2791
  return this.bump(), {
2790
2792
  val: {
2791
- type: $.argument,
2793
+ type: V.argument,
2792
2794
  // value does not include the opening and closing braces.
2793
2795
  value: i,
2794
- location: R(n, this.clonePosition())
2796
+ location: N(n, this.clonePosition())
2795
2797
  },
2796
2798
  err: null
2797
2799
  };
2798
2800
  case 44:
2799
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2801
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2800
2802
  default:
2801
- return this.error(O.MALFORMED_ARGUMENT, R(n, this.clonePosition()));
2803
+ return this.error(L.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2802
2804
  }
2803
2805
  }, e.prototype.parseIdentifierIfPossible = function() {
2804
- var t = this.clonePosition(), r = this.offset(), n = Yt(this.message, r), i = r + n.length;
2806
+ var t = this.clonePosition(), r = this.offset(), n = Qt(this.message, r), i = r + n.length;
2805
2807
  this.bumpTo(i);
2806
- var o = this.clonePosition(), s = R(t, o);
2808
+ var o = this.clonePosition(), s = N(t, o);
2807
2809
  return { value: n, location: s };
2808
2810
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2809
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2811
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2810
2812
  switch (a) {
2811
2813
  case "":
2812
- return this.error(O.EXPECT_ARGUMENT_TYPE, R(s, l));
2814
+ return this.error(L.EXPECT_ARGUMENT_TYPE, N(s, c));
2813
2815
  case "number":
2814
2816
  case "date":
2815
2817
  case "time": {
@@ -2817,49 +2819,49 @@ var Qi = (
2817
2819
  var u = null;
2818
2820
  if (this.bumpIf(",")) {
2819
2821
  this.bumpSpace();
2820
- var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2821
- if (b.err)
2822
- return b;
2823
- var p = Yi(b.val);
2824
- if (p.length === 0)
2825
- return this.error(O.EXPECT_ARGUMENT_STYLE, R(this.clonePosition(), this.clonePosition()));
2826
- var y = R(f, this.clonePosition());
2827
- u = { style: p, styleLocation: y };
2822
+ var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2823
+ if (m.err)
2824
+ return m;
2825
+ var d = Yi(m.val);
2826
+ if (d.length === 0)
2827
+ return this.error(L.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2828
+ var g = N(f, this.clonePosition());
2829
+ u = { style: d, styleLocation: g };
2828
2830
  }
2829
- var E = this.tryParseArgumentClose(i);
2830
- if (E.err)
2831
- return E;
2832
- var B = R(i, this.clonePosition());
2833
- if (u && _r(u?.style, "::", 0)) {
2834
- var Q = qi(u.style.slice(2));
2831
+ var v = this.tryParseArgumentClose(i);
2832
+ if (v.err)
2833
+ return v;
2834
+ var S = N(i, this.clonePosition());
2835
+ if (u && Er(u?.style, "::", 0)) {
2836
+ var K = qi(u.style.slice(2));
2835
2837
  if (a === "number") {
2836
- var b = this.parseNumberSkeletonFromString(Q, u.styleLocation);
2837
- return b.err ? b : {
2838
- val: { type: $.number, value: n, location: B, style: b.val },
2838
+ var m = this.parseNumberSkeletonFromString(K, u.styleLocation);
2839
+ return m.err ? m : {
2840
+ val: { type: V.number, value: n, location: S, style: m.val },
2839
2841
  err: null
2840
2842
  };
2841
2843
  } else {
2842
- if (Q.length === 0)
2843
- return this.error(O.EXPECT_DATE_TIME_SKELETON, B);
2844
- var ne = Q;
2845
- this.locale && (ne = Ii(Q, this.locale));
2846
- var p = {
2847
- type: ze.dateTime,
2848
- pattern: ne,
2844
+ if (K.length === 0)
2845
+ return this.error(L.EXPECT_DATE_TIME_SKELETON, S);
2846
+ var oe = K;
2847
+ this.locale && (oe = Ii(K, this.locale));
2848
+ var d = {
2849
+ type: We.dateTime,
2850
+ pattern: oe,
2849
2851
  location: u.styleLocation,
2850
- parsedOptions: this.shouldParseSkeletons ? Hi(ne) : {}
2851
- }, oe = a === "date" ? $.date : $.time;
2852
+ parsedOptions: this.shouldParseSkeletons ? Hi(oe) : {}
2853
+ }, se = a === "date" ? V.date : V.time;
2852
2854
  return {
2853
- val: { type: oe, value: n, location: B, style: p },
2855
+ val: { type: se, value: n, location: S, style: d },
2854
2856
  err: null
2855
2857
  };
2856
2858
  }
2857
2859
  }
2858
2860
  return {
2859
2861
  val: {
2860
- type: a === "number" ? $.number : a === "date" ? $.date : $.time,
2862
+ type: a === "number" ? V.number : a === "date" ? V.date : V.time,
2861
2863
  value: n,
2862
- location: B,
2864
+ location: S,
2863
2865
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2864
2866
  },
2865
2867
  err: null
@@ -2868,52 +2870,52 @@ var Qi = (
2868
2870
  case "plural":
2869
2871
  case "selectordinal":
2870
2872
  case "select": {
2871
- var I = this.clonePosition();
2873
+ var D = this.clonePosition();
2872
2874
  if (this.bumpSpace(), !this.bumpIf(","))
2873
- return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, R(I, vt({}, I)));
2875
+ return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, N(D, xt({}, D)));
2874
2876
  this.bumpSpace();
2875
- var j = this.parseIdentifierIfPossible(), Z = 0;
2876
- if (a !== "select" && j.value === "offset") {
2877
+ var k = this.parseIdentifierIfPossible(), Y = 0;
2878
+ if (a !== "select" && k.value === "offset") {
2877
2879
  if (!this.bumpIf(":"))
2878
- return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R(this.clonePosition(), this.clonePosition()));
2880
+ return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2879
2881
  this.bumpSpace();
2880
- var b = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
- if (b.err)
2882
- return b;
2883
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), Z = b.val;
2882
+ var m = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2883
+ if (m.err)
2884
+ return m;
2885
+ this.bumpSpace(), k = this.parseIdentifierIfPossible(), Y = m.val;
2884
2886
  }
2885
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, j);
2886
- if (ie.err)
2887
- return ie;
2888
- var E = this.tryParseArgumentClose(i);
2889
- if (E.err)
2890
- return E;
2891
- var K = R(i, this.clonePosition());
2887
+ var ae = this.tryParsePluralOrSelectOptions(t, a, r, k);
2888
+ if (ae.err)
2889
+ return ae;
2890
+ var v = this.tryParseArgumentClose(i);
2891
+ if (v.err)
2892
+ return v;
2893
+ var me = N(i, this.clonePosition());
2892
2894
  return a === "select" ? {
2893
2895
  val: {
2894
- type: $.select,
2896
+ type: V.select,
2895
2897
  value: n,
2896
- options: Er(ie.val),
2897
- location: K
2898
+ options: xr(ae.val),
2899
+ location: me
2898
2900
  },
2899
2901
  err: null
2900
2902
  } : {
2901
2903
  val: {
2902
- type: $.plural,
2904
+ type: V.plural,
2903
2905
  value: n,
2904
- options: Er(ie.val),
2905
- offset: Z,
2906
+ options: xr(ae.val),
2907
+ offset: Y,
2906
2908
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2907
- location: K
2909
+ location: me
2908
2910
  },
2909
2911
  err: null
2910
2912
  };
2911
2913
  }
2912
2914
  default:
2913
- return this.error(O.INVALID_ARGUMENT_TYPE, R(s, l));
2915
+ return this.error(L.INVALID_ARGUMENT_TYPE, N(s, c));
2914
2916
  }
2915
2917
  }, e.prototype.tryParseArgumentClose = function(t) {
2916
- return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, R(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2918
+ return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2917
2919
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2918
2920
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2919
2921
  var n = this.char();
@@ -2922,7 +2924,7 @@ var Qi = (
2922
2924
  this.bump();
2923
2925
  var i = this.clonePosition();
2924
2926
  if (!this.bumpUntil("'"))
2925
- return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, R(i, this.clonePosition()));
2927
+ return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2926
2928
  this.bump();
2927
2929
  break;
2928
2930
  }
@@ -2954,11 +2956,11 @@ var Qi = (
2954
2956
  try {
2955
2957
  n = Li(t);
2956
2958
  } catch {
2957
- return this.error(O.INVALID_NUMBER_SKELETON, r);
2959
+ return this.error(L.INVALID_NUMBER_SKELETON, r);
2958
2960
  }
2959
2961
  return {
2960
2962
  val: {
2961
- type: ze.number,
2963
+ type: We.number,
2962
2964
  tokens: n,
2963
2965
  location: r,
2964
2966
  parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
@@ -2966,38 +2968,38 @@ var Qi = (
2966
2968
  err: null
2967
2969
  };
2968
2970
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2969
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2971
+ for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2970
2972
  if (u.length === 0) {
2971
- var b = this.clonePosition();
2973
+ var m = this.clonePosition();
2972
2974
  if (r !== "select" && this.bumpIf("=")) {
2973
- var p = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
- if (p.err)
2975
- return p;
2976
- f = R(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
2975
+ var d = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
2976
+ if (d.err)
2977
+ return d;
2978
+ f = N(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2977
2979
  } else
2978
2980
  break;
2979
2981
  }
2980
- if (l.has(u))
2981
- return this.error(r === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2982
+ if (c.has(u))
2983
+ return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2982
2984
  u === "other" && (s = !0), this.bumpSpace();
2983
- var y = this.clonePosition();
2985
+ var g = this.clonePosition();
2984
2986
  if (!this.bumpIf("{"))
2985
- return this.error(r === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, R(this.clonePosition(), this.clonePosition()));
2986
- var E = this.parseMessage(t + 1, r, n);
2987
- if (E.err)
2988
- return E;
2989
- var B = this.tryParseArgumentClose(y);
2990
- if (B.err)
2991
- return B;
2987
+ return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2988
+ var v = this.parseMessage(t + 1, r, n);
2989
+ if (v.err)
2990
+ return v;
2991
+ var S = this.tryParseArgumentClose(g);
2992
+ if (S.err)
2993
+ return S;
2992
2994
  a.push([
2993
2995
  u,
2994
2996
  {
2995
- value: E.val,
2996
- location: R(y, this.clonePosition())
2997
+ value: v.val,
2998
+ location: N(g, this.clonePosition())
2997
2999
  }
2998
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3000
+ ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
2999
3001
  }
3000
- return a.length === 0 ? this.error(r === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, R(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(O.MISSING_OTHER_CLAUSE, R(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3002
+ return a.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(L.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3001
3003
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3002
3004
  var n = 1, i = this.clonePosition();
3003
3005
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3008,8 +3010,8 @@ var Qi = (
3008
3010
  else
3009
3011
  break;
3010
3012
  }
3011
- var l = R(i, this.clonePosition());
3012
- return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3013
+ var c = N(i, this.clonePosition());
3014
+ return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3013
3015
  }, e.prototype.offset = function() {
3014
3016
  return this.position.offset;
3015
3017
  }, e.prototype.isEOF = function() {
@@ -3024,7 +3026,7 @@ var Qi = (
3024
3026
  var t = this.position.offset;
3025
3027
  if (t >= this.message.length)
3026
3028
  throw Error("out of bound");
3027
- var r = cn(this.message, t);
3029
+ var r = hn(this.message, t);
3028
3030
  if (r === void 0)
3029
3031
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3030
3032
  return r;
@@ -3043,7 +3045,7 @@ var Qi = (
3043
3045
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3044
3046
  }
3045
3047
  }, e.prototype.bumpIf = function(t) {
3046
- if (_r(this.message, t, this.offset())) {
3048
+ if (Er(this.message, t, this.offset())) {
3047
3049
  for (var r = 0; r < t.length; r++)
3048
3050
  this.bump();
3049
3051
  return !0;
@@ -3065,7 +3067,7 @@ var Qi = (
3065
3067
  break;
3066
3068
  }
3067
3069
  }, e.prototype.bumpSpace = function() {
3068
- for (; !this.isEOF() && fn(this.char()); )
3070
+ for (; !this.isEOF() && dn(this.char()); )
3069
3071
  this.bump();
3070
3072
  }, e.prototype.peek = function() {
3071
3073
  if (this.isEOF())
@@ -3075,47 +3077,47 @@ var Qi = (
3075
3077
  }, e;
3076
3078
  }()
3077
3079
  );
3078
- function Qt(e) {
3080
+ function Jt(e) {
3079
3081
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3080
3082
  }
3081
3083
  function Ji(e) {
3082
- return Qt(e) || e === 47;
3084
+ return Jt(e) || e === 47;
3083
3085
  }
3084
3086
  function Ki(e) {
3085
3087
  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
3088
  }
3087
- function fn(e) {
3089
+ function dn(e) {
3088
3090
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3089
3091
  }
3090
3092
  function eo(e) {
3091
3093
  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
3094
  }
3093
- function Jt(e) {
3095
+ function Kt(e) {
3094
3096
  e.forEach(function(t) {
3095
- if (delete t.location, tn(t) || rn(t))
3097
+ if (delete t.location, rn(t) || nn(t))
3096
3098
  for (var r in t.options)
3097
- delete t.options[r].location, Jt(t.options[r].value);
3099
+ delete t.options[r].location, Kt(t.options[r].value);
3098
3100
  else
3099
- Jr(t) && on(t.style) || (Kr(t) || en(t)) && Wt(t.style) ? delete t.style.location : nn(t) && Jt(t.children);
3101
+ Kr(t) && an(t.style) || (en(t) || tn(t)) && Zt(t.style) ? delete t.style.location : on(t) && Kt(t.children);
3100
3102
  });
3101
3103
  }
3102
3104
  function to(e, t) {
3103
- t === void 0 && (t = {}), t = vt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3105
+ t === void 0 && (t = {}), t = xt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3104
3106
  var r = new Qi(e, t).parse();
3105
3107
  if (r.err) {
3106
- var n = SyntaxError(O[r.err.kind]);
3108
+ var n = SyntaxError(L[r.err.kind]);
3107
3109
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3108
3110
  }
3109
- return t?.captureLocation || Jt(r.val), r.val;
3111
+ return t?.captureLocation || Kt(r.val), r.val;
3110
3112
  }
3111
- var We;
3113
+ var Ze;
3112
3114
  (function(e) {
3113
3115
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3114
- })(We || (We = {}));
3115
- var St = (
3116
+ })(Ze || (Ze = {}));
3117
+ var At = (
3116
3118
  /** @class */
3117
3119
  function(e) {
3118
- wt(t, e);
3120
+ Tt(t, e);
3119
3121
  function t(r, n, i) {
3120
3122
  var o = e.call(this, r) || this;
3121
3123
  return o.code = n, o.originalMessage = i, o;
@@ -3124,155 +3126,155 @@ var St = (
3124
3126
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3125
3127
  }, t;
3126
3128
  }(Error)
3127
- ), wr = (
3129
+ ), Sr = (
3128
3130
  /** @class */
3129
3131
  function(e) {
3130
- wt(t, e);
3132
+ Tt(t, e);
3131
3133
  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('", "'), '"'), We.INVALID_VALUE, o) || this;
3134
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ze.INVALID_VALUE, o) || this;
3133
3135
  }
3134
3136
  return t;
3135
- }(St)
3137
+ }(At)
3136
3138
  ), ro = (
3137
3139
  /** @class */
3138
3140
  function(e) {
3139
- wt(t, e);
3141
+ Tt(t, e);
3140
3142
  function t(r, n, i) {
3141
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), We.INVALID_VALUE, i) || this;
3143
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ze.INVALID_VALUE, i) || this;
3142
3144
  }
3143
3145
  return t;
3144
- }(St)
3146
+ }(At)
3145
3147
  ), no = (
3146
3148
  /** @class */
3147
3149
  function(e) {
3148
- wt(t, e);
3150
+ Tt(t, e);
3149
3151
  function t(r, n) {
3150
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), We.MISSING_VALUE, n) || this;
3152
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ze.MISSING_VALUE, n) || this;
3151
3153
  }
3152
3154
  return t;
3153
- }(St)
3154
- ), ue;
3155
+ }(At)
3156
+ ), he;
3155
3157
  (function(e) {
3156
3158
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3157
- })(ue || (ue = {}));
3159
+ })(he || (he = {}));
3158
3160
  function io(e) {
3159
3161
  return e.length < 2 ? e : e.reduce(function(t, r) {
3160
3162
  var n = t[t.length - 1];
3161
- return !n || n.type !== ue.literal || r.type !== ue.literal ? t.push(r) : n.value += r.value, t;
3163
+ return !n || n.type !== he.literal || r.type !== he.literal ? t.push(r) : n.value += r.value, t;
3162
3164
  }, []);
3163
3165
  }
3164
3166
  function oo(e) {
3165
3167
  return typeof e == "function";
3166
3168
  }
3167
- function mt(e, t, r, n, i, o, s) {
3168
- if (e.length === 1 && br(e[0]))
3169
+ function yt(e, t, r, n, i, o, s) {
3170
+ if (e.length === 1 && gr(e[0]))
3169
3171
  return [
3170
3172
  {
3171
- type: ue.literal,
3173
+ type: he.literal,
3172
3174
  value: e[0].value
3173
3175
  }
3174
3176
  ];
3175
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3176
- var f = u[l];
3177
- if (br(f)) {
3177
+ for (var a = [], c = 0, u = e; c < u.length; c++) {
3178
+ var f = u[c];
3179
+ if (gr(f)) {
3178
3180
  a.push({
3179
- type: ue.literal,
3181
+ type: he.literal,
3180
3182
  value: f.value
3181
3183
  });
3182
3184
  continue;
3183
3185
  }
3184
3186
  if (Ai(f)) {
3185
3187
  typeof o == "number" && a.push({
3186
- type: ue.literal,
3188
+ type: he.literal,
3187
3189
  value: r.getNumberFormat(t).format(o)
3188
3190
  });
3189
3191
  continue;
3190
3192
  }
3191
- var b = f.value;
3192
- if (!(i && b in i))
3193
- throw new no(b, s);
3194
- var p = i[b];
3193
+ var m = f.value;
3194
+ if (!(i && m in i))
3195
+ throw new no(m, s);
3196
+ var d = i[m];
3195
3197
  if (Ti(f)) {
3196
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3197
- type: typeof p == "string" ? ue.literal : ue.object,
3198
- value: p
3198
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3199
+ type: typeof d == "string" ? he.literal : he.object,
3200
+ value: d
3199
3201
  });
3200
3202
  continue;
3201
3203
  }
3202
- if (Kr(f)) {
3203
- var y = typeof f.style == "string" ? n.date[f.style] : Wt(f.style) ? f.style.parsedOptions : void 0;
3204
+ if (en(f)) {
3205
+ var g = typeof f.style == "string" ? n.date[f.style] : Zt(f.style) ? f.style.parsedOptions : void 0;
3204
3206
  a.push({
3205
- type: ue.literal,
3206
- value: r.getDateTimeFormat(t, y).format(p)
3207
+ type: he.literal,
3208
+ value: r.getDateTimeFormat(t, g).format(d)
3207
3209
  });
3208
3210
  continue;
3209
3211
  }
3210
- if (en(f)) {
3211
- var y = typeof f.style == "string" ? n.time[f.style] : Wt(f.style) ? f.style.parsedOptions : n.time.medium;
3212
+ if (tn(f)) {
3213
+ var g = typeof f.style == "string" ? n.time[f.style] : Zt(f.style) ? f.style.parsedOptions : n.time.medium;
3212
3214
  a.push({
3213
- type: ue.literal,
3214
- value: r.getDateTimeFormat(t, y).format(p)
3215
+ type: he.literal,
3216
+ value: r.getDateTimeFormat(t, g).format(d)
3215
3217
  });
3216
3218
  continue;
3217
3219
  }
3218
- if (Jr(f)) {
3219
- var y = typeof f.style == "string" ? n.number[f.style] : on(f.style) ? f.style.parsedOptions : void 0;
3220
- y && y.scale && (p = p * (y.scale || 1)), a.push({
3221
- type: ue.literal,
3222
- value: r.getNumberFormat(t, y).format(p)
3220
+ if (Kr(f)) {
3221
+ var g = typeof f.style == "string" ? n.number[f.style] : an(f.style) ? f.style.parsedOptions : void 0;
3222
+ g && g.scale && (d = d * (g.scale || 1)), a.push({
3223
+ type: he.literal,
3224
+ value: r.getNumberFormat(t, g).format(d)
3223
3225
  });
3224
3226
  continue;
3225
3227
  }
3226
- if (nn(f)) {
3227
- var E = f.children, B = f.value, Q = i[B];
3228
- if (!oo(Q))
3229
- throw new ro(B, "function", s);
3230
- var ne = mt(E, t, r, n, i, o), oe = Q(ne.map(function(Z) {
3231
- return Z.value;
3228
+ if (on(f)) {
3229
+ var v = f.children, S = f.value, K = i[S];
3230
+ if (!oo(K))
3231
+ throw new ro(S, "function", s);
3232
+ var oe = yt(v, t, r, n, i, o), se = K(oe.map(function(Y) {
3233
+ return Y.value;
3232
3234
  }));
3233
- Array.isArray(oe) || (oe = [oe]), a.push.apply(a, oe.map(function(Z) {
3235
+ Array.isArray(se) || (se = [se]), a.push.apply(a, se.map(function(Y) {
3234
3236
  return {
3235
- type: typeof Z == "string" ? ue.literal : ue.object,
3236
- value: Z
3237
+ type: typeof Y == "string" ? he.literal : he.object,
3238
+ value: Y
3237
3239
  };
3238
3240
  }));
3239
3241
  }
3240
- if (tn(f)) {
3241
- var I = f.options[p] || f.options.other;
3242
- if (!I)
3243
- throw new wr(f.value, p, Object.keys(f.options), s);
3244
- a.push.apply(a, mt(I.value, t, r, n, i));
3242
+ if (rn(f)) {
3243
+ var D = f.options[d] || f.options.other;
3244
+ if (!D)
3245
+ throw new Sr(f.value, d, Object.keys(f.options), s);
3246
+ a.push.apply(a, yt(D.value, t, r, n, i));
3245
3247
  continue;
3246
3248
  }
3247
- if (rn(f)) {
3248
- var I = f.options["=".concat(p)];
3249
- if (!I) {
3249
+ if (nn(f)) {
3250
+ var D = f.options["=".concat(d)];
3251
+ if (!D) {
3250
3252
  if (!Intl.PluralRules)
3251
- throw new St(`Intl.PluralRules is not available in this environment.
3253
+ throw new At(`Intl.PluralRules is not available in this environment.
3252
3254
  Try polyfilling it using "@formatjs/intl-pluralrules"
3253
- `, We.MISSING_INTL_API, s);
3254
- var j = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
3255
- I = f.options[j] || f.options.other;
3255
+ `, Ze.MISSING_INTL_API, s);
3256
+ var k = r.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3257
+ D = f.options[k] || f.options.other;
3256
3258
  }
3257
- if (!I)
3258
- throw new wr(f.value, p, Object.keys(f.options), s);
3259
- a.push.apply(a, mt(I.value, t, r, n, i, p - (f.offset || 0)));
3259
+ if (!D)
3260
+ throw new Sr(f.value, d, Object.keys(f.options), s);
3261
+ a.push.apply(a, yt(D.value, t, r, n, i, d - (f.offset || 0)));
3260
3262
  continue;
3261
3263
  }
3262
3264
  }
3263
3265
  return io(a);
3264
3266
  }
3265
3267
  function ao(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;
3268
+ return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3269
+ return r[n] = we(we({}, e[n]), t[n] || {}), r;
3268
3270
  }, {})) : e;
3269
3271
  }
3270
3272
  function so(e, t) {
3271
3273
  return t ? Object.keys(e).reduce(function(r, n) {
3272
3274
  return r[n] = ao(e[n], t[n]), r;
3273
- }, Be({}, e)) : e;
3275
+ }, we({}, e)) : e;
3274
3276
  }
3275
- function Gt(e) {
3277
+ function kt(e) {
3276
3278
  return {
3277
3279
  create: function() {
3278
3280
  return {
@@ -3286,39 +3288,39 @@ function Gt(e) {
3286
3288
  }
3287
3289
  };
3288
3290
  }
3289
- function uo(e) {
3291
+ function lo(e) {
3290
3292
  return e === void 0 && (e = {
3291
3293
  number: {},
3292
3294
  dateTime: {},
3293
3295
  pluralRules: {}
3294
3296
  }), {
3295
- getNumberFormat: Dt(function() {
3297
+ getNumberFormat: Ut(function() {
3296
3298
  for (var t, r = [], n = 0; n < arguments.length; n++)
3297
3299
  r[n] = arguments[n];
3298
- return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
3300
+ return new ((t = Intl.NumberFormat).bind.apply(t, Dt([void 0], r, !1)))();
3299
3301
  }, {
3300
- cache: Gt(e.number),
3301
- strategy: Ut.variadic
3302
+ cache: kt(e.number),
3303
+ strategy: Ft.variadic
3302
3304
  }),
3303
- getDateTimeFormat: Dt(function() {
3305
+ getDateTimeFormat: Ut(function() {
3304
3306
  for (var t, r = [], n = 0; n < arguments.length; n++)
3305
3307
  r[n] = arguments[n];
3306
- return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
3308
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Dt([void 0], r, !1)))();
3307
3309
  }, {
3308
- cache: Gt(e.dateTime),
3309
- strategy: Ut.variadic
3310
+ cache: kt(e.dateTime),
3311
+ strategy: Ft.variadic
3310
3312
  }),
3311
- getPluralRules: Dt(function() {
3313
+ getPluralRules: Ut(function() {
3312
3314
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3315
  r[n] = arguments[n];
3314
- return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
3316
+ return new ((t = Intl.PluralRules).bind.apply(t, Dt([void 0], r, !1)))();
3315
3317
  }, {
3316
- cache: Gt(e.pluralRules),
3317
- strategy: Ut.variadic
3318
+ cache: kt(e.pluralRules),
3319
+ strategy: Ft.variadic
3318
3320
  })
3319
3321
  };
3320
3322
  }
3321
- var lo = (
3323
+ var uo = (
3322
3324
  /** @class */
3323
3325
  function() {
3324
3326
  function e(t, r, n, i) {
@@ -3328,20 +3330,20 @@ var lo = (
3328
3330
  number: {},
3329
3331
  dateTime: {},
3330
3332
  pluralRules: {}
3331
- }, this.format = function(l) {
3332
- var u = o.formatToParts(l);
3333
+ }, this.format = function(c) {
3334
+ var u = o.formatToParts(c);
3333
3335
  if (u.length === 1)
3334
3336
  return u[0].value;
3335
- var f = u.reduce(function(b, p) {
3336
- return !b.length || p.type !== ue.literal || typeof b[b.length - 1] != "string" ? b.push(p.value) : b[b.length - 1] += p.value, b;
3337
+ var f = u.reduce(function(m, d) {
3338
+ return !m.length || d.type !== he.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
3337
3339
  }, []);
3338
3340
  return f.length <= 1 ? f[0] || "" : f;
3339
- }, this.formatToParts = function(l) {
3340
- return mt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3341
+ }, this.formatToParts = function(c) {
3342
+ return yt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3341
3343
  }, this.resolvedOptions = function() {
3342
- var l;
3344
+ var c;
3343
3345
  return {
3344
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3346
+ locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3345
3347
  };
3346
3348
  }, this.getAst = function() {
3347
3349
  return o.ast;
@@ -3351,12 +3353,12 @@ var lo = (
3351
3353
  var s = i || {};
3352
3354
  s.formatters;
3353
3355
  var a = yi(s, ["formatters"]);
3354
- this.ast = e.__parse(t, Be(Be({}, a), { locale: this.resolvedLocale }));
3356
+ this.ast = e.__parse(t, we(we({}, a), { locale: this.resolvedLocale }));
3355
3357
  } else
3356
3358
  this.ast = t;
3357
3359
  if (!Array.isArray(this.ast))
3358
3360
  throw new TypeError("A message must be provided as a String or AST.");
3359
- this.formats = so(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
3361
+ this.formats = so(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3360
3362
  }
3361
3363
  return Object.defineProperty(e, "defaultLocale", {
3362
3364
  get: function() {
@@ -3451,28 +3453,28 @@ function co(e, t) {
3451
3453
  n = void 0;
3452
3454
  return n;
3453
3455
  }
3454
- const Pe = {}, ho = (e, t, r) => r && (t in Pe || (Pe[t] = {}), e in Pe[t] || (Pe[t][e] = r), r), dn = (e, t) => {
3456
+ const Pe = {}, ho = (e, t, r) => r && (t in Pe || (Pe[t] = {}), e in Pe[t] || (Pe[t][e] = r), r), pn = (e, t) => {
3455
3457
  if (t == null)
3456
3458
  return;
3457
3459
  if (t in Pe && e in Pe[t])
3458
3460
  return Pe[t][e];
3459
- const r = Bt(t);
3461
+ const r = Ct(t);
3460
3462
  for (let n = 0; n < r.length; n++) {
3461
3463
  const i = r[n], o = po(i, e);
3462
3464
  if (o)
3463
3465
  return ho(e, t, o);
3464
3466
  }
3465
3467
  };
3466
- let lr;
3467
- const lt = xt({});
3468
+ let cr;
3469
+ const ht = Bt({});
3468
3470
  function fo(e) {
3469
- return lr[e] || null;
3471
+ return cr[e] || null;
3470
3472
  }
3471
- function pn(e) {
3472
- return e in lr;
3473
+ function mn(e) {
3474
+ return e in cr;
3473
3475
  }
3474
3476
  function po(e, t) {
3475
- if (!pn(e))
3477
+ if (!mn(e))
3476
3478
  return null;
3477
3479
  const r = fo(e);
3478
3480
  return co(r, t);
@@ -3480,61 +3482,61 @@ function po(e, t) {
3480
3482
  function mo(e) {
3481
3483
  if (e == null)
3482
3484
  return;
3483
- const t = Bt(e);
3485
+ const t = Ct(e);
3484
3486
  for (let r = 0; r < t.length; r++) {
3485
3487
  const n = t[r];
3486
- if (pn(n))
3488
+ if (mn(n))
3487
3489
  return n;
3488
3490
  }
3489
3491
  }
3490
- function mn(e, ...t) {
3491
- delete Pe[e], lt.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3492
+ function bn(e, ...t) {
3493
+ delete Pe[e], ht.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3492
3494
  }
3493
- Ye(
3494
- [lt],
3495
+ Qe(
3496
+ [ht],
3495
3497
  ([e]) => Object.keys(e)
3496
3498
  );
3497
- lt.subscribe((e) => lr = e);
3498
- const bt = {};
3499
+ ht.subscribe((e) => cr = e);
3500
+ const vt = {};
3499
3501
  function bo(e, t) {
3500
- bt[e].delete(t), bt[e].size === 0 && delete bt[e];
3502
+ vt[e].delete(t), vt[e].size === 0 && delete vt[e];
3501
3503
  }
3502
- function bn(e) {
3503
- return bt[e];
3504
+ function gn(e) {
3505
+ return vt[e];
3504
3506
  }
3505
3507
  function go(e) {
3506
- return Bt(e).map((t) => {
3507
- const r = bn(t);
3508
+ return Ct(e).map((t) => {
3509
+ const r = gn(t);
3508
3510
  return [t, r ? [...r] : []];
3509
3511
  }).filter(([, t]) => t.length > 0);
3510
3512
  }
3511
- function Kt(e) {
3512
- return e == null ? !1 : Bt(e).some(
3513
+ function er(e) {
3514
+ return e == null ? !1 : Ct(e).some(
3513
3515
  (t) => {
3514
3516
  var r;
3515
- return (r = bn(t)) == null ? void 0 : r.size;
3517
+ return (r = gn(t)) == null ? void 0 : r.size;
3516
3518
  }
3517
3519
  );
3518
3520
  }
3519
3521
  function yo(e, t) {
3520
3522
  return Promise.all(
3521
3523
  t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
3522
- ).then((n) => mn(e, ...n));
3524
+ ).then((n) => bn(e, ...n));
3523
3525
  }
3524
- const nt = {};
3525
- function gn(e) {
3526
- if (!Kt(e))
3527
- return e in nt ? nt[e] : Promise.resolve();
3526
+ const ot = {};
3527
+ function yn(e) {
3528
+ if (!er(e))
3529
+ return e in ot ? ot[e] : Promise.resolve();
3528
3530
  const t = go(e);
3529
- return nt[e] = Promise.all(
3531
+ return ot[e] = Promise.all(
3530
3532
  t.map(
3531
3533
  ([r, n]) => yo(r, n)
3532
3534
  )
3533
3535
  ).then(() => {
3534
- if (Kt(e))
3535
- return gn(e);
3536
- delete nt[e];
3537
- }), nt[e];
3536
+ if (er(e))
3537
+ return yn(e);
3538
+ delete ot[e];
3539
+ }), ot[e];
3538
3540
  }
3539
3541
  const vo = {
3540
3542
  number: {
@@ -3573,125 +3575,125 @@ const vo = {
3573
3575
  handleMissingMessage: void 0,
3574
3576
  ignoreTag: !0
3575
3577
  }, Eo = _o;
3576
- function Ze() {
3578
+ function qe() {
3577
3579
  return Eo;
3578
3580
  }
3579
- const kt = xt(!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
+ const jt = Bt(!1);
3582
+ var xo = Object.defineProperty, wo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, Br = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, Tr = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
3581
3583
  for (var r in t || (t = {}))
3582
- Bo.call(t, r) && Br(e, r, t[r]);
3583
- if (Sr)
3584
- for (var r of Sr(t))
3585
- To.call(t, r) && Br(e, r, t[r]);
3584
+ Bo.call(t, r) && Tr(e, r, t[r]);
3585
+ if (Br)
3586
+ for (var r of Br(t))
3587
+ To.call(t, r) && Tr(e, r, t[r]);
3586
3588
  return e;
3587
3589
  }, Co = (e, t) => wo(e, So(t));
3588
- let er;
3589
- const _t = xt(null);
3590
- function Tr(e) {
3590
+ let tr;
3591
+ const wt = Bt(null);
3592
+ function Ar(e) {
3591
3593
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3592
3594
  }
3593
- function Bt(e, t = Ze().fallbackLocale) {
3594
- const r = Tr(e);
3595
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tr(t)])] : r;
3595
+ function Ct(e, t = qe().fallbackLocale) {
3596
+ const r = Ar(e);
3597
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ar(t)])] : r;
3596
3598
  }
3597
- function De() {
3598
- return er ?? void 0;
3599
+ function Ue() {
3600
+ return tr ?? void 0;
3599
3601
  }
3600
- _t.subscribe((e) => {
3601
- er = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3602
+ wt.subscribe((e) => {
3603
+ tr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3602
3604
  });
3603
3605
  const Ho = (e) => {
3604
- if (e && mo(e) && Kt(e)) {
3605
- const { loadingDelay: t } = Ze();
3606
+ if (e && mo(e) && er(e)) {
3607
+ const { loadingDelay: t } = qe();
3606
3608
  let r;
3607
- return typeof window < "u" && De() != null && t ? r = window.setTimeout(
3608
- () => kt.set(!0),
3609
+ return typeof window < "u" && Ue() != null && t ? r = window.setTimeout(
3610
+ () => jt.set(!0),
3609
3611
  t
3610
- ) : kt.set(!0), gn(e).then(() => {
3611
- _t.set(e);
3612
+ ) : jt.set(!0), yn(e).then(() => {
3613
+ wt.set(e);
3612
3614
  }).finally(() => {
3613
- clearTimeout(r), kt.set(!1);
3615
+ clearTimeout(r), jt.set(!1);
3614
3616
  });
3615
3617
  }
3616
- return _t.set(e);
3617
- }, Qe = Co(Ao({}, _t), {
3618
+ return wt.set(e);
3619
+ }, Je = Co(Ao({}, wt), {
3618
3620
  set: Ho
3619
- }), Tt = (e) => {
3621
+ }), Ht = (e) => {
3620
3622
  const t = /* @__PURE__ */ Object.create(null);
3621
3623
  return (n) => {
3622
3624
  const i = JSON.stringify(n);
3623
3625
  return i in t ? t[i] : t[i] = e(n);
3624
3626
  };
3625
3627
  };
3626
- var Oo = Object.defineProperty, Et = 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) => {
3628
+ var Oo = Object.defineProperty, St = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable, Cr = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hr = (e, t) => {
3627
3629
  for (var r in t || (t = {}))
3628
- yn.call(t, r) && Ar(e, r, t[r]);
3629
- if (Et)
3630
- for (var r of Et(t))
3631
- vn.call(t, r) && Ar(e, r, t[r]);
3630
+ vn.call(t, r) && Cr(e, r, t[r]);
3631
+ if (St)
3632
+ for (var r of St(t))
3633
+ _n.call(t, r) && Cr(e, r, t[r]);
3632
3634
  return e;
3633
- }, Je = (e, t) => {
3635
+ }, Ke = (e, t) => {
3634
3636
  var r = {};
3635
3637
  for (var n in e)
3636
- yn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3637
- if (e != null && Et)
3638
- for (var n of Et(e))
3639
- t.indexOf(n) < 0 && vn.call(e, n) && (r[n] = e[n]);
3638
+ vn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3639
+ if (e != null && St)
3640
+ for (var n of St(e))
3641
+ t.indexOf(n) < 0 && _n.call(e, n) && (r[n] = e[n]);
3640
3642
  return r;
3641
3643
  };
3642
- const ut = (e, t) => {
3643
- const { formats: r } = Ze();
3644
+ const ct = (e, t) => {
3645
+ const { formats: r } = qe();
3644
3646
  if (e in r && t in r[e])
3645
3647
  return r[e][t];
3646
3648
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3647
- }, Lo = Tt(
3649
+ }, Lo = Ht(
3648
3650
  (e) => {
3649
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
3651
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
3650
3652
  if (r == null)
3651
3653
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3652
- return n && (i = ut("number", n)), new Intl.NumberFormat(r, i);
3654
+ return n && (i = ct("number", n)), new Intl.NumberFormat(r, i);
3653
3655
  }
3654
- ), Ro = Tt(
3656
+ ), Ro = Ht(
3655
3657
  (e) => {
3656
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
3658
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
3657
3659
  if (r == null)
3658
3660
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3659
- return n ? i = ut("date", n) : Object.keys(i).length === 0 && (i = ut("date", "short")), new Intl.DateTimeFormat(r, i);
3661
+ return n ? i = ct("date", n) : Object.keys(i).length === 0 && (i = ct("date", "short")), new Intl.DateTimeFormat(r, i);
3660
3662
  }
3661
- ), Mo = Tt(
3663
+ ), Mo = Ht(
3662
3664
  (e) => {
3663
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
3665
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
3664
3666
  if (r == null)
3665
3667
  throw new Error(
3666
3668
  '[svelte-i18n] A "locale" must be set to format time values'
3667
3669
  );
3668
- return n ? i = ut("time", n) : Object.keys(i).length === 0 && (i = ut("time", "short")), new Intl.DateTimeFormat(r, i);
3670
+ return n ? i = ct("time", n) : Object.keys(i).length === 0 && (i = ct("time", "short")), new Intl.DateTimeFormat(r, i);
3669
3671
  }
3670
3672
  ), Po = (e = {}) => {
3671
3673
  var t = e, {
3672
- locale: r = De()
3673
- } = t, n = Je(t, [
3674
+ locale: r = Ue()
3675
+ } = t, n = Ke(t, [
3674
3676
  "locale"
3675
3677
  ]);
3676
- return Lo(cr({ locale: r }, n));
3678
+ return Lo(hr({ locale: r }, n));
3677
3679
  }, No = (e = {}) => {
3678
3680
  var t = e, {
3679
- locale: r = De()
3680
- } = t, n = Je(t, [
3681
+ locale: r = Ue()
3682
+ } = t, n = Ke(t, [
3681
3683
  "locale"
3682
3684
  ]);
3683
- return Ro(cr({ locale: r }, n));
3685
+ return Ro(hr({ locale: r }, n));
3684
3686
  }, Io = (e = {}) => {
3685
3687
  var t = e, {
3686
- locale: r = De()
3687
- } = t, n = Je(t, [
3688
+ locale: r = Ue()
3689
+ } = t, n = Ke(t, [
3688
3690
  "locale"
3689
3691
  ]);
3690
- return Mo(cr({ locale: r }, n));
3691
- }, Do = Tt(
3692
+ return Mo(hr({ locale: r }, n));
3693
+ }, Do = Ht(
3692
3694
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3693
- (e, t = De()) => new lo(e, t, Ze().formats, {
3694
- ignoreTag: Ze().ignoreTag
3695
+ (e, t = Ue()) => new uo(e, t, qe().formats, {
3696
+ ignoreTag: qe().ignoreTag
3695
3697
  })
3696
3698
  ), Uo = (e, t = {}) => {
3697
3699
  var r, n, i, o;
@@ -3699,44 +3701,44 @@ const ut = (e, t) => {
3699
3701
  typeof e == "object" && (s = e, e = s.id);
3700
3702
  const {
3701
3703
  values: a,
3702
- locale: l = De(),
3704
+ locale: c = Ue(),
3703
3705
  default: u
3704
3706
  } = s;
3705
- if (l == null)
3707
+ if (c == null)
3706
3708
  throw new Error(
3707
3709
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3708
3710
  );
3709
- let f = dn(e, l);
3711
+ let f = pn(e, c);
3710
3712
  if (!f)
3711
- f = (o = (i = (n = (r = Ze()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3713
+ f = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3712
3714
  else if (typeof f != "string")
3713
3715
  return console.warn(
3714
3716
  `[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
3717
  ), f;
3716
3718
  if (!a)
3717
3719
  return f;
3718
- let b = f;
3720
+ let m = f;
3719
3721
  try {
3720
- b = Do(f, l).format(a);
3721
- } catch (p) {
3722
- p instanceof Error && console.warn(
3722
+ m = Do(f, c).format(a);
3723
+ } catch (d) {
3724
+ d instanceof Error && console.warn(
3723
3725
  `[svelte-i18n] Message "${e}" has syntax error:`,
3724
- p.message
3726
+ d.message
3725
3727
  );
3726
3728
  }
3727
- return b;
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 = De()) => dn(e, t), $o = Ye([Qe, lt], () => Uo);
3729
- Ye([Qe], () => Fo);
3730
- Ye([Qe], () => Go);
3731
- Ye([Qe], () => ko);
3732
- Ye([Qe, lt], () => jo);
3733
- function Cr(e, t) {
3734
- mn(e, t);
3729
+ return m;
3730
+ }, Fo = (e, t) => Io(t).format(e), Go = (e, t) => No(t).format(e), ko = (e, t) => Po(t).format(e), jo = (e, t = Ue()) => pn(e, t), $o = Qe([Je, ht], () => Uo);
3731
+ Qe([Je], () => Fo);
3732
+ Qe([Je], () => Go);
3733
+ Qe([Je], () => ko);
3734
+ Qe([Je, ht], () => jo);
3735
+ function Hr(e, t) {
3736
+ bn(e, t);
3735
3737
  }
3736
3738
  function Vo(e) {
3737
- Qe.set(e);
3739
+ Je.set(e);
3738
3740
  }
3739
- const Hr = {
3741
+ const Or = {
3740
3742
  en: {
3741
3743
  Title: "Your Balance",
3742
3744
  Total: "Total Balance",
@@ -3954,7 +3956,7 @@ const Hr = {
3954
3956
  Loading: "Loading ..."
3955
3957
  }
3956
3958
  };
3957
- var tr = { exports: {} };
3959
+ var rr = { exports: {} };
3958
3960
  /** @license
3959
3961
  * eventsource.js
3960
3962
  * Available under MIT License (MIT)
@@ -3962,35 +3964,35 @@ var tr = { exports: {} };
3962
3964
  */
3963
3965
  (function(e, t) {
3964
3966
  (function(r) {
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, b = r.fetch, p = r.Response, y = r.TextDecoder, E = r.TextEncoder, B = r.AbortController;
3966
- if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(c) {
3967
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, c = r.EventSource, u = r.document, f = r.Promise, m = r.fetch, d = r.Response, g = r.TextDecoder, v = r.TextEncoder, S = r.AbortController;
3968
+ if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
3967
3969
  u.readyState = "complete";
3968
3970
  }, !1)), o == null && a != null && (o = function() {
3969
3971
  return new a("Microsoft.XMLHTTP");
3970
- }), Object.create == null && (Object.create = function(c) {
3971
- function g() {
3972
+ }), Object.create == null && (Object.create = function(h) {
3973
+ function b() {
3972
3974
  }
3973
- return g.prototype = c, new g();
3975
+ return b.prototype = h, new b();
3974
3976
  }), Date.now || (Date.now = function() {
3975
3977
  return (/* @__PURE__ */ new Date()).getTime();
3976
- }), B == null) {
3977
- var Q = b;
3978
- b = function(c, g) {
3979
- var x = g.signal;
3980
- return Q(c, { headers: g.headers, credentials: g.credentials, cache: g.cache }).then(function(m) {
3981
- var A = m.body.getReader();
3982
- return x._reader = A, x._aborted && x._reader.cancel(), {
3983
- status: m.status,
3984
- statusText: m.statusText,
3985
- headers: m.headers,
3978
+ }), S == null) {
3979
+ var K = m;
3980
+ m = function(h, b) {
3981
+ var E = b.signal;
3982
+ return K(h, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
3983
+ var T = p.body.getReader();
3984
+ return E._reader = T, E._aborted && E._reader.cancel(), {
3985
+ status: p.status,
3986
+ statusText: p.statusText,
3987
+ headers: p.headers,
3986
3988
  body: {
3987
3989
  getReader: function() {
3988
- return A;
3990
+ return T;
3989
3991
  }
3990
3992
  }
3991
3993
  };
3992
3994
  });
3993
- }, B = function() {
3995
+ }, S = function() {
3994
3996
  this.signal = {
3995
3997
  _reader: null,
3996
3998
  _aborted: !1
@@ -3999,407 +4001,407 @@ var tr = { exports: {} };
3999
4001
  };
4000
4002
  };
4001
4003
  }
4002
- function ne() {
4004
+ function oe() {
4003
4005
  this.bitsNeeded = 0, this.codePoint = 0;
4004
4006
  }
4005
- ne.prototype.decode = function(c) {
4006
- function g(D, h, d) {
4007
- if (d === 1)
4008
- return D >= 128 >> h && D << h <= 2047;
4009
- if (d === 2)
4010
- return D >= 2048 >> h && D << h <= 55295 || D >= 57344 >> h && D << h <= 65535;
4011
- if (d === 3)
4012
- return D >= 65536 >> h && D << h <= 1114111;
4007
+ oe.prototype.decode = function(h) {
4008
+ function b(U, F, l) {
4009
+ if (l === 1)
4010
+ return U >= 128 >> F && U << F <= 2047;
4011
+ if (l === 2)
4012
+ return U >= 2048 >> F && U << F <= 55295 || U >= 57344 >> F && U << F <= 65535;
4013
+ if (l === 3)
4014
+ return U >= 65536 >> F && U << F <= 1114111;
4013
4015
  throw new Error();
4014
4016
  }
4015
- function x(D, h) {
4016
- if (D === 6 * 1)
4017
- return h >> 6 > 15 ? 3 : h > 31 ? 2 : 1;
4018
- if (D === 6 * 2)
4019
- return h > 15 ? 3 : 2;
4020
- if (D === 6 * 3)
4017
+ function E(U, F) {
4018
+ if (U === 6 * 1)
4019
+ return F >> 6 > 15 ? 3 : F > 31 ? 2 : 1;
4020
+ if (U === 6 * 2)
4021
+ return F > 15 ? 3 : 2;
4022
+ if (U === 6 * 3)
4021
4023
  return 3;
4022
4024
  throw new Error();
4023
4025
  }
4024
- for (var m = 65533, A = "", w = this.bitsNeeded, C = this.codePoint, G = 0; G < c.length; G += 1) {
4025
- var H = c[G];
4026
- w !== 0 && (H < 128 || H > 191 || !g(C << 6 | H & 63, w - 6, x(w, C))) && (w = 0, C = m, A += String.fromCharCode(C)), w === 0 ? (H >= 0 && H <= 127 ? (w = 0, C = H) : H >= 192 && H <= 223 ? (w = 6 * 1, C = H & 31) : H >= 224 && H <= 239 ? (w = 6 * 2, C = H & 15) : H >= 240 && H <= 247 ? (w = 6 * 3, C = H & 7) : (w = 0, C = m), w !== 0 && !g(C, w, x(w, C)) && (w = 0, C = m)) : (w -= 6, C = C << 6 | H & 63), w === 0 && (C <= 65535 ? A += String.fromCharCode(C) : (A += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), A += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
4026
+ for (var p = 65533, T = "", w = this.bitsNeeded, C = this.codePoint, j = 0; j < h.length; j += 1) {
4027
+ var O = h[j];
4028
+ w !== 0 && (O < 128 || O > 191 || !b(C << 6 | O & 63, w - 6, E(w, C))) && (w = 0, C = p, T += String.fromCharCode(C)), w === 0 ? (O >= 0 && O <= 127 ? (w = 0, C = O) : O >= 192 && O <= 223 ? (w = 6 * 1, C = O & 31) : O >= 224 && O <= 239 ? (w = 6 * 2, C = O & 15) : O >= 240 && O <= 247 ? (w = 6 * 3, C = O & 7) : (w = 0, C = p), w !== 0 && !b(C, w, E(w, C)) && (w = 0, C = p)) : (w -= 6, C = C << 6 | O & 63), w === 0 && (C <= 65535 ? T += String.fromCharCode(C) : (T += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), T += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
4027
4029
  }
4028
- return this.bitsNeeded = w, this.codePoint = C, A;
4030
+ return this.bitsNeeded = w, this.codePoint = C, T;
4029
4031
  };
4030
- var oe = function() {
4032
+ var se = function() {
4031
4033
  try {
4032
- return new y().decode(new E().encode("test"), { stream: !0 }) === "test";
4033
- } catch (c) {
4034
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4034
+ return new g().decode(new v().encode("test"), { stream: !0 }) === "test";
4035
+ } catch (h) {
4036
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4035
4037
  }
4036
4038
  return !1;
4037
4039
  };
4038
- (y == null || E == null || !oe()) && (y = ne);
4039
- var I = function() {
4040
+ (g == null || v == null || !se()) && (g = oe);
4041
+ var D = function() {
4040
4042
  };
4041
- function j(c) {
4042
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = I, this.onload = I, this.onerror = I, this.onreadystatechange = I, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = I;
4043
+ function k(h) {
4044
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = D, this.onload = D, this.onerror = D, this.onreadystatechange = D, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = D;
4043
4045
  }
4044
- j.prototype.open = function(c, g) {
4046
+ k.prototype.open = function(h, b) {
4045
4047
  this._abort(!0);
4046
- var x = this, m = this._xhr, A = 1, w = 0;
4047
- this._abort = function(d) {
4048
- x._sendTimeout !== 0 && (i(x._sendTimeout), x._sendTimeout = 0), (A === 1 || A === 2 || A === 3) && (A = 4, m.onload = I, m.onerror = I, m.onabort = I, m.onprogress = I, m.onreadystatechange = I, m.abort(), w !== 0 && (i(w), w = 0), d || (x.readyState = 4, x.onabort(null), x.onreadystatechange())), A = 0;
4048
+ var E = this, p = this._xhr, T = 1, w = 0;
4049
+ this._abort = function(l) {
4050
+ E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (T === 1 || T === 2 || T === 3) && (T = 4, p.onload = D, p.onerror = D, p.onabort = D, p.onprogress = D, p.onreadystatechange = D, p.abort(), w !== 0 && (i(w), w = 0), l || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), T = 0;
4049
4051
  };
4050
4052
  var C = function() {
4051
- if (A === 1) {
4052
- var d = 0, v = "", S = void 0;
4053
- if ("contentType" in m)
4054
- d = 200, v = "OK", S = m.contentType;
4053
+ if (T === 1) {
4054
+ var l = 0, y = "", x = void 0;
4055
+ if ("contentType" in p)
4056
+ l = 200, y = "OK", x = p.contentType;
4055
4057
  else
4056
4058
  try {
4057
- d = m.status, v = m.statusText, S = m.getResponseHeader("Content-Type");
4059
+ l = p.status, y = p.statusText, x = p.getResponseHeader("Content-Type");
4058
4060
  } catch {
4059
- d = 0, v = "", S = void 0;
4061
+ l = 0, y = "", x = void 0;
4060
4062
  }
4061
- d !== 0 && (A = 2, x.readyState = 2, x.status = d, x.statusText = v, x._contentType = S, x.onreadystatechange());
4063
+ l !== 0 && (T = 2, E.readyState = 2, E.status = l, E.statusText = y, E._contentType = x, E.onreadystatechange());
4062
4064
  }
4063
- }, G = function() {
4064
- if (C(), A === 2 || A === 3) {
4065
- A = 3;
4066
- var d = "";
4065
+ }, j = function() {
4066
+ if (C(), T === 2 || T === 3) {
4067
+ T = 3;
4068
+ var l = "";
4067
4069
  try {
4068
- d = m.responseText;
4070
+ l = p.responseText;
4069
4071
  } catch {
4070
4072
  }
4071
- x.readyState = 3, x.responseText = d, x.onprogress();
4073
+ E.readyState = 3, E.responseText = l, E.onprogress();
4072
4074
  }
4073
- }, H = function(d, v) {
4074
- if ((v == null || v.preventDefault == null) && (v = {
4075
- preventDefault: I
4076
- }), G(), A === 1 || A === 2 || A === 3) {
4077
- if (A = 4, w !== 0 && (i(w), w = 0), x.readyState = 4, d === "load")
4078
- x.onload(v);
4079
- else if (d === "error")
4080
- x.onerror(v);
4081
- else if (d === "abort")
4082
- x.onabort(v);
4075
+ }, O = function(l, y) {
4076
+ if ((y == null || y.preventDefault == null) && (y = {
4077
+ preventDefault: D
4078
+ }), j(), T === 1 || T === 2 || T === 3) {
4079
+ if (T = 4, w !== 0 && (i(w), w = 0), E.readyState = 4, l === "load")
4080
+ E.onload(y);
4081
+ else if (l === "error")
4082
+ E.onerror(y);
4083
+ else if (l === "abort")
4084
+ E.onabort(y);
4083
4085
  else
4084
4086
  throw new TypeError();
4085
- x.onreadystatechange();
4087
+ E.onreadystatechange();
4086
4088
  }
4087
- }, D = function(d) {
4088
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && H(m.responseText === "" ? "error" : "load", d) : m.readyState === 3 ? "onprogress" in m || G() : m.readyState === 2 && C());
4089
- }, h = function() {
4089
+ }, U = function(l) {
4090
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && O(p.responseText === "" ? "error" : "load", l) : p.readyState === 3 ? "onprogress" in p || j() : p.readyState === 2 && C());
4091
+ }, F = function() {
4090
4092
  w = n(function() {
4091
- h();
4092
- }, 500), m.readyState === 3 && G();
4093
+ F();
4094
+ }, 500), p.readyState === 3 && j();
4093
4095
  };
4094
- "onload" in m && (m.onload = function(d) {
4095
- H("load", d);
4096
- }), "onerror" in m && (m.onerror = function(d) {
4097
- H("error", d);
4098
- }), "onabort" in m && (m.onabort = function(d) {
4099
- H("abort", d);
4100
- }), "onprogress" in m && (m.onprogress = G), "onreadystatechange" in m && (m.onreadystatechange = function(d) {
4101
- D(d);
4102
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (g += (g.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(c, g, !0), "readyState" in m && (w = n(function() {
4103
- h();
4096
+ "onload" in p && (p.onload = function(l) {
4097
+ O("load", l);
4098
+ }), "onerror" in p && (p.onerror = function(l) {
4099
+ O("error", l);
4100
+ }), "onabort" in p && (p.onabort = function(l) {
4101
+ O("abort", l);
4102
+ }), "onprogress" in p && (p.onprogress = j), "onreadystatechange" in p && (p.onreadystatechange = function(l) {
4103
+ U(l);
4104
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, b, !0), "readyState" in p && (w = n(function() {
4105
+ F();
4104
4106
  }, 0));
4105
- }, j.prototype.abort = function() {
4107
+ }, k.prototype.abort = function() {
4106
4108
  this._abort(!1);
4107
- }, j.prototype.getResponseHeader = function(c) {
4109
+ }, k.prototype.getResponseHeader = function(h) {
4108
4110
  return this._contentType;
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() {
4111
+ }, k.prototype.setRequestHeader = function(h, b) {
4112
+ var E = this._xhr;
4113
+ "setRequestHeader" in E && E.setRequestHeader(h, b);
4114
+ }, k.prototype.getAllResponseHeaders = function() {
4113
4115
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4114
- }, j.prototype.send = function() {
4116
+ }, k.prototype.send = function() {
4115
4117
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4116
- var c = this;
4117
- c._sendTimeout = n(function() {
4118
- c._sendTimeout = 0, c.send();
4118
+ var h = this;
4119
+ h._sendTimeout = n(function() {
4120
+ h._sendTimeout = 0, h.send();
4119
4121
  }, 4);
4120
4122
  return;
4121
4123
  }
4122
- var g = this._xhr;
4123
- "withCredentials" in g && (g.withCredentials = this.withCredentials);
4124
+ var b = this._xhr;
4125
+ "withCredentials" in b && (b.withCredentials = this.withCredentials);
4124
4126
  try {
4125
- g.send(void 0);
4126
- } catch (x) {
4127
- throw x;
4127
+ b.send(void 0);
4128
+ } catch (E) {
4129
+ throw E;
4128
4130
  }
4129
4131
  };
4130
- function Z(c) {
4131
- return c.replace(/[A-Z]/g, function(g) {
4132
- return String.fromCharCode(g.charCodeAt(0) + 32);
4132
+ function Y(h) {
4133
+ return h.replace(/[A-Z]/g, function(b) {
4134
+ return String.fromCharCode(b.charCodeAt(0) + 32);
4133
4135
  });
4134
4136
  }
4135
- function ie(c) {
4136
- for (var g = /* @__PURE__ */ Object.create(null), x = c.split(`\r
4137
- `), m = 0; m < x.length; m += 1) {
4138
- var A = x[m], w = A.split(": "), C = w.shift(), G = w.join(": ");
4139
- g[Z(C)] = G;
4137
+ function ae(h) {
4138
+ for (var b = /* @__PURE__ */ Object.create(null), E = h.split(`\r
4139
+ `), p = 0; p < E.length; p += 1) {
4140
+ var T = E[p], w = T.split(": "), C = w.shift(), j = w.join(": ");
4141
+ b[Y(C)] = j;
4140
4142
  }
4141
- this._map = g;
4143
+ this._map = b;
4142
4144
  }
4143
- ie.prototype.get = function(c) {
4144
- return this._map[Z(c)];
4145
+ ae.prototype.get = function(h) {
4146
+ return this._map[Y(h)];
4145
4147
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4146
- function K() {
4148
+ function me() {
4147
4149
  }
4148
- K.prototype.open = function(c, g, x, m, A, w, C) {
4149
- c.open("GET", A);
4150
- var G = 0;
4151
- c.onprogress = function() {
4152
- var D = c.responseText, h = D.slice(G);
4153
- G += h.length, x(h);
4154
- }, c.onerror = function(D) {
4155
- D.preventDefault(), m(new Error("NetworkError"));
4156
- }, c.onload = function() {
4157
- m(null);
4158
- }, c.onabort = function() {
4159
- m(null);
4160
- }, c.onreadystatechange = function() {
4161
- if (c.readyState === o.HEADERS_RECEIVED) {
4162
- var D = c.status, h = c.statusText, d = c.getResponseHeader("Content-Type"), v = c.getAllResponseHeaders();
4163
- g(D, h, d, new ie(v));
4150
+ me.prototype.open = function(h, b, E, p, T, w, C) {
4151
+ h.open("GET", T);
4152
+ var j = 0;
4153
+ h.onprogress = function() {
4154
+ var U = h.responseText, F = U.slice(j);
4155
+ j += F.length, E(F);
4156
+ }, h.onerror = function(U) {
4157
+ U.preventDefault(), p(new Error("NetworkError"));
4158
+ }, h.onload = function() {
4159
+ p(null);
4160
+ }, h.onabort = function() {
4161
+ p(null);
4162
+ }, h.onreadystatechange = function() {
4163
+ if (h.readyState === o.HEADERS_RECEIVED) {
4164
+ var U = h.status, F = h.statusText, l = h.getResponseHeader("Content-Type"), y = h.getAllResponseHeaders();
4165
+ b(U, F, l, new ae(y));
4164
4166
  }
4165
- }, c.withCredentials = w;
4166
- for (var H in C)
4167
- Object.prototype.hasOwnProperty.call(C, H) && c.setRequestHeader(H, C[H]);
4168
- return c.send(), c;
4167
+ }, h.withCredentials = w;
4168
+ for (var O in C)
4169
+ Object.prototype.hasOwnProperty.call(C, O) && h.setRequestHeader(O, C[O]);
4170
+ return h.send(), h;
4169
4171
  };
4170
- function te(c) {
4171
- this._headers = c;
4172
+ function ee(h) {
4173
+ this._headers = h;
4172
4174
  }
4173
- te.prototype.get = function(c) {
4174
- return this._headers.get(c);
4175
+ ee.prototype.get = function(h) {
4176
+ return this._headers.get(h);
4175
4177
  };
4176
- function X() {
4178
+ function G() {
4177
4179
  }
4178
- X.prototype.open = function(c, g, x, m, A, w, C) {
4179
- var G = null, H = new B(), D = H.signal, h = new y();
4180
- return b(A, {
4180
+ G.prototype.open = function(h, b, E, p, T, w, C) {
4181
+ var j = null, O = new S(), U = O.signal, F = new g();
4182
+ return m(T, {
4181
4183
  headers: C,
4182
4184
  credentials: w ? "include" : "same-origin",
4183
- signal: D,
4185
+ signal: U,
4184
4186
  cache: "no-store"
4185
- }).then(function(d) {
4186
- return G = d.body.getReader(), g(d.status, d.statusText, d.headers.get("Content-Type"), new te(d.headers)), new f(function(v, S) {
4187
- var U = function() {
4188
- G.read().then(function(N) {
4189
- if (N.done)
4190
- v(void 0);
4187
+ }).then(function(l) {
4188
+ return j = l.body.getReader(), b(l.status, l.statusText, l.headers.get("Content-Type"), new ee(l.headers)), new f(function(y, x) {
4189
+ var B = function() {
4190
+ j.read().then(function(H) {
4191
+ if (H.done)
4192
+ y(void 0);
4191
4193
  else {
4192
- var T = h.decode(N.value, { stream: !0 });
4193
- x(T), U();
4194
+ var P = F.decode(H.value, { stream: !0 });
4195
+ E(P), B();
4194
4196
  }
4195
- }).catch(function(N) {
4196
- S(N);
4197
+ }).catch(function(H) {
4198
+ x(H);
4197
4199
  });
4198
4200
  };
4199
- U();
4201
+ B();
4200
4202
  });
4201
- }).catch(function(d) {
4202
- if (d.name !== "AbortError")
4203
- return d;
4204
- }).then(function(d) {
4205
- m(d);
4203
+ }).catch(function(l) {
4204
+ if (l.name !== "AbortError")
4205
+ return l;
4206
+ }).then(function(l) {
4207
+ p(l);
4206
4208
  }), {
4207
4209
  abort: function() {
4208
- G?.cancel(), H.abort();
4210
+ j?.cancel(), O.abort();
4209
4211
  }
4210
4212
  };
4211
4213
  };
4212
- function F() {
4214
+ function $() {
4213
4215
  this._listeners = /* @__PURE__ */ Object.create(null);
4214
4216
  }
4215
- function P(c) {
4217
+ function M(h) {
4216
4218
  n(function() {
4217
- throw c;
4219
+ throw h;
4218
4220
  }, 0);
4219
4221
  }
4220
- F.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, m = 0; m < x; m += 1) {
4225
- var A = g[m];
4222
+ $.prototype.dispatchEvent = function(h) {
4223
+ h.target = this;
4224
+ var b = this._listeners[h.type];
4225
+ if (b != null)
4226
+ for (var E = b.length, p = 0; p < E; p += 1) {
4227
+ var T = b[p];
4226
4228
  try {
4227
- typeof A.handleEvent == "function" ? A.handleEvent(c) : A.call(this, c);
4229
+ typeof T.handleEvent == "function" ? T.handleEvent(h) : T.call(this, h);
4228
4230
  } catch (w) {
4229
- P(w);
4231
+ M(w);
4230
4232
  }
4231
4233
  }
4232
- }, F.prototype.addEventListener = function(c, g) {
4233
- c = String(c);
4234
- var x = this._listeners, m = x[c];
4235
- m == null && (m = [], x[c] = m);
4236
- for (var A = !1, w = 0; w < m.length; w += 1)
4237
- m[w] === g && (A = !0);
4238
- A || m.push(g);
4239
- }, F.prototype.removeEventListener = function(c, g) {
4240
- c = String(c);
4241
- var x = this._listeners, m = x[c];
4242
- if (m != null) {
4243
- for (var A = [], w = 0; w < m.length; w += 1)
4244
- m[w] !== g && A.push(m[w]);
4245
- A.length === 0 ? delete x[c] : x[c] = A;
4234
+ }, $.prototype.addEventListener = function(h, b) {
4235
+ h = String(h);
4236
+ var E = this._listeners, p = E[h];
4237
+ p == null && (p = [], E[h] = p);
4238
+ for (var T = !1, w = 0; w < p.length; w += 1)
4239
+ p[w] === b && (T = !0);
4240
+ T || p.push(b);
4241
+ }, $.prototype.removeEventListener = function(h, b) {
4242
+ h = String(h);
4243
+ var E = this._listeners, p = E[h];
4244
+ if (p != null) {
4245
+ for (var T = [], w = 0; w < p.length; w += 1)
4246
+ p[w] !== b && T.push(p[w]);
4247
+ T.length === 0 ? delete E[h] : E[h] = T;
4246
4248
  }
4247
4249
  };
4248
- function q(c) {
4249
- this.type = c, this.target = void 0;
4250
+ function W(h) {
4251
+ this.type = h, this.target = void 0;
4250
4252
  }
4251
- function z(c, g) {
4252
- q.call(this, c), this.data = g.data, this.lastEventId = g.lastEventId;
4253
+ function z(h, b) {
4254
+ W.call(this, h), this.data = b.data, this.lastEventId = b.lastEventId;
4253
4255
  }
4254
- z.prototype = Object.create(q.prototype);
4255
- function fe(c, g) {
4256
- q.call(this, c), this.status = g.status, this.statusText = g.statusText, this.headers = g.headers;
4256
+ z.prototype = Object.create(W.prototype);
4257
+ function Le(h, b) {
4258
+ W.call(this, h), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4257
4259
  }
4258
- fe.prototype = Object.create(q.prototype);
4259
- function Ce(c, g) {
4260
- q.call(this, c), this.error = g.error;
4260
+ Le.prototype = Object.create(W.prototype);
4261
+ function Te(h, b) {
4262
+ W.call(this, h), this.error = b.error;
4261
4263
  }
4262
- Ce.prototype = Object.create(q.prototype);
4263
- var me = -1, le = 0, He = 1, _ = 2, Oe = -1, _e = 0, Ee = 1, Ue = 2, Ct = 3, Ht = /^text\/event\-stream(;.*)?$/i, Ot = 1e3, Ke = 18e6, Fe = function(c, g) {
4264
- var x = c == null ? g : parseInt(c, 10);
4265
- return x !== x && (x = g), et(x);
4266
- }, et = function(c) {
4267
- return Math.min(Math.max(c, Ot), Ke);
4268
- }, xe = function(c, g, x) {
4264
+ Te.prototype = Object.create(W.prototype);
4265
+ var Ee = -1, ne = 0, be = 1, Re = 2, _ = -1, fe = 0, et = 1, Ae = 2, tt = 3, Lt = /^text\/event\-stream(;.*)?$/i, Rt = 1e3, Mt = 18e6, Ie = function(h, b) {
4266
+ var E = h == null ? b : parseInt(h, 10);
4267
+ return E !== E && (E = b), Fe(E);
4268
+ }, Fe = function(h) {
4269
+ return Math.min(Math.max(h, Rt), Mt);
4270
+ }, Me = function(h, b, E) {
4269
4271
  try {
4270
- typeof g == "function" && g.call(c, x);
4271
- } catch (m) {
4272
- P(m);
4272
+ typeof b == "function" && b.call(h, E);
4273
+ } catch (p) {
4274
+ M(p);
4273
4275
  }
4274
4276
  };
4275
- function ce(c, g) {
4276
- F.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, Rt(this, c, g);
4277
+ function le(h, b) {
4278
+ $.call(this), b = b || {}, 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, b);
4277
4279
  }
4278
- function Lt() {
4280
+ function dt() {
4279
4281
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4280
4282
  }
4281
- var tt = b != null && p != null && "body" in p.prototype;
4282
- function Rt(c, g, x) {
4283
- g = String(g);
4284
- var m = !!x.withCredentials, A = x.lastEventIdQueryParameterName || "lastEventId", w = et(1e3), C = Fe(x.heartbeatTimeout, 45e3), G = "", H = w, D = !1, h = 0, d = x.headers || {}, v = x.Transport, S = tt && v == null ? void 0 : new j(v != null ? new v() : Lt()), U = v != null && typeof v != "string" ? new v() : S == null ? new X() : new K(), N = void 0, T = 0, k = me, he = "", we = "", be = "", Se = "", ae = _e, Mt = 0, Ie = 0, Tn = function(ee, J, de, pe) {
4285
- if (k === le)
4286
- if (ee === 200 && de != null && Ht.test(de)) {
4287
- k = He, D = Date.now(), H = w, c.readyState = He;
4288
- var se = new fe("open", {
4289
- status: ee,
4290
- statusText: J,
4283
+ var Pt = m != null && d != null && "body" in d.prototype;
4284
+ function rt(h, b, E) {
4285
+ b = String(b);
4286
+ var p = !!E.withCredentials, T = E.lastEventIdQueryParameterName || "lastEventId", w = Fe(1e3), C = Ie(E.heartbeatTimeout, 45e3), j = "", O = w, U = !1, F = 0, l = E.headers || {}, y = E.Transport, x = Pt && y == null ? void 0 : new k(y != null ? new y() : dt()), B = y != null && typeof y != "string" ? new y() : x == null ? new G() : new me(), H = void 0, P = 0, A = Ee, Q = "", ge = "", ue = "", Ge = "", J = fe, nt = 0, xe = 0, De = function(re, te, de, pe) {
4287
+ if (A === ne)
4288
+ if (re === 200 && de != null && Lt.test(de)) {
4289
+ A = be, U = Date.now(), O = w, h.readyState = be;
4290
+ var ce = new Le("open", {
4291
+ status: re,
4292
+ statusText: te,
4291
4293
  headers: pe
4292
4294
  });
4293
- c.dispatchEvent(se), xe(c, c.onopen, se);
4295
+ h.dispatchEvent(ce), Me(h, h.onopen, ce);
4294
4296
  } else {
4295
- var re = "";
4296
- ee !== 200 ? (J && (J = J.replace(/\s+/g, " ")), re = "EventSource's response has a status " + ee + " " + J + " that is not 200. Aborting the connection.") : re = "EventSource's response has a Content-Type specifying an unsupported type: " + (de == null ? "-" : de.replace(/\s+/g, " ")) + ". Aborting the connection.", Pt();
4297
- var se = new fe("error", {
4298
- status: ee,
4299
- statusText: J,
4297
+ var ie = "";
4298
+ re !== 200 ? (te && (te = te.replace(/\s+/g, " ")), ie = "EventSource's response has a status " + re + " " + te + " that is not 200. Aborting the connection.") : ie = "EventSource's response has a Content-Type specifying an unsupported type: " + (de == null ? "-" : de.replace(/\s+/g, " ")) + ". Aborting the connection.", Nt();
4299
+ var ce = new Le("error", {
4300
+ status: re,
4301
+ statusText: te,
4300
4302
  headers: pe
4301
4303
  });
4302
- c.dispatchEvent(se), xe(c, c.onerror, se), console.error(re);
4304
+ h.dispatchEvent(ce), Me(h, h.onerror, ce), console.error(ie);
4303
4305
  }
4304
- }, An = function(ee) {
4305
- if (k === He) {
4306
- for (var J = -1, de = 0; de < ee.length; de += 1) {
4307
- var pe = ee.charCodeAt(de);
4308
- (pe === 10 || pe === 13) && (J = de);
4306
+ }, An = function(re) {
4307
+ if (A === be) {
4308
+ for (var te = -1, de = 0; de < re.length; de += 1) {
4309
+ var pe = re.charCodeAt(de);
4310
+ (pe === 10 || pe === 13) && (te = de);
4309
4311
  }
4310
- var se = (J !== -1 ? Se : "") + ee.slice(0, J + 1);
4311
- Se = (J === -1 ? Se : "") + ee.slice(J + 1), ee !== "" && (D = Date.now(), h += ee.length);
4312
- for (var re = 0; re < se.length; re += 1) {
4313
- var pe = se.charCodeAt(re);
4314
- if (ae === Oe && pe === 10)
4315
- ae = _e;
4316
- else if (ae === Oe && (ae = _e), pe === 13 || pe === 10) {
4317
- if (ae !== _e) {
4318
- ae === Ee && (Ie = re + 1);
4319
- var Le = se.slice(Mt, Ie - 1), Re = se.slice(Ie + (Ie < re && se.charCodeAt(Ie) === 32 ? 1 : 0), re);
4320
- Le === "data" ? (he += `
4321
- `, he += Re) : Le === "id" ? we = Re : Le === "event" ? be = Re : Le === "retry" ? (w = Fe(Re, w), H = w) : Le === "heartbeatTimeout" && (C = Fe(Re, C), T !== 0 && (i(T), T = n(function() {
4322
- rt();
4312
+ var ce = (te !== -1 ? Ge : "") + re.slice(0, te + 1);
4313
+ Ge = (te === -1 ? Ge : "") + re.slice(te + 1), re !== "" && (U = Date.now(), F += re.length);
4314
+ for (var ie = 0; ie < ce.length; ie += 1) {
4315
+ var pe = ce.charCodeAt(ie);
4316
+ if (J === _ && pe === 10)
4317
+ J = fe;
4318
+ else if (J === _ && (J = fe), pe === 13 || pe === 10) {
4319
+ if (J !== fe) {
4320
+ J === et && (xe = ie + 1);
4321
+ var Ce = ce.slice(nt, xe - 1), He = ce.slice(xe + (xe < ie && ce.charCodeAt(xe) === 32 ? 1 : 0), ie);
4322
+ Ce === "data" ? (Q += `
4323
+ `, Q += He) : Ce === "id" ? ge = He : Ce === "event" ? ue = He : Ce === "retry" ? (w = Ie(He, w), O = w) : Ce === "heartbeatTimeout" && (C = Ie(He, C), P !== 0 && (i(P), P = n(function() {
4324
+ it();
4323
4325
  }, C)));
4324
4326
  }
4325
- if (ae === _e) {
4326
- if (he !== "") {
4327
- G = we, be === "" && (be = "message");
4328
- var Ge = new z(be, {
4329
- data: he.slice(1),
4330
- lastEventId: we
4327
+ if (J === fe) {
4328
+ if (Q !== "") {
4329
+ j = ge, ue === "" && (ue = "message");
4330
+ var ke = new z(ue, {
4331
+ data: Q.slice(1),
4332
+ lastEventId: ge
4331
4333
  });
4332
- if (c.dispatchEvent(Ge), be === "open" ? xe(c, c.onopen, Ge) : be === "message" ? xe(c, c.onmessage, Ge) : be === "error" && xe(c, c.onerror, Ge), k === _)
4334
+ if (h.dispatchEvent(ke), ue === "open" ? Me(h, h.onopen, ke) : ue === "message" ? Me(h, h.onmessage, ke) : ue === "error" && Me(h, h.onerror, ke), A === Re)
4333
4335
  return;
4334
4336
  }
4335
- he = "", be = "";
4337
+ Q = "", ue = "";
4336
4338
  }
4337
- ae = pe === 13 ? Oe : _e;
4339
+ J = pe === 13 ? _ : fe;
4338
4340
  } else
4339
- ae === _e && (Mt = re, ae = Ee), ae === Ee ? pe === 58 && (Ie = re + 1, ae = Ue) : ae === Ue && (ae = Ct);
4341
+ J === fe && (nt = ie, J = et), J === et ? pe === 58 && (xe = ie + 1, J = Ae) : J === Ae && (J = tt);
4340
4342
  }
4341
4343
  }
4342
- }, hr = function(ee) {
4343
- if (k === He || k === le) {
4344
- k = me, T !== 0 && (i(T), T = 0), T = n(function() {
4345
- rt();
4346
- }, H), H = et(Math.min(w * 16, H * 2)), c.readyState = le;
4347
- var J = new Ce("error", { error: ee });
4348
- c.dispatchEvent(J), xe(c, c.onerror, J), ee != null && console.error(ee);
4344
+ }, fr = function(re) {
4345
+ if (A === be || A === ne) {
4346
+ A = Ee, P !== 0 && (i(P), P = 0), P = n(function() {
4347
+ it();
4348
+ }, O), O = Fe(Math.min(w * 16, O * 2)), h.readyState = ne;
4349
+ var te = new Te("error", { error: re });
4350
+ h.dispatchEvent(te), Me(h, h.onerror, te), re != null && console.error(re);
4349
4351
  }
4350
- }, Pt = function() {
4351
- k = _, N != null && (N.abort(), N = void 0), T !== 0 && (i(T), T = 0), c.readyState = _;
4352
- }, rt = function() {
4353
- if (T = 0, k !== me) {
4354
- if (!D && N != null)
4355
- hr(new Error("No activity within " + C + " milliseconds. " + (k === le ? "No response received." : h + " chars received.") + " Reconnecting.")), N != null && (N.abort(), N = void 0);
4352
+ }, Nt = function() {
4353
+ A = Re, H != null && (H.abort(), H = void 0), P !== 0 && (i(P), P = 0), h.readyState = Re;
4354
+ }, it = function() {
4355
+ if (P = 0, A !== Ee) {
4356
+ if (!U && H != null)
4357
+ fr(new Error("No activity within " + C + " milliseconds. " + (A === ne ? "No response received." : F + " chars received.") + " Reconnecting.")), H != null && (H.abort(), H = void 0);
4356
4358
  else {
4357
- var ee = Math.max((D || Date.now()) + C - Date.now(), 1);
4358
- D = !1, T = n(function() {
4359
- rt();
4360
- }, ee);
4359
+ var re = Math.max((U || Date.now()) + C - Date.now(), 1);
4360
+ U = !1, P = n(function() {
4361
+ it();
4362
+ }, re);
4361
4363
  }
4362
4364
  return;
4363
4365
  }
4364
- D = !1, h = 0, T = n(function() {
4365
- rt();
4366
- }, C), k = le, he = "", be = "", we = G, Se = "", Mt = 0, Ie = 0, ae = _e;
4367
- var J = g;
4368
- if (g.slice(0, 5) !== "data:" && g.slice(0, 5) !== "blob:" && G !== "") {
4369
- var de = g.indexOf("?");
4370
- J = de === -1 ? g : g.slice(0, de + 1) + g.slice(de + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Re, Ge) {
4371
- return Ge === A ? "" : Re;
4372
- }), J += (g.indexOf("?") === -1 ? "?" : "&") + A + "=" + encodeURIComponent(G);
4366
+ U = !1, F = 0, P = n(function() {
4367
+ it();
4368
+ }, C), A = ne, Q = "", ue = "", ge = j, Ge = "", nt = 0, xe = 0, J = fe;
4369
+ var te = b;
4370
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && j !== "") {
4371
+ var de = b.indexOf("?");
4372
+ te = de === -1 ? b : b.slice(0, de + 1) + b.slice(de + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(He, ke) {
4373
+ return ke === T ? "" : He;
4374
+ }), te += (b.indexOf("?") === -1 ? "?" : "&") + T + "=" + encodeURIComponent(j);
4373
4375
  }
4374
- var pe = c.withCredentials, se = {};
4375
- se.Accept = "text/event-stream";
4376
- var re = c.headers;
4377
- if (re != null)
4378
- for (var Le in re)
4379
- Object.prototype.hasOwnProperty.call(re, Le) && (se[Le] = re[Le]);
4376
+ var pe = h.withCredentials, ce = {};
4377
+ ce.Accept = "text/event-stream";
4378
+ var ie = h.headers;
4379
+ if (ie != null)
4380
+ for (var Ce in ie)
4381
+ Object.prototype.hasOwnProperty.call(ie, Ce) && (ce[Ce] = ie[Ce]);
4380
4382
  try {
4381
- N = U.open(S, Tn, An, hr, J, pe, se);
4382
- } catch (Re) {
4383
- throw Pt(), Re;
4383
+ H = B.open(x, De, An, fr, te, pe, ce);
4384
+ } catch (He) {
4385
+ throw Nt(), He;
4384
4386
  }
4385
4387
  };
4386
- c.url = g, c.readyState = le, c.withCredentials = m, c.headers = d, c._close = Pt, rt();
4388
+ h.url = b, h.readyState = ne, h.withCredentials = p, h.headers = l, h._close = Nt, it();
4387
4389
  }
4388
- ce.prototype = Object.create(F.prototype), ce.prototype.CONNECTING = le, ce.prototype.OPEN = He, ce.prototype.CLOSED = _, ce.prototype.close = function() {
4390
+ le.prototype = Object.create($.prototype), le.prototype.CONNECTING = ne, le.prototype.OPEN = be, le.prototype.CLOSED = Re, le.prototype.close = function() {
4389
4391
  this._close();
4390
- }, ce.CONNECTING = le, ce.OPEN = He, ce.CLOSED = _, ce.prototype.withCredentials = void 0;
4391
- var ht = l;
4392
- o != null && (l == null || !("withCredentials" in l.prototype)) && (ht = ce), function(c) {
4392
+ }, le.CONNECTING = ne, le.OPEN = be, le.CLOSED = Re, le.prototype.withCredentials = void 0;
4393
+ var pt = c;
4394
+ o != null && (c == null || !("withCredentials" in c.prototype)) && (pt = le), function(h) {
4393
4395
  {
4394
- var g = c(t);
4395
- g !== void 0 && (e.exports = g);
4396
+ var b = h(t);
4397
+ b !== void 0 && (e.exports = b);
4396
4398
  }
4397
- }(function(c) {
4398
- c.EventSourcePolyfill = ce, c.NativeEventSource = l, c.EventSource = ht;
4399
+ }(function(h) {
4400
+ h.EventSourcePolyfill = le, h.NativeEventSource = c, h.EventSource = pt;
4399
4401
  });
4400
4402
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ti : globalThis);
4401
- })(tr, tr.exports);
4402
- var Xo = tr.exports;
4403
+ })(rr, rr.exports);
4404
+ var Xo = rr.exports;
4403
4405
  /*! *****************************************************************************
4404
4406
  Copyright (c) Microsoft Corporation.
4405
4407
 
@@ -4414,24 +4416,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4414
4416
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4415
4417
  PERFORMANCE OF THIS SOFTWARE.
4416
4418
  ***************************************************************************** */
4417
- var rr = function(e, t) {
4418
- return rr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4419
+ var nr = function(e, t) {
4420
+ return nr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4419
4421
  r.__proto__ = n;
4420
4422
  } || function(r, n) {
4421
4423
  for (var i in n)
4422
4424
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4423
- }, rr(e, t);
4425
+ }, nr(e, t);
4424
4426
  };
4425
- function ct(e, t) {
4427
+ function ft(e, t) {
4426
4428
  if (typeof t != "function" && t !== null)
4427
4429
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4428
- rr(e, t);
4430
+ nr(e, t);
4429
4431
  function r() {
4430
4432
  this.constructor = e;
4431
4433
  }
4432
4434
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4433
4435
  }
4434
- function nr(e) {
4436
+ function ir(e) {
4435
4437
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4436
4438
  if (r)
4437
4439
  return r.call(e);
@@ -4443,7 +4445,7 @@ function nr(e) {
4443
4445
  };
4444
4446
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4445
4447
  }
4446
- function ir(e, t) {
4448
+ function or(e, t) {
4447
4449
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4448
4450
  if (!r)
4449
4451
  return e;
@@ -4463,22 +4465,22 @@ function ir(e, t) {
4463
4465
  }
4464
4466
  return o;
4465
4467
  }
4466
- function or(e, t, r) {
4468
+ function ar(e, t, r) {
4467
4469
  if (arguments.length === 2)
4468
4470
  for (var n = 0, i = t.length, o; n < i; n++)
4469
4471
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4470
4472
  return e.concat(o || t);
4471
4473
  }
4472
- function Me(e) {
4474
+ function Oe(e) {
4473
4475
  return typeof e == "function";
4474
4476
  }
4475
- function _n(e) {
4477
+ function En(e) {
4476
4478
  var t = function(n) {
4477
4479
  Error.call(n), n.stack = new Error().stack;
4478
4480
  }, r = e(t);
4479
4481
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4480
4482
  }
4481
- var jt = _n(function(e) {
4483
+ var $t = En(function(e) {
4482
4484
  return function(r) {
4483
4485
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4484
4486
  ` + r.map(function(n, i) {
@@ -4487,13 +4489,13 @@ var jt = _n(function(e) {
4487
4489
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4488
4490
  };
4489
4491
  });
4490
- function ar(e, t) {
4492
+ function sr(e, t) {
4491
4493
  if (e) {
4492
4494
  var r = e.indexOf(t);
4493
4495
  0 <= r && e.splice(r, 1);
4494
4496
  }
4495
4497
  }
4496
- var At = function() {
4498
+ var Ot = function() {
4497
4499
  function e(t) {
4498
4500
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4499
4501
  }
@@ -4505,15 +4507,15 @@ var At = function() {
4505
4507
  if (s)
4506
4508
  if (this._parentage = null, Array.isArray(s))
4507
4509
  try {
4508
- for (var a = nr(s), l = a.next(); !l.done; l = a.next()) {
4509
- var u = l.value;
4510
+ for (var a = ir(s), c = a.next(); !c.done; c = a.next()) {
4511
+ var u = c.value;
4510
4512
  u.remove(this);
4511
4513
  }
4512
- } catch (B) {
4513
- t = { error: B };
4514
+ } catch (S) {
4515
+ t = { error: S };
4514
4516
  } finally {
4515
4517
  try {
4516
- l && !l.done && (r = a.return) && r.call(a);
4518
+ c && !c.done && (r = a.return) && r.call(a);
4517
4519
  } finally {
4518
4520
  if (t)
4519
4521
  throw t.error;
@@ -4522,29 +4524,29 @@ var At = function() {
4522
4524
  else
4523
4525
  s.remove(this);
4524
4526
  var f = this.initialTeardown;
4525
- if (Me(f))
4527
+ if (Oe(f))
4526
4528
  try {
4527
4529
  f();
4528
- } catch (B) {
4529
- o = B instanceof jt ? B.errors : [B];
4530
+ } catch (S) {
4531
+ o = S instanceof $t ? S.errors : [S];
4530
4532
  }
4531
- var b = this._finalizers;
4532
- if (b) {
4533
+ var m = this._finalizers;
4534
+ if (m) {
4533
4535
  this._finalizers = null;
4534
4536
  try {
4535
- for (var p = nr(b), y = p.next(); !y.done; y = p.next()) {
4536
- var E = y.value;
4537
+ for (var d = ir(m), g = d.next(); !g.done; g = d.next()) {
4538
+ var v = g.value;
4537
4539
  try {
4538
- Or(E);
4539
- } catch (B) {
4540
- o = o ?? [], B instanceof jt ? o = or(or([], ir(o)), ir(B.errors)) : o.push(B);
4540
+ Lr(v);
4541
+ } catch (S) {
4542
+ o = o ?? [], S instanceof $t ? o = ar(ar([], or(o)), or(S.errors)) : o.push(S);
4541
4543
  }
4542
4544
  }
4543
- } catch (B) {
4544
- n = { error: B };
4545
+ } catch (S) {
4546
+ n = { error: S };
4545
4547
  } finally {
4546
4548
  try {
4547
- y && !y.done && (i = p.return) && i.call(p);
4549
+ g && !g.done && (i = d.return) && i.call(d);
4548
4550
  } finally {
4549
4551
  if (n)
4550
4552
  throw n.error;
@@ -4552,13 +4554,13 @@ var At = function() {
4552
4554
  }
4553
4555
  }
4554
4556
  if (o)
4555
- throw new jt(o);
4557
+ throw new $t(o);
4556
4558
  }
4557
4559
  }, e.prototype.add = function(t) {
4558
4560
  var r;
4559
4561
  if (t && t !== this)
4560
4562
  if (this.closed)
4561
- Or(t);
4563
+ Lr(t);
4562
4564
  else {
4563
4565
  if (t instanceof e) {
4564
4566
  if (t.closed || t._hasParent(this))
@@ -4575,20 +4577,20 @@ var At = function() {
4575
4577
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4576
4578
  }, e.prototype._removeParent = function(t) {
4577
4579
  var r = this._parentage;
4578
- r === t ? this._parentage = null : Array.isArray(r) && ar(r, t);
4580
+ r === t ? this._parentage = null : Array.isArray(r) && sr(r, t);
4579
4581
  }, e.prototype.remove = function(t) {
4580
4582
  var r = this._finalizers;
4581
- r && ar(r, t), t instanceof e && t._removeParent(this);
4583
+ r && sr(r, t), t instanceof e && t._removeParent(this);
4582
4584
  }, e.EMPTY = function() {
4583
4585
  var t = new e();
4584
4586
  return t.closed = !0, t;
4585
4587
  }(), e;
4586
- }(), En = At.EMPTY;
4587
- function xn(e) {
4588
- return e instanceof At || e && "closed" in e && Me(e.remove) && Me(e.add) && Me(e.unsubscribe);
4588
+ }(), xn = Ot.EMPTY;
4589
+ function wn(e) {
4590
+ return e instanceof Ot || e && "closed" in e && Oe(e.remove) && Oe(e.add) && Oe(e.unsubscribe);
4589
4591
  }
4590
- function Or(e) {
4591
- Me(e) ? e() : e.unsubscribe();
4592
+ function Lr(e) {
4593
+ Oe(e) ? e() : e.unsubscribe();
4592
4594
  }
4593
4595
  var zo = {
4594
4596
  Promise: void 0
@@ -4596,7 +4598,7 @@ var zo = {
4596
4598
  setTimeout: function(e, t) {
4597
4599
  for (var r = [], n = 2; n < arguments.length; n++)
4598
4600
  r[n - 2] = arguments[n];
4599
- return setTimeout.apply(void 0, or([e, t], ir(r)));
4601
+ return setTimeout.apply(void 0, ar([e, t], or(r)));
4600
4602
  },
4601
4603
  clearTimeout: function(e) {
4602
4604
  return clearTimeout(e);
@@ -4608,19 +4610,19 @@ function Zo(e) {
4608
4610
  throw e;
4609
4611
  });
4610
4612
  }
4611
- function Lr() {
4613
+ function Rr() {
4612
4614
  }
4613
- function gt(e) {
4615
+ function _t(e) {
4614
4616
  e();
4615
4617
  }
4616
- var wn = function(e) {
4617
- ct(t, e);
4618
+ var Sn = function(e) {
4619
+ ft(t, e);
4618
4620
  function t(r) {
4619
4621
  var n = e.call(this) || this;
4620
- return n.isStopped = !1, r ? (n.destination = r, xn(r) && r.add(n)) : n.destination = Qo, n;
4622
+ return n.isStopped = !1, r ? (n.destination = r, wn(r) && r.add(n)) : n.destination = Qo, n;
4621
4623
  }
4622
4624
  return t.create = function(r, n, i) {
4623
- return new sr(r, n, i);
4625
+ return new lr(r, n, i);
4624
4626
  }, t.prototype.next = function(r) {
4625
4627
  this.isStopped || this._next(r);
4626
4628
  }, t.prototype.error = function(r) {
@@ -4644,7 +4646,7 @@ var wn = function(e) {
4644
4646
  this.unsubscribe();
4645
4647
  }
4646
4648
  }, t;
4647
- }(At), qo = function() {
4649
+ }(Ot), qo = function() {
4648
4650
  function e(t) {
4649
4651
  this.partialObserver = t;
4650
4652
  }
@@ -4654,7 +4656,7 @@ var wn = function(e) {
4654
4656
  try {
4655
4657
  r.next(t);
4656
4658
  } catch (n) {
4657
- dt(n);
4659
+ bt(n);
4658
4660
  }
4659
4661
  }, e.prototype.error = function(t) {
4660
4662
  var r = this.partialObserver;
@@ -4662,32 +4664,32 @@ var wn = function(e) {
4662
4664
  try {
4663
4665
  r.error(t);
4664
4666
  } catch (n) {
4665
- dt(n);
4667
+ bt(n);
4666
4668
  }
4667
4669
  else
4668
- dt(t);
4670
+ bt(t);
4669
4671
  }, e.prototype.complete = function() {
4670
4672
  var t = this.partialObserver;
4671
4673
  if (t.complete)
4672
4674
  try {
4673
4675
  t.complete();
4674
4676
  } catch (r) {
4675
- dt(r);
4677
+ bt(r);
4676
4678
  }
4677
4679
  }, e;
4678
- }(), sr = function(e) {
4679
- ct(t, e);
4680
+ }(), lr = function(e) {
4681
+ ft(t, e);
4680
4682
  function t(r, n, i) {
4681
4683
  var o = e.call(this) || this, s;
4682
- return Me(r) || !r ? s = {
4684
+ return Oe(r) || !r ? s = {
4683
4685
  next: r ?? void 0,
4684
4686
  error: n ?? void 0,
4685
4687
  complete: i ?? void 0
4686
4688
  } : s = r, o.destination = new qo(s), o;
4687
4689
  }
4688
4690
  return t;
4689
- }(wn);
4690
- function dt(e) {
4691
+ }(Sn);
4692
+ function bt(e) {
4691
4693
  Zo(e);
4692
4694
  }
4693
4695
  function Yo(e) {
@@ -4695,9 +4697,9 @@ function Yo(e) {
4695
4697
  }
4696
4698
  var Qo = {
4697
4699
  closed: !0,
4698
- next: Lr,
4700
+ next: Rr,
4699
4701
  error: Yo,
4700
- complete: Lr
4702
+ complete: Rr
4701
4703
  }, Jo = function() {
4702
4704
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4703
4705
  }();
@@ -4711,7 +4713,7 @@ function ea(e) {
4711
4713
  }, r);
4712
4714
  };
4713
4715
  }
4714
- var Rr = function() {
4716
+ var Mr = function() {
4715
4717
  function e(t) {
4716
4718
  t && (this._subscribe = t);
4717
4719
  }
@@ -4719,10 +4721,10 @@ var Rr = function() {
4719
4721
  var r = new e();
4720
4722
  return r.source = this, r.operator = t, r;
4721
4723
  }, e.prototype.subscribe = function(t, r, n) {
4722
- var i = this, o = ra(t) ? t : new sr(t, r, n);
4723
- return gt(function() {
4724
- var s = i, a = s.operator, l = s.source;
4725
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4724
+ var i = this, o = ra(t) ? t : new lr(t, r, n);
4725
+ return _t(function() {
4726
+ var s = i, a = s.operator, c = s.source;
4727
+ o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
4726
4728
  }), o;
4727
4729
  }, e.prototype._trySubscribe = function(t) {
4728
4730
  try {
@@ -4732,13 +4734,13 @@ var Rr = function() {
4732
4734
  }
4733
4735
  }, e.prototype.forEach = function(t, r) {
4734
4736
  var n = this;
4735
- return r = Mr(r), new r(function(i, o) {
4736
- var s = new sr({
4737
+ return r = Pr(r), new r(function(i, o) {
4738
+ var s = new lr({
4737
4739
  next: function(a) {
4738
4740
  try {
4739
4741
  t(a);
4740
- } catch (l) {
4741
- o(l), s.unsubscribe();
4742
+ } catch (c) {
4743
+ o(c), s.unsubscribe();
4742
4744
  }
4743
4745
  },
4744
4746
  error: o,
@@ -4757,7 +4759,7 @@ var Rr = function() {
4757
4759
  return ea(t)(this);
4758
4760
  }, e.prototype.toPromise = function(t) {
4759
4761
  var r = this;
4760
- return t = Mr(t), new t(function(n, i) {
4762
+ return t = Pr(t), new t(function(n, i) {
4761
4763
  var o;
4762
4764
  r.subscribe(function(s) {
4763
4765
  return o = s;
@@ -4771,42 +4773,42 @@ var Rr = function() {
4771
4773
  return new e(t);
4772
4774
  }, e;
4773
4775
  }();
4774
- function Mr(e) {
4776
+ function Pr(e) {
4775
4777
  var t;
4776
4778
  return (t = e ?? zo.Promise) !== null && t !== void 0 ? t : Promise;
4777
4779
  }
4778
4780
  function ta(e) {
4779
- return e && Me(e.next) && Me(e.error) && Me(e.complete);
4781
+ return e && Oe(e.next) && Oe(e.error) && Oe(e.complete);
4780
4782
  }
4781
4783
  function ra(e) {
4782
- return e && e instanceof wn || ta(e) && xn(e);
4784
+ return e && e instanceof Sn || ta(e) && wn(e);
4783
4785
  }
4784
- var na = _n(function(e) {
4786
+ var na = En(function(e) {
4785
4787
  return function() {
4786
4788
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4787
4789
  };
4788
- }), Sn = function(e) {
4789
- ct(t, e);
4790
+ }), Bn = function(e) {
4791
+ ft(t, e);
4790
4792
  function t() {
4791
4793
  var r = e.call(this) || this;
4792
4794
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4793
4795
  }
4794
4796
  return t.prototype.lift = function(r) {
4795
- var n = new Pr(this, this);
4797
+ var n = new Nr(this, this);
4796
4798
  return n.operator = r, n;
4797
4799
  }, t.prototype._throwIfClosed = function() {
4798
4800
  if (this.closed)
4799
4801
  throw new na();
4800
4802
  }, t.prototype.next = function(r) {
4801
4803
  var n = this;
4802
- gt(function() {
4804
+ _t(function() {
4803
4805
  var i, o;
4804
4806
  if (n._throwIfClosed(), !n.isStopped) {
4805
4807
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4806
4808
  try {
4807
- for (var s = nr(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4808
- var l = a.value;
4809
- l.next(r);
4809
+ for (var s = ir(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4810
+ var c = a.value;
4811
+ c.next(r);
4810
4812
  }
4811
4813
  } catch (u) {
4812
4814
  i = { error: u };
@@ -4822,7 +4824,7 @@ var na = _n(function(e) {
4822
4824
  });
4823
4825
  }, t.prototype.error = function(r) {
4824
4826
  var n = this;
4825
- gt(function() {
4827
+ _t(function() {
4826
4828
  if (n._throwIfClosed(), !n.isStopped) {
4827
4829
  n.hasError = n.isStopped = !0, n.thrownError = r;
4828
4830
  for (var i = n.observers; i.length; )
@@ -4831,7 +4833,7 @@ var na = _n(function(e) {
4831
4833
  });
4832
4834
  }, t.prototype.complete = function() {
4833
4835
  var r = this;
4834
- gt(function() {
4836
+ _t(function() {
4835
4837
  if (r._throwIfClosed(), !r.isStopped) {
4836
4838
  r.isStopped = !0;
4837
4839
  for (var n = r.observers; n.length; )
@@ -4853,20 +4855,20 @@ var na = _n(function(e) {
4853
4855
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4854
4856
  }, t.prototype._innerSubscribe = function(r) {
4855
4857
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4856
- return o || s ? En : (this.currentObservers = null, a.push(r), new At(function() {
4857
- n.currentObservers = null, ar(a, r);
4858
+ return o || s ? xn : (this.currentObservers = null, a.push(r), new Ot(function() {
4859
+ n.currentObservers = null, sr(a, r);
4858
4860
  }));
4859
4861
  }, t.prototype._checkFinalizedStatuses = function(r) {
4860
4862
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4861
4863
  i ? r.error(o) : s && r.complete();
4862
4864
  }, t.prototype.asObservable = function() {
4863
- var r = new Rr();
4865
+ var r = new Mr();
4864
4866
  return r.source = this, r;
4865
4867
  }, t.create = function(r, n) {
4866
- return new Pr(r, n);
4868
+ return new Nr(r, n);
4867
4869
  }, t;
4868
- }(Rr), Pr = function(e) {
4869
- ct(t, e);
4870
+ }(Mr), Nr = function(e) {
4871
+ ft(t, e);
4870
4872
  function t(r, n) {
4871
4873
  var i = e.call(this) || this;
4872
4874
  return i.destination = r, i.source = n, i;
@@ -4882,105 +4884,106 @@ var na = _n(function(e) {
4882
4884
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4883
4885
  }, t.prototype._subscribe = function(r) {
4884
4886
  var n, i;
4885
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : En;
4887
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xn;
4886
4888
  }, t;
4887
- }(Sn), Bn = {
4889
+ }(Bn), Tn = {
4888
4890
  now: function() {
4889
- return (Bn.delegate || Date).now();
4891
+ return (Tn.delegate || Date).now();
4890
4892
  },
4891
4893
  delegate: void 0
4892
4894
  }, ia = function(e) {
4893
- ct(t, e);
4895
+ ft(t, e);
4894
4896
  function t(r, n, i) {
4895
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Bn);
4897
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tn);
4896
4898
  var o = e.call(this) || this;
4897
4899
  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;
4898
4900
  }
4899
4901
  return t.prototype.next = function(r) {
4900
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
4901
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4902
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
4903
+ i || (o.push(r), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, r);
4902
4904
  }, t.prototype._subscribe = function(r) {
4903
4905
  this._throwIfClosed(), this._trimBuffer();
4904
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
4905
- r.next(a[l]);
4906
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !r.closed; c += o ? 1 : 2)
4907
+ r.next(a[c]);
4906
4908
  return this._checkFinalizedStatuses(r), n;
4907
4909
  }, t.prototype._trimBuffer = function() {
4908
4910
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4909
4911
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4910
- for (var l = i.now(), u = 0, f = 1; f < o.length && o[f] <= l; f += 2)
4912
+ for (var c = i.now(), u = 0, f = 1; f < o.length && o[f] <= c; f += 2)
4911
4913
  u = f;
4912
4914
  u && o.splice(0, u + 1);
4913
4915
  }
4914
4916
  }, t;
4915
- }(Sn);
4916
- const Nr = [], Ir = {}, oa = (e, t = 0) => {
4917
- if (Nr.indexOf(e) == -1) {
4917
+ }(Bn);
4918
+ const Ir = [], Dr = {}, oa = (e, t = 0) => {
4919
+ if (Ir.indexOf(e) == -1) {
4918
4920
  const r = new ia(t);
4919
- Ir[e] = r, Nr.push(e);
4921
+ Dr[e] = r, Ir.push(e);
4920
4922
  }
4921
- return Ir[e];
4923
+ return Dr[e];
4922
4924
  };
4923
4925
  window.emWidgets = { topic: oa };
4924
4926
  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));
4927
+ String(Number.MAX_SAFE_INTEGER).length;
4925
4928
  function sa(e) {
4926
4929
  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}');
4927
4930
  }
4928
- function Dr(e, t, r) {
4931
+ function Ur(e, t, r) {
4929
4932
  const n = e.slice();
4930
- return n[60] = t[r], n;
4933
+ return n[61] = t[r], n;
4931
4934
  }
4932
- function Ur(e, t, r) {
4935
+ function Fr(e, t, r) {
4933
4936
  const n = e.slice();
4934
- return n[63] = t[r], n;
4937
+ return n[64] = t[r], n;
4935
4938
  }
4936
- function ua(e) {
4937
- let t, r, n, i, o, s, a, l, u, f, b, p, y = (
4939
+ function la(e) {
4940
+ let t, r, n, i, o, s, a, c, u, f, m, d, g = (
4938
4941
  /*showBalance*/
4939
- e[5] && Fr(e)
4942
+ e[5] && Gr(e)
4940
4943
  );
4941
4944
  return {
4942
4945
  c() {
4943
- t = V("button"), r = V("p"), n = Ae(
4946
+ t = X("button"), r = X("p"), n = Be(
4944
4947
  /*displayBalance*/
4945
4948
  e[7]
4946
- ), i = Te(), o = V("span"), s = dr("svg"), a = dr("path"), u = Te(), y && y.c(), f = Mn(), L(a, "id", "arrow"), L(a, "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(a, "transform", "translate(-274.511 -441.088)"), L(a, "fill", "#d1d1d1"), L(s, "xmlns", "http://www.w3.org/2000/svg"), L(s, "width", "14"), L(s, "height", "6.835"), L(s, "viewBox", "0 0 14 6.835"), L(o, "class", l = /*isModalDisplayed*/
4947
- e[4] ? "TriangleActive" : "TriangleInactive"), L(t, "class", "BalanceValue");
4949
+ ), i = Se(), o = X("span"), s = pr("svg"), a = pr("path"), u = Se(), g && g.c(), f = Mn(), R(a, "id", "arrow"), R(a, "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"), R(a, "transform", "translate(-274.511 -441.088)"), R(a, "fill", "#d1d1d1"), R(s, "xmlns", "http://www.w3.org/2000/svg"), R(s, "width", "14"), R(s, "height", "6.835"), R(s, "viewBox", "0 0 14 6.835"), R(o, "class", c = /*isModalDisplayed*/
4950
+ e[4] ? "TriangleActive" : "TriangleInactive"), R(t, "class", "BalanceValue");
4948
4951
  },
4949
- m(E, B) {
4950
- ve(E, t, B), M(t, r), M(r, n), M(t, i), M(t, o), M(o, s), M(s, a), ve(E, u, B), y && y.m(E, B), ve(E, f, B), b || (p = ot(
4952
+ m(v, S) {
4953
+ _e(v, t, S), I(t, r), I(r, n), I(t, i), I(t, o), I(o, s), I(s, a), _e(v, u, S), g && g.m(v, S), _e(v, f, S), m || (d = st(
4951
4954
  t,
4952
4955
  "click",
4953
4956
  /*click_handler*/
4954
- e[31]
4955
- ), b = !0);
4957
+ e[32]
4958
+ ), m = !0);
4956
4959
  },
4957
- p(E, B) {
4958
- B[0] & /*displayBalance*/
4960
+ p(v, S) {
4961
+ S[0] & /*displayBalance*/
4959
4962
  128 && Ne(
4960
4963
  n,
4961
4964
  /*displayBalance*/
4962
- E[7]
4963
- ), B[0] & /*isModalDisplayed*/
4964
- 16 && l !== (l = /*isModalDisplayed*/
4965
- E[4] ? "TriangleActive" : "TriangleInactive") && L(o, "class", l), /*showBalance*/
4966
- E[5] ? y ? y.p(E, B) : (y = Fr(E), y.c(), y.m(f.parentNode, f)) : y && (y.d(1), y = null);
4965
+ v[7]
4966
+ ), S[0] & /*isModalDisplayed*/
4967
+ 16 && c !== (c = /*isModalDisplayed*/
4968
+ v[4] ? "TriangleActive" : "TriangleInactive") && R(o, "class", c), /*showBalance*/
4969
+ v[5] ? g ? g.p(v, S) : (g = Gr(v), g.c(), g.m(f.parentNode, f)) : g && (g.d(1), g = null);
4967
4970
  },
4968
- d(E) {
4969
- E && (ye(t), ye(u), ye(f)), y && y.d(E), b = !1, p();
4971
+ d(v) {
4972
+ v && (ve(t), ve(u), ve(f)), g && g.d(v), m = !1, d();
4970
4973
  }
4971
4974
  };
4972
4975
  }
4973
- function la(e) {
4976
+ function ua(e) {
4974
4977
  let t, r = (
4975
4978
  /*$_*/
4976
4979
  e[8]("Loading") + ""
4977
4980
  ), n;
4978
4981
  return {
4979
4982
  c() {
4980
- t = V("p"), n = Ae(r), L(t, "class", "Loading");
4983
+ t = X("p"), n = Be(r), R(t, "class", "Loading");
4981
4984
  },
4982
4985
  m(i, o) {
4983
- ve(i, t, o), M(t, n);
4986
+ _e(i, t, o), I(t, n);
4984
4987
  },
4985
4988
  p(i, o) {
4986
4989
  o[0] & /*$_*/
@@ -4988,180 +4991,180 @@ function la(e) {
4988
4991
  i[8]("Loading") + "") && Ne(n, r);
4989
4992
  },
4990
4993
  d(i) {
4991
- i && ye(t);
4994
+ i && ve(t);
4992
4995
  }
4993
4996
  };
4994
4997
  }
4995
- function Fr(e) {
4996
- let t, r, n, i, o, s, a, l, u = (
4998
+ function Gr(e) {
4999
+ let t, r, n, i, o, s, a, c, u = (
4997
5000
  /*$_*/
4998
5001
  e[8]("Title") + ""
4999
- ), f, b, p, y, E, B, Q = (
5002
+ ), f, m, d, g, v, S, K = (
5000
5003
  /*$_*/
5001
5004
  e[8]("DepositButton") + ""
5002
- ), ne, oe, I, j, Z, ie, K, te = yt(Object.keys(
5005
+ ), oe, se, D, k, Y, ae, me, ee = Et(Object.keys(
5003
5006
  /*balances*/
5004
5007
  e[2]
5005
- )), X = [];
5006
- for (let P = 0; P < te.length; P += 1)
5007
- X[P] = kr(Dr(e, te, P));
5008
- let F = (
5008
+ )), G = [];
5009
+ for (let M = 0; M < ee.length; M += 1)
5010
+ G[M] = jr(Ur(e, ee, M));
5011
+ let $ = (
5009
5012
  /*balancelimitsbutton*/
5010
- e[0] === "true" && jr(e)
5013
+ e[0] === "true" && $r(e)
5011
5014
  );
5012
5015
  return {
5013
5016
  c() {
5014
- t = V("div"), r = V("button"), i = Te(), o = V("div"), s = V("div"), a = V("div"), l = V("p"), f = Ae(u), b = Te(), p = V("div");
5015
- for (let P = 0; P < X.length; P += 1)
5016
- X[P].c();
5017
- y = Te(), E = V("div"), B = V("button"), ne = Ae(Q), oe = Te(), F && F.c(), L(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5018
- (e[4] ? "Open" : "")), L(l, "class", "BalanceModalTitle"), L(a, "class", "BalanceModalHeader"), L(p, "class", "BalanceModalBody"), L(B, "class", "BalanceModalAction DepositButton"), L(E, "class", "BalanceModalFooter"), L(s, "class", I = "ModalContent " + /*isModalDisplayed*/
5019
- (e[4] ? "Open" : "")), L(o, "class", j = "BalanceModal " + /*isModalDisplayed*/
5020
- (e[4] ? "Open" : "")), L(t, "class", Z = "BalanceModalWrapper " + /*isModalDisplayed*/
5017
+ t = X("div"), r = X("button"), i = Se(), o = X("div"), s = X("div"), a = X("div"), c = X("p"), f = Be(u), m = Se(), d = X("div");
5018
+ for (let M = 0; M < G.length; M += 1)
5019
+ G[M].c();
5020
+ g = Se(), v = X("div"), S = X("button"), oe = Be(K), se = Se(), $ && $.c(), R(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5021
+ (e[4] ? "Open" : "")), R(c, "class", "BalanceModalTitle"), R(a, "class", "BalanceModalHeader"), R(d, "class", "BalanceModalBody"), R(S, "class", "BalanceModalAction DepositButton"), R(v, "class", "BalanceModalFooter"), R(s, "class", D = "ModalContent " + /*isModalDisplayed*/
5022
+ (e[4] ? "Open" : "")), R(o, "class", k = "BalanceModal " + /*isModalDisplayed*/
5023
+ (e[4] ? "Open" : "")), R(t, "class", Y = "BalanceModalWrapper " + /*isModalDisplayed*/
5021
5024
  (e[4] ? "Open" : ""));
5022
5025
  },
5023
- m(P, q) {
5024
- ve(P, 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, p);
5025
- for (let z = 0; z < X.length; z += 1)
5026
- X[z] && X[z].m(p, null);
5027
- M(s, y), M(s, E), M(E, B), M(B, ne), M(E, oe), F && F.m(E, null), ie || (K = [
5028
- ot(
5026
+ m(M, W) {
5027
+ _e(M, t, W), I(t, r), I(t, i), I(t, o), I(o, s), I(s, a), I(a, c), I(c, f), I(s, m), I(s, d);
5028
+ for (let z = 0; z < G.length; z += 1)
5029
+ G[z] && G[z].m(d, null);
5030
+ I(s, g), I(s, v), I(v, S), I(S, oe), I(v, se), $ && $.m(v, null), ae || (me = [
5031
+ st(
5029
5032
  r,
5030
5033
  "click",
5031
5034
  /*click_handler_1*/
5032
- e[32]
5035
+ e[33]
5033
5036
  ),
5034
- ot(
5035
- B,
5037
+ st(
5038
+ S,
5036
5039
  "click",
5037
5040
  /*click_handler_2*/
5038
- e[33]
5041
+ e[34]
5039
5042
  )
5040
- ], ie = !0);
5043
+ ], ae = !0);
5041
5044
  },
5042
- p(P, q) {
5043
- if (q[0] & /*isModalDisplayed*/
5045
+ p(M, W) {
5046
+ if (W[0] & /*isModalDisplayed*/
5044
5047
  16 && n !== (n = "BalanceModalClose " + /*isModalDisplayed*/
5045
- (P[4] ? "Open" : "")) && L(r, "class", n), q[0] & /*$_*/
5048
+ (M[4] ? "Open" : "")) && R(r, "class", n), W[0] & /*$_*/
5046
5049
  256 && u !== (u = /*$_*/
5047
- P[8]("Title") + "") && Ne(f, u), q[0] & /*balances, formatBalance, getProductType, $_*/
5050
+ M[8]("Title") + "") && Ne(f, u), W[0] & /*balances, formatBalance, getProductType, $_*/
5048
5051
  5380) {
5049
- te = yt(Object.keys(
5052
+ ee = Et(Object.keys(
5050
5053
  /*balances*/
5051
- P[2]
5054
+ M[2]
5052
5055
  ));
5053
5056
  let z;
5054
- for (z = 0; z < te.length; z += 1) {
5055
- const fe = Dr(P, te, z);
5056
- X[z] ? X[z].p(fe, q) : (X[z] = kr(fe), X[z].c(), X[z].m(p, null));
5057
+ for (z = 0; z < ee.length; z += 1) {
5058
+ const Le = Ur(M, ee, z);
5059
+ G[z] ? G[z].p(Le, W) : (G[z] = jr(Le), G[z].c(), G[z].m(d, null));
5057
5060
  }
5058
- for (; z < X.length; z += 1)
5059
- X[z].d(1);
5060
- X.length = te.length;
5061
+ for (; z < G.length; z += 1)
5062
+ G[z].d(1);
5063
+ G.length = ee.length;
5061
5064
  }
5062
- q[0] & /*$_*/
5063
- 256 && Q !== (Q = /*$_*/
5064
- P[8]("DepositButton") + "") && Ne(ne, Q), /*balancelimitsbutton*/
5065
- P[0] === "true" ? F ? F.p(P, q) : (F = jr(P), F.c(), F.m(E, null)) : F && (F.d(1), F = null), q[0] & /*isModalDisplayed*/
5066
- 16 && I !== (I = "ModalContent " + /*isModalDisplayed*/
5067
- (P[4] ? "Open" : "")) && L(s, "class", I), q[0] & /*isModalDisplayed*/
5068
- 16 && j !== (j = "BalanceModal " + /*isModalDisplayed*/
5069
- (P[4] ? "Open" : "")) && L(o, "class", j), q[0] & /*isModalDisplayed*/
5070
- 16 && Z !== (Z = "BalanceModalWrapper " + /*isModalDisplayed*/
5071
- (P[4] ? "Open" : "")) && L(t, "class", Z);
5065
+ W[0] & /*$_*/
5066
+ 256 && K !== (K = /*$_*/
5067
+ M[8]("DepositButton") + "") && Ne(oe, K), /*balancelimitsbutton*/
5068
+ M[0] === "true" ? $ ? $.p(M, W) : ($ = $r(M), $.c(), $.m(v, null)) : $ && ($.d(1), $ = null), W[0] & /*isModalDisplayed*/
5069
+ 16 && D !== (D = "ModalContent " + /*isModalDisplayed*/
5070
+ (M[4] ? "Open" : "")) && R(s, "class", D), W[0] & /*isModalDisplayed*/
5071
+ 16 && k !== (k = "BalanceModal " + /*isModalDisplayed*/
5072
+ (M[4] ? "Open" : "")) && R(o, "class", k), W[0] & /*isModalDisplayed*/
5073
+ 16 && Y !== (Y = "BalanceModalWrapper " + /*isModalDisplayed*/
5074
+ (M[4] ? "Open" : "")) && R(t, "class", Y);
5072
5075
  },
5073
- d(P) {
5074
- P && ye(t), Wr(X, P), F && F.d(), ie = !1, qe(K);
5076
+ d(M) {
5077
+ M && ve(t), Zr(G, M), $ && $.d(), ae = !1, Ye(me);
5075
5078
  }
5076
5079
  };
5077
5080
  }
5078
- function Gr(e) {
5081
+ function kr(e) {
5079
5082
  let t, r, n = (
5080
5083
  /*$_*/
5081
5084
  e[8](
5082
5085
  /*k*/
5083
- e[60]
5086
+ e[61]
5084
5087
  ) + ""
5085
5088
  ), i, o, s = (
5086
5089
  /*getProductType*/
5087
5090
  e[12](
5088
5091
  /*balance*/
5089
- e[63]
5092
+ e[64]
5090
5093
  ) + ""
5091
- ), a, l, u, f, b = (
5094
+ ), a, c, u, f, m = (
5092
5095
  /*formatBalance*/
5093
5096
  e[10](
5094
5097
  /*balance*/
5095
- e[63].amount
5098
+ e[64].amount
5096
5099
  ) + ""
5097
- ), p;
5100
+ ), d;
5098
5101
  return {
5099
5102
  c() {
5100
- t = V("div"), r = V("p"), i = Ae(n), o = Te(), a = Ae(s), l = Te(), u = V("p"), f = V("span"), p = Ae(b), L(r, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(u, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5103
+ t = X("div"), r = X("p"), i = Be(n), o = Se(), a = Be(s), c = Se(), u = X("p"), f = X("span"), d = Be(m), R(r, "class", "BalanceModalText"), R(f, "class", "BalanceModalAmount"), R(u, "class", "BalanceModalValue"), R(t, "class", "BalanceModalRowLine");
5101
5104
  },
5102
- m(y, E) {
5103
- ve(y, t, E), M(t, r), M(r, i), M(r, o), M(r, a), M(t, l), M(t, u), M(u, f), M(f, p);
5105
+ m(g, v) {
5106
+ _e(g, t, v), I(t, r), I(r, i), I(r, o), I(r, a), I(t, c), I(t, u), I(u, f), I(f, d);
5104
5107
  },
5105
- p(y, E) {
5106
- E[0] & /*$_, balances*/
5108
+ p(g, v) {
5109
+ v[0] & /*$_, balances*/
5107
5110
  260 && n !== (n = /*$_*/
5108
- y[8](
5111
+ g[8](
5109
5112
  /*k*/
5110
- y[60]
5111
- ) + "") && Ne(i, n), E[0] & /*balances*/
5113
+ g[61]
5114
+ ) + "") && Ne(i, n), v[0] & /*balances*/
5112
5115
  4 && s !== (s = /*getProductType*/
5113
- y[12](
5116
+ g[12](
5114
5117
  /*balance*/
5115
- y[63]
5116
- ) + "") && Ne(a, s), E[0] & /*balances*/
5117
- 4 && b !== (b = /*formatBalance*/
5118
- y[10](
5118
+ g[64]
5119
+ ) + "") && Ne(a, s), v[0] & /*balances*/
5120
+ 4 && m !== (m = /*formatBalance*/
5121
+ g[10](
5119
5122
  /*balance*/
5120
- y[63].amount
5121
- ) + "") && Ne(p, b);
5123
+ g[64].amount
5124
+ ) + "") && Ne(d, m);
5122
5125
  },
5123
- d(y) {
5124
- y && ye(t);
5126
+ d(g) {
5127
+ g && ve(t);
5125
5128
  }
5126
5129
  };
5127
5130
  }
5128
- function kr(e) {
5129
- let t, r, n = yt(
5131
+ function jr(e) {
5132
+ let t, r, n = Et(
5130
5133
  /*balances*/
5131
5134
  e[2][
5132
5135
  /*k*/
5133
- e[60]
5136
+ e[61]
5134
5137
  ]
5135
5138
  ), i = [];
5136
5139
  for (let o = 0; o < n.length; o += 1)
5137
- i[o] = Gr(Ur(e, n, o));
5140
+ i[o] = kr(Fr(e, n, o));
5138
5141
  return {
5139
5142
  c() {
5140
- t = V("div");
5143
+ t = X("div");
5141
5144
  for (let o = 0; o < i.length; o += 1)
5142
5145
  i[o].c();
5143
- r = Te(), L(t, "class", "BalanceModalRowBoth");
5146
+ r = Se(), R(t, "class", "BalanceModalRowBoth");
5144
5147
  },
5145
5148
  m(o, s) {
5146
- ve(o, t, s);
5149
+ _e(o, t, s);
5147
5150
  for (let a = 0; a < i.length; a += 1)
5148
5151
  i[a] && i[a].m(t, null);
5149
- M(t, r);
5152
+ I(t, r);
5150
5153
  },
5151
5154
  p(o, s) {
5152
5155
  if (s[0] & /*formatBalance, balances, getProductType, $_*/
5153
5156
  5380) {
5154
- n = yt(
5157
+ n = Et(
5155
5158
  /*balances*/
5156
5159
  o[2][
5157
5160
  /*k*/
5158
- o[60]
5161
+ o[61]
5159
5162
  ]
5160
5163
  );
5161
5164
  let a;
5162
5165
  for (a = 0; a < n.length; a += 1) {
5163
- const l = Ur(o, n, a);
5164
- i[a] ? i[a].p(l, s) : (i[a] = Gr(l), i[a].c(), i[a].m(t, r));
5166
+ const c = Fr(o, n, a);
5167
+ i[a] ? i[a].p(c, s) : (i[a] = kr(c), i[a].c(), i[a].m(t, r));
5165
5168
  }
5166
5169
  for (; a < i.length; a += 1)
5167
5170
  i[a].d(1);
@@ -5169,25 +5172,25 @@ function kr(e) {
5169
5172
  }
5170
5173
  },
5171
5174
  d(o) {
5172
- o && ye(t), Wr(i, o);
5175
+ o && ve(t), Zr(i, o);
5173
5176
  }
5174
5177
  };
5175
5178
  }
5176
- function jr(e) {
5179
+ function $r(e) {
5177
5180
  let t, r = (
5178
5181
  /*$_*/
5179
5182
  e[8]("LimitsButton") + ""
5180
5183
  ), n, i, o;
5181
5184
  return {
5182
5185
  c() {
5183
- t = V("button"), n = Ae(r), L(t, "class", "BalanceModalAction LimitsButton");
5186
+ t = X("button"), n = Be(r), R(t, "class", "BalanceModalAction LimitsButton");
5184
5187
  },
5185
5188
  m(s, a) {
5186
- ve(s, t, a), M(t, n), i || (o = ot(
5189
+ _e(s, t, a), I(t, n), i || (o = st(
5187
5190
  t,
5188
5191
  "click",
5189
5192
  /*click_handler_3*/
5190
- e[34]
5193
+ e[35]
5191
5194
  ), i = !0);
5192
5195
  },
5193
5196
  p(s, a) {
@@ -5196,27 +5199,27 @@ function jr(e) {
5196
5199
  s[8]("LimitsButton") + "") && Ne(n, r);
5197
5200
  },
5198
5201
  d(s) {
5199
- s && ye(t), i = !1, o();
5202
+ s && ve(t), i = !1, o();
5200
5203
  }
5201
5204
  };
5202
5205
  }
5203
- function $r(e) {
5206
+ function Vr(e) {
5204
5207
  let t, r, n;
5205
5208
  return {
5206
5209
  c() {
5207
- t = V("button"), L(t, "class", "ShowBalanceModalOverlay");
5210
+ t = X("button"), R(t, "class", "ShowBalanceModalOverlay");
5208
5211
  },
5209
5212
  m(i, o) {
5210
- ve(i, t, o), r || (n = ot(
5213
+ _e(i, t, o), r || (n = st(
5211
5214
  t,
5212
5215
  "click",
5213
5216
  /*click_handler_4*/
5214
- e[35]
5217
+ e[36]
5215
5218
  ), r = !0);
5216
5219
  },
5217
- p: ge,
5220
+ p: ye,
5218
5221
  d(i) {
5219
- i && ye(t), r = !1, n();
5222
+ i && ve(t), r = !1, n();
5220
5223
  }
5221
5224
  };
5222
5225
  }
@@ -5225,44 +5228,44 @@ function ca(e) {
5225
5228
  function o(u, f) {
5226
5229
  return (
5227
5230
  /*isLoading*/
5228
- u[3] ? la : ua
5231
+ u[3] ? ua : la
5229
5232
  );
5230
5233
  }
5231
- let s = o(e), a = s(e), l = (
5234
+ let s = o(e), a = s(e), c = (
5232
5235
  /*showBalance*/
5233
- e[5] && $r(e)
5236
+ e[5] && Vr(e)
5234
5237
  );
5235
5238
  return {
5236
5239
  c() {
5237
- t = V("div"), r = V("div"), a.c(), i = Te(), l && l.c(), L(r, "class", n = "ShowBalance " + /*mobileView*/
5240
+ t = X("div"), r = X("div"), a.c(), i = Se(), c && c.c(), R(r, "class", n = "ShowBalance " + /*mobileView*/
5238
5241
  (e[6] ? "Mobile" : ""));
5239
5242
  },
5240
5243
  m(u, f) {
5241
- ve(u, t, f), M(t, r), a.m(r, null), M(t, i), l && l.m(t, null), e[36](t);
5244
+ _e(u, t, f), I(t, r), a.m(r, null), I(t, i), c && c.m(t, null), e[37](t);
5242
5245
  },
5243
5246
  p(u, f) {
5244
5247
  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*/
5245
5248
  64 && n !== (n = "ShowBalance " + /*mobileView*/
5246
- (u[6] ? "Mobile" : "")) && L(r, "class", n), /*showBalance*/
5247
- u[5] ? l ? l.p(u, f) : (l = $r(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5249
+ (u[6] ? "Mobile" : "")) && R(r, "class", n), /*showBalance*/
5250
+ u[5] ? c ? c.p(u, f) : (c = Vr(u), c.c(), c.m(t, null)) : c && (c.d(1), c = null);
5248
5251
  },
5249
- i: ge,
5250
- o: ge,
5252
+ i: ye,
5253
+ o: ye,
5251
5254
  d(u) {
5252
- u && ye(t), a.d(), l && l.d(), e[36](null);
5255
+ u && ve(t), a.d(), c && c.d(), e[37](null);
5253
5256
  }
5254
5257
  };
5255
5258
  }
5256
5259
  function ha(e, t, r) {
5257
5260
  let n;
5258
- Hn(e, $o, (h) => r(8, n = h));
5259
- 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: p = "gm16" } = t, { displaybalanceoption: y = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { primarybalancemode: B } = t, { balancelimitsbutton: Q = "false" } = t, { hideproducttype: ne = "" } = t, { currencylocale: oe = "en" } = t, { currencydisplay: I = "symbol" } = t, { maximumfractiondigits: j = "2" } = t, { minimumfractiondigits: Z = "0" } = t, { customdisplayformat: ie = "" } = t, K, te = !0, X = !1, F = !1, P = !1, q = !1, z = window.navigator.userAgent, fe, Ce = "", me = [], le, He = "0";
5260
- const _ = {}, Oe = ["totalCashAmount", "totalRealAmount"], _e = () => {
5261
- fetch(b).then((h) => h.json()).then((h) => Object.keys(h).forEach((d) => Cr(d, h[d]))).catch((h) => console.log(h));
5261
+ Hn(e, $o, (l) => r(8, n = l));
5262
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: c = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: g = "All" } = t, { totalcalculationmode: v = "totalCashAmount" } = t, { primarybalancemode: S } = t, { balancelimitsbutton: K = "false" } = t, { hideproducttype: oe = "" } = t, { currencylocale: se = "en" } = t, { currencydisplay: D = "symbol" } = t, { maximumfractiondigits: k = "2" } = t, { minimumfractiondigits: Y = "0" } = t, { customdisplayformat: ae = "" } = t, { alwaysshowdecimals: me = "true" } = t, ee, G = !0, $ = !1, M = !1, W = !1, z = !1, Le = window.navigator.userAgent, Te, Ee = "", ne = [], be, Re = "0";
5263
+ const _ = {}, fe = ["totalCashAmount", "totalRealAmount"], et = () => {
5264
+ fetch(m).then((l) => l.json()).then((l) => Object.keys(l).forEach((y) => Hr(y, l[y]))).catch((l) => console.log(l));
5262
5265
  };
5263
- Object.keys(Hr).forEach((h) => Cr(h, Hr[h]));
5264
- const Ee = (h) => {
5265
- switch (h) {
5266
+ Object.keys(Or).forEach((l) => Hr(l, Or[l]));
5267
+ const Ae = (l) => {
5268
+ switch (l) {
5266
5269
  case "balance":
5267
5270
  window.postMessage(
5268
5271
  {
@@ -5270,10 +5273,10 @@ function ha(e, t, r) {
5270
5273
  status: "open"
5271
5274
  },
5272
5275
  window.location.href
5273
- ), r(5, P = !0), setTimeout(() => r(4, X = !0), 150);
5276
+ ), r(5, W = !0), setTimeout(() => r(4, $ = !0), 150);
5274
5277
  break;
5275
5278
  case "closebalance":
5276
- r(4, X = !1), window.postMessage(
5279
+ r(4, $ = !1), window.postMessage(
5277
5280
  {
5278
5281
  type: "BalanceModalStatus",
5279
5282
  status: "close"
@@ -5281,66 +5284,72 @@ function ha(e, t, r) {
5281
5284
  window.location.href
5282
5285
  ), setTimeout(
5283
5286
  () => {
5284
- r(5, P = !1);
5287
+ r(5, W = !1);
5285
5288
  },
5286
5289
  150
5287
5290
  );
5288
5291
  break;
5289
5292
  }
5290
- }, Ue = (h) => {
5291
- if (ie)
5292
- return Ct(h);
5293
- const d = oe || a, v = {
5293
+ }, tt = (l) => {
5294
+ if (ae)
5295
+ return Lt(l);
5296
+ const y = se || a, x = {
5294
5297
  style: "currency",
5295
- currency: Ce,
5298
+ currency: Ee,
5296
5299
  useGrouping: !0,
5297
- currencyDisplay: I || "code",
5298
- maximumFractionDigits: j === "" || isNaN(Number(j)) ? 2 : Number(j),
5299
- minimumFractionDigits: Z === "" || isNaN(Number(Z)) ? 0 : Number(Z)
5300
+ currencyDisplay: D || "code",
5301
+ maximumFractionDigits: k === "" || isNaN(Number(k)) ? 2 : Number(k),
5302
+ minimumFractionDigits: Y === "" || isNaN(Number(Y)) ? 0 : Number(Y)
5300
5303
  };
5301
- return new Intl.NumberFormat(d, v).format(h);
5302
- }, Ct = (h) => {
5303
- const d = [];
5304
- let v = "";
5305
- for (const S of ie)
5306
- switch (S) {
5304
+ return new Intl.NumberFormat(y, x).format(l);
5305
+ }, Lt = (l) => {
5306
+ const y = [];
5307
+ let x = "";
5308
+ for (const B of ae)
5309
+ switch (B) {
5307
5310
  default:
5308
- v += S;
5311
+ x += B;
5309
5312
  break;
5310
5313
  case "{":
5311
- v && d.push(v), v = "";
5314
+ x && y.push(x), x = "";
5312
5315
  break;
5313
5316
  case "}":
5314
- const [U, N] = v.split("|");
5315
- if (v = "", U.toLowerCase() === "currency")
5316
- v = Ce;
5317
- else if (U.toLowerCase() === "amount") {
5318
- let T = ",", k = ".", he = 2;
5319
- N && (N[0] !== " " && (T = N[0]), N[1] !== " " && (k = N[1]), N[2] !== " " && !isNaN(Number(N[2])) && (he = Number(N[2])));
5320
- let [we, be] = String(Math.floor(h * 10 ** he) / 10 ** he).split(".");
5321
- v += we[0];
5322
- for (let Se = 1; Se < we.length; ++Se)
5323
- (we.length - Se) % 3 === 0 ? v += T + we[Se] : v += we[Se];
5324
- be && (v += k + be);
5317
+ const [H, P] = x.split("|");
5318
+ if (x = "", H.toLowerCase() === "currency")
5319
+ x = Ee;
5320
+ else if (H.toLowerCase() === "amount") {
5321
+ let A = ",", Q = ".", ge = 2;
5322
+ P && (P[0] !== " " && (A = P[0]), P[1] !== " " && (Q = P[1]), P[2] !== " " && !isNaN(Number(P[2])) && (ge = Number(P[2])));
5323
+ let [ue, Ge] = String(Math.floor(l * 10 ** ge) / 10 ** ge).split(".");
5324
+ x += ue[0];
5325
+ for (let De = 1; De < ue.length; ++De)
5326
+ (ue.length - De) % 3 === 0 ? x += A + ue[De] : x += ue[De];
5327
+ let J = Ge || "";
5328
+ const nt = me === "true", xe = Number(k);
5329
+ if (nt)
5330
+ J = J.padEnd(xe || 2, "0").substring(0, xe);
5331
+ else if (!J)
5332
+ break;
5333
+ x += Q + J;
5325
5334
  }
5326
- v && d.push(v), v = "";
5335
+ x && y.push(x), x = "";
5327
5336
  break;
5328
5337
  }
5329
- return d.push(v), d.join("");
5330
- }, Ht = async () => {
5331
- r(3, te = !0);
5332
- const h = new URL(`${s}/v1/player/${i}/account`);
5338
+ return y.push(x), y.join("");
5339
+ }, Rt = async () => {
5340
+ r(3, G = !0);
5341
+ const l = new URL(`${s}/v1/player/${i}/account`);
5333
5342
  try {
5334
- const d = await fetch(h, {
5343
+ const y = await fetch(l, {
5335
5344
  method: "GET",
5336
5345
  headers: { "X-SessionID": o }
5337
- }), v = await d.json();
5338
- if (d.ok)
5339
- window.postMessage({ type: "BalancedFetched" }, window.location.href), me = v.items, Ce = me.find((S) => S.displayName === "Casino")?.currency, r(2, _.Total = [{ amount: v.totalAmount[Ce] }], _), r(
5346
+ }), x = await y.json();
5347
+ if (y.ok)
5348
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), ne = x.items, Ee = ne.find((B) => B.displayName === "Casino")?.currency, r(2, _.Total = [{ amount: x.totalAmount[Ee] }], _), r(
5340
5349
  2,
5341
5350
  _.Real = [
5342
5351
  {
5343
- amount: me.find((S) => S.displayName === "Casino")?.balanceAmount
5352
+ amount: ne.find((B) => B.displayName === "Casino")?.balanceAmount
5344
5353
  }
5345
5354
  ],
5346
5355
  _
@@ -5348,46 +5357,46 @@ function ha(e, t, r) {
5348
5357
  2,
5349
5358
  _.Bonus = [
5350
5359
  {
5351
- amount: me.find((S) => S.displayName === "UBS")?.balanceAmount
5360
+ amount: ne.find((B) => B.displayName === "UBS")?.balanceAmount
5352
5361
  }
5353
5362
  ],
5354
5363
  _
5355
5364
  );
5356
5365
  else
5357
5366
  throw new Error("Failed to fetch balance data !");
5358
- } catch (d) {
5359
- console.log("Balance error: ", d);
5367
+ } catch (y) {
5368
+ console.log("Balance error: ", y);
5360
5369
  } finally {
5361
- r(3, te = !1);
5370
+ r(3, G = !1);
5362
5371
  }
5363
- }, Ot = () => {
5364
- r(3, te = !0);
5365
- const h = new URL(`${s}/v2/player/${i}/balance`), d = new Headers();
5366
- d.append("X-SessionID", o), fetch(h, { method: "GET", headers: d }).then((S) => S.json()).then((S) => {
5367
- S[E] || r(13, E = Oe[0]);
5368
- const U = S.items.find((T) => T.type === "Real" && T.walletAccountType === "Ordinary");
5369
- if (Ce = U.currency, F = !!U.productType, r(2, _.Total = [{ amount: 0 }], _), r(2, _.Real = [], _), r(2, _.Bonus = [], _), r(2, _.Credit = [], _), !F) {
5370
- le = {
5372
+ }, Mt = () => {
5373
+ r(3, G = !0);
5374
+ const l = new URL(`${s}/v2/player/${i}/balance`), y = new Headers();
5375
+ y.append("X-SessionID", o), fetch(l, { method: "GET", headers: y }).then((B) => B.json()).then((B) => {
5376
+ B[v] || r(13, v = fe[0]);
5377
+ const H = B.items.find((A) => A.type === "Real" && A.walletAccountType === "Ordinary");
5378
+ if (Ee = H.currency, M = !!H.productType, r(2, _.Total = [{ amount: 0 }], _), r(2, _.Real = [], _), r(2, _.Bonus = [], _), r(2, _.Credit = [], _), !M) {
5379
+ be = {
5371
5380
  lastOrdinaryAfterAmount: 0,
5372
5381
  showCreditLineAfterAmount: !1
5373
- }, r(2, _.Total[0].amount = S[E][Ce], _);
5374
- for (const T of S.items)
5375
- switch (T.type) {
5382
+ }, r(2, _.Total[0].amount = B[v][Ee], _);
5383
+ for (const A of B.items)
5384
+ switch (A.type) {
5376
5385
  case "Bonus":
5377
- _.Bonus.length === 0 ? _.Bonus.push({ amount: T.amount }) : r(2, _.Bonus[0].amount += T.amount, _);
5386
+ _.Bonus.length === 0 ? _.Bonus.push({ amount: A.amount }) : r(2, _.Bonus[0].amount += A.amount, _);
5378
5387
  break;
5379
5388
  case "Real":
5380
- if (T.creditLine && _.Credit.length === 0 && _.Credit.push({ amount: T.creditLine }), E === "totalRealAmount")
5389
+ if (A.creditLine && _.Credit.length === 0 && _.Credit.push({ amount: A.creditLine }), v === "totalRealAmount")
5381
5390
  continue;
5382
- _.Real.length === 0 ? _.Real.push({ amount: T.amount }) : r(2, _.Real[0].amount += T.amount, _);
5391
+ _.Real.length === 0 ? _.Real.push({ amount: A.amount }) : r(2, _.Real[0].amount += A.amount, _);
5383
5392
  break;
5384
5393
  }
5385
- for (const [T, k] of Object.entries(_))
5386
- k.length < 1 && delete _[T];
5387
- r(3, te = !1);
5394
+ for (const [A, Q] of Object.entries(_))
5395
+ Q.length < 1 && delete _[A];
5396
+ r(3, G = !1);
5388
5397
  return;
5389
5398
  }
5390
- le = {
5399
+ be = {
5391
5400
  Casino: {
5392
5401
  lastOrdinaryAfterAmount: 0,
5393
5402
  showCreditLineAfterAmount: !1
@@ -5397,124 +5406,124 @@ function ha(e, t, r) {
5397
5406
  showCreditLineAfterAmount: !1
5398
5407
  }
5399
5408
  };
5400
- let N = S.items;
5401
- y && y !== "All" && (N = S.items.filter((T) => T.productType === y));
5402
- for (const T of N) {
5403
- let k;
5404
- switch (T.type) {
5409
+ let P = B.items;
5410
+ g && g !== "All" && (P = B.items.filter((A) => A.productType === g));
5411
+ for (const A of P) {
5412
+ let Q;
5413
+ switch (A.type) {
5405
5414
  case "Bonus":
5406
- k = _.Bonus.findIndex((he) => he.productType === T.productType), k > 0 ? r(2, _.Bonus[k].amount += T.amount, _) : _.Bonus.push({
5407
- amount: T.amount,
5408
- productType: T.productType
5415
+ Q = _.Bonus.findIndex((ge) => ge.productType === A.productType), Q > 0 ? r(2, _.Bonus[Q].amount += A.amount, _) : _.Bonus.push({
5416
+ amount: A.amount,
5417
+ productType: A.productType
5409
5418
  });
5410
5419
  break;
5411
5420
  case "Real":
5412
- T.creditLine && _.Credit.push({
5413
- amount: T.creditLine,
5414
- productType: T.productType
5415
- }), k = _.Real.findIndex((he) => he.productType === T.productType), k > 0 ? r(2, _.Real[k].amount += T.amount, _) : _.Real.push({
5416
- amount: T.amount,
5417
- productType: T.productType
5421
+ A.creditLine && _.Credit.push({
5422
+ amount: A.creditLine,
5423
+ productType: A.productType
5424
+ }), Q = _.Real.findIndex((ge) => ge.productType === A.productType), Q > 0 ? r(2, _.Real[Q].amount += A.amount, _) : _.Real.push({
5425
+ amount: A.amount,
5426
+ productType: A.productType
5418
5427
  });
5419
5428
  break;
5420
5429
  }
5421
5430
  }
5422
- ce();
5423
- for (const [T, k] of Object.entries(_))
5424
- k.length < 1 && delete _[T];
5425
- window.postMessage({ type: "playerBalanceInfo", balance: S }, window.location.href), r(3, te = !1);
5426
- }).catch((S) => {
5427
- throw r(3, te = !1), console.log("Balance fetch error", S), new Error("Failed to fetch balance data!");
5431
+ dt();
5432
+ for (const [A, Q] of Object.entries(_))
5433
+ Q.length < 1 && delete _[A];
5434
+ window.postMessage({ type: "playerBalanceInfo", balance: B }, window.location.href), r(3, G = !1);
5435
+ }).catch((B) => {
5436
+ throw r(3, G = !1), console.log("Balance fetch error", B), new Error("Failed to fetch balance data!");
5428
5437
  });
5429
- }, Ke = () => {
5430
- if (fe && fe.close(), o.length < 1)
5438
+ }, Ie = () => {
5439
+ if (Te && Te.close(), o.length < 1)
5431
5440
  return;
5432
- let h, d;
5433
- switch (p) {
5441
+ let l, y;
5442
+ switch (d) {
5434
5443
  case "gm16":
5435
- h = new URL(`${s}/v2/player/${i}/information/updates`), d = (U) => Lt(U);
5444
+ l = new URL(`${s}/v2/player/${i}/information/updates`), y = (H) => Pt(H);
5436
5445
  break;
5437
5446
  case "gmcore":
5438
- h = new URL(`${s}/v1/player/${i}/balance/updates`), d = (U) => et(U);
5447
+ l = new URL(`${s}/v1/player/${i}/balance/updates`), y = (H) => Me(H);
5439
5448
  break;
5440
5449
  }
5441
- const v = {
5450
+ const x = {
5442
5451
  accept: "text/event-stream",
5443
5452
  "X-SessionId": o
5444
- }, S = new Xo.EventSourcePolyfill(h, { headers: v });
5445
- fe = S, S.addEventListener("message", d);
5446
- }, Fe = (h) => {
5447
- let d;
5453
+ }, B = new Xo.EventSourcePolyfill(l, { headers: x });
5454
+ Te = B, B.addEventListener("message", y);
5455
+ }, Fe = (l) => {
5456
+ let y;
5448
5457
  try {
5449
- d = JSON.parse(h);
5450
- } catch (v) {
5451
- console.log("Balance stream failed: ", v);
5458
+ y = JSON.parse(l);
5459
+ } catch (x) {
5460
+ console.log("Balance stream failed: ", x);
5452
5461
  return;
5453
5462
  }
5454
- return d;
5455
- }, et = (h) => {
5456
- const d = Fe(h.data);
5457
- if (!d) {
5458
- Ke();
5463
+ return y;
5464
+ }, Me = (l) => {
5465
+ const y = Fe(l.data);
5466
+ if (!y) {
5467
+ Ie();
5459
5468
  return;
5460
5469
  }
5461
- let v = "0";
5462
- const S = d.balanceChange;
5463
- me = me.map((U) => (S && S[U.id] && (U = {
5464
- ...U,
5465
- balanceAmount: S[U.id].afterAmount
5466
- }), v = (parseFloat(U?.balanceAmount) + parseFloat(v)).toString(), U)), r(2, _.Real = [{ amount: me[0]?.balanceAmount }], _), r(2, _.Bonus = [{ amount: me[1]?.balanceAmount }], _), r(2, _.Total = [{ amount: Number(v) }], _);
5467
- }, xe = (h, d, v) => {
5468
- let S = null;
5469
- switch (v.walletAccountType) {
5470
+ let x = "0";
5471
+ const B = y.balanceChange;
5472
+ ne = ne.map((H) => (B && B[H.id] && (H = {
5473
+ ...H,
5474
+ balanceAmount: B[H.id].afterAmount
5475
+ }), x = (parseFloat(H?.balanceAmount) + parseFloat(x)).toString(), H)), r(2, _.Real = [{ amount: ne[0]?.balanceAmount }], _), r(2, _.Bonus = [{ amount: ne[1]?.balanceAmount }], _), r(2, _.Total = [{ amount: Number(x) }], _);
5476
+ }, le = (l, y, x) => {
5477
+ let B = null;
5478
+ switch (x.walletAccountType) {
5470
5479
  case "Ordinary":
5471
- (v.afterAmount !== v.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = v.afterAmount, d.showCreditLineAfterAmount || (S = v.afterAmount));
5480
+ (x.afterAmount !== x.affectedAmount || y.lastOrdinaryAfterAmount === 0) && (y.lastOrdinaryAfterAmount = x.afterAmount, y.showCreditLineAfterAmount || (B = x.afterAmount));
5472
5481
  break;
5473
5482
  case "CreditLine":
5474
- v.afterAmount !== 0 ? (S = v.afterAmount, d.showCreditLineAfterAmount = !0) : (S = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
5483
+ x.afterAmount !== 0 ? (B = x.afterAmount, y.showCreditLineAfterAmount = !0) : (B = y.lastOrdinaryAfterAmount, y.showCreditLineAfterAmount = !1);
5475
5484
  break;
5476
5485
  default:
5477
- S = v.afterAmount;
5486
+ B = x.afterAmount;
5478
5487
  }
5479
- return S === null ? h : S;
5480
- }, ce = () => {
5481
- switch (E) {
5488
+ return B === null ? l : B;
5489
+ }, dt = () => {
5490
+ switch (v) {
5482
5491
  case "totalCashAmount":
5483
- let h = 0;
5484
- for (const v of ["Real", "Bonus"])
5485
- for (const S of _[v])
5486
- h += Math.max(S.amount, 0);
5487
- r(2, _.Total[0].amount = h, _);
5492
+ let l = 0;
5493
+ for (const x of ["Real", "Bonus"])
5494
+ for (const B of _[x])
5495
+ l += Math.max(B.amount, 0);
5496
+ r(2, _.Total[0].amount = l, _);
5488
5497
  break;
5489
5498
  case "totalRealAmount":
5490
- if (!F)
5499
+ if (!M)
5491
5500
  return;
5492
- let d = 0;
5493
- for (const v of _.Real)
5494
- d += v.amount;
5495
- r(2, _.Total[0].amount = d, _);
5501
+ let y = 0;
5502
+ for (const x of _.Real)
5503
+ y += x.amount;
5504
+ r(2, _.Total[0].amount = y, _);
5496
5505
  }
5497
- }, Lt = (h) => {
5498
- const d = Fe(h.data);
5499
- if (!d) {
5500
- Ke();
5506
+ }, Pt = (l) => {
5507
+ const y = Fe(l.data);
5508
+ if (!y) {
5509
+ Ie();
5501
5510
  return;
5502
5511
  }
5503
- if (Rt(d?.type) || d.type !== "BALANCE_UPDATE_V2")
5512
+ if (pt(y?.type) || y.type !== "BALANCE_UPDATE_V2")
5504
5513
  return;
5505
- const v = d.body.balanceChange;
5506
- for (const [S, U] of Object.entries(v))
5507
- if (E === "totalRealAmount" && S === "Real" && !F && r(2, _.Total[0].amount = xe(_.Total[0].amount, le, U), _), !!_[S])
5508
- for (const N of _[S]) {
5509
- if (!F) {
5510
- N.amount = S === "Real" ? xe(N.amount, le, U) : U.afterAmount;
5514
+ const x = y.body.balanceChange;
5515
+ for (const [B, H] of Object.entries(x))
5516
+ if (v === "totalRealAmount" && B === "Real" && !M && r(2, _.Total[0].amount = le(_.Total[0].amount, be, H), _), !!_[B])
5517
+ for (const P of _[B]) {
5518
+ if (!M) {
5519
+ P.amount = B === "Real" ? le(P.amount, be, H) : H.afterAmount;
5511
5520
  continue;
5512
5521
  }
5513
- U.productType === N.productType && (N.amount = S === "Real" ? xe(N.amount, le[N.productType], U) : U.afterAmount);
5522
+ H.productType === P.productType && (P.amount = B === "Real" ? le(P.amount, be[P.productType], H) : H.afterAmount);
5514
5523
  }
5515
- ce();
5516
- }, tt = (h) => {
5517
- switch (Ee("closebalance"), h) {
5524
+ dt();
5525
+ }, rt = (l) => {
5526
+ switch (Ae("closebalance"), l) {
5518
5527
  case "deposit":
5519
5528
  window.postMessage({ type: "GoToDeposit" }, window.location.href);
5520
5529
  break;
@@ -5523,101 +5532,102 @@ function ha(e, t, r) {
5523
5532
  break;
5524
5533
  }
5525
5534
  typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5526
- }, Rt = (h) => h === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, ht = () => {
5527
- Oe.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${Oe}. Using default value ('${Oe[0]}').`), r(13, E = Oe[0]));
5528
- }, c = () => {
5529
- switch (Vo(a), ht(), p) {
5535
+ }, pt = (l) => l === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, h = () => {
5536
+ fe.includes(v) || (console.error(`Unsupported value ('${v}') for totalcalculationmode parameter. Only the following values are supported ${fe}. Using default value ('${fe[0]}').`), r(13, v = fe[0]));
5537
+ }, b = () => {
5538
+ switch (Vo(a), h(), d) {
5530
5539
  case "gmcore":
5531
- Ht();
5540
+ Rt();
5532
5541
  break;
5533
5542
  case "gm16":
5534
- Ot();
5543
+ Mt();
5535
5544
  break;
5536
5545
  default:
5537
- throw Error(`Invalid apiversion attribute: ${p}`);
5546
+ throw Error(`Invalid apiversion attribute: ${d}`);
5538
5547
  }
5539
- }, g = (h) => {
5540
- const { data: { type: d } = {} } = h || {};
5541
- switch (d) {
5548
+ }, E = (l) => {
5549
+ const { data: { type: y } = {} } = l || {};
5550
+ switch (y) {
5542
5551
  case "LogoutSuccessfull":
5543
- fe.close();
5552
+ Te.close();
5544
5553
  break;
5545
5554
  case "CloseBalance":
5546
- Ee("closebalance");
5555
+ Ae("closebalance");
5547
5556
  break;
5548
5557
  }
5549
- }, x = () => {
5558
+ }, p = () => {
5550
5559
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5551
- }, m = (h) => {
5552
- const d = ne.split(",").map((v) => v.trim());
5553
- return !h.productType || d.includes(h.productType) ? "" : n(h.productType);
5560
+ }, T = (l) => {
5561
+ const y = oe.split(",").map((x) => x.trim());
5562
+ return !l.productType || y.includes(l.productType) ? "" : n(l.productType);
5554
5563
  };
5555
- Dn(() => (window.addEventListener("message", g, !1), r(6, q = aa(z)), () => {
5556
- window.removeEventListener("message", g), fe && fe.close();
5564
+ Dn(() => (window.addEventListener("message", E, !1), r(6, z = aa(Le)), () => {
5565
+ window.removeEventListener("message", E), Te && Te.close();
5557
5566
  }));
5558
- const A = () => Ee("balance"), w = () => Ee("closebalance"), C = () => tt("deposit"), G = () => tt("limits"), H = () => Ee("closebalance");
5559
- function D(h) {
5560
- $t[h ? "unshift" : "push"](() => {
5561
- K = h, r(1, K);
5567
+ const w = () => Ae("balance"), C = () => Ae("closebalance"), j = () => rt("deposit"), O = () => rt("limits"), U = () => Ae("closebalance");
5568
+ function F(l) {
5569
+ Vt[l ? "unshift" : "push"](() => {
5570
+ ee = l, r(1, ee);
5562
5571
  });
5563
5572
  }
5564
- return e.$$set = (h) => {
5565
- "userid" in h && r(14, i = h.userid), "session" in h && r(15, o = h.session), "endpoint" in h && r(16, s = h.endpoint), "lang" in h && r(17, a = h.lang), "mbsource" in h && r(18, l = h.mbsource), "clientstyling" in h && r(19, u = h.clientstyling), "clientstylingurl" in h && r(20, f = h.clientstylingurl), "translationurl" in h && r(21, b = h.translationurl), "gmversion" in h && r(22, p = h.gmversion), "displaybalanceoption" in h && r(23, y = h.displaybalanceoption), "totalcalculationmode" in h && r(13, E = h.totalcalculationmode), "primarybalancemode" in h && r(24, B = h.primarybalancemode), "balancelimitsbutton" in h && r(0, Q = h.balancelimitsbutton), "hideproducttype" in h && r(25, ne = h.hideproducttype), "currencylocale" in h && r(26, oe = h.currencylocale), "currencydisplay" in h && r(27, I = h.currencydisplay), "maximumfractiondigits" in h && r(28, j = h.maximumfractiondigits), "minimumfractiondigits" in h && r(29, Z = h.minimumfractiondigits), "customdisplayformat" in h && r(30, ie = h.customdisplayformat);
5573
+ return e.$$set = (l) => {
5574
+ "userid" in l && r(14, i = l.userid), "session" in l && r(15, o = l.session), "endpoint" in l && r(16, s = l.endpoint), "lang" in l && r(17, a = l.lang), "mbsource" in l && r(18, c = l.mbsource), "clientstyling" in l && r(19, u = l.clientstyling), "clientstylingurl" in l && r(20, f = l.clientstylingurl), "translationurl" in l && r(21, m = l.translationurl), "gmversion" in l && r(22, d = l.gmversion), "displaybalanceoption" in l && r(23, g = l.displaybalanceoption), "totalcalculationmode" in l && r(13, v = l.totalcalculationmode), "primarybalancemode" in l && r(24, S = l.primarybalancemode), "balancelimitsbutton" in l && r(0, K = l.balancelimitsbutton), "hideproducttype" in l && r(25, oe = l.hideproducttype), "currencylocale" in l && r(26, se = l.currencylocale), "currencydisplay" in l && r(27, D = l.currencydisplay), "maximumfractiondigits" in l && r(28, k = l.maximumfractiondigits), "minimumfractiondigits" in l && r(29, Y = l.minimumfractiondigits), "customdisplayformat" in l && r(30, ae = l.customdisplayformat), "alwaysshowdecimals" in l && r(31, me = l.alwaysshowdecimals);
5566
5575
  }, e.$$.update = () => {
5567
5576
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5568
- 12828672 && s && i && o && a && p && y && c(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5569
- 4308992 && s && i && o && p && Ke(), e.$$.dirty[0] & /*translationurl*/
5570
- 2097152 && b && _e(), e.$$.dirty[0] & /*balances*/
5571
- 4 && _.Total && x(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5572
- 524290 && u && K && Qn(K, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5573
- 1048578 && f && K && Jn(K, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5574
- 262146 && l && K && Kn(K, `${l}.Style`), e.$$.dirty[0] & /*primarybalancemode, balances*/
5575
- 16777220 && r(7, He = (() => {
5576
- switch (B) {
5577
+ 12828672 && s && i && o && a && d && g && b(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5578
+ 4308992 && s && i && o && d && Ie(), e.$$.dirty[0] & /*translationurl*/
5579
+ 2097152 && m && et(), e.$$.dirty[0] & /*balances*/
5580
+ 4 && _.Total && p(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5581
+ 524290 && u && ee && Qn(ee, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5582
+ 1048578 && f && ee && Jn(ee, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5583
+ 262146 && c && ee && Kn(ee, `${c}.Style`), e.$$.dirty[0] & /*primarybalancemode, balances*/
5584
+ 16777220 && r(7, Re = (() => {
5585
+ switch (S) {
5577
5586
  case "Real":
5578
- return _.Real ? Ue(_.Real[0].amount) : "0";
5587
+ return _.Real ? tt(_.Real[0].amount) : "0";
5579
5588
  default:
5580
- return _.Total ? Ue(_.Total[0].amount) : "0";
5589
+ return _.Total ? tt(_.Total[0].amount) : "0";
5581
5590
  }
5582
5591
  })());
5583
5592
  }, [
5584
- Q,
5585
5593
  K,
5594
+ ee,
5586
5595
  _,
5587
- te,
5588
- X,
5589
- P,
5590
- q,
5591
- He,
5596
+ G,
5597
+ $,
5598
+ W,
5599
+ z,
5600
+ Re,
5592
5601
  n,
5593
- Ee,
5594
- Ue,
5602
+ Ae,
5595
5603
  tt,
5596
- m,
5597
- E,
5604
+ rt,
5605
+ T,
5606
+ v,
5598
5607
  i,
5599
5608
  o,
5600
5609
  s,
5601
5610
  a,
5602
- l,
5611
+ c,
5603
5612
  u,
5604
5613
  f,
5605
- b,
5606
- p,
5607
- y,
5608
- B,
5609
- ne,
5614
+ m,
5615
+ d,
5616
+ g,
5617
+ S,
5610
5618
  oe,
5611
- I,
5612
- j,
5613
- Z,
5614
- ie,
5615
- A,
5619
+ se,
5620
+ D,
5621
+ k,
5622
+ Y,
5623
+ ae,
5624
+ me,
5616
5625
  w,
5617
5626
  C,
5618
- G,
5619
- H,
5620
- D
5627
+ j,
5628
+ O,
5629
+ U,
5630
+ F
5621
5631
  ];
5622
5632
  }
5623
5633
  class fa extends qn {
@@ -5627,7 +5637,7 @@ class fa extends qn {
5627
5637
  t,
5628
5638
  ha,
5629
5639
  ca,
5630
- Xr,
5640
+ zr,
5631
5641
  {
5632
5642
  userid: 14,
5633
5643
  session: 15,
@@ -5647,7 +5657,8 @@ class fa extends qn {
5647
5657
  currencydisplay: 27,
5648
5658
  maximumfractiondigits: 28,
5649
5659
  minimumfractiondigits: 29,
5650
- customdisplayformat: 30
5660
+ customdisplayformat: 30,
5661
+ alwaysshowdecimals: 31
5651
5662
  },
5652
5663
  sa,
5653
5664
  [-1, -1, -1]
@@ -5657,118 +5668,124 @@ class fa extends qn {
5657
5668
  return this.$$.ctx[14];
5658
5669
  }
5659
5670
  set userid(t) {
5660
- this.$$set({ userid: t }), Y();
5671
+ this.$$set({ userid: t }), Z();
5661
5672
  }
5662
5673
  get session() {
5663
5674
  return this.$$.ctx[15];
5664
5675
  }
5665
5676
  set session(t) {
5666
- this.$$set({ session: t }), Y();
5677
+ this.$$set({ session: t }), Z();
5667
5678
  }
5668
5679
  get endpoint() {
5669
5680
  return this.$$.ctx[16];
5670
5681
  }
5671
5682
  set endpoint(t) {
5672
- this.$$set({ endpoint: t }), Y();
5683
+ this.$$set({ endpoint: t }), Z();
5673
5684
  }
5674
5685
  get lang() {
5675
5686
  return this.$$.ctx[17];
5676
5687
  }
5677
5688
  set lang(t) {
5678
- this.$$set({ lang: t }), Y();
5689
+ this.$$set({ lang: t }), Z();
5679
5690
  }
5680
5691
  get mbsource() {
5681
5692
  return this.$$.ctx[18];
5682
5693
  }
5683
5694
  set mbsource(t) {
5684
- this.$$set({ mbsource: t }), Y();
5695
+ this.$$set({ mbsource: t }), Z();
5685
5696
  }
5686
5697
  get clientstyling() {
5687
5698
  return this.$$.ctx[19];
5688
5699
  }
5689
5700
  set clientstyling(t) {
5690
- this.$$set({ clientstyling: t }), Y();
5701
+ this.$$set({ clientstyling: t }), Z();
5691
5702
  }
5692
5703
  get clientstylingurl() {
5693
5704
  return this.$$.ctx[20];
5694
5705
  }
5695
5706
  set clientstylingurl(t) {
5696
- this.$$set({ clientstylingurl: t }), Y();
5707
+ this.$$set({ clientstylingurl: t }), Z();
5697
5708
  }
5698
5709
  get translationurl() {
5699
5710
  return this.$$.ctx[21];
5700
5711
  }
5701
5712
  set translationurl(t) {
5702
- this.$$set({ translationurl: t }), Y();
5713
+ this.$$set({ translationurl: t }), Z();
5703
5714
  }
5704
5715
  get gmversion() {
5705
5716
  return this.$$.ctx[22];
5706
5717
  }
5707
5718
  set gmversion(t) {
5708
- this.$$set({ gmversion: t }), Y();
5719
+ this.$$set({ gmversion: t }), Z();
5709
5720
  }
5710
5721
  get displaybalanceoption() {
5711
5722
  return this.$$.ctx[23];
5712
5723
  }
5713
5724
  set displaybalanceoption(t) {
5714
- this.$$set({ displaybalanceoption: t }), Y();
5725
+ this.$$set({ displaybalanceoption: t }), Z();
5715
5726
  }
5716
5727
  get totalcalculationmode() {
5717
5728
  return this.$$.ctx[13];
5718
5729
  }
5719
5730
  set totalcalculationmode(t) {
5720
- this.$$set({ totalcalculationmode: t }), Y();
5731
+ this.$$set({ totalcalculationmode: t }), Z();
5721
5732
  }
5722
5733
  get primarybalancemode() {
5723
5734
  return this.$$.ctx[24];
5724
5735
  }
5725
5736
  set primarybalancemode(t) {
5726
- this.$$set({ primarybalancemode: t }), Y();
5737
+ this.$$set({ primarybalancemode: t }), Z();
5727
5738
  }
5728
5739
  get balancelimitsbutton() {
5729
5740
  return this.$$.ctx[0];
5730
5741
  }
5731
5742
  set balancelimitsbutton(t) {
5732
- this.$$set({ balancelimitsbutton: t }), Y();
5743
+ this.$$set({ balancelimitsbutton: t }), Z();
5733
5744
  }
5734
5745
  get hideproducttype() {
5735
5746
  return this.$$.ctx[25];
5736
5747
  }
5737
5748
  set hideproducttype(t) {
5738
- this.$$set({ hideproducttype: t }), Y();
5749
+ this.$$set({ hideproducttype: t }), Z();
5739
5750
  }
5740
5751
  get currencylocale() {
5741
5752
  return this.$$.ctx[26];
5742
5753
  }
5743
5754
  set currencylocale(t) {
5744
- this.$$set({ currencylocale: t }), Y();
5755
+ this.$$set({ currencylocale: t }), Z();
5745
5756
  }
5746
5757
  get currencydisplay() {
5747
5758
  return this.$$.ctx[27];
5748
5759
  }
5749
5760
  set currencydisplay(t) {
5750
- this.$$set({ currencydisplay: t }), Y();
5761
+ this.$$set({ currencydisplay: t }), Z();
5751
5762
  }
5752
5763
  get maximumfractiondigits() {
5753
5764
  return this.$$.ctx[28];
5754
5765
  }
5755
5766
  set maximumfractiondigits(t) {
5756
- this.$$set({ maximumfractiondigits: t }), Y();
5767
+ this.$$set({ maximumfractiondigits: t }), Z();
5757
5768
  }
5758
5769
  get minimumfractiondigits() {
5759
5770
  return this.$$.ctx[29];
5760
5771
  }
5761
5772
  set minimumfractiondigits(t) {
5762
- this.$$set({ minimumfractiondigits: t }), Y();
5773
+ this.$$set({ minimumfractiondigits: t }), Z();
5763
5774
  }
5764
5775
  get customdisplayformat() {
5765
5776
  return this.$$.ctx[30];
5766
5777
  }
5767
5778
  set customdisplayformat(t) {
5768
- this.$$set({ customdisplayformat: t }), Y();
5779
+ this.$$set({ customdisplayformat: t }), Z();
5780
+ }
5781
+ get alwaysshowdecimals() {
5782
+ return this.$$.ctx[31];
5783
+ }
5784
+ set alwaysshowdecimals(t) {
5785
+ this.$$set({ alwaysshowdecimals: t }), Z();
5769
5786
  }
5770
5787
  }
5771
- Zn(fa, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5788
+ Zn(fa, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {}, alwaysshowdecimals: {} }, [], [], !0);
5772
5789
  export {
5773
5790
  fa as P
5774
5791
  };