@everymatrix/casino-my-games 1.59.2 → 1.59.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-DqjgZJRG.js → CasinoFavoritesSection-CEtAVuos.js} +382 -384
- package/components/{CasinoFavoritesSection-BV_Rkfna.js → CasinoFavoritesSection-DCZIGeMC.js} +395 -397
- package/components/CasinoFavoritesSection-Dc44Xjgd.cjs +16 -0
- package/components/{CasinoFilter-BkdFjlBb.js → CasinoFilter-BCOoGCst.js} +356 -375
- package/components/CasinoFilter-D4sHNd-k.cjs +3 -0
- package/components/{CasinoFilter-8bRSeB4q.js → CasinoFilter-FR2j_0qW.js} +358 -379
- package/components/{CasinoGameThumbnail-CObFa4Ej.js → CasinoGameThumbnail-BS5H_F6a.js} +1368 -1384
- package/components/CasinoGameThumbnail-CKYRm-TU.cjs +47 -0
- package/components/{CasinoGameThumbnail-Cxu9BGXq.js → CasinoGameThumbnail-MTHNr1VP.js} +888 -872
- package/components/{CasinoGamesCategorySection-BtCN-f-p.js → CasinoGamesCategorySection-BIe5htrk.js} +262 -262
- package/components/{CasinoGamesCategorySection-DMtRyewS.cjs → CasinoGamesCategorySection-CUssOb8o.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DyYqAUXu.js → CasinoGamesCategorySection-MBg2lQfe.js} +261 -261
- package/components/{CasinoLastPlayedSection-I6m9kbe8.cjs → CasinoLastPlayedSection-D7gOhZ25.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BqdXBj61.js → CasinoLastPlayedSection-DaMfEGKB.js} +28 -28
- package/components/{CasinoLastPlayedSection-CaOmyA6K.js → CasinoLastPlayedSection-DmnCtWIk.js} +28 -28
- package/components/{CasinoMostPlayedSection-Dcqdd2m1.cjs → CasinoMostPlayedSection-Cs4VK9jJ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-tli73o6E.js → CasinoMostPlayedSection-F00FlW06.js} +46 -46
- package/components/{CasinoMostPlayedSection-Cv9ZaVmg.js → CasinoMostPlayedSection-NKO-t0R2.js} +46 -46
- package/components/{CasinoMyGames-Rdo6ELFH.cjs → CasinoMyGames-C3cjwpVm.cjs} +1 -1
- package/components/{CasinoMyGames-BUyRHRJV.js → CasinoMyGames-CV85O67m.js} +53 -53
- package/components/{CasinoMyGames-BtC4A70R.js → CasinoMyGames-D7E6KfQt.js} +50 -50
- package/components/{CasinoSort-BKwH2JVd.js → CasinoSort-CEpFhJP-.js} +100 -99
- package/components/{CasinoSort-Dgsc5Qxc.js → CasinoSort-CMBL7FdY.js} +108 -109
- package/components/{CasinoSort-B8_m1F4s.cjs → CasinoSort-wlwN0pga.cjs} +1 -1
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +2 -2
- package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
- package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
- package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
- package/components/CasinoFavoritesSection-ezlecd5t.cjs +0 -16
- package/components/CasinoFilter-C5JkknaH.cjs +0 -3
- package/components/CasinoGameThumbnail-Bwo71Pat.cjs +0 -47
- 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/components/{CasinoFavoritesSection-DqjgZJRG.js → CasinoFavoritesSection-CEtAVuos.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
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 Lt(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 : N;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Ct(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
43
|
+
function Mt(e, t, r) {
|
|
44
|
+
const n = Rt(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, $t(n, i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Rt(e) {
|
|
51
51
|
if (!e)
|
|
52
52
|
return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -57,8 +57,8 @@ function Ut(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function $t(e, t) {
|
|
61
|
+
return Ct(
|
|
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 Ut(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,20 +99,20 @@ 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 Dt(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) {
|
|
113
113
|
e.classList.toggle(t, !!r);
|
|
114
114
|
}
|
|
115
|
-
class
|
|
115
|
+
class si {
|
|
116
116
|
/**
|
|
117
117
|
* @private
|
|
118
118
|
* @default false
|
|
@@ -143,7 +143,7 @@ class ai {
|
|
|
143
143
|
* @returns {void}
|
|
144
144
|
*/
|
|
145
145
|
m(t, r, n = null) {
|
|
146
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = Ut(
|
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
148
148
|
r.nodeName
|
|
149
149
|
) : this.e = te(
|
|
@@ -182,7 +182,7 @@ class ai {
|
|
|
182
182
|
this.n.forEach(ee);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Gt(e) {
|
|
186
186
|
const t = {};
|
|
187
187
|
return e.childNodes.forEach(
|
|
188
188
|
/** @param {Element} node */
|
|
@@ -195,23 +195,23 @@ let J;
|
|
|
195
195
|
function q(e) {
|
|
196
196
|
J = e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ft() {
|
|
199
199
|
if (!J)
|
|
200
200
|
throw new Error("Function called outside component initialization");
|
|
201
201
|
return J;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
203
|
+
function jt(e) {
|
|
204
|
+
Ft().$$.on_mount.push(e);
|
|
205
205
|
}
|
|
206
206
|
const D = [], Te = [];
|
|
207
207
|
let G = [];
|
|
208
|
-
const
|
|
208
|
+
const Ge = [], st = /* @__PURE__ */ Promise.resolve();
|
|
209
209
|
let Se = !1;
|
|
210
|
-
function
|
|
211
|
-
Se || (Se = !0,
|
|
210
|
+
function at() {
|
|
211
|
+
Se || (Se = !0, st.then(H));
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
213
|
+
function ai() {
|
|
214
|
+
return at(), st;
|
|
215
215
|
}
|
|
216
216
|
function Be(e) {
|
|
217
217
|
G.push(e);
|
|
@@ -226,7 +226,7 @@ function H() {
|
|
|
226
226
|
try {
|
|
227
227
|
for (; $ < D.length; ) {
|
|
228
228
|
const t = D[$];
|
|
229
|
-
$++, q(t),
|
|
229
|
+
$++, q(t), kt(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
232
|
throw D.length = 0, $ = 0, t;
|
|
@@ -239,32 +239,32 @@ function H() {
|
|
|
239
239
|
}
|
|
240
240
|
G.length = 0;
|
|
241
241
|
} while (D.length);
|
|
242
|
-
for (;
|
|
243
|
-
|
|
242
|
+
for (; Ge.length; )
|
|
243
|
+
Ge.pop()();
|
|
244
244
|
Se = !1, pe.clear(), q(e);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function kt(e) {
|
|
247
247
|
if (e.fragment !== null) {
|
|
248
248
|
e.update(), X(e.before_update);
|
|
249
249
|
const t = e.dirty;
|
|
250
250
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Vt(e) {
|
|
254
254
|
const t = [], r = [];
|
|
255
255
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
e && e.i && (
|
|
257
|
+
const Xt = /* @__PURE__ */ new Set();
|
|
258
|
+
function ot(e, t) {
|
|
259
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function oi(e) {
|
|
262
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function ui(e, t) {
|
|
265
265
|
e.d(1), t.delete(e.key);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
268
268
|
let f = e.length, b = s.length, y = f;
|
|
269
269
|
const _ = {};
|
|
270
270
|
for (; y--; )
|
|
@@ -277,7 +277,7 @@ function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
277
277
|
}
|
|
278
278
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
279
279
|
function O(c) {
|
|
280
|
-
|
|
280
|
+
ot(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
281
281
|
}
|
|
282
282
|
for (; f && b; ) {
|
|
283
283
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -291,21 +291,21 @@ function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
291
291
|
O(T[b - 1]);
|
|
292
292
|
return X(S), T;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function zt(e, t, r) {
|
|
295
295
|
const { fragment: n, after_update: i } = e.$$;
|
|
296
296
|
n && n.m(t, r), Be(() => {
|
|
297
|
-
const s = e.$$.on_mount.map(
|
|
297
|
+
const s = e.$$.on_mount.map(tt).filter(le);
|
|
298
298
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
299
299
|
}), i.forEach(Be);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Wt(e, t) {
|
|
302
302
|
const r = e.$$;
|
|
303
|
-
r.fragment !== null && (
|
|
303
|
+
r.fragment !== null && (Vt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
305
|
+
function Zt(e, t) {
|
|
306
|
+
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
309
309
|
const l = J;
|
|
310
310
|
q(e);
|
|
311
311
|
const u = e.$$ = {
|
|
@@ -315,7 +315,7 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
315
315
|
props: s,
|
|
316
316
|
update: N,
|
|
317
317
|
not_equal: i,
|
|
318
|
-
bound:
|
|
318
|
+
bound: De(),
|
|
319
319
|
// lifecycle
|
|
320
320
|
on_mount: [],
|
|
321
321
|
on_destroy: [],
|
|
@@ -324,7 +324,7 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
324
324
|
after_update: [],
|
|
325
325
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
326
326
|
// everything else
|
|
327
|
-
callbacks:
|
|
327
|
+
callbacks: De(),
|
|
328
328
|
dirty: o,
|
|
329
329
|
skip_bound: !1,
|
|
330
330
|
root: t.target || l.$$.root
|
|
@@ -333,19 +333,19 @@ function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
333
333
|
let h = !1;
|
|
334
334
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
335
335
|
const y = b.length ? b[0] : f;
|
|
336
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
336
|
+
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;
|
|
337
337
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
338
338
|
if (t.hydrate) {
|
|
339
|
-
const m =
|
|
339
|
+
const m = Dt(t.target);
|
|
340
340
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
341
341
|
} else
|
|
342
342
|
u.fragment && u.fragment.c();
|
|
343
|
-
t.intro &&
|
|
343
|
+
t.intro && ot(e.$$.fragment), zt(e, t.target, t.anchor), H();
|
|
344
344
|
}
|
|
345
345
|
q(l);
|
|
346
346
|
}
|
|
347
|
-
let
|
|
348
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let ut;
|
|
348
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
349
349
|
/** The Svelte component constructor */
|
|
350
350
|
$$ctor;
|
|
351
351
|
/** Slots */
|
|
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
|
404
404
|
};
|
|
405
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
406
406
|
return;
|
|
407
|
-
const t = {}, r =
|
|
407
|
+
const t = {}, r = Gt(this);
|
|
408
408
|
for (const i of this.$$s)
|
|
409
409
|
i in r && (t[i] = [e(i)]);
|
|
410
410
|
for (const i of this.attributes) {
|
|
@@ -491,8 +491,8 @@ function se(e, t, r, n) {
|
|
|
491
491
|
return t;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
let a = class extends
|
|
494
|
+
function qt(e, t, r, n, i, s) {
|
|
495
|
+
let a = class extends ut {
|
|
496
496
|
constructor() {
|
|
497
497
|
super(e, r, i), this.$$p_d = t;
|
|
498
498
|
}
|
|
@@ -520,7 +520,7 @@ function Yt(e, t, r, n, i, s) {
|
|
|
520
520
|
}), e.element = /** @type {any} */
|
|
521
521
|
a, a;
|
|
522
522
|
}
|
|
523
|
-
class
|
|
523
|
+
class Jt {
|
|
524
524
|
/**
|
|
525
525
|
* ### PRIVATE API
|
|
526
526
|
*
|
|
@@ -539,7 +539,7 @@ class Kt {
|
|
|
539
539
|
$$set = void 0;
|
|
540
540
|
/** @returns {void} */
|
|
541
541
|
$destroy() {
|
|
542
|
-
|
|
542
|
+
Wt(this, 1), this.$destroy = N;
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -561,11 +561,11 @@ class Kt {
|
|
|
561
561
|
* @returns {void}
|
|
562
562
|
*/
|
|
563
563
|
$set(t) {
|
|
564
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
const
|
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
+
const Yt = "4";
|
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
|
|
569
569
|
/*! *****************************************************************************
|
|
570
570
|
Copyright (c) Microsoft Corporation.
|
|
571
571
|
|
|
@@ -607,7 +607,7 @@ var E = function() {
|
|
|
607
607
|
return t;
|
|
608
608
|
}, E.apply(this, arguments);
|
|
609
609
|
};
|
|
610
|
-
function
|
|
610
|
+
function Kt(e, t) {
|
|
611
611
|
var r = {};
|
|
612
612
|
for (var n in e)
|
|
613
613
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -616,7 +616,7 @@ function tr(e, t) {
|
|
|
616
616
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
617
617
|
return r;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function li(e) {
|
|
620
620
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
621
621
|
if (r)
|
|
622
622
|
return r.call(e);
|
|
@@ -628,7 +628,7 @@ function fi(e) {
|
|
|
628
628
|
};
|
|
629
629
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function fi(e, t) {
|
|
632
632
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
633
633
|
if (!r)
|
|
634
634
|
return e;
|
|
@@ -655,7 +655,7 @@ function ye(e, t, r) {
|
|
|
655
655
|
return e.concat(s || t);
|
|
656
656
|
}
|
|
657
657
|
const U = [];
|
|
658
|
-
function
|
|
658
|
+
function er(e, t) {
|
|
659
659
|
return {
|
|
660
660
|
subscribe: me(e, t).subscribe
|
|
661
661
|
};
|
|
@@ -664,7 +664,7 @@ function me(e, t = N) {
|
|
|
664
664
|
let r;
|
|
665
665
|
const n = /* @__PURE__ */ new Set();
|
|
666
666
|
function i(o) {
|
|
667
|
-
if (
|
|
667
|
+
if (rt(e, o) && (e = o, r)) {
|
|
668
668
|
const l = !U.length;
|
|
669
669
|
for (const u of n)
|
|
670
670
|
u[1](), U.push(u, e);
|
|
@@ -691,7 +691,7 @@ function z(e, t, r) {
|
|
|
691
691
|
if (!i.every(Boolean))
|
|
692
692
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
693
693
|
const s = t.length < 2;
|
|
694
|
-
return
|
|
694
|
+
return er(r, (a, o) => {
|
|
695
695
|
let l = !1;
|
|
696
696
|
const u = [];
|
|
697
697
|
let h = 0, m = N;
|
|
@@ -702,7 +702,7 @@ function z(e, t, r) {
|
|
|
702
702
|
const y = t(n ? u[0] : u, a, o);
|
|
703
703
|
s ? a(y) : m = le(y) ? y : N;
|
|
704
704
|
}, b = i.map(
|
|
705
|
-
(y, _) =>
|
|
705
|
+
(y, _) => nt(
|
|
706
706
|
y,
|
|
707
707
|
(T) => {
|
|
708
708
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -717,70 +717,70 @@ function z(e, t, r) {
|
|
|
717
717
|
};
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function tr(e) {
|
|
721
721
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
722
722
|
}
|
|
723
|
-
var
|
|
724
|
-
return
|
|
723
|
+
var rr = function(t) {
|
|
724
|
+
return nr(t) && !ir(t);
|
|
725
725
|
};
|
|
726
|
-
function
|
|
726
|
+
function nr(e) {
|
|
727
727
|
return !!e && typeof e == "object";
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function ir(e) {
|
|
730
730
|
var t = Object.prototype.toString.call(e);
|
|
731
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
731
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
function
|
|
735
|
-
return e.$$typeof ===
|
|
733
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
734
|
+
function or(e) {
|
|
735
|
+
return e.$$typeof === ar;
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function ur(e) {
|
|
738
738
|
return Array.isArray(e) ? [] : {};
|
|
739
739
|
}
|
|
740
740
|
function Y(e, t) {
|
|
741
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
741
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function hr(e, t, r) {
|
|
744
744
|
return e.concat(t).map(function(n) {
|
|
745
745
|
return Y(n, r);
|
|
746
746
|
});
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function lr(e, t) {
|
|
749
749
|
if (!t.customMerge)
|
|
750
750
|
return F;
|
|
751
751
|
var r = t.customMerge(e);
|
|
752
752
|
return typeof r == "function" ? r : F;
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function fr(e) {
|
|
755
755
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
756
756
|
return Object.propertyIsEnumerable.call(e, t);
|
|
757
757
|
}) : [];
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
return Object.keys(e).concat(
|
|
759
|
+
function Fe(e) {
|
|
760
|
+
return Object.keys(e).concat(fr(e));
|
|
761
761
|
}
|
|
762
|
-
function
|
|
762
|
+
function ht(e, t) {
|
|
763
763
|
try {
|
|
764
764
|
return t in e;
|
|
765
765
|
} catch {
|
|
766
766
|
return !1;
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
return
|
|
769
|
+
function cr(e, t) {
|
|
770
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function mr(e, t, r) {
|
|
773
773
|
var n = {};
|
|
774
|
-
return r.isMergeableObject(e) &&
|
|
774
|
+
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
775
775
|
n[i] = Y(e[i], r);
|
|
776
|
-
}),
|
|
777
|
-
|
|
776
|
+
}), Fe(t).forEach(function(i) {
|
|
777
|
+
cr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
778
778
|
}), n;
|
|
779
779
|
}
|
|
780
780
|
function F(e, t, r) {
|
|
781
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
781
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
782
782
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
783
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
783
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
784
784
|
}
|
|
785
785
|
F.all = function(t, r) {
|
|
786
786
|
if (!Array.isArray(t))
|
|
@@ -789,58 +789,56 @@ F.all = function(t, r) {
|
|
|
789
789
|
return F(n, i, r);
|
|
790
790
|
}, {});
|
|
791
791
|
};
|
|
792
|
-
var
|
|
793
|
-
const
|
|
792
|
+
var gr = F, dr = gr;
|
|
793
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
794
794
|
function Ee(e, t) {
|
|
795
|
-
var r = t && t.cache ? t.cache :
|
|
795
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : Er;
|
|
796
796
|
return i(e, {
|
|
797
797
|
cache: r,
|
|
798
798
|
serializer: n
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function pr(e) {
|
|
802
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
var i =
|
|
804
|
+
function yr(e, t, r, n) {
|
|
805
|
+
var i = pr(n) ? n : r(n), s = t.get(i);
|
|
806
806
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function lt(e, t, r) {
|
|
809
809
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
810
810
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function ft(e, t, r, n, i) {
|
|
813
813
|
return r.bind(t, e, n, i);
|
|
814
814
|
}
|
|
815
|
-
function
|
|
816
|
-
var r = e.length === 1 ?
|
|
817
|
-
return
|
|
818
|
-
}
|
|
819
|
-
function _r(e, t) {
|
|
820
|
-
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
815
|
+
function Er(e, t) {
|
|
816
|
+
var r = e.length === 1 ? yr : lt;
|
|
817
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
821
818
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
819
|
+
function vr(e, t) {
|
|
820
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
|
824
821
|
}
|
|
825
|
-
var
|
|
822
|
+
var _r = function() {
|
|
826
823
|
return JSON.stringify(arguments);
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
824
|
+
}, xr = (
|
|
825
|
+
/** @class */
|
|
826
|
+
function() {
|
|
827
|
+
function e() {
|
|
828
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
829
|
+
}
|
|
830
|
+
return e.prototype.get = function(t) {
|
|
831
|
+
return this.cache[t];
|
|
832
|
+
}, e.prototype.set = function(t, r) {
|
|
833
|
+
this.cache[t] = r;
|
|
834
|
+
}, e;
|
|
835
|
+
}()
|
|
836
|
+
), Hr = {
|
|
838
837
|
create: function() {
|
|
839
|
-
return new
|
|
838
|
+
return new xr();
|
|
840
839
|
}
|
|
841
840
|
}, ve = {
|
|
842
|
-
variadic:
|
|
843
|
-
monadic: xr
|
|
841
|
+
variadic: vr
|
|
844
842
|
}, d;
|
|
845
843
|
(function(e) {
|
|
846
844
|
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";
|
|
@@ -853,43 +851,43 @@ var j;
|
|
|
853
851
|
(function(e) {
|
|
854
852
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
855
853
|
})(j || (j = {}));
|
|
856
|
-
function
|
|
854
|
+
function je(e) {
|
|
857
855
|
return e.type === v.literal;
|
|
858
856
|
}
|
|
859
|
-
function
|
|
857
|
+
function Tr(e) {
|
|
860
858
|
return e.type === v.argument;
|
|
861
859
|
}
|
|
862
|
-
function
|
|
860
|
+
function ct(e) {
|
|
863
861
|
return e.type === v.number;
|
|
864
862
|
}
|
|
865
|
-
function
|
|
863
|
+
function mt(e) {
|
|
866
864
|
return e.type === v.date;
|
|
867
865
|
}
|
|
868
|
-
function
|
|
866
|
+
function gt(e) {
|
|
869
867
|
return e.type === v.time;
|
|
870
868
|
}
|
|
871
|
-
function
|
|
869
|
+
function dt(e) {
|
|
872
870
|
return e.type === v.select;
|
|
873
871
|
}
|
|
874
|
-
function
|
|
872
|
+
function bt(e) {
|
|
875
873
|
return e.type === v.plural;
|
|
876
874
|
}
|
|
877
|
-
function
|
|
875
|
+
function Sr(e) {
|
|
878
876
|
return e.type === v.pound;
|
|
879
877
|
}
|
|
880
|
-
function
|
|
878
|
+
function pt(e) {
|
|
881
879
|
return e.type === v.tag;
|
|
882
880
|
}
|
|
883
|
-
function
|
|
881
|
+
function yt(e) {
|
|
884
882
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
885
883
|
}
|
|
886
884
|
function we(e) {
|
|
887
885
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
888
886
|
}
|
|
889
|
-
var
|
|
890
|
-
function
|
|
887
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
|
|
888
|
+
function Ar(e) {
|
|
891
889
|
var t = {};
|
|
892
|
-
return e.replace(
|
|
890
|
+
return e.replace(Br, function(r) {
|
|
893
891
|
var n = r.length;
|
|
894
892
|
switch (r[0]) {
|
|
895
893
|
case "G":
|
|
@@ -978,11 +976,11 @@ function wr(e) {
|
|
|
978
976
|
return "";
|
|
979
977
|
}), t;
|
|
980
978
|
}
|
|
981
|
-
var
|
|
982
|
-
function
|
|
979
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
980
|
+
function Pr(e) {
|
|
983
981
|
if (e.length === 0)
|
|
984
982
|
throw new Error("Number skeleton cannot be empty");
|
|
985
|
-
for (var t = e.split(
|
|
983
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
986
984
|
return f.length > 0;
|
|
987
985
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
988
986
|
var s = i[n], a = s.split("/");
|
|
@@ -997,17 +995,17 @@ function Nr(e) {
|
|
|
997
995
|
}
|
|
998
996
|
return r;
|
|
999
997
|
}
|
|
1000
|
-
function
|
|
998
|
+
function Nr(e) {
|
|
1001
999
|
return e.replace(/^(.*?)-/, "");
|
|
1002
1000
|
}
|
|
1003
|
-
var
|
|
1004
|
-
function
|
|
1001
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
|
1002
|
+
function Ve(e) {
|
|
1005
1003
|
var t = {};
|
|
1006
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1004
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
|
1007
1005
|
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)), "";
|
|
1008
1006
|
}), t;
|
|
1009
1007
|
}
|
|
1010
|
-
function
|
|
1008
|
+
function xt(e) {
|
|
1011
1009
|
switch (e) {
|
|
1012
1010
|
case "sign-auto":
|
|
1013
1011
|
return {
|
|
@@ -1047,7 +1045,7 @@ function Tt(e) {
|
|
|
1047
1045
|
};
|
|
1048
1046
|
}
|
|
1049
1047
|
}
|
|
1050
|
-
function
|
|
1048
|
+
function Ir(e) {
|
|
1051
1049
|
var t;
|
|
1052
1050
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1053
1051
|
notation: "engineering"
|
|
@@ -1055,17 +1053,17 @@ function Lr(e) {
|
|
|
1055
1053
|
notation: "scientific"
|
|
1056
1054
|
}, e = e.slice(1)), t) {
|
|
1057
1055
|
var r = e.slice(0, 2);
|
|
1058
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1056
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
|
|
1059
1057
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1060
1058
|
t.minimumIntegerDigits = e.length;
|
|
1061
1059
|
}
|
|
1062
1060
|
return t;
|
|
1063
1061
|
}
|
|
1064
|
-
function
|
|
1065
|
-
var t = {}, r =
|
|
1062
|
+
function Xe(e) {
|
|
1063
|
+
var t = {}, r = xt(e);
|
|
1066
1064
|
return r || t;
|
|
1067
1065
|
}
|
|
1068
|
-
function
|
|
1066
|
+
function Lr(e) {
|
|
1069
1067
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1070
1068
|
var i = n[r];
|
|
1071
1069
|
switch (i.stem) {
|
|
@@ -1089,7 +1087,7 @@ function Cr(e) {
|
|
|
1089
1087
|
continue;
|
|
1090
1088
|
case "measure-unit":
|
|
1091
1089
|
case "unit":
|
|
1092
|
-
t.style = "unit", t.unit =
|
|
1090
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1093
1091
|
continue;
|
|
1094
1092
|
case "compact-short":
|
|
1095
1093
|
case "K":
|
|
@@ -1101,12 +1099,12 @@ function Cr(e) {
|
|
|
1101
1099
|
continue;
|
|
1102
1100
|
case "scientific":
|
|
1103
1101
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1104
|
-
return E(E({}, l),
|
|
1102
|
+
return E(E({}, l), Xe(u));
|
|
1105
1103
|
}, {}));
|
|
1106
1104
|
continue;
|
|
1107
1105
|
case "engineering":
|
|
1108
1106
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1109
|
-
return E(E({}, l),
|
|
1107
|
+
return E(E({}, l), Xe(u));
|
|
1110
1108
|
}, {}));
|
|
1111
1109
|
continue;
|
|
1112
1110
|
case "notation-simple":
|
|
@@ -1151,7 +1149,7 @@ function Cr(e) {
|
|
|
1151
1149
|
case "integer-width":
|
|
1152
1150
|
if (i.options.length > 1)
|
|
1153
1151
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1154
|
-
i.options[0].replace(
|
|
1152
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1155
1153
|
if (u)
|
|
1156
1154
|
t.minimumIntegerDigits = h.length;
|
|
1157
1155
|
else {
|
|
@@ -1164,27 +1162,27 @@ function Cr(e) {
|
|
|
1164
1162
|
});
|
|
1165
1163
|
continue;
|
|
1166
1164
|
}
|
|
1167
|
-
if (
|
|
1165
|
+
if (_t.test(i.stem)) {
|
|
1168
1166
|
t.minimumIntegerDigits = i.stem.length;
|
|
1169
1167
|
continue;
|
|
1170
1168
|
}
|
|
1171
|
-
if (
|
|
1169
|
+
if (ke.test(i.stem)) {
|
|
1172
1170
|
if (i.options.length > 1)
|
|
1173
1171
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1174
|
-
i.stem.replace(
|
|
1172
|
+
i.stem.replace(ke, function(l, u, h, m, f, b) {
|
|
1175
1173
|
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), "";
|
|
1176
1174
|
});
|
|
1177
1175
|
var s = i.options[0];
|
|
1178
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1176
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1179
1177
|
continue;
|
|
1180
1178
|
}
|
|
1181
|
-
if (
|
|
1182
|
-
t = E(E({}, t),
|
|
1179
|
+
if (vt.test(i.stem)) {
|
|
1180
|
+
t = E(E({}, t), Ve(i.stem));
|
|
1183
1181
|
continue;
|
|
1184
1182
|
}
|
|
1185
|
-
var a =
|
|
1183
|
+
var a = xt(i.stem);
|
|
1186
1184
|
a && (t = E(E({}, t), a));
|
|
1187
|
-
var o =
|
|
1185
|
+
var o = Ir(i.stem);
|
|
1188
1186
|
o && (t = E(E({}, t), o));
|
|
1189
1187
|
}
|
|
1190
1188
|
return t;
|
|
@@ -2604,13 +2602,13 @@ var ie = {
|
|
|
2604
2602
|
"h"
|
|
2605
2603
|
]
|
|
2606
2604
|
};
|
|
2607
|
-
function
|
|
2605
|
+
function Cr(e, t) {
|
|
2608
2606
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2609
2607
|
var i = e.charAt(n);
|
|
2610
2608
|
if (i === "j") {
|
|
2611
2609
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2612
2610
|
s++, n++;
|
|
2613
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2611
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2614
2612
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2615
2613
|
r += l;
|
|
2616
2614
|
for (; a-- > 0; )
|
|
@@ -2620,7 +2618,7 @@ function Mr(e, t) {
|
|
|
2620
2618
|
}
|
|
2621
2619
|
return r;
|
|
2622
2620
|
}
|
|
2623
|
-
function
|
|
2621
|
+
function Mr(e) {
|
|
2624
2622
|
var t = e.hourCycle;
|
|
2625
2623
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2626
2624
|
e.hourCycles && // @ts-ignore
|
|
@@ -2642,20 +2640,20 @@ function Rr(e) {
|
|
|
2642
2640
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2643
2641
|
return i[0];
|
|
2644
2642
|
}
|
|
2645
|
-
var _e,
|
|
2643
|
+
var _e, Rr = new RegExp("^".concat(Et.source, "*")), $r = new RegExp("".concat(Et.source, "*$"));
|
|
2646
2644
|
function p(e, t) {
|
|
2647
2645
|
return { start: e, end: t };
|
|
2648
2646
|
}
|
|
2649
|
-
var
|
|
2647
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
|
|
2650
2648
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2651
2649
|
}, Pe = !0;
|
|
2652
2650
|
try {
|
|
2653
|
-
var
|
|
2654
|
-
Pe = ((_e =
|
|
2651
|
+
var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
+
Pe = ((_e = zr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2655
2653
|
} catch {
|
|
2656
2654
|
Pe = !1;
|
|
2657
2655
|
}
|
|
2658
|
-
var
|
|
2656
|
+
var ze = Ur ? (
|
|
2659
2657
|
// Native
|
|
2660
2658
|
function(t, r, n) {
|
|
2661
2659
|
return t.startsWith(r, n);
|
|
@@ -2665,7 +2663,7 @@ var Ze = Dr ? (
|
|
|
2665
2663
|
function(t, r, n) {
|
|
2666
2664
|
return t.slice(n, n + r.length) === r;
|
|
2667
2665
|
}
|
|
2668
|
-
), Ne =
|
|
2666
|
+
), Ne = Dr ? String.fromCodePoint : (
|
|
2669
2667
|
// IE11
|
|
2670
2668
|
function() {
|
|
2671
2669
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2677,9 +2675,9 @@ var Ze = Dr ? (
|
|
|
2677
2675
|
}
|
|
2678
2676
|
return n;
|
|
2679
2677
|
}
|
|
2680
|
-
),
|
|
2678
|
+
), We = (
|
|
2681
2679
|
// native
|
|
2682
|
-
|
|
2680
|
+
Gr ? Object.fromEntries : (
|
|
2683
2681
|
// Ponyfill
|
|
2684
2682
|
function(t) {
|
|
2685
2683
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2689,7 +2687,7 @@ var Ze = Dr ? (
|
|
|
2689
2687
|
return r;
|
|
2690
2688
|
}
|
|
2691
2689
|
)
|
|
2692
|
-
),
|
|
2690
|
+
), Ht = Fr ? (
|
|
2693
2691
|
// Native
|
|
2694
2692
|
function(t, r) {
|
|
2695
2693
|
return t.codePointAt(r);
|
|
@@ -2703,7 +2701,7 @@ var Ze = Dr ? (
|
|
|
2703
2701
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2704
2702
|
}
|
|
2705
2703
|
}
|
|
2706
|
-
),
|
|
2704
|
+
), Wr = jr ? (
|
|
2707
2705
|
// Native
|
|
2708
2706
|
function(t) {
|
|
2709
2707
|
return t.trimStart();
|
|
@@ -2711,9 +2709,9 @@ var Ze = Dr ? (
|
|
|
2711
2709
|
) : (
|
|
2712
2710
|
// Ponyfill
|
|
2713
2711
|
function(t) {
|
|
2714
|
-
return t.replace(
|
|
2712
|
+
return t.replace(Rr, "");
|
|
2715
2713
|
}
|
|
2716
|
-
),
|
|
2714
|
+
), Zr = kr ? (
|
|
2717
2715
|
// Native
|
|
2718
2716
|
function(t) {
|
|
2719
2717
|
return t.trimEnd();
|
|
@@ -2721,32 +2719,32 @@ var Ze = Dr ? (
|
|
|
2721
2719
|
) : (
|
|
2722
2720
|
// Ponyfill
|
|
2723
2721
|
function(t) {
|
|
2724
|
-
return t.replace(
|
|
2722
|
+
return t.replace($r, "");
|
|
2725
2723
|
}
|
|
2726
2724
|
);
|
|
2727
|
-
function
|
|
2725
|
+
function Tt(e, t) {
|
|
2728
2726
|
return new RegExp(e, t);
|
|
2729
2727
|
}
|
|
2730
2728
|
var Oe;
|
|
2731
2729
|
if (Pe) {
|
|
2732
|
-
var
|
|
2730
|
+
var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2733
2731
|
Oe = function(t, r) {
|
|
2734
2732
|
var n;
|
|
2735
|
-
|
|
2736
|
-
var i =
|
|
2733
|
+
Ze.lastIndex = r;
|
|
2734
|
+
var i = Ze.exec(t);
|
|
2737
2735
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2738
2736
|
};
|
|
2739
2737
|
} else
|
|
2740
2738
|
Oe = function(t, r) {
|
|
2741
2739
|
for (var n = []; ; ) {
|
|
2742
|
-
var i =
|
|
2743
|
-
if (i === void 0 ||
|
|
2740
|
+
var i = Ht(t, r);
|
|
2741
|
+
if (i === void 0 || St(i) || Yr(i))
|
|
2744
2742
|
break;
|
|
2745
2743
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2746
2744
|
}
|
|
2747
2745
|
return Ne.apply(void 0, n);
|
|
2748
2746
|
};
|
|
2749
|
-
var
|
|
2747
|
+
var Qr = (
|
|
2750
2748
|
/** @class */
|
|
2751
2749
|
function() {
|
|
2752
2750
|
function e(t, r) {
|
|
@@ -2828,7 +2826,7 @@ var qr = (
|
|
|
2828
2826
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2829
2827
|
}, e.prototype.parseTagName = function() {
|
|
2830
2828
|
var t = this.offset();
|
|
2831
|
-
for (this.bump(); !this.isEOF() &&
|
|
2829
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2832
2830
|
this.bump();
|
|
2833
2831
|
return this.message.slice(t, this.offset());
|
|
2834
2832
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2857,7 +2855,7 @@ var qr = (
|
|
|
2857
2855
|
};
|
|
2858
2856
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2859
2857
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2860
|
-
!
|
|
2858
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2861
2859
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2862
2860
|
if (this.isEOF() || this.char() !== 39)
|
|
2863
2861
|
return null;
|
|
@@ -2944,7 +2942,7 @@ var qr = (
|
|
|
2944
2942
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2945
2943
|
if (m.err)
|
|
2946
2944
|
return m;
|
|
2947
|
-
var f =
|
|
2945
|
+
var f = Zr(m.val);
|
|
2948
2946
|
if (f.length === 0)
|
|
2949
2947
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2950
2948
|
var b = p(h, this.clonePosition());
|
|
@@ -2954,8 +2952,8 @@ var qr = (
|
|
|
2954
2952
|
if (y.err)
|
|
2955
2953
|
return y;
|
|
2956
2954
|
var _ = p(i, this.clonePosition());
|
|
2957
|
-
if (u &&
|
|
2958
|
-
var T =
|
|
2955
|
+
if (u && ze(u?.style, "::", 0)) {
|
|
2956
|
+
var T = Wr(u.style.slice(2));
|
|
2959
2957
|
if (o === "number") {
|
|
2960
2958
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2961
2959
|
return m.err ? m : {
|
|
@@ -2966,12 +2964,12 @@ var qr = (
|
|
|
2966
2964
|
if (T.length === 0)
|
|
2967
2965
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2968
2966
|
var w = T;
|
|
2969
|
-
this.locale && (w =
|
|
2967
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2970
2968
|
var f = {
|
|
2971
2969
|
type: j.dateTime,
|
|
2972
2970
|
pattern: w,
|
|
2973
2971
|
location: u.styleLocation,
|
|
2974
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2972
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2975
2973
|
}, A = o === "date" ? v.date : v.time;
|
|
2976
2974
|
return {
|
|
2977
2975
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3017,7 +3015,7 @@ var qr = (
|
|
|
3017
3015
|
val: {
|
|
3018
3016
|
type: v.select,
|
|
3019
3017
|
value: n,
|
|
3020
|
-
options:
|
|
3018
|
+
options: We(O.val),
|
|
3021
3019
|
location: c
|
|
3022
3020
|
},
|
|
3023
3021
|
err: null
|
|
@@ -3025,7 +3023,7 @@ var qr = (
|
|
|
3025
3023
|
val: {
|
|
3026
3024
|
type: v.plural,
|
|
3027
3025
|
value: n,
|
|
3028
|
-
options:
|
|
3026
|
+
options: We(O.val),
|
|
3029
3027
|
offset: x,
|
|
3030
3028
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3031
3029
|
location: c
|
|
@@ -3076,7 +3074,7 @@ var qr = (
|
|
|
3076
3074
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3077
3075
|
var n = [];
|
|
3078
3076
|
try {
|
|
3079
|
-
n =
|
|
3077
|
+
n = Pr(t);
|
|
3080
3078
|
} catch {
|
|
3081
3079
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3082
3080
|
}
|
|
@@ -3085,7 +3083,7 @@ var qr = (
|
|
|
3085
3083
|
type: j.number,
|
|
3086
3084
|
tokens: n,
|
|
3087
3085
|
location: r,
|
|
3088
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3086
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3089
3087
|
},
|
|
3090
3088
|
err: null
|
|
3091
3089
|
};
|
|
@@ -3133,7 +3131,7 @@ var qr = (
|
|
|
3133
3131
|
break;
|
|
3134
3132
|
}
|
|
3135
3133
|
var l = p(i, this.clonePosition());
|
|
3136
|
-
return s ? (a *= n,
|
|
3134
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3137
3135
|
}, e.prototype.offset = function() {
|
|
3138
3136
|
return this.position.offset;
|
|
3139
3137
|
}, e.prototype.isEOF = function() {
|
|
@@ -3148,7 +3146,7 @@ var qr = (
|
|
|
3148
3146
|
var t = this.position.offset;
|
|
3149
3147
|
if (t >= this.message.length)
|
|
3150
3148
|
throw Error("out of bound");
|
|
3151
|
-
var r =
|
|
3149
|
+
var r = Ht(this.message, t);
|
|
3152
3150
|
if (r === void 0)
|
|
3153
3151
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3154
3152
|
return r;
|
|
@@ -3167,7 +3165,7 @@ var qr = (
|
|
|
3167
3165
|
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);
|
|
3168
3166
|
}
|
|
3169
3167
|
}, e.prototype.bumpIf = function(t) {
|
|
3170
|
-
if (
|
|
3168
|
+
if (ze(this.message, t, this.offset())) {
|
|
3171
3169
|
for (var r = 0; r < t.length; r++)
|
|
3172
3170
|
this.bump();
|
|
3173
3171
|
return !0;
|
|
@@ -3189,7 +3187,7 @@ var qr = (
|
|
|
3189
3187
|
break;
|
|
3190
3188
|
}
|
|
3191
3189
|
}, e.prototype.bumpSpace = function() {
|
|
3192
|
-
for (; !this.isEOF() &&
|
|
3190
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3193
3191
|
this.bump();
|
|
3194
3192
|
}, e.prototype.peek = function() {
|
|
3195
3193
|
if (this.isEOF())
|
|
@@ -3202,30 +3200,30 @@ var qr = (
|
|
|
3202
3200
|
function Ie(e) {
|
|
3203
3201
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3204
3202
|
}
|
|
3205
|
-
function
|
|
3203
|
+
function qr(e) {
|
|
3206
3204
|
return Ie(e) || e === 47;
|
|
3207
3205
|
}
|
|
3208
|
-
function
|
|
3206
|
+
function Jr(e) {
|
|
3209
3207
|
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;
|
|
3210
3208
|
}
|
|
3211
|
-
function
|
|
3209
|
+
function St(e) {
|
|
3212
3210
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3213
3211
|
}
|
|
3214
|
-
function
|
|
3212
|
+
function Yr(e) {
|
|
3215
3213
|
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;
|
|
3216
3214
|
}
|
|
3217
3215
|
function Le(e) {
|
|
3218
3216
|
e.forEach(function(t) {
|
|
3219
|
-
if (delete t.location,
|
|
3217
|
+
if (delete t.location, dt(t) || bt(t))
|
|
3220
3218
|
for (var r in t.options)
|
|
3221
3219
|
delete t.options[r].location, Le(t.options[r].value);
|
|
3222
3220
|
else
|
|
3223
|
-
|
|
3221
|
+
ct(t) && yt(t.style) || (mt(t) || gt(t)) && we(t.style) ? delete t.style.location : pt(t) && Le(t.children);
|
|
3224
3222
|
});
|
|
3225
3223
|
}
|
|
3226
|
-
function
|
|
3224
|
+
function Kr(e, t) {
|
|
3227
3225
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3228
|
-
var r = new
|
|
3226
|
+
var r = new Qr(e, t).parse();
|
|
3229
3227
|
if (r.err) {
|
|
3230
3228
|
var n = SyntaxError(d[r.err.kind]);
|
|
3231
3229
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3248,7 +3246,7 @@ var ge = (
|
|
|
3248
3246
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3249
3247
|
}, t;
|
|
3250
3248
|
}(Error)
|
|
3251
|
-
),
|
|
3249
|
+
), Qe = (
|
|
3252
3250
|
/** @class */
|
|
3253
3251
|
function(e) {
|
|
3254
3252
|
ce(t, e);
|
|
@@ -3257,7 +3255,7 @@ var ge = (
|
|
|
3257
3255
|
}
|
|
3258
3256
|
return t;
|
|
3259
3257
|
}(ge)
|
|
3260
|
-
),
|
|
3258
|
+
), en = (
|
|
3261
3259
|
/** @class */
|
|
3262
3260
|
function(e) {
|
|
3263
3261
|
ce(t, e);
|
|
@@ -3266,7 +3264,7 @@ var ge = (
|
|
|
3266
3264
|
}
|
|
3267
3265
|
return t;
|
|
3268
3266
|
}(ge)
|
|
3269
|
-
),
|
|
3267
|
+
), tn = (
|
|
3270
3268
|
/** @class */
|
|
3271
3269
|
function(e) {
|
|
3272
3270
|
ce(t, e);
|
|
@@ -3279,17 +3277,17 @@ var ge = (
|
|
|
3279
3277
|
(function(e) {
|
|
3280
3278
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3281
3279
|
})(B || (B = {}));
|
|
3282
|
-
function
|
|
3280
|
+
function rn(e) {
|
|
3283
3281
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3284
3282
|
var n = t[t.length - 1];
|
|
3285
3283
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3286
3284
|
}, []);
|
|
3287
3285
|
}
|
|
3288
|
-
function
|
|
3286
|
+
function nn(e) {
|
|
3289
3287
|
return typeof e == "function";
|
|
3290
3288
|
}
|
|
3291
3289
|
function ae(e, t, r, n, i, s, a) {
|
|
3292
|
-
if (e.length === 1 &&
|
|
3290
|
+
if (e.length === 1 && je(e[0]))
|
|
3293
3291
|
return [
|
|
3294
3292
|
{
|
|
3295
3293
|
type: B.literal,
|
|
@@ -3298,14 +3296,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3298
3296
|
];
|
|
3299
3297
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3300
3298
|
var h = u[l];
|
|
3301
|
-
if (
|
|
3299
|
+
if (je(h)) {
|
|
3302
3300
|
o.push({
|
|
3303
3301
|
type: B.literal,
|
|
3304
3302
|
value: h.value
|
|
3305
3303
|
});
|
|
3306
3304
|
continue;
|
|
3307
3305
|
}
|
|
3308
|
-
if (
|
|
3306
|
+
if (Sr(h)) {
|
|
3309
3307
|
typeof s == "number" && o.push({
|
|
3310
3308
|
type: B.literal,
|
|
3311
3309
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3314,16 +3312,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3314
3312
|
}
|
|
3315
3313
|
var m = h.value;
|
|
3316
3314
|
if (!(i && m in i))
|
|
3317
|
-
throw new
|
|
3315
|
+
throw new tn(m, a);
|
|
3318
3316
|
var f = i[m];
|
|
3319
|
-
if (
|
|
3317
|
+
if (Tr(h)) {
|
|
3320
3318
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3321
3319
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3322
3320
|
value: f
|
|
3323
3321
|
});
|
|
3324
3322
|
continue;
|
|
3325
3323
|
}
|
|
3326
|
-
if (
|
|
3324
|
+
if (mt(h)) {
|
|
3327
3325
|
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3328
3326
|
o.push({
|
|
3329
3327
|
type: B.literal,
|
|
@@ -3331,7 +3329,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3331
3329
|
});
|
|
3332
3330
|
continue;
|
|
3333
3331
|
}
|
|
3334
|
-
if (
|
|
3332
|
+
if (gt(h)) {
|
|
3335
3333
|
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3336
3334
|
o.push({
|
|
3337
3335
|
type: B.literal,
|
|
@@ -3339,18 +3337,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3339
3337
|
});
|
|
3340
3338
|
continue;
|
|
3341
3339
|
}
|
|
3342
|
-
if (
|
|
3343
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3340
|
+
if (ct(h)) {
|
|
3341
|
+
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3344
3342
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3345
3343
|
type: B.literal,
|
|
3346
3344
|
value: r.getNumberFormat(t, b).format(f)
|
|
3347
3345
|
});
|
|
3348
3346
|
continue;
|
|
3349
3347
|
}
|
|
3350
|
-
if (
|
|
3348
|
+
if (pt(h)) {
|
|
3351
3349
|
var y = h.children, _ = h.value, T = i[_];
|
|
3352
|
-
if (!
|
|
3353
|
-
throw new
|
|
3350
|
+
if (!nn(T))
|
|
3351
|
+
throw new en(_, "function", a);
|
|
3354
3352
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3355
3353
|
return x.value;
|
|
3356
3354
|
}));
|
|
@@ -3361,14 +3359,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3361
3359
|
};
|
|
3362
3360
|
}));
|
|
3363
3361
|
}
|
|
3364
|
-
if (
|
|
3362
|
+
if (dt(h)) {
|
|
3365
3363
|
var S = h.options[f] || h.options.other;
|
|
3366
3364
|
if (!S)
|
|
3367
|
-
throw new
|
|
3365
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3368
3366
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3369
3367
|
continue;
|
|
3370
3368
|
}
|
|
3371
|
-
if (
|
|
3369
|
+
if (bt(h)) {
|
|
3372
3370
|
var S = h.options["=".concat(f)];
|
|
3373
3371
|
if (!S) {
|
|
3374
3372
|
if (!Intl.PluralRules)
|
|
@@ -3379,21 +3377,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3379
3377
|
S = h.options[P] || h.options.other;
|
|
3380
3378
|
}
|
|
3381
3379
|
if (!S)
|
|
3382
|
-
throw new
|
|
3380
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3383
3381
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3384
3382
|
continue;
|
|
3385
3383
|
}
|
|
3386
3384
|
}
|
|
3387
|
-
return
|
|
3385
|
+
return rn(o);
|
|
3388
3386
|
}
|
|
3389
|
-
function
|
|
3387
|
+
function sn(e, t) {
|
|
3390
3388
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3391
3389
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3392
3390
|
}, {})) : e;
|
|
3393
3391
|
}
|
|
3394
|
-
function
|
|
3392
|
+
function an(e, t) {
|
|
3395
3393
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3396
|
-
return r[n] =
|
|
3394
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3397
3395
|
}, E({}, e)) : e;
|
|
3398
3396
|
}
|
|
3399
3397
|
function xe(e) {
|
|
@@ -3410,7 +3408,7 @@ function xe(e) {
|
|
|
3410
3408
|
}
|
|
3411
3409
|
};
|
|
3412
3410
|
}
|
|
3413
|
-
function
|
|
3411
|
+
function on(e) {
|
|
3414
3412
|
return e === void 0 && (e = {
|
|
3415
3413
|
number: {},
|
|
3416
3414
|
dateTime: {},
|
|
@@ -3442,7 +3440,7 @@ function un(e) {
|
|
|
3442
3440
|
})
|
|
3443
3441
|
};
|
|
3444
3442
|
}
|
|
3445
|
-
var
|
|
3443
|
+
var un = (
|
|
3446
3444
|
/** @class */
|
|
3447
3445
|
function() {
|
|
3448
3446
|
function e(t, r, n, i) {
|
|
@@ -3474,13 +3472,13 @@ var hn = (
|
|
|
3474
3472
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3475
3473
|
var a = i || {};
|
|
3476
3474
|
a.formatters;
|
|
3477
|
-
var o =
|
|
3475
|
+
var o = Kt(a, ["formatters"]);
|
|
3478
3476
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3479
3477
|
} else
|
|
3480
3478
|
this.ast = t;
|
|
3481
3479
|
if (!Array.isArray(this.ast))
|
|
3482
3480
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3483
|
-
this.formats =
|
|
3481
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3484
3482
|
}
|
|
3485
3483
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3486
3484
|
get: function() {
|
|
@@ -3493,7 +3491,7 @@ var hn = (
|
|
|
3493
3491
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3494
3492
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3495
3493
|
}
|
|
3496
|
-
}, e.__parse =
|
|
3494
|
+
}, e.__parse = Kr, e.formats = {
|
|
3497
3495
|
number: {
|
|
3498
3496
|
integer: {
|
|
3499
3497
|
maximumFractionDigits: 0
|
|
@@ -3554,7 +3552,7 @@ var hn = (
|
|
|
3554
3552
|
}, e;
|
|
3555
3553
|
}()
|
|
3556
3554
|
);
|
|
3557
|
-
function
|
|
3555
|
+
function hn(e, t) {
|
|
3558
3556
|
if (t == null)
|
|
3559
3557
|
return;
|
|
3560
3558
|
if (t in e)
|
|
@@ -3575,60 +3573,60 @@ function ln(e, t) {
|
|
|
3575
3573
|
n = void 0;
|
|
3576
3574
|
return n;
|
|
3577
3575
|
}
|
|
3578
|
-
const C = {},
|
|
3576
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
|
|
3579
3577
|
if (t == null)
|
|
3580
3578
|
return;
|
|
3581
3579
|
if (t in C && e in C[t])
|
|
3582
3580
|
return C[t][e];
|
|
3583
3581
|
const r = de(t);
|
|
3584
3582
|
for (let n = 0; n < r.length; n++) {
|
|
3585
|
-
const i = r[n], s =
|
|
3583
|
+
const i = r[n], s = cn(i, e);
|
|
3586
3584
|
if (s)
|
|
3587
|
-
return
|
|
3585
|
+
return ln(e, t, s);
|
|
3588
3586
|
}
|
|
3589
3587
|
};
|
|
3590
|
-
let
|
|
3588
|
+
let $e;
|
|
3591
3589
|
const W = me({});
|
|
3592
|
-
function
|
|
3593
|
-
return
|
|
3590
|
+
function fn(e) {
|
|
3591
|
+
return $e[e] || null;
|
|
3594
3592
|
}
|
|
3595
|
-
function
|
|
3596
|
-
return e in
|
|
3593
|
+
function At(e) {
|
|
3594
|
+
return e in $e;
|
|
3597
3595
|
}
|
|
3598
|
-
function
|
|
3599
|
-
if (!
|
|
3596
|
+
function cn(e, t) {
|
|
3597
|
+
if (!At(e))
|
|
3600
3598
|
return null;
|
|
3601
|
-
const r =
|
|
3602
|
-
return
|
|
3599
|
+
const r = fn(e);
|
|
3600
|
+
return hn(r, t);
|
|
3603
3601
|
}
|
|
3604
|
-
function
|
|
3602
|
+
function mn(e) {
|
|
3605
3603
|
if (e == null)
|
|
3606
3604
|
return;
|
|
3607
3605
|
const t = de(e);
|
|
3608
3606
|
for (let r = 0; r < t.length; r++) {
|
|
3609
3607
|
const n = t[r];
|
|
3610
|
-
if (
|
|
3608
|
+
if (At(n))
|
|
3611
3609
|
return n;
|
|
3612
3610
|
}
|
|
3613
3611
|
}
|
|
3614
|
-
function
|
|
3615
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3612
|
+
function gn(e, ...t) {
|
|
3613
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3616
3614
|
}
|
|
3617
3615
|
z(
|
|
3618
3616
|
[W],
|
|
3619
3617
|
([e]) => Object.keys(e)
|
|
3620
3618
|
);
|
|
3621
|
-
W.subscribe((e) =>
|
|
3619
|
+
W.subscribe((e) => $e = e);
|
|
3622
3620
|
const oe = {};
|
|
3623
|
-
function
|
|
3621
|
+
function dn(e, t) {
|
|
3624
3622
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3625
3623
|
}
|
|
3626
|
-
function
|
|
3624
|
+
function wt(e) {
|
|
3627
3625
|
return oe[e];
|
|
3628
3626
|
}
|
|
3629
|
-
function
|
|
3627
|
+
function bn(e) {
|
|
3630
3628
|
return de(e).map((t) => {
|
|
3631
|
-
const r =
|
|
3629
|
+
const r = wt(t);
|
|
3632
3630
|
return [t, r ? [...r] : []];
|
|
3633
3631
|
}).filter(([, t]) => t.length > 0);
|
|
3634
3632
|
}
|
|
@@ -3636,31 +3634,31 @@ function Ce(e) {
|
|
|
3636
3634
|
return e == null ? !1 : de(e).some(
|
|
3637
3635
|
(t) => {
|
|
3638
3636
|
var r;
|
|
3639
|
-
return (r =
|
|
3637
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
|
3640
3638
|
}
|
|
3641
3639
|
);
|
|
3642
3640
|
}
|
|
3643
|
-
function
|
|
3641
|
+
function pn(e, t) {
|
|
3644
3642
|
return Promise.all(
|
|
3645
|
-
t.map((n) => (
|
|
3646
|
-
).then((n) =>
|
|
3643
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3644
|
+
).then((n) => gn(e, ...n));
|
|
3647
3645
|
}
|
|
3648
3646
|
const Q = {};
|
|
3649
|
-
function
|
|
3647
|
+
function Pt(e) {
|
|
3650
3648
|
if (!Ce(e))
|
|
3651
3649
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3652
|
-
const t =
|
|
3650
|
+
const t = bn(e);
|
|
3653
3651
|
return Q[e] = Promise.all(
|
|
3654
3652
|
t.map(
|
|
3655
|
-
([r, n]) =>
|
|
3653
|
+
([r, n]) => pn(r, n)
|
|
3656
3654
|
)
|
|
3657
3655
|
).then(() => {
|
|
3658
3656
|
if (Ce(e))
|
|
3659
|
-
return
|
|
3657
|
+
return Pt(e);
|
|
3660
3658
|
delete Q[e];
|
|
3661
3659
|
}), Q[e];
|
|
3662
3660
|
}
|
|
3663
|
-
const
|
|
3661
|
+
const yn = {
|
|
3664
3662
|
number: {
|
|
3665
3663
|
scientific: { notation: "scientific" },
|
|
3666
3664
|
engineering: { notation: "engineering" },
|
|
@@ -3689,34 +3687,34 @@ const En = {
|
|
|
3689
3687
|
timeZoneName: "short"
|
|
3690
3688
|
}
|
|
3691
3689
|
}
|
|
3692
|
-
},
|
|
3690
|
+
}, En = {
|
|
3693
3691
|
fallbackLocale: null,
|
|
3694
3692
|
loadingDelay: 200,
|
|
3695
|
-
formats:
|
|
3693
|
+
formats: yn,
|
|
3696
3694
|
warnOnMissingMessages: !0,
|
|
3697
3695
|
handleMissingMessage: void 0,
|
|
3698
3696
|
ignoreTag: !0
|
|
3699
|
-
},
|
|
3697
|
+
}, vn = En;
|
|
3700
3698
|
function V() {
|
|
3701
|
-
return
|
|
3699
|
+
return vn;
|
|
3702
3700
|
}
|
|
3703
3701
|
const He = me(!1);
|
|
3704
|
-
var
|
|
3702
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3705
3703
|
for (var r in t || (t = {}))
|
|
3706
|
-
|
|
3707
|
-
if (
|
|
3708
|
-
for (var r of
|
|
3709
|
-
|
|
3704
|
+
Tn.call(t, r) && Je(e, r, t[r]);
|
|
3705
|
+
if (qe)
|
|
3706
|
+
for (var r of qe(t))
|
|
3707
|
+
Sn.call(t, r) && Je(e, r, t[r]);
|
|
3710
3708
|
return e;
|
|
3711
|
-
},
|
|
3709
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3712
3710
|
let Me;
|
|
3713
3711
|
const ue = me(null);
|
|
3714
|
-
function
|
|
3712
|
+
function Ye(e) {
|
|
3715
3713
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3716
3714
|
}
|
|
3717
3715
|
function de(e, t = V().fallbackLocale) {
|
|
3718
|
-
const r =
|
|
3719
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3716
|
+
const r = Ye(e);
|
|
3717
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
|
3720
3718
|
}
|
|
3721
3719
|
function R() {
|
|
3722
3720
|
return Me ?? void 0;
|
|
@@ -3724,22 +3722,22 @@ function R() {
|
|
|
3724
3722
|
ue.subscribe((e) => {
|
|
3725
3723
|
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3726
3724
|
});
|
|
3727
|
-
const
|
|
3728
|
-
if (e &&
|
|
3725
|
+
const wn = (e) => {
|
|
3726
|
+
if (e && mn(e) && Ce(e)) {
|
|
3729
3727
|
const { loadingDelay: t } = V();
|
|
3730
3728
|
let r;
|
|
3731
3729
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3732
3730
|
() => He.set(!0),
|
|
3733
3731
|
t
|
|
3734
|
-
) : He.set(!0),
|
|
3732
|
+
) : He.set(!0), Pt(e).then(() => {
|
|
3735
3733
|
ue.set(e);
|
|
3736
3734
|
}).finally(() => {
|
|
3737
3735
|
clearTimeout(r), He.set(!1);
|
|
3738
3736
|
});
|
|
3739
3737
|
}
|
|
3740
3738
|
return ue.set(e);
|
|
3741
|
-
}, M =
|
|
3742
|
-
set:
|
|
3739
|
+
}, M = An(Bn({}, ue), {
|
|
3740
|
+
set: wn
|
|
3743
3741
|
}), be = (e) => {
|
|
3744
3742
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3745
3743
|
return (n) => {
|
|
@@ -3747,20 +3745,20 @@ const Pn = (e) => {
|
|
|
3747
3745
|
return i in t ? t[i] : t[i] = e(n);
|
|
3748
3746
|
};
|
|
3749
3747
|
};
|
|
3750
|
-
var
|
|
3748
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
|
3751
3749
|
for (var r in t || (t = {}))
|
|
3752
|
-
|
|
3750
|
+
Nt.call(t, r) && Ke(e, r, t[r]);
|
|
3753
3751
|
if (he)
|
|
3754
3752
|
for (var r of he(t))
|
|
3755
|
-
|
|
3753
|
+
Ot.call(t, r) && Ke(e, r, t[r]);
|
|
3756
3754
|
return e;
|
|
3757
3755
|
}, Z = (e, t) => {
|
|
3758
3756
|
var r = {};
|
|
3759
3757
|
for (var n in e)
|
|
3760
|
-
|
|
3758
|
+
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3761
3759
|
if (e != null && he)
|
|
3762
3760
|
for (var n of he(e))
|
|
3763
|
-
t.indexOf(n) < 0 &&
|
|
3761
|
+
t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
|
|
3764
3762
|
return r;
|
|
3765
3763
|
};
|
|
3766
3764
|
const K = (e, t) => {
|
|
@@ -3768,21 +3766,21 @@ const K = (e, t) => {
|
|
|
3768
3766
|
if (e in r && t in r[e])
|
|
3769
3767
|
return r[e][t];
|
|
3770
3768
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3771
|
-
},
|
|
3769
|
+
}, Nn = be(
|
|
3772
3770
|
(e) => {
|
|
3773
3771
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3774
3772
|
if (r == null)
|
|
3775
3773
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3776
3774
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3777
3775
|
}
|
|
3778
|
-
),
|
|
3776
|
+
), On = be(
|
|
3779
3777
|
(e) => {
|
|
3780
3778
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3781
3779
|
if (r == null)
|
|
3782
3780
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3783
3781
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3784
3782
|
}
|
|
3785
|
-
),
|
|
3783
|
+
), In = be(
|
|
3786
3784
|
(e) => {
|
|
3787
3785
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3788
3786
|
if (r == null)
|
|
@@ -3791,33 +3789,33 @@ const K = (e, t) => {
|
|
|
3791
3789
|
);
|
|
3792
3790
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3793
3791
|
}
|
|
3794
|
-
),
|
|
3792
|
+
), Ln = (e = {}) => {
|
|
3795
3793
|
var t = e, {
|
|
3796
3794
|
locale: r = R()
|
|
3797
3795
|
} = t, n = Z(t, [
|
|
3798
3796
|
"locale"
|
|
3799
3797
|
]);
|
|
3800
|
-
return
|
|
3801
|
-
},
|
|
3798
|
+
return Nn(Ue({ locale: r }, n));
|
|
3799
|
+
}, Cn = (e = {}) => {
|
|
3802
3800
|
var t = e, {
|
|
3803
3801
|
locale: r = R()
|
|
3804
3802
|
} = t, n = Z(t, [
|
|
3805
3803
|
"locale"
|
|
3806
3804
|
]);
|
|
3807
|
-
return
|
|
3808
|
-
},
|
|
3805
|
+
return On(Ue({ locale: r }, n));
|
|
3806
|
+
}, Mn = (e = {}) => {
|
|
3809
3807
|
var t = e, {
|
|
3810
3808
|
locale: r = R()
|
|
3811
3809
|
} = t, n = Z(t, [
|
|
3812
3810
|
"locale"
|
|
3813
3811
|
]);
|
|
3814
|
-
return
|
|
3815
|
-
},
|
|
3812
|
+
return In(Ue({ locale: r }, n));
|
|
3813
|
+
}, Rn = be(
|
|
3816
3814
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3817
|
-
(e, t = R()) => new
|
|
3815
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3818
3816
|
ignoreTag: V().ignoreTag
|
|
3819
3817
|
})
|
|
3820
|
-
),
|
|
3818
|
+
), $n = (e, t = {}) => {
|
|
3821
3819
|
var r, n, i, s;
|
|
3822
3820
|
let a = t;
|
|
3823
3821
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3830,7 +3828,7 @@ const K = (e, t) => {
|
|
|
3830
3828
|
throw new Error(
|
|
3831
3829
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3832
3830
|
);
|
|
3833
|
-
let h =
|
|
3831
|
+
let h = Bt(e, l);
|
|
3834
3832
|
if (!h)
|
|
3835
3833
|
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;
|
|
3836
3834
|
else if (typeof h != "string")
|
|
@@ -3841,7 +3839,7 @@ const K = (e, t) => {
|
|
|
3841
3839
|
return h;
|
|
3842
3840
|
let m = h;
|
|
3843
3841
|
try {
|
|
3844
|
-
m =
|
|
3842
|
+
m = Rn(h, l).format(o);
|
|
3845
3843
|
} catch (f) {
|
|
3846
3844
|
f instanceof Error && console.warn(
|
|
3847
3845
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3849,18 +3847,18 @@ const K = (e, t) => {
|
|
|
3849
3847
|
);
|
|
3850
3848
|
}
|
|
3851
3849
|
return m;
|
|
3852
|
-
},
|
|
3850
|
+
}, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => Bt(e, t), ci = z([M, W], () => $n);
|
|
3851
|
+
z([M], () => Un);
|
|
3853
3852
|
z([M], () => Dn);
|
|
3854
3853
|
z([M], () => Gn);
|
|
3855
|
-
z([M], () => Fn);
|
|
3856
|
-
|
|
3857
|
-
function kn(e, t) {
|
|
3854
|
+
z([M, W], () => Fn);
|
|
3855
|
+
function jn(e, t) {
|
|
3858
3856
|
if (e) {
|
|
3859
3857
|
const r = document.createElement("style");
|
|
3860
3858
|
r.innerHTML = t, e.appendChild(r);
|
|
3861
3859
|
}
|
|
3862
3860
|
}
|
|
3863
|
-
function
|
|
3861
|
+
function kn(e, t) {
|
|
3864
3862
|
const r = new URL(t);
|
|
3865
3863
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3866
3864
|
const i = document.createElement("style");
|
|
@@ -3869,7 +3867,7 @@ function Vn(e, t) {
|
|
|
3869
3867
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3870
3868
|
});
|
|
3871
3869
|
}
|
|
3872
|
-
function
|
|
3870
|
+
function Vn(e, t, r) {
|
|
3873
3871
|
if (window.emMessageBus) {
|
|
3874
3872
|
const n = document.createElement("style");
|
|
3875
3873
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3877,7 +3875,7 @@ function Xn(e, t, r) {
|
|
|
3877
3875
|
});
|
|
3878
3876
|
}
|
|
3879
3877
|
}
|
|
3880
|
-
function
|
|
3878
|
+
function Xn({ withLocale: e, translations: t }) {
|
|
3881
3879
|
M.subscribe((r) => {
|
|
3882
3880
|
r == null && (W.set(t), M.set(e));
|
|
3883
3881
|
});
|
|
@@ -3894,14 +3892,14 @@ if (typeof window < "u") {
|
|
|
3894
3892
|
}
|
|
3895
3893
|
};
|
|
3896
3894
|
};
|
|
3897
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3895
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-MBg2lQfe.js").then(({ default: t }) => {
|
|
3898
3896
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3899
3897
|
});
|
|
3900
3898
|
}
|
|
3901
|
-
function
|
|
3902
|
-
|
|
3899
|
+
function zn(e) {
|
|
3900
|
+
Mt(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))}");
|
|
3903
3901
|
}
|
|
3904
|
-
function
|
|
3902
|
+
function et(e) {
|
|
3905
3903
|
let t;
|
|
3906
3904
|
return {
|
|
3907
3905
|
c() {
|
|
@@ -4116,10 +4114,10 @@ function rt(e) {
|
|
|
4116
4114
|
}
|
|
4117
4115
|
};
|
|
4118
4116
|
}
|
|
4119
|
-
function
|
|
4117
|
+
function Wn(e) {
|
|
4120
4118
|
let t, r = (
|
|
4121
4119
|
/*session*/
|
|
4122
|
-
e[4] &&
|
|
4120
|
+
e[4] && et(e)
|
|
4123
4121
|
);
|
|
4124
4122
|
return {
|
|
4125
4123
|
c() {
|
|
@@ -4130,7 +4128,7 @@ function Zn(e) {
|
|
|
4130
4128
|
},
|
|
4131
4129
|
p(n, [i]) {
|
|
4132
4130
|
/*session*/
|
|
4133
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4131
|
+
n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4134
4132
|
},
|
|
4135
4133
|
i: N,
|
|
4136
4134
|
o: N,
|
|
@@ -4139,9 +4137,9 @@ function Zn(e) {
|
|
|
4139
4137
|
}
|
|
4140
4138
|
};
|
|
4141
4139
|
}
|
|
4142
|
-
function
|
|
4140
|
+
function Zn(e, t, r) {
|
|
4143
4141
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4144
|
-
|
|
4142
|
+
Xn({ withLocale: "en", translations: {} }), jt(() => () => {
|
|
4145
4143
|
});
|
|
4146
4144
|
function O(c) {
|
|
4147
4145
|
Te[c ? "unshift" : "push"](() => {
|
|
@@ -4152,9 +4150,9 @@ function Qn(e, t, r) {
|
|
|
4152
4150
|
"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), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4153
4151
|
}, e.$$.update = () => {
|
|
4154
4152
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4155
|
-
262208 && u && x &&
|
|
4156
|
-
262272 && h && x &&
|
|
4157
|
-
393216 && x &&
|
|
4153
|
+
262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4154
|
+
262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4155
|
+
393216 && x && Vn(x, `${P}.Style`);
|
|
4158
4156
|
}, [
|
|
4159
4157
|
n,
|
|
4160
4158
|
i,
|
|
@@ -4178,14 +4176,14 @@ function Qn(e, t, r) {
|
|
|
4178
4176
|
O
|
|
4179
4177
|
];
|
|
4180
4178
|
}
|
|
4181
|
-
class
|
|
4179
|
+
class It extends Jt {
|
|
4182
4180
|
constructor(t) {
|
|
4183
|
-
super(),
|
|
4181
|
+
super(), Qt(
|
|
4184
4182
|
this,
|
|
4185
4183
|
t,
|
|
4186
|
-
Qn,
|
|
4187
4184
|
Zn,
|
|
4188
|
-
|
|
4185
|
+
Wn,
|
|
4186
|
+
rt,
|
|
4189
4187
|
{
|
|
4190
4188
|
endpoint: 0,
|
|
4191
4189
|
datasource: 1,
|
|
@@ -4206,7 +4204,7 @@ class Ct extends Kt {
|
|
|
4206
4204
|
fetchviaevent: 16,
|
|
4207
4205
|
mbsource: 17
|
|
4208
4206
|
},
|
|
4209
|
-
|
|
4207
|
+
zn
|
|
4210
4208
|
);
|
|
4211
4209
|
}
|
|
4212
4210
|
get endpoint() {
|
|
@@ -4318,55 +4316,55 @@ class Ct extends Kt {
|
|
|
4318
4316
|
this.$$set({ mbsource: t }), H();
|
|
4319
4317
|
}
|
|
4320
4318
|
}
|
|
4321
|
-
|
|
4322
|
-
const
|
|
4319
|
+
qt(It, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4320
|
+
const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4323
4321
|
__proto__: null,
|
|
4324
|
-
default:
|
|
4322
|
+
default: It
|
|
4325
4323
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4326
4324
|
export {
|
|
4327
4325
|
M as $,
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4326
|
+
ni as A,
|
|
4327
|
+
Qn as B,
|
|
4328
|
+
jn as C,
|
|
4329
|
+
kn as D,
|
|
4330
|
+
Vn as E,
|
|
4331
|
+
qt as F,
|
|
4332
|
+
ci as G,
|
|
4333
|
+
ii as H,
|
|
4334
|
+
Jn as I,
|
|
4337
4335
|
g as J,
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4336
|
+
ei as K,
|
|
4337
|
+
si as L,
|
|
4338
|
+
ai as M,
|
|
4339
|
+
hi as N,
|
|
4340
|
+
ui as O,
|
|
4341
|
+
mi as P,
|
|
4342
|
+
Jt as S,
|
|
4343
|
+
li as _,
|
|
4346
4344
|
ye as a,
|
|
4347
|
-
|
|
4345
|
+
fi as b,
|
|
4348
4346
|
ce as c,
|
|
4349
4347
|
W as d,
|
|
4350
|
-
|
|
4348
|
+
gn as e,
|
|
4351
4349
|
H as f,
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4350
|
+
Mt as g,
|
|
4351
|
+
ee as h,
|
|
4352
|
+
Qt as i,
|
|
4353
|
+
fe as j,
|
|
4354
|
+
te as k,
|
|
4355
|
+
qn as l,
|
|
4356
|
+
Te as m,
|
|
4359
4357
|
N as n,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4358
|
+
jt as o,
|
|
4359
|
+
ri as p,
|
|
4360
|
+
Ct as q,
|
|
4361
|
+
Re as r,
|
|
4362
|
+
rt as s,
|
|
4363
|
+
it as t,
|
|
4364
|
+
oi as u,
|
|
4365
|
+
Yn as v,
|
|
4366
|
+
X as w,
|
|
4367
|
+
ti as x,
|
|
4368
|
+
Ut as y,
|
|
4369
|
+
Kn as z
|
|
4372
4370
|
};
|