@everymatrix/player-account-gaming-limits 1.65.2 → 1.65.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimits-B8dVy1dw.js → PlayerAccountGamingLimits-CqmOKdVH.js} +1622 -1657
- package/components/{PlayerAccountGamingLimits-Csz1rGwm.js → PlayerAccountGamingLimits-DCaWtkE6.js} +1428 -1463
- package/components/PlayerAccountGamingLimits-T5-mSITY.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct3UzL1l.js → PlayerAccountGamingLimitsConfirmationModal-BFdGoRdT.js} +53 -53
- package/components/PlayerAccountGamingLimitsConfirmationModal-BcmMpc4k.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BSyUmrl3.js → PlayerAccountGamingLimitsConfirmationModal-OGalQefI.js} +53 -53
- package/components/{PlayerAccountGamingLimitsGroupEdit-5CQm4ZCc.js → PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js} +395 -393
- package/components/PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-56lXVmhz.js → PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js} +395 -393
- package/components/{PlayerAccountGamingLimitsInfoCard-DJVcHz9f.js → PlayerAccountGamingLimitsInfoCard-BR08lfFb.js} +92 -92
- package/components/{PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js → PlayerAccountGamingLimitsInfoCard-BUt4LvKE.js} +91 -91
- package/components/{PlayerAccountGamingLimitsInfoCard-Fw7CHUvq.cjs → PlayerAccountGamingLimitsInfoCard-DWoR16RN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CjUttWsG.cjs → PlayerAccountGamingLimitsPopup-CLICaYT2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-ky7XPDCp.js → PlayerAccountGamingLimitsPopup-CVwe9722.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-BgSqCL5f.js → PlayerAccountGamingLimitsPopup-D9Pjzy7_.js} +26 -26
- package/components/{PlayerAccountModal-ChUAMeqV.js → PlayerAccountModal-BECvIT3d.js} +29 -29
- package/components/{PlayerAccountModal-woh_9W4B.js → PlayerAccountModal-BcLiGXkj.js} +29 -29
- package/components/{PlayerAccountModal-CfM5jG9-.cjs → PlayerAccountModal-ioLlN0au.cjs} +1 -1
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimits-BFWvpDsh.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-beH99OjB.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-C6B13sEM.cjs +0 -1
package/components/{PlayerAccountGamingLimits-Csz1rGwm.js → PlayerAccountGamingLimits-DCaWtkE6.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const wr = (e) => e;
|
|
4
|
+
function Lr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,86 +9,86 @@ function Ar(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ct(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ht() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function F(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Ct);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Se(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Rt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Tr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Gt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
|
-
for (const
|
|
33
|
-
|
|
34
|
-
return
|
|
32
|
+
for (const n of t)
|
|
33
|
+
n(void 0);
|
|
34
|
+
return M;
|
|
35
35
|
}
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.$$.on_destroy.push(
|
|
39
|
+
function Sr(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Es(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const
|
|
45
|
-
return e[0](
|
|
44
|
+
const i = Dt(e, t, r, n);
|
|
45
|
+
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] &&
|
|
48
|
+
function Dt(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
if (e[2] &&
|
|
53
|
-
const
|
|
51
|
+
function xs(e, t, r, n) {
|
|
52
|
+
if (e[2] && n) {
|
|
53
|
+
const i = e[2](n(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
55
|
-
return
|
|
56
|
-
if (typeof
|
|
57
|
-
const
|
|
58
|
-
for (let
|
|
59
|
-
o
|
|
60
|
-
return
|
|
55
|
+
return i;
|
|
56
|
+
if (typeof i == "object") {
|
|
57
|
+
const s = [], a = Math.max(t.dirty.length, i.length);
|
|
58
|
+
for (let o = 0; o < a; o += 1)
|
|
59
|
+
s[o] = t.dirty[o] | i[o];
|
|
60
|
+
return s;
|
|
61
61
|
}
|
|
62
|
-
return t.dirty |
|
|
62
|
+
return t.dirty | i;
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
68
|
-
const a =
|
|
69
|
-
e.p(a,
|
|
66
|
+
function ws(e, t, r, n, i, s) {
|
|
67
|
+
if (i) {
|
|
68
|
+
const a = Dt(t, r, n, s);
|
|
69
|
+
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Ls(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
|
-
for (let
|
|
76
|
-
t[
|
|
75
|
+
for (let n = 0; n < r; n++)
|
|
76
|
+
t[n] = -1;
|
|
77
77
|
return t;
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const Ut = typeof window < "u";
|
|
82
|
+
let Hr = Ut ? () => window.performance.now() : () => Date.now(), rt = Ut ? (e) => requestAnimationFrame(e) : M;
|
|
83
83
|
const Q = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function $t(e) {
|
|
85
85
|
Q.forEach((t) => {
|
|
86
86
|
t.c(e) || (Q.delete(t), t.f());
|
|
87
|
-
}), Q.size !== 0 &&
|
|
87
|
+
}), Q.size !== 0 && rt($t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ar(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return Q.size === 0 &&
|
|
91
|
+
return Q.size === 0 && rt($t), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
Q.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -97,17 +97,17 @@ function Ir(e) {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function L(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const
|
|
105
|
-
if (!
|
|
106
|
-
const
|
|
107
|
-
|
|
103
|
+
function Br(e, t, r) {
|
|
104
|
+
const n = nt(e);
|
|
105
|
+
if (!n.getElementById(t)) {
|
|
106
|
+
const i = O("style");
|
|
107
|
+
i.id = t, i.textContent = r, Ft(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function nt(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,24 +117,24 @@ function ut(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Pr(e) {
|
|
121
121
|
const t = O("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", Ft(nt(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
return
|
|
124
|
+
function Ft(e, t) {
|
|
125
|
+
return L(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function re(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function $(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Ts(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
@@ -144,19 +144,19 @@ function O(e) {
|
|
|
144
144
|
function V(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function le(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
150
|
function z() {
|
|
151
|
-
return
|
|
151
|
+
return le(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Ss() {
|
|
154
|
+
return le("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
return e.addEventListener(t, r,
|
|
156
|
+
function Or(e, t, r, n) {
|
|
157
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Hs(e) {
|
|
160
160
|
return function(t) {
|
|
161
161
|
return t.preventDefault(), e.call(this, t);
|
|
162
162
|
};
|
|
@@ -165,40 +165,40 @@ function H(e, t, r) {
|
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
167
|
function m(e, t, r) {
|
|
168
|
-
const
|
|
169
|
-
|
|
168
|
+
const n = t.toLowerCase();
|
|
169
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function As(e) {
|
|
172
172
|
return e === "" ? null : +e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Mr(e) {
|
|
175
175
|
return Array.from(e.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function jt(e, t) {
|
|
178
178
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
179
179
|
t);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Bs(e, t) {
|
|
182
182
|
e.value = t ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
for (let
|
|
186
|
-
const
|
|
187
|
-
if (
|
|
188
|
-
|
|
184
|
+
function Ps(e, t, r) {
|
|
185
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
186
|
+
const i = e.options[n];
|
|
187
|
+
if (i.__value === t) {
|
|
188
|
+
i.selected = !0;
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Os(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
return new CustomEvent(e, { detail: t, bubbles: r, cancelable:
|
|
198
|
+
function Ir(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
199
|
+
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Nr(e) {
|
|
202
202
|
const t = {};
|
|
203
203
|
return e.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,233 +209,233 @@ function $r(e) {
|
|
|
209
209
|
}
|
|
210
210
|
const Ee = /* @__PURE__ */ new Map();
|
|
211
211
|
let xe = 0;
|
|
212
|
-
function
|
|
212
|
+
function Cr(e) {
|
|
213
213
|
let t = 5381, r = e.length;
|
|
214
214
|
for (; r--; )
|
|
215
215
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
216
216
|
return t >>> 0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const r = { stylesheet:
|
|
218
|
+
function Rr(e, t) {
|
|
219
|
+
const r = { stylesheet: Pr(t), rules: {} };
|
|
220
220
|
return Ee.set(e, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
const u = 16.666 /
|
|
222
|
+
function ct(e, t, r, n, i, s, a, o = 0) {
|
|
223
|
+
const u = 16.666 / n;
|
|
224
224
|
let h = `{
|
|
225
225
|
`;
|
|
226
|
-
for (let
|
|
227
|
-
const
|
|
228
|
-
h +=
|
|
226
|
+
for (let p = 0; p <= 1; p += u) {
|
|
227
|
+
const _ = t + (r - t) * s(p);
|
|
228
|
+
h += p * 100 + `%{${a(_, 1 - _)}}
|
|
229
229
|
`;
|
|
230
230
|
}
|
|
231
231
|
const l = h + `100% {${a(r, 1 - r)}}
|
|
232
|
-
}`, f = `__svelte_${
|
|
233
|
-
|
|
232
|
+
}`, f = `__svelte_${Cr(l)}_${o}`, c = nt(e), { stylesheet: b, rules: d } = Ee.get(c) || Rr(c, e);
|
|
233
|
+
d[f] || (d[f] = !0, b.insertRule(`@keyframes ${f} ${l}`, b.cssRules.length));
|
|
234
234
|
const g = e.style.animation || "";
|
|
235
|
-
return e.style.animation = `${g ? `${g}, ` : ""}${f} ${
|
|
235
|
+
return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
const r = (e.style.animation || "").split(", "),
|
|
239
|
-
t ? (
|
|
237
|
+
function Gr(e, t) {
|
|
238
|
+
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
239
|
+
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
|
-
),
|
|
242
|
-
|
|
241
|
+
), i = r.length - n.length;
|
|
242
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || Dr());
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function Dr() {
|
|
245
|
+
rt(() => {
|
|
246
246
|
xe || (Ee.forEach((e) => {
|
|
247
247
|
const { ownerNode: t } = e.stylesheet;
|
|
248
|
-
t &&
|
|
248
|
+
t && $(t);
|
|
249
249
|
}), Ee.clear());
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
function
|
|
254
|
-
|
|
252
|
+
let he;
|
|
253
|
+
function ue(e) {
|
|
254
|
+
he = e;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
if (!
|
|
256
|
+
function Ur() {
|
|
257
|
+
if (!he)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
|
-
return
|
|
259
|
+
return he;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function $r(e) {
|
|
262
|
+
Ur().$$.on_mount.push(e);
|
|
263
263
|
}
|
|
264
|
-
const Z = [],
|
|
264
|
+
const Z = [], Fe = [];
|
|
265
265
|
let q = [];
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
266
|
+
const ft = [], Fr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let je = !1;
|
|
268
|
+
function jr() {
|
|
269
|
+
je || (je = !0, Fr.then(B));
|
|
270
270
|
}
|
|
271
271
|
function we(e) {
|
|
272
272
|
q.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
275
275
|
let X = 0;
|
|
276
|
-
function
|
|
276
|
+
function B() {
|
|
277
277
|
if (X !== 0)
|
|
278
278
|
return;
|
|
279
|
-
const e =
|
|
279
|
+
const e = he;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
282
|
for (; X < Z.length; ) {
|
|
283
283
|
const t = Z[X];
|
|
284
|
-
X++,
|
|
284
|
+
X++, ue(t), kr(t.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (t) {
|
|
287
287
|
throw Z.length = 0, X = 0, t;
|
|
288
288
|
}
|
|
289
|
-
for (
|
|
290
|
-
|
|
289
|
+
for (ue(null), Z.length = 0, X = 0; Fe.length; )
|
|
290
|
+
Fe.pop()();
|
|
291
291
|
for (let t = 0; t < q.length; t += 1) {
|
|
292
292
|
const r = q[t];
|
|
293
|
-
|
|
293
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
294
294
|
}
|
|
295
295
|
q.length = 0;
|
|
296
296
|
} while (Z.length);
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
for (; ft.length; )
|
|
298
|
+
ft.pop()();
|
|
299
|
+
je = !1, Ie.clear(), ue(e);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function kr(e) {
|
|
302
302
|
if (e.fragment !== null) {
|
|
303
303
|
e.update(), F(e.before_update);
|
|
304
304
|
const t = e.dirty;
|
|
305
305
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Vr(e) {
|
|
309
309
|
const t = [], r = [];
|
|
310
|
-
q.forEach((
|
|
310
|
+
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
|
311
311
|
}
|
|
312
312
|
let oe;
|
|
313
|
-
function
|
|
313
|
+
function Xr() {
|
|
314
314
|
return oe || (oe = Promise.resolve(), oe.then(() => {
|
|
315
315
|
oe = null;
|
|
316
316
|
})), oe;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
e.dispatchEvent(
|
|
318
|
+
function Ne(e, t, r) {
|
|
319
|
+
e.dispatchEvent(Ir(`${t ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const ge = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let C;
|
|
323
|
+
function Ms() {
|
|
324
|
+
C = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: C
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Is() {
|
|
332
|
+
C.r || F(C.c), C = C.p;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Wr(e, t) {
|
|
335
335
|
e && e.i && (ge.delete(e), e.i(t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Ns(e, t, r, n) {
|
|
338
338
|
if (e && e.o) {
|
|
339
339
|
if (ge.has(e))
|
|
340
340
|
return;
|
|
341
|
-
ge.add(e),
|
|
342
|
-
ge.delete(e),
|
|
341
|
+
ge.add(e), C.c.push(() => {
|
|
342
|
+
ge.delete(e), n && (r && e.d(1), n());
|
|
343
343
|
}), e.o(t);
|
|
344
344
|
} else
|
|
345
|
-
|
|
345
|
+
n && n();
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
349
|
-
let
|
|
347
|
+
const zr = { duration: 0 };
|
|
348
|
+
function Cs(e, t, r, n) {
|
|
349
|
+
let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, u = null, h = null, l;
|
|
350
350
|
function f() {
|
|
351
|
-
h &&
|
|
351
|
+
h && Gr(e, h);
|
|
352
352
|
}
|
|
353
|
-
function c(
|
|
354
|
-
const
|
|
353
|
+
function c(d, g) {
|
|
354
|
+
const p = (
|
|
355
355
|
/** @type {Program['d']} */
|
|
356
|
-
|
|
356
|
+
d.b - a
|
|
357
357
|
);
|
|
358
|
-
return g *= Math.abs(
|
|
358
|
+
return g *= Math.abs(p), {
|
|
359
359
|
a,
|
|
360
|
-
b:
|
|
361
|
-
d,
|
|
360
|
+
b: d.b,
|
|
361
|
+
d: p,
|
|
362
362
|
duration: g,
|
|
363
|
-
start:
|
|
364
|
-
end:
|
|
365
|
-
group:
|
|
363
|
+
start: d.start,
|
|
364
|
+
end: d.start + g,
|
|
365
|
+
group: d.group
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
|
-
function b(
|
|
368
|
+
function b(d) {
|
|
369
369
|
const {
|
|
370
370
|
delay: g = 0,
|
|
371
|
-
duration:
|
|
372
|
-
easing:
|
|
373
|
-
tick: T =
|
|
371
|
+
duration: p = 300,
|
|
372
|
+
easing: _ = wr,
|
|
373
|
+
tick: T = M,
|
|
374
374
|
css: S
|
|
375
|
-
} =
|
|
376
|
-
start:
|
|
377
|
-
b:
|
|
375
|
+
} = s || zr, I = {
|
|
376
|
+
start: Hr() + g,
|
|
377
|
+
b: d
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
e.inert, e.inert = !0)),
|
|
381
|
-
if (u && A > u.start && (
|
|
379
|
+
d || (I.group = C, C.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
380
|
+
e.inert, e.inert = !0)), o || u ? u = I : (S && (f(), h = ct(e, a, d, p, g, _, S)), d && T(0, 1), o = c(I, p), we(() => Ne(e, d, "start")), Ar((A) => {
|
|
381
|
+
if (u && A > u.start && (o = c(u, p), u = null, Ne(e, o.b, "start"), S && (f(), h = ct(
|
|
382
382
|
e,
|
|
383
383
|
a,
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
o.b,
|
|
385
|
+
o.duration,
|
|
386
386
|
0,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
))),
|
|
390
|
-
if (A >=
|
|
391
|
-
T(a =
|
|
392
|
-
else if (A >=
|
|
393
|
-
const
|
|
394
|
-
a =
|
|
387
|
+
_,
|
|
388
|
+
s.css
|
|
389
|
+
))), o) {
|
|
390
|
+
if (A >= o.end)
|
|
391
|
+
T(a = o.b, 1 - a), Ne(e, o.b, "end"), u || (o.b ? f() : --o.group.r || F(o.group.c)), o = null;
|
|
392
|
+
else if (A >= o.start) {
|
|
393
|
+
const N = A - o.start;
|
|
394
|
+
a = o.a + o.d * _(N / o.duration), T(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
return !!(
|
|
397
|
+
return !!(o || u);
|
|
398
398
|
}));
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
|
-
run(
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}) : b(
|
|
401
|
+
run(d) {
|
|
402
|
+
Se(s) ? Xr().then(() => {
|
|
403
|
+
s = s({ direction: d ? "in" : "out" }), b(d);
|
|
404
|
+
}) : b(d);
|
|
405
405
|
},
|
|
406
406
|
end() {
|
|
407
|
-
f(),
|
|
407
|
+
f(), o = u = null;
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Rs(e) {
|
|
412
412
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
const { fragment:
|
|
416
|
-
|
|
417
|
-
const
|
|
418
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
419
|
-
}),
|
|
414
|
+
function Zr(e, t, r) {
|
|
415
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
416
|
+
n && n.m(t, r), we(() => {
|
|
417
|
+
const s = e.$$.on_mount.map(Ct).filter(Se);
|
|
418
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : F(s), e.$$.on_mount = [];
|
|
419
|
+
}), i.forEach(we);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Qr(e, t) {
|
|
422
422
|
const r = e.$$;
|
|
423
|
-
r.fragment !== null && (
|
|
423
|
+
r.fragment !== null && (Vr(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
e.$$.dirty[0] === -1 && (Z.push(e),
|
|
425
|
+
function qr(e, t) {
|
|
426
|
+
e.$$.dirty[0] === -1 && (Z.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
const u =
|
|
430
|
-
|
|
428
|
+
function Jr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
429
|
+
const u = he;
|
|
430
|
+
ue(e);
|
|
431
431
|
const h = e.$$ = {
|
|
432
432
|
fragment: null,
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
|
-
props:
|
|
436
|
-
update:
|
|
437
|
-
not_equal:
|
|
438
|
-
bound:
|
|
435
|
+
props: s,
|
|
436
|
+
update: M,
|
|
437
|
+
not_equal: i,
|
|
438
|
+
bound: ht(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,28 +444,28 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
444
444
|
after_update: [],
|
|
445
445
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
446
446
|
// everything else
|
|
447
|
-
callbacks:
|
|
448
|
-
dirty:
|
|
447
|
+
callbacks: ht(),
|
|
448
|
+
dirty: o,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: t.target || u.$$.root
|
|
451
451
|
};
|
|
452
452
|
a && a(h.root);
|
|
453
453
|
let l = !1;
|
|
454
454
|
if (h.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
|
|
455
|
-
const
|
|
456
|
-
return h.ctx &&
|
|
457
|
-
}) : [], h.update(), l = !0, F(h.before_update), h.fragment =
|
|
455
|
+
const d = b.length ? b[0] : c;
|
|
456
|
+
return h.ctx && i(h.ctx[f], h.ctx[f] = d) && (!h.skip_bound && h.bound[f] && h.bound[f](d), l && qr(e, f)), c;
|
|
457
|
+
}) : [], h.update(), l = !0, F(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
458
458
|
if (t.hydrate) {
|
|
459
|
-
const f =
|
|
460
|
-
h.fragment && h.fragment.l(f), f.forEach(
|
|
459
|
+
const f = Mr(t.target);
|
|
460
|
+
h.fragment && h.fragment.l(f), f.forEach($);
|
|
461
461
|
} else
|
|
462
462
|
h.fragment && h.fragment.c();
|
|
463
|
-
t.intro &&
|
|
463
|
+
t.intro && Wr(e.$$.fragment), Zr(e, t.target, t.anchor), B();
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
ue(u);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let kt;
|
|
468
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -489,50 +489,50 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
489
489
|
}
|
|
490
490
|
addEventListener(e, t, r) {
|
|
491
491
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
492
|
-
const
|
|
493
|
-
this.$$l_u.set(t,
|
|
492
|
+
const n = this.$$c.$on(e, t);
|
|
493
|
+
this.$$l_u.set(t, n);
|
|
494
494
|
}
|
|
495
495
|
super.addEventListener(e, t, r);
|
|
496
496
|
}
|
|
497
497
|
removeEventListener(e, t, r) {
|
|
498
498
|
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
499
|
-
const
|
|
500
|
-
|
|
499
|
+
const n = this.$$l_u.get(t);
|
|
500
|
+
n && (n(), this.$$l_u.delete(t));
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
async connectedCallback() {
|
|
504
504
|
if (this.$$cn = !0, !this.$$c) {
|
|
505
|
-
let e = function(
|
|
505
|
+
let e = function(i) {
|
|
506
506
|
return () => {
|
|
507
|
-
let
|
|
507
|
+
let s;
|
|
508
508
|
return {
|
|
509
509
|
c: function() {
|
|
510
|
-
|
|
510
|
+
s = O("slot"), i !== "default" && H(s, "name", i);
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
513
|
* @param {HTMLElement} target
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(u, h) {
|
|
517
|
-
|
|
517
|
+
re(u, s, h);
|
|
518
518
|
},
|
|
519
519
|
d: function(u) {
|
|
520
|
-
u &&
|
|
520
|
+
u && $(s);
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
526
526
|
return;
|
|
527
|
-
const t = {}, r =
|
|
528
|
-
for (const
|
|
529
|
-
|
|
530
|
-
for (const
|
|
531
|
-
const
|
|
532
|
-
|
|
527
|
+
const t = {}, r = Nr(this);
|
|
528
|
+
for (const i of this.$$s)
|
|
529
|
+
i in r && (t[i] = [e(i)]);
|
|
530
|
+
for (const i of this.attributes) {
|
|
531
|
+
const s = this.$$g_p(i.name);
|
|
532
|
+
s in this.$$d || (this.$$d[s] = be(s, i.value, this.$$p_d, "toProp"));
|
|
533
533
|
}
|
|
534
|
-
for (const
|
|
535
|
-
!(
|
|
534
|
+
for (const i in this.$$p_d)
|
|
535
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
536
536
|
this.$$c = new this.$$ctor({
|
|
537
537
|
target: this.shadowRoot || this,
|
|
538
538
|
props: {
|
|
@@ -543,25 +543,25 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
|
-
const
|
|
546
|
+
const n = () => {
|
|
547
547
|
this.$$r = !0;
|
|
548
|
-
for (const
|
|
549
|
-
if (this.$$d[
|
|
550
|
-
const
|
|
551
|
-
|
|
552
|
-
this.$$d[
|
|
548
|
+
for (const i in this.$$p_d)
|
|
549
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
550
|
+
const s = be(
|
|
551
|
+
i,
|
|
552
|
+
this.$$d[i],
|
|
553
553
|
this.$$p_d,
|
|
554
554
|
"toAttribute"
|
|
555
555
|
);
|
|
556
|
-
|
|
556
|
+
s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
|
|
557
557
|
}
|
|
558
558
|
this.$$r = !1;
|
|
559
559
|
};
|
|
560
|
-
this.$$c.$$.after_update.push(
|
|
561
|
-
for (const
|
|
562
|
-
for (const
|
|
563
|
-
const a = this.$$c.$on(
|
|
564
|
-
this.$$l_u.set(
|
|
560
|
+
this.$$c.$$.after_update.push(n), n();
|
|
561
|
+
for (const i in this.$$l)
|
|
562
|
+
for (const s of this.$$l[i]) {
|
|
563
|
+
const a = this.$$c.$on(i, s);
|
|
564
|
+
this.$$l_u.set(s, a);
|
|
565
565
|
}
|
|
566
566
|
this.$$l = {};
|
|
567
567
|
}
|
|
@@ -582,12 +582,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
582
582
|
) || e;
|
|
583
583
|
}
|
|
584
584
|
});
|
|
585
|
-
function be(e, t, r,
|
|
586
|
-
const
|
|
587
|
-
if (t =
|
|
585
|
+
function be(e, t, r, n) {
|
|
586
|
+
const i = r[e]?.type;
|
|
587
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
588
588
|
return t;
|
|
589
|
-
if (
|
|
590
|
-
switch (
|
|
589
|
+
if (n === "toAttribute")
|
|
590
|
+
switch (i) {
|
|
591
591
|
case "Object":
|
|
592
592
|
case "Array":
|
|
593
593
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -599,7 +599,7 @@ function be(e, t, r, i) {
|
|
|
599
599
|
return t;
|
|
600
600
|
}
|
|
601
601
|
else
|
|
602
|
-
switch (
|
|
602
|
+
switch (i) {
|
|
603
603
|
case "Object":
|
|
604
604
|
case "Array":
|
|
605
605
|
return t && JSON.parse(t);
|
|
@@ -611,36 +611,36 @@ function be(e, t, r, i) {
|
|
|
611
611
|
return t;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
let a = class extends
|
|
614
|
+
function Yr(e, t, r, n, i, s) {
|
|
615
|
+
let a = class extends kt {
|
|
616
616
|
constructor() {
|
|
617
|
-
super(e, r,
|
|
617
|
+
super(e, r, i), this.$$p_d = t;
|
|
618
618
|
}
|
|
619
619
|
static get observedAttributes() {
|
|
620
620
|
return Object.keys(t).map(
|
|
621
|
-
(
|
|
621
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
622
622
|
);
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
|
-
return Object.keys(t).forEach((
|
|
626
|
-
Object.defineProperty(a.prototype,
|
|
625
|
+
return Object.keys(t).forEach((o) => {
|
|
626
|
+
Object.defineProperty(a.prototype, o, {
|
|
627
627
|
get() {
|
|
628
|
-
return this.$$c &&
|
|
628
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
629
629
|
},
|
|
630
630
|
set(u) {
|
|
631
|
-
u = be(
|
|
631
|
+
u = be(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
|
-
}),
|
|
635
|
-
Object.defineProperty(a.prototype,
|
|
634
|
+
}), n.forEach((o) => {
|
|
635
|
+
Object.defineProperty(a.prototype, o, {
|
|
636
636
|
get() {
|
|
637
|
-
return this.$$c?.[
|
|
637
|
+
return this.$$c?.[o];
|
|
638
638
|
}
|
|
639
639
|
});
|
|
640
640
|
}), e.element = /** @type {any} */
|
|
641
641
|
a, a;
|
|
642
642
|
}
|
|
643
|
-
class
|
|
643
|
+
class Kr {
|
|
644
644
|
/**
|
|
645
645
|
* ### PRIVATE API
|
|
646
646
|
*
|
|
@@ -659,7 +659,7 @@ class ii {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
|
|
662
|
+
Qr(this, 1), this.$destroy = M;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -668,12 +668,12 @@ class ii {
|
|
|
668
668
|
* @returns {() => void}
|
|
669
669
|
*/
|
|
670
670
|
$on(t, r) {
|
|
671
|
-
if (!
|
|
672
|
-
return
|
|
673
|
-
const
|
|
674
|
-
return
|
|
675
|
-
const
|
|
676
|
-
|
|
671
|
+
if (!Se(r))
|
|
672
|
+
return M;
|
|
673
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
674
|
+
return n.push(r), () => {
|
|
675
|
+
const i = n.indexOf(r);
|
|
676
|
+
i !== -1 && n.splice(i, 1);
|
|
677
677
|
};
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
@@ -681,11 +681,11 @@ class ii {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(t) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
687
|
+
const en = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
|
|
689
689
|
/*! *****************************************************************************
|
|
690
690
|
Copyright (c) Microsoft Corporation.
|
|
691
691
|
|
|
@@ -700,98 +700,117 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
700
700
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
701
701
|
PERFORMANCE OF THIS SOFTWARE.
|
|
702
702
|
***************************************************************************** */
|
|
703
|
-
var
|
|
704
|
-
return
|
|
705
|
-
r.__proto__ =
|
|
706
|
-
} || function(r,
|
|
707
|
-
for (var
|
|
708
|
-
Object.prototype.hasOwnProperty.call(
|
|
709
|
-
},
|
|
703
|
+
var ke = function(e, t) {
|
|
704
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
705
|
+
r.__proto__ = n;
|
|
706
|
+
} || function(r, n) {
|
|
707
|
+
for (var i in n)
|
|
708
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
709
|
+
}, ke(e, t);
|
|
710
710
|
};
|
|
711
|
-
function
|
|
711
|
+
function G(e, t) {
|
|
712
712
|
if (typeof t != "function" && t !== null)
|
|
713
713
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
714
|
-
|
|
714
|
+
ke(e, t);
|
|
715
715
|
function r() {
|
|
716
716
|
this.constructor = e;
|
|
717
717
|
}
|
|
718
718
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
|
|
720
|
+
var x = function() {
|
|
721
|
+
return x = Object.assign || function(t) {
|
|
722
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
723
|
+
r = arguments[n];
|
|
724
|
+
for (var s in r)
|
|
725
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
726
|
+
}
|
|
727
|
+
return t;
|
|
728
|
+
}, x.apply(this, arguments);
|
|
729
|
+
};
|
|
730
|
+
function tn(e, t) {
|
|
731
|
+
var r = {};
|
|
732
|
+
for (var n in e)
|
|
733
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
734
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
735
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
736
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
737
|
+
return r;
|
|
738
|
+
}
|
|
739
|
+
function Ve(e) {
|
|
740
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
722
741
|
if (r)
|
|
723
742
|
return r.call(e);
|
|
724
743
|
if (e && typeof e.length == "number")
|
|
725
744
|
return {
|
|
726
745
|
next: function() {
|
|
727
|
-
return e &&
|
|
746
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
728
747
|
}
|
|
729
748
|
};
|
|
730
749
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
731
750
|
}
|
|
732
|
-
function
|
|
751
|
+
function Xe(e, t) {
|
|
733
752
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
734
753
|
if (!r)
|
|
735
754
|
return e;
|
|
736
|
-
var
|
|
755
|
+
var n = r.call(e), i, s = [], a;
|
|
737
756
|
try {
|
|
738
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
739
|
-
|
|
740
|
-
} catch (
|
|
741
|
-
a = { error:
|
|
757
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
758
|
+
s.push(i.value);
|
|
759
|
+
} catch (o) {
|
|
760
|
+
a = { error: o };
|
|
742
761
|
} finally {
|
|
743
762
|
try {
|
|
744
|
-
|
|
763
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
745
764
|
} finally {
|
|
746
765
|
if (a)
|
|
747
766
|
throw a.error;
|
|
748
767
|
}
|
|
749
768
|
}
|
|
750
|
-
return
|
|
769
|
+
return s;
|
|
751
770
|
}
|
|
752
|
-
function
|
|
753
|
-
if (arguments.length === 2)
|
|
754
|
-
for (var
|
|
755
|
-
(
|
|
756
|
-
return e.concat(
|
|
771
|
+
function J(e, t, r) {
|
|
772
|
+
if (r || arguments.length === 2)
|
|
773
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
774
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
775
|
+
return e.concat(s || t);
|
|
757
776
|
}
|
|
758
|
-
function
|
|
777
|
+
function R(e) {
|
|
759
778
|
return typeof e == "function";
|
|
760
779
|
}
|
|
761
|
-
function
|
|
762
|
-
var t = function(
|
|
763
|
-
Error.call(
|
|
780
|
+
function Vt(e) {
|
|
781
|
+
var t = function(n) {
|
|
782
|
+
Error.call(n), n.stack = new Error().stack;
|
|
764
783
|
}, r = e(t);
|
|
765
784
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
766
785
|
}
|
|
767
|
-
var
|
|
786
|
+
var Ce = Vt(function(e) {
|
|
768
787
|
return function(r) {
|
|
769
788
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
770
|
-
` + r.map(function(
|
|
771
|
-
return
|
|
789
|
+
` + r.map(function(n, i) {
|
|
790
|
+
return i + 1 + ") " + n.toString();
|
|
772
791
|
}).join(`
|
|
773
792
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
774
793
|
};
|
|
775
794
|
});
|
|
776
|
-
function
|
|
795
|
+
function We(e, t) {
|
|
777
796
|
if (e) {
|
|
778
797
|
var r = e.indexOf(t);
|
|
779
798
|
0 <= r && e.splice(r, 1);
|
|
780
799
|
}
|
|
781
800
|
}
|
|
782
|
-
var
|
|
801
|
+
var He = function() {
|
|
783
802
|
function e(t) {
|
|
784
803
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
785
804
|
}
|
|
786
805
|
return e.prototype.unsubscribe = function() {
|
|
787
|
-
var t, r,
|
|
806
|
+
var t, r, n, i, s;
|
|
788
807
|
if (!this.closed) {
|
|
789
808
|
this.closed = !0;
|
|
790
809
|
var a = this._parentage;
|
|
791
810
|
if (a)
|
|
792
811
|
if (this._parentage = null, Array.isArray(a))
|
|
793
812
|
try {
|
|
794
|
-
for (var
|
|
813
|
+
for (var o = Ve(a), u = o.next(); !u.done; u = o.next()) {
|
|
795
814
|
var h = u.value;
|
|
796
815
|
h.remove(this);
|
|
797
816
|
}
|
|
@@ -799,7 +818,7 @@ var Ae = function() {
|
|
|
799
818
|
t = { error: g };
|
|
800
819
|
} finally {
|
|
801
820
|
try {
|
|
802
|
-
u && !u.done && (r =
|
|
821
|
+
u && !u.done && (r = o.return) && r.call(o);
|
|
803
822
|
} finally {
|
|
804
823
|
if (t)
|
|
805
824
|
throw t.error;
|
|
@@ -808,43 +827,43 @@ var Ae = function() {
|
|
|
808
827
|
else
|
|
809
828
|
a.remove(this);
|
|
810
829
|
var l = this.initialTeardown;
|
|
811
|
-
if (
|
|
830
|
+
if (R(l))
|
|
812
831
|
try {
|
|
813
832
|
l();
|
|
814
833
|
} catch (g) {
|
|
815
|
-
|
|
834
|
+
s = g instanceof Ce ? g.errors : [g];
|
|
816
835
|
}
|
|
817
836
|
var f = this._finalizers;
|
|
818
837
|
if (f) {
|
|
819
838
|
this._finalizers = null;
|
|
820
839
|
try {
|
|
821
|
-
for (var c =
|
|
822
|
-
var
|
|
840
|
+
for (var c = Ve(f), b = c.next(); !b.done; b = c.next()) {
|
|
841
|
+
var d = b.value;
|
|
823
842
|
try {
|
|
824
|
-
|
|
843
|
+
mt(d);
|
|
825
844
|
} catch (g) {
|
|
826
|
-
|
|
845
|
+
s = s ?? [], g instanceof Ce ? s = J(J([], Xe(s)), Xe(g.errors)) : s.push(g);
|
|
827
846
|
}
|
|
828
847
|
}
|
|
829
848
|
} catch (g) {
|
|
830
|
-
|
|
849
|
+
n = { error: g };
|
|
831
850
|
} finally {
|
|
832
851
|
try {
|
|
833
|
-
b && !b.done && (
|
|
852
|
+
b && !b.done && (i = c.return) && i.call(c);
|
|
834
853
|
} finally {
|
|
835
|
-
if (
|
|
836
|
-
throw
|
|
854
|
+
if (n)
|
|
855
|
+
throw n.error;
|
|
837
856
|
}
|
|
838
857
|
}
|
|
839
858
|
}
|
|
840
|
-
if (
|
|
841
|
-
throw new
|
|
859
|
+
if (s)
|
|
860
|
+
throw new Ce(s);
|
|
842
861
|
}
|
|
843
862
|
}, e.prototype.add = function(t) {
|
|
844
863
|
var r;
|
|
845
864
|
if (t && t !== this)
|
|
846
865
|
if (this.closed)
|
|
847
|
-
|
|
866
|
+
mt(t);
|
|
848
867
|
else {
|
|
849
868
|
if (t instanceof e) {
|
|
850
869
|
if (t.closed || t._hasParent(this))
|
|
@@ -861,52 +880,56 @@ var Ae = function() {
|
|
|
861
880
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
862
881
|
}, e.prototype._removeParent = function(t) {
|
|
863
882
|
var r = this._parentage;
|
|
864
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
883
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
865
884
|
}, e.prototype.remove = function(t) {
|
|
866
885
|
var r = this._finalizers;
|
|
867
|
-
r &&
|
|
886
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
868
887
|
}, e.EMPTY = function() {
|
|
869
888
|
var t = new e();
|
|
870
889
|
return t.closed = !0, t;
|
|
871
890
|
}(), e;
|
|
872
|
-
}(),
|
|
873
|
-
function
|
|
874
|
-
return e instanceof
|
|
875
|
-
}
|
|
876
|
-
function
|
|
877
|
-
|
|
878
|
-
}
|
|
879
|
-
var
|
|
880
|
-
|
|
881
|
-
|
|
891
|
+
}(), Xt = He.EMPTY;
|
|
892
|
+
function Wt(e) {
|
|
893
|
+
return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
894
|
+
}
|
|
895
|
+
function mt(e) {
|
|
896
|
+
R(e) ? e() : e.unsubscribe();
|
|
897
|
+
}
|
|
898
|
+
var rn = {
|
|
899
|
+
onUnhandledError: null,
|
|
900
|
+
onStoppedNotification: null,
|
|
901
|
+
Promise: void 0,
|
|
902
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
903
|
+
useDeprecatedNextContext: !1
|
|
904
|
+
}, nn = {
|
|
882
905
|
setTimeout: function(e, t) {
|
|
883
|
-
for (var r = [],
|
|
884
|
-
r[
|
|
885
|
-
return setTimeout.apply(void 0,
|
|
906
|
+
for (var r = [], n = 2; n < arguments.length; n++)
|
|
907
|
+
r[n - 2] = arguments[n];
|
|
908
|
+
return setTimeout.apply(void 0, J([e, t], Xe(r)));
|
|
886
909
|
},
|
|
887
910
|
clearTimeout: function(e) {
|
|
888
911
|
return clearTimeout(e);
|
|
889
912
|
},
|
|
890
913
|
delegate: void 0
|
|
891
914
|
};
|
|
892
|
-
function
|
|
893
|
-
|
|
915
|
+
function sn(e) {
|
|
916
|
+
nn.setTimeout(function() {
|
|
894
917
|
throw e;
|
|
895
918
|
});
|
|
896
919
|
}
|
|
897
|
-
function
|
|
920
|
+
function dt() {
|
|
898
921
|
}
|
|
899
922
|
function ye(e) {
|
|
900
923
|
e();
|
|
901
924
|
}
|
|
902
|
-
var
|
|
903
|
-
|
|
925
|
+
var zt = function(e) {
|
|
926
|
+
G(t, e);
|
|
904
927
|
function t(r) {
|
|
905
|
-
var
|
|
906
|
-
return
|
|
928
|
+
var n = e.call(this) || this;
|
|
929
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = un, n;
|
|
907
930
|
}
|
|
908
|
-
return t.create = function(r,
|
|
909
|
-
return new
|
|
931
|
+
return t.create = function(r, n, i) {
|
|
932
|
+
return new ze(r, n, i);
|
|
910
933
|
}, t.prototype.next = function(r) {
|
|
911
934
|
this.isStopped || this._next(r);
|
|
912
935
|
}, t.prototype.error = function(r) {
|
|
@@ -930,7 +953,7 @@ var Jt = function(e) {
|
|
|
930
953
|
this.unsubscribe();
|
|
931
954
|
}
|
|
932
955
|
}, t;
|
|
933
|
-
}(
|
|
956
|
+
}(He), on = function() {
|
|
934
957
|
function e(t) {
|
|
935
958
|
this.partialObserver = t;
|
|
936
959
|
}
|
|
@@ -939,77 +962,77 @@ var Jt = function(e) {
|
|
|
939
962
|
if (r.next)
|
|
940
963
|
try {
|
|
941
964
|
r.next(t);
|
|
942
|
-
} catch (
|
|
943
|
-
|
|
965
|
+
} catch (n) {
|
|
966
|
+
de(n);
|
|
944
967
|
}
|
|
945
968
|
}, e.prototype.error = function(t) {
|
|
946
969
|
var r = this.partialObserver;
|
|
947
970
|
if (r.error)
|
|
948
971
|
try {
|
|
949
972
|
r.error(t);
|
|
950
|
-
} catch (
|
|
951
|
-
|
|
973
|
+
} catch (n) {
|
|
974
|
+
de(n);
|
|
952
975
|
}
|
|
953
976
|
else
|
|
954
|
-
|
|
977
|
+
de(t);
|
|
955
978
|
}, e.prototype.complete = function() {
|
|
956
979
|
var t = this.partialObserver;
|
|
957
980
|
if (t.complete)
|
|
958
981
|
try {
|
|
959
982
|
t.complete();
|
|
960
983
|
} catch (r) {
|
|
961
|
-
|
|
984
|
+
de(r);
|
|
962
985
|
}
|
|
963
986
|
}, e;
|
|
964
|
-
}(),
|
|
965
|
-
|
|
966
|
-
function t(r,
|
|
967
|
-
var
|
|
968
|
-
return
|
|
987
|
+
}(), ze = function(e) {
|
|
988
|
+
G(t, e);
|
|
989
|
+
function t(r, n, i) {
|
|
990
|
+
var s = e.call(this) || this, a;
|
|
991
|
+
return R(r) || !r ? a = {
|
|
969
992
|
next: r ?? void 0,
|
|
970
|
-
error:
|
|
971
|
-
complete:
|
|
972
|
-
} : a = r,
|
|
993
|
+
error: n ?? void 0,
|
|
994
|
+
complete: i ?? void 0
|
|
995
|
+
} : a = r, s.destination = new on(a), s;
|
|
973
996
|
}
|
|
974
997
|
return t;
|
|
975
|
-
}(
|
|
976
|
-
function
|
|
977
|
-
|
|
998
|
+
}(zt);
|
|
999
|
+
function de(e) {
|
|
1000
|
+
sn(e);
|
|
978
1001
|
}
|
|
979
|
-
function
|
|
1002
|
+
function an(e) {
|
|
980
1003
|
throw e;
|
|
981
1004
|
}
|
|
982
|
-
var
|
|
1005
|
+
var un = {
|
|
983
1006
|
closed: !0,
|
|
984
|
-
next:
|
|
985
|
-
error:
|
|
986
|
-
complete:
|
|
987
|
-
},
|
|
1007
|
+
next: dt,
|
|
1008
|
+
error: an,
|
|
1009
|
+
complete: dt
|
|
1010
|
+
}, ln = function() {
|
|
988
1011
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
989
1012
|
}();
|
|
990
|
-
function
|
|
1013
|
+
function hn(e) {
|
|
991
1014
|
return e;
|
|
992
1015
|
}
|
|
993
|
-
function
|
|
994
|
-
return e.length === 0 ?
|
|
995
|
-
return e.reduce(function(
|
|
996
|
-
return n
|
|
1016
|
+
function cn(e) {
|
|
1017
|
+
return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
|
|
1018
|
+
return e.reduce(function(n, i) {
|
|
1019
|
+
return i(n);
|
|
997
1020
|
}, r);
|
|
998
1021
|
};
|
|
999
1022
|
}
|
|
1000
|
-
var
|
|
1023
|
+
var pt = function() {
|
|
1001
1024
|
function e(t) {
|
|
1002
1025
|
t && (this._subscribe = t);
|
|
1003
1026
|
}
|
|
1004
1027
|
return e.prototype.lift = function(t) {
|
|
1005
1028
|
var r = new e();
|
|
1006
1029
|
return r.source = this, r.operator = t, r;
|
|
1007
|
-
}, e.prototype.subscribe = function(t, r,
|
|
1008
|
-
var
|
|
1030
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
1031
|
+
var i = this, s = mn(t) ? t : new ze(t, r, n);
|
|
1009
1032
|
return ye(function() {
|
|
1010
|
-
var a =
|
|
1011
|
-
|
|
1012
|
-
}),
|
|
1033
|
+
var a = i, o = a.operator, u = a.source;
|
|
1034
|
+
s.add(o ? o.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
|
|
1035
|
+
}), s;
|
|
1013
1036
|
}, e.prototype._trySubscribe = function(t) {
|
|
1014
1037
|
try {
|
|
1015
1038
|
return this._subscribe(t);
|
|
@@ -1017,102 +1040,102 @@ var vt = function() {
|
|
|
1017
1040
|
t.error(r);
|
|
1018
1041
|
}
|
|
1019
1042
|
}, e.prototype.forEach = function(t, r) {
|
|
1020
|
-
var
|
|
1021
|
-
return r =
|
|
1022
|
-
var a = new
|
|
1023
|
-
next: function(
|
|
1043
|
+
var n = this;
|
|
1044
|
+
return r = gt(r), new r(function(i, s) {
|
|
1045
|
+
var a = new ze({
|
|
1046
|
+
next: function(o) {
|
|
1024
1047
|
try {
|
|
1025
|
-
t(
|
|
1048
|
+
t(o);
|
|
1026
1049
|
} catch (u) {
|
|
1027
|
-
|
|
1050
|
+
s(u), a.unsubscribe();
|
|
1028
1051
|
}
|
|
1029
1052
|
},
|
|
1030
|
-
error:
|
|
1031
|
-
complete:
|
|
1053
|
+
error: s,
|
|
1054
|
+
complete: i
|
|
1032
1055
|
});
|
|
1033
|
-
|
|
1056
|
+
n.subscribe(a);
|
|
1034
1057
|
});
|
|
1035
1058
|
}, e.prototype._subscribe = function(t) {
|
|
1036
1059
|
var r;
|
|
1037
1060
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1038
|
-
}, e.prototype[
|
|
1061
|
+
}, e.prototype[ln] = function() {
|
|
1039
1062
|
return this;
|
|
1040
1063
|
}, e.prototype.pipe = function() {
|
|
1041
1064
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1042
1065
|
t[r] = arguments[r];
|
|
1043
|
-
return
|
|
1066
|
+
return cn(t)(this);
|
|
1044
1067
|
}, e.prototype.toPromise = function(t) {
|
|
1045
1068
|
var r = this;
|
|
1046
|
-
return t =
|
|
1047
|
-
var
|
|
1069
|
+
return t = gt(t), new t(function(n, i) {
|
|
1070
|
+
var s;
|
|
1048
1071
|
r.subscribe(function(a) {
|
|
1049
|
-
return
|
|
1072
|
+
return s = a;
|
|
1050
1073
|
}, function(a) {
|
|
1051
|
-
return
|
|
1074
|
+
return i(a);
|
|
1052
1075
|
}, function() {
|
|
1053
|
-
return
|
|
1076
|
+
return n(s);
|
|
1054
1077
|
});
|
|
1055
1078
|
});
|
|
1056
1079
|
}, e.create = function(t) {
|
|
1057
1080
|
return new e(t);
|
|
1058
1081
|
}, e;
|
|
1059
1082
|
}();
|
|
1060
|
-
function
|
|
1083
|
+
function gt(e) {
|
|
1061
1084
|
var t;
|
|
1062
|
-
return (t = e ??
|
|
1085
|
+
return (t = e ?? rn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1063
1086
|
}
|
|
1064
|
-
function
|
|
1065
|
-
return e &&
|
|
1087
|
+
function fn(e) {
|
|
1088
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1066
1089
|
}
|
|
1067
|
-
function
|
|
1068
|
-
return e && e instanceof
|
|
1090
|
+
function mn(e) {
|
|
1091
|
+
return e && e instanceof zt || fn(e) && Wt(e);
|
|
1069
1092
|
}
|
|
1070
|
-
var
|
|
1093
|
+
var dn = Vt(function(e) {
|
|
1071
1094
|
return function() {
|
|
1072
1095
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1073
1096
|
};
|
|
1074
|
-
}),
|
|
1075
|
-
|
|
1097
|
+
}), Zt = function(e) {
|
|
1098
|
+
G(t, e);
|
|
1076
1099
|
function t() {
|
|
1077
1100
|
var r = e.call(this) || this;
|
|
1078
1101
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1079
1102
|
}
|
|
1080
1103
|
return t.prototype.lift = function(r) {
|
|
1081
|
-
var
|
|
1082
|
-
return
|
|
1104
|
+
var n = new bt(this, this);
|
|
1105
|
+
return n.operator = r, n;
|
|
1083
1106
|
}, t.prototype._throwIfClosed = function() {
|
|
1084
1107
|
if (this.closed)
|
|
1085
|
-
throw new
|
|
1108
|
+
throw new dn();
|
|
1086
1109
|
}, t.prototype.next = function(r) {
|
|
1087
|
-
var
|
|
1110
|
+
var n = this;
|
|
1088
1111
|
ye(function() {
|
|
1089
|
-
var
|
|
1090
|
-
if (
|
|
1091
|
-
|
|
1112
|
+
var i, s;
|
|
1113
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1114
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1092
1115
|
try {
|
|
1093
|
-
for (var a =
|
|
1094
|
-
var u =
|
|
1116
|
+
for (var a = Ve(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
|
|
1117
|
+
var u = o.value;
|
|
1095
1118
|
u.next(r);
|
|
1096
1119
|
}
|
|
1097
1120
|
} catch (h) {
|
|
1098
|
-
|
|
1121
|
+
i = { error: h };
|
|
1099
1122
|
} finally {
|
|
1100
1123
|
try {
|
|
1101
|
-
|
|
1124
|
+
o && !o.done && (s = a.return) && s.call(a);
|
|
1102
1125
|
} finally {
|
|
1103
|
-
if (
|
|
1104
|
-
throw
|
|
1126
|
+
if (i)
|
|
1127
|
+
throw i.error;
|
|
1105
1128
|
}
|
|
1106
1129
|
}
|
|
1107
1130
|
}
|
|
1108
1131
|
});
|
|
1109
1132
|
}, t.prototype.error = function(r) {
|
|
1110
|
-
var
|
|
1133
|
+
var n = this;
|
|
1111
1134
|
ye(function() {
|
|
1112
|
-
if (
|
|
1113
|
-
|
|
1114
|
-
for (var
|
|
1115
|
-
|
|
1135
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1136
|
+
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1137
|
+
for (var i = n.observers; i.length; )
|
|
1138
|
+
i.shift().error(r);
|
|
1116
1139
|
}
|
|
1117
1140
|
});
|
|
1118
1141
|
}, t.prototype.complete = function() {
|
|
@@ -1120,8 +1143,8 @@ var gi = Zt(function(e) {
|
|
|
1120
1143
|
ye(function() {
|
|
1121
1144
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1122
1145
|
r.isStopped = !0;
|
|
1123
|
-
for (var
|
|
1124
|
-
|
|
1146
|
+
for (var n = r.observers; n.length; )
|
|
1147
|
+
n.shift().complete();
|
|
1125
1148
|
}
|
|
1126
1149
|
});
|
|
1127
1150
|
}, t.prototype.unsubscribe = function() {
|
|
@@ -1138,86 +1161,86 @@ var gi = Zt(function(e) {
|
|
|
1138
1161
|
}, t.prototype._subscribe = function(r) {
|
|
1139
1162
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1140
1163
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1141
|
-
var
|
|
1142
|
-
return
|
|
1143
|
-
|
|
1164
|
+
var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
|
|
1165
|
+
return s || a ? Xt : (this.currentObservers = null, o.push(r), new He(function() {
|
|
1166
|
+
n.currentObservers = null, We(o, r);
|
|
1144
1167
|
}));
|
|
1145
1168
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1146
|
-
var
|
|
1147
|
-
|
|
1169
|
+
var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
|
|
1170
|
+
i ? r.error(s) : a && r.complete();
|
|
1148
1171
|
}, t.prototype.asObservable = function() {
|
|
1149
|
-
var r = new
|
|
1172
|
+
var r = new pt();
|
|
1150
1173
|
return r.source = this, r;
|
|
1151
|
-
}, t.create = function(r,
|
|
1152
|
-
return new
|
|
1174
|
+
}, t.create = function(r, n) {
|
|
1175
|
+
return new bt(r, n);
|
|
1153
1176
|
}, t;
|
|
1154
|
-
}(
|
|
1155
|
-
|
|
1156
|
-
function t(r,
|
|
1157
|
-
var
|
|
1158
|
-
return
|
|
1177
|
+
}(pt), bt = function(e) {
|
|
1178
|
+
G(t, e);
|
|
1179
|
+
function t(r, n) {
|
|
1180
|
+
var i = e.call(this) || this;
|
|
1181
|
+
return i.destination = r, i.source = n, i;
|
|
1159
1182
|
}
|
|
1160
1183
|
return t.prototype.next = function(r) {
|
|
1161
|
-
var
|
|
1162
|
-
(
|
|
1184
|
+
var n, i;
|
|
1185
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
1163
1186
|
}, t.prototype.error = function(r) {
|
|
1164
|
-
var
|
|
1165
|
-
(
|
|
1187
|
+
var n, i;
|
|
1188
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
1166
1189
|
}, t.prototype.complete = function() {
|
|
1167
|
-
var r,
|
|
1168
|
-
(
|
|
1190
|
+
var r, n;
|
|
1191
|
+
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1169
1192
|
}, t.prototype._subscribe = function(r) {
|
|
1170
|
-
var
|
|
1171
|
-
return (
|
|
1193
|
+
var n, i;
|
|
1194
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
|
1172
1195
|
}, t;
|
|
1173
|
-
}(
|
|
1196
|
+
}(Zt), Qt = {
|
|
1174
1197
|
now: function() {
|
|
1175
|
-
return (
|
|
1198
|
+
return (Qt.delegate || Date).now();
|
|
1176
1199
|
},
|
|
1177
1200
|
delegate: void 0
|
|
1178
|
-
},
|
|
1179
|
-
|
|
1180
|
-
function t(r,
|
|
1181
|
-
r === void 0 && (r = 1 / 0),
|
|
1182
|
-
var
|
|
1183
|
-
return
|
|
1201
|
+
}, pn = function(e) {
|
|
1202
|
+
G(t, e);
|
|
1203
|
+
function t(r, n, i) {
|
|
1204
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
|
|
1205
|
+
var s = e.call(this) || this;
|
|
1206
|
+
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1184
1207
|
}
|
|
1185
1208
|
return t.prototype.next = function(r) {
|
|
1186
|
-
var
|
|
1187
|
-
|
|
1209
|
+
var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, u = n._windowTime;
|
|
1210
|
+
i || (s.push(r), !a && s.push(o.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1188
1211
|
}, t.prototype._subscribe = function(r) {
|
|
1189
1212
|
this._throwIfClosed(), this._trimBuffer();
|
|
1190
|
-
for (var
|
|
1191
|
-
r.next(
|
|
1192
|
-
return this._checkFinalizedStatuses(r),
|
|
1213
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), u = 0; u < o.length && !r.closed; u += s ? 1 : 2)
|
|
1214
|
+
r.next(o[u]);
|
|
1215
|
+
return this._checkFinalizedStatuses(r), n;
|
|
1193
1216
|
}, t.prototype._trimBuffer = function() {
|
|
1194
|
-
var r = this,
|
|
1195
|
-
if (
|
|
1196
|
-
for (var u =
|
|
1217
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
|
|
1218
|
+
if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
|
|
1219
|
+
for (var u = i.now(), h = 0, l = 1; l < s.length && s[l] <= u; l += 2)
|
|
1197
1220
|
h = l;
|
|
1198
|
-
h &&
|
|
1221
|
+
h && s.splice(0, h + 1);
|
|
1199
1222
|
}
|
|
1200
1223
|
}, t;
|
|
1201
|
-
}(
|
|
1202
|
-
const
|
|
1203
|
-
if (
|
|
1204
|
-
const r = new
|
|
1205
|
-
|
|
1224
|
+
}(Zt);
|
|
1225
|
+
const yt = [], _t = {}, gn = (e, t = 0) => {
|
|
1226
|
+
if (yt.indexOf(e) == -1) {
|
|
1227
|
+
const r = new pn(t);
|
|
1228
|
+
_t[e] = r, yt.push(e);
|
|
1206
1229
|
}
|
|
1207
|
-
return
|
|
1230
|
+
return _t[e];
|
|
1208
1231
|
}, W = [];
|
|
1209
|
-
function
|
|
1232
|
+
function bn(e, t) {
|
|
1210
1233
|
return {
|
|
1211
|
-
subscribe:
|
|
1234
|
+
subscribe: Ae(e, t).subscribe
|
|
1212
1235
|
};
|
|
1213
1236
|
}
|
|
1214
|
-
function
|
|
1237
|
+
function Ae(e, t = M) {
|
|
1215
1238
|
let r;
|
|
1216
|
-
const
|
|
1217
|
-
function
|
|
1218
|
-
if (
|
|
1239
|
+
const n = /* @__PURE__ */ new Set();
|
|
1240
|
+
function i(o) {
|
|
1241
|
+
if (Rt(e, o) && (e = o, r)) {
|
|
1219
1242
|
const u = !W.length;
|
|
1220
|
-
for (const h of
|
|
1243
|
+
for (const h of n)
|
|
1221
1244
|
h[1](), W.push(h, e);
|
|
1222
1245
|
if (u) {
|
|
1223
1246
|
for (let h = 0; h < W.length; h += 2)
|
|
@@ -1226,37 +1249,37 @@ function Pe(e, t = I) {
|
|
|
1226
1249
|
}
|
|
1227
1250
|
}
|
|
1228
1251
|
}
|
|
1229
|
-
function o
|
|
1230
|
-
|
|
1252
|
+
function s(o) {
|
|
1253
|
+
i(o(e));
|
|
1231
1254
|
}
|
|
1232
|
-
function a(
|
|
1233
|
-
const h = [
|
|
1234
|
-
return
|
|
1235
|
-
|
|
1255
|
+
function a(o, u = M) {
|
|
1256
|
+
const h = [o, u];
|
|
1257
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || M), o(e), () => {
|
|
1258
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1236
1259
|
};
|
|
1237
1260
|
}
|
|
1238
|
-
return { set:
|
|
1261
|
+
return { set: i, update: s, subscribe: a };
|
|
1239
1262
|
}
|
|
1240
|
-
function
|
|
1241
|
-
const
|
|
1242
|
-
if (!
|
|
1263
|
+
function ne(e, t, r) {
|
|
1264
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1265
|
+
if (!i.every(Boolean))
|
|
1243
1266
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1244
|
-
const
|
|
1245
|
-
return
|
|
1267
|
+
const s = t.length < 2;
|
|
1268
|
+
return bn(r, (a, o) => {
|
|
1246
1269
|
let u = !1;
|
|
1247
1270
|
const h = [];
|
|
1248
|
-
let l = 0, f =
|
|
1271
|
+
let l = 0, f = M;
|
|
1249
1272
|
const c = () => {
|
|
1250
1273
|
if (l)
|
|
1251
1274
|
return;
|
|
1252
1275
|
f();
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1255
|
-
}, b =
|
|
1256
|
-
(
|
|
1257
|
-
|
|
1258
|
-
(
|
|
1259
|
-
h[g] =
|
|
1276
|
+
const d = t(n ? h[0] : h, a, o);
|
|
1277
|
+
s ? a(d) : f = Se(d) ? d : M;
|
|
1278
|
+
}, b = i.map(
|
|
1279
|
+
(d, g) => Gt(
|
|
1280
|
+
d,
|
|
1281
|
+
(p) => {
|
|
1282
|
+
h[g] = p, l &= ~(1 << g), u && c();
|
|
1260
1283
|
},
|
|
1261
1284
|
() => {
|
|
1262
1285
|
l |= 1 << g;
|
|
@@ -1268,153 +1291,114 @@ function re(e, t, r) {
|
|
|
1268
1291
|
};
|
|
1269
1292
|
});
|
|
1270
1293
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return e
|
|
1294
|
+
function yn(e) {
|
|
1295
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1273
1296
|
}
|
|
1274
|
-
var
|
|
1275
|
-
return
|
|
1297
|
+
var _n = function(t) {
|
|
1298
|
+
return vn(t) && !En(t);
|
|
1276
1299
|
};
|
|
1277
|
-
function
|
|
1300
|
+
function vn(e) {
|
|
1278
1301
|
return !!e && typeof e == "object";
|
|
1279
1302
|
}
|
|
1280
|
-
function
|
|
1303
|
+
function En(e) {
|
|
1281
1304
|
var t = Object.prototype.toString.call(e);
|
|
1282
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1305
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
|
|
1283
1306
|
}
|
|
1284
|
-
var
|
|
1285
|
-
function
|
|
1286
|
-
return e.$$typeof ===
|
|
1307
|
+
var xn = typeof Symbol == "function" && Symbol.for, wn = xn ? Symbol.for("react.element") : 60103;
|
|
1308
|
+
function Ln(e) {
|
|
1309
|
+
return e.$$typeof === wn;
|
|
1287
1310
|
}
|
|
1288
|
-
function
|
|
1311
|
+
function Tn(e) {
|
|
1289
1312
|
return Array.isArray(e) ? [] : {};
|
|
1290
1313
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1314
|
+
function ce(e, t) {
|
|
1315
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(Tn(e), e, t) : e;
|
|
1293
1316
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return e.concat(t).map(function(
|
|
1296
|
-
return
|
|
1317
|
+
function Sn(e, t, r) {
|
|
1318
|
+
return e.concat(t).map(function(n) {
|
|
1319
|
+
return ce(n, r);
|
|
1297
1320
|
});
|
|
1298
1321
|
}
|
|
1299
|
-
function
|
|
1322
|
+
function Hn(e, t) {
|
|
1300
1323
|
if (!t.customMerge)
|
|
1301
|
-
return
|
|
1324
|
+
return Y;
|
|
1302
1325
|
var r = t.customMerge(e);
|
|
1303
|
-
return typeof r == "function" ? r :
|
|
1326
|
+
return typeof r == "function" ? r : Y;
|
|
1304
1327
|
}
|
|
1305
|
-
function
|
|
1328
|
+
function An(e) {
|
|
1306
1329
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1307
1330
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1308
1331
|
}) : [];
|
|
1309
1332
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return Object.keys(e).concat(
|
|
1333
|
+
function vt(e) {
|
|
1334
|
+
return Object.keys(e).concat(An(e));
|
|
1312
1335
|
}
|
|
1313
|
-
function
|
|
1336
|
+
function qt(e, t) {
|
|
1314
1337
|
try {
|
|
1315
1338
|
return t in e;
|
|
1316
1339
|
} catch {
|
|
1317
1340
|
return !1;
|
|
1318
1341
|
}
|
|
1319
1342
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return
|
|
1343
|
+
function Bn(e, t) {
|
|
1344
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1322
1345
|
}
|
|
1323
|
-
function
|
|
1324
|
-
var
|
|
1325
|
-
return r.isMergeableObject(e) &&
|
|
1326
|
-
i
|
|
1327
|
-
}),
|
|
1328
|
-
|
|
1329
|
-
}),
|
|
1346
|
+
function Pn(e, t, r) {
|
|
1347
|
+
var n = {};
|
|
1348
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
|
1349
|
+
n[i] = ce(e[i], r);
|
|
1350
|
+
}), vt(t).forEach(function(i) {
|
|
1351
|
+
Bn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1352
|
+
}), n;
|
|
1330
1353
|
}
|
|
1331
|
-
function
|
|
1332
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1333
|
-
var
|
|
1334
|
-
return
|
|
1354
|
+
function Y(e, t, r) {
|
|
1355
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1356
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1357
|
+
return s ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : ce(t, r);
|
|
1335
1358
|
}
|
|
1336
|
-
|
|
1359
|
+
Y.all = function(t, r) {
|
|
1337
1360
|
if (!Array.isArray(t))
|
|
1338
1361
|
throw new Error("first argument should be an array");
|
|
1339
|
-
return t.reduce(function(
|
|
1340
|
-
return
|
|
1362
|
+
return t.reduce(function(n, i) {
|
|
1363
|
+
return Y(n, i, r);
|
|
1341
1364
|
}, {});
|
|
1342
1365
|
};
|
|
1343
|
-
var
|
|
1344
|
-
const
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
} || function(r, i) {
|
|
1349
|
-
for (var n in i)
|
|
1350
|
-
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1351
|
-
}, Ye(e, t);
|
|
1352
|
-
};
|
|
1353
|
-
function Be(e, t) {
|
|
1354
|
-
if (typeof t != "function" && t !== null)
|
|
1355
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1356
|
-
Ye(e, t);
|
|
1357
|
-
function r() {
|
|
1358
|
-
this.constructor = e;
|
|
1359
|
-
}
|
|
1360
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1361
|
-
}
|
|
1362
|
-
var N = function() {
|
|
1363
|
-
return N = Object.assign || function(t) {
|
|
1364
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1365
|
-
r = arguments[i];
|
|
1366
|
-
for (var o in r)
|
|
1367
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1368
|
-
}
|
|
1369
|
-
return t;
|
|
1370
|
-
}, N.apply(this, arguments);
|
|
1371
|
-
};
|
|
1372
|
-
function Ri(e, t) {
|
|
1373
|
-
var r = {};
|
|
1374
|
-
for (var i in e)
|
|
1375
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
1376
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1377
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
1378
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
1379
|
-
return r;
|
|
1380
|
-
}
|
|
1381
|
-
function $e(e, t, r) {
|
|
1382
|
-
if (r || arguments.length === 2)
|
|
1383
|
-
for (var i = 0, n = t.length, o; i < n; i++)
|
|
1384
|
-
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
1385
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1386
|
-
}
|
|
1387
|
-
function De(e, t) {
|
|
1388
|
-
var r = t && t.cache ? t.cache : ki, i = t && t.serializer ? t.serializer : Fi, n = t && t.strategy ? t.strategy : Di;
|
|
1389
|
-
return n(e, {
|
|
1366
|
+
var On = Y, Mn = On;
|
|
1367
|
+
const In = /* @__PURE__ */ yn(Mn);
|
|
1368
|
+
function Re(e, t) {
|
|
1369
|
+
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : Cn;
|
|
1370
|
+
return i(e, {
|
|
1390
1371
|
cache: r,
|
|
1391
|
-
serializer:
|
|
1372
|
+
serializer: n
|
|
1392
1373
|
});
|
|
1393
1374
|
}
|
|
1394
|
-
function
|
|
1375
|
+
function Nn(e) {
|
|
1395
1376
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1396
1377
|
}
|
|
1397
|
-
function
|
|
1398
|
-
var
|
|
1399
|
-
return typeof
|
|
1378
|
+
function Jt(e, t, r, n) {
|
|
1379
|
+
var i = Nn(n) ? n : r(n), s = t.get(i);
|
|
1380
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1381
|
+
}
|
|
1382
|
+
function Yt(e, t, r) {
|
|
1383
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1384
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1400
1385
|
}
|
|
1401
|
-
function
|
|
1402
|
-
|
|
1403
|
-
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1386
|
+
function it(e, t, r, n, i) {
|
|
1387
|
+
return r.bind(t, e, n, i);
|
|
1404
1388
|
}
|
|
1405
|
-
function
|
|
1406
|
-
|
|
1389
|
+
function Cn(e, t) {
|
|
1390
|
+
var r = e.length === 1 ? Jt : Yt;
|
|
1391
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1407
1392
|
}
|
|
1408
|
-
function
|
|
1409
|
-
|
|
1410
|
-
return rr(e, this, r, t.cache.create(), t.serializer);
|
|
1393
|
+
function Rn(e, t) {
|
|
1394
|
+
return it(e, this, Yt, t.cache.create(), t.serializer);
|
|
1411
1395
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return
|
|
1396
|
+
function Gn(e, t) {
|
|
1397
|
+
return it(e, this, Jt, t.cache.create(), t.serializer);
|
|
1414
1398
|
}
|
|
1415
|
-
var
|
|
1399
|
+
var Dn = function() {
|
|
1416
1400
|
return JSON.stringify(arguments);
|
|
1417
|
-
},
|
|
1401
|
+
}, Un = (
|
|
1418
1402
|
/** @class */
|
|
1419
1403
|
function() {
|
|
1420
1404
|
function e() {
|
|
@@ -1426,78 +1410,69 @@ var Fi = function() {
|
|
|
1426
1410
|
this.cache[t] = r;
|
|
1427
1411
|
}, e;
|
|
1428
1412
|
}()
|
|
1429
|
-
),
|
|
1413
|
+
), $n = {
|
|
1430
1414
|
create: function() {
|
|
1431
|
-
return new
|
|
1415
|
+
return new Un();
|
|
1432
1416
|
}
|
|
1433
|
-
},
|
|
1434
|
-
variadic:
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1438
|
-
r = arguments[i];
|
|
1439
|
-
for (var o in r)
|
|
1440
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1441
|
-
}
|
|
1442
|
-
return t;
|
|
1443
|
-
}, Le.apply(this, arguments);
|
|
1444
|
-
};
|
|
1445
|
-
var _;
|
|
1417
|
+
}, Ge = {
|
|
1418
|
+
variadic: Rn,
|
|
1419
|
+
monadic: Gn
|
|
1420
|
+
}, v;
|
|
1446
1421
|
(function(e) {
|
|
1447
1422
|
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";
|
|
1448
|
-
})(
|
|
1449
|
-
var
|
|
1423
|
+
})(v || (v = {}));
|
|
1424
|
+
var w;
|
|
1450
1425
|
(function(e) {
|
|
1451
1426
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1452
|
-
})(
|
|
1453
|
-
var
|
|
1427
|
+
})(w || (w = {}));
|
|
1428
|
+
var K;
|
|
1454
1429
|
(function(e) {
|
|
1455
1430
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1456
|
-
})(
|
|
1457
|
-
function
|
|
1458
|
-
return e.type ===
|
|
1431
|
+
})(K || (K = {}));
|
|
1432
|
+
function Et(e) {
|
|
1433
|
+
return e.type === w.literal;
|
|
1459
1434
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return e.type ===
|
|
1435
|
+
function Fn(e) {
|
|
1436
|
+
return e.type === w.argument;
|
|
1462
1437
|
}
|
|
1463
|
-
function
|
|
1464
|
-
return e.type ===
|
|
1438
|
+
function Kt(e) {
|
|
1439
|
+
return e.type === w.number;
|
|
1465
1440
|
}
|
|
1466
|
-
function
|
|
1467
|
-
return e.type ===
|
|
1441
|
+
function er(e) {
|
|
1442
|
+
return e.type === w.date;
|
|
1468
1443
|
}
|
|
1469
|
-
function
|
|
1470
|
-
return e.type ===
|
|
1444
|
+
function tr(e) {
|
|
1445
|
+
return e.type === w.time;
|
|
1471
1446
|
}
|
|
1472
|
-
function
|
|
1473
|
-
return e.type ===
|
|
1447
|
+
function rr(e) {
|
|
1448
|
+
return e.type === w.select;
|
|
1474
1449
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return e.type ===
|
|
1450
|
+
function nr(e) {
|
|
1451
|
+
return e.type === w.plural;
|
|
1477
1452
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return e.type ===
|
|
1453
|
+
function jn(e) {
|
|
1454
|
+
return e.type === w.pound;
|
|
1480
1455
|
}
|
|
1481
|
-
function
|
|
1482
|
-
return e.type ===
|
|
1456
|
+
function ir(e) {
|
|
1457
|
+
return e.type === w.tag;
|
|
1483
1458
|
}
|
|
1484
|
-
function
|
|
1485
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1459
|
+
function sr(e) {
|
|
1460
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1486
1461
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1462
|
+
function Ze(e) {
|
|
1463
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1489
1464
|
}
|
|
1490
|
-
var
|
|
1491
|
-
function
|
|
1465
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
|
|
1466
|
+
function Vn(e) {
|
|
1492
1467
|
var t = {};
|
|
1493
|
-
return e.replace(
|
|
1494
|
-
var
|
|
1468
|
+
return e.replace(kn, function(r) {
|
|
1469
|
+
var n = r.length;
|
|
1495
1470
|
switch (r[0]) {
|
|
1496
1471
|
case "G":
|
|
1497
|
-
t.era =
|
|
1472
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1498
1473
|
break;
|
|
1499
1474
|
case "y":
|
|
1500
|
-
t.year =
|
|
1475
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1501
1476
|
break;
|
|
1502
1477
|
case "Y":
|
|
1503
1478
|
case "u":
|
|
@@ -1509,30 +1484,30 @@ function zi(e) {
|
|
|
1509
1484
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1510
1485
|
case "M":
|
|
1511
1486
|
case "L":
|
|
1512
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1487
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1513
1488
|
break;
|
|
1514
1489
|
case "w":
|
|
1515
1490
|
case "W":
|
|
1516
1491
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1517
1492
|
case "d":
|
|
1518
|
-
t.day = ["numeric", "2-digit"][
|
|
1493
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1519
1494
|
break;
|
|
1520
1495
|
case "D":
|
|
1521
1496
|
case "F":
|
|
1522
1497
|
case "g":
|
|
1523
1498
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1524
1499
|
case "E":
|
|
1525
|
-
t.weekday =
|
|
1500
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1526
1501
|
break;
|
|
1527
1502
|
case "e":
|
|
1528
|
-
if (
|
|
1503
|
+
if (n < 4)
|
|
1529
1504
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1530
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1505
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1531
1506
|
break;
|
|
1532
1507
|
case "c":
|
|
1533
|
-
if (
|
|
1508
|
+
if (n < 4)
|
|
1534
1509
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1535
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1510
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1536
1511
|
break;
|
|
1537
1512
|
case "a":
|
|
1538
1513
|
t.hour12 = !0;
|
|
@@ -1541,32 +1516,32 @@ function zi(e) {
|
|
|
1541
1516
|
case "B":
|
|
1542
1517
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1543
1518
|
case "h":
|
|
1544
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1519
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1545
1520
|
break;
|
|
1546
1521
|
case "H":
|
|
1547
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1522
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1548
1523
|
break;
|
|
1549
1524
|
case "K":
|
|
1550
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1525
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1551
1526
|
break;
|
|
1552
1527
|
case "k":
|
|
1553
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1528
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1554
1529
|
break;
|
|
1555
1530
|
case "j":
|
|
1556
1531
|
case "J":
|
|
1557
1532
|
case "C":
|
|
1558
1533
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1559
1534
|
case "m":
|
|
1560
|
-
t.minute = ["numeric", "2-digit"][
|
|
1535
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1561
1536
|
break;
|
|
1562
1537
|
case "s":
|
|
1563
|
-
t.second = ["numeric", "2-digit"][
|
|
1538
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1564
1539
|
break;
|
|
1565
1540
|
case "S":
|
|
1566
1541
|
case "A":
|
|
1567
1542
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1568
1543
|
case "z":
|
|
1569
|
-
t.timeZoneName =
|
|
1544
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1570
1545
|
break;
|
|
1571
1546
|
case "Z":
|
|
1572
1547
|
case "O":
|
|
@@ -1579,46 +1554,36 @@ function zi(e) {
|
|
|
1579
1554
|
return "";
|
|
1580
1555
|
}), t;
|
|
1581
1556
|
}
|
|
1582
|
-
var
|
|
1583
|
-
|
|
1584
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1585
|
-
r = arguments[i];
|
|
1586
|
-
for (var o in r)
|
|
1587
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1588
|
-
}
|
|
1589
|
-
return t;
|
|
1590
|
-
}, L.apply(this, arguments);
|
|
1591
|
-
};
|
|
1592
|
-
var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1593
|
-
function Qi(e) {
|
|
1557
|
+
var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1558
|
+
function Wn(e) {
|
|
1594
1559
|
if (e.length === 0)
|
|
1595
1560
|
throw new Error("Number skeleton cannot be empty");
|
|
1596
|
-
for (var t = e.split(
|
|
1561
|
+
for (var t = e.split(Xn).filter(function(c) {
|
|
1597
1562
|
return c.length > 0;
|
|
1598
|
-
}), r = [],
|
|
1599
|
-
var
|
|
1563
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1564
|
+
var s = i[n], a = s.split("/");
|
|
1600
1565
|
if (a.length === 0)
|
|
1601
1566
|
throw new Error("Invalid number skeleton");
|
|
1602
|
-
for (var
|
|
1567
|
+
for (var o = a[0], u = a.slice(1), h = 0, l = u; h < l.length; h++) {
|
|
1603
1568
|
var f = l[h];
|
|
1604
1569
|
if (f.length === 0)
|
|
1605
1570
|
throw new Error("Invalid number skeleton");
|
|
1606
1571
|
}
|
|
1607
|
-
r.push({ stem:
|
|
1572
|
+
r.push({ stem: o, options: u });
|
|
1608
1573
|
}
|
|
1609
1574
|
return r;
|
|
1610
1575
|
}
|
|
1611
|
-
function
|
|
1576
|
+
function zn(e) {
|
|
1612
1577
|
return e.replace(/^(.*?)-/, "");
|
|
1613
1578
|
}
|
|
1614
|
-
var
|
|
1615
|
-
function
|
|
1579
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
|
1580
|
+
function wt(e) {
|
|
1616
1581
|
var t = {};
|
|
1617
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1618
|
-
return typeof
|
|
1582
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
|
1583
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1619
1584
|
}), t;
|
|
1620
1585
|
}
|
|
1621
|
-
function
|
|
1586
|
+
function lr(e) {
|
|
1622
1587
|
switch (e) {
|
|
1623
1588
|
case "sign-auto":
|
|
1624
1589
|
return {
|
|
@@ -1658,7 +1623,7 @@ function mr(e) {
|
|
|
1658
1623
|
};
|
|
1659
1624
|
}
|
|
1660
1625
|
}
|
|
1661
|
-
function
|
|
1626
|
+
function Qn(e) {
|
|
1662
1627
|
var t;
|
|
1663
1628
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1664
1629
|
notation: "engineering"
|
|
@@ -1666,20 +1631,20 @@ function Yi(e) {
|
|
|
1666
1631
|
notation: "scientific"
|
|
1667
1632
|
}, e = e.slice(1)), t) {
|
|
1668
1633
|
var r = e.slice(0, 2);
|
|
1669
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1634
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
|
|
1670
1635
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1671
1636
|
t.minimumIntegerDigits = e.length;
|
|
1672
1637
|
}
|
|
1673
1638
|
return t;
|
|
1674
1639
|
}
|
|
1675
|
-
function
|
|
1676
|
-
var t = {}, r =
|
|
1640
|
+
function Lt(e) {
|
|
1641
|
+
var t = {}, r = lr(e);
|
|
1677
1642
|
return r || t;
|
|
1678
1643
|
}
|
|
1679
|
-
function
|
|
1680
|
-
for (var t = {}, r = 0,
|
|
1681
|
-
var
|
|
1682
|
-
switch (
|
|
1644
|
+
function qn(e) {
|
|
1645
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1646
|
+
var i = n[r];
|
|
1647
|
+
switch (i.stem) {
|
|
1683
1648
|
case "percent":
|
|
1684
1649
|
case "%":
|
|
1685
1650
|
t.style = "percent";
|
|
@@ -1688,7 +1653,7 @@ function Ki(e) {
|
|
|
1688
1653
|
t.style = "percent", t.scale = 100;
|
|
1689
1654
|
continue;
|
|
1690
1655
|
case "currency":
|
|
1691
|
-
t.style = "currency", t.currency =
|
|
1656
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1692
1657
|
continue;
|
|
1693
1658
|
case "group-off":
|
|
1694
1659
|
case ",_":
|
|
@@ -1700,7 +1665,7 @@ function Ki(e) {
|
|
|
1700
1665
|
continue;
|
|
1701
1666
|
case "measure-unit":
|
|
1702
1667
|
case "unit":
|
|
1703
|
-
t.style = "unit", t.unit =
|
|
1668
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
1704
1669
|
continue;
|
|
1705
1670
|
case "compact-short":
|
|
1706
1671
|
case "K":
|
|
@@ -1711,13 +1676,13 @@ function Ki(e) {
|
|
|
1711
1676
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1712
1677
|
continue;
|
|
1713
1678
|
case "scientific":
|
|
1714
|
-
t =
|
|
1715
|
-
return
|
|
1679
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1680
|
+
return x(x({}, u), Lt(h));
|
|
1716
1681
|
}, {}));
|
|
1717
1682
|
continue;
|
|
1718
1683
|
case "engineering":
|
|
1719
|
-
t =
|
|
1720
|
-
return
|
|
1684
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1685
|
+
return x(x({}, u), Lt(h));
|
|
1721
1686
|
}, {}));
|
|
1722
1687
|
continue;
|
|
1723
1688
|
case "notation-simple":
|
|
@@ -1736,7 +1701,7 @@ function Ki(e) {
|
|
|
1736
1701
|
t.currencyDisplay = "symbol";
|
|
1737
1702
|
continue;
|
|
1738
1703
|
case "scale":
|
|
1739
|
-
t.scale = parseFloat(
|
|
1704
|
+
t.scale = parseFloat(i.options[0]);
|
|
1740
1705
|
continue;
|
|
1741
1706
|
case "rounding-mode-floor":
|
|
1742
1707
|
t.roundingMode = "floor";
|
|
@@ -1760,9 +1725,9 @@ function Ki(e) {
|
|
|
1760
1725
|
t.roundingMode = "halfExpand";
|
|
1761
1726
|
continue;
|
|
1762
1727
|
case "integer-width":
|
|
1763
|
-
if (
|
|
1728
|
+
if (i.options.length > 1)
|
|
1764
1729
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1765
|
-
|
|
1730
|
+
i.options[0].replace(Zn, function(u, h, l, f, c, b) {
|
|
1766
1731
|
if (h)
|
|
1767
1732
|
t.minimumIntegerDigits = l.length;
|
|
1768
1733
|
else {
|
|
@@ -1775,32 +1740,32 @@ function Ki(e) {
|
|
|
1775
1740
|
});
|
|
1776
1741
|
continue;
|
|
1777
1742
|
}
|
|
1778
|
-
if (
|
|
1779
|
-
t.minimumIntegerDigits =
|
|
1743
|
+
if (ur.test(i.stem)) {
|
|
1744
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1780
1745
|
continue;
|
|
1781
1746
|
}
|
|
1782
|
-
if (
|
|
1783
|
-
if (
|
|
1747
|
+
if (xt.test(i.stem)) {
|
|
1748
|
+
if (i.options.length > 1)
|
|
1784
1749
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1785
|
-
|
|
1750
|
+
i.stem.replace(xt, function(u, h, l, f, c, b) {
|
|
1786
1751
|
return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1787
1752
|
});
|
|
1788
|
-
var
|
|
1789
|
-
|
|
1753
|
+
var s = i.options[0];
|
|
1754
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), wt(s)));
|
|
1790
1755
|
continue;
|
|
1791
1756
|
}
|
|
1792
|
-
if (
|
|
1793
|
-
t =
|
|
1757
|
+
if (ar.test(i.stem)) {
|
|
1758
|
+
t = x(x({}, t), wt(i.stem));
|
|
1794
1759
|
continue;
|
|
1795
1760
|
}
|
|
1796
|
-
var a =
|
|
1797
|
-
a && (t =
|
|
1798
|
-
var
|
|
1799
|
-
|
|
1761
|
+
var a = lr(i.stem);
|
|
1762
|
+
a && (t = x(x({}, t), a));
|
|
1763
|
+
var o = Qn(i.stem);
|
|
1764
|
+
o && (t = x(x({}, t), o));
|
|
1800
1765
|
}
|
|
1801
1766
|
return t;
|
|
1802
1767
|
}
|
|
1803
|
-
var
|
|
1768
|
+
var pe = {
|
|
1804
1769
|
"001": [
|
|
1805
1770
|
"H",
|
|
1806
1771
|
"h"
|
|
@@ -3215,23 +3180,23 @@ var de = {
|
|
|
3215
3180
|
"h"
|
|
3216
3181
|
]
|
|
3217
3182
|
};
|
|
3218
|
-
function
|
|
3219
|
-
for (var r = "",
|
|
3220
|
-
var
|
|
3221
|
-
if (
|
|
3222
|
-
for (var
|
|
3223
|
-
|
|
3224
|
-
var a = 1 + (
|
|
3225
|
-
for ((h == "H" || h == "k") && (
|
|
3183
|
+
function Jn(e, t) {
|
|
3184
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
3185
|
+
var i = e.charAt(n);
|
|
3186
|
+
if (i === "j") {
|
|
3187
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3188
|
+
s++, n++;
|
|
3189
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Yn(t);
|
|
3190
|
+
for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
|
|
3226
3191
|
r += u;
|
|
3227
3192
|
for (; a-- > 0; )
|
|
3228
3193
|
r = h + r;
|
|
3229
3194
|
} else
|
|
3230
|
-
|
|
3195
|
+
i === "J" ? r += "H" : r += i;
|
|
3231
3196
|
}
|
|
3232
3197
|
return r;
|
|
3233
3198
|
}
|
|
3234
|
-
function
|
|
3199
|
+
function Yn(e) {
|
|
3235
3200
|
var t = e.hourCycle;
|
|
3236
3201
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3237
3202
|
e.hourCycles && // @ts-ignore
|
|
@@ -3248,59 +3213,59 @@ function tn(e) {
|
|
|
3248
3213
|
default:
|
|
3249
3214
|
throw new Error("Invalid hourCycle");
|
|
3250
3215
|
}
|
|
3251
|
-
var r = e.language,
|
|
3252
|
-
r !== "root" && (
|
|
3253
|
-
var
|
|
3254
|
-
return
|
|
3216
|
+
var r = e.language, n;
|
|
3217
|
+
r !== "root" && (n = e.maximize().region);
|
|
3218
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3219
|
+
return i[0];
|
|
3255
3220
|
}
|
|
3256
|
-
var
|
|
3221
|
+
var De, Kn = new RegExp("^".concat(or.source, "*")), ei = new RegExp("".concat(or.source, "*$"));
|
|
3257
3222
|
function E(e, t) {
|
|
3258
3223
|
return { start: e, end: t };
|
|
3259
3224
|
}
|
|
3260
|
-
var
|
|
3225
|
+
var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
|
|
3261
3226
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3262
|
-
},
|
|
3227
|
+
}, Qe = !0;
|
|
3263
3228
|
try {
|
|
3264
|
-
var
|
|
3265
|
-
|
|
3229
|
+
var li = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3230
|
+
Qe = ((De = li.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3266
3231
|
} catch {
|
|
3267
|
-
|
|
3232
|
+
Qe = !1;
|
|
3268
3233
|
}
|
|
3269
|
-
var
|
|
3234
|
+
var Tt = ti ? (
|
|
3270
3235
|
// Native
|
|
3271
|
-
function(t, r,
|
|
3272
|
-
return t.startsWith(r,
|
|
3236
|
+
function(t, r, n) {
|
|
3237
|
+
return t.startsWith(r, n);
|
|
3273
3238
|
}
|
|
3274
3239
|
) : (
|
|
3275
3240
|
// For IE11
|
|
3276
|
-
function(t, r,
|
|
3277
|
-
return t.slice(
|
|
3241
|
+
function(t, r, n) {
|
|
3242
|
+
return t.slice(n, n + r.length) === r;
|
|
3278
3243
|
}
|
|
3279
|
-
),
|
|
3244
|
+
), qe = ri ? String.fromCodePoint : (
|
|
3280
3245
|
// IE11
|
|
3281
3246
|
function() {
|
|
3282
3247
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3283
3248
|
t[r] = arguments[r];
|
|
3284
|
-
for (var
|
|
3285
|
-
if (a = t[
|
|
3249
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
3250
|
+
if (a = t[s++], a > 1114111)
|
|
3286
3251
|
throw RangeError(a + " is not a valid code point");
|
|
3287
|
-
|
|
3252
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3288
3253
|
}
|
|
3289
|
-
return
|
|
3254
|
+
return n;
|
|
3290
3255
|
}
|
|
3291
|
-
),
|
|
3256
|
+
), St = (
|
|
3292
3257
|
// native
|
|
3293
|
-
|
|
3258
|
+
ni ? Object.fromEntries : (
|
|
3294
3259
|
// Ponyfill
|
|
3295
3260
|
function(t) {
|
|
3296
|
-
for (var r = {},
|
|
3297
|
-
var
|
|
3298
|
-
r[a] =
|
|
3261
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3262
|
+
var s = i[n], a = s[0], o = s[1];
|
|
3263
|
+
r[a] = o;
|
|
3299
3264
|
}
|
|
3300
3265
|
return r;
|
|
3301
3266
|
}
|
|
3302
3267
|
)
|
|
3303
|
-
),
|
|
3268
|
+
), hr = ii ? (
|
|
3304
3269
|
// Native
|
|
3305
3270
|
function(t, r) {
|
|
3306
3271
|
return t.codePointAt(r);
|
|
@@ -3308,13 +3273,13 @@ var Pt = on ? (
|
|
|
3308
3273
|
) : (
|
|
3309
3274
|
// IE 11
|
|
3310
3275
|
function(t, r) {
|
|
3311
|
-
var
|
|
3312
|
-
if (!(r < 0 || r >=
|
|
3313
|
-
var
|
|
3314
|
-
return
|
|
3276
|
+
var n = t.length;
|
|
3277
|
+
if (!(r < 0 || r >= n)) {
|
|
3278
|
+
var i = t.charCodeAt(r), s;
|
|
3279
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3315
3280
|
}
|
|
3316
3281
|
}
|
|
3317
|
-
),
|
|
3282
|
+
), hi = si ? (
|
|
3318
3283
|
// Native
|
|
3319
3284
|
function(t) {
|
|
3320
3285
|
return t.trimStart();
|
|
@@ -3322,9 +3287,9 @@ var Pt = on ? (
|
|
|
3322
3287
|
) : (
|
|
3323
3288
|
// Ponyfill
|
|
3324
3289
|
function(t) {
|
|
3325
|
-
return t.replace(
|
|
3290
|
+
return t.replace(Kn, "");
|
|
3326
3291
|
}
|
|
3327
|
-
),
|
|
3292
|
+
), ci = oi ? (
|
|
3328
3293
|
// Native
|
|
3329
3294
|
function(t) {
|
|
3330
3295
|
return t.trimEnd();
|
|
@@ -3332,32 +3297,32 @@ var Pt = on ? (
|
|
|
3332
3297
|
) : (
|
|
3333
3298
|
// Ponyfill
|
|
3334
3299
|
function(t) {
|
|
3335
|
-
return t.replace(
|
|
3300
|
+
return t.replace(ei, "");
|
|
3336
3301
|
}
|
|
3337
3302
|
);
|
|
3338
|
-
function
|
|
3303
|
+
function cr(e, t) {
|
|
3339
3304
|
return new RegExp(e, t);
|
|
3340
3305
|
}
|
|
3341
|
-
var
|
|
3342
|
-
if (
|
|
3343
|
-
var
|
|
3344
|
-
|
|
3345
|
-
var
|
|
3346
|
-
|
|
3347
|
-
var
|
|
3348
|
-
return (
|
|
3306
|
+
var Je;
|
|
3307
|
+
if (Qe) {
|
|
3308
|
+
var Ht = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3309
|
+
Je = function(t, r) {
|
|
3310
|
+
var n;
|
|
3311
|
+
Ht.lastIndex = r;
|
|
3312
|
+
var i = Ht.exec(t);
|
|
3313
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3349
3314
|
};
|
|
3350
3315
|
} else
|
|
3351
|
-
|
|
3352
|
-
for (var
|
|
3353
|
-
var
|
|
3354
|
-
if (
|
|
3316
|
+
Je = function(t, r) {
|
|
3317
|
+
for (var n = []; ; ) {
|
|
3318
|
+
var i = hr(t, r);
|
|
3319
|
+
if (i === void 0 || fr(i) || pi(i))
|
|
3355
3320
|
break;
|
|
3356
|
-
|
|
3321
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3357
3322
|
}
|
|
3358
|
-
return
|
|
3323
|
+
return qe.apply(void 0, n);
|
|
3359
3324
|
};
|
|
3360
|
-
var
|
|
3325
|
+
var fi = (
|
|
3361
3326
|
/** @class */
|
|
3362
3327
|
function() {
|
|
3363
3328
|
function e(t, r) {
|
|
@@ -3367,108 +3332,108 @@ var gn = (
|
|
|
3367
3332
|
if (this.offset() !== 0)
|
|
3368
3333
|
throw Error("parser can only be used once");
|
|
3369
3334
|
return this.parseMessage(0, "", !1);
|
|
3370
|
-
}, e.prototype.parseMessage = function(t, r,
|
|
3371
|
-
for (var
|
|
3372
|
-
var
|
|
3373
|
-
if (
|
|
3374
|
-
var a = this.parseArgument(t,
|
|
3335
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3336
|
+
for (var i = []; !this.isEOF(); ) {
|
|
3337
|
+
var s = this.char();
|
|
3338
|
+
if (s === 123) {
|
|
3339
|
+
var a = this.parseArgument(t, n);
|
|
3375
3340
|
if (a.err)
|
|
3376
3341
|
return a;
|
|
3377
|
-
|
|
3342
|
+
i.push(a.val);
|
|
3378
3343
|
} else {
|
|
3379
|
-
if (
|
|
3344
|
+
if (s === 125 && t > 0)
|
|
3380
3345
|
break;
|
|
3381
|
-
if (
|
|
3382
|
-
var
|
|
3383
|
-
this.bump(),
|
|
3384
|
-
type:
|
|
3385
|
-
location: E(
|
|
3346
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3347
|
+
var o = this.clonePosition();
|
|
3348
|
+
this.bump(), i.push({
|
|
3349
|
+
type: w.pound,
|
|
3350
|
+
location: E(o, this.clonePosition())
|
|
3386
3351
|
});
|
|
3387
|
-
} else if (
|
|
3388
|
-
if (
|
|
3352
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3353
|
+
if (n)
|
|
3389
3354
|
break;
|
|
3390
|
-
return this.error(
|
|
3391
|
-
} else if (
|
|
3355
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3356
|
+
} else if (s === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3392
3357
|
var a = this.parseTag(t, r);
|
|
3393
3358
|
if (a.err)
|
|
3394
3359
|
return a;
|
|
3395
|
-
|
|
3360
|
+
i.push(a.val);
|
|
3396
3361
|
} else {
|
|
3397
3362
|
var a = this.parseLiteral(t, r);
|
|
3398
3363
|
if (a.err)
|
|
3399
3364
|
return a;
|
|
3400
|
-
|
|
3365
|
+
i.push(a.val);
|
|
3401
3366
|
}
|
|
3402
3367
|
}
|
|
3403
3368
|
}
|
|
3404
|
-
return { val:
|
|
3369
|
+
return { val: i, err: null };
|
|
3405
3370
|
}, e.prototype.parseTag = function(t, r) {
|
|
3406
|
-
var
|
|
3371
|
+
var n = this.clonePosition();
|
|
3407
3372
|
this.bump();
|
|
3408
|
-
var
|
|
3373
|
+
var i = this.parseTagName();
|
|
3409
3374
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3410
3375
|
return {
|
|
3411
3376
|
val: {
|
|
3412
|
-
type:
|
|
3413
|
-
value: "<".concat(
|
|
3414
|
-
location: E(
|
|
3377
|
+
type: w.literal,
|
|
3378
|
+
value: "<".concat(i, "/>"),
|
|
3379
|
+
location: E(n, this.clonePosition())
|
|
3415
3380
|
},
|
|
3416
3381
|
err: null
|
|
3417
3382
|
};
|
|
3418
3383
|
if (this.bumpIf(">")) {
|
|
3419
|
-
var
|
|
3420
|
-
if (
|
|
3421
|
-
return
|
|
3422
|
-
var a =
|
|
3384
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3385
|
+
if (s.err)
|
|
3386
|
+
return s;
|
|
3387
|
+
var a = s.val, o = this.clonePosition();
|
|
3423
3388
|
if (this.bumpIf("</")) {
|
|
3424
|
-
if (this.isEOF() || !
|
|
3425
|
-
return this.error(
|
|
3389
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3390
|
+
return this.error(v.INVALID_TAG, E(o, this.clonePosition()));
|
|
3426
3391
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3427
|
-
return
|
|
3392
|
+
return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3428
3393
|
val: {
|
|
3429
|
-
type:
|
|
3430
|
-
value:
|
|
3394
|
+
type: w.tag,
|
|
3395
|
+
value: i,
|
|
3431
3396
|
children: a,
|
|
3432
|
-
location: E(
|
|
3397
|
+
location: E(n, this.clonePosition())
|
|
3433
3398
|
},
|
|
3434
3399
|
err: null
|
|
3435
|
-
} : this.error(
|
|
3400
|
+
} : this.error(v.INVALID_TAG, E(o, this.clonePosition())));
|
|
3436
3401
|
} else
|
|
3437
|
-
return this.error(
|
|
3402
|
+
return this.error(v.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3438
3403
|
} else
|
|
3439
|
-
return this.error(
|
|
3404
|
+
return this.error(v.INVALID_TAG, E(n, this.clonePosition()));
|
|
3440
3405
|
}, e.prototype.parseTagName = function() {
|
|
3441
3406
|
var t = this.offset();
|
|
3442
|
-
for (this.bump(); !this.isEOF() &&
|
|
3407
|
+
for (this.bump(); !this.isEOF() && di(this.char()); )
|
|
3443
3408
|
this.bump();
|
|
3444
3409
|
return this.message.slice(t, this.offset());
|
|
3445
3410
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3446
|
-
for (var
|
|
3447
|
-
var
|
|
3448
|
-
if (
|
|
3449
|
-
|
|
3411
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3412
|
+
var s = this.tryParseQuote(r);
|
|
3413
|
+
if (s) {
|
|
3414
|
+
i += s;
|
|
3450
3415
|
continue;
|
|
3451
3416
|
}
|
|
3452
3417
|
var a = this.tryParseUnquoted(t, r);
|
|
3453
3418
|
if (a) {
|
|
3454
|
-
|
|
3419
|
+
i += a;
|
|
3455
3420
|
continue;
|
|
3456
3421
|
}
|
|
3457
|
-
var
|
|
3458
|
-
if (
|
|
3459
|
-
|
|
3422
|
+
var o = this.tryParseLeftAngleBracket();
|
|
3423
|
+
if (o) {
|
|
3424
|
+
i += o;
|
|
3460
3425
|
continue;
|
|
3461
3426
|
}
|
|
3462
3427
|
break;
|
|
3463
3428
|
}
|
|
3464
|
-
var u = E(
|
|
3429
|
+
var u = E(n, this.clonePosition());
|
|
3465
3430
|
return {
|
|
3466
|
-
val: { type:
|
|
3431
|
+
val: { type: w.literal, value: i, location: u },
|
|
3467
3432
|
err: null
|
|
3468
3433
|
};
|
|
3469
3434
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3470
3435
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3471
|
-
!
|
|
3436
|
+
!mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3472
3437
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3473
3438
|
if (this.isEOF() || this.char() !== 39)
|
|
3474
3439
|
return null;
|
|
@@ -3490,8 +3455,8 @@ var gn = (
|
|
|
3490
3455
|
this.bump();
|
|
3491
3456
|
var r = [this.char()];
|
|
3492
3457
|
for (this.bump(); !this.isEOF(); ) {
|
|
3493
|
-
var
|
|
3494
|
-
if (
|
|
3458
|
+
var n = this.char();
|
|
3459
|
+
if (n === 39)
|
|
3495
3460
|
if (this.peek() === 39)
|
|
3496
3461
|
r.push(39), this.bump();
|
|
3497
3462
|
else {
|
|
@@ -3499,52 +3464,52 @@ var gn = (
|
|
|
3499
3464
|
break;
|
|
3500
3465
|
}
|
|
3501
3466
|
else
|
|
3502
|
-
r.push(
|
|
3467
|
+
r.push(n);
|
|
3503
3468
|
this.bump();
|
|
3504
3469
|
}
|
|
3505
|
-
return
|
|
3470
|
+
return qe.apply(void 0, r);
|
|
3506
3471
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3507
3472
|
if (this.isEOF())
|
|
3508
3473
|
return null;
|
|
3509
|
-
var
|
|
3510
|
-
return
|
|
3474
|
+
var n = this.char();
|
|
3475
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3511
3476
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3512
|
-
var
|
|
3477
|
+
var n = this.clonePosition();
|
|
3513
3478
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3514
|
-
return this.error(
|
|
3479
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3515
3480
|
if (this.char() === 125)
|
|
3516
|
-
return this.bump(), this.error(
|
|
3517
|
-
var
|
|
3518
|
-
if (!
|
|
3519
|
-
return this.error(
|
|
3481
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3482
|
+
var i = this.parseIdentifierIfPossible().value;
|
|
3483
|
+
if (!i)
|
|
3484
|
+
return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3520
3485
|
if (this.bumpSpace(), this.isEOF())
|
|
3521
|
-
return this.error(
|
|
3486
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3522
3487
|
switch (this.char()) {
|
|
3523
3488
|
case 125:
|
|
3524
3489
|
return this.bump(), {
|
|
3525
3490
|
val: {
|
|
3526
|
-
type:
|
|
3491
|
+
type: w.argument,
|
|
3527
3492
|
// value does not include the opening and closing braces.
|
|
3528
|
-
value:
|
|
3529
|
-
location: E(
|
|
3493
|
+
value: i,
|
|
3494
|
+
location: E(n, this.clonePosition())
|
|
3530
3495
|
},
|
|
3531
3496
|
err: null
|
|
3532
3497
|
};
|
|
3533
3498
|
case 44:
|
|
3534
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3499
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3535
3500
|
default:
|
|
3536
|
-
return this.error(
|
|
3501
|
+
return this.error(v.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3537
3502
|
}
|
|
3538
3503
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3539
|
-
var t = this.clonePosition(), r = this.offset(),
|
|
3540
|
-
this.bumpTo(
|
|
3541
|
-
var
|
|
3542
|
-
return { value:
|
|
3543
|
-
}, e.prototype.parseArgumentOptions = function(t, r,
|
|
3544
|
-
var
|
|
3545
|
-
switch (
|
|
3504
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3505
|
+
this.bumpTo(i);
|
|
3506
|
+
var s = this.clonePosition(), a = E(t, s);
|
|
3507
|
+
return { value: n, location: a };
|
|
3508
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3509
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3510
|
+
switch (o) {
|
|
3546
3511
|
case "":
|
|
3547
|
-
return this.error(
|
|
3512
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, E(a, u));
|
|
3548
3513
|
case "number":
|
|
3549
3514
|
case "date":
|
|
3550
3515
|
case "time": {
|
|
@@ -3555,47 +3520,47 @@ var gn = (
|
|
|
3555
3520
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3556
3521
|
if (f.err)
|
|
3557
3522
|
return f;
|
|
3558
|
-
var c =
|
|
3523
|
+
var c = ci(f.val);
|
|
3559
3524
|
if (c.length === 0)
|
|
3560
|
-
return this.error(
|
|
3525
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3561
3526
|
var b = E(l, this.clonePosition());
|
|
3562
3527
|
h = { style: c, styleLocation: b };
|
|
3563
3528
|
}
|
|
3564
|
-
var
|
|
3565
|
-
if (
|
|
3566
|
-
return
|
|
3567
|
-
var g = E(
|
|
3568
|
-
if (h &&
|
|
3569
|
-
var
|
|
3570
|
-
if (
|
|
3571
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3529
|
+
var d = this.tryParseArgumentClose(i);
|
|
3530
|
+
if (d.err)
|
|
3531
|
+
return d;
|
|
3532
|
+
var g = E(i, this.clonePosition());
|
|
3533
|
+
if (h && Tt(h?.style, "::", 0)) {
|
|
3534
|
+
var p = hi(h.style.slice(2));
|
|
3535
|
+
if (o === "number") {
|
|
3536
|
+
var f = this.parseNumberSkeletonFromString(p, h.styleLocation);
|
|
3572
3537
|
return f.err ? f : {
|
|
3573
|
-
val: { type:
|
|
3538
|
+
val: { type: w.number, value: n, location: g, style: f.val },
|
|
3574
3539
|
err: null
|
|
3575
3540
|
};
|
|
3576
3541
|
} else {
|
|
3577
|
-
if (
|
|
3578
|
-
return this.error(
|
|
3579
|
-
var
|
|
3580
|
-
this.locale && (
|
|
3542
|
+
if (p.length === 0)
|
|
3543
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
|
3544
|
+
var _ = p;
|
|
3545
|
+
this.locale && (_ = Jn(p, this.locale));
|
|
3581
3546
|
var c = {
|
|
3582
|
-
type:
|
|
3583
|
-
pattern:
|
|
3547
|
+
type: K.dateTime,
|
|
3548
|
+
pattern: _,
|
|
3584
3549
|
location: h.styleLocation,
|
|
3585
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3586
|
-
}, T =
|
|
3550
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(_) : {}
|
|
3551
|
+
}, T = o === "date" ? w.date : w.time;
|
|
3587
3552
|
return {
|
|
3588
|
-
val: { type: T, value:
|
|
3553
|
+
val: { type: T, value: n, location: g, style: c },
|
|
3589
3554
|
err: null
|
|
3590
3555
|
};
|
|
3591
3556
|
}
|
|
3592
3557
|
}
|
|
3593
3558
|
return {
|
|
3594
3559
|
val: {
|
|
3595
|
-
type:
|
|
3596
|
-
value:
|
|
3560
|
+
type: o === "number" ? w.number : o === "date" ? w.date : w.time,
|
|
3561
|
+
value: n,
|
|
3597
3562
|
location: g,
|
|
3598
|
-
style: (
|
|
3563
|
+
style: (s = h?.style) !== null && s !== void 0 ? s : null
|
|
3599
3564
|
},
|
|
3600
3565
|
err: null
|
|
3601
3566
|
};
|
|
@@ -3605,59 +3570,59 @@ var gn = (
|
|
|
3605
3570
|
case "select": {
|
|
3606
3571
|
var S = this.clonePosition();
|
|
3607
3572
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3608
|
-
return this.error(
|
|
3573
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, x({}, S)));
|
|
3609
3574
|
this.bumpSpace();
|
|
3610
|
-
var
|
|
3611
|
-
if (
|
|
3575
|
+
var I = this.parseIdentifierIfPossible(), A = 0;
|
|
3576
|
+
if (o !== "select" && I.value === "offset") {
|
|
3612
3577
|
if (!this.bumpIf(":"))
|
|
3613
|
-
return this.error(
|
|
3578
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3614
3579
|
this.bumpSpace();
|
|
3615
|
-
var f = this.tryParseDecimalInteger(
|
|
3580
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3616
3581
|
if (f.err)
|
|
3617
3582
|
return f;
|
|
3618
|
-
this.bumpSpace(),
|
|
3583
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), A = f.val;
|
|
3619
3584
|
}
|
|
3620
|
-
var
|
|
3621
|
-
if (
|
|
3622
|
-
return
|
|
3623
|
-
var
|
|
3624
|
-
if (
|
|
3625
|
-
return
|
|
3626
|
-
var k = E(
|
|
3627
|
-
return
|
|
3585
|
+
var N = this.tryParsePluralOrSelectOptions(t, o, r, I);
|
|
3586
|
+
if (N.err)
|
|
3587
|
+
return N;
|
|
3588
|
+
var d = this.tryParseArgumentClose(i);
|
|
3589
|
+
if (d.err)
|
|
3590
|
+
return d;
|
|
3591
|
+
var k = E(i, this.clonePosition());
|
|
3592
|
+
return o === "select" ? {
|
|
3628
3593
|
val: {
|
|
3629
|
-
type:
|
|
3630
|
-
value:
|
|
3631
|
-
options:
|
|
3594
|
+
type: w.select,
|
|
3595
|
+
value: n,
|
|
3596
|
+
options: St(N.val),
|
|
3632
3597
|
location: k
|
|
3633
3598
|
},
|
|
3634
3599
|
err: null
|
|
3635
3600
|
} : {
|
|
3636
3601
|
val: {
|
|
3637
|
-
type:
|
|
3638
|
-
value:
|
|
3639
|
-
options:
|
|
3602
|
+
type: w.plural,
|
|
3603
|
+
value: n,
|
|
3604
|
+
options: St(N.val),
|
|
3640
3605
|
offset: A,
|
|
3641
|
-
pluralType:
|
|
3606
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3642
3607
|
location: k
|
|
3643
3608
|
},
|
|
3644
3609
|
err: null
|
|
3645
3610
|
};
|
|
3646
3611
|
}
|
|
3647
3612
|
default:
|
|
3648
|
-
return this.error(
|
|
3613
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, E(a, u));
|
|
3649
3614
|
}
|
|
3650
3615
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3651
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3616
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3652
3617
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3653
3618
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3654
|
-
var
|
|
3655
|
-
switch (
|
|
3619
|
+
var n = this.char();
|
|
3620
|
+
switch (n) {
|
|
3656
3621
|
case 39: {
|
|
3657
3622
|
this.bump();
|
|
3658
|
-
var
|
|
3623
|
+
var i = this.clonePosition();
|
|
3659
3624
|
if (!this.bumpUntil("'"))
|
|
3660
|
-
return this.error(
|
|
3625
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3661
3626
|
this.bump();
|
|
3662
3627
|
break;
|
|
3663
3628
|
}
|
|
@@ -3685,27 +3650,27 @@ var gn = (
|
|
|
3685
3650
|
err: null
|
|
3686
3651
|
};
|
|
3687
3652
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3688
|
-
var
|
|
3653
|
+
var n = [];
|
|
3689
3654
|
try {
|
|
3690
|
-
|
|
3655
|
+
n = Wn(t);
|
|
3691
3656
|
} catch {
|
|
3692
|
-
return this.error(
|
|
3657
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3693
3658
|
}
|
|
3694
3659
|
return {
|
|
3695
3660
|
val: {
|
|
3696
|
-
type:
|
|
3697
|
-
tokens:
|
|
3661
|
+
type: K.number,
|
|
3662
|
+
tokens: n,
|
|
3698
3663
|
location: r,
|
|
3699
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3664
|
+
parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
|
|
3700
3665
|
},
|
|
3701
3666
|
err: null
|
|
3702
3667
|
};
|
|
3703
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r,
|
|
3704
|
-
for (var
|
|
3668
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3669
|
+
for (var s, a = !1, o = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
|
|
3705
3670
|
if (h.length === 0) {
|
|
3706
3671
|
var f = this.clonePosition();
|
|
3707
3672
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3708
|
-
var c = this.tryParseDecimalInteger(
|
|
3673
|
+
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3709
3674
|
if (c.err)
|
|
3710
3675
|
return c;
|
|
3711
3676
|
l = E(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
@@ -3713,38 +3678,38 @@ var gn = (
|
|
|
3713
3678
|
break;
|
|
3714
3679
|
}
|
|
3715
3680
|
if (u.has(h))
|
|
3716
|
-
return this.error(r === "select" ?
|
|
3681
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3717
3682
|
h === "other" && (a = !0), this.bumpSpace();
|
|
3718
3683
|
var b = this.clonePosition();
|
|
3719
3684
|
if (!this.bumpIf("{"))
|
|
3720
|
-
return this.error(r === "select" ?
|
|
3721
|
-
var
|
|
3722
|
-
if (
|
|
3723
|
-
return
|
|
3685
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3686
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3687
|
+
if (d.err)
|
|
3688
|
+
return d;
|
|
3724
3689
|
var g = this.tryParseArgumentClose(b);
|
|
3725
3690
|
if (g.err)
|
|
3726
3691
|
return g;
|
|
3727
|
-
|
|
3692
|
+
o.push([
|
|
3728
3693
|
h,
|
|
3729
3694
|
{
|
|
3730
|
-
value:
|
|
3695
|
+
value: d.val,
|
|
3731
3696
|
location: E(b, this.clonePosition())
|
|
3732
3697
|
}
|
|
3733
|
-
]), u.add(h), this.bumpSpace(),
|
|
3698
|
+
]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
|
|
3734
3699
|
}
|
|
3735
|
-
return
|
|
3700
|
+
return o.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(v.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3736
3701
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3737
|
-
var
|
|
3738
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3739
|
-
for (var
|
|
3740
|
-
var
|
|
3741
|
-
if (
|
|
3742
|
-
|
|
3702
|
+
var n = 1, i = this.clonePosition();
|
|
3703
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3704
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3705
|
+
var o = this.char();
|
|
3706
|
+
if (o >= 48 && o <= 57)
|
|
3707
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
|
3743
3708
|
else
|
|
3744
3709
|
break;
|
|
3745
3710
|
}
|
|
3746
|
-
var u = E(
|
|
3747
|
-
return
|
|
3711
|
+
var u = E(i, this.clonePosition());
|
|
3712
|
+
return s ? (a *= n, ui(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3748
3713
|
}, e.prototype.offset = function() {
|
|
3749
3714
|
return this.position.offset;
|
|
3750
3715
|
}, e.prototype.isEOF = function() {
|
|
@@ -3759,7 +3724,7 @@ var gn = (
|
|
|
3759
3724
|
var t = this.position.offset;
|
|
3760
3725
|
if (t >= this.message.length)
|
|
3761
3726
|
throw Error("out of bound");
|
|
3762
|
-
var r =
|
|
3727
|
+
var r = hr(this.message, t);
|
|
3763
3728
|
if (r === void 0)
|
|
3764
3729
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3765
3730
|
return r;
|
|
@@ -3778,15 +3743,15 @@ var gn = (
|
|
|
3778
3743
|
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);
|
|
3779
3744
|
}
|
|
3780
3745
|
}, e.prototype.bumpIf = function(t) {
|
|
3781
|
-
if (
|
|
3746
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3782
3747
|
for (var r = 0; r < t.length; r++)
|
|
3783
3748
|
this.bump();
|
|
3784
3749
|
return !0;
|
|
3785
3750
|
}
|
|
3786
3751
|
return !1;
|
|
3787
3752
|
}, e.prototype.bumpUntil = function(t) {
|
|
3788
|
-
var r = this.offset(),
|
|
3789
|
-
return
|
|
3753
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3754
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3790
3755
|
}, e.prototype.bumpTo = function(t) {
|
|
3791
3756
|
if (this.offset() > t)
|
|
3792
3757
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
@@ -3800,214 +3765,214 @@ var gn = (
|
|
|
3800
3765
|
break;
|
|
3801
3766
|
}
|
|
3802
3767
|
}, e.prototype.bumpSpace = function() {
|
|
3803
|
-
for (; !this.isEOF() &&
|
|
3768
|
+
for (; !this.isEOF() && fr(this.char()); )
|
|
3804
3769
|
this.bump();
|
|
3805
3770
|
}, e.prototype.peek = function() {
|
|
3806
3771
|
if (this.isEOF())
|
|
3807
3772
|
return null;
|
|
3808
|
-
var t = this.char(), r = this.offset(),
|
|
3809
|
-
return
|
|
3773
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3774
|
+
return n ?? null;
|
|
3810
3775
|
}, e;
|
|
3811
3776
|
}()
|
|
3812
3777
|
);
|
|
3813
|
-
function
|
|
3778
|
+
function Ye(e) {
|
|
3814
3779
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3815
3780
|
}
|
|
3816
|
-
function
|
|
3817
|
-
return
|
|
3781
|
+
function mi(e) {
|
|
3782
|
+
return Ye(e) || e === 47;
|
|
3818
3783
|
}
|
|
3819
|
-
function
|
|
3784
|
+
function di(e) {
|
|
3820
3785
|
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;
|
|
3821
3786
|
}
|
|
3822
|
-
function
|
|
3787
|
+
function fr(e) {
|
|
3823
3788
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3824
3789
|
}
|
|
3825
|
-
function
|
|
3790
|
+
function pi(e) {
|
|
3826
3791
|
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;
|
|
3827
3792
|
}
|
|
3828
|
-
function
|
|
3793
|
+
function Ke(e) {
|
|
3829
3794
|
e.forEach(function(t) {
|
|
3830
|
-
if (delete t.location,
|
|
3795
|
+
if (delete t.location, rr(t) || nr(t))
|
|
3831
3796
|
for (var r in t.options)
|
|
3832
|
-
delete t.options[r].location,
|
|
3797
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
|
3833
3798
|
else
|
|
3834
|
-
|
|
3799
|
+
Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ze(t.style) ? delete t.style.location : ir(t) && Ke(t.children);
|
|
3835
3800
|
});
|
|
3836
3801
|
}
|
|
3837
|
-
function
|
|
3838
|
-
t === void 0 && (t = {}), t =
|
|
3839
|
-
var r = new
|
|
3802
|
+
function gi(e, t) {
|
|
3803
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3804
|
+
var r = new fi(e, t).parse();
|
|
3840
3805
|
if (r.err) {
|
|
3841
|
-
var
|
|
3842
|
-
throw
|
|
3806
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3807
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3843
3808
|
}
|
|
3844
|
-
return t?.captureLocation ||
|
|
3809
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
|
3845
3810
|
}
|
|
3846
|
-
var
|
|
3811
|
+
var ee;
|
|
3847
3812
|
(function(e) {
|
|
3848
3813
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3849
|
-
})(
|
|
3850
|
-
var
|
|
3814
|
+
})(ee || (ee = {}));
|
|
3815
|
+
var Be = (
|
|
3851
3816
|
/** @class */
|
|
3852
3817
|
function(e) {
|
|
3853
|
-
|
|
3854
|
-
function t(r,
|
|
3855
|
-
var
|
|
3856
|
-
return
|
|
3818
|
+
G(t, e);
|
|
3819
|
+
function t(r, n, i) {
|
|
3820
|
+
var s = e.call(this, r) || this;
|
|
3821
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3857
3822
|
}
|
|
3858
3823
|
return t.prototype.toString = function() {
|
|
3859
3824
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3860
3825
|
}, t;
|
|
3861
3826
|
}(Error)
|
|
3862
|
-
),
|
|
3827
|
+
), At = (
|
|
3863
3828
|
/** @class */
|
|
3864
3829
|
function(e) {
|
|
3865
|
-
|
|
3866
|
-
function t(r,
|
|
3867
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(
|
|
3830
|
+
G(t, e);
|
|
3831
|
+
function t(r, n, i, s) {
|
|
3832
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
|
3868
3833
|
}
|
|
3869
3834
|
return t;
|
|
3870
|
-
}(
|
|
3871
|
-
),
|
|
3835
|
+
}(Be)
|
|
3836
|
+
), bi = (
|
|
3872
3837
|
/** @class */
|
|
3873
3838
|
function(e) {
|
|
3874
|
-
|
|
3875
|
-
function t(r,
|
|
3876
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(
|
|
3839
|
+
G(t, e);
|
|
3840
|
+
function t(r, n, i) {
|
|
3841
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3877
3842
|
}
|
|
3878
3843
|
return t;
|
|
3879
|
-
}(
|
|
3880
|
-
),
|
|
3844
|
+
}(Be)
|
|
3845
|
+
), yi = (
|
|
3881
3846
|
/** @class */
|
|
3882
3847
|
function(e) {
|
|
3883
|
-
|
|
3884
|
-
function t(r,
|
|
3885
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(
|
|
3848
|
+
G(t, e);
|
|
3849
|
+
function t(r, n) {
|
|
3850
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3886
3851
|
}
|
|
3887
3852
|
return t;
|
|
3888
|
-
}(
|
|
3889
|
-
),
|
|
3853
|
+
}(Be)
|
|
3854
|
+
), P;
|
|
3890
3855
|
(function(e) {
|
|
3891
3856
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3892
|
-
})(
|
|
3893
|
-
function
|
|
3857
|
+
})(P || (P = {}));
|
|
3858
|
+
function _i(e) {
|
|
3894
3859
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3895
|
-
var
|
|
3896
|
-
return !
|
|
3860
|
+
var n = t[t.length - 1];
|
|
3861
|
+
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3897
3862
|
}, []);
|
|
3898
3863
|
}
|
|
3899
|
-
function
|
|
3864
|
+
function vi(e) {
|
|
3900
3865
|
return typeof e == "function";
|
|
3901
3866
|
}
|
|
3902
|
-
function
|
|
3903
|
-
if (e.length === 1 &&
|
|
3867
|
+
function _e(e, t, r, n, i, s, a) {
|
|
3868
|
+
if (e.length === 1 && Et(e[0]))
|
|
3904
3869
|
return [
|
|
3905
3870
|
{
|
|
3906
|
-
type:
|
|
3871
|
+
type: P.literal,
|
|
3907
3872
|
value: e[0].value
|
|
3908
3873
|
}
|
|
3909
3874
|
];
|
|
3910
|
-
for (var
|
|
3875
|
+
for (var o = [], u = 0, h = e; u < h.length; u++) {
|
|
3911
3876
|
var l = h[u];
|
|
3912
|
-
if (
|
|
3913
|
-
|
|
3914
|
-
type:
|
|
3877
|
+
if (Et(l)) {
|
|
3878
|
+
o.push({
|
|
3879
|
+
type: P.literal,
|
|
3915
3880
|
value: l.value
|
|
3916
3881
|
});
|
|
3917
3882
|
continue;
|
|
3918
3883
|
}
|
|
3919
|
-
if (
|
|
3920
|
-
typeof
|
|
3921
|
-
type:
|
|
3922
|
-
value: r.getNumberFormat(t).format(
|
|
3884
|
+
if (jn(l)) {
|
|
3885
|
+
typeof s == "number" && o.push({
|
|
3886
|
+
type: P.literal,
|
|
3887
|
+
value: r.getNumberFormat(t).format(s)
|
|
3923
3888
|
});
|
|
3924
3889
|
continue;
|
|
3925
3890
|
}
|
|
3926
3891
|
var f = l.value;
|
|
3927
|
-
if (!(
|
|
3928
|
-
throw new
|
|
3929
|
-
var c =
|
|
3930
|
-
if (
|
|
3931
|
-
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""),
|
|
3932
|
-
type: typeof c == "string" ?
|
|
3892
|
+
if (!(i && f in i))
|
|
3893
|
+
throw new yi(f, a);
|
|
3894
|
+
var c = i[f];
|
|
3895
|
+
if (Fn(l)) {
|
|
3896
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3897
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3933
3898
|
value: c
|
|
3934
3899
|
});
|
|
3935
3900
|
continue;
|
|
3936
3901
|
}
|
|
3937
|
-
if (
|
|
3938
|
-
var b = typeof l.style == "string" ?
|
|
3939
|
-
|
|
3940
|
-
type:
|
|
3902
|
+
if (er(l)) {
|
|
3903
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
|
|
3904
|
+
o.push({
|
|
3905
|
+
type: P.literal,
|
|
3941
3906
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3942
3907
|
});
|
|
3943
3908
|
continue;
|
|
3944
3909
|
}
|
|
3945
|
-
if (
|
|
3946
|
-
var b = typeof l.style == "string" ?
|
|
3947
|
-
|
|
3948
|
-
type:
|
|
3910
|
+
if (tr(l)) {
|
|
3911
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3912
|
+
o.push({
|
|
3913
|
+
type: P.literal,
|
|
3949
3914
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3950
3915
|
});
|
|
3951
3916
|
continue;
|
|
3952
3917
|
}
|
|
3953
|
-
if (
|
|
3954
|
-
var b = typeof l.style == "string" ?
|
|
3955
|
-
b && b.scale && (c = c * (b.scale || 1)),
|
|
3956
|
-
type:
|
|
3918
|
+
if (Kt(l)) {
|
|
3919
|
+
var b = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
|
|
3920
|
+
b && b.scale && (c = c * (b.scale || 1)), o.push({
|
|
3921
|
+
type: P.literal,
|
|
3957
3922
|
value: r.getNumberFormat(t, b).format(c)
|
|
3958
3923
|
});
|
|
3959
3924
|
continue;
|
|
3960
3925
|
}
|
|
3961
|
-
if (
|
|
3962
|
-
var
|
|
3963
|
-
if (!
|
|
3964
|
-
throw new
|
|
3965
|
-
var
|
|
3926
|
+
if (ir(l)) {
|
|
3927
|
+
var d = l.children, g = l.value, p = i[g];
|
|
3928
|
+
if (!vi(p))
|
|
3929
|
+
throw new bi(g, "function", a);
|
|
3930
|
+
var _ = _e(d, t, r, n, i, s), T = p(_.map(function(A) {
|
|
3966
3931
|
return A.value;
|
|
3967
3932
|
}));
|
|
3968
|
-
Array.isArray(T) || (T = [T]),
|
|
3933
|
+
Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(A) {
|
|
3969
3934
|
return {
|
|
3970
|
-
type: typeof A == "string" ?
|
|
3935
|
+
type: typeof A == "string" ? P.literal : P.object,
|
|
3971
3936
|
value: A
|
|
3972
3937
|
};
|
|
3973
3938
|
}));
|
|
3974
3939
|
}
|
|
3975
|
-
if (
|
|
3940
|
+
if (rr(l)) {
|
|
3976
3941
|
var S = l.options[c] || l.options.other;
|
|
3977
3942
|
if (!S)
|
|
3978
|
-
throw new
|
|
3979
|
-
|
|
3943
|
+
throw new At(l.value, c, Object.keys(l.options), a);
|
|
3944
|
+
o.push.apply(o, _e(S.value, t, r, n, i));
|
|
3980
3945
|
continue;
|
|
3981
3946
|
}
|
|
3982
|
-
if (
|
|
3947
|
+
if (nr(l)) {
|
|
3983
3948
|
var S = l.options["=".concat(c)];
|
|
3984
3949
|
if (!S) {
|
|
3985
3950
|
if (!Intl.PluralRules)
|
|
3986
|
-
throw new
|
|
3951
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3987
3952
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3988
|
-
`,
|
|
3989
|
-
var
|
|
3990
|
-
S = l.options[
|
|
3953
|
+
`, ee.MISSING_INTL_API, a);
|
|
3954
|
+
var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3955
|
+
S = l.options[I] || l.options.other;
|
|
3991
3956
|
}
|
|
3992
3957
|
if (!S)
|
|
3993
|
-
throw new
|
|
3994
|
-
|
|
3958
|
+
throw new At(l.value, c, Object.keys(l.options), a);
|
|
3959
|
+
o.push.apply(o, _e(S.value, t, r, n, i, c - (l.offset || 0)));
|
|
3995
3960
|
continue;
|
|
3996
3961
|
}
|
|
3997
3962
|
}
|
|
3998
|
-
return
|
|
3963
|
+
return _i(o);
|
|
3999
3964
|
}
|
|
4000
|
-
function
|
|
4001
|
-
return t ?
|
|
4002
|
-
return r[
|
|
3965
|
+
function Ei(e, t) {
|
|
3966
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3967
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
4003
3968
|
}, {})) : e;
|
|
4004
3969
|
}
|
|
4005
|
-
function
|
|
4006
|
-
return t ? Object.keys(e).reduce(function(r,
|
|
4007
|
-
return r[
|
|
4008
|
-
},
|
|
3970
|
+
function xi(e, t) {
|
|
3971
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3972
|
+
return r[n] = Ei(e[n], t[n]), r;
|
|
3973
|
+
}, x({}, e)) : e;
|
|
4009
3974
|
}
|
|
4010
|
-
function
|
|
3975
|
+
function Ue(e) {
|
|
4011
3976
|
return {
|
|
4012
3977
|
create: function() {
|
|
4013
3978
|
return {
|
|
@@ -4021,77 +3986,77 @@ function je(e) {
|
|
|
4021
3986
|
}
|
|
4022
3987
|
};
|
|
4023
3988
|
}
|
|
4024
|
-
function
|
|
3989
|
+
function wi(e) {
|
|
4025
3990
|
return e === void 0 && (e = {
|
|
4026
3991
|
number: {},
|
|
4027
3992
|
dateTime: {},
|
|
4028
3993
|
pluralRules: {}
|
|
4029
3994
|
}), {
|
|
4030
|
-
getNumberFormat:
|
|
4031
|
-
for (var t, r = [],
|
|
4032
|
-
r[
|
|
4033
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3995
|
+
getNumberFormat: Re(function() {
|
|
3996
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3997
|
+
r[n] = arguments[n];
|
|
3998
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
4034
3999
|
}, {
|
|
4035
|
-
cache:
|
|
4036
|
-
strategy:
|
|
4000
|
+
cache: Ue(e.number),
|
|
4001
|
+
strategy: Ge.variadic
|
|
4037
4002
|
}),
|
|
4038
|
-
getDateTimeFormat:
|
|
4039
|
-
for (var t, r = [],
|
|
4040
|
-
r[
|
|
4041
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4003
|
+
getDateTimeFormat: Re(function() {
|
|
4004
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4005
|
+
r[n] = arguments[n];
|
|
4006
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
4042
4007
|
}, {
|
|
4043
|
-
cache:
|
|
4044
|
-
strategy:
|
|
4008
|
+
cache: Ue(e.dateTime),
|
|
4009
|
+
strategy: Ge.variadic
|
|
4045
4010
|
}),
|
|
4046
|
-
getPluralRules:
|
|
4047
|
-
for (var t, r = [],
|
|
4048
|
-
r[
|
|
4049
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4011
|
+
getPluralRules: Re(function() {
|
|
4012
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4013
|
+
r[n] = arguments[n];
|
|
4014
|
+
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
|
4050
4015
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4016
|
+
cache: Ue(e.pluralRules),
|
|
4017
|
+
strategy: Ge.variadic
|
|
4053
4018
|
})
|
|
4054
4019
|
};
|
|
4055
4020
|
}
|
|
4056
|
-
var
|
|
4021
|
+
var Li = (
|
|
4057
4022
|
/** @class */
|
|
4058
4023
|
function() {
|
|
4059
|
-
function e(t, r,
|
|
4024
|
+
function e(t, r, n, i) {
|
|
4060
4025
|
r === void 0 && (r = e.defaultLocale);
|
|
4061
|
-
var
|
|
4026
|
+
var s = this;
|
|
4062
4027
|
if (this.formatterCache = {
|
|
4063
4028
|
number: {},
|
|
4064
4029
|
dateTime: {},
|
|
4065
4030
|
pluralRules: {}
|
|
4066
4031
|
}, this.format = function(u) {
|
|
4067
|
-
var h =
|
|
4032
|
+
var h = s.formatToParts(u);
|
|
4068
4033
|
if (h.length === 1)
|
|
4069
4034
|
return h[0].value;
|
|
4070
4035
|
var l = h.reduce(function(f, c) {
|
|
4071
|
-
return !f.length || c.type !==
|
|
4036
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4072
4037
|
}, []);
|
|
4073
4038
|
return l.length <= 1 ? l[0] || "" : l;
|
|
4074
4039
|
}, this.formatToParts = function(u) {
|
|
4075
|
-
return
|
|
4040
|
+
return _e(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
|
4076
4041
|
}, this.resolvedOptions = function() {
|
|
4077
4042
|
var u;
|
|
4078
4043
|
return {
|
|
4079
|
-
locale: ((u =
|
|
4044
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
4080
4045
|
};
|
|
4081
4046
|
}, this.getAst = function() {
|
|
4082
|
-
return
|
|
4047
|
+
return s.ast;
|
|
4083
4048
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4084
4049
|
if (this.message = t, !e.__parse)
|
|
4085
4050
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4086
|
-
var a =
|
|
4051
|
+
var a = i || {};
|
|
4087
4052
|
a.formatters;
|
|
4088
|
-
var
|
|
4089
|
-
this.ast = e.__parse(t,
|
|
4053
|
+
var o = tn(a, ["formatters"]);
|
|
4054
|
+
this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
|
|
4090
4055
|
} else
|
|
4091
4056
|
this.ast = t;
|
|
4092
4057
|
if (!Array.isArray(this.ast))
|
|
4093
4058
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4094
|
-
this.formats =
|
|
4059
|
+
this.formats = xi(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
|
|
4095
4060
|
}
|
|
4096
4061
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4097
4062
|
get: function() {
|
|
@@ -4104,7 +4069,7 @@ var An = (
|
|
|
4104
4069
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4105
4070
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4106
4071
|
}
|
|
4107
|
-
}, e.__parse =
|
|
4072
|
+
}, e.__parse = gi, e.formats = {
|
|
4108
4073
|
number: {
|
|
4109
4074
|
integer: {
|
|
4110
4075
|
maximumFractionDigits: 0
|
|
@@ -4165,113 +4130,113 @@ var An = (
|
|
|
4165
4130
|
}, e;
|
|
4166
4131
|
}()
|
|
4167
4132
|
);
|
|
4168
|
-
function
|
|
4133
|
+
function Ti(e, t) {
|
|
4169
4134
|
if (t == null)
|
|
4170
4135
|
return;
|
|
4171
4136
|
if (t in e)
|
|
4172
4137
|
return e[t];
|
|
4173
4138
|
const r = t.split(".");
|
|
4174
|
-
let
|
|
4175
|
-
for (let
|
|
4176
|
-
if (typeof
|
|
4177
|
-
if (
|
|
4178
|
-
const
|
|
4179
|
-
if (
|
|
4180
|
-
|
|
4139
|
+
let n = e;
|
|
4140
|
+
for (let i = 0; i < r.length; i++)
|
|
4141
|
+
if (typeof n == "object") {
|
|
4142
|
+
if (i > 0) {
|
|
4143
|
+
const s = r.slice(i, r.length).join(".");
|
|
4144
|
+
if (s in n) {
|
|
4145
|
+
n = n[s];
|
|
4181
4146
|
break;
|
|
4182
4147
|
}
|
|
4183
4148
|
}
|
|
4184
|
-
|
|
4149
|
+
n = n[r[i]];
|
|
4185
4150
|
} else
|
|
4186
|
-
|
|
4187
|
-
return
|
|
4151
|
+
n = void 0;
|
|
4152
|
+
return n;
|
|
4188
4153
|
}
|
|
4189
|
-
const
|
|
4154
|
+
const U = {}, Si = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), mr = (e, t) => {
|
|
4190
4155
|
if (t == null)
|
|
4191
4156
|
return;
|
|
4192
|
-
if (t in
|
|
4193
|
-
return
|
|
4194
|
-
const r =
|
|
4195
|
-
for (let
|
|
4196
|
-
const
|
|
4197
|
-
if (
|
|
4198
|
-
return
|
|
4157
|
+
if (t in U && e in U[t])
|
|
4158
|
+
return U[t][e];
|
|
4159
|
+
const r = Pe(t);
|
|
4160
|
+
for (let n = 0; n < r.length; n++) {
|
|
4161
|
+
const i = r[n], s = Ai(i, e);
|
|
4162
|
+
if (s)
|
|
4163
|
+
return Si(e, t, s);
|
|
4199
4164
|
}
|
|
4200
4165
|
};
|
|
4201
|
-
let
|
|
4202
|
-
const me =
|
|
4203
|
-
function
|
|
4204
|
-
return
|
|
4166
|
+
let st;
|
|
4167
|
+
const me = Ae({});
|
|
4168
|
+
function Hi(e) {
|
|
4169
|
+
return st[e] || null;
|
|
4205
4170
|
}
|
|
4206
|
-
function
|
|
4207
|
-
return e in
|
|
4171
|
+
function dr(e) {
|
|
4172
|
+
return e in st;
|
|
4208
4173
|
}
|
|
4209
|
-
function
|
|
4210
|
-
if (!
|
|
4174
|
+
function Ai(e, t) {
|
|
4175
|
+
if (!dr(e))
|
|
4211
4176
|
return null;
|
|
4212
|
-
const r =
|
|
4213
|
-
return
|
|
4177
|
+
const r = Hi(e);
|
|
4178
|
+
return Ti(r, t);
|
|
4214
4179
|
}
|
|
4215
|
-
function
|
|
4180
|
+
function Bi(e) {
|
|
4216
4181
|
if (e == null)
|
|
4217
4182
|
return;
|
|
4218
|
-
const t =
|
|
4183
|
+
const t = Pe(e);
|
|
4219
4184
|
for (let r = 0; r < t.length; r++) {
|
|
4220
|
-
const
|
|
4221
|
-
if (
|
|
4222
|
-
return
|
|
4185
|
+
const n = t[r];
|
|
4186
|
+
if (dr(n))
|
|
4187
|
+
return n;
|
|
4223
4188
|
}
|
|
4224
4189
|
}
|
|
4225
|
-
function
|
|
4226
|
-
delete
|
|
4190
|
+
function pr(e, ...t) {
|
|
4191
|
+
delete U[e], me.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
|
4227
4192
|
}
|
|
4228
|
-
|
|
4193
|
+
ne(
|
|
4229
4194
|
[me],
|
|
4230
4195
|
([e]) => Object.keys(e)
|
|
4231
4196
|
);
|
|
4232
|
-
me.subscribe((e) =>
|
|
4233
|
-
const
|
|
4234
|
-
function
|
|
4235
|
-
|
|
4197
|
+
me.subscribe((e) => st = e);
|
|
4198
|
+
const ve = {};
|
|
4199
|
+
function Pi(e, t) {
|
|
4200
|
+
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4236
4201
|
}
|
|
4237
|
-
function
|
|
4238
|
-
return
|
|
4202
|
+
function gr(e) {
|
|
4203
|
+
return ve[e];
|
|
4239
4204
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4242
|
-
const r =
|
|
4205
|
+
function Oi(e) {
|
|
4206
|
+
return Pe(e).map((t) => {
|
|
4207
|
+
const r = gr(t);
|
|
4243
4208
|
return [t, r ? [...r] : []];
|
|
4244
4209
|
}).filter(([, t]) => t.length > 0);
|
|
4245
4210
|
}
|
|
4246
|
-
function
|
|
4247
|
-
return e == null ? !1 :
|
|
4211
|
+
function et(e) {
|
|
4212
|
+
return e == null ? !1 : Pe(e).some(
|
|
4248
4213
|
(t) => {
|
|
4249
4214
|
var r;
|
|
4250
|
-
return (r =
|
|
4215
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
|
4251
4216
|
}
|
|
4252
4217
|
);
|
|
4253
4218
|
}
|
|
4254
|
-
function
|
|
4219
|
+
function Mi(e, t) {
|
|
4255
4220
|
return Promise.all(
|
|
4256
|
-
t.map((
|
|
4257
|
-
).then((
|
|
4258
|
-
}
|
|
4259
|
-
const
|
|
4260
|
-
function
|
|
4261
|
-
if (!
|
|
4262
|
-
return e in
|
|
4263
|
-
const t =
|
|
4264
|
-
return
|
|
4221
|
+
t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
|
|
4222
|
+
).then((n) => pr(e, ...n));
|
|
4223
|
+
}
|
|
4224
|
+
const ae = {};
|
|
4225
|
+
function br(e) {
|
|
4226
|
+
if (!et(e))
|
|
4227
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4228
|
+
const t = Oi(e);
|
|
4229
|
+
return ae[e] = Promise.all(
|
|
4265
4230
|
t.map(
|
|
4266
|
-
([r,
|
|
4231
|
+
([r, n]) => Mi(r, n)
|
|
4267
4232
|
)
|
|
4268
4233
|
).then(() => {
|
|
4269
|
-
if (
|
|
4270
|
-
return
|
|
4271
|
-
delete
|
|
4272
|
-
}),
|
|
4234
|
+
if (et(e))
|
|
4235
|
+
return br(e);
|
|
4236
|
+
delete ae[e];
|
|
4237
|
+
}), ae[e];
|
|
4273
4238
|
}
|
|
4274
|
-
const
|
|
4239
|
+
const Ii = {
|
|
4275
4240
|
number: {
|
|
4276
4241
|
scientific: { notation: "scientific" },
|
|
4277
4242
|
engineering: { notation: "engineering" },
|
|
@@ -4300,140 +4265,140 @@ const Gn = {
|
|
|
4300
4265
|
timeZoneName: "short"
|
|
4301
4266
|
}
|
|
4302
4267
|
}
|
|
4303
|
-
},
|
|
4268
|
+
}, Ni = {
|
|
4304
4269
|
fallbackLocale: null,
|
|
4305
4270
|
loadingDelay: 200,
|
|
4306
|
-
formats:
|
|
4271
|
+
formats: Ii,
|
|
4307
4272
|
warnOnMissingMessages: !0,
|
|
4308
4273
|
handleMissingMessage: void 0,
|
|
4309
4274
|
ignoreTag: !0
|
|
4310
|
-
},
|
|
4311
|
-
function
|
|
4312
|
-
return
|
|
4313
|
-
}
|
|
4314
|
-
const
|
|
4315
|
-
var
|
|
4316
|
-
for (var r in t
|
|
4317
|
-
|
|
4318
|
-
if (
|
|
4319
|
-
for (var r of
|
|
4320
|
-
|
|
4275
|
+
}, Ci = Ni;
|
|
4276
|
+
function te() {
|
|
4277
|
+
return Ci;
|
|
4278
|
+
}
|
|
4279
|
+
const $e = Ae(!1);
|
|
4280
|
+
var Ri = Object.defineProperty, Gi = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
|
|
4281
|
+
for (var r in t)
|
|
4282
|
+
Ui.call(t, r) && Pt(e, r, t[r]);
|
|
4283
|
+
if (Bt)
|
|
4284
|
+
for (var r of Bt(t))
|
|
4285
|
+
$i.call(t, r) && Pt(e, r, t[r]);
|
|
4321
4286
|
return e;
|
|
4322
|
-
},
|
|
4323
|
-
let
|
|
4324
|
-
const
|
|
4325
|
-
function
|
|
4326
|
-
return e.split("-").map((t, r,
|
|
4287
|
+
}, ji = (e, t) => Gi(e, Di(t));
|
|
4288
|
+
let tt;
|
|
4289
|
+
const Le = Ae(null);
|
|
4290
|
+
function Ot(e) {
|
|
4291
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4327
4292
|
}
|
|
4328
|
-
function
|
|
4329
|
-
const r =
|
|
4330
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4293
|
+
function Pe(e, t = te().fallbackLocale) {
|
|
4294
|
+
const r = Ot(e);
|
|
4295
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4331
4296
|
}
|
|
4332
4297
|
function j() {
|
|
4333
|
-
return
|
|
4298
|
+
return tt ?? void 0;
|
|
4334
4299
|
}
|
|
4335
|
-
|
|
4336
|
-
|
|
4300
|
+
Le.subscribe((e) => {
|
|
4301
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4337
4302
|
});
|
|
4338
|
-
const
|
|
4339
|
-
if (e &&
|
|
4340
|
-
const { loadingDelay: t } =
|
|
4303
|
+
const ki = (e) => {
|
|
4304
|
+
if (e && Bi(e) && et(e)) {
|
|
4305
|
+
const { loadingDelay: t } = te();
|
|
4341
4306
|
let r;
|
|
4342
4307
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
4343
|
-
() =>
|
|
4308
|
+
() => $e.set(!0),
|
|
4344
4309
|
t
|
|
4345
|
-
) :
|
|
4346
|
-
|
|
4310
|
+
) : $e.set(!0), br(e).then(() => {
|
|
4311
|
+
Le.set(e);
|
|
4347
4312
|
}).finally(() => {
|
|
4348
|
-
clearTimeout(r),
|
|
4313
|
+
clearTimeout(r), $e.set(!1);
|
|
4349
4314
|
});
|
|
4350
4315
|
}
|
|
4351
|
-
return
|
|
4352
|
-
}, ie =
|
|
4353
|
-
set:
|
|
4354
|
-
}),
|
|
4316
|
+
return Le.set(e);
|
|
4317
|
+
}, ie = ji(Fi({}, Le), {
|
|
4318
|
+
set: ki
|
|
4319
|
+
}), Oe = (e) => {
|
|
4355
4320
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4356
|
-
return (
|
|
4357
|
-
const
|
|
4358
|
-
return
|
|
4321
|
+
return (n) => {
|
|
4322
|
+
const i = JSON.stringify(n);
|
|
4323
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4359
4324
|
};
|
|
4360
4325
|
};
|
|
4361
|
-
var
|
|
4326
|
+
var Vi = Object.defineProperty, Te = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4362
4327
|
for (var r in t || (t = {}))
|
|
4363
|
-
|
|
4364
|
-
if (
|
|
4365
|
-
for (var r of
|
|
4366
|
-
|
|
4328
|
+
yr.call(t, r) && Mt(e, r, t[r]);
|
|
4329
|
+
if (Te)
|
|
4330
|
+
for (var r of Te(t))
|
|
4331
|
+
_r.call(t, r) && Mt(e, r, t[r]);
|
|
4367
4332
|
return e;
|
|
4368
|
-
},
|
|
4333
|
+
}, se = (e, t) => {
|
|
4369
4334
|
var r = {};
|
|
4370
|
-
for (var
|
|
4371
|
-
|
|
4372
|
-
if (e != null &&
|
|
4373
|
-
for (var
|
|
4374
|
-
t.indexOf(
|
|
4335
|
+
for (var n in e)
|
|
4336
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4337
|
+
if (e != null && Te)
|
|
4338
|
+
for (var n of Te(e))
|
|
4339
|
+
t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
|
|
4375
4340
|
return r;
|
|
4376
4341
|
};
|
|
4377
|
-
const
|
|
4378
|
-
const { formats: r } =
|
|
4342
|
+
const fe = (e, t) => {
|
|
4343
|
+
const { formats: r } = te();
|
|
4379
4344
|
if (e in r && t in r[e])
|
|
4380
4345
|
return r[e][t];
|
|
4381
4346
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4382
|
-
},
|
|
4347
|
+
}, Xi = Oe(
|
|
4383
4348
|
(e) => {
|
|
4384
|
-
var t = e, { locale: r, format:
|
|
4349
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4385
4350
|
if (r == null)
|
|
4386
4351
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4387
|
-
return
|
|
4352
|
+
return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4388
4353
|
}
|
|
4389
|
-
),
|
|
4354
|
+
), Wi = Oe(
|
|
4390
4355
|
(e) => {
|
|
4391
|
-
var t = e, { locale: r, format:
|
|
4356
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4392
4357
|
if (r == null)
|
|
4393
4358
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4394
|
-
return
|
|
4359
|
+
return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4395
4360
|
}
|
|
4396
|
-
),
|
|
4361
|
+
), zi = Oe(
|
|
4397
4362
|
(e) => {
|
|
4398
|
-
var t = e, { locale: r, format:
|
|
4363
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4399
4364
|
if (r == null)
|
|
4400
4365
|
throw new Error(
|
|
4401
4366
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4402
4367
|
);
|
|
4403
|
-
return
|
|
4368
|
+
return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4404
4369
|
}
|
|
4405
|
-
),
|
|
4370
|
+
), Zi = (e = {}) => {
|
|
4406
4371
|
var t = e, {
|
|
4407
4372
|
locale: r = j()
|
|
4408
|
-
} = t,
|
|
4373
|
+
} = t, n = se(t, [
|
|
4409
4374
|
"locale"
|
|
4410
4375
|
]);
|
|
4411
|
-
return
|
|
4412
|
-
},
|
|
4376
|
+
return Xi(ot({ locale: r }, n));
|
|
4377
|
+
}, Qi = (e = {}) => {
|
|
4413
4378
|
var t = e, {
|
|
4414
4379
|
locale: r = j()
|
|
4415
|
-
} = t,
|
|
4380
|
+
} = t, n = se(t, [
|
|
4416
4381
|
"locale"
|
|
4417
4382
|
]);
|
|
4418
|
-
return
|
|
4419
|
-
},
|
|
4383
|
+
return Wi(ot({ locale: r }, n));
|
|
4384
|
+
}, qi = (e = {}) => {
|
|
4420
4385
|
var t = e, {
|
|
4421
4386
|
locale: r = j()
|
|
4422
|
-
} = t,
|
|
4387
|
+
} = t, n = se(t, [
|
|
4423
4388
|
"locale"
|
|
4424
4389
|
]);
|
|
4425
|
-
return
|
|
4426
|
-
},
|
|
4390
|
+
return zi(ot({ locale: r }, n));
|
|
4391
|
+
}, Ji = Oe(
|
|
4427
4392
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4428
|
-
(e, t = j()) => new
|
|
4429
|
-
ignoreTag:
|
|
4393
|
+
(e, t = j()) => new Li(e, t, te().formats, {
|
|
4394
|
+
ignoreTag: te().ignoreTag
|
|
4430
4395
|
})
|
|
4431
|
-
),
|
|
4432
|
-
var r,
|
|
4396
|
+
), Yi = (e, t = {}) => {
|
|
4397
|
+
var r, n, i, s;
|
|
4433
4398
|
let a = t;
|
|
4434
4399
|
typeof e == "object" && (a = e, e = a.id);
|
|
4435
4400
|
const {
|
|
4436
|
-
values:
|
|
4401
|
+
values: o,
|
|
4437
4402
|
locale: u = j(),
|
|
4438
4403
|
default: h
|
|
4439
4404
|
} = a;
|
|
@@ -4441,18 +4406,18 @@ const ce = (e, t) => {
|
|
|
4441
4406
|
throw new Error(
|
|
4442
4407
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4443
4408
|
);
|
|
4444
|
-
let l =
|
|
4409
|
+
let l = mr(e, u);
|
|
4445
4410
|
if (!l)
|
|
4446
|
-
l = (
|
|
4411
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
|
4447
4412
|
else if (typeof l != "string")
|
|
4448
4413
|
return console.warn(
|
|
4449
4414
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4450
4415
|
), l;
|
|
4451
|
-
if (!
|
|
4416
|
+
if (!o)
|
|
4452
4417
|
return l;
|
|
4453
4418
|
let f = l;
|
|
4454
4419
|
try {
|
|
4455
|
-
f =
|
|
4420
|
+
f = Ji(l, u).format(o);
|
|
4456
4421
|
} catch (c) {
|
|
4457
4422
|
c instanceof Error && console.warn(
|
|
4458
4423
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4460,20 +4425,20 @@ const ce = (e, t) => {
|
|
|
4460
4425
|
);
|
|
4461
4426
|
}
|
|
4462
4427
|
return f;
|
|
4463
|
-
},
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
window.emWidgets = { topic:
|
|
4469
|
-
const
|
|
4470
|
-
function
|
|
4471
|
-
|
|
4472
|
-
}
|
|
4473
|
-
function
|
|
4428
|
+
}, Ki = (e, t) => qi(t).format(e), es = (e, t) => Qi(t).format(e), ts = (e, t) => Zi(t).format(e), rs = (e, t = j()) => mr(e, t), ns = ne([ie, me], () => Yi);
|
|
4429
|
+
ne([ie], () => Ki);
|
|
4430
|
+
ne([ie], () => es);
|
|
4431
|
+
ne([ie], () => ts);
|
|
4432
|
+
ne([ie, me], () => rs);
|
|
4433
|
+
window.emWidgets = { topic: gn };
|
|
4434
|
+
const is = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4435
|
+
function It(e, t) {
|
|
4436
|
+
pr(e, t);
|
|
4437
|
+
}
|
|
4438
|
+
function ss(e) {
|
|
4474
4439
|
ie.set(e);
|
|
4475
4440
|
}
|
|
4476
|
-
const
|
|
4441
|
+
const Nt = {
|
|
4477
4442
|
en: {
|
|
4478
4443
|
returnToMenu: "Return to menu",
|
|
4479
4444
|
gamingLimitsText: "Gaming limits",
|
|
@@ -4563,26 +4528,26 @@ const $t = {
|
|
|
4563
4528
|
lossLimit: "Loss Limit"
|
|
4564
4529
|
}
|
|
4565
4530
|
};
|
|
4566
|
-
function
|
|
4531
|
+
function os(e, t) {
|
|
4567
4532
|
if (e) {
|
|
4568
4533
|
const r = document.createElement("style");
|
|
4569
4534
|
r.innerHTML = t, e.appendChild(r);
|
|
4570
4535
|
}
|
|
4571
4536
|
}
|
|
4572
|
-
function
|
|
4537
|
+
function as(e, t) {
|
|
4573
4538
|
const r = new URL(t);
|
|
4574
|
-
fetch(r.href).then((
|
|
4575
|
-
const
|
|
4576
|
-
|
|
4577
|
-
}).catch((
|
|
4578
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4539
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4540
|
+
const i = document.createElement("style");
|
|
4541
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4542
|
+
}).catch((n) => {
|
|
4543
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4579
4544
|
});
|
|
4580
4545
|
}
|
|
4581
|
-
function
|
|
4546
|
+
function us(e, t, r) {
|
|
4582
4547
|
if (window.emMessageBus) {
|
|
4583
|
-
const
|
|
4584
|
-
window.emMessageBus.subscribe(t, (
|
|
4585
|
-
|
|
4548
|
+
const n = document.createElement("style");
|
|
4549
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4550
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4586
4551
|
});
|
|
4587
4552
|
}
|
|
4588
4553
|
}
|
|
@@ -4591,24 +4556,24 @@ if (typeof window < "u") {
|
|
|
4591
4556
|
return function(...r) {
|
|
4592
4557
|
try {
|
|
4593
4558
|
return t.apply(this, r);
|
|
4594
|
-
} catch (
|
|
4595
|
-
if (
|
|
4559
|
+
} catch (n) {
|
|
4560
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
4596
4561
|
return !1;
|
|
4597
|
-
throw
|
|
4562
|
+
throw n;
|
|
4598
4563
|
}
|
|
4599
4564
|
};
|
|
4600
4565
|
};
|
|
4601
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
4566
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-BUt4LvKE.js").then(({ default: t }) => {
|
|
4602
4567
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
4603
4568
|
"player-account-gaming-limits-info-card",
|
|
4604
4569
|
t.element
|
|
4605
4570
|
);
|
|
4606
4571
|
});
|
|
4607
4572
|
}
|
|
4608
|
-
function
|
|
4609
|
-
|
|
4573
|
+
function ls(e) {
|
|
4574
|
+
Br(e, "svelte-pgwzq8", '.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4610
4575
|
}
|
|
4611
|
-
function
|
|
4576
|
+
function hs(e) {
|
|
4612
4577
|
let t;
|
|
4613
4578
|
return {
|
|
4614
4579
|
c() {
|
|
@@ -4664,65 +4629,65 @@ function po(e) {
|
|
|
4664
4629
|
e[11]
|
|
4665
4630
|
);
|
|
4666
4631
|
},
|
|
4667
|
-
m(r,
|
|
4668
|
-
|
|
4632
|
+
m(r, n) {
|
|
4633
|
+
re(r, t, n);
|
|
4669
4634
|
},
|
|
4670
|
-
p(r,
|
|
4671
|
-
|
|
4635
|
+
p(r, n) {
|
|
4636
|
+
n & /*editLimitData*/
|
|
4672
4637
|
16384 && m(
|
|
4673
4638
|
t,
|
|
4674
4639
|
"limitsdata",
|
|
4675
4640
|
/*editLimitData*/
|
|
4676
4641
|
r[14]
|
|
4677
|
-
),
|
|
4642
|
+
), n & /*editLimitName*/
|
|
4678
4643
|
32768 && m(
|
|
4679
4644
|
t,
|
|
4680
4645
|
"limitname",
|
|
4681
4646
|
/*editLimitName*/
|
|
4682
4647
|
r[15]
|
|
4683
|
-
),
|
|
4648
|
+
), n & /*showsuccessnotification*/
|
|
4684
4649
|
128 && m(
|
|
4685
4650
|
t,
|
|
4686
4651
|
"showsuccessnotification",
|
|
4687
4652
|
/*showsuccessnotification*/
|
|
4688
4653
|
r[7]
|
|
4689
|
-
),
|
|
4654
|
+
), n & /*showdeletenotification*/
|
|
4690
4655
|
64 && m(
|
|
4691
4656
|
t,
|
|
4692
4657
|
"showdeletenotification",
|
|
4693
4658
|
/*showdeletenotification*/
|
|
4694
4659
|
r[6]
|
|
4695
|
-
),
|
|
4660
|
+
), n & /*currency*/
|
|
4696
4661
|
32 && m(
|
|
4697
4662
|
t,
|
|
4698
4663
|
"currency",
|
|
4699
4664
|
/*currency*/
|
|
4700
4665
|
r[5]
|
|
4701
|
-
),
|
|
4666
|
+
), n & /*lang*/
|
|
4702
4667
|
1 && m(
|
|
4703
4668
|
t,
|
|
4704
4669
|
"lang",
|
|
4705
4670
|
/*lang*/
|
|
4706
4671
|
r[0]
|
|
4707
|
-
),
|
|
4672
|
+
), n & /*separatelimits*/
|
|
4708
4673
|
256 && m(
|
|
4709
4674
|
t,
|
|
4710
4675
|
"separatelimits",
|
|
4711
4676
|
/*separatelimits*/
|
|
4712
4677
|
r[8]
|
|
4713
|
-
),
|
|
4678
|
+
), n & /*clientstyling*/
|
|
4714
4679
|
512 && m(
|
|
4715
4680
|
t,
|
|
4716
4681
|
"clientstyling",
|
|
4717
4682
|
/*clientstyling*/
|
|
4718
4683
|
r[9]
|
|
4719
|
-
),
|
|
4684
|
+
), n & /*clientstylingurl*/
|
|
4720
4685
|
1024 && m(
|
|
4721
4686
|
t,
|
|
4722
4687
|
"clientstylingurl",
|
|
4723
4688
|
/*clientstylingurl*/
|
|
4724
4689
|
r[10]
|
|
4725
|
-
),
|
|
4690
|
+
), n & /*mbsource*/
|
|
4726
4691
|
2048 && m(
|
|
4727
4692
|
t,
|
|
4728
4693
|
"mbsource",
|
|
@@ -4731,27 +4696,27 @@ function po(e) {
|
|
|
4731
4696
|
);
|
|
4732
4697
|
},
|
|
4733
4698
|
d(r) {
|
|
4734
|
-
r &&
|
|
4699
|
+
r && $(t);
|
|
4735
4700
|
}
|
|
4736
4701
|
};
|
|
4737
4702
|
}
|
|
4738
|
-
function
|
|
4739
|
-
let t, r,
|
|
4703
|
+
function cs(e) {
|
|
4704
|
+
let t, r, n, i = (
|
|
4740
4705
|
/*$_*/
|
|
4741
4706
|
e[17]("gamingLimitsText") + ""
|
|
4742
|
-
),
|
|
4707
|
+
), s, a, o, u, h, l, f, c, b, d, g = (
|
|
4743
4708
|
/*isMobile*/
|
|
4744
|
-
e[18] &&
|
|
4709
|
+
e[18] && ms(e)
|
|
4745
4710
|
);
|
|
4746
4711
|
return {
|
|
4747
4712
|
c() {
|
|
4748
|
-
t = O("div"), g && g.c(), r = z(),
|
|
4713
|
+
t = O("div"), g && g.c(), r = z(), n = O("h2"), s = le(i), a = z(), o = O("div"), u = O("player-account-gaming-limits-info-card"), h = z(), l = O("player-account-gaming-limits-info-card"), f = z(), c = O("player-account-gaming-limits-info-card"), b = z(), d = O("player-account-gaming-limits-info-card"), H(n, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
|
|
4749
4714
|
(e[18] ? "PlayerGamingLimitsTitleNone" : "")), m(
|
|
4750
4715
|
u,
|
|
4751
4716
|
"limitsdata",
|
|
4752
4717
|
/*depositlimit*/
|
|
4753
4718
|
e[1]
|
|
4754
|
-
), m(u, "limitname",
|
|
4719
|
+
), m(u, "limitname", ps), m(
|
|
4755
4720
|
u,
|
|
4756
4721
|
"currency",
|
|
4757
4722
|
/*currency*/
|
|
@@ -4781,7 +4746,7 @@ function go(e) {
|
|
|
4781
4746
|
"limitsdata",
|
|
4782
4747
|
/*wageringlimit*/
|
|
4783
4748
|
e[2]
|
|
4784
|
-
), m(l, "limitname",
|
|
4749
|
+
), m(l, "limitname", gs), m(
|
|
4785
4750
|
l,
|
|
4786
4751
|
"currency",
|
|
4787
4752
|
/*currency*/
|
|
@@ -4811,7 +4776,7 @@ function go(e) {
|
|
|
4811
4776
|
"limitsdata",
|
|
4812
4777
|
/*losslimit*/
|
|
4813
4778
|
e[3]
|
|
4814
|
-
), m(c, "limitname",
|
|
4779
|
+
), m(c, "limitname", bs), m(
|
|
4815
4780
|
c,
|
|
4816
4781
|
"currency",
|
|
4817
4782
|
/*currency*/
|
|
@@ -4837,287 +4802,287 @@ function go(e) {
|
|
|
4837
4802
|
/*mbsource*/
|
|
4838
4803
|
e[11]
|
|
4839
4804
|
), m(
|
|
4840
|
-
|
|
4805
|
+
d,
|
|
4841
4806
|
"limitsdata",
|
|
4842
4807
|
/*timelimit*/
|
|
4843
4808
|
e[4]
|
|
4844
|
-
), m(
|
|
4845
|
-
|
|
4809
|
+
), m(d, "limitname", ys), m(
|
|
4810
|
+
d,
|
|
4846
4811
|
"currency",
|
|
4847
4812
|
/*currency*/
|
|
4848
4813
|
e[5]
|
|
4849
4814
|
), m(
|
|
4850
|
-
|
|
4815
|
+
d,
|
|
4851
4816
|
"lang",
|
|
4852
4817
|
/*lang*/
|
|
4853
4818
|
e[0]
|
|
4854
4819
|
), m(
|
|
4855
|
-
|
|
4820
|
+
d,
|
|
4856
4821
|
"clientstyling",
|
|
4857
4822
|
/*clientstyling*/
|
|
4858
4823
|
e[9]
|
|
4859
4824
|
), m(
|
|
4860
|
-
|
|
4825
|
+
d,
|
|
4861
4826
|
"clientstylingurl",
|
|
4862
4827
|
/*clientstylingurl*/
|
|
4863
4828
|
e[10]
|
|
4864
4829
|
), m(
|
|
4865
|
-
|
|
4830
|
+
d,
|
|
4866
4831
|
"mbsource",
|
|
4867
4832
|
/*mbsource*/
|
|
4868
4833
|
e[11]
|
|
4869
|
-
), H(
|
|
4834
|
+
), H(o, "class", "PlayerAccountGamingLimitsContainer"), H(t, "class", "PlayerAccountGamingLimitsWrapper " + /*isMobile*/
|
|
4870
4835
|
(e[18] ? "PlayerAccountMobileGamingLimitsWrapper" : ""));
|
|
4871
4836
|
},
|
|
4872
|
-
m(
|
|
4873
|
-
|
|
4837
|
+
m(p, _) {
|
|
4838
|
+
re(p, t, _), g && g.m(t, null), L(t, r), L(t, n), L(n, s), L(t, a), L(t, o), L(o, u), L(o, h), L(o, l), L(o, f), L(o, c), L(o, b), L(o, d);
|
|
4874
4839
|
},
|
|
4875
|
-
p(
|
|
4840
|
+
p(p, _) {
|
|
4876
4841
|
/*isMobile*/
|
|
4877
|
-
|
|
4878
|
-
131072 &&
|
|
4879
|
-
|
|
4842
|
+
p[18] && g.p(p, _), _ & /*$_*/
|
|
4843
|
+
131072 && i !== (i = /*$_*/
|
|
4844
|
+
p[17]("gamingLimitsText") + "") && jt(s, i), _ & /*depositlimit*/
|
|
4880
4845
|
2 && m(
|
|
4881
4846
|
u,
|
|
4882
4847
|
"limitsdata",
|
|
4883
4848
|
/*depositlimit*/
|
|
4884
|
-
|
|
4885
|
-
),
|
|
4849
|
+
p[1]
|
|
4850
|
+
), _ & /*currency*/
|
|
4886
4851
|
32 && m(
|
|
4887
4852
|
u,
|
|
4888
4853
|
"currency",
|
|
4889
4854
|
/*currency*/
|
|
4890
|
-
|
|
4891
|
-
),
|
|
4855
|
+
p[5]
|
|
4856
|
+
), _ & /*lang*/
|
|
4892
4857
|
1 && m(
|
|
4893
4858
|
u,
|
|
4894
4859
|
"lang",
|
|
4895
4860
|
/*lang*/
|
|
4896
|
-
|
|
4897
|
-
),
|
|
4861
|
+
p[0]
|
|
4862
|
+
), _ & /*clientstyling*/
|
|
4898
4863
|
512 && m(
|
|
4899
4864
|
u,
|
|
4900
4865
|
"clientstyling",
|
|
4901
4866
|
/*clientstyling*/
|
|
4902
|
-
|
|
4903
|
-
),
|
|
4867
|
+
p[9]
|
|
4868
|
+
), _ & /*clientstylingurl*/
|
|
4904
4869
|
1024 && m(
|
|
4905
4870
|
u,
|
|
4906
4871
|
"clientstylingurl",
|
|
4907
4872
|
/*clientstylingurl*/
|
|
4908
|
-
|
|
4909
|
-
),
|
|
4873
|
+
p[10]
|
|
4874
|
+
), _ & /*mbsource*/
|
|
4910
4875
|
2048 && m(
|
|
4911
4876
|
u,
|
|
4912
4877
|
"mbsource",
|
|
4913
4878
|
/*mbsource*/
|
|
4914
|
-
|
|
4915
|
-
),
|
|
4879
|
+
p[11]
|
|
4880
|
+
), _ & /*wageringlimit*/
|
|
4916
4881
|
4 && m(
|
|
4917
4882
|
l,
|
|
4918
4883
|
"limitsdata",
|
|
4919
4884
|
/*wageringlimit*/
|
|
4920
|
-
|
|
4921
|
-
),
|
|
4885
|
+
p[2]
|
|
4886
|
+
), _ & /*currency*/
|
|
4922
4887
|
32 && m(
|
|
4923
4888
|
l,
|
|
4924
4889
|
"currency",
|
|
4925
4890
|
/*currency*/
|
|
4926
|
-
|
|
4927
|
-
),
|
|
4891
|
+
p[5]
|
|
4892
|
+
), _ & /*lang*/
|
|
4928
4893
|
1 && m(
|
|
4929
4894
|
l,
|
|
4930
4895
|
"lang",
|
|
4931
4896
|
/*lang*/
|
|
4932
|
-
|
|
4933
|
-
),
|
|
4897
|
+
p[0]
|
|
4898
|
+
), _ & /*clientstyling*/
|
|
4934
4899
|
512 && m(
|
|
4935
4900
|
l,
|
|
4936
4901
|
"clientstyling",
|
|
4937
4902
|
/*clientstyling*/
|
|
4938
|
-
|
|
4939
|
-
),
|
|
4903
|
+
p[9]
|
|
4904
|
+
), _ & /*clientstylingurl*/
|
|
4940
4905
|
1024 && m(
|
|
4941
4906
|
l,
|
|
4942
4907
|
"clientstylingurl",
|
|
4943
4908
|
/*clientstylingurl*/
|
|
4944
|
-
|
|
4945
|
-
),
|
|
4909
|
+
p[10]
|
|
4910
|
+
), _ & /*mbsource*/
|
|
4946
4911
|
2048 && m(
|
|
4947
4912
|
l,
|
|
4948
4913
|
"mbsource",
|
|
4949
4914
|
/*mbsource*/
|
|
4950
|
-
|
|
4951
|
-
),
|
|
4915
|
+
p[11]
|
|
4916
|
+
), _ & /*losslimit*/
|
|
4952
4917
|
8 && m(
|
|
4953
4918
|
c,
|
|
4954
4919
|
"limitsdata",
|
|
4955
4920
|
/*losslimit*/
|
|
4956
|
-
|
|
4957
|
-
),
|
|
4921
|
+
p[3]
|
|
4922
|
+
), _ & /*currency*/
|
|
4958
4923
|
32 && m(
|
|
4959
4924
|
c,
|
|
4960
4925
|
"currency",
|
|
4961
4926
|
/*currency*/
|
|
4962
|
-
|
|
4963
|
-
),
|
|
4927
|
+
p[5]
|
|
4928
|
+
), _ & /*lang*/
|
|
4964
4929
|
1 && m(
|
|
4965
4930
|
c,
|
|
4966
4931
|
"lang",
|
|
4967
4932
|
/*lang*/
|
|
4968
|
-
|
|
4969
|
-
),
|
|
4933
|
+
p[0]
|
|
4934
|
+
), _ & /*clientstyling*/
|
|
4970
4935
|
512 && m(
|
|
4971
4936
|
c,
|
|
4972
4937
|
"clientstyling",
|
|
4973
4938
|
/*clientstyling*/
|
|
4974
|
-
|
|
4975
|
-
),
|
|
4939
|
+
p[9]
|
|
4940
|
+
), _ & /*clientstylingurl*/
|
|
4976
4941
|
1024 && m(
|
|
4977
4942
|
c,
|
|
4978
4943
|
"clientstylingurl",
|
|
4979
4944
|
/*clientstylingurl*/
|
|
4980
|
-
|
|
4981
|
-
),
|
|
4945
|
+
p[10]
|
|
4946
|
+
), _ & /*mbsource*/
|
|
4982
4947
|
2048 && m(
|
|
4983
4948
|
c,
|
|
4984
4949
|
"mbsource",
|
|
4985
4950
|
/*mbsource*/
|
|
4986
|
-
|
|
4987
|
-
),
|
|
4951
|
+
p[11]
|
|
4952
|
+
), _ & /*timelimit*/
|
|
4988
4953
|
16 && m(
|
|
4989
|
-
|
|
4954
|
+
d,
|
|
4990
4955
|
"limitsdata",
|
|
4991
4956
|
/*timelimit*/
|
|
4992
|
-
|
|
4993
|
-
),
|
|
4957
|
+
p[4]
|
|
4958
|
+
), _ & /*currency*/
|
|
4994
4959
|
32 && m(
|
|
4995
|
-
|
|
4960
|
+
d,
|
|
4996
4961
|
"currency",
|
|
4997
4962
|
/*currency*/
|
|
4998
|
-
|
|
4999
|
-
),
|
|
4963
|
+
p[5]
|
|
4964
|
+
), _ & /*lang*/
|
|
5000
4965
|
1 && m(
|
|
5001
|
-
|
|
4966
|
+
d,
|
|
5002
4967
|
"lang",
|
|
5003
4968
|
/*lang*/
|
|
5004
|
-
|
|
5005
|
-
),
|
|
4969
|
+
p[0]
|
|
4970
|
+
), _ & /*clientstyling*/
|
|
5006
4971
|
512 && m(
|
|
5007
|
-
|
|
4972
|
+
d,
|
|
5008
4973
|
"clientstyling",
|
|
5009
4974
|
/*clientstyling*/
|
|
5010
|
-
|
|
5011
|
-
),
|
|
4975
|
+
p[9]
|
|
4976
|
+
), _ & /*clientstylingurl*/
|
|
5012
4977
|
1024 && m(
|
|
5013
|
-
|
|
4978
|
+
d,
|
|
5014
4979
|
"clientstylingurl",
|
|
5015
4980
|
/*clientstylingurl*/
|
|
5016
|
-
|
|
5017
|
-
),
|
|
4981
|
+
p[10]
|
|
4982
|
+
), _ & /*mbsource*/
|
|
5018
4983
|
2048 && m(
|
|
5019
|
-
|
|
4984
|
+
d,
|
|
5020
4985
|
"mbsource",
|
|
5021
4986
|
/*mbsource*/
|
|
5022
|
-
|
|
4987
|
+
p[11]
|
|
5023
4988
|
);
|
|
5024
4989
|
},
|
|
5025
|
-
d(
|
|
5026
|
-
|
|
4990
|
+
d(p) {
|
|
4991
|
+
p && $(t), g && g.d();
|
|
5027
4992
|
}
|
|
5028
4993
|
};
|
|
5029
4994
|
}
|
|
5030
|
-
function
|
|
4995
|
+
function fs(e) {
|
|
5031
4996
|
let t;
|
|
5032
4997
|
return {
|
|
5033
4998
|
c() {
|
|
5034
4999
|
t = O("div"), H(t, "class", "ModalLoader");
|
|
5035
5000
|
},
|
|
5036
|
-
m(r,
|
|
5037
|
-
|
|
5001
|
+
m(r, n) {
|
|
5002
|
+
re(r, t, n);
|
|
5038
5003
|
},
|
|
5039
|
-
p:
|
|
5004
|
+
p: M,
|
|
5040
5005
|
d(r) {
|
|
5041
|
-
r &&
|
|
5006
|
+
r && $(t);
|
|
5042
5007
|
}
|
|
5043
5008
|
};
|
|
5044
5009
|
}
|
|
5045
|
-
function
|
|
5046
|
-
let t, r,
|
|
5010
|
+
function ms(e) {
|
|
5011
|
+
let t, r, n, i, s, a, o, u, h, l, f = (
|
|
5047
5012
|
/*$_*/
|
|
5048
5013
|
e[17]("gamingLimitsText") + ""
|
|
5049
|
-
), c, b,
|
|
5014
|
+
), c, b, d;
|
|
5050
5015
|
return {
|
|
5051
5016
|
c() {
|
|
5052
|
-
t = O("div"), r = V("svg"),
|
|
5017
|
+
t = O("div"), r = V("svg"), n = V("defs"), i = V("style"), s = le(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = V("g"), o = V("g"), u = V("path"), h = z(), l = O("h2"), c = le(f), H(u, "class", "aaa"), H(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), H(u, "transform", "translate(15 15) rotate(180)"), H(o, "transform", "translate(20 158)"), H(a, "transform", "translate(-20 -158)"), H(r, "xmlns", "http://www.w3.org/2000/svg"), H(r, "width", "15"), H(r, "height", "15"), H(r, "viewBox", "0 0 15 15"), H(l, "class", "PlayerGamingLimitsTitleMobile"), H(t, "class", "MenuReturnButton");
|
|
5053
5018
|
},
|
|
5054
|
-
m(g,
|
|
5055
|
-
|
|
5019
|
+
m(g, p) {
|
|
5020
|
+
re(g, t, p), L(t, r), L(r, n), L(n, i), L(i, s), L(r, a), L(a, o), L(o, u), L(t, h), L(t, l), L(l, c), b || (d = Or(
|
|
5056
5021
|
t,
|
|
5057
5022
|
"click",
|
|
5058
5023
|
/*click_handler*/
|
|
5059
5024
|
e[21]
|
|
5060
5025
|
), b = !0);
|
|
5061
5026
|
},
|
|
5062
|
-
p(g,
|
|
5063
|
-
|
|
5027
|
+
p(g, p) {
|
|
5028
|
+
p & /*$_*/
|
|
5064
5029
|
131072 && f !== (f = /*$_*/
|
|
5065
|
-
g[17]("gamingLimitsText") + "") &&
|
|
5030
|
+
g[17]("gamingLimitsText") + "") && jt(c, f);
|
|
5066
5031
|
},
|
|
5067
5032
|
d(g) {
|
|
5068
|
-
g &&
|
|
5033
|
+
g && $(t), b = !1, d();
|
|
5069
5034
|
}
|
|
5070
5035
|
};
|
|
5071
5036
|
}
|
|
5072
|
-
function
|
|
5037
|
+
function ds(e) {
|
|
5073
5038
|
let t;
|
|
5074
|
-
function r(
|
|
5039
|
+
function r(s, a) {
|
|
5075
5040
|
return (
|
|
5076
5041
|
/*isLoading*/
|
|
5077
|
-
|
|
5042
|
+
s[13] ? fs : (
|
|
5078
5043
|
/*limitsGroupView*/
|
|
5079
|
-
|
|
5044
|
+
s[16] ? cs : hs
|
|
5080
5045
|
)
|
|
5081
5046
|
);
|
|
5082
5047
|
}
|
|
5083
|
-
let
|
|
5048
|
+
let n = r(e), i = n(e);
|
|
5084
5049
|
return {
|
|
5085
5050
|
c() {
|
|
5086
|
-
t = O("div"),
|
|
5051
|
+
t = O("div"), i.c();
|
|
5087
5052
|
},
|
|
5088
|
-
m(
|
|
5089
|
-
|
|
5053
|
+
m(s, a) {
|
|
5054
|
+
re(s, t, a), i.m(t, null), e[22](t);
|
|
5090
5055
|
},
|
|
5091
|
-
p(
|
|
5092
|
-
|
|
5056
|
+
p(s, [a]) {
|
|
5057
|
+
n === (n = r(s)) && i ? i.p(s, a) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
5093
5058
|
},
|
|
5094
|
-
i:
|
|
5095
|
-
o:
|
|
5096
|
-
d(
|
|
5097
|
-
|
|
5059
|
+
i: M,
|
|
5060
|
+
o: M,
|
|
5061
|
+
d(s) {
|
|
5062
|
+
s && $(t), i.d(), e[22](null);
|
|
5098
5063
|
}
|
|
5099
5064
|
};
|
|
5100
5065
|
}
|
|
5101
|
-
let
|
|
5102
|
-
function
|
|
5103
|
-
let
|
|
5104
|
-
|
|
5105
|
-
let { depositlimit:
|
|
5106
|
-
const
|
|
5107
|
-
fetch(
|
|
5108
|
-
Object.keys(
|
|
5109
|
-
|
|
5066
|
+
let ps = "Deposit Limit", gs = "Wagering Limit", bs = "Loss Limit", ys = "Time Limit";
|
|
5067
|
+
function _s(e, t, r) {
|
|
5068
|
+
let n;
|
|
5069
|
+
Sr(e, ns, (y) => r(17, n = y));
|
|
5070
|
+
let { depositlimit: i } = t, { wageringlimit: s } = t, { losslimit: a } = t, { timelimit: o } = t, { showdeletenotification: u = !1 } = t, { showsuccessnotification: h = !1 } = t, { lang: l = "en" } = t, { currency: f = "" } = t, { separatelimits: c = "true" } = t, { clientstyling: b = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: g } = t, { translationurl: p = "" } = t;
|
|
5071
|
+
const _ = () => {
|
|
5072
|
+
fetch(p).then((D) => D.json()).then((D) => {
|
|
5073
|
+
Object.keys(D).forEach((lt) => {
|
|
5074
|
+
It(lt, D[lt]);
|
|
5110
5075
|
});
|
|
5111
|
-
}).catch((
|
|
5112
|
-
console.log(
|
|
5076
|
+
}).catch((D) => {
|
|
5077
|
+
console.log(D);
|
|
5113
5078
|
});
|
|
5114
5079
|
};
|
|
5115
|
-
Object.keys(
|
|
5116
|
-
|
|
5080
|
+
Object.keys(Nt).forEach((y) => {
|
|
5081
|
+
It(y, Nt[y]);
|
|
5117
5082
|
});
|
|
5118
|
-
let T, S = !0,
|
|
5083
|
+
let T, S = !0, I = window.navigator.userAgent, A = is(I) !== "PC", N, k = "", Me = !0;
|
|
5119
5084
|
window.matchMedia("(min-width: 768px)");
|
|
5120
|
-
const
|
|
5085
|
+
const at = () => {
|
|
5121
5086
|
window.postMessage(
|
|
5122
5087
|
{
|
|
5123
5088
|
type: "PlayerAccountMenuActive",
|
|
@@ -5125,16 +5090,16 @@ function Lo(e, t, r) {
|
|
|
5125
5090
|
},
|
|
5126
5091
|
window.location.href
|
|
5127
5092
|
);
|
|
5128
|
-
},
|
|
5129
|
-
|
|
5130
|
-
},
|
|
5093
|
+
}, vr = () => {
|
|
5094
|
+
ss(l);
|
|
5095
|
+
}, ut = (y) => {
|
|
5131
5096
|
if (y.data)
|
|
5132
5097
|
switch (y.data.type) {
|
|
5133
5098
|
case "PlayerLimitsData":
|
|
5134
|
-
r(0, l = y.data.limits.lang), r(1,
|
|
5099
|
+
r(0, l = y.data.limits.lang), r(1, i = y.data.limits.depositlimit), r(2, s = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, o = y.data.limits.timelimit), r(13, S = !1);
|
|
5135
5100
|
break;
|
|
5136
5101
|
case "EditPlayerAccountGamingLimits":
|
|
5137
|
-
r(14,
|
|
5102
|
+
r(14, N = y.data.edit), r(15, k = y.data.name), r(16, Me = !1), window.postMessage(
|
|
5138
5103
|
{
|
|
5139
5104
|
type: "EditPlayerLimit",
|
|
5140
5105
|
name: k
|
|
@@ -5143,66 +5108,66 @@ function Lo(e, t, r) {
|
|
|
5143
5108
|
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
5144
5109
|
break;
|
|
5145
5110
|
case "PlayerAccountBackToLimitsView":
|
|
5146
|
-
r(16,
|
|
5111
|
+
r(16, Me = !0);
|
|
5147
5112
|
break;
|
|
5148
5113
|
case "ProfileDetailsData":
|
|
5149
|
-
let
|
|
5150
|
-
r(5, f =
|
|
5114
|
+
let D = y.data.profileDetails;
|
|
5115
|
+
r(5, f = D.currency);
|
|
5151
5116
|
break;
|
|
5152
5117
|
}
|
|
5153
5118
|
};
|
|
5154
|
-
|
|
5155
|
-
window.removeEventListener("message",
|
|
5119
|
+
$r(() => (window.addEventListener("message", ut, !1), () => {
|
|
5120
|
+
window.removeEventListener("message", ut);
|
|
5156
5121
|
}));
|
|
5157
|
-
const
|
|
5158
|
-
function
|
|
5159
|
-
|
|
5122
|
+
const Er = () => at();
|
|
5123
|
+
function xr(y) {
|
|
5124
|
+
Fe[y ? "unshift" : "push"](() => {
|
|
5160
5125
|
T = y, r(12, T);
|
|
5161
5126
|
});
|
|
5162
5127
|
}
|
|
5163
5128
|
return e.$$set = (y) => {
|
|
5164
|
-
"depositlimit" in y && r(1,
|
|
5129
|
+
"depositlimit" in y && r(1, i = y.depositlimit), "wageringlimit" in y && r(2, s = y.wageringlimit), "losslimit" in y && r(3, a = y.losslimit), "timelimit" in y && r(4, o = y.timelimit), "showdeletenotification" in y && r(6, u = y.showdeletenotification), "showsuccessnotification" in y && r(7, h = y.showsuccessnotification), "lang" in y && r(0, l = y.lang), "currency" in y && r(5, f = y.currency), "separatelimits" in y && r(8, c = y.separatelimits), "clientstyling" in y && r(9, b = y.clientstyling), "clientstylingurl" in y && r(10, d = y.clientstylingurl), "mbsource" in y && r(11, g = y.mbsource), "translationurl" in y && r(20, p = y.translationurl);
|
|
5165
5130
|
}, e.$$.update = () => {
|
|
5166
5131
|
e.$$.dirty & /*lang*/
|
|
5167
|
-
1 && l &&
|
|
5168
|
-
4608 && b && T &&
|
|
5169
|
-
5120 &&
|
|
5170
|
-
6144 && g && T &&
|
|
5171
|
-
1048576 &&
|
|
5132
|
+
1 && l && vr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
5133
|
+
4608 && b && T && os(T, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
5134
|
+
5120 && d && T && as(T, d), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
5135
|
+
6144 && g && T && us(T, `${g}.Style`), e.$$.dirty & /*translationurl*/
|
|
5136
|
+
1048576 && p && _();
|
|
5172
5137
|
}, [
|
|
5173
5138
|
l,
|
|
5174
|
-
|
|
5175
|
-
o,
|
|
5176
|
-
a,
|
|
5139
|
+
i,
|
|
5177
5140
|
s,
|
|
5141
|
+
a,
|
|
5142
|
+
o,
|
|
5178
5143
|
f,
|
|
5179
5144
|
u,
|
|
5180
5145
|
h,
|
|
5181
5146
|
c,
|
|
5182
5147
|
b,
|
|
5183
|
-
|
|
5148
|
+
d,
|
|
5184
5149
|
g,
|
|
5185
5150
|
T,
|
|
5186
5151
|
S,
|
|
5187
|
-
|
|
5152
|
+
N,
|
|
5188
5153
|
k,
|
|
5189
|
-
|
|
5190
|
-
|
|
5154
|
+
Me,
|
|
5155
|
+
n,
|
|
5191
5156
|
A,
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5157
|
+
at,
|
|
5158
|
+
p,
|
|
5159
|
+
Er,
|
|
5160
|
+
xr
|
|
5196
5161
|
];
|
|
5197
5162
|
}
|
|
5198
|
-
class
|
|
5163
|
+
class vs extends Kr {
|
|
5199
5164
|
constructor(t) {
|
|
5200
|
-
super(),
|
|
5165
|
+
super(), Jr(
|
|
5201
5166
|
this,
|
|
5202
5167
|
t,
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5168
|
+
_s,
|
|
5169
|
+
ds,
|
|
5170
|
+
Rt,
|
|
5206
5171
|
{
|
|
5207
5172
|
depositlimit: 1,
|
|
5208
5173
|
wageringlimit: 2,
|
|
@@ -5218,138 +5183,138 @@ class To extends ii {
|
|
|
5218
5183
|
mbsource: 11,
|
|
5219
5184
|
translationurl: 20
|
|
5220
5185
|
},
|
|
5221
|
-
|
|
5186
|
+
ls
|
|
5222
5187
|
);
|
|
5223
5188
|
}
|
|
5224
5189
|
get depositlimit() {
|
|
5225
5190
|
return this.$$.ctx[1];
|
|
5226
5191
|
}
|
|
5227
5192
|
set depositlimit(t) {
|
|
5228
|
-
this.$$set({ depositlimit: t }),
|
|
5193
|
+
this.$$set({ depositlimit: t }), B();
|
|
5229
5194
|
}
|
|
5230
5195
|
get wageringlimit() {
|
|
5231
5196
|
return this.$$.ctx[2];
|
|
5232
5197
|
}
|
|
5233
5198
|
set wageringlimit(t) {
|
|
5234
|
-
this.$$set({ wageringlimit: t }),
|
|
5199
|
+
this.$$set({ wageringlimit: t }), B();
|
|
5235
5200
|
}
|
|
5236
5201
|
get losslimit() {
|
|
5237
5202
|
return this.$$.ctx[3];
|
|
5238
5203
|
}
|
|
5239
5204
|
set losslimit(t) {
|
|
5240
|
-
this.$$set({ losslimit: t }),
|
|
5205
|
+
this.$$set({ losslimit: t }), B();
|
|
5241
5206
|
}
|
|
5242
5207
|
get timelimit() {
|
|
5243
5208
|
return this.$$.ctx[4];
|
|
5244
5209
|
}
|
|
5245
5210
|
set timelimit(t) {
|
|
5246
|
-
this.$$set({ timelimit: t }),
|
|
5211
|
+
this.$$set({ timelimit: t }), B();
|
|
5247
5212
|
}
|
|
5248
5213
|
get showdeletenotification() {
|
|
5249
5214
|
return this.$$.ctx[6];
|
|
5250
5215
|
}
|
|
5251
5216
|
set showdeletenotification(t) {
|
|
5252
|
-
this.$$set({ showdeletenotification: t }),
|
|
5217
|
+
this.$$set({ showdeletenotification: t }), B();
|
|
5253
5218
|
}
|
|
5254
5219
|
get showsuccessnotification() {
|
|
5255
5220
|
return this.$$.ctx[7];
|
|
5256
5221
|
}
|
|
5257
5222
|
set showsuccessnotification(t) {
|
|
5258
|
-
this.$$set({ showsuccessnotification: t }),
|
|
5223
|
+
this.$$set({ showsuccessnotification: t }), B();
|
|
5259
5224
|
}
|
|
5260
5225
|
get lang() {
|
|
5261
5226
|
return this.$$.ctx[0];
|
|
5262
5227
|
}
|
|
5263
5228
|
set lang(t) {
|
|
5264
|
-
this.$$set({ lang: t }),
|
|
5229
|
+
this.$$set({ lang: t }), B();
|
|
5265
5230
|
}
|
|
5266
5231
|
get currency() {
|
|
5267
5232
|
return this.$$.ctx[5];
|
|
5268
5233
|
}
|
|
5269
5234
|
set currency(t) {
|
|
5270
|
-
this.$$set({ currency: t }),
|
|
5235
|
+
this.$$set({ currency: t }), B();
|
|
5271
5236
|
}
|
|
5272
5237
|
get separatelimits() {
|
|
5273
5238
|
return this.$$.ctx[8];
|
|
5274
5239
|
}
|
|
5275
5240
|
set separatelimits(t) {
|
|
5276
|
-
this.$$set({ separatelimits: t }),
|
|
5241
|
+
this.$$set({ separatelimits: t }), B();
|
|
5277
5242
|
}
|
|
5278
5243
|
get clientstyling() {
|
|
5279
5244
|
return this.$$.ctx[9];
|
|
5280
5245
|
}
|
|
5281
5246
|
set clientstyling(t) {
|
|
5282
|
-
this.$$set({ clientstyling: t }),
|
|
5247
|
+
this.$$set({ clientstyling: t }), B();
|
|
5283
5248
|
}
|
|
5284
5249
|
get clientstylingurl() {
|
|
5285
5250
|
return this.$$.ctx[10];
|
|
5286
5251
|
}
|
|
5287
5252
|
set clientstylingurl(t) {
|
|
5288
|
-
this.$$set({ clientstylingurl: t }),
|
|
5253
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
5289
5254
|
}
|
|
5290
5255
|
get mbsource() {
|
|
5291
5256
|
return this.$$.ctx[11];
|
|
5292
5257
|
}
|
|
5293
5258
|
set mbsource(t) {
|
|
5294
|
-
this.$$set({ mbsource: t }),
|
|
5259
|
+
this.$$set({ mbsource: t }), B();
|
|
5295
5260
|
}
|
|
5296
5261
|
get translationurl() {
|
|
5297
5262
|
return this.$$.ctx[20];
|
|
5298
5263
|
}
|
|
5299
5264
|
set translationurl(t) {
|
|
5300
|
-
this.$$set({ translationurl: t }),
|
|
5265
|
+
this.$$set({ translationurl: t }), B();
|
|
5301
5266
|
}
|
|
5302
5267
|
}
|
|
5303
|
-
|
|
5268
|
+
Yr(vs, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, currency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5304
5269
|
export {
|
|
5305
5270
|
ie as $,
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5271
|
+
os as A,
|
|
5272
|
+
as as B,
|
|
5273
|
+
us as C,
|
|
5274
|
+
V as D,
|
|
5275
|
+
M as E,
|
|
5276
|
+
ns as F,
|
|
5312
5277
|
m as G,
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5278
|
+
Hs as H,
|
|
5279
|
+
Rs as I,
|
|
5280
|
+
Ts as J,
|
|
5281
|
+
Ss as K,
|
|
5282
|
+
Os as L,
|
|
5283
|
+
As as M,
|
|
5284
|
+
Bs as N,
|
|
5285
|
+
we as O,
|
|
5286
|
+
Ps as P,
|
|
5287
|
+
Se as Q,
|
|
5288
|
+
wr as R,
|
|
5289
|
+
Kr as S,
|
|
5290
|
+
Is as T,
|
|
5291
|
+
Cs as U,
|
|
5292
|
+
Ms as V,
|
|
5293
|
+
vs as W,
|
|
5294
|
+
pr as a,
|
|
5295
|
+
Br as b,
|
|
5296
|
+
Yr as c,
|
|
5297
|
+
Es as d,
|
|
5298
|
+
O as e,
|
|
5299
|
+
B as f,
|
|
5300
|
+
z as g,
|
|
5301
|
+
H as h,
|
|
5302
|
+
Jr as i,
|
|
5303
|
+
re as j,
|
|
5304
|
+
L as k,
|
|
5305
|
+
Or as l,
|
|
5306
|
+
Ls as m,
|
|
5307
|
+
xs as n,
|
|
5308
|
+
jt as o,
|
|
5309
|
+
Wr as p,
|
|
5310
|
+
Ns as q,
|
|
5311
|
+
$ as r,
|
|
5312
|
+
Rt as s,
|
|
5313
|
+
le as t,
|
|
5314
|
+
ws as u,
|
|
5315
|
+
F as v,
|
|
5316
|
+
Sr as w,
|
|
5317
|
+
is as x,
|
|
5318
|
+
$r as y,
|
|
5319
|
+
Fe as z
|
|
5355
5320
|
};
|