@everymatrix/casino-favorites-section-nd 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSectionNd-B_JP_SGt.js → CasinoFavoritesSectionNd-BwkvKI6B.js} +388 -390
- package/components/CasinoFavoritesSectionNd-DQR6SAzQ.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-BfNuk0oJ.js → CasinoFavoritesSectionNd-ldF8bJzN.js} +529 -531
- package/components/CasinoFilter-DBoKsS9e.cjs +3 -0
- package/components/{CasinoFilter-CqEVL627.js → CasinoFilter-NN2u37LM.js} +358 -379
- package/components/{CasinoFilter-xITCA4w6.js → CasinoFilter-zH811Uut.js} +356 -375
- package/components/{CasinoGameThumbnailNd-DjYsgmZi.cjs → CasinoGameThumbnailNd-BHAX0lKa.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-niF05jrg.js → CasinoGameThumbnailNd-CN3WbasR.js} +66 -66
- package/components/{CasinoGameThumbnailNd-IKBSgAQc.js → CasinoGameThumbnailNd-DNxk4q_H.js} +66 -66
- package/components/{CasinoGamesCategorySectionNd-DwCpOiOb.cjs → CasinoGamesCategorySectionNd-2xSUeGmg.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-C01JY-1w.js → CasinoGamesCategorySectionNd-B73ZbaER.js} +182 -182
- package/components/{CasinoGamesCategorySectionNd-CvLklfVJ.js → CasinoGamesCategorySectionNd-k9kRRHf4.js} +135 -135
- package/components/{CasinoSort-BVXz3O3D.cjs → CasinoSort-6XNORS7u.cjs} +1 -1
- package/components/{CasinoSort-C-iGpBxp.js → CasinoSort-DNHfegTM.js} +108 -109
- package/components/{CasinoSort-LjZRJN5j.js → CasinoSort-DefHFifc.js} +100 -99
- package/es2015/casino-favorites-section-nd.cjs +1 -1
- package/es2015/casino-favorites-section-nd.js +1 -1
- package/esnext/casino-favorites-section-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BJzf08Qh.js +519 -0
- package/stencil/index-b2193545-BcwULm-K.cjs +1 -0
- package/stencil/index-b2193545-BlEoeZZL.js +503 -0
- package/stencil/ui-skeleton-B_ESS51i.cjs +1 -0
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-C8koemPS.js} +8 -8
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-Cb-Iz3dC.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-8xls9UKV.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-BbvMCw6x.js +152 -0
- package/stencil/ui-skeleton-ea659b95-CGzZMsW7.js +152 -0
- package/components/CasinoFavoritesSectionNd-DX88YaW_.cjs +0 -16
- package/components/CasinoFilter-Bhnuj5Mu.cjs +0 -3
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
- package/stencil/ui-skeleton-C1buDKbo.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-BFJMszWG.js +0 -122
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-p8tGooXk.js +0 -122
package/components/{CasinoFavoritesSectionNd-B_JP_SGt.js → CasinoFavoritesSectionNd-BwkvKI6B.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function P() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function tt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function De() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(tt);
|
|
11
11
|
}
|
|
12
12
|
function le(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function rt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ne;
|
|
19
|
-
function
|
|
19
|
+
function Qn(e, t) {
|
|
20
20
|
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function It(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function nt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,23 +31,23 @@ function st(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function qn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(nt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Jn(e) {
|
|
38
38
|
return e && le(e.destroy) ? e.destroy : P;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Lt(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
43
|
+
function Ct(e, t, r) {
|
|
44
|
+
const n = Mt(e);
|
|
45
45
|
if (!n.getElementById(t)) {
|
|
46
46
|
const i = te("style");
|
|
47
|
-
i.id = t, i.textContent = r,
|
|
47
|
+
i.id = t, i.textContent = r, Rt(n, i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Mt(e) {
|
|
51
51
|
if (!e)
|
|
52
52
|
return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,8 +57,8 @@ function $t(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Rt(e, t) {
|
|
61
|
+
return Lt(
|
|
62
62
|
/** @type {Document} */
|
|
63
63
|
e.head || e,
|
|
64
64
|
t
|
|
@@ -70,26 +70,26 @@ function fe(e, t, r) {
|
|
|
70
70
|
function ee(e) {
|
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Yn(e, t) {
|
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
|
75
75
|
e[r] && e[r].d(t);
|
|
76
76
|
}
|
|
77
77
|
function te(e) {
|
|
78
78
|
return document.createElement(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function $t(e) {
|
|
81
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function it(e) {
|
|
84
84
|
return document.createTextNode(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Kn() {
|
|
87
|
+
return it(" ");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function ei() {
|
|
90
|
+
return it("");
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ti(e, t, r, n) {
|
|
93
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
94
94
|
}
|
|
95
95
|
function Re(e, t, r) {
|
|
@@ -99,23 +99,23 @@ function g(e, t, r) {
|
|
|
99
99
|
const n = t.toLowerCase();
|
|
100
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Ut(e) {
|
|
103
103
|
return Array.from(e.childNodes);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ri(e, t) {
|
|
106
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
107
107
|
t);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ni(e, t) {
|
|
110
110
|
e.value = t ?? "";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function ii(e, t, r, n) {
|
|
113
113
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function si(e, t, r) {
|
|
116
116
|
e.classList.toggle(t, !!r);
|
|
117
117
|
}
|
|
118
|
-
class
|
|
118
|
+
class ai {
|
|
119
119
|
/**
|
|
120
120
|
* @private
|
|
121
121
|
* @default false
|
|
@@ -146,7 +146,7 @@ class oi {
|
|
|
146
146
|
* @returns {void}
|
|
147
147
|
*/
|
|
148
148
|
m(t, r, n = null) {
|
|
149
|
-
this.e || (this.is_svg ? this.e =
|
|
149
|
+
this.e || (this.is_svg ? this.e = $t(
|
|
150
150
|
/** @type {keyof SVGElementTagNameMap} */
|
|
151
151
|
r.nodeName
|
|
152
152
|
) : this.e = te(
|
|
@@ -185,7 +185,7 @@ class oi {
|
|
|
185
185
|
this.n.forEach(ee);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Dt(e) {
|
|
189
189
|
const t = {};
|
|
190
190
|
return e.childNodes.forEach(
|
|
191
191
|
/** @param {Element} node */
|
|
@@ -198,23 +198,23 @@ let J;
|
|
|
198
198
|
function q(e) {
|
|
199
199
|
J = e;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Gt() {
|
|
202
202
|
if (!J)
|
|
203
203
|
throw new Error("Function called outside component initialization");
|
|
204
204
|
return J;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
206
|
+
function Ft(e) {
|
|
207
|
+
Gt().$$.on_mount.push(e);
|
|
208
208
|
}
|
|
209
209
|
const D = [], Te = [];
|
|
210
210
|
let G = [];
|
|
211
|
-
const
|
|
211
|
+
const Ge = [], st = /* @__PURE__ */ Promise.resolve();
|
|
212
212
|
let Se = !1;
|
|
213
|
-
function
|
|
214
|
-
Se || (Se = !0,
|
|
213
|
+
function at() {
|
|
214
|
+
Se || (Se = !0, st.then(H));
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
return
|
|
216
|
+
function oi() {
|
|
217
|
+
return at(), st;
|
|
218
218
|
}
|
|
219
219
|
function Be(e) {
|
|
220
220
|
G.push(e);
|
|
@@ -229,7 +229,7 @@ function H() {
|
|
|
229
229
|
try {
|
|
230
230
|
for (; $ < D.length; ) {
|
|
231
231
|
const t = D[$];
|
|
232
|
-
$++, q(t),
|
|
232
|
+
$++, q(t), jt(t.$$);
|
|
233
233
|
}
|
|
234
234
|
} catch (t) {
|
|
235
235
|
throw D.length = 0, $ = 0, t;
|
|
@@ -242,32 +242,32 @@ function H() {
|
|
|
242
242
|
}
|
|
243
243
|
G.length = 0;
|
|
244
244
|
} while (D.length);
|
|
245
|
-
for (;
|
|
246
|
-
|
|
245
|
+
for (; Ge.length; )
|
|
246
|
+
Ge.pop()();
|
|
247
247
|
Se = !1, pe.clear(), q(e);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function jt(e) {
|
|
250
250
|
if (e.fragment !== null) {
|
|
251
251
|
e.update(), X(e.before_update);
|
|
252
252
|
const t = e.dirty;
|
|
253
253
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function kt(e) {
|
|
257
257
|
const t = [], r = [];
|
|
258
258
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
259
259
|
}
|
|
260
|
-
const
|
|
261
|
-
function
|
|
262
|
-
e && e.i && (
|
|
260
|
+
const Vt = /* @__PURE__ */ new Set();
|
|
261
|
+
function ot(e, t) {
|
|
262
|
+
e && e.i && (Vt.delete(e), e.i(t));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function ui(e) {
|
|
265
265
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function hi(e, t) {
|
|
268
268
|
e.d(1), t.delete(e.key);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
271
271
|
let f = e.length, b = s.length, y = f;
|
|
272
272
|
const _ = {};
|
|
273
273
|
for (; y--; )
|
|
@@ -280,7 +280,7 @@ function fi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
280
280
|
}
|
|
281
281
|
const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
282
282
|
function O(c) {
|
|
283
|
-
|
|
283
|
+
ot(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
284
284
|
}
|
|
285
285
|
for (; f && b; ) {
|
|
286
286
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -294,21 +294,21 @@ function fi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
294
294
|
O(T[b - 1]);
|
|
295
295
|
return X(S), T;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Xt(e, t, r) {
|
|
298
298
|
const { fragment: n, after_update: i } = e.$$;
|
|
299
299
|
n && n.m(t, r), Be(() => {
|
|
300
|
-
const s = e.$$.on_mount.map(
|
|
300
|
+
const s = e.$$.on_mount.map(tt).filter(le);
|
|
301
301
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
302
302
|
}), i.forEach(Be);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Wt(e, t) {
|
|
305
305
|
const r = e.$$;
|
|
306
|
-
r.fragment !== null && (
|
|
306
|
+
r.fragment !== null && (kt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
308
|
+
function zt(e, t) {
|
|
309
|
+
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
312
312
|
const l = J;
|
|
313
313
|
q(e);
|
|
314
314
|
const u = e.$$ = {
|
|
@@ -318,7 +318,7 @@ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
318
318
|
props: s,
|
|
319
319
|
update: P,
|
|
320
320
|
not_equal: i,
|
|
321
|
-
bound:
|
|
321
|
+
bound: De(),
|
|
322
322
|
// lifecycle
|
|
323
323
|
on_mount: [],
|
|
324
324
|
on_destroy: [],
|
|
@@ -327,7 +327,7 @@ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
327
327
|
after_update: [],
|
|
328
328
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
329
329
|
// everything else
|
|
330
|
-
callbacks:
|
|
330
|
+
callbacks: De(),
|
|
331
331
|
dirty: o,
|
|
332
332
|
skip_bound: !1,
|
|
333
333
|
root: t.target || l.$$.root
|
|
@@ -336,19 +336,19 @@ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
336
336
|
let h = !1;
|
|
337
337
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
338
338
|
const y = b.length ? b[0] : f;
|
|
339
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
339
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && zt(e, m)), f;
|
|
340
340
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
341
341
|
if (t.hydrate) {
|
|
342
|
-
const m =
|
|
342
|
+
const m = Ut(t.target);
|
|
343
343
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
344
344
|
} else
|
|
345
345
|
u.fragment && u.fragment.c();
|
|
346
|
-
t.intro &&
|
|
346
|
+
t.intro && ot(e.$$.fragment), Xt(e, t.target, t.anchor), H();
|
|
347
347
|
}
|
|
348
348
|
q(l);
|
|
349
349
|
}
|
|
350
|
-
let
|
|
351
|
-
typeof HTMLElement == "function" && (
|
|
350
|
+
let ut;
|
|
351
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
352
352
|
/** The Svelte component constructor */
|
|
353
353
|
$$ctor;
|
|
354
354
|
/** Slots */
|
|
@@ -407,7 +407,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
|
407
407
|
};
|
|
408
408
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
409
409
|
return;
|
|
410
|
-
const t = {}, r =
|
|
410
|
+
const t = {}, r = Dt(this);
|
|
411
411
|
for (const i of this.$$s)
|
|
412
412
|
i in r && (t[i] = [e(i)]);
|
|
413
413
|
for (const i of this.attributes) {
|
|
@@ -494,8 +494,8 @@ function se(e, t, r, n) {
|
|
|
494
494
|
return t;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
let a = class extends
|
|
497
|
+
function Qt(e, t, r, n, i, s) {
|
|
498
|
+
let a = class extends ut {
|
|
499
499
|
constructor() {
|
|
500
500
|
super(e, r, i), this.$$p_d = t;
|
|
501
501
|
}
|
|
@@ -523,7 +523,7 @@ function Jt(e, t, r, n, i, s) {
|
|
|
523
523
|
}), e.element = /** @type {any} */
|
|
524
524
|
a, a;
|
|
525
525
|
}
|
|
526
|
-
class
|
|
526
|
+
class qt {
|
|
527
527
|
/**
|
|
528
528
|
* ### PRIVATE API
|
|
529
529
|
*
|
|
@@ -542,7 +542,7 @@ class Yt {
|
|
|
542
542
|
$$set = void 0;
|
|
543
543
|
/** @returns {void} */
|
|
544
544
|
$destroy() {
|
|
545
|
-
|
|
545
|
+
Wt(this, 1), this.$destroy = P;
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
548
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -564,13 +564,13 @@ class Yt {
|
|
|
564
564
|
* @returns {void}
|
|
565
565
|
*/
|
|
566
566
|
$set(t) {
|
|
567
|
-
this.$$set && !
|
|
567
|
+
this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
const
|
|
571
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
570
|
+
const Jt = "4";
|
|
571
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jt);
|
|
572
572
|
const U = [];
|
|
573
|
-
function
|
|
573
|
+
function Yt(e, t) {
|
|
574
574
|
return {
|
|
575
575
|
subscribe: ce(e, t).subscribe
|
|
576
576
|
};
|
|
@@ -579,7 +579,7 @@ function ce(e, t = P) {
|
|
|
579
579
|
let r;
|
|
580
580
|
const n = /* @__PURE__ */ new Set();
|
|
581
581
|
function i(o) {
|
|
582
|
-
if (
|
|
582
|
+
if (rt(e, o) && (e = o, r)) {
|
|
583
583
|
const l = !U.length;
|
|
584
584
|
for (const u of n)
|
|
585
585
|
u[1](), U.push(u, e);
|
|
@@ -601,12 +601,12 @@ function ce(e, t = P) {
|
|
|
601
601
|
}
|
|
602
602
|
return { set: i, update: s, subscribe: a };
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function W(e, t, r) {
|
|
605
605
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
606
606
|
if (!i.every(Boolean))
|
|
607
607
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
608
608
|
const s = t.length < 2;
|
|
609
|
-
return
|
|
609
|
+
return Yt(r, (a, o) => {
|
|
610
610
|
let l = !1;
|
|
611
611
|
const u = [];
|
|
612
612
|
let h = 0, m = P;
|
|
@@ -617,7 +617,7 @@ function z(e, t, r) {
|
|
|
617
617
|
const y = t(n ? u[0] : u, a, o);
|
|
618
618
|
s ? a(y) : m = le(y) ? y : P;
|
|
619
619
|
}, b = i.map(
|
|
620
|
-
(y, _) =>
|
|
620
|
+
(y, _) => nt(
|
|
621
621
|
y,
|
|
622
622
|
(T) => {
|
|
623
623
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -632,70 +632,70 @@ function z(e, t, r) {
|
|
|
632
632
|
};
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Kt(e) {
|
|
636
636
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
637
637
|
}
|
|
638
|
-
var
|
|
639
|
-
return
|
|
638
|
+
var er = function(t) {
|
|
639
|
+
return tr(t) && !rr(t);
|
|
640
640
|
};
|
|
641
|
-
function
|
|
641
|
+
function tr(e) {
|
|
642
642
|
return !!e && typeof e == "object";
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function rr(e) {
|
|
645
645
|
var t = Object.prototype.toString.call(e);
|
|
646
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
646
|
+
return t === "[object RegExp]" || t === "[object Date]" || sr(e);
|
|
647
647
|
}
|
|
648
|
-
var
|
|
649
|
-
function
|
|
650
|
-
return e.$$typeof ===
|
|
648
|
+
var nr = typeof Symbol == "function" && Symbol.for, ir = nr ? Symbol.for("react.element") : 60103;
|
|
649
|
+
function sr(e) {
|
|
650
|
+
return e.$$typeof === ir;
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function ar(e) {
|
|
653
653
|
return Array.isArray(e) ? [] : {};
|
|
654
654
|
}
|
|
655
655
|
function Y(e, t) {
|
|
656
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
656
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ar(e), e, t) : e;
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function or(e, t, r) {
|
|
659
659
|
return e.concat(t).map(function(n) {
|
|
660
660
|
return Y(n, r);
|
|
661
661
|
});
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function ur(e, t) {
|
|
664
664
|
if (!t.customMerge)
|
|
665
665
|
return F;
|
|
666
666
|
var r = t.customMerge(e);
|
|
667
667
|
return typeof r == "function" ? r : F;
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function hr(e) {
|
|
670
670
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
671
671
|
return Object.propertyIsEnumerable.call(e, t);
|
|
672
672
|
}) : [];
|
|
673
673
|
}
|
|
674
|
-
function
|
|
675
|
-
return Object.keys(e).concat(
|
|
674
|
+
function Fe(e) {
|
|
675
|
+
return Object.keys(e).concat(hr(e));
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function ht(e, t) {
|
|
678
678
|
try {
|
|
679
679
|
return t in e;
|
|
680
680
|
} catch {
|
|
681
681
|
return !1;
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
return
|
|
684
|
+
function lr(e, t) {
|
|
685
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function fr(e, t, r) {
|
|
688
688
|
var n = {};
|
|
689
|
-
return r.isMergeableObject(e) &&
|
|
689
|
+
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
690
690
|
n[i] = Y(e[i], r);
|
|
691
|
-
}),
|
|
692
|
-
|
|
691
|
+
}), Fe(t).forEach(function(i) {
|
|
692
|
+
lr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = ur(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
693
693
|
}), n;
|
|
694
694
|
}
|
|
695
695
|
function F(e, t, r) {
|
|
696
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
696
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || or, r.isMergeableObject = r.isMergeableObject || er, r.cloneUnlessOtherwiseSpecified = Y;
|
|
697
697
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
698
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
698
|
+
return s ? n ? r.arrayMerge(e, t, r) : fr(e, t, r) : Y(t, r);
|
|
699
699
|
}
|
|
700
700
|
F.all = function(t, r) {
|
|
701
701
|
if (!Array.isArray(t))
|
|
@@ -704,8 +704,8 @@ F.all = function(t, r) {
|
|
|
704
704
|
return F(n, i, r);
|
|
705
705
|
}, {});
|
|
706
706
|
};
|
|
707
|
-
var
|
|
708
|
-
const
|
|
707
|
+
var cr = F, mr = cr;
|
|
708
|
+
const gr = /* @__PURE__ */ Kt(mr);
|
|
709
709
|
/*! *****************************************************************************
|
|
710
710
|
Copyright (c) Microsoft Corporation.
|
|
711
711
|
|
|
@@ -747,7 +747,7 @@ var E = function() {
|
|
|
747
747
|
return t;
|
|
748
748
|
}, E.apply(this, arguments);
|
|
749
749
|
};
|
|
750
|
-
function
|
|
750
|
+
function dr(e, t) {
|
|
751
751
|
var r = {};
|
|
752
752
|
for (var n in e)
|
|
753
753
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -756,7 +756,7 @@ function pr(e, t) {
|
|
|
756
756
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
757
757
|
return r;
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function fi(e) {
|
|
760
760
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
761
761
|
if (r)
|
|
762
762
|
return r.call(e);
|
|
@@ -768,7 +768,7 @@ function ci(e) {
|
|
|
768
768
|
};
|
|
769
769
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function ci(e, t) {
|
|
772
772
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
773
773
|
if (!r)
|
|
774
774
|
return e;
|
|
@@ -795,55 +795,53 @@ function ye(e, t, r) {
|
|
|
795
795
|
return e.concat(s || t);
|
|
796
796
|
}
|
|
797
797
|
function Ee(e, t) {
|
|
798
|
-
var r = t && t.cache ? t.cache :
|
|
798
|
+
var r = t && t.cache ? t.cache : xr, n = t && t.serializer ? t.serializer : vr, i = t && t.strategy ? t.strategy : yr;
|
|
799
799
|
return i(e, {
|
|
800
800
|
cache: r,
|
|
801
801
|
serializer: n
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function br(e) {
|
|
805
805
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
806
806
|
}
|
|
807
|
-
function
|
|
808
|
-
var i =
|
|
807
|
+
function pr(e, t, r, n) {
|
|
808
|
+
var i = br(n) ? n : r(n), s = t.get(i);
|
|
809
809
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function lt(e, t, r) {
|
|
812
812
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
813
813
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function ft(e, t, r, n, i) {
|
|
816
816
|
return r.bind(t, e, n, i);
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
var r = e.length === 1 ?
|
|
820
|
-
return
|
|
818
|
+
function yr(e, t) {
|
|
819
|
+
var r = e.length === 1 ? pr : lt;
|
|
820
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
824
|
-
}
|
|
825
|
-
function _r(e, t) {
|
|
826
|
-
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
822
|
+
function Er(e, t) {
|
|
823
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
|
827
824
|
}
|
|
828
|
-
var
|
|
825
|
+
var vr = function() {
|
|
829
826
|
return JSON.stringify(arguments);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
827
|
+
}, _r = (
|
|
828
|
+
/** @class */
|
|
829
|
+
function() {
|
|
830
|
+
function e() {
|
|
831
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
832
|
+
}
|
|
833
|
+
return e.prototype.get = function(t) {
|
|
834
|
+
return this.cache[t];
|
|
835
|
+
}, e.prototype.set = function(t, r) {
|
|
836
|
+
this.cache[t] = r;
|
|
837
|
+
}, e;
|
|
838
|
+
}()
|
|
839
|
+
), xr = {
|
|
841
840
|
create: function() {
|
|
842
|
-
return new
|
|
841
|
+
return new _r();
|
|
843
842
|
}
|
|
844
843
|
}, ve = {
|
|
845
|
-
variadic:
|
|
846
|
-
monadic: _r
|
|
844
|
+
variadic: Er
|
|
847
845
|
}, d;
|
|
848
846
|
(function(e) {
|
|
849
847
|
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";
|
|
@@ -856,43 +854,43 @@ var j;
|
|
|
856
854
|
(function(e) {
|
|
857
855
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
858
856
|
})(j || (j = {}));
|
|
859
|
-
function
|
|
857
|
+
function je(e) {
|
|
860
858
|
return e.type === v.literal;
|
|
861
859
|
}
|
|
862
|
-
function
|
|
860
|
+
function Hr(e) {
|
|
863
861
|
return e.type === v.argument;
|
|
864
862
|
}
|
|
865
|
-
function
|
|
863
|
+
function ct(e) {
|
|
866
864
|
return e.type === v.number;
|
|
867
865
|
}
|
|
868
|
-
function
|
|
866
|
+
function mt(e) {
|
|
869
867
|
return e.type === v.date;
|
|
870
868
|
}
|
|
871
|
-
function
|
|
869
|
+
function gt(e) {
|
|
872
870
|
return e.type === v.time;
|
|
873
871
|
}
|
|
874
|
-
function
|
|
872
|
+
function dt(e) {
|
|
875
873
|
return e.type === v.select;
|
|
876
874
|
}
|
|
877
|
-
function
|
|
875
|
+
function bt(e) {
|
|
878
876
|
return e.type === v.plural;
|
|
879
877
|
}
|
|
880
|
-
function
|
|
878
|
+
function Tr(e) {
|
|
881
879
|
return e.type === v.pound;
|
|
882
880
|
}
|
|
883
|
-
function
|
|
881
|
+
function pt(e) {
|
|
884
882
|
return e.type === v.tag;
|
|
885
883
|
}
|
|
886
|
-
function
|
|
884
|
+
function yt(e) {
|
|
887
885
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
888
886
|
}
|
|
889
887
|
function we(e) {
|
|
890
888
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
891
889
|
}
|
|
892
|
-
var
|
|
893
|
-
function
|
|
890
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
|
|
891
|
+
function Br(e) {
|
|
894
892
|
var t = {};
|
|
895
|
-
return e.replace(
|
|
893
|
+
return e.replace(Sr, function(r) {
|
|
896
894
|
var n = r.length;
|
|
897
895
|
switch (r[0]) {
|
|
898
896
|
case "G":
|
|
@@ -981,11 +979,11 @@ function Ar(e) {
|
|
|
981
979
|
return "";
|
|
982
980
|
}), t;
|
|
983
981
|
}
|
|
984
|
-
var
|
|
985
|
-
function
|
|
982
|
+
var Ar = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
983
|
+
function wr(e) {
|
|
986
984
|
if (e.length === 0)
|
|
987
985
|
throw new Error("Number skeleton cannot be empty");
|
|
988
|
-
for (var t = e.split(
|
|
986
|
+
for (var t = e.split(Ar).filter(function(f) {
|
|
989
987
|
return f.length > 0;
|
|
990
988
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
991
989
|
var s = i[n], a = s.split("/");
|
|
@@ -1000,17 +998,17 @@ function Pr(e) {
|
|
|
1000
998
|
}
|
|
1001
999
|
return r;
|
|
1002
1000
|
}
|
|
1003
|
-
function
|
|
1001
|
+
function Pr(e) {
|
|
1004
1002
|
return e.replace(/^(.*?)-/, "");
|
|
1005
1003
|
}
|
|
1006
|
-
var
|
|
1007
|
-
function
|
|
1004
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Nr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
|
1005
|
+
function Ve(e) {
|
|
1008
1006
|
var t = {};
|
|
1009
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1007
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
|
1010
1008
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1011
1009
|
}), t;
|
|
1012
1010
|
}
|
|
1013
|
-
function
|
|
1011
|
+
function xt(e) {
|
|
1014
1012
|
switch (e) {
|
|
1015
1013
|
case "sign-auto":
|
|
1016
1014
|
return {
|
|
@@ -1050,7 +1048,7 @@ function Tt(e) {
|
|
|
1050
1048
|
};
|
|
1051
1049
|
}
|
|
1052
1050
|
}
|
|
1053
|
-
function
|
|
1051
|
+
function Or(e) {
|
|
1054
1052
|
var t;
|
|
1055
1053
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1056
1054
|
notation: "engineering"
|
|
@@ -1058,17 +1056,17 @@ function Ir(e) {
|
|
|
1058
1056
|
notation: "scientific"
|
|
1059
1057
|
}, e = e.slice(1)), t) {
|
|
1060
1058
|
var r = e.slice(0, 2);
|
|
1061
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1059
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
|
|
1062
1060
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1063
1061
|
t.minimumIntegerDigits = e.length;
|
|
1064
1062
|
}
|
|
1065
1063
|
return t;
|
|
1066
1064
|
}
|
|
1067
|
-
function
|
|
1068
|
-
var t = {}, r =
|
|
1065
|
+
function Xe(e) {
|
|
1066
|
+
var t = {}, r = xt(e);
|
|
1069
1067
|
return r || t;
|
|
1070
1068
|
}
|
|
1071
|
-
function
|
|
1069
|
+
function Ir(e) {
|
|
1072
1070
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1073
1071
|
var i = n[r];
|
|
1074
1072
|
switch (i.stem) {
|
|
@@ -1092,7 +1090,7 @@ function Lr(e) {
|
|
|
1092
1090
|
continue;
|
|
1093
1091
|
case "measure-unit":
|
|
1094
1092
|
case "unit":
|
|
1095
|
-
t.style = "unit", t.unit =
|
|
1093
|
+
t.style = "unit", t.unit = Pr(i.options[0]);
|
|
1096
1094
|
continue;
|
|
1097
1095
|
case "compact-short":
|
|
1098
1096
|
case "K":
|
|
@@ -1104,12 +1102,12 @@ function Lr(e) {
|
|
|
1104
1102
|
continue;
|
|
1105
1103
|
case "scientific":
|
|
1106
1104
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1107
|
-
return E(E({}, l),
|
|
1105
|
+
return E(E({}, l), Xe(u));
|
|
1108
1106
|
}, {}));
|
|
1109
1107
|
continue;
|
|
1110
1108
|
case "engineering":
|
|
1111
1109
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1112
|
-
return E(E({}, l),
|
|
1110
|
+
return E(E({}, l), Xe(u));
|
|
1113
1111
|
}, {}));
|
|
1114
1112
|
continue;
|
|
1115
1113
|
case "notation-simple":
|
|
@@ -1154,7 +1152,7 @@ function Lr(e) {
|
|
|
1154
1152
|
case "integer-width":
|
|
1155
1153
|
if (i.options.length > 1)
|
|
1156
1154
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1157
|
-
i.options[0].replace(
|
|
1155
|
+
i.options[0].replace(Nr, function(l, u, h, m, f, b) {
|
|
1158
1156
|
if (u)
|
|
1159
1157
|
t.minimumIntegerDigits = h.length;
|
|
1160
1158
|
else {
|
|
@@ -1167,27 +1165,27 @@ function Lr(e) {
|
|
|
1167
1165
|
});
|
|
1168
1166
|
continue;
|
|
1169
1167
|
}
|
|
1170
|
-
if (
|
|
1168
|
+
if (_t.test(i.stem)) {
|
|
1171
1169
|
t.minimumIntegerDigits = i.stem.length;
|
|
1172
1170
|
continue;
|
|
1173
1171
|
}
|
|
1174
|
-
if (
|
|
1172
|
+
if (ke.test(i.stem)) {
|
|
1175
1173
|
if (i.options.length > 1)
|
|
1176
1174
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1177
|
-
i.stem.replace(
|
|
1175
|
+
i.stem.replace(ke, function(l, u, h, m, f, b) {
|
|
1178
1176
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1179
1177
|
});
|
|
1180
1178
|
var s = i.options[0];
|
|
1181
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1179
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1182
1180
|
continue;
|
|
1183
1181
|
}
|
|
1184
|
-
if (
|
|
1185
|
-
t = E(E({}, t),
|
|
1182
|
+
if (vt.test(i.stem)) {
|
|
1183
|
+
t = E(E({}, t), Ve(i.stem));
|
|
1186
1184
|
continue;
|
|
1187
1185
|
}
|
|
1188
|
-
var a =
|
|
1186
|
+
var a = xt(i.stem);
|
|
1189
1187
|
a && (t = E(E({}, t), a));
|
|
1190
|
-
var o =
|
|
1188
|
+
var o = Or(i.stem);
|
|
1191
1189
|
o && (t = E(E({}, t), o));
|
|
1192
1190
|
}
|
|
1193
1191
|
return t;
|
|
@@ -2607,13 +2605,13 @@ var ie = {
|
|
|
2607
2605
|
"h"
|
|
2608
2606
|
]
|
|
2609
2607
|
};
|
|
2610
|
-
function
|
|
2608
|
+
function Lr(e, t) {
|
|
2611
2609
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2612
2610
|
var i = e.charAt(n);
|
|
2613
2611
|
if (i === "j") {
|
|
2614
2612
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2615
2613
|
s++, n++;
|
|
2616
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2614
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cr(t);
|
|
2617
2615
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2618
2616
|
r += l;
|
|
2619
2617
|
for (; a-- > 0; )
|
|
@@ -2623,7 +2621,7 @@ function Cr(e, t) {
|
|
|
2623
2621
|
}
|
|
2624
2622
|
return r;
|
|
2625
2623
|
}
|
|
2626
|
-
function
|
|
2624
|
+
function Cr(e) {
|
|
2627
2625
|
var t = e.hourCycle;
|
|
2628
2626
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2629
2627
|
e.hourCycles && // @ts-ignore
|
|
@@ -2645,20 +2643,20 @@ function Mr(e) {
|
|
|
2645
2643
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2646
2644
|
return i[0];
|
|
2647
2645
|
}
|
|
2648
|
-
var _e,
|
|
2646
|
+
var _e, Mr = new RegExp("^".concat(Et.source, "*")), Rr = new RegExp("".concat(Et.source, "*$"));
|
|
2649
2647
|
function p(e, t) {
|
|
2650
2648
|
return { start: e, end: t };
|
|
2651
2649
|
}
|
|
2652
|
-
var
|
|
2650
|
+
var $r = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Dr = !!Object.fromEntries, Gr = !!String.prototype.codePointAt, Fr = !!String.prototype.trimStart, jr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Vr = kr ? Number.isSafeInteger : function(e) {
|
|
2653
2651
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2654
2652
|
}, Pe = !0;
|
|
2655
2653
|
try {
|
|
2656
|
-
var
|
|
2657
|
-
Pe = ((_e =
|
|
2654
|
+
var Xr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2655
|
+
Pe = ((_e = Xr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2658
2656
|
} catch {
|
|
2659
2657
|
Pe = !1;
|
|
2660
2658
|
}
|
|
2661
|
-
var
|
|
2659
|
+
var We = $r ? (
|
|
2662
2660
|
// Native
|
|
2663
2661
|
function(t, r, n) {
|
|
2664
2662
|
return t.startsWith(r, n);
|
|
@@ -2668,7 +2666,7 @@ var Ze = Ur ? (
|
|
|
2668
2666
|
function(t, r, n) {
|
|
2669
2667
|
return t.slice(n, n + r.length) === r;
|
|
2670
2668
|
}
|
|
2671
|
-
), Ne =
|
|
2669
|
+
), Ne = Ur ? String.fromCodePoint : (
|
|
2672
2670
|
// IE11
|
|
2673
2671
|
function() {
|
|
2674
2672
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2680,9 +2678,9 @@ var Ze = Ur ? (
|
|
|
2680
2678
|
}
|
|
2681
2679
|
return n;
|
|
2682
2680
|
}
|
|
2683
|
-
),
|
|
2681
|
+
), ze = (
|
|
2684
2682
|
// native
|
|
2685
|
-
|
|
2683
|
+
Dr ? Object.fromEntries : (
|
|
2686
2684
|
// Ponyfill
|
|
2687
2685
|
function(t) {
|
|
2688
2686
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2692,7 +2690,7 @@ var Ze = Ur ? (
|
|
|
2692
2690
|
return r;
|
|
2693
2691
|
}
|
|
2694
2692
|
)
|
|
2695
|
-
),
|
|
2693
|
+
), Ht = Gr ? (
|
|
2696
2694
|
// Native
|
|
2697
2695
|
function(t, r) {
|
|
2698
2696
|
return t.codePointAt(r);
|
|
@@ -2706,7 +2704,7 @@ var Ze = Ur ? (
|
|
|
2706
2704
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2707
2705
|
}
|
|
2708
2706
|
}
|
|
2709
|
-
), Wr =
|
|
2707
|
+
), Wr = Fr ? (
|
|
2710
2708
|
// Native
|
|
2711
2709
|
function(t) {
|
|
2712
2710
|
return t.trimStart();
|
|
@@ -2714,9 +2712,9 @@ var Ze = Ur ? (
|
|
|
2714
2712
|
) : (
|
|
2715
2713
|
// Ponyfill
|
|
2716
2714
|
function(t) {
|
|
2717
|
-
return t.replace(
|
|
2715
|
+
return t.replace(Mr, "");
|
|
2718
2716
|
}
|
|
2719
|
-
),
|
|
2717
|
+
), zr = jr ? (
|
|
2720
2718
|
// Native
|
|
2721
2719
|
function(t) {
|
|
2722
2720
|
return t.trimEnd();
|
|
@@ -2724,32 +2722,32 @@ var Ze = Ur ? (
|
|
|
2724
2722
|
) : (
|
|
2725
2723
|
// Ponyfill
|
|
2726
2724
|
function(t) {
|
|
2727
|
-
return t.replace(
|
|
2725
|
+
return t.replace(Rr, "");
|
|
2728
2726
|
}
|
|
2729
2727
|
);
|
|
2730
|
-
function
|
|
2728
|
+
function Tt(e, t) {
|
|
2731
2729
|
return new RegExp(e, t);
|
|
2732
2730
|
}
|
|
2733
2731
|
var Oe;
|
|
2734
2732
|
if (Pe) {
|
|
2735
|
-
var
|
|
2733
|
+
var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2736
2734
|
Oe = function(t, r) {
|
|
2737
2735
|
var n;
|
|
2738
|
-
|
|
2739
|
-
var i =
|
|
2736
|
+
Ze.lastIndex = r;
|
|
2737
|
+
var i = Ze.exec(t);
|
|
2740
2738
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2741
2739
|
};
|
|
2742
2740
|
} else
|
|
2743
2741
|
Oe = function(t, r) {
|
|
2744
2742
|
for (var n = []; ; ) {
|
|
2745
|
-
var i =
|
|
2746
|
-
if (i === void 0 ||
|
|
2743
|
+
var i = Ht(t, r);
|
|
2744
|
+
if (i === void 0 || St(i) || Jr(i))
|
|
2747
2745
|
break;
|
|
2748
2746
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2749
2747
|
}
|
|
2750
2748
|
return Ne.apply(void 0, n);
|
|
2751
2749
|
};
|
|
2752
|
-
var
|
|
2750
|
+
var Zr = (
|
|
2753
2751
|
/** @class */
|
|
2754
2752
|
function() {
|
|
2755
2753
|
function e(t, r) {
|
|
@@ -2831,7 +2829,7 @@ var Qr = (
|
|
|
2831
2829
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2832
2830
|
}, e.prototype.parseTagName = function() {
|
|
2833
2831
|
var t = this.offset();
|
|
2834
|
-
for (this.bump(); !this.isEOF() &&
|
|
2832
|
+
for (this.bump(); !this.isEOF() && qr(this.char()); )
|
|
2835
2833
|
this.bump();
|
|
2836
2834
|
return this.message.slice(t, this.offset());
|
|
2837
2835
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2860,7 +2858,7 @@ var Qr = (
|
|
|
2860
2858
|
};
|
|
2861
2859
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2862
2860
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2863
|
-
!
|
|
2861
|
+
!Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2864
2862
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2865
2863
|
if (this.isEOF() || this.char() !== 39)
|
|
2866
2864
|
return null;
|
|
@@ -2947,7 +2945,7 @@ var Qr = (
|
|
|
2947
2945
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2948
2946
|
if (m.err)
|
|
2949
2947
|
return m;
|
|
2950
|
-
var f =
|
|
2948
|
+
var f = zr(m.val);
|
|
2951
2949
|
if (f.length === 0)
|
|
2952
2950
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2953
2951
|
var b = p(h, this.clonePosition());
|
|
@@ -2957,7 +2955,7 @@ var Qr = (
|
|
|
2957
2955
|
if (y.err)
|
|
2958
2956
|
return y;
|
|
2959
2957
|
var _ = p(i, this.clonePosition());
|
|
2960
|
-
if (u &&
|
|
2958
|
+
if (u && We(u?.style, "::", 0)) {
|
|
2961
2959
|
var T = Wr(u.style.slice(2));
|
|
2962
2960
|
if (o === "number") {
|
|
2963
2961
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2969,12 +2967,12 @@ var Qr = (
|
|
|
2969
2967
|
if (T.length === 0)
|
|
2970
2968
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2971
2969
|
var w = T;
|
|
2972
|
-
this.locale && (w =
|
|
2970
|
+
this.locale && (w = Lr(T, this.locale));
|
|
2973
2971
|
var f = {
|
|
2974
2972
|
type: j.dateTime,
|
|
2975
2973
|
pattern: w,
|
|
2976
2974
|
location: u.styleLocation,
|
|
2977
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2975
|
+
parsedOptions: this.shouldParseSkeletons ? Br(w) : {}
|
|
2978
2976
|
}, A = o === "date" ? v.date : v.time;
|
|
2979
2977
|
return {
|
|
2980
2978
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3020,7 +3018,7 @@ var Qr = (
|
|
|
3020
3018
|
val: {
|
|
3021
3019
|
type: v.select,
|
|
3022
3020
|
value: n,
|
|
3023
|
-
options:
|
|
3021
|
+
options: ze(O.val),
|
|
3024
3022
|
location: c
|
|
3025
3023
|
},
|
|
3026
3024
|
err: null
|
|
@@ -3028,7 +3026,7 @@ var Qr = (
|
|
|
3028
3026
|
val: {
|
|
3029
3027
|
type: v.plural,
|
|
3030
3028
|
value: n,
|
|
3031
|
-
options:
|
|
3029
|
+
options: ze(O.val),
|
|
3032
3030
|
offset: x,
|
|
3033
3031
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3034
3032
|
location: c
|
|
@@ -3079,7 +3077,7 @@ var Qr = (
|
|
|
3079
3077
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3080
3078
|
var n = [];
|
|
3081
3079
|
try {
|
|
3082
|
-
n =
|
|
3080
|
+
n = wr(t);
|
|
3083
3081
|
} catch {
|
|
3084
3082
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3085
3083
|
}
|
|
@@ -3088,7 +3086,7 @@ var Qr = (
|
|
|
3088
3086
|
type: j.number,
|
|
3089
3087
|
tokens: n,
|
|
3090
3088
|
location: r,
|
|
3091
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3089
|
+
parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
|
|
3092
3090
|
},
|
|
3093
3091
|
err: null
|
|
3094
3092
|
};
|
|
@@ -3136,7 +3134,7 @@ var Qr = (
|
|
|
3136
3134
|
break;
|
|
3137
3135
|
}
|
|
3138
3136
|
var l = p(i, this.clonePosition());
|
|
3139
|
-
return s ? (a *= n,
|
|
3137
|
+
return s ? (a *= n, Vr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3140
3138
|
}, e.prototype.offset = function() {
|
|
3141
3139
|
return this.position.offset;
|
|
3142
3140
|
}, e.prototype.isEOF = function() {
|
|
@@ -3151,7 +3149,7 @@ var Qr = (
|
|
|
3151
3149
|
var t = this.position.offset;
|
|
3152
3150
|
if (t >= this.message.length)
|
|
3153
3151
|
throw Error("out of bound");
|
|
3154
|
-
var r =
|
|
3152
|
+
var r = Ht(this.message, t);
|
|
3155
3153
|
if (r === void 0)
|
|
3156
3154
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3157
3155
|
return r;
|
|
@@ -3170,7 +3168,7 @@ var Qr = (
|
|
|
3170
3168
|
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);
|
|
3171
3169
|
}
|
|
3172
3170
|
}, e.prototype.bumpIf = function(t) {
|
|
3173
|
-
if (
|
|
3171
|
+
if (We(this.message, t, this.offset())) {
|
|
3174
3172
|
for (var r = 0; r < t.length; r++)
|
|
3175
3173
|
this.bump();
|
|
3176
3174
|
return !0;
|
|
@@ -3192,7 +3190,7 @@ var Qr = (
|
|
|
3192
3190
|
break;
|
|
3193
3191
|
}
|
|
3194
3192
|
}, e.prototype.bumpSpace = function() {
|
|
3195
|
-
for (; !this.isEOF() &&
|
|
3193
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3196
3194
|
this.bump();
|
|
3197
3195
|
}, e.prototype.peek = function() {
|
|
3198
3196
|
if (this.isEOF())
|
|
@@ -3205,30 +3203,30 @@ var Qr = (
|
|
|
3205
3203
|
function Ie(e) {
|
|
3206
3204
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3207
3205
|
}
|
|
3208
|
-
function
|
|
3206
|
+
function Qr(e) {
|
|
3209
3207
|
return Ie(e) || e === 47;
|
|
3210
3208
|
}
|
|
3211
|
-
function
|
|
3209
|
+
function qr(e) {
|
|
3212
3210
|
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;
|
|
3213
3211
|
}
|
|
3214
|
-
function
|
|
3212
|
+
function St(e) {
|
|
3215
3213
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3216
3214
|
}
|
|
3217
|
-
function
|
|
3215
|
+
function Jr(e) {
|
|
3218
3216
|
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;
|
|
3219
3217
|
}
|
|
3220
3218
|
function Le(e) {
|
|
3221
3219
|
e.forEach(function(t) {
|
|
3222
|
-
if (delete t.location,
|
|
3220
|
+
if (delete t.location, dt(t) || bt(t))
|
|
3223
3221
|
for (var r in t.options)
|
|
3224
3222
|
delete t.options[r].location, Le(t.options[r].value);
|
|
3225
3223
|
else
|
|
3226
|
-
|
|
3224
|
+
ct(t) && yt(t.style) || (mt(t) || gt(t)) && we(t.style) ? delete t.style.location : pt(t) && Le(t.children);
|
|
3227
3225
|
});
|
|
3228
3226
|
}
|
|
3229
|
-
function
|
|
3227
|
+
function Yr(e, t) {
|
|
3230
3228
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3231
|
-
var r = new
|
|
3229
|
+
var r = new Zr(e, t).parse();
|
|
3232
3230
|
if (r.err) {
|
|
3233
3231
|
var n = SyntaxError(d[r.err.kind]);
|
|
3234
3232
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3251,7 +3249,7 @@ var ge = (
|
|
|
3251
3249
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3252
3250
|
}, t;
|
|
3253
3251
|
}(Error)
|
|
3254
|
-
),
|
|
3252
|
+
), Qe = (
|
|
3255
3253
|
/** @class */
|
|
3256
3254
|
function(e) {
|
|
3257
3255
|
me(t, e);
|
|
@@ -3260,7 +3258,7 @@ var ge = (
|
|
|
3260
3258
|
}
|
|
3261
3259
|
return t;
|
|
3262
3260
|
}(ge)
|
|
3263
|
-
),
|
|
3261
|
+
), Kr = (
|
|
3264
3262
|
/** @class */
|
|
3265
3263
|
function(e) {
|
|
3266
3264
|
me(t, e);
|
|
@@ -3269,7 +3267,7 @@ var ge = (
|
|
|
3269
3267
|
}
|
|
3270
3268
|
return t;
|
|
3271
3269
|
}(ge)
|
|
3272
|
-
),
|
|
3270
|
+
), en = (
|
|
3273
3271
|
/** @class */
|
|
3274
3272
|
function(e) {
|
|
3275
3273
|
me(t, e);
|
|
@@ -3282,17 +3280,17 @@ var ge = (
|
|
|
3282
3280
|
(function(e) {
|
|
3283
3281
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3284
3282
|
})(B || (B = {}));
|
|
3285
|
-
function
|
|
3283
|
+
function tn(e) {
|
|
3286
3284
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3287
3285
|
var n = t[t.length - 1];
|
|
3288
3286
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3289
3287
|
}, []);
|
|
3290
3288
|
}
|
|
3291
|
-
function
|
|
3289
|
+
function rn(e) {
|
|
3292
3290
|
return typeof e == "function";
|
|
3293
3291
|
}
|
|
3294
3292
|
function ae(e, t, r, n, i, s, a) {
|
|
3295
|
-
if (e.length === 1 &&
|
|
3293
|
+
if (e.length === 1 && je(e[0]))
|
|
3296
3294
|
return [
|
|
3297
3295
|
{
|
|
3298
3296
|
type: B.literal,
|
|
@@ -3301,14 +3299,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3301
3299
|
];
|
|
3302
3300
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3303
3301
|
var h = u[l];
|
|
3304
|
-
if (
|
|
3302
|
+
if (je(h)) {
|
|
3305
3303
|
o.push({
|
|
3306
3304
|
type: B.literal,
|
|
3307
3305
|
value: h.value
|
|
3308
3306
|
});
|
|
3309
3307
|
continue;
|
|
3310
3308
|
}
|
|
3311
|
-
if (
|
|
3309
|
+
if (Tr(h)) {
|
|
3312
3310
|
typeof s == "number" && o.push({
|
|
3313
3311
|
type: B.literal,
|
|
3314
3312
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3317,16 +3315,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3317
3315
|
}
|
|
3318
3316
|
var m = h.value;
|
|
3319
3317
|
if (!(i && m in i))
|
|
3320
|
-
throw new
|
|
3318
|
+
throw new en(m, a);
|
|
3321
3319
|
var f = i[m];
|
|
3322
|
-
if (
|
|
3320
|
+
if (Hr(h)) {
|
|
3323
3321
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3324
3322
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3325
3323
|
value: f
|
|
3326
3324
|
});
|
|
3327
3325
|
continue;
|
|
3328
3326
|
}
|
|
3329
|
-
if (
|
|
3327
|
+
if (mt(h)) {
|
|
3330
3328
|
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3331
3329
|
o.push({
|
|
3332
3330
|
type: B.literal,
|
|
@@ -3334,7 +3332,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3334
3332
|
});
|
|
3335
3333
|
continue;
|
|
3336
3334
|
}
|
|
3337
|
-
if (
|
|
3335
|
+
if (gt(h)) {
|
|
3338
3336
|
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3339
3337
|
o.push({
|
|
3340
3338
|
type: B.literal,
|
|
@@ -3342,18 +3340,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3342
3340
|
});
|
|
3343
3341
|
continue;
|
|
3344
3342
|
}
|
|
3345
|
-
if (
|
|
3346
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3343
|
+
if (ct(h)) {
|
|
3344
|
+
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3347
3345
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3348
3346
|
type: B.literal,
|
|
3349
3347
|
value: r.getNumberFormat(t, b).format(f)
|
|
3350
3348
|
});
|
|
3351
3349
|
continue;
|
|
3352
3350
|
}
|
|
3353
|
-
if (
|
|
3351
|
+
if (pt(h)) {
|
|
3354
3352
|
var y = h.children, _ = h.value, T = i[_];
|
|
3355
|
-
if (!
|
|
3356
|
-
throw new
|
|
3353
|
+
if (!rn(T))
|
|
3354
|
+
throw new Kr(_, "function", a);
|
|
3357
3355
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3358
3356
|
return x.value;
|
|
3359
3357
|
}));
|
|
@@ -3364,14 +3362,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3364
3362
|
};
|
|
3365
3363
|
}));
|
|
3366
3364
|
}
|
|
3367
|
-
if (
|
|
3365
|
+
if (dt(h)) {
|
|
3368
3366
|
var S = h.options[f] || h.options.other;
|
|
3369
3367
|
if (!S)
|
|
3370
|
-
throw new
|
|
3368
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3371
3369
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3372
3370
|
continue;
|
|
3373
3371
|
}
|
|
3374
|
-
if (
|
|
3372
|
+
if (bt(h)) {
|
|
3375
3373
|
var S = h.options["=".concat(f)];
|
|
3376
3374
|
if (!S) {
|
|
3377
3375
|
if (!Intl.PluralRules)
|
|
@@ -3382,21 +3380,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3382
3380
|
S = h.options[N] || h.options.other;
|
|
3383
3381
|
}
|
|
3384
3382
|
if (!S)
|
|
3385
|
-
throw new
|
|
3383
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3386
3384
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3387
3385
|
continue;
|
|
3388
3386
|
}
|
|
3389
3387
|
}
|
|
3390
|
-
return
|
|
3388
|
+
return tn(o);
|
|
3391
3389
|
}
|
|
3392
|
-
function
|
|
3390
|
+
function nn(e, t) {
|
|
3393
3391
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3394
3392
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3395
3393
|
}, {})) : e;
|
|
3396
3394
|
}
|
|
3397
|
-
function
|
|
3395
|
+
function sn(e, t) {
|
|
3398
3396
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3399
|
-
return r[n] =
|
|
3397
|
+
return r[n] = nn(e[n], t[n]), r;
|
|
3400
3398
|
}, E({}, e)) : e;
|
|
3401
3399
|
}
|
|
3402
3400
|
function xe(e) {
|
|
@@ -3413,7 +3411,7 @@ function xe(e) {
|
|
|
3413
3411
|
}
|
|
3414
3412
|
};
|
|
3415
3413
|
}
|
|
3416
|
-
function
|
|
3414
|
+
function an(e) {
|
|
3417
3415
|
return e === void 0 && (e = {
|
|
3418
3416
|
number: {},
|
|
3419
3417
|
dateTime: {},
|
|
@@ -3445,7 +3443,7 @@ function on(e) {
|
|
|
3445
3443
|
})
|
|
3446
3444
|
};
|
|
3447
3445
|
}
|
|
3448
|
-
var
|
|
3446
|
+
var on = (
|
|
3449
3447
|
/** @class */
|
|
3450
3448
|
function() {
|
|
3451
3449
|
function e(t, r, n, i) {
|
|
@@ -3477,13 +3475,13 @@ var un = (
|
|
|
3477
3475
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3478
3476
|
var a = i || {};
|
|
3479
3477
|
a.formatters;
|
|
3480
|
-
var o =
|
|
3478
|
+
var o = dr(a, ["formatters"]);
|
|
3481
3479
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3482
3480
|
} else
|
|
3483
3481
|
this.ast = t;
|
|
3484
3482
|
if (!Array.isArray(this.ast))
|
|
3485
3483
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3486
|
-
this.formats =
|
|
3484
|
+
this.formats = sn(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
|
|
3487
3485
|
}
|
|
3488
3486
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3489
3487
|
get: function() {
|
|
@@ -3496,7 +3494,7 @@ var un = (
|
|
|
3496
3494
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3497
3495
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3498
3496
|
}
|
|
3499
|
-
}, e.__parse =
|
|
3497
|
+
}, e.__parse = Yr, e.formats = {
|
|
3500
3498
|
number: {
|
|
3501
3499
|
integer: {
|
|
3502
3500
|
maximumFractionDigits: 0
|
|
@@ -3557,7 +3555,7 @@ var un = (
|
|
|
3557
3555
|
}, e;
|
|
3558
3556
|
}()
|
|
3559
3557
|
);
|
|
3560
|
-
function
|
|
3558
|
+
function un(e, t) {
|
|
3561
3559
|
if (t == null)
|
|
3562
3560
|
return;
|
|
3563
3561
|
if (t in e)
|
|
@@ -3578,60 +3576,60 @@ function hn(e, t) {
|
|
|
3578
3576
|
n = void 0;
|
|
3579
3577
|
return n;
|
|
3580
3578
|
}
|
|
3581
|
-
const C = {},
|
|
3579
|
+
const C = {}, hn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
|
|
3582
3580
|
if (t == null)
|
|
3583
3581
|
return;
|
|
3584
3582
|
if (t in C && e in C[t])
|
|
3585
3583
|
return C[t][e];
|
|
3586
3584
|
const r = de(t);
|
|
3587
3585
|
for (let n = 0; n < r.length; n++) {
|
|
3588
|
-
const i = r[n], s =
|
|
3586
|
+
const i = r[n], s = fn(i, e);
|
|
3589
3587
|
if (s)
|
|
3590
|
-
return
|
|
3588
|
+
return hn(e, t, s);
|
|
3591
3589
|
}
|
|
3592
3590
|
};
|
|
3593
|
-
let
|
|
3594
|
-
const
|
|
3595
|
-
function
|
|
3596
|
-
return
|
|
3591
|
+
let $e;
|
|
3592
|
+
const z = ce({});
|
|
3593
|
+
function ln(e) {
|
|
3594
|
+
return $e[e] || null;
|
|
3597
3595
|
}
|
|
3598
|
-
function
|
|
3599
|
-
return e in
|
|
3596
|
+
function At(e) {
|
|
3597
|
+
return e in $e;
|
|
3600
3598
|
}
|
|
3601
|
-
function
|
|
3602
|
-
if (!
|
|
3599
|
+
function fn(e, t) {
|
|
3600
|
+
if (!At(e))
|
|
3603
3601
|
return null;
|
|
3604
|
-
const r =
|
|
3605
|
-
return
|
|
3602
|
+
const r = ln(e);
|
|
3603
|
+
return un(r, t);
|
|
3606
3604
|
}
|
|
3607
|
-
function
|
|
3605
|
+
function cn(e) {
|
|
3608
3606
|
if (e == null)
|
|
3609
3607
|
return;
|
|
3610
3608
|
const t = de(e);
|
|
3611
3609
|
for (let r = 0; r < t.length; r++) {
|
|
3612
3610
|
const n = t[r];
|
|
3613
|
-
if (
|
|
3611
|
+
if (At(n))
|
|
3614
3612
|
return n;
|
|
3615
3613
|
}
|
|
3616
3614
|
}
|
|
3617
|
-
function
|
|
3618
|
-
delete C[e],
|
|
3615
|
+
function mn(e, ...t) {
|
|
3616
|
+
delete C[e], z.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
|
|
3619
3617
|
}
|
|
3620
|
-
|
|
3621
|
-
[
|
|
3618
|
+
W(
|
|
3619
|
+
[z],
|
|
3622
3620
|
([e]) => Object.keys(e)
|
|
3623
3621
|
);
|
|
3624
|
-
|
|
3622
|
+
z.subscribe((e) => $e = e);
|
|
3625
3623
|
const oe = {};
|
|
3626
|
-
function
|
|
3624
|
+
function gn(e, t) {
|
|
3627
3625
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3628
3626
|
}
|
|
3629
|
-
function
|
|
3627
|
+
function wt(e) {
|
|
3630
3628
|
return oe[e];
|
|
3631
3629
|
}
|
|
3632
|
-
function
|
|
3630
|
+
function dn(e) {
|
|
3633
3631
|
return de(e).map((t) => {
|
|
3634
|
-
const r =
|
|
3632
|
+
const r = wt(t);
|
|
3635
3633
|
return [t, r ? [...r] : []];
|
|
3636
3634
|
}).filter(([, t]) => t.length > 0);
|
|
3637
3635
|
}
|
|
@@ -3639,31 +3637,31 @@ function Ce(e) {
|
|
|
3639
3637
|
return e == null ? !1 : de(e).some(
|
|
3640
3638
|
(t) => {
|
|
3641
3639
|
var r;
|
|
3642
|
-
return (r =
|
|
3640
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
|
3643
3641
|
}
|
|
3644
3642
|
);
|
|
3645
3643
|
}
|
|
3646
|
-
function
|
|
3644
|
+
function bn(e, t) {
|
|
3647
3645
|
return Promise.all(
|
|
3648
|
-
t.map((n) => (
|
|
3649
|
-
).then((n) =>
|
|
3646
|
+
t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
|
|
3647
|
+
).then((n) => mn(e, ...n));
|
|
3650
3648
|
}
|
|
3651
3649
|
const Q = {};
|
|
3652
|
-
function
|
|
3650
|
+
function Pt(e) {
|
|
3653
3651
|
if (!Ce(e))
|
|
3654
3652
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3655
|
-
const t =
|
|
3653
|
+
const t = dn(e);
|
|
3656
3654
|
return Q[e] = Promise.all(
|
|
3657
3655
|
t.map(
|
|
3658
|
-
([r, n]) =>
|
|
3656
|
+
([r, n]) => bn(r, n)
|
|
3659
3657
|
)
|
|
3660
3658
|
).then(() => {
|
|
3661
3659
|
if (Ce(e))
|
|
3662
|
-
return
|
|
3660
|
+
return Pt(e);
|
|
3663
3661
|
delete Q[e];
|
|
3664
3662
|
}), Q[e];
|
|
3665
3663
|
}
|
|
3666
|
-
const
|
|
3664
|
+
const pn = {
|
|
3667
3665
|
number: {
|
|
3668
3666
|
scientific: { notation: "scientific" },
|
|
3669
3667
|
engineering: { notation: "engineering" },
|
|
@@ -3692,34 +3690,34 @@ const yn = {
|
|
|
3692
3690
|
timeZoneName: "short"
|
|
3693
3691
|
}
|
|
3694
3692
|
}
|
|
3695
|
-
},
|
|
3693
|
+
}, yn = {
|
|
3696
3694
|
fallbackLocale: null,
|
|
3697
3695
|
loadingDelay: 200,
|
|
3698
|
-
formats:
|
|
3696
|
+
formats: pn,
|
|
3699
3697
|
warnOnMissingMessages: !0,
|
|
3700
3698
|
handleMissingMessage: void 0,
|
|
3701
3699
|
ignoreTag: !0
|
|
3702
|
-
},
|
|
3700
|
+
}, En = yn;
|
|
3703
3701
|
function V() {
|
|
3704
|
-
return
|
|
3702
|
+
return En;
|
|
3705
3703
|
}
|
|
3706
3704
|
const He = ce(!1);
|
|
3707
|
-
var
|
|
3705
|
+
var vn = Object.defineProperty, _n = Object.defineProperties, xn = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
|
|
3708
3706
|
for (var r in t || (t = {}))
|
|
3709
|
-
|
|
3710
|
-
if (
|
|
3711
|
-
for (var r of
|
|
3712
|
-
|
|
3707
|
+
Hn.call(t, r) && Je(e, r, t[r]);
|
|
3708
|
+
if (qe)
|
|
3709
|
+
for (var r of qe(t))
|
|
3710
|
+
Tn.call(t, r) && Je(e, r, t[r]);
|
|
3713
3711
|
return e;
|
|
3714
|
-
},
|
|
3712
|
+
}, Bn = (e, t) => _n(e, xn(t));
|
|
3715
3713
|
let Me;
|
|
3716
3714
|
const ue = ce(null);
|
|
3717
|
-
function
|
|
3715
|
+
function Ye(e) {
|
|
3718
3716
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3719
3717
|
}
|
|
3720
3718
|
function de(e, t = V().fallbackLocale) {
|
|
3721
|
-
const r =
|
|
3722
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3719
|
+
const r = Ye(e);
|
|
3720
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
|
3723
3721
|
}
|
|
3724
3722
|
function R() {
|
|
3725
3723
|
return Me ?? void 0;
|
|
@@ -3727,22 +3725,22 @@ function R() {
|
|
|
3727
3725
|
ue.subscribe((e) => {
|
|
3728
3726
|
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3729
3727
|
});
|
|
3730
|
-
const
|
|
3731
|
-
if (e &&
|
|
3728
|
+
const An = (e) => {
|
|
3729
|
+
if (e && cn(e) && Ce(e)) {
|
|
3732
3730
|
const { loadingDelay: t } = V();
|
|
3733
3731
|
let r;
|
|
3734
3732
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3735
3733
|
() => He.set(!0),
|
|
3736
3734
|
t
|
|
3737
|
-
) : He.set(!0),
|
|
3735
|
+
) : He.set(!0), Pt(e).then(() => {
|
|
3738
3736
|
ue.set(e);
|
|
3739
3737
|
}).finally(() => {
|
|
3740
3738
|
clearTimeout(r), He.set(!1);
|
|
3741
3739
|
});
|
|
3742
3740
|
}
|
|
3743
3741
|
return ue.set(e);
|
|
3744
|
-
}, M =
|
|
3745
|
-
set:
|
|
3742
|
+
}, M = Bn(Sn({}, ue), {
|
|
3743
|
+
set: An
|
|
3746
3744
|
}), be = (e) => {
|
|
3747
3745
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3748
3746
|
return (n) => {
|
|
@@ -3750,20 +3748,20 @@ const wn = (e) => {
|
|
|
3750
3748
|
return i in t ? t[i] : t[i] = e(n);
|
|
3751
3749
|
};
|
|
3752
3750
|
};
|
|
3753
|
-
var
|
|
3751
|
+
var wn = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
|
3754
3752
|
for (var r in t || (t = {}))
|
|
3755
|
-
|
|
3753
|
+
Nt.call(t, r) && Ke(e, r, t[r]);
|
|
3756
3754
|
if (he)
|
|
3757
3755
|
for (var r of he(t))
|
|
3758
|
-
|
|
3756
|
+
Ot.call(t, r) && Ke(e, r, t[r]);
|
|
3759
3757
|
return e;
|
|
3760
3758
|
}, Z = (e, t) => {
|
|
3761
3759
|
var r = {};
|
|
3762
3760
|
for (var n in e)
|
|
3763
|
-
|
|
3761
|
+
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3764
3762
|
if (e != null && he)
|
|
3765
3763
|
for (var n of he(e))
|
|
3766
|
-
t.indexOf(n) < 0 &&
|
|
3764
|
+
t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
|
|
3767
3765
|
return r;
|
|
3768
3766
|
};
|
|
3769
3767
|
const K = (e, t) => {
|
|
@@ -3771,21 +3769,21 @@ const K = (e, t) => {
|
|
|
3771
3769
|
if (e in r && t in r[e])
|
|
3772
3770
|
return r[e][t];
|
|
3773
3771
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3774
|
-
},
|
|
3772
|
+
}, Pn = be(
|
|
3775
3773
|
(e) => {
|
|
3776
3774
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3777
3775
|
if (r == null)
|
|
3778
3776
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3779
3777
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3780
3778
|
}
|
|
3781
|
-
),
|
|
3779
|
+
), Nn = be(
|
|
3782
3780
|
(e) => {
|
|
3783
3781
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3784
3782
|
if (r == null)
|
|
3785
3783
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3786
3784
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3787
3785
|
}
|
|
3788
|
-
),
|
|
3786
|
+
), On = be(
|
|
3789
3787
|
(e) => {
|
|
3790
3788
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3791
3789
|
if (r == null)
|
|
@@ -3794,33 +3792,33 @@ const K = (e, t) => {
|
|
|
3794
3792
|
);
|
|
3795
3793
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3796
3794
|
}
|
|
3797
|
-
),
|
|
3795
|
+
), In = (e = {}) => {
|
|
3798
3796
|
var t = e, {
|
|
3799
3797
|
locale: r = R()
|
|
3800
3798
|
} = t, n = Z(t, [
|
|
3801
3799
|
"locale"
|
|
3802
3800
|
]);
|
|
3803
|
-
return
|
|
3804
|
-
},
|
|
3801
|
+
return Pn(Ue({ locale: r }, n));
|
|
3802
|
+
}, Ln = (e = {}) => {
|
|
3805
3803
|
var t = e, {
|
|
3806
3804
|
locale: r = R()
|
|
3807
3805
|
} = t, n = Z(t, [
|
|
3808
3806
|
"locale"
|
|
3809
3807
|
]);
|
|
3810
|
-
return
|
|
3811
|
-
},
|
|
3808
|
+
return Nn(Ue({ locale: r }, n));
|
|
3809
|
+
}, Cn = (e = {}) => {
|
|
3812
3810
|
var t = e, {
|
|
3813
3811
|
locale: r = R()
|
|
3814
3812
|
} = t, n = Z(t, [
|
|
3815
3813
|
"locale"
|
|
3816
3814
|
]);
|
|
3817
|
-
return
|
|
3818
|
-
},
|
|
3815
|
+
return On(Ue({ locale: r }, n));
|
|
3816
|
+
}, Mn = be(
|
|
3819
3817
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3820
|
-
(e, t = R()) => new
|
|
3818
|
+
(e, t = R()) => new on(e, t, V().formats, {
|
|
3821
3819
|
ignoreTag: V().ignoreTag
|
|
3822
3820
|
})
|
|
3823
|
-
),
|
|
3821
|
+
), Rn = (e, t = {}) => {
|
|
3824
3822
|
var r, n, i, s;
|
|
3825
3823
|
let a = t;
|
|
3826
3824
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3833,7 +3831,7 @@ const K = (e, t) => {
|
|
|
3833
3831
|
throw new Error(
|
|
3834
3832
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3835
3833
|
);
|
|
3836
|
-
let h =
|
|
3834
|
+
let h = Bt(e, l);
|
|
3837
3835
|
if (!h)
|
|
3838
3836
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3839
3837
|
else if (typeof h != "string")
|
|
@@ -3844,7 +3842,7 @@ const K = (e, t) => {
|
|
|
3844
3842
|
return h;
|
|
3845
3843
|
let m = h;
|
|
3846
3844
|
try {
|
|
3847
|
-
m =
|
|
3845
|
+
m = Mn(h, l).format(o);
|
|
3848
3846
|
} catch (f) {
|
|
3849
3847
|
f instanceof Error && console.warn(
|
|
3850
3848
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3852,23 +3850,23 @@ const K = (e, t) => {
|
|
|
3852
3850
|
);
|
|
3853
3851
|
}
|
|
3854
3852
|
return m;
|
|
3855
|
-
},
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
function
|
|
3853
|
+
}, $n = (e, t) => Cn(t).format(e), Un = (e, t) => Ln(t).format(e), Dn = (e, t) => In(t).format(e), Gn = (e, t = R()) => Bt(e, t), mi = W([M, z], () => Rn);
|
|
3854
|
+
W([M], () => $n);
|
|
3855
|
+
W([M], () => Un);
|
|
3856
|
+
W([M], () => Dn);
|
|
3857
|
+
W([M, z], () => Gn);
|
|
3858
|
+
function Fn({ withLocale: e, translations: t }) {
|
|
3861
3859
|
M.subscribe((r) => {
|
|
3862
|
-
r == null && (
|
|
3860
|
+
r == null && (z.set(t), M.set(e));
|
|
3863
3861
|
});
|
|
3864
3862
|
}
|
|
3865
|
-
function
|
|
3863
|
+
function jn(e, t) {
|
|
3866
3864
|
if (e) {
|
|
3867
3865
|
const r = document.createElement("style");
|
|
3868
3866
|
r.innerHTML = t, e.appendChild(r);
|
|
3869
3867
|
}
|
|
3870
3868
|
}
|
|
3871
|
-
function
|
|
3869
|
+
function kn(e, t) {
|
|
3872
3870
|
const r = new URL(t);
|
|
3873
3871
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3874
3872
|
const i = document.createElement("style");
|
|
@@ -3877,7 +3875,7 @@ function Vn(e, t) {
|
|
|
3877
3875
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3878
3876
|
});
|
|
3879
3877
|
}
|
|
3880
|
-
function
|
|
3878
|
+
function Vn(e, t, r) {
|
|
3881
3879
|
if (window.emMessageBus) {
|
|
3882
3880
|
const n = document.createElement("style");
|
|
3883
3881
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3897,14 +3895,14 @@ if (typeof window < "u") {
|
|
|
3897
3895
|
}
|
|
3898
3896
|
};
|
|
3899
3897
|
};
|
|
3900
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3898
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-k9kRRHf4.js").then(({ default: t }) => {
|
|
3901
3899
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3902
3900
|
});
|
|
3903
3901
|
}
|
|
3904
|
-
function
|
|
3905
|
-
|
|
3902
|
+
function Xn(e) {
|
|
3903
|
+
Ct(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3906
3904
|
}
|
|
3907
|
-
function
|
|
3905
|
+
function et(e) {
|
|
3908
3906
|
let t;
|
|
3909
3907
|
return {
|
|
3910
3908
|
c() {
|
|
@@ -4122,7 +4120,7 @@ function rt(e) {
|
|
|
4122
4120
|
function Wn(e) {
|
|
4123
4121
|
let t, r = (
|
|
4124
4122
|
/*session*/
|
|
4125
|
-
e[4] &&
|
|
4123
|
+
e[4] && et(e)
|
|
4126
4124
|
);
|
|
4127
4125
|
return {
|
|
4128
4126
|
c() {
|
|
@@ -4133,7 +4131,7 @@ function Wn(e) {
|
|
|
4133
4131
|
},
|
|
4134
4132
|
p(n, [i]) {
|
|
4135
4133
|
/*session*/
|
|
4136
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4134
|
+
n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4137
4135
|
},
|
|
4138
4136
|
i: P,
|
|
4139
4137
|
o: P,
|
|
@@ -4142,9 +4140,9 @@ function Wn(e) {
|
|
|
4142
4140
|
}
|
|
4143
4141
|
};
|
|
4144
4142
|
}
|
|
4145
|
-
function
|
|
4143
|
+
function zn(e, t, r) {
|
|
4146
4144
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: w = "" } = t, { favorites: A = "" } = t, { casinomygames: S = "false" } = t, { fetchviaevent: N = "true" } = t, x;
|
|
4147
|
-
|
|
4145
|
+
Fn({ withLocale: "en", translations: {} }), Ft(() => () => {
|
|
4148
4146
|
});
|
|
4149
4147
|
function O(c) {
|
|
4150
4148
|
Te[c ? "unshift" : "push"](() => {
|
|
@@ -4155,9 +4153,9 @@ function Zn(e, t, r) {
|
|
|
4155
4153
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "mbsource" in c && r(6, u = c.mbsource), "clientstyling" in c && r(7, h = c.clientstyling), "clientstylingurl" in c && r(8, m = c.clientstylingurl), "livecasino" in c && r(9, f = c.livecasino), "integratedgameframemobile" in c && r(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(11, y = c.integratedgameframedesktop), "showgamename" in c && r(12, _ = c.showgamename), "gamepagemodalurl" in c && r(13, T = c.gamepagemodalurl), "visiblegames" in c && r(14, w = c.visiblegames), "favorites" in c && r(15, A = c.favorites), "casinomygames" in c && r(16, S = c.casinomygames), "fetchviaevent" in c && r(17, N = c.fetchviaevent);
|
|
4156
4154
|
}, e.$$.update = () => {
|
|
4157
4155
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4158
|
-
262272 && h && x &&
|
|
4159
|
-
262400 && m && x &&
|
|
4160
|
-
262208 && u && x &&
|
|
4156
|
+
262272 && h && x && jn(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4157
|
+
262400 && m && x && kn(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4158
|
+
262208 && u && x && Vn(x, `${u}.Style`);
|
|
4161
4159
|
}, [
|
|
4162
4160
|
n,
|
|
4163
4161
|
i,
|
|
@@ -4181,14 +4179,14 @@ function Zn(e, t, r) {
|
|
|
4181
4179
|
O
|
|
4182
4180
|
];
|
|
4183
4181
|
}
|
|
4184
|
-
class
|
|
4182
|
+
class Zn extends qt {
|
|
4185
4183
|
constructor(t) {
|
|
4186
|
-
super(),
|
|
4184
|
+
super(), Zt(
|
|
4187
4185
|
this,
|
|
4188
4186
|
t,
|
|
4189
|
-
|
|
4187
|
+
zn,
|
|
4190
4188
|
Wn,
|
|
4191
|
-
|
|
4189
|
+
rt,
|
|
4192
4190
|
{
|
|
4193
4191
|
endpoint: 0,
|
|
4194
4192
|
datasource: 1,
|
|
@@ -4209,7 +4207,7 @@ class Qn extends Yt {
|
|
|
4209
4207
|
casinomygames: 16,
|
|
4210
4208
|
fetchviaevent: 17
|
|
4211
4209
|
},
|
|
4212
|
-
|
|
4210
|
+
Xn
|
|
4213
4211
|
);
|
|
4214
4212
|
}
|
|
4215
4213
|
get endpoint() {
|
|
@@ -4321,52 +4319,52 @@ class Qn extends Yt {
|
|
|
4321
4319
|
this.$$set({ fetchviaevent: t }), H();
|
|
4322
4320
|
}
|
|
4323
4321
|
}
|
|
4324
|
-
|
|
4322
|
+
Qt(Zn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4325
4323
|
export {
|
|
4326
4324
|
M as $,
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4325
|
+
ni as A,
|
|
4326
|
+
Qn as B,
|
|
4327
|
+
jn as C,
|
|
4328
|
+
kn as D,
|
|
4329
|
+
Vn as E,
|
|
4330
|
+
Qt as F,
|
|
4331
|
+
mi as G,
|
|
4332
|
+
si as H,
|
|
4333
|
+
Jn as I,
|
|
4336
4334
|
g as J,
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4335
|
+
ei as K,
|
|
4336
|
+
ai as L,
|
|
4337
|
+
ii as M,
|
|
4338
|
+
oi as N,
|
|
4339
|
+
li as O,
|
|
4340
|
+
hi as P,
|
|
4341
|
+
Zn as Q,
|
|
4342
|
+
qt as S,
|
|
4343
|
+
fi as _,
|
|
4346
4344
|
ye as a,
|
|
4347
|
-
|
|
4345
|
+
ci as b,
|
|
4348
4346
|
me as c,
|
|
4349
|
-
|
|
4350
|
-
|
|
4347
|
+
z as d,
|
|
4348
|
+
mn as e,
|
|
4351
4349
|
H as f,
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4350
|
+
Ct as g,
|
|
4351
|
+
ee as h,
|
|
4352
|
+
Zt as i,
|
|
4353
|
+
fe as j,
|
|
4354
|
+
te as k,
|
|
4355
|
+
qn as l,
|
|
4356
|
+
Te as m,
|
|
4359
4357
|
P as n,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4358
|
+
Ft as o,
|
|
4359
|
+
ri as p,
|
|
4360
|
+
Lt as q,
|
|
4361
|
+
Re as r,
|
|
4362
|
+
rt as s,
|
|
4363
|
+
it as t,
|
|
4364
|
+
ui as u,
|
|
4365
|
+
Yn as v,
|
|
4366
|
+
X as w,
|
|
4367
|
+
ti as x,
|
|
4368
|
+
$t as y,
|
|
4369
|
+
Kn as z
|
|
4372
4370
|
};
|