@everymatrix/player-account-balance-modal 1.83.1 → 1.83.3

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.
@@ -36,7 +36,7 @@ function M(e, t) {
36
36
  function rr(e, t, n) {
37
37
  const r = ir(e);
38
38
  if (!r.getElementById(t)) {
39
- const i = $("style");
39
+ const i = G("style");
40
40
  i.id = t, i.textContent = n, or(r, i);
41
41
  }
42
42
  }
@@ -57,17 +57,17 @@ function or(e, t) {
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function ce(e, t, n) {
60
+ function fe(e, t, n) {
61
61
  e.insertBefore(t, n || null);
62
62
  }
63
- function se(e) {
63
+ function le(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function An(e, t) {
67
67
  for (let n = 0; n < e.length; n += 1)
68
68
  e[n] && e[n].d(t);
69
69
  }
70
- function $(e) {
70
+ function G(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function ve(e) {
@@ -79,10 +79,10 @@ function Ee() {
79
79
  function ar() {
80
80
  return ve("");
81
81
  }
82
- function ft(e, t, n, r) {
82
+ function dt(e, t, n, r) {
83
83
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
84
84
  }
85
- function Z(e, t, n) {
85
+ function z(e, t, n) {
86
86
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
87
87
  }
88
88
  function sr(e) {
@@ -101,54 +101,54 @@ function ur(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let et;
105
- function Ke(e) {
106
- et = e;
104
+ let Ke;
105
+ function Ye(e) {
106
+ Ke = e;
107
107
  }
108
108
  function lr() {
109
- if (!et)
109
+ if (!Ke)
110
110
  throw new Error("Function called outside component initialization");
111
- return et;
111
+ return Ke;
112
112
  }
113
113
  function hr(e) {
114
114
  lr().$$.on_mount.push(e);
115
115
  }
116
- const Ie = [], Dt = [];
117
- let De = [];
116
+ const Pe = [], Dt = [];
117
+ let Ie = [];
118
118
  const tn = [], cr = /* @__PURE__ */ Promise.resolve();
119
119
  let Ft = !1;
120
120
  function fr() {
121
- Ft || (Ft = !0, cr.then(X));
121
+ Ft || (Ft = !0, cr.then($));
122
122
  }
123
123
  function Ut(e) {
124
- De.push(e);
124
+ Ie.push(e);
125
125
  }
126
126
  const Ot = /* @__PURE__ */ new Set();
127
- let Me = 0;
128
- function X() {
129
- if (Me !== 0)
127
+ let Ne = 0;
128
+ function $() {
129
+ if (Ne !== 0)
130
130
  return;
131
- const e = et;
131
+ const e = Ke;
132
132
  do {
133
133
  try {
134
- for (; Me < Ie.length; ) {
135
- const t = Ie[Me];
136
- Me++, Ke(t), dr(t.$$);
134
+ for (; Ne < Pe.length; ) {
135
+ const t = Pe[Ne];
136
+ Ne++, Ye(t), dr(t.$$);
137
137
  }
138
138
  } catch (t) {
139
- throw Ie.length = 0, Me = 0, t;
139
+ throw Pe.length = 0, Ne = 0, t;
140
140
  }
141
- for (Ke(null), Ie.length = 0, Me = 0; Dt.length; )
141
+ for (Ye(null), Pe.length = 0, Ne = 0; Dt.length; )
142
142
  Dt.pop()();
143
- for (let t = 0; t < De.length; t += 1) {
144
- const n = De[t];
143
+ for (let t = 0; t < Ie.length; t += 1) {
144
+ const n = Ie[t];
145
145
  Ot.has(n) || (Ot.add(n), n());
146
146
  }
147
- De.length = 0;
148
- } while (Ie.length);
147
+ Ie.length = 0;
148
+ } while (Pe.length);
149
149
  for (; tn.length; )
150
150
  tn.pop()();
151
- Ft = !1, Ot.clear(), Ke(e);
151
+ Ft = !1, Ot.clear(), Ye(e);
152
152
  }
153
153
  function dr(e) {
154
154
  if (e.fragment !== null) {
@@ -159,13 +159,13 @@ function dr(e) {
159
159
  }
160
160
  function pr(e) {
161
161
  const t = [], n = [];
162
- De.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), De = t;
162
+ Ie.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ie = t;
163
163
  }
164
164
  const mr = /* @__PURE__ */ new Set();
165
165
  function gr(e, t) {
166
166
  e && e.i && (mr.delete(e), e.i(t));
167
167
  }
168
- function dt(e) {
168
+ function pt(e) {
169
169
  return e?.length !== void 0 ? e : Array.from(e);
170
170
  }
171
171
  function br(e, t, n) {
@@ -180,12 +180,12 @@ function yr(e, t) {
180
180
  n.fragment !== null && (pr(n.after_update), je(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
181
181
  }
182
182
  function vr(e, t) {
183
- e.$$.dirty[0] === -1 && (Ie.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ e.$$.dirty[0] === -1 && (Pe.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
184
184
  }
185
- function Er(e, t, n, r, i, o, u = null, s = [-1]) {
186
- const d = et;
187
- Ke(e);
188
- const h = e.$$ = {
185
+ function Er(e, t, n, r, i, o, l = null, s = [-1]) {
186
+ const p = Ke;
187
+ Ye(e);
188
+ const c = e.$$ = {
189
189
  fragment: null,
190
190
  ctx: [],
191
191
  // state
@@ -199,27 +199,27 @@ function Er(e, t, n, r, i, o, u = null, s = [-1]) {
199
199
  on_disconnect: [],
200
200
  before_update: [],
201
201
  after_update: [],
202
- context: new Map(t.context || (d ? d.$$.context : [])),
202
+ context: new Map(t.context || (p ? p.$$.context : [])),
203
203
  // everything else
204
204
  callbacks: en(),
205
205
  dirty: s,
206
206
  skip_bound: !1,
207
- root: t.target || d.$$.root
207
+ root: t.target || p.$$.root
208
208
  };
209
- u && u(h.root);
210
- let c = !1;
211
- if (h.ctx = n ? n(e, t.props || {}, (g, y, ...x) => {
212
- const T = x.length ? x[0] : y;
213
- return h.ctx && i(h.ctx[g], h.ctx[g] = T) && (!h.skip_bound && h.bound[g] && h.bound[g](T), c && vr(e, g)), y;
214
- }) : [], h.update(), c = !0, je(h.before_update), h.fragment = r ? r(h.ctx) : !1, t.target) {
209
+ l && l(c.root);
210
+ let d = !1;
211
+ if (c.ctx = n ? n(e, t.props || {}, (m, b, ..._) => {
212
+ const B = _.length ? _[0] : b;
213
+ return c.ctx && i(c.ctx[m], c.ctx[m] = B) && (!c.skip_bound && c.bound[m] && c.bound[m](B), d && vr(e, m)), b;
214
+ }) : [], c.update(), d = !0, je(c.before_update), c.fragment = r ? r(c.ctx) : !1, t.target) {
215
215
  if (t.hydrate) {
216
- const g = sr(t.target);
217
- h.fragment && h.fragment.l(g), g.forEach(se);
216
+ const m = sr(t.target);
217
+ c.fragment && c.fragment.l(m), m.forEach(le);
218
218
  } else
219
- h.fragment && h.fragment.c();
220
- t.intro && gr(e.$$.fragment), br(e, t.target, t.anchor), X();
219
+ c.fragment && c.fragment.c();
220
+ t.intro && gr(e.$$.fragment), br(e, t.target, t.anchor), $();
221
221
  }
222
- Ke(d);
222
+ Ye(p);
223
223
  }
224
224
  let Cn;
225
225
  typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
@@ -264,17 +264,17 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
264
264
  let o;
265
265
  return {
266
266
  c: function() {
267
- o = $("slot"), i !== "default" && Z(o, "name", i);
267
+ o = G("slot"), i !== "default" && z(o, "name", i);
268
268
  },
269
269
  /**
270
270
  * @param {HTMLElement} target
271
271
  * @param {HTMLElement} [anchor]
272
272
  */
273
- m: function(d, h) {
274
- ce(d, o, h);
273
+ m: function(p, c) {
274
+ fe(p, o, c);
275
275
  },
276
- d: function(d) {
277
- d && se(o);
276
+ d: function(p) {
277
+ p && le(o);
278
278
  }
279
279
  };
280
280
  };
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
286
286
  i in n && (t[i] = [e(i)]);
287
287
  for (const i of this.attributes) {
288
288
  const o = this.$$g_p(i.name);
289
- o in this.$$d || (this.$$d[o] = lt(o, i.value, this.$$p_d, "toProp"));
289
+ o in this.$$d || (this.$$d[o] = ht(o, i.value, this.$$p_d, "toProp"));
290
290
  }
291
291
  for (const i in this.$$p_d)
292
292
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -304,7 +304,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
304
304
  this.$$r = !0;
305
305
  for (const i in this.$$p_d)
306
306
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
307
- const o = lt(
307
+ const o = ht(
308
308
  i,
309
309
  this.$$d[i],
310
310
  this.$$p_d,
@@ -317,8 +317,8 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
317
317
  this.$$c.$$.after_update.push(r), r();
318
318
  for (const i in this.$$l)
319
319
  for (const o of this.$$l[i]) {
320
- const u = this.$$c.$on(i, o);
321
- this.$$l_u.set(o, u);
320
+ const l = this.$$c.$on(i, o);
321
+ this.$$l_u.set(o, l);
322
322
  }
323
323
  this.$$l = {};
324
324
  }
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
326
326
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
327
327
  // and setting attributes through setAttribute etc, this is helpful
328
328
  attributeChangedCallback(e, t, n) {
329
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = lt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
329
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ht(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
330
  }
331
331
  disconnectedCallback() {
332
332
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Cn = class extends HTMLElement {
339
339
  ) || e;
340
340
  }
341
341
  });
342
- function lt(e, t, n, r) {
342
+ function ht(e, t, n, r) {
343
343
  const i = n[e]?.type;
344
344
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
345
345
  return t;
@@ -369,7 +369,7 @@ function lt(e, t, n, r) {
369
369
  }
370
370
  }
371
371
  function xr(e, t, n, r, i, o) {
372
- let u = class extends Cn {
372
+ let l = class extends Cn {
373
373
  constructor() {
374
374
  super(e, n, i), this.$$p_d = t;
375
375
  }
@@ -380,22 +380,22 @@ function xr(e, t, n, r, i, o) {
380
380
  }
381
381
  };
382
382
  return Object.keys(t).forEach((s) => {
383
- Object.defineProperty(u.prototype, s, {
383
+ Object.defineProperty(l.prototype, s, {
384
384
  get() {
385
385
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
386
386
  },
387
- set(d) {
388
- d = lt(s, d, t), this.$$d[s] = d, this.$$c?.$set({ [s]: d });
387
+ set(p) {
388
+ p = ht(s, p, t), this.$$d[s] = p, this.$$c?.$set({ [s]: p });
389
389
  }
390
390
  });
391
391
  }), r.forEach((s) => {
392
- Object.defineProperty(u.prototype, s, {
392
+ Object.defineProperty(l.prototype, s, {
393
393
  get() {
394
394
  return this.$$c?.[s];
395
395
  }
396
396
  });
397
397
  }), e.element = /** @type {any} */
398
- u, u;
398
+ l, l;
399
399
  }
400
400
  class _r {
401
401
  /**
@@ -466,66 +466,66 @@ function wr(e, t, n) {
466
466
  });
467
467
  }
468
468
  }
469
- const Pe = [];
469
+ const Me = [];
470
470
  function Ar(e, t) {
471
471
  return {
472
- subscribe: bt(e, t).subscribe
472
+ subscribe: yt(e, t).subscribe
473
473
  };
474
474
  }
475
- function bt(e, t = oe) {
475
+ function yt(e, t = oe) {
476
476
  let n;
477
477
  const r = /* @__PURE__ */ new Set();
478
478
  function i(s) {
479
479
  if (Sn(e, s) && (e = s, n)) {
480
- const d = !Pe.length;
481
- for (const h of r)
482
- h[1](), Pe.push(h, e);
483
- if (d) {
484
- for (let h = 0; h < Pe.length; h += 2)
485
- Pe[h][0](Pe[h + 1]);
486
- Pe.length = 0;
480
+ const p = !Me.length;
481
+ for (const c of r)
482
+ c[1](), Me.push(c, e);
483
+ if (p) {
484
+ for (let c = 0; c < Me.length; c += 2)
485
+ Me[c][0](Me[c + 1]);
486
+ Me.length = 0;
487
487
  }
488
488
  }
489
489
  }
490
490
  function o(s) {
491
491
  i(s(e));
492
492
  }
493
- function u(s, d = oe) {
494
- const h = [s, d];
495
- return r.add(h), r.size === 1 && (n = t(i, o) || oe), s(e), () => {
496
- r.delete(h), r.size === 0 && n && (n(), n = null);
493
+ function l(s, p = oe) {
494
+ const c = [s, p];
495
+ return r.add(c), r.size === 1 && (n = t(i, o) || oe), s(e), () => {
496
+ r.delete(c), r.size === 0 && n && (n(), n = null);
497
497
  };
498
498
  }
499
- return { set: i, update: o, subscribe: u };
499
+ return { set: i, update: o, subscribe: l };
500
500
  }
501
501
  function ke(e, t, n) {
502
502
  const r = !Array.isArray(e), i = r ? [e] : e;
503
503
  if (!i.every(Boolean))
504
504
  throw new Error("derived() expects stores as input, got a falsy value");
505
505
  const o = t.length < 2;
506
- return Ar(n, (u, s) => {
507
- let d = !1;
508
- const h = [];
509
- let c = 0, g = oe;
510
- const y = () => {
511
- if (c)
506
+ return Ar(n, (l, s) => {
507
+ let p = !1;
508
+ const c = [];
509
+ let d = 0, m = oe;
510
+ const b = () => {
511
+ if (d)
512
512
  return;
513
- g();
514
- const T = t(r ? h[0] : h, u, s);
515
- o ? u(T) : g = Qt(T) ? T : oe;
516
- }, x = i.map(
517
- (T, P) => wn(
518
- T,
513
+ m();
514
+ const B = t(r ? c[0] : c, l, s);
515
+ o ? l(B) : m = Qt(B) ? B : oe;
516
+ }, _ = i.map(
517
+ (B, I) => wn(
518
+ B,
519
519
  (j) => {
520
- h[P] = j, c &= ~(1 << P), d && y();
520
+ c[I] = j, d &= ~(1 << I), p && b();
521
521
  },
522
522
  () => {
523
- c |= 1 << P;
523
+ d |= 1 << I;
524
524
  }
525
525
  )
526
526
  );
527
- return d = !0, y(), function() {
528
- je(x), g(), d = !1;
527
+ return p = !0, b(), function() {
528
+ je(_), m(), p = !1;
529
529
  };
530
530
  });
531
531
  }
@@ -550,19 +550,19 @@ function Pr(e) {
550
550
  function Ir(e) {
551
551
  return Array.isArray(e) ? [] : {};
552
552
  }
553
- function tt(e, t) {
554
- return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Ir(e), e, t) : e;
553
+ function et(e, t) {
554
+ return t.clone !== !1 && t.isMergeableObject(e) ? De(Ir(e), e, t) : e;
555
555
  }
556
556
  function Dr(e, t, n) {
557
557
  return e.concat(t).map(function(r) {
558
- return tt(r, n);
558
+ return et(r, n);
559
559
  });
560
560
  }
561
561
  function Fr(e, t) {
562
562
  if (!t.customMerge)
563
- return Fe;
563
+ return De;
564
564
  var n = t.customMerge(e);
565
- return typeof n == "function" ? n : Fe;
565
+ return typeof n == "function" ? n : De;
566
566
  }
567
567
  function Ur(e) {
568
568
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -582,28 +582,28 @@ function Hn(e, t) {
582
582
  function Gr(e, t) {
583
583
  return Hn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
584
584
  }
585
- function $r(e, t, n) {
585
+ function jr(e, t, n) {
586
586
  var r = {};
587
587
  return n.isMergeableObject(e) && nn(e).forEach(function(i) {
588
- r[i] = tt(e[i], n);
588
+ r[i] = et(e[i], n);
589
589
  }), nn(t).forEach(function(i) {
590
- Gr(e, i) || (Hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fr(i, n)(e[i], t[i], n) : r[i] = tt(t[i], n));
590
+ Gr(e, i) || (Hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fr(i, n)(e[i], t[i], n) : r[i] = et(t[i], n));
591
591
  }), r;
592
592
  }
593
- function Fe(e, t, n) {
594
- n = n || {}, n.arrayMerge = n.arrayMerge || Dr, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = tt;
593
+ function De(e, t, n) {
594
+ n = n || {}, n.arrayMerge = n.arrayMerge || Dr, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = et;
595
595
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
596
- return o ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) : tt(t, n);
596
+ return o ? r ? n.arrayMerge(e, t, n) : jr(e, t, n) : et(t, n);
597
597
  }
598
- Fe.all = function(t, n) {
598
+ De.all = function(t, n) {
599
599
  if (!Array.isArray(t))
600
600
  throw new Error("first argument should be an array");
601
601
  return t.reduce(function(r, i) {
602
- return Fe(r, i, n);
602
+ return De(r, i, n);
603
603
  }, {});
604
604
  };
605
- var jr = Fe, kr = jr;
606
- const Vr = /* @__PURE__ */ Hr(kr);
605
+ var kr = De, $r = kr;
606
+ const Vr = /* @__PURE__ */ Hr($r);
607
607
  var Gt = function(e, t) {
608
608
  return Gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
609
609
  n.__proto__ = r;
@@ -612,7 +612,7 @@ var Gt = function(e, t) {
612
612
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
613
613
  }, Gt(e, t);
614
614
  };
615
- function yt(e, t) {
615
+ function vt(e, t) {
616
616
  if (typeof t != "function" && t !== null)
617
617
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
618
618
  Gt(e, t);
@@ -621,15 +621,15 @@ function yt(e, t) {
621
621
  }
622
622
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
623
623
  }
624
- var he = function() {
625
- return he = Object.assign || function(t) {
624
+ var ce = function() {
625
+ return ce = Object.assign || function(t) {
626
626
  for (var n, r = 1, i = arguments.length; r < i; r++) {
627
627
  n = arguments[r];
628
628
  for (var o in n)
629
629
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
630
630
  }
631
631
  return t;
632
- }, he.apply(this, arguments);
632
+ }, ce.apply(this, arguments);
633
633
  };
634
634
  function Xr(e, t) {
635
635
  var n = {};
@@ -694,28 +694,28 @@ var Qr = function() {
694
694
  }
695
695
  }, Nt = {
696
696
  variadic: qr
697
- }, pt = function() {
698
- return pt = Object.assign || function(t) {
697
+ }, mt = function() {
698
+ return mt = Object.assign || function(t) {
699
699
  for (var n, r = 1, i = arguments.length; r < i; r++) {
700
700
  n = arguments[r];
701
701
  for (var o in n)
702
702
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
703
703
  }
704
704
  return t;
705
- }, pt.apply(this, arguments);
705
+ }, mt.apply(this, arguments);
706
706
  };
707
- var C;
707
+ var H;
708
708
  (function(e) {
709
709
  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";
710
- })(C || (C = {}));
710
+ })(H || (H = {}));
711
711
  var D;
712
712
  (function(e) {
713
713
  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";
714
714
  })(D || (D = {}));
715
- var Ue;
715
+ var Fe;
716
716
  (function(e) {
717
717
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
718
- })(Ue || (Ue = {}));
718
+ })(Fe || (Fe = {}));
719
719
  function rn(e) {
720
720
  return e.type === D.literal;
721
721
  }
@@ -744,10 +744,10 @@ function Dn(e) {
744
744
  return e.type === D.tag;
745
745
  }
746
746
  function Fn(e) {
747
- return !!(e && typeof e == "object" && e.type === Ue.number);
747
+ return !!(e && typeof e == "object" && e.type === Fe.number);
748
748
  }
749
- function $t(e) {
750
- return !!(e && typeof e == "object" && e.type === Ue.dateTime);
749
+ function jt(e) {
750
+ return !!(e && typeof e == "object" && e.type === Fe.dateTime);
751
751
  }
752
752
  var Un = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
753
753
  function ni(e) {
@@ -841,46 +841,46 @@ function ni(e) {
841
841
  return "";
842
842
  }), t;
843
843
  }
844
- var U = function() {
845
- return U = Object.assign || function(t) {
844
+ var F = function() {
845
+ return F = Object.assign || function(t) {
846
846
  for (var n, r = 1, i = arguments.length; r < i; r++) {
847
847
  n = arguments[r];
848
848
  for (var o in n)
849
849
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
850
850
  }
851
851
  return t;
852
- }, U.apply(this, arguments);
852
+ }, F.apply(this, arguments);
853
853
  };
854
854
  var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
855
  function ii(e) {
856
856
  if (e.length === 0)
857
857
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(ri).filter(function(y) {
859
- return y.length > 0;
858
+ for (var t = e.split(ri).filter(function(b) {
859
+ return b.length > 0;
860
860
  }), n = [], r = 0, i = t; r < i.length; r++) {
861
- var o = i[r], u = o.split("/");
862
- if (u.length === 0)
861
+ var o = i[r], l = o.split("/");
862
+ if (l.length === 0)
863
863
  throw new Error("Invalid number skeleton");
864
- for (var s = u[0], d = u.slice(1), h = 0, c = d; h < c.length; h++) {
865
- var g = c[h];
866
- if (g.length === 0)
864
+ for (var s = l[0], p = l.slice(1), c = 0, d = p; c < d.length; c++) {
865
+ var m = d[c];
866
+ if (m.length === 0)
867
867
  throw new Error("Invalid number skeleton");
868
868
  }
869
- n.push({ stem: s, options: d });
869
+ n.push({ stem: s, options: p });
870
870
  }
871
871
  return n;
872
872
  }
873
873
  function oi(e) {
874
874
  return e.replace(/^(.*?)-/, "");
875
875
  }
876
- var on = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gn = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, $n = /^(0+)$/;
876
+ var on = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gn = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, jn = /^(0+)$/;
877
877
  function an(e) {
878
878
  var t = {};
879
879
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gn, function(n, r, i) {
880
880
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
881
881
  }), t;
882
882
  }
883
- function jn(e) {
883
+ function kn(e) {
884
884
  switch (e) {
885
885
  case "sign-auto":
886
886
  return {
@@ -928,14 +928,14 @@ function si(e) {
928
928
  notation: "scientific"
929
929
  }, e = e.slice(1)), t) {
930
930
  var n = e.slice(0, 2);
931
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$n.test(e))
931
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jn.test(e))
932
932
  throw new Error("Malformed concise eng/scientific notation");
933
933
  t.minimumIntegerDigits = e.length;
934
934
  }
935
935
  return t;
936
936
  }
937
937
  function sn(e) {
938
- var t = {}, n = jn(e);
938
+ var t = {}, n = kn(e);
939
939
  return n || t;
940
940
  }
941
941
  function ui(e) {
@@ -973,13 +973,13 @@ function ui(e) {
973
973
  t.notation = "compact", t.compactDisplay = "long";
974
974
  continue;
975
975
  case "scientific":
976
- t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(d, h) {
977
- return U(U({}, d), sn(h));
976
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(p, c) {
977
+ return F(F({}, p), sn(c));
978
978
  }, {}));
979
979
  continue;
980
980
  case "engineering":
981
- t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(d, h) {
982
- return U(U({}, d), sn(h));
981
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(p, c) {
982
+ return F(F({}, p), sn(c));
983
983
  }, {}));
984
984
  continue;
985
985
  case "notation-simple":
@@ -1024,45 +1024,45 @@ function ui(e) {
1024
1024
  case "integer-width":
1025
1025
  if (i.options.length > 1)
1026
1026
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(ai, function(d, h, c, g, y, x) {
1028
- if (h)
1029
- t.minimumIntegerDigits = c.length;
1027
+ i.options[0].replace(ai, function(p, c, d, m, b, _) {
1028
+ if (c)
1029
+ t.minimumIntegerDigits = d.length;
1030
1030
  else {
1031
- if (g && y)
1031
+ if (m && b)
1032
1032
  throw new Error("We currently do not support maximum integer digits");
1033
- if (x)
1033
+ if (_)
1034
1034
  throw new Error("We currently do not support exact integer digits");
1035
1035
  }
1036
1036
  return "";
1037
1037
  });
1038
1038
  continue;
1039
1039
  }
1040
- if ($n.test(i.stem)) {
1040
+ if (jn.test(i.stem)) {
1041
1041
  t.minimumIntegerDigits = i.stem.length;
1042
1042
  continue;
1043
1043
  }
1044
1044
  if (on.test(i.stem)) {
1045
1045
  if (i.options.length > 1)
1046
1046
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1047
- i.stem.replace(on, function(d, h, c, g, y, x) {
1048
- return c === "*" ? t.minimumFractionDigits = h.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : y && x ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1047
+ i.stem.replace(on, function(p, c, d, m, b, _) {
1048
+ return d === "*" ? t.minimumFractionDigits = c.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : b && _ ? (t.minimumFractionDigits = b.length, t.maximumFractionDigits = b.length + _.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
1049
1049
  });
1050
1050
  var o = i.options[0];
1051
- o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), an(o)));
1051
+ o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), an(o)));
1052
1052
  continue;
1053
1053
  }
1054
1054
  if (Gn.test(i.stem)) {
1055
- t = U(U({}, t), an(i.stem));
1055
+ t = F(F({}, t), an(i.stem));
1056
1056
  continue;
1057
1057
  }
1058
- var u = jn(i.stem);
1059
- u && (t = U(U({}, t), u));
1058
+ var l = kn(i.stem);
1059
+ l && (t = F(F({}, t), l));
1060
1060
  var s = si(i.stem);
1061
- s && (t = U(U({}, t), s));
1061
+ s && (t = F(F({}, t), s));
1062
1062
  }
1063
1063
  return t;
1064
1064
  }
1065
- var ut = {
1065
+ var lt = {
1066
1066
  "001": [
1067
1067
  "H",
1068
1068
  "h"
@@ -2483,11 +2483,11 @@ function li(e, t) {
2483
2483
  if (i === "j") {
2484
2484
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2485
2485
  o++, r++;
2486
- var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), d = "a", h = hi(t);
2487
- for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
2488
- n += d;
2489
- for (; u-- > 0; )
2490
- n = h + n;
2486
+ var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), p = "a", c = hi(t);
2487
+ for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
2488
+ n += p;
2489
+ for (; l-- > 0; )
2490
+ n = c + n;
2491
2491
  } else
2492
2492
  i === "J" ? n += "H" : n += i;
2493
2493
  }
@@ -2512,21 +2512,21 @@ function hi(e) {
2512
2512
  }
2513
2513
  var n = e.language, r;
2514
2514
  n !== "root" && (r = e.maximize().region);
2515
- var i = ut[r || ""] || ut[n || ""] || ut["".concat(n, "-001")] || ut["001"];
2515
+ var i = lt[r || ""] || lt[n || ""] || lt["".concat(n, "-001")] || lt["001"];
2516
2516
  return i[0];
2517
2517
  }
2518
2518
  var Mt, ci = new RegExp("^".concat(Un.source, "*")), fi = new RegExp("".concat(Un.source, "*$"));
2519
- function H(e, t) {
2519
+ function O(e, t) {
2520
2520
  return { start: e, end: t };
2521
2521
  }
2522
2522
  var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, Ei = vi ? Number.isSafeInteger : function(e) {
2523
2523
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
- }, jt = !0;
2524
+ }, kt = !0;
2525
2525
  try {
2526
2526
  var xi = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- jt = ((Mt = xi.exec("a")) === null || Mt === void 0 ? void 0 : Mt[0]) === "a";
2527
+ kt = ((Mt = xi.exec("a")) === null || Mt === void 0 ? void 0 : Mt[0]) === "a";
2528
2528
  } catch {
2529
- jt = !1;
2529
+ kt = !1;
2530
2530
  }
2531
2531
  var un = di ? (
2532
2532
  // Native
@@ -2538,15 +2538,15 @@ var un = di ? (
2538
2538
  function(t, n, r) {
2539
2539
  return t.slice(r, r + n.length) === n;
2540
2540
  }
2541
- ), kt = pi ? String.fromCodePoint : (
2541
+ ), $t = pi ? String.fromCodePoint : (
2542
2542
  // IE11
2543
2543
  function() {
2544
2544
  for (var t = [], n = 0; n < arguments.length; n++)
2545
2545
  t[n] = arguments[n];
2546
- for (var r = "", i = t.length, o = 0, u; i > o; ) {
2547
- if (u = t[o++], u > 1114111)
2548
- throw RangeError(u + " is not a valid code point");
2549
- r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2546
+ for (var r = "", i = t.length, o = 0, l; i > o; ) {
2547
+ if (l = t[o++], l > 1114111)
2548
+ throw RangeError(l + " is not a valid code point");
2549
+ r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
2550
2550
  }
2551
2551
  return r;
2552
2552
  }
@@ -2556,13 +2556,13 @@ var un = di ? (
2556
2556
  // Ponyfill
2557
2557
  function(t) {
2558
2558
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2559
- var o = i[r], u = o[0], s = o[1];
2560
- n[u] = s;
2559
+ var o = i[r], l = o[0], s = o[1];
2560
+ n[l] = s;
2561
2561
  }
2562
2562
  return n;
2563
2563
  }
2564
2564
  )
2565
- ), kn = gi ? (
2565
+ ), $n = gi ? (
2566
2566
  // Native
2567
2567
  function(t, n) {
2568
2568
  return t.codePointAt(n);
@@ -2601,7 +2601,7 @@ function Vn(e, t) {
2601
2601
  return new RegExp(e, t);
2602
2602
  }
2603
2603
  var Vt;
2604
- if (jt) {
2604
+ if (kt) {
2605
2605
  var hn = Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
2606
  Vt = function(t, n) {
2607
2607
  var r;
@@ -2612,12 +2612,12 @@ if (jt) {
2612
2612
  } else
2613
2613
  Vt = function(t, n) {
2614
2614
  for (var r = []; ; ) {
2615
- var i = kn(t, n);
2615
+ var i = $n(t, n);
2616
2616
  if (i === void 0 || Xn(i) || Ai(i))
2617
2617
  break;
2618
2618
  r.push(i), n += i >= 65536 ? 2 : 1;
2619
2619
  }
2620
- return kt.apply(void 0, r);
2620
+ return $t.apply(void 0, r);
2621
2621
  };
2622
2622
  var Bi = (
2623
2623
  /** @class */
@@ -2633,10 +2633,10 @@ var Bi = (
2633
2633
  for (var i = []; !this.isEOF(); ) {
2634
2634
  var o = this.char();
2635
2635
  if (o === 123) {
2636
- var u = this.parseArgument(t, r);
2637
- if (u.err)
2638
- return u;
2639
- i.push(u.val);
2636
+ var l = this.parseArgument(t, r);
2637
+ if (l.err)
2638
+ return l;
2639
+ i.push(l.val);
2640
2640
  } else {
2641
2641
  if (o === 125 && t > 0)
2642
2642
  break;
@@ -2644,22 +2644,22 @@ var Bi = (
2644
2644
  var s = this.clonePosition();
2645
2645
  this.bump(), i.push({
2646
2646
  type: D.pound,
2647
- location: H(s, this.clonePosition())
2647
+ location: O(s, this.clonePosition())
2648
2648
  });
2649
2649
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2650
2650
  if (r)
2651
2651
  break;
2652
- return this.error(C.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2652
+ return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2653
2653
  } else if (o === 60 && !this.ignoreTag && Xt(this.peek() || 0)) {
2654
- var u = this.parseTag(t, n);
2655
- if (u.err)
2656
- return u;
2657
- i.push(u.val);
2654
+ var l = this.parseTag(t, n);
2655
+ if (l.err)
2656
+ return l;
2657
+ i.push(l.val);
2658
2658
  } else {
2659
- var u = this.parseLiteral(t, n);
2660
- if (u.err)
2661
- return u;
2662
- i.push(u.val);
2659
+ var l = this.parseLiteral(t, n);
2660
+ if (l.err)
2661
+ return l;
2662
+ i.push(l.val);
2663
2663
  }
2664
2664
  }
2665
2665
  }
@@ -2673,7 +2673,7 @@ var Bi = (
2673
2673
  val: {
2674
2674
  type: D.literal,
2675
2675
  value: "<".concat(i, "/>"),
2676
- location: H(r, this.clonePosition())
2676
+ location: O(r, this.clonePosition())
2677
2677
  },
2678
2678
  err: null
2679
2679
  };
@@ -2681,24 +2681,24 @@ var Bi = (
2681
2681
  var o = this.parseMessage(t + 1, n, !0);
2682
2682
  if (o.err)
2683
2683
  return o;
2684
- var u = o.val, s = this.clonePosition();
2684
+ var l = o.val, s = this.clonePosition();
2685
2685
  if (this.bumpIf("</")) {
2686
2686
  if (this.isEOF() || !Xt(this.char()))
2687
- return this.error(C.INVALID_TAG, H(s, this.clonePosition()));
2688
- var d = this.clonePosition(), h = this.parseTagName();
2689
- return i !== h ? this.error(C.UNMATCHED_CLOSING_TAG, H(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2687
+ return this.error(H.INVALID_TAG, O(s, this.clonePosition()));
2688
+ var p = this.clonePosition(), c = this.parseTagName();
2689
+ return i !== c ? this.error(H.UNMATCHED_CLOSING_TAG, O(p, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2690
2690
  val: {
2691
2691
  type: D.tag,
2692
2692
  value: i,
2693
- children: u,
2694
- location: H(r, this.clonePosition())
2693
+ children: l,
2694
+ location: O(r, this.clonePosition())
2695
2695
  },
2696
2696
  err: null
2697
- } : this.error(C.INVALID_TAG, H(s, this.clonePosition())));
2697
+ } : this.error(H.INVALID_TAG, O(s, this.clonePosition())));
2698
2698
  } else
2699
- return this.error(C.UNCLOSED_TAG, H(r, this.clonePosition()));
2699
+ return this.error(H.UNCLOSED_TAG, O(r, this.clonePosition()));
2700
2700
  } else
2701
- return this.error(C.INVALID_TAG, H(r, this.clonePosition()));
2701
+ return this.error(H.INVALID_TAG, O(r, this.clonePosition()));
2702
2702
  }, e.prototype.parseTagName = function() {
2703
2703
  var t = this.offset();
2704
2704
  for (this.bump(); !this.isEOF() && wi(this.char()); )
@@ -2711,9 +2711,9 @@ var Bi = (
2711
2711
  i += o;
2712
2712
  continue;
2713
2713
  }
2714
- var u = this.tryParseUnquoted(t, n);
2715
- if (u) {
2716
- i += u;
2714
+ var l = this.tryParseUnquoted(t, n);
2715
+ if (l) {
2716
+ i += l;
2717
2717
  continue;
2718
2718
  }
2719
2719
  var s = this.tryParseLeftAngleBracket();
@@ -2723,9 +2723,9 @@ var Bi = (
2723
2723
  }
2724
2724
  break;
2725
2725
  }
2726
- var d = H(r, this.clonePosition());
2726
+ var p = O(r, this.clonePosition());
2727
2727
  return {
2728
- val: { type: D.literal, value: i, location: d },
2728
+ val: { type: D.literal, value: i, location: p },
2729
2729
  err: null
2730
2730
  };
2731
2731
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2764,23 +2764,23 @@ var Bi = (
2764
2764
  n.push(r);
2765
2765
  this.bump();
2766
2766
  }
2767
- return kt.apply(void 0, n);
2767
+ return $t.apply(void 0, n);
2768
2768
  }, e.prototype.tryParseUnquoted = function(t, n) {
2769
2769
  if (this.isEOF())
2770
2770
  return null;
2771
2771
  var r = this.char();
2772
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), kt(r));
2772
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), $t(r));
2773
2773
  }, e.prototype.parseArgument = function(t, n) {
2774
2774
  var r = this.clonePosition();
2775
2775
  if (this.bump(), this.bumpSpace(), this.isEOF())
2776
- return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
2776
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2777
2777
  if (this.char() === 125)
2778
- return this.bump(), this.error(C.EMPTY_ARGUMENT, H(r, this.clonePosition()));
2778
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, O(r, this.clonePosition()));
2779
2779
  var i = this.parseIdentifierIfPossible().value;
2780
2780
  if (!i)
2781
- return this.error(C.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
2781
+ return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2782
2782
  if (this.bumpSpace(), this.isEOF())
2783
- return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition()));
2783
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2784
2784
  switch (this.char()) {
2785
2785
  case 125:
2786
2786
  return this.bump(), {
@@ -2788,66 +2788,66 @@ var Bi = (
2788
2788
  type: D.argument,
2789
2789
  // value does not include the opening and closing braces.
2790
2790
  value: i,
2791
- location: H(r, this.clonePosition())
2791
+ location: O(r, this.clonePosition())
2792
2792
  },
2793
2793
  err: null
2794
2794
  };
2795
2795
  case 44:
2796
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2796
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2797
2797
  default:
2798
- return this.error(C.MALFORMED_ARGUMENT, H(r, this.clonePosition()));
2798
+ return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2799
2799
  }
2800
2800
  }, e.prototype.parseIdentifierIfPossible = function() {
2801
2801
  var t = this.clonePosition(), n = this.offset(), r = Vt(this.message, n), i = n + r.length;
2802
2802
  this.bumpTo(i);
2803
- var o = this.clonePosition(), u = H(t, o);
2804
- return { value: r, location: u };
2803
+ var o = this.clonePosition(), l = O(t, o);
2804
+ return { value: r, location: l };
2805
2805
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2806
- var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2806
+ var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value, p = this.clonePosition();
2807
2807
  switch (s) {
2808
2808
  case "":
2809
- return this.error(C.EXPECT_ARGUMENT_TYPE, H(u, d));
2809
+ return this.error(H.EXPECT_ARGUMENT_TYPE, O(l, p));
2810
2810
  case "number":
2811
2811
  case "date":
2812
2812
  case "time": {
2813
2813
  this.bumpSpace();
2814
- var h = null;
2814
+ var c = null;
2815
2815
  if (this.bumpIf(",")) {
2816
2816
  this.bumpSpace();
2817
- var c = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2818
- if (g.err)
2819
- return g;
2820
- var y = Ti(g.val);
2821
- if (y.length === 0)
2822
- return this.error(C.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2823
- var x = H(c, this.clonePosition());
2824
- h = { style: y, styleLocation: x };
2817
+ var d = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2818
+ if (m.err)
2819
+ return m;
2820
+ var b = Ti(m.val);
2821
+ if (b.length === 0)
2822
+ return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2823
+ var _ = O(d, this.clonePosition());
2824
+ c = { style: b, styleLocation: _ };
2825
2825
  }
2826
- var T = this.tryParseArgumentClose(i);
2827
- if (T.err)
2828
- return T;
2829
- var P = H(i, this.clonePosition());
2830
- if (h && un(h?.style, "::", 0)) {
2831
- var j = _i(h.style.slice(2));
2826
+ var B = this.tryParseArgumentClose(i);
2827
+ if (B.err)
2828
+ return B;
2829
+ var I = O(i, this.clonePosition());
2830
+ if (c && un(c?.style, "::", 0)) {
2831
+ var j = _i(c.style.slice(2));
2832
2832
  if (s === "number") {
2833
- var g = this.parseNumberSkeletonFromString(j, h.styleLocation);
2834
- return g.err ? g : {
2835
- val: { type: D.number, value: r, location: P, style: g.val },
2833
+ var m = this.parseNumberSkeletonFromString(j, c.styleLocation);
2834
+ return m.err ? m : {
2835
+ val: { type: D.number, value: r, location: I, style: m.val },
2836
2836
  err: null
2837
2837
  };
2838
2838
  } else {
2839
2839
  if (j.length === 0)
2840
- return this.error(C.EXPECT_DATE_TIME_SKELETON, P);
2841
- var z = j;
2842
- this.locale && (z = li(j, this.locale));
2843
- var y = {
2844
- type: Ue.dateTime,
2845
- pattern: z,
2846
- location: h.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? ni(z) : {}
2848
- }, G = s === "date" ? D.date : D.time;
2840
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, I);
2841
+ var W = j;
2842
+ this.locale && (W = li(j, this.locale));
2843
+ var b = {
2844
+ type: Fe.dateTime,
2845
+ pattern: W,
2846
+ location: c.styleLocation,
2847
+ parsedOptions: this.shouldParseSkeletons ? ni(W) : {}
2848
+ }, U = s === "date" ? D.date : D.time;
2849
2849
  return {
2850
- val: { type: G, value: r, location: P, style: y },
2850
+ val: { type: U, value: r, location: I, style: b },
2851
2851
  err: null
2852
2852
  };
2853
2853
  }
@@ -2856,8 +2856,8 @@ var Bi = (
2856
2856
  val: {
2857
2857
  type: s === "number" ? D.number : s === "date" ? D.date : D.time,
2858
2858
  value: r,
2859
- location: P,
2860
- style: (o = h?.style) !== null && o !== void 0 ? o : null
2859
+ location: I,
2860
+ style: (o = c?.style) !== null && o !== void 0 ? o : null
2861
2861
  },
2862
2862
  err: null
2863
2863
  };
@@ -2865,52 +2865,52 @@ var Bi = (
2865
2865
  case "plural":
2866
2866
  case "selectordinal":
2867
2867
  case "select": {
2868
- var B = this.clonePosition();
2868
+ var w = this.clonePosition();
2869
2869
  if (this.bumpSpace(), !this.bumpIf(","))
2870
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, pt({}, B)));
2870
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(w, mt({}, w)));
2871
2871
  this.bumpSpace();
2872
- var w = this.parseIdentifierIfPossible(), I = 0;
2873
- if (s !== "select" && w.value === "offset") {
2872
+ var A = this.parseIdentifierIfPossible(), P = 0;
2873
+ if (s !== "select" && A.value === "offset") {
2874
2874
  if (!this.bumpIf(":"))
2875
- return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2875
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2876
2876
  this.bumpSpace();
2877
- var g = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2878
- if (g.err)
2879
- return g;
2880
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), I = g.val;
2877
+ var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2878
+ if (m.err)
2879
+ return m;
2880
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), P = m.val;
2881
2881
  }
2882
- var R = this.tryParsePluralOrSelectOptions(t, s, n, w);
2883
- if (R.err)
2884
- return R;
2885
- var T = this.tryParseArgumentClose(i);
2886
- if (T.err)
2887
- return T;
2888
- var K = H(i, this.clonePosition());
2882
+ var L = this.tryParsePluralOrSelectOptions(t, s, n, A);
2883
+ if (L.err)
2884
+ return L;
2885
+ var B = this.tryParseArgumentClose(i);
2886
+ if (B.err)
2887
+ return B;
2888
+ var Y = O(i, this.clonePosition());
2889
2889
  return s === "select" ? {
2890
2890
  val: {
2891
2891
  type: D.select,
2892
2892
  value: r,
2893
- options: ln(R.val),
2894
- location: K
2893
+ options: ln(L.val),
2894
+ location: Y
2895
2895
  },
2896
2896
  err: null
2897
2897
  } : {
2898
2898
  val: {
2899
2899
  type: D.plural,
2900
2900
  value: r,
2901
- options: ln(R.val),
2902
- offset: I,
2901
+ options: ln(L.val),
2902
+ offset: P,
2903
2903
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2904
- location: K
2904
+ location: Y
2905
2905
  },
2906
2906
  err: null
2907
2907
  };
2908
2908
  }
2909
2909
  default:
2910
- return this.error(C.INVALID_ARGUMENT_TYPE, H(u, d));
2910
+ return this.error(H.INVALID_ARGUMENT_TYPE, O(l, p));
2911
2911
  }
2912
2912
  }, e.prototype.tryParseArgumentClose = function(t) {
2913
- return this.isEOF() || this.char() !== 125 ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2913
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2914
2914
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2915
2915
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2916
2916
  var r = this.char();
@@ -2919,7 +2919,7 @@ var Bi = (
2919
2919
  this.bump();
2920
2920
  var i = this.clonePosition();
2921
2921
  if (!this.bumpUntil("'"))
2922
- return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
2922
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2923
2923
  this.bump();
2924
2924
  break;
2925
2925
  }
@@ -2951,11 +2951,11 @@ var Bi = (
2951
2951
  try {
2952
2952
  r = ii(t);
2953
2953
  } catch {
2954
- return this.error(C.INVALID_NUMBER_SKELETON, n);
2954
+ return this.error(H.INVALID_NUMBER_SKELETON, n);
2955
2955
  }
2956
2956
  return {
2957
2957
  val: {
2958
- type: Ue.number,
2958
+ type: Fe.number,
2959
2959
  tokens: r,
2960
2960
  location: n,
2961
2961
  parsedOptions: this.shouldParseSkeletons ? ui(r) : {}
@@ -2963,50 +2963,50 @@ var Bi = (
2963
2963
  err: null
2964
2964
  };
2965
2965
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2966
- for (var o, u = !1, s = [], d = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
2967
- if (h.length === 0) {
2968
- var g = this.clonePosition();
2966
+ for (var o, l = !1, s = [], p = /* @__PURE__ */ new Set(), c = i.value, d = i.location; ; ) {
2967
+ if (c.length === 0) {
2968
+ var m = this.clonePosition();
2969
2969
  if (n !== "select" && this.bumpIf("=")) {
2970
- var y = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR, C.INVALID_PLURAL_ARGUMENT_SELECTOR);
2971
- if (y.err)
2972
- return y;
2973
- c = H(g, this.clonePosition()), h = this.message.slice(g.offset, this.offset());
2970
+ var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2971
+ if (b.err)
2972
+ return b;
2973
+ d = O(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
2974
2974
  } else
2975
2975
  break;
2976
2976
  }
2977
- if (d.has(h))
2978
- return this.error(n === "select" ? C.DUPLICATE_SELECT_ARGUMENT_SELECTOR : C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2979
- h === "other" && (u = !0), this.bumpSpace();
2980
- var x = this.clonePosition();
2977
+ if (p.has(c))
2978
+ return this.error(n === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, d);
2979
+ c === "other" && (l = !0), this.bumpSpace();
2980
+ var _ = this.clonePosition();
2981
2981
  if (!this.bumpIf("{"))
2982
- return this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
2983
- var T = this.parseMessage(t + 1, n, r);
2984
- if (T.err)
2985
- return T;
2986
- var P = this.tryParseArgumentClose(x);
2987
- if (P.err)
2988
- return P;
2982
+ return this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2983
+ var B = this.parseMessage(t + 1, n, r);
2984
+ if (B.err)
2985
+ return B;
2986
+ var I = this.tryParseArgumentClose(_);
2987
+ if (I.err)
2988
+ return I;
2989
2989
  s.push([
2990
- h,
2990
+ c,
2991
2991
  {
2992
- value: T.val,
2993
- location: H(x, this.clonePosition())
2992
+ value: B.val,
2993
+ location: O(_, this.clonePosition())
2994
2994
  }
2995
- ]), d.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, c = o.location;
2995
+ ]), p.add(c), this.bumpSpace(), o = this.parseIdentifierIfPossible(), c = o.value, d = o.location;
2996
2996
  }
2997
- return s.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(C.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2997
+ return s.length === 0 ? this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2998
2998
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
2999
2999
  var r = 1, i = this.clonePosition();
3000
3000
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3001
- for (var o = !1, u = 0; !this.isEOF(); ) {
3001
+ for (var o = !1, l = 0; !this.isEOF(); ) {
3002
3002
  var s = this.char();
3003
3003
  if (s >= 48 && s <= 57)
3004
- o = !0, u = u * 10 + (s - 48), this.bump();
3004
+ o = !0, l = l * 10 + (s - 48), this.bump();
3005
3005
  else
3006
3006
  break;
3007
3007
  }
3008
- var d = H(i, this.clonePosition());
3009
- return o ? (u *= r, Ei(u) ? { val: u, err: null } : this.error(n, d)) : this.error(t, d);
3008
+ var p = O(i, this.clonePosition());
3009
+ return o ? (l *= r, Ei(l) ? { val: l, err: null } : this.error(n, p)) : this.error(t, p);
3010
3010
  }, e.prototype.offset = function() {
3011
3011
  return this.position.offset;
3012
3012
  }, e.prototype.isEOF = function() {
@@ -3021,7 +3021,7 @@ var Bi = (
3021
3021
  var t = this.position.offset;
3022
3022
  if (t >= this.message.length)
3023
3023
  throw Error("out of bound");
3024
- var n = kn(this.message, t);
3024
+ var n = $n(this.message, t);
3025
3025
  if (n === void 0)
3026
3026
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3027
  return n;
@@ -3093,26 +3093,26 @@ function zt(e) {
3093
3093
  for (var n in t.options)
3094
3094
  delete t.options[n].location, zt(t.options[n].value);
3095
3095
  else
3096
- Rn(t) && Fn(t.style) || (Nn(t) || Mn(t)) && $t(t.style) ? delete t.style.location : Dn(t) && zt(t.children);
3096
+ Rn(t) && Fn(t.style) || (Nn(t) || Mn(t)) && jt(t.style) ? delete t.style.location : Dn(t) && zt(t.children);
3097
3097
  });
3098
3098
  }
3099
3099
  function Ci(e, t) {
3100
- t === void 0 && (t = {}), t = pt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3100
+ t === void 0 && (t = {}), t = mt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
3101
  var n = new Bi(e, t).parse();
3102
3102
  if (n.err) {
3103
- var r = SyntaxError(C[n.err.kind]);
3103
+ var r = SyntaxError(H[n.err.kind]);
3104
3104
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3105
3105
  }
3106
3106
  return t?.captureLocation || zt(n.val), n.val;
3107
3107
  }
3108
- var Ge;
3108
+ var Ue;
3109
3109
  (function(e) {
3110
3110
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3111
- })(Ge || (Ge = {}));
3112
- var vt = (
3111
+ })(Ue || (Ue = {}));
3112
+ var Et = (
3113
3113
  /** @class */
3114
3114
  function(e) {
3115
- yt(t, e);
3115
+ vt(t, e);
3116
3116
  function t(n, r, i) {
3117
3117
  var o = e.call(this, n) || this;
3118
3118
  return o.code = r, o.originalMessage = i, o;
@@ -3124,150 +3124,150 @@ var vt = (
3124
3124
  ), cn = (
3125
3125
  /** @class */
3126
3126
  function(e) {
3127
- yt(t, e);
3127
+ vt(t, e);
3128
3128
  function t(n, r, i, o) {
3129
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
3129
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ue.INVALID_VALUE, o) || this;
3130
3130
  }
3131
3131
  return t;
3132
- }(vt)
3132
+ }(Et)
3133
3133
  ), Hi = (
3134
3134
  /** @class */
3135
3135
  function(e) {
3136
- yt(t, e);
3136
+ vt(t, e);
3137
3137
  function t(n, r, i) {
3138
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ge.INVALID_VALUE, i) || this;
3138
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ue.INVALID_VALUE, i) || this;
3139
3139
  }
3140
3140
  return t;
3141
- }(vt)
3141
+ }(Et)
3142
3142
  ), Oi = (
3143
3143
  /** @class */
3144
3144
  function(e) {
3145
- yt(t, e);
3145
+ vt(t, e);
3146
3146
  function t(n, r) {
3147
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ge.MISSING_VALUE, r) || this;
3147
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ue.MISSING_VALUE, r) || this;
3148
3148
  }
3149
3149
  return t;
3150
- }(vt)
3151
- ), Y;
3150
+ }(Et)
3151
+ ), J;
3152
3152
  (function(e) {
3153
3153
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
- })(Y || (Y = {}));
3154
+ })(J || (J = {}));
3155
3155
  function Li(e) {
3156
3156
  return e.length < 2 ? e : e.reduce(function(t, n) {
3157
3157
  var r = t[t.length - 1];
3158
- return !r || r.type !== Y.literal || n.type !== Y.literal ? t.push(n) : r.value += n.value, t;
3158
+ return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3159
3159
  }, []);
3160
3160
  }
3161
3161
  function Ri(e) {
3162
3162
  return typeof e == "function";
3163
3163
  }
3164
- function ht(e, t, n, r, i, o, u) {
3164
+ function ct(e, t, n, r, i, o, l) {
3165
3165
  if (e.length === 1 && rn(e[0]))
3166
3166
  return [
3167
3167
  {
3168
- type: Y.literal,
3168
+ type: J.literal,
3169
3169
  value: e[0].value
3170
3170
  }
3171
3171
  ];
3172
- for (var s = [], d = 0, h = e; d < h.length; d++) {
3173
- var c = h[d];
3174
- if (rn(c)) {
3172
+ for (var s = [], p = 0, c = e; p < c.length; p++) {
3173
+ var d = c[p];
3174
+ if (rn(d)) {
3175
3175
  s.push({
3176
- type: Y.literal,
3177
- value: c.value
3176
+ type: J.literal,
3177
+ value: d.value
3178
3178
  });
3179
3179
  continue;
3180
3180
  }
3181
- if (ei(c)) {
3181
+ if (ei(d)) {
3182
3182
  typeof o == "number" && s.push({
3183
- type: Y.literal,
3183
+ type: J.literal,
3184
3184
  value: n.getNumberFormat(t).format(o)
3185
3185
  });
3186
3186
  continue;
3187
3187
  }
3188
- var g = c.value;
3189
- if (!(i && g in i))
3190
- throw new Oi(g, u);
3191
- var y = i[g];
3192
- if (Kr(c)) {
3193
- (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), s.push({
3194
- type: typeof y == "string" ? Y.literal : Y.object,
3195
- value: y
3188
+ var m = d.value;
3189
+ if (!(i && m in i))
3190
+ throw new Oi(m, l);
3191
+ var b = i[m];
3192
+ if (Kr(d)) {
3193
+ (!b || typeof b == "string" || typeof b == "number") && (b = typeof b == "string" || typeof b == "number" ? String(b) : ""), s.push({
3194
+ type: typeof b == "string" ? J.literal : J.object,
3195
+ value: b
3196
3196
  });
3197
3197
  continue;
3198
3198
  }
3199
- if (Nn(c)) {
3200
- var x = typeof c.style == "string" ? r.date[c.style] : $t(c.style) ? c.style.parsedOptions : void 0;
3199
+ if (Nn(d)) {
3200
+ var _ = typeof d.style == "string" ? r.date[d.style] : jt(d.style) ? d.style.parsedOptions : void 0;
3201
3201
  s.push({
3202
- type: Y.literal,
3203
- value: n.getDateTimeFormat(t, x).format(y)
3202
+ type: J.literal,
3203
+ value: n.getDateTimeFormat(t, _).format(b)
3204
3204
  });
3205
3205
  continue;
3206
3206
  }
3207
- if (Mn(c)) {
3208
- var x = typeof c.style == "string" ? r.time[c.style] : $t(c.style) ? c.style.parsedOptions : r.time.medium;
3207
+ if (Mn(d)) {
3208
+ var _ = typeof d.style == "string" ? r.time[d.style] : jt(d.style) ? d.style.parsedOptions : r.time.medium;
3209
3209
  s.push({
3210
- type: Y.literal,
3211
- value: n.getDateTimeFormat(t, x).format(y)
3210
+ type: J.literal,
3211
+ value: n.getDateTimeFormat(t, _).format(b)
3212
3212
  });
3213
3213
  continue;
3214
3214
  }
3215
- if (Rn(c)) {
3216
- var x = typeof c.style == "string" ? r.number[c.style] : Fn(c.style) ? c.style.parsedOptions : void 0;
3217
- x && x.scale && (y = y * (x.scale || 1)), s.push({
3218
- type: Y.literal,
3219
- value: n.getNumberFormat(t, x).format(y)
3215
+ if (Rn(d)) {
3216
+ var _ = typeof d.style == "string" ? r.number[d.style] : Fn(d.style) ? d.style.parsedOptions : void 0;
3217
+ _ && _.scale && (b = b * (_.scale || 1)), s.push({
3218
+ type: J.literal,
3219
+ value: n.getNumberFormat(t, _).format(b)
3220
3220
  });
3221
3221
  continue;
3222
3222
  }
3223
- if (Dn(c)) {
3224
- var T = c.children, P = c.value, j = i[P];
3223
+ if (Dn(d)) {
3224
+ var B = d.children, I = d.value, j = i[I];
3225
3225
  if (!Ri(j))
3226
- throw new Hi(P, "function", u);
3227
- var z = ht(T, t, n, r, i, o), G = j(z.map(function(I) {
3228
- return I.value;
3226
+ throw new Hi(I, "function", l);
3227
+ var W = ct(B, t, n, r, i, o), U = j(W.map(function(P) {
3228
+ return P.value;
3229
3229
  }));
3230
- Array.isArray(G) || (G = [G]), s.push.apply(s, G.map(function(I) {
3230
+ Array.isArray(U) || (U = [U]), s.push.apply(s, U.map(function(P) {
3231
3231
  return {
3232
- type: typeof I == "string" ? Y.literal : Y.object,
3233
- value: I
3232
+ type: typeof P == "string" ? J.literal : J.object,
3233
+ value: P
3234
3234
  };
3235
3235
  }));
3236
3236
  }
3237
- if (Pn(c)) {
3238
- var B = c.options[y] || c.options.other;
3239
- if (!B)
3240
- throw new cn(c.value, y, Object.keys(c.options), u);
3241
- s.push.apply(s, ht(B.value, t, n, r, i));
3237
+ if (Pn(d)) {
3238
+ var w = d.options[b] || d.options.other;
3239
+ if (!w)
3240
+ throw new cn(d.value, b, Object.keys(d.options), l);
3241
+ s.push.apply(s, ct(w.value, t, n, r, i));
3242
3242
  continue;
3243
3243
  }
3244
- if (In(c)) {
3245
- var B = c.options["=".concat(y)];
3246
- if (!B) {
3244
+ if (In(d)) {
3245
+ var w = d.options["=".concat(b)];
3246
+ if (!w) {
3247
3247
  if (!Intl.PluralRules)
3248
- throw new vt(`Intl.PluralRules is not available in this environment.
3248
+ throw new Et(`Intl.PluralRules is not available in this environment.
3249
3249
  Try polyfilling it using "@formatjs/intl-pluralrules"
3250
- `, Ge.MISSING_INTL_API, u);
3251
- var w = n.getPluralRules(t, { type: c.pluralType }).select(y - (c.offset || 0));
3252
- B = c.options[w] || c.options.other;
3250
+ `, Ue.MISSING_INTL_API, l);
3251
+ var A = n.getPluralRules(t, { type: d.pluralType }).select(b - (d.offset || 0));
3252
+ w = d.options[A] || d.options.other;
3253
3253
  }
3254
- if (!B)
3255
- throw new cn(c.value, y, Object.keys(c.options), u);
3256
- s.push.apply(s, ht(B.value, t, n, r, i, y - (c.offset || 0)));
3254
+ if (!w)
3255
+ throw new cn(d.value, b, Object.keys(d.options), l);
3256
+ s.push.apply(s, ct(w.value, t, n, r, i, b - (d.offset || 0)));
3257
3257
  continue;
3258
3258
  }
3259
3259
  }
3260
3260
  return Li(s);
3261
3261
  }
3262
3262
  function Ni(e, t) {
3263
- return t ? he(he(he({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3264
- return n[r] = he(he({}, e[r]), t[r] || {}), n;
3263
+ return t ? ce(ce(ce({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3264
+ return n[r] = ce(ce({}, e[r]), t[r] || {}), n;
3265
3265
  }, {})) : e;
3266
3266
  }
3267
3267
  function Mi(e, t) {
3268
3268
  return t ? Object.keys(e).reduce(function(n, r) {
3269
3269
  return n[r] = Ni(e[r], t[r]), n;
3270
- }, he({}, e)) : e;
3270
+ }, ce({}, e)) : e;
3271
3271
  }
3272
3272
  function Pt(e) {
3273
3273
  return {
@@ -3325,30 +3325,30 @@ var Ii = (
3325
3325
  number: {},
3326
3326
  dateTime: {},
3327
3327
  pluralRules: {}
3328
- }, this.format = function(d) {
3329
- var h = o.formatToParts(d);
3330
- if (h.length === 1)
3331
- return h[0].value;
3332
- var c = h.reduce(function(g, y) {
3333
- return !g.length || y.type !== Y.literal || typeof g[g.length - 1] != "string" ? g.push(y.value) : g[g.length - 1] += y.value, g;
3328
+ }, this.format = function(p) {
3329
+ var c = o.formatToParts(p);
3330
+ if (c.length === 1)
3331
+ return c[0].value;
3332
+ var d = c.reduce(function(m, b) {
3333
+ return !m.length || b.type !== J.literal || typeof m[m.length - 1] != "string" ? m.push(b.value) : m[m.length - 1] += b.value, m;
3334
3334
  }, []);
3335
- return c.length <= 1 ? c[0] || "" : c;
3336
- }, this.formatToParts = function(d) {
3337
- return ht(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
3335
+ return d.length <= 1 ? d[0] || "" : d;
3336
+ }, this.formatToParts = function(p) {
3337
+ return ct(o.ast, o.locales, o.formatters, o.formats, p, void 0, o.message);
3338
3338
  }, this.resolvedOptions = function() {
3339
- var d;
3339
+ var p;
3340
3340
  return {
3341
- locale: ((d = o.resolvedLocale) === null || d === void 0 ? void 0 : d.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3341
+ locale: ((p = o.resolvedLocale) === null || p === void 0 ? void 0 : p.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3342
3342
  };
3343
3343
  }, this.getAst = function() {
3344
3344
  return o.ast;
3345
3345
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3346
3346
  if (this.message = t, !e.__parse)
3347
3347
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3348
- var u = i || {};
3349
- u.formatters;
3350
- var s = Xr(u, ["formatters"]);
3351
- this.ast = e.__parse(t, he(he({}, s), { locale: this.resolvedLocale }));
3348
+ var l = i || {};
3349
+ l.formatters;
3350
+ var s = Xr(l, ["formatters"]);
3351
+ this.ast = e.__parse(t, ce(ce({}, s), { locale: this.resolvedLocale }));
3352
3352
  } else
3353
3353
  this.ast = t;
3354
3354
  if (!Array.isArray(this.ast))
@@ -3448,12 +3448,12 @@ function Di(e, t) {
3448
3448
  r = void 0;
3449
3449
  return r;
3450
3450
  }
3451
- const Se = {}, Fi = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = n), n), zn = (e, t) => {
3451
+ const Be = {}, Fi = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = n), n), zn = (e, t) => {
3452
3452
  if (t == null)
3453
3453
  return;
3454
- if (t in Se && e in Se[t])
3455
- return Se[t][e];
3456
- const n = Et(t);
3454
+ if (t in Be && e in Be[t])
3455
+ return Be[t][e];
3456
+ const n = xt(t);
3457
3457
  for (let r = 0; r < n.length; r++) {
3458
3458
  const i = n[r], o = Gi(i, e);
3459
3459
  if (o)
@@ -3461,7 +3461,7 @@ const Se = {}, Fi = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (S
3461
3461
  }
3462
3462
  };
3463
3463
  let Jt;
3464
- const rt = bt({});
3464
+ const nt = yt({});
3465
3465
  function Ui(e) {
3466
3466
  return Jt[e] || null;
3467
3467
  }
@@ -3474,10 +3474,10 @@ function Gi(e, t) {
3474
3474
  const n = Ui(e);
3475
3475
  return Di(n, t);
3476
3476
  }
3477
- function $i(e) {
3477
+ function ji(e) {
3478
3478
  if (e == null)
3479
3479
  return;
3480
- const t = Et(e);
3480
+ const t = xt(e);
3481
3481
  for (let n = 0; n < t.length; n++) {
3482
3482
  const r = t[n];
3483
3483
  if (Wn(r))
@@ -3485,28 +3485,28 @@ function $i(e) {
3485
3485
  }
3486
3486
  }
3487
3487
  function Zn(e, ...t) {
3488
- delete Se[e], rt.update((n) => (n[e] = Vr.all([n[e] || {}, ...t]), n));
3488
+ delete Be[e], nt.update((n) => (n[e] = Vr.all([n[e] || {}, ...t]), n));
3489
3489
  }
3490
3490
  ke(
3491
- [rt],
3491
+ [nt],
3492
3492
  ([e]) => Object.keys(e)
3493
3493
  );
3494
- rt.subscribe((e) => Jt = e);
3495
- const ct = {};
3496
- function ji(e, t) {
3497
- ct[e].delete(t), ct[e].size === 0 && delete ct[e];
3494
+ nt.subscribe((e) => Jt = e);
3495
+ const ft = {};
3496
+ function ki(e, t) {
3497
+ ft[e].delete(t), ft[e].size === 0 && delete ft[e];
3498
3498
  }
3499
3499
  function qn(e) {
3500
- return ct[e];
3500
+ return ft[e];
3501
3501
  }
3502
- function ki(e) {
3503
- return Et(e).map((t) => {
3502
+ function $i(e) {
3503
+ return xt(e).map((t) => {
3504
3504
  const n = qn(t);
3505
3505
  return [t, n ? [...n] : []];
3506
3506
  }).filter(([, t]) => t.length > 0);
3507
3507
  }
3508
3508
  function Wt(e) {
3509
- return e == null ? !1 : Et(e).some(
3509
+ return e == null ? !1 : xt(e).some(
3510
3510
  (t) => {
3511
3511
  var n;
3512
3512
  return (n = qn(t)) == null ? void 0 : n.size;
@@ -3515,23 +3515,23 @@ function Wt(e) {
3515
3515
  }
3516
3516
  function Vi(e, t) {
3517
3517
  return Promise.all(
3518
- t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
3518
+ t.map((r) => (ki(e, r), r().then((i) => i.default || i)))
3519
3519
  ).then((r) => Zn(e, ...r));
3520
3520
  }
3521
- const Ye = {};
3521
+ const Je = {};
3522
3522
  function Qn(e) {
3523
3523
  if (!Wt(e))
3524
- return e in Ye ? Ye[e] : Promise.resolve();
3525
- const t = ki(e);
3526
- return Ye[e] = Promise.all(
3524
+ return e in Je ? Je[e] : Promise.resolve();
3525
+ const t = $i(e);
3526
+ return Je[e] = Promise.all(
3527
3527
  t.map(
3528
3528
  ([n, r]) => Vi(n, r)
3529
3529
  )
3530
3530
  ).then(() => {
3531
3531
  if (Wt(e))
3532
3532
  return Qn(e);
3533
- delete Ye[e];
3534
- }), Ye[e];
3533
+ delete Je[e];
3534
+ }), Je[e];
3535
3535
  }
3536
3536
  const Xi = {
3537
3537
  number: {
@@ -3570,10 +3570,10 @@ const Xi = {
3570
3570
  handleMissingMessage: void 0,
3571
3571
  ignoreTag: !0
3572
3572
  }, Wi = zi;
3573
- function $e() {
3573
+ function Ge() {
3574
3574
  return Wi;
3575
3575
  }
3576
- const It = bt(!1);
3576
+ const It = yt(!1);
3577
3577
  var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, fn = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, dn = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ki = (e, t) => {
3578
3578
  for (var n in t || (t = {}))
3579
3579
  Ji.call(t, n) && dn(e, n, t[n]);
@@ -3583,155 +3583,155 @@ var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwn
3583
3583
  return e;
3584
3584
  }, eo = (e, t) => qi(e, Qi(t));
3585
3585
  let Zt;
3586
- const mt = bt(null);
3586
+ const gt = yt(null);
3587
3587
  function pn(e) {
3588
3588
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3589
3589
  }
3590
- function Et(e, t = $e().fallbackLocale) {
3590
+ function xt(e, t = Ge().fallbackLocale) {
3591
3591
  const n = pn(e);
3592
3592
  return t ? [.../* @__PURE__ */ new Set([...n, ...pn(t)])] : n;
3593
3593
  }
3594
3594
  function He() {
3595
3595
  return Zt ?? void 0;
3596
3596
  }
3597
- mt.subscribe((e) => {
3597
+ gt.subscribe((e) => {
3598
3598
  Zt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3599
3599
  });
3600
3600
  const to = (e) => {
3601
- if (e && $i(e) && Wt(e)) {
3602
- const { loadingDelay: t } = $e();
3601
+ if (e && ji(e) && Wt(e)) {
3602
+ const { loadingDelay: t } = Ge();
3603
3603
  let n;
3604
3604
  return typeof window < "u" && He() != null && t ? n = window.setTimeout(
3605
3605
  () => It.set(!0),
3606
3606
  t
3607
3607
  ) : It.set(!0), Qn(e).then(() => {
3608
- mt.set(e);
3608
+ gt.set(e);
3609
3609
  }).finally(() => {
3610
3610
  clearTimeout(n), It.set(!1);
3611
3611
  });
3612
3612
  }
3613
- return mt.set(e);
3614
- }, Ve = eo(Ki({}, mt), {
3613
+ return gt.set(e);
3614
+ }, $e = eo(Ki({}, gt), {
3615
3615
  set: to
3616
- }), xt = (e) => {
3616
+ }), _t = (e) => {
3617
3617
  const t = /* @__PURE__ */ Object.create(null);
3618
3618
  return (r) => {
3619
3619
  const i = JSON.stringify(r);
3620
3620
  return i in t ? t[i] : t[i] = e(r);
3621
3621
  };
3622
3622
  };
3623
- var no = Object.defineProperty, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mn = (e, t, n) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Yt = (e, t) => {
3623
+ var no = Object.defineProperty, bt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mn = (e, t, n) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Yt = (e, t) => {
3624
3624
  for (var n in t || (t = {}))
3625
3625
  Jn.call(t, n) && mn(e, n, t[n]);
3626
- if (gt)
3627
- for (var n of gt(t))
3626
+ if (bt)
3627
+ for (var n of bt(t))
3628
3628
  Yn.call(t, n) && mn(e, n, t[n]);
3629
3629
  return e;
3630
- }, Xe = (e, t) => {
3630
+ }, Ve = (e, t) => {
3631
3631
  var n = {};
3632
3632
  for (var r in e)
3633
3633
  Jn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3634
- if (e != null && gt)
3635
- for (var r of gt(e))
3634
+ if (e != null && bt)
3635
+ for (var r of bt(e))
3636
3636
  t.indexOf(r) < 0 && Yn.call(e, r) && (n[r] = e[r]);
3637
3637
  return n;
3638
3638
  };
3639
- const nt = (e, t) => {
3640
- const { formats: n } = $e();
3639
+ const tt = (e, t) => {
3640
+ const { formats: n } = Ge();
3641
3641
  if (e in n && t in n[e])
3642
3642
  return n[e][t];
3643
3643
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, ro = xt(
3644
+ }, ro = _t(
3645
3645
  (e) => {
3646
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3646
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3647
3647
  if (n == null)
3648
3648
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
- return r && (i = nt("number", r)), new Intl.NumberFormat(n, i);
3649
+ return r && (i = tt("number", r)), new Intl.NumberFormat(n, i);
3650
3650
  }
3651
- ), io = xt(
3651
+ ), io = _t(
3652
3652
  (e) => {
3653
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3653
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3654
3654
  if (n == null)
3655
3655
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
- return r ? i = nt("date", r) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(n, i);
3656
+ return r ? i = tt("date", r) : Object.keys(i).length === 0 && (i = tt("date", "short")), new Intl.DateTimeFormat(n, i);
3657
3657
  }
3658
- ), oo = xt(
3658
+ ), oo = _t(
3659
3659
  (e) => {
3660
- var t = e, { locale: n, format: r } = t, i = Xe(t, ["locale", "format"]);
3660
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3661
3661
  if (n == null)
3662
3662
  throw new Error(
3663
3663
  '[svelte-i18n] A "locale" must be set to format time values'
3664
3664
  );
3665
- return r ? i = nt("time", r) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(n, i);
3665
+ return r ? i = tt("time", r) : Object.keys(i).length === 0 && (i = tt("time", "short")), new Intl.DateTimeFormat(n, i);
3666
3666
  }
3667
3667
  ), ao = (e = {}) => {
3668
3668
  var t = e, {
3669
3669
  locale: n = He()
3670
- } = t, r = Xe(t, [
3670
+ } = t, r = Ve(t, [
3671
3671
  "locale"
3672
3672
  ]);
3673
3673
  return ro(Yt({ locale: n }, r));
3674
3674
  }, so = (e = {}) => {
3675
3675
  var t = e, {
3676
3676
  locale: n = He()
3677
- } = t, r = Xe(t, [
3677
+ } = t, r = Ve(t, [
3678
3678
  "locale"
3679
3679
  ]);
3680
3680
  return io(Yt({ locale: n }, r));
3681
3681
  }, uo = (e = {}) => {
3682
3682
  var t = e, {
3683
3683
  locale: n = He()
3684
- } = t, r = Xe(t, [
3684
+ } = t, r = Ve(t, [
3685
3685
  "locale"
3686
3686
  ]);
3687
3687
  return oo(Yt({ locale: n }, r));
3688
- }, lo = xt(
3688
+ }, lo = _t(
3689
3689
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = He()) => new Ii(e, t, $e().formats, {
3691
- ignoreTag: $e().ignoreTag
3690
+ (e, t = He()) => new Ii(e, t, Ge().formats, {
3691
+ ignoreTag: Ge().ignoreTag
3692
3692
  })
3693
3693
  ), ho = (e, t = {}) => {
3694
3694
  var n, r, i, o;
3695
- let u = t;
3696
- typeof e == "object" && (u = e, e = u.id);
3695
+ let l = t;
3696
+ typeof e == "object" && (l = e, e = l.id);
3697
3697
  const {
3698
3698
  values: s,
3699
- locale: d = He(),
3700
- default: h
3701
- } = u;
3702
- if (d == null)
3699
+ locale: p = He(),
3700
+ default: c
3701
+ } = l;
3702
+ if (p == null)
3703
3703
  throw new Error(
3704
3704
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3705
3705
  );
3706
- let c = zn(e, d);
3707
- if (!c)
3708
- c = (o = (i = (r = (n = $e()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: d, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
3709
- else if (typeof c != "string")
3706
+ let d = zn(e, p);
3707
+ if (!d)
3708
+ d = (o = (i = (r = (n = Ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: p, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
3709
+ else if (typeof d != "string")
3710
3710
  return console.warn(
3711
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3712
- ), c;
3711
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3712
+ ), d;
3713
3713
  if (!s)
3714
- return c;
3715
- let g = c;
3714
+ return d;
3715
+ let m = d;
3716
3716
  try {
3717
- g = lo(c, d).format(s);
3718
- } catch (y) {
3719
- y instanceof Error && console.warn(
3717
+ m = lo(d, p).format(s);
3718
+ } catch (b) {
3719
+ b instanceof Error && console.warn(
3720
3720
  `[svelte-i18n] Message "${e}" has syntax error:`,
3721
- y.message
3721
+ b.message
3722
3722
  );
3723
3723
  }
3724
- return g;
3725
- }, co = (e, t) => uo(t).format(e), fo = (e, t) => so(t).format(e), po = (e, t) => ao(t).format(e), mo = (e, t = He()) => zn(e, t), go = ke([Ve, rt], () => ho);
3726
- ke([Ve], () => co);
3727
- ke([Ve], () => fo);
3728
- ke([Ve], () => po);
3729
- ke([Ve, rt], () => mo);
3724
+ return m;
3725
+ }, co = (e, t) => uo(t).format(e), fo = (e, t) => so(t).format(e), po = (e, t) => ao(t).format(e), mo = (e, t = He()) => zn(e, t), go = ke([$e, nt], () => ho);
3726
+ ke([$e], () => co);
3727
+ ke([$e], () => fo);
3728
+ ke([$e], () => po);
3729
+ ke([$e, nt], () => mo);
3730
3730
  function gn(e, t) {
3731
3731
  Zn(e, t);
3732
3732
  }
3733
3733
  function bo(e) {
3734
- Ve.set(e);
3734
+ $e.set(e);
3735
3735
  }
3736
3736
  const bn = {
3737
3737
  en: {
@@ -3941,35 +3941,35 @@ var qt = { exports: {} };
3941
3941
  */
3942
3942
  (function(e, t) {
3943
3943
  (function(n) {
3944
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, u = n.XDomainRequest, s = n.ActiveXObject, d = n.EventSource, h = n.document, c = n.Promise, g = n.fetch, y = n.Response, x = n.TextDecoder, T = n.TextEncoder, P = n.AbortController;
3945
- if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(a) {
3946
- h.readyState = "complete";
3944
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, l = n.XDomainRequest, s = n.ActiveXObject, p = n.EventSource, c = n.document, d = n.Promise, m = n.fetch, b = n.Response, _ = n.TextDecoder, B = n.TextEncoder, I = n.AbortController;
3945
+ if (typeof window < "u" && typeof c < "u" && !("readyState" in c) && c.body == null && (c.readyState = "loading", window.addEventListener("load", function(h) {
3946
+ c.readyState = "complete";
3947
3947
  }, !1)), o == null && s != null && (o = function() {
3948
3948
  return new s("Microsoft.XMLHTTP");
3949
- }), Object.create == null && (Object.create = function(a) {
3950
- function l() {
3949
+ }), Object.create == null && (Object.create = function(h) {
3950
+ function a() {
3951
3951
  }
3952
- return l.prototype = a, new l();
3952
+ return a.prototype = h, new a();
3953
3953
  }), Date.now || (Date.now = function() {
3954
3954
  return (/* @__PURE__ */ new Date()).getTime();
3955
- }), P == null) {
3956
- var j = g;
3957
- g = function(a, l) {
3958
- var f = l.signal;
3959
- return j(a, { headers: l.headers, credentials: l.credentials, cache: l.cache }).then(function(p) {
3960
- var E = p.body.getReader();
3961
- return f._reader = E, f._aborted && f._reader.cancel(), {
3962
- status: p.status,
3963
- statusText: p.statusText,
3964
- headers: p.headers,
3955
+ }), I == null) {
3956
+ var j = m;
3957
+ m = function(h, a) {
3958
+ var f = a.signal;
3959
+ return j(h, { headers: a.headers, credentials: a.credentials, cache: a.cache }).then(function(u) {
3960
+ var g = u.body.getReader();
3961
+ return f._reader = g, f._aborted && f._reader.cancel(), {
3962
+ status: u.status,
3963
+ statusText: u.statusText,
3964
+ headers: u.headers,
3965
3965
  body: {
3966
3966
  getReader: function() {
3967
- return E;
3967
+ return g;
3968
3968
  }
3969
3969
  }
3970
3970
  };
3971
3971
  });
3972
- }, P = function() {
3972
+ }, I = function() {
3973
3973
  this.signal = {
3974
3974
  _reader: null,
3975
3975
  _aborted: !1
@@ -3978,403 +3978,403 @@ var qt = { exports: {} };
3978
3978
  };
3979
3979
  };
3980
3980
  }
3981
- function z() {
3981
+ function W() {
3982
3982
  this.bitsNeeded = 0, this.codePoint = 0;
3983
3983
  }
3984
- z.prototype.decode = function(a) {
3985
- function l(O, L, S) {
3984
+ W.prototype.decode = function(h) {
3985
+ function a(C, R, S) {
3986
3986
  if (S === 1)
3987
- return O >= 128 >> L && O << L <= 2047;
3987
+ return C >= 128 >> R && C << R <= 2047;
3988
3988
  if (S === 2)
3989
- return O >= 2048 >> L && O << L <= 55295 || O >= 57344 >> L && O << L <= 65535;
3989
+ return C >= 2048 >> R && C << R <= 55295 || C >= 57344 >> R && C << R <= 65535;
3990
3990
  if (S === 3)
3991
- return O >= 65536 >> L && O << L <= 1114111;
3991
+ return C >= 65536 >> R && C << R <= 1114111;
3992
3992
  throw new Error();
3993
3993
  }
3994
- function f(O, L) {
3995
- if (O === 6 * 1)
3996
- return L >> 6 > 15 ? 3 : L > 31 ? 2 : 1;
3997
- if (O === 6 * 2)
3998
- return L > 15 ? 3 : 2;
3999
- if (O === 6 * 3)
3994
+ function f(C, R) {
3995
+ if (C === 6 * 1)
3996
+ return R >> 6 > 15 ? 3 : R > 31 ? 2 : 1;
3997
+ if (C === 6 * 2)
3998
+ return R > 15 ? 3 : 2;
3999
+ if (C === 6 * 3)
4000
4000
  return 3;
4001
4001
  throw new Error();
4002
4002
  }
4003
- for (var p = 65533, E = "", m = this.bitsNeeded, _ = this.codePoint, N = 0; N < a.length; N += 1) {
4004
- var A = a[N];
4005
- m !== 0 && (A < 128 || A > 191 || !l(_ << 6 | A & 63, m - 6, f(m, _))) && (m = 0, _ = p, E += String.fromCharCode(_)), m === 0 ? (A >= 0 && A <= 127 ? (m = 0, _ = A) : A >= 192 && A <= 223 ? (m = 6 * 1, _ = A & 31) : A >= 224 && A <= 239 ? (m = 6 * 2, _ = A & 15) : A >= 240 && A <= 247 ? (m = 6 * 3, _ = A & 7) : (m = 0, _ = p), m !== 0 && !l(_, m, f(m, _)) && (m = 0, _ = p)) : (m -= 6, _ = _ << 6 | A & 63), m === 0 && (_ <= 65535 ? E += String.fromCharCode(_) : (E += String.fromCharCode(55296 + (_ - 65535 - 1 >> 10)), E += String.fromCharCode(56320 + (_ - 65535 - 1 & 1023))));
4003
+ for (var u = 65533, g = "", y = this.bitsNeeded, E = this.codePoint, x = 0; x < h.length; x += 1) {
4004
+ var T = h[x];
4005
+ y !== 0 && (T < 128 || T > 191 || !a(E << 6 | T & 63, y - 6, f(y, E))) && (y = 0, E = u, g += String.fromCharCode(E)), y === 0 ? (T >= 0 && T <= 127 ? (y = 0, E = T) : T >= 192 && T <= 223 ? (y = 6 * 1, E = T & 31) : T >= 224 && T <= 239 ? (y = 6 * 2, E = T & 15) : T >= 240 && T <= 247 ? (y = 6 * 3, E = T & 7) : (y = 0, E = u), y !== 0 && !a(E, y, f(y, E)) && (y = 0, E = u)) : (y -= 6, E = E << 6 | T & 63), y === 0 && (E <= 65535 ? g += String.fromCharCode(E) : (g += String.fromCharCode(55296 + (E - 65535 - 1 >> 10)), g += String.fromCharCode(56320 + (E - 65535 - 1 & 1023))));
4006
4006
  }
4007
- return this.bitsNeeded = m, this.codePoint = _, E;
4007
+ return this.bitsNeeded = y, this.codePoint = E, g;
4008
4008
  };
4009
- var G = function() {
4009
+ var U = function() {
4010
4010
  try {
4011
- return new x().decode(new T().encode("test"), { stream: !0 }) === "test";
4012
- } catch (a) {
4013
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
4011
+ return new _().decode(new B().encode("test"), { stream: !0 }) === "test";
4012
+ } catch (h) {
4013
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4014
4014
  }
4015
4015
  return !1;
4016
4016
  };
4017
- (x == null || T == null || !G()) && (x = z);
4018
- var B = function() {
4017
+ (_ == null || B == null || !U()) && (_ = W);
4018
+ var w = function() {
4019
4019
  };
4020
- function w(a) {
4021
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = B, this.onload = B, this.onerror = B, this.onreadystatechange = B, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = B;
4020
+ function A(h) {
4021
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = w, this.onload = w, this.onerror = w, this.onreadystatechange = w, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = w;
4022
4022
  }
4023
- w.prototype.open = function(a, l) {
4023
+ A.prototype.open = function(h, a) {
4024
4024
  this._abort(!0);
4025
- var f = this, p = this._xhr, E = 1, m = 0;
4025
+ var f = this, u = this._xhr, g = 1, y = 0;
4026
4026
  this._abort = function(S) {
4027
- f._sendTimeout !== 0 && (i(f._sendTimeout), f._sendTimeout = 0), (E === 1 || E === 2 || E === 3) && (E = 4, p.onload = B, p.onerror = B, p.onabort = B, p.onprogress = B, p.onreadystatechange = B, p.abort(), m !== 0 && (i(m), m = 0), S || (f.readyState = 4, f.onabort(null), f.onreadystatechange())), E = 0;
4027
+ f._sendTimeout !== 0 && (i(f._sendTimeout), f._sendTimeout = 0), (g === 1 || g === 2 || g === 3) && (g = 4, u.onload = w, u.onerror = w, u.onabort = w, u.onprogress = w, u.onreadystatechange = w, u.abort(), y !== 0 && (i(y), y = 0), S || (f.readyState = 4, f.onabort(null), f.onreadystatechange())), g = 0;
4028
4028
  };
4029
- var _ = function() {
4030
- if (E === 1) {
4031
- var S = 0, F = "", me = void 0;
4032
- if ("contentType" in p)
4033
- S = 200, F = "OK", me = p.contentType;
4029
+ var E = function() {
4030
+ if (g === 1) {
4031
+ var S = 0, N = "", me = void 0;
4032
+ if ("contentType" in u)
4033
+ S = 200, N = "OK", me = u.contentType;
4034
4034
  else
4035
4035
  try {
4036
- S = p.status, F = p.statusText, me = p.getResponseHeader("Content-Type");
4036
+ S = u.status, N = u.statusText, me = u.getResponseHeader("Content-Type");
4037
4037
  } catch {
4038
- S = 0, F = "", me = void 0;
4038
+ S = 0, N = "", me = void 0;
4039
4039
  }
4040
- S !== 0 && (E = 2, f.readyState = 2, f.status = S, f.statusText = F, f._contentType = me, f.onreadystatechange());
4040
+ S !== 0 && (g = 2, f.readyState = 2, f.status = S, f.statusText = N, f._contentType = me, f.onreadystatechange());
4041
4041
  }
4042
- }, N = function() {
4043
- if (_(), E === 2 || E === 3) {
4044
- E = 3;
4042
+ }, x = function() {
4043
+ if (E(), g === 2 || g === 3) {
4044
+ g = 3;
4045
4045
  var S = "";
4046
4046
  try {
4047
- S = p.responseText;
4047
+ S = u.responseText;
4048
4048
  } catch {
4049
4049
  }
4050
4050
  f.readyState = 3, f.responseText = S, f.onprogress();
4051
4051
  }
4052
- }, A = function(S, F) {
4053
- if ((F == null || F.preventDefault == null) && (F = {
4054
- preventDefault: B
4055
- }), N(), E === 1 || E === 2 || E === 3) {
4056
- if (E = 4, m !== 0 && (i(m), m = 0), f.readyState = 4, S === "load")
4057
- f.onload(F);
4052
+ }, T = function(S, N) {
4053
+ if ((N == null || N.preventDefault == null) && (N = {
4054
+ preventDefault: w
4055
+ }), x(), g === 1 || g === 2 || g === 3) {
4056
+ if (g = 4, y !== 0 && (i(y), y = 0), f.readyState = 4, S === "load")
4057
+ f.onload(N);
4058
4058
  else if (S === "error")
4059
- f.onerror(F);
4059
+ f.onerror(N);
4060
4060
  else if (S === "abort")
4061
- f.onabort(F);
4061
+ f.onabort(N);
4062
4062
  else
4063
4063
  throw new TypeError();
4064
4064
  f.onreadystatechange();
4065
4065
  }
4066
- }, O = function(S) {
4067
- p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && A(p.responseText === "" ? "error" : "load", S) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && _());
4068
- }, L = function() {
4069
- m = r(function() {
4070
- L();
4071
- }, 500), p.readyState === 3 && N();
4066
+ }, C = function(S) {
4067
+ u != null && (u.readyState === 4 ? (!("onload" in u) || !("onerror" in u) || !("onabort" in u)) && T(u.responseText === "" ? "error" : "load", S) : u.readyState === 3 ? "onprogress" in u || x() : u.readyState === 2 && E());
4068
+ }, R = function() {
4069
+ y = r(function() {
4070
+ R();
4071
+ }, 500), u.readyState === 3 && x();
4072
4072
  };
4073
- "onload" in p && (p.onload = function(S) {
4074
- A("load", S);
4075
- }), "onerror" in p && (p.onerror = function(S) {
4076
- A("error", S);
4077
- }), "onabort" in p && (p.onabort = function(S) {
4078
- A("abort", S);
4079
- }), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(S) {
4080
- O(S);
4081
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (l += (l.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(a, l, !0), "readyState" in p && (m = r(function() {
4082
- L();
4073
+ "onload" in u && (u.onload = function(S) {
4074
+ T("load", S);
4075
+ }), "onerror" in u && (u.onerror = function(S) {
4076
+ T("error", S);
4077
+ }), "onabort" in u && (u.onabort = function(S) {
4078
+ T("abort", S);
4079
+ }), "onprogress" in u && (u.onprogress = x), "onreadystatechange" in u && (u.onreadystatechange = function(S) {
4080
+ C(S);
4081
+ }), ("contentType" in u || !("ontimeout" in o.prototype)) && (a += (a.indexOf("?") === -1 ? "?" : "&") + "padding=true"), u.open(h, a, !0), "readyState" in u && (y = r(function() {
4082
+ R();
4083
4083
  }, 0));
4084
- }, w.prototype.abort = function() {
4084
+ }, A.prototype.abort = function() {
4085
4085
  this._abort(!1);
4086
- }, w.prototype.getResponseHeader = function(a) {
4086
+ }, A.prototype.getResponseHeader = function(h) {
4087
4087
  return this._contentType;
4088
- }, w.prototype.setRequestHeader = function(a, l) {
4088
+ }, A.prototype.setRequestHeader = function(h, a) {
4089
4089
  var f = this._xhr;
4090
- "setRequestHeader" in f && f.setRequestHeader(a, l);
4091
- }, w.prototype.getAllResponseHeaders = function() {
4090
+ "setRequestHeader" in f && f.setRequestHeader(h, a);
4091
+ }, A.prototype.getAllResponseHeaders = function() {
4092
4092
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4093
- }, w.prototype.send = function() {
4094
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && h != null && h.readyState != null && h.readyState !== "complete") {
4095
- var a = this;
4096
- a._sendTimeout = r(function() {
4097
- a._sendTimeout = 0, a.send();
4093
+ }, A.prototype.send = function() {
4094
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && c != null && c.readyState != null && c.readyState !== "complete") {
4095
+ var h = this;
4096
+ h._sendTimeout = r(function() {
4097
+ h._sendTimeout = 0, h.send();
4098
4098
  }, 4);
4099
4099
  return;
4100
4100
  }
4101
- var l = this._xhr;
4102
- "withCredentials" in l && (l.withCredentials = this.withCredentials);
4101
+ var a = this._xhr;
4102
+ "withCredentials" in a && (a.withCredentials = this.withCredentials);
4103
4103
  try {
4104
- l.send(void 0);
4104
+ a.send(void 0);
4105
4105
  } catch (f) {
4106
4106
  throw f;
4107
4107
  }
4108
4108
  };
4109
- function I(a) {
4110
- return a.replace(/[A-Z]/g, function(l) {
4111
- return String.fromCharCode(l.charCodeAt(0) + 32);
4109
+ function P(h) {
4110
+ return h.replace(/[A-Z]/g, function(a) {
4111
+ return String.fromCharCode(a.charCodeAt(0) + 32);
4112
4112
  });
4113
4113
  }
4114
- function R(a) {
4115
- for (var l = /* @__PURE__ */ Object.create(null), f = a.split(`\r
4116
- `), p = 0; p < f.length; p += 1) {
4117
- var E = f[p], m = E.split(": "), _ = m.shift(), N = m.join(": ");
4118
- l[I(_)] = N;
4114
+ function L(h) {
4115
+ for (var a = /* @__PURE__ */ Object.create(null), f = h.split(`\r
4116
+ `), u = 0; u < f.length; u += 1) {
4117
+ var g = f[u], y = g.split(": "), E = y.shift(), x = y.join(": ");
4118
+ a[P(E)] = x;
4119
4119
  }
4120
- this._map = l;
4120
+ this._map = a;
4121
4121
  }
4122
- R.prototype.get = function(a) {
4123
- return this._map[I(a)];
4122
+ L.prototype.get = function(h) {
4123
+ return this._map[P(h)];
4124
4124
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4125
- function K() {
4125
+ function Y() {
4126
4126
  }
4127
- K.prototype.open = function(a, l, f, p, E, m, _) {
4128
- a.open("GET", E);
4129
- var N = 0;
4130
- a.onprogress = function() {
4131
- var O = a.responseText, L = O.slice(N);
4132
- N += L.length, f(L);
4133
- }, a.onerror = function(O) {
4134
- O.preventDefault(), p(new Error("NetworkError"));
4135
- }, a.onload = function() {
4136
- p(null);
4137
- }, a.onabort = function() {
4138
- p(null);
4139
- }, a.onreadystatechange = function() {
4140
- if (a.readyState === o.HEADERS_RECEIVED) {
4141
- var O = a.status, L = a.statusText, S = a.getResponseHeader("Content-Type"), F = a.getAllResponseHeaders();
4142
- l(O, L, S, new R(F));
4127
+ Y.prototype.open = function(h, a, f, u, g, y, E) {
4128
+ h.open("GET", g);
4129
+ var x = 0;
4130
+ h.onprogress = function() {
4131
+ var C = h.responseText, R = C.slice(x);
4132
+ x += R.length, f(R);
4133
+ }, h.onerror = function(C) {
4134
+ C.preventDefault(), u(new Error("NetworkError"));
4135
+ }, h.onload = function() {
4136
+ u(null);
4137
+ }, h.onabort = function() {
4138
+ u(null);
4139
+ }, h.onreadystatechange = function() {
4140
+ if (h.readyState === o.HEADERS_RECEIVED) {
4141
+ var C = h.status, R = h.statusText, S = h.getResponseHeader("Content-Type"), N = h.getAllResponseHeaders();
4142
+ a(C, R, S, new L(N));
4143
4143
  }
4144
- }, a.withCredentials = m;
4145
- for (var A in _)
4146
- Object.prototype.hasOwnProperty.call(_, A) && a.setRequestHeader(A, _[A]);
4147
- return a.send(), a;
4144
+ }, h.withCredentials = y;
4145
+ for (var T in E)
4146
+ Object.prototype.hasOwnProperty.call(E, T) && h.setRequestHeader(T, E[T]);
4147
+ return h.send(), h;
4148
4148
  };
4149
- function fe(a) {
4150
- this._headers = a;
4149
+ function xe(h) {
4150
+ this._headers = h;
4151
4151
  }
4152
- fe.prototype.get = function(a) {
4153
- return this._headers.get(a);
4152
+ xe.prototype.get = function(h) {
4153
+ return this._headers.get(h);
4154
4154
  };
4155
4155
  function de() {
4156
4156
  }
4157
- de.prototype.open = function(a, l, f, p, E, m, _) {
4158
- var N = null, A = new P(), O = A.signal, L = new x();
4159
- return g(E, {
4160
- headers: _,
4161
- credentials: m ? "include" : "same-origin",
4162
- signal: O,
4157
+ de.prototype.open = function(h, a, f, u, g, y, E) {
4158
+ var x = null, T = new I(), C = T.signal, R = new _();
4159
+ return m(g, {
4160
+ headers: E,
4161
+ credentials: y ? "include" : "same-origin",
4162
+ signal: C,
4163
4163
  cache: "no-store"
4164
4164
  }).then(function(S) {
4165
- return N = S.body.getReader(), l(S.status, S.statusText, S.headers.get("Content-Type"), new fe(S.headers)), new c(function(F, me) {
4166
- var Qe = function() {
4167
- N.read().then(function(ne) {
4168
- if (ne.done)
4169
- F(void 0);
4165
+ return x = S.body.getReader(), a(S.status, S.statusText, S.headers.get("Content-Type"), new xe(S.headers)), new d(function(N, me) {
4166
+ var qe = function() {
4167
+ x.read().then(function(ee) {
4168
+ if (ee.done)
4169
+ N(void 0);
4170
4170
  else {
4171
- var q = L.decode(ne.value, { stream: !0 });
4172
- f(q), Qe();
4171
+ var Z = R.decode(ee.value, { stream: !0 });
4172
+ f(Z), qe();
4173
4173
  }
4174
- }).catch(function(ne) {
4175
- me(ne);
4174
+ }).catch(function(ee) {
4175
+ me(ee);
4176
4176
  });
4177
4177
  };
4178
- Qe();
4178
+ qe();
4179
4179
  });
4180
4180
  }).catch(function(S) {
4181
4181
  if (S.name !== "AbortError")
4182
4182
  return S;
4183
4183
  }).then(function(S) {
4184
- p(S);
4184
+ u(S);
4185
4185
  }), {
4186
4186
  abort: function() {
4187
- N?.cancel(), A.abort();
4187
+ x?.cancel(), T.abort();
4188
4188
  }
4189
4189
  };
4190
4190
  };
4191
- function ee() {
4191
+ function re() {
4192
4192
  this._listeners = /* @__PURE__ */ Object.create(null);
4193
4193
  }
4194
- function xe(a) {
4194
+ function ae(h) {
4195
4195
  r(function() {
4196
- throw a;
4196
+ throw h;
4197
4197
  }, 0);
4198
4198
  }
4199
- ee.prototype.dispatchEvent = function(a) {
4200
- a.target = this;
4201
- var l = this._listeners[a.type];
4202
- if (l != null)
4203
- for (var f = l.length, p = 0; p < f; p += 1) {
4204
- var E = l[p];
4199
+ re.prototype.dispatchEvent = function(h) {
4200
+ h.target = this;
4201
+ var a = this._listeners[h.type];
4202
+ if (a != null)
4203
+ for (var f = a.length, u = 0; u < f; u += 1) {
4204
+ var g = a[u];
4205
4205
  try {
4206
- typeof E.handleEvent == "function" ? E.handleEvent(a) : E.call(this, a);
4207
- } catch (m) {
4208
- xe(m);
4206
+ typeof g.handleEvent == "function" ? g.handleEvent(h) : g.call(this, h);
4207
+ } catch (y) {
4208
+ ae(y);
4209
4209
  }
4210
4210
  }
4211
- }, ee.prototype.addEventListener = function(a, l) {
4212
- a = String(a);
4213
- var f = this._listeners, p = f[a];
4214
- p == null && (p = [], f[a] = p);
4215
- for (var E = !1, m = 0; m < p.length; m += 1)
4216
- p[m] === l && (E = !0);
4217
- E || p.push(l);
4218
- }, ee.prototype.removeEventListener = function(a, l) {
4219
- a = String(a);
4220
- var f = this._listeners, p = f[a];
4221
- if (p != null) {
4222
- for (var E = [], m = 0; m < p.length; m += 1)
4223
- p[m] !== l && E.push(p[m]);
4224
- E.length === 0 ? delete f[a] : f[a] = E;
4211
+ }, re.prototype.addEventListener = function(h, a) {
4212
+ h = String(h);
4213
+ var f = this._listeners, u = f[h];
4214
+ u == null && (u = [], f[h] = u);
4215
+ for (var g = !1, y = 0; y < u.length; y += 1)
4216
+ u[y] === a && (g = !0);
4217
+ g || u.push(a);
4218
+ }, re.prototype.removeEventListener = function(h, a) {
4219
+ h = String(h);
4220
+ var f = this._listeners, u = f[h];
4221
+ if (u != null) {
4222
+ for (var g = [], y = 0; y < u.length; y += 1)
4223
+ u[y] !== a && g.push(u[y]);
4224
+ g.length === 0 ? delete f[h] : f[h] = g;
4225
4225
  }
4226
4226
  };
4227
- function v(a) {
4228
- this.type = a, this.target = void 0;
4227
+ function ie(h) {
4228
+ this.type = h, this.target = void 0;
4229
4229
  }
4230
- function _e(a, l) {
4231
- v.call(this, a), this.data = l.data, this.lastEventId = l.lastEventId;
4230
+ function v(h, a) {
4231
+ ie.call(this, h), this.data = a.data, this.lastEventId = a.lastEventId;
4232
4232
  }
4233
- _e.prototype = Object.create(v.prototype);
4234
- function ze(a, l) {
4235
- v.call(this, a), this.status = l.status, this.statusText = l.statusText, this.headers = l.headers;
4233
+ v.prototype = Object.create(ie.prototype);
4234
+ function pe(h, a) {
4235
+ ie.call(this, h), this.status = a.status, this.statusText = a.statusText, this.headers = a.headers;
4236
4236
  }
4237
- ze.prototype = Object.create(v.prototype);
4238
- function it(a, l) {
4239
- v.call(this, a), this.error = l.error;
4237
+ pe.prototype = Object.create(ie.prototype);
4238
+ function rt(h, a) {
4239
+ ie.call(this, h), this.error = a.error;
4240
4240
  }
4241
- it.prototype = Object.create(v.prototype);
4242
- var We = -1, ue = 0, Te = 1, pe = 2, Oe = -1, le = 0, we = 1, Ze = 2, _t = 3, ot = /^text\/event\-stream(;.*)?$/i, Tt = 1e3, Bt = 18e6, qe = function(a, l) {
4243
- var f = a == null ? l : parseInt(a, 10);
4244
- return f !== f && (f = l), Le(f);
4245
- }, Le = function(a) {
4246
- return Math.min(Math.max(a, Tt), Bt);
4247
- }, Be = function(a, l, f) {
4241
+ rt.prototype = Object.create(ie.prototype);
4242
+ var Xe = -1, he = 0, _e = 1, Se = 2, we = -1, se = 0, ze = 1, Oe = 2, it = 3, Tt = /^text\/event\-stream(;.*)?$/i, ot = 1e3, Bt = 18e6, We = function(h, a) {
4243
+ var f = h == null ? a : parseInt(h, 10);
4244
+ return f !== f && (f = a), Ze(f);
4245
+ }, Ze = function(h) {
4246
+ return Math.min(Math.max(h, ot), Bt);
4247
+ }, Te = function(h, a, f) {
4248
4248
  try {
4249
- typeof l == "function" && l.call(a, f);
4250
- } catch (p) {
4251
- xe(p);
4249
+ typeof a == "function" && a.call(h, f);
4250
+ } catch (u) {
4251
+ ae(u);
4252
4252
  }
4253
4253
  };
4254
- function te(a, l) {
4255
- ee.call(this), l = l || {}, 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, At(this, a, l);
4254
+ function K(h, a) {
4255
+ re.call(this), a = a || {}, 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, At(this, h, a);
4256
4256
  }
4257
4257
  function St() {
4258
- return o != null && "withCredentials" in o.prototype || u == null ? new o() : new u();
4258
+ return o != null && "withCredentials" in o.prototype || l == null ? new o() : new l();
4259
4259
  }
4260
- var wt = g != null && y != null && "body" in y.prototype;
4261
- function At(a, l, f) {
4262
- l = String(l);
4263
- var p = !!f.withCredentials, E = f.lastEventIdQueryParameterName || "lastEventId", m = Le(1e3), _ = qe(f.heartbeatTimeout, 45e3), N = "", A = m, O = !1, L = 0, S = f.headers || {}, F = f.Transport, me = wt && F == null ? void 0 : new w(F != null ? new F() : St()), Qe = F != null && typeof F != "string" ? new F() : me == null ? new de() : new K(), ne = void 0, q = 0, ae = We, Re = "", at = "", ge = "", st = "", Q = le, Ct = 0, Ae = 0, Kn = function(V, k, re, ie) {
4264
- if (ae === ue)
4265
- if (V === 200 && re != null && ot.test(re)) {
4266
- ae = Te, O = Date.now(), A = m, a.readyState = Te;
4267
- var J = new ze("open", {
4260
+ var wt = m != null && b != null && "body" in b.prototype;
4261
+ function At(h, a, f) {
4262
+ a = String(a);
4263
+ var u = !!f.withCredentials, g = f.lastEventIdQueryParameterName || "lastEventId", y = Ze(1e3), E = We(f.heartbeatTimeout, 45e3), x = "", T = y, C = !1, R = 0, S = f.headers || {}, N = f.Transport, me = wt && N == null ? void 0 : new A(N != null ? new N() : St()), qe = N != null && typeof N != "string" ? new N() : me == null ? new de() : new Y(), ee = void 0, Z = 0, ue = Xe, Le = "", st = "", ge = "", ut = "", q = se, Ct = 0, Ae = 0, Kn = function(V, k, te, ne) {
4264
+ if (ue === he)
4265
+ if (V === 200 && te != null && Tt.test(te)) {
4266
+ ue = _e, C = Date.now(), T = y, h.readyState = _e;
4267
+ var Q = new pe("open", {
4268
4268
  status: V,
4269
4269
  statusText: k,
4270
- headers: ie
4270
+ headers: ne
4271
4271
  });
4272
- a.dispatchEvent(J), Be(a, a.onopen, J);
4272
+ h.dispatchEvent(Q), Te(h, h.onopen, Q);
4273
4273
  } else {
4274
- var W = "";
4275
- V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), W = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : W = "EventSource's response has a Content-Type specifying an unsupported type: " + (re == null ? "-" : re.replace(/\s+/g, " ")) + ". Aborting the connection.", Ht();
4276
- var J = new ze("error", {
4274
+ var X = "";
4275
+ V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), X = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (te == null ? "-" : te.replace(/\s+/g, " ")) + ". Aborting the connection.", Ht();
4276
+ var Q = new pe("error", {
4277
4277
  status: V,
4278
4278
  statusText: k,
4279
- headers: ie
4279
+ headers: ne
4280
4280
  });
4281
- a.dispatchEvent(J), Be(a, a.onerror, J), console.error(W);
4281
+ h.dispatchEvent(Q), Te(h, h.onerror, Q), console.error(X);
4282
4282
  }
4283
4283
  }, er = function(V) {
4284
- if (ae === Te) {
4285
- for (var k = -1, re = 0; re < V.length; re += 1) {
4286
- var ie = V.charCodeAt(re);
4287
- (ie === 10 || ie === 13) && (k = re);
4284
+ if (ue === _e) {
4285
+ for (var k = -1, te = 0; te < V.length; te += 1) {
4286
+ var ne = V.charCodeAt(te);
4287
+ (ne === 10 || ne === 13) && (k = te);
4288
4288
  }
4289
- var J = (k !== -1 ? st : "") + V.slice(0, k + 1);
4290
- st = (k === -1 ? st : "") + V.slice(k + 1), V !== "" && (O = Date.now(), L += V.length);
4291
- for (var W = 0; W < J.length; W += 1) {
4292
- var ie = J.charCodeAt(W);
4293
- if (Q === Oe && ie === 10)
4294
- Q = le;
4295
- else if (Q === Oe && (Q = le), ie === 13 || ie === 10) {
4296
- if (Q !== le) {
4297
- Q === we && (Ae = W + 1);
4298
- var be = J.slice(Ct, Ae - 1), ye = J.slice(Ae + (Ae < W && J.charCodeAt(Ae) === 32 ? 1 : 0), W);
4299
- be === "data" ? (Re += `
4300
- `, Re += ye) : be === "id" ? at = ye : be === "event" ? ge = ye : be === "retry" ? (m = qe(ye, m), A = m) : be === "heartbeatTimeout" && (_ = qe(ye, _), q !== 0 && (i(q), q = r(function() {
4301
- Je();
4302
- }, _)));
4289
+ var Q = (k !== -1 ? ut : "") + V.slice(0, k + 1);
4290
+ ut = (k === -1 ? ut : "") + V.slice(k + 1), V !== "" && (C = Date.now(), R += V.length);
4291
+ for (var X = 0; X < Q.length; X += 1) {
4292
+ var ne = Q.charCodeAt(X);
4293
+ if (q === we && ne === 10)
4294
+ q = se;
4295
+ else if (q === we && (q = se), ne === 13 || ne === 10) {
4296
+ if (q !== se) {
4297
+ q === ze && (Ae = X + 1);
4298
+ var be = Q.slice(Ct, Ae - 1), ye = Q.slice(Ae + (Ae < X && Q.charCodeAt(Ae) === 32 ? 1 : 0), X);
4299
+ be === "data" ? (Le += `
4300
+ `, Le += ye) : be === "id" ? st = ye : be === "event" ? ge = ye : be === "retry" ? (y = We(ye, y), T = y) : be === "heartbeatTimeout" && (E = We(ye, E), Z !== 0 && (i(Z), Z = r(function() {
4301
+ Qe();
4302
+ }, E)));
4303
4303
  }
4304
- if (Q === le) {
4305
- if (Re !== "") {
4306
- N = at, ge === "" && (ge = "message");
4307
- var Ne = new _e(ge, {
4308
- data: Re.slice(1),
4309
- lastEventId: at
4304
+ if (q === se) {
4305
+ if (Le !== "") {
4306
+ x = st, ge === "" && (ge = "message");
4307
+ var Re = new v(ge, {
4308
+ data: Le.slice(1),
4309
+ lastEventId: st
4310
4310
  });
4311
- if (a.dispatchEvent(Ne), ge === "open" ? Be(a, a.onopen, Ne) : ge === "message" ? Be(a, a.onmessage, Ne) : ge === "error" && Be(a, a.onerror, Ne), ae === pe)
4311
+ if (h.dispatchEvent(Re), ge === "open" ? Te(h, h.onopen, Re) : ge === "message" ? Te(h, h.onmessage, Re) : ge === "error" && Te(h, h.onerror, Re), ue === Se)
4312
4312
  return;
4313
4313
  }
4314
- Re = "", ge = "";
4314
+ Le = "", ge = "";
4315
4315
  }
4316
- Q = ie === 13 ? Oe : le;
4316
+ q = ne === 13 ? we : se;
4317
4317
  } else
4318
- Q === le && (Ct = W, Q = we), Q === we ? ie === 58 && (Ae = W + 1, Q = Ze) : Q === Ze && (Q = _t);
4318
+ q === se && (Ct = X, q = ze), q === ze ? ne === 58 && (Ae = X + 1, q = Oe) : q === Oe && (q = it);
4319
4319
  }
4320
4320
  }
4321
4321
  }, Kt = function(V) {
4322
- if (ae === Te || ae === ue) {
4323
- ae = We, q !== 0 && (i(q), q = 0), q = r(function() {
4324
- Je();
4325
- }, A), A = Le(Math.min(m * 16, A * 2)), a.readyState = ue;
4326
- var k = new it("error", { error: V });
4327
- a.dispatchEvent(k), Be(a, a.onerror, k), V != null && console.error(V);
4322
+ if (ue === _e || ue === he) {
4323
+ ue = Xe, Z !== 0 && (i(Z), Z = 0), Z = r(function() {
4324
+ Qe();
4325
+ }, T), T = Ze(Math.min(y * 16, T * 2)), h.readyState = he;
4326
+ var k = new rt("error", { error: V });
4327
+ h.dispatchEvent(k), Te(h, h.onerror, k), V != null && console.error(V);
4328
4328
  }
4329
4329
  }, Ht = function() {
4330
- ae = pe, ne != null && (ne.abort(), ne = void 0), q !== 0 && (i(q), q = 0), a.readyState = pe;
4331
- }, Je = function() {
4332
- if (q = 0, ae !== We) {
4333
- if (!O && ne != null)
4334
- Kt(new Error("No activity within " + _ + " milliseconds. " + (ae === ue ? "No response received." : L + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4330
+ ue = Se, ee != null && (ee.abort(), ee = void 0), Z !== 0 && (i(Z), Z = 0), h.readyState = Se;
4331
+ }, Qe = function() {
4332
+ if (Z = 0, ue !== Xe) {
4333
+ if (!C && ee != null)
4334
+ Kt(new Error("No activity within " + E + " milliseconds. " + (ue === he ? "No response received." : R + " chars received.") + " Reconnecting.")), ee != null && (ee.abort(), ee = void 0);
4335
4335
  else {
4336
- var V = Math.max((O || Date.now()) + _ - Date.now(), 1);
4337
- O = !1, q = r(function() {
4338
- Je();
4336
+ var V = Math.max((C || Date.now()) + E - Date.now(), 1);
4337
+ C = !1, Z = r(function() {
4338
+ Qe();
4339
4339
  }, V);
4340
4340
  }
4341
4341
  return;
4342
4342
  }
4343
- O = !1, L = 0, q = r(function() {
4344
- Je();
4345
- }, _), ae = ue, Re = "", ge = "", at = N, st = "", Ct = 0, Ae = 0, Q = le;
4346
- var k = l;
4347
- if (l.slice(0, 5) !== "data:" && l.slice(0, 5) !== "blob:" && N !== "") {
4348
- var re = l.indexOf("?");
4349
- k = re === -1 ? l : l.slice(0, re + 1) + l.slice(re + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Ne) {
4350
- return Ne === E ? "" : ye;
4351
- }), k += (l.indexOf("?") === -1 ? "?" : "&") + E + "=" + encodeURIComponent(N);
4343
+ C = !1, R = 0, Z = r(function() {
4344
+ Qe();
4345
+ }, E), ue = he, Le = "", ge = "", st = x, ut = "", Ct = 0, Ae = 0, q = se;
4346
+ var k = a;
4347
+ if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && x !== "") {
4348
+ var te = a.indexOf("?");
4349
+ k = te === -1 ? a : a.slice(0, te + 1) + a.slice(te + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ye, Re) {
4350
+ return Re === g ? "" : ye;
4351
+ }), k += (a.indexOf("?") === -1 ? "?" : "&") + g + "=" + encodeURIComponent(x);
4352
4352
  }
4353
- var ie = a.withCredentials, J = {};
4354
- J.Accept = "text/event-stream";
4355
- var W = a.headers;
4356
- if (W != null)
4357
- for (var be in W)
4358
- Object.prototype.hasOwnProperty.call(W, be) && (J[be] = W[be]);
4353
+ var ne = h.withCredentials, Q = {};
4354
+ Q.Accept = "text/event-stream";
4355
+ var X = h.headers;
4356
+ if (X != null)
4357
+ for (var be in X)
4358
+ Object.prototype.hasOwnProperty.call(X, be) && (Q[be] = X[be]);
4359
4359
  try {
4360
- ne = Qe.open(me, Kn, er, Kt, k, ie, J);
4360
+ ee = qe.open(me, Kn, er, Kt, k, ne, Q);
4361
4361
  } catch (ye) {
4362
4362
  throw Ht(), ye;
4363
4363
  }
4364
4364
  };
4365
- a.url = l, a.readyState = ue, a.withCredentials = p, a.headers = S, a._close = Ht, Je();
4365
+ h.url = a, h.readyState = he, h.withCredentials = u, h.headers = S, h._close = Ht, Qe();
4366
4366
  }
4367
- te.prototype = Object.create(ee.prototype), te.prototype.CONNECTING = ue, te.prototype.OPEN = Te, te.prototype.CLOSED = pe, te.prototype.close = function() {
4367
+ K.prototype = Object.create(re.prototype), K.prototype.CONNECTING = he, K.prototype.OPEN = _e, K.prototype.CLOSED = Se, K.prototype.close = function() {
4368
4368
  this._close();
4369
- }, te.CONNECTING = ue, te.OPEN = Te, te.CLOSED = pe, te.prototype.withCredentials = void 0;
4370
- var b = d;
4371
- o != null && (d == null || !("withCredentials" in d.prototype)) && (b = te), function(a) {
4369
+ }, K.CONNECTING = he, K.OPEN = _e, K.CLOSED = Se, K.prototype.withCredentials = void 0;
4370
+ var at = p;
4371
+ o != null && (p == null || !("withCredentials" in p.prototype)) && (at = K), function(h) {
4372
4372
  {
4373
- var l = a(t);
4374
- l !== void 0 && (e.exports = l);
4373
+ var a = h(t);
4374
+ a !== void 0 && (e.exports = a);
4375
4375
  }
4376
- }(function(a) {
4377
- a.EventSourcePolyfill = te, a.NativeEventSource = d, a.EventSource = b;
4376
+ }(function(h) {
4377
+ h.EventSourcePolyfill = K, h.NativeEventSource = p, h.EventSource = at;
4378
4378
  });
4379
4379
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Cr : globalThis);
4380
4380
  })(qt, qt.exports);
@@ -4384,11 +4384,11 @@ function vo(e) {
4384
4384
  }
4385
4385
  function yn(e, t, n) {
4386
4386
  const r = e.slice();
4387
- return r[49] = t[n], r;
4387
+ return r[51] = t[n], r;
4388
4388
  }
4389
4389
  function vn(e, t, n) {
4390
4390
  const r = e.slice();
4391
- return r[52] = t[n], r;
4391
+ return r[54] = t[n], r;
4392
4392
  }
4393
4393
  function Eo(e) {
4394
4394
  let t, n = (
@@ -4400,36 +4400,36 @@ function Eo(e) {
4400
4400
  e[3].Total[0].amount
4401
4401
  )
4402
4402
  ) : "0") + ""
4403
- ), r, i, o, u, s, d, h, c = (
4403
+ ), r, i, o, l, s, p, c, d = (
4404
4404
  /*isModalDisplayed*/
4405
4405
  e[2] && En(e)
4406
4406
  );
4407
4407
  return {
4408
4408
  c() {
4409
- t = $("button"), r = ve(n), i = Ee(), o = $("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', u = Ee(), c && c.c(), s = ar(), Z(t, "class", "BalanceValue");
4409
+ t = G("button"), r = ve(n), i = Ee(), o = G("span"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', l = Ee(), d && d.c(), s = ar(), z(t, "class", "BalanceValue");
4410
4410
  },
4411
- m(g, y) {
4412
- ce(g, t, y), M(t, r), M(t, i), M(t, o), ce(g, u, y), c && c.m(g, y), ce(g, s, y), d || (h = ft(
4411
+ m(m, b) {
4412
+ fe(m, t, b), M(t, r), M(t, i), M(t, o), fe(m, l, b), d && d.m(m, b), fe(m, s, b), p || (c = dt(
4413
4413
  t,
4414
4414
  "click",
4415
4415
  /*click_handler*/
4416
- e[23]
4417
- ), d = !0);
4416
+ e[25]
4417
+ ), p = !0);
4418
4418
  },
4419
- p(g, y) {
4420
- y[0] & /*balances*/
4419
+ p(m, b) {
4420
+ b[0] & /*balances*/
4421
4421
  8 && n !== (n = /*balances*/
4422
- (g[3].Total ? (
4422
+ (m[3].Total ? (
4423
4423
  /*formatBalance*/
4424
- g[5](
4424
+ m[5](
4425
4425
  /*balances*/
4426
- g[3].Total[0].amount
4426
+ m[3].Total[0].amount
4427
4427
  )
4428
4428
  ) : "0") + "") && Ce(r, n), /*isModalDisplayed*/
4429
- g[2] ? c ? c.p(g, y) : (c = En(g), c.c(), c.m(s.parentNode, s)) : c && (c.d(1), c = null);
4429
+ m[2] ? d ? d.p(m, b) : (d = En(m), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null);
4430
4430
  },
4431
- d(g) {
4432
- g && (se(t), se(u), se(s)), c && c.d(g), d = !1, h();
4431
+ d(m) {
4432
+ m && (le(t), le(l), le(s)), d && d.d(m), p = !1, c();
4433
4433
  }
4434
4434
  };
4435
4435
  }
@@ -4440,10 +4440,10 @@ function xo(e) {
4440
4440
  ), r;
4441
4441
  return {
4442
4442
  c() {
4443
- t = $("p"), r = ve(n);
4443
+ t = G("p"), r = ve(n);
4444
4444
  },
4445
4445
  m(i, o) {
4446
- ce(i, t, o), M(t, r);
4446
+ fe(i, t, o), M(t, r);
4447
4447
  },
4448
4448
  p(i, o) {
4449
4449
  o[0] & /*$_*/
@@ -4451,73 +4451,73 @@ function xo(e) {
4451
4451
  i[4]("Loading") + "") && Ce(r, n);
4452
4452
  },
4453
4453
  d(i) {
4454
- i && se(t);
4454
+ i && le(t);
4455
4455
  }
4456
4456
  };
4457
4457
  }
4458
4458
  function En(e) {
4459
- let t, n, r, i, o, u, s = (
4459
+ let t, n, r, i, o, l, s = (
4460
4460
  /*$_*/
4461
4461
  e[4]("Title") + ""
4462
- ), d, h, c, g, y, x, T = (
4462
+ ), p, c, d, m, b, _, B = (
4463
4463
  /*$_*/
4464
4464
  e[4]("DepositButton") + ""
4465
- ), P, j, z, G = dt(Object.keys(
4465
+ ), I, j, W, U = pt(Object.keys(
4466
4466
  /*balances*/
4467
4467
  e[3]
4468
- )), B = [];
4469
- for (let w = 0; w < G.length; w += 1)
4470
- B[w] = _n(yn(e, G, w));
4468
+ )), w = [];
4469
+ for (let A = 0; A < U.length; A += 1)
4470
+ w[A] = _n(yn(e, U, A));
4471
4471
  return {
4472
4472
  c() {
4473
- t = $("div"), n = $("button"), r = Ee(), i = $("div"), o = $("div"), u = $("p"), d = ve(s), h = Ee(), c = $("div");
4474
- for (let w = 0; w < B.length; w += 1)
4475
- B[w].c();
4476
- g = Ee(), y = $("div"), x = $("button"), P = ve(T), Z(n, "class", "BalanceModalClose"), Z(u, "class", "BalanceModalTitle"), Z(o, "class", "BalanceModalHeader"), Z(c, "class", "BalanceModalBody"), Z(x, "class", "BalanceModalAction"), Z(y, "class", "BalanceModalFooter"), Z(i, "class", "BalanceModal"), Z(t, "class", "BalanceModalWrapper");
4473
+ t = G("div"), n = G("button"), r = Ee(), i = G("div"), o = G("div"), l = G("p"), p = ve(s), c = Ee(), d = G("div");
4474
+ for (let A = 0; A < w.length; A += 1)
4475
+ w[A].c();
4476
+ m = Ee(), b = G("div"), _ = G("button"), I = ve(B), z(n, "class", "BalanceModalClose"), z(l, "class", "BalanceModalTitle"), z(o, "class", "BalanceModalHeader"), z(d, "class", "BalanceModalBody"), z(_, "class", "BalanceModalAction"), z(b, "class", "BalanceModalFooter"), z(i, "class", "BalanceModal"), z(t, "class", "BalanceModalWrapper");
4477
4477
  },
4478
- m(w, I) {
4479
- ce(w, t, I), M(t, n), M(t, r), M(t, i), M(i, o), M(o, u), M(u, d), M(i, h), M(i, c);
4480
- for (let R = 0; R < B.length; R += 1)
4481
- B[R] && B[R].m(c, null);
4482
- M(i, g), M(i, y), M(y, x), M(x, P), j || (z = [
4483
- ft(
4478
+ m(A, P) {
4479
+ fe(A, t, P), M(t, n), M(t, r), M(t, i), M(i, o), M(o, l), M(l, p), M(i, c), M(i, d);
4480
+ for (let L = 0; L < w.length; L += 1)
4481
+ w[L] && w[L].m(d, null);
4482
+ M(i, m), M(i, b), M(b, _), M(_, I), j || (W = [
4483
+ dt(
4484
4484
  n,
4485
4485
  "click",
4486
4486
  /*click_handler_1*/
4487
- e[24]
4487
+ e[26]
4488
4488
  ),
4489
- ft(
4490
- x,
4489
+ dt(
4490
+ _,
4491
4491
  "click",
4492
4492
  /*click_handler_2*/
4493
- e[25]
4493
+ e[27]
4494
4494
  )
4495
4495
  ], j = !0);
4496
4496
  },
4497
- p(w, I) {
4498
- if (I[0] & /*$_*/
4497
+ p(A, P) {
4498
+ if (P[0] & /*$_*/
4499
4499
  16 && s !== (s = /*$_*/
4500
- w[4]("Title") + "") && Ce(d, s), I[0] & /*balances, formatBalance, $_*/
4501
- 56) {
4502
- G = dt(Object.keys(
4500
+ A[4]("Title") + "") && Ce(p, s), P[0] & /*balances, formatBalance, getProductType, $_*/
4501
+ 184) {
4502
+ U = pt(Object.keys(
4503
4503
  /*balances*/
4504
- w[3]
4504
+ A[3]
4505
4505
  ));
4506
- let R;
4507
- for (R = 0; R < G.length; R += 1) {
4508
- const K = yn(w, G, R);
4509
- B[R] ? B[R].p(K, I) : (B[R] = _n(K), B[R].c(), B[R].m(c, null));
4506
+ let L;
4507
+ for (L = 0; L < U.length; L += 1) {
4508
+ const Y = yn(A, U, L);
4509
+ w[L] ? w[L].p(Y, P) : (w[L] = _n(Y), w[L].c(), w[L].m(d, null));
4510
4510
  }
4511
- for (; R < B.length; R += 1)
4512
- B[R].d(1);
4513
- B.length = G.length;
4511
+ for (; L < w.length; L += 1)
4512
+ w[L].d(1);
4513
+ w.length = U.length;
4514
4514
  }
4515
- I[0] & /*$_*/
4516
- 16 && T !== (T = /*$_*/
4517
- w[4]("DepositButton") + "") && Ce(P, T);
4515
+ P[0] & /*$_*/
4516
+ 16 && B !== (B = /*$_*/
4517
+ A[4]("DepositButton") + "") && Ce(I, B);
4518
4518
  },
4519
- d(w) {
4520
- w && se(t), An(B, w), j = !1, je(z);
4519
+ d(A) {
4520
+ A && le(t), An(w, A), j = !1, je(W);
4521
4521
  }
4522
4522
  };
4523
4523
  }
@@ -4526,94 +4526,88 @@ function xn(e) {
4526
4526
  /*$_*/
4527
4527
  e[4](
4528
4528
  /*k*/
4529
- e[49]
4529
+ e[51]
4530
4530
  ) + ""
4531
- ), i, o, u = (
4532
- /*b*/
4533
- (e[52].productType ? (
4534
- /*$_*/
4535
- e[4](
4536
- /*b*/
4537
- e[52].productType
4538
- )
4539
- ) : "") + ""
4540
- ), s, d, h, c, g = (
4531
+ ), i, o, l = (
4532
+ /*getProductType*/
4533
+ e[7](
4534
+ /*balance*/
4535
+ e[54]
4536
+ ) + ""
4537
+ ), s, p, c, d, m = (
4541
4538
  /*formatBalance*/
4542
4539
  e[5](
4543
- /*b*/
4544
- e[52].amount
4540
+ /*balance*/
4541
+ e[54].amount
4545
4542
  ) + ""
4546
- ), y;
4543
+ ), b;
4547
4544
  return {
4548
4545
  c() {
4549
- t = $("div"), n = $("p"), i = ve(r), o = Ee(), s = ve(u), d = Ee(), h = $("p"), c = $("span"), y = ve(g), Z(n, "class", "BalanceModalText"), Z(c, "class", "BalanceModalAmount"), Z(h, "class", "BalanceModalValue"), Z(t, "class", "BalanceModalRowLine");
4546
+ t = G("div"), n = G("p"), i = ve(r), o = Ee(), s = ve(l), p = Ee(), c = G("p"), d = G("span"), b = ve(m), z(n, "class", "BalanceModalText"), z(d, "class", "BalanceModalAmount"), z(c, "class", "BalanceModalValue"), z(t, "class", "BalanceModalRowLine");
4550
4547
  },
4551
- m(x, T) {
4552
- ce(x, t, T), M(t, n), M(n, i), M(n, o), M(n, s), M(t, d), M(t, h), M(h, c), M(c, y);
4548
+ m(_, B) {
4549
+ fe(_, t, B), M(t, n), M(n, i), M(n, o), M(n, s), M(t, p), M(t, c), M(c, d), M(d, b);
4553
4550
  },
4554
- p(x, T) {
4555
- T[0] & /*$_, balances*/
4551
+ p(_, B) {
4552
+ B[0] & /*$_, balances*/
4556
4553
  24 && r !== (r = /*$_*/
4557
- x[4](
4554
+ _[4](
4558
4555
  /*k*/
4559
- x[49]
4560
- ) + "") && Ce(i, r), T[0] & /*balances, $_*/
4561
- 24 && u !== (u = /*b*/
4562
- (x[52].productType ? (
4563
- /*$_*/
4564
- x[4](
4565
- /*b*/
4566
- x[52].productType
4567
- )
4568
- ) : "") + "") && Ce(s, u), T[0] & /*balances*/
4569
- 8 && g !== (g = /*formatBalance*/
4570
- x[5](
4571
- /*b*/
4572
- x[52].amount
4573
- ) + "") && Ce(y, g);
4556
+ _[51]
4557
+ ) + "") && Ce(i, r), B[0] & /*balances*/
4558
+ 8 && l !== (l = /*getProductType*/
4559
+ _[7](
4560
+ /*balance*/
4561
+ _[54]
4562
+ ) + "") && Ce(s, l), B[0] & /*balances*/
4563
+ 8 && m !== (m = /*formatBalance*/
4564
+ _[5](
4565
+ /*balance*/
4566
+ _[54].amount
4567
+ ) + "") && Ce(b, m);
4574
4568
  },
4575
- d(x) {
4576
- x && se(t);
4569
+ d(_) {
4570
+ _ && le(t);
4577
4571
  }
4578
4572
  };
4579
4573
  }
4580
4574
  function _n(e) {
4581
- let t, n, r = dt(
4575
+ let t, n, r = pt(
4582
4576
  /*balances*/
4583
4577
  e[3][
4584
4578
  /*k*/
4585
- e[49]
4579
+ e[51]
4586
4580
  ]
4587
4581
  ), i = [];
4588
4582
  for (let o = 0; o < r.length; o += 1)
4589
4583
  i[o] = xn(vn(e, r, o));
4590
4584
  return {
4591
4585
  c() {
4592
- t = $("div");
4586
+ t = G("div");
4593
4587
  for (let o = 0; o < i.length; o += 1)
4594
4588
  i[o].c();
4595
- n = Ee(), Z(t, "class", "BalanceModalRowBoth");
4589
+ n = Ee(), z(t, "class", "BalanceModalRowBoth");
4596
4590
  },
4597
- m(o, u) {
4598
- ce(o, t, u);
4591
+ m(o, l) {
4592
+ fe(o, t, l);
4599
4593
  for (let s = 0; s < i.length; s += 1)
4600
4594
  i[s] && i[s].m(t, null);
4601
4595
  M(t, n);
4602
4596
  },
4603
- p(o, u) {
4604
- if (u[0] & /*formatBalance, balances, $_*/
4605
- 56) {
4606
- r = dt(
4597
+ p(o, l) {
4598
+ if (l[0] & /*formatBalance, balances, getProductType, $_*/
4599
+ 184) {
4600
+ r = pt(
4607
4601
  /*balances*/
4608
4602
  o[3][
4609
4603
  /*k*/
4610
- o[49]
4604
+ o[51]
4611
4605
  ]
4612
4606
  );
4613
4607
  let s;
4614
4608
  for (s = 0; s < r.length; s += 1) {
4615
- const d = vn(o, r, s);
4616
- i[s] ? i[s].p(d, u) : (i[s] = xn(d), i[s].c(), i[s].m(t, n));
4609
+ const p = vn(o, r, s);
4610
+ i[s] ? i[s].p(p, l) : (i[s] = xn(p), i[s].c(), i[s].m(t, n));
4617
4611
  }
4618
4612
  for (; s < i.length; s += 1)
4619
4613
  i[s].d(1);
@@ -4621,7 +4615,7 @@ function _n(e) {
4621
4615
  }
4622
4616
  },
4623
4617
  d(o) {
4624
- o && se(t), An(i, o);
4618
+ o && le(t), An(i, o);
4625
4619
  }
4626
4620
  };
4627
4621
  }
@@ -4629,114 +4623,114 @@ function Tn(e) {
4629
4623
  let t, n, r;
4630
4624
  return {
4631
4625
  c() {
4632
- t = $("button"), Z(t, "class", "ShowBalanceModalOverlay");
4626
+ t = G("button"), z(t, "class", "ShowBalanceModalOverlay");
4633
4627
  },
4634
4628
  m(i, o) {
4635
- ce(i, t, o), n || (r = ft(
4629
+ fe(i, t, o), n || (r = dt(
4636
4630
  t,
4637
4631
  "click",
4638
4632
  /*click_handler_3*/
4639
- e[26]
4633
+ e[28]
4640
4634
  ), n = !0);
4641
4635
  },
4642
4636
  p: oe,
4643
4637
  d(i) {
4644
- i && se(t), n = !1, r();
4638
+ i && le(t), n = !1, r();
4645
4639
  }
4646
4640
  };
4647
4641
  }
4648
4642
  function _o(e) {
4649
4643
  let t, n, r;
4650
- function i(d, h) {
4644
+ function i(p, c) {
4651
4645
  return (
4652
4646
  /*isLoading*/
4653
- d[1] ? xo : Eo
4647
+ p[1] ? xo : Eo
4654
4648
  );
4655
4649
  }
4656
- let o = i(e), u = o(e), s = (
4650
+ let o = i(e), l = o(e), s = (
4657
4651
  /*isModalDisplayed*/
4658
4652
  e[2] && Tn(e)
4659
4653
  );
4660
4654
  return {
4661
4655
  c() {
4662
- t = $("div"), n = $("div"), u.c(), r = Ee(), s && s.c(), Z(n, "class", "ShowBalance");
4656
+ t = G("div"), n = G("div"), l.c(), r = Ee(), s && s.c(), z(n, "class", "ShowBalance");
4663
4657
  },
4664
- m(d, h) {
4665
- ce(d, t, h), M(t, n), u.m(n, null), M(t, r), s && s.m(t, null), e[27](t);
4658
+ m(p, c) {
4659
+ fe(p, t, c), M(t, n), l.m(n, null), M(t, r), s && s.m(t, null), e[29](t);
4666
4660
  },
4667
- p(d, h) {
4668
- o === (o = i(d)) && u ? u.p(d, h) : (u.d(1), u = o(d), u && (u.c(), u.m(n, null))), /*isModalDisplayed*/
4669
- d[2] ? s ? s.p(d, h) : (s = Tn(d), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4661
+ p(p, c) {
4662
+ o === (o = i(p)) && l ? l.p(p, c) : (l.d(1), l = o(p), l && (l.c(), l.m(n, null))), /*isModalDisplayed*/
4663
+ p[2] ? s ? s.p(p, c) : (s = Tn(p), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4670
4664
  },
4671
4665
  i: oe,
4672
4666
  o: oe,
4673
- d(d) {
4674
- d && se(t), u.d(), s && s.d(), e[27](null);
4667
+ d(p) {
4668
+ p && le(t), l.d(), s && s.d(), e[29](null);
4675
4669
  }
4676
4670
  };
4677
4671
  }
4678
4672
  function To(e, t, n) {
4679
4673
  let r;
4680
- nr(e, go, (b) => n(4, r = b));
4681
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { mbsource: d } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: g = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: x = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencylocale: P = "en" } = t, { currencydisplay: j = "symbol" } = t, { maximumfractiondigits: z = "2" } = t, { minimumfractiondigits: G = "0" } = t, { customdisplayformat: B = "" } = t, w, I = !0, R = !1, K = !1, fe, de = "", ee = [], xe;
4682
- const v = {}, _e = ["totalCashAmount", "totalRealAmount"], ze = () => {
4683
- fetch(g).then((b) => b.json()).then((b) => Object.keys(b).forEach((a) => gn(a, b[a]))).catch((b) => console.log(b));
4674
+ nr(e, go, (a) => n(4, r = a));
4675
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { mbsource: p } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { gmversion: b = "gm16" } = t, { displaybalanceoption: _ = "All" } = t, { totalcalculationmode: B = "totalCashAmount" } = t, { hideproducttype: I } = t, { currencylocale: j = "en" } = t, { currencydisplay: W = "symbol" } = t, { maximumfractiondigits: U = "2" } = t, { minimumfractiondigits: w = "0" } = t, { customdisplayformat: A = "" } = t, P, L = !0, Y = !1, xe = !1, de, re = "", ae = [], ie;
4676
+ const v = {}, pe = ["totalCashAmount", "totalRealAmount"], rt = () => {
4677
+ fetch(m).then((a) => a.json()).then((a) => Object.keys(a).forEach((f) => gn(f, a[f]))).catch((a) => console.log(a));
4684
4678
  };
4685
- Object.keys(bn).forEach((b) => gn(b, bn[b]));
4686
- const it = (b) => {
4687
- if (B)
4688
- return We(b);
4689
- const a = P || s, l = {
4679
+ Object.keys(bn).forEach((a) => gn(a, bn[a]));
4680
+ const Xe = (a) => {
4681
+ if (A)
4682
+ return he(a);
4683
+ const f = j || s, u = {
4690
4684
  style: "currency",
4691
- currency: de,
4685
+ currency: re,
4692
4686
  useGrouping: !0,
4693
- currencyDisplay: j || "code",
4694
- maximumFractionDigits: z === "" || isNaN(Number(z)) ? 2 : Number(z),
4695
- minimumFractionDigits: G === "" || isNaN(Number(G)) ? 0 : Number(G)
4687
+ currencyDisplay: W || "code",
4688
+ maximumFractionDigits: U === "" || isNaN(Number(U)) ? 2 : Number(U),
4689
+ minimumFractionDigits: w === "" || isNaN(Number(w)) ? 0 : Number(w)
4696
4690
  };
4697
- return new Intl.NumberFormat(a, l).format(b);
4698
- }, We = (b) => {
4699
- const a = [];
4700
- let l = "";
4701
- for (const f of B)
4702
- switch (f) {
4691
+ return new Intl.NumberFormat(f, u).format(a);
4692
+ }, he = (a) => {
4693
+ const f = [];
4694
+ let u = "";
4695
+ for (const g of A)
4696
+ switch (g) {
4703
4697
  default:
4704
- l += f;
4698
+ u += g;
4705
4699
  break;
4706
4700
  case "{":
4707
- l && a.push(l), l = "";
4701
+ u && f.push(u), u = "";
4708
4702
  break;
4709
4703
  case "}":
4710
- const [p, E] = l.split("|");
4711
- if (l = "", p.toLowerCase() === "currency")
4712
- l = de;
4713
- else if (p.toLowerCase() === "amount") {
4714
- let m = ",", _ = ".", N = 2;
4715
- E && (E[0] !== " " && (m = E[0]), E[1] !== " " && (_ = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (N = Number(E[2])));
4716
- let [A, O] = String(Math.floor(b * 10 ** N) / 10 ** N).split(".");
4717
- l += A[0];
4718
- for (let L = 1; L < A.length; ++L)
4719
- (A.length - L) % 3 === 0 ? l += m + A[L] : l += A[L];
4720
- O && (l += _ + O);
4704
+ const [y, E] = u.split("|");
4705
+ if (u = "", y.toLowerCase() === "currency")
4706
+ u = re;
4707
+ else if (y.toLowerCase() === "amount") {
4708
+ let x = ",", T = ".", C = 2;
4709
+ E && (E[0] !== " " && (x = E[0]), E[1] !== " " && (T = E[1]), E[2] !== " " && !isNaN(Number(E[2])) && (C = Number(E[2])));
4710
+ let [R, S] = String(Math.floor(a * 10 ** C) / 10 ** C).split(".");
4711
+ u += R[0];
4712
+ for (let N = 1; N < R.length; ++N)
4713
+ (R.length - N) % 3 === 0 ? u += x + R[N] : u += R[N];
4714
+ S && (u += T + S);
4721
4715
  }
4722
- l && a.push(l), l = "";
4716
+ u && f.push(u), u = "";
4723
4717
  break;
4724
4718
  }
4725
- return a.push(l), a.join("");
4726
- }, ue = async () => {
4727
- n(1, I = !0);
4728
- const b = new URL(`${u}/v1/player/${i}/account`);
4719
+ return f.push(u), f.join("");
4720
+ }, _e = async () => {
4721
+ n(1, L = !0);
4722
+ const a = new URL(`${l}/v1/player/${i}/account`);
4729
4723
  try {
4730
- const a = await fetch(b, {
4724
+ const f = await fetch(a, {
4731
4725
  method: "GET",
4732
4726
  headers: { "X-SessionID": o }
4733
- }), l = await a.json();
4734
- if (a.ok)
4735
- ee = l.items, de = ee.find((f) => f.displayName === "Casino")?.currency, n(3, v.Total = [{ amount: l.totalAmount[de] }], v), n(
4727
+ }), u = await f.json();
4728
+ if (f.ok)
4729
+ ae = u.items, re = ae.find((g) => g.displayName === "Casino")?.currency, n(3, v.Total = [{ amount: u.totalAmount[re] }], v), n(
4736
4730
  3,
4737
4731
  v.Real = [
4738
4732
  {
4739
- amount: ee.find((f) => f.displayName === "Casino")?.balanceAmount
4733
+ amount: ae.find((g) => g.displayName === "Casino")?.balanceAmount
4740
4734
  }
4741
4735
  ],
4742
4736
  v
@@ -4744,46 +4738,46 @@ function To(e, t, n) {
4744
4738
  3,
4745
4739
  v.Bonus = [
4746
4740
  {
4747
- amount: ee.find((f) => f.displayName === "UBS")?.balanceAmount
4741
+ amount: ae.find((g) => g.displayName === "UBS")?.balanceAmount
4748
4742
  }
4749
4743
  ],
4750
4744
  v
4751
4745
  );
4752
4746
  else
4753
4747
  throw new Error("Failed to fetch balance data !");
4754
- } catch (a) {
4755
- console.log("Balance error: ", a);
4748
+ } catch (f) {
4749
+ console.log("Balance error: ", f);
4756
4750
  } finally {
4757
- n(1, I = !1);
4751
+ n(1, L = !1);
4758
4752
  }
4759
- }, Te = () => {
4760
- n(1, I = !0);
4761
- const b = new URL(`${u}/v2/player/${i}/balance`), a = new Headers();
4762
- a.append("X-SessionID", o), fetch(b, { method: "GET", headers: a }).then((f) => f.json()).then((f) => {
4763
- f[T] || n(7, T = _e[0]);
4764
- const p = f.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
4765
- if (de = p.currency, K = !!p.productType, n(3, v.Total = [{ amount: 0 }], v), n(3, v.Real = [], v), n(3, v.Bonus = [], v), n(3, v.Credit = [], v), !K) {
4766
- xe = {
4753
+ }, Se = () => {
4754
+ n(1, L = !0);
4755
+ const a = new URL(`${l}/v2/player/${i}/balance`), f = new Headers();
4756
+ f.append("X-SessionID", o), fetch(a, { method: "GET", headers: f }).then((g) => g.json()).then((g) => {
4757
+ g[B] || n(8, B = pe[0]);
4758
+ const y = g.items.find((x) => x.type === "Real" && x.walletAccountType === "Ordinary");
4759
+ if (re = y.currency, xe = !!y.productType, n(3, v.Total = [{ amount: 0 }], v), n(3, v.Real = [], v), n(3, v.Bonus = [], v), n(3, v.Credit = [], v), !xe) {
4760
+ ie = {
4767
4761
  lastOrdinaryAfterAmount: 0,
4768
4762
  showCreditLineAfterAmount: !1
4769
- }, n(3, v.Total[0].amount = f[T][de], v);
4770
- for (const m of f.items)
4771
- switch (m.type) {
4763
+ }, n(3, v.Total[0].amount = g[B][re], v);
4764
+ for (const x of g.items)
4765
+ switch (x.type) {
4772
4766
  case "Bonus":
4773
- v.Bonus.length === 0 ? v.Bonus.push({ amount: m.amount }) : n(3, v.Bonus[0].amount += m.amount, v);
4767
+ v.Bonus.length === 0 ? v.Bonus.push({ amount: x.amount }) : n(3, v.Bonus[0].amount += x.amount, v);
4774
4768
  break;
4775
4769
  case "Real":
4776
- if (m.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: m.creditLine }), T === "totalRealAmount")
4770
+ if (x.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: x.creditLine }), B === "totalRealAmount")
4777
4771
  continue;
4778
- v.Real.length === 0 ? v.Real.push({ amount: m.amount }) : n(3, v.Real[0].amount += m.amount, v);
4772
+ v.Real.length === 0 ? v.Real.push({ amount: x.amount }) : n(3, v.Real[0].amount += x.amount, v);
4779
4773
  break;
4780
4774
  }
4781
- for (const [m, _] of Object.entries(v))
4782
- _.length < 1 && delete v[m];
4783
- n(1, I = !1);
4775
+ for (const [x, T] of Object.entries(v))
4776
+ T.length < 1 && delete v[x];
4777
+ n(1, L = !1);
4784
4778
  return;
4785
4779
  }
4786
- xe = {
4780
+ ie = {
4787
4781
  Casino: {
4788
4782
  lastOrdinaryAfterAmount: 0,
4789
4783
  showCreditLineAfterAmount: !1
@@ -4793,186 +4787,191 @@ function To(e, t, n) {
4793
4787
  showCreditLineAfterAmount: !1
4794
4788
  }
4795
4789
  };
4796
- let E = f.items;
4797
- x && x !== "All" && (E = f.items.filter((m) => m.productType === x));
4798
- for (const m of E) {
4799
- let _;
4800
- switch (m.type) {
4790
+ let E = g.items;
4791
+ _ && _ !== "All" && (E = g.items.filter((x) => x.productType === _));
4792
+ for (const x of E) {
4793
+ let T;
4794
+ switch (x.type) {
4801
4795
  case "Bonus":
4802
- _ = v.Bonus.findIndex((N) => N.productType === m.productType), _ > 0 ? n(3, v.Bonus[_].amount += m.amount, v) : v.Bonus.push({
4803
- amount: m.amount,
4804
- productType: m.productType
4796
+ T = v.Bonus.findIndex((C) => C.productType === x.productType), T > 0 ? n(3, v.Bonus[T].amount += x.amount, v) : v.Bonus.push({
4797
+ amount: x.amount,
4798
+ productType: x.productType
4805
4799
  });
4806
4800
  break;
4807
4801
  case "Real":
4808
- m.creditLine && v.Credit.push({
4809
- amount: m.creditLine,
4810
- productType: m.productType
4811
- }), _ = v.Real.findIndex((N) => N.productType === m.productType), _ > 0 ? n(3, v.Real[_].amount += m.amount, v) : v.Real.push({
4812
- amount: m.amount,
4813
- productType: m.productType
4802
+ x.creditLine && v.Credit.push({
4803
+ amount: x.creditLine,
4804
+ productType: x.productType
4805
+ }), T = v.Real.findIndex((C) => C.productType === x.productType), T > 0 ? n(3, v.Real[T].amount += x.amount, v) : v.Real.push({
4806
+ amount: x.amount,
4807
+ productType: x.productType
4814
4808
  });
4815
4809
  break;
4816
4810
  }
4817
4811
  }
4818
- Ze();
4819
- for (const [m, _] of Object.entries(v))
4820
- _.length < 1 && delete v[m];
4821
- n(1, I = !1);
4812
+ it();
4813
+ for (const [x, T] of Object.entries(v))
4814
+ T.length < 1 && delete v[x];
4815
+ n(1, L = !1);
4822
4816
  }).catch(() => {
4823
- throw n(1, I = !1), new Error("Failed to fetch balance data !");
4817
+ throw n(1, L = !1), new Error("Failed to fetch balance data !");
4824
4818
  });
4825
- }, pe = () => {
4826
- if (fe && fe.close(), o.length < 1)
4819
+ }, we = () => {
4820
+ if (de && de.close(), o.length < 1)
4827
4821
  return;
4828
- let b, a;
4829
- switch (y) {
4822
+ let a, f;
4823
+ switch (b) {
4830
4824
  case "gm16":
4831
- b = new URL(`${u}/v2/player/${i}/information/updates`), a = (p) => _t(p);
4825
+ a = new URL(`${l}/v2/player/${i}/information/updates`), f = (y) => Tt(y);
4832
4826
  break;
4833
4827
  case "gmcore":
4834
- b = new URL(`${u}/v1/player/${i}/balance/updates`), a = (p) => le(p);
4828
+ a = new URL(`${l}/v1/player/${i}/balance/updates`), f = (y) => ze(y);
4835
4829
  break;
4836
4830
  }
4837
- const l = {
4831
+ const u = {
4838
4832
  accept: "text/event-stream",
4839
4833
  "X-SessionId": o
4840
- }, f = new yo.EventSourcePolyfill(b, { headers: l });
4841
- fe = f, f.addEventListener("message", a);
4842
- }, Oe = (b) => {
4843
- let a;
4834
+ }, g = new yo.EventSourcePolyfill(a, { headers: u });
4835
+ de = g, g.addEventListener("message", f);
4836
+ }, se = (a) => {
4837
+ let f;
4844
4838
  try {
4845
- a = JSON.parse(b);
4846
- } catch (l) {
4847
- console.log("Balance stream failed: ", l);
4839
+ f = JSON.parse(a);
4840
+ } catch (u) {
4841
+ console.log("Balance stream failed: ", u);
4848
4842
  return;
4849
4843
  }
4850
- return a;
4851
- }, le = (b) => {
4852
- const a = Oe(b.data);
4853
- if (!a) {
4854
- pe();
4844
+ return f;
4845
+ }, ze = (a) => {
4846
+ const f = se(a.data);
4847
+ if (!f) {
4848
+ we();
4855
4849
  return;
4856
4850
  }
4857
- let l = "0";
4858
- const f = a.balanceChange;
4859
- ee = ee.map((p) => (f && f[p.id] && (p = {
4860
- ...p,
4861
- balanceAmount: f[p.id].afterAmount
4862
- }), l = (parseFloat(p?.balanceAmount) + parseFloat(l)).toString(), p)), n(3, v.Real = [{ amount: ee[0]?.balanceAmount }], v), n(3, v.Bonus = [{ amount: ee[1]?.balanceAmount }], v), n(3, v.Total = [{ amount: Number(l) }], v);
4863
- }, we = (b, a, l) => {
4864
- let f = null;
4865
- switch (l.walletAccountType) {
4851
+ let u = "0";
4852
+ const g = f.balanceChange;
4853
+ ae = ae.map((y) => (g && g[y.id] && (y = {
4854
+ ...y,
4855
+ balanceAmount: g[y.id].afterAmount
4856
+ }), u = (parseFloat(y?.balanceAmount) + parseFloat(u)).toString(), y)), n(3, v.Real = [{ amount: ae[0]?.balanceAmount }], v), n(3, v.Bonus = [{ amount: ae[1]?.balanceAmount }], v), n(3, v.Total = [{ amount: Number(u) }], v);
4857
+ }, Oe = (a, f, u) => {
4858
+ let g = null;
4859
+ switch (u.walletAccountType) {
4866
4860
  case "Ordinary":
4867
- (l.afterAmount !== l.affectedAmount || a.lastOrdinaryAfterAmount === 0) && (a.lastOrdinaryAfterAmount = l.afterAmount, a.showCreditLineAfterAmount || (f = l.afterAmount));
4861
+ (u.afterAmount !== u.affectedAmount || f.lastOrdinaryAfterAmount === 0) && (f.lastOrdinaryAfterAmount = u.afterAmount, f.showCreditLineAfterAmount || (g = u.afterAmount));
4868
4862
  break;
4869
4863
  case "CreditLine":
4870
- l.afterAmount !== 0 ? (f = l.afterAmount, a.showCreditLineAfterAmount = !0) : (f = a.lastOrdinaryAfterAmount, a.showCreditLineAfterAmount = !1);
4864
+ u.afterAmount !== 0 ? (g = u.afterAmount, f.showCreditLineAfterAmount = !0) : (g = f.lastOrdinaryAfterAmount, f.showCreditLineAfterAmount = !1);
4871
4865
  break;
4872
4866
  default:
4873
- f = l.afterAmount;
4867
+ g = u.afterAmount;
4874
4868
  }
4875
- return f === null ? b : f;
4876
- }, Ze = () => {
4877
- switch (T) {
4869
+ return g === null ? a : g;
4870
+ }, it = () => {
4871
+ switch (B) {
4878
4872
  case "totalCashAmount":
4879
- let b = 0;
4880
- for (const l of ["Real", "Bonus"])
4881
- for (const f of v[l])
4882
- b += Math.max(f.amount, 0);
4883
- n(3, v.Total[0].amount = b, v);
4873
+ let a = 0;
4874
+ for (const u of ["Real", "Bonus"])
4875
+ for (const g of v[u])
4876
+ a += Math.max(g.amount, 0);
4877
+ n(3, v.Total[0].amount = a, v);
4884
4878
  break;
4885
4879
  case "totalRealAmount":
4886
- if (!K)
4880
+ if (!xe)
4887
4881
  return;
4888
- let a = 0;
4889
- for (const l of v.Real)
4890
- a += l.amount;
4891
- n(3, v.Total[0].amount = a, v);
4882
+ let f = 0;
4883
+ for (const u of v.Real)
4884
+ f += u.amount;
4885
+ n(3, v.Total[0].amount = f, v);
4892
4886
  }
4893
- }, _t = (b) => {
4894
- const a = Oe(b.data);
4895
- if (!a) {
4896
- pe();
4887
+ }, Tt = (a) => {
4888
+ const f = se(a.data);
4889
+ if (!f) {
4890
+ we();
4897
4891
  return;
4898
4892
  }
4899
- if (Tt(a?.type) || a.type !== "BALANCE_UPDATE_V2")
4893
+ if (Bt(f?.type) || f.type !== "BALANCE_UPDATE_V2")
4900
4894
  return;
4901
- const l = a.body.balanceChange;
4902
- for (const [f, p] of Object.entries(l))
4903
- if (T === "totalRealAmount" && f === "Real" && !K && n(3, v.Total[0].amount = we(v.Total[0].amount, xe, p), v), !!v[f])
4904
- for (const E of v[f]) {
4905
- if (!K) {
4906
- E.amount = f === "Real" ? we(E.amount, xe, p) : p.afterAmount;
4895
+ const u = f.body.balanceChange;
4896
+ for (const [g, y] of Object.entries(u))
4897
+ if (B === "totalRealAmount" && g === "Real" && !xe && n(3, v.Total[0].amount = Oe(v.Total[0].amount, ie, y), v), !!v[g])
4898
+ for (const E of v[g]) {
4899
+ if (!xe) {
4900
+ E.amount = g === "Real" ? Oe(E.amount, ie, y) : y.afterAmount;
4907
4901
  continue;
4908
4902
  }
4909
- p.productType === E.productType && (E.amount = f === "Real" ? we(E.amount, xe[E.productType], p) : p.afterAmount);
4903
+ y.productType === E.productType && (E.amount = g === "Real" ? Oe(E.amount, ie[E.productType], y) : y.afterAmount);
4910
4904
  }
4911
- Ze();
4905
+ it();
4912
4906
  }, ot = () => {
4913
- n(2, R = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4914
- }, Tt = (b) => b === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Bt = () => {
4915
- _e.includes(T) || (console.error(`Unsupported value ('${T}') for totalcalculationmode parameter. Only the following values are supported ${_e}. Using default value ('${_e[0]}').`), n(7, T = _e[0]));
4916
- }, qe = () => {
4917
- switch (bo(s), Bt(), y) {
4907
+ n(2, Y = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
4908
+ }, Bt = (a) => a === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, We = () => {
4909
+ pe.includes(B) || (console.error(`Unsupported value ('${B}') for totalcalculationmode parameter. Only the following values are supported ${pe}. Using default value ('${pe[0]}').`), n(8, B = pe[0]));
4910
+ }, Ze = (a) => {
4911
+ const f = I.split(",").map((u) => u.trim());
4912
+ return !a.productType || f.includes(a.productType) ? "" : r(a.productType);
4913
+ }, Te = () => {
4914
+ switch (bo(s), We(), b) {
4918
4915
  case "gmcore":
4919
- ue();
4916
+ _e();
4920
4917
  break;
4921
4918
  case "gm16":
4922
- Te();
4919
+ Se();
4923
4920
  break;
4924
4921
  default:
4925
- throw Error(`Invalid apiversion attribute: ${y}`);
4922
+ throw Error(`Invalid apiversion attribute: ${b}`);
4926
4923
  }
4927
- }, Le = (b) => b.data && b.data.type === "LogoutSuccessfull" && fe.close();
4928
- hr(() => (window.addEventListener("message", Le, !1), () => {
4929
- window.removeEventListener("message", Le), fe && fe.close();
4924
+ }, K = (a) => a.data && a.data.type === "LogoutSuccessfull" && de.close();
4925
+ hr(() => (window.addEventListener("message", K, !1), () => {
4926
+ window.removeEventListener("message", K), de && de.close();
4930
4927
  }));
4931
- const Be = () => n(2, R = !0), te = () => n(2, R = !1), St = () => ot(), wt = () => n(2, R = !1);
4932
- function At(b) {
4933
- Dt[b ? "unshift" : "push"](() => {
4934
- w = b, n(0, w);
4928
+ const St = () => n(2, Y = !0), wt = () => n(2, Y = !1), At = () => ot(), at = () => n(2, Y = !1);
4929
+ function h(a) {
4930
+ Dt[a ? "unshift" : "push"](() => {
4931
+ P = a, n(0, P);
4935
4932
  });
4936
4933
  }
4937
- return e.$$set = (b) => {
4938
- "userid" in b && n(8, i = b.userid), "session" in b && n(9, o = b.session), "endpoint" in b && n(10, u = b.endpoint), "lang" in b && n(11, s = b.lang), "mbsource" in b && n(12, d = b.mbsource), "clientstyling" in b && n(13, h = b.clientstyling), "clientstylingurl" in b && n(14, c = b.clientstylingurl), "translationurl" in b && n(15, g = b.translationurl), "gmversion" in b && n(16, y = b.gmversion), "displaybalanceoption" in b && n(17, x = b.displaybalanceoption), "totalcalculationmode" in b && n(7, T = b.totalcalculationmode), "currencylocale" in b && n(18, P = b.currencylocale), "currencydisplay" in b && n(19, j = b.currencydisplay), "maximumfractiondigits" in b && n(20, z = b.maximumfractiondigits), "minimumfractiondigits" in b && n(21, G = b.minimumfractiondigits), "customdisplayformat" in b && n(22, B = b.customdisplayformat);
4934
+ return e.$$set = (a) => {
4935
+ "userid" in a && n(9, i = a.userid), "session" in a && n(10, o = a.session), "endpoint" in a && n(11, l = a.endpoint), "lang" in a && n(12, s = a.lang), "mbsource" in a && n(13, p = a.mbsource), "clientstyling" in a && n(14, c = a.clientstyling), "clientstylingurl" in a && n(15, d = a.clientstylingurl), "translationurl" in a && n(16, m = a.translationurl), "gmversion" in a && n(17, b = a.gmversion), "displaybalanceoption" in a && n(18, _ = a.displaybalanceoption), "totalcalculationmode" in a && n(8, B = a.totalcalculationmode), "hideproducttype" in a && n(19, I = a.hideproducttype), "currencylocale" in a && n(20, j = a.currencylocale), "currencydisplay" in a && n(21, W = a.currencydisplay), "maximumfractiondigits" in a && n(22, U = a.maximumfractiondigits), "minimumfractiondigits" in a && n(23, w = a.minimumfractiondigits), "customdisplayformat" in a && n(24, A = a.customdisplayformat);
4939
4936
  }, e.$$.update = () => {
4940
4937
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
4941
- 200448 && u && i && o && s && y && x && qe(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
4942
- 67328 && u && i && o && y && pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4943
- 8193 && h && w && Br(w, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4944
- 16385 && c && w && Sr(w, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4945
- 4097 && w && wr(w, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4946
- 32768 && g && ze();
4938
+ 400896 && l && i && o && s && b && _ && Te(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
4939
+ 134656 && l && i && o && b && we(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4940
+ 16385 && c && P && Br(P, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4941
+ 32769 && d && P && Sr(P, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4942
+ 8193 && P && wr(P, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4943
+ 65536 && m && rt();
4947
4944
  }, [
4948
- w,
4949
- I,
4950
- R,
4945
+ P,
4946
+ L,
4947
+ Y,
4951
4948
  v,
4952
4949
  r,
4953
- it,
4950
+ Xe,
4954
4951
  ot,
4955
- T,
4952
+ Ze,
4953
+ B,
4956
4954
  i,
4957
4955
  o,
4958
- u,
4956
+ l,
4959
4957
  s,
4960
- d,
4961
- h,
4958
+ p,
4962
4959
  c,
4963
- g,
4964
- y,
4965
- x,
4966
- P,
4960
+ d,
4961
+ m,
4962
+ b,
4963
+ _,
4964
+ I,
4967
4965
  j,
4968
- z,
4969
- G,
4970
- B,
4971
- Be,
4972
- te,
4966
+ W,
4967
+ U,
4968
+ w,
4969
+ A,
4973
4970
  St,
4974
4971
  wt,
4975
- At
4972
+ At,
4973
+ at,
4974
+ h
4976
4975
  ];
4977
4976
  }
4978
4977
  class Bo extends _r {
@@ -4984,125 +4983,132 @@ class Bo extends _r {
4984
4983
  _o,
4985
4984
  Sn,
4986
4985
  {
4987
- userid: 8,
4988
- session: 9,
4989
- endpoint: 10,
4990
- lang: 11,
4991
- mbsource: 12,
4992
- clientstyling: 13,
4993
- clientstylingurl: 14,
4994
- translationurl: 15,
4995
- gmversion: 16,
4996
- displaybalanceoption: 17,
4997
- totalcalculationmode: 7,
4998
- currencylocale: 18,
4999
- currencydisplay: 19,
5000
- maximumfractiondigits: 20,
5001
- minimumfractiondigits: 21,
5002
- customdisplayformat: 22
4986
+ userid: 9,
4987
+ session: 10,
4988
+ endpoint: 11,
4989
+ lang: 12,
4990
+ mbsource: 13,
4991
+ clientstyling: 14,
4992
+ clientstylingurl: 15,
4993
+ translationurl: 16,
4994
+ gmversion: 17,
4995
+ displaybalanceoption: 18,
4996
+ totalcalculationmode: 8,
4997
+ hideproducttype: 19,
4998
+ currencylocale: 20,
4999
+ currencydisplay: 21,
5000
+ maximumfractiondigits: 22,
5001
+ minimumfractiondigits: 23,
5002
+ customdisplayformat: 24
5003
5003
  },
5004
5004
  vo,
5005
5005
  [-1, -1]
5006
5006
  );
5007
5007
  }
5008
5008
  get userid() {
5009
- return this.$$.ctx[8];
5009
+ return this.$$.ctx[9];
5010
5010
  }
5011
5011
  set userid(t) {
5012
- this.$$set({ userid: t }), X();
5012
+ this.$$set({ userid: t }), $();
5013
5013
  }
5014
5014
  get session() {
5015
- return this.$$.ctx[9];
5015
+ return this.$$.ctx[10];
5016
5016
  }
5017
5017
  set session(t) {
5018
- this.$$set({ session: t }), X();
5018
+ this.$$set({ session: t }), $();
5019
5019
  }
5020
5020
  get endpoint() {
5021
- return this.$$.ctx[10];
5021
+ return this.$$.ctx[11];
5022
5022
  }
5023
5023
  set endpoint(t) {
5024
- this.$$set({ endpoint: t }), X();
5024
+ this.$$set({ endpoint: t }), $();
5025
5025
  }
5026
5026
  get lang() {
5027
- return this.$$.ctx[11];
5027
+ return this.$$.ctx[12];
5028
5028
  }
5029
5029
  set lang(t) {
5030
- this.$$set({ lang: t }), X();
5030
+ this.$$set({ lang: t }), $();
5031
5031
  }
5032
5032
  get mbsource() {
5033
- return this.$$.ctx[12];
5033
+ return this.$$.ctx[13];
5034
5034
  }
5035
5035
  set mbsource(t) {
5036
- this.$$set({ mbsource: t }), X();
5036
+ this.$$set({ mbsource: t }), $();
5037
5037
  }
5038
5038
  get clientstyling() {
5039
- return this.$$.ctx[13];
5039
+ return this.$$.ctx[14];
5040
5040
  }
5041
5041
  set clientstyling(t) {
5042
- this.$$set({ clientstyling: t }), X();
5042
+ this.$$set({ clientstyling: t }), $();
5043
5043
  }
5044
5044
  get clientstylingurl() {
5045
- return this.$$.ctx[14];
5045
+ return this.$$.ctx[15];
5046
5046
  }
5047
5047
  set clientstylingurl(t) {
5048
- this.$$set({ clientstylingurl: t }), X();
5048
+ this.$$set({ clientstylingurl: t }), $();
5049
5049
  }
5050
5050
  get translationurl() {
5051
- return this.$$.ctx[15];
5051
+ return this.$$.ctx[16];
5052
5052
  }
5053
5053
  set translationurl(t) {
5054
- this.$$set({ translationurl: t }), X();
5054
+ this.$$set({ translationurl: t }), $();
5055
5055
  }
5056
5056
  get gmversion() {
5057
- return this.$$.ctx[16];
5057
+ return this.$$.ctx[17];
5058
5058
  }
5059
5059
  set gmversion(t) {
5060
- this.$$set({ gmversion: t }), X();
5060
+ this.$$set({ gmversion: t }), $();
5061
5061
  }
5062
5062
  get displaybalanceoption() {
5063
- return this.$$.ctx[17];
5063
+ return this.$$.ctx[18];
5064
5064
  }
5065
5065
  set displaybalanceoption(t) {
5066
- this.$$set({ displaybalanceoption: t }), X();
5066
+ this.$$set({ displaybalanceoption: t }), $();
5067
5067
  }
5068
5068
  get totalcalculationmode() {
5069
- return this.$$.ctx[7];
5069
+ return this.$$.ctx[8];
5070
5070
  }
5071
5071
  set totalcalculationmode(t) {
5072
- this.$$set({ totalcalculationmode: t }), X();
5072
+ this.$$set({ totalcalculationmode: t }), $();
5073
+ }
5074
+ get hideproducttype() {
5075
+ return this.$$.ctx[19];
5076
+ }
5077
+ set hideproducttype(t) {
5078
+ this.$$set({ hideproducttype: t }), $();
5073
5079
  }
5074
5080
  get currencylocale() {
5075
- return this.$$.ctx[18];
5081
+ return this.$$.ctx[20];
5076
5082
  }
5077
5083
  set currencylocale(t) {
5078
- this.$$set({ currencylocale: t }), X();
5084
+ this.$$set({ currencylocale: t }), $();
5079
5085
  }
5080
5086
  get currencydisplay() {
5081
- return this.$$.ctx[19];
5087
+ return this.$$.ctx[21];
5082
5088
  }
5083
5089
  set currencydisplay(t) {
5084
- this.$$set({ currencydisplay: t }), X();
5090
+ this.$$set({ currencydisplay: t }), $();
5085
5091
  }
5086
5092
  get maximumfractiondigits() {
5087
- return this.$$.ctx[20];
5093
+ return this.$$.ctx[22];
5088
5094
  }
5089
5095
  set maximumfractiondigits(t) {
5090
- this.$$set({ maximumfractiondigits: t }), X();
5096
+ this.$$set({ maximumfractiondigits: t }), $();
5091
5097
  }
5092
5098
  get minimumfractiondigits() {
5093
- return this.$$.ctx[21];
5099
+ return this.$$.ctx[23];
5094
5100
  }
5095
5101
  set minimumfractiondigits(t) {
5096
- this.$$set({ minimumfractiondigits: t }), X();
5102
+ this.$$set({ minimumfractiondigits: t }), $();
5097
5103
  }
5098
5104
  get customdisplayformat() {
5099
- return this.$$.ctx[22];
5105
+ return this.$$.ctx[24];
5100
5106
  }
5101
5107
  set customdisplayformat(t) {
5102
- this.$$set({ customdisplayformat: t }), X();
5108
+ this.$$set({ customdisplayformat: t }), $();
5103
5109
  }
5104
5110
  }
5105
- xr(Bo, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5111
+ xr(Bo, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5106
5112
  export {
5107
5113
  Bo as P
5108
5114
  };