@everymatrix/player-account-gaming-limits-page-2-gmcore 1.60.1 → 1.60.2
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/{PlayerAccountGamingLimitsPage2Gmcore-DcDnI853.js → PlayerAccountGamingLimitsPage2Gmcore-ZmrfLtfH.js} +608 -630
- package/components/PlayerAccountGamingLimitsPage2Gmcore-_y_ra1xb.cjs +19 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-DEhZ_HVv.js → PlayerAccountGamingLimitsPage2Gmcore-kxJjp-5D.js} +628 -650
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPage2Gmcore-Dji84TH-.cjs +0 -19
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function j() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ee(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ht(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ti(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ki(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ii(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const r of t)
|
|
24
24
|
r(void 0);
|
|
@@ -27,20 +27,20 @@ function oi(e, ...t) {
|
|
|
27
27
|
const i = e.subscribe(...t);
|
|
28
28
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function er(e, t, i) {
|
|
31
|
+
e.$$.on_destroy.push(ii(t, i));
|
|
32
32
|
}
|
|
33
33
|
function d(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const r =
|
|
36
|
+
function tr(e, t, i) {
|
|
37
|
+
const r = ir(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
39
|
const n = y("style");
|
|
40
|
-
n.id = t, n.textContent = i,
|
|
40
|
+
n.id = t, n.textContent = i, rr(r, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ir(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function sr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function rr(e, t) {
|
|
54
54
|
return d(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -73,14 +73,14 @@ function y(e) {
|
|
|
73
73
|
function pe(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function $(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
79
|
function U() {
|
|
80
|
-
return
|
|
80
|
+
return $(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function nr() {
|
|
83
|
+
return $("");
|
|
84
84
|
}
|
|
85
85
|
function Z(e, t, i, r) {
|
|
86
86
|
return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
|
|
@@ -88,10 +88,10 @@ function Z(e, t, i, r) {
|
|
|
88
88
|
function b(e, t, i) {
|
|
89
89
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ri(e) {
|
|
92
92
|
return e === "" ? null : +e;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function or(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
97
|
function W(e, t) {
|
|
@@ -104,7 +104,7 @@ function ge(e, t) {
|
|
|
104
104
|
function Ge(e, t, i, r) {
|
|
105
105
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Be(e, t, i) {
|
|
108
108
|
for (let r = 0; r < e.options.length; r += 1) {
|
|
109
109
|
const n = e.options[r];
|
|
110
110
|
if (n.__value === t) {
|
|
@@ -114,11 +114,11 @@ function Ne(e, t, i) {
|
|
|
114
114
|
}
|
|
115
115
|
(!i || t !== void 0) && (e.selectedIndex = -1);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function yt(e) {
|
|
118
118
|
const t = e.querySelector(":checked");
|
|
119
119
|
return t && t.__value;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function sr(e) {
|
|
122
122
|
const t = {};
|
|
123
123
|
return e.childNodes.forEach(
|
|
124
124
|
/** @param {Element} node */
|
|
@@ -131,20 +131,20 @@ let ye;
|
|
|
131
131
|
function be(e) {
|
|
132
132
|
ye = e;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ar() {
|
|
135
135
|
if (!ye)
|
|
136
136
|
throw new Error("Function called outside component initialization");
|
|
137
137
|
return ye;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
139
|
+
function lr(e) {
|
|
140
|
+
ar().$$.on_mount.push(e);
|
|
141
141
|
}
|
|
142
142
|
const ne = [], Ie = [];
|
|
143
143
|
let oe = [];
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
function
|
|
147
|
-
|
|
144
|
+
const vt = [], ur = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let Je = !1;
|
|
146
|
+
function cr() {
|
|
147
|
+
Je || (Je = !0, ur.then(V));
|
|
148
148
|
}
|
|
149
149
|
function ve(e) {
|
|
150
150
|
oe.push(e);
|
|
@@ -159,7 +159,7 @@ function V() {
|
|
|
159
159
|
try {
|
|
160
160
|
for (; ie < ne.length; ) {
|
|
161
161
|
const t = ne[ie];
|
|
162
|
-
ie++, be(t),
|
|
162
|
+
ie++, be(t), hr(t.$$);
|
|
163
163
|
}
|
|
164
164
|
} catch (t) {
|
|
165
165
|
throw ne.length = 0, ie = 0, t;
|
|
@@ -172,43 +172,43 @@ function V() {
|
|
|
172
172
|
}
|
|
173
173
|
oe.length = 0;
|
|
174
174
|
} while (ne.length);
|
|
175
|
-
for (;
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
for (; vt.length; )
|
|
176
|
+
vt.pop()();
|
|
177
|
+
Je = !1, ze.clear(), be(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function hr(e) {
|
|
180
180
|
if (e.fragment !== null) {
|
|
181
181
|
e.update(), ee(e.before_update);
|
|
182
182
|
const t = e.dirty;
|
|
183
183
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function mr(e) {
|
|
187
187
|
const t = [], i = [];
|
|
188
188
|
oe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), oe = t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
function
|
|
192
|
-
e && e.i && (
|
|
190
|
+
const fr = /* @__PURE__ */ new Set();
|
|
191
|
+
function pr(e, t) {
|
|
192
|
+
e && e.i && (fr.delete(e), e.i(t));
|
|
193
193
|
}
|
|
194
194
|
function K(e) {
|
|
195
195
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function dr(e, t, i) {
|
|
198
198
|
const { fragment: r, after_update: n } = e.$$;
|
|
199
199
|
r && r.m(t, i), ve(() => {
|
|
200
|
-
const o = e.$$.on_mount.map(
|
|
200
|
+
const o = e.$$.on_mount.map(ei).filter(ht);
|
|
201
201
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
202
202
|
}), n.forEach(ve);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function br(e, t) {
|
|
205
205
|
const i = e.$$;
|
|
206
|
-
i.fragment !== null && (
|
|
206
|
+
i.fragment !== null && (mr(i.after_update), ee(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
e.$$.dirty[0] === -1 && (ne.push(e),
|
|
208
|
+
function gr(e, t) {
|
|
209
|
+
e.$$.dirty[0] === -1 && (ne.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function yr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
212
212
|
const c = ye;
|
|
213
213
|
be(e);
|
|
214
214
|
const l = e.$$ = {
|
|
@@ -218,7 +218,7 @@ function Lr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
218
218
|
props: o,
|
|
219
219
|
update: j,
|
|
220
220
|
not_equal: n,
|
|
221
|
-
bound:
|
|
221
|
+
bound: gt(),
|
|
222
222
|
// lifecycle
|
|
223
223
|
on_mount: [],
|
|
224
224
|
on_destroy: [],
|
|
@@ -227,7 +227,7 @@ function Lr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
227
227
|
after_update: [],
|
|
228
228
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
229
229
|
// everything else
|
|
230
|
-
callbacks:
|
|
230
|
+
callbacks: gt(),
|
|
231
231
|
dirty: a,
|
|
232
232
|
skip_bound: !1,
|
|
233
233
|
root: t.target || c.$$.root
|
|
@@ -236,19 +236,19 @@ function Lr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
236
236
|
let u = !1;
|
|
237
237
|
if (l.ctx = i ? i(e, t.props || {}, (h, f, ...m) => {
|
|
238
238
|
const p = m.length ? m[0] : f;
|
|
239
|
-
return l.ctx && n(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), u &&
|
|
239
|
+
return l.ctx && n(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), u && gr(e, h)), f;
|
|
240
240
|
}) : [], l.update(), u = !0, ee(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
241
241
|
if (t.hydrate) {
|
|
242
|
-
const h =
|
|
242
|
+
const h = or(t.target);
|
|
243
243
|
l.fragment && l.fragment.l(h), h.forEach(A);
|
|
244
244
|
} else
|
|
245
245
|
l.fragment && l.fragment.c();
|
|
246
|
-
t.intro &&
|
|
246
|
+
t.intro && pr(e.$$.fragment), dr(e, t.target, t.anchor), V();
|
|
247
247
|
}
|
|
248
248
|
be(c);
|
|
249
249
|
}
|
|
250
|
-
let
|
|
251
|
-
typeof HTMLElement == "function" && (
|
|
250
|
+
let ni;
|
|
251
|
+
typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
252
252
|
/** The Svelte component constructor */
|
|
253
253
|
$$ctor;
|
|
254
254
|
/** Slots */
|
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
|
|
|
307
307
|
};
|
|
308
308
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
309
309
|
return;
|
|
310
|
-
const t = {}, i =
|
|
310
|
+
const t = {}, i = sr(this);
|
|
311
311
|
for (const n of this.$$s)
|
|
312
312
|
n in i && (t[n] = [e(n)]);
|
|
313
313
|
for (const n of this.attributes) {
|
|
@@ -394,8 +394,8 @@ function Se(e, t, i, r) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function vr(e, t, i, r, n, o) {
|
|
398
|
+
let s = class extends ni {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, i, n), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -423,7 +423,7 @@ function xr(e, t, i, r, n, o) {
|
|
|
423
423
|
}), e.element = /** @type {any} */
|
|
424
424
|
s, s;
|
|
425
425
|
}
|
|
426
|
-
class
|
|
426
|
+
class _r {
|
|
427
427
|
/**
|
|
428
428
|
* ### PRIVATE API
|
|
429
429
|
*
|
|
@@ -442,7 +442,7 @@ class Tr {
|
|
|
442
442
|
$$set = void 0;
|
|
443
443
|
/** @returns {void} */
|
|
444
444
|
$destroy() {
|
|
445
|
-
|
|
445
|
+
br(this, 1), this.$destroy = j;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
448
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -451,7 +451,7 @@ class Tr {
|
|
|
451
451
|
* @returns {() => void}
|
|
452
452
|
*/
|
|
453
453
|
$on(t, i) {
|
|
454
|
-
if (!
|
|
454
|
+
if (!ht(i))
|
|
455
455
|
return j;
|
|
456
456
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
457
457
|
return r.push(i), () => {
|
|
@@ -464,11 +464,11 @@ class Tr {
|
|
|
464
464
|
* @returns {void}
|
|
465
465
|
*/
|
|
466
466
|
$set(t) {
|
|
467
|
-
this.$$set && !
|
|
467
|
+
this.$$set && !Ki(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
const
|
|
471
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
470
|
+
const Er = "4";
|
|
471
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
472
472
|
const X = {
|
|
473
473
|
deposit: {
|
|
474
474
|
title: "Deposit Limit",
|
|
@@ -495,7 +495,7 @@ const X = {
|
|
|
495
495
|
periods: ["Monthly"]
|
|
496
496
|
}
|
|
497
497
|
}, re = [];
|
|
498
|
-
function
|
|
498
|
+
function Lr(e, t) {
|
|
499
499
|
return {
|
|
500
500
|
subscribe: ke(e, t).subscribe
|
|
501
501
|
};
|
|
@@ -504,7 +504,7 @@ function ke(e, t = j) {
|
|
|
504
504
|
let i;
|
|
505
505
|
const r = /* @__PURE__ */ new Set();
|
|
506
506
|
function n(a) {
|
|
507
|
-
if (
|
|
507
|
+
if (ti(e, a) && (e = a, i)) {
|
|
508
508
|
const c = !re.length;
|
|
509
509
|
for (const l of r)
|
|
510
510
|
l[1](), re.push(l, e);
|
|
@@ -531,7 +531,7 @@ function he(e, t, i) {
|
|
|
531
531
|
if (!n.every(Boolean))
|
|
532
532
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
533
533
|
const o = t.length < 2;
|
|
534
|
-
return
|
|
534
|
+
return Lr(i, (s, a) => {
|
|
535
535
|
let c = !1;
|
|
536
536
|
const l = [];
|
|
537
537
|
let u = 0, h = j;
|
|
@@ -540,9 +540,9 @@ function he(e, t, i) {
|
|
|
540
540
|
return;
|
|
541
541
|
h();
|
|
542
542
|
const p = t(r ? l[0] : l, s, a);
|
|
543
|
-
o ? s(p) : h =
|
|
543
|
+
o ? s(p) : h = ht(p) ? p : j;
|
|
544
544
|
}, m = n.map(
|
|
545
|
-
(p, _) =>
|
|
545
|
+
(p, _) => ii(
|
|
546
546
|
p,
|
|
547
547
|
(R) => {
|
|
548
548
|
l[_] = R, u &= ~(1 << _), c && f();
|
|
@@ -557,70 +557,70 @@ function he(e, t, i) {
|
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function xr(e) {
|
|
561
561
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
562
562
|
}
|
|
563
|
-
var
|
|
564
|
-
return
|
|
563
|
+
var Tr = function(t) {
|
|
564
|
+
return wr(t) && !Sr(t);
|
|
565
565
|
};
|
|
566
|
-
function
|
|
566
|
+
function wr(e) {
|
|
567
567
|
return !!e && typeof e == "object";
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Sr(e) {
|
|
570
570
|
var t = Object.prototype.toString.call(e);
|
|
571
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
571
|
+
return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
|
|
572
572
|
}
|
|
573
|
-
var
|
|
574
|
-
function
|
|
575
|
-
return e.$$typeof ===
|
|
573
|
+
var Pr = typeof Symbol == "function" && Symbol.for, Ar = Pr ? Symbol.for("react.element") : 60103;
|
|
574
|
+
function Nr(e) {
|
|
575
|
+
return e.$$typeof === Ar;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Br(e) {
|
|
578
578
|
return Array.isArray(e) ? [] : {};
|
|
579
579
|
}
|
|
580
580
|
function _e(e, t) {
|
|
581
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ae(
|
|
581
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ae(Br(e), e, t) : e;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function Ir(e, t, i) {
|
|
584
584
|
return e.concat(t).map(function(r) {
|
|
585
585
|
return _e(r, i);
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Hr(e, t) {
|
|
589
589
|
if (!t.customMerge)
|
|
590
590
|
return ae;
|
|
591
591
|
var i = t.customMerge(e);
|
|
592
592
|
return typeof i == "function" ? i : ae;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Or(e) {
|
|
595
595
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
596
596
|
return Object.propertyIsEnumerable.call(e, t);
|
|
597
597
|
}) : [];
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return Object.keys(e).concat(
|
|
599
|
+
function _t(e) {
|
|
600
|
+
return Object.keys(e).concat(Or(e));
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function oi(e, t) {
|
|
603
603
|
try {
|
|
604
604
|
return t in e;
|
|
605
605
|
} catch {
|
|
606
606
|
return !1;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
function
|
|
610
|
-
return
|
|
609
|
+
function Mr(e, t) {
|
|
610
|
+
return oi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function kr(e, t, i) {
|
|
613
613
|
var r = {};
|
|
614
|
-
return i.isMergeableObject(e) &&
|
|
614
|
+
return i.isMergeableObject(e) && _t(e).forEach(function(n) {
|
|
615
615
|
r[n] = _e(e[n], i);
|
|
616
|
-
}),
|
|
617
|
-
|
|
616
|
+
}), _t(t).forEach(function(n) {
|
|
617
|
+
Mr(e, n) || (oi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Hr(n, i)(e[n], t[n], i) : r[n] = _e(t[n], i));
|
|
618
618
|
}), r;
|
|
619
619
|
}
|
|
620
620
|
function ae(e, t, i) {
|
|
621
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
621
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Ir, i.isMergeableObject = i.isMergeableObject || Tr, i.cloneUnlessOtherwiseSpecified = _e;
|
|
622
622
|
var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
|
|
623
|
-
return o ? r ? i.arrayMerge(e, t, i) :
|
|
623
|
+
return o ? r ? i.arrayMerge(e, t, i) : kr(e, t, i) : _e(t, i);
|
|
624
624
|
}
|
|
625
625
|
ae.all = function(t, i) {
|
|
626
626
|
if (!Array.isArray(t))
|
|
@@ -629,8 +629,8 @@ ae.all = function(t, i) {
|
|
|
629
629
|
return ae(r, n, i);
|
|
630
630
|
}, {});
|
|
631
631
|
};
|
|
632
|
-
var
|
|
633
|
-
const
|
|
632
|
+
var Cr = ae, Dr = Cr;
|
|
633
|
+
const Rr = /* @__PURE__ */ xr(Dr);
|
|
634
634
|
/*! *****************************************************************************
|
|
635
635
|
Copyright (c) Microsoft Corporation.
|
|
636
636
|
|
|
@@ -645,18 +645,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
645
645
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
646
646
|
PERFORMANCE OF THIS SOFTWARE.
|
|
647
647
|
***************************************************************************** */
|
|
648
|
-
var
|
|
649
|
-
return
|
|
648
|
+
var Qe = function(e, t) {
|
|
649
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
650
650
|
i.__proto__ = r;
|
|
651
651
|
} || function(i, r) {
|
|
652
652
|
for (var n in r)
|
|
653
653
|
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
654
|
-
},
|
|
654
|
+
}, Qe(e, t);
|
|
655
655
|
};
|
|
656
656
|
function q(e, t) {
|
|
657
657
|
if (typeof t != "function" && t !== null)
|
|
658
658
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
659
|
-
|
|
659
|
+
Qe(e, t);
|
|
660
660
|
function i() {
|
|
661
661
|
this.constructor = e;
|
|
662
662
|
}
|
|
@@ -672,7 +672,7 @@ var S = function() {
|
|
|
672
672
|
return t;
|
|
673
673
|
}, S.apply(this, arguments);
|
|
674
674
|
};
|
|
675
|
-
function
|
|
675
|
+
function Ur(e, t) {
|
|
676
676
|
var i = {};
|
|
677
677
|
for (var r in e)
|
|
678
678
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
@@ -681,7 +681,7 @@ function Gr(e, t) {
|
|
|
681
681
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
682
682
|
return i;
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Ke(e) {
|
|
685
685
|
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
686
686
|
if (i)
|
|
687
687
|
return i.call(e);
|
|
@@ -693,7 +693,7 @@ function et(e) {
|
|
|
693
693
|
};
|
|
694
694
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function et(e, t) {
|
|
697
697
|
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
698
698
|
if (!i)
|
|
699
699
|
return e;
|
|
@@ -720,55 +720,53 @@ function se(e, t, i) {
|
|
|
720
720
|
return e.concat(o || t);
|
|
721
721
|
}
|
|
722
722
|
function We(e, t) {
|
|
723
|
-
var i = t && t.cache ? t.cache :
|
|
723
|
+
var i = t && t.cache ? t.cache : Vr, r = t && t.serializer ? t.serializer : zr, n = t && t.strategy ? t.strategy : Fr;
|
|
724
724
|
return n(e, {
|
|
725
725
|
cache: i,
|
|
726
726
|
serializer: r
|
|
727
727
|
});
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function jr(e) {
|
|
730
730
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
var n =
|
|
732
|
+
function $r(e, t, i, r) {
|
|
733
|
+
var n = jr(r) ? r : i(r), o = t.get(n);
|
|
734
734
|
return typeof o > "u" && (o = e.call(this, r), t.set(n, o)), o;
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function si(e, t, i) {
|
|
737
737
|
var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
|
|
738
738
|
return typeof o > "u" && (o = e.apply(this, r), t.set(n, o)), o;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function ai(e, t, i, r, n) {
|
|
741
741
|
return i.bind(t, e, r, n);
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
var i = e.length === 1 ?
|
|
745
|
-
return
|
|
743
|
+
function Fr(e, t) {
|
|
744
|
+
var i = e.length === 1 ? $r : si;
|
|
745
|
+
return ai(e, this, i, t.cache.create(), t.serializer);
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
return
|
|
749
|
-
}
|
|
750
|
-
function Xr(e, t) {
|
|
751
|
-
return ft(e, this, ui, t.cache.create(), t.serializer);
|
|
747
|
+
function Gr(e, t) {
|
|
748
|
+
return ai(e, this, si, t.cache.create(), t.serializer);
|
|
752
749
|
}
|
|
753
|
-
var
|
|
750
|
+
var zr = function() {
|
|
754
751
|
return JSON.stringify(arguments);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
752
|
+
}, Wr = (
|
|
753
|
+
/** @class */
|
|
754
|
+
function() {
|
|
755
|
+
function e() {
|
|
756
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
757
|
+
}
|
|
758
|
+
return e.prototype.get = function(t) {
|
|
759
|
+
return this.cache[t];
|
|
760
|
+
}, e.prototype.set = function(t, i) {
|
|
761
|
+
this.cache[t] = i;
|
|
762
|
+
}, e;
|
|
763
|
+
}()
|
|
764
|
+
), Vr = {
|
|
766
765
|
create: function() {
|
|
767
|
-
return new
|
|
766
|
+
return new Wr();
|
|
768
767
|
}
|
|
769
768
|
}, Ve = {
|
|
770
|
-
variadic:
|
|
771
|
-
monadic: Xr
|
|
769
|
+
variadic: Gr
|
|
772
770
|
}, x;
|
|
773
771
|
(function(e) {
|
|
774
772
|
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";
|
|
@@ -781,43 +779,43 @@ var le;
|
|
|
781
779
|
(function(e) {
|
|
782
780
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
783
781
|
})(le || (le = {}));
|
|
784
|
-
function
|
|
782
|
+
function Et(e) {
|
|
785
783
|
return e.type === O.literal;
|
|
786
784
|
}
|
|
787
|
-
function
|
|
785
|
+
function Xr(e) {
|
|
788
786
|
return e.type === O.argument;
|
|
789
787
|
}
|
|
790
|
-
function
|
|
788
|
+
function li(e) {
|
|
791
789
|
return e.type === O.number;
|
|
792
790
|
}
|
|
793
|
-
function
|
|
791
|
+
function ui(e) {
|
|
794
792
|
return e.type === O.date;
|
|
795
793
|
}
|
|
796
|
-
function
|
|
794
|
+
function ci(e) {
|
|
797
795
|
return e.type === O.time;
|
|
798
796
|
}
|
|
799
|
-
function
|
|
797
|
+
function hi(e) {
|
|
800
798
|
return e.type === O.select;
|
|
801
799
|
}
|
|
802
|
-
function
|
|
800
|
+
function mi(e) {
|
|
803
801
|
return e.type === O.plural;
|
|
804
802
|
}
|
|
805
|
-
function
|
|
803
|
+
function Zr(e) {
|
|
806
804
|
return e.type === O.pound;
|
|
807
805
|
}
|
|
808
|
-
function
|
|
806
|
+
function fi(e) {
|
|
809
807
|
return e.type === O.tag;
|
|
810
808
|
}
|
|
811
|
-
function
|
|
809
|
+
function pi(e) {
|
|
812
810
|
return !!(e && typeof e == "object" && e.type === le.number);
|
|
813
811
|
}
|
|
814
|
-
function
|
|
812
|
+
function tt(e) {
|
|
815
813
|
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
816
814
|
}
|
|
817
|
-
var
|
|
818
|
-
function
|
|
815
|
+
var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
|
|
816
|
+
function qr(e) {
|
|
819
817
|
var t = {};
|
|
820
|
-
return e.replace(
|
|
818
|
+
return e.replace(Yr, function(i) {
|
|
821
819
|
var r = i.length;
|
|
822
820
|
switch (i[0]) {
|
|
823
821
|
case "G":
|
|
@@ -906,11 +904,11 @@ function Kr(e) {
|
|
|
906
904
|
return "";
|
|
907
905
|
}), t;
|
|
908
906
|
}
|
|
909
|
-
var
|
|
910
|
-
function
|
|
907
|
+
var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
908
|
+
function Qr(e) {
|
|
911
909
|
if (e.length === 0)
|
|
912
910
|
throw new Error("Number skeleton cannot be empty");
|
|
913
|
-
for (var t = e.split(
|
|
911
|
+
for (var t = e.split(Jr).filter(function(f) {
|
|
914
912
|
return f.length > 0;
|
|
915
913
|
}), i = [], r = 0, n = t; r < n.length; r++) {
|
|
916
914
|
var o = n[r], s = o.split("/");
|
|
@@ -925,17 +923,17 @@ function tn(e) {
|
|
|
925
923
|
}
|
|
926
924
|
return i;
|
|
927
925
|
}
|
|
928
|
-
function
|
|
926
|
+
function Kr(e) {
|
|
929
927
|
return e.replace(/^(.*?)-/, "");
|
|
930
928
|
}
|
|
931
|
-
var
|
|
932
|
-
function
|
|
929
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bi = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
|
|
930
|
+
function xt(e) {
|
|
933
931
|
var t = {};
|
|
934
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
932
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bi, function(i, r, n) {
|
|
935
933
|
return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
|
|
936
934
|
}), t;
|
|
937
935
|
}
|
|
938
|
-
function
|
|
936
|
+
function yi(e) {
|
|
939
937
|
switch (e) {
|
|
940
938
|
case "sign-auto":
|
|
941
939
|
return {
|
|
@@ -975,7 +973,7 @@ function Ei(e) {
|
|
|
975
973
|
};
|
|
976
974
|
}
|
|
977
975
|
}
|
|
978
|
-
function
|
|
976
|
+
function tn(e) {
|
|
979
977
|
var t;
|
|
980
978
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
981
979
|
notation: "engineering"
|
|
@@ -983,17 +981,17 @@ function on(e) {
|
|
|
983
981
|
notation: "scientific"
|
|
984
982
|
}, e = e.slice(1)), t) {
|
|
985
983
|
var i = e.slice(0, 2);
|
|
986
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
984
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gi.test(e))
|
|
987
985
|
throw new Error("Malformed concise eng/scientific notation");
|
|
988
986
|
t.minimumIntegerDigits = e.length;
|
|
989
987
|
}
|
|
990
988
|
return t;
|
|
991
989
|
}
|
|
992
|
-
function
|
|
993
|
-
var t = {}, i =
|
|
990
|
+
function Tt(e) {
|
|
991
|
+
var t = {}, i = yi(e);
|
|
994
992
|
return i || t;
|
|
995
993
|
}
|
|
996
|
-
function
|
|
994
|
+
function rn(e) {
|
|
997
995
|
for (var t = {}, i = 0, r = e; i < r.length; i++) {
|
|
998
996
|
var n = r[i];
|
|
999
997
|
switch (n.stem) {
|
|
@@ -1017,7 +1015,7 @@ function sn(e) {
|
|
|
1017
1015
|
continue;
|
|
1018
1016
|
case "measure-unit":
|
|
1019
1017
|
case "unit":
|
|
1020
|
-
t.style = "unit", t.unit =
|
|
1018
|
+
t.style = "unit", t.unit = Kr(n.options[0]);
|
|
1021
1019
|
continue;
|
|
1022
1020
|
case "compact-short":
|
|
1023
1021
|
case "K":
|
|
@@ -1029,12 +1027,12 @@ function sn(e) {
|
|
|
1029
1027
|
continue;
|
|
1030
1028
|
case "scientific":
|
|
1031
1029
|
t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(c, l) {
|
|
1032
|
-
return S(S({}, c),
|
|
1030
|
+
return S(S({}, c), Tt(l));
|
|
1033
1031
|
}, {}));
|
|
1034
1032
|
continue;
|
|
1035
1033
|
case "engineering":
|
|
1036
1034
|
t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(c, l) {
|
|
1037
|
-
return S(S({}, c),
|
|
1035
|
+
return S(S({}, c), Tt(l));
|
|
1038
1036
|
}, {}));
|
|
1039
1037
|
continue;
|
|
1040
1038
|
case "notation-simple":
|
|
@@ -1079,7 +1077,7 @@ function sn(e) {
|
|
|
1079
1077
|
case "integer-width":
|
|
1080
1078
|
if (n.options.length > 1)
|
|
1081
1079
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1082
|
-
n.options[0].replace(
|
|
1080
|
+
n.options[0].replace(en, function(c, l, u, h, f, m) {
|
|
1083
1081
|
if (l)
|
|
1084
1082
|
t.minimumIntegerDigits = u.length;
|
|
1085
1083
|
else {
|
|
@@ -1092,27 +1090,27 @@ function sn(e) {
|
|
|
1092
1090
|
});
|
|
1093
1091
|
continue;
|
|
1094
1092
|
}
|
|
1095
|
-
if (
|
|
1093
|
+
if (gi.test(n.stem)) {
|
|
1096
1094
|
t.minimumIntegerDigits = n.stem.length;
|
|
1097
1095
|
continue;
|
|
1098
1096
|
}
|
|
1099
|
-
if (
|
|
1097
|
+
if (Lt.test(n.stem)) {
|
|
1100
1098
|
if (n.options.length > 1)
|
|
1101
1099
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1102
|
-
n.stem.replace(
|
|
1100
|
+
n.stem.replace(Lt, function(c, l, u, h, f, m) {
|
|
1103
1101
|
return u === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1104
1102
|
});
|
|
1105
1103
|
var o = n.options[0];
|
|
1106
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
|
1104
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), xt(o)));
|
|
1107
1105
|
continue;
|
|
1108
1106
|
}
|
|
1109
|
-
if (
|
|
1110
|
-
t = S(S({}, t),
|
|
1107
|
+
if (bi.test(n.stem)) {
|
|
1108
|
+
t = S(S({}, t), xt(n.stem));
|
|
1111
1109
|
continue;
|
|
1112
1110
|
}
|
|
1113
|
-
var s =
|
|
1111
|
+
var s = yi(n.stem);
|
|
1114
1112
|
s && (t = S(S({}, t), s));
|
|
1115
|
-
var a =
|
|
1113
|
+
var a = tn(n.stem);
|
|
1116
1114
|
a && (t = S(S({}, t), a));
|
|
1117
1115
|
}
|
|
1118
1116
|
return t;
|
|
@@ -2532,13 +2530,13 @@ var Te = {
|
|
|
2532
2530
|
"h"
|
|
2533
2531
|
]
|
|
2534
2532
|
};
|
|
2535
|
-
function
|
|
2533
|
+
function nn(e, t) {
|
|
2536
2534
|
for (var i = "", r = 0; r < e.length; r++) {
|
|
2537
2535
|
var n = e.charAt(r);
|
|
2538
2536
|
if (n === "j") {
|
|
2539
2537
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
|
|
2540
2538
|
o++, r++;
|
|
2541
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2539
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = on(t);
|
|
2542
2540
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2543
2541
|
i += c;
|
|
2544
2542
|
for (; s-- > 0; )
|
|
@@ -2548,7 +2546,7 @@ function an(e, t) {
|
|
|
2548
2546
|
}
|
|
2549
2547
|
return i;
|
|
2550
2548
|
}
|
|
2551
|
-
function
|
|
2549
|
+
function on(e) {
|
|
2552
2550
|
var t = e.hourCycle;
|
|
2553
2551
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2554
2552
|
e.hourCycles && // @ts-ignore
|
|
@@ -2570,20 +2568,20 @@ function ln(e) {
|
|
|
2570
2568
|
var n = Te[r || ""] || Te[i || ""] || Te["".concat(i, "-001")] || Te["001"];
|
|
2571
2569
|
return n[0];
|
|
2572
2570
|
}
|
|
2573
|
-
var Xe,
|
|
2571
|
+
var Xe, sn = new RegExp("^".concat(di.source, "*")), an = new RegExp("".concat(di.source, "*$"));
|
|
2574
2572
|
function T(e, t) {
|
|
2575
2573
|
return { start: e, end: t };
|
|
2576
2574
|
}
|
|
2577
|
-
var
|
|
2575
|
+
var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, cn = !!Object.fromEntries, hn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, dn = pn ? Number.isSafeInteger : function(e) {
|
|
2578
2576
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2579
|
-
},
|
|
2577
|
+
}, it = !0;
|
|
2580
2578
|
try {
|
|
2581
|
-
var
|
|
2582
|
-
|
|
2579
|
+
var bn = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2580
|
+
it = ((Xe = bn.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
|
2583
2581
|
} catch {
|
|
2584
|
-
|
|
2582
|
+
it = !1;
|
|
2585
2583
|
}
|
|
2586
|
-
var
|
|
2584
|
+
var wt = ln ? (
|
|
2587
2585
|
// Native
|
|
2588
2586
|
function(t, i, r) {
|
|
2589
2587
|
return t.startsWith(i, r);
|
|
@@ -2593,7 +2591,7 @@ var At = hn ? (
|
|
|
2593
2591
|
function(t, i, r) {
|
|
2594
2592
|
return t.slice(r, r + i.length) === i;
|
|
2595
2593
|
}
|
|
2596
|
-
),
|
|
2594
|
+
), rt = un ? String.fromCodePoint : (
|
|
2597
2595
|
// IE11
|
|
2598
2596
|
function() {
|
|
2599
2597
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2605,9 +2603,9 @@ var At = hn ? (
|
|
|
2605
2603
|
}
|
|
2606
2604
|
return r;
|
|
2607
2605
|
}
|
|
2608
|
-
),
|
|
2606
|
+
), St = (
|
|
2609
2607
|
// native
|
|
2610
|
-
|
|
2608
|
+
cn ? Object.fromEntries : (
|
|
2611
2609
|
// Ponyfill
|
|
2612
2610
|
function(t) {
|
|
2613
2611
|
for (var i = {}, r = 0, n = t; r < n.length; r++) {
|
|
@@ -2617,7 +2615,7 @@ var At = hn ? (
|
|
|
2617
2615
|
return i;
|
|
2618
2616
|
}
|
|
2619
2617
|
)
|
|
2620
|
-
),
|
|
2618
|
+
), vi = hn ? (
|
|
2621
2619
|
// Native
|
|
2622
2620
|
function(t, i) {
|
|
2623
2621
|
return t.codePointAt(i);
|
|
@@ -2631,7 +2629,7 @@ var At = hn ? (
|
|
|
2631
2629
|
return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2632
2630
|
}
|
|
2633
2631
|
}
|
|
2634
|
-
),
|
|
2632
|
+
), gn = mn ? (
|
|
2635
2633
|
// Native
|
|
2636
2634
|
function(t) {
|
|
2637
2635
|
return t.trimStart();
|
|
@@ -2639,9 +2637,9 @@ var At = hn ? (
|
|
|
2639
2637
|
) : (
|
|
2640
2638
|
// Ponyfill
|
|
2641
2639
|
function(t) {
|
|
2642
|
-
return t.replace(
|
|
2640
|
+
return t.replace(sn, "");
|
|
2643
2641
|
}
|
|
2644
|
-
),
|
|
2642
|
+
), yn = fn ? (
|
|
2645
2643
|
// Native
|
|
2646
2644
|
function(t) {
|
|
2647
2645
|
return t.trimEnd();
|
|
@@ -2649,32 +2647,32 @@ var At = hn ? (
|
|
|
2649
2647
|
) : (
|
|
2650
2648
|
// Ponyfill
|
|
2651
2649
|
function(t) {
|
|
2652
|
-
return t.replace(
|
|
2650
|
+
return t.replace(an, "");
|
|
2653
2651
|
}
|
|
2654
2652
|
);
|
|
2655
|
-
function
|
|
2653
|
+
function _i(e, t) {
|
|
2656
2654
|
return new RegExp(e, t);
|
|
2657
2655
|
}
|
|
2658
|
-
var
|
|
2659
|
-
if (
|
|
2660
|
-
var
|
|
2661
|
-
|
|
2656
|
+
var nt;
|
|
2657
|
+
if (it) {
|
|
2658
|
+
var Pt = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2659
|
+
nt = function(t, i) {
|
|
2662
2660
|
var r;
|
|
2663
|
-
|
|
2664
|
-
var n =
|
|
2661
|
+
Pt.lastIndex = i;
|
|
2662
|
+
var n = Pt.exec(t);
|
|
2665
2663
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
2666
2664
|
};
|
|
2667
2665
|
} else
|
|
2668
|
-
|
|
2666
|
+
nt = function(t, i) {
|
|
2669
2667
|
for (var r = []; ; ) {
|
|
2670
|
-
var n =
|
|
2671
|
-
if (n === void 0 ||
|
|
2668
|
+
var n = vi(t, i);
|
|
2669
|
+
if (n === void 0 || Ei(n) || Ln(n))
|
|
2672
2670
|
break;
|
|
2673
2671
|
r.push(n), i += n >= 65536 ? 2 : 1;
|
|
2674
2672
|
}
|
|
2675
|
-
return
|
|
2673
|
+
return rt.apply(void 0, r);
|
|
2676
2674
|
};
|
|
2677
|
-
var
|
|
2675
|
+
var vn = (
|
|
2678
2676
|
/** @class */
|
|
2679
2677
|
function() {
|
|
2680
2678
|
function e(t, i) {
|
|
@@ -2705,7 +2703,7 @@ var Ln = (
|
|
|
2705
2703
|
if (r)
|
|
2706
2704
|
break;
|
|
2707
2705
|
return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
2708
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2706
|
+
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
2709
2707
|
var s = this.parseTag(t, i);
|
|
2710
2708
|
if (s.err)
|
|
2711
2709
|
return s;
|
|
@@ -2738,7 +2736,7 @@ var Ln = (
|
|
|
2738
2736
|
return o;
|
|
2739
2737
|
var s = o.val, a = this.clonePosition();
|
|
2740
2738
|
if (this.bumpIf("</")) {
|
|
2741
|
-
if (this.isEOF() || !
|
|
2739
|
+
if (this.isEOF() || !ot(this.char()))
|
|
2742
2740
|
return this.error(x.INVALID_TAG, T(a, this.clonePosition()));
|
|
2743
2741
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
2744
2742
|
return n !== l ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2756,7 +2754,7 @@ var Ln = (
|
|
|
2756
2754
|
return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
|
|
2757
2755
|
}, e.prototype.parseTagName = function() {
|
|
2758
2756
|
var t = this.offset();
|
|
2759
|
-
for (this.bump(); !this.isEOF() &&
|
|
2757
|
+
for (this.bump(); !this.isEOF() && En(this.char()); )
|
|
2760
2758
|
this.bump();
|
|
2761
2759
|
return this.message.slice(t, this.offset());
|
|
2762
2760
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2785,7 +2783,7 @@ var Ln = (
|
|
|
2785
2783
|
};
|
|
2786
2784
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2787
2785
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2788
|
-
!
|
|
2786
|
+
!_n(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2789
2787
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2790
2788
|
if (this.isEOF() || this.char() !== 39)
|
|
2791
2789
|
return null;
|
|
@@ -2819,12 +2817,12 @@ var Ln = (
|
|
|
2819
2817
|
i.push(r);
|
|
2820
2818
|
this.bump();
|
|
2821
2819
|
}
|
|
2822
|
-
return
|
|
2820
|
+
return rt.apply(void 0, i);
|
|
2823
2821
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2824
2822
|
if (this.isEOF())
|
|
2825
2823
|
return null;
|
|
2826
2824
|
var r = this.char();
|
|
2827
|
-
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2825
|
+
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), rt(r));
|
|
2828
2826
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2829
2827
|
var r = this.clonePosition();
|
|
2830
2828
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2853,7 +2851,7 @@ var Ln = (
|
|
|
2853
2851
|
return this.error(x.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
|
|
2854
2852
|
}
|
|
2855
2853
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2856
|
-
var t = this.clonePosition(), i = this.offset(), r =
|
|
2854
|
+
var t = this.clonePosition(), i = this.offset(), r = nt(this.message, i), n = i + r.length;
|
|
2857
2855
|
this.bumpTo(n);
|
|
2858
2856
|
var o = this.clonePosition(), s = T(t, o);
|
|
2859
2857
|
return { value: r, location: s };
|
|
@@ -2872,7 +2870,7 @@ var Ln = (
|
|
|
2872
2870
|
var u = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2873
2871
|
if (h.err)
|
|
2874
2872
|
return h;
|
|
2875
|
-
var f =
|
|
2873
|
+
var f = yn(h.val);
|
|
2876
2874
|
if (f.length === 0)
|
|
2877
2875
|
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
2878
2876
|
var m = T(u, this.clonePosition());
|
|
@@ -2882,8 +2880,8 @@ var Ln = (
|
|
|
2882
2880
|
if (p.err)
|
|
2883
2881
|
return p;
|
|
2884
2882
|
var _ = T(n, this.clonePosition());
|
|
2885
|
-
if (l &&
|
|
2886
|
-
var R =
|
|
2883
|
+
if (l && wt(l?.style, "::", 0)) {
|
|
2884
|
+
var R = gn(l.style.slice(2));
|
|
2887
2885
|
if (a === "number") {
|
|
2888
2886
|
var h = this.parseNumberSkeletonFromString(R, l.styleLocation);
|
|
2889
2887
|
return h.err ? h : {
|
|
@@ -2894,12 +2892,12 @@ var Ln = (
|
|
|
2894
2892
|
if (R.length === 0)
|
|
2895
2893
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
|
2896
2894
|
var P = R;
|
|
2897
|
-
this.locale && (P =
|
|
2895
|
+
this.locale && (P = nn(R, this.locale));
|
|
2898
2896
|
var f = {
|
|
2899
2897
|
type: le.dateTime,
|
|
2900
2898
|
pattern: P,
|
|
2901
2899
|
location: l.styleLocation,
|
|
2902
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2900
|
+
parsedOptions: this.shouldParseSkeletons ? qr(P) : {}
|
|
2903
2901
|
}, L = a === "date" ? O.date : O.time;
|
|
2904
2902
|
return {
|
|
2905
2903
|
val: { type: L, value: r, location: _, style: f },
|
|
@@ -2924,7 +2922,7 @@ var Ln = (
|
|
|
2924
2922
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2925
2923
|
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
|
|
2926
2924
|
this.bumpSpace();
|
|
2927
|
-
var H = this.parseIdentifierIfPossible(),
|
|
2925
|
+
var H = this.parseIdentifierIfPossible(), B = 0;
|
|
2928
2926
|
if (a !== "select" && H.value === "offset") {
|
|
2929
2927
|
if (!this.bumpIf(":"))
|
|
2930
2928
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
@@ -2932,7 +2930,7 @@ var Ln = (
|
|
|
2932
2930
|
var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2933
2931
|
if (h.err)
|
|
2934
2932
|
return h;
|
|
2935
|
-
this.bumpSpace(), H = this.parseIdentifierIfPossible(),
|
|
2933
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), B = h.val;
|
|
2936
2934
|
}
|
|
2937
2935
|
var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
|
|
2938
2936
|
if (M.err)
|
|
@@ -2945,7 +2943,7 @@ var Ln = (
|
|
|
2945
2943
|
val: {
|
|
2946
2944
|
type: O.select,
|
|
2947
2945
|
value: r,
|
|
2948
|
-
options:
|
|
2946
|
+
options: St(M.val),
|
|
2949
2947
|
location: D
|
|
2950
2948
|
},
|
|
2951
2949
|
err: null
|
|
@@ -2953,8 +2951,8 @@ var Ln = (
|
|
|
2953
2951
|
val: {
|
|
2954
2952
|
type: O.plural,
|
|
2955
2953
|
value: r,
|
|
2956
|
-
options:
|
|
2957
|
-
offset:
|
|
2954
|
+
options: St(M.val),
|
|
2955
|
+
offset: B,
|
|
2958
2956
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2959
2957
|
location: D
|
|
2960
2958
|
},
|
|
@@ -3004,7 +3002,7 @@ var Ln = (
|
|
|
3004
3002
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
3005
3003
|
var r = [];
|
|
3006
3004
|
try {
|
|
3007
|
-
r =
|
|
3005
|
+
r = Qr(t);
|
|
3008
3006
|
} catch {
|
|
3009
3007
|
return this.error(x.INVALID_NUMBER_SKELETON, i);
|
|
3010
3008
|
}
|
|
@@ -3013,7 +3011,7 @@ var Ln = (
|
|
|
3013
3011
|
type: le.number,
|
|
3014
3012
|
tokens: r,
|
|
3015
3013
|
location: i,
|
|
3016
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3014
|
+
parsedOptions: this.shouldParseSkeletons ? rn(r) : {}
|
|
3017
3015
|
},
|
|
3018
3016
|
err: null
|
|
3019
3017
|
};
|
|
@@ -3061,7 +3059,7 @@ var Ln = (
|
|
|
3061
3059
|
break;
|
|
3062
3060
|
}
|
|
3063
3061
|
var c = T(n, this.clonePosition());
|
|
3064
|
-
return o ? (s *= r,
|
|
3062
|
+
return o ? (s *= r, dn(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
|
|
3065
3063
|
}, e.prototype.offset = function() {
|
|
3066
3064
|
return this.position.offset;
|
|
3067
3065
|
}, e.prototype.isEOF = function() {
|
|
@@ -3076,7 +3074,7 @@ var Ln = (
|
|
|
3076
3074
|
var t = this.position.offset;
|
|
3077
3075
|
if (t >= this.message.length)
|
|
3078
3076
|
throw Error("out of bound");
|
|
3079
|
-
var i =
|
|
3077
|
+
var i = vi(this.message, t);
|
|
3080
3078
|
if (i === void 0)
|
|
3081
3079
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3082
3080
|
return i;
|
|
@@ -3095,7 +3093,7 @@ var Ln = (
|
|
|
3095
3093
|
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);
|
|
3096
3094
|
}
|
|
3097
3095
|
}, e.prototype.bumpIf = function(t) {
|
|
3098
|
-
if (
|
|
3096
|
+
if (wt(this.message, t, this.offset())) {
|
|
3099
3097
|
for (var i = 0; i < t.length; i++)
|
|
3100
3098
|
this.bump();
|
|
3101
3099
|
return !0;
|
|
@@ -3117,7 +3115,7 @@ var Ln = (
|
|
|
3117
3115
|
break;
|
|
3118
3116
|
}
|
|
3119
3117
|
}, e.prototype.bumpSpace = function() {
|
|
3120
|
-
for (; !this.isEOF() &&
|
|
3118
|
+
for (; !this.isEOF() && Ei(this.char()); )
|
|
3121
3119
|
this.bump();
|
|
3122
3120
|
}, e.prototype.peek = function() {
|
|
3123
3121
|
if (this.isEOF())
|
|
@@ -3127,38 +3125,38 @@ var Ln = (
|
|
|
3127
3125
|
}, e;
|
|
3128
3126
|
}()
|
|
3129
3127
|
);
|
|
3130
|
-
function
|
|
3128
|
+
function ot(e) {
|
|
3131
3129
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3132
3130
|
}
|
|
3133
|
-
function
|
|
3134
|
-
return
|
|
3131
|
+
function _n(e) {
|
|
3132
|
+
return ot(e) || e === 47;
|
|
3135
3133
|
}
|
|
3136
|
-
function
|
|
3134
|
+
function En(e) {
|
|
3137
3135
|
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;
|
|
3138
3136
|
}
|
|
3139
|
-
function
|
|
3137
|
+
function Ei(e) {
|
|
3140
3138
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3141
3139
|
}
|
|
3142
|
-
function
|
|
3140
|
+
function Ln(e) {
|
|
3143
3141
|
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;
|
|
3144
3142
|
}
|
|
3145
|
-
function
|
|
3143
|
+
function st(e) {
|
|
3146
3144
|
e.forEach(function(t) {
|
|
3147
|
-
if (delete t.location,
|
|
3145
|
+
if (delete t.location, hi(t) || mi(t))
|
|
3148
3146
|
for (var i in t.options)
|
|
3149
|
-
delete t.options[i].location,
|
|
3147
|
+
delete t.options[i].location, st(t.options[i].value);
|
|
3150
3148
|
else
|
|
3151
|
-
|
|
3149
|
+
li(t) && pi(t.style) || (ui(t) || ci(t)) && tt(t.style) ? delete t.style.location : fi(t) && st(t.children);
|
|
3152
3150
|
});
|
|
3153
3151
|
}
|
|
3154
|
-
function
|
|
3152
|
+
function xn(e, t) {
|
|
3155
3153
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3156
|
-
var i = new
|
|
3154
|
+
var i = new vn(e, t).parse();
|
|
3157
3155
|
if (i.err) {
|
|
3158
3156
|
var r = SyntaxError(x[i.err.kind]);
|
|
3159
3157
|
throw r.location = i.err.location, r.originalMessage = i.err.message, r;
|
|
3160
3158
|
}
|
|
3161
|
-
return t?.captureLocation ||
|
|
3159
|
+
return t?.captureLocation || st(i.val), i.val;
|
|
3162
3160
|
}
|
|
3163
3161
|
var ue;
|
|
3164
3162
|
(function(e) {
|
|
@@ -3176,7 +3174,7 @@ var Ce = (
|
|
|
3176
3174
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3177
3175
|
}, t;
|
|
3178
3176
|
}(Error)
|
|
3179
|
-
),
|
|
3177
|
+
), At = (
|
|
3180
3178
|
/** @class */
|
|
3181
3179
|
function(e) {
|
|
3182
3180
|
q(t, e);
|
|
@@ -3185,7 +3183,7 @@ var Ce = (
|
|
|
3185
3183
|
}
|
|
3186
3184
|
return t;
|
|
3187
3185
|
}(Ce)
|
|
3188
|
-
),
|
|
3186
|
+
), Tn = (
|
|
3189
3187
|
/** @class */
|
|
3190
3188
|
function(e) {
|
|
3191
3189
|
q(t, e);
|
|
@@ -3194,7 +3192,7 @@ var Ce = (
|
|
|
3194
3192
|
}
|
|
3195
3193
|
return t;
|
|
3196
3194
|
}(Ce)
|
|
3197
|
-
),
|
|
3195
|
+
), wn = (
|
|
3198
3196
|
/** @class */
|
|
3199
3197
|
function(e) {
|
|
3200
3198
|
q(t, e);
|
|
@@ -3207,17 +3205,17 @@ var Ce = (
|
|
|
3207
3205
|
(function(e) {
|
|
3208
3206
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3209
3207
|
})(z || (z = {}));
|
|
3210
|
-
function
|
|
3208
|
+
function Sn(e) {
|
|
3211
3209
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3212
3210
|
var r = t[t.length - 1];
|
|
3213
3211
|
return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
|
|
3214
3212
|
}, []);
|
|
3215
3213
|
}
|
|
3216
|
-
function
|
|
3214
|
+
function Pn(e) {
|
|
3217
3215
|
return typeof e == "function";
|
|
3218
3216
|
}
|
|
3219
3217
|
function Pe(e, t, i, r, n, o, s) {
|
|
3220
|
-
if (e.length === 1 &&
|
|
3218
|
+
if (e.length === 1 && Et(e[0]))
|
|
3221
3219
|
return [
|
|
3222
3220
|
{
|
|
3223
3221
|
type: z.literal,
|
|
@@ -3226,14 +3224,14 @@ function Pe(e, t, i, r, n, o, s) {
|
|
|
3226
3224
|
];
|
|
3227
3225
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3228
3226
|
var u = l[c];
|
|
3229
|
-
if (
|
|
3227
|
+
if (Et(u)) {
|
|
3230
3228
|
a.push({
|
|
3231
3229
|
type: z.literal,
|
|
3232
3230
|
value: u.value
|
|
3233
3231
|
});
|
|
3234
3232
|
continue;
|
|
3235
3233
|
}
|
|
3236
|
-
if (
|
|
3234
|
+
if (Zr(u)) {
|
|
3237
3235
|
typeof o == "number" && a.push({
|
|
3238
3236
|
type: z.literal,
|
|
3239
3237
|
value: i.getNumberFormat(t).format(o)
|
|
@@ -3242,61 +3240,61 @@ function Pe(e, t, i, r, n, o, s) {
|
|
|
3242
3240
|
}
|
|
3243
3241
|
var h = u.value;
|
|
3244
3242
|
if (!(n && h in n))
|
|
3245
|
-
throw new
|
|
3243
|
+
throw new wn(h, s);
|
|
3246
3244
|
var f = n[h];
|
|
3247
|
-
if (
|
|
3245
|
+
if (Xr(u)) {
|
|
3248
3246
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3249
3247
|
type: typeof f == "string" ? z.literal : z.object,
|
|
3250
3248
|
value: f
|
|
3251
3249
|
});
|
|
3252
3250
|
continue;
|
|
3253
3251
|
}
|
|
3254
|
-
if (
|
|
3255
|
-
var m = typeof u.style == "string" ? r.date[u.style] :
|
|
3252
|
+
if (ui(u)) {
|
|
3253
|
+
var m = typeof u.style == "string" ? r.date[u.style] : tt(u.style) ? u.style.parsedOptions : void 0;
|
|
3256
3254
|
a.push({
|
|
3257
3255
|
type: z.literal,
|
|
3258
3256
|
value: i.getDateTimeFormat(t, m).format(f)
|
|
3259
3257
|
});
|
|
3260
3258
|
continue;
|
|
3261
3259
|
}
|
|
3262
|
-
if (
|
|
3263
|
-
var m = typeof u.style == "string" ? r.time[u.style] :
|
|
3260
|
+
if (ci(u)) {
|
|
3261
|
+
var m = typeof u.style == "string" ? r.time[u.style] : tt(u.style) ? u.style.parsedOptions : r.time.medium;
|
|
3264
3262
|
a.push({
|
|
3265
3263
|
type: z.literal,
|
|
3266
3264
|
value: i.getDateTimeFormat(t, m).format(f)
|
|
3267
3265
|
});
|
|
3268
3266
|
continue;
|
|
3269
3267
|
}
|
|
3270
|
-
if (
|
|
3271
|
-
var m = typeof u.style == "string" ? r.number[u.style] :
|
|
3268
|
+
if (li(u)) {
|
|
3269
|
+
var m = typeof u.style == "string" ? r.number[u.style] : pi(u.style) ? u.style.parsedOptions : void 0;
|
|
3272
3270
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3273
3271
|
type: z.literal,
|
|
3274
3272
|
value: i.getNumberFormat(t, m).format(f)
|
|
3275
3273
|
});
|
|
3276
3274
|
continue;
|
|
3277
3275
|
}
|
|
3278
|
-
if (
|
|
3276
|
+
if (fi(u)) {
|
|
3279
3277
|
var p = u.children, _ = u.value, R = n[_];
|
|
3280
|
-
if (!
|
|
3281
|
-
throw new
|
|
3282
|
-
var P = Pe(p, t, i, r, n, o), L = R(P.map(function(
|
|
3283
|
-
return
|
|
3278
|
+
if (!Pn(R))
|
|
3279
|
+
throw new Tn(_, "function", s);
|
|
3280
|
+
var P = Pe(p, t, i, r, n, o), L = R(P.map(function(B) {
|
|
3281
|
+
return B.value;
|
|
3284
3282
|
}));
|
|
3285
|
-
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(
|
|
3283
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(B) {
|
|
3286
3284
|
return {
|
|
3287
|
-
type: typeof
|
|
3288
|
-
value:
|
|
3285
|
+
type: typeof B == "string" ? z.literal : z.object,
|
|
3286
|
+
value: B
|
|
3289
3287
|
};
|
|
3290
3288
|
}));
|
|
3291
3289
|
}
|
|
3292
|
-
if (
|
|
3290
|
+
if (hi(u)) {
|
|
3293
3291
|
var w = u.options[f] || u.options.other;
|
|
3294
3292
|
if (!w)
|
|
3295
|
-
throw new
|
|
3293
|
+
throw new At(u.value, f, Object.keys(u.options), s);
|
|
3296
3294
|
a.push.apply(a, Pe(w.value, t, i, r, n));
|
|
3297
3295
|
continue;
|
|
3298
3296
|
}
|
|
3299
|
-
if (
|
|
3297
|
+
if (mi(u)) {
|
|
3300
3298
|
var w = u.options["=".concat(f)];
|
|
3301
3299
|
if (!w) {
|
|
3302
3300
|
if (!Intl.PluralRules)
|
|
@@ -3307,21 +3305,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3307
3305
|
w = u.options[H] || u.options.other;
|
|
3308
3306
|
}
|
|
3309
3307
|
if (!w)
|
|
3310
|
-
throw new
|
|
3308
|
+
throw new At(u.value, f, Object.keys(u.options), s);
|
|
3311
3309
|
a.push.apply(a, Pe(w.value, t, i, r, n, f - (u.offset || 0)));
|
|
3312
3310
|
continue;
|
|
3313
3311
|
}
|
|
3314
3312
|
}
|
|
3315
|
-
return
|
|
3313
|
+
return Sn(a);
|
|
3316
3314
|
}
|
|
3317
|
-
function
|
|
3315
|
+
function An(e, t) {
|
|
3318
3316
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
|
|
3319
3317
|
return i[r] = S(S({}, e[r]), t[r] || {}), i;
|
|
3320
3318
|
}, {})) : e;
|
|
3321
3319
|
}
|
|
3322
|
-
function
|
|
3320
|
+
function Nn(e, t) {
|
|
3323
3321
|
return t ? Object.keys(e).reduce(function(i, r) {
|
|
3324
|
-
return i[r] =
|
|
3322
|
+
return i[r] = An(e[r], t[r]), i;
|
|
3325
3323
|
}, S({}, e)) : e;
|
|
3326
3324
|
}
|
|
3327
3325
|
function Ze(e) {
|
|
@@ -3338,7 +3336,7 @@ function Ze(e) {
|
|
|
3338
3336
|
}
|
|
3339
3337
|
};
|
|
3340
3338
|
}
|
|
3341
|
-
function
|
|
3339
|
+
function Bn(e) {
|
|
3342
3340
|
return e === void 0 && (e = {
|
|
3343
3341
|
number: {},
|
|
3344
3342
|
dateTime: {},
|
|
@@ -3370,7 +3368,7 @@ function On(e) {
|
|
|
3370
3368
|
})
|
|
3371
3369
|
};
|
|
3372
3370
|
}
|
|
3373
|
-
var
|
|
3371
|
+
var In = (
|
|
3374
3372
|
/** @class */
|
|
3375
3373
|
function() {
|
|
3376
3374
|
function e(t, i, r, n) {
|
|
@@ -3402,13 +3400,13 @@ var Mn = (
|
|
|
3402
3400
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3403
3401
|
var s = n || {};
|
|
3404
3402
|
s.formatters;
|
|
3405
|
-
var a =
|
|
3403
|
+
var a = Ur(s, ["formatters"]);
|
|
3406
3404
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3407
3405
|
} else
|
|
3408
3406
|
this.ast = t;
|
|
3409
3407
|
if (!Array.isArray(this.ast))
|
|
3410
3408
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3411
|
-
this.formats =
|
|
3409
|
+
this.formats = Nn(e.formats, r), this.formatters = n && n.formatters || Bn(this.formatterCache);
|
|
3412
3410
|
}
|
|
3413
3411
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3414
3412
|
get: function() {
|
|
@@ -3421,7 +3419,7 @@ var Mn = (
|
|
|
3421
3419
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3422
3420
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3423
3421
|
}
|
|
3424
|
-
}, e.__parse =
|
|
3422
|
+
}, e.__parse = xn, e.formats = {
|
|
3425
3423
|
number: {
|
|
3426
3424
|
integer: {
|
|
3427
3425
|
maximumFractionDigits: 0
|
|
@@ -3482,7 +3480,7 @@ var Mn = (
|
|
|
3482
3480
|
}, e;
|
|
3483
3481
|
}()
|
|
3484
3482
|
);
|
|
3485
|
-
function
|
|
3483
|
+
function Hn(e, t) {
|
|
3486
3484
|
if (t == null)
|
|
3487
3485
|
return;
|
|
3488
3486
|
if (t in e)
|
|
@@ -3503,92 +3501,92 @@ function kn(e, t) {
|
|
|
3503
3501
|
r = void 0;
|
|
3504
3502
|
return r;
|
|
3505
3503
|
}
|
|
3506
|
-
const Q = {},
|
|
3504
|
+
const Q = {}, On = (e, t, i) => i && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = i), i), Li = (e, t) => {
|
|
3507
3505
|
if (t == null)
|
|
3508
3506
|
return;
|
|
3509
3507
|
if (t in Q && e in Q[t])
|
|
3510
3508
|
return Q[t][e];
|
|
3511
3509
|
const i = De(t);
|
|
3512
3510
|
for (let r = 0; r < i.length; r++) {
|
|
3513
|
-
const n = i[r], o =
|
|
3511
|
+
const n = i[r], o = kn(n, e);
|
|
3514
3512
|
if (o)
|
|
3515
|
-
return
|
|
3513
|
+
return On(e, t, o);
|
|
3516
3514
|
}
|
|
3517
3515
|
};
|
|
3518
|
-
let
|
|
3516
|
+
let mt;
|
|
3519
3517
|
const Le = ke({});
|
|
3520
|
-
function
|
|
3521
|
-
return
|
|
3518
|
+
function Mn(e) {
|
|
3519
|
+
return mt[e] || null;
|
|
3522
3520
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return e in
|
|
3521
|
+
function xi(e) {
|
|
3522
|
+
return e in mt;
|
|
3525
3523
|
}
|
|
3526
|
-
function
|
|
3527
|
-
if (!
|
|
3524
|
+
function kn(e, t) {
|
|
3525
|
+
if (!xi(e))
|
|
3528
3526
|
return null;
|
|
3529
|
-
const i =
|
|
3530
|
-
return
|
|
3527
|
+
const i = Mn(e);
|
|
3528
|
+
return Hn(i, t);
|
|
3531
3529
|
}
|
|
3532
|
-
function
|
|
3530
|
+
function Cn(e) {
|
|
3533
3531
|
if (e == null)
|
|
3534
3532
|
return;
|
|
3535
3533
|
const t = De(e);
|
|
3536
3534
|
for (let i = 0; i < t.length; i++) {
|
|
3537
3535
|
const r = t[i];
|
|
3538
|
-
if (
|
|
3536
|
+
if (xi(r))
|
|
3539
3537
|
return r;
|
|
3540
3538
|
}
|
|
3541
3539
|
}
|
|
3542
|
-
function
|
|
3543
|
-
delete Q[e], Le.update((i) => (i[e] =
|
|
3540
|
+
function Ti(e, ...t) {
|
|
3541
|
+
delete Q[e], Le.update((i) => (i[e] = Rr.all([i[e] || {}, ...t]), i));
|
|
3544
3542
|
}
|
|
3545
3543
|
he(
|
|
3546
3544
|
[Le],
|
|
3547
3545
|
([e]) => Object.keys(e)
|
|
3548
3546
|
);
|
|
3549
|
-
Le.subscribe((e) =>
|
|
3547
|
+
Le.subscribe((e) => mt = e);
|
|
3550
3548
|
const Ae = {};
|
|
3551
|
-
function
|
|
3549
|
+
function Dn(e, t) {
|
|
3552
3550
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
3553
3551
|
}
|
|
3554
|
-
function
|
|
3552
|
+
function wi(e) {
|
|
3555
3553
|
return Ae[e];
|
|
3556
3554
|
}
|
|
3557
|
-
function
|
|
3555
|
+
function Rn(e) {
|
|
3558
3556
|
return De(e).map((t) => {
|
|
3559
|
-
const i =
|
|
3557
|
+
const i = wi(t);
|
|
3560
3558
|
return [t, i ? [...i] : []];
|
|
3561
3559
|
}).filter(([, t]) => t.length > 0);
|
|
3562
3560
|
}
|
|
3563
|
-
function
|
|
3561
|
+
function at(e) {
|
|
3564
3562
|
return e == null ? !1 : De(e).some(
|
|
3565
3563
|
(t) => {
|
|
3566
3564
|
var i;
|
|
3567
|
-
return (i =
|
|
3565
|
+
return (i = wi(t)) == null ? void 0 : i.size;
|
|
3568
3566
|
}
|
|
3569
3567
|
);
|
|
3570
3568
|
}
|
|
3571
|
-
function
|
|
3569
|
+
function Un(e, t) {
|
|
3572
3570
|
return Promise.all(
|
|
3573
|
-
t.map((r) => (
|
|
3574
|
-
).then((r) =>
|
|
3571
|
+
t.map((r) => (Dn(e, r), r().then((n) => n.default || n)))
|
|
3572
|
+
).then((r) => Ti(e, ...r));
|
|
3575
3573
|
}
|
|
3576
3574
|
const de = {};
|
|
3577
|
-
function
|
|
3578
|
-
if (!
|
|
3575
|
+
function Si(e) {
|
|
3576
|
+
if (!at(e))
|
|
3579
3577
|
return e in de ? de[e] : Promise.resolve();
|
|
3580
|
-
const t =
|
|
3578
|
+
const t = Rn(e);
|
|
3581
3579
|
return de[e] = Promise.all(
|
|
3582
3580
|
t.map(
|
|
3583
|
-
([i, r]) =>
|
|
3581
|
+
([i, r]) => Un(i, r)
|
|
3584
3582
|
)
|
|
3585
3583
|
).then(() => {
|
|
3586
|
-
if (
|
|
3587
|
-
return
|
|
3584
|
+
if (at(e))
|
|
3585
|
+
return Si(e);
|
|
3588
3586
|
delete de[e];
|
|
3589
3587
|
}), de[e];
|
|
3590
3588
|
}
|
|
3591
|
-
const
|
|
3589
|
+
const jn = {
|
|
3592
3590
|
number: {
|
|
3593
3591
|
scientific: { notation: "scientific" },
|
|
3594
3592
|
engineering: { notation: "engineering" },
|
|
@@ -3617,57 +3615,57 @@ const Gn = {
|
|
|
3617
3615
|
timeZoneName: "short"
|
|
3618
3616
|
}
|
|
3619
3617
|
}
|
|
3620
|
-
},
|
|
3618
|
+
}, $n = {
|
|
3621
3619
|
fallbackLocale: null,
|
|
3622
3620
|
loadingDelay: 200,
|
|
3623
|
-
formats:
|
|
3621
|
+
formats: jn,
|
|
3624
3622
|
warnOnMissingMessages: !0,
|
|
3625
3623
|
handleMissingMessage: void 0,
|
|
3626
3624
|
ignoreTag: !0
|
|
3627
|
-
},
|
|
3625
|
+
}, Fn = $n;
|
|
3628
3626
|
function ce() {
|
|
3629
|
-
return
|
|
3627
|
+
return Fn;
|
|
3630
3628
|
}
|
|
3631
3629
|
const Ye = ke(!1);
|
|
3632
|
-
var
|
|
3630
|
+
var Gn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, Bt = (e, t, i) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Zn = (e, t) => {
|
|
3633
3631
|
for (var i in t || (t = {}))
|
|
3634
|
-
|
|
3635
|
-
if (
|
|
3636
|
-
for (var i of
|
|
3637
|
-
|
|
3632
|
+
Vn.call(t, i) && Bt(e, i, t[i]);
|
|
3633
|
+
if (Nt)
|
|
3634
|
+
for (var i of Nt(t))
|
|
3635
|
+
Xn.call(t, i) && Bt(e, i, t[i]);
|
|
3638
3636
|
return e;
|
|
3639
|
-
},
|
|
3640
|
-
let
|
|
3637
|
+
}, Yn = (e, t) => zn(e, Wn(t));
|
|
3638
|
+
let lt;
|
|
3641
3639
|
const He = ke(null);
|
|
3642
|
-
function
|
|
3640
|
+
function It(e) {
|
|
3643
3641
|
return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
|
|
3644
3642
|
}
|
|
3645
3643
|
function De(e, t = ce().fallbackLocale) {
|
|
3646
|
-
const i =
|
|
3647
|
-
return t ? [.../* @__PURE__ */ new Set([...i, ...
|
|
3644
|
+
const i = It(e);
|
|
3645
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...It(t)])] : i;
|
|
3648
3646
|
}
|
|
3649
3647
|
function te() {
|
|
3650
|
-
return
|
|
3648
|
+
return lt ?? void 0;
|
|
3651
3649
|
}
|
|
3652
3650
|
He.subscribe((e) => {
|
|
3653
|
-
|
|
3651
|
+
lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3654
3652
|
});
|
|
3655
|
-
const
|
|
3656
|
-
if (e &&
|
|
3653
|
+
const qn = (e) => {
|
|
3654
|
+
if (e && Cn(e) && at(e)) {
|
|
3657
3655
|
const { loadingDelay: t } = ce();
|
|
3658
3656
|
let i;
|
|
3659
3657
|
return typeof window < "u" && te() != null && t ? i = window.setTimeout(
|
|
3660
3658
|
() => Ye.set(!0),
|
|
3661
3659
|
t
|
|
3662
|
-
) : Ye.set(!0),
|
|
3660
|
+
) : Ye.set(!0), Si(e).then(() => {
|
|
3663
3661
|
He.set(e);
|
|
3664
3662
|
}).finally(() => {
|
|
3665
3663
|
clearTimeout(i), Ye.set(!1);
|
|
3666
3664
|
});
|
|
3667
3665
|
}
|
|
3668
3666
|
return He.set(e);
|
|
3669
|
-
}, me =
|
|
3670
|
-
set:
|
|
3667
|
+
}, me = Yn(Zn({}, He), {
|
|
3668
|
+
set: qn
|
|
3671
3669
|
}), Re = (e) => {
|
|
3672
3670
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3673
3671
|
return (r) => {
|
|
@@ -3675,20 +3673,20 @@ const Kn = (e) => {
|
|
|
3675
3673
|
return n in t ? t[n] : t[n] = e(r);
|
|
3676
3674
|
};
|
|
3677
3675
|
};
|
|
3678
|
-
var
|
|
3676
|
+
var Jn = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, i) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ft = (e, t) => {
|
|
3679
3677
|
for (var i in t || (t = {}))
|
|
3680
|
-
|
|
3678
|
+
Pi.call(t, i) && Ht(e, i, t[i]);
|
|
3681
3679
|
if (Oe)
|
|
3682
3680
|
for (var i of Oe(t))
|
|
3683
|
-
|
|
3681
|
+
Ai.call(t, i) && Ht(e, i, t[i]);
|
|
3684
3682
|
return e;
|
|
3685
3683
|
}, fe = (e, t) => {
|
|
3686
3684
|
var i = {};
|
|
3687
3685
|
for (var r in e)
|
|
3688
|
-
|
|
3686
|
+
Pi.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
3689
3687
|
if (e != null && Oe)
|
|
3690
3688
|
for (var r of Oe(e))
|
|
3691
|
-
t.indexOf(r) < 0 &&
|
|
3689
|
+
t.indexOf(r) < 0 && Ai.call(e, r) && (i[r] = e[r]);
|
|
3692
3690
|
return i;
|
|
3693
3691
|
};
|
|
3694
3692
|
const Ee = (e, t) => {
|
|
@@ -3696,21 +3694,21 @@ const Ee = (e, t) => {
|
|
|
3696
3694
|
if (e in i && t in i[e])
|
|
3697
3695
|
return i[e][t];
|
|
3698
3696
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3699
|
-
},
|
|
3697
|
+
}, Qn = Re(
|
|
3700
3698
|
(e) => {
|
|
3701
3699
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3702
3700
|
if (i == null)
|
|
3703
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3704
3702
|
return r && (n = Ee("number", r)), new Intl.NumberFormat(i, n);
|
|
3705
3703
|
}
|
|
3706
|
-
),
|
|
3704
|
+
), Kn = Re(
|
|
3707
3705
|
(e) => {
|
|
3708
3706
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3709
3707
|
if (i == null)
|
|
3710
3708
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3711
3709
|
return r ? n = Ee("date", r) : Object.keys(n).length === 0 && (n = Ee("date", "short")), new Intl.DateTimeFormat(i, n);
|
|
3712
3710
|
}
|
|
3713
|
-
),
|
|
3711
|
+
), eo = Re(
|
|
3714
3712
|
(e) => {
|
|
3715
3713
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3716
3714
|
if (i == null)
|
|
@@ -3719,33 +3717,33 @@ const Ee = (e, t) => {
|
|
|
3719
3717
|
);
|
|
3720
3718
|
return r ? n = Ee("time", r) : Object.keys(n).length === 0 && (n = Ee("time", "short")), new Intl.DateTimeFormat(i, n);
|
|
3721
3719
|
}
|
|
3722
|
-
),
|
|
3720
|
+
), to = (e = {}) => {
|
|
3723
3721
|
var t = e, {
|
|
3724
3722
|
locale: i = te()
|
|
3725
3723
|
} = t, r = fe(t, [
|
|
3726
3724
|
"locale"
|
|
3727
3725
|
]);
|
|
3728
|
-
return
|
|
3729
|
-
},
|
|
3726
|
+
return Qn(ft({ locale: i }, r));
|
|
3727
|
+
}, io = (e = {}) => {
|
|
3730
3728
|
var t = e, {
|
|
3731
3729
|
locale: i = te()
|
|
3732
3730
|
} = t, r = fe(t, [
|
|
3733
3731
|
"locale"
|
|
3734
3732
|
]);
|
|
3735
|
-
return
|
|
3736
|
-
},
|
|
3733
|
+
return Kn(ft({ locale: i }, r));
|
|
3734
|
+
}, ro = (e = {}) => {
|
|
3737
3735
|
var t = e, {
|
|
3738
3736
|
locale: i = te()
|
|
3739
3737
|
} = t, r = fe(t, [
|
|
3740
3738
|
"locale"
|
|
3741
3739
|
]);
|
|
3742
|
-
return
|
|
3743
|
-
},
|
|
3740
|
+
return eo(ft({ locale: i }, r));
|
|
3741
|
+
}, no = Re(
|
|
3744
3742
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3745
|
-
(e, t = te()) => new
|
|
3743
|
+
(e, t = te()) => new In(e, t, ce().formats, {
|
|
3746
3744
|
ignoreTag: ce().ignoreTag
|
|
3747
3745
|
})
|
|
3748
|
-
),
|
|
3746
|
+
), oo = (e, t = {}) => {
|
|
3749
3747
|
var i, r, n, o;
|
|
3750
3748
|
let s = t;
|
|
3751
3749
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -3758,7 +3756,7 @@ const Ee = (e, t) => {
|
|
|
3758
3756
|
throw new Error(
|
|
3759
3757
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3760
3758
|
);
|
|
3761
|
-
let u =
|
|
3759
|
+
let u = Li(e, c);
|
|
3762
3760
|
if (!u)
|
|
3763
3761
|
u = (o = (n = (r = (i = ce()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
|
|
3764
3762
|
else if (typeof u != "string")
|
|
@@ -3769,7 +3767,7 @@ const Ee = (e, t) => {
|
|
|
3769
3767
|
return u;
|
|
3770
3768
|
let h = u;
|
|
3771
3769
|
try {
|
|
3772
|
-
h =
|
|
3770
|
+
h = no(u, c).format(a);
|
|
3773
3771
|
} catch (f) {
|
|
3774
3772
|
f instanceof Error && console.warn(
|
|
3775
3773
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3777,18 +3775,18 @@ const Ee = (e, t) => {
|
|
|
3777
3775
|
);
|
|
3778
3776
|
}
|
|
3779
3777
|
return h;
|
|
3780
|
-
},
|
|
3781
|
-
he([me], () =>
|
|
3782
|
-
he([me], () =>
|
|
3783
|
-
he([me], () =>
|
|
3784
|
-
he([me, Le], () =>
|
|
3785
|
-
function
|
|
3786
|
-
|
|
3787
|
-
}
|
|
3788
|
-
function
|
|
3778
|
+
}, so = (e, t) => ro(t).format(e), ao = (e, t) => io(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = te()) => Li(e, t), co = he([me, Le], () => oo);
|
|
3779
|
+
he([me], () => so);
|
|
3780
|
+
he([me], () => ao);
|
|
3781
|
+
he([me], () => lo);
|
|
3782
|
+
he([me, Le], () => uo);
|
|
3783
|
+
function Ot(e, t) {
|
|
3784
|
+
Ti(e, t);
|
|
3785
|
+
}
|
|
3786
|
+
function ho(e) {
|
|
3789
3787
|
me.set(e);
|
|
3790
3788
|
}
|
|
3791
|
-
const
|
|
3789
|
+
const Mt = {
|
|
3792
3790
|
en: {
|
|
3793
3791
|
loadingText: "Loading, please wait...",
|
|
3794
3792
|
Monthly: "per month",
|
|
@@ -4244,13 +4242,13 @@ const Dt = {
|
|
|
4244
4242
|
function Y(e) {
|
|
4245
4243
|
return typeof e == "function";
|
|
4246
4244
|
}
|
|
4247
|
-
function
|
|
4245
|
+
function Ni(e) {
|
|
4248
4246
|
var t = function(r) {
|
|
4249
4247
|
Error.call(r), r.stack = new Error().stack;
|
|
4250
4248
|
}, i = e(t);
|
|
4251
4249
|
return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
|
|
4252
4250
|
}
|
|
4253
|
-
var qe =
|
|
4251
|
+
var qe = Ni(function(e) {
|
|
4254
4252
|
return function(i) {
|
|
4255
4253
|
e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
|
|
4256
4254
|
` + i.map(function(r, n) {
|
|
@@ -4259,7 +4257,7 @@ var qe = Hi(function(e) {
|
|
|
4259
4257
|
`) : "", this.name = "UnsubscriptionError", this.errors = i;
|
|
4260
4258
|
};
|
|
4261
4259
|
});
|
|
4262
|
-
function
|
|
4260
|
+
function ut(e, t) {
|
|
4263
4261
|
if (e) {
|
|
4264
4262
|
var i = e.indexOf(t);
|
|
4265
4263
|
0 <= i && e.splice(i, 1);
|
|
@@ -4277,7 +4275,7 @@ var Ue = function() {
|
|
|
4277
4275
|
if (s)
|
|
4278
4276
|
if (this._parentage = null, Array.isArray(s))
|
|
4279
4277
|
try {
|
|
4280
|
-
for (var a =
|
|
4278
|
+
for (var a = Ke(s), c = a.next(); !c.done; c = a.next()) {
|
|
4281
4279
|
var l = c.value;
|
|
4282
4280
|
l.remove(this);
|
|
4283
4281
|
}
|
|
@@ -4304,12 +4302,12 @@ var Ue = function() {
|
|
|
4304
4302
|
if (h) {
|
|
4305
4303
|
this._finalizers = null;
|
|
4306
4304
|
try {
|
|
4307
|
-
for (var f =
|
|
4305
|
+
for (var f = Ke(h), m = f.next(); !m.done; m = f.next()) {
|
|
4308
4306
|
var p = m.value;
|
|
4309
4307
|
try {
|
|
4310
|
-
|
|
4308
|
+
kt(p);
|
|
4311
4309
|
} catch (_) {
|
|
4312
|
-
o = o ?? [], _ instanceof qe ? o = se(se([],
|
|
4310
|
+
o = o ?? [], _ instanceof qe ? o = se(se([], et(o)), et(_.errors)) : o.push(_);
|
|
4313
4311
|
}
|
|
4314
4312
|
}
|
|
4315
4313
|
} catch (_) {
|
|
@@ -4330,7 +4328,7 @@ var Ue = function() {
|
|
|
4330
4328
|
var i;
|
|
4331
4329
|
if (t && t !== this)
|
|
4332
4330
|
if (this.closed)
|
|
4333
|
-
|
|
4331
|
+
kt(t);
|
|
4334
4332
|
else {
|
|
4335
4333
|
if (t instanceof e) {
|
|
4336
4334
|
if (t.closed || t._hasParent(this))
|
|
@@ -4347,56 +4345,52 @@ var Ue = function() {
|
|
|
4347
4345
|
this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
|
|
4348
4346
|
}, e.prototype._removeParent = function(t) {
|
|
4349
4347
|
var i = this._parentage;
|
|
4350
|
-
i === t ? this._parentage = null : Array.isArray(i) &&
|
|
4348
|
+
i === t ? this._parentage = null : Array.isArray(i) && ut(i, t);
|
|
4351
4349
|
}, e.prototype.remove = function(t) {
|
|
4352
4350
|
var i = this._finalizers;
|
|
4353
|
-
i &&
|
|
4351
|
+
i && ut(i, t), t instanceof e && t._removeParent(this);
|
|
4354
4352
|
}, e.EMPTY = function() {
|
|
4355
4353
|
var t = new e();
|
|
4356
4354
|
return t.closed = !0, t;
|
|
4357
4355
|
}(), e;
|
|
4358
|
-
}(),
|
|
4359
|
-
function
|
|
4356
|
+
}(), Bi = Ue.EMPTY;
|
|
4357
|
+
function Ii(e) {
|
|
4360
4358
|
return e instanceof Ue || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
|
|
4361
4359
|
}
|
|
4362
|
-
function
|
|
4360
|
+
function kt(e) {
|
|
4363
4361
|
Y(e) ? e() : e.unsubscribe();
|
|
4364
4362
|
}
|
|
4365
|
-
var
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
Promise: void 0,
|
|
4369
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
4370
|
-
useDeprecatedNextContext: !1
|
|
4371
|
-
}, bo = {
|
|
4363
|
+
var mo = {
|
|
4364
|
+
Promise: void 0
|
|
4365
|
+
}, fo = {
|
|
4372
4366
|
setTimeout: function(e, t) {
|
|
4373
4367
|
for (var i = [], r = 2; r < arguments.length; r++)
|
|
4374
4368
|
i[r - 2] = arguments[r];
|
|
4375
|
-
return setTimeout.apply(void 0, se([e, t],
|
|
4369
|
+
return setTimeout.apply(void 0, se([e, t], et(i)));
|
|
4376
4370
|
},
|
|
4377
4371
|
clearTimeout: function(e) {
|
|
4378
4372
|
return clearTimeout(e);
|
|
4379
4373
|
},
|
|
4380
4374
|
delegate: void 0
|
|
4381
4375
|
};
|
|
4382
|
-
function
|
|
4383
|
-
|
|
4376
|
+
function po(e) {
|
|
4377
|
+
fo.setTimeout(function() {
|
|
4384
4378
|
throw e;
|
|
4385
4379
|
});
|
|
4386
4380
|
}
|
|
4387
|
-
function
|
|
4381
|
+
function Ct() {
|
|
4388
4382
|
}
|
|
4389
|
-
function
|
|
4383
|
+
function Ne(e) {
|
|
4390
4384
|
e();
|
|
4391
4385
|
}
|
|
4392
|
-
var
|
|
4386
|
+
var Hi = function(e) {
|
|
4393
4387
|
q(t, e);
|
|
4394
4388
|
function t(i) {
|
|
4395
4389
|
var r = e.call(this) || this;
|
|
4396
|
-
return r.isStopped = !1, i ? (r.destination = i,
|
|
4390
|
+
return r.isStopped = !1, i ? (r.destination = i, Ii(i) && i.add(r)) : r.destination = yo, r;
|
|
4397
4391
|
}
|
|
4398
4392
|
return t.create = function(i, r, n) {
|
|
4399
|
-
return new
|
|
4393
|
+
return new ct(i, r, n);
|
|
4400
4394
|
}, t.prototype.next = function(i) {
|
|
4401
4395
|
this.isStopped || this._next(i);
|
|
4402
4396
|
}, t.prototype.error = function(i) {
|
|
@@ -4420,11 +4414,7 @@ var Ci = function(e) {
|
|
|
4420
4414
|
this.unsubscribe();
|
|
4421
4415
|
}
|
|
4422
4416
|
}, t;
|
|
4423
|
-
}(Ue),
|
|
4424
|
-
function Je(e, t) {
|
|
4425
|
-
return yo.call(e, t);
|
|
4426
|
-
}
|
|
4427
|
-
var vo = function() {
|
|
4417
|
+
}(Ue), bo = function() {
|
|
4428
4418
|
function e(t) {
|
|
4429
4419
|
this.partialObserver = t;
|
|
4430
4420
|
}
|
|
@@ -4455,55 +4445,43 @@ var vo = function() {
|
|
|
4455
4445
|
we(i);
|
|
4456
4446
|
}
|
|
4457
4447
|
}, e;
|
|
4458
|
-
}(),
|
|
4448
|
+
}(), ct = function(e) {
|
|
4459
4449
|
q(t, e);
|
|
4460
4450
|
function t(i, r, n) {
|
|
4461
4451
|
var o = e.call(this) || this, s;
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
};
|
|
4468
|
-
else {
|
|
4469
|
-
var a;
|
|
4470
|
-
o && ki.useDeprecatedNextContext ? (a = Object.create(i), a.unsubscribe = function() {
|
|
4471
|
-
return o.unsubscribe();
|
|
4472
|
-
}, s = {
|
|
4473
|
-
next: i.next && Je(i.next, a),
|
|
4474
|
-
error: i.error && Je(i.error, a),
|
|
4475
|
-
complete: i.complete && Je(i.complete, a)
|
|
4476
|
-
}) : s = i;
|
|
4477
|
-
}
|
|
4478
|
-
return o.destination = new vo(s), o;
|
|
4452
|
+
return Y(i) || !i ? s = {
|
|
4453
|
+
next: i ?? void 0,
|
|
4454
|
+
error: r ?? void 0,
|
|
4455
|
+
complete: n ?? void 0
|
|
4456
|
+
} : s = i, o.destination = new bo(s), o;
|
|
4479
4457
|
}
|
|
4480
4458
|
return t;
|
|
4481
|
-
}(
|
|
4459
|
+
}(Hi);
|
|
4482
4460
|
function we(e) {
|
|
4483
|
-
|
|
4461
|
+
po(e);
|
|
4484
4462
|
}
|
|
4485
|
-
function
|
|
4463
|
+
function go(e) {
|
|
4486
4464
|
throw e;
|
|
4487
4465
|
}
|
|
4488
|
-
var
|
|
4466
|
+
var yo = {
|
|
4489
4467
|
closed: !0,
|
|
4490
|
-
next:
|
|
4491
|
-
error:
|
|
4492
|
-
complete:
|
|
4493
|
-
},
|
|
4468
|
+
next: Ct,
|
|
4469
|
+
error: go,
|
|
4470
|
+
complete: Ct
|
|
4471
|
+
}, vo = function() {
|
|
4494
4472
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4495
4473
|
}();
|
|
4496
|
-
function
|
|
4474
|
+
function _o(e) {
|
|
4497
4475
|
return e;
|
|
4498
4476
|
}
|
|
4499
|
-
function
|
|
4500
|
-
return e.length === 0 ?
|
|
4477
|
+
function Eo(e) {
|
|
4478
|
+
return e.length === 0 ? _o : e.length === 1 ? e[0] : function(i) {
|
|
4501
4479
|
return e.reduce(function(r, n) {
|
|
4502
4480
|
return n(r);
|
|
4503
4481
|
}, i);
|
|
4504
4482
|
};
|
|
4505
4483
|
}
|
|
4506
|
-
var
|
|
4484
|
+
var Dt = function() {
|
|
4507
4485
|
function e(t) {
|
|
4508
4486
|
t && (this._subscribe = t);
|
|
4509
4487
|
}
|
|
@@ -4511,8 +4489,8 @@ var jt = function() {
|
|
|
4511
4489
|
var i = new e();
|
|
4512
4490
|
return i.source = this, i.operator = t, i;
|
|
4513
4491
|
}, e.prototype.subscribe = function(t, i, r) {
|
|
4514
|
-
var n = this, o =
|
|
4515
|
-
return
|
|
4492
|
+
var n = this, o = xo(t) ? t : new ct(t, i, r);
|
|
4493
|
+
return Ne(function() {
|
|
4516
4494
|
var s = n, a = s.operator, c = s.source;
|
|
4517
4495
|
o.add(a ? a.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
|
|
4518
4496
|
}), o;
|
|
@@ -4524,8 +4502,8 @@ var jt = function() {
|
|
|
4524
4502
|
}
|
|
4525
4503
|
}, e.prototype.forEach = function(t, i) {
|
|
4526
4504
|
var r = this;
|
|
4527
|
-
return i =
|
|
4528
|
-
var s = new
|
|
4505
|
+
return i = Rt(i), new i(function(n, o) {
|
|
4506
|
+
var s = new ct({
|
|
4529
4507
|
next: function(a) {
|
|
4530
4508
|
try {
|
|
4531
4509
|
t(a);
|
|
@@ -4541,15 +4519,15 @@ var jt = function() {
|
|
|
4541
4519
|
}, e.prototype._subscribe = function(t) {
|
|
4542
4520
|
var i;
|
|
4543
4521
|
return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
|
|
4544
|
-
}, e.prototype[
|
|
4522
|
+
}, e.prototype[vo] = function() {
|
|
4545
4523
|
return this;
|
|
4546
4524
|
}, e.prototype.pipe = function() {
|
|
4547
4525
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
4548
4526
|
t[i] = arguments[i];
|
|
4549
|
-
return
|
|
4527
|
+
return Eo(t)(this);
|
|
4550
4528
|
}, e.prototype.toPromise = function(t) {
|
|
4551
4529
|
var i = this;
|
|
4552
|
-
return t =
|
|
4530
|
+
return t = Rt(t), new t(function(r, n) {
|
|
4553
4531
|
var o;
|
|
4554
4532
|
i.subscribe(function(s) {
|
|
4555
4533
|
return o = s;
|
|
@@ -4563,40 +4541,40 @@ var jt = function() {
|
|
|
4563
4541
|
return new e(t);
|
|
4564
4542
|
}, e;
|
|
4565
4543
|
}();
|
|
4566
|
-
function
|
|
4544
|
+
function Rt(e) {
|
|
4567
4545
|
var t;
|
|
4568
|
-
return (t = e ??
|
|
4546
|
+
return (t = e ?? mo.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4569
4547
|
}
|
|
4570
|
-
function
|
|
4548
|
+
function Lo(e) {
|
|
4571
4549
|
return e && Y(e.next) && Y(e.error) && Y(e.complete);
|
|
4572
4550
|
}
|
|
4573
|
-
function
|
|
4574
|
-
return e && e instanceof
|
|
4551
|
+
function xo(e) {
|
|
4552
|
+
return e && e instanceof Hi || Lo(e) && Ii(e);
|
|
4575
4553
|
}
|
|
4576
|
-
var
|
|
4554
|
+
var To = Ni(function(e) {
|
|
4577
4555
|
return function() {
|
|
4578
4556
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4579
4557
|
};
|
|
4580
|
-
}),
|
|
4558
|
+
}), Oi = function(e) {
|
|
4581
4559
|
q(t, e);
|
|
4582
4560
|
function t() {
|
|
4583
4561
|
var i = e.call(this) || this;
|
|
4584
4562
|
return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
|
|
4585
4563
|
}
|
|
4586
4564
|
return t.prototype.lift = function(i) {
|
|
4587
|
-
var r = new
|
|
4565
|
+
var r = new Ut(this, this);
|
|
4588
4566
|
return r.operator = i, r;
|
|
4589
4567
|
}, t.prototype._throwIfClosed = function() {
|
|
4590
4568
|
if (this.closed)
|
|
4591
|
-
throw new
|
|
4569
|
+
throw new To();
|
|
4592
4570
|
}, t.prototype.next = function(i) {
|
|
4593
4571
|
var r = this;
|
|
4594
|
-
|
|
4572
|
+
Ne(function() {
|
|
4595
4573
|
var n, o;
|
|
4596
4574
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4597
4575
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
4598
4576
|
try {
|
|
4599
|
-
for (var s =
|
|
4577
|
+
for (var s = Ke(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4600
4578
|
var c = a.value;
|
|
4601
4579
|
c.next(i);
|
|
4602
4580
|
}
|
|
@@ -4614,7 +4592,7 @@ var Po = Hi(function(e) {
|
|
|
4614
4592
|
});
|
|
4615
4593
|
}, t.prototype.error = function(i) {
|
|
4616
4594
|
var r = this;
|
|
4617
|
-
|
|
4595
|
+
Ne(function() {
|
|
4618
4596
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4619
4597
|
r.hasError = r.isStopped = !0, r.thrownError = i;
|
|
4620
4598
|
for (var n = r.observers; n.length; )
|
|
@@ -4623,7 +4601,7 @@ var Po = Hi(function(e) {
|
|
|
4623
4601
|
});
|
|
4624
4602
|
}, t.prototype.complete = function() {
|
|
4625
4603
|
var i = this;
|
|
4626
|
-
|
|
4604
|
+
Ne(function() {
|
|
4627
4605
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4628
4606
|
i.isStopped = !0;
|
|
4629
4607
|
for (var r = i.observers; r.length; )
|
|
@@ -4645,19 +4623,19 @@ var Po = Hi(function(e) {
|
|
|
4645
4623
|
return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
|
|
4646
4624
|
}, t.prototype._innerSubscribe = function(i) {
|
|
4647
4625
|
var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4648
|
-
return o || s ?
|
|
4649
|
-
r.currentObservers = null,
|
|
4626
|
+
return o || s ? Bi : (this.currentObservers = null, a.push(i), new Ue(function() {
|
|
4627
|
+
r.currentObservers = null, ut(a, i);
|
|
4650
4628
|
}));
|
|
4651
4629
|
}, t.prototype._checkFinalizedStatuses = function(i) {
|
|
4652
4630
|
var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
4653
4631
|
n ? i.error(o) : s && i.complete();
|
|
4654
4632
|
}, t.prototype.asObservable = function() {
|
|
4655
|
-
var i = new
|
|
4633
|
+
var i = new Dt();
|
|
4656
4634
|
return i.source = this, i;
|
|
4657
4635
|
}, t.create = function(i, r) {
|
|
4658
|
-
return new
|
|
4636
|
+
return new Ut(i, r);
|
|
4659
4637
|
}, t;
|
|
4660
|
-
}(
|
|
4638
|
+
}(Dt), Ut = function(e) {
|
|
4661
4639
|
q(t, e);
|
|
4662
4640
|
function t(i, r) {
|
|
4663
4641
|
var n = e.call(this) || this;
|
|
@@ -4674,17 +4652,17 @@ var Po = Hi(function(e) {
|
|
|
4674
4652
|
(r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
|
|
4675
4653
|
}, t.prototype._subscribe = function(i) {
|
|
4676
4654
|
var r, n;
|
|
4677
|
-
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n :
|
|
4655
|
+
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Bi;
|
|
4678
4656
|
}, t;
|
|
4679
|
-
}(
|
|
4657
|
+
}(Oi), Mi = {
|
|
4680
4658
|
now: function() {
|
|
4681
|
-
return (
|
|
4659
|
+
return (Mi.delegate || Date).now();
|
|
4682
4660
|
},
|
|
4683
4661
|
delegate: void 0
|
|
4684
|
-
},
|
|
4662
|
+
}, wo = function(e) {
|
|
4685
4663
|
q(t, e);
|
|
4686
4664
|
function t(i, r, n) {
|
|
4687
|
-
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n =
|
|
4665
|
+
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Mi);
|
|
4688
4666
|
var o = e.call(this) || this;
|
|
4689
4667
|
return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
|
|
4690
4668
|
}
|
|
@@ -4704,23 +4682,23 @@ var Po = Hi(function(e) {
|
|
|
4704
4682
|
l && o.splice(0, l + 1);
|
|
4705
4683
|
}
|
|
4706
4684
|
}, t;
|
|
4707
|
-
}(
|
|
4708
|
-
const
|
|
4709
|
-
if (
|
|
4710
|
-
const i = new
|
|
4711
|
-
|
|
4685
|
+
}(Oi);
|
|
4686
|
+
const jt = [], $t = {}, So = (e, t = 0) => {
|
|
4687
|
+
if (jt.indexOf(e) == -1) {
|
|
4688
|
+
const i = new wo(t);
|
|
4689
|
+
$t[e] = i, jt.push(e);
|
|
4712
4690
|
}
|
|
4713
|
-
return
|
|
4691
|
+
return $t[e];
|
|
4714
4692
|
};
|
|
4715
|
-
window.emWidgets = { topic:
|
|
4716
|
-
const
|
|
4717
|
-
function
|
|
4693
|
+
window.emWidgets = { topic: So };
|
|
4694
|
+
const Po = (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));
|
|
4695
|
+
function Ao(e, t) {
|
|
4718
4696
|
if (e) {
|
|
4719
4697
|
const i = document.createElement("style");
|
|
4720
4698
|
i.innerHTML = t, e.appendChild(i);
|
|
4721
4699
|
}
|
|
4722
4700
|
}
|
|
4723
|
-
function
|
|
4701
|
+
function No(e, t) {
|
|
4724
4702
|
const i = new URL(t);
|
|
4725
4703
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
4726
4704
|
const n = document.createElement("style");
|
|
@@ -4729,7 +4707,7 @@ function Ho(e, t) {
|
|
|
4729
4707
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4730
4708
|
});
|
|
4731
4709
|
}
|
|
4732
|
-
function
|
|
4710
|
+
function Bo(e, t, i) {
|
|
4733
4711
|
if (window.emMessageBus) {
|
|
4734
4712
|
const r = document.createElement("style");
|
|
4735
4713
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4737,31 +4715,31 @@ function Oo(e, t, i) {
|
|
|
4737
4715
|
});
|
|
4738
4716
|
}
|
|
4739
4717
|
}
|
|
4740
|
-
function
|
|
4741
|
-
|
|
4718
|
+
function Io(e) {
|
|
4719
|
+
tr(e, "svelte-1r3q7vs", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
|
|
4742
4720
|
}
|
|
4743
|
-
function
|
|
4721
|
+
function Ft(e, t, i) {
|
|
4744
4722
|
const r = e.slice();
|
|
4745
4723
|
return r[50] = t[i], r;
|
|
4746
4724
|
}
|
|
4747
|
-
function
|
|
4725
|
+
function Gt(e, t, i) {
|
|
4748
4726
|
const r = e.slice();
|
|
4749
4727
|
return r[53] = t[i], r;
|
|
4750
4728
|
}
|
|
4751
|
-
function
|
|
4729
|
+
function zt(e, t, i) {
|
|
4752
4730
|
const r = e.slice();
|
|
4753
4731
|
return r[53] = t[i], r;
|
|
4754
4732
|
}
|
|
4755
|
-
function
|
|
4733
|
+
function Wt(e, t, i) {
|
|
4756
4734
|
const r = e.slice();
|
|
4757
4735
|
return r[58] = t[i], r;
|
|
4758
4736
|
}
|
|
4759
|
-
function
|
|
4737
|
+
function Vt(e) {
|
|
4760
4738
|
let t, i;
|
|
4761
4739
|
function r(s, a) {
|
|
4762
4740
|
return (
|
|
4763
4741
|
/*popupReady*/
|
|
4764
|
-
s[11] ?
|
|
4742
|
+
s[11] ? Ho : Oo
|
|
4765
4743
|
);
|
|
4766
4744
|
}
|
|
4767
4745
|
let n = r(e), o = n(e);
|
|
@@ -4781,15 +4759,15 @@ function Yt(e) {
|
|
|
4781
4759
|
}
|
|
4782
4760
|
};
|
|
4783
4761
|
}
|
|
4784
|
-
function
|
|
4762
|
+
function Ho(e) {
|
|
4785
4763
|
let t, i, r = (
|
|
4786
4764
|
/*$_*/
|
|
4787
4765
|
e[13]("popupTitle") + ""
|
|
4788
4766
|
), n, o, s, a, c, l, u, h, f, m, p, _, R, P = !/*limitError*/
|
|
4789
|
-
e[9] &&
|
|
4767
|
+
e[9] && Xt(e);
|
|
4790
4768
|
return {
|
|
4791
4769
|
c() {
|
|
4792
|
-
t = y("div"), i = y("span"), n =
|
|
4770
|
+
t = y("div"), i = y("span"), n = $(r), o = U(), s = y("button"), s.textContent = "X", a = U(), c = y("div"), l = y("div"), P && P.c(), u = U(), h = y("p"), f = $(
|
|
4793
4771
|
/*popupContent*/
|
|
4794
4772
|
e[12]
|
|
4795
4773
|
), m = U(), p = y("button"), p.textContent = "OK", b(i, "class", "PopupTitle"), b(s, "class", "ClosePopup"), b(t, "class", "PopupTitleWrapper"), b(l, "class", "ResultIconWrapper"), b(h, "class", "DescriptionParagraph"), b(c, "class", "DescriptionWrapper"), b(p, "class", "ConfirmButton");
|
|
@@ -4814,7 +4792,7 @@ function ko(e) {
|
|
|
4814
4792
|
w[0] & /*$_*/
|
|
4815
4793
|
8192 && r !== (r = /*$_*/
|
|
4816
4794
|
L[13]("popupTitle") + "") && W(n, r), /*limitError*/
|
|
4817
|
-
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P =
|
|
4795
|
+
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = Xt(L), P.c(), P.m(l, null)), w[0] & /*popupContent*/
|
|
4818
4796
|
4096 && W(
|
|
4819
4797
|
f,
|
|
4820
4798
|
/*popupContent*/
|
|
@@ -4826,7 +4804,7 @@ function ko(e) {
|
|
|
4826
4804
|
}
|
|
4827
4805
|
};
|
|
4828
4806
|
}
|
|
4829
|
-
function
|
|
4807
|
+
function Oo(e) {
|
|
4830
4808
|
let t;
|
|
4831
4809
|
return {
|
|
4832
4810
|
c() {
|
|
@@ -4841,15 +4819,15 @@ function Co(e) {
|
|
|
4841
4819
|
}
|
|
4842
4820
|
};
|
|
4843
4821
|
}
|
|
4844
|
-
function
|
|
4822
|
+
function Xt(e) {
|
|
4845
4823
|
let t, i, r, n, o, s, a, c, l = (
|
|
4846
4824
|
/*$_*/
|
|
4847
4825
|
e[13]("popupSuccess") + ""
|
|
4848
4826
|
), u;
|
|
4849
4827
|
return {
|
|
4850
4828
|
c() {
|
|
4851
|
-
t = pe("svg"), i = pe("defs"), r = pe("style"), n =
|
|
4852
|
-
`), o = pe("g"), s = pe("polygon"), a = U(), c = y("p"), u =
|
|
4829
|
+
t = pe("svg"), i = pe("defs"), r = pe("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4830
|
+
`), o = pe("g"), s = pe("polygon"), a = U(), c = y("p"), u = $(l), b(r, "type", "text/css"), b(s, "class", "fil0"), b(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), b(t, "xml:space", "preserve"), b(t, "version", "1.1"), Ge(t, "shape-rendering", "geometricPrecision"), Ge(t, "text-rendering", "geometricPrecision"), Ge(t, "image-rendering", "optimizeQuality"), b(t, "viewBox", "0 0 90 69"), b(t, "x", "0px"), b(t, "y", "0px"), b(t, "fill-rule", "evenodd"), b(t, "clip-rule", "evenodd");
|
|
4853
4831
|
},
|
|
4854
4832
|
m(h, f) {
|
|
4855
4833
|
I(h, t, f), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), I(h, a, f), I(h, c, f), d(c, u);
|
|
@@ -4864,7 +4842,7 @@ function qt(e) {
|
|
|
4864
4842
|
}
|
|
4865
4843
|
};
|
|
4866
4844
|
}
|
|
4867
|
-
function
|
|
4845
|
+
function Mo(e) {
|
|
4868
4846
|
let t, i, r, n, o, s, a, c, l, u = (
|
|
4869
4847
|
/*multiplePeriods*/
|
|
4870
4848
|
e[6] ? `${/*$_*/
|
|
@@ -4879,29 +4857,29 @@ function Do(e) {
|
|
|
4879
4857
|
), P, L, w, H = K(
|
|
4880
4858
|
/*availableLimits*/
|
|
4881
4859
|
e[15]
|
|
4882
|
-
),
|
|
4860
|
+
), B = [];
|
|
4883
4861
|
for (let E = 0; E < H.length; E += 1)
|
|
4884
|
-
|
|
4862
|
+
B[E] = Yt(zt(e, H, E));
|
|
4885
4863
|
let M = (
|
|
4886
4864
|
/*multipleLimits*/
|
|
4887
|
-
e[5] &&
|
|
4865
|
+
e[5] && qt(e)
|
|
4888
4866
|
), D = (
|
|
4889
4867
|
/*multiplePeriods*/
|
|
4890
|
-
e[6] &&
|
|
4868
|
+
e[6] && Qt(e)
|
|
4891
4869
|
);
|
|
4892
4870
|
return {
|
|
4893
4871
|
c() {
|
|
4894
4872
|
t = y("div"), i = y("div"), r = y("div");
|
|
4895
|
-
for (let E = 0; E <
|
|
4896
|
-
|
|
4897
|
-
n = U(), o = y("form"), M && M.c(), s = U(), D && D.c(), a = U(), c = y("label"), l = y("span"), h =
|
|
4873
|
+
for (let E = 0; E < B.length; E += 1)
|
|
4874
|
+
B[E].c();
|
|
4875
|
+
n = U(), o = y("form"), M && M.c(), s = U(), D && D.c(), a = U(), c = y("label"), l = y("span"), h = $(u), f = U(), m = y("input"), p = U(), _ = y("button"), P = $(R), b(r, "class", "LimitsList " + /*isDesktop*/
|
|
4898
4876
|
(e[14] ? "Desktop" : "")), b(l, "class", "LimitInputText"), b(c, "class", "LimitAmountInputWrapper"), b(m, "type", "number"), b(m, "pattern", "[0-9]*"), b(_, "class", "LimitSubmitButton"), b(_, "type", "button"), _.disabled = !0, b(o, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
4899
4877
|
(e[14] ? "Desktop" : "")), b(i, "class", "LimitsPageContainer"), b(t, "class", "player-account-gaming-limits-page-2-gmcore");
|
|
4900
4878
|
},
|
|
4901
4879
|
m(E, G) {
|
|
4902
4880
|
I(E, t, G), d(t, i), d(i, r);
|
|
4903
|
-
for (let k = 0; k <
|
|
4904
|
-
|
|
4881
|
+
for (let k = 0; k < B.length; k += 1)
|
|
4882
|
+
B[k] && B[k].m(r, null);
|
|
4905
4883
|
d(i, n), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, l), d(l, h), d(o, f), d(o, m), ge(
|
|
4906
4884
|
m,
|
|
4907
4885
|
/*inputAmount*/
|
|
@@ -4942,16 +4920,16 @@ function Do(e) {
|
|
|
4942
4920
|
);
|
|
4943
4921
|
let k;
|
|
4944
4922
|
for (k = 0; k < H.length; k += 1) {
|
|
4945
|
-
const J =
|
|
4946
|
-
|
|
4923
|
+
const J = zt(E, H, k);
|
|
4924
|
+
B[k] ? B[k].p(J, G) : (B[k] = Yt(J), B[k].c(), B[k].m(r, null));
|
|
4947
4925
|
}
|
|
4948
|
-
for (; k <
|
|
4949
|
-
|
|
4950
|
-
|
|
4926
|
+
for (; k < B.length; k += 1)
|
|
4927
|
+
B[k].d(1);
|
|
4928
|
+
B.length = H.length;
|
|
4951
4929
|
}
|
|
4952
4930
|
/*multipleLimits*/
|
|
4953
|
-
E[5] ? M ? M.p(E, G) : (M =
|
|
4954
|
-
E[6] ? D ? D.p(E, G) : (D =
|
|
4931
|
+
E[5] ? M ? M.p(E, G) : (M = qt(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
|
|
4932
|
+
E[6] ? D ? D.p(E, G) : (D = Qt(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
4955
4933
|
8260 && u !== (u = /*multiplePeriods*/
|
|
4956
4934
|
E[6] ? `${/*$_*/
|
|
4957
4935
|
E[13]("amount")}` : `${/*$_*/
|
|
@@ -4959,7 +4937,7 @@ function Do(e) {
|
|
|
4959
4937
|
E[13](`gamingLimits.${/*selectedPeriod*/
|
|
4960
4938
|
E[2]}`)} ${/*$_*/
|
|
4961
4939
|
E[13]("limit")}`) && W(h, u), G[0] & /*inputAmount*/
|
|
4962
|
-
8 &&
|
|
4940
|
+
8 && ri(m.value) !== /*inputAmount*/
|
|
4963
4941
|
E[3] && ge(
|
|
4964
4942
|
m,
|
|
4965
4943
|
/*inputAmount*/
|
|
@@ -4969,11 +4947,11 @@ function Do(e) {
|
|
|
4969
4947
|
E[13]("setLimit") + "") && W(P, R);
|
|
4970
4948
|
},
|
|
4971
4949
|
d(E) {
|
|
4972
|
-
E && A(t), Me(
|
|
4950
|
+
E && A(t), Me(B, E), M && M.d(), D && D.d(), e[35](null), L = !1, ee(w);
|
|
4973
4951
|
}
|
|
4974
4952
|
};
|
|
4975
4953
|
}
|
|
4976
|
-
function
|
|
4954
|
+
function ko(e) {
|
|
4977
4955
|
let t;
|
|
4978
4956
|
return {
|
|
4979
4957
|
c() {
|
|
@@ -4988,10 +4966,10 @@ function Ro(e) {
|
|
|
4988
4966
|
}
|
|
4989
4967
|
};
|
|
4990
4968
|
}
|
|
4991
|
-
function
|
|
4969
|
+
function Co(e) {
|
|
4992
4970
|
return { c: j, m: j, p: j, d: j };
|
|
4993
4971
|
}
|
|
4994
|
-
function
|
|
4972
|
+
function Do(e) {
|
|
4995
4973
|
let t;
|
|
4996
4974
|
return {
|
|
4997
4975
|
c() {
|
|
@@ -5006,14 +4984,14 @@ function jo(e) {
|
|
|
5006
4984
|
}
|
|
5007
4985
|
};
|
|
5008
4986
|
}
|
|
5009
|
-
function
|
|
4987
|
+
function Ro(e) {
|
|
5010
4988
|
let t, i, r, n = (
|
|
5011
4989
|
/*$_*/
|
|
5012
4990
|
e[13]("noLimitText") + ""
|
|
5013
4991
|
), o;
|
|
5014
4992
|
return {
|
|
5015
4993
|
c() {
|
|
5016
|
-
t = y("div"), i = y("div"), r = y("div"), o =
|
|
4994
|
+
t = y("div"), i = y("div"), r = y("div"), o = $(n), b(r, "class", "LimitDetailsTextWrapper"), b(i, "class", "LimitDetailsWrapper"), b(t, "class", "LimitDetails");
|
|
5017
4995
|
},
|
|
5018
4996
|
m(s, a) {
|
|
5019
4997
|
I(s, t, a), d(t, i), d(i, r), d(r, o);
|
|
@@ -5028,18 +5006,18 @@ function Fo(e) {
|
|
|
5028
5006
|
}
|
|
5029
5007
|
};
|
|
5030
5008
|
}
|
|
5031
|
-
function
|
|
5009
|
+
function Uo(e) {
|
|
5032
5010
|
let t, i = K(
|
|
5033
5011
|
/*limit*/
|
|
5034
5012
|
e[53].currentLimits
|
|
5035
5013
|
), r = [];
|
|
5036
5014
|
for (let n = 0; n < i.length; n += 1)
|
|
5037
|
-
r[n] =
|
|
5015
|
+
r[n] = Zt(Wt(e, i, n));
|
|
5038
5016
|
return {
|
|
5039
5017
|
c() {
|
|
5040
5018
|
for (let n = 0; n < r.length; n += 1)
|
|
5041
5019
|
r[n].c();
|
|
5042
|
-
t =
|
|
5020
|
+
t = nr();
|
|
5043
5021
|
},
|
|
5044
5022
|
m(n, o) {
|
|
5045
5023
|
for (let s = 0; s < r.length; s += 1)
|
|
@@ -5055,8 +5033,8 @@ function $o(e) {
|
|
|
5055
5033
|
);
|
|
5056
5034
|
let s;
|
|
5057
5035
|
for (s = 0; s < i.length; s += 1) {
|
|
5058
|
-
const a =
|
|
5059
|
-
r[s] ? r[s].p(a, o) : (r[s] =
|
|
5036
|
+
const a = Wt(n, i, s);
|
|
5037
|
+
r[s] ? r[s].p(a, o) : (r[s] = Zt(a), r[s].c(), r[s].m(t.parentNode, t));
|
|
5060
5038
|
}
|
|
5061
5039
|
for (; s < r.length; s += 1)
|
|
5062
5040
|
r[s].d(1);
|
|
@@ -5068,13 +5046,13 @@ function $o(e) {
|
|
|
5068
5046
|
}
|
|
5069
5047
|
};
|
|
5070
5048
|
}
|
|
5071
|
-
function
|
|
5049
|
+
function jo(e) {
|
|
5072
5050
|
let t, i = `${/*$_*/
|
|
5073
5051
|
e[13]("removedLimitText")} ${/*currentLimit*/
|
|
5074
5052
|
e[58].expiryDate}`, r;
|
|
5075
5053
|
return {
|
|
5076
5054
|
c() {
|
|
5077
|
-
t = y("div"), r =
|
|
5055
|
+
t = y("div"), r = $(i), b(t, "class", "PendingLimit");
|
|
5078
5056
|
},
|
|
5079
5057
|
m(n, o) {
|
|
5080
5058
|
I(n, t, o), d(t, r);
|
|
@@ -5090,7 +5068,7 @@ function Go(e) {
|
|
|
5090
5068
|
}
|
|
5091
5069
|
};
|
|
5092
5070
|
}
|
|
5093
|
-
function
|
|
5071
|
+
function $o(e) {
|
|
5094
5072
|
let t, i = `${/*currentLimit*/
|
|
5095
5073
|
e[58].updateAmount}${/*currentLimit*/
|
|
5096
5074
|
e[58].currency} ${/*$_*/
|
|
@@ -5100,7 +5078,7 @@ function zo(e) {
|
|
|
5100
5078
|
e[58].expiryDate}`, r;
|
|
5101
5079
|
return {
|
|
5102
5080
|
c() {
|
|
5103
|
-
t = y("div"), r =
|
|
5081
|
+
t = y("div"), r = $(i), b(t, "class", "PendingLimit");
|
|
5104
5082
|
},
|
|
5105
5083
|
m(n, o) {
|
|
5106
5084
|
I(n, t, o), d(t, r);
|
|
@@ -5120,7 +5098,7 @@ function zo(e) {
|
|
|
5120
5098
|
}
|
|
5121
5099
|
};
|
|
5122
5100
|
}
|
|
5123
|
-
function
|
|
5101
|
+
function Fo(e) {
|
|
5124
5102
|
let t, i = (
|
|
5125
5103
|
/*$_*/
|
|
5126
5104
|
e[13]("gamingLimits.removeLimit") + ""
|
|
@@ -5136,7 +5114,7 @@ function Wo(e) {
|
|
|
5136
5114
|
}
|
|
5137
5115
|
return {
|
|
5138
5116
|
c() {
|
|
5139
|
-
t = y("button"), r =
|
|
5117
|
+
t = y("button"), r = $(i), b(t, "class", "RemoveLimitButton");
|
|
5140
5118
|
},
|
|
5141
5119
|
m(a, c) {
|
|
5142
5120
|
I(a, t, c), d(t, r), n || (o = Z(t, "click", s), n = !0);
|
|
@@ -5151,7 +5129,7 @@ function Wo(e) {
|
|
|
5151
5129
|
}
|
|
5152
5130
|
};
|
|
5153
5131
|
}
|
|
5154
|
-
function
|
|
5132
|
+
function Zt(e) {
|
|
5155
5133
|
let t, i, r, n = `${/*currentLimit*/
|
|
5156
5134
|
e[58].amount}${/*currentLimit*/
|
|
5157
5135
|
e[58].currency} ${/*$_*/
|
|
@@ -5163,18 +5141,18 @@ function Jt(e) {
|
|
|
5163
5141
|
m[58].isModified && /*currentLimit*/
|
|
5164
5142
|
m[58].updateAmount != "-1"
|
|
5165
5143
|
)
|
|
5166
|
-
return
|
|
5144
|
+
return $o;
|
|
5167
5145
|
if (
|
|
5168
5146
|
/*currentLimit*/
|
|
5169
5147
|
m[58].isModified
|
|
5170
5148
|
)
|
|
5171
|
-
return
|
|
5149
|
+
return jo;
|
|
5172
5150
|
}
|
|
5173
5151
|
let u = l(e), h = u && u(e), f = !/*currentLimit*/
|
|
5174
|
-
e[58].isModified &&
|
|
5152
|
+
e[58].isModified && Fo(e);
|
|
5175
5153
|
return {
|
|
5176
5154
|
c() {
|
|
5177
|
-
t = y("div"), i = y("div"), r = y("div"), o =
|
|
5155
|
+
t = y("div"), i = y("div"), r = y("div"), o = $(n), s = U(), h && h.c(), a = U(), f && f.c(), c = U(), b(r, "class", "CurrentLimit"), b(i, "class", "LimitDetailsTextWrapper"), b(t, "class", "LimitDetails");
|
|
5178
5156
|
},
|
|
5179
5157
|
m(m, p) {
|
|
5180
5158
|
I(m, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), f && f.m(t, null), d(t, c);
|
|
@@ -5193,7 +5171,7 @@ function Jt(e) {
|
|
|
5193
5171
|
}
|
|
5194
5172
|
};
|
|
5195
5173
|
}
|
|
5196
|
-
function
|
|
5174
|
+
function Yt(e) {
|
|
5197
5175
|
let t, i, r = (
|
|
5198
5176
|
/*$_*/
|
|
5199
5177
|
e[13](`gamingLimits.${/*limit*/
|
|
@@ -5202,13 +5180,13 @@ function Qt(e) {
|
|
|
5202
5180
|
function a(u, h) {
|
|
5203
5181
|
return (
|
|
5204
5182
|
/*limit*/
|
|
5205
|
-
u[53].currentLimits.length > 0 ?
|
|
5183
|
+
u[53].currentLimits.length > 0 ? Uo : Ro
|
|
5206
5184
|
);
|
|
5207
5185
|
}
|
|
5208
5186
|
let l = a(e)(e);
|
|
5209
5187
|
return {
|
|
5210
5188
|
c() {
|
|
5211
|
-
t = y("div"), i = y("p"), n =
|
|
5189
|
+
t = y("div"), i = y("p"), n = $(r), o = U(), l.c(), s = U(), b(i, "class", "LimitTitle"), b(t, "class", "LimitWrapper " + /*isDesktop*/
|
|
5212
5190
|
(e[14] ? "Desktop" : ""));
|
|
5213
5191
|
},
|
|
5214
5192
|
m(u, h) {
|
|
@@ -5225,7 +5203,7 @@ function Qt(e) {
|
|
|
5225
5203
|
}
|
|
5226
5204
|
};
|
|
5227
5205
|
}
|
|
5228
|
-
function
|
|
5206
|
+
function qt(e) {
|
|
5229
5207
|
let t, i, r = (
|
|
5230
5208
|
/*$_*/
|
|
5231
5209
|
e[13]("limitType") + ""
|
|
@@ -5234,10 +5212,10 @@ function Kt(e) {
|
|
|
5234
5212
|
e[15]
|
|
5235
5213
|
), u = [];
|
|
5236
5214
|
for (let h = 0; h < l.length; h += 1)
|
|
5237
|
-
u[h] =
|
|
5215
|
+
u[h] = Jt(Gt(e, l, h));
|
|
5238
5216
|
return {
|
|
5239
5217
|
c() {
|
|
5240
|
-
t = y("label"), i = y("span"), n =
|
|
5218
|
+
t = y("label"), i = y("span"), n = $(r), o = U(), s = y("select");
|
|
5241
5219
|
for (let h = 0; h < u.length; h += 1)
|
|
5242
5220
|
u[h].c();
|
|
5243
5221
|
b(i, "class", "LimitSelectText"), b(s, "name", ""), b(s, "id", ""), /*selectedLimit*/
|
|
@@ -5250,7 +5228,7 @@ function Kt(e) {
|
|
|
5250
5228
|
I(h, t, f), d(t, i), d(i, n), d(t, o), d(t, s);
|
|
5251
5229
|
for (let m = 0; m < u.length; m += 1)
|
|
5252
5230
|
u[m] && u[m].m(s, null);
|
|
5253
|
-
|
|
5231
|
+
Be(
|
|
5254
5232
|
s,
|
|
5255
5233
|
/*selectedLimit*/
|
|
5256
5234
|
e[1],
|
|
@@ -5281,15 +5259,15 @@ function Kt(e) {
|
|
|
5281
5259
|
);
|
|
5282
5260
|
let m;
|
|
5283
5261
|
for (m = 0; m < l.length; m += 1) {
|
|
5284
|
-
const p =
|
|
5285
|
-
u[m] ? u[m].p(p, f) : (u[m] =
|
|
5262
|
+
const p = Gt(h, l, m);
|
|
5263
|
+
u[m] ? u[m].p(p, f) : (u[m] = Jt(p), u[m].c(), u[m].m(s, null));
|
|
5286
5264
|
}
|
|
5287
5265
|
for (; m < u.length; m += 1)
|
|
5288
5266
|
u[m].d(1);
|
|
5289
5267
|
u.length = l.length;
|
|
5290
5268
|
}
|
|
5291
5269
|
f[0] & /*selectedLimit, availableLimits*/
|
|
5292
|
-
32770 &&
|
|
5270
|
+
32770 && Be(
|
|
5293
5271
|
s,
|
|
5294
5272
|
/*selectedLimit*/
|
|
5295
5273
|
h[1]
|
|
@@ -5300,14 +5278,14 @@ function Kt(e) {
|
|
|
5300
5278
|
}
|
|
5301
5279
|
};
|
|
5302
5280
|
}
|
|
5303
|
-
function
|
|
5281
|
+
function Jt(e) {
|
|
5304
5282
|
let t, i = (
|
|
5305
5283
|
/*limit*/
|
|
5306
5284
|
e[53].title + ""
|
|
5307
5285
|
), r;
|
|
5308
5286
|
return {
|
|
5309
5287
|
c() {
|
|
5310
|
-
t = y("option"), r =
|
|
5288
|
+
t = y("option"), r = $(i), t.__value = /*limit*/
|
|
5311
5289
|
e[53].value, ge(t, t.__value);
|
|
5312
5290
|
},
|
|
5313
5291
|
m(n, o) {
|
|
@@ -5319,7 +5297,7 @@ function ei(e) {
|
|
|
5319
5297
|
}
|
|
5320
5298
|
};
|
|
5321
5299
|
}
|
|
5322
|
-
function
|
|
5300
|
+
function Qt(e) {
|
|
5323
5301
|
let t, i, r = (
|
|
5324
5302
|
/*$_*/
|
|
5325
5303
|
e[13]("period") + ""
|
|
@@ -5328,10 +5306,10 @@ function ti(e) {
|
|
|
5328
5306
|
e[1]
|
|
5329
5307
|
].periods), u = [];
|
|
5330
5308
|
for (let h = 0; h < l.length; h += 1)
|
|
5331
|
-
u[h] =
|
|
5309
|
+
u[h] = Kt(Ft(e, l, h));
|
|
5332
5310
|
return {
|
|
5333
5311
|
c() {
|
|
5334
|
-
t = y("label"), i = y("span"), n =
|
|
5312
|
+
t = y("label"), i = y("span"), n = $(r), o = U(), s = y("select");
|
|
5335
5313
|
for (let h = 0; h < u.length; h += 1)
|
|
5336
5314
|
u[h].c();
|
|
5337
5315
|
b(i, "class", "PeriodSelectText"), b(t, "class", "LimitPeriodDropdownWrapper"), b(s, "name", ""), b(s, "id", ""), /*selectedPeriod*/
|
|
@@ -5344,7 +5322,7 @@ function ti(e) {
|
|
|
5344
5322
|
I(h, t, f), d(t, i), d(i, n), I(h, o, f), I(h, s, f);
|
|
5345
5323
|
for (let m = 0; m < u.length; m += 1)
|
|
5346
5324
|
u[m] && u[m].m(s, null);
|
|
5347
|
-
|
|
5325
|
+
Be(
|
|
5348
5326
|
s,
|
|
5349
5327
|
/*selectedPeriod*/
|
|
5350
5328
|
e[2],
|
|
@@ -5367,15 +5345,15 @@ function ti(e) {
|
|
|
5367
5345
|
].periods);
|
|
5368
5346
|
let m;
|
|
5369
5347
|
for (m = 0; m < l.length; m += 1) {
|
|
5370
|
-
const p =
|
|
5371
|
-
u[m] ? u[m].p(p, f) : (u[m] =
|
|
5348
|
+
const p = Ft(h, l, m);
|
|
5349
|
+
u[m] ? u[m].p(p, f) : (u[m] = Kt(p), u[m].c(), u[m].m(s, null));
|
|
5372
5350
|
}
|
|
5373
5351
|
for (; m < u.length; m += 1)
|
|
5374
5352
|
u[m].d(1);
|
|
5375
5353
|
u.length = l.length;
|
|
5376
5354
|
}
|
|
5377
5355
|
f[0] & /*selectedPeriod, selectedLimit*/
|
|
5378
|
-
6 &&
|
|
5356
|
+
6 && Be(
|
|
5379
5357
|
s,
|
|
5380
5358
|
/*selectedPeriod*/
|
|
5381
5359
|
h[2]
|
|
@@ -5386,7 +5364,7 @@ function ti(e) {
|
|
|
5386
5364
|
}
|
|
5387
5365
|
};
|
|
5388
5366
|
}
|
|
5389
|
-
function
|
|
5367
|
+
function Kt(e) {
|
|
5390
5368
|
let t, i = (
|
|
5391
5369
|
/*$_*/
|
|
5392
5370
|
e[13](`gamingLimits.${/*period*/
|
|
@@ -5394,7 +5372,7 @@ function ii(e) {
|
|
|
5394
5372
|
), r, n;
|
|
5395
5373
|
return {
|
|
5396
5374
|
c() {
|
|
5397
|
-
t = y("option"), r =
|
|
5375
|
+
t = y("option"), r = $(i), t.__value = n = /*period*/
|
|
5398
5376
|
e[50], ge(t, t.__value), t.selected = !0;
|
|
5399
5377
|
},
|
|
5400
5378
|
m(o, s) {
|
|
@@ -5413,20 +5391,20 @@ function ii(e) {
|
|
|
5413
5391
|
}
|
|
5414
5392
|
};
|
|
5415
5393
|
}
|
|
5416
|
-
function
|
|
5394
|
+
function Go(e) {
|
|
5417
5395
|
let t, i, r, n, o = (
|
|
5418
5396
|
/*popupVisible*/
|
|
5419
|
-
e[10] &&
|
|
5397
|
+
e[10] && Vt(e)
|
|
5420
5398
|
);
|
|
5421
5399
|
function s(l, u) {
|
|
5422
5400
|
return (
|
|
5423
5401
|
/*isLoading*/
|
|
5424
5402
|
l[7] && !/*popupVisible*/
|
|
5425
|
-
l[10] ?
|
|
5403
|
+
l[10] ? Do : (
|
|
5426
5404
|
/*isLoading*/
|
|
5427
|
-
l[7] ?
|
|
5405
|
+
l[7] ? Co : (
|
|
5428
5406
|
/*fetchError*/
|
|
5429
|
-
l[8] ?
|
|
5407
|
+
l[8] ? ko : Mo
|
|
5430
5408
|
)
|
|
5431
5409
|
)
|
|
5432
5410
|
);
|
|
@@ -5441,7 +5419,7 @@ function Vo(e) {
|
|
|
5441
5419
|
},
|
|
5442
5420
|
p(l, u) {
|
|
5443
5421
|
/*popupVisible*/
|
|
5444
|
-
l[10] ? o ? o.p(l, u) : (o =
|
|
5422
|
+
l[10] ? o ? o.p(l, u) : (o = Vt(l), o.c(), o.m(r, n)) : o && (o.d(1), o = null), a === (a = s(l)) && c ? c.p(l, u) : (c.d(1), c = a(l), c && (c.c(), c.m(r, null)));
|
|
5445
5423
|
},
|
|
5446
5424
|
i: j,
|
|
5447
5425
|
o: j,
|
|
@@ -5450,31 +5428,31 @@ function Vo(e) {
|
|
|
5450
5428
|
}
|
|
5451
5429
|
};
|
|
5452
5430
|
}
|
|
5453
|
-
function
|
|
5431
|
+
function zo(e, t, i) {
|
|
5454
5432
|
let r;
|
|
5455
|
-
|
|
5456
|
-
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !
|
|
5457
|
-
const
|
|
5433
|
+
er(e, co, (g) => i(13, r = g));
|
|
5434
|
+
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !Po(_), P = [], L = "", w = "", H, B, M = !1, D = !1, E = !0, G = !1, k = !1, J = !1, je = !1, $e = "", xe;
|
|
5435
|
+
const pt = { EUR: "€", RON: " lei" }, ki = {
|
|
5458
5436
|
updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
|
|
5459
|
-
},
|
|
5437
|
+
}, Ci = () => {
|
|
5460
5438
|
fetch(f).then((v) => v.json()).then((v) => {
|
|
5461
5439
|
Object.keys(v).forEach((C) => {
|
|
5462
|
-
|
|
5440
|
+
Ot(C, v[C]);
|
|
5463
5441
|
});
|
|
5464
5442
|
}).catch((v) => {
|
|
5465
5443
|
console.log(v);
|
|
5466
5444
|
});
|
|
5467
5445
|
};
|
|
5468
|
-
Object.keys(
|
|
5469
|
-
|
|
5446
|
+
Object.keys(Mt).forEach((g) => {
|
|
5447
|
+
Ot(g, Mt[g]);
|
|
5470
5448
|
});
|
|
5471
|
-
const
|
|
5449
|
+
const Di = () => {
|
|
5472
5450
|
s.split(" ").forEach((v) => {
|
|
5473
5451
|
X[v] ? P.push(X[v]) : console.error(`Unknown limit: ${v}`);
|
|
5474
5452
|
}), i(1, L = P[0].value), i(2, w = X[L].periods[0]), i(5, M = P.length > 1), i(6, D = X[L].periods.length > 1);
|
|
5475
|
-
},
|
|
5453
|
+
}, Ri = () => {
|
|
5476
5454
|
i(2, w = X[L].periods[0]), i(6, D = X[L].periods.length > 1);
|
|
5477
|
-
},
|
|
5455
|
+
}, Ui = () => {
|
|
5478
5456
|
if (!(H > 0))
|
|
5479
5457
|
return;
|
|
5480
5458
|
i(10, J = !0), i(7, E = !0);
|
|
@@ -5496,19 +5474,19 @@ function Xo(e, t, i) {
|
|
|
5496
5474
|
},
|
|
5497
5475
|
body: JSON.stringify(v)
|
|
5498
5476
|
};
|
|
5499
|
-
fetch(g.href, C).then((
|
|
5500
|
-
|
|
5501
|
-
}).catch((
|
|
5502
|
-
console.log(
|
|
5477
|
+
fetch(g.href, C).then((N) => (N.status >= 300 && i(9, k = !0), N.json())).then((N) => {
|
|
5478
|
+
Fe(), k && ji(N);
|
|
5479
|
+
}).catch((N) => {
|
|
5480
|
+
console.log(N), i(7, E = !1), i(8, G = !0);
|
|
5503
5481
|
});
|
|
5504
|
-
},
|
|
5482
|
+
}, ji = (g) => {
|
|
5505
5483
|
const v = g.error.match(/errorCode:(.*)\)/)[1];
|
|
5506
5484
|
console.error(`API response error: ${v}`);
|
|
5507
5485
|
let C;
|
|
5508
|
-
for (const [
|
|
5509
|
-
|
|
5510
|
-
C = C ?? r("gamingLimits.genericError"),
|
|
5511
|
-
},
|
|
5486
|
+
for (const [N, F] of Object.entries(ki))
|
|
5487
|
+
F.includes(v) && (C = r(`gamingLimits.${N}`));
|
|
5488
|
+
C = C ?? r("gamingLimits.genericError"), dt(v, C);
|
|
5489
|
+
}, Fe = () => {
|
|
5512
5490
|
let g = new URL(`/v2/player/${c}/limits`, l), v = !k, C = {
|
|
5513
5491
|
method: "GET",
|
|
5514
5492
|
headers: {
|
|
@@ -5517,47 +5495,47 @@ function Xo(e, t, i) {
|
|
|
5517
5495
|
Accept: "application/json"
|
|
5518
5496
|
}
|
|
5519
5497
|
};
|
|
5520
|
-
fetch(g.href, C).then((
|
|
5521
|
-
if (
|
|
5498
|
+
fetch(g.href, C).then((N) => {
|
|
5499
|
+
if (N.status >= 300)
|
|
5522
5500
|
throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
|
|
5523
|
-
return
|
|
5524
|
-
}).then((
|
|
5525
|
-
xe =
|
|
5526
|
-
}).catch((
|
|
5527
|
-
console.log(
|
|
5501
|
+
return N.json();
|
|
5502
|
+
}).then((N) => {
|
|
5503
|
+
xe = N, J && v && dt(), $i(xe), i(7, E = !1), i(3, H = null);
|
|
5504
|
+
}).catch((N) => {
|
|
5505
|
+
console.log(N), i(7, E = !1), i(8, G = !0);
|
|
5528
5506
|
});
|
|
5529
|
-
},
|
|
5507
|
+
}, $i = (g) => {
|
|
5530
5508
|
P.forEach((v) => {
|
|
5531
|
-
v.currentLimits = [], g[X[v.value].callValue]?.forEach((C,
|
|
5532
|
-
const
|
|
5533
|
-
v.currentLimits.push({}), v.currentLimits[
|
|
5534
|
-
}), v.currentLimits =
|
|
5509
|
+
v.currentLimits = [], g[X[v.value].callValue]?.forEach((C, N) => {
|
|
5510
|
+
const F = g[X[v.value].callValue][N];
|
|
5511
|
+
v.currentLimits.push({}), v.currentLimits[N].limitType = v.value, v.currentLimits[N].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.amount), v.currentLimits[N].currency = pt[F.currency] ?? F.currency, v.currentLimits[N].period = F.period, v.currentLimits[N].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.updateAmount), v.currentLimits[N].isModified = F.isModified, v.currentLimits[N].expiryDate = `${new Date(F.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
5512
|
+
}), v.currentLimits = Fi(v.currentLimits);
|
|
5535
5513
|
});
|
|
5536
|
-
},
|
|
5514
|
+
}, Fi = (g) => {
|
|
5537
5515
|
const v = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
5538
|
-
return g.sort((C,
|
|
5539
|
-
},
|
|
5516
|
+
return g.sort((C, N) => v[C.period] - v[N.period]), g;
|
|
5517
|
+
}, Gi = () => {
|
|
5540
5518
|
H > 999999999999999 && i(3, H = 999999999999999);
|
|
5541
5519
|
const v = H - Math.floor(H) === 0;
|
|
5542
|
-
H > 0 && v ?
|
|
5543
|
-
},
|
|
5520
|
+
H > 0 && v ? B.removeAttribute("disabled") : B.setAttribute("disabled", "true");
|
|
5521
|
+
}, dt = (g, v) => {
|
|
5544
5522
|
if (g)
|
|
5545
|
-
i(12,
|
|
5523
|
+
i(12, $e = v);
|
|
5546
5524
|
else if (xe) {
|
|
5547
|
-
const C = xe[X[L].callValue].filter((
|
|
5548
|
-
let
|
|
5549
|
-
i(12,
|
|
5525
|
+
const C = xe[X[L].callValue].filter((Qi) => Qi.period === w)[0], N = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(C.amount);
|
|
5526
|
+
let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", N).replace("{currency}", pt[C.currency] || C.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
|
|
5527
|
+
i(12, $e = C.isModified ? `${r("popupPendingUpdate")} ${new Date(C.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
|
|
5550
5528
|
} else
|
|
5551
5529
|
console.error("Couldn't populate popupContent");
|
|
5552
5530
|
i(11, je = !0);
|
|
5553
|
-
},
|
|
5531
|
+
}, bt = (g) => {
|
|
5554
5532
|
const v = {
|
|
5555
5533
|
wager: "wagering",
|
|
5556
5534
|
loss: "loss",
|
|
5557
5535
|
deposit: "deposit"
|
|
5558
5536
|
};
|
|
5559
5537
|
i(10, J = !0), i(7, E = !0);
|
|
5560
|
-
let C = new URL(`/v2/player/${c}/limits/${v[g.limitType]}?periods=${g.period}`, l),
|
|
5538
|
+
let C = new URL(`/v2/player/${c}/limits/${v[g.limitType]}?periods=${g.period}`, l), N = {
|
|
5561
5539
|
method: "DELETE",
|
|
5562
5540
|
headers: {
|
|
5563
5541
|
"X-SessionID": a,
|
|
@@ -5565,34 +5543,34 @@ function Xo(e, t, i) {
|
|
|
5565
5543
|
Accept: "application/json"
|
|
5566
5544
|
}
|
|
5567
5545
|
};
|
|
5568
|
-
fetch(C.href,
|
|
5569
|
-
|
|
5570
|
-
}).catch((
|
|
5571
|
-
console.log(
|
|
5546
|
+
fetch(C.href, N).then((F) => F.json()).then((F) => {
|
|
5547
|
+
Fe();
|
|
5548
|
+
}).catch((F) => {
|
|
5549
|
+
console.log(F), i(7, E = !1), i(8, G = !0);
|
|
5572
5550
|
});
|
|
5573
|
-
},
|
|
5551
|
+
}, zi = () => {
|
|
5574
5552
|
i(11, je = i(10, J = !1));
|
|
5575
|
-
},
|
|
5576
|
-
|
|
5553
|
+
}, Wi = () => {
|
|
5554
|
+
ho(n);
|
|
5577
5555
|
};
|
|
5578
|
-
|
|
5556
|
+
lr(() => () => {
|
|
5579
5557
|
});
|
|
5580
|
-
const
|
|
5581
|
-
function
|
|
5582
|
-
L =
|
|
5558
|
+
const Vi = (g) => bt(g);
|
|
5559
|
+
function Xi() {
|
|
5560
|
+
L = yt(this), i(1, L), i(15, P);
|
|
5583
5561
|
}
|
|
5584
|
-
function
|
|
5585
|
-
w =
|
|
5562
|
+
function Zi() {
|
|
5563
|
+
w = yt(this), i(2, w), i(1, L);
|
|
5586
5564
|
}
|
|
5587
|
-
function
|
|
5588
|
-
H =
|
|
5565
|
+
function Yi() {
|
|
5566
|
+
H = ri(this.value), i(3, H);
|
|
5589
5567
|
}
|
|
5590
|
-
function
|
|
5568
|
+
function qi(g) {
|
|
5591
5569
|
Ie[g ? "unshift" : "push"](() => {
|
|
5592
|
-
|
|
5570
|
+
B = g, i(4, B);
|
|
5593
5571
|
});
|
|
5594
5572
|
}
|
|
5595
|
-
function
|
|
5573
|
+
function Ji(g) {
|
|
5596
5574
|
Ie[g ? "unshift" : "push"](() => {
|
|
5597
5575
|
p = g, i(0, p);
|
|
5598
5576
|
});
|
|
@@ -5601,19 +5579,19 @@ function Xo(e, t, i) {
|
|
|
5601
5579
|
"lang" in g && i(21, n = g.lang), "currency" in g && i(22, o = g.currency), "limits" in g && i(23, s = g.limits), "session" in g && i(24, a = g.session), "userid" in g && i(25, c = g.userid), "endpoint" in g && i(26, l = g.endpoint), "clientstyling" in g && i(27, u = g.clientstyling), "clientstylingurl" in g && i(28, h = g.clientstylingurl), "translationurl" in g && i(29, f = g.translationurl), "mbsource" in g && i(30, m = g.mbsource);
|
|
5602
5580
|
}, e.$$.update = () => {
|
|
5603
5581
|
e.$$.dirty[0] & /*limits*/
|
|
5604
|
-
8388608 && s &&
|
|
5605
|
-
2097152 && n &&
|
|
5606
|
-
117440512 && c && a && l &&
|
|
5607
|
-
134217729 && u && p &&
|
|
5608
|
-
268435457 && h && p &&
|
|
5609
|
-
1073741825 && m && p &&
|
|
5610
|
-
536870912 && f &&
|
|
5582
|
+
8388608 && s && Di(), e.$$.dirty[0] & /*lang*/
|
|
5583
|
+
2097152 && n && Wi(), e.$$.dirty[0] & /*userid, session, endpoint*/
|
|
5584
|
+
117440512 && c && a && l && Fe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5585
|
+
134217729 && u && p && Ao(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5586
|
+
268435457 && h && p && No(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5587
|
+
1073741825 && m && p && Bo(p, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5588
|
+
536870912 && f && Ci();
|
|
5611
5589
|
}, [
|
|
5612
5590
|
p,
|
|
5613
5591
|
L,
|
|
5614
5592
|
w,
|
|
5615
5593
|
H,
|
|
5616
|
-
|
|
5594
|
+
B,
|
|
5617
5595
|
M,
|
|
5618
5596
|
D,
|
|
5619
5597
|
E,
|
|
@@ -5621,15 +5599,15 @@ function Xo(e, t, i) {
|
|
|
5621
5599
|
k,
|
|
5622
5600
|
J,
|
|
5623
5601
|
je,
|
|
5624
|
-
|
|
5602
|
+
$e,
|
|
5625
5603
|
r,
|
|
5626
5604
|
R,
|
|
5627
5605
|
P,
|
|
5628
|
-
|
|
5606
|
+
Ri,
|
|
5607
|
+
Ui,
|
|
5629
5608
|
Gi,
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
Zi,
|
|
5609
|
+
bt,
|
|
5610
|
+
zi,
|
|
5633
5611
|
n,
|
|
5634
5612
|
o,
|
|
5635
5613
|
s,
|
|
@@ -5640,22 +5618,22 @@ function Xo(e, t, i) {
|
|
|
5640
5618
|
h,
|
|
5641
5619
|
f,
|
|
5642
5620
|
m,
|
|
5621
|
+
Vi,
|
|
5622
|
+
Xi,
|
|
5623
|
+
Zi,
|
|
5624
|
+
Yi,
|
|
5643
5625
|
qi,
|
|
5644
|
-
Ji
|
|
5645
|
-
Qi,
|
|
5646
|
-
Ki,
|
|
5647
|
-
er,
|
|
5648
|
-
tr
|
|
5626
|
+
Ji
|
|
5649
5627
|
];
|
|
5650
5628
|
}
|
|
5651
|
-
class
|
|
5629
|
+
class Wo extends _r {
|
|
5652
5630
|
constructor(t) {
|
|
5653
|
-
super(),
|
|
5631
|
+
super(), yr(
|
|
5654
5632
|
this,
|
|
5655
5633
|
t,
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5634
|
+
zo,
|
|
5635
|
+
Go,
|
|
5636
|
+
ti,
|
|
5659
5637
|
{
|
|
5660
5638
|
lang: 21,
|
|
5661
5639
|
currency: 22,
|
|
@@ -5668,7 +5646,7 @@ class Zo extends Tr {
|
|
|
5668
5646
|
translationurl: 29,
|
|
5669
5647
|
mbsource: 30
|
|
5670
5648
|
},
|
|
5671
|
-
|
|
5649
|
+
Io,
|
|
5672
5650
|
[-1, -1]
|
|
5673
5651
|
);
|
|
5674
5652
|
}
|
|
@@ -5733,7 +5711,7 @@ class Zo extends Tr {
|
|
|
5733
5711
|
this.$$set({ mbsource: t }), V();
|
|
5734
5712
|
}
|
|
5735
5713
|
}
|
|
5736
|
-
|
|
5714
|
+
vr(Wo, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5737
5715
|
export {
|
|
5738
|
-
|
|
5716
|
+
Wo as P
|
|
5739
5717
|
};
|