@everymatrix/player-account-gaming-limits 1.76.1 → 1.76.4
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-DtzP7G6K.js → PlayerAccountGamingLimits-B8dVy1dw.js} +937 -916
- package/components/PlayerAccountGamingLimits-BFWvpDsh.cjs +21 -0
- package/components/{PlayerAccountGamingLimits-DZxeJ9O6.js → PlayerAccountGamingLimits-Csz1rGwm.js} +935 -914
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cojk6mIA.js → PlayerAccountGamingLimitsConfirmationModal-BSyUmrl3.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Coe5msP4.js → PlayerAccountGamingLimitsConfirmationModal-Ct3UzL1l.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DsRj01Df.cjs → PlayerAccountGamingLimitsConfirmationModal-beH99OjB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CuYXb_Td.js → PlayerAccountGamingLimitsGroupEdit-56lXVmhz.js} +54 -56
- package/components/{PlayerAccountGamingLimitsGroupEdit-DnDtGiqd.js → PlayerAccountGamingLimitsGroupEdit-5CQm4ZCc.js} +54 -56
- package/components/PlayerAccountGamingLimitsGroupEdit-C6B13sEM.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-x9MVFt7G.js → PlayerAccountGamingLimitsInfoCard-DJVcHz9f.js} +95 -95
- package/components/{PlayerAccountGamingLimitsInfoCard-DDFrYx0M.js → PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js} +91 -91
- package/components/{PlayerAccountGamingLimitsInfoCard-CtpmE0je.cjs → PlayerAccountGamingLimitsInfoCard-Fw7CHUvq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BHOTrnnB.js → PlayerAccountGamingLimitsPopup-BgSqCL5f.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-DjnXMxiO.cjs → PlayerAccountGamingLimitsPopup-CjUttWsG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-9t0My0ez.js → PlayerAccountGamingLimitsPopup-ky7XPDCp.js} +26 -26
- package/components/{PlayerAccountModal-CUiC1zgO.cjs → PlayerAccountModal-CfM5jG9-.cjs} +1 -1
- package/components/{PlayerAccountModal-BaTp6xqc.js → PlayerAccountModal-ChUAMeqV.js} +33 -33
- package/components/{PlayerAccountModal-Dv-RPvC_.js → PlayerAccountModal-woh_9W4B.js} +33 -33
- 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-B7Ae4m4I.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs +0 -1
package/components/{PlayerAccountGamingLimits-DZxeJ9O6.js → PlayerAccountGamingLimits-Csz1rGwm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function I() {
|
|
2
2
|
}
|
|
3
3
|
const Hr = (e) => e;
|
|
4
|
-
function
|
|
4
|
+
function Ar(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -12,64 +12,64 @@ function Br(e, t) {
|
|
|
12
12
|
function Dt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function pt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function F(e) {
|
|
19
19
|
e.forEach(Dt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function He(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
24
|
function Ut(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Pr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Ft(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const i of t)
|
|
33
33
|
i(void 0);
|
|
34
|
-
return
|
|
34
|
+
return I;
|
|
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 Br(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(Ft(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function So(e, t, r, i) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const n =
|
|
44
|
+
const n = jt(e, t, r, i);
|
|
45
45
|
return e[0](n);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && i ?
|
|
48
|
+
function jt(e, t, r, i) {
|
|
49
|
+
return e[1] && i ? Ar(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Ho(e, t, r, i) {
|
|
52
52
|
if (e[2] && i) {
|
|
53
53
|
const n = e[2](i(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
55
55
|
return n;
|
|
56
56
|
if (typeof n == "object") {
|
|
57
|
-
const
|
|
58
|
-
for (let
|
|
59
|
-
s
|
|
60
|
-
return
|
|
57
|
+
const o = [], a = Math.max(t.dirty.length, n.length);
|
|
58
|
+
for (let s = 0; s < a; s += 1)
|
|
59
|
+
o[s] = t.dirty[s] | n[s];
|
|
60
|
+
return o;
|
|
61
61
|
}
|
|
62
62
|
return t.dirty | n;
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Ao(e, t, r, i, n, o) {
|
|
67
67
|
if (n) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = jt(t, r, i, o);
|
|
69
69
|
e.p(a, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Po(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
75
|
for (let i = 0; i < r; i++)
|
|
@@ -78,36 +78,36 @@ function Hs(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let Or =
|
|
83
|
-
const
|
|
84
|
-
function
|
|
85
|
-
|
|
86
|
-
t.c(e) || (
|
|
87
|
-
}),
|
|
81
|
+
const kt = typeof window < "u";
|
|
82
|
+
let Or = kt ? () => window.performance.now() : () => Date.now(), at = kt ? (e) => requestAnimationFrame(e) : I;
|
|
83
|
+
const Q = /* @__PURE__ */ new Set();
|
|
84
|
+
function Vt(e) {
|
|
85
|
+
Q.forEach((t) => {
|
|
86
|
+
t.c(e) || (Q.delete(t), t.f());
|
|
87
|
+
}), Q.size !== 0 && at(Vt);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ir(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return
|
|
91
|
+
return Q.size === 0 && at(Vt), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
|
-
|
|
93
|
+
Q.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
95
95
|
abort() {
|
|
96
|
-
|
|
96
|
+
Q.delete(t);
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function w(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const i =
|
|
103
|
+
function Mr(e, t, r) {
|
|
104
|
+
const i = ut(e);
|
|
105
105
|
if (!i.getElementById(t)) {
|
|
106
|
-
const n =
|
|
107
|
-
n.id = t, n.textContent = r,
|
|
106
|
+
const n = O("style");
|
|
107
|
+
n.id = t, n.textContent = r, Xt(i, n);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ut(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -118,11 +118,11 @@ function st(e) {
|
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
120
|
function Nr(e) {
|
|
121
|
-
const t =
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
121
|
+
const t = O("style");
|
|
122
|
+
return t.textContent = "/* empty */", Xt(ut(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
return
|
|
124
|
+
function Xt(e, t) {
|
|
125
|
+
return w(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
@@ -131,32 +131,32 @@ function Vt(e, t) {
|
|
|
131
131
|
function te(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function U(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Bo(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function O(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function V(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ue(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function z() {
|
|
151
|
+
return ue(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Oo() {
|
|
154
|
+
return ue("");
|
|
155
155
|
}
|
|
156
156
|
function Cr(e, t, r, i) {
|
|
157
157
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Io(e) {
|
|
160
160
|
return function(t) {
|
|
161
161
|
return t.preventDefault(), e.call(this, t);
|
|
162
162
|
};
|
|
@@ -168,20 +168,20 @@ function m(e, t, r) {
|
|
|
168
168
|
const i = t.toLowerCase();
|
|
169
169
|
i in e ? e[i] = typeof e[i] == "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 Mo(e) {
|
|
172
172
|
return e === "" ? null : +e;
|
|
173
173
|
}
|
|
174
174
|
function Rr(e) {
|
|
175
175
|
return Array.from(e.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Wt(e, t) {
|
|
178
178
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
179
179
|
t);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function No(e, t) {
|
|
182
182
|
e.value = t ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Co(e, t, r) {
|
|
185
185
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
186
186
|
const n = e.options[i];
|
|
187
187
|
if (n.__value === t) {
|
|
@@ -191,14 +191,14 @@ function Is(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ro(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
198
|
function Gr(e, t, { bubbles: r = !1, cancelable: i = !1 } = {}) {
|
|
199
199
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: i });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function $r(e) {
|
|
202
202
|
const t = {};
|
|
203
203
|
return e.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,94 +209,94 @@ function Dr(e) {
|
|
|
209
209
|
}
|
|
210
210
|
const Ee = /* @__PURE__ */ new Map();
|
|
211
211
|
let xe = 0;
|
|
212
|
-
function
|
|
212
|
+
function Dr(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
|
|
218
|
+
function Ur(e, t) {
|
|
219
219
|
const r = { stylesheet: Nr(t), rules: {} };
|
|
220
220
|
return Ee.set(e, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function dt(e, t, r, i, n, o, a, s = 0) {
|
|
223
223
|
const u = 16.666 / i;
|
|
224
224
|
let h = `{
|
|
225
225
|
`;
|
|
226
226
|
for (let d = 0; d <= 1; d += u) {
|
|
227
|
-
const v = t + (r - t) *
|
|
227
|
+
const v = t + (r - t) * o(d);
|
|
228
228
|
h += d * 100 + `%{${a(v, 1 - v)}}
|
|
229
229
|
`;
|
|
230
230
|
}
|
|
231
231
|
const l = h + `100% {${a(r, 1 - r)}}
|
|
232
|
-
}`, f = `__svelte_${
|
|
232
|
+
}`, f = `__svelte_${Dr(l)}_${s}`, c = ut(e), { stylesheet: b, rules: p } = Ee.get(c) || Ur(c, e);
|
|
233
233
|
p[f] || (p[f] = !0, b.insertRule(`@keyframes ${f} ${l}`, b.cssRules.length));
|
|
234
234
|
const g = e.style.animation || "";
|
|
235
235
|
return e.style.animation = `${g ? `${g}, ` : ""}${f} ${i}ms linear ${n}ms 1 both`, xe += 1, f;
|
|
236
236
|
}
|
|
237
237
|
function Fr(e, t) {
|
|
238
238
|
const r = (e.style.animation || "").split(", "), i = r.filter(
|
|
239
|
-
t ? (
|
|
239
|
+
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
241
|
), n = r.length - i.length;
|
|
242
242
|
n && (e.style.animation = i.join(", "), xe -= n, xe || jr());
|
|
243
243
|
}
|
|
244
244
|
function jr() {
|
|
245
|
-
|
|
245
|
+
at(() => {
|
|
246
246
|
xe || (Ee.forEach((e) => {
|
|
247
247
|
const { ownerNode: t } = e.stylesheet;
|
|
248
|
-
t &&
|
|
248
|
+
t && U(t);
|
|
249
249
|
}), Ee.clear());
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
function
|
|
254
|
-
|
|
252
|
+
let le;
|
|
253
|
+
function ae(e) {
|
|
254
|
+
le = e;
|
|
255
255
|
}
|
|
256
256
|
function kr() {
|
|
257
|
-
if (!
|
|
257
|
+
if (!le)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
|
-
return
|
|
259
|
+
return le;
|
|
260
260
|
}
|
|
261
261
|
function Vr(e) {
|
|
262
262
|
kr().$$.on_mount.push(e);
|
|
263
263
|
}
|
|
264
|
-
const
|
|
265
|
-
let
|
|
266
|
-
const
|
|
267
|
-
let
|
|
264
|
+
const Z = [], Ve = [];
|
|
265
|
+
let q = [];
|
|
266
|
+
const gt = [], Xr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let Xe = !1;
|
|
268
268
|
function Wr() {
|
|
269
|
-
|
|
269
|
+
Xe || (Xe = !0, Xr.then(P));
|
|
270
270
|
}
|
|
271
271
|
function we(e) {
|
|
272
|
-
|
|
272
|
+
q.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
275
|
-
let
|
|
276
|
-
function
|
|
277
|
-
if (
|
|
274
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
275
|
+
let X = 0;
|
|
276
|
+
function P() {
|
|
277
|
+
if (X !== 0)
|
|
278
278
|
return;
|
|
279
|
-
const e =
|
|
279
|
+
const e = le;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
|
-
for (;
|
|
283
|
-
const t =
|
|
284
|
-
|
|
282
|
+
for (; X < Z.length; ) {
|
|
283
|
+
const t = Z[X];
|
|
284
|
+
X++, ae(t), zr(t.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (t) {
|
|
287
|
-
throw
|
|
287
|
+
throw Z.length = 0, X = 0, t;
|
|
288
288
|
}
|
|
289
|
-
for (
|
|
290
|
-
|
|
291
|
-
for (let t = 0; t <
|
|
292
|
-
const r =
|
|
293
|
-
|
|
289
|
+
for (ae(null), Z.length = 0, X = 0; Ve.length; )
|
|
290
|
+
Ve.pop()();
|
|
291
|
+
for (let t = 0; t < q.length; t += 1) {
|
|
292
|
+
const r = q[t];
|
|
293
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
} while (
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
295
|
+
q.length = 0;
|
|
296
|
+
} while (Z.length);
|
|
297
|
+
for (; gt.length; )
|
|
298
|
+
gt.pop()();
|
|
299
|
+
Xe = !1, Ce.clear(), ae(e);
|
|
300
300
|
}
|
|
301
301
|
function zr(e) {
|
|
302
302
|
if (e.fragment !== null) {
|
|
@@ -307,7 +307,7 @@ function zr(e) {
|
|
|
307
307
|
}
|
|
308
308
|
function Zr(e) {
|
|
309
309
|
const t = [], r = [];
|
|
310
|
-
|
|
310
|
+
q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
|
|
311
311
|
}
|
|
312
312
|
let oe;
|
|
313
313
|
function Qr() {
|
|
@@ -315,38 +315,38 @@ function Qr() {
|
|
|
315
315
|
oe = null;
|
|
316
316
|
})), oe;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Re(e, t, r) {
|
|
319
319
|
e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const ge = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let R;
|
|
323
|
+
function Go() {
|
|
324
|
+
R = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: R
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function $o() {
|
|
332
|
+
R.r || F(R.c), R = R.p;
|
|
333
333
|
}
|
|
334
334
|
function qr(e, t) {
|
|
335
335
|
e && e.i && (ge.delete(e), e.i(t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Do(e, t, r, i) {
|
|
338
338
|
if (e && e.o) {
|
|
339
339
|
if (ge.has(e))
|
|
340
340
|
return;
|
|
341
|
-
ge.add(e),
|
|
341
|
+
ge.add(e), R.c.push(() => {
|
|
342
342
|
ge.delete(e), i && (r && e.d(1), i());
|
|
343
343
|
}), e.o(t);
|
|
344
344
|
} else
|
|
345
345
|
i && i();
|
|
346
346
|
}
|
|
347
347
|
const Jr = { duration: 0 };
|
|
348
|
-
function
|
|
349
|
-
let
|
|
348
|
+
function Uo(e, t, r, i) {
|
|
349
|
+
let o = t(e, r, { direction: "both" }), a = i ? 0 : 1, s = null, u = null, h = null, l;
|
|
350
350
|
function f() {
|
|
351
351
|
h && Fr(e, h);
|
|
352
352
|
}
|
|
@@ -370,52 +370,52 @@ function Ds(e, t, r, i) {
|
|
|
370
370
|
delay: g = 0,
|
|
371
371
|
duration: d = 300,
|
|
372
372
|
easing: v = Hr,
|
|
373
|
-
tick: T =
|
|
373
|
+
tick: T = I,
|
|
374
374
|
css: S
|
|
375
|
-
} =
|
|
375
|
+
} = o || Jr, M = {
|
|
376
376
|
start: Or() + g,
|
|
377
377
|
b: p
|
|
378
378
|
};
|
|
379
|
-
p || (
|
|
380
|
-
e.inert, e.inert = !0)),
|
|
381
|
-
if (u &&
|
|
379
|
+
p || (M.group = R, R.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
380
|
+
e.inert, e.inert = !0)), s || u ? u = M : (S && (f(), h = dt(e, a, p, d, g, v, S)), p && T(0, 1), s = c(M, d), we(() => Re(e, p, "start")), Ir((A) => {
|
|
381
|
+
if (u && A > u.start && (s = c(u, d), u = null, Re(e, s.b, "start"), S && (f(), h = dt(
|
|
382
382
|
e,
|
|
383
383
|
a,
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
s.b,
|
|
385
|
+
s.duration,
|
|
386
386
|
0,
|
|
387
387
|
v,
|
|
388
|
-
|
|
389
|
-
))),
|
|
390
|
-
if (
|
|
391
|
-
T(a =
|
|
392
|
-
else if (
|
|
393
|
-
const
|
|
394
|
-
a =
|
|
388
|
+
o.css
|
|
389
|
+
))), s) {
|
|
390
|
+
if (A >= s.end)
|
|
391
|
+
T(a = s.b, 1 - a), Re(e, s.b, "end"), u || (s.b ? f() : --s.group.r || F(s.group.c)), s = null;
|
|
392
|
+
else if (A >= s.start) {
|
|
393
|
+
const C = A - s.start;
|
|
394
|
+
a = s.a + s.d * v(C / s.duration), T(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
return !!(
|
|
397
|
+
return !!(s || u);
|
|
398
398
|
}));
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
401
|
run(p) {
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
He(o) ? Qr().then(() => {
|
|
403
|
+
o = o({ direction: p ? "in" : "out" }), b(p);
|
|
404
404
|
}) : b(p);
|
|
405
405
|
},
|
|
406
406
|
end() {
|
|
407
|
-
f(),
|
|
407
|
+
f(), s = u = null;
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Fo(e) {
|
|
412
412
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
413
413
|
}
|
|
414
414
|
function Yr(e, t, r) {
|
|
415
415
|
const { fragment: i, after_update: n } = e.$$;
|
|
416
416
|
i && i.m(t, r), we(() => {
|
|
417
|
-
const
|
|
418
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
417
|
+
const o = e.$$.on_mount.map(Dt).filter(He);
|
|
418
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
|
|
419
419
|
}), n.forEach(we);
|
|
420
420
|
}
|
|
421
421
|
function Kr(e, t) {
|
|
@@ -423,19 +423,19 @@ function Kr(e, t) {
|
|
|
423
423
|
r.fragment !== null && (Zr(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
425
|
function ei(e, t) {
|
|
426
|
-
e.$$.dirty[0] === -1 && (
|
|
426
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
427
427
|
}
|
|
428
|
-
function ti(e, t, r, i, n,
|
|
429
|
-
const u =
|
|
430
|
-
|
|
428
|
+
function ti(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
429
|
+
const u = le;
|
|
430
|
+
ae(e);
|
|
431
431
|
const h = e.$$ = {
|
|
432
432
|
fragment: null,
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
|
-
props:
|
|
436
|
-
update:
|
|
435
|
+
props: o,
|
|
436
|
+
update: I,
|
|
437
437
|
not_equal: n,
|
|
438
|
-
bound:
|
|
438
|
+
bound: pt(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,8 +444,8 @@ function ti(e, t, r, i, n, s, a = null, o = [-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: pt(),
|
|
448
|
+
dirty: s,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: t.target || u.$$.root
|
|
451
451
|
};
|
|
@@ -457,15 +457,15 @@ function ti(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
|
457
457
|
}) : [], h.update(), l = !0, F(h.before_update), h.fragment = i ? i(h.ctx) : !1, t.target) {
|
|
458
458
|
if (t.hydrate) {
|
|
459
459
|
const f = Rr(t.target);
|
|
460
|
-
h.fragment && h.fragment.l(f), f.forEach(
|
|
460
|
+
h.fragment && h.fragment.l(f), f.forEach(U);
|
|
461
461
|
} else
|
|
462
462
|
h.fragment && h.fragment.c();
|
|
463
|
-
t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor),
|
|
463
|
+
t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), P();
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
ae(u);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let zt;
|
|
468
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -504,32 +504,32 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
|
504
504
|
if (this.$$cn = !0, !this.$$c) {
|
|
505
505
|
let e = function(n) {
|
|
506
506
|
return () => {
|
|
507
|
-
let
|
|
507
|
+
let o;
|
|
508
508
|
return {
|
|
509
509
|
c: function() {
|
|
510
|
-
|
|
510
|
+
o = O("slot"), n !== "default" && H(o, "name", n);
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
513
|
* @param {HTMLElement} target
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(u, h) {
|
|
517
|
-
te(u,
|
|
517
|
+
te(u, o, h);
|
|
518
518
|
},
|
|
519
519
|
d: function(u) {
|
|
520
|
-
u &&
|
|
520
|
+
u && U(o);
|
|
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 =
|
|
527
|
+
const t = {}, r = $r(this);
|
|
528
528
|
for (const n of this.$$s)
|
|
529
529
|
n in r && (t[n] = [e(n)]);
|
|
530
530
|
for (const n of this.attributes) {
|
|
531
|
-
const
|
|
532
|
-
|
|
531
|
+
const o = this.$$g_p(n.name);
|
|
532
|
+
o in this.$$d || (this.$$d[o] = be(o, n.value, this.$$p_d, "toProp"));
|
|
533
533
|
}
|
|
534
534
|
for (const n in this.$$p_d)
|
|
535
535
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -547,21 +547,21 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
|
547
547
|
this.$$r = !0;
|
|
548
548
|
for (const n in this.$$p_d)
|
|
549
549
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
550
|
-
const
|
|
550
|
+
const o = be(
|
|
551
551
|
n,
|
|
552
552
|
this.$$d[n],
|
|
553
553
|
this.$$p_d,
|
|
554
554
|
"toAttribute"
|
|
555
555
|
);
|
|
556
|
-
|
|
556
|
+
o == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, o);
|
|
557
557
|
}
|
|
558
558
|
this.$$r = !1;
|
|
559
559
|
};
|
|
560
560
|
this.$$c.$$.after_update.push(i), i();
|
|
561
561
|
for (const n in this.$$l)
|
|
562
|
-
for (const
|
|
563
|
-
const a = this.$$c.$on(n,
|
|
564
|
-
this.$$l_u.set(
|
|
562
|
+
for (const o of this.$$l[n]) {
|
|
563
|
+
const a = this.$$c.$on(n, o);
|
|
564
|
+
this.$$l_u.set(o, a);
|
|
565
565
|
}
|
|
566
566
|
this.$$l = {};
|
|
567
567
|
}
|
|
@@ -611,30 +611,30 @@ function be(e, t, r, i) {
|
|
|
611
611
|
return t;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function ri(e, t, r, i, n,
|
|
615
|
-
let a = class extends
|
|
614
|
+
function ri(e, t, r, i, n, o) {
|
|
615
|
+
let a = class extends zt {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(e, r, n), this.$$p_d = t;
|
|
618
618
|
}
|
|
619
619
|
static get observedAttributes() {
|
|
620
620
|
return Object.keys(t).map(
|
|
621
|
-
(
|
|
621
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
622
622
|
);
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
|
-
return Object.keys(t).forEach((
|
|
626
|
-
Object.defineProperty(a.prototype,
|
|
625
|
+
return Object.keys(t).forEach((s) => {
|
|
626
|
+
Object.defineProperty(a.prototype, s, {
|
|
627
627
|
get() {
|
|
628
|
-
return this.$$c &&
|
|
628
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
629
629
|
},
|
|
630
630
|
set(u) {
|
|
631
|
-
u = be(
|
|
631
|
+
u = be(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
|
-
}), i.forEach((
|
|
635
|
-
Object.defineProperty(a.prototype,
|
|
634
|
+
}), i.forEach((s) => {
|
|
635
|
+
Object.defineProperty(a.prototype, s, {
|
|
636
636
|
get() {
|
|
637
|
-
return this.$$c?.[
|
|
637
|
+
return this.$$c?.[s];
|
|
638
638
|
}
|
|
639
639
|
});
|
|
640
640
|
}), e.element = /** @type {any} */
|
|
@@ -659,7 +659,7 @@ class ii {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
Kr(this, 1), this.$destroy =
|
|
662
|
+
Kr(this, 1), this.$destroy = I;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -668,8 +668,8 @@ class ii {
|
|
|
668
668
|
* @returns {() => void}
|
|
669
669
|
*/
|
|
670
670
|
$on(t, r) {
|
|
671
|
-
if (!
|
|
672
|
-
return
|
|
671
|
+
if (!He(r))
|
|
672
|
+
return I;
|
|
673
673
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
674
674
|
return i.push(r), () => {
|
|
675
675
|
const n = i.indexOf(r);
|
|
@@ -681,7 +681,7 @@ class ii {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(t) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
const ni = "4";
|
|
@@ -700,43 +700,24 @@ 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
|
|
703
|
+
var We = function(e, t) {
|
|
704
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
705
705
|
r.__proto__ = i;
|
|
706
706
|
} || function(r, i) {
|
|
707
707
|
for (var n in i)
|
|
708
708
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
709
|
-
},
|
|
709
|
+
}, We(e, t);
|
|
710
710
|
};
|
|
711
|
-
function
|
|
711
|
+
function fe(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
|
+
We(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
|
-
|
|
721
|
-
return x = Object.assign || function(t) {
|
|
722
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
723
|
-
r = arguments[i];
|
|
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 si(e, t) {
|
|
731
|
-
var r = {};
|
|
732
|
-
for (var i in e)
|
|
733
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
734
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
735
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
736
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
737
|
-
return r;
|
|
738
|
-
}
|
|
739
|
-
function We(e) {
|
|
720
|
+
function ze(e) {
|
|
740
721
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
741
722
|
if (r)
|
|
742
723
|
return r.call(e);
|
|
@@ -748,16 +729,16 @@ function We(e) {
|
|
|
748
729
|
};
|
|
749
730
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
750
731
|
}
|
|
751
|
-
function
|
|
732
|
+
function Ze(e, t) {
|
|
752
733
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
753
734
|
if (!r)
|
|
754
735
|
return e;
|
|
755
|
-
var i = r.call(e), n,
|
|
736
|
+
var i = r.call(e), n, o = [], a;
|
|
756
737
|
try {
|
|
757
738
|
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
758
|
-
|
|
759
|
-
} catch (
|
|
760
|
-
a = { error:
|
|
739
|
+
o.push(n.value);
|
|
740
|
+
} catch (s) {
|
|
741
|
+
a = { error: s };
|
|
761
742
|
} finally {
|
|
762
743
|
try {
|
|
763
744
|
n && !n.done && (r = i.return) && r.call(i);
|
|
@@ -766,24 +747,24 @@ function ze(e, t) {
|
|
|
766
747
|
throw a.error;
|
|
767
748
|
}
|
|
768
749
|
}
|
|
769
|
-
return
|
|
750
|
+
return o;
|
|
770
751
|
}
|
|
771
|
-
function
|
|
772
|
-
if (
|
|
773
|
-
for (var i = 0, n = t.length,
|
|
774
|
-
(
|
|
775
|
-
return e.concat(
|
|
752
|
+
function Qe(e, t, r) {
|
|
753
|
+
if (arguments.length === 2)
|
|
754
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
755
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
756
|
+
return e.concat(o || t);
|
|
776
757
|
}
|
|
777
|
-
function
|
|
758
|
+
function G(e) {
|
|
778
759
|
return typeof e == "function";
|
|
779
760
|
}
|
|
780
|
-
function
|
|
761
|
+
function Zt(e) {
|
|
781
762
|
var t = function(i) {
|
|
782
763
|
Error.call(i), i.stack = new Error().stack;
|
|
783
764
|
}, r = e(t);
|
|
784
765
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
785
766
|
}
|
|
786
|
-
var
|
|
767
|
+
var Ge = Zt(function(e) {
|
|
787
768
|
return function(r) {
|
|
788
769
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
789
770
|
` + r.map(function(i, n) {
|
|
@@ -792,25 +773,25 @@ var Re = zt(function(e) {
|
|
|
792
773
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
793
774
|
};
|
|
794
775
|
});
|
|
795
|
-
function
|
|
776
|
+
function qe(e, t) {
|
|
796
777
|
if (e) {
|
|
797
778
|
var r = e.indexOf(t);
|
|
798
779
|
0 <= r && e.splice(r, 1);
|
|
799
780
|
}
|
|
800
781
|
}
|
|
801
|
-
var
|
|
782
|
+
var Ae = function() {
|
|
802
783
|
function e(t) {
|
|
803
784
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
804
785
|
}
|
|
805
786
|
return e.prototype.unsubscribe = function() {
|
|
806
|
-
var t, r, i, n,
|
|
787
|
+
var t, r, i, n, o;
|
|
807
788
|
if (!this.closed) {
|
|
808
789
|
this.closed = !0;
|
|
809
790
|
var a = this._parentage;
|
|
810
791
|
if (a)
|
|
811
792
|
if (this._parentage = null, Array.isArray(a))
|
|
812
793
|
try {
|
|
813
|
-
for (var
|
|
794
|
+
for (var s = ze(a), u = s.next(); !u.done; u = s.next()) {
|
|
814
795
|
var h = u.value;
|
|
815
796
|
h.remove(this);
|
|
816
797
|
}
|
|
@@ -818,7 +799,7 @@ var He = function() {
|
|
|
818
799
|
t = { error: g };
|
|
819
800
|
} finally {
|
|
820
801
|
try {
|
|
821
|
-
u && !u.done && (r =
|
|
802
|
+
u && !u.done && (r = s.return) && r.call(s);
|
|
822
803
|
} finally {
|
|
823
804
|
if (t)
|
|
824
805
|
throw t.error;
|
|
@@ -827,22 +808,22 @@ var He = function() {
|
|
|
827
808
|
else
|
|
828
809
|
a.remove(this);
|
|
829
810
|
var l = this.initialTeardown;
|
|
830
|
-
if (
|
|
811
|
+
if (G(l))
|
|
831
812
|
try {
|
|
832
813
|
l();
|
|
833
814
|
} catch (g) {
|
|
834
|
-
|
|
815
|
+
o = g instanceof Ge ? g.errors : [g];
|
|
835
816
|
}
|
|
836
817
|
var f = this._finalizers;
|
|
837
818
|
if (f) {
|
|
838
819
|
this._finalizers = null;
|
|
839
820
|
try {
|
|
840
|
-
for (var c =
|
|
821
|
+
for (var c = ze(f), b = c.next(); !b.done; b = c.next()) {
|
|
841
822
|
var p = b.value;
|
|
842
823
|
try {
|
|
843
|
-
|
|
824
|
+
bt(p);
|
|
844
825
|
} catch (g) {
|
|
845
|
-
|
|
826
|
+
o = o ?? [], g instanceof Ge ? o = Qe(Qe([], Ze(o)), Ze(g.errors)) : o.push(g);
|
|
846
827
|
}
|
|
847
828
|
}
|
|
848
829
|
} catch (g) {
|
|
@@ -856,14 +837,14 @@ var He = function() {
|
|
|
856
837
|
}
|
|
857
838
|
}
|
|
858
839
|
}
|
|
859
|
-
if (
|
|
860
|
-
throw new
|
|
840
|
+
if (o)
|
|
841
|
+
throw new Ge(o);
|
|
861
842
|
}
|
|
862
843
|
}, e.prototype.add = function(t) {
|
|
863
844
|
var r;
|
|
864
845
|
if (t && t !== this)
|
|
865
846
|
if (this.closed)
|
|
866
|
-
|
|
847
|
+
bt(t);
|
|
867
848
|
else {
|
|
868
849
|
if (t instanceof e) {
|
|
869
850
|
if (t.closed || t._hasParent(this))
|
|
@@ -880,32 +861,28 @@ var He = function() {
|
|
|
880
861
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
881
862
|
}, e.prototype._removeParent = function(t) {
|
|
882
863
|
var r = this._parentage;
|
|
883
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
864
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
884
865
|
}, e.prototype.remove = function(t) {
|
|
885
866
|
var r = this._finalizers;
|
|
886
|
-
r &&
|
|
867
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
887
868
|
}, e.EMPTY = function() {
|
|
888
869
|
var t = new e();
|
|
889
870
|
return t.closed = !0, t;
|
|
890
871
|
}(), e;
|
|
891
|
-
}(),
|
|
892
|
-
function
|
|
893
|
-
return e instanceof
|
|
894
|
-
}
|
|
895
|
-
function
|
|
896
|
-
|
|
897
|
-
}
|
|
898
|
-
var
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
Promise: void 0,
|
|
902
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
903
|
-
useDeprecatedNextContext: !1
|
|
904
|
-
}, oi = {
|
|
872
|
+
}(), Qt = Ae.EMPTY;
|
|
873
|
+
function qt(e) {
|
|
874
|
+
return e instanceof Ae || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
875
|
+
}
|
|
876
|
+
function bt(e) {
|
|
877
|
+
G(e) ? e() : e.unsubscribe();
|
|
878
|
+
}
|
|
879
|
+
var oi = {
|
|
880
|
+
Promise: void 0
|
|
881
|
+
}, si = {
|
|
905
882
|
setTimeout: function(e, t) {
|
|
906
883
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
907
884
|
r[i - 2] = arguments[i];
|
|
908
|
-
return setTimeout.apply(void 0,
|
|
885
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
909
886
|
},
|
|
910
887
|
clearTimeout: function(e) {
|
|
911
888
|
return clearTimeout(e);
|
|
@@ -913,23 +890,23 @@ var qt = {
|
|
|
913
890
|
delegate: void 0
|
|
914
891
|
};
|
|
915
892
|
function ai(e) {
|
|
916
|
-
|
|
893
|
+
si.setTimeout(function() {
|
|
917
894
|
throw e;
|
|
918
895
|
});
|
|
919
896
|
}
|
|
920
|
-
function
|
|
897
|
+
function yt() {
|
|
921
898
|
}
|
|
922
899
|
function ye(e) {
|
|
923
900
|
e();
|
|
924
901
|
}
|
|
925
902
|
var Jt = function(e) {
|
|
926
|
-
|
|
903
|
+
fe(t, e);
|
|
927
904
|
function t(r) {
|
|
928
905
|
var i = e.call(this) || this;
|
|
929
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
906
|
+
return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = hi, i;
|
|
930
907
|
}
|
|
931
908
|
return t.create = function(r, i, n) {
|
|
932
|
-
return new
|
|
909
|
+
return new Je(r, i, n);
|
|
933
910
|
}, t.prototype.next = function(r) {
|
|
934
911
|
this.isStopped || this._next(r);
|
|
935
912
|
}, t.prototype.error = function(r) {
|
|
@@ -953,11 +930,7 @@ var Jt = function(e) {
|
|
|
953
930
|
this.unsubscribe();
|
|
954
931
|
}
|
|
955
932
|
}, t;
|
|
956
|
-
}(
|
|
957
|
-
function Ge(e, t) {
|
|
958
|
-
return ui.call(e, t);
|
|
959
|
-
}
|
|
960
|
-
var li = function() {
|
|
933
|
+
}(Ae), ui = function() {
|
|
961
934
|
function e(t) {
|
|
962
935
|
this.partialObserver = t;
|
|
963
936
|
}
|
|
@@ -988,55 +961,43 @@ var li = function() {
|
|
|
988
961
|
pe(r);
|
|
989
962
|
}
|
|
990
963
|
}, e;
|
|
991
|
-
}(),
|
|
992
|
-
|
|
964
|
+
}(), Je = function(e) {
|
|
965
|
+
fe(t, e);
|
|
993
966
|
function t(r, i, n) {
|
|
994
|
-
var
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
};
|
|
1001
|
-
else {
|
|
1002
|
-
var o;
|
|
1003
|
-
s && qt.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
1004
|
-
return s.unsubscribe();
|
|
1005
|
-
}, a = {
|
|
1006
|
-
next: r.next && Ge(r.next, o),
|
|
1007
|
-
error: r.error && Ge(r.error, o),
|
|
1008
|
-
complete: r.complete && Ge(r.complete, o)
|
|
1009
|
-
}) : a = r;
|
|
1010
|
-
}
|
|
1011
|
-
return s.destination = new li(a), s;
|
|
967
|
+
var o = e.call(this) || this, a;
|
|
968
|
+
return G(r) || !r ? a = {
|
|
969
|
+
next: r ?? void 0,
|
|
970
|
+
error: i ?? void 0,
|
|
971
|
+
complete: n ?? void 0
|
|
972
|
+
} : a = r, o.destination = new ui(a), o;
|
|
1012
973
|
}
|
|
1013
974
|
return t;
|
|
1014
975
|
}(Jt);
|
|
1015
976
|
function pe(e) {
|
|
1016
977
|
ai(e);
|
|
1017
978
|
}
|
|
1018
|
-
function
|
|
979
|
+
function li(e) {
|
|
1019
980
|
throw e;
|
|
1020
981
|
}
|
|
1021
|
-
var
|
|
982
|
+
var hi = {
|
|
1022
983
|
closed: !0,
|
|
1023
|
-
next:
|
|
1024
|
-
error:
|
|
1025
|
-
complete:
|
|
1026
|
-
},
|
|
984
|
+
next: yt,
|
|
985
|
+
error: li,
|
|
986
|
+
complete: yt
|
|
987
|
+
}, ci = function() {
|
|
1027
988
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1028
989
|
}();
|
|
1029
|
-
function
|
|
990
|
+
function fi(e) {
|
|
1030
991
|
return e;
|
|
1031
992
|
}
|
|
1032
|
-
function
|
|
1033
|
-
return e.length === 0 ?
|
|
993
|
+
function mi(e) {
|
|
994
|
+
return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
|
|
1034
995
|
return e.reduce(function(i, n) {
|
|
1035
996
|
return n(i);
|
|
1036
997
|
}, r);
|
|
1037
998
|
};
|
|
1038
999
|
}
|
|
1039
|
-
var
|
|
1000
|
+
var vt = function() {
|
|
1040
1001
|
function e(t) {
|
|
1041
1002
|
t && (this._subscribe = t);
|
|
1042
1003
|
}
|
|
@@ -1044,11 +1005,11 @@ var yt = function() {
|
|
|
1044
1005
|
var r = new e();
|
|
1045
1006
|
return r.source = this, r.operator = t, r;
|
|
1046
1007
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
1047
|
-
var n = this,
|
|
1008
|
+
var n = this, o = di(t) ? t : new Je(t, r, i);
|
|
1048
1009
|
return ye(function() {
|
|
1049
|
-
var a = n,
|
|
1050
|
-
|
|
1051
|
-
}),
|
|
1010
|
+
var a = n, s = a.operator, u = a.source;
|
|
1011
|
+
o.add(s ? s.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
|
|
1012
|
+
}), o;
|
|
1052
1013
|
}, e.prototype._trySubscribe = function(t) {
|
|
1053
1014
|
try {
|
|
1054
1015
|
return this._subscribe(t);
|
|
@@ -1057,16 +1018,16 @@ var yt = function() {
|
|
|
1057
1018
|
}
|
|
1058
1019
|
}, e.prototype.forEach = function(t, r) {
|
|
1059
1020
|
var i = this;
|
|
1060
|
-
return r =
|
|
1061
|
-
var a = new
|
|
1062
|
-
next: function(
|
|
1021
|
+
return r = _t(r), new r(function(n, o) {
|
|
1022
|
+
var a = new Je({
|
|
1023
|
+
next: function(s) {
|
|
1063
1024
|
try {
|
|
1064
|
-
t(
|
|
1025
|
+
t(s);
|
|
1065
1026
|
} catch (u) {
|
|
1066
|
-
|
|
1027
|
+
o(u), a.unsubscribe();
|
|
1067
1028
|
}
|
|
1068
1029
|
},
|
|
1069
|
-
error:
|
|
1030
|
+
error: o,
|
|
1070
1031
|
complete: n
|
|
1071
1032
|
});
|
|
1072
1033
|
i.subscribe(a);
|
|
@@ -1074,70 +1035,70 @@ var yt = function() {
|
|
|
1074
1035
|
}, e.prototype._subscribe = function(t) {
|
|
1075
1036
|
var r;
|
|
1076
1037
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1077
|
-
}, e.prototype[
|
|
1038
|
+
}, e.prototype[ci] = function() {
|
|
1078
1039
|
return this;
|
|
1079
1040
|
}, e.prototype.pipe = function() {
|
|
1080
1041
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1081
1042
|
t[r] = arguments[r];
|
|
1082
|
-
return
|
|
1043
|
+
return mi(t)(this);
|
|
1083
1044
|
}, e.prototype.toPromise = function(t) {
|
|
1084
1045
|
var r = this;
|
|
1085
|
-
return t =
|
|
1086
|
-
var
|
|
1046
|
+
return t = _t(t), new t(function(i, n) {
|
|
1047
|
+
var o;
|
|
1087
1048
|
r.subscribe(function(a) {
|
|
1088
|
-
return
|
|
1049
|
+
return o = a;
|
|
1089
1050
|
}, function(a) {
|
|
1090
1051
|
return n(a);
|
|
1091
1052
|
}, function() {
|
|
1092
|
-
return i(
|
|
1053
|
+
return i(o);
|
|
1093
1054
|
});
|
|
1094
1055
|
});
|
|
1095
1056
|
}, e.create = function(t) {
|
|
1096
1057
|
return new e(t);
|
|
1097
1058
|
}, e;
|
|
1098
1059
|
}();
|
|
1099
|
-
function
|
|
1060
|
+
function _t(e) {
|
|
1100
1061
|
var t;
|
|
1101
|
-
return (t = e ??
|
|
1062
|
+
return (t = e ?? oi.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1102
1063
|
}
|
|
1103
|
-
function
|
|
1104
|
-
return e &&
|
|
1064
|
+
function pi(e) {
|
|
1065
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
1105
1066
|
}
|
|
1106
|
-
function
|
|
1107
|
-
return e && e instanceof Jt ||
|
|
1067
|
+
function di(e) {
|
|
1068
|
+
return e && e instanceof Jt || pi(e) && qt(e);
|
|
1108
1069
|
}
|
|
1109
|
-
var
|
|
1070
|
+
var gi = Zt(function(e) {
|
|
1110
1071
|
return function() {
|
|
1111
1072
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1112
1073
|
};
|
|
1113
1074
|
}), Yt = function(e) {
|
|
1114
|
-
|
|
1075
|
+
fe(t, e);
|
|
1115
1076
|
function t() {
|
|
1116
1077
|
var r = e.call(this) || this;
|
|
1117
1078
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1118
1079
|
}
|
|
1119
1080
|
return t.prototype.lift = function(r) {
|
|
1120
|
-
var i = new
|
|
1081
|
+
var i = new Et(this, this);
|
|
1121
1082
|
return i.operator = r, i;
|
|
1122
1083
|
}, t.prototype._throwIfClosed = function() {
|
|
1123
1084
|
if (this.closed)
|
|
1124
|
-
throw new
|
|
1085
|
+
throw new gi();
|
|
1125
1086
|
}, t.prototype.next = function(r) {
|
|
1126
1087
|
var i = this;
|
|
1127
1088
|
ye(function() {
|
|
1128
|
-
var n,
|
|
1089
|
+
var n, o;
|
|
1129
1090
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1130
1091
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
1131
1092
|
try {
|
|
1132
|
-
for (var a =
|
|
1133
|
-
var u =
|
|
1093
|
+
for (var a = ze(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1094
|
+
var u = s.value;
|
|
1134
1095
|
u.next(r);
|
|
1135
1096
|
}
|
|
1136
1097
|
} catch (h) {
|
|
1137
1098
|
n = { error: h };
|
|
1138
1099
|
} finally {
|
|
1139
1100
|
try {
|
|
1140
|
-
|
|
1101
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
1141
1102
|
} finally {
|
|
1142
1103
|
if (n)
|
|
1143
1104
|
throw n.error;
|
|
@@ -1177,21 +1138,21 @@ var bi = zt(function(e) {
|
|
|
1177
1138
|
}, t.prototype._subscribe = function(r) {
|
|
1178
1139
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1179
1140
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1180
|
-
var i = this, n = this,
|
|
1181
|
-
return
|
|
1182
|
-
i.currentObservers = null,
|
|
1141
|
+
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1142
|
+
return o || a ? Qt : (this.currentObservers = null, s.push(r), new Ae(function() {
|
|
1143
|
+
i.currentObservers = null, qe(s, r);
|
|
1183
1144
|
}));
|
|
1184
1145
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1185
|
-
var i = this, n = i.hasError,
|
|
1186
|
-
n ? r.error(
|
|
1146
|
+
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1147
|
+
n ? r.error(o) : a && r.complete();
|
|
1187
1148
|
}, t.prototype.asObservable = function() {
|
|
1188
|
-
var r = new
|
|
1149
|
+
var r = new vt();
|
|
1189
1150
|
return r.source = this, r;
|
|
1190
1151
|
}, t.create = function(r, i) {
|
|
1191
|
-
return new
|
|
1152
|
+
return new Et(r, i);
|
|
1192
1153
|
}, t;
|
|
1193
|
-
}(
|
|
1194
|
-
|
|
1154
|
+
}(vt), Et = function(e) {
|
|
1155
|
+
fe(t, e);
|
|
1195
1156
|
function t(r, i) {
|
|
1196
1157
|
var n = e.call(this) || this;
|
|
1197
1158
|
return n.destination = r, n.source = i, n;
|
|
@@ -1207,92 +1168,92 @@ var bi = zt(function(e) {
|
|
|
1207
1168
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1208
1169
|
}, t.prototype._subscribe = function(r) {
|
|
1209
1170
|
var i, n;
|
|
1210
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1171
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
|
|
1211
1172
|
}, t;
|
|
1212
1173
|
}(Yt), Kt = {
|
|
1213
1174
|
now: function() {
|
|
1214
1175
|
return (Kt.delegate || Date).now();
|
|
1215
1176
|
},
|
|
1216
1177
|
delegate: void 0
|
|
1217
|
-
},
|
|
1218
|
-
|
|
1178
|
+
}, bi = function(e) {
|
|
1179
|
+
fe(t, e);
|
|
1219
1180
|
function t(r, i, n) {
|
|
1220
1181
|
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Kt);
|
|
1221
|
-
var
|
|
1222
|
-
return
|
|
1182
|
+
var o = e.call(this) || this;
|
|
1183
|
+
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1223
1184
|
}
|
|
1224
1185
|
return t.prototype.next = function(r) {
|
|
1225
|
-
var i = this, n = i.isStopped,
|
|
1226
|
-
n || (
|
|
1186
|
+
var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, u = i._windowTime;
|
|
1187
|
+
n || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1227
1188
|
}, t.prototype._subscribe = function(r) {
|
|
1228
1189
|
this._throwIfClosed(), this._trimBuffer();
|
|
1229
|
-
for (var i = this._innerSubscribe(r), n = this,
|
|
1230
|
-
r.next(
|
|
1190
|
+
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
|
|
1191
|
+
r.next(s[u]);
|
|
1231
1192
|
return this._checkFinalizedStatuses(r), i;
|
|
1232
1193
|
}, t.prototype._trimBuffer = function() {
|
|
1233
|
-
var r = this, i = r._bufferSize, n = r._timestampProvider,
|
|
1234
|
-
if (i < 1 / 0 &&
|
|
1235
|
-
for (var u = n.now(), h = 0, l = 1; l <
|
|
1194
|
+
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
|
|
1195
|
+
if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1196
|
+
for (var u = n.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
|
|
1236
1197
|
h = l;
|
|
1237
|
-
h &&
|
|
1198
|
+
h && o.splice(0, h + 1);
|
|
1238
1199
|
}
|
|
1239
1200
|
}, t;
|
|
1240
1201
|
}(Yt);
|
|
1241
|
-
const
|
|
1242
|
-
if (
|
|
1243
|
-
const r = new
|
|
1244
|
-
|
|
1202
|
+
const xt = [], wt = {}, yi = (e, t = 0) => {
|
|
1203
|
+
if (xt.indexOf(e) == -1) {
|
|
1204
|
+
const r = new bi(t);
|
|
1205
|
+
wt[e] = r, xt.push(e);
|
|
1245
1206
|
}
|
|
1246
|
-
return
|
|
1247
|
-
},
|
|
1248
|
-
function
|
|
1207
|
+
return wt[e];
|
|
1208
|
+
}, W = [];
|
|
1209
|
+
function vi(e, t) {
|
|
1249
1210
|
return {
|
|
1250
|
-
subscribe:
|
|
1211
|
+
subscribe: Pe(e, t).subscribe
|
|
1251
1212
|
};
|
|
1252
1213
|
}
|
|
1253
|
-
function
|
|
1214
|
+
function Pe(e, t = I) {
|
|
1254
1215
|
let r;
|
|
1255
1216
|
const i = /* @__PURE__ */ new Set();
|
|
1256
|
-
function n(
|
|
1257
|
-
if (Ut(e,
|
|
1258
|
-
const u = !
|
|
1217
|
+
function n(s) {
|
|
1218
|
+
if (Ut(e, s) && (e = s, r)) {
|
|
1219
|
+
const u = !W.length;
|
|
1259
1220
|
for (const h of i)
|
|
1260
|
-
h[1](),
|
|
1221
|
+
h[1](), W.push(h, e);
|
|
1261
1222
|
if (u) {
|
|
1262
|
-
for (let h = 0; h <
|
|
1263
|
-
|
|
1264
|
-
|
|
1223
|
+
for (let h = 0; h < W.length; h += 2)
|
|
1224
|
+
W[h][0](W[h + 1]);
|
|
1225
|
+
W.length = 0;
|
|
1265
1226
|
}
|
|
1266
1227
|
}
|
|
1267
1228
|
}
|
|
1268
|
-
function s
|
|
1269
|
-
n(
|
|
1229
|
+
function o(s) {
|
|
1230
|
+
n(s(e));
|
|
1270
1231
|
}
|
|
1271
|
-
function a(
|
|
1272
|
-
const h = [
|
|
1273
|
-
return i.add(h), i.size === 1 && (r = t(n,
|
|
1232
|
+
function a(s, u = I) {
|
|
1233
|
+
const h = [s, u];
|
|
1234
|
+
return i.add(h), i.size === 1 && (r = t(n, o) || I), s(e), () => {
|
|
1274
1235
|
i.delete(h), i.size === 0 && r && (r(), r = null);
|
|
1275
1236
|
};
|
|
1276
1237
|
}
|
|
1277
|
-
return { set: n, update:
|
|
1238
|
+
return { set: n, update: o, subscribe: a };
|
|
1278
1239
|
}
|
|
1279
1240
|
function re(e, t, r) {
|
|
1280
1241
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1281
1242
|
if (!n.every(Boolean))
|
|
1282
1243
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1283
|
-
const
|
|
1284
|
-
return
|
|
1244
|
+
const o = t.length < 2;
|
|
1245
|
+
return vi(r, (a, s) => {
|
|
1285
1246
|
let u = !1;
|
|
1286
1247
|
const h = [];
|
|
1287
|
-
let l = 0, f =
|
|
1248
|
+
let l = 0, f = I;
|
|
1288
1249
|
const c = () => {
|
|
1289
1250
|
if (l)
|
|
1290
1251
|
return;
|
|
1291
1252
|
f();
|
|
1292
|
-
const p = t(i ? h[0] : h, a,
|
|
1293
|
-
|
|
1253
|
+
const p = t(i ? h[0] : h, a, s);
|
|
1254
|
+
o ? a(p) : f = He(p) ? p : I;
|
|
1294
1255
|
}, b = n.map(
|
|
1295
|
-
(p, g) =>
|
|
1256
|
+
(p, g) => Ft(
|
|
1296
1257
|
p,
|
|
1297
1258
|
(d) => {
|
|
1298
1259
|
h[g] = d, l &= ~(1 << g), u && c();
|
|
@@ -1307,32 +1268,32 @@ function re(e, t, r) {
|
|
|
1307
1268
|
};
|
|
1308
1269
|
});
|
|
1309
1270
|
}
|
|
1310
|
-
function
|
|
1271
|
+
function _i(e) {
|
|
1311
1272
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1312
1273
|
}
|
|
1313
|
-
var
|
|
1314
|
-
return
|
|
1274
|
+
var Ei = function(t) {
|
|
1275
|
+
return xi(t) && !wi(t);
|
|
1315
1276
|
};
|
|
1316
|
-
function
|
|
1277
|
+
function xi(e) {
|
|
1317
1278
|
return !!e && typeof e == "object";
|
|
1318
1279
|
}
|
|
1319
|
-
function
|
|
1280
|
+
function wi(e) {
|
|
1320
1281
|
var t = Object.prototype.toString.call(e);
|
|
1321
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1282
|
+
return t === "[object RegExp]" || t === "[object Date]" || Si(e);
|
|
1322
1283
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1325
|
-
return e.$$typeof ===
|
|
1284
|
+
var Li = typeof Symbol == "function" && Symbol.for, Ti = Li ? Symbol.for("react.element") : 60103;
|
|
1285
|
+
function Si(e) {
|
|
1286
|
+
return e.$$typeof === Ti;
|
|
1326
1287
|
}
|
|
1327
|
-
function
|
|
1288
|
+
function Hi(e) {
|
|
1328
1289
|
return Array.isArray(e) ? [] : {};
|
|
1329
1290
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
|
1291
|
+
function he(e, t) {
|
|
1292
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Hi(e), e, t) : e;
|
|
1332
1293
|
}
|
|
1333
1294
|
function Ai(e, t, r) {
|
|
1334
1295
|
return e.concat(t).map(function(i) {
|
|
1335
|
-
return
|
|
1296
|
+
return he(i, r);
|
|
1336
1297
|
});
|
|
1337
1298
|
}
|
|
1338
1299
|
function Pi(e, t) {
|
|
@@ -1341,13 +1302,13 @@ function Pi(e, t) {
|
|
|
1341
1302
|
var r = t.customMerge(e);
|
|
1342
1303
|
return typeof r == "function" ? r : J;
|
|
1343
1304
|
}
|
|
1344
|
-
function
|
|
1305
|
+
function Bi(e) {
|
|
1345
1306
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1346
1307
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1347
1308
|
}) : [];
|
|
1348
1309
|
}
|
|
1349
|
-
function
|
|
1350
|
-
return Object.keys(e).concat(
|
|
1310
|
+
function Lt(e) {
|
|
1311
|
+
return Object.keys(e).concat(Bi(e));
|
|
1351
1312
|
}
|
|
1352
1313
|
function er(e, t) {
|
|
1353
1314
|
try {
|
|
@@ -1356,21 +1317,21 @@ function er(e, t) {
|
|
|
1356
1317
|
return !1;
|
|
1357
1318
|
}
|
|
1358
1319
|
}
|
|
1359
|
-
function
|
|
1320
|
+
function Oi(e, t) {
|
|
1360
1321
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1361
1322
|
}
|
|
1362
1323
|
function Ii(e, t, r) {
|
|
1363
1324
|
var i = {};
|
|
1364
|
-
return r.isMergeableObject(e) &&
|
|
1365
|
-
i[n] =
|
|
1366
|
-
}),
|
|
1367
|
-
|
|
1325
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
|
|
1326
|
+
i[n] = he(e[n], r);
|
|
1327
|
+
}), Lt(t).forEach(function(n) {
|
|
1328
|
+
Oi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = Pi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
|
|
1368
1329
|
}), i;
|
|
1369
1330
|
}
|
|
1370
1331
|
function J(e, t, r) {
|
|
1371
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject ||
|
|
1372
|
-
var i = Array.isArray(t), n = Array.isArray(e),
|
|
1373
|
-
return
|
|
1332
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || Ei, r.cloneUnlessOtherwiseSpecified = he;
|
|
1333
|
+
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1334
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ii(e, t, r) : he(t, r);
|
|
1374
1335
|
}
|
|
1375
1336
|
J.all = function(t, r) {
|
|
1376
1337
|
if (!Array.isArray(t))
|
|
@@ -1379,10 +1340,52 @@ J.all = function(t, r) {
|
|
|
1379
1340
|
return J(i, n, r);
|
|
1380
1341
|
}, {});
|
|
1381
1342
|
};
|
|
1382
|
-
var
|
|
1383
|
-
const
|
|
1343
|
+
var Mi = J, Ni = Mi;
|
|
1344
|
+
const Ci = /* @__PURE__ */ _i(Ni);
|
|
1345
|
+
var Ye = function(e, t) {
|
|
1346
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
1347
|
+
r.__proto__ = i;
|
|
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
|
+
}
|
|
1384
1387
|
function De(e, t) {
|
|
1385
|
-
var r = t && t.cache ? t.cache :
|
|
1388
|
+
var r = t && t.cache ? t.cache : ki, i = t && t.serializer ? t.serializer : Fi, n = t && t.strategy ? t.strategy : Di;
|
|
1386
1389
|
return n(e, {
|
|
1387
1390
|
cache: r,
|
|
1388
1391
|
serializer: i
|
|
@@ -1391,95 +1394,103 @@ function De(e, t) {
|
|
|
1391
1394
|
function Gi(e) {
|
|
1392
1395
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1393
1396
|
}
|
|
1394
|
-
function
|
|
1395
|
-
var n = Gi(i) ? i : r(i),
|
|
1396
|
-
return typeof
|
|
1397
|
+
function $i(e, t, r, i) {
|
|
1398
|
+
var n = Gi(i) ? i : r(i), o = t.get(n);
|
|
1399
|
+
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1397
1400
|
}
|
|
1398
|
-
function
|
|
1399
|
-
var i = Array.prototype.slice.call(arguments, 3), n = r(i),
|
|
1400
|
-
return typeof
|
|
1401
|
+
function tr(e, t, r) {
|
|
1402
|
+
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1403
|
+
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1401
1404
|
}
|
|
1402
|
-
function
|
|
1405
|
+
function rr(e, t, r, i, n) {
|
|
1403
1406
|
return r.bind(t, e, i, n);
|
|
1404
1407
|
}
|
|
1405
1408
|
function Di(e, t) {
|
|
1406
|
-
var r = e.length === 1 ?
|
|
1407
|
-
return
|
|
1409
|
+
var r = e.length === 1 ? $i : tr;
|
|
1410
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
|
1408
1411
|
}
|
|
1409
1412
|
function Ui(e, t) {
|
|
1410
|
-
return
|
|
1411
|
-
}
|
|
1412
|
-
function $i(e, t) {
|
|
1413
|
-
return ot(e, this, tr, t.cache.create(), t.serializer);
|
|
1413
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
|
1414
1414
|
}
|
|
1415
1415
|
var Fi = function() {
|
|
1416
1416
|
return JSON.stringify(arguments);
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1417
|
+
}, ji = (
|
|
1418
|
+
/** @class */
|
|
1419
|
+
function() {
|
|
1420
|
+
function e() {
|
|
1421
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1422
|
+
}
|
|
1423
|
+
return e.prototype.get = function(t) {
|
|
1424
|
+
return this.cache[t];
|
|
1425
|
+
}, e.prototype.set = function(t, r) {
|
|
1426
|
+
this.cache[t] = r;
|
|
1427
|
+
}, e;
|
|
1428
|
+
}()
|
|
1429
|
+
), ki = {
|
|
1428
1430
|
create: function() {
|
|
1429
|
-
return new
|
|
1431
|
+
return new ji();
|
|
1430
1432
|
}
|
|
1431
1433
|
}, Ue = {
|
|
1432
|
-
variadic: Ui
|
|
1433
|
-
|
|
1434
|
-
|
|
1434
|
+
variadic: Ui
|
|
1435
|
+
}, Le = function() {
|
|
1436
|
+
return Le = Object.assign || function(t) {
|
|
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 _;
|
|
1435
1446
|
(function(e) {
|
|
1436
1447
|
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";
|
|
1437
1448
|
})(_ || (_ = {}));
|
|
1438
|
-
var
|
|
1449
|
+
var x;
|
|
1439
1450
|
(function(e) {
|
|
1440
1451
|
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";
|
|
1441
|
-
})(
|
|
1452
|
+
})(x || (x = {}));
|
|
1442
1453
|
var Y;
|
|
1443
1454
|
(function(e) {
|
|
1444
1455
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1445
1456
|
})(Y || (Y = {}));
|
|
1446
|
-
function
|
|
1447
|
-
return e.type ===
|
|
1457
|
+
function Tt(e) {
|
|
1458
|
+
return e.type === x.literal;
|
|
1448
1459
|
}
|
|
1449
|
-
function
|
|
1450
|
-
return e.type ===
|
|
1460
|
+
function Vi(e) {
|
|
1461
|
+
return e.type === x.argument;
|
|
1451
1462
|
}
|
|
1452
1463
|
function ir(e) {
|
|
1453
|
-
return e.type ===
|
|
1464
|
+
return e.type === x.number;
|
|
1454
1465
|
}
|
|
1455
1466
|
function nr(e) {
|
|
1456
|
-
return e.type ===
|
|
1457
|
-
}
|
|
1458
|
-
function sr(e) {
|
|
1459
|
-
return e.type === w.time;
|
|
1467
|
+
return e.type === x.date;
|
|
1460
1468
|
}
|
|
1461
1469
|
function or(e) {
|
|
1462
|
-
return e.type ===
|
|
1470
|
+
return e.type === x.time;
|
|
1471
|
+
}
|
|
1472
|
+
function sr(e) {
|
|
1473
|
+
return e.type === x.select;
|
|
1463
1474
|
}
|
|
1464
1475
|
function ar(e) {
|
|
1465
|
-
return e.type ===
|
|
1476
|
+
return e.type === x.plural;
|
|
1466
1477
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return e.type ===
|
|
1478
|
+
function Xi(e) {
|
|
1479
|
+
return e.type === x.pound;
|
|
1469
1480
|
}
|
|
1470
1481
|
function ur(e) {
|
|
1471
|
-
return e.type ===
|
|
1482
|
+
return e.type === x.tag;
|
|
1472
1483
|
}
|
|
1473
1484
|
function lr(e) {
|
|
1474
1485
|
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1475
1486
|
}
|
|
1476
|
-
function
|
|
1487
|
+
function Ke(e) {
|
|
1477
1488
|
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1478
1489
|
}
|
|
1479
|
-
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1480
|
-
function
|
|
1490
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
|
|
1491
|
+
function zi(e) {
|
|
1481
1492
|
var t = {};
|
|
1482
|
-
return e.replace(
|
|
1493
|
+
return e.replace(Wi, function(r) {
|
|
1483
1494
|
var i = r.length;
|
|
1484
1495
|
switch (r[0]) {
|
|
1485
1496
|
case "G":
|
|
@@ -1568,30 +1579,40 @@ function Wi(e) {
|
|
|
1568
1579
|
return "";
|
|
1569
1580
|
}), t;
|
|
1570
1581
|
}
|
|
1571
|
-
var
|
|
1572
|
-
function
|
|
1582
|
+
var L = function() {
|
|
1583
|
+
return L = Object.assign || function(t) {
|
|
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) {
|
|
1573
1594
|
if (e.length === 0)
|
|
1574
1595
|
throw new Error("Number skeleton cannot be empty");
|
|
1575
|
-
for (var t = e.split(
|
|
1596
|
+
for (var t = e.split(Zi).filter(function(c) {
|
|
1576
1597
|
return c.length > 0;
|
|
1577
1598
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1578
|
-
var
|
|
1599
|
+
var o = n[i], a = o.split("/");
|
|
1579
1600
|
if (a.length === 0)
|
|
1580
1601
|
throw new Error("Invalid number skeleton");
|
|
1581
|
-
for (var
|
|
1602
|
+
for (var s = a[0], u = a.slice(1), h = 0, l = u; h < l.length; h++) {
|
|
1582
1603
|
var f = l[h];
|
|
1583
1604
|
if (f.length === 0)
|
|
1584
1605
|
throw new Error("Invalid number skeleton");
|
|
1585
1606
|
}
|
|
1586
|
-
r.push({ stem:
|
|
1607
|
+
r.push({ stem: s, options: u });
|
|
1587
1608
|
}
|
|
1588
1609
|
return r;
|
|
1589
1610
|
}
|
|
1590
|
-
function
|
|
1611
|
+
function qi(e) {
|
|
1591
1612
|
return e.replace(/^(.*?)-/, "");
|
|
1592
1613
|
}
|
|
1593
|
-
var
|
|
1594
|
-
function
|
|
1614
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Ji = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1615
|
+
function Ht(e) {
|
|
1595
1616
|
var t = {};
|
|
1596
1617
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
|
|
1597
1618
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
@@ -1637,7 +1658,7 @@ function mr(e) {
|
|
|
1637
1658
|
};
|
|
1638
1659
|
}
|
|
1639
1660
|
}
|
|
1640
|
-
function
|
|
1661
|
+
function Yi(e) {
|
|
1641
1662
|
var t;
|
|
1642
1663
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1643
1664
|
notation: "engineering"
|
|
@@ -1651,11 +1672,11 @@ function Ji(e) {
|
|
|
1651
1672
|
}
|
|
1652
1673
|
return t;
|
|
1653
1674
|
}
|
|
1654
|
-
function
|
|
1675
|
+
function At(e) {
|
|
1655
1676
|
var t = {}, r = mr(e);
|
|
1656
1677
|
return r || t;
|
|
1657
1678
|
}
|
|
1658
|
-
function
|
|
1679
|
+
function Ki(e) {
|
|
1659
1680
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1660
1681
|
var n = i[r];
|
|
1661
1682
|
switch (n.stem) {
|
|
@@ -1679,7 +1700,7 @@ function Yi(e) {
|
|
|
1679
1700
|
continue;
|
|
1680
1701
|
case "measure-unit":
|
|
1681
1702
|
case "unit":
|
|
1682
|
-
t.style = "unit", t.unit =
|
|
1703
|
+
t.style = "unit", t.unit = qi(n.options[0]);
|
|
1683
1704
|
continue;
|
|
1684
1705
|
case "compact-short":
|
|
1685
1706
|
case "K":
|
|
@@ -1690,13 +1711,13 @@ function Yi(e) {
|
|
|
1690
1711
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1691
1712
|
continue;
|
|
1692
1713
|
case "scientific":
|
|
1693
|
-
t =
|
|
1694
|
-
return
|
|
1714
|
+
t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
|
|
1715
|
+
return L(L({}, u), At(h));
|
|
1695
1716
|
}, {}));
|
|
1696
1717
|
continue;
|
|
1697
1718
|
case "engineering":
|
|
1698
|
-
t =
|
|
1699
|
-
return
|
|
1719
|
+
t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
|
|
1720
|
+
return L(L({}, u), At(h));
|
|
1700
1721
|
}, {}));
|
|
1701
1722
|
continue;
|
|
1702
1723
|
case "notation-simple":
|
|
@@ -1741,7 +1762,7 @@ function Yi(e) {
|
|
|
1741
1762
|
case "integer-width":
|
|
1742
1763
|
if (n.options.length > 1)
|
|
1743
1764
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1744
|
-
n.options[0].replace(
|
|
1765
|
+
n.options[0].replace(Ji, function(u, h, l, f, c, b) {
|
|
1745
1766
|
if (h)
|
|
1746
1767
|
t.minimumIntegerDigits = l.length;
|
|
1747
1768
|
else {
|
|
@@ -1758,24 +1779,24 @@ function Yi(e) {
|
|
|
1758
1779
|
t.minimumIntegerDigits = n.stem.length;
|
|
1759
1780
|
continue;
|
|
1760
1781
|
}
|
|
1761
|
-
if (
|
|
1782
|
+
if (St.test(n.stem)) {
|
|
1762
1783
|
if (n.options.length > 1)
|
|
1763
1784
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1764
|
-
n.stem.replace(
|
|
1785
|
+
n.stem.replace(St, function(u, h, l, f, c, b) {
|
|
1765
1786
|
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), "";
|
|
1766
1787
|
});
|
|
1767
|
-
var
|
|
1768
|
-
|
|
1788
|
+
var o = n.options[0];
|
|
1789
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ht(o)));
|
|
1769
1790
|
continue;
|
|
1770
1791
|
}
|
|
1771
1792
|
if (cr.test(n.stem)) {
|
|
1772
|
-
t =
|
|
1793
|
+
t = L(L({}, t), Ht(n.stem));
|
|
1773
1794
|
continue;
|
|
1774
1795
|
}
|
|
1775
1796
|
var a = mr(n.stem);
|
|
1776
|
-
a && (t =
|
|
1777
|
-
var
|
|
1778
|
-
|
|
1797
|
+
a && (t = L(L({}, t), a));
|
|
1798
|
+
var s = Yi(n.stem);
|
|
1799
|
+
s && (t = L(L({}, t), s));
|
|
1779
1800
|
}
|
|
1780
1801
|
return t;
|
|
1781
1802
|
}
|
|
@@ -3194,14 +3215,14 @@ var de = {
|
|
|
3194
3215
|
"h"
|
|
3195
3216
|
]
|
|
3196
3217
|
};
|
|
3197
|
-
function
|
|
3218
|
+
function en(e, t) {
|
|
3198
3219
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3199
3220
|
var n = e.charAt(i);
|
|
3200
3221
|
if (n === "j") {
|
|
3201
|
-
for (var
|
|
3202
|
-
|
|
3203
|
-
var a = 1 + (
|
|
3204
|
-
for ((h == "H" || h == "k") && (
|
|
3222
|
+
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3223
|
+
o++, i++;
|
|
3224
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = tn(t);
|
|
3225
|
+
for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
|
|
3205
3226
|
r += u;
|
|
3206
3227
|
for (; a-- > 0; )
|
|
3207
3228
|
r = h + r;
|
|
@@ -3210,7 +3231,7 @@ function Ki(e, t) {
|
|
|
3210
3231
|
}
|
|
3211
3232
|
return r;
|
|
3212
3233
|
}
|
|
3213
|
-
function
|
|
3234
|
+
function tn(e) {
|
|
3214
3235
|
var t = e.hourCycle;
|
|
3215
3236
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3216
3237
|
e.hourCycles && // @ts-ignore
|
|
@@ -3232,20 +3253,20 @@ function en(e) {
|
|
|
3232
3253
|
var n = de[i || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3233
3254
|
return n[0];
|
|
3234
3255
|
}
|
|
3235
|
-
var
|
|
3256
|
+
var Fe, rn = new RegExp("^".concat(hr.source, "*")), nn = new RegExp("".concat(hr.source, "*$"));
|
|
3236
3257
|
function E(e, t) {
|
|
3237
3258
|
return { start: e, end: t };
|
|
3238
3259
|
}
|
|
3239
|
-
var
|
|
3260
|
+
var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, fn = cn ? Number.isSafeInteger : function(e) {
|
|
3240
3261
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3241
|
-
},
|
|
3262
|
+
}, et = !0;
|
|
3242
3263
|
try {
|
|
3243
|
-
var
|
|
3244
|
-
|
|
3264
|
+
var mn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3265
|
+
et = ((Fe = mn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3245
3266
|
} catch {
|
|
3246
|
-
|
|
3267
|
+
et = !1;
|
|
3247
3268
|
}
|
|
3248
|
-
var
|
|
3269
|
+
var Pt = on ? (
|
|
3249
3270
|
// Native
|
|
3250
3271
|
function(t, r, i) {
|
|
3251
3272
|
return t.startsWith(r, i);
|
|
@@ -3255,31 +3276,31 @@ var Bt = nn ? (
|
|
|
3255
3276
|
function(t, r, i) {
|
|
3256
3277
|
return t.slice(i, i + r.length) === r;
|
|
3257
3278
|
}
|
|
3258
|
-
),
|
|
3279
|
+
), tt = sn ? String.fromCodePoint : (
|
|
3259
3280
|
// IE11
|
|
3260
3281
|
function() {
|
|
3261
3282
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3262
3283
|
t[r] = arguments[r];
|
|
3263
|
-
for (var i = "", n = t.length,
|
|
3264
|
-
if (a = t[
|
|
3284
|
+
for (var i = "", n = t.length, o = 0, a; n > o; ) {
|
|
3285
|
+
if (a = t[o++], a > 1114111)
|
|
3265
3286
|
throw RangeError(a + " is not a valid code point");
|
|
3266
3287
|
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3267
3288
|
}
|
|
3268
3289
|
return i;
|
|
3269
3290
|
}
|
|
3270
|
-
),
|
|
3291
|
+
), Bt = (
|
|
3271
3292
|
// native
|
|
3272
|
-
|
|
3293
|
+
an ? Object.fromEntries : (
|
|
3273
3294
|
// Ponyfill
|
|
3274
3295
|
function(t) {
|
|
3275
3296
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
3276
|
-
var
|
|
3277
|
-
r[a] =
|
|
3297
|
+
var o = n[i], a = o[0], s = o[1];
|
|
3298
|
+
r[a] = s;
|
|
3278
3299
|
}
|
|
3279
3300
|
return r;
|
|
3280
3301
|
}
|
|
3281
3302
|
)
|
|
3282
|
-
), pr =
|
|
3303
|
+
), pr = un ? (
|
|
3283
3304
|
// Native
|
|
3284
3305
|
function(t, r) {
|
|
3285
3306
|
return t.codePointAt(r);
|
|
@@ -3289,11 +3310,11 @@ var Bt = nn ? (
|
|
|
3289
3310
|
function(t, r) {
|
|
3290
3311
|
var i = t.length;
|
|
3291
3312
|
if (!(r < 0 || r >= i)) {
|
|
3292
|
-
var n = t.charCodeAt(r),
|
|
3293
|
-
return n < 55296 || n > 56319 || r + 1 === i || (
|
|
3313
|
+
var n = t.charCodeAt(r), o;
|
|
3314
|
+
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3294
3315
|
}
|
|
3295
3316
|
}
|
|
3296
|
-
),
|
|
3317
|
+
), pn = ln ? (
|
|
3297
3318
|
// Native
|
|
3298
3319
|
function(t) {
|
|
3299
3320
|
return t.trimStart();
|
|
@@ -3301,9 +3322,9 @@ var Bt = nn ? (
|
|
|
3301
3322
|
) : (
|
|
3302
3323
|
// Ponyfill
|
|
3303
3324
|
function(t) {
|
|
3304
|
-
return t.replace(
|
|
3325
|
+
return t.replace(rn, "");
|
|
3305
3326
|
}
|
|
3306
|
-
),
|
|
3327
|
+
), dn = hn ? (
|
|
3307
3328
|
// Native
|
|
3308
3329
|
function(t) {
|
|
3309
3330
|
return t.trimEnd();
|
|
@@ -3311,32 +3332,32 @@ var Bt = nn ? (
|
|
|
3311
3332
|
) : (
|
|
3312
3333
|
// Ponyfill
|
|
3313
3334
|
function(t) {
|
|
3314
|
-
return t.replace(
|
|
3335
|
+
return t.replace(nn, "");
|
|
3315
3336
|
}
|
|
3316
3337
|
);
|
|
3317
3338
|
function dr(e, t) {
|
|
3318
3339
|
return new RegExp(e, t);
|
|
3319
3340
|
}
|
|
3320
|
-
var
|
|
3321
|
-
if (
|
|
3322
|
-
var
|
|
3323
|
-
|
|
3341
|
+
var rt;
|
|
3342
|
+
if (et) {
|
|
3343
|
+
var Ot = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3344
|
+
rt = function(t, r) {
|
|
3324
3345
|
var i;
|
|
3325
|
-
|
|
3326
|
-
var n =
|
|
3346
|
+
Ot.lastIndex = r;
|
|
3347
|
+
var n = Ot.exec(t);
|
|
3327
3348
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3328
3349
|
};
|
|
3329
3350
|
} else
|
|
3330
|
-
|
|
3351
|
+
rt = function(t, r) {
|
|
3331
3352
|
for (var i = []; ; ) {
|
|
3332
3353
|
var n = pr(t, r);
|
|
3333
|
-
if (n === void 0 || gr(n) ||
|
|
3354
|
+
if (n === void 0 || gr(n) || vn(n))
|
|
3334
3355
|
break;
|
|
3335
3356
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3336
3357
|
}
|
|
3337
|
-
return
|
|
3358
|
+
return tt.apply(void 0, i);
|
|
3338
3359
|
};
|
|
3339
|
-
var
|
|
3360
|
+
var gn = (
|
|
3340
3361
|
/** @class */
|
|
3341
3362
|
function() {
|
|
3342
3363
|
function e(t, r) {
|
|
@@ -3348,26 +3369,26 @@ var dn = (
|
|
|
3348
3369
|
return this.parseMessage(0, "", !1);
|
|
3349
3370
|
}, e.prototype.parseMessage = function(t, r, i) {
|
|
3350
3371
|
for (var n = []; !this.isEOF(); ) {
|
|
3351
|
-
var
|
|
3352
|
-
if (
|
|
3372
|
+
var o = this.char();
|
|
3373
|
+
if (o === 123) {
|
|
3353
3374
|
var a = this.parseArgument(t, i);
|
|
3354
3375
|
if (a.err)
|
|
3355
3376
|
return a;
|
|
3356
3377
|
n.push(a.val);
|
|
3357
3378
|
} else {
|
|
3358
|
-
if (
|
|
3379
|
+
if (o === 125 && t > 0)
|
|
3359
3380
|
break;
|
|
3360
|
-
if (
|
|
3361
|
-
var
|
|
3381
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3382
|
+
var s = this.clonePosition();
|
|
3362
3383
|
this.bump(), n.push({
|
|
3363
|
-
type:
|
|
3364
|
-
location: E(
|
|
3384
|
+
type: x.pound,
|
|
3385
|
+
location: E(s, this.clonePosition())
|
|
3365
3386
|
});
|
|
3366
|
-
} else if (
|
|
3387
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3367
3388
|
if (i)
|
|
3368
3389
|
break;
|
|
3369
3390
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3370
|
-
} else if (
|
|
3391
|
+
} else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
|
3371
3392
|
var a = this.parseTag(t, r);
|
|
3372
3393
|
if (a.err)
|
|
3373
3394
|
return a;
|
|
@@ -3388,44 +3409,44 @@ var dn = (
|
|
|
3388
3409
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3389
3410
|
return {
|
|
3390
3411
|
val: {
|
|
3391
|
-
type:
|
|
3412
|
+
type: x.literal,
|
|
3392
3413
|
value: "<".concat(n, "/>"),
|
|
3393
3414
|
location: E(i, this.clonePosition())
|
|
3394
3415
|
},
|
|
3395
3416
|
err: null
|
|
3396
3417
|
};
|
|
3397
3418
|
if (this.bumpIf(">")) {
|
|
3398
|
-
var
|
|
3399
|
-
if (
|
|
3400
|
-
return
|
|
3401
|
-
var a =
|
|
3419
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3420
|
+
if (o.err)
|
|
3421
|
+
return o;
|
|
3422
|
+
var a = o.val, s = this.clonePosition();
|
|
3402
3423
|
if (this.bumpIf("</")) {
|
|
3403
|
-
if (this.isEOF() || !
|
|
3404
|
-
return this.error(_.INVALID_TAG, E(
|
|
3424
|
+
if (this.isEOF() || !it(this.char()))
|
|
3425
|
+
return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
|
|
3405
3426
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3406
3427
|
return n !== h ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3407
3428
|
val: {
|
|
3408
|
-
type:
|
|
3429
|
+
type: x.tag,
|
|
3409
3430
|
value: n,
|
|
3410
3431
|
children: a,
|
|
3411
3432
|
location: E(i, this.clonePosition())
|
|
3412
3433
|
},
|
|
3413
3434
|
err: null
|
|
3414
|
-
} : this.error(_.INVALID_TAG, E(
|
|
3435
|
+
} : this.error(_.INVALID_TAG, E(s, this.clonePosition())));
|
|
3415
3436
|
} else
|
|
3416
3437
|
return this.error(_.UNCLOSED_TAG, E(i, this.clonePosition()));
|
|
3417
3438
|
} else
|
|
3418
3439
|
return this.error(_.INVALID_TAG, E(i, this.clonePosition()));
|
|
3419
3440
|
}, e.prototype.parseTagName = function() {
|
|
3420
3441
|
var t = this.offset();
|
|
3421
|
-
for (this.bump(); !this.isEOF() &&
|
|
3442
|
+
for (this.bump(); !this.isEOF() && yn(this.char()); )
|
|
3422
3443
|
this.bump();
|
|
3423
3444
|
return this.message.slice(t, this.offset());
|
|
3424
3445
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3425
3446
|
for (var i = this.clonePosition(), n = ""; ; ) {
|
|
3426
|
-
var
|
|
3427
|
-
if (
|
|
3428
|
-
n +=
|
|
3447
|
+
var o = this.tryParseQuote(r);
|
|
3448
|
+
if (o) {
|
|
3449
|
+
n += o;
|
|
3429
3450
|
continue;
|
|
3430
3451
|
}
|
|
3431
3452
|
var a = this.tryParseUnquoted(t, r);
|
|
@@ -3433,21 +3454,21 @@ var dn = (
|
|
|
3433
3454
|
n += a;
|
|
3434
3455
|
continue;
|
|
3435
3456
|
}
|
|
3436
|
-
var
|
|
3437
|
-
if (
|
|
3438
|
-
n +=
|
|
3457
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3458
|
+
if (s) {
|
|
3459
|
+
n += s;
|
|
3439
3460
|
continue;
|
|
3440
3461
|
}
|
|
3441
3462
|
break;
|
|
3442
3463
|
}
|
|
3443
3464
|
var u = E(i, this.clonePosition());
|
|
3444
3465
|
return {
|
|
3445
|
-
val: { type:
|
|
3466
|
+
val: { type: x.literal, value: n, location: u },
|
|
3446
3467
|
err: null
|
|
3447
3468
|
};
|
|
3448
3469
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3449
3470
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3450
|
-
!
|
|
3471
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3451
3472
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3452
3473
|
if (this.isEOF() || this.char() !== 39)
|
|
3453
3474
|
return null;
|
|
@@ -3481,12 +3502,12 @@ var dn = (
|
|
|
3481
3502
|
r.push(i);
|
|
3482
3503
|
this.bump();
|
|
3483
3504
|
}
|
|
3484
|
-
return
|
|
3505
|
+
return tt.apply(void 0, r);
|
|
3485
3506
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3486
3507
|
if (this.isEOF())
|
|
3487
3508
|
return null;
|
|
3488
3509
|
var i = this.char();
|
|
3489
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3510
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
|
|
3490
3511
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3491
3512
|
var i = this.clonePosition();
|
|
3492
3513
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3502,7 +3523,7 @@ var dn = (
|
|
|
3502
3523
|
case 125:
|
|
3503
3524
|
return this.bump(), {
|
|
3504
3525
|
val: {
|
|
3505
|
-
type:
|
|
3526
|
+
type: x.argument,
|
|
3506
3527
|
// value does not include the opening and closing braces.
|
|
3507
3528
|
value: n,
|
|
3508
3529
|
location: E(i, this.clonePosition())
|
|
@@ -3515,13 +3536,13 @@ var dn = (
|
|
|
3515
3536
|
return this.error(_.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
|
|
3516
3537
|
}
|
|
3517
3538
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3518
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3539
|
+
var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
|
|
3519
3540
|
this.bumpTo(n);
|
|
3520
|
-
var
|
|
3541
|
+
var o = this.clonePosition(), a = E(t, o);
|
|
3521
3542
|
return { value: i, location: a };
|
|
3522
3543
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3523
|
-
var
|
|
3524
|
-
switch (
|
|
3544
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3545
|
+
switch (s) {
|
|
3525
3546
|
case "":
|
|
3526
3547
|
return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
|
|
3527
3548
|
case "number":
|
|
@@ -3534,7 +3555,7 @@ var dn = (
|
|
|
3534
3555
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3535
3556
|
if (f.err)
|
|
3536
3557
|
return f;
|
|
3537
|
-
var c =
|
|
3558
|
+
var c = dn(f.val);
|
|
3538
3559
|
if (c.length === 0)
|
|
3539
3560
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3540
3561
|
var b = E(l, this.clonePosition());
|
|
@@ -3544,25 +3565,25 @@ var dn = (
|
|
|
3544
3565
|
if (p.err)
|
|
3545
3566
|
return p;
|
|
3546
3567
|
var g = E(n, this.clonePosition());
|
|
3547
|
-
if (h &&
|
|
3548
|
-
var d =
|
|
3549
|
-
if (
|
|
3568
|
+
if (h && Pt(h?.style, "::", 0)) {
|
|
3569
|
+
var d = pn(h.style.slice(2));
|
|
3570
|
+
if (s === "number") {
|
|
3550
3571
|
var f = this.parseNumberSkeletonFromString(d, h.styleLocation);
|
|
3551
3572
|
return f.err ? f : {
|
|
3552
|
-
val: { type:
|
|
3573
|
+
val: { type: x.number, value: i, location: g, style: f.val },
|
|
3553
3574
|
err: null
|
|
3554
3575
|
};
|
|
3555
3576
|
} else {
|
|
3556
3577
|
if (d.length === 0)
|
|
3557
3578
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3558
3579
|
var v = d;
|
|
3559
|
-
this.locale && (v =
|
|
3580
|
+
this.locale && (v = en(d, this.locale));
|
|
3560
3581
|
var c = {
|
|
3561
3582
|
type: Y.dateTime,
|
|
3562
3583
|
pattern: v,
|
|
3563
3584
|
location: h.styleLocation,
|
|
3564
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3565
|
-
}, T =
|
|
3585
|
+
parsedOptions: this.shouldParseSkeletons ? zi(v) : {}
|
|
3586
|
+
}, T = s === "date" ? x.date : x.time;
|
|
3566
3587
|
return {
|
|
3567
3588
|
val: { type: T, value: i, location: g, style: c },
|
|
3568
3589
|
err: null
|
|
@@ -3571,10 +3592,10 @@ var dn = (
|
|
|
3571
3592
|
}
|
|
3572
3593
|
return {
|
|
3573
3594
|
val: {
|
|
3574
|
-
type:
|
|
3595
|
+
type: s === "number" ? x.number : s === "date" ? x.date : x.time,
|
|
3575
3596
|
value: i,
|
|
3576
3597
|
location: g,
|
|
3577
|
-
style: (
|
|
3598
|
+
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
|
3578
3599
|
},
|
|
3579
3600
|
err: null
|
|
3580
3601
|
};
|
|
@@ -3584,41 +3605,41 @@ var dn = (
|
|
|
3584
3605
|
case "select": {
|
|
3585
3606
|
var S = this.clonePosition();
|
|
3586
3607
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3587
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S,
|
|
3608
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, Le({}, S)));
|
|
3588
3609
|
this.bumpSpace();
|
|
3589
|
-
var
|
|
3590
|
-
if (
|
|
3610
|
+
var M = this.parseIdentifierIfPossible(), A = 0;
|
|
3611
|
+
if (s !== "select" && M.value === "offset") {
|
|
3591
3612
|
if (!this.bumpIf(":"))
|
|
3592
3613
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3593
3614
|
this.bumpSpace();
|
|
3594
3615
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3595
3616
|
if (f.err)
|
|
3596
3617
|
return f;
|
|
3597
|
-
this.bumpSpace(),
|
|
3618
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = f.val;
|
|
3598
3619
|
}
|
|
3599
|
-
var
|
|
3600
|
-
if (
|
|
3601
|
-
return
|
|
3620
|
+
var C = this.tryParsePluralOrSelectOptions(t, s, r, M);
|
|
3621
|
+
if (C.err)
|
|
3622
|
+
return C;
|
|
3602
3623
|
var p = this.tryParseArgumentClose(n);
|
|
3603
3624
|
if (p.err)
|
|
3604
3625
|
return p;
|
|
3605
|
-
var
|
|
3606
|
-
return
|
|
3626
|
+
var k = E(n, this.clonePosition());
|
|
3627
|
+
return s === "select" ? {
|
|
3607
3628
|
val: {
|
|
3608
|
-
type:
|
|
3629
|
+
type: x.select,
|
|
3609
3630
|
value: i,
|
|
3610
|
-
options:
|
|
3611
|
-
location:
|
|
3631
|
+
options: Bt(C.val),
|
|
3632
|
+
location: k
|
|
3612
3633
|
},
|
|
3613
3634
|
err: null
|
|
3614
3635
|
} : {
|
|
3615
3636
|
val: {
|
|
3616
|
-
type:
|
|
3637
|
+
type: x.plural,
|
|
3617
3638
|
value: i,
|
|
3618
|
-
options:
|
|
3619
|
-
offset:
|
|
3620
|
-
pluralType:
|
|
3621
|
-
location:
|
|
3639
|
+
options: Bt(C.val),
|
|
3640
|
+
offset: A,
|
|
3641
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3642
|
+
location: k
|
|
3622
3643
|
},
|
|
3623
3644
|
err: null
|
|
3624
3645
|
};
|
|
@@ -3666,7 +3687,7 @@ var dn = (
|
|
|
3666
3687
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3667
3688
|
var i = [];
|
|
3668
3689
|
try {
|
|
3669
|
-
i =
|
|
3690
|
+
i = Qi(t);
|
|
3670
3691
|
} catch {
|
|
3671
3692
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3672
3693
|
}
|
|
@@ -3675,12 +3696,12 @@ var dn = (
|
|
|
3675
3696
|
type: Y.number,
|
|
3676
3697
|
tokens: i,
|
|
3677
3698
|
location: r,
|
|
3678
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3699
|
+
parsedOptions: this.shouldParseSkeletons ? Ki(i) : {}
|
|
3679
3700
|
},
|
|
3680
3701
|
err: null
|
|
3681
3702
|
};
|
|
3682
3703
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3683
|
-
for (var
|
|
3704
|
+
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), h = n.value, l = n.location; ; ) {
|
|
3684
3705
|
if (h.length === 0) {
|
|
3685
3706
|
var f = this.clonePosition();
|
|
3686
3707
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3703,27 +3724,27 @@ var dn = (
|
|
|
3703
3724
|
var g = this.tryParseArgumentClose(b);
|
|
3704
3725
|
if (g.err)
|
|
3705
3726
|
return g;
|
|
3706
|
-
|
|
3727
|
+
s.push([
|
|
3707
3728
|
h,
|
|
3708
3729
|
{
|
|
3709
3730
|
value: p.val,
|
|
3710
3731
|
location: E(b, this.clonePosition())
|
|
3711
3732
|
}
|
|
3712
|
-
]), u.add(h), this.bumpSpace(),
|
|
3733
|
+
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
|
|
3713
3734
|
}
|
|
3714
|
-
return
|
|
3735
|
+
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3715
3736
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3716
3737
|
var i = 1, n = this.clonePosition();
|
|
3717
3738
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3718
|
-
for (var
|
|
3719
|
-
var
|
|
3720
|
-
if (
|
|
3721
|
-
|
|
3739
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3740
|
+
var s = this.char();
|
|
3741
|
+
if (s >= 48 && s <= 57)
|
|
3742
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3722
3743
|
else
|
|
3723
3744
|
break;
|
|
3724
3745
|
}
|
|
3725
3746
|
var u = E(n, this.clonePosition());
|
|
3726
|
-
return
|
|
3747
|
+
return o ? (a *= i, fn(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3727
3748
|
}, e.prototype.offset = function() {
|
|
3728
3749
|
return this.position.offset;
|
|
3729
3750
|
}, e.prototype.isEOF = function() {
|
|
@@ -3757,7 +3778,7 @@ var dn = (
|
|
|
3757
3778
|
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);
|
|
3758
3779
|
}
|
|
3759
3780
|
}, e.prototype.bumpIf = function(t) {
|
|
3760
|
-
if (
|
|
3781
|
+
if (Pt(this.message, t, this.offset())) {
|
|
3761
3782
|
for (var r = 0; r < t.length; r++)
|
|
3762
3783
|
this.bump();
|
|
3763
3784
|
return !0;
|
|
@@ -3789,204 +3810,204 @@ var dn = (
|
|
|
3789
3810
|
}, e;
|
|
3790
3811
|
}()
|
|
3791
3812
|
);
|
|
3792
|
-
function
|
|
3813
|
+
function it(e) {
|
|
3793
3814
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3794
3815
|
}
|
|
3795
|
-
function gn(e) {
|
|
3796
|
-
return et(e) || e === 47;
|
|
3797
|
-
}
|
|
3798
3816
|
function bn(e) {
|
|
3817
|
+
return it(e) || e === 47;
|
|
3818
|
+
}
|
|
3819
|
+
function yn(e) {
|
|
3799
3820
|
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;
|
|
3800
3821
|
}
|
|
3801
3822
|
function gr(e) {
|
|
3802
3823
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3803
3824
|
}
|
|
3804
|
-
function
|
|
3825
|
+
function vn(e) {
|
|
3805
3826
|
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;
|
|
3806
3827
|
}
|
|
3807
|
-
function
|
|
3828
|
+
function nt(e) {
|
|
3808
3829
|
e.forEach(function(t) {
|
|
3809
|
-
if (delete t.location,
|
|
3830
|
+
if (delete t.location, sr(t) || ar(t))
|
|
3810
3831
|
for (var r in t.options)
|
|
3811
|
-
delete t.options[r].location,
|
|
3832
|
+
delete t.options[r].location, nt(t.options[r].value);
|
|
3812
3833
|
else
|
|
3813
|
-
ir(t) && lr(t.style) || (nr(t) ||
|
|
3834
|
+
ir(t) && lr(t.style) || (nr(t) || or(t)) && Ke(t.style) ? delete t.style.location : ur(t) && nt(t.children);
|
|
3814
3835
|
});
|
|
3815
3836
|
}
|
|
3816
|
-
function
|
|
3817
|
-
t === void 0 && (t = {}), t =
|
|
3818
|
-
var r = new
|
|
3837
|
+
function _n(e, t) {
|
|
3838
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3839
|
+
var r = new gn(e, t).parse();
|
|
3819
3840
|
if (r.err) {
|
|
3820
3841
|
var i = SyntaxError(_[r.err.kind]);
|
|
3821
3842
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3822
3843
|
}
|
|
3823
|
-
return t?.captureLocation ||
|
|
3844
|
+
return t?.captureLocation || nt(r.val), r.val;
|
|
3824
3845
|
}
|
|
3825
3846
|
var K;
|
|
3826
3847
|
(function(e) {
|
|
3827
3848
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3828
3849
|
})(K || (K = {}));
|
|
3829
|
-
var
|
|
3850
|
+
var Oe = (
|
|
3830
3851
|
/** @class */
|
|
3831
3852
|
function(e) {
|
|
3832
|
-
|
|
3853
|
+
Be(t, e);
|
|
3833
3854
|
function t(r, i, n) {
|
|
3834
|
-
var
|
|
3835
|
-
return
|
|
3855
|
+
var o = e.call(this, r) || this;
|
|
3856
|
+
return o.code = i, o.originalMessage = n, o;
|
|
3836
3857
|
}
|
|
3837
3858
|
return t.prototype.toString = function() {
|
|
3838
3859
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3839
3860
|
}, t;
|
|
3840
3861
|
}(Error)
|
|
3841
|
-
),
|
|
3862
|
+
), It = (
|
|
3842
3863
|
/** @class */
|
|
3843
3864
|
function(e) {
|
|
3844
|
-
|
|
3845
|
-
function t(r, i, n,
|
|
3846
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE,
|
|
3865
|
+
Be(t, e);
|
|
3866
|
+
function t(r, i, n, o) {
|
|
3867
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
|
|
3847
3868
|
}
|
|
3848
3869
|
return t;
|
|
3849
|
-
}(
|
|
3850
|
-
),
|
|
3870
|
+
}(Oe)
|
|
3871
|
+
), En = (
|
|
3851
3872
|
/** @class */
|
|
3852
3873
|
function(e) {
|
|
3853
|
-
|
|
3874
|
+
Be(t, e);
|
|
3854
3875
|
function t(r, i, n) {
|
|
3855
3876
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
|
|
3856
3877
|
}
|
|
3857
3878
|
return t;
|
|
3858
|
-
}(
|
|
3859
|
-
),
|
|
3879
|
+
}(Oe)
|
|
3880
|
+
), xn = (
|
|
3860
3881
|
/** @class */
|
|
3861
3882
|
function(e) {
|
|
3862
|
-
|
|
3883
|
+
Be(t, e);
|
|
3863
3884
|
function t(r, i) {
|
|
3864
3885
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
|
|
3865
3886
|
}
|
|
3866
3887
|
return t;
|
|
3867
|
-
}(
|
|
3868
|
-
),
|
|
3888
|
+
}(Oe)
|
|
3889
|
+
), B;
|
|
3869
3890
|
(function(e) {
|
|
3870
3891
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3871
|
-
})(
|
|
3872
|
-
function
|
|
3892
|
+
})(B || (B = {}));
|
|
3893
|
+
function wn(e) {
|
|
3873
3894
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3874
3895
|
var i = t[t.length - 1];
|
|
3875
|
-
return !i || i.type !==
|
|
3896
|
+
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3876
3897
|
}, []);
|
|
3877
3898
|
}
|
|
3878
|
-
function
|
|
3899
|
+
function Ln(e) {
|
|
3879
3900
|
return typeof e == "function";
|
|
3880
3901
|
}
|
|
3881
|
-
function ve(e, t, r, i, n,
|
|
3882
|
-
if (e.length === 1 &&
|
|
3902
|
+
function ve(e, t, r, i, n, o, a) {
|
|
3903
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3883
3904
|
return [
|
|
3884
3905
|
{
|
|
3885
|
-
type:
|
|
3906
|
+
type: B.literal,
|
|
3886
3907
|
value: e[0].value
|
|
3887
3908
|
}
|
|
3888
3909
|
];
|
|
3889
|
-
for (var
|
|
3910
|
+
for (var s = [], u = 0, h = e; u < h.length; u++) {
|
|
3890
3911
|
var l = h[u];
|
|
3891
|
-
if (
|
|
3892
|
-
|
|
3893
|
-
type:
|
|
3912
|
+
if (Tt(l)) {
|
|
3913
|
+
s.push({
|
|
3914
|
+
type: B.literal,
|
|
3894
3915
|
value: l.value
|
|
3895
3916
|
});
|
|
3896
3917
|
continue;
|
|
3897
3918
|
}
|
|
3898
|
-
if (
|
|
3899
|
-
typeof
|
|
3900
|
-
type:
|
|
3901
|
-
value: r.getNumberFormat(t).format(
|
|
3919
|
+
if (Xi(l)) {
|
|
3920
|
+
typeof o == "number" && s.push({
|
|
3921
|
+
type: B.literal,
|
|
3922
|
+
value: r.getNumberFormat(t).format(o)
|
|
3902
3923
|
});
|
|
3903
3924
|
continue;
|
|
3904
3925
|
}
|
|
3905
3926
|
var f = l.value;
|
|
3906
3927
|
if (!(n && f in n))
|
|
3907
|
-
throw new
|
|
3928
|
+
throw new xn(f, a);
|
|
3908
3929
|
var c = n[f];
|
|
3909
|
-
if (
|
|
3910
|
-
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""),
|
|
3911
|
-
type: typeof c == "string" ?
|
|
3930
|
+
if (Vi(l)) {
|
|
3931
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3932
|
+
type: typeof c == "string" ? B.literal : B.object,
|
|
3912
3933
|
value: c
|
|
3913
3934
|
});
|
|
3914
3935
|
continue;
|
|
3915
3936
|
}
|
|
3916
3937
|
if (nr(l)) {
|
|
3917
|
-
var b = typeof l.style == "string" ? i.date[l.style] :
|
|
3918
|
-
|
|
3919
|
-
type:
|
|
3938
|
+
var b = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3939
|
+
s.push({
|
|
3940
|
+
type: B.literal,
|
|
3920
3941
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3921
3942
|
});
|
|
3922
3943
|
continue;
|
|
3923
3944
|
}
|
|
3924
|
-
if (
|
|
3925
|
-
var b = typeof l.style == "string" ? i.time[l.style] :
|
|
3926
|
-
|
|
3927
|
-
type:
|
|
3945
|
+
if (or(l)) {
|
|
3946
|
+
var b = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3947
|
+
s.push({
|
|
3948
|
+
type: B.literal,
|
|
3928
3949
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3929
3950
|
});
|
|
3930
3951
|
continue;
|
|
3931
3952
|
}
|
|
3932
3953
|
if (ir(l)) {
|
|
3933
3954
|
var b = typeof l.style == "string" ? i.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
|
|
3934
|
-
b && b.scale && (c = c * (b.scale || 1)),
|
|
3935
|
-
type:
|
|
3955
|
+
b && b.scale && (c = c * (b.scale || 1)), s.push({
|
|
3956
|
+
type: B.literal,
|
|
3936
3957
|
value: r.getNumberFormat(t, b).format(c)
|
|
3937
3958
|
});
|
|
3938
3959
|
continue;
|
|
3939
3960
|
}
|
|
3940
3961
|
if (ur(l)) {
|
|
3941
3962
|
var p = l.children, g = l.value, d = n[g];
|
|
3942
|
-
if (!
|
|
3943
|
-
throw new
|
|
3944
|
-
var v = ve(p, t, r, i, n,
|
|
3945
|
-
return
|
|
3963
|
+
if (!Ln(d))
|
|
3964
|
+
throw new En(g, "function", a);
|
|
3965
|
+
var v = ve(p, t, r, i, n, o), T = d(v.map(function(A) {
|
|
3966
|
+
return A.value;
|
|
3946
3967
|
}));
|
|
3947
|
-
Array.isArray(T) || (T = [T]),
|
|
3968
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(A) {
|
|
3948
3969
|
return {
|
|
3949
|
-
type: typeof
|
|
3950
|
-
value:
|
|
3970
|
+
type: typeof A == "string" ? B.literal : B.object,
|
|
3971
|
+
value: A
|
|
3951
3972
|
};
|
|
3952
3973
|
}));
|
|
3953
3974
|
}
|
|
3954
|
-
if (
|
|
3975
|
+
if (sr(l)) {
|
|
3955
3976
|
var S = l.options[c] || l.options.other;
|
|
3956
3977
|
if (!S)
|
|
3957
|
-
throw new
|
|
3958
|
-
|
|
3978
|
+
throw new It(l.value, c, Object.keys(l.options), a);
|
|
3979
|
+
s.push.apply(s, ve(S.value, t, r, i, n));
|
|
3959
3980
|
continue;
|
|
3960
3981
|
}
|
|
3961
3982
|
if (ar(l)) {
|
|
3962
3983
|
var S = l.options["=".concat(c)];
|
|
3963
3984
|
if (!S) {
|
|
3964
3985
|
if (!Intl.PluralRules)
|
|
3965
|
-
throw new
|
|
3986
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3966
3987
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3967
3988
|
`, K.MISSING_INTL_API, a);
|
|
3968
|
-
var
|
|
3969
|
-
S = l.options[
|
|
3989
|
+
var M = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3990
|
+
S = l.options[M] || l.options.other;
|
|
3970
3991
|
}
|
|
3971
3992
|
if (!S)
|
|
3972
|
-
throw new
|
|
3973
|
-
|
|
3993
|
+
throw new It(l.value, c, Object.keys(l.options), a);
|
|
3994
|
+
s.push.apply(s, ve(S.value, t, r, i, n, c - (l.offset || 0)));
|
|
3974
3995
|
continue;
|
|
3975
3996
|
}
|
|
3976
3997
|
}
|
|
3977
|
-
return
|
|
3998
|
+
return wn(s);
|
|
3978
3999
|
}
|
|
3979
|
-
function
|
|
3980
|
-
return t ?
|
|
3981
|
-
return r[i] =
|
|
4000
|
+
function Tn(e, t) {
|
|
4001
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
4002
|
+
return r[i] = N(N({}, e[i]), t[i] || {}), r;
|
|
3982
4003
|
}, {})) : e;
|
|
3983
4004
|
}
|
|
3984
|
-
function
|
|
4005
|
+
function Sn(e, t) {
|
|
3985
4006
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3986
|
-
return r[i] =
|
|
3987
|
-
},
|
|
4007
|
+
return r[i] = Tn(e[i], t[i]), r;
|
|
4008
|
+
}, N({}, e)) : e;
|
|
3988
4009
|
}
|
|
3989
|
-
function
|
|
4010
|
+
function je(e) {
|
|
3990
4011
|
return {
|
|
3991
4012
|
create: function() {
|
|
3992
4013
|
return {
|
|
@@ -4000,7 +4021,7 @@ function Fe(e) {
|
|
|
4000
4021
|
}
|
|
4001
4022
|
};
|
|
4002
4023
|
}
|
|
4003
|
-
function
|
|
4024
|
+
function Hn(e) {
|
|
4004
4025
|
return e === void 0 && (e = {
|
|
4005
4026
|
number: {},
|
|
4006
4027
|
dateTime: {},
|
|
@@ -4009,68 +4030,68 @@ function Sn(e) {
|
|
|
4009
4030
|
getNumberFormat: De(function() {
|
|
4010
4031
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4011
4032
|
r[i] = arguments[i];
|
|
4012
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4033
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4013
4034
|
}, {
|
|
4014
|
-
cache:
|
|
4035
|
+
cache: je(e.number),
|
|
4015
4036
|
strategy: Ue.variadic
|
|
4016
4037
|
}),
|
|
4017
4038
|
getDateTimeFormat: De(function() {
|
|
4018
4039
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4019
4040
|
r[i] = arguments[i];
|
|
4020
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4041
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4021
4042
|
}, {
|
|
4022
|
-
cache:
|
|
4043
|
+
cache: je(e.dateTime),
|
|
4023
4044
|
strategy: Ue.variadic
|
|
4024
4045
|
}),
|
|
4025
4046
|
getPluralRules: De(function() {
|
|
4026
4047
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4027
4048
|
r[i] = arguments[i];
|
|
4028
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4049
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
4029
4050
|
}, {
|
|
4030
|
-
cache:
|
|
4051
|
+
cache: je(e.pluralRules),
|
|
4031
4052
|
strategy: Ue.variadic
|
|
4032
4053
|
})
|
|
4033
4054
|
};
|
|
4034
4055
|
}
|
|
4035
|
-
var
|
|
4056
|
+
var An = (
|
|
4036
4057
|
/** @class */
|
|
4037
4058
|
function() {
|
|
4038
4059
|
function e(t, r, i, n) {
|
|
4039
4060
|
r === void 0 && (r = e.defaultLocale);
|
|
4040
|
-
var
|
|
4061
|
+
var o = this;
|
|
4041
4062
|
if (this.formatterCache = {
|
|
4042
4063
|
number: {},
|
|
4043
4064
|
dateTime: {},
|
|
4044
4065
|
pluralRules: {}
|
|
4045
4066
|
}, this.format = function(u) {
|
|
4046
|
-
var h =
|
|
4067
|
+
var h = o.formatToParts(u);
|
|
4047
4068
|
if (h.length === 1)
|
|
4048
4069
|
return h[0].value;
|
|
4049
4070
|
var l = h.reduce(function(f, c) {
|
|
4050
|
-
return !f.length || c.type !==
|
|
4071
|
+
return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4051
4072
|
}, []);
|
|
4052
4073
|
return l.length <= 1 ? l[0] || "" : l;
|
|
4053
4074
|
}, this.formatToParts = function(u) {
|
|
4054
|
-
return ve(
|
|
4075
|
+
return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
4055
4076
|
}, this.resolvedOptions = function() {
|
|
4056
4077
|
var u;
|
|
4057
4078
|
return {
|
|
4058
|
-
locale: ((u =
|
|
4079
|
+
locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
4059
4080
|
};
|
|
4060
4081
|
}, this.getAst = function() {
|
|
4061
|
-
return
|
|
4082
|
+
return o.ast;
|
|
4062
4083
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4063
4084
|
if (this.message = t, !e.__parse)
|
|
4064
4085
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4065
4086
|
var a = n || {};
|
|
4066
4087
|
a.formatters;
|
|
4067
|
-
var
|
|
4068
|
-
this.ast = e.__parse(t,
|
|
4088
|
+
var s = Ri(a, ["formatters"]);
|
|
4089
|
+
this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
|
|
4069
4090
|
} else
|
|
4070
4091
|
this.ast = t;
|
|
4071
4092
|
if (!Array.isArray(this.ast))
|
|
4072
4093
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4073
|
-
this.formats =
|
|
4094
|
+
this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || Hn(this.formatterCache);
|
|
4074
4095
|
}
|
|
4075
4096
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4076
4097
|
get: function() {
|
|
@@ -4083,7 +4104,7 @@ var Hn = (
|
|
|
4083
4104
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4084
4105
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4085
4106
|
}
|
|
4086
|
-
}, e.__parse =
|
|
4107
|
+
}, e.__parse = _n, e.formats = {
|
|
4087
4108
|
number: {
|
|
4088
4109
|
integer: {
|
|
4089
4110
|
maximumFractionDigits: 0
|
|
@@ -4144,7 +4165,7 @@ var Hn = (
|
|
|
4144
4165
|
}, e;
|
|
4145
4166
|
}()
|
|
4146
4167
|
);
|
|
4147
|
-
function
|
|
4168
|
+
function Pn(e, t) {
|
|
4148
4169
|
if (t == null)
|
|
4149
4170
|
return;
|
|
4150
4171
|
if (t in e)
|
|
@@ -4154,9 +4175,9 @@ function Bn(e, t) {
|
|
|
4154
4175
|
for (let n = 0; n < r.length; n++)
|
|
4155
4176
|
if (typeof i == "object") {
|
|
4156
4177
|
if (n > 0) {
|
|
4157
|
-
const
|
|
4158
|
-
if (
|
|
4159
|
-
i = i[
|
|
4178
|
+
const o = r.slice(n, r.length).join(".");
|
|
4179
|
+
if (o in i) {
|
|
4180
|
+
i = i[o];
|
|
4160
4181
|
break;
|
|
4161
4182
|
}
|
|
4162
4183
|
}
|
|
@@ -4165,36 +4186,36 @@ function Bn(e, t) {
|
|
|
4165
4186
|
i = void 0;
|
|
4166
4187
|
return i;
|
|
4167
4188
|
}
|
|
4168
|
-
const
|
|
4189
|
+
const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), br = (e, t) => {
|
|
4169
4190
|
if (t == null)
|
|
4170
4191
|
return;
|
|
4171
|
-
if (t in
|
|
4172
|
-
return
|
|
4173
|
-
const r =
|
|
4192
|
+
if (t in D && e in D[t])
|
|
4193
|
+
return D[t][e];
|
|
4194
|
+
const r = Ie(t);
|
|
4174
4195
|
for (let i = 0; i < r.length; i++) {
|
|
4175
|
-
const n = r[i],
|
|
4176
|
-
if (
|
|
4177
|
-
return
|
|
4196
|
+
const n = r[i], o = In(n, e);
|
|
4197
|
+
if (o)
|
|
4198
|
+
return Bn(e, t, o);
|
|
4178
4199
|
}
|
|
4179
4200
|
};
|
|
4180
|
-
let
|
|
4181
|
-
const me =
|
|
4182
|
-
function
|
|
4183
|
-
return
|
|
4201
|
+
let lt;
|
|
4202
|
+
const me = Pe({});
|
|
4203
|
+
function On(e) {
|
|
4204
|
+
return lt[e] || null;
|
|
4184
4205
|
}
|
|
4185
4206
|
function yr(e) {
|
|
4186
|
-
return e in
|
|
4207
|
+
return e in lt;
|
|
4187
4208
|
}
|
|
4188
|
-
function
|
|
4209
|
+
function In(e, t) {
|
|
4189
4210
|
if (!yr(e))
|
|
4190
4211
|
return null;
|
|
4191
|
-
const r =
|
|
4192
|
-
return
|
|
4212
|
+
const r = On(e);
|
|
4213
|
+
return Pn(r, t);
|
|
4193
4214
|
}
|
|
4194
4215
|
function Mn(e) {
|
|
4195
4216
|
if (e == null)
|
|
4196
4217
|
return;
|
|
4197
|
-
const t =
|
|
4218
|
+
const t = Ie(e);
|
|
4198
4219
|
for (let r = 0; r < t.length; r++) {
|
|
4199
4220
|
const i = t[r];
|
|
4200
4221
|
if (yr(i))
|
|
@@ -4202,55 +4223,55 @@ function Mn(e) {
|
|
|
4202
4223
|
}
|
|
4203
4224
|
}
|
|
4204
4225
|
function vr(e, ...t) {
|
|
4205
|
-
delete
|
|
4226
|
+
delete D[e], me.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
|
|
4206
4227
|
}
|
|
4207
4228
|
re(
|
|
4208
4229
|
[me],
|
|
4209
4230
|
([e]) => Object.keys(e)
|
|
4210
4231
|
);
|
|
4211
|
-
me.subscribe((e) =>
|
|
4232
|
+
me.subscribe((e) => lt = e);
|
|
4212
4233
|
const _e = {};
|
|
4213
|
-
function
|
|
4234
|
+
function Nn(e, t) {
|
|
4214
4235
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4215
4236
|
}
|
|
4216
4237
|
function _r(e) {
|
|
4217
4238
|
return _e[e];
|
|
4218
4239
|
}
|
|
4219
|
-
function
|
|
4220
|
-
return
|
|
4240
|
+
function Cn(e) {
|
|
4241
|
+
return Ie(e).map((t) => {
|
|
4221
4242
|
const r = _r(t);
|
|
4222
4243
|
return [t, r ? [...r] : []];
|
|
4223
4244
|
}).filter(([, t]) => t.length > 0);
|
|
4224
4245
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return e == null ? !1 :
|
|
4246
|
+
function ot(e) {
|
|
4247
|
+
return e == null ? !1 : Ie(e).some(
|
|
4227
4248
|
(t) => {
|
|
4228
4249
|
var r;
|
|
4229
4250
|
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4230
4251
|
}
|
|
4231
4252
|
);
|
|
4232
4253
|
}
|
|
4233
|
-
function
|
|
4254
|
+
function Rn(e, t) {
|
|
4234
4255
|
return Promise.all(
|
|
4235
|
-
t.map((i) => (
|
|
4256
|
+
t.map((i) => (Nn(e, i), i().then((n) => n.default || n)))
|
|
4236
4257
|
).then((i) => vr(e, ...i));
|
|
4237
4258
|
}
|
|
4238
|
-
const
|
|
4259
|
+
const se = {};
|
|
4239
4260
|
function Er(e) {
|
|
4240
|
-
if (!
|
|
4241
|
-
return e in
|
|
4242
|
-
const t =
|
|
4243
|
-
return
|
|
4261
|
+
if (!ot(e))
|
|
4262
|
+
return e in se ? se[e] : Promise.resolve();
|
|
4263
|
+
const t = Cn(e);
|
|
4264
|
+
return se[e] = Promise.all(
|
|
4244
4265
|
t.map(
|
|
4245
|
-
([r, i]) =>
|
|
4266
|
+
([r, i]) => Rn(r, i)
|
|
4246
4267
|
)
|
|
4247
4268
|
).then(() => {
|
|
4248
|
-
if (
|
|
4269
|
+
if (ot(e))
|
|
4249
4270
|
return Er(e);
|
|
4250
|
-
delete
|
|
4251
|
-
}),
|
|
4271
|
+
delete se[e];
|
|
4272
|
+
}), se[e];
|
|
4252
4273
|
}
|
|
4253
|
-
const
|
|
4274
|
+
const Gn = {
|
|
4254
4275
|
number: {
|
|
4255
4276
|
scientific: { notation: "scientific" },
|
|
4256
4277
|
engineering: { notation: "engineering" },
|
|
@@ -4279,140 +4300,140 @@ const Rn = {
|
|
|
4279
4300
|
timeZoneName: "short"
|
|
4280
4301
|
}
|
|
4281
4302
|
}
|
|
4282
|
-
},
|
|
4303
|
+
}, $n = {
|
|
4283
4304
|
fallbackLocale: null,
|
|
4284
4305
|
loadingDelay: 200,
|
|
4285
|
-
formats:
|
|
4306
|
+
formats: Gn,
|
|
4286
4307
|
warnOnMissingMessages: !0,
|
|
4287
4308
|
handleMissingMessage: void 0,
|
|
4288
4309
|
ignoreTag: !0
|
|
4289
|
-
}, Dn =
|
|
4310
|
+
}, Dn = $n;
|
|
4290
4311
|
function ee() {
|
|
4291
4312
|
return Dn;
|
|
4292
4313
|
}
|
|
4293
|
-
const
|
|
4294
|
-
var Un = Object.defineProperty,
|
|
4314
|
+
const ke = Pe(!1);
|
|
4315
|
+
var Un = Object.defineProperty, Fn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
4295
4316
|
for (var r in t || (t = {}))
|
|
4296
|
-
|
|
4317
|
+
kn.call(t, r) && Nt(e, r, t[r]);
|
|
4297
4318
|
if (Mt)
|
|
4298
4319
|
for (var r of Mt(t))
|
|
4299
|
-
|
|
4320
|
+
Vn.call(t, r) && Nt(e, r, t[r]);
|
|
4300
4321
|
return e;
|
|
4301
|
-
},
|
|
4302
|
-
let
|
|
4303
|
-
const
|
|
4304
|
-
function
|
|
4322
|
+
}, Wn = (e, t) => Fn(e, jn(t));
|
|
4323
|
+
let st;
|
|
4324
|
+
const Te = Pe(null);
|
|
4325
|
+
function Ct(e) {
|
|
4305
4326
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4306
4327
|
}
|
|
4307
|
-
function
|
|
4308
|
-
const r =
|
|
4309
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4328
|
+
function Ie(e, t = ee().fallbackLocale) {
|
|
4329
|
+
const r = Ct(e);
|
|
4330
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4310
4331
|
}
|
|
4311
4332
|
function j() {
|
|
4312
|
-
return
|
|
4333
|
+
return st ?? void 0;
|
|
4313
4334
|
}
|
|
4314
|
-
|
|
4315
|
-
|
|
4335
|
+
Te.subscribe((e) => {
|
|
4336
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4316
4337
|
});
|
|
4317
|
-
const
|
|
4318
|
-
if (e && Mn(e) &&
|
|
4338
|
+
const zn = (e) => {
|
|
4339
|
+
if (e && Mn(e) && ot(e)) {
|
|
4319
4340
|
const { loadingDelay: t } = ee();
|
|
4320
4341
|
let r;
|
|
4321
4342
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
4322
|
-
() =>
|
|
4343
|
+
() => ke.set(!0),
|
|
4323
4344
|
t
|
|
4324
|
-
) :
|
|
4325
|
-
|
|
4345
|
+
) : ke.set(!0), Er(e).then(() => {
|
|
4346
|
+
Te.set(e);
|
|
4326
4347
|
}).finally(() => {
|
|
4327
|
-
clearTimeout(r),
|
|
4348
|
+
clearTimeout(r), ke.set(!1);
|
|
4328
4349
|
});
|
|
4329
4350
|
}
|
|
4330
|
-
return
|
|
4331
|
-
}, ie = Xn(
|
|
4332
|
-
set:
|
|
4333
|
-
}),
|
|
4351
|
+
return Te.set(e);
|
|
4352
|
+
}, ie = Wn(Xn({}, Te), {
|
|
4353
|
+
set: zn
|
|
4354
|
+
}), Me = (e) => {
|
|
4334
4355
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4335
4356
|
return (i) => {
|
|
4336
4357
|
const n = JSON.stringify(i);
|
|
4337
4358
|
return n in t ? t[n] : t[n] = e(i);
|
|
4338
4359
|
};
|
|
4339
4360
|
};
|
|
4340
|
-
var
|
|
4361
|
+
var Zn = Object.defineProperty, Se = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4341
4362
|
for (var r in t || (t = {}))
|
|
4342
|
-
xr.call(t, r) &&
|
|
4343
|
-
if (
|
|
4344
|
-
for (var r of
|
|
4345
|
-
wr.call(t, r) &&
|
|
4363
|
+
xr.call(t, r) && Rt(e, r, t[r]);
|
|
4364
|
+
if (Se)
|
|
4365
|
+
for (var r of Se(t))
|
|
4366
|
+
wr.call(t, r) && Rt(e, r, t[r]);
|
|
4346
4367
|
return e;
|
|
4347
4368
|
}, ne = (e, t) => {
|
|
4348
4369
|
var r = {};
|
|
4349
4370
|
for (var i in e)
|
|
4350
4371
|
xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4351
|
-
if (e != null &&
|
|
4352
|
-
for (var i of
|
|
4372
|
+
if (e != null && Se)
|
|
4373
|
+
for (var i of Se(e))
|
|
4353
4374
|
t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
|
|
4354
4375
|
return r;
|
|
4355
4376
|
};
|
|
4356
|
-
const
|
|
4377
|
+
const ce = (e, t) => {
|
|
4357
4378
|
const { formats: r } = ee();
|
|
4358
4379
|
if (e in r && t in r[e])
|
|
4359
4380
|
return r[e][t];
|
|
4360
4381
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4361
|
-
},
|
|
4382
|
+
}, Qn = Me(
|
|
4362
4383
|
(e) => {
|
|
4363
4384
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4364
4385
|
if (r == null)
|
|
4365
4386
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4366
|
-
return i && (n =
|
|
4387
|
+
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
4367
4388
|
}
|
|
4368
|
-
),
|
|
4389
|
+
), qn = Me(
|
|
4369
4390
|
(e) => {
|
|
4370
4391
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4371
4392
|
if (r == null)
|
|
4372
4393
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4373
|
-
return i ? n =
|
|
4394
|
+
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4374
4395
|
}
|
|
4375
|
-
),
|
|
4396
|
+
), Jn = Me(
|
|
4376
4397
|
(e) => {
|
|
4377
4398
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4378
4399
|
if (r == null)
|
|
4379
4400
|
throw new Error(
|
|
4380
4401
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4381
4402
|
);
|
|
4382
|
-
return i ? n =
|
|
4403
|
+
return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4383
4404
|
}
|
|
4384
|
-
),
|
|
4405
|
+
), Yn = (e = {}) => {
|
|
4385
4406
|
var t = e, {
|
|
4386
4407
|
locale: r = j()
|
|
4387
4408
|
} = t, i = ne(t, [
|
|
4388
4409
|
"locale"
|
|
4389
4410
|
]);
|
|
4390
|
-
return
|
|
4391
|
-
},
|
|
4411
|
+
return Qn(ht({ locale: r }, i));
|
|
4412
|
+
}, Kn = (e = {}) => {
|
|
4392
4413
|
var t = e, {
|
|
4393
4414
|
locale: r = j()
|
|
4394
4415
|
} = t, i = ne(t, [
|
|
4395
4416
|
"locale"
|
|
4396
4417
|
]);
|
|
4397
|
-
return
|
|
4398
|
-
},
|
|
4418
|
+
return qn(ht({ locale: r }, i));
|
|
4419
|
+
}, eo = (e = {}) => {
|
|
4399
4420
|
var t = e, {
|
|
4400
4421
|
locale: r = j()
|
|
4401
4422
|
} = t, i = ne(t, [
|
|
4402
4423
|
"locale"
|
|
4403
4424
|
]);
|
|
4404
|
-
return
|
|
4405
|
-
},
|
|
4425
|
+
return Jn(ht({ locale: r }, i));
|
|
4426
|
+
}, to = Me(
|
|
4406
4427
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4407
|
-
(e, t = j()) => new
|
|
4428
|
+
(e, t = j()) => new An(e, t, ee().formats, {
|
|
4408
4429
|
ignoreTag: ee().ignoreTag
|
|
4409
4430
|
})
|
|
4410
|
-
),
|
|
4411
|
-
var r, i, n,
|
|
4431
|
+
), ro = (e, t = {}) => {
|
|
4432
|
+
var r, i, n, o;
|
|
4412
4433
|
let a = t;
|
|
4413
4434
|
typeof e == "object" && (a = e, e = a.id);
|
|
4414
4435
|
const {
|
|
4415
|
-
values:
|
|
4436
|
+
values: s,
|
|
4416
4437
|
locale: u = j(),
|
|
4417
4438
|
default: h
|
|
4418
4439
|
} = a;
|
|
@@ -4422,16 +4443,16 @@ const fe = (e, t) => {
|
|
|
4422
4443
|
);
|
|
4423
4444
|
let l = br(e, u);
|
|
4424
4445
|
if (!l)
|
|
4425
|
-
l = (
|
|
4446
|
+
l = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
|
|
4426
4447
|
else if (typeof l != "string")
|
|
4427
4448
|
return console.warn(
|
|
4428
4449
|
`[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.`
|
|
4429
4450
|
), l;
|
|
4430
|
-
if (!
|
|
4451
|
+
if (!s)
|
|
4431
4452
|
return l;
|
|
4432
4453
|
let f = l;
|
|
4433
4454
|
try {
|
|
4434
|
-
f =
|
|
4455
|
+
f = to(l, u).format(s);
|
|
4435
4456
|
} catch (c) {
|
|
4436
4457
|
c instanceof Error && console.warn(
|
|
4437
4458
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4439,20 +4460,20 @@ const fe = (e, t) => {
|
|
|
4439
4460
|
);
|
|
4440
4461
|
}
|
|
4441
4462
|
return f;
|
|
4442
|
-
},
|
|
4443
|
-
re([ie], () =>
|
|
4444
|
-
re([ie], () =>
|
|
4445
|
-
re([ie], () =>
|
|
4446
|
-
re([ie, me], () =>
|
|
4447
|
-
window.emWidgets = { topic:
|
|
4448
|
-
const
|
|
4449
|
-
function
|
|
4463
|
+
}, io = (e, t) => eo(t).format(e), no = (e, t) => Kn(t).format(e), oo = (e, t) => Yn(t).format(e), so = (e, t = j()) => br(e, t), ao = re([ie, me], () => ro);
|
|
4464
|
+
re([ie], () => io);
|
|
4465
|
+
re([ie], () => no);
|
|
4466
|
+
re([ie], () => oo);
|
|
4467
|
+
re([ie, me], () => so);
|
|
4468
|
+
window.emWidgets = { topic: yi };
|
|
4469
|
+
const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4470
|
+
function Gt(e, t) {
|
|
4450
4471
|
vr(e, t);
|
|
4451
4472
|
}
|
|
4452
|
-
function
|
|
4473
|
+
function lo(e) {
|
|
4453
4474
|
ie.set(e);
|
|
4454
4475
|
}
|
|
4455
|
-
const
|
|
4476
|
+
const $t = {
|
|
4456
4477
|
en: {
|
|
4457
4478
|
returnToMenu: "Return to menu",
|
|
4458
4479
|
gamingLimitsText: "Gaming limits",
|
|
@@ -4542,13 +4563,13 @@ const Gt = {
|
|
|
4542
4563
|
lossLimit: "Loss Limit"
|
|
4543
4564
|
}
|
|
4544
4565
|
};
|
|
4545
|
-
function
|
|
4566
|
+
function ho(e, t) {
|
|
4546
4567
|
if (e) {
|
|
4547
4568
|
const r = document.createElement("style");
|
|
4548
4569
|
r.innerHTML = t, e.appendChild(r);
|
|
4549
4570
|
}
|
|
4550
4571
|
}
|
|
4551
|
-
function
|
|
4572
|
+
function co(e, t) {
|
|
4552
4573
|
const r = new URL(t);
|
|
4553
4574
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4554
4575
|
const n = document.createElement("style");
|
|
@@ -4557,7 +4578,7 @@ function hs(e, t) {
|
|
|
4557
4578
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4558
4579
|
});
|
|
4559
4580
|
}
|
|
4560
|
-
function
|
|
4581
|
+
function fo(e, t, r) {
|
|
4561
4582
|
if (window.emMessageBus) {
|
|
4562
4583
|
const i = document.createElement("style");
|
|
4563
4584
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4577,21 +4598,21 @@ if (typeof window < "u") {
|
|
|
4577
4598
|
}
|
|
4578
4599
|
};
|
|
4579
4600
|
};
|
|
4580
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
4601
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js").then(({ default: t }) => {
|
|
4581
4602
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
4582
4603
|
"player-account-gaming-limits-info-card",
|
|
4583
4604
|
t.element
|
|
4584
4605
|
);
|
|
4585
4606
|
});
|
|
4586
4607
|
}
|
|
4587
|
-
function
|
|
4588
|
-
|
|
4608
|
+
function mo(e) {
|
|
4609
|
+
Mr(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)}}');
|
|
4589
4610
|
}
|
|
4590
|
-
function
|
|
4611
|
+
function po(e) {
|
|
4591
4612
|
let t;
|
|
4592
4613
|
return {
|
|
4593
4614
|
c() {
|
|
4594
|
-
t =
|
|
4615
|
+
t = O("player-account-gaming-limits-group-edit"), m(
|
|
4595
4616
|
t,
|
|
4596
4617
|
"limitsdata",
|
|
4597
4618
|
/*editLimitData*/
|
|
@@ -4710,27 +4731,27 @@ function ms(e) {
|
|
|
4710
4731
|
);
|
|
4711
4732
|
},
|
|
4712
4733
|
d(r) {
|
|
4713
|
-
r &&
|
|
4734
|
+
r && U(t);
|
|
4714
4735
|
}
|
|
4715
4736
|
};
|
|
4716
4737
|
}
|
|
4717
|
-
function
|
|
4738
|
+
function go(e) {
|
|
4718
4739
|
let t, r, i, n = (
|
|
4719
4740
|
/*$_*/
|
|
4720
4741
|
e[17]("gamingLimitsText") + ""
|
|
4721
|
-
),
|
|
4742
|
+
), o, a, s, u, h, l, f, c, b, p, g = (
|
|
4722
4743
|
/*isMobile*/
|
|
4723
|
-
e[18] &&
|
|
4744
|
+
e[18] && yo(e)
|
|
4724
4745
|
);
|
|
4725
4746
|
return {
|
|
4726
4747
|
c() {
|
|
4727
|
-
t =
|
|
4748
|
+
t = O("div"), g && g.c(), r = z(), i = O("h2"), o = ue(n), a = z(), s = 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(), p = O("player-account-gaming-limits-info-card"), H(i, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
|
|
4728
4749
|
(e[18] ? "PlayerGamingLimitsTitleNone" : "")), m(
|
|
4729
4750
|
u,
|
|
4730
4751
|
"limitsdata",
|
|
4731
4752
|
/*depositlimit*/
|
|
4732
4753
|
e[1]
|
|
4733
|
-
), m(u, "limitname",
|
|
4754
|
+
), m(u, "limitname", _o), m(
|
|
4734
4755
|
u,
|
|
4735
4756
|
"currency",
|
|
4736
4757
|
/*currency*/
|
|
@@ -4760,7 +4781,7 @@ function ps(e) {
|
|
|
4760
4781
|
"limitsdata",
|
|
4761
4782
|
/*wageringlimit*/
|
|
4762
4783
|
e[2]
|
|
4763
|
-
), m(l, "limitname",
|
|
4784
|
+
), m(l, "limitname", Eo), m(
|
|
4764
4785
|
l,
|
|
4765
4786
|
"currency",
|
|
4766
4787
|
/*currency*/
|
|
@@ -4790,7 +4811,7 @@ function ps(e) {
|
|
|
4790
4811
|
"limitsdata",
|
|
4791
4812
|
/*losslimit*/
|
|
4792
4813
|
e[3]
|
|
4793
|
-
), m(c, "limitname",
|
|
4814
|
+
), m(c, "limitname", xo), m(
|
|
4794
4815
|
c,
|
|
4795
4816
|
"currency",
|
|
4796
4817
|
/*currency*/
|
|
@@ -4820,7 +4841,7 @@ function ps(e) {
|
|
|
4820
4841
|
"limitsdata",
|
|
4821
4842
|
/*timelimit*/
|
|
4822
4843
|
e[4]
|
|
4823
|
-
), m(p, "limitname",
|
|
4844
|
+
), m(p, "limitname", wo), m(
|
|
4824
4845
|
p,
|
|
4825
4846
|
"currency",
|
|
4826
4847
|
/*currency*/
|
|
@@ -4845,17 +4866,17 @@ function ps(e) {
|
|
|
4845
4866
|
"mbsource",
|
|
4846
4867
|
/*mbsource*/
|
|
4847
4868
|
e[11]
|
|
4848
|
-
), H(
|
|
4869
|
+
), H(s, "class", "PlayerAccountGamingLimitsContainer"), H(t, "class", "PlayerAccountGamingLimitsWrapper " + /*isMobile*/
|
|
4849
4870
|
(e[18] ? "PlayerAccountMobileGamingLimitsWrapper" : ""));
|
|
4850
4871
|
},
|
|
4851
4872
|
m(d, v) {
|
|
4852
|
-
te(d, t, v), g && g.m(t, null),
|
|
4873
|
+
te(d, t, v), g && g.m(t, null), w(t, r), w(t, i), w(i, o), w(t, a), w(t, s), w(s, u), w(s, h), w(s, l), w(s, f), w(s, c), w(s, b), w(s, p);
|
|
4853
4874
|
},
|
|
4854
4875
|
p(d, v) {
|
|
4855
4876
|
/*isMobile*/
|
|
4856
4877
|
d[18] && g.p(d, v), v & /*$_*/
|
|
4857
4878
|
131072 && n !== (n = /*$_*/
|
|
4858
|
-
d[17]("gamingLimitsText") + "") &&
|
|
4879
|
+
d[17]("gamingLimitsText") + "") && Wt(o, n), v & /*depositlimit*/
|
|
4859
4880
|
2 && m(
|
|
4860
4881
|
u,
|
|
4861
4882
|
"limitsdata",
|
|
@@ -5002,36 +5023,36 @@ function ps(e) {
|
|
|
5002
5023
|
);
|
|
5003
5024
|
},
|
|
5004
5025
|
d(d) {
|
|
5005
|
-
d &&
|
|
5026
|
+
d && U(t), g && g.d();
|
|
5006
5027
|
}
|
|
5007
5028
|
};
|
|
5008
5029
|
}
|
|
5009
|
-
function
|
|
5030
|
+
function bo(e) {
|
|
5010
5031
|
let t;
|
|
5011
5032
|
return {
|
|
5012
5033
|
c() {
|
|
5013
|
-
t =
|
|
5034
|
+
t = O("div"), H(t, "class", "ModalLoader");
|
|
5014
5035
|
},
|
|
5015
5036
|
m(r, i) {
|
|
5016
5037
|
te(r, t, i);
|
|
5017
5038
|
},
|
|
5018
|
-
p:
|
|
5039
|
+
p: I,
|
|
5019
5040
|
d(r) {
|
|
5020
|
-
r &&
|
|
5041
|
+
r && U(t);
|
|
5021
5042
|
}
|
|
5022
5043
|
};
|
|
5023
5044
|
}
|
|
5024
|
-
function
|
|
5025
|
-
let t, r, i, n,
|
|
5045
|
+
function yo(e) {
|
|
5046
|
+
let t, r, i, n, o, a, s, u, h, l, f = (
|
|
5026
5047
|
/*$_*/
|
|
5027
5048
|
e[17]("gamingLimitsText") + ""
|
|
5028
5049
|
), c, b, p;
|
|
5029
5050
|
return {
|
|
5030
5051
|
c() {
|
|
5031
|
-
t =
|
|
5052
|
+
t = O("div"), r = V("svg"), i = V("defs"), n = V("style"), o = ue(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = V("g"), s = V("g"), u = V("path"), h = z(), l = O("h2"), c = ue(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(s, "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");
|
|
5032
5053
|
},
|
|
5033
5054
|
m(g, d) {
|
|
5034
|
-
te(g, t, d),
|
|
5055
|
+
te(g, t, d), w(t, r), w(r, i), w(i, n), w(n, o), w(r, a), w(a, s), w(s, u), w(t, h), w(t, l), w(l, c), b || (p = Cr(
|
|
5035
5056
|
t,
|
|
5036
5057
|
"click",
|
|
5037
5058
|
/*click_handler*/
|
|
@@ -5041,119 +5062,119 @@ function gs(e) {
|
|
|
5041
5062
|
p(g, d) {
|
|
5042
5063
|
d & /*$_*/
|
|
5043
5064
|
131072 && f !== (f = /*$_*/
|
|
5044
|
-
g[17]("gamingLimitsText") + "") &&
|
|
5065
|
+
g[17]("gamingLimitsText") + "") && Wt(c, f);
|
|
5045
5066
|
},
|
|
5046
5067
|
d(g) {
|
|
5047
|
-
g &&
|
|
5068
|
+
g && U(t), b = !1, p();
|
|
5048
5069
|
}
|
|
5049
5070
|
};
|
|
5050
5071
|
}
|
|
5051
|
-
function
|
|
5072
|
+
function vo(e) {
|
|
5052
5073
|
let t;
|
|
5053
|
-
function r(
|
|
5074
|
+
function r(o, a) {
|
|
5054
5075
|
return (
|
|
5055
5076
|
/*isLoading*/
|
|
5056
|
-
|
|
5077
|
+
o[13] ? bo : (
|
|
5057
5078
|
/*limitsGroupView*/
|
|
5058
|
-
|
|
5079
|
+
o[16] ? go : po
|
|
5059
5080
|
)
|
|
5060
5081
|
);
|
|
5061
5082
|
}
|
|
5062
5083
|
let i = r(e), n = i(e);
|
|
5063
5084
|
return {
|
|
5064
5085
|
c() {
|
|
5065
|
-
t =
|
|
5086
|
+
t = O("div"), n.c();
|
|
5066
5087
|
},
|
|
5067
|
-
m(
|
|
5068
|
-
te(
|
|
5088
|
+
m(o, a) {
|
|
5089
|
+
te(o, t, a), n.m(t, null), e[22](t);
|
|
5069
5090
|
},
|
|
5070
|
-
p(
|
|
5071
|
-
i === (i = r(
|
|
5091
|
+
p(o, [a]) {
|
|
5092
|
+
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
5072
5093
|
},
|
|
5073
|
-
i:
|
|
5074
|
-
o:
|
|
5075
|
-
d(
|
|
5076
|
-
|
|
5094
|
+
i: I,
|
|
5095
|
+
o: I,
|
|
5096
|
+
d(o) {
|
|
5097
|
+
o && U(t), n.d(), e[22](null);
|
|
5077
5098
|
}
|
|
5078
5099
|
};
|
|
5079
5100
|
}
|
|
5080
|
-
let
|
|
5081
|
-
function
|
|
5101
|
+
let _o = "Deposit Limit", Eo = "Wagering Limit", xo = "Loss Limit", wo = "Time Limit";
|
|
5102
|
+
function Lo(e, t, r) {
|
|
5082
5103
|
let i;
|
|
5083
|
-
|
|
5084
|
-
let { depositlimit: n } = t, { wageringlimit:
|
|
5104
|
+
Br(e, ao, (y) => r(17, i = y));
|
|
5105
|
+
let { depositlimit: n } = t, { wageringlimit: o } = t, { losslimit: a } = t, { timelimit: s } = t, { showdeletenotification: u = !1 } = t, { showsuccessnotification: h = !1 } = t, { lang: l = "en" } = t, { currency: f = "" } = t, { separatelimits: c = "true" } = t, { clientstyling: b = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: g } = t, { translationurl: d = "" } = t;
|
|
5085
5106
|
const v = () => {
|
|
5086
|
-
fetch(d).then((
|
|
5087
|
-
Object.keys(
|
|
5088
|
-
|
|
5107
|
+
fetch(d).then(($) => $.json()).then(($) => {
|
|
5108
|
+
Object.keys($).forEach((mt) => {
|
|
5109
|
+
Gt(mt, $[mt]);
|
|
5089
5110
|
});
|
|
5090
|
-
}).catch((
|
|
5091
|
-
console.log(
|
|
5111
|
+
}).catch(($) => {
|
|
5112
|
+
console.log($);
|
|
5092
5113
|
});
|
|
5093
5114
|
};
|
|
5094
|
-
Object.keys(
|
|
5095
|
-
|
|
5115
|
+
Object.keys($t).forEach((y) => {
|
|
5116
|
+
Gt(y, $t[y]);
|
|
5096
5117
|
});
|
|
5097
|
-
let T, S
|
|
5118
|
+
let T, S = !0, M = window.navigator.userAgent, A = uo(M) !== "PC", C, k = "", Ne = !0;
|
|
5098
5119
|
window.matchMedia("(min-width: 768px)");
|
|
5099
|
-
const
|
|
5120
|
+
const ct = () => {
|
|
5100
5121
|
window.postMessage(
|
|
5101
5122
|
{
|
|
5102
5123
|
type: "PlayerAccountMenuActive",
|
|
5103
|
-
isMobile:
|
|
5124
|
+
isMobile: A
|
|
5104
5125
|
},
|
|
5105
5126
|
window.location.href
|
|
5106
5127
|
);
|
|
5107
5128
|
}, Lr = () => {
|
|
5108
|
-
|
|
5109
|
-
},
|
|
5129
|
+
lo(l);
|
|
5130
|
+
}, ft = (y) => {
|
|
5110
5131
|
if (y.data)
|
|
5111
5132
|
switch (y.data.type) {
|
|
5112
5133
|
case "PlayerLimitsData":
|
|
5113
|
-
r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2,
|
|
5134
|
+
r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2, o = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, s = y.data.limits.timelimit), r(13, S = !1);
|
|
5114
5135
|
break;
|
|
5115
5136
|
case "EditPlayerAccountGamingLimits":
|
|
5116
|
-
r(14,
|
|
5137
|
+
r(14, C = y.data.edit), r(15, k = y.data.name), r(16, Ne = !1), window.postMessage(
|
|
5117
5138
|
{
|
|
5118
5139
|
type: "EditPlayerLimit",
|
|
5119
|
-
name:
|
|
5140
|
+
name: k
|
|
5120
5141
|
},
|
|
5121
5142
|
window.location.href
|
|
5122
5143
|
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
5123
5144
|
break;
|
|
5124
5145
|
case "PlayerAccountBackToLimitsView":
|
|
5125
|
-
r(16,
|
|
5146
|
+
r(16, Ne = !0);
|
|
5126
5147
|
break;
|
|
5127
5148
|
case "ProfileDetailsData":
|
|
5128
|
-
let
|
|
5129
|
-
r(5, f =
|
|
5149
|
+
let $ = y.data.profileDetails;
|
|
5150
|
+
r(5, f = $.currency);
|
|
5130
5151
|
break;
|
|
5131
5152
|
}
|
|
5132
5153
|
};
|
|
5133
|
-
Vr(() => (window.addEventListener("message",
|
|
5134
|
-
window.
|
|
5154
|
+
Vr(() => (window.addEventListener("message", ft, !1), () => {
|
|
5155
|
+
window.removeEventListener("message", ft);
|
|
5135
5156
|
}));
|
|
5136
|
-
const Tr = () =>
|
|
5157
|
+
const Tr = () => ct();
|
|
5137
5158
|
function Sr(y) {
|
|
5138
|
-
|
|
5159
|
+
Ve[y ? "unshift" : "push"](() => {
|
|
5139
5160
|
T = y, r(12, T);
|
|
5140
5161
|
});
|
|
5141
5162
|
}
|
|
5142
5163
|
return e.$$set = (y) => {
|
|
5143
|
-
"depositlimit" in y && r(1, n = y.depositlimit), "wageringlimit" in y && r(2,
|
|
5164
|
+
"depositlimit" in y && r(1, n = y.depositlimit), "wageringlimit" in y && r(2, o = y.wageringlimit), "losslimit" in y && r(3, a = y.losslimit), "timelimit" in y && r(4, s = 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, p = y.clientstylingurl), "mbsource" in y && r(11, g = y.mbsource), "translationurl" in y && r(20, d = y.translationurl);
|
|
5144
5165
|
}, e.$$.update = () => {
|
|
5145
5166
|
e.$$.dirty & /*lang*/
|
|
5146
5167
|
1 && l && Lr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
5147
|
-
4608 && b && T &&
|
|
5148
|
-
5120 && p && T &&
|
|
5149
|
-
6144 && g && T &&
|
|
5168
|
+
4608 && b && T && ho(T, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
5169
|
+
5120 && p && T && co(T, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
5170
|
+
6144 && g && T && fo(T, `${g}.Style`), e.$$.dirty & /*translationurl*/
|
|
5150
5171
|
1048576 && d && v();
|
|
5151
5172
|
}, [
|
|
5152
5173
|
l,
|
|
5153
5174
|
n,
|
|
5154
|
-
s,
|
|
5155
|
-
a,
|
|
5156
5175
|
o,
|
|
5176
|
+
a,
|
|
5177
|
+
s,
|
|
5157
5178
|
f,
|
|
5158
5179
|
u,
|
|
5159
5180
|
h,
|
|
@@ -5162,25 +5183,25 @@ function xs(e, t, r) {
|
|
|
5162
5183
|
p,
|
|
5163
5184
|
g,
|
|
5164
5185
|
T,
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5186
|
+
S,
|
|
5187
|
+
C,
|
|
5188
|
+
k,
|
|
5189
|
+
Ne,
|
|
5169
5190
|
i,
|
|
5170
|
-
|
|
5171
|
-
|
|
5191
|
+
A,
|
|
5192
|
+
ct,
|
|
5172
5193
|
d,
|
|
5173
5194
|
Tr,
|
|
5174
5195
|
Sr
|
|
5175
5196
|
];
|
|
5176
5197
|
}
|
|
5177
|
-
class
|
|
5198
|
+
class To extends ii {
|
|
5178
5199
|
constructor(t) {
|
|
5179
5200
|
super(), ti(
|
|
5180
5201
|
this,
|
|
5181
5202
|
t,
|
|
5182
|
-
|
|
5183
|
-
|
|
5203
|
+
Lo,
|
|
5204
|
+
vo,
|
|
5184
5205
|
Ut,
|
|
5185
5206
|
{
|
|
5186
5207
|
depositlimit: 1,
|
|
@@ -5197,138 +5218,138 @@ class ws extends ii {
|
|
|
5197
5218
|
mbsource: 11,
|
|
5198
5219
|
translationurl: 20
|
|
5199
5220
|
},
|
|
5200
|
-
|
|
5221
|
+
mo
|
|
5201
5222
|
);
|
|
5202
5223
|
}
|
|
5203
5224
|
get depositlimit() {
|
|
5204
5225
|
return this.$$.ctx[1];
|
|
5205
5226
|
}
|
|
5206
5227
|
set depositlimit(t) {
|
|
5207
|
-
this.$$set({ depositlimit: t }),
|
|
5228
|
+
this.$$set({ depositlimit: t }), P();
|
|
5208
5229
|
}
|
|
5209
5230
|
get wageringlimit() {
|
|
5210
5231
|
return this.$$.ctx[2];
|
|
5211
5232
|
}
|
|
5212
5233
|
set wageringlimit(t) {
|
|
5213
|
-
this.$$set({ wageringlimit: t }),
|
|
5234
|
+
this.$$set({ wageringlimit: t }), P();
|
|
5214
5235
|
}
|
|
5215
5236
|
get losslimit() {
|
|
5216
5237
|
return this.$$.ctx[3];
|
|
5217
5238
|
}
|
|
5218
5239
|
set losslimit(t) {
|
|
5219
|
-
this.$$set({ losslimit: t }),
|
|
5240
|
+
this.$$set({ losslimit: t }), P();
|
|
5220
5241
|
}
|
|
5221
5242
|
get timelimit() {
|
|
5222
5243
|
return this.$$.ctx[4];
|
|
5223
5244
|
}
|
|
5224
5245
|
set timelimit(t) {
|
|
5225
|
-
this.$$set({ timelimit: t }),
|
|
5246
|
+
this.$$set({ timelimit: t }), P();
|
|
5226
5247
|
}
|
|
5227
5248
|
get showdeletenotification() {
|
|
5228
5249
|
return this.$$.ctx[6];
|
|
5229
5250
|
}
|
|
5230
5251
|
set showdeletenotification(t) {
|
|
5231
|
-
this.$$set({ showdeletenotification: t }),
|
|
5252
|
+
this.$$set({ showdeletenotification: t }), P();
|
|
5232
5253
|
}
|
|
5233
5254
|
get showsuccessnotification() {
|
|
5234
5255
|
return this.$$.ctx[7];
|
|
5235
5256
|
}
|
|
5236
5257
|
set showsuccessnotification(t) {
|
|
5237
|
-
this.$$set({ showsuccessnotification: t }),
|
|
5258
|
+
this.$$set({ showsuccessnotification: t }), P();
|
|
5238
5259
|
}
|
|
5239
5260
|
get lang() {
|
|
5240
5261
|
return this.$$.ctx[0];
|
|
5241
5262
|
}
|
|
5242
5263
|
set lang(t) {
|
|
5243
|
-
this.$$set({ lang: t }),
|
|
5264
|
+
this.$$set({ lang: t }), P();
|
|
5244
5265
|
}
|
|
5245
5266
|
get currency() {
|
|
5246
5267
|
return this.$$.ctx[5];
|
|
5247
5268
|
}
|
|
5248
5269
|
set currency(t) {
|
|
5249
|
-
this.$$set({ currency: t }),
|
|
5270
|
+
this.$$set({ currency: t }), P();
|
|
5250
5271
|
}
|
|
5251
5272
|
get separatelimits() {
|
|
5252
5273
|
return this.$$.ctx[8];
|
|
5253
5274
|
}
|
|
5254
5275
|
set separatelimits(t) {
|
|
5255
|
-
this.$$set({ separatelimits: t }),
|
|
5276
|
+
this.$$set({ separatelimits: t }), P();
|
|
5256
5277
|
}
|
|
5257
5278
|
get clientstyling() {
|
|
5258
5279
|
return this.$$.ctx[9];
|
|
5259
5280
|
}
|
|
5260
5281
|
set clientstyling(t) {
|
|
5261
|
-
this.$$set({ clientstyling: t }),
|
|
5282
|
+
this.$$set({ clientstyling: t }), P();
|
|
5262
5283
|
}
|
|
5263
5284
|
get clientstylingurl() {
|
|
5264
5285
|
return this.$$.ctx[10];
|
|
5265
5286
|
}
|
|
5266
5287
|
set clientstylingurl(t) {
|
|
5267
|
-
this.$$set({ clientstylingurl: t }),
|
|
5288
|
+
this.$$set({ clientstylingurl: t }), P();
|
|
5268
5289
|
}
|
|
5269
5290
|
get mbsource() {
|
|
5270
5291
|
return this.$$.ctx[11];
|
|
5271
5292
|
}
|
|
5272
5293
|
set mbsource(t) {
|
|
5273
|
-
this.$$set({ mbsource: t }),
|
|
5294
|
+
this.$$set({ mbsource: t }), P();
|
|
5274
5295
|
}
|
|
5275
5296
|
get translationurl() {
|
|
5276
5297
|
return this.$$.ctx[20];
|
|
5277
5298
|
}
|
|
5278
5299
|
set translationurl(t) {
|
|
5279
|
-
this.$$set({ translationurl: t }),
|
|
5300
|
+
this.$$set({ translationurl: t }), P();
|
|
5280
5301
|
}
|
|
5281
5302
|
}
|
|
5282
|
-
ri(
|
|
5303
|
+
ri(To, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, currency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5283
5304
|
export {
|
|
5284
5305
|
ie as $,
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5306
|
+
Ve as A,
|
|
5307
|
+
ho as B,
|
|
5308
|
+
co as C,
|
|
5309
|
+
fo as D,
|
|
5310
|
+
ri as E,
|
|
5311
|
+
ao as F,
|
|
5291
5312
|
m as G,
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5313
|
+
Io as H,
|
|
5314
|
+
Fo as I,
|
|
5315
|
+
Bo as J,
|
|
5316
|
+
Ro as K,
|
|
5317
|
+
Mo as L,
|
|
5318
|
+
Oo as M,
|
|
5319
|
+
Co as N,
|
|
5320
|
+
He as O,
|
|
5321
|
+
No as P,
|
|
5322
|
+
we as Q,
|
|
5302
5323
|
Hr as R,
|
|
5303
5324
|
ii as S,
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5325
|
+
$o as T,
|
|
5326
|
+
Uo as U,
|
|
5327
|
+
Go as V,
|
|
5328
|
+
To as W,
|
|
5308
5329
|
vr as a,
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5330
|
+
Mr as b,
|
|
5331
|
+
So as c,
|
|
5332
|
+
U as d,
|
|
5333
|
+
qr as e,
|
|
5334
|
+
P as f,
|
|
5335
|
+
Po as g,
|
|
5336
|
+
Ho as h,
|
|
5316
5337
|
ti as i,
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5338
|
+
Wt as j,
|
|
5339
|
+
te as k,
|
|
5340
|
+
w as l,
|
|
5341
|
+
Cr as m,
|
|
5342
|
+
O as n,
|
|
5343
|
+
z as o,
|
|
5344
|
+
ue as p,
|
|
5345
|
+
H as q,
|
|
5346
|
+
F as r,
|
|
5326
5347
|
Ut as s,
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5348
|
+
Do as t,
|
|
5349
|
+
Ao as u,
|
|
5350
|
+
Br as v,
|
|
5351
|
+
uo as w,
|
|
5352
|
+
Vr as x,
|
|
5353
|
+
I as y,
|
|
5354
|
+
V as z
|
|
5334
5355
|
};
|