@everymatrix/player-account-balance-modal-nd 1.54.4 → 1.54.8
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.
- package/components/{PlayerAccountBalanceModalNd-COc5wnIX.js → PlayerAccountBalanceModalNd-BAeICRDi.js} +353 -357
- package/components/PlayerAccountBalanceModalNd-BdEMS3SW.cjs +15 -0
- package/components/PlayerAccountBalanceModalNd-CGSG18gr.js +5274 -0
- package/es2015/player-account-balance-modal-nd.cjs +1 -0
- package/es2015/player-account-balance-modal-nd.js +16 -0
- package/esnext/player-account-balance-modal-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function se() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Sn(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function tn() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function $e(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Sn);
|
|
11
11
|
}
|
|
12
12
|
function Qt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function An(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function ir(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Cn(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const r of t)
|
|
24
24
|
r(void 0);
|
|
@@ -27,20 +27,20 @@ function Hn(e, ...t) {
|
|
|
27
27
|
const n = e.subscribe(...t);
|
|
28
28
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function ar(e, t, n) {
|
|
31
|
+
e.$$.on_destroy.push(Cn(t, n));
|
|
32
32
|
}
|
|
33
33
|
function C(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const r =
|
|
36
|
+
function or(e, t, n) {
|
|
37
|
+
const r = sr(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
39
|
const i = $("style");
|
|
40
|
-
i.id = t, i.textContent = n,
|
|
40
|
+
i.id = t, i.textContent = n, lr(r, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function sr(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -49,7 +49,7 @@ function lr(e) {
|
|
|
49
49
|
t
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function lr(e, t) {
|
|
53
53
|
return C(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
@@ -62,14 +62,14 @@ function me(e, t, n) {
|
|
|
62
62
|
function he(e) {
|
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Hn(e, t) {
|
|
66
66
|
for (let n = 0; n < e.length; n += 1)
|
|
67
67
|
e[n] && e[n].d(t);
|
|
68
68
|
}
|
|
69
69
|
function $(e) {
|
|
70
70
|
return document.createElement(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function nn(e) {
|
|
73
73
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
74
74
|
}
|
|
75
75
|
function ce(e) {
|
|
@@ -78,7 +78,7 @@ function ce(e) {
|
|
|
78
78
|
function fe() {
|
|
79
79
|
return ce(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ur() {
|
|
82
82
|
return ce("");
|
|
83
83
|
}
|
|
84
84
|
function dt(e, t, n, r) {
|
|
@@ -87,14 +87,14 @@ function dt(e, t, n, r) {
|
|
|
87
87
|
function M(e, t, n) {
|
|
88
88
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function cr(e) {
|
|
91
91
|
return Array.from(e.childNodes);
|
|
92
92
|
}
|
|
93
93
|
function _e(e, t) {
|
|
94
94
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
95
95
|
t);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function hr(e) {
|
|
98
98
|
const t = {};
|
|
99
99
|
return e.childNodes.forEach(
|
|
100
100
|
/** @param {Element} node */
|
|
@@ -107,19 +107,19 @@ let Ke;
|
|
|
107
107
|
function Ye(e) {
|
|
108
108
|
Ke = e;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function fr() {
|
|
111
111
|
if (!Ke) throw new Error("Function called outside component initialization");
|
|
112
112
|
return Ke;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function dr(e) {
|
|
115
|
+
fr().$$.on_mount.push(e);
|
|
116
116
|
}
|
|
117
117
|
const Ie = [], Dt = [];
|
|
118
118
|
let Pe = [];
|
|
119
|
-
const
|
|
119
|
+
const rn = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
120
120
|
let Ut = !1;
|
|
121
|
-
function
|
|
122
|
-
Ut || (Ut = !0,
|
|
121
|
+
function mr() {
|
|
122
|
+
Ut || (Ut = !0, pr.then(Q));
|
|
123
123
|
}
|
|
124
124
|
function Ft(e) {
|
|
125
125
|
Pe.push(e);
|
|
@@ -134,7 +134,7 @@ function Q() {
|
|
|
134
134
|
try {
|
|
135
135
|
for (; Me < Ie.length; ) {
|
|
136
136
|
const t = Ie[Me];
|
|
137
|
-
Me++, Ye(t),
|
|
137
|
+
Me++, Ye(t), gr(t.$$);
|
|
138
138
|
}
|
|
139
139
|
} catch (t) {
|
|
140
140
|
throw Ie.length = 0, Me = 0, t;
|
|
@@ -146,43 +146,43 @@ function Q() {
|
|
|
146
146
|
}
|
|
147
147
|
Pe.length = 0;
|
|
148
148
|
} while (Ie.length);
|
|
149
|
-
for (;
|
|
150
|
-
|
|
149
|
+
for (; rn.length; )
|
|
150
|
+
rn.pop()();
|
|
151
151
|
Ut = !1, Ot.clear(), Ye(e);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function gr(e) {
|
|
154
154
|
if (e.fragment !== null) {
|
|
155
155
|
e.update(), $e(e.before_update);
|
|
156
156
|
const t = e.dirty;
|
|
157
157
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ft);
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function br(e) {
|
|
161
161
|
const t = [], n = [];
|
|
162
162
|
Pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Pe = t;
|
|
163
163
|
}
|
|
164
|
-
const
|
|
165
|
-
function
|
|
166
|
-
e && e.i && (
|
|
164
|
+
const yr = /* @__PURE__ */ new Set();
|
|
165
|
+
function vr(e, t) {
|
|
166
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
167
167
|
}
|
|
168
168
|
function pt(e) {
|
|
169
169
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Er(e, t, n) {
|
|
172
172
|
const { fragment: r, after_update: i } = e.$$;
|
|
173
173
|
r && r.m(t, n), Ft(() => {
|
|
174
|
-
const a = e.$$.on_mount.map(
|
|
174
|
+
const a = e.$$.on_mount.map(Sn).filter(Qt);
|
|
175
175
|
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : $e(a), e.$$.on_mount = [];
|
|
176
176
|
}), i.forEach(Ft);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function xr(e, t) {
|
|
179
179
|
const n = e.$$;
|
|
180
|
-
n.fragment !== null && (
|
|
180
|
+
n.fragment !== null && (br(n.after_update), $e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
e.$$.dirty[0] === -1 && (Ie.push(e),
|
|
182
|
+
function _r(e, t) {
|
|
183
|
+
e.$$.dirty[0] === -1 && (Ie.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Br(e, t, n, r, i, a, l = null, s = [-1]) {
|
|
186
186
|
const h = Ke;
|
|
187
187
|
Ye(e);
|
|
188
188
|
const u = e.$$ = {
|
|
@@ -192,7 +192,7 @@ function Tr(e, t, n, r, i, a, l = null, s = [-1]) {
|
|
|
192
192
|
props: a,
|
|
193
193
|
update: se,
|
|
194
194
|
not_equal: i,
|
|
195
|
-
bound:
|
|
195
|
+
bound: tn(),
|
|
196
196
|
// lifecycle
|
|
197
197
|
on_mount: [],
|
|
198
198
|
on_destroy: [],
|
|
@@ -201,28 +201,28 @@ function Tr(e, t, n, r, i, a, l = null, s = [-1]) {
|
|
|
201
201
|
after_update: [],
|
|
202
202
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
203
203
|
// everything else
|
|
204
|
-
callbacks:
|
|
204
|
+
callbacks: tn(),
|
|
205
205
|
dirty: s,
|
|
206
206
|
skip_bound: !1,
|
|
207
207
|
root: t.target || h.$$.root
|
|
208
208
|
};
|
|
209
209
|
l && l(u.root);
|
|
210
210
|
let d = !1;
|
|
211
|
-
if (u.ctx = n(e, t.props || {}, (b, y, ...B) => {
|
|
211
|
+
if (u.ctx = n ? n(e, t.props || {}, (b, y, ...B) => {
|
|
212
212
|
const x = B.length ? B[0] : y;
|
|
213
|
-
return u.ctx && i(u.ctx[b], u.ctx[b] = x) && (!u.skip_bound && u.bound[b] && u.bound[b](x), d &&
|
|
214
|
-
}), u.update(), d = !0, $e(u.before_update), u.fragment = r(u.ctx), t.target) {
|
|
213
|
+
return u.ctx && i(u.ctx[b], u.ctx[b] = x) && (!u.skip_bound && u.bound[b] && u.bound[b](x), d && _r(e, b)), y;
|
|
214
|
+
}) : [], u.update(), d = !0, $e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
215
215
|
if (t.hydrate) {
|
|
216
|
-
const b =
|
|
216
|
+
const b = cr(t.target);
|
|
217
217
|
u.fragment && u.fragment.l(b), b.forEach(he);
|
|
218
218
|
} else
|
|
219
219
|
u.fragment && u.fragment.c();
|
|
220
|
-
t.intro &&
|
|
220
|
+
t.intro && vr(e.$$.fragment), Er(e, t.target, t.anchor), Q();
|
|
221
221
|
}
|
|
222
222
|
Ye(h);
|
|
223
223
|
}
|
|
224
|
-
let
|
|
225
|
-
typeof HTMLElement == "function" && (
|
|
224
|
+
let On;
|
|
225
|
+
typeof HTMLElement == "function" && (On = class extends HTMLElement {
|
|
226
226
|
/** The Svelte component constructor */
|
|
227
227
|
$$ctor;
|
|
228
228
|
/** Slots */
|
|
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (Rn = class extends HTMLElement {
|
|
|
281
281
|
};
|
|
282
282
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
283
283
|
return;
|
|
284
|
-
const t = {}, n =
|
|
284
|
+
const t = {}, n = hr(this);
|
|
285
285
|
for (const i of this.$$s)
|
|
286
286
|
i in n && (t[i] = [e(i)]);
|
|
287
287
|
for (const i of this.attributes) {
|
|
@@ -368,8 +368,8 @@ function ut(e, t, n, r) {
|
|
|
368
368
|
return t;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
let l = class extends
|
|
371
|
+
function Tr(e, t, n, r, i, a) {
|
|
372
|
+
let l = class extends On {
|
|
373
373
|
constructor() {
|
|
374
374
|
super(e, n, i), this.$$p_d = t;
|
|
375
375
|
}
|
|
@@ -397,7 +397,7 @@ function wr(e, t, n, r, i, a) {
|
|
|
397
397
|
}), e.element = /** @type {any} */
|
|
398
398
|
l, l;
|
|
399
399
|
}
|
|
400
|
-
class
|
|
400
|
+
class wr {
|
|
401
401
|
/**
|
|
402
402
|
* ### PRIVATE API
|
|
403
403
|
*
|
|
@@ -416,7 +416,7 @@ class Sr {
|
|
|
416
416
|
$$set = void 0;
|
|
417
417
|
/** @returns {void} */
|
|
418
418
|
$destroy() {
|
|
419
|
-
|
|
419
|
+
xr(this, 1), this.$destroy = se;
|
|
420
420
|
}
|
|
421
421
|
/**
|
|
422
422
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -438,13 +438,13 @@ class Sr {
|
|
|
438
438
|
* @returns {void}
|
|
439
439
|
*/
|
|
440
440
|
$set(t) {
|
|
441
|
-
this.$$set && !
|
|
441
|
+
this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
const
|
|
445
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
444
|
+
const Sr = "4";
|
|
445
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
|
|
446
446
|
const Ne = [];
|
|
447
|
-
function
|
|
447
|
+
function Ar(e, t) {
|
|
448
448
|
return {
|
|
449
449
|
subscribe: bt(e, t).subscribe
|
|
450
450
|
};
|
|
@@ -453,7 +453,7 @@ function bt(e, t = se) {
|
|
|
453
453
|
let n;
|
|
454
454
|
const r = /* @__PURE__ */ new Set();
|
|
455
455
|
function i(s) {
|
|
456
|
-
if (
|
|
456
|
+
if (An(e, s) && (e = s, n)) {
|
|
457
457
|
const h = !Ne.length;
|
|
458
458
|
for (const u of r)
|
|
459
459
|
u[1](), Ne.push(u, e);
|
|
@@ -480,7 +480,7 @@ function ke(e, t, n) {
|
|
|
480
480
|
if (!i.every(Boolean))
|
|
481
481
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
482
482
|
const a = t.length < 2;
|
|
483
|
-
return
|
|
483
|
+
return Ar(n, (l, s) => {
|
|
484
484
|
let h = !1;
|
|
485
485
|
const u = [];
|
|
486
486
|
let d = 0, b = se;
|
|
@@ -491,7 +491,7 @@ function ke(e, t, n) {
|
|
|
491
491
|
const x = t(r ? u[0] : u, l, s);
|
|
492
492
|
a ? l(x) : b = Qt(x) ? x : se;
|
|
493
493
|
}, B = i.map(
|
|
494
|
-
(x, H) =>
|
|
494
|
+
(x, H) => Cn(
|
|
495
495
|
x,
|
|
496
496
|
(_) => {
|
|
497
497
|
u[H] = _, d &= ~(1 << H), h && y();
|
|
@@ -506,71 +506,71 @@ function ke(e, t, n) {
|
|
|
506
506
|
};
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
var
|
|
510
|
-
function
|
|
509
|
+
var Cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
510
|
+
function Hr(e) {
|
|
511
511
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
512
512
|
}
|
|
513
|
-
var
|
|
514
|
-
return
|
|
513
|
+
var Or = function(t) {
|
|
514
|
+
return Rr(t) && !Lr(t);
|
|
515
515
|
};
|
|
516
|
-
function
|
|
516
|
+
function Rr(e) {
|
|
517
517
|
return !!e && typeof e == "object";
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Lr(e) {
|
|
520
520
|
var t = Object.prototype.toString.call(e);
|
|
521
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
521
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
|
|
522
522
|
}
|
|
523
|
-
var
|
|
524
|
-
function
|
|
525
|
-
return e.$$typeof ===
|
|
523
|
+
var Mr = typeof Symbol == "function" && Symbol.for, Nr = Mr ? Symbol.for("react.element") : 60103;
|
|
524
|
+
function Ir(e) {
|
|
525
|
+
return e.$$typeof === Nr;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function Pr(e) {
|
|
528
528
|
return Array.isArray(e) ? [] : {};
|
|
529
529
|
}
|
|
530
530
|
function et(e, t) {
|
|
531
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? De(
|
|
531
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? De(Pr(e), e, t) : e;
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function Dr(e, t, n) {
|
|
534
534
|
return e.concat(t).map(function(r) {
|
|
535
535
|
return et(r, n);
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Ur(e, t) {
|
|
539
539
|
if (!t.customMerge)
|
|
540
540
|
return De;
|
|
541
541
|
var n = t.customMerge(e);
|
|
542
542
|
return typeof n == "function" ? n : De;
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Fr(e) {
|
|
545
545
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
546
546
|
return Object.propertyIsEnumerable.call(e, t);
|
|
547
547
|
}) : [];
|
|
548
548
|
}
|
|
549
|
-
function
|
|
550
|
-
return Object.keys(e).concat(
|
|
549
|
+
function an(e) {
|
|
550
|
+
return Object.keys(e).concat(Fr(e));
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Rn(e, t) {
|
|
553
553
|
try {
|
|
554
554
|
return t in e;
|
|
555
555
|
} catch {
|
|
556
556
|
return !1;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
return
|
|
559
|
+
function Gr(e, t) {
|
|
560
|
+
return Rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function $r(e, t, n) {
|
|
563
563
|
var r = {};
|
|
564
|
-
return n.isMergeableObject(e) &&
|
|
564
|
+
return n.isMergeableObject(e) && an(e).forEach(function(i) {
|
|
565
565
|
r[i] = et(e[i], n);
|
|
566
|
-
}),
|
|
567
|
-
|
|
566
|
+
}), an(t).forEach(function(i) {
|
|
567
|
+
Gr(e, i) || (Rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ur(i, n)(e[i], t[i], n) : r[i] = et(t[i], n));
|
|
568
568
|
}), r;
|
|
569
569
|
}
|
|
570
570
|
function De(e, t, n) {
|
|
571
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
571
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Dr, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = et;
|
|
572
572
|
var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
|
|
573
|
-
return a ? r ? n.arrayMerge(e, t, n) :
|
|
573
|
+
return a ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) : et(t, n);
|
|
574
574
|
}
|
|
575
575
|
De.all = function(t, n) {
|
|
576
576
|
if (!Array.isArray(t))
|
|
@@ -579,8 +579,8 @@ De.all = function(t, n) {
|
|
|
579
579
|
return De(r, i, n);
|
|
580
580
|
}, {});
|
|
581
581
|
};
|
|
582
|
-
var
|
|
583
|
-
const
|
|
582
|
+
var kr = De, jr = kr;
|
|
583
|
+
const Vr = /* @__PURE__ */ Hr(jr);
|
|
584
584
|
var Gt = function(e, t) {
|
|
585
585
|
return Gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
586
586
|
n.__proto__ = r;
|
|
@@ -606,7 +606,7 @@ var I = function() {
|
|
|
606
606
|
return t;
|
|
607
607
|
}, I.apply(this, arguments);
|
|
608
608
|
};
|
|
609
|
-
function
|
|
609
|
+
function Xr(e, t) {
|
|
610
610
|
var n = {};
|
|
611
611
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
612
612
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -620,39 +620,36 @@ function Rt(e, t, n) {
|
|
|
620
620
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
621
621
|
}
|
|
622
622
|
function Lt(e, t) {
|
|
623
|
-
var n = t && t.cache ? t.cache :
|
|
623
|
+
var n = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Zr;
|
|
624
624
|
return i(e, {
|
|
625
625
|
cache: n,
|
|
626
626
|
serializer: r
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function zr(e) {
|
|
630
630
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
var i =
|
|
632
|
+
function Wr(e, t, n, r) {
|
|
633
|
+
var i = zr(r) ? r : n(r), a = t.get(i);
|
|
634
634
|
return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function Ln(e, t, n) {
|
|
637
637
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
|
|
638
638
|
return typeof a > "u" && (a = e.apply(this, r), t.set(i, a)), a;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Mn(e, t, n, r, i) {
|
|
641
641
|
return n.bind(t, e, r, i);
|
|
642
642
|
}
|
|
643
643
|
function Zr(e, t) {
|
|
644
|
-
var n = e.length === 1 ?
|
|
645
|
-
return
|
|
644
|
+
var n = e.length === 1 ? Wr : Ln;
|
|
645
|
+
return Mn(e, this, n, t.cache.create(), t.serializer);
|
|
646
646
|
}
|
|
647
647
|
function qr(e, t) {
|
|
648
|
-
return
|
|
648
|
+
return Mn(e, this, Ln, t.cache.create(), t.serializer);
|
|
649
649
|
}
|
|
650
|
-
|
|
651
|
-
return Jt(e, this, Mn, t.cache.create(), t.serializer);
|
|
652
|
-
}
|
|
653
|
-
var Jr = function() {
|
|
650
|
+
var Qr = function() {
|
|
654
651
|
return JSON.stringify(arguments);
|
|
655
|
-
},
|
|
652
|
+
}, Jr = (
|
|
656
653
|
/** @class */
|
|
657
654
|
function() {
|
|
658
655
|
function e() {
|
|
@@ -664,13 +661,12 @@ var Jr = function() {
|
|
|
664
661
|
this.cache[t] = n;
|
|
665
662
|
}, e;
|
|
666
663
|
}()
|
|
667
|
-
),
|
|
664
|
+
), Yr = {
|
|
668
665
|
create: function() {
|
|
669
|
-
return new
|
|
666
|
+
return new Jr();
|
|
670
667
|
}
|
|
671
668
|
}, Mt = {
|
|
672
|
-
variadic: qr
|
|
673
|
-
monadic: Qr
|
|
669
|
+
variadic: qr
|
|
674
670
|
}, R;
|
|
675
671
|
(function(e) {
|
|
676
672
|
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";
|
|
@@ -683,43 +679,43 @@ var Ue;
|
|
|
683
679
|
(function(e) {
|
|
684
680
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
685
681
|
})(Ue || (Ue = {}));
|
|
686
|
-
function
|
|
682
|
+
function on(e) {
|
|
687
683
|
return e.type === G.literal;
|
|
688
684
|
}
|
|
689
|
-
function
|
|
685
|
+
function Kr(e) {
|
|
690
686
|
return e.type === G.argument;
|
|
691
687
|
}
|
|
692
|
-
function
|
|
688
|
+
function Nn(e) {
|
|
693
689
|
return e.type === G.number;
|
|
694
690
|
}
|
|
695
|
-
function
|
|
691
|
+
function In(e) {
|
|
696
692
|
return e.type === G.date;
|
|
697
693
|
}
|
|
698
|
-
function
|
|
694
|
+
function Pn(e) {
|
|
699
695
|
return e.type === G.time;
|
|
700
696
|
}
|
|
701
|
-
function
|
|
697
|
+
function Dn(e) {
|
|
702
698
|
return e.type === G.select;
|
|
703
699
|
}
|
|
704
|
-
function
|
|
700
|
+
function Un(e) {
|
|
705
701
|
return e.type === G.plural;
|
|
706
702
|
}
|
|
707
|
-
function
|
|
703
|
+
function ei(e) {
|
|
708
704
|
return e.type === G.pound;
|
|
709
705
|
}
|
|
710
|
-
function
|
|
706
|
+
function Fn(e) {
|
|
711
707
|
return e.type === G.tag;
|
|
712
708
|
}
|
|
713
|
-
function
|
|
709
|
+
function Gn(e) {
|
|
714
710
|
return !!(e && typeof e == "object" && e.type === Ue.number);
|
|
715
711
|
}
|
|
716
712
|
function $t(e) {
|
|
717
713
|
return !!(e && typeof e == "object" && e.type === Ue.dateTime);
|
|
718
714
|
}
|
|
719
|
-
var
|
|
720
|
-
function
|
|
715
|
+
var $n = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
716
|
+
function ni(e) {
|
|
721
717
|
var t = {};
|
|
722
|
-
return e.replace(
|
|
718
|
+
return e.replace(ti, function(n) {
|
|
723
719
|
var r = n.length;
|
|
724
720
|
switch (n[0]) {
|
|
725
721
|
case "G":
|
|
@@ -808,11 +804,11 @@ function ri(e) {
|
|
|
808
804
|
return "";
|
|
809
805
|
}), t;
|
|
810
806
|
}
|
|
811
|
-
var
|
|
812
|
-
function
|
|
807
|
+
var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
808
|
+
function ii(e) {
|
|
813
809
|
if (e.length === 0)
|
|
814
810
|
throw new Error("Number skeleton cannot be empty");
|
|
815
|
-
for (var t = e.split(
|
|
811
|
+
for (var t = e.split(ri).filter(function(y) {
|
|
816
812
|
return y.length > 0;
|
|
817
813
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
818
814
|
var a = i[r], l = a.split("/");
|
|
@@ -827,17 +823,17 @@ function ai(e) {
|
|
|
827
823
|
}
|
|
828
824
|
return n;
|
|
829
825
|
}
|
|
830
|
-
function
|
|
826
|
+
function ai(e) {
|
|
831
827
|
return e.replace(/^(.*?)-/, "");
|
|
832
828
|
}
|
|
833
|
-
var
|
|
834
|
-
function
|
|
829
|
+
var sn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kn = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, jn = /^(0+)$/;
|
|
830
|
+
function ln(e) {
|
|
835
831
|
var t = {};
|
|
836
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
832
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kn, function(n, r, i) {
|
|
837
833
|
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)), "";
|
|
838
834
|
}), t;
|
|
839
835
|
}
|
|
840
|
-
function
|
|
836
|
+
function Vn(e) {
|
|
841
837
|
switch (e) {
|
|
842
838
|
case "sign-auto":
|
|
843
839
|
return {
|
|
@@ -877,7 +873,7 @@ function Xn(e) {
|
|
|
877
873
|
};
|
|
878
874
|
}
|
|
879
875
|
}
|
|
880
|
-
function
|
|
876
|
+
function si(e) {
|
|
881
877
|
var t;
|
|
882
878
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
883
879
|
notation: "engineering"
|
|
@@ -885,17 +881,17 @@ function li(e) {
|
|
|
885
881
|
notation: "scientific"
|
|
886
882
|
}, e = e.slice(1)), t) {
|
|
887
883
|
var n = e.slice(0, 2);
|
|
888
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
884
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jn.test(e))
|
|
889
885
|
throw new Error("Malformed concise eng/scientific notation");
|
|
890
886
|
t.minimumIntegerDigits = e.length;
|
|
891
887
|
}
|
|
892
888
|
return t;
|
|
893
889
|
}
|
|
894
|
-
function
|
|
895
|
-
var t = {}, n =
|
|
890
|
+
function un(e) {
|
|
891
|
+
var t = {}, n = Vn(e);
|
|
896
892
|
return n || t;
|
|
897
893
|
}
|
|
898
|
-
function
|
|
894
|
+
function li(e) {
|
|
899
895
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
900
896
|
var i = r[n];
|
|
901
897
|
switch (i.stem) {
|
|
@@ -919,7 +915,7 @@ function ui(e) {
|
|
|
919
915
|
continue;
|
|
920
916
|
case "measure-unit":
|
|
921
917
|
case "unit":
|
|
922
|
-
t.style = "unit", t.unit =
|
|
918
|
+
t.style = "unit", t.unit = ai(i.options[0]);
|
|
923
919
|
continue;
|
|
924
920
|
case "compact-short":
|
|
925
921
|
case "K":
|
|
@@ -931,12 +927,12 @@ function ui(e) {
|
|
|
931
927
|
continue;
|
|
932
928
|
case "scientific":
|
|
933
929
|
t = I(I(I({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
934
|
-
return I(I({}, h),
|
|
930
|
+
return I(I({}, h), un(u));
|
|
935
931
|
}, {}));
|
|
936
932
|
continue;
|
|
937
933
|
case "engineering":
|
|
938
934
|
t = I(I(I({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
939
|
-
return I(I({}, h),
|
|
935
|
+
return I(I({}, h), un(u));
|
|
940
936
|
}, {}));
|
|
941
937
|
continue;
|
|
942
938
|
case "notation-simple":
|
|
@@ -981,7 +977,7 @@ function ui(e) {
|
|
|
981
977
|
case "integer-width":
|
|
982
978
|
if (i.options.length > 1)
|
|
983
979
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
984
|
-
i.options[0].replace(
|
|
980
|
+
i.options[0].replace(oi, function(h, u, d, b, y, B) {
|
|
985
981
|
if (u)
|
|
986
982
|
t.minimumIntegerDigits = d.length;
|
|
987
983
|
else {
|
|
@@ -994,27 +990,27 @@ function ui(e) {
|
|
|
994
990
|
});
|
|
995
991
|
continue;
|
|
996
992
|
}
|
|
997
|
-
if (
|
|
993
|
+
if (jn.test(i.stem)) {
|
|
998
994
|
t.minimumIntegerDigits = i.stem.length;
|
|
999
995
|
continue;
|
|
1000
996
|
}
|
|
1001
|
-
if (
|
|
997
|
+
if (sn.test(i.stem)) {
|
|
1002
998
|
if (i.options.length > 1)
|
|
1003
999
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1004
|
-
i.stem.replace(
|
|
1000
|
+
i.stem.replace(sn, function(h, u, d, b, y, B) {
|
|
1005
1001
|
return d === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && B ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + B.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1006
1002
|
});
|
|
1007
1003
|
var a = i.options[0];
|
|
1008
|
-
a === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = I(I({}, t),
|
|
1004
|
+
a === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = I(I({}, t), ln(a)));
|
|
1009
1005
|
continue;
|
|
1010
1006
|
}
|
|
1011
|
-
if (
|
|
1012
|
-
t = I(I({}, t),
|
|
1007
|
+
if (kn.test(i.stem)) {
|
|
1008
|
+
t = I(I({}, t), ln(i.stem));
|
|
1013
1009
|
continue;
|
|
1014
1010
|
}
|
|
1015
|
-
var l =
|
|
1011
|
+
var l = Vn(i.stem);
|
|
1016
1012
|
l && (t = I(I({}, t), l));
|
|
1017
|
-
var s =
|
|
1013
|
+
var s = si(i.stem);
|
|
1018
1014
|
s && (t = I(I({}, t), s));
|
|
1019
1015
|
}
|
|
1020
1016
|
return t;
|
|
@@ -2434,13 +2430,13 @@ var lt = {
|
|
|
2434
2430
|
"h"
|
|
2435
2431
|
]
|
|
2436
2432
|
};
|
|
2437
|
-
function
|
|
2433
|
+
function ui(e, t) {
|
|
2438
2434
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2439
2435
|
var i = e.charAt(r);
|
|
2440
2436
|
if (i === "j") {
|
|
2441
2437
|
for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2442
2438
|
a++, r++;
|
|
2443
|
-
var l = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), h = "a", u =
|
|
2439
|
+
var l = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), h = "a", u = ci(t);
|
|
2444
2440
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2445
2441
|
n += h;
|
|
2446
2442
|
for (; l-- > 0; )
|
|
@@ -2449,7 +2445,7 @@ function ci(e, t) {
|
|
|
2449
2445
|
}
|
|
2450
2446
|
return n;
|
|
2451
2447
|
}
|
|
2452
|
-
function
|
|
2448
|
+
function ci(e) {
|
|
2453
2449
|
var t = e.hourCycle;
|
|
2454
2450
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2455
2451
|
e.hourCycles && // @ts-ignore
|
|
@@ -2471,20 +2467,20 @@ function hi(e) {
|
|
|
2471
2467
|
var i = lt[r || ""] || lt[n || ""] || lt["".concat(n, "-001")] || lt["001"];
|
|
2472
2468
|
return i[0];
|
|
2473
2469
|
}
|
|
2474
|
-
var Nt,
|
|
2470
|
+
var Nt, hi = new RegExp("^".concat($n.source, "*")), fi = new RegExp("".concat($n.source, "*$"));
|
|
2475
2471
|
function L(e, t) {
|
|
2476
2472
|
return { start: e, end: t };
|
|
2477
2473
|
}
|
|
2478
|
-
var
|
|
2474
|
+
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, Ei = vi ? Number.isSafeInteger : function(e) {
|
|
2479
2475
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2480
2476
|
}, kt = !0;
|
|
2481
2477
|
try {
|
|
2482
|
-
var
|
|
2483
|
-
kt = ((Nt =
|
|
2478
|
+
var xi = zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2479
|
+
kt = ((Nt = xi.exec("a")) === null || Nt === void 0 ? void 0 : Nt[0]) === "a";
|
|
2484
2480
|
} catch {
|
|
2485
2481
|
kt = !1;
|
|
2486
2482
|
}
|
|
2487
|
-
var
|
|
2483
|
+
var cn = di ? (
|
|
2488
2484
|
// Native
|
|
2489
2485
|
function(t, n, r) {
|
|
2490
2486
|
return t.startsWith(n, r);
|
|
@@ -2494,7 +2490,7 @@ var hn = pi ? (
|
|
|
2494
2490
|
function(t, n, r) {
|
|
2495
2491
|
return t.slice(r, r + n.length) === n;
|
|
2496
2492
|
}
|
|
2497
|
-
), jt =
|
|
2493
|
+
), jt = pi ? String.fromCodePoint : (
|
|
2498
2494
|
// IE11
|
|
2499
2495
|
function() {
|
|
2500
2496
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2506,9 +2502,9 @@ var hn = pi ? (
|
|
|
2506
2502
|
}
|
|
2507
2503
|
return r;
|
|
2508
2504
|
}
|
|
2509
|
-
),
|
|
2505
|
+
), hn = (
|
|
2510
2506
|
// native
|
|
2511
|
-
|
|
2507
|
+
mi ? Object.fromEntries : (
|
|
2512
2508
|
// Ponyfill
|
|
2513
2509
|
function(t) {
|
|
2514
2510
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2518,7 +2514,7 @@ var hn = pi ? (
|
|
|
2518
2514
|
return n;
|
|
2519
2515
|
}
|
|
2520
2516
|
)
|
|
2521
|
-
),
|
|
2517
|
+
), Xn = gi ? (
|
|
2522
2518
|
// Native
|
|
2523
2519
|
function(t, n) {
|
|
2524
2520
|
return t.codePointAt(n);
|
|
@@ -2532,7 +2528,7 @@ var hn = pi ? (
|
|
|
2532
2528
|
return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2533
2529
|
}
|
|
2534
2530
|
}
|
|
2535
|
-
),
|
|
2531
|
+
), _i = bi ? (
|
|
2536
2532
|
// Native
|
|
2537
2533
|
function(t) {
|
|
2538
2534
|
return t.trimStart();
|
|
@@ -2540,9 +2536,9 @@ var hn = pi ? (
|
|
|
2540
2536
|
) : (
|
|
2541
2537
|
// Ponyfill
|
|
2542
2538
|
function(t) {
|
|
2543
|
-
return t.replace(
|
|
2539
|
+
return t.replace(hi, "");
|
|
2544
2540
|
}
|
|
2545
|
-
),
|
|
2541
|
+
), Bi = yi ? (
|
|
2546
2542
|
// Native
|
|
2547
2543
|
function(t) {
|
|
2548
2544
|
return t.trimEnd();
|
|
@@ -2550,32 +2546,32 @@ var hn = pi ? (
|
|
|
2550
2546
|
) : (
|
|
2551
2547
|
// Ponyfill
|
|
2552
2548
|
function(t) {
|
|
2553
|
-
return t.replace(
|
|
2549
|
+
return t.replace(fi, "");
|
|
2554
2550
|
}
|
|
2555
2551
|
);
|
|
2556
|
-
function
|
|
2552
|
+
function zn(e, t) {
|
|
2557
2553
|
return new RegExp(e, t);
|
|
2558
2554
|
}
|
|
2559
2555
|
var Vt;
|
|
2560
2556
|
if (kt) {
|
|
2561
|
-
var
|
|
2557
|
+
var fn = zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2562
2558
|
Vt = function(t, n) {
|
|
2563
2559
|
var r;
|
|
2564
|
-
|
|
2565
|
-
var i =
|
|
2560
|
+
fn.lastIndex = n;
|
|
2561
|
+
var i = fn.exec(t);
|
|
2566
2562
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2567
2563
|
};
|
|
2568
2564
|
} else
|
|
2569
2565
|
Vt = function(t, n) {
|
|
2570
2566
|
for (var r = []; ; ) {
|
|
2571
|
-
var i =
|
|
2572
|
-
if (i === void 0 ||
|
|
2567
|
+
var i = Xn(t, n);
|
|
2568
|
+
if (i === void 0 || Wn(i) || Ai(i))
|
|
2573
2569
|
break;
|
|
2574
2570
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2575
2571
|
}
|
|
2576
2572
|
return jt.apply(void 0, r);
|
|
2577
2573
|
};
|
|
2578
|
-
var
|
|
2574
|
+
var Ti = (
|
|
2579
2575
|
/** @class */
|
|
2580
2576
|
function() {
|
|
2581
2577
|
function e(t, n) {
|
|
@@ -2657,7 +2653,7 @@ var wi = (
|
|
|
2657
2653
|
return this.error(R.INVALID_TAG, L(r, this.clonePosition()));
|
|
2658
2654
|
}, e.prototype.parseTagName = function() {
|
|
2659
2655
|
var t = this.offset();
|
|
2660
|
-
for (this.bump(); !this.isEOF() &&
|
|
2656
|
+
for (this.bump(); !this.isEOF() && Si(this.char()); )
|
|
2661
2657
|
this.bump();
|
|
2662
2658
|
return this.message.slice(t, this.offset());
|
|
2663
2659
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2686,7 +2682,7 @@ var wi = (
|
|
|
2686
2682
|
};
|
|
2687
2683
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2688
2684
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2689
|
-
!
|
|
2685
|
+
!wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2690
2686
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2691
2687
|
if (this.isEOF() || this.char() !== 39)
|
|
2692
2688
|
return null;
|
|
@@ -2773,7 +2769,7 @@ var wi = (
|
|
|
2773
2769
|
var d = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
|
|
2774
2770
|
if (b.err)
|
|
2775
2771
|
return b;
|
|
2776
|
-
var y =
|
|
2772
|
+
var y = Bi(b.val);
|
|
2777
2773
|
if (y.length === 0)
|
|
2778
2774
|
return this.error(R.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
|
|
2779
2775
|
var B = L(d, this.clonePosition());
|
|
@@ -2783,8 +2779,8 @@ var wi = (
|
|
|
2783
2779
|
if (x.err)
|
|
2784
2780
|
return x;
|
|
2785
2781
|
var H = L(i, this.clonePosition());
|
|
2786
|
-
if (u &&
|
|
2787
|
-
var _ =
|
|
2782
|
+
if (u && cn(u?.style, "::", 0)) {
|
|
2783
|
+
var _ = _i(u.style.slice(2));
|
|
2788
2784
|
if (s === "number") {
|
|
2789
2785
|
var b = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
2790
2786
|
return b.err ? b : {
|
|
@@ -2795,12 +2791,12 @@ var wi = (
|
|
|
2795
2791
|
if (_.length === 0)
|
|
2796
2792
|
return this.error(R.EXPECT_DATE_TIME_SKELETON, H);
|
|
2797
2793
|
var A = _;
|
|
2798
|
-
this.locale && (A =
|
|
2794
|
+
this.locale && (A = ui(_, this.locale));
|
|
2799
2795
|
var y = {
|
|
2800
2796
|
type: Ue.dateTime,
|
|
2801
2797
|
pattern: A,
|
|
2802
2798
|
location: u.styleLocation,
|
|
2803
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2799
|
+
parsedOptions: this.shouldParseSkeletons ? ni(A) : {}
|
|
2804
2800
|
}, P = s === "date" ? G.date : G.time;
|
|
2805
2801
|
return {
|
|
2806
2802
|
val: { type: P, value: r, location: H, style: y },
|
|
@@ -2846,7 +2842,7 @@ var wi = (
|
|
|
2846
2842
|
val: {
|
|
2847
2843
|
type: G.select,
|
|
2848
2844
|
value: r,
|
|
2849
|
-
options:
|
|
2845
|
+
options: hn(ne.val),
|
|
2850
2846
|
location: W
|
|
2851
2847
|
},
|
|
2852
2848
|
err: null
|
|
@@ -2854,7 +2850,7 @@ var wi = (
|
|
|
2854
2850
|
val: {
|
|
2855
2851
|
type: G.plural,
|
|
2856
2852
|
value: r,
|
|
2857
|
-
options:
|
|
2853
|
+
options: hn(ne.val),
|
|
2858
2854
|
offset: X,
|
|
2859
2855
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2860
2856
|
location: W
|
|
@@ -2905,7 +2901,7 @@ var wi = (
|
|
|
2905
2901
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2906
2902
|
var r = [];
|
|
2907
2903
|
try {
|
|
2908
|
-
r =
|
|
2904
|
+
r = ii(t);
|
|
2909
2905
|
} catch {
|
|
2910
2906
|
return this.error(R.INVALID_NUMBER_SKELETON, n);
|
|
2911
2907
|
}
|
|
@@ -2914,7 +2910,7 @@ var wi = (
|
|
|
2914
2910
|
type: Ue.number,
|
|
2915
2911
|
tokens: r,
|
|
2916
2912
|
location: n,
|
|
2917
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2913
|
+
parsedOptions: this.shouldParseSkeletons ? li(r) : {}
|
|
2918
2914
|
},
|
|
2919
2915
|
err: null
|
|
2920
2916
|
};
|
|
@@ -2962,7 +2958,7 @@ var wi = (
|
|
|
2962
2958
|
break;
|
|
2963
2959
|
}
|
|
2964
2960
|
var h = L(i, this.clonePosition());
|
|
2965
|
-
return a ? (l *= r,
|
|
2961
|
+
return a ? (l *= r, Ei(l) ? { val: l, err: null } : this.error(n, h)) : this.error(t, h);
|
|
2966
2962
|
}, e.prototype.offset = function() {
|
|
2967
2963
|
return this.position.offset;
|
|
2968
2964
|
}, e.prototype.isEOF = function() {
|
|
@@ -2977,7 +2973,7 @@ var wi = (
|
|
|
2977
2973
|
var t = this.position.offset;
|
|
2978
2974
|
if (t >= this.message.length)
|
|
2979
2975
|
throw Error("out of bound");
|
|
2980
|
-
var n =
|
|
2976
|
+
var n = Xn(this.message, t);
|
|
2981
2977
|
if (n === void 0)
|
|
2982
2978
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2983
2979
|
return n;
|
|
@@ -2996,7 +2992,7 @@ var wi = (
|
|
|
2996
2992
|
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);
|
|
2997
2993
|
}
|
|
2998
2994
|
}, e.prototype.bumpIf = function(t) {
|
|
2999
|
-
if (
|
|
2995
|
+
if (cn(this.message, t, this.offset())) {
|
|
3000
2996
|
for (var n = 0; n < t.length; n++)
|
|
3001
2997
|
this.bump();
|
|
3002
2998
|
return !0;
|
|
@@ -3018,7 +3014,7 @@ var wi = (
|
|
|
3018
3014
|
break;
|
|
3019
3015
|
}
|
|
3020
3016
|
}, e.prototype.bumpSpace = function() {
|
|
3021
|
-
for (; !this.isEOF() &&
|
|
3017
|
+
for (; !this.isEOF() && Wn(this.char()); )
|
|
3022
3018
|
this.bump();
|
|
3023
3019
|
}, e.prototype.peek = function() {
|
|
3024
3020
|
if (this.isEOF())
|
|
@@ -3031,29 +3027,29 @@ var wi = (
|
|
|
3031
3027
|
function Xt(e) {
|
|
3032
3028
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3033
3029
|
}
|
|
3034
|
-
function
|
|
3030
|
+
function wi(e) {
|
|
3035
3031
|
return Xt(e) || e === 47;
|
|
3036
3032
|
}
|
|
3037
|
-
function
|
|
3033
|
+
function Si(e) {
|
|
3038
3034
|
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;
|
|
3039
3035
|
}
|
|
3040
|
-
function
|
|
3036
|
+
function Wn(e) {
|
|
3041
3037
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3042
3038
|
}
|
|
3043
|
-
function
|
|
3039
|
+
function Ai(e) {
|
|
3044
3040
|
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;
|
|
3045
3041
|
}
|
|
3046
3042
|
function zt(e) {
|
|
3047
3043
|
e.forEach(function(t) {
|
|
3048
|
-
if (delete t.location,
|
|
3044
|
+
if (delete t.location, Dn(t) || Un(t))
|
|
3049
3045
|
for (var n in t.options)
|
|
3050
3046
|
delete t.options[n].location, zt(t.options[n].value);
|
|
3051
|
-
else
|
|
3047
|
+
else Nn(t) && Gn(t.style) || (In(t) || Pn(t)) && $t(t.style) ? delete t.style.location : Fn(t) && zt(t.children);
|
|
3052
3048
|
});
|
|
3053
3049
|
}
|
|
3054
|
-
function
|
|
3050
|
+
function Ci(e, t) {
|
|
3055
3051
|
t === void 0 && (t = {}), t = I({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3056
|
-
var n = new
|
|
3052
|
+
var n = new Ti(e, t).parse();
|
|
3057
3053
|
if (n.err) {
|
|
3058
3054
|
var r = SyntaxError(R[n.err.kind]);
|
|
3059
3055
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3076,7 +3072,7 @@ var vt = (
|
|
|
3076
3072
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3077
3073
|
}, t;
|
|
3078
3074
|
}(Error)
|
|
3079
|
-
),
|
|
3075
|
+
), dn = (
|
|
3080
3076
|
/** @class */
|
|
3081
3077
|
function(e) {
|
|
3082
3078
|
yt(t, e);
|
|
@@ -3085,7 +3081,7 @@ var vt = (
|
|
|
3085
3081
|
}
|
|
3086
3082
|
return t;
|
|
3087
3083
|
}(vt)
|
|
3088
|
-
),
|
|
3084
|
+
), Hi = (
|
|
3089
3085
|
/** @class */
|
|
3090
3086
|
function(e) {
|
|
3091
3087
|
yt(t, e);
|
|
@@ -3094,7 +3090,7 @@ var vt = (
|
|
|
3094
3090
|
}
|
|
3095
3091
|
return t;
|
|
3096
3092
|
}(vt)
|
|
3097
|
-
),
|
|
3093
|
+
), Oi = (
|
|
3098
3094
|
/** @class */
|
|
3099
3095
|
function(e) {
|
|
3100
3096
|
yt(t, e);
|
|
@@ -3107,17 +3103,17 @@ var vt = (
|
|
|
3107
3103
|
(function(e) {
|
|
3108
3104
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3109
3105
|
})(te || (te = {}));
|
|
3110
|
-
function
|
|
3106
|
+
function Ri(e) {
|
|
3111
3107
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3112
3108
|
var r = t[t.length - 1];
|
|
3113
3109
|
return !r || r.type !== te.literal || n.type !== te.literal ? t.push(n) : r.value += n.value, t;
|
|
3114
3110
|
}, []);
|
|
3115
3111
|
}
|
|
3116
|
-
function
|
|
3112
|
+
function Li(e) {
|
|
3117
3113
|
return typeof e == "function";
|
|
3118
3114
|
}
|
|
3119
3115
|
function ct(e, t, n, r, i, a, l) {
|
|
3120
|
-
if (e.length === 1 &&
|
|
3116
|
+
if (e.length === 1 && on(e[0]))
|
|
3121
3117
|
return [
|
|
3122
3118
|
{
|
|
3123
3119
|
type: te.literal,
|
|
@@ -3126,14 +3122,14 @@ function ct(e, t, n, r, i, a, l) {
|
|
|
3126
3122
|
];
|
|
3127
3123
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3128
3124
|
var d = u[h];
|
|
3129
|
-
if (
|
|
3125
|
+
if (on(d)) {
|
|
3130
3126
|
s.push({
|
|
3131
3127
|
type: te.literal,
|
|
3132
3128
|
value: d.value
|
|
3133
3129
|
});
|
|
3134
3130
|
continue;
|
|
3135
3131
|
}
|
|
3136
|
-
if (
|
|
3132
|
+
if (ei(d)) {
|
|
3137
3133
|
typeof a == "number" && s.push({
|
|
3138
3134
|
type: te.literal,
|
|
3139
3135
|
value: n.getNumberFormat(t).format(a)
|
|
@@ -3142,16 +3138,16 @@ function ct(e, t, n, r, i, a, l) {
|
|
|
3142
3138
|
}
|
|
3143
3139
|
var b = d.value;
|
|
3144
3140
|
if (!(i && b in i))
|
|
3145
|
-
throw new
|
|
3141
|
+
throw new Oi(b, l);
|
|
3146
3142
|
var y = i[b];
|
|
3147
|
-
if (
|
|
3143
|
+
if (Kr(d)) {
|
|
3148
3144
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), s.push({
|
|
3149
3145
|
type: typeof y == "string" ? te.literal : te.object,
|
|
3150
3146
|
value: y
|
|
3151
3147
|
});
|
|
3152
3148
|
continue;
|
|
3153
3149
|
}
|
|
3154
|
-
if (
|
|
3150
|
+
if (In(d)) {
|
|
3155
3151
|
var B = typeof d.style == "string" ? r.date[d.style] : $t(d.style) ? d.style.parsedOptions : void 0;
|
|
3156
3152
|
s.push({
|
|
3157
3153
|
type: te.literal,
|
|
@@ -3159,7 +3155,7 @@ function ct(e, t, n, r, i, a, l) {
|
|
|
3159
3155
|
});
|
|
3160
3156
|
continue;
|
|
3161
3157
|
}
|
|
3162
|
-
if (
|
|
3158
|
+
if (Pn(d)) {
|
|
3163
3159
|
var B = typeof d.style == "string" ? r.time[d.style] : $t(d.style) ? d.style.parsedOptions : r.time.medium;
|
|
3164
3160
|
s.push({
|
|
3165
3161
|
type: te.literal,
|
|
@@ -3167,18 +3163,18 @@ function ct(e, t, n, r, i, a, l) {
|
|
|
3167
3163
|
});
|
|
3168
3164
|
continue;
|
|
3169
3165
|
}
|
|
3170
|
-
if (
|
|
3171
|
-
var B = typeof d.style == "string" ? r.number[d.style] :
|
|
3166
|
+
if (Nn(d)) {
|
|
3167
|
+
var B = typeof d.style == "string" ? r.number[d.style] : Gn(d.style) ? d.style.parsedOptions : void 0;
|
|
3172
3168
|
B && B.scale && (y = y * (B.scale || 1)), s.push({
|
|
3173
3169
|
type: te.literal,
|
|
3174
3170
|
value: n.getNumberFormat(t, B).format(y)
|
|
3175
3171
|
});
|
|
3176
3172
|
continue;
|
|
3177
3173
|
}
|
|
3178
|
-
if (
|
|
3174
|
+
if (Fn(d)) {
|
|
3179
3175
|
var x = d.children, H = d.value, _ = i[H];
|
|
3180
|
-
if (!
|
|
3181
|
-
throw new
|
|
3176
|
+
if (!Li(_))
|
|
3177
|
+
throw new Hi(H, "function", l);
|
|
3182
3178
|
var A = ct(x, t, n, r, i, a), P = _(A.map(function(X) {
|
|
3183
3179
|
return X.value;
|
|
3184
3180
|
}));
|
|
@@ -3189,14 +3185,14 @@ function ct(e, t, n, r, i, a, l) {
|
|
|
3189
3185
|
};
|
|
3190
3186
|
}));
|
|
3191
3187
|
}
|
|
3192
|
-
if (
|
|
3188
|
+
if (Dn(d)) {
|
|
3193
3189
|
var O = d.options[y] || d.options.other;
|
|
3194
3190
|
if (!O)
|
|
3195
|
-
throw new
|
|
3191
|
+
throw new dn(d.value, y, Object.keys(d.options), l);
|
|
3196
3192
|
s.push.apply(s, ct(O.value, t, n, r, i));
|
|
3197
3193
|
continue;
|
|
3198
3194
|
}
|
|
3199
|
-
if (
|
|
3195
|
+
if (Un(d)) {
|
|
3200
3196
|
var O = d.options["=".concat(y)];
|
|
3201
3197
|
if (!O) {
|
|
3202
3198
|
if (!Intl.PluralRules)
|
|
@@ -3207,21 +3203,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3207
3203
|
O = d.options[j] || d.options.other;
|
|
3208
3204
|
}
|
|
3209
3205
|
if (!O)
|
|
3210
|
-
throw new
|
|
3206
|
+
throw new dn(d.value, y, Object.keys(d.options), l);
|
|
3211
3207
|
s.push.apply(s, ct(O.value, t, n, r, i, y - (d.offset || 0)));
|
|
3212
3208
|
continue;
|
|
3213
3209
|
}
|
|
3214
3210
|
}
|
|
3215
|
-
return
|
|
3211
|
+
return Ri(s);
|
|
3216
3212
|
}
|
|
3217
|
-
function
|
|
3213
|
+
function Mi(e, t) {
|
|
3218
3214
|
return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3219
3215
|
return n[r] = I(I({}, e[r]), t[r] || {}), n;
|
|
3220
3216
|
}, {})) : e;
|
|
3221
3217
|
}
|
|
3222
|
-
function
|
|
3218
|
+
function Ni(e, t) {
|
|
3223
3219
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3224
|
-
return n[r] =
|
|
3220
|
+
return n[r] = Mi(e[r], t[r]), n;
|
|
3225
3221
|
}, I({}, e)) : e;
|
|
3226
3222
|
}
|
|
3227
3223
|
function It(e) {
|
|
@@ -3238,7 +3234,7 @@ function It(e) {
|
|
|
3238
3234
|
}
|
|
3239
3235
|
};
|
|
3240
3236
|
}
|
|
3241
|
-
function
|
|
3237
|
+
function Ii(e) {
|
|
3242
3238
|
return e === void 0 && (e = {
|
|
3243
3239
|
number: {},
|
|
3244
3240
|
dateTime: {},
|
|
@@ -3270,7 +3266,7 @@ function Pi(e) {
|
|
|
3270
3266
|
})
|
|
3271
3267
|
};
|
|
3272
3268
|
}
|
|
3273
|
-
var
|
|
3269
|
+
var Pi = (
|
|
3274
3270
|
/** @class */
|
|
3275
3271
|
function() {
|
|
3276
3272
|
function e(t, n, r, i) {
|
|
@@ -3302,13 +3298,13 @@ var Di = (
|
|
|
3302
3298
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3303
3299
|
var l = i || {};
|
|
3304
3300
|
l.formatters;
|
|
3305
|
-
var s =
|
|
3301
|
+
var s = Xr(l, ["formatters"]);
|
|
3306
3302
|
this.ast = e.__parse(t, I(I({}, s), { locale: this.resolvedLocale }));
|
|
3307
3303
|
} else
|
|
3308
3304
|
this.ast = t;
|
|
3309
3305
|
if (!Array.isArray(this.ast))
|
|
3310
3306
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3311
|
-
this.formats =
|
|
3307
|
+
this.formats = Ni(e.formats, r), this.formatters = i && i.formatters || Ii(this.formatterCache);
|
|
3312
3308
|
}
|
|
3313
3309
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3314
3310
|
get: function() {
|
|
@@ -3321,7 +3317,7 @@ var Di = (
|
|
|
3321
3317
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3322
3318
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3323
3319
|
}
|
|
3324
|
-
}, e.__parse =
|
|
3320
|
+
}, e.__parse = Ci, e.formats = {
|
|
3325
3321
|
number: {
|
|
3326
3322
|
integer: {
|
|
3327
3323
|
maximumFractionDigits: 0
|
|
@@ -3382,7 +3378,7 @@ var Di = (
|
|
|
3382
3378
|
}, e;
|
|
3383
3379
|
}()
|
|
3384
3380
|
);
|
|
3385
|
-
function
|
|
3381
|
+
function Di(e, t) {
|
|
3386
3382
|
if (t == null)
|
|
3387
3383
|
return;
|
|
3388
3384
|
if (t in e)
|
|
@@ -3403,60 +3399,60 @@ function Ui(e, t) {
|
|
|
3403
3399
|
r = void 0;
|
|
3404
3400
|
return r;
|
|
3405
3401
|
}
|
|
3406
|
-
const we = {},
|
|
3402
|
+
const we = {}, Ui = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = n), n), Zn = (e, t) => {
|
|
3407
3403
|
if (t == null)
|
|
3408
3404
|
return;
|
|
3409
3405
|
if (t in we && e in we[t])
|
|
3410
3406
|
return we[t][e];
|
|
3411
3407
|
const n = Et(t);
|
|
3412
3408
|
for (let r = 0; r < n.length; r++) {
|
|
3413
|
-
const i = n[r], a =
|
|
3409
|
+
const i = n[r], a = Gi(i, e);
|
|
3414
3410
|
if (a)
|
|
3415
|
-
return
|
|
3411
|
+
return Ui(e, t, a);
|
|
3416
3412
|
}
|
|
3417
3413
|
};
|
|
3418
|
-
let
|
|
3414
|
+
let Jt;
|
|
3419
3415
|
const nt = bt({});
|
|
3420
|
-
function
|
|
3421
|
-
return
|
|
3416
|
+
function Fi(e) {
|
|
3417
|
+
return Jt[e] || null;
|
|
3422
3418
|
}
|
|
3423
|
-
function
|
|
3424
|
-
return e in
|
|
3419
|
+
function qn(e) {
|
|
3420
|
+
return e in Jt;
|
|
3425
3421
|
}
|
|
3426
|
-
function
|
|
3427
|
-
if (!
|
|
3422
|
+
function Gi(e, t) {
|
|
3423
|
+
if (!qn(e))
|
|
3428
3424
|
return null;
|
|
3429
|
-
const n =
|
|
3430
|
-
return
|
|
3425
|
+
const n = Fi(e);
|
|
3426
|
+
return Di(n, t);
|
|
3431
3427
|
}
|
|
3432
|
-
function
|
|
3428
|
+
function $i(e) {
|
|
3433
3429
|
if (e == null)
|
|
3434
3430
|
return;
|
|
3435
3431
|
const t = Et(e);
|
|
3436
3432
|
for (let n = 0; n < t.length; n++) {
|
|
3437
3433
|
const r = t[n];
|
|
3438
|
-
if (
|
|
3434
|
+
if (qn(r))
|
|
3439
3435
|
return r;
|
|
3440
3436
|
}
|
|
3441
3437
|
}
|
|
3442
|
-
function
|
|
3443
|
-
delete we[e], nt.update((n) => (n[e] =
|
|
3438
|
+
function Qn(e, ...t) {
|
|
3439
|
+
delete we[e], nt.update((n) => (n[e] = Vr.all([n[e] || {}, ...t]), n));
|
|
3444
3440
|
}
|
|
3445
3441
|
ke(
|
|
3446
3442
|
[nt],
|
|
3447
3443
|
([e]) => Object.keys(e)
|
|
3448
3444
|
);
|
|
3449
|
-
nt.subscribe((e) =>
|
|
3445
|
+
nt.subscribe((e) => Jt = e);
|
|
3450
3446
|
const ht = {};
|
|
3451
|
-
function
|
|
3447
|
+
function ki(e, t) {
|
|
3452
3448
|
ht[e].delete(t), ht[e].size === 0 && delete ht[e];
|
|
3453
3449
|
}
|
|
3454
|
-
function
|
|
3450
|
+
function Jn(e) {
|
|
3455
3451
|
return ht[e];
|
|
3456
3452
|
}
|
|
3457
|
-
function
|
|
3453
|
+
function ji(e) {
|
|
3458
3454
|
return Et(e).map((t) => {
|
|
3459
|
-
const n =
|
|
3455
|
+
const n = Jn(t);
|
|
3460
3456
|
return [t, n ? [...n] : []];
|
|
3461
3457
|
}).filter(([, t]) => t.length > 0);
|
|
3462
3458
|
}
|
|
@@ -3464,31 +3460,31 @@ function Wt(e) {
|
|
|
3464
3460
|
return e == null ? !1 : Et(e).some(
|
|
3465
3461
|
(t) => {
|
|
3466
3462
|
var n;
|
|
3467
|
-
return (n =
|
|
3463
|
+
return (n = Jn(t)) == null ? void 0 : n.size;
|
|
3468
3464
|
}
|
|
3469
3465
|
);
|
|
3470
3466
|
}
|
|
3471
|
-
function
|
|
3467
|
+
function Vi(e, t) {
|
|
3472
3468
|
return Promise.all(
|
|
3473
|
-
t.map((r) => (
|
|
3474
|
-
).then((r) =>
|
|
3469
|
+
t.map((r) => (ki(e, r), r().then((i) => i.default || i)))
|
|
3470
|
+
).then((r) => Qn(e, ...r));
|
|
3475
3471
|
}
|
|
3476
3472
|
const Je = {};
|
|
3477
|
-
function
|
|
3473
|
+
function Yn(e) {
|
|
3478
3474
|
if (!Wt(e))
|
|
3479
3475
|
return e in Je ? Je[e] : Promise.resolve();
|
|
3480
|
-
const t =
|
|
3476
|
+
const t = ji(e);
|
|
3481
3477
|
return Je[e] = Promise.all(
|
|
3482
3478
|
t.map(
|
|
3483
|
-
([n, r]) =>
|
|
3479
|
+
([n, r]) => Vi(n, r)
|
|
3484
3480
|
)
|
|
3485
3481
|
).then(() => {
|
|
3486
3482
|
if (Wt(e))
|
|
3487
|
-
return
|
|
3483
|
+
return Yn(e);
|
|
3488
3484
|
delete Je[e];
|
|
3489
3485
|
}), Je[e];
|
|
3490
3486
|
}
|
|
3491
|
-
const
|
|
3487
|
+
const Xi = {
|
|
3492
3488
|
number: {
|
|
3493
3489
|
scientific: { notation: "scientific" },
|
|
3494
3490
|
engineering: { notation: "engineering" },
|
|
@@ -3517,34 +3513,34 @@ const zi = {
|
|
|
3517
3513
|
timeZoneName: "short"
|
|
3518
3514
|
}
|
|
3519
3515
|
}
|
|
3520
|
-
},
|
|
3516
|
+
}, zi = {
|
|
3521
3517
|
fallbackLocale: null,
|
|
3522
3518
|
loadingDelay: 200,
|
|
3523
|
-
formats:
|
|
3519
|
+
formats: Xi,
|
|
3524
3520
|
warnOnMissingMessages: !0,
|
|
3525
3521
|
handleMissingMessage: void 0,
|
|
3526
3522
|
ignoreTag: !0
|
|
3527
|
-
},
|
|
3523
|
+
}, Wi = zi;
|
|
3528
3524
|
function Ge() {
|
|
3529
|
-
return
|
|
3525
|
+
return Wi;
|
|
3530
3526
|
}
|
|
3531
3527
|
const Pt = bt(!1);
|
|
3532
|
-
var
|
|
3533
|
-
for (var n in t)
|
|
3534
|
-
|
|
3535
|
-
if (
|
|
3536
|
-
for (var n of
|
|
3537
|
-
|
|
3528
|
+
var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, pn = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, mn = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ki = (e, t) => {
|
|
3529
|
+
for (var n in t || (t = {}))
|
|
3530
|
+
Ji.call(t, n) && mn(e, n, t[n]);
|
|
3531
|
+
if (pn)
|
|
3532
|
+
for (var n of pn(t))
|
|
3533
|
+
Yi.call(t, n) && mn(e, n, t[n]);
|
|
3538
3534
|
return e;
|
|
3539
|
-
},
|
|
3535
|
+
}, ea = (e, t) => qi(e, Qi(t));
|
|
3540
3536
|
let Zt;
|
|
3541
3537
|
const mt = bt(null);
|
|
3542
|
-
function
|
|
3538
|
+
function gn(e) {
|
|
3543
3539
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3544
3540
|
}
|
|
3545
3541
|
function Et(e, t = Ge().fallbackLocale) {
|
|
3546
|
-
const n =
|
|
3547
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3542
|
+
const n = gn(e);
|
|
3543
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...gn(t)])] : n;
|
|
3548
3544
|
}
|
|
3549
3545
|
function Ce() {
|
|
3550
3546
|
return Zt ?? void 0;
|
|
@@ -3552,22 +3548,22 @@ function Ce() {
|
|
|
3552
3548
|
mt.subscribe((e) => {
|
|
3553
3549
|
Zt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3554
3550
|
});
|
|
3555
|
-
const
|
|
3556
|
-
if (e &&
|
|
3551
|
+
const ta = (e) => {
|
|
3552
|
+
if (e && $i(e) && Wt(e)) {
|
|
3557
3553
|
const { loadingDelay: t } = Ge();
|
|
3558
3554
|
let n;
|
|
3559
3555
|
return typeof window < "u" && Ce() != null && t ? n = window.setTimeout(
|
|
3560
3556
|
() => Pt.set(!0),
|
|
3561
3557
|
t
|
|
3562
|
-
) : Pt.set(!0),
|
|
3558
|
+
) : Pt.set(!0), Yn(e).then(() => {
|
|
3563
3559
|
mt.set(e);
|
|
3564
3560
|
}).finally(() => {
|
|
3565
3561
|
clearTimeout(n), Pt.set(!1);
|
|
3566
3562
|
});
|
|
3567
3563
|
}
|
|
3568
3564
|
return mt.set(e);
|
|
3569
|
-
}, je =
|
|
3570
|
-
set:
|
|
3565
|
+
}, je = ea(Ki({}, mt), {
|
|
3566
|
+
set: ta
|
|
3571
3567
|
}), xt = (e) => {
|
|
3572
3568
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3573
3569
|
return (r) => {
|
|
@@ -3575,20 +3571,20 @@ const na = (e) => {
|
|
|
3575
3571
|
return i in t ? t[i] : t[i] = e(r);
|
|
3576
3572
|
};
|
|
3577
3573
|
};
|
|
3578
|
-
var
|
|
3574
|
+
var na = Object.defineProperty, gt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, bn = (e, t, n) => t in e ? na(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Yt = (e, t) => {
|
|
3579
3575
|
for (var n in t || (t = {}))
|
|
3580
|
-
|
|
3576
|
+
Kn.call(t, n) && bn(e, n, t[n]);
|
|
3581
3577
|
if (gt)
|
|
3582
3578
|
for (var n of gt(t))
|
|
3583
|
-
|
|
3579
|
+
er.call(t, n) && bn(e, n, t[n]);
|
|
3584
3580
|
return e;
|
|
3585
3581
|
}, Ve = (e, t) => {
|
|
3586
3582
|
var n = {};
|
|
3587
3583
|
for (var r in e)
|
|
3588
|
-
|
|
3584
|
+
Kn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3589
3585
|
if (e != null && gt)
|
|
3590
3586
|
for (var r of gt(e))
|
|
3591
|
-
t.indexOf(r) < 0 &&
|
|
3587
|
+
t.indexOf(r) < 0 && er.call(e, r) && (n[r] = e[r]);
|
|
3592
3588
|
return n;
|
|
3593
3589
|
};
|
|
3594
3590
|
const tt = (e, t) => {
|
|
@@ -3596,21 +3592,21 @@ const tt = (e, t) => {
|
|
|
3596
3592
|
if (e in n && t in n[e])
|
|
3597
3593
|
return n[e][t];
|
|
3598
3594
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3599
|
-
},
|
|
3595
|
+
}, ra = xt(
|
|
3600
3596
|
(e) => {
|
|
3601
3597
|
var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
|
|
3602
3598
|
if (n == null)
|
|
3603
3599
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3604
3600
|
return r && (i = tt("number", r)), new Intl.NumberFormat(n, i);
|
|
3605
3601
|
}
|
|
3606
|
-
),
|
|
3602
|
+
), ia = xt(
|
|
3607
3603
|
(e) => {
|
|
3608
3604
|
var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
|
|
3609
3605
|
if (n == null)
|
|
3610
3606
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3611
3607
|
return r ? i = tt("date", r) : Object.keys(i).length === 0 && (i = tt("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3612
3608
|
}
|
|
3613
|
-
),
|
|
3609
|
+
), aa = xt(
|
|
3614
3610
|
(e) => {
|
|
3615
3611
|
var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
|
|
3616
3612
|
if (n == null)
|
|
@@ -3619,33 +3615,33 @@ const tt = (e, t) => {
|
|
|
3619
3615
|
);
|
|
3620
3616
|
return r ? i = tt("time", r) : Object.keys(i).length === 0 && (i = tt("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3621
3617
|
}
|
|
3622
|
-
),
|
|
3618
|
+
), oa = (e = {}) => {
|
|
3623
3619
|
var t = e, {
|
|
3624
3620
|
locale: n = Ce()
|
|
3625
3621
|
} = t, r = Ve(t, [
|
|
3626
3622
|
"locale"
|
|
3627
3623
|
]);
|
|
3628
|
-
return
|
|
3629
|
-
},
|
|
3624
|
+
return ra(Yt({ locale: n }, r));
|
|
3625
|
+
}, sa = (e = {}) => {
|
|
3630
3626
|
var t = e, {
|
|
3631
3627
|
locale: n = Ce()
|
|
3632
3628
|
} = t, r = Ve(t, [
|
|
3633
3629
|
"locale"
|
|
3634
3630
|
]);
|
|
3635
|
-
return
|
|
3636
|
-
},
|
|
3631
|
+
return ia(Yt({ locale: n }, r));
|
|
3632
|
+
}, la = (e = {}) => {
|
|
3637
3633
|
var t = e, {
|
|
3638
3634
|
locale: n = Ce()
|
|
3639
3635
|
} = t, r = Ve(t, [
|
|
3640
3636
|
"locale"
|
|
3641
3637
|
]);
|
|
3642
|
-
return
|
|
3643
|
-
},
|
|
3638
|
+
return aa(Yt({ locale: n }, r));
|
|
3639
|
+
}, ua = xt(
|
|
3644
3640
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3645
|
-
(e, t = Ce()) => new
|
|
3641
|
+
(e, t = Ce()) => new Pi(e, t, Ge().formats, {
|
|
3646
3642
|
ignoreTag: Ge().ignoreTag
|
|
3647
3643
|
})
|
|
3648
|
-
),
|
|
3644
|
+
), ca = (e, t = {}) => {
|
|
3649
3645
|
var n, r, i, a;
|
|
3650
3646
|
let l = t;
|
|
3651
3647
|
typeof e == "object" && (l = e, e = l.id);
|
|
@@ -3658,7 +3654,7 @@ const tt = (e, t) => {
|
|
|
3658
3654
|
throw new Error(
|
|
3659
3655
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3660
3656
|
);
|
|
3661
|
-
let d =
|
|
3657
|
+
let d = Zn(e, h);
|
|
3662
3658
|
if (!d)
|
|
3663
3659
|
d = (a = (i = (r = (n = Ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
|
|
3664
3660
|
else if (typeof d != "string")
|
|
@@ -3669,7 +3665,7 @@ const tt = (e, t) => {
|
|
|
3669
3665
|
return d;
|
|
3670
3666
|
let b = d;
|
|
3671
3667
|
try {
|
|
3672
|
-
b =
|
|
3668
|
+
b = ua(d, h).format(s);
|
|
3673
3669
|
} catch (y) {
|
|
3674
3670
|
y instanceof Error && console.warn(
|
|
3675
3671
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3677,18 +3673,18 @@ const tt = (e, t) => {
|
|
|
3677
3673
|
);
|
|
3678
3674
|
}
|
|
3679
3675
|
return b;
|
|
3680
|
-
},
|
|
3676
|
+
}, ha = (e, t) => la(t).format(e), fa = (e, t) => sa(t).format(e), da = (e, t) => oa(t).format(e), pa = (e, t = Ce()) => Zn(e, t), ma = ke([je, nt], () => ca);
|
|
3677
|
+
ke([je], () => ha);
|
|
3681
3678
|
ke([je], () => fa);
|
|
3682
3679
|
ke([je], () => da);
|
|
3683
|
-
ke([je], () => pa);
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
Jn(e, t);
|
|
3680
|
+
ke([je, nt], () => pa);
|
|
3681
|
+
function yn(e, t) {
|
|
3682
|
+
Qn(e, t);
|
|
3687
3683
|
}
|
|
3688
|
-
function
|
|
3684
|
+
function ga(e) {
|
|
3689
3685
|
je.set(e);
|
|
3690
3686
|
}
|
|
3691
|
-
const
|
|
3687
|
+
const vn = {
|
|
3692
3688
|
en: {
|
|
3693
3689
|
Title: "Your Balance",
|
|
3694
3690
|
Total: "Total Balance",
|
|
@@ -4215,7 +4211,7 @@ var qt = { exports: {} };
|
|
|
4215
4211
|
var St = b != null && y != null && "body" in y.prototype;
|
|
4216
4212
|
function At(c, o, p) {
|
|
4217
4213
|
o = String(o);
|
|
4218
|
-
var f = !!p.withCredentials, m = p.lastEventIdQueryParameterName || "lastEventId", v = Ze(1e3), T = Oe(p.heartbeatTimeout, 45e3), E = "", w = v, N = !1, F = 0, S = p.headers || {}, k = p.Transport, ye = St && k == null ? void 0 : new j(k != null ? new k() : wt()), qe = k != null && typeof k != "string" ? new k() : ye == null ? new D() : new W(), ie = void 0, Y = 0, le = ze, Re = "", ot = "", ve = "", st = "", K = pe, Ct = 0, Ae = 0,
|
|
4214
|
+
var f = !!p.withCredentials, m = p.lastEventIdQueryParameterName || "lastEventId", v = Ze(1e3), T = Oe(p.heartbeatTimeout, 45e3), E = "", w = v, N = !1, F = 0, S = p.headers || {}, k = p.Transport, ye = St && k == null ? void 0 : new j(k != null ? new k() : wt()), qe = k != null && typeof k != "string" ? new k() : ye == null ? new D() : new W(), ie = void 0, Y = 0, le = ze, Re = "", ot = "", ve = "", st = "", K = pe, Ct = 0, Ae = 0, nr = function(Z, z, ae, oe) {
|
|
4219
4215
|
if (le === de)
|
|
4220
4216
|
if (Z === 200 && ae != null && it.test(ae)) {
|
|
4221
4217
|
le = Be, N = Date.now(), w = v, c.readyState = Be;
|
|
@@ -4235,7 +4231,7 @@ var qt = { exports: {} };
|
|
|
4235
4231
|
});
|
|
4236
4232
|
c.dispatchEvent(ee), Te(c, c.onerror, ee), console.error(q);
|
|
4237
4233
|
}
|
|
4238
|
-
},
|
|
4234
|
+
}, rr = function(Z) {
|
|
4239
4235
|
if (le === Be) {
|
|
4240
4236
|
for (var z = -1, ae = 0; ae < Z.length; ae += 1) {
|
|
4241
4237
|
var oe = Z.charCodeAt(ae);
|
|
@@ -4273,7 +4269,7 @@ var qt = { exports: {} };
|
|
|
4273
4269
|
K === pe && (Ct = q, K = Se), K === Se ? oe === 58 && (Ae = q + 1, K = We) : K === We && (K = _t);
|
|
4274
4270
|
}
|
|
4275
4271
|
}
|
|
4276
|
-
},
|
|
4272
|
+
}, en = function(Z) {
|
|
4277
4273
|
if (le === Be || le === de) {
|
|
4278
4274
|
le = ze, Y !== 0 && (i(Y), Y = 0), Y = r(function() {
|
|
4279
4275
|
Qe();
|
|
@@ -4286,7 +4282,7 @@ var qt = { exports: {} };
|
|
|
4286
4282
|
}, Qe = function() {
|
|
4287
4283
|
if (Y = 0, le !== ze) {
|
|
4288
4284
|
if (!N && ie != null)
|
|
4289
|
-
|
|
4285
|
+
en(new Error("No activity within " + T + " milliseconds. " + (le === de ? "No response received." : F + " chars received.") + " Reconnecting.")), ie != null && (ie.abort(), ie = void 0);
|
|
4290
4286
|
else {
|
|
4291
4287
|
var Z = Math.max((N || Date.now()) + T - Date.now(), 1);
|
|
4292
4288
|
N = !1, Y = r(function() {
|
|
@@ -4312,7 +4308,7 @@ var qt = { exports: {} };
|
|
|
4312
4308
|
for (var Ee in q)
|
|
4313
4309
|
Object.prototype.hasOwnProperty.call(q, Ee) && (ee[Ee] = q[Ee]);
|
|
4314
4310
|
try {
|
|
4315
|
-
ie = qe.open(ye,
|
|
4311
|
+
ie = qe.open(ye, nr, rr, en, z, oe, ee);
|
|
4316
4312
|
} catch (xe) {
|
|
4317
4313
|
throw Ht(), xe;
|
|
4318
4314
|
}
|
|
@@ -4331,9 +4327,9 @@ var qt = { exports: {} };
|
|
|
4331
4327
|
}(function(c) {
|
|
4332
4328
|
c.EventSourcePolyfill = re, c.NativeEventSource = h, c.EventSource = at;
|
|
4333
4329
|
});
|
|
4334
|
-
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self :
|
|
4330
|
+
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Cr : globalThis);
|
|
4335
4331
|
})(qt, qt.exports);
|
|
4336
|
-
var
|
|
4332
|
+
var ba = qt.exports;
|
|
4337
4333
|
/*!
|
|
4338
4334
|
* currency.js - v2.0.4
|
|
4339
4335
|
* http://scurker.github.io/currency.js
|
|
@@ -4341,7 +4337,7 @@ var ya = qt.exports;
|
|
|
4341
4337
|
* Copyright (c) 2021 Jason Wilson
|
|
4342
4338
|
* Released under MIT license
|
|
4343
4339
|
*/
|
|
4344
|
-
var
|
|
4340
|
+
var ya = {
|
|
4345
4341
|
symbol: "$",
|
|
4346
4342
|
separator: ",",
|
|
4347
4343
|
decimal: ".",
|
|
@@ -4349,24 +4345,24 @@ var va = {
|
|
|
4349
4345
|
precision: 2,
|
|
4350
4346
|
pattern: "!#",
|
|
4351
4347
|
negativePattern: "-!#",
|
|
4352
|
-
format:
|
|
4348
|
+
format: _a,
|
|
4353
4349
|
fromCents: !1
|
|
4354
|
-
},
|
|
4350
|
+
}, tr = function(t) {
|
|
4355
4351
|
return Math.round(t);
|
|
4356
|
-
},
|
|
4352
|
+
}, Kt = function(t) {
|
|
4357
4353
|
return Math.pow(10, t);
|
|
4358
|
-
},
|
|
4359
|
-
return
|
|
4360
|
-
},
|
|
4354
|
+
}, va = function(t, n) {
|
|
4355
|
+
return tr(t / n) * n;
|
|
4356
|
+
}, Ea = /(\d)(?=(\d{3})+\b)/g, xa = /(\d)(?=(\d\d)+\d\b)/g;
|
|
4361
4357
|
function ue(e, t) {
|
|
4362
4358
|
var n = this;
|
|
4363
4359
|
if (!(n instanceof ue))
|
|
4364
4360
|
return new ue(e, t);
|
|
4365
|
-
var r = Object.assign({},
|
|
4366
|
-
n.intValue = a, n.value = a / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups =
|
|
4361
|
+
var r = Object.assign({}, ya, t), i = Kt(r.precision), a = ft(e, r);
|
|
4362
|
+
n.intValue = a, n.value = a / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups = xa : r.groups = Ea, this.s = r, this.p = i;
|
|
4367
4363
|
}
|
|
4368
4364
|
function ft(e, t) {
|
|
4369
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, a = t.errorOnInvalid, l = t.precision, s = t.fromCents, h =
|
|
4365
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, a = t.errorOnInvalid, l = t.precision, s = t.fromCents, h = Kt(l), u = typeof e == "number", d = e instanceof ue;
|
|
4370
4366
|
if (d && s)
|
|
4371
4367
|
return e.intValue;
|
|
4372
4368
|
if (u || d)
|
|
@@ -4379,9 +4375,9 @@ function ft(e, t) {
|
|
|
4379
4375
|
throw Error("Invalid Input");
|
|
4380
4376
|
r = 0;
|
|
4381
4377
|
}
|
|
4382
|
-
return s || (r *= h, r = r.toFixed(4)), n ?
|
|
4378
|
+
return s || (r *= h, r = r.toFixed(4)), n ? tr(r) : r;
|
|
4383
4379
|
}
|
|
4384
|
-
function
|
|
4380
|
+
function _a(e, t) {
|
|
4385
4381
|
var n = t.pattern, r = t.negativePattern, i = t.symbol, a = t.separator, l = t.decimal, s = t.groups, h = ("" + e).replace(/^-/, "").split("."), u = h[0], d = h[1];
|
|
4386
4382
|
return (e.value >= 0 ? n : r).replace("!", i).replace("#", u.replace(s, "$1" + a) + (d ? l + d : ""));
|
|
4387
4383
|
}
|
|
@@ -4411,7 +4407,7 @@ ue.prototype = {
|
|
|
4411
4407
|
*/
|
|
4412
4408
|
multiply: function(t) {
|
|
4413
4409
|
var n = this.intValue, r = this.s;
|
|
4414
|
-
return ue((n *= t) / (r.fromCents ? 1 :
|
|
4410
|
+
return ue((n *= t) / (r.fromCents ? 1 : Kt(r.precision)), r);
|
|
4415
4411
|
},
|
|
4416
4412
|
/**
|
|
4417
4413
|
* Divides value.
|
|
@@ -4465,7 +4461,7 @@ ue.prototype = {
|
|
|
4465
4461
|
*/
|
|
4466
4462
|
toString: function() {
|
|
4467
4463
|
var t = this.intValue, n = this.p, r = this.s;
|
|
4468
|
-
return
|
|
4464
|
+
return va(t / n, r.increment).toFixed(r.precision);
|
|
4469
4465
|
},
|
|
4470
4466
|
/**
|
|
4471
4467
|
* Value for JSON serialization.
|
|
@@ -4475,18 +4471,18 @@ ue.prototype = {
|
|
|
4475
4471
|
return this.value;
|
|
4476
4472
|
}
|
|
4477
4473
|
};
|
|
4478
|
-
function
|
|
4479
|
-
|
|
4474
|
+
function Ba(e) {
|
|
4475
|
+
or(e, "svelte-1tsugyl", '*,*::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;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, #D0046C));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;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}');
|
|
4480
4476
|
}
|
|
4481
|
-
function
|
|
4477
|
+
function En(e, t, n) {
|
|
4482
4478
|
const r = e.slice();
|
|
4483
4479
|
return r[50] = t[n], r;
|
|
4484
4480
|
}
|
|
4485
|
-
function
|
|
4481
|
+
function xn(e, t, n) {
|
|
4486
4482
|
const r = e.slice();
|
|
4487
4483
|
return r[53] = t[n], r;
|
|
4488
4484
|
}
|
|
4489
|
-
function
|
|
4485
|
+
function Ta(e) {
|
|
4490
4486
|
let t, n, r = (
|
|
4491
4487
|
/*balances*/
|
|
4492
4488
|
(e[1].Total ? (
|
|
@@ -4498,14 +4494,14 @@ function wa(e) {
|
|
|
4498
4494
|
) : "0") + ""
|
|
4499
4495
|
), i, a, l, s, h, u, d, b, y, B, x, H, _ = (
|
|
4500
4496
|
/*showBalance*/
|
|
4501
|
-
e[4] &&
|
|
4497
|
+
e[4] && _n(e)
|
|
4502
4498
|
);
|
|
4503
4499
|
return {
|
|
4504
4500
|
c() {
|
|
4505
4501
|
t = $("div"), n = $("p"), i = ce(r), a = fe(), l = ce(
|
|
4506
4502
|
/*currency*/
|
|
4507
4503
|
e[5]
|
|
4508
|
-
), s = fe(), h = $("span"), u =
|
|
4504
|
+
), s = fe(), h = $("span"), u = nn("svg"), d = nn("path"), y = fe(), _ && _.c(), B = ur(), M(d, "id", "arrow"), M(d, "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(d, "transform", "translate(-274.511 -441.088)"), M(d, "fill", "#d1d1d1"), M(u, "xmlns", "http://www.w3.org/2000/svg"), M(u, "width", "14"), M(u, "height", "6.835"), M(u, "viewBox", "0 0 14 6.835"), M(h, "class", b = /*modalOpened*/
|
|
4509
4505
|
e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
|
|
4510
4506
|
},
|
|
4511
4507
|
m(A, P) {
|
|
@@ -4533,14 +4529,14 @@ function wa(e) {
|
|
|
4533
4529
|
), P[0] & /*modalOpened*/
|
|
4534
4530
|
8 && b !== (b = /*modalOpened*/
|
|
4535
4531
|
A[3] ? "TriangleActive" : "TriangleInactive") && M(h, "class", b), /*showBalance*/
|
|
4536
|
-
A[4] ? _ ? _.p(A, P) : (_ =
|
|
4532
|
+
A[4] ? _ ? _.p(A, P) : (_ = _n(A), _.c(), _.m(B.parentNode, B)) : _ && (_.d(1), _ = null);
|
|
4537
4533
|
},
|
|
4538
4534
|
d(A) {
|
|
4539
4535
|
A && (he(t), he(y), he(B)), _ && _.d(A), x = !1, H();
|
|
4540
4536
|
}
|
|
4541
4537
|
};
|
|
4542
4538
|
}
|
|
4543
|
-
function
|
|
4539
|
+
function wa(e) {
|
|
4544
4540
|
let t, n = (
|
|
4545
4541
|
/*$_*/
|
|
4546
4542
|
e[6]("Loading") + ""
|
|
@@ -4562,7 +4558,7 @@ function Sa(e) {
|
|
|
4562
4558
|
}
|
|
4563
4559
|
};
|
|
4564
4560
|
}
|
|
4565
|
-
function
|
|
4561
|
+
function _n(e) {
|
|
4566
4562
|
let t, n, r, i, a, l, s, h, u = (
|
|
4567
4563
|
/*$_*/
|
|
4568
4564
|
e[6]("Title") + ""
|
|
@@ -4574,7 +4570,7 @@ function Bn(e) {
|
|
|
4574
4570
|
e[1]
|
|
4575
4571
|
)), U = [];
|
|
4576
4572
|
for (let D = 0; D < W.length; D += 1)
|
|
4577
|
-
U[D] =
|
|
4573
|
+
U[D] = Tn(En(e, W, D));
|
|
4578
4574
|
return {
|
|
4579
4575
|
c() {
|
|
4580
4576
|
t = $("div"), n = $("div"), i = fe(), a = $("div"), l = $("div"), s = $("div"), h = $("p"), d = ce(u), b = fe(), y = $("div");
|
|
@@ -4618,8 +4614,8 @@ function Bn(e) {
|
|
|
4618
4614
|
));
|
|
4619
4615
|
let g;
|
|
4620
4616
|
for (g = 0; g < W.length; g += 1) {
|
|
4621
|
-
const J =
|
|
4622
|
-
U[g] ? U[g].p(J, V) : (U[g] =
|
|
4617
|
+
const J = En(D, W, g);
|
|
4618
|
+
U[g] ? U[g].p(J, V) : (U[g] = Tn(J), U[g].c(), U[g].m(y, null));
|
|
4623
4619
|
}
|
|
4624
4620
|
for (; g < U.length; g += 1)
|
|
4625
4621
|
U[g].d(1);
|
|
@@ -4636,11 +4632,11 @@ function Bn(e) {
|
|
|
4636
4632
|
(D[3] ? "Open" : "")) && M(t, "class", j);
|
|
4637
4633
|
},
|
|
4638
4634
|
d(D) {
|
|
4639
|
-
D && he(t),
|
|
4635
|
+
D && he(t), Hn(U, D), X = !1, $e(ne);
|
|
4640
4636
|
}
|
|
4641
4637
|
};
|
|
4642
4638
|
}
|
|
4643
|
-
function
|
|
4639
|
+
function Bn(e) {
|
|
4644
4640
|
let t, n, r = (
|
|
4645
4641
|
/*$_*/
|
|
4646
4642
|
e[6](
|
|
@@ -4710,7 +4706,7 @@ function Tn(e) {
|
|
|
4710
4706
|
}
|
|
4711
4707
|
};
|
|
4712
4708
|
}
|
|
4713
|
-
function
|
|
4709
|
+
function Tn(e) {
|
|
4714
4710
|
let t, n, r = pt(
|
|
4715
4711
|
/*balances*/
|
|
4716
4712
|
e[1][
|
|
@@ -4719,7 +4715,7 @@ function wn(e) {
|
|
|
4719
4715
|
]
|
|
4720
4716
|
), i = [];
|
|
4721
4717
|
for (let a = 0; a < r.length; a += 1)
|
|
4722
|
-
i[a] =
|
|
4718
|
+
i[a] = Bn(xn(e, r, a));
|
|
4723
4719
|
return {
|
|
4724
4720
|
c() {
|
|
4725
4721
|
t = $("div");
|
|
@@ -4745,8 +4741,8 @@ function wn(e) {
|
|
|
4745
4741
|
);
|
|
4746
4742
|
let s;
|
|
4747
4743
|
for (s = 0; s < r.length; s += 1) {
|
|
4748
|
-
const h =
|
|
4749
|
-
i[s] ? i[s].p(h, l) : (i[s] =
|
|
4744
|
+
const h = xn(a, r, s);
|
|
4745
|
+
i[s] ? i[s].p(h, l) : (i[s] = Bn(h), i[s].c(), i[s].m(t, n));
|
|
4750
4746
|
}
|
|
4751
4747
|
for (; s < i.length; s += 1)
|
|
4752
4748
|
i[s].d(1);
|
|
@@ -4754,11 +4750,11 @@ function wn(e) {
|
|
|
4754
4750
|
}
|
|
4755
4751
|
},
|
|
4756
4752
|
d(a) {
|
|
4757
|
-
a && he(t),
|
|
4753
|
+
a && he(t), Hn(i, a);
|
|
4758
4754
|
}
|
|
4759
4755
|
};
|
|
4760
4756
|
}
|
|
4761
|
-
function
|
|
4757
|
+
function wn(e) {
|
|
4762
4758
|
let t, n, r;
|
|
4763
4759
|
return {
|
|
4764
4760
|
c() {
|
|
@@ -4778,17 +4774,17 @@ function Sn(e) {
|
|
|
4778
4774
|
}
|
|
4779
4775
|
};
|
|
4780
4776
|
}
|
|
4781
|
-
function
|
|
4777
|
+
function Sa(e) {
|
|
4782
4778
|
let t, n, r;
|
|
4783
4779
|
function i(h, u) {
|
|
4784
4780
|
return (
|
|
4785
4781
|
/*isLoading*/
|
|
4786
|
-
h[2] ?
|
|
4782
|
+
h[2] ? wa : Ta
|
|
4787
4783
|
);
|
|
4788
4784
|
}
|
|
4789
4785
|
let a = i(e), l = a(e), s = (
|
|
4790
4786
|
/*showBalance*/
|
|
4791
|
-
e[4] &&
|
|
4787
|
+
e[4] && wn(e)
|
|
4792
4788
|
);
|
|
4793
4789
|
return {
|
|
4794
4790
|
c() {
|
|
@@ -4799,7 +4795,7 @@ function Aa(e) {
|
|
|
4799
4795
|
},
|
|
4800
4796
|
p(h, u) {
|
|
4801
4797
|
a === (a = i(h)) && l ? l.p(h, u) : (l.d(1), l = a(h), l && (l.c(), l.m(n, null))), /*showBalance*/
|
|
4802
|
-
h[4] ? s ? s.p(h, u) : (s =
|
|
4798
|
+
h[4] ? s ? s.p(h, u) : (s = wn(h), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4803
4799
|
},
|
|
4804
4800
|
i: se,
|
|
4805
4801
|
o: se,
|
|
@@ -4808,14 +4804,14 @@ function Aa(e) {
|
|
|
4808
4804
|
}
|
|
4809
4805
|
};
|
|
4810
4806
|
}
|
|
4811
|
-
function
|
|
4807
|
+
function Aa(e, t, n) {
|
|
4812
4808
|
let r;
|
|
4813
|
-
|
|
4809
|
+
ar(e, ma, (o) => n(6, r = o));
|
|
4814
4810
|
let { userid: i = "" } = t, { session: a = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: d = "" } = t, { customlocaleidentifier: b = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: x = "totalCashAmount" } = t, { currencyseparator: H = "" } = t, { currencydecimal: _ = "" } = t, { currencyprecision: A = "" } = t, P, O, j, X, ne = !1, W = "", U = [], D, V = !1;
|
|
4815
4811
|
const g = {}, J = ["totalCashAmount", "totalRealAmount"], rt = () => {
|
|
4816
|
-
fetch(d).then((o) => o.json()).then((o) => Object.keys(o).forEach((p) =>
|
|
4812
|
+
fetch(d).then((o) => o.json()).then((o) => Object.keys(o).forEach((p) => yn(p, o[p]))).catch((o) => console.log(o));
|
|
4817
4813
|
};
|
|
4818
|
-
Object.keys(
|
|
4814
|
+
Object.keys(vn).forEach((o) => yn(o, vn[o]));
|
|
4819
4815
|
const ge = (o) => {
|
|
4820
4816
|
switch (o) {
|
|
4821
4817
|
case "balance":
|
|
@@ -4967,7 +4963,7 @@ function Ca(e, t, n) {
|
|
|
4967
4963
|
const f = {
|
|
4968
4964
|
accept: "text/event-stream",
|
|
4969
4965
|
"X-SessionId": a
|
|
4970
|
-
}, m = new
|
|
4966
|
+
}, m = new ba.EventSourcePolyfill(o, { headers: f });
|
|
4971
4967
|
X = m, m.addEventListener("message", p);
|
|
4972
4968
|
}, He = (o) => {
|
|
4973
4969
|
let p;
|
|
@@ -5043,7 +5039,7 @@ function Ca(e, t, n) {
|
|
|
5043
5039
|
}, Bt = () => {
|
|
5044
5040
|
J.includes(x) || (console.error(`Unsupported value ('${x}') for totalcalculationmode parameter. Only the following values are supported ${J}. Using default value ('${J[0]}').`), n(10, x = J[0]));
|
|
5045
5041
|
}, Tt = () => {
|
|
5046
|
-
switch (
|
|
5042
|
+
switch (ga(s), Bt(), y) {
|
|
5047
5043
|
case "gmcore":
|
|
5048
5044
|
de();
|
|
5049
5045
|
break;
|
|
@@ -5069,7 +5065,7 @@ function Ca(e, t, n) {
|
|
|
5069
5065
|
}, re = () => {
|
|
5070
5066
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
5071
5067
|
};
|
|
5072
|
-
|
|
5068
|
+
dr(() => (window.addEventListener("message", Oe, !1), () => {
|
|
5073
5069
|
window.removeEventListener("message", Oe), X && X.close();
|
|
5074
5070
|
}));
|
|
5075
5071
|
const wt = () => ge("balance"), St = () => ge("closebalance"), At = () => it(), at = () => ge("closeBalance");
|
|
@@ -5121,14 +5117,14 @@ function Ca(e, t, n) {
|
|
|
5121
5117
|
c
|
|
5122
5118
|
];
|
|
5123
5119
|
}
|
|
5124
|
-
class
|
|
5120
|
+
class Ca extends wr {
|
|
5125
5121
|
constructor(t) {
|
|
5126
|
-
super(),
|
|
5122
|
+
super(), Br(
|
|
5127
5123
|
this,
|
|
5128
5124
|
t,
|
|
5129
|
-
Ca,
|
|
5130
5125
|
Aa,
|
|
5131
|
-
|
|
5126
|
+
Sa,
|
|
5127
|
+
An,
|
|
5132
5128
|
{
|
|
5133
5129
|
userid: 11,
|
|
5134
5130
|
session: 12,
|
|
@@ -5145,7 +5141,7 @@ class Ha extends Sr {
|
|
|
5145
5141
|
currencydecimal: 22,
|
|
5146
5142
|
currencyprecision: 23
|
|
5147
5143
|
},
|
|
5148
|
-
|
|
5144
|
+
Ba,
|
|
5149
5145
|
[-1, -1]
|
|
5150
5146
|
);
|
|
5151
5147
|
}
|
|
@@ -5234,7 +5230,7 @@ class Ha extends Sr {
|
|
|
5234
5230
|
this.$$set({ currencyprecision: t }), Q();
|
|
5235
5231
|
}
|
|
5236
5232
|
}
|
|
5237
|
-
|
|
5233
|
+
Tr(Ca, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|
|
5238
5234
|
export {
|
|
5239
|
-
|
|
5235
|
+
Ca as P
|
|
5240
5236
|
};
|