@everymatrix/casino-my-games-nd 1.74.3 → 1.74.5
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-DBt1xi7b.js → CasinoFavoritesSectionNd-Cb0f-X9h.js} +372 -374
- package/components/{CasinoFavoritesSectionNd-DR52f1OY.js → CasinoFavoritesSectionNd-CwX3SJiK.js} +392 -394
- package/components/CasinoFavoritesSectionNd-Xf5vH0_X.cjs +16 -0
- package/components/{CasinoFilter-D52C_if7.js → CasinoFilter-DGTwERKl.js} +401 -386
- package/components/{CasinoFilter-BBqPB5Hp.js → CasinoFilter-DY3yHVRs.js} +406 -389
- package/components/CasinoFilter-MPjzRdRg.cjs +3 -0
- package/components/{CasinoGameThumbnailNd-C3RiqgK1.js → CasinoGameThumbnailNd-6hpUTC3r.js} +653 -653
- package/components/{CasinoGameThumbnailNd-BlW-LNjT.cjs → CasinoGameThumbnailNd-BMrgaPHc.cjs} +6 -6
- package/components/{CasinoGameThumbnailNd-Dw9KGpM1.js → CasinoGameThumbnailNd-DtFqA-W7.js} +652 -652
- package/components/CasinoGamesCategorySectionNd-Cw_N9hUe.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-j1m6vFYE.js → CasinoGamesCategorySectionNd-DK6Ywv6U.js} +351 -343
- package/components/{CasinoGamesCategorySectionNd-CQkCCwp8.js → CasinoGamesCategorySectionNd-DwIyCbYX.js} +78 -70
- package/components/{CasinoLastPlayedSectionNd-BTO-_kV7.js → CasinoLastPlayedSectionNd-CJduBPz4.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-DGutHF0W.js → CasinoLastPlayedSectionNd-DkYO6rsP.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-BgqcAekn.cjs → CasinoLastPlayedSectionNd-rNc7qMzB.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BQeBXMn0.js → CasinoMostPlayedSectionNd-BG2WO9H3.js} +6 -6
- package/components/{CasinoMostPlayedSectionNd-CuDaSFAt.js → CasinoMostPlayedSectionNd-Di6Hg97k.js} +6 -6
- package/components/{CasinoMostPlayedSectionNd-D5CthJ12.cjs → CasinoMostPlayedSectionNd-pSdSL8Sb.cjs} +1 -1
- package/components/CasinoMyGamesNd-B8HKF0uo.cjs +1 -0
- package/components/CasinoMyGamesNd-B8onDhXG.js +1316 -0
- package/components/CasinoMyGamesNd-DUImJmLm.js +1315 -0
- package/components/{CasinoSort-DwsdipZa.cjs → CasinoSort-B7PTZvfz.cjs} +1 -1
- package/components/{CasinoSort-DdJIIlkh.js → CasinoSort-Doz_7Pm7.js} +113 -112
- package/components/{CasinoSort-DQxsqtol.js → CasinoSort-bzGW_oQL.js} +104 -105
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoFavoritesSectionNd-XJUoSzcC.cjs +0 -16
- package/components/CasinoFilter-DIjvLpla.cjs +0 -3
- package/components/CasinoGamesCategorySectionNd-D33cmUil.cjs +0 -1
- package/components/CasinoMyGamesNd-BaLwww6K.js +0 -1352
- package/components/CasinoMyGamesNd-DFCWR0yt.cjs +0 -1
- package/components/CasinoMyGamesNd-ikmh7TnW.js +0 -1351
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-DBt1xi7b.js → CasinoFavoritesSectionNd-Cb0f-X9h.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function rt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(rt);
|
|
11
11
|
}
|
|
12
12
|
function Me(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let re;
|
|
19
19
|
function qr(e, t) {
|
|
20
20
|
return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Rt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const r of t)
|
|
28
28
|
r(void 0);
|
|
@@ -32,19 +32,19 @@ function it(e, ...t) {
|
|
|
32
32
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
33
33
|
}
|
|
34
34
|
function Jr(e, t, n) {
|
|
35
|
-
e.$$.on_destroy.push(
|
|
35
|
+
e.$$.on_destroy.push(st(t, n));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function $t(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const r =
|
|
40
|
+
function Ut(e, t, n) {
|
|
41
|
+
const r = Dt(e);
|
|
42
42
|
if (!r.getElementById(t)) {
|
|
43
43
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = n,
|
|
44
|
+
i.id = t, i.textContent = n, Gt(r, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Dt(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,8 +54,8 @@ function Ut(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function Gt(e, t) {
|
|
58
|
+
return $t(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
@@ -74,17 +74,17 @@ function Yr(e, t) {
|
|
|
74
74
|
function te(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ft(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function at(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
83
|
function Kr() {
|
|
84
|
-
return
|
|
84
|
+
return at(" ");
|
|
85
85
|
}
|
|
86
86
|
function ei() {
|
|
87
|
-
return
|
|
87
|
+
return at("");
|
|
88
88
|
}
|
|
89
89
|
function ti(e, t, n, r) {
|
|
90
90
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
@@ -92,11 +92,11 @@ function ti(e, t, n, r) {
|
|
|
92
92
|
function Re(e, t, n) {
|
|
93
93
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function g(e, t, n) {
|
|
96
96
|
const r = t.toLowerCase();
|
|
97
97
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function jt(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
102
|
function ni(e, t) {
|
|
@@ -143,7 +143,7 @@ class ai {
|
|
|
143
143
|
* @returns {void}
|
|
144
144
|
*/
|
|
145
145
|
m(t, n, r = null) {
|
|
146
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = Ft(
|
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
148
148
|
n.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 kt(e) {
|
|
186
186
|
const t = {};
|
|
187
187
|
return e.childNodes.forEach(
|
|
188
188
|
/** @param {Element} node */
|
|
@@ -195,26 +195,26 @@ let J;
|
|
|
195
195
|
function q(e) {
|
|
196
196
|
J = e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function ot() {
|
|
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 Vt(e) {
|
|
204
|
+
ot().$$.on_mount.push(e);
|
|
205
205
|
}
|
|
206
206
|
function oi(e) {
|
|
207
|
-
|
|
207
|
+
ot().$$.on_destroy.push(e);
|
|
208
208
|
}
|
|
209
209
|
const D = [], He = [];
|
|
210
210
|
let G = [];
|
|
211
|
-
const
|
|
211
|
+
const je = [], ut = /* @__PURE__ */ Promise.resolve();
|
|
212
212
|
let Te = !1;
|
|
213
|
-
function
|
|
214
|
-
Te || (Te = !0,
|
|
213
|
+
function ht() {
|
|
214
|
+
Te || (Te = !0, ut.then(H));
|
|
215
215
|
}
|
|
216
216
|
function ui() {
|
|
217
|
-
return
|
|
217
|
+
return ht(), ut;
|
|
218
218
|
}
|
|
219
219
|
function Se(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), Xt(t.$$);
|
|
233
233
|
}
|
|
234
234
|
} catch (t) {
|
|
235
235
|
throw D.length = 0, $ = 0, t;
|
|
@@ -242,24 +242,24 @@ function H() {
|
|
|
242
242
|
}
|
|
243
243
|
G.length = 0;
|
|
244
244
|
} while (D.length);
|
|
245
|
-
for (;
|
|
246
|
-
|
|
245
|
+
for (; je.length; )
|
|
246
|
+
je.pop()();
|
|
247
247
|
Te = !1, be.clear(), q(e);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function Xt(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(Se);
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function zt(e) {
|
|
257
257
|
const t = [], n = [];
|
|
258
258
|
G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
|
|
259
259
|
}
|
|
260
|
-
const
|
|
261
|
-
function
|
|
262
|
-
e && e.i && (
|
|
260
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
261
|
+
function lt(e, t) {
|
|
262
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
263
263
|
}
|
|
264
264
|
function hi(e) {
|
|
265
265
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
@@ -269,22 +269,22 @@ function li(e, t) {
|
|
|
269
269
|
}
|
|
270
270
|
function fi(e, t, n, r, i, s, a, o, l, u, h, m) {
|
|
271
271
|
let f = e.length, b = s.length, y = f;
|
|
272
|
-
const
|
|
272
|
+
const _ = {};
|
|
273
273
|
for (; y--; )
|
|
274
|
-
|
|
274
|
+
_[e[y].key] = y;
|
|
275
275
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
276
276
|
for (y = b; y--; ) {
|
|
277
277
|
const c = m(i, s, y), I = n(c);
|
|
278
278
|
let L = a.get(I);
|
|
279
|
-
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in
|
|
279
|
+
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
280
280
|
}
|
|
281
|
-
const P = /* @__PURE__ */ new Set(),
|
|
281
|
+
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
282
282
|
function O(c) {
|
|
283
|
-
|
|
283
|
+
lt(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, ne = I.key;
|
|
287
|
-
c === I ? (h = c.first, f--, b--) : w.has(ne) ? !a.has(L) || P.has(L) ? O(c) :
|
|
287
|
+
c === I ? (h = c.first, f--, b--) : w.has(ne) ? !a.has(L) || P.has(L) ? O(c) : x.has(ne) ? f-- : A.get(L) > A.get(ne) ? (x.add(L), O(c)) : (P.add(ne), f--) : (l(I, a), f--);
|
|
288
288
|
}
|
|
289
289
|
for (; f--; ) {
|
|
290
290
|
const c = e[f];
|
|
@@ -294,21 +294,21 @@ function fi(e, t, n, r, 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 Zt(e, t, n) {
|
|
298
298
|
const { fragment: r, after_update: i } = e.$$;
|
|
299
299
|
r && r.m(t, n), Se(() => {
|
|
300
|
-
const s = e.$$.on_mount.map(
|
|
300
|
+
const s = e.$$.on_mount.map(rt).filter(Me);
|
|
301
301
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
302
302
|
}), i.forEach(Se);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Qt(e, t) {
|
|
305
305
|
const n = e.$$;
|
|
306
|
-
n.fragment !== null && (
|
|
306
|
+
n.fragment !== null && (zt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
308
|
+
function qt(e, t) {
|
|
309
|
+
e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Jt(e, t, n, r, 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, n, r, i, s, a = null, o = [-1]) {
|
|
|
318
318
|
props: s,
|
|
319
319
|
update: N,
|
|
320
320
|
not_equal: i,
|
|
321
|
-
bound:
|
|
321
|
+
bound: Fe(),
|
|
322
322
|
// lifecycle
|
|
323
323
|
on_mount: [],
|
|
324
324
|
on_destroy: [],
|
|
@@ -327,7 +327,7 @@ function qt(e, t, n, r, 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: Fe(),
|
|
331
331
|
dirty: o,
|
|
332
332
|
skip_bound: !1,
|
|
333
333
|
root: t.target || l.$$.root
|
|
@@ -336,19 +336,19 @@ function qt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
|
336
336
|
let h = !1;
|
|
337
337
|
if (u.ctx = n ? n(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 && qt(e, m)), f;
|
|
340
340
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
341
341
|
if (t.hydrate) {
|
|
342
|
-
const m =
|
|
342
|
+
const m = jt(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 && lt(e.$$.fragment), Zt(e, t.target, t.anchor), H();
|
|
347
347
|
}
|
|
348
348
|
q(l);
|
|
349
349
|
}
|
|
350
|
-
let
|
|
351
|
-
typeof HTMLElement == "function" && (
|
|
350
|
+
let ft;
|
|
351
|
+
typeof HTMLElement == "function" && (ft = 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 = {}, n =
|
|
410
|
+
const t = {}, n = kt(this);
|
|
411
411
|
for (const i of this.$$s)
|
|
412
412
|
i in n && (t[i] = [e(i)]);
|
|
413
413
|
for (const i of this.attributes) {
|
|
@@ -494,8 +494,8 @@ function se(e, t, n, r) {
|
|
|
494
494
|
return t;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
let a = class extends
|
|
497
|
+
function Yt(e, t, n, r, i, s) {
|
|
498
|
+
let a = class extends ft {
|
|
499
499
|
constructor() {
|
|
500
500
|
super(e, n, i), this.$$p_d = t;
|
|
501
501
|
}
|
|
@@ -523,7 +523,7 @@ function Jt(e, t, n, r, i, s) {
|
|
|
523
523
|
}), e.element = /** @type {any} */
|
|
524
524
|
a, a;
|
|
525
525
|
}
|
|
526
|
-
class
|
|
526
|
+
class Kt {
|
|
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
|
+
Qt(this, 1), this.$destroy = N;
|
|
546
546
|
}
|
|
547
547
|
/**
|
|
548
548
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -564,11 +564,11 @@ class Yt {
|
|
|
564
564
|
* @returns {void}
|
|
565
565
|
*/
|
|
566
566
|
$set(t) {
|
|
567
|
-
this.$$set && !
|
|
567
|
+
this.$$set && !Rt(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 en = "4";
|
|
571
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
|
|
572
572
|
/*! *****************************************************************************
|
|
573
573
|
Copyright (c) Microsoft Corporation.
|
|
574
574
|
|
|
@@ -610,7 +610,7 @@ var E = function() {
|
|
|
610
610
|
return t;
|
|
611
611
|
}, E.apply(this, arguments);
|
|
612
612
|
};
|
|
613
|
-
function
|
|
613
|
+
function tn(e, t) {
|
|
614
614
|
var n = {};
|
|
615
615
|
for (var r in e)
|
|
616
616
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -658,7 +658,7 @@ function pe(e, t, n) {
|
|
|
658
658
|
return e.concat(s || t);
|
|
659
659
|
}
|
|
660
660
|
const U = [];
|
|
661
|
-
function
|
|
661
|
+
function nn(e, t) {
|
|
662
662
|
return {
|
|
663
663
|
subscribe: ce(e, t).subscribe
|
|
664
664
|
};
|
|
@@ -667,7 +667,7 @@ function ce(e, t = N) {
|
|
|
667
667
|
let n;
|
|
668
668
|
const r = /* @__PURE__ */ new Set();
|
|
669
669
|
function i(o) {
|
|
670
|
-
if (
|
|
670
|
+
if (it(e, o) && (e = o, n)) {
|
|
671
671
|
const l = !U.length;
|
|
672
672
|
for (const u of r)
|
|
673
673
|
u[1](), U.push(u, e);
|
|
@@ -694,7 +694,7 @@ function z(e, t, n) {
|
|
|
694
694
|
if (!i.every(Boolean))
|
|
695
695
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
696
696
|
const s = t.length < 2;
|
|
697
|
-
return
|
|
697
|
+
return nn(n, (a, o) => {
|
|
698
698
|
let l = !1;
|
|
699
699
|
const u = [];
|
|
700
700
|
let h = 0, m = N;
|
|
@@ -705,13 +705,13 @@ function z(e, t, n) {
|
|
|
705
705
|
const y = t(r ? u[0] : u, a, o);
|
|
706
706
|
s ? a(y) : m = Me(y) ? y : N;
|
|
707
707
|
}, b = i.map(
|
|
708
|
-
(y,
|
|
708
|
+
(y, _) => st(
|
|
709
709
|
y,
|
|
710
710
|
(T) => {
|
|
711
|
-
u[
|
|
711
|
+
u[_] = T, h &= ~(1 << _), l && f();
|
|
712
712
|
},
|
|
713
713
|
() => {
|
|
714
|
-
h |= 1 <<
|
|
714
|
+
h |= 1 << _;
|
|
715
715
|
}
|
|
716
716
|
)
|
|
717
717
|
);
|
|
@@ -720,49 +720,49 @@ function z(e, t, n) {
|
|
|
720
720
|
};
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
723
|
+
function rn(e) {
|
|
724
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
725
725
|
}
|
|
726
|
-
var
|
|
727
|
-
return
|
|
726
|
+
var sn = function(t) {
|
|
727
|
+
return an(t) && !on(t);
|
|
728
728
|
};
|
|
729
|
-
function
|
|
729
|
+
function an(e) {
|
|
730
730
|
return !!e && typeof e == "object";
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function on(e) {
|
|
733
733
|
var t = Object.prototype.toString.call(e);
|
|
734
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
735
|
-
}
|
|
736
|
-
var on = typeof Symbol == "function" && Symbol.for, un = on ? Symbol.for("react.element") : 60103;
|
|
737
|
-
function hn(e) {
|
|
738
|
-
return e.$$typeof === un;
|
|
734
|
+
return t === "[object RegExp]" || t === "[object Date]" || ln(e);
|
|
739
735
|
}
|
|
736
|
+
var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
|
|
740
737
|
function ln(e) {
|
|
738
|
+
return e.$$typeof === hn;
|
|
739
|
+
}
|
|
740
|
+
function fn(e) {
|
|
741
741
|
return Array.isArray(e) ? [] : {};
|
|
742
742
|
}
|
|
743
743
|
function Y(e, t) {
|
|
744
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
744
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(fn(e), e, t) : e;
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function cn(e, t, n) {
|
|
747
747
|
return e.concat(t).map(function(r) {
|
|
748
748
|
return Y(r, n);
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function mn(e, t) {
|
|
752
752
|
if (!t.customMerge)
|
|
753
753
|
return F;
|
|
754
754
|
var n = t.customMerge(e);
|
|
755
755
|
return typeof n == "function" ? n : F;
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function gn(e) {
|
|
758
758
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
759
759
|
return Object.propertyIsEnumerable.call(e, t);
|
|
760
760
|
}) : [];
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return Object.keys(e).concat(
|
|
762
|
+
function ke(e) {
|
|
763
|
+
return Object.keys(e).concat(gn(e));
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function ct(e, t) {
|
|
766
766
|
try {
|
|
767
767
|
return t in e;
|
|
768
768
|
} catch {
|
|
@@ -770,20 +770,20 @@ function ft(e, t) {
|
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
function dn(e, t) {
|
|
773
|
-
return
|
|
773
|
+
return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function bn(e, t, n) {
|
|
776
776
|
var r = {};
|
|
777
|
-
return n.isMergeableObject(e) &&
|
|
777
|
+
return n.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
778
778
|
r[i] = Y(e[i], n);
|
|
779
|
-
}),
|
|
780
|
-
dn(e, i) || (
|
|
779
|
+
}), ke(t).forEach(function(i) {
|
|
780
|
+
dn(e, i) || (ct(e, i) && n.isMergeableObject(t[i]) ? r[i] = mn(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
|
|
781
781
|
}), r;
|
|
782
782
|
}
|
|
783
783
|
function F(e, t, n) {
|
|
784
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
784
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || cn, n.isMergeableObject = n.isMergeableObject || sn, n.cloneUnlessOtherwiseSpecified = Y;
|
|
785
785
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
786
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
786
|
+
return s ? r ? n.arrayMerge(e, t, n) : bn(e, t, n) : Y(t, n);
|
|
787
787
|
}
|
|
788
788
|
F.all = function(t, n) {
|
|
789
789
|
if (!Array.isArray(t))
|
|
@@ -792,23 +792,23 @@ F.all = function(t, n) {
|
|
|
792
792
|
return F(r, i, n);
|
|
793
793
|
}, {});
|
|
794
794
|
};
|
|
795
|
-
var
|
|
796
|
-
const
|
|
795
|
+
var pn = F, yn = pn;
|
|
796
|
+
const En = /* @__PURE__ */ rn(yn);
|
|
797
797
|
function ye(e, t) {
|
|
798
|
-
var n = t && t.cache ? t.cache : Sn, r = t && t.serializer ? t.serializer :
|
|
798
|
+
var n = t && t.cache ? t.cache : Sn, r = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : _n;
|
|
799
799
|
return i(e, {
|
|
800
800
|
cache: n,
|
|
801
801
|
serializer: r
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function vn(e) {
|
|
805
805
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
806
806
|
}
|
|
807
|
-
function
|
|
808
|
-
var i =
|
|
807
|
+
function mt(e, t, n, r) {
|
|
808
|
+
var i = vn(r) ? r : n(r), s = t.get(i);
|
|
809
809
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function gt(e, t, n) {
|
|
812
812
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
813
813
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
814
814
|
}
|
|
@@ -816,74 +816,72 @@ function $e(e, t, n, r, i) {
|
|
|
816
816
|
return n.bind(t, e, r, i);
|
|
817
817
|
}
|
|
818
818
|
function _n(e, t) {
|
|
819
|
-
var n = e.length === 1 ?
|
|
819
|
+
var n = e.length === 1 ? mt : gt;
|
|
820
820
|
return $e(e, this, n, t.cache.create(), t.serializer);
|
|
821
821
|
}
|
|
822
822
|
function xn(e, t) {
|
|
823
|
-
return $e(e, this,
|
|
823
|
+
return $e(e, this, gt, t.cache.create(), t.serializer);
|
|
824
824
|
}
|
|
825
|
-
function
|
|
826
|
-
return $e(e, this,
|
|
825
|
+
function Hn(e, t) {
|
|
826
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
827
827
|
}
|
|
828
|
-
var
|
|
828
|
+
var Tn = function() {
|
|
829
829
|
return JSON.stringify(arguments);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
}()
|
|
842
|
-
), Sn = {
|
|
830
|
+
};
|
|
831
|
+
function Ue() {
|
|
832
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
833
|
+
}
|
|
834
|
+
Ue.prototype.get = function(e) {
|
|
835
|
+
return this.cache[e];
|
|
836
|
+
};
|
|
837
|
+
Ue.prototype.set = function(e, t) {
|
|
838
|
+
this.cache[e] = t;
|
|
839
|
+
};
|
|
840
|
+
var Sn = {
|
|
843
841
|
create: function() {
|
|
844
|
-
return new
|
|
842
|
+
return new Ue();
|
|
845
843
|
}
|
|
846
844
|
}, Ee = {
|
|
847
845
|
variadic: xn,
|
|
848
|
-
monadic:
|
|
849
|
-
},
|
|
846
|
+
monadic: Hn
|
|
847
|
+
}, d;
|
|
850
848
|
(function(e) {
|
|
851
849
|
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";
|
|
852
|
-
})(
|
|
853
|
-
var
|
|
850
|
+
})(d || (d = {}));
|
|
851
|
+
var v;
|
|
854
852
|
(function(e) {
|
|
855
853
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
856
|
-
})(
|
|
854
|
+
})(v || (v = {}));
|
|
857
855
|
var j;
|
|
858
856
|
(function(e) {
|
|
859
857
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
860
858
|
})(j || (j = {}));
|
|
861
|
-
function
|
|
862
|
-
return e.type ===
|
|
859
|
+
function Ve(e) {
|
|
860
|
+
return e.type === v.literal;
|
|
863
861
|
}
|
|
864
862
|
function Bn(e) {
|
|
865
|
-
return e.type ===
|
|
863
|
+
return e.type === v.argument;
|
|
866
864
|
}
|
|
867
865
|
function dt(e) {
|
|
868
|
-
return e.type ===
|
|
869
|
-
}
|
|
870
|
-
function gt(e) {
|
|
871
|
-
return e.type === _.date;
|
|
866
|
+
return e.type === v.number;
|
|
872
867
|
}
|
|
873
868
|
function bt(e) {
|
|
874
|
-
return e.type ===
|
|
869
|
+
return e.type === v.date;
|
|
875
870
|
}
|
|
876
871
|
function pt(e) {
|
|
877
|
-
return e.type ===
|
|
872
|
+
return e.type === v.time;
|
|
878
873
|
}
|
|
879
874
|
function yt(e) {
|
|
880
|
-
return e.type ===
|
|
875
|
+
return e.type === v.select;
|
|
876
|
+
}
|
|
877
|
+
function Et(e) {
|
|
878
|
+
return e.type === v.plural;
|
|
881
879
|
}
|
|
882
880
|
function An(e) {
|
|
883
|
-
return e.type ===
|
|
881
|
+
return e.type === v.pound;
|
|
884
882
|
}
|
|
885
|
-
function
|
|
886
|
-
return e.type ===
|
|
883
|
+
function vt(e) {
|
|
884
|
+
return e.type === v.tag;
|
|
887
885
|
}
|
|
888
886
|
function _t(e) {
|
|
889
887
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
@@ -1005,14 +1003,14 @@ function On(e) {
|
|
|
1005
1003
|
function In(e) {
|
|
1006
1004
|
return e.replace(/^(.*?)-/, "");
|
|
1007
1005
|
}
|
|
1008
|
-
var
|
|
1009
|
-
function
|
|
1006
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
|
|
1007
|
+
function ze(e) {
|
|
1010
1008
|
var t = {};
|
|
1011
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1009
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(n, r, i) {
|
|
1012
1010
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1013
1011
|
}), t;
|
|
1014
1012
|
}
|
|
1015
|
-
function
|
|
1013
|
+
function St(e) {
|
|
1016
1014
|
switch (e) {
|
|
1017
1015
|
case "sign-auto":
|
|
1018
1016
|
return {
|
|
@@ -1060,14 +1058,14 @@ function Cn(e) {
|
|
|
1060
1058
|
notation: "scientific"
|
|
1061
1059
|
}, e = e.slice(1)), t) {
|
|
1062
1060
|
var n = e.slice(0, 2);
|
|
1063
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1061
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
|
|
1064
1062
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1065
1063
|
t.minimumIntegerDigits = e.length;
|
|
1066
1064
|
}
|
|
1067
1065
|
return t;
|
|
1068
1066
|
}
|
|
1069
|
-
function
|
|
1070
|
-
var t = {}, n =
|
|
1067
|
+
function We(e) {
|
|
1068
|
+
var t = {}, n = St(e);
|
|
1071
1069
|
return n || t;
|
|
1072
1070
|
}
|
|
1073
1071
|
function Mn(e) {
|
|
@@ -1106,12 +1104,12 @@ function Mn(e) {
|
|
|
1106
1104
|
continue;
|
|
1107
1105
|
case "scientific":
|
|
1108
1106
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1109
|
-
return E(E({}, l),
|
|
1107
|
+
return E(E({}, l), We(u));
|
|
1110
1108
|
}, {}));
|
|
1111
1109
|
continue;
|
|
1112
1110
|
case "engineering":
|
|
1113
1111
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1114
|
-
return E(E({}, l),
|
|
1112
|
+
return E(E({}, l), We(u));
|
|
1115
1113
|
}, {}));
|
|
1116
1114
|
continue;
|
|
1117
1115
|
case "notation-simple":
|
|
@@ -1169,25 +1167,25 @@ function Mn(e) {
|
|
|
1169
1167
|
});
|
|
1170
1168
|
continue;
|
|
1171
1169
|
}
|
|
1172
|
-
if (
|
|
1170
|
+
if (Tt.test(i.stem)) {
|
|
1173
1171
|
t.minimumIntegerDigits = i.stem.length;
|
|
1174
1172
|
continue;
|
|
1175
1173
|
}
|
|
1176
|
-
if (
|
|
1174
|
+
if (Xe.test(i.stem)) {
|
|
1177
1175
|
if (i.options.length > 1)
|
|
1178
1176
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1179
|
-
i.stem.replace(
|
|
1177
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1180
1178
|
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), "";
|
|
1181
1179
|
});
|
|
1182
1180
|
var s = i.options[0];
|
|
1183
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1181
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1184
1182
|
continue;
|
|
1185
1183
|
}
|
|
1186
|
-
if (
|
|
1187
|
-
t = E(E({}, t),
|
|
1184
|
+
if (Ht.test(i.stem)) {
|
|
1185
|
+
t = E(E({}, t), ze(i.stem));
|
|
1188
1186
|
continue;
|
|
1189
1187
|
}
|
|
1190
|
-
var a =
|
|
1188
|
+
var a = St(i.stem);
|
|
1191
1189
|
a && (t = E(E({}, t), a));
|
|
1192
1190
|
var o = Cn(i.stem);
|
|
1193
1191
|
o && (t = E(E({}, t), o));
|
|
@@ -2647,7 +2645,7 @@ function $n(e) {
|
|
|
2647
2645
|
var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
|
|
2648
2646
|
return i[0];
|
|
2649
2647
|
}
|
|
2650
|
-
var
|
|
2648
|
+
var ve, Un = new RegExp("^".concat(xt.source, "*")), Dn = new RegExp("".concat(xt.source, "*$"));
|
|
2651
2649
|
function p(e, t) {
|
|
2652
2650
|
return { start: e, end: t };
|
|
2653
2651
|
}
|
|
@@ -2655,12 +2653,12 @@ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String
|
|
|
2655
2653
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2656
2654
|
}, we = !0;
|
|
2657
2655
|
try {
|
|
2658
|
-
var Zn =
|
|
2659
|
-
we = ((
|
|
2656
|
+
var Zn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2657
|
+
we = ((ve = Zn.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2660
2658
|
} catch {
|
|
2661
2659
|
we = !1;
|
|
2662
2660
|
}
|
|
2663
|
-
var
|
|
2661
|
+
var Ze = Gn ? (
|
|
2664
2662
|
// Native
|
|
2665
2663
|
function(t, n, r) {
|
|
2666
2664
|
return t.startsWith(n, r);
|
|
@@ -2682,7 +2680,7 @@ var We = Gn ? (
|
|
|
2682
2680
|
}
|
|
2683
2681
|
return r;
|
|
2684
2682
|
}
|
|
2685
|
-
),
|
|
2683
|
+
), Qe = (
|
|
2686
2684
|
// native
|
|
2687
2685
|
jn ? Object.fromEntries : (
|
|
2688
2686
|
// Ponyfill
|
|
@@ -2694,7 +2692,7 @@ var We = Gn ? (
|
|
|
2694
2692
|
return n;
|
|
2695
2693
|
}
|
|
2696
2694
|
)
|
|
2697
|
-
),
|
|
2695
|
+
), Bt = kn ? (
|
|
2698
2696
|
// Native
|
|
2699
2697
|
function(t, n) {
|
|
2700
2698
|
return t.codePointAt(n);
|
|
@@ -2729,23 +2727,23 @@ var We = Gn ? (
|
|
|
2729
2727
|
return t.replace(Dn, "");
|
|
2730
2728
|
}
|
|
2731
2729
|
);
|
|
2732
|
-
function
|
|
2730
|
+
function At(e, t) {
|
|
2733
2731
|
return new RegExp(e, t);
|
|
2734
2732
|
}
|
|
2735
2733
|
var Ne;
|
|
2736
2734
|
if (we) {
|
|
2737
|
-
var
|
|
2735
|
+
var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2738
2736
|
Ne = function(t, n) {
|
|
2739
2737
|
var r;
|
|
2740
|
-
|
|
2741
|
-
var i =
|
|
2738
|
+
qe.lastIndex = n;
|
|
2739
|
+
var i = qe.exec(t);
|
|
2742
2740
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2743
2741
|
};
|
|
2744
2742
|
} else
|
|
2745
2743
|
Ne = function(t, n) {
|
|
2746
2744
|
for (var r = []; ; ) {
|
|
2747
|
-
var i =
|
|
2748
|
-
if (i === void 0 ||
|
|
2745
|
+
var i = Bt(t, n);
|
|
2746
|
+
if (i === void 0 || wt(i) || er(i))
|
|
2749
2747
|
break;
|
|
2750
2748
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2751
2749
|
}
|
|
@@ -2775,13 +2773,13 @@ var Jn = (
|
|
|
2775
2773
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2776
2774
|
var o = this.clonePosition();
|
|
2777
2775
|
this.bump(), i.push({
|
|
2778
|
-
type:
|
|
2776
|
+
type: v.pound,
|
|
2779
2777
|
location: p(o, this.clonePosition())
|
|
2780
2778
|
});
|
|
2781
2779
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2782
2780
|
if (r)
|
|
2783
2781
|
break;
|
|
2784
|
-
return this.error(
|
|
2782
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2785
2783
|
} else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
|
|
2786
2784
|
var a = this.parseTag(t, n);
|
|
2787
2785
|
if (a.err)
|
|
@@ -2803,7 +2801,7 @@ var Jn = (
|
|
|
2803
2801
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2804
2802
|
return {
|
|
2805
2803
|
val: {
|
|
2806
|
-
type:
|
|
2804
|
+
type: v.literal,
|
|
2807
2805
|
value: "<".concat(i, "/>"),
|
|
2808
2806
|
location: p(r, this.clonePosition())
|
|
2809
2807
|
},
|
|
@@ -2816,21 +2814,21 @@ var Jn = (
|
|
|
2816
2814
|
var a = s.val, o = this.clonePosition();
|
|
2817
2815
|
if (this.bumpIf("</")) {
|
|
2818
2816
|
if (this.isEOF() || !Oe(this.char()))
|
|
2819
|
-
return this.error(
|
|
2817
|
+
return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
|
|
2820
2818
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2821
|
-
return i !== u ? this.error(
|
|
2819
|
+
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2822
2820
|
val: {
|
|
2823
|
-
type:
|
|
2821
|
+
type: v.tag,
|
|
2824
2822
|
value: i,
|
|
2825
2823
|
children: a,
|
|
2826
2824
|
location: p(r, this.clonePosition())
|
|
2827
2825
|
},
|
|
2828
2826
|
err: null
|
|
2829
|
-
} : this.error(
|
|
2827
|
+
} : this.error(d.INVALID_TAG, p(o, this.clonePosition())));
|
|
2830
2828
|
} else
|
|
2831
|
-
return this.error(
|
|
2829
|
+
return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
|
|
2832
2830
|
} else
|
|
2833
|
-
return this.error(
|
|
2831
|
+
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2834
2832
|
}, e.prototype.parseTagName = function() {
|
|
2835
2833
|
var t = this.offset();
|
|
2836
2834
|
for (this.bump(); !this.isEOF() && Kn(this.char()); )
|
|
@@ -2857,7 +2855,7 @@ var Jn = (
|
|
|
2857
2855
|
}
|
|
2858
2856
|
var l = p(r, this.clonePosition());
|
|
2859
2857
|
return {
|
|
2860
|
-
val: { type:
|
|
2858
|
+
val: { type: v.literal, value: i, location: l },
|
|
2861
2859
|
err: null
|
|
2862
2860
|
};
|
|
2863
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2905,19 +2903,19 @@ var Jn = (
|
|
|
2905
2903
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2906
2904
|
var r = this.clonePosition();
|
|
2907
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2908
|
-
return this.error(
|
|
2906
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2909
2907
|
if (this.char() === 125)
|
|
2910
|
-
return this.bump(), this.error(
|
|
2908
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
|
|
2911
2909
|
var i = this.parseIdentifierIfPossible().value;
|
|
2912
2910
|
if (!i)
|
|
2913
|
-
return this.error(
|
|
2911
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2914
2912
|
if (this.bumpSpace(), this.isEOF())
|
|
2915
|
-
return this.error(
|
|
2913
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2916
2914
|
switch (this.char()) {
|
|
2917
2915
|
case 125:
|
|
2918
2916
|
return this.bump(), {
|
|
2919
2917
|
val: {
|
|
2920
|
-
type:
|
|
2918
|
+
type: v.argument,
|
|
2921
2919
|
// value does not include the opening and closing braces.
|
|
2922
2920
|
value: i,
|
|
2923
2921
|
location: p(r, this.clonePosition())
|
|
@@ -2925,9 +2923,9 @@ var Jn = (
|
|
|
2925
2923
|
err: null
|
|
2926
2924
|
};
|
|
2927
2925
|
case 44:
|
|
2928
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2926
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2929
2927
|
default:
|
|
2930
|
-
return this.error(
|
|
2928
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2931
2929
|
}
|
|
2932
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2933
2931
|
var t = this.clonePosition(), n = this.offset(), r = Ne(this.message, n), i = n + r.length;
|
|
@@ -2938,7 +2936,7 @@ var Jn = (
|
|
|
2938
2936
|
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2939
2937
|
switch (o) {
|
|
2940
2938
|
case "":
|
|
2941
|
-
return this.error(
|
|
2939
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
|
|
2942
2940
|
case "number":
|
|
2943
2941
|
case "date":
|
|
2944
2942
|
case "time": {
|
|
@@ -2951,25 +2949,25 @@ var Jn = (
|
|
|
2951
2949
|
return m;
|
|
2952
2950
|
var f = qn(m.val);
|
|
2953
2951
|
if (f.length === 0)
|
|
2954
|
-
return this.error(
|
|
2952
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2955
2953
|
var b = p(h, this.clonePosition());
|
|
2956
2954
|
u = { style: f, styleLocation: b };
|
|
2957
2955
|
}
|
|
2958
2956
|
var y = this.tryParseArgumentClose(i);
|
|
2959
2957
|
if (y.err)
|
|
2960
2958
|
return y;
|
|
2961
|
-
var
|
|
2962
|
-
if (u &&
|
|
2959
|
+
var _ = p(i, this.clonePosition());
|
|
2960
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2963
2961
|
var T = Qn(u.style.slice(2));
|
|
2964
2962
|
if (o === "number") {
|
|
2965
2963
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2966
2964
|
return m.err ? m : {
|
|
2967
|
-
val: { type:
|
|
2965
|
+
val: { type: v.number, value: r, location: _, style: m.val },
|
|
2968
2966
|
err: null
|
|
2969
2967
|
};
|
|
2970
2968
|
} else {
|
|
2971
2969
|
if (T.length === 0)
|
|
2972
|
-
return this.error(
|
|
2970
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2973
2971
|
var w = T;
|
|
2974
2972
|
this.locale && (w = Rn(T, this.locale));
|
|
2975
2973
|
var f = {
|
|
@@ -2977,18 +2975,18 @@ var Jn = (
|
|
|
2977
2975
|
pattern: w,
|
|
2978
2976
|
location: u.styleLocation,
|
|
2979
2977
|
parsedOptions: this.shouldParseSkeletons ? Pn(w) : {}
|
|
2980
|
-
}, A = o === "date" ?
|
|
2978
|
+
}, A = o === "date" ? v.date : v.time;
|
|
2981
2979
|
return {
|
|
2982
|
-
val: { type: A, value: r, location:
|
|
2980
|
+
val: { type: A, value: r, location: _, style: f },
|
|
2983
2981
|
err: null
|
|
2984
2982
|
};
|
|
2985
2983
|
}
|
|
2986
2984
|
}
|
|
2987
2985
|
return {
|
|
2988
2986
|
val: {
|
|
2989
|
-
type: o === "number" ?
|
|
2987
|
+
type: o === "number" ? v.number : o === "date" ? v.date : v.time,
|
|
2990
2988
|
value: r,
|
|
2991
|
-
location:
|
|
2989
|
+
location: _,
|
|
2992
2990
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2993
2991
|
},
|
|
2994
2992
|
err: null
|
|
@@ -2999,17 +2997,17 @@ var Jn = (
|
|
|
2999
2997
|
case "select": {
|
|
3000
2998
|
var S = this.clonePosition();
|
|
3001
2999
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3002
|
-
return this.error(
|
|
3000
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
3003
3001
|
this.bumpSpace();
|
|
3004
|
-
var P = this.parseIdentifierIfPossible(),
|
|
3002
|
+
var P = this.parseIdentifierIfPossible(), x = 0;
|
|
3005
3003
|
if (o !== "select" && P.value === "offset") {
|
|
3006
3004
|
if (!this.bumpIf(":"))
|
|
3007
|
-
return this.error(
|
|
3005
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
3008
3006
|
this.bumpSpace();
|
|
3009
|
-
var m = this.tryParseDecimalInteger(
|
|
3007
|
+
var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3010
3008
|
if (m.err)
|
|
3011
3009
|
return m;
|
|
3012
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
3010
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
3013
3011
|
}
|
|
3014
3012
|
var O = this.tryParsePluralOrSelectOptions(t, o, n, P);
|
|
3015
3013
|
if (O.err)
|
|
@@ -3020,18 +3018,18 @@ var Jn = (
|
|
|
3020
3018
|
var c = p(i, this.clonePosition());
|
|
3021
3019
|
return o === "select" ? {
|
|
3022
3020
|
val: {
|
|
3023
|
-
type:
|
|
3021
|
+
type: v.select,
|
|
3024
3022
|
value: r,
|
|
3025
|
-
options:
|
|
3023
|
+
options: Qe(O.val),
|
|
3026
3024
|
location: c
|
|
3027
3025
|
},
|
|
3028
3026
|
err: null
|
|
3029
3027
|
} : {
|
|
3030
3028
|
val: {
|
|
3031
|
-
type:
|
|
3029
|
+
type: v.plural,
|
|
3032
3030
|
value: r,
|
|
3033
|
-
options:
|
|
3034
|
-
offset:
|
|
3031
|
+
options: Qe(O.val),
|
|
3032
|
+
offset: x,
|
|
3035
3033
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3036
3034
|
location: c
|
|
3037
3035
|
},
|
|
@@ -3039,10 +3037,10 @@ var Jn = (
|
|
|
3039
3037
|
};
|
|
3040
3038
|
}
|
|
3041
3039
|
default:
|
|
3042
|
-
return this.error(
|
|
3040
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
|
|
3043
3041
|
}
|
|
3044
3042
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3045
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3043
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3046
3044
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3047
3045
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3048
3046
|
var r = this.char();
|
|
@@ -3051,7 +3049,7 @@ var Jn = (
|
|
|
3051
3049
|
this.bump();
|
|
3052
3050
|
var i = this.clonePosition();
|
|
3053
3051
|
if (!this.bumpUntil("'"))
|
|
3054
|
-
return this.error(
|
|
3052
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
|
|
3055
3053
|
this.bump();
|
|
3056
3054
|
break;
|
|
3057
3055
|
}
|
|
@@ -3083,7 +3081,7 @@ var Jn = (
|
|
|
3083
3081
|
try {
|
|
3084
3082
|
r = On(t);
|
|
3085
3083
|
} catch {
|
|
3086
|
-
return this.error(
|
|
3084
|
+
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3087
3085
|
}
|
|
3088
3086
|
return {
|
|
3089
3087
|
val: {
|
|
@@ -3099,7 +3097,7 @@ var Jn = (
|
|
|
3099
3097
|
if (u.length === 0) {
|
|
3100
3098
|
var m = this.clonePosition();
|
|
3101
3099
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3102
|
-
var f = this.tryParseDecimalInteger(
|
|
3100
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3103
3101
|
if (f.err)
|
|
3104
3102
|
return f;
|
|
3105
3103
|
h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
|
@@ -3107,17 +3105,17 @@ var Jn = (
|
|
|
3107
3105
|
break;
|
|
3108
3106
|
}
|
|
3109
3107
|
if (l.has(u))
|
|
3110
|
-
return this.error(n === "select" ?
|
|
3108
|
+
return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3111
3109
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3112
3110
|
var b = this.clonePosition();
|
|
3113
3111
|
if (!this.bumpIf("{"))
|
|
3114
|
-
return this.error(n === "select" ?
|
|
3112
|
+
return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3115
3113
|
var y = this.parseMessage(t + 1, n, r);
|
|
3116
3114
|
if (y.err)
|
|
3117
3115
|
return y;
|
|
3118
|
-
var
|
|
3119
|
-
if (
|
|
3120
|
-
return
|
|
3116
|
+
var _ = this.tryParseArgumentClose(b);
|
|
3117
|
+
if (_.err)
|
|
3118
|
+
return _;
|
|
3121
3119
|
o.push([
|
|
3122
3120
|
u,
|
|
3123
3121
|
{
|
|
@@ -3126,7 +3124,7 @@ var Jn = (
|
|
|
3126
3124
|
}
|
|
3127
3125
|
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3128
3126
|
}
|
|
3129
|
-
return o.length === 0 ? this.error(n === "select" ?
|
|
3127
|
+
return o.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3130
3128
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3131
3129
|
var r = 1, i = this.clonePosition();
|
|
3132
3130
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3153,7 +3151,7 @@ var Jn = (
|
|
|
3153
3151
|
var t = this.position.offset;
|
|
3154
3152
|
if (t >= this.message.length)
|
|
3155
3153
|
throw Error("out of bound");
|
|
3156
|
-
var n =
|
|
3154
|
+
var n = Bt(this.message, t);
|
|
3157
3155
|
if (n === void 0)
|
|
3158
3156
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3159
3157
|
return n;
|
|
@@ -3172,7 +3170,7 @@ var Jn = (
|
|
|
3172
3170
|
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);
|
|
3173
3171
|
}
|
|
3174
3172
|
}, e.prototype.bumpIf = function(t) {
|
|
3175
|
-
if (
|
|
3173
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3176
3174
|
for (var n = 0; n < t.length; n++)
|
|
3177
3175
|
this.bump();
|
|
3178
3176
|
return !0;
|
|
@@ -3194,7 +3192,7 @@ var Jn = (
|
|
|
3194
3192
|
break;
|
|
3195
3193
|
}
|
|
3196
3194
|
}, e.prototype.bumpSpace = function() {
|
|
3197
|
-
for (; !this.isEOF() &&
|
|
3195
|
+
for (; !this.isEOF() && wt(this.char()); )
|
|
3198
3196
|
this.bump();
|
|
3199
3197
|
}, e.prototype.peek = function() {
|
|
3200
3198
|
if (this.isEOF())
|
|
@@ -3213,7 +3211,7 @@ function Yn(e) {
|
|
|
3213
3211
|
function Kn(e) {
|
|
3214
3212
|
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;
|
|
3215
3213
|
}
|
|
3216
|
-
function
|
|
3214
|
+
function wt(e) {
|
|
3217
3215
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3218
3216
|
}
|
|
3219
3217
|
function er(e) {
|
|
@@ -3221,18 +3219,18 @@ function er(e) {
|
|
|
3221
3219
|
}
|
|
3222
3220
|
function Ie(e) {
|
|
3223
3221
|
e.forEach(function(t) {
|
|
3224
|
-
if (delete t.location,
|
|
3222
|
+
if (delete t.location, yt(t) || Et(t))
|
|
3225
3223
|
for (var n in t.options)
|
|
3226
3224
|
delete t.options[n].location, Ie(t.options[n].value);
|
|
3227
3225
|
else
|
|
3228
|
-
dt(t) && _t(t.style) || (
|
|
3226
|
+
dt(t) && _t(t.style) || (bt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : vt(t) && Ie(t.children);
|
|
3229
3227
|
});
|
|
3230
3228
|
}
|
|
3231
3229
|
function tr(e, t) {
|
|
3232
3230
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3233
3231
|
var n = new Jn(e, t).parse();
|
|
3234
3232
|
if (n.err) {
|
|
3235
|
-
var r = SyntaxError(
|
|
3233
|
+
var r = SyntaxError(d[n.err.kind]);
|
|
3236
3234
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3237
3235
|
}
|
|
3238
3236
|
return t?.captureLocation || Ie(n.val), n.val;
|
|
@@ -3253,7 +3251,7 @@ var me = (
|
|
|
3253
3251
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3254
3252
|
}, t;
|
|
3255
3253
|
}(Error)
|
|
3256
|
-
),
|
|
3254
|
+
), Je = (
|
|
3257
3255
|
/** @class */
|
|
3258
3256
|
function(e) {
|
|
3259
3257
|
fe(t, e);
|
|
@@ -3294,7 +3292,7 @@ function sr(e) {
|
|
|
3294
3292
|
return typeof e == "function";
|
|
3295
3293
|
}
|
|
3296
3294
|
function ae(e, t, n, r, i, s, a) {
|
|
3297
|
-
if (e.length === 1 &&
|
|
3295
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3298
3296
|
return [
|
|
3299
3297
|
{
|
|
3300
3298
|
type: B.literal,
|
|
@@ -3303,7 +3301,7 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3303
3301
|
];
|
|
3304
3302
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3305
3303
|
var h = u[l];
|
|
3306
|
-
if (
|
|
3304
|
+
if (Ve(h)) {
|
|
3307
3305
|
o.push({
|
|
3308
3306
|
type: B.literal,
|
|
3309
3307
|
value: h.value
|
|
@@ -3328,7 +3326,7 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3328
3326
|
});
|
|
3329
3327
|
continue;
|
|
3330
3328
|
}
|
|
3331
|
-
if (
|
|
3329
|
+
if (bt(h)) {
|
|
3332
3330
|
var b = typeof h.style == "string" ? r.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3333
3331
|
o.push({
|
|
3334
3332
|
type: B.literal,
|
|
@@ -3336,7 +3334,7 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3336
3334
|
});
|
|
3337
3335
|
continue;
|
|
3338
3336
|
}
|
|
3339
|
-
if (
|
|
3337
|
+
if (pt(h)) {
|
|
3340
3338
|
var b = typeof h.style == "string" ? r.time[h.style] : Ae(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3341
3339
|
o.push({
|
|
3342
3340
|
type: B.literal,
|
|
@@ -3352,28 +3350,28 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3352
3350
|
});
|
|
3353
3351
|
continue;
|
|
3354
3352
|
}
|
|
3355
|
-
if (
|
|
3356
|
-
var y = h.children,
|
|
3353
|
+
if (vt(h)) {
|
|
3354
|
+
var y = h.children, _ = h.value, T = i[_];
|
|
3357
3355
|
if (!sr(T))
|
|
3358
|
-
throw new nr(
|
|
3359
|
-
var w = ae(y, t, n, r, i, s), A = T(w.map(function(
|
|
3360
|
-
return
|
|
3356
|
+
throw new nr(_, "function", a);
|
|
3357
|
+
var w = ae(y, t, n, r, i, s), A = T(w.map(function(x) {
|
|
3358
|
+
return x.value;
|
|
3361
3359
|
}));
|
|
3362
|
-
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(
|
|
3360
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
3363
3361
|
return {
|
|
3364
|
-
type: typeof
|
|
3365
|
-
value:
|
|
3362
|
+
type: typeof x == "string" ? B.literal : B.object,
|
|
3363
|
+
value: x
|
|
3366
3364
|
};
|
|
3367
3365
|
}));
|
|
3368
3366
|
}
|
|
3369
|
-
if (
|
|
3367
|
+
if (yt(h)) {
|
|
3370
3368
|
var S = h.options[f] || h.options.other;
|
|
3371
3369
|
if (!S)
|
|
3372
|
-
throw new
|
|
3370
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3373
3371
|
o.push.apply(o, ae(S.value, t, n, r, i));
|
|
3374
3372
|
continue;
|
|
3375
3373
|
}
|
|
3376
|
-
if (
|
|
3374
|
+
if (Et(h)) {
|
|
3377
3375
|
var S = h.options["=".concat(f)];
|
|
3378
3376
|
if (!S) {
|
|
3379
3377
|
if (!Intl.PluralRules)
|
|
@@ -3384,7 +3382,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3384
3382
|
S = h.options[P] || h.options.other;
|
|
3385
3383
|
}
|
|
3386
3384
|
if (!S)
|
|
3387
|
-
throw new
|
|
3385
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3388
3386
|
o.push.apply(o, ae(S.value, t, n, r, i, f - (h.offset || 0)));
|
|
3389
3387
|
continue;
|
|
3390
3388
|
}
|
|
@@ -3401,7 +3399,7 @@ function or(e, t) {
|
|
|
3401
3399
|
return n[r] = ar(e[r], t[r]), n;
|
|
3402
3400
|
}, E({}, e)) : e;
|
|
3403
3401
|
}
|
|
3404
|
-
function
|
|
3402
|
+
function _e(e) {
|
|
3405
3403
|
return {
|
|
3406
3404
|
create: function() {
|
|
3407
3405
|
return {
|
|
@@ -3426,7 +3424,7 @@ function ur(e) {
|
|
|
3426
3424
|
n[r] = arguments[r];
|
|
3427
3425
|
return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], n, !1)))();
|
|
3428
3426
|
}, {
|
|
3429
|
-
cache:
|
|
3427
|
+
cache: _e(e.number),
|
|
3430
3428
|
strategy: Ee.variadic
|
|
3431
3429
|
}),
|
|
3432
3430
|
getDateTimeFormat: ye(function() {
|
|
@@ -3434,7 +3432,7 @@ function ur(e) {
|
|
|
3434
3432
|
n[r] = arguments[r];
|
|
3435
3433
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], n, !1)))();
|
|
3436
3434
|
}, {
|
|
3437
|
-
cache:
|
|
3435
|
+
cache: _e(e.dateTime),
|
|
3438
3436
|
strategy: Ee.variadic
|
|
3439
3437
|
}),
|
|
3440
3438
|
getPluralRules: ye(function() {
|
|
@@ -3442,7 +3440,7 @@ function ur(e) {
|
|
|
3442
3440
|
n[r] = arguments[r];
|
|
3443
3441
|
return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], n, !1)))();
|
|
3444
3442
|
}, {
|
|
3445
|
-
cache:
|
|
3443
|
+
cache: _e(e.pluralRules),
|
|
3446
3444
|
strategy: Ee.variadic
|
|
3447
3445
|
})
|
|
3448
3446
|
};
|
|
@@ -3479,7 +3477,7 @@ var hr = (
|
|
|
3479
3477
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3480
3478
|
var a = i || {};
|
|
3481
3479
|
a.formatters;
|
|
3482
|
-
var o =
|
|
3480
|
+
var o = tn(a, ["formatters"]);
|
|
3483
3481
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3484
3482
|
} else
|
|
3485
3483
|
this.ast = t;
|
|
@@ -3580,78 +3578,78 @@ function lr(e, t) {
|
|
|
3580
3578
|
r = void 0;
|
|
3581
3579
|
return r;
|
|
3582
3580
|
}
|
|
3583
|
-
const C = {}, fr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n),
|
|
3581
|
+
const C = {}, fr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), Pt = (e, t) => {
|
|
3584
3582
|
if (t == null)
|
|
3585
3583
|
return;
|
|
3586
3584
|
if (t in C && e in C[t])
|
|
3587
3585
|
return C[t][e];
|
|
3588
|
-
const n =
|
|
3586
|
+
const n = ge(t);
|
|
3589
3587
|
for (let r = 0; r < n.length; r++) {
|
|
3590
3588
|
const i = n[r], s = mr(i, e);
|
|
3591
3589
|
if (s)
|
|
3592
3590
|
return fr(e, t, s);
|
|
3593
3591
|
}
|
|
3594
3592
|
};
|
|
3595
|
-
let
|
|
3593
|
+
let De;
|
|
3596
3594
|
const W = ce({});
|
|
3597
3595
|
function cr(e) {
|
|
3598
|
-
return
|
|
3596
|
+
return De[e] || null;
|
|
3599
3597
|
}
|
|
3600
|
-
function
|
|
3601
|
-
return e in
|
|
3598
|
+
function Nt(e) {
|
|
3599
|
+
return e in De;
|
|
3602
3600
|
}
|
|
3603
3601
|
function mr(e, t) {
|
|
3604
|
-
if (!
|
|
3602
|
+
if (!Nt(e))
|
|
3605
3603
|
return null;
|
|
3606
3604
|
const n = cr(e);
|
|
3607
3605
|
return lr(n, t);
|
|
3608
3606
|
}
|
|
3609
|
-
function
|
|
3607
|
+
function gr(e) {
|
|
3610
3608
|
if (e == null)
|
|
3611
3609
|
return;
|
|
3612
|
-
const t =
|
|
3610
|
+
const t = ge(e);
|
|
3613
3611
|
for (let n = 0; n < t.length; n++) {
|
|
3614
3612
|
const r = t[n];
|
|
3615
|
-
if (
|
|
3613
|
+
if (Nt(r))
|
|
3616
3614
|
return r;
|
|
3617
3615
|
}
|
|
3618
3616
|
}
|
|
3619
|
-
function
|
|
3620
|
-
delete C[e], W.update((n) => (n[e] =
|
|
3617
|
+
function dr(e, ...t) {
|
|
3618
|
+
delete C[e], W.update((n) => (n[e] = En.all([n[e] || {}, ...t]), n));
|
|
3621
3619
|
}
|
|
3622
3620
|
z(
|
|
3623
3621
|
[W],
|
|
3624
3622
|
([e]) => Object.keys(e)
|
|
3625
3623
|
);
|
|
3626
|
-
W.subscribe((e) =>
|
|
3624
|
+
W.subscribe((e) => De = e);
|
|
3627
3625
|
const oe = {};
|
|
3628
3626
|
function br(e, t) {
|
|
3629
3627
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3630
3628
|
}
|
|
3631
|
-
function
|
|
3629
|
+
function Ot(e) {
|
|
3632
3630
|
return oe[e];
|
|
3633
3631
|
}
|
|
3634
3632
|
function pr(e) {
|
|
3635
|
-
return
|
|
3636
|
-
const n =
|
|
3633
|
+
return ge(e).map((t) => {
|
|
3634
|
+
const n = Ot(t);
|
|
3637
3635
|
return [t, n ? [...n] : []];
|
|
3638
3636
|
}).filter(([, t]) => t.length > 0);
|
|
3639
3637
|
}
|
|
3640
3638
|
function Le(e) {
|
|
3641
|
-
return e == null ? !1 :
|
|
3639
|
+
return e == null ? !1 : ge(e).some(
|
|
3642
3640
|
(t) => {
|
|
3643
3641
|
var n;
|
|
3644
|
-
return (n =
|
|
3642
|
+
return (n = Ot(t)) == null ? void 0 : n.size;
|
|
3645
3643
|
}
|
|
3646
3644
|
);
|
|
3647
3645
|
}
|
|
3648
3646
|
function yr(e, t) {
|
|
3649
3647
|
return Promise.all(
|
|
3650
3648
|
t.map((r) => (br(e, r), r().then((i) => i.default || i)))
|
|
3651
|
-
).then((r) =>
|
|
3649
|
+
).then((r) => dr(e, ...r));
|
|
3652
3650
|
}
|
|
3653
3651
|
const Q = {};
|
|
3654
|
-
function
|
|
3652
|
+
function It(e) {
|
|
3655
3653
|
if (!Le(e))
|
|
3656
3654
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3657
3655
|
const t = pr(e);
|
|
@@ -3661,7 +3659,7 @@ function Ot(e) {
|
|
|
3661
3659
|
)
|
|
3662
3660
|
).then(() => {
|
|
3663
3661
|
if (Le(e))
|
|
3664
|
-
return
|
|
3662
|
+
return It(e);
|
|
3665
3663
|
delete Q[e];
|
|
3666
3664
|
}), Q[e];
|
|
3667
3665
|
}
|
|
@@ -3694,34 +3692,34 @@ const Er = {
|
|
|
3694
3692
|
timeZoneName: "short"
|
|
3695
3693
|
}
|
|
3696
3694
|
}
|
|
3697
|
-
},
|
|
3695
|
+
}, vr = {
|
|
3698
3696
|
fallbackLocale: null,
|
|
3699
3697
|
loadingDelay: 200,
|
|
3700
3698
|
formats: Er,
|
|
3701
3699
|
warnOnMissingMessages: !0,
|
|
3702
3700
|
handleMissingMessage: void 0,
|
|
3703
3701
|
ignoreTag: !0
|
|
3704
|
-
},
|
|
3702
|
+
}, _r = vr;
|
|
3705
3703
|
function V() {
|
|
3706
|
-
return
|
|
3707
|
-
}
|
|
3708
|
-
const
|
|
3709
|
-
var
|
|
3710
|
-
for (var n in t)
|
|
3711
|
-
Sr.call(t, n) &&
|
|
3712
|
-
if (
|
|
3713
|
-
for (var n of
|
|
3714
|
-
Br.call(t, n) &&
|
|
3704
|
+
return _r;
|
|
3705
|
+
}
|
|
3706
|
+
const xe = ce(!1);
|
|
3707
|
+
var xr = Object.defineProperty, Hr = Object.defineProperties, Tr = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Ke = (e, t, n) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ar = (e, t) => {
|
|
3708
|
+
for (var n in t || (t = {}))
|
|
3709
|
+
Sr.call(t, n) && Ke(e, n, t[n]);
|
|
3710
|
+
if (Ye)
|
|
3711
|
+
for (var n of Ye(t))
|
|
3712
|
+
Br.call(t, n) && Ke(e, n, t[n]);
|
|
3715
3713
|
return e;
|
|
3716
3714
|
}, wr = (e, t) => Hr(e, Tr(t));
|
|
3717
3715
|
let Ce;
|
|
3718
3716
|
const ue = ce(null);
|
|
3719
|
-
function
|
|
3717
|
+
function et(e) {
|
|
3720
3718
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3721
3719
|
}
|
|
3722
|
-
function
|
|
3723
|
-
const n =
|
|
3724
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3720
|
+
function ge(e, t = V().fallbackLocale) {
|
|
3721
|
+
const n = et(e);
|
|
3722
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...et(t)])] : n;
|
|
3725
3723
|
}
|
|
3726
3724
|
function R() {
|
|
3727
3725
|
return Ce ?? void 0;
|
|
@@ -3730,42 +3728,42 @@ ue.subscribe((e) => {
|
|
|
3730
3728
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3731
3729
|
});
|
|
3732
3730
|
const Pr = (e) => {
|
|
3733
|
-
if (e &&
|
|
3731
|
+
if (e && gr(e) && Le(e)) {
|
|
3734
3732
|
const { loadingDelay: t } = V();
|
|
3735
3733
|
let n;
|
|
3736
3734
|
return typeof window < "u" && R() != null && t ? n = window.setTimeout(
|
|
3737
|
-
() =>
|
|
3735
|
+
() => xe.set(!0),
|
|
3738
3736
|
t
|
|
3739
|
-
) :
|
|
3737
|
+
) : xe.set(!0), It(e).then(() => {
|
|
3740
3738
|
ue.set(e);
|
|
3741
3739
|
}).finally(() => {
|
|
3742
|
-
clearTimeout(n),
|
|
3740
|
+
clearTimeout(n), xe.set(!1);
|
|
3743
3741
|
});
|
|
3744
3742
|
}
|
|
3745
3743
|
return ue.set(e);
|
|
3746
3744
|
}, M = wr(Ar({}, ue), {
|
|
3747
3745
|
set: Pr
|
|
3748
|
-
}),
|
|
3746
|
+
}), de = (e) => {
|
|
3749
3747
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3750
3748
|
return (r) => {
|
|
3751
3749
|
const i = JSON.stringify(r);
|
|
3752
3750
|
return i in t ? t[i] : t[i] = e(r);
|
|
3753
3751
|
};
|
|
3754
3752
|
};
|
|
3755
|
-
var Nr = Object.defineProperty, he = Object.getOwnPropertySymbols,
|
|
3753
|
+
var Nr = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, n) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
|
|
3756
3754
|
for (var n in t || (t = {}))
|
|
3757
|
-
|
|
3755
|
+
Lt.call(t, n) && tt(e, n, t[n]);
|
|
3758
3756
|
if (he)
|
|
3759
3757
|
for (var n of he(t))
|
|
3760
|
-
|
|
3758
|
+
Ct.call(t, n) && tt(e, n, t[n]);
|
|
3761
3759
|
return e;
|
|
3762
3760
|
}, Z = (e, t) => {
|
|
3763
3761
|
var n = {};
|
|
3764
3762
|
for (var r in e)
|
|
3765
|
-
|
|
3763
|
+
Lt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3766
3764
|
if (e != null && he)
|
|
3767
3765
|
for (var r of he(e))
|
|
3768
|
-
t.indexOf(r) < 0 &&
|
|
3766
|
+
t.indexOf(r) < 0 && Ct.call(e, r) && (n[r] = e[r]);
|
|
3769
3767
|
return n;
|
|
3770
3768
|
};
|
|
3771
3769
|
const K = (e, t) => {
|
|
@@ -3773,21 +3771,21 @@ const K = (e, t) => {
|
|
|
3773
3771
|
if (e in n && t in n[e])
|
|
3774
3772
|
return n[e][t];
|
|
3775
3773
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3776
|
-
}, Or =
|
|
3774
|
+
}, Or = de(
|
|
3777
3775
|
(e) => {
|
|
3778
3776
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3779
3777
|
if (n == null)
|
|
3780
3778
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3781
3779
|
return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
|
|
3782
3780
|
}
|
|
3783
|
-
), Ir =
|
|
3781
|
+
), Ir = de(
|
|
3784
3782
|
(e) => {
|
|
3785
3783
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3786
3784
|
if (n == null)
|
|
3787
3785
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3788
3786
|
return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3789
3787
|
}
|
|
3790
|
-
), Lr =
|
|
3788
|
+
), Lr = de(
|
|
3791
3789
|
(e) => {
|
|
3792
3790
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3793
3791
|
if (n == null)
|
|
@@ -3802,22 +3800,22 @@ const K = (e, t) => {
|
|
|
3802
3800
|
} = t, r = Z(t, [
|
|
3803
3801
|
"locale"
|
|
3804
3802
|
]);
|
|
3805
|
-
return Or(
|
|
3803
|
+
return Or(Ge({ locale: n }, r));
|
|
3806
3804
|
}, Mr = (e = {}) => {
|
|
3807
3805
|
var t = e, {
|
|
3808
3806
|
locale: n = R()
|
|
3809
3807
|
} = t, r = Z(t, [
|
|
3810
3808
|
"locale"
|
|
3811
3809
|
]);
|
|
3812
|
-
return Ir(
|
|
3810
|
+
return Ir(Ge({ locale: n }, r));
|
|
3813
3811
|
}, Rr = (e = {}) => {
|
|
3814
3812
|
var t = e, {
|
|
3815
3813
|
locale: n = R()
|
|
3816
3814
|
} = t, r = Z(t, [
|
|
3817
3815
|
"locale"
|
|
3818
3816
|
]);
|
|
3819
|
-
return Lr(
|
|
3820
|
-
}, $r =
|
|
3817
|
+
return Lr(Ge({ locale: n }, r));
|
|
3818
|
+
}, $r = de(
|
|
3821
3819
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3822
3820
|
(e, t = R()) => new hr(e, t, V().formats, {
|
|
3823
3821
|
ignoreTag: V().ignoreTag
|
|
@@ -3835,7 +3833,7 @@ const K = (e, t) => {
|
|
|
3835
3833
|
throw new Error(
|
|
3836
3834
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3837
3835
|
);
|
|
3838
|
-
let h =
|
|
3836
|
+
let h = Pt(e, l);
|
|
3839
3837
|
if (!h)
|
|
3840
3838
|
h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3841
3839
|
else if (typeof h != "string")
|
|
@@ -3854,7 +3852,7 @@ const K = (e, t) => {
|
|
|
3854
3852
|
);
|
|
3855
3853
|
}
|
|
3856
3854
|
return m;
|
|
3857
|
-
}, Dr = (e, t) => Rr(t).format(e), Gr = (e, t) => Mr(t).format(e), Fr = (e, t) => Cr(t).format(e), jr = (e, t = R()) =>
|
|
3855
|
+
}, Dr = (e, t) => Rr(t).format(e), Gr = (e, t) => Mr(t).format(e), Fr = (e, t) => Cr(t).format(e), jr = (e, t = R()) => Pt(e, t), gi = z([M, W], () => Ur);
|
|
3858
3856
|
z([M], () => Dr);
|
|
3859
3857
|
z([M], () => Gr);
|
|
3860
3858
|
z([M], () => Fr);
|
|
@@ -3899,103 +3897,103 @@ if (typeof window < "u") {
|
|
|
3899
3897
|
}
|
|
3900
3898
|
};
|
|
3901
3899
|
};
|
|
3902
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3900
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-DwIyCbYX.js").then(({ default: t }) => {
|
|
3903
3901
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3904
3902
|
});
|
|
3905
3903
|
}
|
|
3906
3904
|
function Wr(e) {
|
|
3907
|
-
|
|
3905
|
+
Ut(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))}");
|
|
3908
3906
|
}
|
|
3909
|
-
function
|
|
3907
|
+
function nt(e) {
|
|
3910
3908
|
let t;
|
|
3911
3909
|
return {
|
|
3912
3910
|
c() {
|
|
3913
|
-
t = te("casino-games-category-section-nd"),
|
|
3911
|
+
t = te("casino-games-category-section-nd"), g(
|
|
3914
3912
|
t,
|
|
3915
3913
|
"session",
|
|
3916
3914
|
/*session*/
|
|
3917
3915
|
e[4]
|
|
3918
|
-
),
|
|
3916
|
+
), g(
|
|
3919
3917
|
t,
|
|
3920
3918
|
"userid",
|
|
3921
3919
|
/*userid*/
|
|
3922
3920
|
e[5]
|
|
3923
|
-
),
|
|
3921
|
+
), g(
|
|
3924
3922
|
t,
|
|
3925
3923
|
"endpoint",
|
|
3926
3924
|
/*endpoint*/
|
|
3927
3925
|
e[0]
|
|
3928
|
-
),
|
|
3926
|
+
), g(
|
|
3929
3927
|
t,
|
|
3930
3928
|
"datasource",
|
|
3931
3929
|
/*datasource*/
|
|
3932
3930
|
e[1]
|
|
3933
|
-
),
|
|
3931
|
+
), g(
|
|
3934
3932
|
t,
|
|
3935
3933
|
"lang",
|
|
3936
3934
|
/*lang*/
|
|
3937
3935
|
e[3]
|
|
3938
|
-
),
|
|
3936
|
+
), g(
|
|
3939
3937
|
t,
|
|
3940
3938
|
"currency",
|
|
3941
3939
|
/*currency*/
|
|
3942
3940
|
e[2]
|
|
3943
|
-
),
|
|
3941
|
+
), g(
|
|
3944
3942
|
t,
|
|
3945
3943
|
"favorites",
|
|
3946
3944
|
/*favorites*/
|
|
3947
3945
|
e[15]
|
|
3948
|
-
),
|
|
3946
|
+
), g(
|
|
3949
3947
|
t,
|
|
3950
3948
|
"fetchviaevent",
|
|
3951
3949
|
/*fetchviaevent*/
|
|
3952
3950
|
e[17]
|
|
3953
|
-
),
|
|
3951
|
+
), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
|
|
3954
3952
|
t,
|
|
3955
3953
|
"showgamename",
|
|
3956
3954
|
/*showgamename*/
|
|
3957
3955
|
e[12]
|
|
3958
|
-
),
|
|
3956
|
+
), g(
|
|
3959
3957
|
t,
|
|
3960
3958
|
"clientstyling",
|
|
3961
3959
|
/*clientstyling*/
|
|
3962
3960
|
e[7]
|
|
3963
|
-
),
|
|
3961
|
+
), g(
|
|
3964
3962
|
t,
|
|
3965
3963
|
"clientstylingurl",
|
|
3966
3964
|
/*clientstylingurl*/
|
|
3967
3965
|
e[8]
|
|
3968
|
-
),
|
|
3966
|
+
), g(
|
|
3969
3967
|
t,
|
|
3970
3968
|
"livecasino",
|
|
3971
3969
|
/*livecasino*/
|
|
3972
3970
|
e[9]
|
|
3973
|
-
),
|
|
3971
|
+
), g(
|
|
3974
3972
|
t,
|
|
3975
3973
|
"visiblegames",
|
|
3976
3974
|
/*visiblegames*/
|
|
3977
3975
|
e[14]
|
|
3978
|
-
),
|
|
3976
|
+
), g(
|
|
3979
3977
|
t,
|
|
3980
3978
|
"gamepagemodalurl",
|
|
3981
3979
|
/*gamepagemodalurl*/
|
|
3982
3980
|
e[13]
|
|
3983
|
-
),
|
|
3981
|
+
), g(
|
|
3984
3982
|
t,
|
|
3985
3983
|
"integratedgameframedesktop",
|
|
3986
3984
|
/*integratedgameframedesktop*/
|
|
3987
3985
|
e[11]
|
|
3988
|
-
),
|
|
3986
|
+
), g(
|
|
3989
3987
|
t,
|
|
3990
3988
|
"integratedgameframemobile",
|
|
3991
3989
|
/*integratedgameframemobile*/
|
|
3992
3990
|
e[10]
|
|
3993
|
-
),
|
|
3991
|
+
), g(
|
|
3994
3992
|
t,
|
|
3995
3993
|
"casinomygames",
|
|
3996
3994
|
/*casinomygames*/
|
|
3997
3995
|
e[16]
|
|
3998
|
-
),
|
|
3996
|
+
), g(
|
|
3999
3997
|
t,
|
|
4000
3998
|
"mbsource",
|
|
4001
3999
|
/*mbsource*/
|
|
@@ -4007,109 +4005,109 @@ function tt(e) {
|
|
|
4007
4005
|
},
|
|
4008
4006
|
p(n, r) {
|
|
4009
4007
|
r & /*session*/
|
|
4010
|
-
16 &&
|
|
4008
|
+
16 && g(
|
|
4011
4009
|
t,
|
|
4012
4010
|
"session",
|
|
4013
4011
|
/*session*/
|
|
4014
4012
|
n[4]
|
|
4015
4013
|
), r & /*userid*/
|
|
4016
|
-
32 &&
|
|
4014
|
+
32 && g(
|
|
4017
4015
|
t,
|
|
4018
4016
|
"userid",
|
|
4019
4017
|
/*userid*/
|
|
4020
4018
|
n[5]
|
|
4021
4019
|
), r & /*endpoint*/
|
|
4022
|
-
1 &&
|
|
4020
|
+
1 && g(
|
|
4023
4021
|
t,
|
|
4024
4022
|
"endpoint",
|
|
4025
4023
|
/*endpoint*/
|
|
4026
4024
|
n[0]
|
|
4027
4025
|
), r & /*datasource*/
|
|
4028
|
-
2 &&
|
|
4026
|
+
2 && g(
|
|
4029
4027
|
t,
|
|
4030
4028
|
"datasource",
|
|
4031
4029
|
/*datasource*/
|
|
4032
4030
|
n[1]
|
|
4033
4031
|
), r & /*lang*/
|
|
4034
|
-
8 &&
|
|
4032
|
+
8 && g(
|
|
4035
4033
|
t,
|
|
4036
4034
|
"lang",
|
|
4037
4035
|
/*lang*/
|
|
4038
4036
|
n[3]
|
|
4039
4037
|
), r & /*currency*/
|
|
4040
|
-
4 &&
|
|
4038
|
+
4 && g(
|
|
4041
4039
|
t,
|
|
4042
4040
|
"currency",
|
|
4043
4041
|
/*currency*/
|
|
4044
4042
|
n[2]
|
|
4045
4043
|
), r & /*favorites*/
|
|
4046
|
-
32768 &&
|
|
4044
|
+
32768 && g(
|
|
4047
4045
|
t,
|
|
4048
4046
|
"favorites",
|
|
4049
4047
|
/*favorites*/
|
|
4050
4048
|
n[15]
|
|
4051
4049
|
), r & /*fetchviaevent*/
|
|
4052
|
-
131072 &&
|
|
4050
|
+
131072 && g(
|
|
4053
4051
|
t,
|
|
4054
4052
|
"fetchviaevent",
|
|
4055
4053
|
/*fetchviaevent*/
|
|
4056
4054
|
n[17]
|
|
4057
4055
|
), r & /*showgamename*/
|
|
4058
|
-
4096 &&
|
|
4056
|
+
4096 && g(
|
|
4059
4057
|
t,
|
|
4060
4058
|
"showgamename",
|
|
4061
4059
|
/*showgamename*/
|
|
4062
4060
|
n[12]
|
|
4063
4061
|
), r & /*clientstyling*/
|
|
4064
|
-
128 &&
|
|
4062
|
+
128 && g(
|
|
4065
4063
|
t,
|
|
4066
4064
|
"clientstyling",
|
|
4067
4065
|
/*clientstyling*/
|
|
4068
4066
|
n[7]
|
|
4069
4067
|
), r & /*clientstylingurl*/
|
|
4070
|
-
256 &&
|
|
4068
|
+
256 && g(
|
|
4071
4069
|
t,
|
|
4072
4070
|
"clientstylingurl",
|
|
4073
4071
|
/*clientstylingurl*/
|
|
4074
4072
|
n[8]
|
|
4075
4073
|
), r & /*livecasino*/
|
|
4076
|
-
512 &&
|
|
4074
|
+
512 && g(
|
|
4077
4075
|
t,
|
|
4078
4076
|
"livecasino",
|
|
4079
4077
|
/*livecasino*/
|
|
4080
4078
|
n[9]
|
|
4081
4079
|
), r & /*visiblegames*/
|
|
4082
|
-
16384 &&
|
|
4080
|
+
16384 && g(
|
|
4083
4081
|
t,
|
|
4084
4082
|
"visiblegames",
|
|
4085
4083
|
/*visiblegames*/
|
|
4086
4084
|
n[14]
|
|
4087
4085
|
), r & /*gamepagemodalurl*/
|
|
4088
|
-
8192 &&
|
|
4086
|
+
8192 && g(
|
|
4089
4087
|
t,
|
|
4090
4088
|
"gamepagemodalurl",
|
|
4091
4089
|
/*gamepagemodalurl*/
|
|
4092
4090
|
n[13]
|
|
4093
4091
|
), r & /*integratedgameframedesktop*/
|
|
4094
|
-
2048 &&
|
|
4092
|
+
2048 && g(
|
|
4095
4093
|
t,
|
|
4096
4094
|
"integratedgameframedesktop",
|
|
4097
4095
|
/*integratedgameframedesktop*/
|
|
4098
4096
|
n[11]
|
|
4099
4097
|
), r & /*integratedgameframemobile*/
|
|
4100
|
-
1024 &&
|
|
4098
|
+
1024 && g(
|
|
4101
4099
|
t,
|
|
4102
4100
|
"integratedgameframemobile",
|
|
4103
4101
|
/*integratedgameframemobile*/
|
|
4104
4102
|
n[10]
|
|
4105
4103
|
), r & /*casinomygames*/
|
|
4106
|
-
65536 &&
|
|
4104
|
+
65536 && g(
|
|
4107
4105
|
t,
|
|
4108
4106
|
"casinomygames",
|
|
4109
4107
|
/*casinomygames*/
|
|
4110
4108
|
n[16]
|
|
4111
4109
|
), r & /*mbsource*/
|
|
4112
|
-
64 &&
|
|
4110
|
+
64 && g(
|
|
4113
4111
|
t,
|
|
4114
4112
|
"mbsource",
|
|
4115
4113
|
/*mbsource*/
|
|
@@ -4124,7 +4122,7 @@ function tt(e) {
|
|
|
4124
4122
|
function Zr(e) {
|
|
4125
4123
|
let t, n = (
|
|
4126
4124
|
/*session*/
|
|
4127
|
-
e[4] &&
|
|
4125
|
+
e[4] && nt(e)
|
|
4128
4126
|
);
|
|
4129
4127
|
return {
|
|
4130
4128
|
c() {
|
|
@@ -4135,7 +4133,7 @@ function Zr(e) {
|
|
|
4135
4133
|
},
|
|
4136
4134
|
p(r, [i]) {
|
|
4137
4135
|
/*session*/
|
|
4138
|
-
r[4] ? n ? n.p(r, i) : (n =
|
|
4136
|
+
r[4] ? n ? n.p(r, i) : (n = nt(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4139
4137
|
},
|
|
4140
4138
|
i: N,
|
|
4141
4139
|
o: N,
|
|
@@ -4145,21 +4143,21 @@ function Zr(e) {
|
|
|
4145
4143
|
};
|
|
4146
4144
|
}
|
|
4147
4145
|
function Qr(e, t, n) {
|
|
4148
|
-
let { endpoint: r = "" } = 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:
|
|
4149
|
-
zr({ withLocale: "en", translations: {} }),
|
|
4146
|
+
let { endpoint: r = "" } = 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: P = "true" } = t, x;
|
|
4147
|
+
zr({ withLocale: "en", translations: {} }), Vt(() => () => {
|
|
4150
4148
|
});
|
|
4151
4149
|
function O(c) {
|
|
4152
4150
|
He[c ? "unshift" : "push"](() => {
|
|
4153
|
-
|
|
4151
|
+
x = c, n(18, x);
|
|
4154
4152
|
});
|
|
4155
4153
|
}
|
|
4156
4154
|
return e.$$set = (c) => {
|
|
4157
|
-
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, o = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, u = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12,
|
|
4155
|
+
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, o = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, u = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12, _ = c.showgamename), "gamepagemodalurl" in c && n(13, T = c.gamepagemodalurl), "visiblegames" in c && n(14, w = c.visiblegames), "favorites" in c && n(15, A = c.favorites), "casinomygames" in c && n(16, S = c.casinomygames), "fetchviaevent" in c && n(17, P = c.fetchviaevent);
|
|
4158
4156
|
}, e.$$.update = () => {
|
|
4159
4157
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4160
|
-
262272 && h &&
|
|
4161
|
-
262400 && m &&
|
|
4162
|
-
262208 && u &&
|
|
4158
|
+
262272 && h && x && kr(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4159
|
+
262400 && m && x && Vr(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4160
|
+
262208 && u && x && Xr(x, `${u}.Style`);
|
|
4163
4161
|
}, [
|
|
4164
4162
|
r,
|
|
4165
4163
|
i,
|
|
@@ -4173,24 +4171,24 @@ function Qr(e, t, n) {
|
|
|
4173
4171
|
f,
|
|
4174
4172
|
b,
|
|
4175
4173
|
y,
|
|
4176
|
-
|
|
4174
|
+
_,
|
|
4177
4175
|
T,
|
|
4178
4176
|
w,
|
|
4179
4177
|
A,
|
|
4180
4178
|
S,
|
|
4181
4179
|
P,
|
|
4182
|
-
|
|
4180
|
+
x,
|
|
4183
4181
|
O
|
|
4184
4182
|
];
|
|
4185
4183
|
}
|
|
4186
|
-
class
|
|
4184
|
+
class Mt extends Kt {
|
|
4187
4185
|
constructor(t) {
|
|
4188
|
-
super(),
|
|
4186
|
+
super(), Jt(
|
|
4189
4187
|
this,
|
|
4190
4188
|
t,
|
|
4191
4189
|
Qr,
|
|
4192
4190
|
Zr,
|
|
4193
|
-
|
|
4191
|
+
it,
|
|
4194
4192
|
{
|
|
4195
4193
|
endpoint: 0,
|
|
4196
4194
|
datasource: 1,
|
|
@@ -4323,10 +4321,10 @@ class Ct extends Yt {
|
|
|
4323
4321
|
this.$$set({ fetchviaevent: t }), H();
|
|
4324
4322
|
}
|
|
4325
4323
|
}
|
|
4326
|
-
|
|
4327
|
-
const
|
|
4324
|
+
Yt(Mt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4325
|
+
const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4328
4326
|
__proto__: null,
|
|
4329
|
-
default:
|
|
4327
|
+
default: Mt
|
|
4330
4328
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4331
4329
|
export {
|
|
4332
4330
|
M as $,
|
|
@@ -4335,9 +4333,9 @@ export {
|
|
|
4335
4333
|
Yr as C,
|
|
4336
4334
|
X as D,
|
|
4337
4335
|
ri as E,
|
|
4338
|
-
|
|
4336
|
+
gi as F,
|
|
4339
4337
|
qr as G,
|
|
4340
|
-
|
|
4338
|
+
g as H,
|
|
4341
4339
|
si as I,
|
|
4342
4340
|
ei as J,
|
|
4343
4341
|
ai as K,
|
|
@@ -4346,33 +4344,33 @@ export {
|
|
|
4346
4344
|
oi as N,
|
|
4347
4345
|
fi as O,
|
|
4348
4346
|
li as P,
|
|
4349
|
-
|
|
4350
|
-
|
|
4347
|
+
di as Q,
|
|
4348
|
+
Kt as S,
|
|
4351
4349
|
ci as _,
|
|
4352
4350
|
pe as a,
|
|
4353
4351
|
mi as b,
|
|
4354
4352
|
fe as c,
|
|
4355
4353
|
W as d,
|
|
4356
|
-
|
|
4354
|
+
dr as e,
|
|
4357
4355
|
H as f,
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4356
|
+
Yt as g,
|
|
4357
|
+
Ut as h,
|
|
4358
|
+
Jt as i,
|
|
4361
4359
|
te as j,
|
|
4362
4360
|
le as k,
|
|
4363
4361
|
ee as l,
|
|
4364
4362
|
Jr as m,
|
|
4365
4363
|
N as n,
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4364
|
+
Vt as o,
|
|
4365
|
+
Vr as p,
|
|
4366
|
+
He as q,
|
|
4367
|
+
kr as r,
|
|
4368
|
+
it as s,
|
|
4371
4369
|
Xr as t,
|
|
4372
4370
|
hi as u,
|
|
4373
|
-
|
|
4371
|
+
Ft as v,
|
|
4374
4372
|
Kr as w,
|
|
4375
|
-
|
|
4373
|
+
at as x,
|
|
4376
4374
|
Re as y,
|
|
4377
|
-
|
|
4375
|
+
$t as z
|
|
4378
4376
|
};
|