@everymatrix/player-account-balance-modal-nd 1.74.2 → 1.74.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.
@@ -1,75 +1,75 @@
1
- var Lr = Object.defineProperty, Pr = Object.defineProperties;
2
- var Ir = Object.getOwnPropertyDescriptors;
3
- var gn = Object.getOwnPropertySymbols;
4
- var Nr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
- var It = Math.pow, Pt = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Nt = (e, t) => {
1
+ var Or = Object.defineProperty, Mr = Object.defineProperties;
2
+ var Rr = Object.getOwnPropertyDescriptors;
3
+ var mn = Object.getOwnPropertySymbols;
4
+ var Lr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable;
5
+ var Nt = Math.pow, Pt = (e, t, n) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, It = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Nr.call(t, n) && Pt(e, n, t[n]);
8
- if (gn)
9
- for (var n of gn(t))
10
- Dr.call(t, n) && Pt(e, n, t[n]);
7
+ Lr.call(t, n) && Pt(e, n, t[n]);
8
+ if (mn)
9
+ for (var n of mn(t))
10
+ Pr.call(t, n) && Pt(e, n, t[n]);
11
11
  return e;
12
- }, Dt = (e, t) => Pr(e, Ir(t));
13
- var he = (e, t, n) => (Pt(e, typeof t != "symbol" ? t + "" : t, n), n);
12
+ }, Dt = (e, t) => Mr(e, Rr(t));
13
+ var ce = (e, t, n) => (Pt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var Ut = (e, t, n) => new Promise((r, i) => {
15
- var o = (u) => {
15
+ var o = (l) => {
16
16
  try {
17
- a(n.next(u));
18
- } catch (l) {
19
- i(l);
17
+ s(n.next(l));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, s = (u) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(n.throw(u));
24
- } catch (l) {
25
- i(l);
23
+ s(n.throw(l));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((n = n.apply(e, t)).next());
27
+ }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((n = n.apply(e, t)).next());
29
29
  });
30
- function fe() {
30
+ function he() {
31
31
  }
32
- function qn(e) {
32
+ function Wn(e) {
33
33
  return e();
34
34
  }
35
- function yn() {
35
+ function bn() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ze(e) {
39
- e.forEach(qn);
38
+ function We(e) {
39
+ e.forEach(Wn);
40
40
  }
41
- function hn(e) {
41
+ function cn(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Yn(e, t) {
44
+ function Zn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Ur(e) {
47
+ function Nr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Qn(e, ...t) {
50
+ function qn(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return fe;
54
+ return he;
55
55
  }
56
56
  const n = e.subscribe(...t);
57
57
  return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function Fr(e, t, n) {
60
- e.$$.on_destroy.push(Qn(t, n));
59
+ function Ir(e, t, n) {
60
+ e.$$.on_destroy.push(qn(t, n));
61
61
  }
62
- function I(e, t) {
62
+ function P(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Gr(e, t, n) {
66
- const r = jr(e);
65
+ function Dr(e, t, n) {
66
+ const r = Ur(e);
67
67
  if (!r.getElementById(t)) {
68
68
  const i = j("style");
69
- i.id = t, i.textContent = n, kr(r, i);
69
+ i.id = t, i.textContent = n, Fr(r, i);
70
70
  }
71
71
  }
72
- function jr(e) {
72
+ function Ur(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,52 +79,52 @@ function jr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function kr(e, t) {
83
- return I(
82
+ function Fr(e, t) {
83
+ return P(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ye(e, t, n) {
89
+ function ge(e, t, n) {
90
90
  e.insertBefore(t, n || null);
91
91
  }
92
- function be(e) {
92
+ function pe(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Jn(e, t) {
95
+ function Yn(e, t) {
96
96
  for (let n = 0; n < e.length; n += 1)
97
97
  e[n] && e[n].d(t);
98
98
  }
99
99
  function j(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function vn(e) {
102
+ function gn(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function Se(e) {
105
+ function we(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Te() {
109
- return Se(" ");
108
+ function Se() {
109
+ return we(" ");
110
110
  }
111
- function $r() {
112
- return Se("");
111
+ function Gr() {
112
+ return we("");
113
113
  }
114
114
  function Et(e, t, n, r) {
115
115
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
- function R(e, t, n) {
117
+ function M(e, t, n) {
118
118
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
119
119
  }
120
- function Vr(e) {
120
+ function jr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function Re(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function Xr(e) {
127
+ function kr(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -137,144 +137,144 @@ let it;
137
137
  function rt(e) {
138
138
  it = e;
139
139
  }
140
- function zr() {
140
+ function $r() {
141
141
  if (!it)
142
142
  throw new Error("Function called outside component initialization");
143
143
  return it;
144
144
  }
145
- function Wr(e) {
146
- zr().$$.on_mount.push(e);
145
+ function Vr(e) {
146
+ $r().$$.on_mount.push(e);
147
147
  }
148
- const Fe = [], Wt = [];
149
- let Ge = [];
150
- const En = [], Zr = /* @__PURE__ */ Promise.resolve();
151
- let Zt = !1;
152
- function qr() {
153
- Zt || (Zt = !0, Zr.then(Y));
148
+ const Ge = [], zt = [];
149
+ let je = [];
150
+ const yn = [], Xr = /* @__PURE__ */ Promise.resolve();
151
+ let Wt = !1;
152
+ function zr() {
153
+ Wt || (Wt = !0, Xr.then(Q));
154
154
  }
155
- function qt(e) {
156
- Ge.push(e);
155
+ function Zt(e) {
156
+ je.push(e);
157
157
  }
158
158
  const Ft = /* @__PURE__ */ new Set();
159
- let De = 0;
160
- function Y() {
161
- if (De !== 0)
159
+ let Ue = 0;
160
+ function Q() {
161
+ if (Ue !== 0)
162
162
  return;
163
163
  const e = it;
164
164
  do {
165
165
  try {
166
- for (; De < Fe.length; ) {
167
- const t = Fe[De];
168
- De++, rt(t), Yr(t.$$);
166
+ for (; Ue < Ge.length; ) {
167
+ const t = Ge[Ue];
168
+ Ue++, rt(t), Wr(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw Fe.length = 0, De = 0, t;
171
+ throw Ge.length = 0, Ue = 0, t;
172
172
  }
173
- for (rt(null), Fe.length = 0, De = 0; Wt.length; )
174
- Wt.pop()();
175
- for (let t = 0; t < Ge.length; t += 1) {
176
- const n = Ge[t];
173
+ for (rt(null), Ge.length = 0, Ue = 0; zt.length; )
174
+ zt.pop()();
175
+ for (let t = 0; t < je.length; t += 1) {
176
+ const n = je[t];
177
177
  Ft.has(n) || (Ft.add(n), n());
178
178
  }
179
- Ge.length = 0;
180
- } while (Fe.length);
181
- for (; En.length; )
182
- En.pop()();
183
- Zt = !1, Ft.clear(), rt(e);
179
+ je.length = 0;
180
+ } while (Ge.length);
181
+ for (; yn.length; )
182
+ yn.pop()();
183
+ Wt = !1, Ft.clear(), rt(e);
184
184
  }
185
- function Yr(e) {
185
+ function Wr(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), ze(e.before_update);
187
+ e.update(), We(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qt);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Zt);
190
190
  }
191
191
  }
192
- function Qr(e) {
192
+ function Zr(e) {
193
193
  const t = [], n = [];
194
- Ge.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ge = t;
194
+ je.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), je = t;
195
195
  }
196
- const Jr = /* @__PURE__ */ new Set();
197
- function Kr(e, t) {
198
- e && e.i && (Jr.delete(e), e.i(t));
196
+ const qr = /* @__PURE__ */ new Set();
197
+ function Yr(e, t) {
198
+ e && e.i && (qr.delete(e), e.i(t));
199
199
  }
200
200
  function _t(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
- function ei(e, t, n) {
203
+ function Qr(e, t, n) {
204
204
  const { fragment: r, after_update: i } = e.$$;
205
- r && r.m(t, n), qt(() => {
206
- const o = e.$$.on_mount.map(qn).filter(hn);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ze(o), e.$$.on_mount = [];
208
- }), i.forEach(qt);
205
+ r && r.m(t, n), Zt(() => {
206
+ const o = e.$$.on_mount.map(Wn).filter(cn);
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : We(o), e.$$.on_mount = [];
208
+ }), i.forEach(Zt);
209
209
  }
210
- function ti(e, t) {
210
+ function Jr(e, t) {
211
211
  const n = e.$$;
212
- n.fragment !== null && (Qr(n.after_update), ze(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
212
+ n.fragment !== null && (Zr(n.after_update), We(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
213
213
  }
214
- function ni(e, t) {
215
- e.$$.dirty[0] === -1 && (Fe.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function Kr(e, t) {
215
+ e.$$.dirty[0] === -1 && (Ge.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
- function ri(e, t, n, r, i, o, s = null, a = [-1]) {
218
- const u = it;
217
+ function ei(e, t, n, r, i, o, a = null, s = [-1]) {
218
+ const l = it;
219
219
  rt(e);
220
- const l = e.$$ = {
220
+ const u = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
223
223
  // state
224
224
  props: o,
225
- update: fe,
225
+ update: he,
226
226
  not_equal: i,
227
- bound: yn(),
227
+ bound: bn(),
228
228
  // lifecycle
229
229
  on_mount: [],
230
230
  on_destroy: [],
231
231
  on_disconnect: [],
232
232
  before_update: [],
233
233
  after_update: [],
234
- context: new Map(t.context || (u ? u.$$.context : [])),
234
+ context: new Map(t.context || (l ? l.$$.context : [])),
235
235
  // everything else
236
- callbacks: yn(),
237
- dirty: a,
236
+ callbacks: bn(),
237
+ dirty: s,
238
238
  skip_bound: !1,
239
- root: t.target || u.$$.root
239
+ root: t.target || l.$$.root
240
240
  };
241
- s && s(l.root);
241
+ a && a(u.root);
242
242
  let f = !1;
243
- if (l.ctx = n ? n(e, t.props || {}, (b, m, ...S) => {
244
- const _ = S.length ? S[0] : m;
245
- return l.ctx && i(l.ctx[b], l.ctx[b] = _) && (!l.skip_bound && l.bound[b] && l.bound[b](_), f && ni(e, b)), m;
246
- }) : [], l.update(), f = !0, ze(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
243
+ if (u.ctx = n(e, t.props || {}, (b, m, ...S) => {
244
+ const E = S.length ? S[0] : m;
245
+ return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), f && Kr(e, b)), m;
246
+ }), u.update(), f = !0, We(u.before_update), u.fragment = r(u.ctx), t.target) {
247
247
  if (t.hydrate) {
248
- const b = Vr(t.target);
249
- l.fragment && l.fragment.l(b), b.forEach(be);
248
+ const b = jr(t.target);
249
+ u.fragment && u.fragment.l(b), b.forEach(pe);
250
250
  } else
251
- l.fragment && l.fragment.c();
252
- t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), Y();
251
+ u.fragment && u.fragment.c();
252
+ t.intro && Yr(e.$$.fragment), Qr(e, t.target, t.anchor), Q();
253
253
  }
254
- rt(u);
254
+ rt(l);
255
255
  }
256
- let Kn;
257
- typeof HTMLElement == "function" && (Kn = class extends HTMLElement {
256
+ let Qn;
257
+ typeof HTMLElement == "function" && (Qn = class extends HTMLElement {
258
258
  constructor(t, n, r) {
259
259
  super();
260
260
  /** The Svelte component constructor */
261
- he(this, "$$ctor");
261
+ ce(this, "$$ctor");
262
262
  /** Slots */
263
- he(this, "$$s");
263
+ ce(this, "$$s");
264
264
  /** The Svelte component instance */
265
- he(this, "$$c");
265
+ ce(this, "$$c");
266
266
  /** Whether or not the custom element is connected */
267
- he(this, "$$cn", !1);
267
+ ce(this, "$$cn", !1);
268
268
  /** Component props data */
269
- he(this, "$$d", {});
269
+ ce(this, "$$d", {});
270
270
  /** `true` if currently in the process of reflecting component props back to attributes */
271
- he(this, "$$r", !1);
271
+ ce(this, "$$r", !1);
272
272
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
273
- he(this, "$$p_d", {});
273
+ ce(this, "$$p_d", {});
274
274
  /** @type {Record<string, Function[]>} Event listeners */
275
- he(this, "$$l", {});
275
+ ce(this, "$$l", {});
276
276
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
277
- he(this, "$$l_u", /* @__PURE__ */ new Map());
277
+ ce(this, "$$l_u", /* @__PURE__ */ new Map());
278
278
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
279
279
  }
280
280
  addEventListener(t, n, r) {
@@ -295,38 +295,38 @@ typeof HTMLElement == "function" && (Kn = class extends HTMLElement {
295
295
  if (this.$$cn = !0, !this.$$c) {
296
296
  let t = function(o) {
297
297
  return () => {
298
- let s;
298
+ let a;
299
299
  return {
300
300
  c: function() {
301
- s = j("slot"), o !== "default" && R(s, "name", o);
301
+ a = j("slot"), o !== "default" && M(a, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
305
305
  * @param {HTMLElement} [anchor]
306
306
  */
307
- m: function(l, f) {
308
- ye(l, s, f);
307
+ m: function(u, f) {
308
+ ge(u, a, f);
309
309
  },
310
- d: function(l) {
311
- l && be(s);
310
+ d: function(u) {
311
+ u && pe(a);
312
312
  }
313
313
  };
314
314
  };
315
315
  };
316
316
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
317
317
  return;
318
- const n = {}, r = Xr(this);
318
+ const n = {}, r = kr(this);
319
319
  for (const o of this.$$s)
320
320
  o in r && (n[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
322
- const s = this.$$g_p(o.name);
323
- s in this.$$d || (this.$$d[s] = bt(s, o.value, this.$$p_d, "toProp"));
322
+ const a = this.$$g_p(o.name);
323
+ a in this.$$d || (this.$$d[a] = bt(a, o.value, this.$$p_d, "toProp"));
324
324
  }
325
325
  for (const o in this.$$p_d)
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: Dt(Nt({}, this.$$d), {
329
+ props: Dt(It({}, this.$$d), {
330
330
  $$slots: n,
331
331
  $$scope: {
332
332
  ctx: []
@@ -337,21 +337,21 @@ typeof HTMLElement == "function" && (Kn = class extends HTMLElement {
337
337
  this.$$r = !0;
338
338
  for (const o in this.$$p_d)
339
339
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
340
- const s = bt(
340
+ const a = bt(
341
341
  o,
342
342
  this.$$d[o],
343
343
  this.$$p_d,
344
344
  "toAttribute"
345
345
  );
346
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
346
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
347
347
  }
348
348
  this.$$r = !1;
349
349
  };
350
350
  this.$$c.$$.after_update.push(i), i();
351
351
  for (const o in this.$$l)
352
- for (const s of this.$$l[o]) {
353
- const a = this.$$c.$on(o, s);
354
- this.$$l_u.set(s, a);
352
+ for (const a of this.$$l[o]) {
353
+ const s = this.$$c.$on(o, a);
354
+ this.$$l_u.set(a, s);
355
355
  }
356
356
  this.$$l = {};
357
357
  }
@@ -404,38 +404,38 @@ function bt(e, t, n, r) {
404
404
  return t;
405
405
  }
406
406
  }
407
- function ii(e, t, n, r, i, o) {
408
- let s = class extends Kn {
407
+ function ti(e, t, n, r, i, o) {
408
+ let a = class extends Qn {
409
409
  constructor() {
410
410
  super(e, n, i), this.$$p_d = t;
411
411
  }
412
412
  static get observedAttributes() {
413
413
  return Object.keys(t).map(
414
- (a) => (t[a].attribute || a).toLowerCase()
414
+ (s) => (t[s].attribute || s).toLowerCase()
415
415
  );
416
416
  }
417
417
  };
418
- return Object.keys(t).forEach((a) => {
419
- Object.defineProperty(s.prototype, a, {
418
+ return Object.keys(t).forEach((s) => {
419
+ Object.defineProperty(a.prototype, s, {
420
420
  get() {
421
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
421
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
422
422
  },
423
- set(u) {
424
- var l;
425
- u = bt(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
423
+ set(l) {
424
+ var u;
425
+ l = bt(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
426
426
  }
427
427
  });
428
- }), r.forEach((a) => {
429
- Object.defineProperty(s.prototype, a, {
428
+ }), r.forEach((s) => {
429
+ Object.defineProperty(a.prototype, s, {
430
430
  get() {
431
- var u;
432
- return (u = this.$$c) == null ? void 0 : u[a];
431
+ var l;
432
+ return (l = this.$$c) == null ? void 0 : l[s];
433
433
  }
434
434
  });
435
435
  }), e.element = /** @type {any} */
436
- s, s;
436
+ a, a;
437
437
  }
438
- class oi {
438
+ class ni {
439
439
  constructor() {
440
440
  /**
441
441
  * ### PRIVATE API
@@ -444,7 +444,7 @@ class oi {
444
444
  *
445
445
  * @type {any}
446
446
  */
447
- he(this, "$$");
447
+ ce(this, "$$");
448
448
  /**
449
449
  * ### PRIVATE API
450
450
  *
@@ -452,11 +452,11 @@ class oi {
452
452
  *
453
453
  * @type {any}
454
454
  */
455
- he(this, "$$set");
455
+ ce(this, "$$set");
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- ti(this, 1), this.$destroy = fe;
459
+ Jr(this, 1), this.$destroy = he;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,8 +465,8 @@ class oi {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, n) {
468
- if (!hn(n))
469
- return fe;
468
+ if (!cn(n))
469
+ return he;
470
470
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return r.push(n), () => {
472
472
  const i = r.indexOf(n);
@@ -478,18 +478,18 @@ class oi {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const ai = "4";
485
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
486
- function si(e, t) {
484
+ const ri = "4";
485
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
486
+ function ii(e, t) {
487
487
  if (e) {
488
488
  const n = document.createElement("style");
489
489
  n.innerHTML = t, e.appendChild(n);
490
490
  }
491
491
  }
492
- function li(e, t) {
492
+ function oi(e, t) {
493
493
  const n = new URL(t);
494
494
  fetch(n.href).then((r) => r.text()).then((r) => {
495
495
  const i = document.createElement("style");
@@ -498,7 +498,7 @@ function li(e, t) {
498
498
  console.error("There was an error while trying to load client styling from URL", r);
499
499
  });
500
500
  }
501
- function ui(e, t, n) {
501
+ function ai(e, t, n) {
502
502
  if (window.emMessageBus) {
503
503
  const r = document.createElement("style");
504
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -506,144 +506,144 @@ function ui(e, t, n) {
506
506
  });
507
507
  }
508
508
  }
509
- const Ue = [];
510
- function ci(e, t) {
509
+ const Fe = [];
510
+ function si(e, t) {
511
511
  return {
512
512
  subscribe: St(e, t).subscribe
513
513
  };
514
514
  }
515
- function St(e, t = fe) {
515
+ function St(e, t = he) {
516
516
  let n;
517
517
  const r = /* @__PURE__ */ new Set();
518
- function i(a) {
519
- if (Yn(e, a) && (e = a, n)) {
520
- const u = !Ue.length;
521
- for (const l of r)
522
- l[1](), Ue.push(l, e);
523
- if (u) {
524
- for (let l = 0; l < Ue.length; l += 2)
525
- Ue[l][0](Ue[l + 1]);
526
- Ue.length = 0;
518
+ function i(s) {
519
+ if (Zn(e, s) && (e = s, n)) {
520
+ const l = !Fe.length;
521
+ for (const u of r)
522
+ u[1](), Fe.push(u, e);
523
+ if (l) {
524
+ for (let u = 0; u < Fe.length; u += 2)
525
+ Fe[u][0](Fe[u + 1]);
526
+ Fe.length = 0;
527
527
  }
528
528
  }
529
529
  }
530
- function o(a) {
531
- i(a(e));
530
+ function o(s) {
531
+ i(s(e));
532
532
  }
533
- function s(a, u = fe) {
534
- const l = [a, u];
535
- return r.add(l), r.size === 1 && (n = t(i, o) || fe), a(e), () => {
536
- r.delete(l), r.size === 0 && n && (n(), n = null);
533
+ function a(s, l = he) {
534
+ const u = [s, l];
535
+ return r.add(u), r.size === 1 && (n = t(i, o) || he), s(e), () => {
536
+ r.delete(u), r.size === 0 && n && (n(), n = null);
537
537
  };
538
538
  }
539
- return { set: i, update: o, subscribe: s };
539
+ return { set: i, update: o, subscribe: a };
540
540
  }
541
- function We(e, t, n) {
541
+ function Ze(e, t, n) {
542
542
  const r = !Array.isArray(e), i = r ? [e] : e;
543
543
  if (!i.every(Boolean))
544
544
  throw new Error("derived() expects stores as input, got a falsy value");
545
545
  const o = t.length < 2;
546
- return ci(n, (s, a) => {
547
- let u = !1;
548
- const l = [];
549
- let f = 0, b = fe;
546
+ return si(n, (a, s) => {
547
+ let l = !1;
548
+ const u = [];
549
+ let f = 0, b = he;
550
550
  const m = () => {
551
551
  if (f)
552
552
  return;
553
553
  b();
554
- const _ = t(r ? l[0] : l, s, a);
555
- o ? s(_) : b = hn(_) ? _ : fe;
554
+ const E = t(r ? u[0] : u, a, s);
555
+ o ? a(E) : b = cn(E) ? E : he;
556
556
  }, S = i.map(
557
- (_, T) => Qn(
558
- _,
559
- (N) => {
560
- l[T] = N, f &= ~(1 << T), u && m();
557
+ (E, A) => qn(
558
+ E,
559
+ (I) => {
560
+ u[A] = I, f &= ~(1 << A), l && m();
561
561
  },
562
562
  () => {
563
- f |= 1 << T;
563
+ f |= 1 << A;
564
564
  }
565
565
  )
566
566
  );
567
- return u = !0, m(), function() {
568
- ze(S), b(), u = !1;
567
+ return l = !0, m(), function() {
568
+ We(S), b(), l = !1;
569
569
  };
570
570
  });
571
571
  }
572
- var hi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
573
- function fi(e) {
572
+ var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
573
+ function li(e) {
574
574
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
575
575
  }
576
- var di = function(t) {
577
- return pi(t) && !mi(t);
576
+ var ci = function(t) {
577
+ return hi(t) && !fi(t);
578
578
  };
579
- function pi(e) {
579
+ function hi(e) {
580
580
  return !!e && typeof e == "object";
581
581
  }
582
- function mi(e) {
582
+ function fi(e) {
583
583
  var t = Object.prototype.toString.call(e);
584
- return t === "[object RegExp]" || t === "[object Date]" || yi(e);
584
+ return t === "[object RegExp]" || t === "[object Date]" || mi(e);
585
585
  }
586
- var bi = typeof Symbol == "function" && Symbol.for, gi = bi ? Symbol.for("react.element") : 60103;
587
- function yi(e) {
588
- return e.$$typeof === gi;
586
+ var di = typeof Symbol == "function" && Symbol.for, pi = di ? Symbol.for("react.element") : 60103;
587
+ function mi(e) {
588
+ return e.$$typeof === pi;
589
589
  }
590
- function vi(e) {
590
+ function bi(e) {
591
591
  return Array.isArray(e) ? [] : {};
592
592
  }
593
593
  function ot(e, t) {
594
- return t.clone !== !1 && t.isMergeableObject(e) ? ke(vi(e), e, t) : e;
594
+ return t.clone !== !1 && t.isMergeableObject(e) ? $e(bi(e), e, t) : e;
595
595
  }
596
- function Ei(e, t, n) {
596
+ function gi(e, t, n) {
597
597
  return e.concat(t).map(function(r) {
598
598
  return ot(r, n);
599
599
  });
600
600
  }
601
- function _i(e, t) {
601
+ function yi(e, t) {
602
602
  if (!t.customMerge)
603
- return ke;
603
+ return $e;
604
604
  var n = t.customMerge(e);
605
- return typeof n == "function" ? n : ke;
605
+ return typeof n == "function" ? n : $e;
606
606
  }
607
- function xi(e) {
607
+ function vi(e) {
608
608
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
609
609
  return Object.propertyIsEnumerable.call(e, t);
610
610
  }) : [];
611
611
  }
612
- function _n(e) {
613
- return Object.keys(e).concat(xi(e));
612
+ function vn(e) {
613
+ return Object.keys(e).concat(vi(e));
614
614
  }
615
- function er(e, t) {
615
+ function Jn(e, t) {
616
616
  try {
617
617
  return t in e;
618
618
  } catch (n) {
619
619
  return !1;
620
620
  }
621
621
  }
622
- function wi(e, t) {
623
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
622
+ function Ei(e, t) {
623
+ return Jn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
624
624
  }
625
- function Si(e, t, n) {
625
+ function _i(e, t, n) {
626
626
  var r = {};
627
- return n.isMergeableObject(e) && _n(e).forEach(function(i) {
627
+ return n.isMergeableObject(e) && vn(e).forEach(function(i) {
628
628
  r[i] = ot(e[i], n);
629
- }), _n(t).forEach(function(i) {
630
- wi(e, i) || (er(e, i) && n.isMergeableObject(t[i]) ? r[i] = _i(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
629
+ }), vn(t).forEach(function(i) {
630
+ Ei(e, i) || (Jn(e, i) && n.isMergeableObject(t[i]) ? r[i] = yi(i, n)(e[i], t[i], n) : r[i] = ot(t[i], n));
631
631
  }), r;
632
632
  }
633
- function ke(e, t, n) {
634
- n = n || {}, n.arrayMerge = n.arrayMerge || Ei, n.isMergeableObject = n.isMergeableObject || di, n.cloneUnlessOtherwiseSpecified = ot;
633
+ function $e(e, t, n) {
634
+ n = n || {}, n.arrayMerge = n.arrayMerge || gi, n.isMergeableObject = n.isMergeableObject || ci, n.cloneUnlessOtherwiseSpecified = ot;
635
635
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
636
- return o ? r ? n.arrayMerge(e, t, n) : Si(e, t, n) : ot(t, n);
636
+ return o ? r ? n.arrayMerge(e, t, n) : _i(e, t, n) : ot(t, n);
637
637
  }
638
- ke.all = function(t, n) {
638
+ $e.all = function(t, n) {
639
639
  if (!Array.isArray(t))
640
640
  throw new Error("first argument should be an array");
641
641
  return t.reduce(function(r, i) {
642
- return ke(r, i, n);
642
+ return $e(r, i, n);
643
643
  }, {});
644
644
  };
645
- var Ti = ke, Bi = Ti;
646
- const Ai = /* @__PURE__ */ fi(Bi);
645
+ var xi = $e, wi = xi;
646
+ const Si = /* @__PURE__ */ li(wi);
647
647
  /*! *****************************************************************************
648
648
  Copyright (c) Microsoft Corporation.
649
649
 
@@ -658,34 +658,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
658
658
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
659
659
  PERFORMANCE OF THIS SOFTWARE.
660
660
  ***************************************************************************** */
661
- var Yt = function(e, t) {
662
- return Yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
661
+ var qt = function(e, t) {
662
+ return qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
663
663
  n.__proto__ = r;
664
664
  } || function(n, r) {
665
665
  for (var i in r)
666
666
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
667
- }, Yt(e, t);
667
+ }, qt(e, t);
668
668
  };
669
- function Ae(e, t) {
669
+ function Be(e, t) {
670
670
  if (typeof t != "function" && t !== null)
671
671
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
672
- Yt(e, t);
672
+ qt(e, t);
673
673
  function n() {
674
674
  this.constructor = e;
675
675
  }
676
676
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
677
677
  }
678
- var P = function() {
679
- return P = Object.assign || function(t) {
678
+ var L = function() {
679
+ return L = Object.assign || function(t) {
680
680
  for (var n, r = 1, i = arguments.length; r < i; r++) {
681
681
  n = arguments[r];
682
682
  for (var o in n)
683
683
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
684
684
  }
685
685
  return t;
686
- }, P.apply(this, arguments);
686
+ }, L.apply(this, arguments);
687
687
  };
688
- function Ci(e, t) {
688
+ function Ti(e, t) {
689
689
  var n = {};
690
690
  for (var r in e)
691
691
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -694,7 +694,7 @@ function Ci(e, t) {
694
694
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
695
695
  return n;
696
696
  }
697
- function Qt(e) {
697
+ function Yt(e) {
698
698
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
699
699
  if (n)
700
700
  return n.call(e);
@@ -706,131 +706,133 @@ function Qt(e) {
706
706
  };
707
707
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
708
708
  }
709
- function Jt(e, t) {
709
+ function Qt(e, t) {
710
710
  var n = typeof Symbol == "function" && e[Symbol.iterator];
711
711
  if (!n)
712
712
  return e;
713
- var r = n.call(e), i, o = [], s;
713
+ var r = n.call(e), i, o = [], a;
714
714
  try {
715
715
  for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
716
716
  o.push(i.value);
717
- } catch (a) {
718
- s = { error: a };
717
+ } catch (s) {
718
+ a = { error: s };
719
719
  } finally {
720
720
  try {
721
721
  i && !i.done && (n = r.return) && n.call(r);
722
722
  } finally {
723
- if (s)
724
- throw s.error;
723
+ if (a)
724
+ throw a.error;
725
725
  }
726
726
  }
727
727
  return o;
728
728
  }
729
- function je(e, t, n) {
729
+ function ke(e, t, n) {
730
730
  if (n || arguments.length === 2)
731
731
  for (var r = 0, i = t.length, o; r < i; r++)
732
732
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
733
733
  return e.concat(o || t);
734
734
  }
735
735
  function Gt(e, t) {
736
- var n = t && t.cache ? t.cache : Pi, r = t && t.serializer ? t.serializer : Li, i = t && t.strategy ? t.strategy : Oi;
736
+ var n = t && t.cache ? t.cache : Ri, r = t && t.serializer ? t.serializer : Oi, i = t && t.strategy ? t.strategy : Ai;
737
737
  return i(e, {
738
738
  cache: n,
739
739
  serializer: r
740
740
  });
741
741
  }
742
- function Hi(e) {
742
+ function Bi(e) {
743
743
  return e == null || typeof e == "number" || typeof e == "boolean";
744
744
  }
745
- function tr(e, t, n, r) {
746
- var i = Hi(r) ? r : n(r), o = t.get(i);
745
+ function Kn(e, t, n, r) {
746
+ var i = Bi(r) ? r : n(r), o = t.get(i);
747
747
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
748
748
  }
749
- function nr(e, t, n) {
749
+ function er(e, t, n) {
750
750
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
751
751
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
752
752
  }
753
- function fn(e, t, n, r, i) {
753
+ function hn(e, t, n, r, i) {
754
754
  return n.bind(t, e, r, i);
755
755
  }
756
- function Oi(e, t) {
757
- var n = e.length === 1 ? tr : nr;
758
- return fn(e, this, n, t.cache.create(), t.serializer);
756
+ function Ai(e, t) {
757
+ var n = e.length === 1 ? Kn : er;
758
+ return hn(e, this, n, t.cache.create(), t.serializer);
759
759
  }
760
- function Mi(e, t) {
761
- return fn(e, this, nr, t.cache.create(), t.serializer);
760
+ function Ci(e, t) {
761
+ return hn(e, this, er, t.cache.create(), t.serializer);
762
762
  }
763
- function Ri(e, t) {
764
- return fn(e, this, tr, t.cache.create(), t.serializer);
763
+ function Hi(e, t) {
764
+ return hn(e, this, Kn, t.cache.create(), t.serializer);
765
765
  }
766
- var Li = function() {
766
+ var Oi = function() {
767
767
  return JSON.stringify(arguments);
768
- };
769
- function dn() {
770
- this.cache = /* @__PURE__ */ Object.create(null);
771
- }
772
- dn.prototype.get = function(e) {
773
- return this.cache[e];
774
- };
775
- dn.prototype.set = function(e, t) {
776
- this.cache[e] = t;
777
- };
778
- var Pi = {
768
+ }, Mi = (
769
+ /** @class */
770
+ function() {
771
+ function e() {
772
+ this.cache = /* @__PURE__ */ Object.create(null);
773
+ }
774
+ return e.prototype.get = function(t) {
775
+ return this.cache[t];
776
+ }, e.prototype.set = function(t, n) {
777
+ this.cache[t] = n;
778
+ }, e;
779
+ }()
780
+ ), Ri = {
779
781
  create: function() {
780
- return new dn();
782
+ return new Mi();
781
783
  }
782
784
  }, jt = {
783
- variadic: Mi,
784
- monadic: Ri
785
- }, O;
785
+ variadic: Ci,
786
+ monadic: Hi
787
+ }, H;
786
788
  (function(e) {
787
789
  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";
788
- })(O || (O = {}));
790
+ })(H || (H = {}));
789
791
  var G;
790
792
  (function(e) {
791
793
  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";
792
794
  })(G || (G = {}));
793
- var $e;
795
+ var Ve;
794
796
  (function(e) {
795
797
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
796
- })($e || ($e = {}));
797
- function xn(e) {
798
+ })(Ve || (Ve = {}));
799
+ function En(e) {
798
800
  return e.type === G.literal;
799
801
  }
800
- function Ii(e) {
802
+ function Li(e) {
801
803
  return e.type === G.argument;
802
804
  }
803
- function rr(e) {
805
+ function tr(e) {
804
806
  return e.type === G.number;
805
807
  }
806
- function ir(e) {
808
+ function nr(e) {
807
809
  return e.type === G.date;
808
810
  }
809
- function or(e) {
811
+ function rr(e) {
810
812
  return e.type === G.time;
811
813
  }
812
- function ar(e) {
814
+ function ir(e) {
813
815
  return e.type === G.select;
814
816
  }
815
- function sr(e) {
817
+ function or(e) {
816
818
  return e.type === G.plural;
817
819
  }
818
- function Ni(e) {
820
+ function Pi(e) {
819
821
  return e.type === G.pound;
820
822
  }
821
- function lr(e) {
823
+ function ar(e) {
822
824
  return e.type === G.tag;
823
825
  }
824
- function ur(e) {
825
- return !!(e && typeof e == "object" && e.type === $e.number);
826
+ function sr(e) {
827
+ return !!(e && typeof e == "object" && e.type === Ve.number);
826
828
  }
827
- function Kt(e) {
828
- return !!(e && typeof e == "object" && e.type === $e.dateTime);
829
+ function Jt(e) {
830
+ return !!(e && typeof e == "object" && e.type === Ve.dateTime);
829
831
  }
830
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
831
- function Ui(e) {
832
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[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;
833
+ function Ii(e) {
832
834
  var t = {};
833
- return e.replace(Di, function(n) {
835
+ return e.replace(Ni, function(n) {
834
836
  var r = n.length;
835
837
  switch (n[0]) {
836
838
  case "G":
@@ -919,36 +921,36 @@ function Ui(e) {
919
921
  return "";
920
922
  }), t;
921
923
  }
922
- var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
923
- function Gi(e) {
924
+ var Di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
925
+ function Ui(e) {
924
926
  if (e.length === 0)
925
927
  throw new Error("Number skeleton cannot be empty");
926
- for (var t = e.split(Fi).filter(function(m) {
928
+ for (var t = e.split(Di).filter(function(m) {
927
929
  return m.length > 0;
928
930
  }), n = [], r = 0, i = t; r < i.length; r++) {
929
- var o = i[r], s = o.split("/");
930
- if (s.length === 0)
931
+ var o = i[r], a = o.split("/");
932
+ if (a.length === 0)
931
933
  throw new Error("Invalid number skeleton");
932
- for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
933
- var b = f[l];
934
+ for (var s = a[0], l = a.slice(1), u = 0, f = l; u < f.length; u++) {
935
+ var b = f[u];
934
936
  if (b.length === 0)
935
937
  throw new Error("Invalid number skeleton");
936
938
  }
937
- n.push({ stem: a, options: u });
939
+ n.push({ stem: s, options: l });
938
940
  }
939
941
  return n;
940
942
  }
941
- function ji(e) {
943
+ function Fi(e) {
942
944
  return e.replace(/^(.*?)-/, "");
943
945
  }
944
- var wn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
945
- function Sn(e) {
946
+ var _n = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Gi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
947
+ function xn(e) {
946
948
  var t = {};
947
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(n, r, i) {
949
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(n, r, i) {
948
950
  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)), "";
949
951
  }), t;
950
952
  }
951
- function dr(e) {
953
+ function hr(e) {
952
954
  switch (e) {
953
955
  case "sign-auto":
954
956
  return {
@@ -988,7 +990,7 @@ function dr(e) {
988
990
  };
989
991
  }
990
992
  }
991
- function $i(e) {
993
+ function ji(e) {
992
994
  var t;
993
995
  if (e[0] === "E" && e[1] === "E" ? (t = {
994
996
  notation: "engineering"
@@ -996,17 +998,17 @@ function $i(e) {
996
998
  notation: "scientific"
997
999
  }, e = e.slice(1)), t) {
998
1000
  var n = e.slice(0, 2);
999
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1001
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1000
1002
  throw new Error("Malformed concise eng/scientific notation");
1001
1003
  t.minimumIntegerDigits = e.length;
1002
1004
  }
1003
1005
  return t;
1004
1006
  }
1005
- function Tn(e) {
1006
- var t = {}, n = dr(e);
1007
+ function wn(e) {
1008
+ var t = {}, n = hr(e);
1007
1009
  return n || t;
1008
1010
  }
1009
- function Vi(e) {
1011
+ function ki(e) {
1010
1012
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1011
1013
  var i = r[n];
1012
1014
  switch (i.stem) {
@@ -1030,7 +1032,7 @@ function Vi(e) {
1030
1032
  continue;
1031
1033
  case "measure-unit":
1032
1034
  case "unit":
1033
- t.style = "unit", t.unit = ji(i.options[0]);
1035
+ t.style = "unit", t.unit = Fi(i.options[0]);
1034
1036
  continue;
1035
1037
  case "compact-short":
1036
1038
  case "K":
@@ -1041,13 +1043,13 @@ function Vi(e) {
1041
1043
  t.notation = "compact", t.compactDisplay = "long";
1042
1044
  continue;
1043
1045
  case "scientific":
1044
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1045
- return P(P({}, u), Tn(l));
1046
+ t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1047
+ return L(L({}, l), wn(u));
1046
1048
  }, {}));
1047
1049
  continue;
1048
1050
  case "engineering":
1049
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1050
- return P(P({}, u), Tn(l));
1051
+ t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1052
+ return L(L({}, l), wn(u));
1051
1053
  }, {}));
1052
1054
  continue;
1053
1055
  case "notation-simple":
@@ -1092,8 +1094,8 @@ function Vi(e) {
1092
1094
  case "integer-width":
1093
1095
  if (i.options.length > 1)
1094
1096
  throw new RangeError("integer-width stems only accept a single optional option");
1095
- i.options[0].replace(ki, function(u, l, f, b, m, S) {
1096
- if (l)
1097
+ i.options[0].replace(Gi, function(l, u, f, b, m, S) {
1098
+ if (u)
1097
1099
  t.minimumIntegerDigits = f.length;
1098
1100
  else {
1099
1101
  if (b && m)
@@ -1105,28 +1107,28 @@ function Vi(e) {
1105
1107
  });
1106
1108
  continue;
1107
1109
  }
1108
- if (fr.test(i.stem)) {
1110
+ if (cr.test(i.stem)) {
1109
1111
  t.minimumIntegerDigits = i.stem.length;
1110
1112
  continue;
1111
1113
  }
1112
- if (wn.test(i.stem)) {
1114
+ if (_n.test(i.stem)) {
1113
1115
  if (i.options.length > 1)
1114
1116
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1115
- i.stem.replace(wn, function(u, l, f, b, m, S) {
1116
- return f === "*" ? t.minimumFractionDigits = l.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && S ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + S.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1117
+ i.stem.replace(_n, function(l, u, f, b, m, S) {
1118
+ return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : m && S ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1117
1119
  });
1118
1120
  var o = i.options[0];
1119
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Sn(o)));
1121
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), xn(o)));
1120
1122
  continue;
1121
1123
  }
1122
- if (hr.test(i.stem)) {
1123
- t = P(P({}, t), Sn(i.stem));
1124
+ if (lr.test(i.stem)) {
1125
+ t = L(L({}, t), xn(i.stem));
1124
1126
  continue;
1125
1127
  }
1126
- var s = dr(i.stem);
1127
- s && (t = P(P({}, t), s));
1128
- var a = $i(i.stem);
1129
- a && (t = P(P({}, t), a));
1128
+ var a = hr(i.stem);
1129
+ a && (t = L(L({}, t), a));
1130
+ var s = ji(i.stem);
1131
+ s && (t = L(L({}, t), s));
1130
1132
  }
1131
1133
  return t;
1132
1134
  }
@@ -2545,23 +2547,23 @@ var pt = {
2545
2547
  "h"
2546
2548
  ]
2547
2549
  };
2548
- function Xi(e, t) {
2550
+ function $i(e, t) {
2549
2551
  for (var n = "", r = 0; r < e.length; r++) {
2550
2552
  var i = e.charAt(r);
2551
2553
  if (i === "j") {
2552
2554
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2553
2555
  o++, r++;
2554
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = zi(t);
2555
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2556
- n += u;
2557
- for (; s-- > 0; )
2558
- n = l + n;
2556
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vi(t);
2557
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2558
+ n += l;
2559
+ for (; a-- > 0; )
2560
+ n = u + n;
2559
2561
  } else
2560
2562
  i === "J" ? n += "H" : n += i;
2561
2563
  }
2562
2564
  return n;
2563
2565
  }
2564
- function zi(e) {
2566
+ function Vi(e) {
2565
2567
  var t = e.hourCycle;
2566
2568
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2567
2569
  e.hourCycles && // @ts-ignore
@@ -2583,20 +2585,20 @@ function zi(e) {
2583
2585
  var i = pt[r || ""] || pt[n || ""] || pt["".concat(n, "-001")] || pt["001"];
2584
2586
  return i[0];
2585
2587
  }
2586
- var kt, Wi = new RegExp("^".concat(cr.source, "*")), Zi = new RegExp("".concat(cr.source, "*$"));
2587
- function M(e, t) {
2588
+ var kt, Xi = new RegExp("^".concat(ur.source, "*")), zi = new RegExp("".concat(ur.source, "*$"));
2589
+ function O(e, t) {
2588
2590
  return { start: e, end: t };
2589
2591
  }
2590
- var qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yi = !!String.fromCodePoint, Qi = !!Object.fromEntries, Ji = !!String.prototype.codePointAt, Ki = !!String.prototype.trimStart, eo = !!String.prototype.trimEnd, to = !!Number.isSafeInteger, no = to ? Number.isSafeInteger : function(e) {
2592
+ var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zi = !!String.fromCodePoint, qi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, eo = Ki ? Number.isSafeInteger : function(e) {
2591
2593
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2592
- }, en = !0;
2594
+ }, Kt = !0;
2593
2595
  try {
2594
- var ro = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
- en = ((kt = ro.exec("a")) === null || kt === void 0 ? void 0 : kt[0]) === "a";
2596
+ var to = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
+ Kt = ((kt = to.exec("a")) === null || kt === void 0 ? void 0 : kt[0]) === "a";
2596
2598
  } catch (e) {
2597
- en = !1;
2599
+ Kt = !1;
2598
2600
  }
2599
- var Bn = qi ? (
2601
+ var Sn = Wi ? (
2600
2602
  // Native
2601
2603
  function(t, n, r) {
2602
2604
  return t.startsWith(n, r);
@@ -2606,31 +2608,31 @@ var Bn = qi ? (
2606
2608
  function(t, n, r) {
2607
2609
  return t.slice(r, r + n.length) === n;
2608
2610
  }
2609
- ), tn = Yi ? String.fromCodePoint : (
2611
+ ), en = Zi ? String.fromCodePoint : (
2610
2612
  // IE11
2611
2613
  function() {
2612
2614
  for (var t = [], n = 0; n < arguments.length; n++)
2613
2615
  t[n] = arguments[n];
2614
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
2615
- if (s = t[o++], s > 1114111)
2616
- throw RangeError(s + " is not a valid code point");
2617
- r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2616
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
2617
+ if (a = t[o++], a > 1114111)
2618
+ throw RangeError(a + " is not a valid code point");
2619
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2618
2620
  }
2619
2621
  return r;
2620
2622
  }
2621
- ), An = (
2623
+ ), Tn = (
2622
2624
  // native
2623
- Qi ? Object.fromEntries : (
2625
+ qi ? Object.fromEntries : (
2624
2626
  // Ponyfill
2625
2627
  function(t) {
2626
2628
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2627
- var o = i[r], s = o[0], a = o[1];
2628
- n[s] = a;
2629
+ var o = i[r], a = o[0], s = o[1];
2630
+ n[a] = s;
2629
2631
  }
2630
2632
  return n;
2631
2633
  }
2632
2634
  )
2633
- ), pr = Ji ? (
2635
+ ), fr = Yi ? (
2634
2636
  // Native
2635
2637
  function(t, n) {
2636
2638
  return t.codePointAt(n);
@@ -2644,7 +2646,7 @@ var Bn = qi ? (
2644
2646
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2645
2647
  }
2646
2648
  }
2647
- ), io = Ki ? (
2649
+ ), no = Qi ? (
2648
2650
  // Native
2649
2651
  function(t) {
2650
2652
  return t.trimStart();
@@ -2652,9 +2654,9 @@ var Bn = qi ? (
2652
2654
  ) : (
2653
2655
  // Ponyfill
2654
2656
  function(t) {
2655
- return t.replace(Wi, "");
2657
+ return t.replace(Xi, "");
2656
2658
  }
2657
- ), oo = eo ? (
2659
+ ), ro = Ji ? (
2658
2660
  // Native
2659
2661
  function(t) {
2660
2662
  return t.trimEnd();
@@ -2662,32 +2664,32 @@ var Bn = qi ? (
2662
2664
  ) : (
2663
2665
  // Ponyfill
2664
2666
  function(t) {
2665
- return t.replace(Zi, "");
2667
+ return t.replace(zi, "");
2666
2668
  }
2667
2669
  );
2668
- function mr(e, t) {
2670
+ function dr(e, t) {
2669
2671
  return new RegExp(e, t);
2670
2672
  }
2671
- var nn;
2672
- if (en) {
2673
- var Cn = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2674
- nn = function(t, n) {
2673
+ var tn;
2674
+ if (Kt) {
2675
+ var Bn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2676
+ tn = function(t, n) {
2675
2677
  var r;
2676
- Cn.lastIndex = n;
2677
- var i = Cn.exec(t);
2678
+ Bn.lastIndex = n;
2679
+ var i = Bn.exec(t);
2678
2680
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2679
2681
  };
2680
2682
  } else
2681
- nn = function(t, n) {
2683
+ tn = function(t, n) {
2682
2684
  for (var r = []; ; ) {
2683
- var i = pr(t, n);
2684
- if (i === void 0 || br(i) || uo(i))
2685
+ var i = fr(t, n);
2686
+ if (i === void 0 || pr(i) || so(i))
2685
2687
  break;
2686
2688
  r.push(i), n += i >= 65536 ? 2 : 1;
2687
2689
  }
2688
- return tn.apply(void 0, r);
2690
+ return en.apply(void 0, r);
2689
2691
  };
2690
- var ao = (
2692
+ var io = (
2691
2693
  /** @class */
2692
2694
  function() {
2693
2695
  function e(t, n) {
@@ -2701,33 +2703,33 @@ var ao = (
2701
2703
  for (var i = []; !this.isEOF(); ) {
2702
2704
  var o = this.char();
2703
2705
  if (o === 123) {
2704
- var s = this.parseArgument(t, r);
2705
- if (s.err)
2706
- return s;
2707
- i.push(s.val);
2706
+ var a = this.parseArgument(t, r);
2707
+ if (a.err)
2708
+ return a;
2709
+ i.push(a.val);
2708
2710
  } else {
2709
2711
  if (o === 125 && t > 0)
2710
2712
  break;
2711
2713
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2712
- var a = this.clonePosition();
2714
+ var s = this.clonePosition();
2713
2715
  this.bump(), i.push({
2714
2716
  type: G.pound,
2715
- location: M(a, this.clonePosition())
2717
+ location: O(s, this.clonePosition())
2716
2718
  });
2717
2719
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2718
2720
  if (r)
2719
2721
  break;
2720
- return this.error(O.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2721
- } else if (o === 60 && !this.ignoreTag && rn(this.peek() || 0)) {
2722
- var s = this.parseTag(t, n);
2723
- if (s.err)
2724
- return s;
2725
- i.push(s.val);
2722
+ return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2723
+ } else if (o === 60 && !this.ignoreTag && nn(this.peek() || 0)) {
2724
+ var a = this.parseTag(t, n);
2725
+ if (a.err)
2726
+ return a;
2727
+ i.push(a.val);
2726
2728
  } else {
2727
- var s = this.parseLiteral(t, n);
2728
- if (s.err)
2729
- return s;
2730
- i.push(s.val);
2729
+ var a = this.parseLiteral(t, n);
2730
+ if (a.err)
2731
+ return a;
2732
+ i.push(a.val);
2731
2733
  }
2732
2734
  }
2733
2735
  }
@@ -2741,7 +2743,7 @@ var ao = (
2741
2743
  val: {
2742
2744
  type: G.literal,
2743
2745
  value: "<".concat(i, "/>"),
2744
- location: M(r, this.clonePosition())
2746
+ location: O(r, this.clonePosition())
2745
2747
  },
2746
2748
  err: null
2747
2749
  };
@@ -2749,27 +2751,27 @@ var ao = (
2749
2751
  var o = this.parseMessage(t + 1, n, !0);
2750
2752
  if (o.err)
2751
2753
  return o;
2752
- var s = o.val, a = this.clonePosition();
2754
+ var a = o.val, s = this.clonePosition();
2753
2755
  if (this.bumpIf("</")) {
2754
- if (this.isEOF() || !rn(this.char()))
2755
- return this.error(O.INVALID_TAG, M(a, this.clonePosition()));
2756
- var u = this.clonePosition(), l = this.parseTagName();
2757
- return i !== l ? this.error(O.UNMATCHED_CLOSING_TAG, M(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2756
+ if (this.isEOF() || !nn(this.char()))
2757
+ return this.error(H.INVALID_TAG, O(s, this.clonePosition()));
2758
+ var l = this.clonePosition(), u = this.parseTagName();
2759
+ return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, O(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2758
2760
  val: {
2759
2761
  type: G.tag,
2760
2762
  value: i,
2761
- children: s,
2762
- location: M(r, this.clonePosition())
2763
+ children: a,
2764
+ location: O(r, this.clonePosition())
2763
2765
  },
2764
2766
  err: null
2765
- } : this.error(O.INVALID_TAG, M(a, this.clonePosition())));
2767
+ } : this.error(H.INVALID_TAG, O(s, this.clonePosition())));
2766
2768
  } else
2767
- return this.error(O.UNCLOSED_TAG, M(r, this.clonePosition()));
2769
+ return this.error(H.UNCLOSED_TAG, O(r, this.clonePosition()));
2768
2770
  } else
2769
- return this.error(O.INVALID_TAG, M(r, this.clonePosition()));
2771
+ return this.error(H.INVALID_TAG, O(r, this.clonePosition()));
2770
2772
  }, e.prototype.parseTagName = function() {
2771
2773
  var t = this.offset();
2772
- for (this.bump(); !this.isEOF() && lo(this.char()); )
2774
+ for (this.bump(); !this.isEOF() && ao(this.char()); )
2773
2775
  this.bump();
2774
2776
  return this.message.slice(t, this.offset());
2775
2777
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2779,26 +2781,26 @@ var ao = (
2779
2781
  i += o;
2780
2782
  continue;
2781
2783
  }
2782
- var s = this.tryParseUnquoted(t, n);
2783
- if (s) {
2784
- i += s;
2785
- continue;
2786
- }
2787
- var a = this.tryParseLeftAngleBracket();
2784
+ var a = this.tryParseUnquoted(t, n);
2788
2785
  if (a) {
2789
2786
  i += a;
2790
2787
  continue;
2791
2788
  }
2789
+ var s = this.tryParseLeftAngleBracket();
2790
+ if (s) {
2791
+ i += s;
2792
+ continue;
2793
+ }
2792
2794
  break;
2793
2795
  }
2794
- var u = M(r, this.clonePosition());
2796
+ var l = O(r, this.clonePosition());
2795
2797
  return {
2796
- val: { type: G.literal, value: i, location: u },
2798
+ val: { type: G.literal, value: i, location: l },
2797
2799
  err: null
2798
2800
  };
2799
2801
  }, e.prototype.tryParseLeftAngleBracket = function() {
2800
2802
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2801
- !so(this.peek() || 0)) ? (this.bump(), "<") : null;
2803
+ !oo(this.peek() || 0)) ? (this.bump(), "<") : null;
2802
2804
  }, e.prototype.tryParseQuote = function(t) {
2803
2805
  if (this.isEOF() || this.char() !== 39)
2804
2806
  return null;
@@ -2832,23 +2834,23 @@ var ao = (
2832
2834
  n.push(r);
2833
2835
  this.bump();
2834
2836
  }
2835
- return tn.apply(void 0, n);
2837
+ return en.apply(void 0, n);
2836
2838
  }, e.prototype.tryParseUnquoted = function(t, n) {
2837
2839
  if (this.isEOF())
2838
2840
  return null;
2839
2841
  var r = this.char();
2840
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), tn(r));
2842
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), en(r));
2841
2843
  }, e.prototype.parseArgument = function(t, n) {
2842
2844
  var r = this.clonePosition();
2843
2845
  if (this.bump(), this.bumpSpace(), this.isEOF())
2844
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2846
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2845
2847
  if (this.char() === 125)
2846
- return this.bump(), this.error(O.EMPTY_ARGUMENT, M(r, this.clonePosition()));
2848
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, O(r, this.clonePosition()));
2847
2849
  var i = this.parseIdentifierIfPossible().value;
2848
2850
  if (!i)
2849
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2851
+ return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2850
2852
  if (this.bumpSpace(), this.isEOF())
2851
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
2853
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2852
2854
  switch (this.char()) {
2853
2855
  case 125:
2854
2856
  return this.bump(), {
@@ -2856,76 +2858,76 @@ var ao = (
2856
2858
  type: G.argument,
2857
2859
  // value does not include the opening and closing braces.
2858
2860
  value: i,
2859
- location: M(r, this.clonePosition())
2861
+ location: O(r, this.clonePosition())
2860
2862
  },
2861
2863
  err: null
2862
2864
  };
2863
2865
  case 44:
2864
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2866
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2865
2867
  default:
2866
- return this.error(O.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
2868
+ return this.error(H.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2867
2869
  }
2868
2870
  }, e.prototype.parseIdentifierIfPossible = function() {
2869
- var t = this.clonePosition(), n = this.offset(), r = nn(this.message, n), i = n + r.length;
2871
+ var t = this.clonePosition(), n = this.offset(), r = tn(this.message, n), i = n + r.length;
2870
2872
  this.bumpTo(i);
2871
- var o = this.clonePosition(), s = M(t, o);
2872
- return { value: r, location: s };
2873
+ var o = this.clonePosition(), a = O(t, o);
2874
+ return { value: r, location: a };
2873
2875
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2874
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2875
- switch (a) {
2876
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2877
+ switch (s) {
2876
2878
  case "":
2877
- return this.error(O.EXPECT_ARGUMENT_TYPE, M(s, u));
2879
+ return this.error(H.EXPECT_ARGUMENT_TYPE, O(a, l));
2878
2880
  case "number":
2879
2881
  case "date":
2880
2882
  case "time": {
2881
2883
  this.bumpSpace();
2882
- var l = null;
2884
+ var u = null;
2883
2885
  if (this.bumpIf(",")) {
2884
2886
  this.bumpSpace();
2885
2887
  var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2886
2888
  if (b.err)
2887
2889
  return b;
2888
- var m = oo(b.val);
2890
+ var m = ro(b.val);
2889
2891
  if (m.length === 0)
2890
- return this.error(O.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2891
- var S = M(f, this.clonePosition());
2892
- l = { style: m, styleLocation: S };
2892
+ return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2893
+ var S = O(f, this.clonePosition());
2894
+ u = { style: m, styleLocation: S };
2893
2895
  }
2894
- var _ = this.tryParseArgumentClose(i);
2895
- if (_.err)
2896
- return _;
2897
- var T = M(i, this.clonePosition());
2898
- if (l && Bn(l == null ? void 0 : l.style, "::", 0)) {
2899
- var N = io(l.style.slice(2));
2900
- if (a === "number") {
2901
- var b = this.parseNumberSkeletonFromString(N, l.styleLocation);
2896
+ var E = this.tryParseArgumentClose(i);
2897
+ if (E.err)
2898
+ return E;
2899
+ var A = O(i, this.clonePosition());
2900
+ if (u && Sn(u == null ? void 0 : u.style, "::", 0)) {
2901
+ var I = no(u.style.slice(2));
2902
+ if (s === "number") {
2903
+ var b = this.parseNumberSkeletonFromString(I, u.styleLocation);
2902
2904
  return b.err ? b : {
2903
- val: { type: G.number, value: r, location: T, style: b.val },
2905
+ val: { type: G.number, value: r, location: A, style: b.val },
2904
2906
  err: null
2905
2907
  };
2906
2908
  } else {
2907
- if (N.length === 0)
2908
- return this.error(O.EXPECT_DATE_TIME_SKELETON, T);
2909
- var W = N;
2910
- this.locale && (W = Xi(N, this.locale));
2909
+ if (I.length === 0)
2910
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, A);
2911
+ var W = I;
2912
+ this.locale && (W = $i(I, this.locale));
2911
2913
  var m = {
2912
- type: $e.dateTime,
2914
+ type: Ve.dateTime,
2913
2915
  pattern: W,
2914
- location: l.styleLocation,
2915
- parsedOptions: this.shouldParseSkeletons ? Ui(W) : {}
2916
- }, V = a === "date" ? G.date : G.time;
2916
+ location: u.styleLocation,
2917
+ parsedOptions: this.shouldParseSkeletons ? Ii(W) : {}
2918
+ }, V = s === "date" ? G.date : G.time;
2917
2919
  return {
2918
- val: { type: V, value: r, location: T, style: m },
2920
+ val: { type: V, value: r, location: A, style: m },
2919
2921
  err: null
2920
2922
  };
2921
2923
  }
2922
2924
  }
2923
2925
  return {
2924
2926
  val: {
2925
- type: a === "number" ? G.number : a === "date" ? G.date : G.time,
2927
+ type: s === "number" ? G.number : s === "date" ? G.date : G.time,
2926
2928
  value: r,
2927
- location: T,
2928
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2929
+ location: A,
2930
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2929
2931
  },
2930
2932
  err: null
2931
2933
  };
@@ -2933,52 +2935,52 @@ var ao = (
2933
2935
  case "plural":
2934
2936
  case "selectordinal":
2935
2937
  case "select": {
2936
- var L = this.clonePosition();
2938
+ var R = this.clonePosition();
2937
2939
  if (this.bumpSpace(), !this.bumpIf(","))
2938
- return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, M(L, P({}, L)));
2940
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(R, L({}, R)));
2939
2941
  this.bumpSpace();
2940
- var U = this.parseIdentifierIfPossible(), Q = 0;
2941
- if (a !== "select" && U.value === "offset") {
2942
+ var D = this.parseIdentifierIfPossible(), k = 0;
2943
+ if (s !== "select" && D.value === "offset") {
2942
2944
  if (!this.bumpIf(":"))
2943
- return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2945
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2944
2946
  this.bumpSpace();
2945
- var b = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2947
+ var b = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2946
2948
  if (b.err)
2947
2949
  return b;
2948
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), Q = b.val;
2950
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), k = b.val;
2949
2951
  }
2950
- var Z = this.tryParsePluralOrSelectOptions(t, a, n, U);
2951
- if (Z.err)
2952
- return Z;
2953
- var _ = this.tryParseArgumentClose(i);
2954
- if (_.err)
2955
- return _;
2956
- var ee = M(i, this.clonePosition());
2957
- return a === "select" ? {
2952
+ var oe = this.tryParsePluralOrSelectOptions(t, s, n, D);
2953
+ if (oe.err)
2954
+ return oe;
2955
+ var E = this.tryParseArgumentClose(i);
2956
+ if (E.err)
2957
+ return E;
2958
+ var Z = O(i, this.clonePosition());
2959
+ return s === "select" ? {
2958
2960
  val: {
2959
2961
  type: G.select,
2960
2962
  value: r,
2961
- options: An(Z.val),
2962
- location: ee
2963
+ options: Tn(oe.val),
2964
+ location: Z
2963
2965
  },
2964
2966
  err: null
2965
2967
  } : {
2966
2968
  val: {
2967
2969
  type: G.plural,
2968
2970
  value: r,
2969
- options: An(Z.val),
2970
- offset: Q,
2971
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2972
- location: ee
2971
+ options: Tn(oe.val),
2972
+ offset: k,
2973
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
2974
+ location: Z
2973
2975
  },
2974
2976
  err: null
2975
2977
  };
2976
2978
  }
2977
2979
  default:
2978
- return this.error(O.INVALID_ARGUMENT_TYPE, M(s, u));
2980
+ return this.error(H.INVALID_ARGUMENT_TYPE, O(a, l));
2979
2981
  }
2980
2982
  }, e.prototype.tryParseArgumentClose = function(t) {
2981
- return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2983
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2982
2984
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2983
2985
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2984
2986
  var r = this.char();
@@ -2987,7 +2989,7 @@ var ao = (
2987
2989
  this.bump();
2988
2990
  var i = this.clonePosition();
2989
2991
  if (!this.bumpUntil("'"))
2990
- return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(i, this.clonePosition()));
2992
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2991
2993
  this.bump();
2992
2994
  break;
2993
2995
  }
@@ -3017,64 +3019,64 @@ var ao = (
3017
3019
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3018
3020
  var r = [];
3019
3021
  try {
3020
- r = Gi(t);
3022
+ r = Ui(t);
3021
3023
  } catch (i) {
3022
- return this.error(O.INVALID_NUMBER_SKELETON, n);
3024
+ return this.error(H.INVALID_NUMBER_SKELETON, n);
3023
3025
  }
3024
3026
  return {
3025
3027
  val: {
3026
- type: $e.number,
3028
+ type: Ve.number,
3027
3029
  tokens: r,
3028
3030
  location: n,
3029
- parsedOptions: this.shouldParseSkeletons ? Vi(r) : {}
3031
+ parsedOptions: this.shouldParseSkeletons ? ki(r) : {}
3030
3032
  },
3031
3033
  err: null
3032
3034
  };
3033
3035
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3034
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
3035
- if (l.length === 0) {
3036
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
3037
+ if (u.length === 0) {
3036
3038
  var b = this.clonePosition();
3037
3039
  if (n !== "select" && this.bumpIf("=")) {
3038
- var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
+ var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3039
3041
  if (m.err)
3040
3042
  return m;
3041
- f = M(b, this.clonePosition()), l = this.message.slice(b.offset, this.offset());
3043
+ f = O(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
3042
3044
  } else
3043
3045
  break;
3044
3046
  }
3045
- if (u.has(l))
3046
- return this.error(n === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3047
- l === "other" && (s = !0), this.bumpSpace();
3047
+ if (l.has(u))
3048
+ return this.error(n === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3049
+ u === "other" && (a = !0), this.bumpSpace();
3048
3050
  var S = this.clonePosition();
3049
3051
  if (!this.bumpIf("{"))
3050
- return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3051
- var _ = this.parseMessage(t + 1, n, r);
3052
- if (_.err)
3053
- return _;
3054
- var T = this.tryParseArgumentClose(S);
3055
- if (T.err)
3056
- return T;
3057
- a.push([
3058
- l,
3052
+ return this.error(n === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3053
+ var E = this.parseMessage(t + 1, n, r);
3054
+ if (E.err)
3055
+ return E;
3056
+ var A = this.tryParseArgumentClose(S);
3057
+ if (A.err)
3058
+ return A;
3059
+ s.push([
3060
+ u,
3059
3061
  {
3060
- value: _.val,
3061
- location: M(S, this.clonePosition())
3062
+ value: E.val,
3063
+ location: O(S, this.clonePosition())
3062
3064
  }
3063
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3065
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3064
3066
  }
3065
- return a.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(O.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3067
+ 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 && !a ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3066
3068
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3067
3069
  var r = 1, i = this.clonePosition();
3068
3070
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3069
- for (var o = !1, s = 0; !this.isEOF(); ) {
3070
- var a = this.char();
3071
- if (a >= 48 && a <= 57)
3072
- o = !0, s = s * 10 + (a - 48), this.bump();
3071
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3072
+ var s = this.char();
3073
+ if (s >= 48 && s <= 57)
3074
+ o = !0, a = a * 10 + (s - 48), this.bump();
3073
3075
  else
3074
3076
  break;
3075
3077
  }
3076
- var u = M(i, this.clonePosition());
3077
- return o ? (s *= r, no(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3078
+ var l = O(i, this.clonePosition());
3079
+ return o ? (a *= r, eo(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3078
3080
  }, e.prototype.offset = function() {
3079
3081
  return this.position.offset;
3080
3082
  }, e.prototype.isEOF = function() {
@@ -3089,7 +3091,7 @@ var ao = (
3089
3091
  var t = this.position.offset;
3090
3092
  if (t >= this.message.length)
3091
3093
  throw Error("out of bound");
3092
- var n = pr(this.message, t);
3094
+ var n = fr(this.message, t);
3093
3095
  if (n === void 0)
3094
3096
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3095
3097
  return n;
@@ -3108,7 +3110,7 @@ var ao = (
3108
3110
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3109
3111
  }
3110
3112
  }, e.prototype.bumpIf = function(t) {
3111
- if (Bn(this.message, t, this.offset())) {
3113
+ if (Sn(this.message, t, this.offset())) {
3112
3114
  for (var n = 0; n < t.length; n++)
3113
3115
  this.bump();
3114
3116
  return !0;
@@ -3130,7 +3132,7 @@ var ao = (
3130
3132
  break;
3131
3133
  }
3132
3134
  }, e.prototype.bumpSpace = function() {
3133
- for (; !this.isEOF() && br(this.char()); )
3135
+ for (; !this.isEOF() && pr(this.char()); )
3134
3136
  this.bump();
3135
3137
  }, e.prototype.peek = function() {
3136
3138
  if (this.isEOF())
@@ -3140,47 +3142,47 @@ var ao = (
3140
3142
  }, e;
3141
3143
  }()
3142
3144
  );
3143
- function rn(e) {
3145
+ function nn(e) {
3144
3146
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3145
3147
  }
3146
- function so(e) {
3147
- return rn(e) || e === 47;
3148
+ function oo(e) {
3149
+ return nn(e) || e === 47;
3148
3150
  }
3149
- function lo(e) {
3151
+ function ao(e) {
3150
3152
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3151
3153
  }
3152
- function br(e) {
3154
+ function pr(e) {
3153
3155
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3154
3156
  }
3155
- function uo(e) {
3157
+ function so(e) {
3156
3158
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3157
3159
  }
3158
- function on(e) {
3160
+ function rn(e) {
3159
3161
  e.forEach(function(t) {
3160
- if (delete t.location, ar(t) || sr(t))
3162
+ if (delete t.location, ir(t) || or(t))
3161
3163
  for (var n in t.options)
3162
- delete t.options[n].location, on(t.options[n].value);
3164
+ delete t.options[n].location, rn(t.options[n].value);
3163
3165
  else
3164
- rr(t) && ur(t.style) || (ir(t) || or(t)) && Kt(t.style) ? delete t.style.location : lr(t) && on(t.children);
3166
+ tr(t) && sr(t.style) || (nr(t) || rr(t)) && Jt(t.style) ? delete t.style.location : ar(t) && rn(t.children);
3165
3167
  });
3166
3168
  }
3167
- function co(e, t) {
3168
- t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3169
- var n = new ao(e, t).parse();
3169
+ function uo(e, t) {
3170
+ t === void 0 && (t = {}), t = L({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3171
+ var n = new io(e, t).parse();
3170
3172
  if (n.err) {
3171
- var r = SyntaxError(O[n.err.kind]);
3173
+ var r = SyntaxError(H[n.err.kind]);
3172
3174
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3173
3175
  }
3174
- return t != null && t.captureLocation || on(n.val), n.val;
3176
+ return t != null && t.captureLocation || rn(n.val), n.val;
3175
3177
  }
3176
- var Ve;
3178
+ var Xe;
3177
3179
  (function(e) {
3178
3180
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3179
- })(Ve || (Ve = {}));
3181
+ })(Xe || (Xe = {}));
3180
3182
  var Tt = (
3181
3183
  /** @class */
3182
3184
  function(e) {
3183
- Ae(t, e);
3185
+ Be(t, e);
3184
3186
  function t(n, r, i) {
3185
3187
  var o = e.call(this, n) || this;
3186
3188
  return o.code = r, o.originalMessage = i, o;
@@ -3189,153 +3191,153 @@ var Tt = (
3189
3191
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3190
3192
  }, t;
3191
3193
  }(Error)
3192
- ), Hn = (
3194
+ ), An = (
3193
3195
  /** @class */
3194
3196
  function(e) {
3195
- Ae(t, e);
3197
+ Be(t, e);
3196
3198
  function t(n, r, i, o) {
3197
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ve.INVALID_VALUE, o) || this;
3199
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Xe.INVALID_VALUE, o) || this;
3198
3200
  }
3199
3201
  return t;
3200
3202
  }(Tt)
3201
- ), ho = (
3203
+ ), lo = (
3202
3204
  /** @class */
3203
3205
  function(e) {
3204
- Ae(t, e);
3206
+ Be(t, e);
3205
3207
  function t(n, r, i) {
3206
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ve.INVALID_VALUE, i) || this;
3208
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Xe.INVALID_VALUE, i) || this;
3207
3209
  }
3208
3210
  return t;
3209
3211
  }(Tt)
3210
- ), fo = (
3212
+ ), co = (
3211
3213
  /** @class */
3212
3214
  function(e) {
3213
- Ae(t, e);
3215
+ Be(t, e);
3214
3216
  function t(n, r) {
3215
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ve.MISSING_VALUE, r) || this;
3217
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Xe.MISSING_VALUE, r) || this;
3216
3218
  }
3217
3219
  return t;
3218
3220
  }(Tt)
3219
- ), oe;
3221
+ ), ie;
3220
3222
  (function(e) {
3221
3223
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3222
- })(oe || (oe = {}));
3223
- function po(e) {
3224
+ })(ie || (ie = {}));
3225
+ function ho(e) {
3224
3226
  return e.length < 2 ? e : e.reduce(function(t, n) {
3225
3227
  var r = t[t.length - 1];
3226
- return !r || r.type !== oe.literal || n.type !== oe.literal ? t.push(n) : r.value += n.value, t;
3228
+ return !r || r.type !== ie.literal || n.type !== ie.literal ? t.push(n) : r.value += n.value, t;
3227
3229
  }, []);
3228
3230
  }
3229
- function mo(e) {
3231
+ function fo(e) {
3230
3232
  return typeof e == "function";
3231
3233
  }
3232
- function gt(e, t, n, r, i, o, s) {
3233
- if (e.length === 1 && xn(e[0]))
3234
+ function gt(e, t, n, r, i, o, a) {
3235
+ if (e.length === 1 && En(e[0]))
3234
3236
  return [
3235
3237
  {
3236
- type: oe.literal,
3238
+ type: ie.literal,
3237
3239
  value: e[0].value
3238
3240
  }
3239
3241
  ];
3240
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3241
- var f = l[u];
3242
- if (xn(f)) {
3243
- a.push({
3244
- type: oe.literal,
3242
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3243
+ var f = u[l];
3244
+ if (En(f)) {
3245
+ s.push({
3246
+ type: ie.literal,
3245
3247
  value: f.value
3246
3248
  });
3247
3249
  continue;
3248
3250
  }
3249
- if (Ni(f)) {
3250
- typeof o == "number" && a.push({
3251
- type: oe.literal,
3251
+ if (Pi(f)) {
3252
+ typeof o == "number" && s.push({
3253
+ type: ie.literal,
3252
3254
  value: n.getNumberFormat(t).format(o)
3253
3255
  });
3254
3256
  continue;
3255
3257
  }
3256
3258
  var b = f.value;
3257
3259
  if (!(i && b in i))
3258
- throw new fo(b, s);
3260
+ throw new co(b, a);
3259
3261
  var m = i[b];
3260
- if (Ii(f)) {
3261
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3262
- type: typeof m == "string" ? oe.literal : oe.object,
3262
+ if (Li(f)) {
3263
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3264
+ type: typeof m == "string" ? ie.literal : ie.object,
3263
3265
  value: m
3264
3266
  });
3265
3267
  continue;
3266
3268
  }
3267
- if (ir(f)) {
3268
- var S = typeof f.style == "string" ? r.date[f.style] : Kt(f.style) ? f.style.parsedOptions : void 0;
3269
- a.push({
3270
- type: oe.literal,
3269
+ if (nr(f)) {
3270
+ var S = typeof f.style == "string" ? r.date[f.style] : Jt(f.style) ? f.style.parsedOptions : void 0;
3271
+ s.push({
3272
+ type: ie.literal,
3271
3273
  value: n.getDateTimeFormat(t, S).format(m)
3272
3274
  });
3273
3275
  continue;
3274
3276
  }
3275
- if (or(f)) {
3276
- var S = typeof f.style == "string" ? r.time[f.style] : Kt(f.style) ? f.style.parsedOptions : r.time.medium;
3277
- a.push({
3278
- type: oe.literal,
3277
+ if (rr(f)) {
3278
+ var S = typeof f.style == "string" ? r.time[f.style] : Jt(f.style) ? f.style.parsedOptions : r.time.medium;
3279
+ s.push({
3280
+ type: ie.literal,
3279
3281
  value: n.getDateTimeFormat(t, S).format(m)
3280
3282
  });
3281
3283
  continue;
3282
3284
  }
3283
- if (rr(f)) {
3284
- var S = typeof f.style == "string" ? r.number[f.style] : ur(f.style) ? f.style.parsedOptions : void 0;
3285
- S && S.scale && (m = m * (S.scale || 1)), a.push({
3286
- type: oe.literal,
3285
+ if (tr(f)) {
3286
+ var S = typeof f.style == "string" ? r.number[f.style] : sr(f.style) ? f.style.parsedOptions : void 0;
3287
+ S && S.scale && (m = m * (S.scale || 1)), s.push({
3288
+ type: ie.literal,
3287
3289
  value: n.getNumberFormat(t, S).format(m)
3288
3290
  });
3289
3291
  continue;
3290
3292
  }
3291
- if (lr(f)) {
3292
- var _ = f.children, T = f.value, N = i[T];
3293
- if (!mo(N))
3294
- throw new ho(T, "function", s);
3295
- var W = gt(_, t, n, r, i, o), V = N(W.map(function(Q) {
3296
- return Q.value;
3293
+ if (ar(f)) {
3294
+ var E = f.children, A = f.value, I = i[A];
3295
+ if (!fo(I))
3296
+ throw new lo(A, "function", a);
3297
+ var W = gt(E, t, n, r, i, o), V = I(W.map(function(k) {
3298
+ return k.value;
3297
3299
  }));
3298
- Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(Q) {
3300
+ Array.isArray(V) || (V = [V]), s.push.apply(s, V.map(function(k) {
3299
3301
  return {
3300
- type: typeof Q == "string" ? oe.literal : oe.object,
3301
- value: Q
3302
+ type: typeof k == "string" ? ie.literal : ie.object,
3303
+ value: k
3302
3304
  };
3303
3305
  }));
3304
3306
  }
3305
- if (ar(f)) {
3306
- var L = f.options[m] || f.options.other;
3307
- if (!L)
3308
- throw new Hn(f.value, m, Object.keys(f.options), s);
3309
- a.push.apply(a, gt(L.value, t, n, r, i));
3307
+ if (ir(f)) {
3308
+ var R = f.options[m] || f.options.other;
3309
+ if (!R)
3310
+ throw new An(f.value, m, Object.keys(f.options), a);
3311
+ s.push.apply(s, gt(R.value, t, n, r, i));
3310
3312
  continue;
3311
3313
  }
3312
- if (sr(f)) {
3313
- var L = f.options["=".concat(m)];
3314
- if (!L) {
3314
+ if (or(f)) {
3315
+ var R = f.options["=".concat(m)];
3316
+ if (!R) {
3315
3317
  if (!Intl.PluralRules)
3316
3318
  throw new Tt(`Intl.PluralRules is not available in this environment.
3317
3319
  Try polyfilling it using "@formatjs/intl-pluralrules"
3318
- `, Ve.MISSING_INTL_API, s);
3319
- var U = n.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3320
- L = f.options[U] || f.options.other;
3320
+ `, Xe.MISSING_INTL_API, a);
3321
+ var D = n.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3322
+ R = f.options[D] || f.options.other;
3321
3323
  }
3322
- if (!L)
3323
- throw new Hn(f.value, m, Object.keys(f.options), s);
3324
- a.push.apply(a, gt(L.value, t, n, r, i, m - (f.offset || 0)));
3324
+ if (!R)
3325
+ throw new An(f.value, m, Object.keys(f.options), a);
3326
+ s.push.apply(s, gt(R.value, t, n, r, i, m - (f.offset || 0)));
3325
3327
  continue;
3326
3328
  }
3327
3329
  }
3328
- return po(a);
3330
+ return ho(s);
3329
3331
  }
3330
- function bo(e, t) {
3331
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3332
- return n[r] = P(P({}, e[r]), t[r] || {}), n;
3332
+ function po(e, t) {
3333
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3334
+ return n[r] = L(L({}, e[r]), t[r] || {}), n;
3333
3335
  }, {})) : e;
3334
3336
  }
3335
- function go(e, t) {
3337
+ function mo(e, t) {
3336
3338
  return t ? Object.keys(e).reduce(function(n, r) {
3337
- return n[r] = bo(e[r], t[r]), n;
3338
- }, P({}, e)) : e;
3339
+ return n[r] = po(e[r], t[r]), n;
3340
+ }, L({}, e)) : e;
3339
3341
  }
3340
3342
  function $t(e) {
3341
3343
  return {
@@ -3351,7 +3353,7 @@ function $t(e) {
3351
3353
  }
3352
3354
  };
3353
3355
  }
3354
- function yo(e) {
3356
+ function bo(e) {
3355
3357
  return e === void 0 && (e = {
3356
3358
  number: {},
3357
3359
  dateTime: {},
@@ -3360,7 +3362,7 @@ function yo(e) {
3360
3362
  getNumberFormat: Gt(function() {
3361
3363
  for (var t, n = [], r = 0; r < arguments.length; r++)
3362
3364
  n[r] = arguments[r];
3363
- return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], n, !1)))();
3365
+ return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], n, !1)))();
3364
3366
  }, {
3365
3367
  cache: $t(e.number),
3366
3368
  strategy: jt.variadic
@@ -3368,7 +3370,7 @@ function yo(e) {
3368
3370
  getDateTimeFormat: Gt(function() {
3369
3371
  for (var t, n = [], r = 0; r < arguments.length; r++)
3370
3372
  n[r] = arguments[r];
3371
- return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], n, !1)))();
3373
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], n, !1)))();
3372
3374
  }, {
3373
3375
  cache: $t(e.dateTime),
3374
3376
  strategy: jt.variadic
@@ -3376,14 +3378,14 @@ function yo(e) {
3376
3378
  getPluralRules: Gt(function() {
3377
3379
  for (var t, n = [], r = 0; r < arguments.length; r++)
3378
3380
  n[r] = arguments[r];
3379
- return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], n, !1)))();
3381
+ return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], n, !1)))();
3380
3382
  }, {
3381
3383
  cache: $t(e.pluralRules),
3382
3384
  strategy: jt.variadic
3383
3385
  })
3384
3386
  };
3385
3387
  }
3386
- var vo = (
3388
+ var go = (
3387
3389
  /** @class */
3388
3390
  function() {
3389
3391
  function e(t, n, r, i) {
@@ -3393,35 +3395,35 @@ var vo = (
3393
3395
  number: {},
3394
3396
  dateTime: {},
3395
3397
  pluralRules: {}
3396
- }, this.format = function(u) {
3397
- var l = o.formatToParts(u);
3398
- if (l.length === 1)
3399
- return l[0].value;
3400
- var f = l.reduce(function(b, m) {
3401
- return !b.length || m.type !== oe.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3398
+ }, this.format = function(l) {
3399
+ var u = o.formatToParts(l);
3400
+ if (u.length === 1)
3401
+ return u[0].value;
3402
+ var f = u.reduce(function(b, m) {
3403
+ return !b.length || m.type !== ie.literal || typeof b[b.length - 1] != "string" ? b.push(m.value) : b[b.length - 1] += m.value, b;
3402
3404
  }, []);
3403
3405
  return f.length <= 1 ? f[0] || "" : f;
3404
- }, this.formatToParts = function(u) {
3405
- return gt(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3406
+ }, this.formatToParts = function(l) {
3407
+ return gt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3406
3408
  }, this.resolvedOptions = function() {
3407
- var u;
3409
+ var l;
3408
3410
  return {
3409
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3411
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3410
3412
  };
3411
3413
  }, this.getAst = function() {
3412
3414
  return o.ast;
3413
3415
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3414
3416
  if (this.message = t, !e.__parse)
3415
3417
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3416
- var s = i || {};
3417
- s.formatters;
3418
- var a = Ci(s, ["formatters"]);
3419
- this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3418
+ var a = i || {};
3419
+ a.formatters;
3420
+ var s = Ti(a, ["formatters"]);
3421
+ this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
3420
3422
  } else
3421
3423
  this.ast = t;
3422
3424
  if (!Array.isArray(this.ast))
3423
3425
  throw new TypeError("A message must be provided as a String or AST.");
3424
- this.formats = go(e.formats, r), this.formatters = i && i.formatters || yo(this.formatterCache);
3426
+ this.formats = mo(e.formats, r), this.formatters = i && i.formatters || bo(this.formatterCache);
3425
3427
  }
3426
3428
  return Object.defineProperty(e, "defaultLocale", {
3427
3429
  get: function() {
@@ -3434,7 +3436,7 @@ var vo = (
3434
3436
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3435
3437
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3436
3438
  }
3437
- }, e.__parse = co, e.formats = {
3439
+ }, e.__parse = uo, e.formats = {
3438
3440
  number: {
3439
3441
  integer: {
3440
3442
  maximumFractionDigits: 0
@@ -3495,7 +3497,7 @@ var vo = (
3495
3497
  }, e;
3496
3498
  }()
3497
3499
  );
3498
- function Eo(e, t) {
3500
+ function yo(e, t) {
3499
3501
  if (t == null)
3500
3502
  return;
3501
3503
  if (t in e)
@@ -3516,92 +3518,92 @@ function Eo(e, t) {
3516
3518
  r = void 0;
3517
3519
  return r;
3518
3520
  }
3519
- const Oe = {}, _o = (e, t, n) => n && (t in Oe || (Oe[t] = {}), e in Oe[t] || (Oe[t][e] = n), n), gr = (e, t) => {
3521
+ const He = {}, vo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), mr = (e, t) => {
3520
3522
  if (t == null)
3521
3523
  return;
3522
- if (t in Oe && e in Oe[t])
3523
- return Oe[t][e];
3524
+ if (t in He && e in He[t])
3525
+ return He[t][e];
3524
3526
  const n = Bt(t);
3525
3527
  for (let r = 0; r < n.length; r++) {
3526
- const i = n[r], o = wo(i, e);
3528
+ const i = n[r], o = _o(i, e);
3527
3529
  if (o)
3528
- return _o(e, t, o);
3530
+ return vo(e, t, o);
3529
3531
  }
3530
3532
  };
3531
- let pn;
3533
+ let fn;
3532
3534
  const st = St({});
3533
- function xo(e) {
3534
- return pn[e] || null;
3535
+ function Eo(e) {
3536
+ return fn[e] || null;
3535
3537
  }
3536
- function yr(e) {
3537
- return e in pn;
3538
+ function br(e) {
3539
+ return e in fn;
3538
3540
  }
3539
- function wo(e, t) {
3540
- if (!yr(e))
3541
+ function _o(e, t) {
3542
+ if (!br(e))
3541
3543
  return null;
3542
- const n = xo(e);
3543
- return Eo(n, t);
3544
+ const n = Eo(e);
3545
+ return yo(n, t);
3544
3546
  }
3545
- function So(e) {
3547
+ function xo(e) {
3546
3548
  if (e == null)
3547
3549
  return;
3548
3550
  const t = Bt(e);
3549
3551
  for (let n = 0; n < t.length; n++) {
3550
3552
  const r = t[n];
3551
- if (yr(r))
3553
+ if (br(r))
3552
3554
  return r;
3553
3555
  }
3554
3556
  }
3555
- function vr(e, ...t) {
3556
- delete Oe[e], st.update((n) => (n[e] = Ai.all([n[e] || {}, ...t]), n));
3557
+ function gr(e, ...t) {
3558
+ delete He[e], st.update((n) => (n[e] = Si.all([n[e] || {}, ...t]), n));
3557
3559
  }
3558
- We(
3560
+ Ze(
3559
3561
  [st],
3560
3562
  ([e]) => Object.keys(e)
3561
3563
  );
3562
- st.subscribe((e) => pn = e);
3564
+ st.subscribe((e) => fn = e);
3563
3565
  const yt = {};
3564
- function To(e, t) {
3566
+ function wo(e, t) {
3565
3567
  yt[e].delete(t), yt[e].size === 0 && delete yt[e];
3566
3568
  }
3567
- function Er(e) {
3569
+ function yr(e) {
3568
3570
  return yt[e];
3569
3571
  }
3570
- function Bo(e) {
3572
+ function So(e) {
3571
3573
  return Bt(e).map((t) => {
3572
- const n = Er(t);
3574
+ const n = yr(t);
3573
3575
  return [t, n ? [...n] : []];
3574
3576
  }).filter(([, t]) => t.length > 0);
3575
3577
  }
3576
- function an(e) {
3578
+ function on(e) {
3577
3579
  return e == null ? !1 : Bt(e).some(
3578
3580
  (t) => {
3579
3581
  var n;
3580
- return (n = Er(t)) == null ? void 0 : n.size;
3582
+ return (n = yr(t)) == null ? void 0 : n.size;
3581
3583
  }
3582
3584
  );
3583
3585
  }
3584
- function Ao(e, t) {
3586
+ function To(e, t) {
3585
3587
  return Promise.all(
3586
- t.map((r) => (To(e, r), r().then((i) => i.default || i)))
3587
- ).then((r) => vr(e, ...r));
3588
+ t.map((r) => (wo(e, r), r().then((i) => i.default || i)))
3589
+ ).then((r) => gr(e, ...r));
3588
3590
  }
3589
3591
  const nt = {};
3590
- function _r(e) {
3591
- if (!an(e))
3592
+ function vr(e) {
3593
+ if (!on(e))
3592
3594
  return e in nt ? nt[e] : Promise.resolve();
3593
- const t = Bo(e);
3595
+ const t = So(e);
3594
3596
  return nt[e] = Promise.all(
3595
3597
  t.map(
3596
- ([n, r]) => Ao(n, r)
3598
+ ([n, r]) => To(n, r)
3597
3599
  )
3598
3600
  ).then(() => {
3599
- if (an(e))
3600
- return _r(e);
3601
+ if (on(e))
3602
+ return vr(e);
3601
3603
  delete nt[e];
3602
3604
  }), nt[e];
3603
3605
  }
3604
- const Co = {
3606
+ const Bo = {
3605
3607
  number: {
3606
3608
  scientific: { notation: "scientific" },
3607
3609
  engineering: { notation: "engineering" },
@@ -3630,57 +3632,57 @@ const Co = {
3630
3632
  timeZoneName: "short"
3631
3633
  }
3632
3634
  }
3633
- }, Ho = {
3635
+ }, Ao = {
3634
3636
  fallbackLocale: null,
3635
3637
  loadingDelay: 200,
3636
- formats: Co,
3638
+ formats: Bo,
3637
3639
  warnOnMissingMessages: !0,
3638
3640
  handleMissingMessage: void 0,
3639
3641
  ignoreTag: !0
3640
- }, Oo = Ho;
3641
- function Xe() {
3642
- return Oo;
3642
+ }, Co = Ao;
3643
+ function ze() {
3644
+ return Co;
3643
3645
  }
3644
3646
  const Vt = St(!1);
3645
- var Mo = Object.defineProperty, Ro = Object.defineProperties, Lo = Object.getOwnPropertyDescriptors, On = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, Mn = (e, t, n) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, No = (e, t) => {
3646
- for (var n in t || (t = {}))
3647
- Po.call(t, n) && Mn(e, n, t[n]);
3648
- if (On)
3649
- for (var n of On(t))
3650
- Io.call(t, n) && Mn(e, n, t[n]);
3647
+ var Ho = Object.defineProperty, Oo = Object.defineProperties, Mo = Object.getOwnPropertyDescriptors, Cn = Object.getOwnPropertySymbols, Ro = Object.prototype.hasOwnProperty, Lo = Object.prototype.propertyIsEnumerable, Hn = (e, t, n) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Po = (e, t) => {
3648
+ for (var n in t)
3649
+ Ro.call(t, n) && Hn(e, n, t[n]);
3650
+ if (Cn)
3651
+ for (var n of Cn(t))
3652
+ Lo.call(t, n) && Hn(e, n, t[n]);
3651
3653
  return e;
3652
- }, Do = (e, t) => Ro(e, Lo(t));
3653
- let sn;
3654
+ }, No = (e, t) => Oo(e, Mo(t));
3655
+ let an;
3654
3656
  const xt = St(null);
3655
- function Rn(e) {
3657
+ function On(e) {
3656
3658
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3657
3659
  }
3658
- function Bt(e, t = Xe().fallbackLocale) {
3659
- const n = Rn(e);
3660
- return t ? [.../* @__PURE__ */ new Set([...n, ...Rn(t)])] : n;
3660
+ function Bt(e, t = ze().fallbackLocale) {
3661
+ const n = On(e);
3662
+ return t ? [.../* @__PURE__ */ new Set([...n, ...On(t)])] : n;
3661
3663
  }
3662
3664
  function Le() {
3663
- return sn != null ? sn : void 0;
3665
+ return an != null ? an : void 0;
3664
3666
  }
3665
3667
  xt.subscribe((e) => {
3666
- sn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3668
+ an = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3667
3669
  });
3668
- const Uo = (e) => {
3669
- if (e && So(e) && an(e)) {
3670
- const { loadingDelay: t } = Xe();
3670
+ const Io = (e) => {
3671
+ if (e && xo(e) && on(e)) {
3672
+ const { loadingDelay: t } = ze();
3671
3673
  let n;
3672
3674
  return typeof window != "undefined" && Le() != null && t ? n = window.setTimeout(
3673
3675
  () => Vt.set(!0),
3674
3676
  t
3675
- ) : Vt.set(!0), _r(e).then(() => {
3677
+ ) : Vt.set(!0), vr(e).then(() => {
3676
3678
  xt.set(e);
3677
3679
  }).finally(() => {
3678
3680
  clearTimeout(n), Vt.set(!1);
3679
3681
  });
3680
3682
  }
3681
3683
  return xt.set(e);
3682
- }, Ze = Do(No({}, xt), {
3683
- set: Uo
3684
+ }, qe = No(Po({}, xt), {
3685
+ set: Io
3684
3686
  }), At = (e) => {
3685
3687
  const t = /* @__PURE__ */ Object.create(null);
3686
3688
  return (r) => {
@@ -3688,101 +3690,101 @@ const Uo = (e) => {
3688
3690
  return i in t ? t[i] : t[i] = e(r);
3689
3691
  };
3690
3692
  };
3691
- var Fo = Object.defineProperty, wt = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Ln = (e, t, n) => t in e ? Fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mn = (e, t) => {
3693
+ var Do = Object.defineProperty, wt = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Mn = (e, t, n) => t in e ? Do(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, dn = (e, t) => {
3692
3694
  for (var n in t || (t = {}))
3693
- xr.call(t, n) && Ln(e, n, t[n]);
3695
+ Er.call(t, n) && Mn(e, n, t[n]);
3694
3696
  if (wt)
3695
3697
  for (var n of wt(t))
3696
- wr.call(t, n) && Ln(e, n, t[n]);
3698
+ _r.call(t, n) && Mn(e, n, t[n]);
3697
3699
  return e;
3698
- }, qe = (e, t) => {
3700
+ }, Ye = (e, t) => {
3699
3701
  var n = {};
3700
3702
  for (var r in e)
3701
- xr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3703
+ Er.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3702
3704
  if (e != null && wt)
3703
3705
  for (var r of wt(e))
3704
- t.indexOf(r) < 0 && wr.call(e, r) && (n[r] = e[r]);
3706
+ t.indexOf(r) < 0 && _r.call(e, r) && (n[r] = e[r]);
3705
3707
  return n;
3706
3708
  };
3707
3709
  const at = (e, t) => {
3708
- const { formats: n } = Xe();
3710
+ const { formats: n } = ze();
3709
3711
  if (e in n && t in n[e])
3710
3712
  return n[e][t];
3711
3713
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3712
- }, Go = At(
3714
+ }, Uo = At(
3713
3715
  (e) => {
3714
- var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3716
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3715
3717
  if (n == null)
3716
3718
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3717
3719
  return r && (i = at("number", r)), new Intl.NumberFormat(n, i);
3718
3720
  }
3719
- ), jo = At(
3721
+ ), Fo = At(
3720
3722
  (e) => {
3721
- var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3723
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3722
3724
  if (n == null)
3723
3725
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3724
3726
  return r ? i = at("date", r) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(n, i);
3725
3727
  }
3726
- ), ko = At(
3728
+ ), Go = At(
3727
3729
  (e) => {
3728
- var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3730
+ var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
3729
3731
  if (n == null)
3730
3732
  throw new Error(
3731
3733
  '[svelte-i18n] A "locale" must be set to format time values'
3732
3734
  );
3733
3735
  return r ? i = at("time", r) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(n, i);
3734
3736
  }
3735
- ), $o = (e = {}) => {
3737
+ ), jo = (e = {}) => {
3736
3738
  var t = e, {
3737
3739
  locale: n = Le()
3738
- } = t, r = qe(t, [
3740
+ } = t, r = Ye(t, [
3739
3741
  "locale"
3740
3742
  ]);
3741
- return Go(mn({ locale: n }, r));
3742
- }, Vo = (e = {}) => {
3743
+ return Uo(dn({ locale: n }, r));
3744
+ }, ko = (e = {}) => {
3743
3745
  var t = e, {
3744
3746
  locale: n = Le()
3745
- } = t, r = qe(t, [
3747
+ } = t, r = Ye(t, [
3746
3748
  "locale"
3747
3749
  ]);
3748
- return jo(mn({ locale: n }, r));
3749
- }, Xo = (e = {}) => {
3750
+ return Fo(dn({ locale: n }, r));
3751
+ }, $o = (e = {}) => {
3750
3752
  var t = e, {
3751
3753
  locale: n = Le()
3752
- } = t, r = qe(t, [
3754
+ } = t, r = Ye(t, [
3753
3755
  "locale"
3754
3756
  ]);
3755
- return ko(mn({ locale: n }, r));
3756
- }, zo = At(
3757
+ return Go(dn({ locale: n }, r));
3758
+ }, Vo = At(
3757
3759
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3758
- (e, t = Le()) => new vo(e, t, Xe().formats, {
3759
- ignoreTag: Xe().ignoreTag
3760
+ (e, t = Le()) => new go(e, t, ze().formats, {
3761
+ ignoreTag: ze().ignoreTag
3760
3762
  })
3761
- ), Wo = (e, t = {}) => {
3763
+ ), Xo = (e, t = {}) => {
3762
3764
  var n, r, i, o;
3763
- let s = t;
3764
- typeof e == "object" && (s = e, e = s.id);
3765
+ let a = t;
3766
+ typeof e == "object" && (a = e, e = a.id);
3765
3767
  const {
3766
- values: a,
3767
- locale: u = Le(),
3768
- default: l
3769
- } = s;
3770
- if (u == null)
3768
+ values: s,
3769
+ locale: l = Le(),
3770
+ default: u
3771
+ } = a;
3772
+ if (l == null)
3771
3773
  throw new Error(
3772
3774
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3773
3775
  );
3774
- let f = gr(e, u);
3776
+ let f = mr(e, l);
3775
3777
  if (!f)
3776
- f = (o = (i = (r = (n = Xe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3778
+ f = (o = (i = (r = (n = ze()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3777
3779
  else if (typeof f != "string")
3778
3780
  return console.warn(
3779
3781
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3780
3782
  ), f;
3781
- if (!a)
3783
+ if (!s)
3782
3784
  return f;
3783
3785
  let b = f;
3784
3786
  try {
3785
- b = zo(f, u).format(a);
3787
+ b = Vo(f, l).format(s);
3786
3788
  } catch (m) {
3787
3789
  m instanceof Error && console.warn(
3788
3790
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3790,18 +3792,18 @@ const at = (e, t) => {
3790
3792
  );
3791
3793
  }
3792
3794
  return b;
3793
- }, Zo = (e, t) => Xo(t).format(e), qo = (e, t) => Vo(t).format(e), Yo = (e, t) => $o(t).format(e), Qo = (e, t = Le()) => gr(e, t), Jo = We([Ze, st], () => Wo);
3794
- We([Ze], () => Zo);
3795
- We([Ze], () => qo);
3796
- We([Ze], () => Yo);
3797
- We([Ze, st], () => Qo);
3798
- function Pn(e, t) {
3799
- vr(e, t);
3800
- }
3801
- function Ko(e) {
3802
- Ze.set(e);
3803
- }
3804
- const In = {
3795
+ }, zo = (e, t) => $o(t).format(e), Wo = (e, t) => ko(t).format(e), Zo = (e, t) => jo(t).format(e), qo = (e, t = Le()) => mr(e, t), Yo = Ze([qe, st], () => Xo);
3796
+ Ze([qe], () => zo);
3797
+ Ze([qe], () => Wo);
3798
+ Ze([qe], () => Zo);
3799
+ Ze([qe, st], () => qo);
3800
+ function Rn(e, t) {
3801
+ gr(e, t);
3802
+ }
3803
+ function Qo(e) {
3804
+ qe.set(e);
3805
+ }
3806
+ const Ln = {
3805
3807
  en: {
3806
3808
  Title: "Your Balance",
3807
3809
  Total: "Total Balance",
@@ -4001,7 +4003,7 @@ const In = {
4001
4003
  Loading: "Loading ..."
4002
4004
  }
4003
4005
  };
4004
- var ln = { exports: {} };
4006
+ var sn = { exports: {} };
4005
4007
  /** @license
4006
4008
  * eventsource.js
4007
4009
  * Available under MIT License (MIT)
@@ -4009,35 +4011,35 @@ var ln = { exports: {} };
4009
4011
  */
4010
4012
  (function(e, t) {
4011
4013
  (function(n) {
4012
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, s = n.XDomainRequest, a = n.ActiveXObject, u = n.EventSource, l = n.document, f = n.Promise, b = n.fetch, m = n.Response, S = n.TextDecoder, _ = n.TextEncoder, T = n.AbortController;
4013
- if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(h) {
4014
- l.readyState = "complete";
4015
- }, !1)), o == null && a != null && (o = function() {
4016
- return new a("Microsoft.XMLHTTP");
4014
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, a = n.XDomainRequest, s = n.ActiveXObject, l = n.EventSource, u = n.document, f = n.Promise, b = n.fetch, m = n.Response, S = n.TextDecoder, E = n.TextEncoder, A = n.AbortController;
4015
+ if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
4016
+ u.readyState = "complete";
4017
+ }, !1)), o == null && s != null && (o = function() {
4018
+ return new s("Microsoft.XMLHTTP");
4017
4019
  }), Object.create == null && (Object.create = function(h) {
4018
4020
  function y() {
4019
4021
  }
4020
4022
  return y.prototype = h, new y();
4021
4023
  }), Date.now || (Date.now = function() {
4022
4024
  return (/* @__PURE__ */ new Date()).getTime();
4023
- }), T == null) {
4024
- var N = b;
4025
+ }), A == null) {
4026
+ var I = b;
4025
4027
  b = function(h, y) {
4026
- var w = y.signal;
4027
- return N(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
4028
- var C = g.body.getReader();
4029
- return w._reader = C, w._aborted && w._reader.cancel(), {
4028
+ var _ = y.signal;
4029
+ return I(h, { headers: y.headers, credentials: y.credentials, cache: y.cache }).then(function(g) {
4030
+ var c = g.body.getReader();
4031
+ return _._reader = c, _._aborted && _._reader.cancel(), {
4030
4032
  status: g.status,
4031
4033
  statusText: g.statusText,
4032
4034
  headers: g.headers,
4033
4035
  body: {
4034
4036
  getReader: function() {
4035
- return C;
4037
+ return c;
4036
4038
  }
4037
4039
  }
4038
4040
  };
4039
4041
  });
4040
- }, T = function() {
4042
+ }, A = function() {
4041
4043
  this.signal = {
4042
4044
  _reader: null,
4043
4045
  _aborted: !1
@@ -4050,116 +4052,116 @@ var ln = { exports: {} };
4050
4052
  this.bitsNeeded = 0, this.codePoint = 0;
4051
4053
  }
4052
4054
  W.prototype.decode = function(h) {
4053
- function y(B, A, d) {
4054
- if (d === 1)
4055
- return B >= 128 >> A && B << A <= 2047;
4056
- if (d === 2)
4057
- return B >= 2048 >> A && B << A <= 55295 || B >= 57344 >> A && B << A <= 65535;
4058
- if (d === 3)
4059
- return B >= 65536 >> A && B << A <= 1114111;
4055
+ function y(C, v, B) {
4056
+ if (B === 1)
4057
+ return C >= 128 >> v && C << v <= 2047;
4058
+ if (B === 2)
4059
+ return C >= 2048 >> v && C << v <= 55295 || C >= 57344 >> v && C << v <= 65535;
4060
+ if (B === 3)
4061
+ return C >= 65536 >> v && C << v <= 1114111;
4060
4062
  throw new Error();
4061
4063
  }
4062
- function w(B, A) {
4063
- if (B === 6 * 1)
4064
- return A >> 6 > 15 ? 3 : A > 31 ? 2 : 1;
4065
- if (B === 6 * 2)
4066
- return A > 15 ? 3 : 2;
4067
- if (B === 6 * 3)
4064
+ function _(C, v) {
4065
+ if (C === 6 * 1)
4066
+ return v >> 6 > 15 ? 3 : v > 31 ? 2 : 1;
4067
+ if (C === 6 * 2)
4068
+ return v > 15 ? 3 : 2;
4069
+ if (C === 6 * 3)
4068
4070
  return 3;
4069
4071
  throw new Error();
4070
4072
  }
4071
- for (var g = 65533, C = "", c = this.bitsNeeded, p = this.codePoint, E = 0; E < h.length; E += 1) {
4072
- var v = h[E];
4073
- c !== 0 && (v < 128 || v > 191 || !y(p << 6 | v & 63, c - 6, w(c, p))) && (c = 0, p = g, C += String.fromCharCode(p)), c === 0 ? (v >= 0 && v <= 127 ? (c = 0, p = v) : v >= 192 && v <= 223 ? (c = 6 * 1, p = v & 31) : v >= 224 && v <= 239 ? (c = 6 * 2, p = v & 15) : v >= 240 && v <= 247 ? (c = 6 * 3, p = v & 7) : (c = 0, p = g), c !== 0 && !y(p, c, w(c, p)) && (c = 0, p = g)) : (c -= 6, p = p << 6 | v & 63), c === 0 && (p <= 65535 ? C += String.fromCharCode(p) : (C += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), C += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4073
+ for (var g = 65533, c = "", d = this.bitsNeeded, p = this.codePoint, x = 0; x < h.length; x += 1) {
4074
+ var T = h[x];
4075
+ d !== 0 && (T < 128 || T > 191 || !y(p << 6 | T & 63, d - 6, _(d, p))) && (d = 0, p = g, c += String.fromCharCode(p)), d === 0 ? (T >= 0 && T <= 127 ? (d = 0, p = T) : T >= 192 && T <= 223 ? (d = 6 * 1, p = T & 31) : T >= 224 && T <= 239 ? (d = 6 * 2, p = T & 15) : T >= 240 && T <= 247 ? (d = 6 * 3, p = T & 7) : (d = 0, p = g), d !== 0 && !y(p, d, _(d, p)) && (d = 0, p = g)) : (d -= 6, p = p << 6 | T & 63), d === 0 && (p <= 65535 ? c += String.fromCharCode(p) : (c += String.fromCharCode(55296 + (p - 65535 - 1 >> 10)), c += String.fromCharCode(56320 + (p - 65535 - 1 & 1023))));
4074
4076
  }
4075
- return this.bitsNeeded = c, this.codePoint = p, C;
4077
+ return this.bitsNeeded = d, this.codePoint = p, c;
4076
4078
  };
4077
4079
  var V = function() {
4078
4080
  try {
4079
- return new S().decode(new _().encode("test"), { stream: !0 }) === "test";
4081
+ return new S().decode(new E().encode("test"), { stream: !0 }) === "test";
4080
4082
  } catch (h) {
4081
4083
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4082
4084
  }
4083
4085
  return !1;
4084
4086
  };
4085
- (S == null || _ == null || !V()) && (S = W);
4086
- var L = function() {
4087
+ (S == null || E == null || !V()) && (S = W);
4088
+ var R = function() {
4087
4089
  };
4088
- function U(h) {
4089
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = L;
4090
+ function D(h) {
4091
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = R, this.onload = R, this.onerror = R, this.onreadystatechange = R, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = R;
4090
4092
  }
4091
- U.prototype.open = function(h, y) {
4093
+ D.prototype.open = function(h, y) {
4092
4094
  this._abort(!0);
4093
- var w = this, g = this._xhr, C = 1, c = 0;
4094
- this._abort = function(d) {
4095
- w._sendTimeout !== 0 && (i(w._sendTimeout), w._sendTimeout = 0), (C === 1 || C === 2 || C === 3) && (C = 4, g.onload = L, g.onerror = L, g.onabort = L, g.onprogress = L, g.onreadystatechange = L, g.abort(), c !== 0 && (i(c), c = 0), d || (w.readyState = 4, w.onabort(null), w.onreadystatechange())), C = 0;
4095
+ var _ = this, g = this._xhr, c = 1, d = 0;
4096
+ this._abort = function(B) {
4097
+ _._sendTimeout !== 0 && (i(_._sendTimeout), _._sendTimeout = 0), (c === 1 || c === 2 || c === 3) && (c = 4, g.onload = R, g.onerror = R, g.onabort = R, g.onprogress = R, g.onreadystatechange = R, g.abort(), d !== 0 && (i(d), d = 0), B || (_.readyState = 4, _.onabort(null), _.onreadystatechange())), c = 0;
4096
4098
  };
4097
4099
  var p = function() {
4098
- if (C === 1) {
4099
- var d = 0, H = "", J = void 0;
4100
+ if (c === 1) {
4101
+ var B = 0, N = "", ee = void 0;
4100
4102
  if ("contentType" in g)
4101
- d = 200, H = "OK", J = g.contentType;
4103
+ B = 200, N = "OK", ee = g.contentType;
4102
4104
  else
4103
4105
  try {
4104
- d = g.status, H = g.statusText, J = g.getResponseHeader("Content-Type");
4105
- } catch (pe) {
4106
- d = 0, H = "", J = void 0;
4106
+ B = g.status, N = g.statusText, ee = g.getResponseHeader("Content-Type");
4107
+ } catch (Ce) {
4108
+ B = 0, N = "", ee = void 0;
4107
4109
  }
4108
- d !== 0 && (C = 2, w.readyState = 2, w.status = d, w.statusText = H, w._contentType = J, w.onreadystatechange());
4110
+ B !== 0 && (c = 2, _.readyState = 2, _.status = B, _.statusText = N, _._contentType = ee, _.onreadystatechange());
4109
4111
  }
4110
- }, E = function() {
4111
- if (p(), C === 2 || C === 3) {
4112
- C = 3;
4113
- var d = "";
4112
+ }, x = function() {
4113
+ if (p(), c === 2 || c === 3) {
4114
+ c = 3;
4115
+ var B = "";
4114
4116
  try {
4115
- d = g.responseText;
4116
- } catch (H) {
4117
+ B = g.responseText;
4118
+ } catch (N) {
4117
4119
  }
4118
- w.readyState = 3, w.responseText = d, w.onprogress();
4120
+ _.readyState = 3, _.responseText = B, _.onprogress();
4119
4121
  }
4120
- }, v = function(d, H) {
4121
- if ((H == null || H.preventDefault == null) && (H = {
4122
- preventDefault: L
4123
- }), E(), C === 1 || C === 2 || C === 3) {
4124
- if (C = 4, c !== 0 && (i(c), c = 0), w.readyState = 4, d === "load")
4125
- w.onload(H);
4126
- else if (d === "error")
4127
- w.onerror(H);
4128
- else if (d === "abort")
4129
- w.onabort(H);
4122
+ }, T = function(B, N) {
4123
+ if ((N == null || N.preventDefault == null) && (N = {
4124
+ preventDefault: R
4125
+ }), x(), c === 1 || c === 2 || c === 3) {
4126
+ if (c = 4, d !== 0 && (i(d), d = 0), _.readyState = 4, B === "load")
4127
+ _.onload(N);
4128
+ else if (B === "error")
4129
+ _.onerror(N);
4130
+ else if (B === "abort")
4131
+ _.onabort(N);
4130
4132
  else
4131
4133
  throw new TypeError();
4132
- w.onreadystatechange();
4134
+ _.onreadystatechange();
4133
4135
  }
4134
- }, B = function(d) {
4135
- g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && v(g.responseText === "" ? "error" : "load", d) : g.readyState === 3 ? "onprogress" in g || E() : g.readyState === 2 && p());
4136
- }, A = function() {
4137
- c = r(function() {
4138
- A();
4139
- }, 500), g.readyState === 3 && E();
4136
+ }, C = function(B) {
4137
+ g != null && (g.readyState === 4 ? (!("onload" in g) || !("onerror" in g) || !("onabort" in g)) && T(g.responseText === "" ? "error" : "load", B) : g.readyState === 3 ? "onprogress" in g || x() : g.readyState === 2 && p());
4138
+ }, v = function() {
4139
+ d = r(function() {
4140
+ v();
4141
+ }, 500), g.readyState === 3 && x();
4140
4142
  };
4141
- "onload" in g && (g.onload = function(d) {
4142
- v("load", d);
4143
- }), "onerror" in g && (g.onerror = function(d) {
4144
- v("error", d);
4145
- }), "onabort" in g && (g.onabort = function(d) {
4146
- v("abort", d);
4147
- }), "onprogress" in g && (g.onprogress = E), "onreadystatechange" in g && (g.onreadystatechange = function(d) {
4148
- B(d);
4149
- }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (c = r(function() {
4150
- A();
4143
+ "onload" in g && (g.onload = function(B) {
4144
+ T("load", B);
4145
+ }), "onerror" in g && (g.onerror = function(B) {
4146
+ T("error", B);
4147
+ }), "onabort" in g && (g.onabort = function(B) {
4148
+ T("abort", B);
4149
+ }), "onprogress" in g && (g.onprogress = x), "onreadystatechange" in g && (g.onreadystatechange = function(B) {
4150
+ C(B);
4151
+ }), ("contentType" in g || !("ontimeout" in o.prototype)) && (y += (y.indexOf("?") === -1 ? "?" : "&") + "padding=true"), g.open(h, y, !0), "readyState" in g && (d = r(function() {
4152
+ v();
4151
4153
  }, 0));
4152
- }, U.prototype.abort = function() {
4154
+ }, D.prototype.abort = function() {
4153
4155
  this._abort(!1);
4154
- }, U.prototype.getResponseHeader = function(h) {
4156
+ }, D.prototype.getResponseHeader = function(h) {
4155
4157
  return this._contentType;
4156
- }, U.prototype.setRequestHeader = function(h, y) {
4157
- var w = this._xhr;
4158
- "setRequestHeader" in w && w.setRequestHeader(h, y);
4159
- }, U.prototype.getAllResponseHeaders = function() {
4158
+ }, D.prototype.setRequestHeader = function(h, y) {
4159
+ var _ = this._xhr;
4160
+ "setRequestHeader" in _ && _.setRequestHeader(h, y);
4161
+ }, D.prototype.getAllResponseHeaders = function() {
4160
4162
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4161
- }, U.prototype.send = function() {
4162
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4163
+ }, D.prototype.send = function() {
4164
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4163
4165
  var h = this;
4164
4166
  h._sendTimeout = r(function() {
4165
4167
  h._sendTimeout = 0, h.send();
@@ -4170,293 +4172,293 @@ var ln = { exports: {} };
4170
4172
  "withCredentials" in y && (y.withCredentials = this.withCredentials);
4171
4173
  try {
4172
4174
  y.send(void 0);
4173
- } catch (w) {
4174
- throw w;
4175
+ } catch (_) {
4176
+ throw _;
4175
4177
  }
4176
4178
  };
4177
- function Q(h) {
4179
+ function k(h) {
4178
4180
  return h.replace(/[A-Z]/g, function(y) {
4179
4181
  return String.fromCharCode(y.charCodeAt(0) + 32);
4180
4182
  });
4181
4183
  }
4182
- function Z(h) {
4183
- for (var y = /* @__PURE__ */ Object.create(null), w = h.split(`\r
4184
- `), g = 0; g < w.length; g += 1) {
4185
- var C = w[g], c = C.split(": "), p = c.shift(), E = c.join(": ");
4186
- y[Q(p)] = E;
4184
+ function oe(h) {
4185
+ for (var y = /* @__PURE__ */ Object.create(null), _ = h.split(`\r
4186
+ `), g = 0; g < _.length; g += 1) {
4187
+ var c = _[g], d = c.split(": "), p = d.shift(), x = d.join(": ");
4188
+ y[k(p)] = x;
4187
4189
  }
4188
4190
  this._map = y;
4189
4191
  }
4190
- Z.prototype.get = function(h) {
4191
- return this._map[Q(h)];
4192
+ oe.prototype.get = function(h) {
4193
+ return this._map[k(h)];
4192
4194
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4193
- function ee() {
4195
+ function Z() {
4194
4196
  }
4195
- ee.prototype.open = function(h, y, w, g, C, c, p) {
4196
- h.open("GET", C);
4197
- var E = 0;
4197
+ Z.prototype.open = function(h, y, _, g, c, d, p) {
4198
+ h.open("GET", c);
4199
+ var x = 0;
4198
4200
  h.onprogress = function() {
4199
- var B = h.responseText, A = B.slice(E);
4200
- E += A.length, w(A);
4201
- }, h.onerror = function(B) {
4202
- B.preventDefault(), g(new Error("NetworkError"));
4201
+ var C = h.responseText, v = C.slice(x);
4202
+ x += v.length, _(v);
4203
+ }, h.onerror = function(C) {
4204
+ C.preventDefault(), g(new Error("NetworkError"));
4203
4205
  }, h.onload = function() {
4204
4206
  g(null);
4205
4207
  }, h.onabort = function() {
4206
4208
  g(null);
4207
4209
  }, h.onreadystatechange = function() {
4208
4210
  if (h.readyState === o.HEADERS_RECEIVED) {
4209
- var B = h.status, A = h.statusText, d = h.getResponseHeader("Content-Type"), H = h.getAllResponseHeaders();
4210
- y(B, A, d, new Z(H));
4211
+ var C = h.status, v = h.statusText, B = h.getResponseHeader("Content-Type"), N = h.getAllResponseHeaders();
4212
+ y(C, v, B, new oe(N));
4211
4213
  }
4212
- }, h.withCredentials = c;
4213
- for (var v in p)
4214
- Object.prototype.hasOwnProperty.call(p, v) && h.setRequestHeader(v, p[v]);
4214
+ }, h.withCredentials = d;
4215
+ for (var T in p)
4216
+ Object.prototype.hasOwnProperty.call(p, T) && h.setRequestHeader(T, p[T]);
4215
4217
  return h.send(), h;
4216
4218
  };
4217
- function F(h) {
4219
+ function $(h) {
4218
4220
  this._headers = h;
4219
4221
  }
4220
- F.prototype.get = function(h) {
4222
+ $.prototype.get = function(h) {
4221
4223
  return this._headers.get(h);
4222
4224
  };
4223
- function D() {
4225
+ function U() {
4224
4226
  }
4225
- D.prototype.open = function(h, y, w, g, C, c, p) {
4226
- var E = null, v = new T(), B = v.signal, A = new S();
4227
- return b(C, {
4227
+ U.prototype.open = function(h, y, _, g, c, d, p) {
4228
+ var x = null, T = new A(), C = T.signal, v = new S();
4229
+ return b(c, {
4228
4230
  headers: p,
4229
- credentials: c ? "include" : "same-origin",
4230
- signal: B,
4231
+ credentials: d ? "include" : "same-origin",
4232
+ signal: C,
4231
4233
  cache: "no-store"
4232
- }).then(function(d) {
4233
- return E = d.body.getReader(), y(d.status, d.statusText, d.headers.get("Content-Type"), new F(d.headers)), new f(function(H, J) {
4234
- var pe = function() {
4235
- E.read().then(function(ne) {
4236
- if (ne.done)
4237
- H(void 0);
4234
+ }).then(function(B) {
4235
+ return x = B.body.getReader(), y(B.status, B.statusText, B.headers.get("Content-Type"), new $(B.headers)), new f(function(N, ee) {
4236
+ var Ce = function() {
4237
+ x.read().then(function(X) {
4238
+ if (X.done)
4239
+ N(void 0);
4238
4240
  else {
4239
- var $ = A.decode(ne.value, { stream: !0 });
4240
- w($), pe();
4241
+ var te = v.decode(X.value, { stream: !0 });
4242
+ _(te), Ce();
4241
4243
  }
4242
- }).catch(function(ne) {
4243
- J(ne);
4244
+ }).catch(function(X) {
4245
+ ee(X);
4244
4246
  });
4245
4247
  };
4246
- pe();
4248
+ Ce();
4247
4249
  });
4248
- }).catch(function(d) {
4249
- if (d.name !== "AbortError")
4250
- return d;
4251
- }).then(function(d) {
4252
- g(d);
4250
+ }).catch(function(B) {
4251
+ if (B.name !== "AbortError")
4252
+ return B;
4253
+ }).then(function(B) {
4254
+ g(B);
4253
4255
  }), {
4254
4256
  abort: function() {
4255
- E != null && E.cancel(), v.abort();
4257
+ x != null && x.cancel(), T.abort();
4256
4258
  }
4257
4259
  };
4258
4260
  };
4259
- function X() {
4261
+ function q() {
4260
4262
  this._listeners = /* @__PURE__ */ Object.create(null);
4261
4263
  }
4262
- function k(h) {
4264
+ function F(h) {
4263
4265
  r(function() {
4264
4266
  throw h;
4265
4267
  }, 0);
4266
4268
  }
4267
- X.prototype.dispatchEvent = function(h) {
4269
+ q.prototype.dispatchEvent = function(h) {
4268
4270
  h.target = this;
4269
4271
  var y = this._listeners[h.type];
4270
4272
  if (y != null)
4271
- for (var w = y.length, g = 0; g < w; g += 1) {
4272
- var C = y[g];
4273
+ for (var _ = y.length, g = 0; g < _; g += 1) {
4274
+ var c = y[g];
4273
4275
  try {
4274
- typeof C.handleEvent == "function" ? C.handleEvent(h) : C.call(this, h);
4275
- } catch (c) {
4276
- k(c);
4276
+ typeof c.handleEvent == "function" ? c.handleEvent(h) : c.call(this, h);
4277
+ } catch (d) {
4278
+ F(d);
4277
4279
  }
4278
4280
  }
4279
- }, X.prototype.addEventListener = function(h, y) {
4281
+ }, q.prototype.addEventListener = function(h, y) {
4280
4282
  h = String(h);
4281
- var w = this._listeners, g = w[h];
4282
- g == null && (g = [], w[h] = g);
4283
- for (var C = !1, c = 0; c < g.length; c += 1)
4284
- g[c] === y && (C = !0);
4285
- C || g.push(y);
4286
- }, X.prototype.removeEventListener = function(h, y) {
4283
+ var _ = this._listeners, g = _[h];
4284
+ g == null && (g = [], _[h] = g);
4285
+ for (var c = !1, d = 0; d < g.length; d += 1)
4286
+ g[d] === y && (c = !0);
4287
+ c || g.push(y);
4288
+ }, q.prototype.removeEventListener = function(h, y) {
4287
4289
  h = String(h);
4288
- var w = this._listeners, g = w[h];
4290
+ var _ = this._listeners, g = _[h];
4289
4291
  if (g != null) {
4290
- for (var C = [], c = 0; c < g.length; c += 1)
4291
- g[c] !== y && C.push(g[c]);
4292
- C.length === 0 ? delete w[h] : w[h] = C;
4292
+ for (var c = [], d = 0; d < g.length; d += 1)
4293
+ g[d] !== y && c.push(g[d]);
4294
+ c.length === 0 ? delete _[h] : _[h] = c;
4293
4295
  }
4294
4296
  };
4295
- function te(h) {
4297
+ function K(h) {
4296
4298
  this.type = h, this.target = void 0;
4297
4299
  }
4298
- function ve(h, y) {
4299
- te.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4300
+ function fe(h, y) {
4301
+ K.call(this, h), this.data = y.data, this.lastEventId = y.lastEventId;
4300
4302
  }
4301
- ve.prototype = Object.create(te.prototype);
4302
- function ce(h, y) {
4303
- te.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4303
+ fe.prototype = Object.create(K.prototype);
4304
+ function ye(h, y) {
4305
+ K.call(this, h), this.status = y.status, this.statusText = y.statusText, this.headers = y.headers;
4304
4306
  }
4305
- ce.prototype = Object.create(te.prototype);
4306
- function Ce(h, y) {
4307
- te.call(this, h), this.error = y.error;
4307
+ ye.prototype = Object.create(K.prototype);
4308
+ function w(h, y) {
4309
+ K.call(this, h), this.error = y.error;
4308
4310
  }
4309
- Ce.prototype = Object.create(te.prototype);
4310
- var x = -1, ae = 0, He = 1, de = 2, Ye = -1, ge = 0, Qe = 1, lt = 2, Je = 3, ut = /^text\/event\-stream(;.*)?$/i, Ht = 1e3, Ke = 18e6, Pe = function(h, y) {
4311
- var w = h == null ? y : parseInt(h, 10);
4312
- return w !== w && (w = y), et(w);
4313
- }, et = function(h) {
4314
- return Math.min(Math.max(h, Ht), Ke);
4315
- }, Ee = function(h, y, w) {
4311
+ w.prototype = Object.create(K.prototype);
4312
+ var ve = -1, me = 0, le = 1, Oe = 2, Qe = -1, be = 0, Je = 1, Pe = 2, ut = 3, Ht = /^text\/event\-stream(;.*)?$/i, Ke = 1e3, lt = 18e6, et = function(h, y) {
4313
+ var _ = h == null ? y : parseInt(h, 10);
4314
+ return _ !== _ && (_ = y), Ne(_);
4315
+ }, Ne = function(h) {
4316
+ return Math.min(Math.max(h, Ke), lt);
4317
+ }, Ae = function(h, y, _) {
4316
4318
  try {
4317
- typeof y == "function" && y.call(h, w);
4319
+ typeof y == "function" && y.call(h, _);
4318
4320
  } catch (g) {
4319
- k(g);
4321
+ F(g);
4320
4322
  }
4321
4323
  };
4322
- function se(h, y) {
4323
- X.call(this), y = y || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, ct(this, h, y);
4324
+ function ae(h, y) {
4325
+ q.call(this), y = y || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Mt(this, h, y);
4324
4326
  }
4325
4327
  function Ot() {
4326
- return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4328
+ return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4327
4329
  }
4328
- var Mt = b != null && m != null && "body" in m.prototype;
4329
- function ct(h, y, w) {
4330
+ var ct = b != null && m != null && "body" in m.prototype;
4331
+ function Mt(h, y, _) {
4330
4332
  y = String(y);
4331
- var g = !!w.withCredentials, C = w.lastEventIdQueryParameterName || "lastEventId", c = et(1e3), p = Pe(w.heartbeatTimeout, 45e3), E = "", v = c, B = !1, A = 0, d = w.headers || {}, H = w.Transport, J = Mt && H == null ? void 0 : new U(H != null ? new H() : Ot()), pe = H != null && typeof H != "string" ? new H() : J == null ? new D() : new ee(), ne = void 0, $ = 0, me = x, Ie = "", ft = "", _e = "", dt = "", re = ge, Rt = 0, Me = 0, Mr = function(q, z, le, ue) {
4332
- if (me === ae)
4333
- if (q === 200 && le != null && ut.test(le)) {
4334
- me = He, B = Date.now(), v = c, h.readyState = He;
4335
- var ie = new ce("open", {
4336
- status: q,
4333
+ var g = !!_.withCredentials, c = _.lastEventIdQueryParameterName || "lastEventId", d = Ne(1e3), p = et(_.heartbeatTimeout, 45e3), x = "", T = d, C = !1, v = 0, B = _.headers || {}, N = _.Transport, ee = ct && N == null ? void 0 : new D(N != null ? new N() : Ot()), Ce = N != null && typeof N != "string" ? new N() : ee == null ? new U() : new Z(), X = void 0, te = 0, de = ve, Ie = "", ft = "", Ee = "", dt = "", ne = be, Rt = 0, Me = 0, Cr = function(Y, z, se, ue) {
4334
+ if (de === me)
4335
+ if (Y === 200 && se != null && Ht.test(se)) {
4336
+ de = le, C = Date.now(), T = d, h.readyState = le;
4337
+ var re = new ye("open", {
4338
+ status: Y,
4337
4339
  statusText: z,
4338
4340
  headers: ue
4339
4341
  });
4340
- h.dispatchEvent(ie), Ee(h, h.onopen, ie);
4342
+ h.dispatchEvent(re), Ae(h, h.onopen, re);
4341
4343
  } else {
4342
- var K = "";
4343
- q !== 200 ? (z && (z = z.replace(/\s+/g, " ")), K = "EventSource's response has a status " + q + " " + z + " that is not 200. Aborting the connection.") : K = "EventSource's response has a Content-Type specifying an unsupported type: " + (le == null ? "-" : le.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4344
- var ie = new ce("error", {
4345
- status: q,
4344
+ var J = "";
4345
+ Y !== 200 ? (z && (z = z.replace(/\s+/g, " ")), J = "EventSource's response has a status " + Y + " " + z + " that is not 200. Aborting the connection.") : J = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Lt();
4346
+ var re = new ye("error", {
4347
+ status: Y,
4346
4348
  statusText: z,
4347
4349
  headers: ue
4348
4350
  });
4349
- h.dispatchEvent(ie), Ee(h, h.onerror, ie), console.error(K);
4351
+ h.dispatchEvent(re), Ae(h, h.onerror, re), console.error(J);
4350
4352
  }
4351
- }, Rr = function(q) {
4352
- if (me === He) {
4353
- for (var z = -1, le = 0; le < q.length; le += 1) {
4354
- var ue = q.charCodeAt(le);
4355
- (ue === 10 || ue === 13) && (z = le);
4353
+ }, Hr = function(Y) {
4354
+ if (de === le) {
4355
+ for (var z = -1, se = 0; se < Y.length; se += 1) {
4356
+ var ue = Y.charCodeAt(se);
4357
+ (ue === 10 || ue === 13) && (z = se);
4356
4358
  }
4357
- var ie = (z !== -1 ? dt : "") + q.slice(0, z + 1);
4358
- dt = (z === -1 ? dt : "") + q.slice(z + 1), q !== "" && (B = Date.now(), A += q.length);
4359
- for (var K = 0; K < ie.length; K += 1) {
4360
- var ue = ie.charCodeAt(K);
4361
- if (re === Ye && ue === 10)
4362
- re = ge;
4363
- else if (re === Ye && (re = ge), ue === 13 || ue === 10) {
4364
- if (re !== ge) {
4365
- re === Qe && (Me = K + 1);
4366
- var xe = ie.slice(Rt, Me - 1), we = ie.slice(Me + (Me < K && ie.charCodeAt(Me) === 32 ? 1 : 0), K);
4367
- xe === "data" ? (Ie += `
4368
- `, Ie += we) : xe === "id" ? ft = we : xe === "event" ? _e = we : xe === "retry" ? (c = Pe(we, c), v = c) : xe === "heartbeatTimeout" && (p = Pe(we, p), $ !== 0 && (i($), $ = r(function() {
4359
+ var re = (z !== -1 ? dt : "") + Y.slice(0, z + 1);
4360
+ dt = (z === -1 ? dt : "") + Y.slice(z + 1), Y !== "" && (C = Date.now(), v += Y.length);
4361
+ for (var J = 0; J < re.length; J += 1) {
4362
+ var ue = re.charCodeAt(J);
4363
+ if (ne === Qe && ue === 10)
4364
+ ne = be;
4365
+ else if (ne === Qe && (ne = be), ue === 13 || ue === 10) {
4366
+ if (ne !== be) {
4367
+ ne === Je && (Me = J + 1);
4368
+ var _e = re.slice(Rt, Me - 1), xe = re.slice(Me + (Me < J && re.charCodeAt(Me) === 32 ? 1 : 0), J);
4369
+ _e === "data" ? (Ie += `
4370
+ `, Ie += xe) : _e === "id" ? ft = xe : _e === "event" ? Ee = xe : _e === "retry" ? (d = et(xe, d), T = d) : _e === "heartbeatTimeout" && (p = et(xe, p), te !== 0 && (i(te), te = r(function() {
4369
4371
  tt();
4370
4372
  }, p)));
4371
4373
  }
4372
- if (re === ge) {
4374
+ if (ne === be) {
4373
4375
  if (Ie !== "") {
4374
- E = ft, _e === "" && (_e = "message");
4375
- var Ne = new ve(_e, {
4376
+ x = ft, Ee === "" && (Ee = "message");
4377
+ var De = new fe(Ee, {
4376
4378
  data: Ie.slice(1),
4377
4379
  lastEventId: ft
4378
4380
  });
4379
- if (h.dispatchEvent(Ne), _e === "open" ? Ee(h, h.onopen, Ne) : _e === "message" ? Ee(h, h.onmessage, Ne) : _e === "error" && Ee(h, h.onerror, Ne), me === de)
4381
+ if (h.dispatchEvent(De), Ee === "open" ? Ae(h, h.onopen, De) : Ee === "message" ? Ae(h, h.onmessage, De) : Ee === "error" && Ae(h, h.onerror, De), de === Oe)
4380
4382
  return;
4381
4383
  }
4382
- Ie = "", _e = "";
4384
+ Ie = "", Ee = "";
4383
4385
  }
4384
- re = ue === 13 ? Ye : ge;
4386
+ ne = ue === 13 ? Qe : be;
4385
4387
  } else
4386
- re === ge && (Rt = K, re = Qe), re === Qe ? ue === 58 && (Me = K + 1, re = lt) : re === lt && (re = Je);
4388
+ ne === be && (Rt = J, ne = Je), ne === Je ? ue === 58 && (Me = J + 1, ne = Pe) : ne === Pe && (ne = ut);
4387
4389
  }
4388
4390
  }
4389
- }, bn = function(q) {
4390
- if (me === He || me === ae) {
4391
- me = x, $ !== 0 && (i($), $ = 0), $ = r(function() {
4391
+ }, pn = function(Y) {
4392
+ if (de === le || de === me) {
4393
+ de = ve, te !== 0 && (i(te), te = 0), te = r(function() {
4392
4394
  tt();
4393
- }, v), v = et(Math.min(c * 16, v * 2)), h.readyState = ae;
4394
- var z = new Ce("error", { error: q });
4395
- h.dispatchEvent(z), Ee(h, h.onerror, z), q != null && console.error(q);
4395
+ }, T), T = Ne(Math.min(d * 16, T * 2)), h.readyState = me;
4396
+ var z = new w("error", { error: Y });
4397
+ h.dispatchEvent(z), Ae(h, h.onerror, z), Y != null && console.error(Y);
4396
4398
  }
4397
4399
  }, Lt = function() {
4398
- me = de, ne != null && (ne.abort(), ne = void 0), $ !== 0 && (i($), $ = 0), h.readyState = de;
4400
+ de = Oe, X != null && (X.abort(), X = void 0), te !== 0 && (i(te), te = 0), h.readyState = Oe;
4399
4401
  }, tt = function() {
4400
- if ($ = 0, me !== x) {
4401
- if (!B && ne != null)
4402
- bn(new Error("No activity within " + p + " milliseconds. " + (me === ae ? "No response received." : A + " chars received.") + " Reconnecting.")), ne != null && (ne.abort(), ne = void 0);
4402
+ if (te = 0, de !== ve) {
4403
+ if (!C && X != null)
4404
+ pn(new Error("No activity within " + p + " milliseconds. " + (de === me ? "No response received." : v + " chars received.") + " Reconnecting.")), X != null && (X.abort(), X = void 0);
4403
4405
  else {
4404
- var q = Math.max((B || Date.now()) + p - Date.now(), 1);
4405
- B = !1, $ = r(function() {
4406
+ var Y = Math.max((C || Date.now()) + p - Date.now(), 1);
4407
+ C = !1, te = r(function() {
4406
4408
  tt();
4407
- }, q);
4409
+ }, Y);
4408
4410
  }
4409
4411
  return;
4410
4412
  }
4411
- B = !1, A = 0, $ = r(function() {
4413
+ C = !1, v = 0, te = r(function() {
4412
4414
  tt();
4413
- }, p), me = ae, Ie = "", _e = "", ft = E, dt = "", Rt = 0, Me = 0, re = ge;
4415
+ }, p), de = me, Ie = "", Ee = "", ft = x, dt = "", Rt = 0, Me = 0, ne = be;
4414
4416
  var z = y;
4415
- if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && E !== "") {
4416
- var le = y.indexOf("?");
4417
- z = le === -1 ? y : y.slice(0, le + 1) + y.slice(le + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(we, Ne) {
4418
- return Ne === C ? "" : we;
4419
- }), z += (y.indexOf("?") === -1 ? "?" : "&") + C + "=" + encodeURIComponent(E);
4417
+ if (y.slice(0, 5) !== "data:" && y.slice(0, 5) !== "blob:" && x !== "") {
4418
+ var se = y.indexOf("?");
4419
+ z = se === -1 ? y : y.slice(0, se + 1) + y.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, De) {
4420
+ return De === c ? "" : xe;
4421
+ }), z += (y.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(x);
4420
4422
  }
4421
- var ue = h.withCredentials, ie = {};
4422
- ie.Accept = "text/event-stream";
4423
- var K = h.headers;
4424
- if (K != null)
4425
- for (var xe in K)
4426
- Object.prototype.hasOwnProperty.call(K, xe) && (ie[xe] = K[xe]);
4423
+ var ue = h.withCredentials, re = {};
4424
+ re.Accept = "text/event-stream";
4425
+ var J = h.headers;
4426
+ if (J != null)
4427
+ for (var _e in J)
4428
+ Object.prototype.hasOwnProperty.call(J, _e) && (re[_e] = J[_e]);
4427
4429
  try {
4428
- ne = pe.open(J, Mr, Rr, bn, z, ue, ie);
4429
- } catch (we) {
4430
- throw Lt(), we;
4430
+ X = Ce.open(ee, Cr, Hr, pn, z, ue, re);
4431
+ } catch (xe) {
4432
+ throw Lt(), xe;
4431
4433
  }
4432
4434
  };
4433
- h.url = y, h.readyState = ae, h.withCredentials = g, h.headers = d, h._close = Lt, tt();
4435
+ h.url = y, h.readyState = me, h.withCredentials = g, h.headers = B, h._close = Lt, tt();
4434
4436
  }
4435
- se.prototype = Object.create(X.prototype), se.prototype.CONNECTING = ae, se.prototype.OPEN = He, se.prototype.CLOSED = de, se.prototype.close = function() {
4437
+ ae.prototype = Object.create(q.prototype), ae.prototype.CONNECTING = me, ae.prototype.OPEN = le, ae.prototype.CLOSED = Oe, ae.prototype.close = function() {
4436
4438
  this._close();
4437
- }, se.CONNECTING = ae, se.OPEN = He, se.CLOSED = de, se.prototype.withCredentials = void 0;
4438
- var ht = u;
4439
- o != null && (u == null || !("withCredentials" in u.prototype)) && (ht = se), function(h) {
4439
+ }, ae.CONNECTING = me, ae.OPEN = le, ae.CLOSED = Oe, ae.prototype.withCredentials = void 0;
4440
+ var ht = l;
4441
+ o != null && (l == null || !("withCredentials" in l.prototype)) && (ht = ae), function(h) {
4440
4442
  {
4441
4443
  var y = h(t);
4442
4444
  y !== void 0 && (e.exports = y);
4443
4445
  }
4444
4446
  }(function(h) {
4445
- h.EventSourcePolyfill = se, h.NativeEventSource = u, h.EventSource = ht;
4447
+ h.EventSourcePolyfill = ae, h.NativeEventSource = l, h.EventSource = ht;
4446
4448
  });
4447
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : hi : globalThis);
4448
- })(ln, ln.exports);
4449
- var ea = ln.exports;
4450
- function Be(e) {
4449
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : ui : globalThis);
4450
+ })(sn, sn.exports);
4451
+ var Jo = sn.exports;
4452
+ function Te(e) {
4451
4453
  return typeof e == "function";
4452
4454
  }
4453
- function Sr(e) {
4455
+ function xr(e) {
4454
4456
  var t = function(r) {
4455
4457
  Error.call(r), r.stack = new Error().stack;
4456
4458
  }, n = e(t);
4457
4459
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
4458
4460
  }
4459
- var Xt = Sr(function(e) {
4461
+ var Xt = xr(function(e) {
4460
4462
  return function(n) {
4461
4463
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
4462
4464
  ` + n.map(function(r, i) {
@@ -4479,47 +4481,47 @@ var Ct = function() {
4479
4481
  var t, n, r, i, o;
4480
4482
  if (!this.closed) {
4481
4483
  this.closed = !0;
4482
- var s = this._parentage;
4483
- if (s)
4484
- if (this._parentage = null, Array.isArray(s))
4484
+ var a = this._parentage;
4485
+ if (a)
4486
+ if (this._parentage = null, Array.isArray(a))
4485
4487
  try {
4486
- for (var a = Qt(s), u = a.next(); !u.done; u = a.next()) {
4487
- var l = u.value;
4488
- l.remove(this);
4488
+ for (var s = Yt(a), l = s.next(); !l.done; l = s.next()) {
4489
+ var u = l.value;
4490
+ u.remove(this);
4489
4491
  }
4490
- } catch (T) {
4491
- t = { error: T };
4492
+ } catch (A) {
4493
+ t = { error: A };
4492
4494
  } finally {
4493
4495
  try {
4494
- u && !u.done && (n = a.return) && n.call(a);
4496
+ l && !l.done && (n = s.return) && n.call(s);
4495
4497
  } finally {
4496
4498
  if (t)
4497
4499
  throw t.error;
4498
4500
  }
4499
4501
  }
4500
4502
  else
4501
- s.remove(this);
4503
+ a.remove(this);
4502
4504
  var f = this.initialTeardown;
4503
- if (Be(f))
4505
+ if (Te(f))
4504
4506
  try {
4505
4507
  f();
4506
- } catch (T) {
4507
- o = T instanceof Xt ? T.errors : [T];
4508
+ } catch (A) {
4509
+ o = A instanceof Xt ? A.errors : [A];
4508
4510
  }
4509
4511
  var b = this._finalizers;
4510
4512
  if (b) {
4511
4513
  this._finalizers = null;
4512
4514
  try {
4513
- for (var m = Qt(b), S = m.next(); !S.done; S = m.next()) {
4514
- var _ = S.value;
4515
+ for (var m = Yt(b), S = m.next(); !S.done; S = m.next()) {
4516
+ var E = S.value;
4515
4517
  try {
4516
- Nn(_);
4517
- } catch (T) {
4518
- o = o != null ? o : [], T instanceof Xt ? o = je(je([], Jt(o)), Jt(T.errors)) : o.push(T);
4518
+ Pn(E);
4519
+ } catch (A) {
4520
+ o = o != null ? o : [], A instanceof Xt ? o = ke(ke([], Qt(o)), Qt(A.errors)) : o.push(A);
4519
4521
  }
4520
4522
  }
4521
- } catch (T) {
4522
- r = { error: T };
4523
+ } catch (A) {
4524
+ r = { error: A };
4523
4525
  } finally {
4524
4526
  try {
4525
4527
  S && !S.done && (i = m.return) && i.call(m);
@@ -4536,7 +4538,7 @@ var Ct = function() {
4536
4538
  var n;
4537
4539
  if (t && t !== this)
4538
4540
  if (this.closed)
4539
- Nn(t);
4541
+ Pn(t);
4540
4542
  else {
4541
4543
  if (t instanceof e) {
4542
4544
  if (t.closed || t._hasParent(this))
@@ -4561,48 +4563,48 @@ var Ct = function() {
4561
4563
  var t = new e();
4562
4564
  return t.closed = !0, t;
4563
4565
  }(), e;
4564
- }(), Tr = Ct.EMPTY;
4565
- function Br(e) {
4566
- return e instanceof Ct || e && "closed" in e && Be(e.remove) && Be(e.add) && Be(e.unsubscribe);
4566
+ }(), wr = Ct.EMPTY;
4567
+ function Sr(e) {
4568
+ return e instanceof Ct || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
4567
4569
  }
4568
- function Nn(e) {
4569
- Be(e) ? e() : e.unsubscribe();
4570
+ function Pn(e) {
4571
+ Te(e) ? e() : e.unsubscribe();
4570
4572
  }
4571
- var Ar = {
4573
+ var Ko = {
4572
4574
  onUnhandledError: null,
4573
4575
  onStoppedNotification: null,
4574
4576
  Promise: void 0,
4575
4577
  useDeprecatedSynchronousErrorHandling: !1,
4576
4578
  useDeprecatedNextContext: !1
4577
- }, ta = {
4579
+ }, ea = {
4578
4580
  setTimeout: function(e, t) {
4579
4581
  for (var n = [], r = 2; r < arguments.length; r++)
4580
4582
  n[r - 2] = arguments[r];
4581
- return setTimeout.apply(void 0, je([e, t], Jt(n)));
4583
+ return setTimeout.apply(void 0, ke([e, t], Qt(n)));
4582
4584
  },
4583
4585
  clearTimeout: function(e) {
4584
4586
  return clearTimeout(e);
4585
4587
  },
4586
4588
  delegate: void 0
4587
4589
  };
4588
- function na(e) {
4589
- ta.setTimeout(function() {
4590
+ function ta(e) {
4591
+ ea.setTimeout(function() {
4590
4592
  throw e;
4591
4593
  });
4592
4594
  }
4593
- function Dn() {
4595
+ function Nn() {
4594
4596
  }
4595
4597
  function vt(e) {
4596
4598
  e();
4597
4599
  }
4598
- var Cr = function(e) {
4599
- Ae(t, e);
4600
+ var Tr = function(e) {
4601
+ Be(t, e);
4600
4602
  function t(n) {
4601
4603
  var r = e.call(this) || this;
4602
- return r.isStopped = !1, n ? (r.destination = n, Br(n) && n.add(r)) : r.destination = aa, r;
4604
+ return r.isStopped = !1, n ? (r.destination = n, Sr(n) && n.add(r)) : r.destination = ia, r;
4603
4605
  }
4604
4606
  return t.create = function(n, r, i) {
4605
- return new cn(n, r, i);
4607
+ return new ln(n, r, i);
4606
4608
  }, t.prototype.next = function(n) {
4607
4609
  this.isStopped || this._next(n);
4608
4610
  }, t.prototype.error = function(n) {
@@ -4626,11 +4628,7 @@ var Cr = function(e) {
4626
4628
  this.unsubscribe();
4627
4629
  }
4628
4630
  }, t;
4629
- }(Ct), ra = Function.prototype.bind;
4630
- function zt(e, t) {
4631
- return ra.call(e, t);
4632
- }
4633
- var ia = function() {
4631
+ }(Ct), na = function() {
4634
4632
  function e(t) {
4635
4633
  this.partialObserver = t;
4636
4634
  }
@@ -4661,55 +4659,43 @@ var ia = function() {
4661
4659
  mt(n);
4662
4660
  }
4663
4661
  }, e;
4664
- }(), cn = function(e) {
4665
- Ae(t, e);
4662
+ }(), ln = function(e) {
4663
+ Be(t, e);
4666
4664
  function t(n, r, i) {
4667
- var o = e.call(this) || this, s;
4668
- if (Be(n) || !n)
4669
- s = {
4670
- next: n != null ? n : void 0,
4671
- error: r != null ? r : void 0,
4672
- complete: i != null ? i : void 0
4673
- };
4674
- else {
4675
- var a;
4676
- o && Ar.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
4677
- return o.unsubscribe();
4678
- }, s = {
4679
- next: n.next && zt(n.next, a),
4680
- error: n.error && zt(n.error, a),
4681
- complete: n.complete && zt(n.complete, a)
4682
- }) : s = n;
4683
- }
4684
- return o.destination = new ia(s), o;
4665
+ var o = e.call(this) || this, a;
4666
+ return Te(n) || !n ? a = {
4667
+ next: n != null ? n : void 0,
4668
+ error: r != null ? r : void 0,
4669
+ complete: i != null ? i : void 0
4670
+ } : a = n, o.destination = new na(a), o;
4685
4671
  }
4686
4672
  return t;
4687
- }(Cr);
4673
+ }(Tr);
4688
4674
  function mt(e) {
4689
- na(e);
4675
+ ta(e);
4690
4676
  }
4691
- function oa(e) {
4677
+ function ra(e) {
4692
4678
  throw e;
4693
4679
  }
4694
- var aa = {
4680
+ var ia = {
4695
4681
  closed: !0,
4696
- next: Dn,
4697
- error: oa,
4698
- complete: Dn
4699
- }, sa = function() {
4682
+ next: Nn,
4683
+ error: ra,
4684
+ complete: Nn
4685
+ }, oa = function() {
4700
4686
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4701
4687
  }();
4702
- function la(e) {
4688
+ function aa(e) {
4703
4689
  return e;
4704
4690
  }
4705
- function ua(e) {
4706
- return e.length === 0 ? la : e.length === 1 ? e[0] : function(n) {
4691
+ function sa(e) {
4692
+ return e.length === 0 ? aa : e.length === 1 ? e[0] : function(n) {
4707
4693
  return e.reduce(function(r, i) {
4708
4694
  return i(r);
4709
4695
  }, n);
4710
4696
  };
4711
4697
  }
4712
- var Un = function() {
4698
+ var In = function() {
4713
4699
  function e(t) {
4714
4700
  t && (this._subscribe = t);
4715
4701
  }
@@ -4717,10 +4703,10 @@ var Un = function() {
4717
4703
  var n = new e();
4718
4704
  return n.source = this, n.operator = t, n;
4719
4705
  }, e.prototype.subscribe = function(t, n, r) {
4720
- var i = this, o = ha(t) ? t : new cn(t, n, r);
4706
+ var i = this, o = la(t) ? t : new ln(t, n, r);
4721
4707
  return vt(function() {
4722
- var s = i, a = s.operator, u = s.source;
4723
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4708
+ var a = i, s = a.operator, l = a.source;
4709
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4724
4710
  }), o;
4725
4711
  }, e.prototype._trySubscribe = function(t) {
4726
4712
  try {
@@ -4730,37 +4716,37 @@ var Un = function() {
4730
4716
  }
4731
4717
  }, e.prototype.forEach = function(t, n) {
4732
4718
  var r = this;
4733
- return n = Fn(n), new n(function(i, o) {
4734
- var s = new cn({
4735
- next: function(a) {
4719
+ return n = Dn(n), new n(function(i, o) {
4720
+ var a = new ln({
4721
+ next: function(s) {
4736
4722
  try {
4737
- t(a);
4738
- } catch (u) {
4739
- o(u), s.unsubscribe();
4723
+ t(s);
4724
+ } catch (l) {
4725
+ o(l), a.unsubscribe();
4740
4726
  }
4741
4727
  },
4742
4728
  error: o,
4743
4729
  complete: i
4744
4730
  });
4745
- r.subscribe(s);
4731
+ r.subscribe(a);
4746
4732
  });
4747
4733
  }, e.prototype._subscribe = function(t) {
4748
4734
  var n;
4749
4735
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4750
- }, e.prototype[sa] = function() {
4736
+ }, e.prototype[oa] = function() {
4751
4737
  return this;
4752
4738
  }, e.prototype.pipe = function() {
4753
4739
  for (var t = [], n = 0; n < arguments.length; n++)
4754
4740
  t[n] = arguments[n];
4755
- return ua(t)(this);
4741
+ return sa(t)(this);
4756
4742
  }, e.prototype.toPromise = function(t) {
4757
4743
  var n = this;
4758
- return t = Fn(t), new t(function(r, i) {
4744
+ return t = Dn(t), new t(function(r, i) {
4759
4745
  var o;
4760
- n.subscribe(function(s) {
4761
- return o = s;
4762
- }, function(s) {
4763
- return i(s);
4746
+ n.subscribe(function(a) {
4747
+ return o = a;
4748
+ }, function(a) {
4749
+ return i(a);
4764
4750
  }, function() {
4765
4751
  return r(o);
4766
4752
  });
@@ -4769,32 +4755,32 @@ var Un = function() {
4769
4755
  return new e(t);
4770
4756
  }, e;
4771
4757
  }();
4772
- function Fn(e) {
4758
+ function Dn(e) {
4773
4759
  var t;
4774
- return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
4760
+ return (t = e != null ? e : Ko.Promise) !== null && t !== void 0 ? t : Promise;
4775
4761
  }
4776
- function ca(e) {
4777
- return e && Be(e.next) && Be(e.error) && Be(e.complete);
4762
+ function ua(e) {
4763
+ return e && Te(e.next) && Te(e.error) && Te(e.complete);
4778
4764
  }
4779
- function ha(e) {
4780
- return e && e instanceof Cr || ca(e) && Br(e);
4765
+ function la(e) {
4766
+ return e && e instanceof Tr || ua(e) && Sr(e);
4781
4767
  }
4782
- var fa = Sr(function(e) {
4768
+ var ca = xr(function(e) {
4783
4769
  return function() {
4784
4770
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4785
4771
  };
4786
- }), Hr = function(e) {
4787
- Ae(t, e);
4772
+ }), Br = function(e) {
4773
+ Be(t, e);
4788
4774
  function t() {
4789
4775
  var n = e.call(this) || this;
4790
4776
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4791
4777
  }
4792
4778
  return t.prototype.lift = function(n) {
4793
- var r = new Gn(this, this);
4779
+ var r = new Un(this, this);
4794
4780
  return r.operator = n, r;
4795
4781
  }, t.prototype._throwIfClosed = function() {
4796
4782
  if (this.closed)
4797
- throw new fa();
4783
+ throw new ca();
4798
4784
  }, t.prototype.next = function(n) {
4799
4785
  var r = this;
4800
4786
  vt(function() {
@@ -4802,15 +4788,15 @@ var fa = Sr(function(e) {
4802
4788
  if (r._throwIfClosed(), !r.isStopped) {
4803
4789
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
4804
4790
  try {
4805
- for (var s = Qt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4806
- var u = a.value;
4807
- u.next(n);
4791
+ for (var a = Yt(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
4792
+ var l = s.value;
4793
+ l.next(n);
4808
4794
  }
4809
- } catch (l) {
4810
- i = { error: l };
4795
+ } catch (u) {
4796
+ i = { error: u };
4811
4797
  } finally {
4812
4798
  try {
4813
- a && !a.done && (o = s.return) && o.call(s);
4799
+ s && !s.done && (o = a.return) && o.call(a);
4814
4800
  } finally {
4815
4801
  if (i)
4816
4802
  throw i.error;
@@ -4850,21 +4836,21 @@ var fa = Sr(function(e) {
4850
4836
  }, t.prototype._subscribe = function(n) {
4851
4837
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4852
4838
  }, t.prototype._innerSubscribe = function(n) {
4853
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4854
- return o || s ? Tr : (this.currentObservers = null, a.push(n), new Ct(function() {
4855
- r.currentObservers = null, un(a, n);
4839
+ var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4840
+ return o || a ? wr : (this.currentObservers = null, s.push(n), new Ct(function() {
4841
+ r.currentObservers = null, un(s, n);
4856
4842
  }));
4857
4843
  }, t.prototype._checkFinalizedStatuses = function(n) {
4858
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
4859
- i ? n.error(o) : s && n.complete();
4844
+ var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
4845
+ i ? n.error(o) : a && n.complete();
4860
4846
  }, t.prototype.asObservable = function() {
4861
- var n = new Un();
4847
+ var n = new In();
4862
4848
  return n.source = this, n;
4863
4849
  }, t.create = function(n, r) {
4864
- return new Gn(n, r);
4850
+ return new Un(n, r);
4865
4851
  }, t;
4866
- }(Un), Gn = function(e) {
4867
- Ae(t, e);
4852
+ }(In), Un = function(e) {
4853
+ Be(t, e);
4868
4854
  function t(n, r) {
4869
4855
  var i = e.call(this) || this;
4870
4856
  return i.destination = n, i.source = r, i;
@@ -4880,58 +4866,58 @@ var fa = Sr(function(e) {
4880
4866
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4881
4867
  }, t.prototype._subscribe = function(n) {
4882
4868
  var r, i;
4883
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Tr;
4869
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : wr;
4884
4870
  }, t;
4885
- }(Hr), Or = {
4871
+ }(Br), Ar = {
4886
4872
  now: function() {
4887
- return (Or.delegate || Date).now();
4873
+ return (Ar.delegate || Date).now();
4888
4874
  },
4889
4875
  delegate: void 0
4890
- }, da = function(e) {
4891
- Ae(t, e);
4876
+ }, ha = function(e) {
4877
+ Be(t, e);
4892
4878
  function t(n, r, i) {
4893
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Or);
4879
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Ar);
4894
4880
  var o = e.call(this) || this;
4895
4881
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
4896
4882
  }
4897
4883
  return t.prototype.next = function(n) {
4898
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4899
- i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4884
+ var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, l = r._windowTime;
4885
+ i || (o.push(n), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
4900
4886
  }, t.prototype._subscribe = function(n) {
4901
4887
  this._throwIfClosed(), this._trimBuffer();
4902
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
4903
- n.next(a[u]);
4888
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !n.closed; l += o ? 1 : 2)
4889
+ n.next(s[l]);
4904
4890
  return this._checkFinalizedStatuses(n), r;
4905
4891
  }, t.prototype._trimBuffer = function() {
4906
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4907
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4908
- for (var u = i.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
4909
- l = f;
4910
- l && o.splice(0, l + 1);
4892
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
4893
+ if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4894
+ for (var l = i.now(), u = 0, f = 1; f < o.length && o[f] <= l; f += 2)
4895
+ u = f;
4896
+ u && o.splice(0, u + 1);
4911
4897
  }
4912
4898
  }, t;
4913
- }(Hr);
4914
- const jn = [], kn = {}, pa = (e, t = 0) => {
4915
- if (jn.indexOf(e) == -1) {
4916
- const n = new da(t);
4917
- kn[e] = n, jn.push(e);
4899
+ }(Br);
4900
+ const Fn = [], Gn = {}, fa = (e, t = 0) => {
4901
+ if (Fn.indexOf(e) == -1) {
4902
+ const n = new ha(t);
4903
+ Gn[e] = n, Fn.push(e);
4918
4904
  }
4919
- return kn[e];
4905
+ return Gn[e];
4920
4906
  };
4921
- window.emWidgets = { topic: pa };
4922
- const ma = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4923
- function ba(e) {
4924
- Gr(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4907
+ window.emWidgets = { topic: fa };
4908
+ const da = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4909
+ function pa(e) {
4910
+ Dr(e, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4925
4911
  }
4926
- function $n(e, t, n) {
4912
+ function jn(e, t, n) {
4927
4913
  const r = e.slice();
4928
4914
  return r[54] = t[n], r;
4929
4915
  }
4930
- function Vn(e, t, n) {
4916
+ function kn(e, t, n) {
4931
4917
  const r = e.slice();
4932
4918
  return r[57] = t[n], r;
4933
4919
  }
4934
- function ga(e) {
4920
+ function ma(e) {
4935
4921
  let t, n, r = (
4936
4922
  /*balances*/
4937
4923
  (e[1].Total ? (
@@ -4941,53 +4927,53 @@ function ga(e) {
4941
4927
  e[1].Total[0].amount
4942
4928
  )
4943
4929
  ) : "0") + ""
4944
- ), i, o, s, a, u, l, f, b, m, S, _ = (
4930
+ ), i, o, a, s, l, u, f, b, m, S, E = (
4945
4931
  /*showBalance*/
4946
- e[4] && Xn(e)
4932
+ e[4] && $n(e)
4947
4933
  );
4948
4934
  return {
4949
4935
  c() {
4950
- t = j("button"), n = j("p"), i = Se(r), o = Te(), s = j("span"), a = vn("svg"), u = vn("path"), f = Te(), _ && _.c(), b = $r(), R(u, "id", "arrow"), R(u, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), R(u, "transform", "translate(-274.511 -441.088)"), R(u, "fill", "#d1d1d1"), R(a, "xmlns", "http://www.w3.org/2000/svg"), R(a, "width", "14"), R(a, "height", "6.835"), R(a, "viewBox", "0 0 14 6.835"), R(s, "class", l = /*isModalDisplayed*/
4951
- e[3] ? "TriangleActive" : "TriangleInactive"), R(t, "class", "BalanceValue");
4936
+ t = j("button"), n = j("p"), i = we(r), o = Se(), a = j("span"), s = gn("svg"), l = gn("path"), f = Se(), E && E.c(), b = Gr(), M(l, "id", "arrow"), M(l, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), M(l, "transform", "translate(-274.511 -441.088)"), M(l, "fill", "#d1d1d1"), M(s, "xmlns", "http://www.w3.org/2000/svg"), M(s, "width", "14"), M(s, "height", "6.835"), M(s, "viewBox", "0 0 14 6.835"), M(a, "class", u = /*isModalDisplayed*/
4937
+ e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
4952
4938
  },
4953
- m(T, N) {
4954
- ye(T, t, N), I(t, n), I(n, i), I(t, o), I(t, s), I(s, a), I(a, u), ye(T, f, N), _ && _.m(T, N), ye(T, b, N), m || (S = Et(
4939
+ m(A, I) {
4940
+ ge(A, t, I), P(t, n), P(n, i), P(t, o), P(t, a), P(a, s), P(s, l), ge(A, f, I), E && E.m(A, I), ge(A, b, I), m || (S = Et(
4955
4941
  t,
4956
4942
  "click",
4957
4943
  /*click_handler*/
4958
4944
  e[26]
4959
4945
  ), m = !0);
4960
4946
  },
4961
- p(T, N) {
4962
- N[0] & /*balances*/
4947
+ p(A, I) {
4948
+ I[0] & /*balances*/
4963
4949
  2 && r !== (r = /*balances*/
4964
- (T[1].Total ? (
4950
+ (A[1].Total ? (
4965
4951
  /*formatBalance*/
4966
- T[8](
4952
+ A[8](
4967
4953
  /*balances*/
4968
- T[1].Total[0].amount
4954
+ A[1].Total[0].amount
4969
4955
  )
4970
- ) : "0") + "") && Re(i, r), N[0] & /*isModalDisplayed*/
4971
- 8 && l !== (l = /*isModalDisplayed*/
4972
- T[3] ? "TriangleActive" : "TriangleInactive") && R(s, "class", l), /*showBalance*/
4973
- T[4] ? _ ? _.p(T, N) : (_ = Xn(T), _.c(), _.m(b.parentNode, b)) : _ && (_.d(1), _ = null);
4956
+ ) : "0") + "") && Re(i, r), I[0] & /*isModalDisplayed*/
4957
+ 8 && u !== (u = /*isModalDisplayed*/
4958
+ A[3] ? "TriangleActive" : "TriangleInactive") && M(a, "class", u), /*showBalance*/
4959
+ A[4] ? E ? E.p(A, I) : (E = $n(A), E.c(), E.m(b.parentNode, b)) : E && (E.d(1), E = null);
4974
4960
  },
4975
- d(T) {
4976
- T && (be(t), be(f), be(b)), _ && _.d(T), m = !1, S();
4961
+ d(A) {
4962
+ A && (pe(t), pe(f), pe(b)), E && E.d(A), m = !1, S();
4977
4963
  }
4978
4964
  };
4979
4965
  }
4980
- function ya(e) {
4966
+ function ba(e) {
4981
4967
  let t, n = (
4982
4968
  /*$_*/
4983
4969
  e[6]("Loading") + ""
4984
4970
  ), r;
4985
4971
  return {
4986
4972
  c() {
4987
- t = j("p"), r = Se(n), R(t, "class", "Loading");
4973
+ t = j("p"), r = we(n), M(t, "class", "Loading");
4988
4974
  },
4989
4975
  m(i, o) {
4990
- ye(i, t, o), I(t, r);
4976
+ ge(i, t, o), P(t, r);
4991
4977
  },
4992
4978
  p(i, o) {
4993
4979
  o[0] & /*$_*/
@@ -4995,39 +4981,39 @@ function ya(e) {
4995
4981
  i[6]("Loading") + "") && Re(r, n);
4996
4982
  },
4997
4983
  d(i) {
4998
- i && be(t);
4984
+ i && pe(t);
4999
4985
  }
5000
4986
  };
5001
4987
  }
5002
- function Xn(e) {
5003
- let t, n, r, i, o, s, a, u, l = (
4988
+ function $n(e) {
4989
+ let t, n, r, i, o, a, s, l, u = (
5004
4990
  /*$_*/
5005
4991
  e[6]("Title") + ""
5006
- ), f, b, m, S, _, T, N = (
4992
+ ), f, b, m, S, E, A, I = (
5007
4993
  /*$_*/
5008
4994
  e[6]("DepositButton") + ""
5009
- ), W, V, L, U, Q, Z, ee = _t(Object.keys(
4995
+ ), W, V, R, D, k, oe, Z = _t(Object.keys(
5010
4996
  /*balances*/
5011
4997
  e[1]
5012
- )), F = [];
5013
- for (let D = 0; D < ee.length; D += 1)
5014
- F[D] = Wn($n(e, ee, D));
4998
+ )), $ = [];
4999
+ for (let U = 0; U < Z.length; U += 1)
5000
+ $[U] = Xn(jn(e, Z, U));
5015
5001
  return {
5016
5002
  c() {
5017
- t = j("div"), n = j("button"), i = Te(), o = j("div"), s = j("div"), a = j("div"), u = j("p"), f = Se(l), b = Te(), m = j("div");
5018
- for (let D = 0; D < F.length; D += 1)
5019
- F[D].c();
5020
- S = Te(), _ = j("div"), T = j("button"), W = Se(N), R(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5021
- (e[3] ? "Open" : "")), R(u, "class", "BalanceModalTitle"), R(a, "class", "BalanceModalHeader"), R(m, "class", "BalanceModalBody"), R(T, "class", "BalanceModalAction"), R(_, "class", "BalanceModalFooter"), R(s, "class", V = "ModalContent " + /*isModalDisplayed*/
5022
- (e[3] ? "Open" : "")), R(o, "class", L = "BalanceModal " + /*isModalDisplayed*/
5023
- (e[3] ? "Open" : "")), R(t, "class", U = "BalanceModalWrapper " + /*isModalDisplayed*/
5003
+ t = j("div"), n = j("button"), i = Se(), o = j("div"), a = j("div"), s = j("div"), l = j("p"), f = we(u), b = Se(), m = j("div");
5004
+ for (let U = 0; U < $.length; U += 1)
5005
+ $[U].c();
5006
+ S = Se(), E = j("div"), A = j("button"), W = we(I), M(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
5007
+ (e[3] ? "Open" : "")), M(l, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(m, "class", "BalanceModalBody"), M(A, "class", "BalanceModalAction"), M(E, "class", "BalanceModalFooter"), M(a, "class", V = "ModalContent " + /*isModalDisplayed*/
5008
+ (e[3] ? "Open" : "")), M(o, "class", R = "BalanceModal " + /*isModalDisplayed*/
5009
+ (e[3] ? "Open" : "")), M(t, "class", D = "BalanceModalWrapper " + /*isModalDisplayed*/
5024
5010
  (e[3] ? "Open" : ""));
5025
5011
  },
5026
- m(D, X) {
5027
- ye(D, t, X), I(t, n), I(t, i), I(t, o), I(o, s), I(s, a), I(a, u), I(u, f), I(s, b), I(s, m);
5028
- for (let k = 0; k < F.length; k += 1)
5029
- F[k] && F[k].m(m, null);
5030
- I(s, S), I(s, _), I(_, T), I(T, W), Q || (Z = [
5012
+ m(U, q) {
5013
+ ge(U, t, q), P(t, n), P(t, i), P(t, o), P(o, a), P(a, s), P(s, l), P(l, f), P(a, b), P(a, m);
5014
+ for (let F = 0; F < $.length; F += 1)
5015
+ $[F] && $[F].m(m, null);
5016
+ P(a, S), P(a, E), P(E, A), P(A, W), k || (oe = [
5031
5017
  Et(
5032
5018
  n,
5033
5019
  "click",
@@ -5035,56 +5021,56 @@ function Xn(e) {
5035
5021
  e[27]
5036
5022
  ),
5037
5023
  Et(
5038
- T,
5024
+ A,
5039
5025
  "click",
5040
5026
  /*click_handler_2*/
5041
5027
  e[28]
5042
5028
  )
5043
- ], Q = !0);
5029
+ ], k = !0);
5044
5030
  },
5045
- p(D, X) {
5046
- if (X[0] & /*isModalDisplayed*/
5031
+ p(U, q) {
5032
+ if (q[0] & /*isModalDisplayed*/
5047
5033
  8 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
5048
- (D[3] ? "Open" : "")) && R(n, "class", r), X[0] & /*$_*/
5049
- 64 && l !== (l = /*$_*/
5050
- D[6]("Title") + "") && Re(f, l), X[0] & /*balances, formatBalance, $_*/
5034
+ (U[3] ? "Open" : "")) && M(n, "class", r), q[0] & /*$_*/
5035
+ 64 && u !== (u = /*$_*/
5036
+ U[6]("Title") + "") && Re(f, u), q[0] & /*balances, formatBalance, $_*/
5051
5037
  322) {
5052
- ee = _t(Object.keys(
5038
+ Z = _t(Object.keys(
5053
5039
  /*balances*/
5054
- D[1]
5040
+ U[1]
5055
5041
  ));
5056
- let k;
5057
- for (k = 0; k < ee.length; k += 1) {
5058
- const te = $n(D, ee, k);
5059
- F[k] ? F[k].p(te, X) : (F[k] = Wn(te), F[k].c(), F[k].m(m, null));
5042
+ let F;
5043
+ for (F = 0; F < Z.length; F += 1) {
5044
+ const K = jn(U, Z, F);
5045
+ $[F] ? $[F].p(K, q) : ($[F] = Xn(K), $[F].c(), $[F].m(m, null));
5060
5046
  }
5061
- for (; k < F.length; k += 1)
5062
- F[k].d(1);
5063
- F.length = ee.length;
5047
+ for (; F < $.length; F += 1)
5048
+ $[F].d(1);
5049
+ $.length = Z.length;
5064
5050
  }
5065
- X[0] & /*$_*/
5066
- 64 && N !== (N = /*$_*/
5067
- D[6]("DepositButton") + "") && Re(W, N), X[0] & /*isModalDisplayed*/
5051
+ q[0] & /*$_*/
5052
+ 64 && I !== (I = /*$_*/
5053
+ U[6]("DepositButton") + "") && Re(W, I), q[0] & /*isModalDisplayed*/
5068
5054
  8 && V !== (V = "ModalContent " + /*isModalDisplayed*/
5069
- (D[3] ? "Open" : "")) && R(s, "class", V), X[0] & /*isModalDisplayed*/
5070
- 8 && L !== (L = "BalanceModal " + /*isModalDisplayed*/
5071
- (D[3] ? "Open" : "")) && R(o, "class", L), X[0] & /*isModalDisplayed*/
5072
- 8 && U !== (U = "BalanceModalWrapper " + /*isModalDisplayed*/
5073
- (D[3] ? "Open" : "")) && R(t, "class", U);
5055
+ (U[3] ? "Open" : "")) && M(a, "class", V), q[0] & /*isModalDisplayed*/
5056
+ 8 && R !== (R = "BalanceModal " + /*isModalDisplayed*/
5057
+ (U[3] ? "Open" : "")) && M(o, "class", R), q[0] & /*isModalDisplayed*/
5058
+ 8 && D !== (D = "BalanceModalWrapper " + /*isModalDisplayed*/
5059
+ (U[3] ? "Open" : "")) && M(t, "class", D);
5074
5060
  },
5075
- d(D) {
5076
- D && be(t), Jn(F, D), Q = !1, ze(Z);
5061
+ d(U) {
5062
+ U && pe(t), Yn($, U), k = !1, We(oe);
5077
5063
  }
5078
5064
  };
5079
5065
  }
5080
- function zn(e) {
5066
+ function Vn(e) {
5081
5067
  let t, n, r = (
5082
5068
  /*$_*/
5083
5069
  e[6](
5084
5070
  /*k*/
5085
5071
  e[54]
5086
5072
  ) + ""
5087
- ), i, o, s = (
5073
+ ), i, o, a = (
5088
5074
  /*b*/
5089
5075
  (e[57].productType ? (
5090
5076
  /*$_*/
@@ -5093,7 +5079,7 @@ function zn(e) {
5093
5079
  e[57].productType
5094
5080
  )
5095
5081
  ) : "") + ""
5096
- ), a, u, l, f, b = (
5082
+ ), s, l, u, f, b = (
5097
5083
  /*formatBalance*/
5098
5084
  e[8](
5099
5085
  /*b*/
@@ -5102,26 +5088,26 @@ function zn(e) {
5102
5088
  ), m;
5103
5089
  return {
5104
5090
  c() {
5105
- t = j("div"), n = j("p"), i = Se(r), o = Te(), a = Se(s), u = Te(), l = j("p"), f = j("span"), m = Se(b), R(n, "class", "BalanceModalText"), R(f, "class", "BalanceModalAmount"), R(l, "class", "BalanceModalValue"), R(t, "class", "BalanceModalRowLine");
5091
+ t = j("div"), n = j("p"), i = we(r), o = Se(), s = we(a), l = Se(), u = j("p"), f = j("span"), m = we(b), M(n, "class", "BalanceModalText"), M(f, "class", "BalanceModalAmount"), M(u, "class", "BalanceModalValue"), M(t, "class", "BalanceModalRowLine");
5106
5092
  },
5107
- m(S, _) {
5108
- ye(S, t, _), I(t, n), I(n, i), I(n, o), I(n, a), I(t, u), I(t, l), I(l, f), I(f, m);
5093
+ m(S, E) {
5094
+ ge(S, t, E), P(t, n), P(n, i), P(n, o), P(n, s), P(t, l), P(t, u), P(u, f), P(f, m);
5109
5095
  },
5110
- p(S, _) {
5111
- _[0] & /*$_, balances*/
5096
+ p(S, E) {
5097
+ E[0] & /*$_, balances*/
5112
5098
  66 && r !== (r = /*$_*/
5113
5099
  S[6](
5114
5100
  /*k*/
5115
5101
  S[54]
5116
- ) + "") && Re(i, r), _[0] & /*balances, $_*/
5117
- 66 && s !== (s = /*b*/
5102
+ ) + "") && Re(i, r), E[0] & /*balances, $_*/
5103
+ 66 && a !== (a = /*b*/
5118
5104
  (S[57].productType ? (
5119
5105
  /*$_*/
5120
5106
  S[6](
5121
5107
  /*b*/
5122
5108
  S[57].productType
5123
5109
  )
5124
- ) : "") + "") && Re(a, s), _[0] & /*balances*/
5110
+ ) : "") + "") && Re(s, a), E[0] & /*balances*/
5125
5111
  2 && b !== (b = /*formatBalance*/
5126
5112
  S[8](
5127
5113
  /*b*/
@@ -5129,11 +5115,11 @@ function zn(e) {
5129
5115
  ) + "") && Re(m, b);
5130
5116
  },
5131
5117
  d(S) {
5132
- S && be(t);
5118
+ S && pe(t);
5133
5119
  }
5134
5120
  };
5135
5121
  }
5136
- function Wn(e) {
5122
+ function Xn(e) {
5137
5123
  let t, n, r = _t(
5138
5124
  /*balances*/
5139
5125
  e[1][
@@ -5142,22 +5128,22 @@ function Wn(e) {
5142
5128
  ]
5143
5129
  ), i = [];
5144
5130
  for (let o = 0; o < r.length; o += 1)
5145
- i[o] = zn(Vn(e, r, o));
5131
+ i[o] = Vn(kn(e, r, o));
5146
5132
  return {
5147
5133
  c() {
5148
5134
  t = j("div");
5149
5135
  for (let o = 0; o < i.length; o += 1)
5150
5136
  i[o].c();
5151
- n = Te(), R(t, "class", "BalanceModalRowBoth");
5137
+ n = Se(), M(t, "class", "BalanceModalRowBoth");
5152
5138
  },
5153
- m(o, s) {
5154
- ye(o, t, s);
5155
- for (let a = 0; a < i.length; a += 1)
5156
- i[a] && i[a].m(t, null);
5157
- I(t, n);
5139
+ m(o, a) {
5140
+ ge(o, t, a);
5141
+ for (let s = 0; s < i.length; s += 1)
5142
+ i[s] && i[s].m(t, null);
5143
+ P(t, n);
5158
5144
  },
5159
- p(o, s) {
5160
- if (s[0] & /*formatBalance, balances, $_*/
5145
+ p(o, a) {
5146
+ if (a[0] & /*formatBalance, balances, $_*/
5161
5147
  322) {
5162
5148
  r = _t(
5163
5149
  /*balances*/
@@ -5166,83 +5152,83 @@ function Wn(e) {
5166
5152
  o[54]
5167
5153
  ]
5168
5154
  );
5169
- let a;
5170
- for (a = 0; a < r.length; a += 1) {
5171
- const u = Vn(o, r, a);
5172
- i[a] ? i[a].p(u, s) : (i[a] = zn(u), i[a].c(), i[a].m(t, n));
5155
+ let s;
5156
+ for (s = 0; s < r.length; s += 1) {
5157
+ const l = kn(o, r, s);
5158
+ i[s] ? i[s].p(l, a) : (i[s] = Vn(l), i[s].c(), i[s].m(t, n));
5173
5159
  }
5174
- for (; a < i.length; a += 1)
5175
- i[a].d(1);
5160
+ for (; s < i.length; s += 1)
5161
+ i[s].d(1);
5176
5162
  i.length = r.length;
5177
5163
  }
5178
5164
  },
5179
5165
  d(o) {
5180
- o && be(t), Jn(i, o);
5166
+ o && pe(t), Yn(i, o);
5181
5167
  }
5182
5168
  };
5183
5169
  }
5184
- function Zn(e) {
5170
+ function zn(e) {
5185
5171
  let t, n, r;
5186
5172
  return {
5187
5173
  c() {
5188
- t = j("button"), R(t, "class", "ShowBalanceModalOverlay");
5174
+ t = j("button"), M(t, "class", "ShowBalanceModalOverlay");
5189
5175
  },
5190
5176
  m(i, o) {
5191
- ye(i, t, o), n || (r = Et(
5177
+ ge(i, t, o), n || (r = Et(
5192
5178
  t,
5193
5179
  "click",
5194
5180
  /*click_handler_3*/
5195
5181
  e[29]
5196
5182
  ), n = !0);
5197
5183
  },
5198
- p: fe,
5184
+ p: he,
5199
5185
  d(i) {
5200
- i && be(t), n = !1, r();
5186
+ i && pe(t), n = !1, r();
5201
5187
  }
5202
5188
  };
5203
5189
  }
5204
- function va(e) {
5190
+ function ga(e) {
5205
5191
  let t, n, r, i;
5206
- function o(l, f) {
5192
+ function o(u, f) {
5207
5193
  return (
5208
5194
  /*isLoading*/
5209
- l[2] ? ya : ga
5195
+ u[2] ? ba : ma
5210
5196
  );
5211
5197
  }
5212
- let s = o(e), a = s(e), u = (
5198
+ let a = o(e), s = a(e), l = (
5213
5199
  /*showBalance*/
5214
- e[4] && Zn(e)
5200
+ e[4] && zn(e)
5215
5201
  );
5216
5202
  return {
5217
5203
  c() {
5218
- t = j("div"), n = j("div"), a.c(), i = Te(), u && u.c(), R(n, "class", r = "ShowBalance " + /*mobileView*/
5204
+ t = j("div"), n = j("div"), s.c(), i = Se(), l && l.c(), M(n, "class", r = "ShowBalance " + /*mobileView*/
5219
5205
  (e[5] ? "Mobile" : ""));
5220
5206
  },
5221
- m(l, f) {
5222
- ye(l, t, f), I(t, n), a.m(n, null), I(t, i), u && u.m(t, null), e[30](t);
5207
+ m(u, f) {
5208
+ ge(u, t, f), P(t, n), s.m(n, null), P(t, i), l && l.m(t, null), e[30](t);
5223
5209
  },
5224
- p(l, f) {
5225
- s === (s = o(l)) && a ? a.p(l, f) : (a.d(1), a = s(l), a && (a.c(), a.m(n, null))), f[0] & /*mobileView*/
5210
+ p(u, f) {
5211
+ a === (a = o(u)) && s ? s.p(u, f) : (s.d(1), s = a(u), s && (s.c(), s.m(n, null))), f[0] & /*mobileView*/
5226
5212
  32 && r !== (r = "ShowBalance " + /*mobileView*/
5227
- (l[5] ? "Mobile" : "")) && R(n, "class", r), /*showBalance*/
5228
- l[4] ? u ? u.p(l, f) : (u = Zn(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
5213
+ (u[5] ? "Mobile" : "")) && M(n, "class", r), /*showBalance*/
5214
+ u[4] ? l ? l.p(u, f) : (l = zn(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5229
5215
  },
5230
- i: fe,
5231
- o: fe,
5232
- d(l) {
5233
- l && be(t), a.d(), u && u.d(), e[30](null);
5216
+ i: he,
5217
+ o: he,
5218
+ d(u) {
5219
+ u && pe(t), s.d(), l && l.d(), e[30](null);
5234
5220
  }
5235
5221
  };
5236
5222
  }
5237
- function Ea(e, t, n) {
5223
+ function ya(e, t, n) {
5238
5224
  let r;
5239
- Fr(e, Jo, (c) => n(6, r = c));
5240
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: S = "All" } = t, { totalcalculationmode: _ = "totalCashAmount" } = t, { currencylocale: T = "en" } = t, { currencydisplay: N = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: L = "" } = t, U, Q, Z = !0, ee = !1, F = !1, D = !1, X = !1, k = window.navigator.userAgent, te, ve = "", ce = [], Ce;
5241
- const x = {}, ae = ["totalCashAmount", "totalRealAmount"], He = () => {
5242
- fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((p) => Pn(p, c[p]))).catch((c) => console.log(c));
5225
+ Ir(e, Yo, (c) => n(6, r = c));
5226
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: b = "" } = t, { gmversion: m = "gm16" } = t, { displaybalanceoption: S = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencylocale: A = "en" } = t, { currencydisplay: I = "symbol" } = t, { maximumfractiondigits: W = "2" } = t, { minimumfractiondigits: V = "0" } = t, { customdisplayformat: R = "" } = t, D, k = !0, oe = !1, Z = !1, $ = !1, U = !1, q = window.navigator.userAgent, F, K = "", fe = [], ye;
5227
+ const w = {}, ve = ["totalCashAmount", "totalRealAmount"], me = () => {
5228
+ fetch(b).then((c) => c.json()).then((c) => Object.keys(c).forEach((d) => Rn(d, c[d]))).catch((c) => console.log(c));
5243
5229
  };
5244
- Object.keys(In).forEach((c) => Pn(c, In[c]));
5245
- const de = (c) => {
5230
+ Object.keys(Ln).forEach((c) => Rn(c, Ln[c]));
5231
+ const le = (c) => {
5246
5232
  switch (c) {
5247
5233
  case "balance":
5248
5234
  window.postMessage(
@@ -5251,10 +5237,10 @@ function Ea(e, t, n) {
5251
5237
  status: "open"
5252
5238
  },
5253
5239
  window.location.href
5254
- ), n(4, D = !0), setTimeout(() => n(3, ee = !0), 150);
5240
+ ), n(4, $ = !0), setTimeout(() => n(3, oe = !0), 150);
5255
5241
  break;
5256
5242
  case "closebalance":
5257
- n(3, ee = !1), window.postMessage(
5243
+ n(3, oe = !1), window.postMessage(
5258
5244
  {
5259
5245
  type: "BalanceModalStatus",
5260
5246
  status: "close"
@@ -5262,114 +5248,114 @@ function Ea(e, t, n) {
5262
5248
  window.location.href
5263
5249
  ), setTimeout(
5264
5250
  () => {
5265
- n(4, D = !1);
5251
+ n(4, $ = !1);
5266
5252
  },
5267
5253
  150
5268
5254
  );
5269
5255
  break;
5270
5256
  }
5271
- }, Ye = (c) => {
5272
- if (L)
5273
- return ge(c);
5274
- const p = T || a, E = {
5257
+ }, Oe = (c) => {
5258
+ if (R)
5259
+ return Qe(c);
5260
+ const d = A || s, p = {
5275
5261
  style: "currency",
5276
- currency: ve,
5262
+ currency: K,
5277
5263
  useGrouping: !0,
5278
- currencyDisplay: N || "code",
5264
+ currencyDisplay: I || "code",
5279
5265
  maximumFractionDigits: W === "" || isNaN(Number(W)) ? 2 : Number(W),
5280
5266
  minimumFractionDigits: V === "" || isNaN(Number(V)) ? 0 : Number(V)
5281
5267
  };
5282
- return new Intl.NumberFormat(p, E).format(c);
5283
- }, ge = (c) => {
5284
- const p = [];
5285
- let E = "";
5286
- for (const v of L)
5287
- switch (v) {
5268
+ return new Intl.NumberFormat(d, p).format(c);
5269
+ }, Qe = (c) => {
5270
+ const d = [];
5271
+ let p = "";
5272
+ for (const x of R)
5273
+ switch (x) {
5288
5274
  default:
5289
- E += v;
5275
+ p += x;
5290
5276
  break;
5291
5277
  case "{":
5292
- E && p.push(E), E = "";
5278
+ p && d.push(p), p = "";
5293
5279
  break;
5294
5280
  case "}":
5295
- const [B, A] = E.split("|");
5296
- if (E = "", B.toLowerCase() === "currency")
5297
- E = ve;
5298
- else if (B.toLowerCase() === "amount") {
5299
- let d = ",", H = ".", J = 2;
5300
- A && (A[0] !== " " && (d = A[0]), A[1] !== " " && (H = A[1]), A[2] !== " " && !isNaN(Number(A[2])) && (J = Number(A[2])));
5301
- let [pe, ne] = String(Math.floor(c * It(10, J)) / It(10, J)).split(".");
5302
- E += pe[0];
5303
- for (let $ = 1; $ < pe.length; ++$)
5304
- (pe.length - $) % 3 === 0 ? E += d + pe[$] : E += pe[$];
5305
- ne && (E += H + ne);
5281
+ const [T, C] = p.split("|");
5282
+ if (p = "", T.toLowerCase() === "currency")
5283
+ p = K;
5284
+ else if (T.toLowerCase() === "amount") {
5285
+ let v = ",", B = ".", N = 2;
5286
+ C && (C[0] !== " " && (v = C[0]), C[1] !== " " && (B = C[1]), C[2] !== " " && !isNaN(Number(C[2])) && (N = Number(C[2])));
5287
+ let [ee, Ce] = String(Math.floor(c * Nt(10, N)) / Nt(10, N)).split(".");
5288
+ p += ee[0];
5289
+ for (let X = 1; X < ee.length; ++X)
5290
+ (ee.length - X) % 3 === 0 ? p += v + ee[X] : p += ee[X];
5291
+ Ce && (p += B + Ce);
5306
5292
  }
5307
- E && p.push(E), E = "";
5293
+ p && d.push(p), p = "";
5308
5294
  break;
5309
5295
  }
5310
- return p.push(E), p.join("");
5311
- }, Qe = () => Ut(this, null, function* () {
5312
- var p, E, v;
5313
- n(2, Z = !0);
5314
- const c = new URL(`${s}/v1/player/${i}/account`);
5296
+ return d.push(p), d.join("");
5297
+ }, be = () => Ut(this, null, function* () {
5298
+ var d, p, x;
5299
+ n(2, k = !0);
5300
+ const c = new URL(`${a}/v1/player/${i}/account`);
5315
5301
  try {
5316
- const B = yield fetch(c, {
5302
+ const T = yield fetch(c, {
5317
5303
  method: "GET",
5318
5304
  headers: { "X-SessionID": o }
5319
- }), A = yield B.json();
5320
- if (B.ok)
5321
- window.postMessage({ type: "BalancedFetched" }, window.location.href), ce = A.items, ve = (p = ce.find((d) => d.displayName === "Casino")) == null ? void 0 : p.currency, n(1, x.Total = [{ amount: A.totalAmount[ve] }], x), n(
5305
+ }), C = yield T.json();
5306
+ if (T.ok)
5307
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), fe = C.items, K = (d = fe.find((v) => v.displayName === "Casino")) == null ? void 0 : d.currency, n(1, w.Total = [{ amount: C.totalAmount[K] }], w), n(
5322
5308
  1,
5323
- x.Real = [
5309
+ w.Real = [
5324
5310
  {
5325
- amount: (E = ce.find((d) => d.displayName === "Casino")) == null ? void 0 : E.balanceAmount
5311
+ amount: (p = fe.find((v) => v.displayName === "Casino")) == null ? void 0 : p.balanceAmount
5326
5312
  }
5327
5313
  ],
5328
- x
5314
+ w
5329
5315
  ), n(
5330
5316
  1,
5331
- x.Bonus = [
5317
+ w.Bonus = [
5332
5318
  {
5333
- amount: (v = ce.find((d) => d.displayName === "UBS")) == null ? void 0 : v.balanceAmount
5319
+ amount: (x = fe.find((v) => v.displayName === "UBS")) == null ? void 0 : x.balanceAmount
5334
5320
  }
5335
5321
  ],
5336
- x
5322
+ w
5337
5323
  );
5338
5324
  else
5339
5325
  throw new Error("Failed to fetch balance data !");
5340
- } catch (B) {
5341
- console.log("Balance error: ", B);
5326
+ } catch (T) {
5327
+ console.log("Balance error: ", T);
5342
5328
  } finally {
5343
- n(2, Z = !1);
5329
+ n(2, k = !1);
5344
5330
  }
5345
- }), lt = () => {
5346
- n(2, Z = !0);
5347
- const c = new URL(`${s}/v2/player/${i}/balance`), p = new Headers();
5348
- p.append("X-SessionID", o), fetch(c, { method: "GET", headers: p }).then((v) => v.json()).then((v) => {
5349
- v[_] || n(10, _ = ae[0]);
5350
- const B = v.items.find((d) => d.type === "Real" && d.walletAccountType === "Ordinary");
5351
- if (ve = B.currency, F = !!B.productType, n(1, x.Total = [{ amount: 0 }], x), n(1, x.Real = [], x), n(1, x.Bonus = [], x), n(1, x.Credit = [], x), !F) {
5352
- Ce = {
5331
+ }), Je = () => {
5332
+ n(2, k = !0);
5333
+ const c = new URL(`${a}/v2/player/${i}/balance`), d = new Headers();
5334
+ d.append("X-SessionID", o), fetch(c, { method: "GET", headers: d }).then((x) => x.json()).then((x) => {
5335
+ x[E] || n(10, E = ve[0]);
5336
+ const T = x.items.find((v) => v.type === "Real" && v.walletAccountType === "Ordinary");
5337
+ if (K = T.currency, Z = !!T.productType, n(1, w.Total = [{ amount: 0 }], w), n(1, w.Real = [], w), n(1, w.Bonus = [], w), n(1, w.Credit = [], w), !Z) {
5338
+ ye = {
5353
5339
  lastOrdinaryAfterAmount: 0,
5354
5340
  showCreditLineAfterAmount: !1
5355
- }, n(1, x.Total[0].amount = v[_][ve], x);
5356
- for (const d of v.items)
5357
- switch (d.type) {
5341
+ }, n(1, w.Total[0].amount = x[E][K], w);
5342
+ for (const v of x.items)
5343
+ switch (v.type) {
5358
5344
  case "Bonus":
5359
- x.Bonus.length === 0 ? x.Bonus.push({ amount: d.amount }) : n(1, x.Bonus[0].amount += d.amount, x);
5345
+ w.Bonus.length === 0 ? w.Bonus.push({ amount: v.amount }) : n(1, w.Bonus[0].amount += v.amount, w);
5360
5346
  break;
5361
5347
  case "Real":
5362
- if (d.creditLine && x.Credit.length === 0 && x.Credit.push({ amount: d.creditLine }), _ === "totalRealAmount")
5348
+ if (v.creditLine && w.Credit.length === 0 && w.Credit.push({ amount: v.creditLine }), E === "totalRealAmount")
5363
5349
  continue;
5364
- x.Real.length === 0 ? x.Real.push({ amount: d.amount }) : n(1, x.Real[0].amount += d.amount, x);
5350
+ w.Real.length === 0 ? w.Real.push({ amount: v.amount }) : n(1, w.Real[0].amount += v.amount, w);
5365
5351
  break;
5366
5352
  }
5367
- for (const [d, H] of Object.entries(x))
5368
- H.length < 1 && delete x[d];
5369
- n(2, Z = !1);
5353
+ for (const [v, B] of Object.entries(w))
5354
+ B.length < 1 && delete w[v];
5355
+ n(2, k = !1);
5370
5356
  return;
5371
5357
  }
5372
- Ce = {
5358
+ ye = {
5373
5359
  Casino: {
5374
5360
  lastOrdinaryAfterAmount: 0,
5375
5361
  showCreditLineAfterAmount: !1
@@ -5379,202 +5365,202 @@ function Ea(e, t, n) {
5379
5365
  showCreditLineAfterAmount: !1
5380
5366
  }
5381
5367
  };
5382
- let A = v.items;
5383
- S && S !== "All" && (A = v.items.filter((d) => d.productType === S));
5384
- for (const d of A) {
5385
- let H;
5386
- switch (d.type) {
5368
+ let C = x.items;
5369
+ S && S !== "All" && (C = x.items.filter((v) => v.productType === S));
5370
+ for (const v of C) {
5371
+ let B;
5372
+ switch (v.type) {
5387
5373
  case "Bonus":
5388
- H = x.Bonus.findIndex((J) => J.productType === d.productType), H > 0 ? n(1, x.Bonus[H].amount += d.amount, x) : x.Bonus.push({
5389
- amount: d.amount,
5390
- productType: d.productType
5374
+ B = w.Bonus.findIndex((N) => N.productType === v.productType), B > 0 ? n(1, w.Bonus[B].amount += v.amount, w) : w.Bonus.push({
5375
+ amount: v.amount,
5376
+ productType: v.productType
5391
5377
  });
5392
5378
  break;
5393
5379
  case "Real":
5394
- d.creditLine && x.Credit.push({
5395
- amount: d.creditLine,
5396
- productType: d.productType
5397
- }), H = x.Real.findIndex((J) => J.productType === d.productType), H > 0 ? n(1, x.Real[H].amount += d.amount, x) : x.Real.push({
5398
- amount: d.amount,
5399
- productType: d.productType
5380
+ v.creditLine && w.Credit.push({
5381
+ amount: v.creditLine,
5382
+ productType: v.productType
5383
+ }), B = w.Real.findIndex((N) => N.productType === v.productType), B > 0 ? n(1, w.Real[B].amount += v.amount, w) : w.Real.push({
5384
+ amount: v.amount,
5385
+ productType: v.productType
5400
5386
  });
5401
5387
  break;
5402
5388
  }
5403
5389
  }
5404
- Pe();
5405
- for (const [d, H] of Object.entries(x))
5406
- H.length < 1 && delete x[d];
5407
- n(2, Z = !1);
5408
- }).catch((v) => {
5409
- throw n(2, Z = !1), console.log("Balance fetch error", v), new Error("Failed to fetch balance data!");
5390
+ lt();
5391
+ for (const [v, B] of Object.entries(w))
5392
+ B.length < 1 && delete w[v];
5393
+ n(2, k = !1);
5394
+ }).catch((x) => {
5395
+ throw n(2, k = !1), console.log("Balance fetch error", x), new Error("Failed to fetch balance data!");
5410
5396
  });
5411
- }, Je = () => {
5412
- if (te && te.close(), o.length < 1)
5397
+ }, Pe = () => {
5398
+ if (F && F.close(), o.length < 1)
5413
5399
  return;
5414
- let c, p;
5400
+ let c, d;
5415
5401
  switch (m) {
5416
5402
  case "gm16":
5417
- c = new URL(`${s}/v2/player/${i}/information/updates`), p = (B) => et(B);
5403
+ c = new URL(`${a}/v2/player/${i}/information/updates`), d = (T) => et(T);
5418
5404
  break;
5419
5405
  case "gmcore":
5420
- c = new URL(`${s}/v1/player/${i}/balance/updates`), p = (B) => Ht(B);
5406
+ c = new URL(`${a}/v1/player/${i}/balance/updates`), d = (T) => Ht(T);
5421
5407
  break;
5422
5408
  }
5423
- const E = {
5409
+ const p = {
5424
5410
  accept: "text/event-stream",
5425
5411
  "X-SessionId": o
5426
- }, v = new ea.EventSourcePolyfill(c, { headers: E });
5427
- te = v, v.addEventListener("message", p);
5412
+ }, x = new Jo.EventSourcePolyfill(c, { headers: p });
5413
+ F = x, x.addEventListener("message", d);
5428
5414
  }, ut = (c) => {
5429
- let p;
5415
+ let d;
5430
5416
  try {
5431
- p = JSON.parse(c);
5432
- } catch (E) {
5433
- console.log("Balance stream failed: ", E);
5417
+ d = JSON.parse(c);
5418
+ } catch (p) {
5419
+ console.log("Balance stream failed: ", p);
5434
5420
  return;
5435
5421
  }
5436
- return p;
5422
+ return d;
5437
5423
  }, Ht = (c) => {
5438
- var B, A;
5439
- const p = ut(c.data);
5440
- if (!p) {
5441
- Je();
5424
+ var T, C;
5425
+ const d = ut(c.data);
5426
+ if (!d) {
5427
+ Pe();
5442
5428
  return;
5443
5429
  }
5444
- let E = "0";
5445
- const v = p.balanceChange;
5446
- ce = ce.map((d) => (v && v[d.id] && (d = Dt(Nt({}, d), {
5447
- balanceAmount: v[d.id].afterAmount
5448
- })), E = (parseFloat(d == null ? void 0 : d.balanceAmount) + parseFloat(E)).toString(), d)), n(1, x.Real = [{ amount: (B = ce[0]) == null ? void 0 : B.balanceAmount }], x), n(1, x.Bonus = [{ amount: (A = ce[1]) == null ? void 0 : A.balanceAmount }], x), n(1, x.Total = [{ amount: Number(E) }], x);
5449
- }, Ke = (c, p, E) => {
5450
- let v = null;
5451
- switch (E.walletAccountType) {
5430
+ let p = "0";
5431
+ const x = d.balanceChange;
5432
+ fe = fe.map((v) => (x && x[v.id] && (v = Dt(It({}, v), {
5433
+ balanceAmount: x[v.id].afterAmount
5434
+ })), p = (parseFloat(v == null ? void 0 : v.balanceAmount) + parseFloat(p)).toString(), v)), n(1, w.Real = [{ amount: (T = fe[0]) == null ? void 0 : T.balanceAmount }], w), n(1, w.Bonus = [{ amount: (C = fe[1]) == null ? void 0 : C.balanceAmount }], w), n(1, w.Total = [{ amount: Number(p) }], w);
5435
+ }, Ke = (c, d, p) => {
5436
+ let x = null;
5437
+ switch (p.walletAccountType) {
5452
5438
  case "Ordinary":
5453
- (E.afterAmount !== E.affectedAmount || p.lastOrdinaryAfterAmount === 0) && (p.lastOrdinaryAfterAmount = E.afterAmount, p.showCreditLineAfterAmount || (v = E.afterAmount));
5439
+ (p.afterAmount !== p.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = p.afterAmount, d.showCreditLineAfterAmount || (x = p.afterAmount));
5454
5440
  break;
5455
5441
  case "CreditLine":
5456
- E.afterAmount !== 0 ? (v = E.afterAmount, p.showCreditLineAfterAmount = !0) : (v = p.lastOrdinaryAfterAmount, p.showCreditLineAfterAmount = !1);
5442
+ p.afterAmount !== 0 ? (x = p.afterAmount, d.showCreditLineAfterAmount = !0) : (x = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
5457
5443
  break;
5458
5444
  default:
5459
- v = E.afterAmount;
5445
+ x = p.afterAmount;
5460
5446
  }
5461
- return v === null ? c : v;
5462
- }, Pe = () => {
5463
- switch (_) {
5447
+ return x === null ? c : x;
5448
+ }, lt = () => {
5449
+ switch (E) {
5464
5450
  case "totalCashAmount":
5465
5451
  let c = 0;
5466
- for (const E of ["Real", "Bonus"])
5467
- for (const v of x[E])
5468
- c += Math.max(v.amount, 0);
5469
- n(1, x.Total[0].amount = c, x);
5452
+ for (const p of ["Real", "Bonus"])
5453
+ for (const x of w[p])
5454
+ c += Math.max(x.amount, 0);
5455
+ n(1, w.Total[0].amount = c, w);
5470
5456
  break;
5471
5457
  case "totalRealAmount":
5472
- if (!F)
5458
+ if (!Z)
5473
5459
  return;
5474
- let p = 0;
5475
- for (const E of x.Real)
5476
- p += E.amount;
5477
- n(1, x.Total[0].amount = p, x);
5460
+ let d = 0;
5461
+ for (const p of w.Real)
5462
+ d += p.amount;
5463
+ n(1, w.Total[0].amount = d, w);
5478
5464
  }
5479
5465
  }, et = (c) => {
5480
- const p = ut(c.data);
5481
- if (!p) {
5482
- Je();
5466
+ const d = ut(c.data);
5467
+ if (!d) {
5468
+ Pe();
5483
5469
  return;
5484
5470
  }
5485
- if (se(p == null ? void 0 : p.type) || p.type !== "BALANCE_UPDATE_V2")
5471
+ if (Ae(d == null ? void 0 : d.type) || d.type !== "BALANCE_UPDATE_V2")
5486
5472
  return;
5487
- const E = p.body.balanceChange;
5488
- for (const [v, B] of Object.entries(E))
5489
- if (_ === "totalRealAmount" && v === "Real" && !F && n(1, x.Total[0].amount = Ke(x.Total[0].amount, Ce, B), x), !!x[v])
5490
- for (const A of x[v]) {
5491
- if (!F) {
5492
- A.amount = v === "Real" ? Ke(A.amount, Ce, B) : B.afterAmount;
5473
+ const p = d.body.balanceChange;
5474
+ for (const [x, T] of Object.entries(p))
5475
+ if (E === "totalRealAmount" && x === "Real" && !Z && n(1, w.Total[0].amount = Ke(w.Total[0].amount, ye, T), w), !!w[x])
5476
+ for (const C of w[x]) {
5477
+ if (!Z) {
5478
+ C.amount = x === "Real" ? Ke(C.amount, ye, T) : T.afterAmount;
5493
5479
  continue;
5494
5480
  }
5495
- B.productType === A.productType && (A.amount = v === "Real" ? Ke(A.amount, Ce[A.productType], B) : B.afterAmount);
5481
+ T.productType === C.productType && (C.amount = x === "Real" ? Ke(C.amount, ye[C.productType], T) : T.afterAmount);
5496
5482
  }
5497
- Pe();
5498
- }, Ee = () => {
5499
- de("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5500
- }, se = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, Ot = () => {
5501
- ae.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ae}. Using default value ('${ae[0]}').`), n(10, _ = ae[0]));
5502
- }, Mt = () => {
5503
- switch (Ko(a), Ot(), m) {
5483
+ lt();
5484
+ }, Ne = () => {
5485
+ le("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5486
+ }, Ae = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, ae = () => {
5487
+ ve.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${ve}. Using default value ('${ve[0]}').`), n(10, E = ve[0]));
5488
+ }, Ot = () => {
5489
+ switch (Qo(s), ae(), m) {
5504
5490
  case "gmcore":
5505
- Qe();
5491
+ be();
5506
5492
  break;
5507
5493
  case "gm16":
5508
- lt();
5494
+ Je();
5509
5495
  break;
5510
5496
  default:
5511
5497
  throw Error(`Invalid apiversion attribute: ${m}`);
5512
5498
  }
5513
- }, ct = (c) => c.data && c.data.type === "LogoutSuccessfull" && te.close(), ht = () => {
5499
+ }, ct = (c) => c.data && c.data.type === "LogoutSuccessfull" && F.close(), Mt = () => {
5514
5500
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5515
5501
  };
5516
- Wr(() => (window.addEventListener("message", ct, !1), n(5, X = ma(k)), () => {
5517
- window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", ct), te && te.close();
5502
+ Vr(() => (window.addEventListener("message", ct, !1), n(5, U = da(q)), () => {
5503
+ window.removeEventListener("message", ct), F && F.close();
5518
5504
  }));
5519
- const h = () => de("balance"), y = () => de("closebalance"), w = () => Ee(), g = () => de("closebalance");
5520
- function C(c) {
5521
- Wt[c ? "unshift" : "push"](() => {
5522
- U = c, n(0, U);
5505
+ const ht = () => le("balance"), h = () => le("closebalance"), y = () => Ne(), _ = () => le("closebalance");
5506
+ function g(c) {
5507
+ zt[c ? "unshift" : "push"](() => {
5508
+ D = c, n(0, D);
5523
5509
  });
5524
5510
  }
5525
5511
  return e.$$set = (c) => {
5526
- "userid" in c && n(11, i = c.userid), "session" in c && n(12, o = c.session), "endpoint" in c && n(13, s = c.endpoint), "lang" in c && n(14, a = c.lang), "mbsource" in c && n(15, u = c.mbsource), "clientstyling" in c && n(16, l = c.clientstyling), "clientstylingurl" in c && n(17, f = c.clientstylingurl), "translationurl" in c && n(18, b = c.translationurl), "gmversion" in c && n(19, m = c.gmversion), "displaybalanceoption" in c && n(20, S = c.displaybalanceoption), "totalcalculationmode" in c && n(10, _ = c.totalcalculationmode), "currencylocale" in c && n(21, T = c.currencylocale), "currencydisplay" in c && n(22, N = c.currencydisplay), "maximumfractiondigits" in c && n(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && n(24, V = c.minimumfractiondigits), "customdisplayformat" in c && n(25, L = c.customdisplayformat);
5512
+ "userid" in c && n(11, i = c.userid), "session" in c && n(12, o = c.session), "endpoint" in c && n(13, a = c.endpoint), "lang" in c && n(14, s = c.lang), "mbsource" in c && n(15, l = c.mbsource), "clientstyling" in c && n(16, u = c.clientstyling), "clientstylingurl" in c && n(17, f = c.clientstylingurl), "translationurl" in c && n(18, b = c.translationurl), "gmversion" in c && n(19, m = c.gmversion), "displaybalanceoption" in c && n(20, S = c.displaybalanceoption), "totalcalculationmode" in c && n(10, E = c.totalcalculationmode), "currencylocale" in c && n(21, A = c.currencylocale), "currencydisplay" in c && n(22, I = c.currencydisplay), "maximumfractiondigits" in c && n(23, W = c.maximumfractiondigits), "minimumfractiondigits" in c && n(24, V = c.minimumfractiondigits), "customdisplayformat" in c && n(25, R = c.customdisplayformat);
5527
5513
  }, e.$$.update = () => {
5528
5514
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5529
- 1603584 && s && i && o && a && m && S && Mt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5530
- 538624 && s && i && o && m && Je(), e.$$.dirty[0] & /*translationurl*/
5531
- 262144 && b && He(), e.$$.dirty[0] & /*balances*/
5532
- 2 && x.Total && ht(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5533
- 65537 && l && U && si(U, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5534
- 131073 && f && U && li(U, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5535
- 32769 && u && U && ui(U, `${u}.Style`);
5515
+ 1603584 && a && i && o && s && m && S && Ot(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5516
+ 538624 && a && i && o && m && Pe(), e.$$.dirty[0] & /*translationurl*/
5517
+ 262144 && b && me(), e.$$.dirty[0] & /*balances*/
5518
+ 2 && w.Total && Mt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5519
+ 65537 && u && D && ii(D, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5520
+ 131073 && f && D && oi(D, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5521
+ 32769 && l && D && ai(D, `${l}.Style`);
5536
5522
  }, [
5537
- U,
5538
- x,
5539
- Z,
5540
- ee,
5541
5523
  D,
5542
- X,
5524
+ w,
5525
+ k,
5526
+ oe,
5527
+ $,
5528
+ U,
5543
5529
  r,
5544
- de,
5545
- Ye,
5546
- Ee,
5547
- _,
5530
+ le,
5531
+ Oe,
5532
+ Ne,
5533
+ E,
5548
5534
  i,
5549
5535
  o,
5550
- s,
5551
5536
  a,
5552
- u,
5537
+ s,
5553
5538
  l,
5539
+ u,
5554
5540
  f,
5555
5541
  b,
5556
5542
  m,
5557
5543
  S,
5558
- T,
5559
- N,
5544
+ A,
5545
+ I,
5560
5546
  W,
5561
5547
  V,
5562
- L,
5548
+ R,
5549
+ ht,
5563
5550
  h,
5564
5551
  y,
5565
- w,
5566
- g,
5567
- C
5552
+ _,
5553
+ g
5568
5554
  ];
5569
5555
  }
5570
- class _a extends oi {
5556
+ class va extends ni {
5571
5557
  constructor(t) {
5572
- super(), ri(
5558
+ super(), ei(
5573
5559
  this,
5574
5560
  t,
5575
- Ea,
5576
- va,
5577
- Yn,
5561
+ ya,
5562
+ ga,
5563
+ Zn,
5578
5564
  {
5579
5565
  userid: 11,
5580
5566
  session: 12,
@@ -5593,7 +5579,7 @@ class _a extends oi {
5593
5579
  minimumfractiondigits: 24,
5594
5580
  customdisplayformat: 25
5595
5581
  },
5596
- ba,
5582
+ pa,
5597
5583
  [-1, -1]
5598
5584
  );
5599
5585
  }
@@ -5601,100 +5587,100 @@ class _a extends oi {
5601
5587
  return this.$$.ctx[11];
5602
5588
  }
5603
5589
  set userid(t) {
5604
- this.$$set({ userid: t }), Y();
5590
+ this.$$set({ userid: t }), Q();
5605
5591
  }
5606
5592
  get session() {
5607
5593
  return this.$$.ctx[12];
5608
5594
  }
5609
5595
  set session(t) {
5610
- this.$$set({ session: t }), Y();
5596
+ this.$$set({ session: t }), Q();
5611
5597
  }
5612
5598
  get endpoint() {
5613
5599
  return this.$$.ctx[13];
5614
5600
  }
5615
5601
  set endpoint(t) {
5616
- this.$$set({ endpoint: t }), Y();
5602
+ this.$$set({ endpoint: t }), Q();
5617
5603
  }
5618
5604
  get lang() {
5619
5605
  return this.$$.ctx[14];
5620
5606
  }
5621
5607
  set lang(t) {
5622
- this.$$set({ lang: t }), Y();
5608
+ this.$$set({ lang: t }), Q();
5623
5609
  }
5624
5610
  get mbsource() {
5625
5611
  return this.$$.ctx[15];
5626
5612
  }
5627
5613
  set mbsource(t) {
5628
- this.$$set({ mbsource: t }), Y();
5614
+ this.$$set({ mbsource: t }), Q();
5629
5615
  }
5630
5616
  get clientstyling() {
5631
5617
  return this.$$.ctx[16];
5632
5618
  }
5633
5619
  set clientstyling(t) {
5634
- this.$$set({ clientstyling: t }), Y();
5620
+ this.$$set({ clientstyling: t }), Q();
5635
5621
  }
5636
5622
  get clientstylingurl() {
5637
5623
  return this.$$.ctx[17];
5638
5624
  }
5639
5625
  set clientstylingurl(t) {
5640
- this.$$set({ clientstylingurl: t }), Y();
5626
+ this.$$set({ clientstylingurl: t }), Q();
5641
5627
  }
5642
5628
  get translationurl() {
5643
5629
  return this.$$.ctx[18];
5644
5630
  }
5645
5631
  set translationurl(t) {
5646
- this.$$set({ translationurl: t }), Y();
5632
+ this.$$set({ translationurl: t }), Q();
5647
5633
  }
5648
5634
  get gmversion() {
5649
5635
  return this.$$.ctx[19];
5650
5636
  }
5651
5637
  set gmversion(t) {
5652
- this.$$set({ gmversion: t }), Y();
5638
+ this.$$set({ gmversion: t }), Q();
5653
5639
  }
5654
5640
  get displaybalanceoption() {
5655
5641
  return this.$$.ctx[20];
5656
5642
  }
5657
5643
  set displaybalanceoption(t) {
5658
- this.$$set({ displaybalanceoption: t }), Y();
5644
+ this.$$set({ displaybalanceoption: t }), Q();
5659
5645
  }
5660
5646
  get totalcalculationmode() {
5661
5647
  return this.$$.ctx[10];
5662
5648
  }
5663
5649
  set totalcalculationmode(t) {
5664
- this.$$set({ totalcalculationmode: t }), Y();
5650
+ this.$$set({ totalcalculationmode: t }), Q();
5665
5651
  }
5666
5652
  get currencylocale() {
5667
5653
  return this.$$.ctx[21];
5668
5654
  }
5669
5655
  set currencylocale(t) {
5670
- this.$$set({ currencylocale: t }), Y();
5656
+ this.$$set({ currencylocale: t }), Q();
5671
5657
  }
5672
5658
  get currencydisplay() {
5673
5659
  return this.$$.ctx[22];
5674
5660
  }
5675
5661
  set currencydisplay(t) {
5676
- this.$$set({ currencydisplay: t }), Y();
5662
+ this.$$set({ currencydisplay: t }), Q();
5677
5663
  }
5678
5664
  get maximumfractiondigits() {
5679
5665
  return this.$$.ctx[23];
5680
5666
  }
5681
5667
  set maximumfractiondigits(t) {
5682
- this.$$set({ maximumfractiondigits: t }), Y();
5668
+ this.$$set({ maximumfractiondigits: t }), Q();
5683
5669
  }
5684
5670
  get minimumfractiondigits() {
5685
5671
  return this.$$.ctx[24];
5686
5672
  }
5687
5673
  set minimumfractiondigits(t) {
5688
- this.$$set({ minimumfractiondigits: t }), Y();
5674
+ this.$$set({ minimumfractiondigits: t }), Q();
5689
5675
  }
5690
5676
  get customdisplayformat() {
5691
5677
  return this.$$.ctx[25];
5692
5678
  }
5693
5679
  set customdisplayformat(t) {
5694
- this.$$set({ customdisplayformat: t }), Y();
5680
+ this.$$set({ customdisplayformat: t }), Q();
5695
5681
  }
5696
5682
  }
5697
- ii(_a, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5683
+ ti(va, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
5698
5684
  export {
5699
- _a as default
5685
+ va as default
5700
5686
  };