@everymatrix/casino-my-games 1.54.12 → 1.56.0
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-DFa1TY-K.js → CasinoFavoritesSection-BNJ8FZ2Z.js} +392 -359
- package/components/{CasinoFavoritesSection-dDLqd6y8.cjs → CasinoFavoritesSection-BnB1WVlG.cjs} +2 -2
- package/components/{CasinoFavoritesSection-BSrpzPoO.js → CasinoFavoritesSection-CtwvO2mm.js} +522 -489
- package/components/{CasinoFilter-D8jjwr_7.js → CasinoFilter-BZmSLiEq.js} +311 -316
- package/components/{CasinoFilter-BtJAqQRB.js → CasinoFilter-C6PIRw8H.js} +350 -357
- package/components/CasinoFilter-O1B9Ic_5.cjs +3 -0
- package/components/CasinoGameThumbnail-DMjUmGQ8.cjs +47 -0
- package/components/{CasinoGameThumbnail-pQqhkC7Q.js → CasinoGameThumbnail-k0S-8noY.js} +1193 -1198
- package/components/{CasinoGameThumbnail-yV7Rm_Ui.js → CasinoGameThumbnail-mxsJRLRW.js} +1194 -1199
- package/components/CasinoGamesCategorySection-CKOBbVv1.cjs +1 -0
- package/components/{CasinoGamesCategorySection-xskv0zFo.js → CasinoGamesCategorySection-Cg3CVEK8.js} +859 -833
- package/components/{CasinoGamesCategorySection-Dbfi-m_B.js → CasinoGamesCategorySection-Dm_e9SqI.js} +916 -890
- package/components/{CasinoLastPlayedSection-BLXlGapd.js → CasinoLastPlayedSection-B_YZj4TZ.js} +142 -133
- package/components/{CasinoLastPlayedSection-DkwXMSgA.js → CasinoLastPlayedSection-BcaypAg-.js} +142 -133
- package/components/CasinoLastPlayedSection-G0tfjnMC.cjs +1 -0
- package/components/{CasinoMostPlayedSection-CT_PdaLB.js → CasinoMostPlayedSection-A74n1tGV.js} +175 -166
- package/components/{CasinoMostPlayedSection-BBjfUegc.js → CasinoMostPlayedSection-Cg2DG6LN.js} +175 -166
- package/components/CasinoMostPlayedSection-CrlIEnLq.cjs +1 -0
- package/components/{CasinoMyGames-uW7RuFpw.js → CasinoMyGames-CXcl0POo.js} +391 -361
- package/components/CasinoMyGames-D7h8JPgu.cjs +1 -0
- package/components/{CasinoMyGames-Bgdjdiij.js → CasinoMyGames-DQDT9axq.js} +383 -353
- package/components/CasinoSort-BsZ0wT35.cjs +1 -0
- package/components/CasinoSort-CwgXXDVT.js +427 -0
- package/components/CasinoSort-D4fMwMUJ.js +428 -0
- 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 +1 -1
- package/components/CasinoFilter-BCpVzS08.cjs +0 -3
- package/components/CasinoGameThumbnail-CkzGRkKl.cjs +0 -47
- package/components/CasinoGamesCategorySection-D0rmwB17.cjs +0 -1
- package/components/CasinoLastPlayedSection-CX99f9jq.cjs +0 -1
- package/components/CasinoMostPlayedSection-B2QkJUiE.cjs +0 -1
- package/components/CasinoMyGames-CFtfMaFn.cjs +0 -1
- package/components/CasinoSort-B5_UOgHe.js +0 -431
- package/components/CasinoSort-BvqwQlDk.js +0 -432
- package/components/CasinoSort-een1drZj.cjs +0 -1
package/components/{CasinoFavoritesSection-DFa1TY-K.js → CasinoFavoritesSection-BNJ8FZ2Z.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function N() {
|
|
2
2
|
}
|
|
3
3
|
function tt(e) {
|
|
4
4
|
return e();
|
|
@@ -16,7 +16,7 @@ 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
22
|
function Lt(e) {
|
|
@@ -26,12 +26,12 @@ function nt(e, ...t) {
|
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return N;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function qn(e, t, r) {
|
|
35
35
|
e.$$.on_destroy.push(nt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function Ct(e, t) {
|
|
@@ -66,7 +66,7 @@ function le(e, t, r) {
|
|
|
66
66
|
function ee(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Jn(e, t) {
|
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
|
71
71
|
e[r] && e[r].d(t);
|
|
72
72
|
}
|
|
@@ -79,13 +79,13 @@ function Ut(e) {
|
|
|
79
79
|
function it(e) {
|
|
80
80
|
return document.createTextNode(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Yn() {
|
|
83
83
|
return it(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Kn() {
|
|
86
86
|
return it("");
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function ei(e, t, r, n) {
|
|
89
89
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
90
|
}
|
|
91
91
|
function Re(e, t, r) {
|
|
@@ -98,17 +98,17 @@ function g(e, t, r) {
|
|
|
98
98
|
function Dt(e) {
|
|
99
99
|
return Array.from(e.childNodes);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ti(e, t) {
|
|
102
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
103
|
t);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ri(e, t) {
|
|
106
106
|
e.value = t ?? "";
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ni(e, t, r) {
|
|
109
109
|
e.classList.toggle(t, !!r);
|
|
110
110
|
}
|
|
111
|
-
class
|
|
111
|
+
class ii {
|
|
112
112
|
/**
|
|
113
113
|
* @private
|
|
114
114
|
* @default false
|
|
@@ -195,7 +195,7 @@ function Ft() {
|
|
|
195
195
|
if (!J) throw new Error("Function called outside component initialization");
|
|
196
196
|
return J;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function jt(e) {
|
|
199
199
|
Ft().$$.on_mount.push(e);
|
|
200
200
|
}
|
|
201
201
|
const D = [], He = [];
|
|
@@ -205,7 +205,7 @@ let Te = !1;
|
|
|
205
205
|
function at() {
|
|
206
206
|
Te || (Te = !0, st.then(H));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function si() {
|
|
209
209
|
return at(), st;
|
|
210
210
|
}
|
|
211
211
|
function Se(e) {
|
|
@@ -221,7 +221,7 @@ function H() {
|
|
|
221
221
|
try {
|
|
222
222
|
for (; $ < D.length; ) {
|
|
223
223
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
224
|
+
$++, q(t), kt(t.$$);
|
|
225
225
|
}
|
|
226
226
|
} catch (t) {
|
|
227
227
|
throw D.length = 0, $ = 0, t;
|
|
@@ -237,53 +237,53 @@ function H() {
|
|
|
237
237
|
Ge.pop()();
|
|
238
238
|
Te = !1, be.clear(), q(e);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function kt(e) {
|
|
241
241
|
if (e.fragment !== null) {
|
|
242
242
|
e.update(), X(e.before_update);
|
|
243
243
|
const t = e.dirty;
|
|
244
244
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Vt(e) {
|
|
248
248
|
const t = [], r = [];
|
|
249
249
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
250
250
|
}
|
|
251
|
-
const
|
|
251
|
+
const Xt = /* @__PURE__ */ new Set();
|
|
252
252
|
function ot(e, t) {
|
|
253
|
-
e && e.i && (
|
|
253
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function ai(e) {
|
|
256
256
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function oi(e, t) {
|
|
259
259
|
e.d(1), t.delete(e.key);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
262
262
|
let f = e.length, b = s.length, y = f;
|
|
263
|
-
const
|
|
264
|
-
for (; y--; )
|
|
265
|
-
const T = [],
|
|
263
|
+
const _ = {};
|
|
264
|
+
for (; y--; ) _[e[y].key] = y;
|
|
265
|
+
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
266
266
|
for (y = b; y--; ) {
|
|
267
|
-
const
|
|
268
|
-
let
|
|
269
|
-
|
|
267
|
+
const c = m(i, s, y), I = r(c);
|
|
268
|
+
let L = a.get(I);
|
|
269
|
+
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]));
|
|
270
270
|
}
|
|
271
|
-
const
|
|
272
|
-
function
|
|
273
|
-
ot(
|
|
271
|
+
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
272
|
+
function O(c) {
|
|
273
|
+
ot(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
274
274
|
}
|
|
275
275
|
for (; f && b; ) {
|
|
276
|
-
const
|
|
277
|
-
|
|
276
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
277
|
+
c === I ? (h = c.first, f--, b--) : w.has(re) ? !a.has(L) || P.has(L) ? O(c) : x.has(re) ? f-- : A.get(L) > A.get(re) ? (x.add(L), O(c)) : (P.add(re), f--) : (l(I, a), f--);
|
|
278
278
|
}
|
|
279
279
|
for (; f--; ) {
|
|
280
|
-
const
|
|
281
|
-
|
|
280
|
+
const c = e[f];
|
|
281
|
+
w.has(c.key) || l(c, a);
|
|
282
282
|
}
|
|
283
|
-
for (; b; )
|
|
283
|
+
for (; b; ) O(T[b - 1]);
|
|
284
284
|
return X(S), T;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function zt(e, t, r) {
|
|
287
287
|
const { fragment: n, after_update: i } = e.$$;
|
|
288
288
|
n && n.m(t, r), Se(() => {
|
|
289
289
|
const s = e.$$.on_mount.map(tt).filter(Me);
|
|
@@ -292,12 +292,12 @@ function Xt(e, t, r) {
|
|
|
292
292
|
}
|
|
293
293
|
function Wt(e, t) {
|
|
294
294
|
const r = e.$$;
|
|
295
|
-
r.fragment !== null && (
|
|
295
|
+
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 = []);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Zt(e, t) {
|
|
298
298
|
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
301
301
|
const l = J;
|
|
302
302
|
q(e);
|
|
303
303
|
const u = e.$$ = {
|
|
@@ -305,7 +305,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
305
305
|
ctx: [],
|
|
306
306
|
// state
|
|
307
307
|
props: s,
|
|
308
|
-
update:
|
|
308
|
+
update: N,
|
|
309
309
|
not_equal: i,
|
|
310
310
|
bound: De(),
|
|
311
311
|
// lifecycle
|
|
@@ -323,16 +323,16 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
323
323
|
};
|
|
324
324
|
a && a(u.root);
|
|
325
325
|
let h = !1;
|
|
326
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
326
|
+
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
327
327
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[
|
|
328
|
+
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;
|
|
329
329
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
330
330
|
if (t.hydrate) {
|
|
331
|
-
const
|
|
332
|
-
u.fragment && u.fragment.l(
|
|
331
|
+
const m = Dt(t.target);
|
|
332
|
+
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
333
333
|
} else
|
|
334
334
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro && ot(e.$$.fragment),
|
|
335
|
+
t.intro && ot(e.$$.fragment), zt(e, t.target, t.anchor), H();
|
|
336
336
|
}
|
|
337
337
|
q(l);
|
|
338
338
|
}
|
|
@@ -483,7 +483,7 @@ function se(e, t, r, n) {
|
|
|
483
483
|
return t;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function qt(e, t, r, n, i, s) {
|
|
487
487
|
let a = class extends ut {
|
|
488
488
|
constructor() {
|
|
489
489
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -512,7 +512,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
512
512
|
}), e.element = /** @type {any} */
|
|
513
513
|
a, a;
|
|
514
514
|
}
|
|
515
|
-
class
|
|
515
|
+
class Jt {
|
|
516
516
|
/**
|
|
517
517
|
* ### PRIVATE API
|
|
518
518
|
*
|
|
@@ -531,7 +531,7 @@ class qt {
|
|
|
531
531
|
$$set = void 0;
|
|
532
532
|
/** @returns {void} */
|
|
533
533
|
$destroy() {
|
|
534
|
-
Wt(this, 1), this.$destroy =
|
|
534
|
+
Wt(this, 1), this.$destroy = N;
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
537
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -541,7 +541,7 @@ class qt {
|
|
|
541
541
|
*/
|
|
542
542
|
$on(t, r) {
|
|
543
543
|
if (!Me(r))
|
|
544
|
-
return
|
|
544
|
+
return N;
|
|
545
545
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
546
546
|
return n.push(r), () => {
|
|
547
547
|
const i = n.indexOf(r);
|
|
@@ -556,8 +556,8 @@ class qt {
|
|
|
556
556
|
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
559
|
+
const Yt = "4";
|
|
560
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
|
|
561
561
|
var Be = function(e, t) {
|
|
562
562
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
563
563
|
r.__proto__ = n;
|
|
@@ -583,7 +583,7 @@ var E = function() {
|
|
|
583
583
|
return t;
|
|
584
584
|
}, E.apply(this, arguments);
|
|
585
585
|
};
|
|
586
|
-
function
|
|
586
|
+
function Kt(e, t) {
|
|
587
587
|
var r = {};
|
|
588
588
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
589
589
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -591,7 +591,7 @@ function Yt(e, t) {
|
|
|
591
591
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
592
592
|
return r;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function hi(e) {
|
|
595
595
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
596
596
|
if (r) return r.call(e);
|
|
597
597
|
if (e && typeof e.length == "number") return {
|
|
@@ -601,7 +601,7 @@ function ai(e) {
|
|
|
601
601
|
};
|
|
602
602
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function li(e, t) {
|
|
605
605
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
606
606
|
if (!r) return e;
|
|
607
607
|
var n = r.call(e), i, s = [], a;
|
|
@@ -624,12 +624,12 @@ function pe(e, t, r) {
|
|
|
624
624
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
625
625
|
}
|
|
626
626
|
const U = [];
|
|
627
|
-
function
|
|
627
|
+
function er(e, t) {
|
|
628
628
|
return {
|
|
629
629
|
subscribe: ce(e, t).subscribe
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function ce(e, t =
|
|
632
|
+
function ce(e, t = N) {
|
|
633
633
|
let r;
|
|
634
634
|
const n = /* @__PURE__ */ new Set();
|
|
635
635
|
function i(o) {
|
|
@@ -647,86 +647,86 @@ function ce(e, t = I) {
|
|
|
647
647
|
function s(o) {
|
|
648
648
|
i(o(e));
|
|
649
649
|
}
|
|
650
|
-
function a(o, l =
|
|
650
|
+
function a(o, l = N) {
|
|
651
651
|
const u = [o, l];
|
|
652
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
652
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || N), o(e), () => {
|
|
653
653
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
return { set: i, update: s, subscribe: a };
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function z(e, t, r) {
|
|
659
659
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
660
660
|
if (!i.every(Boolean))
|
|
661
661
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
662
662
|
const s = t.length < 2;
|
|
663
|
-
return
|
|
663
|
+
return er(r, (a, o) => {
|
|
664
664
|
let l = !1;
|
|
665
665
|
const u = [];
|
|
666
|
-
let h = 0,
|
|
666
|
+
let h = 0, m = N;
|
|
667
667
|
const f = () => {
|
|
668
668
|
if (h)
|
|
669
669
|
return;
|
|
670
|
-
|
|
670
|
+
m();
|
|
671
671
|
const y = t(n ? u[0] : u, a, o);
|
|
672
|
-
s ? a(y) :
|
|
672
|
+
s ? a(y) : m = Me(y) ? y : N;
|
|
673
673
|
}, b = i.map(
|
|
674
|
-
(y,
|
|
674
|
+
(y, _) => nt(
|
|
675
675
|
y,
|
|
676
676
|
(T) => {
|
|
677
|
-
u[
|
|
677
|
+
u[_] = T, h &= ~(1 << _), l && f();
|
|
678
678
|
},
|
|
679
679
|
() => {
|
|
680
|
-
h |= 1 <<
|
|
680
|
+
h |= 1 << _;
|
|
681
681
|
}
|
|
682
682
|
)
|
|
683
683
|
);
|
|
684
684
|
return l = !0, f(), function() {
|
|
685
|
-
X(b),
|
|
685
|
+
X(b), m(), l = !1;
|
|
686
686
|
};
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function tr(e) {
|
|
690
690
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
691
691
|
}
|
|
692
|
-
var
|
|
693
|
-
return
|
|
692
|
+
var rr = function(t) {
|
|
693
|
+
return nr(t) && !ir(t);
|
|
694
694
|
};
|
|
695
|
-
function
|
|
695
|
+
function nr(e) {
|
|
696
696
|
return !!e && typeof e == "object";
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function ir(e) {
|
|
699
699
|
var t = Object.prototype.toString.call(e);
|
|
700
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
701
|
-
}
|
|
702
|
-
var ir = typeof Symbol == "function" && Symbol.for, sr = ir ? Symbol.for("react.element") : 60103;
|
|
703
|
-
function ar(e) {
|
|
704
|
-
return e.$$typeof === sr;
|
|
700
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
705
701
|
}
|
|
702
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
706
703
|
function or(e) {
|
|
704
|
+
return e.$$typeof === ar;
|
|
705
|
+
}
|
|
706
|
+
function ur(e) {
|
|
707
707
|
return Array.isArray(e) ? [] : {};
|
|
708
708
|
}
|
|
709
709
|
function Y(e, t) {
|
|
710
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
710
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function hr(e, t, r) {
|
|
713
713
|
return e.concat(t).map(function(n) {
|
|
714
714
|
return Y(n, r);
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function lr(e, t) {
|
|
718
718
|
if (!t.customMerge)
|
|
719
719
|
return F;
|
|
720
720
|
var r = t.customMerge(e);
|
|
721
721
|
return typeof r == "function" ? r : F;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function fr(e) {
|
|
724
724
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
725
725
|
return Object.propertyIsEnumerable.call(e, t);
|
|
726
726
|
}) : [];
|
|
727
727
|
}
|
|
728
728
|
function Fe(e) {
|
|
729
|
-
return Object.keys(e).concat(
|
|
729
|
+
return Object.keys(e).concat(fr(e));
|
|
730
730
|
}
|
|
731
731
|
function ht(e, t) {
|
|
732
732
|
try {
|
|
@@ -735,21 +735,21 @@ function ht(e, t) {
|
|
|
735
735
|
return !1;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function cr(e, t) {
|
|
739
739
|
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function mr(e, t, r) {
|
|
742
742
|
var n = {};
|
|
743
743
|
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
744
744
|
n[i] = Y(e[i], r);
|
|
745
745
|
}), Fe(t).forEach(function(i) {
|
|
746
|
-
|
|
746
|
+
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));
|
|
747
747
|
}), n;
|
|
748
748
|
}
|
|
749
749
|
function F(e, t, r) {
|
|
750
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
750
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
751
751
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
752
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
752
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
753
753
|
}
|
|
754
754
|
F.all = function(t, r) {
|
|
755
755
|
if (!Array.isArray(t))
|
|
@@ -758,20 +758,20 @@ F.all = function(t, r) {
|
|
|
758
758
|
return F(n, i, r);
|
|
759
759
|
}, {});
|
|
760
760
|
};
|
|
761
|
-
var
|
|
762
|
-
const
|
|
761
|
+
var gr = F, dr = gr;
|
|
762
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
763
763
|
function ye(e, t) {
|
|
764
|
-
var r = t && t.cache ? t.cache :
|
|
764
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : Er;
|
|
765
765
|
return i(e, {
|
|
766
766
|
cache: r,
|
|
767
767
|
serializer: n
|
|
768
768
|
});
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function pr(e) {
|
|
771
771
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
772
|
}
|
|
773
|
-
function
|
|
774
|
-
var i =
|
|
773
|
+
function yr(e, t, r, n) {
|
|
774
|
+
var i = pr(n) ? n : r(n), s = t.get(i);
|
|
775
775
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
776
776
|
}
|
|
777
777
|
function lt(e, t, r) {
|
|
@@ -781,16 +781,16 @@ function lt(e, t, r) {
|
|
|
781
781
|
function ft(e, t, r, n, i) {
|
|
782
782
|
return r.bind(t, e, n, i);
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
var r = e.length === 1 ?
|
|
784
|
+
function Er(e, t) {
|
|
785
|
+
var r = e.length === 1 ? yr : lt;
|
|
786
786
|
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function vr(e, t) {
|
|
789
789
|
return ft(e, this, lt, t.cache.create(), t.serializer);
|
|
790
790
|
}
|
|
791
|
-
var
|
|
791
|
+
var _r = function() {
|
|
792
792
|
return JSON.stringify(arguments);
|
|
793
|
-
},
|
|
793
|
+
}, xr = (
|
|
794
794
|
/** @class */
|
|
795
795
|
function() {
|
|
796
796
|
function e() {
|
|
@@ -802,12 +802,12 @@ var vr = function() {
|
|
|
802
802
|
this.cache[t] = r;
|
|
803
803
|
}, e;
|
|
804
804
|
}()
|
|
805
|
-
),
|
|
805
|
+
), Hr = {
|
|
806
806
|
create: function() {
|
|
807
|
-
return new
|
|
807
|
+
return new xr();
|
|
808
808
|
}
|
|
809
809
|
}, Ee = {
|
|
810
|
-
variadic:
|
|
810
|
+
variadic: vr
|
|
811
811
|
}, d;
|
|
812
812
|
(function(e) {
|
|
813
813
|
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";
|
|
@@ -823,7 +823,7 @@ var j;
|
|
|
823
823
|
function je(e) {
|
|
824
824
|
return e.type === v.literal;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Tr(e) {
|
|
827
827
|
return e.type === v.argument;
|
|
828
828
|
}
|
|
829
829
|
function ct(e) {
|
|
@@ -841,7 +841,7 @@ function dt(e) {
|
|
|
841
841
|
function bt(e) {
|
|
842
842
|
return e.type === v.plural;
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function Sr(e) {
|
|
845
845
|
return e.type === v.pound;
|
|
846
846
|
}
|
|
847
847
|
function pt(e) {
|
|
@@ -853,10 +853,10 @@ function yt(e) {
|
|
|
853
853
|
function Ae(e) {
|
|
854
854
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
855
855
|
}
|
|
856
|
-
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
857
|
-
function
|
|
856
|
+
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;
|
|
857
|
+
function Ar(e) {
|
|
858
858
|
var t = {};
|
|
859
|
-
return e.replace(
|
|
859
|
+
return e.replace(Br, function(r) {
|
|
860
860
|
var n = r.length;
|
|
861
861
|
switch (r[0]) {
|
|
862
862
|
case "G":
|
|
@@ -945,29 +945,29 @@ function Br(e) {
|
|
|
945
945
|
return "";
|
|
946
946
|
}), t;
|
|
947
947
|
}
|
|
948
|
-
var
|
|
949
|
-
function
|
|
948
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
949
|
+
function Pr(e) {
|
|
950
950
|
if (e.length === 0)
|
|
951
951
|
throw new Error("Number skeleton cannot be empty");
|
|
952
|
-
for (var t = e.split(
|
|
952
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
953
953
|
return f.length > 0;
|
|
954
954
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
955
955
|
var s = i[n], a = s.split("/");
|
|
956
956
|
if (a.length === 0)
|
|
957
957
|
throw new Error("Invalid number skeleton");
|
|
958
958
|
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
959
|
-
var
|
|
960
|
-
if (
|
|
959
|
+
var m = h[u];
|
|
960
|
+
if (m.length === 0)
|
|
961
961
|
throw new Error("Invalid number skeleton");
|
|
962
962
|
}
|
|
963
963
|
r.push({ stem: o, options: l });
|
|
964
964
|
}
|
|
965
965
|
return r;
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function Nr(e) {
|
|
968
968
|
return e.replace(/^(.*?)-/, "");
|
|
969
969
|
}
|
|
970
|
-
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
970
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
|
971
971
|
function Ve(e) {
|
|
972
972
|
var t = {};
|
|
973
973
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
|
@@ -1014,7 +1014,7 @@ function xt(e) {
|
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Ir(e) {
|
|
1018
1018
|
var t;
|
|
1019
1019
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1020
1020
|
notation: "engineering"
|
|
@@ -1032,7 +1032,7 @@ function Xe(e) {
|
|
|
1032
1032
|
var t = {}, r = xt(e);
|
|
1033
1033
|
return r || t;
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function Lr(e) {
|
|
1036
1036
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1037
1037
|
var i = n[r];
|
|
1038
1038
|
switch (i.stem) {
|
|
@@ -1056,7 +1056,7 @@ function Ir(e) {
|
|
|
1056
1056
|
continue;
|
|
1057
1057
|
case "measure-unit":
|
|
1058
1058
|
case "unit":
|
|
1059
|
-
t.style = "unit", t.unit =
|
|
1059
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1060
1060
|
continue;
|
|
1061
1061
|
case "compact-short":
|
|
1062
1062
|
case "K":
|
|
@@ -1118,11 +1118,11 @@ function Ir(e) {
|
|
|
1118
1118
|
case "integer-width":
|
|
1119
1119
|
if (i.options.length > 1)
|
|
1120
1120
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1121
|
-
i.options[0].replace(
|
|
1121
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1122
1122
|
if (u)
|
|
1123
1123
|
t.minimumIntegerDigits = h.length;
|
|
1124
1124
|
else {
|
|
1125
|
-
if (
|
|
1125
|
+
if (m && f)
|
|
1126
1126
|
throw new Error("We currently do not support maximum integer digits");
|
|
1127
1127
|
if (b)
|
|
1128
1128
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1138,8 +1138,8 @@ function Ir(e) {
|
|
|
1138
1138
|
if (ke.test(i.stem)) {
|
|
1139
1139
|
if (i.options.length > 1)
|
|
1140
1140
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1141
|
-
i.stem.replace(ke, function(l, u, h,
|
|
1142
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1141
|
+
i.stem.replace(ke, function(l, u, h, m, f, b) {
|
|
1142
|
+
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), "";
|
|
1143
1143
|
});
|
|
1144
1144
|
var s = i.options[0];
|
|
1145
1145
|
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
@@ -1151,7 +1151,7 @@ function Ir(e) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
var a = xt(i.stem);
|
|
1153
1153
|
a && (t = E(E({}, t), a));
|
|
1154
|
-
var o =
|
|
1154
|
+
var o = Ir(i.stem);
|
|
1155
1155
|
o && (t = E(E({}, t), o));
|
|
1156
1156
|
}
|
|
1157
1157
|
return t;
|
|
@@ -2571,13 +2571,13 @@ var ie = {
|
|
|
2571
2571
|
"h"
|
|
2572
2572
|
]
|
|
2573
2573
|
};
|
|
2574
|
-
function
|
|
2574
|
+
function Cr(e, t) {
|
|
2575
2575
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2576
2576
|
var i = e.charAt(n);
|
|
2577
2577
|
if (i === "j") {
|
|
2578
2578
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2579
2579
|
s++, n++;
|
|
2580
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2580
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2581
2581
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2582
2582
|
r += l;
|
|
2583
2583
|
for (; a-- > 0; )
|
|
@@ -2586,7 +2586,7 @@ function Lr(e, t) {
|
|
|
2586
2586
|
}
|
|
2587
2587
|
return r;
|
|
2588
2588
|
}
|
|
2589
|
-
function
|
|
2589
|
+
function Mr(e) {
|
|
2590
2590
|
var t = e.hourCycle;
|
|
2591
2591
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2592
2592
|
e.hourCycles && // @ts-ignore
|
|
@@ -2608,20 +2608,20 @@ function Cr(e) {
|
|
|
2608
2608
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2609
2609
|
return i[0];
|
|
2610
2610
|
}
|
|
2611
|
-
var ve,
|
|
2611
|
+
var ve, Rr = new RegExp("^".concat(Et.source, "*")), $r = new RegExp("".concat(Et.source, "*$"));
|
|
2612
2612
|
function p(e, t) {
|
|
2613
2613
|
return { start: e, end: t };
|
|
2614
2614
|
}
|
|
2615
|
-
var
|
|
2615
|
+
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) {
|
|
2616
2616
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2617
2617
|
}, we = !0;
|
|
2618
2618
|
try {
|
|
2619
|
-
var
|
|
2620
|
-
we = ((ve =
|
|
2619
|
+
var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2620
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2621
2621
|
} catch {
|
|
2622
2622
|
we = !1;
|
|
2623
2623
|
}
|
|
2624
|
-
var
|
|
2624
|
+
var ze = Ur ? (
|
|
2625
2625
|
// Native
|
|
2626
2626
|
function(t, r, n) {
|
|
2627
2627
|
return t.startsWith(r, n);
|
|
@@ -2631,7 +2631,7 @@ var We = $r ? (
|
|
|
2631
2631
|
function(t, r, n) {
|
|
2632
2632
|
return t.slice(n, n + r.length) === r;
|
|
2633
2633
|
}
|
|
2634
|
-
), Pe =
|
|
2634
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2635
2635
|
// IE11
|
|
2636
2636
|
function() {
|
|
2637
2637
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2643,9 +2643,9 @@ var We = $r ? (
|
|
|
2643
2643
|
}
|
|
2644
2644
|
return n;
|
|
2645
2645
|
}
|
|
2646
|
-
),
|
|
2646
|
+
), We = (
|
|
2647
2647
|
// native
|
|
2648
|
-
|
|
2648
|
+
Gr ? Object.fromEntries : (
|
|
2649
2649
|
// Ponyfill
|
|
2650
2650
|
function(t) {
|
|
2651
2651
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2655,7 +2655,7 @@ var We = $r ? (
|
|
|
2655
2655
|
return r;
|
|
2656
2656
|
}
|
|
2657
2657
|
)
|
|
2658
|
-
), Ht =
|
|
2658
|
+
), Ht = Fr ? (
|
|
2659
2659
|
// Native
|
|
2660
2660
|
function(t, r) {
|
|
2661
2661
|
return t.codePointAt(r);
|
|
@@ -2669,7 +2669,7 @@ var We = $r ? (
|
|
|
2669
2669
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2670
2670
|
}
|
|
2671
2671
|
}
|
|
2672
|
-
), Wr =
|
|
2672
|
+
), Wr = jr ? (
|
|
2673
2673
|
// Native
|
|
2674
2674
|
function(t) {
|
|
2675
2675
|
return t.trimStart();
|
|
@@ -2677,9 +2677,9 @@ var We = $r ? (
|
|
|
2677
2677
|
) : (
|
|
2678
2678
|
// Ponyfill
|
|
2679
2679
|
function(t) {
|
|
2680
|
-
return t.replace(
|
|
2680
|
+
return t.replace(Rr, "");
|
|
2681
2681
|
}
|
|
2682
|
-
),
|
|
2682
|
+
), Zr = kr ? (
|
|
2683
2683
|
// Native
|
|
2684
2684
|
function(t) {
|
|
2685
2685
|
return t.trimEnd();
|
|
@@ -2687,7 +2687,7 @@ var We = $r ? (
|
|
|
2687
2687
|
) : (
|
|
2688
2688
|
// Ponyfill
|
|
2689
2689
|
function(t) {
|
|
2690
|
-
return t.replace(
|
|
2690
|
+
return t.replace($r, "");
|
|
2691
2691
|
}
|
|
2692
2692
|
);
|
|
2693
2693
|
function Tt(e, t) {
|
|
@@ -2706,13 +2706,13 @@ if (we) {
|
|
|
2706
2706
|
Ne = function(t, r) {
|
|
2707
2707
|
for (var n = []; ; ) {
|
|
2708
2708
|
var i = Ht(t, r);
|
|
2709
|
-
if (i === void 0 || St(i) ||
|
|
2709
|
+
if (i === void 0 || St(i) || Yr(i))
|
|
2710
2710
|
break;
|
|
2711
2711
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2712
2712
|
}
|
|
2713
2713
|
return Pe.apply(void 0, n);
|
|
2714
2714
|
};
|
|
2715
|
-
var
|
|
2715
|
+
var Qr = (
|
|
2716
2716
|
/** @class */
|
|
2717
2717
|
function() {
|
|
2718
2718
|
function e(t, r) {
|
|
@@ -2794,7 +2794,7 @@ var Zr = (
|
|
|
2794
2794
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2795
2795
|
}, e.prototype.parseTagName = function() {
|
|
2796
2796
|
var t = this.offset();
|
|
2797
|
-
for (this.bump(); !this.isEOF() &&
|
|
2797
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2798
2798
|
this.bump();
|
|
2799
2799
|
return this.message.slice(t, this.offset());
|
|
2800
2800
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2823,7 +2823,7 @@ var Zr = (
|
|
|
2823
2823
|
};
|
|
2824
2824
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2825
2825
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2826
|
-
!
|
|
2826
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2827
2827
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2828
2828
|
if (this.isEOF() || this.char() !== 39)
|
|
2829
2829
|
return null;
|
|
@@ -2907,10 +2907,10 @@ var Zr = (
|
|
|
2907
2907
|
var u = null;
|
|
2908
2908
|
if (this.bumpIf(",")) {
|
|
2909
2909
|
this.bumpSpace();
|
|
2910
|
-
var h = this.clonePosition(),
|
|
2911
|
-
if (
|
|
2912
|
-
return
|
|
2913
|
-
var f =
|
|
2910
|
+
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2911
|
+
if (m.err)
|
|
2912
|
+
return m;
|
|
2913
|
+
var f = Zr(m.val);
|
|
2914
2914
|
if (f.length === 0)
|
|
2915
2915
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2916
2916
|
var b = p(h, this.clonePosition());
|
|
@@ -2919,28 +2919,28 @@ var Zr = (
|
|
|
2919
2919
|
var y = this.tryParseArgumentClose(i);
|
|
2920
2920
|
if (y.err)
|
|
2921
2921
|
return y;
|
|
2922
|
-
var
|
|
2923
|
-
if (u &&
|
|
2922
|
+
var _ = p(i, this.clonePosition());
|
|
2923
|
+
if (u && ze(u?.style, "::", 0)) {
|
|
2924
2924
|
var T = Wr(u.style.slice(2));
|
|
2925
2925
|
if (o === "number") {
|
|
2926
|
-
var
|
|
2927
|
-
return
|
|
2928
|
-
val: { type: v.number, value: n, location:
|
|
2926
|
+
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2927
|
+
return m.err ? m : {
|
|
2928
|
+
val: { type: v.number, value: n, location: _, style: m.val },
|
|
2929
2929
|
err: null
|
|
2930
2930
|
};
|
|
2931
2931
|
} else {
|
|
2932
2932
|
if (T.length === 0)
|
|
2933
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
2934
|
-
var
|
|
2935
|
-
this.locale && (
|
|
2933
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2934
|
+
var w = T;
|
|
2935
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2936
2936
|
var f = {
|
|
2937
2937
|
type: j.dateTime,
|
|
2938
|
-
pattern:
|
|
2938
|
+
pattern: w,
|
|
2939
2939
|
location: u.styleLocation,
|
|
2940
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2941
|
-
},
|
|
2940
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2941
|
+
}, A = o === "date" ? v.date : v.time;
|
|
2942
2942
|
return {
|
|
2943
|
-
val: { type:
|
|
2943
|
+
val: { type: A, value: n, location: _, style: f },
|
|
2944
2944
|
err: null
|
|
2945
2945
|
};
|
|
2946
2946
|
}
|
|
@@ -2949,7 +2949,7 @@ var Zr = (
|
|
|
2949
2949
|
val: {
|
|
2950
2950
|
type: o === "number" ? v.number : o === "date" ? v.date : v.time,
|
|
2951
2951
|
value: n,
|
|
2952
|
-
location:
|
|
2952
|
+
location: _,
|
|
2953
2953
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2954
2954
|
},
|
|
2955
2955
|
err: null
|
|
@@ -2962,39 +2962,39 @@ var Zr = (
|
|
|
2962
2962
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2963
2963
|
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
2964
2964
|
this.bumpSpace();
|
|
2965
|
-
var
|
|
2966
|
-
if (o !== "select" &&
|
|
2965
|
+
var P = this.parseIdentifierIfPossible(), x = 0;
|
|
2966
|
+
if (o !== "select" && P.value === "offset") {
|
|
2967
2967
|
if (!this.bumpIf(":"))
|
|
2968
2968
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
2969
2969
|
this.bumpSpace();
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
return
|
|
2973
|
-
this.bumpSpace(),
|
|
2970
|
+
var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2971
|
+
if (m.err)
|
|
2972
|
+
return m;
|
|
2973
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
2974
2974
|
}
|
|
2975
|
-
var
|
|
2976
|
-
if (
|
|
2977
|
-
return
|
|
2975
|
+
var O = this.tryParsePluralOrSelectOptions(t, o, r, P);
|
|
2976
|
+
if (O.err)
|
|
2977
|
+
return O;
|
|
2978
2978
|
var y = this.tryParseArgumentClose(i);
|
|
2979
2979
|
if (y.err)
|
|
2980
2980
|
return y;
|
|
2981
|
-
var
|
|
2981
|
+
var c = p(i, this.clonePosition());
|
|
2982
2982
|
return o === "select" ? {
|
|
2983
2983
|
val: {
|
|
2984
2984
|
type: v.select,
|
|
2985
2985
|
value: n,
|
|
2986
|
-
options:
|
|
2987
|
-
location:
|
|
2986
|
+
options: We(O.val),
|
|
2987
|
+
location: c
|
|
2988
2988
|
},
|
|
2989
2989
|
err: null
|
|
2990
2990
|
} : {
|
|
2991
2991
|
val: {
|
|
2992
2992
|
type: v.plural,
|
|
2993
2993
|
value: n,
|
|
2994
|
-
options:
|
|
2995
|
-
offset:
|
|
2994
|
+
options: We(O.val),
|
|
2995
|
+
offset: x,
|
|
2996
2996
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2997
|
-
location:
|
|
2997
|
+
location: c
|
|
2998
2998
|
},
|
|
2999
2999
|
err: null
|
|
3000
3000
|
};
|
|
@@ -3042,7 +3042,7 @@ var Zr = (
|
|
|
3042
3042
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3043
3043
|
var n = [];
|
|
3044
3044
|
try {
|
|
3045
|
-
n =
|
|
3045
|
+
n = Pr(t);
|
|
3046
3046
|
} catch {
|
|
3047
3047
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3048
3048
|
}
|
|
@@ -3051,19 +3051,19 @@ var Zr = (
|
|
|
3051
3051
|
type: j.number,
|
|
3052
3052
|
tokens: n,
|
|
3053
3053
|
location: r,
|
|
3054
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3054
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3055
3055
|
},
|
|
3056
3056
|
err: null
|
|
3057
3057
|
};
|
|
3058
3058
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3059
3059
|
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3060
3060
|
if (u.length === 0) {
|
|
3061
|
-
var
|
|
3061
|
+
var m = this.clonePosition();
|
|
3062
3062
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3063
3063
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3064
3064
|
if (f.err)
|
|
3065
3065
|
return f;
|
|
3066
|
-
h = p(
|
|
3066
|
+
h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
|
3067
3067
|
} else
|
|
3068
3068
|
break;
|
|
3069
3069
|
}
|
|
@@ -3076,9 +3076,9 @@ var Zr = (
|
|
|
3076
3076
|
var y = this.parseMessage(t + 1, r, n);
|
|
3077
3077
|
if (y.err)
|
|
3078
3078
|
return y;
|
|
3079
|
-
var
|
|
3080
|
-
if (
|
|
3081
|
-
return
|
|
3079
|
+
var _ = this.tryParseArgumentClose(b);
|
|
3080
|
+
if (_.err)
|
|
3081
|
+
return _;
|
|
3082
3082
|
o.push([
|
|
3083
3083
|
u,
|
|
3084
3084
|
{
|
|
@@ -3099,7 +3099,7 @@ var Zr = (
|
|
|
3099
3099
|
break;
|
|
3100
3100
|
}
|
|
3101
3101
|
var l = p(i, this.clonePosition());
|
|
3102
|
-
return s ? (a *= n,
|
|
3102
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3103
3103
|
}, e.prototype.offset = function() {
|
|
3104
3104
|
return this.position.offset;
|
|
3105
3105
|
}, e.prototype.isEOF = function() {
|
|
@@ -3133,7 +3133,7 @@ var Zr = (
|
|
|
3133
3133
|
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);
|
|
3134
3134
|
}
|
|
3135
3135
|
}, e.prototype.bumpIf = function(t) {
|
|
3136
|
-
if (
|
|
3136
|
+
if (ze(this.message, t, this.offset())) {
|
|
3137
3137
|
for (var r = 0; r < t.length; r++)
|
|
3138
3138
|
this.bump();
|
|
3139
3139
|
return !0;
|
|
@@ -3168,16 +3168,16 @@ var Zr = (
|
|
|
3168
3168
|
function Oe(e) {
|
|
3169
3169
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3170
3170
|
}
|
|
3171
|
-
function
|
|
3171
|
+
function qr(e) {
|
|
3172
3172
|
return Oe(e) || e === 47;
|
|
3173
3173
|
}
|
|
3174
|
-
function
|
|
3174
|
+
function Jr(e) {
|
|
3175
3175
|
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;
|
|
3176
3176
|
}
|
|
3177
3177
|
function St(e) {
|
|
3178
3178
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3179
3179
|
}
|
|
3180
|
-
function
|
|
3180
|
+
function Yr(e) {
|
|
3181
3181
|
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;
|
|
3182
3182
|
}
|
|
3183
3183
|
function Ie(e) {
|
|
@@ -3188,9 +3188,9 @@ function Ie(e) {
|
|
|
3188
3188
|
else ct(t) && yt(t.style) || (mt(t) || gt(t)) && Ae(t.style) ? delete t.style.location : pt(t) && Ie(t.children);
|
|
3189
3189
|
});
|
|
3190
3190
|
}
|
|
3191
|
-
function
|
|
3191
|
+
function Kr(e, t) {
|
|
3192
3192
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3193
|
-
var r = new
|
|
3193
|
+
var r = new Qr(e, t).parse();
|
|
3194
3194
|
if (r.err) {
|
|
3195
3195
|
var n = SyntaxError(d[r.err.kind]);
|
|
3196
3196
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3222,7 +3222,7 @@ var me = (
|
|
|
3222
3222
|
}
|
|
3223
3223
|
return t;
|
|
3224
3224
|
}(me)
|
|
3225
|
-
),
|
|
3225
|
+
), en = (
|
|
3226
3226
|
/** @class */
|
|
3227
3227
|
function(e) {
|
|
3228
3228
|
fe(t, e);
|
|
@@ -3231,7 +3231,7 @@ var me = (
|
|
|
3231
3231
|
}
|
|
3232
3232
|
return t;
|
|
3233
3233
|
}(me)
|
|
3234
|
-
),
|
|
3234
|
+
), tn = (
|
|
3235
3235
|
/** @class */
|
|
3236
3236
|
function(e) {
|
|
3237
3237
|
fe(t, e);
|
|
@@ -3240,24 +3240,24 @@ var me = (
|
|
|
3240
3240
|
}
|
|
3241
3241
|
return t;
|
|
3242
3242
|
}(me)
|
|
3243
|
-
),
|
|
3243
|
+
), B;
|
|
3244
3244
|
(function(e) {
|
|
3245
3245
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3246
|
-
})(
|
|
3247
|
-
function
|
|
3246
|
+
})(B || (B = {}));
|
|
3247
|
+
function rn(e) {
|
|
3248
3248
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3249
3249
|
var n = t[t.length - 1];
|
|
3250
|
-
return !n || n.type !==
|
|
3250
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3251
3251
|
}, []);
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3253
|
+
function nn(e) {
|
|
3254
3254
|
return typeof e == "function";
|
|
3255
3255
|
}
|
|
3256
3256
|
function ae(e, t, r, n, i, s, a) {
|
|
3257
3257
|
if (e.length === 1 && je(e[0]))
|
|
3258
3258
|
return [
|
|
3259
3259
|
{
|
|
3260
|
-
type:
|
|
3260
|
+
type: B.literal,
|
|
3261
3261
|
value: e[0].value
|
|
3262
3262
|
}
|
|
3263
3263
|
];
|
|
@@ -3265,25 +3265,25 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3265
3265
|
var h = u[l];
|
|
3266
3266
|
if (je(h)) {
|
|
3267
3267
|
o.push({
|
|
3268
|
-
type:
|
|
3268
|
+
type: B.literal,
|
|
3269
3269
|
value: h.value
|
|
3270
3270
|
});
|
|
3271
3271
|
continue;
|
|
3272
3272
|
}
|
|
3273
|
-
if (
|
|
3273
|
+
if (Sr(h)) {
|
|
3274
3274
|
typeof s == "number" && o.push({
|
|
3275
|
-
type:
|
|
3275
|
+
type: B.literal,
|
|
3276
3276
|
value: r.getNumberFormat(t).format(s)
|
|
3277
3277
|
});
|
|
3278
3278
|
continue;
|
|
3279
3279
|
}
|
|
3280
|
-
var
|
|
3281
|
-
if (!(i &&
|
|
3282
|
-
throw new
|
|
3283
|
-
var f = i[
|
|
3284
|
-
if (
|
|
3280
|
+
var m = h.value;
|
|
3281
|
+
if (!(i && m in i))
|
|
3282
|
+
throw new tn(m, a);
|
|
3283
|
+
var f = i[m];
|
|
3284
|
+
if (Tr(h)) {
|
|
3285
3285
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3286
|
-
type: typeof f == "string" ?
|
|
3286
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3287
3287
|
value: f
|
|
3288
3288
|
});
|
|
3289
3289
|
continue;
|
|
@@ -3291,7 +3291,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3291
3291
|
if (mt(h)) {
|
|
3292
3292
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3293
3293
|
o.push({
|
|
3294
|
-
type:
|
|
3294
|
+
type: B.literal,
|
|
3295
3295
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3296
3296
|
});
|
|
3297
3297
|
continue;
|
|
@@ -3299,7 +3299,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3299
3299
|
if (gt(h)) {
|
|
3300
3300
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3301
3301
|
o.push({
|
|
3302
|
-
type:
|
|
3302
|
+
type: B.literal,
|
|
3303
3303
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3304
3304
|
});
|
|
3305
3305
|
continue;
|
|
@@ -3307,22 +3307,22 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3307
3307
|
if (ct(h)) {
|
|
3308
3308
|
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3309
3309
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3310
|
-
type:
|
|
3310
|
+
type: B.literal,
|
|
3311
3311
|
value: r.getNumberFormat(t, b).format(f)
|
|
3312
3312
|
});
|
|
3313
3313
|
continue;
|
|
3314
3314
|
}
|
|
3315
3315
|
if (pt(h)) {
|
|
3316
|
-
var y = h.children,
|
|
3317
|
-
if (!
|
|
3318
|
-
throw new
|
|
3319
|
-
var
|
|
3320
|
-
return
|
|
3316
|
+
var y = h.children, _ = h.value, T = i[_];
|
|
3317
|
+
if (!nn(T))
|
|
3318
|
+
throw new en(_, "function", a);
|
|
3319
|
+
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3320
|
+
return x.value;
|
|
3321
3321
|
}));
|
|
3322
|
-
Array.isArray(
|
|
3322
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
3323
3323
|
return {
|
|
3324
|
-
type: typeof
|
|
3325
|
-
value:
|
|
3324
|
+
type: typeof x == "string" ? B.literal : B.object,
|
|
3325
|
+
value: x
|
|
3326
3326
|
};
|
|
3327
3327
|
}));
|
|
3328
3328
|
}
|
|
@@ -3340,8 +3340,8 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3340
3340
|
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3341
3341
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3342
3342
|
`, k.MISSING_INTL_API, a);
|
|
3343
|
-
var
|
|
3344
|
-
S = h.options[
|
|
3343
|
+
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3344
|
+
S = h.options[P] || h.options.other;
|
|
3345
3345
|
}
|
|
3346
3346
|
if (!S)
|
|
3347
3347
|
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
@@ -3349,16 +3349,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3349
3349
|
continue;
|
|
3350
3350
|
}
|
|
3351
3351
|
}
|
|
3352
|
-
return
|
|
3352
|
+
return rn(o);
|
|
3353
3353
|
}
|
|
3354
|
-
function
|
|
3354
|
+
function sn(e, t) {
|
|
3355
3355
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3356
3356
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3357
3357
|
}, {})) : e;
|
|
3358
3358
|
}
|
|
3359
|
-
function
|
|
3359
|
+
function an(e, t) {
|
|
3360
3360
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3361
|
-
return r[n] =
|
|
3361
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3362
3362
|
}, E({}, e)) : e;
|
|
3363
3363
|
}
|
|
3364
3364
|
function _e(e) {
|
|
@@ -3375,7 +3375,7 @@ function _e(e) {
|
|
|
3375
3375
|
}
|
|
3376
3376
|
};
|
|
3377
3377
|
}
|
|
3378
|
-
function
|
|
3378
|
+
function on(e) {
|
|
3379
3379
|
return e === void 0 && (e = {
|
|
3380
3380
|
number: {},
|
|
3381
3381
|
dateTime: {},
|
|
@@ -3407,7 +3407,7 @@ function an(e) {
|
|
|
3407
3407
|
})
|
|
3408
3408
|
};
|
|
3409
3409
|
}
|
|
3410
|
-
var
|
|
3410
|
+
var un = (
|
|
3411
3411
|
/** @class */
|
|
3412
3412
|
function() {
|
|
3413
3413
|
function e(t, r, n, i) {
|
|
@@ -3421,8 +3421,8 @@ var on = (
|
|
|
3421
3421
|
var u = s.formatToParts(l);
|
|
3422
3422
|
if (u.length === 1)
|
|
3423
3423
|
return u[0].value;
|
|
3424
|
-
var h = u.reduce(function(
|
|
3425
|
-
return !
|
|
3424
|
+
var h = u.reduce(function(m, f) {
|
|
3425
|
+
return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3426
3426
|
}, []);
|
|
3427
3427
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3428
3428
|
}, this.formatToParts = function(l) {
|
|
@@ -3439,13 +3439,13 @@ var on = (
|
|
|
3439
3439
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3440
3440
|
var a = i || {};
|
|
3441
3441
|
a.formatters;
|
|
3442
|
-
var o =
|
|
3442
|
+
var o = Kt(a, ["formatters"]);
|
|
3443
3443
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3444
3444
|
} else
|
|
3445
3445
|
this.ast = t;
|
|
3446
3446
|
if (!Array.isArray(this.ast))
|
|
3447
3447
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3448
|
-
this.formats =
|
|
3448
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3449
3449
|
}
|
|
3450
3450
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3451
3451
|
get: function() {
|
|
@@ -3458,7 +3458,7 @@ var on = (
|
|
|
3458
3458
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3459
3459
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3460
3460
|
}
|
|
3461
|
-
}, e.__parse =
|
|
3461
|
+
}, e.__parse = Kr, e.formats = {
|
|
3462
3462
|
number: {
|
|
3463
3463
|
integer: {
|
|
3464
3464
|
maximumFractionDigits: 0
|
|
@@ -3519,7 +3519,7 @@ var on = (
|
|
|
3519
3519
|
}, e;
|
|
3520
3520
|
}()
|
|
3521
3521
|
);
|
|
3522
|
-
function
|
|
3522
|
+
function hn(e, t) {
|
|
3523
3523
|
if (t == null)
|
|
3524
3524
|
return;
|
|
3525
3525
|
if (t in e)
|
|
@@ -3540,33 +3540,33 @@ function un(e, t) {
|
|
|
3540
3540
|
n = void 0;
|
|
3541
3541
|
return n;
|
|
3542
3542
|
}
|
|
3543
|
-
const C = {},
|
|
3543
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
|
|
3544
3544
|
if (t == null)
|
|
3545
3545
|
return;
|
|
3546
3546
|
if (t in C && e in C[t])
|
|
3547
3547
|
return C[t][e];
|
|
3548
3548
|
const r = ge(t);
|
|
3549
3549
|
for (let n = 0; n < r.length; n++) {
|
|
3550
|
-
const i = r[n], s =
|
|
3550
|
+
const i = r[n], s = cn(i, e);
|
|
3551
3551
|
if (s)
|
|
3552
|
-
return
|
|
3552
|
+
return ln(e, t, s);
|
|
3553
3553
|
}
|
|
3554
3554
|
};
|
|
3555
3555
|
let $e;
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3556
|
+
const W = ce({});
|
|
3557
|
+
function fn(e) {
|
|
3558
3558
|
return $e[e] || null;
|
|
3559
3559
|
}
|
|
3560
3560
|
function At(e) {
|
|
3561
3561
|
return e in $e;
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3563
|
+
function cn(e, t) {
|
|
3564
3564
|
if (!At(e))
|
|
3565
3565
|
return null;
|
|
3566
|
-
const r =
|
|
3567
|
-
return
|
|
3566
|
+
const r = fn(e);
|
|
3567
|
+
return hn(r, t);
|
|
3568
3568
|
}
|
|
3569
|
-
function
|
|
3569
|
+
function mn(e) {
|
|
3570
3570
|
if (e == null)
|
|
3571
3571
|
return;
|
|
3572
3572
|
const t = ge(e);
|
|
@@ -3576,22 +3576,22 @@ function cn(e) {
|
|
|
3576
3576
|
return n;
|
|
3577
3577
|
}
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3580
|
-
delete C[e],
|
|
3579
|
+
function gn(e, ...t) {
|
|
3580
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3581
3581
|
}
|
|
3582
|
-
|
|
3583
|
-
[
|
|
3582
|
+
z(
|
|
3583
|
+
[W],
|
|
3584
3584
|
([e]) => Object.keys(e)
|
|
3585
3585
|
);
|
|
3586
|
-
|
|
3586
|
+
W.subscribe((e) => $e = e);
|
|
3587
3587
|
const oe = {};
|
|
3588
|
-
function
|
|
3588
|
+
function dn(e, t) {
|
|
3589
3589
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3590
3590
|
}
|
|
3591
3591
|
function wt(e) {
|
|
3592
3592
|
return oe[e];
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function bn(e) {
|
|
3595
3595
|
return ge(e).map((t) => {
|
|
3596
3596
|
const r = wt(t);
|
|
3597
3597
|
return [t, r ? [...r] : []];
|
|
@@ -3605,19 +3605,19 @@ function Le(e) {
|
|
|
3605
3605
|
}
|
|
3606
3606
|
);
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3608
|
+
function pn(e, t) {
|
|
3609
3609
|
return Promise.all(
|
|
3610
|
-
t.map((n) => (
|
|
3611
|
-
).then((n) =>
|
|
3610
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3611
|
+
).then((n) => gn(e, ...n));
|
|
3612
3612
|
}
|
|
3613
3613
|
const Q = {};
|
|
3614
3614
|
function Pt(e) {
|
|
3615
3615
|
if (!Le(e))
|
|
3616
3616
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3617
|
-
const t =
|
|
3617
|
+
const t = bn(e);
|
|
3618
3618
|
return Q[e] = Promise.all(
|
|
3619
3619
|
t.map(
|
|
3620
|
-
([r, n]) =>
|
|
3620
|
+
([r, n]) => pn(r, n)
|
|
3621
3621
|
)
|
|
3622
3622
|
).then(() => {
|
|
3623
3623
|
if (Le(e))
|
|
@@ -3625,7 +3625,7 @@ function Pt(e) {
|
|
|
3625
3625
|
delete Q[e];
|
|
3626
3626
|
}), Q[e];
|
|
3627
3627
|
}
|
|
3628
|
-
const
|
|
3628
|
+
const yn = {
|
|
3629
3629
|
number: {
|
|
3630
3630
|
scientific: { notation: "scientific" },
|
|
3631
3631
|
engineering: { notation: "engineering" },
|
|
@@ -3654,26 +3654,26 @@ const pn = {
|
|
|
3654
3654
|
timeZoneName: "short"
|
|
3655
3655
|
}
|
|
3656
3656
|
}
|
|
3657
|
-
},
|
|
3657
|
+
}, En = {
|
|
3658
3658
|
fallbackLocale: null,
|
|
3659
3659
|
loadingDelay: 200,
|
|
3660
|
-
formats:
|
|
3660
|
+
formats: yn,
|
|
3661
3661
|
warnOnMissingMessages: !0,
|
|
3662
3662
|
handleMissingMessage: void 0,
|
|
3663
3663
|
ignoreTag: !0
|
|
3664
|
-
},
|
|
3664
|
+
}, vn = En;
|
|
3665
3665
|
function V() {
|
|
3666
|
-
return
|
|
3666
|
+
return vn;
|
|
3667
3667
|
}
|
|
3668
3668
|
const xe = ce(!1);
|
|
3669
|
-
var
|
|
3669
|
+
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) => {
|
|
3670
3670
|
for (var r in t || (t = {}))
|
|
3671
|
-
|
|
3671
|
+
Tn.call(t, r) && Je(e, r, t[r]);
|
|
3672
3672
|
if (qe)
|
|
3673
3673
|
for (var r of qe(t))
|
|
3674
|
-
|
|
3674
|
+
Sn.call(t, r) && Je(e, r, t[r]);
|
|
3675
3675
|
return e;
|
|
3676
|
-
},
|
|
3676
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3677
3677
|
let Ce;
|
|
3678
3678
|
const ue = ce(null);
|
|
3679
3679
|
function Ye(e) {
|
|
@@ -3689,8 +3689,8 @@ function R() {
|
|
|
3689
3689
|
ue.subscribe((e) => {
|
|
3690
3690
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3691
3691
|
});
|
|
3692
|
-
const
|
|
3693
|
-
if (e &&
|
|
3692
|
+
const wn = (e) => {
|
|
3693
|
+
if (e && mn(e) && Le(e)) {
|
|
3694
3694
|
const { loadingDelay: t } = V();
|
|
3695
3695
|
let r;
|
|
3696
3696
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
@@ -3703,8 +3703,8 @@ const An = (e) => {
|
|
|
3703
3703
|
});
|
|
3704
3704
|
}
|
|
3705
3705
|
return ue.set(e);
|
|
3706
|
-
}, M = Bn(
|
|
3707
|
-
set:
|
|
3706
|
+
}, M = An(Bn({}, ue), {
|
|
3707
|
+
set: wn
|
|
3708
3708
|
}), de = (e) => {
|
|
3709
3709
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3710
3710
|
return (n) => {
|
|
@@ -3712,7 +3712,7 @@ const An = (e) => {
|
|
|
3712
3712
|
return i in t ? t[i] : t[i] = e(n);
|
|
3713
3713
|
};
|
|
3714
3714
|
};
|
|
3715
|
-
var
|
|
3715
|
+
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) => {
|
|
3716
3716
|
for (var r in t || (t = {}))
|
|
3717
3717
|
Nt.call(t, r) && Ke(e, r, t[r]);
|
|
3718
3718
|
if (he)
|
|
@@ -3733,21 +3733,21 @@ const K = (e, t) => {
|
|
|
3733
3733
|
if (e in r && t in r[e])
|
|
3734
3734
|
return r[e][t];
|
|
3735
3735
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3736
|
-
},
|
|
3736
|
+
}, Nn = de(
|
|
3737
3737
|
(e) => {
|
|
3738
3738
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3739
3739
|
if (r == null)
|
|
3740
3740
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3741
3741
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3742
3742
|
}
|
|
3743
|
-
),
|
|
3743
|
+
), On = de(
|
|
3744
3744
|
(e) => {
|
|
3745
3745
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3746
3746
|
if (r == null)
|
|
3747
3747
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3748
3748
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3749
3749
|
}
|
|
3750
|
-
),
|
|
3750
|
+
), In = de(
|
|
3751
3751
|
(e) => {
|
|
3752
3752
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3753
3753
|
if (r == null)
|
|
@@ -3756,33 +3756,33 @@ const K = (e, t) => {
|
|
|
3756
3756
|
);
|
|
3757
3757
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3758
3758
|
}
|
|
3759
|
-
),
|
|
3759
|
+
), Ln = (e = {}) => {
|
|
3760
3760
|
var t = e, {
|
|
3761
3761
|
locale: r = R()
|
|
3762
3762
|
} = t, n = Z(t, [
|
|
3763
3763
|
"locale"
|
|
3764
3764
|
]);
|
|
3765
|
-
return
|
|
3766
|
-
},
|
|
3765
|
+
return Nn(Ue({ locale: r }, n));
|
|
3766
|
+
}, Cn = (e = {}) => {
|
|
3767
3767
|
var t = e, {
|
|
3768
3768
|
locale: r = R()
|
|
3769
3769
|
} = t, n = Z(t, [
|
|
3770
3770
|
"locale"
|
|
3771
3771
|
]);
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3772
|
+
return On(Ue({ locale: r }, n));
|
|
3773
|
+
}, Mn = (e = {}) => {
|
|
3774
3774
|
var t = e, {
|
|
3775
3775
|
locale: r = R()
|
|
3776
3776
|
} = t, n = Z(t, [
|
|
3777
3777
|
"locale"
|
|
3778
3778
|
]);
|
|
3779
|
-
return
|
|
3780
|
-
},
|
|
3779
|
+
return In(Ue({ locale: r }, n));
|
|
3780
|
+
}, Rn = de(
|
|
3781
3781
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3782
|
-
(e, t = R()) => new
|
|
3782
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3783
3783
|
ignoreTag: V().ignoreTag
|
|
3784
3784
|
})
|
|
3785
|
-
),
|
|
3785
|
+
), $n = (e, t = {}) => {
|
|
3786
3786
|
var r, n, i, s;
|
|
3787
3787
|
let a = t;
|
|
3788
3788
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3804,24 +3804,47 @@ const K = (e, t) => {
|
|
|
3804
3804
|
), h;
|
|
3805
3805
|
if (!o)
|
|
3806
3806
|
return h;
|
|
3807
|
-
let
|
|
3807
|
+
let m = h;
|
|
3808
3808
|
try {
|
|
3809
|
-
|
|
3809
|
+
m = Rn(h, l).format(o);
|
|
3810
3810
|
} catch (f) {
|
|
3811
3811
|
f instanceof Error && console.warn(
|
|
3812
3812
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3813
3813
|
f.message
|
|
3814
3814
|
);
|
|
3815
3815
|
}
|
|
3816
|
-
return
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3816
|
+
return m;
|
|
3817
|
+
}, 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), fi = z([M, W], () => $n);
|
|
3818
|
+
z([M], () => Un);
|
|
3819
|
+
z([M], () => Dn);
|
|
3820
|
+
z([M], () => Gn);
|
|
3821
|
+
z([M, W], () => Fn);
|
|
3822
|
+
function jn(e, t) {
|
|
3823
|
+
if (e) {
|
|
3824
|
+
const r = document.createElement("style");
|
|
3825
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3826
|
+
}
|
|
3827
|
+
}
|
|
3828
|
+
function kn(e, t) {
|
|
3829
|
+
const r = new URL(t);
|
|
3830
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3831
|
+
const i = document.createElement("style");
|
|
3832
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3833
|
+
}).catch((n) => {
|
|
3834
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3835
|
+
});
|
|
3836
|
+
}
|
|
3837
|
+
function Vn(e, t, r) {
|
|
3838
|
+
if (window.emMessageBus) {
|
|
3839
|
+
const n = document.createElement("style");
|
|
3840
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
3841
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3842
|
+
});
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
function Xn({ withLocale: e, translations: t }) {
|
|
3823
3846
|
M.subscribe((r) => {
|
|
3824
|
-
r == null && (
|
|
3847
|
+
r == null && (W.set(t), M.set(e));
|
|
3825
3848
|
});
|
|
3826
3849
|
}
|
|
3827
3850
|
if (typeof window < "u") {
|
|
@@ -3836,12 +3859,12 @@ if (typeof window < "u") {
|
|
|
3836
3859
|
}
|
|
3837
3860
|
};
|
|
3838
3861
|
};
|
|
3839
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3862
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Cg3CVEK8.js").then(({ default: t }) => {
|
|
3840
3863
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3841
3864
|
});
|
|
3842
3865
|
}
|
|
3843
|
-
function
|
|
3844
|
-
Mt(e, "svelte-
|
|
3866
|
+
function zn(e) {
|
|
3867
|
+
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))}");
|
|
3845
3868
|
}
|
|
3846
3869
|
function et(e) {
|
|
3847
3870
|
let t;
|
|
@@ -3887,6 +3910,11 @@ function et(e) {
|
|
|
3887
3910
|
"fetchviaevent",
|
|
3888
3911
|
/*fetchviaevent*/
|
|
3889
3912
|
e[16]
|
|
3913
|
+
), g(
|
|
3914
|
+
t,
|
|
3915
|
+
"mbsource",
|
|
3916
|
+
/*mbsource*/
|
|
3917
|
+
e[17]
|
|
3890
3918
|
), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
|
|
3891
3919
|
t,
|
|
3892
3920
|
"showgamename",
|
|
@@ -3986,6 +4014,12 @@ function et(e) {
|
|
|
3986
4014
|
"fetchviaevent",
|
|
3987
4015
|
/*fetchviaevent*/
|
|
3988
4016
|
r[16]
|
|
4017
|
+
), n & /*mbsource*/
|
|
4018
|
+
131072 && g(
|
|
4019
|
+
t,
|
|
4020
|
+
"mbsource",
|
|
4021
|
+
/*mbsource*/
|
|
4022
|
+
r[17]
|
|
3989
4023
|
), n & /*showgamename*/
|
|
3990
4024
|
2048 && g(
|
|
3991
4025
|
t,
|
|
@@ -4047,7 +4081,7 @@ function et(e) {
|
|
|
4047
4081
|
}
|
|
4048
4082
|
};
|
|
4049
4083
|
}
|
|
4050
|
-
function
|
|
4084
|
+
function Wn(e) {
|
|
4051
4085
|
let t, r = (
|
|
4052
4086
|
/*session*/
|
|
4053
4087
|
e[4] && et(e)
|
|
@@ -4057,47 +4091,35 @@ function kn(e) {
|
|
|
4057
4091
|
t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4058
4092
|
},
|
|
4059
4093
|
m(n, i) {
|
|
4060
|
-
le(n, t, i), r && r.m(t, null), e[
|
|
4094
|
+
le(n, t, i), r && r.m(t, null), e[19](t);
|
|
4061
4095
|
},
|
|
4062
4096
|
p(n, [i]) {
|
|
4063
4097
|
/*session*/
|
|
4064
4098
|
n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4065
4099
|
},
|
|
4066
|
-
i:
|
|
4067
|
-
o:
|
|
4100
|
+
i: N,
|
|
4101
|
+
o: N,
|
|
4068
4102
|
d(n) {
|
|
4069
|
-
n && ee(t), r && r.d(), e[
|
|
4103
|
+
n && ee(t), r && r.d(), e[19](null);
|
|
4070
4104
|
}
|
|
4071
4105
|
};
|
|
4072
4106
|
}
|
|
4073
|
-
function
|
|
4074
|
-
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:
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
let m = document.createElement("style");
|
|
4081
|
-
fetch(new URL(h)).then((w) => w.text()).then((w) => {
|
|
4082
|
-
m.innerHTML = w, setTimeout(
|
|
4083
|
-
() => {
|
|
4084
|
-
B.appendChild(m);
|
|
4085
|
-
},
|
|
4086
|
-
1
|
|
4087
|
-
);
|
|
4088
|
-
});
|
|
4089
|
-
};
|
|
4090
|
-
function _(m) {
|
|
4091
|
-
He[m ? "unshift" : "push"](() => {
|
|
4092
|
-
B = m, r(17, B);
|
|
4107
|
+
function Zn(e, t, r) {
|
|
4108
|
+
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;
|
|
4109
|
+
Xn({ withLocale: "en", translations: {} }), jt(() => () => {
|
|
4110
|
+
});
|
|
4111
|
+
function O(c) {
|
|
4112
|
+
He[c ? "unshift" : "push"](() => {
|
|
4113
|
+
x = c, r(18, x);
|
|
4093
4114
|
});
|
|
4094
4115
|
}
|
|
4095
|
-
return e.$$set = (
|
|
4096
|
-
"endpoint" in
|
|
4116
|
+
return e.$$set = (c) => {
|
|
4117
|
+
"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);
|
|
4097
4118
|
}, e.$$.update = () => {
|
|
4098
4119
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4099
|
-
|
|
4100
|
-
|
|
4120
|
+
262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4121
|
+
262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4122
|
+
393216 && x && Vn(x, `${P}.Style`);
|
|
4101
4123
|
}, [
|
|
4102
4124
|
n,
|
|
4103
4125
|
i,
|
|
@@ -4107,26 +4129,27 @@ function Vn(e, t, r) {
|
|
|
4107
4129
|
l,
|
|
4108
4130
|
u,
|
|
4109
4131
|
h,
|
|
4110
|
-
|
|
4132
|
+
m,
|
|
4111
4133
|
f,
|
|
4112
4134
|
b,
|
|
4113
4135
|
y,
|
|
4114
|
-
|
|
4136
|
+
_,
|
|
4115
4137
|
T,
|
|
4116
|
-
|
|
4117
|
-
|
|
4138
|
+
w,
|
|
4139
|
+
A,
|
|
4118
4140
|
S,
|
|
4119
|
-
|
|
4120
|
-
|
|
4141
|
+
P,
|
|
4142
|
+
x,
|
|
4143
|
+
O
|
|
4121
4144
|
];
|
|
4122
4145
|
}
|
|
4123
|
-
class It extends
|
|
4146
|
+
class It extends Jt {
|
|
4124
4147
|
constructor(t) {
|
|
4125
|
-
super(),
|
|
4148
|
+
super(), Qt(
|
|
4126
4149
|
this,
|
|
4127
4150
|
t,
|
|
4128
|
-
|
|
4129
|
-
|
|
4151
|
+
Zn,
|
|
4152
|
+
Wn,
|
|
4130
4153
|
rt,
|
|
4131
4154
|
{
|
|
4132
4155
|
endpoint: 0,
|
|
@@ -4145,9 +4168,10 @@ class It extends qt {
|
|
|
4145
4168
|
visiblegames: 13,
|
|
4146
4169
|
favorites: 14,
|
|
4147
4170
|
casinomygames: 15,
|
|
4148
|
-
fetchviaevent: 16
|
|
4171
|
+
fetchviaevent: 16,
|
|
4172
|
+
mbsource: 17
|
|
4149
4173
|
},
|
|
4150
|
-
|
|
4174
|
+
zn
|
|
4151
4175
|
);
|
|
4152
4176
|
}
|
|
4153
4177
|
get endpoint() {
|
|
@@ -4252,52 +4276,61 @@ class It extends qt {
|
|
|
4252
4276
|
set fetchviaevent(t) {
|
|
4253
4277
|
this.$$set({ fetchviaevent: t }), H();
|
|
4254
4278
|
}
|
|
4279
|
+
get mbsource() {
|
|
4280
|
+
return this.$$.ctx[17];
|
|
4281
|
+
}
|
|
4282
|
+
set mbsource(t) {
|
|
4283
|
+
this.$$set({ mbsource: t }), H();
|
|
4284
|
+
}
|
|
4255
4285
|
}
|
|
4256
|
-
|
|
4257
|
-
const
|
|
4286
|
+
qt(It, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4287
|
+
const ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4258
4288
|
__proto__: null,
|
|
4259
4289
|
default: It
|
|
4260
4290
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4261
4291
|
export {
|
|
4262
4292
|
M as $,
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4293
|
+
ri as A,
|
|
4294
|
+
Qn as B,
|
|
4295
|
+
jn as C,
|
|
4296
|
+
kn as D,
|
|
4297
|
+
Vn as E,
|
|
4298
|
+
qt as F,
|
|
4299
|
+
fi as G,
|
|
4300
|
+
ni as H,
|
|
4301
|
+
Kn as I,
|
|
4302
|
+
ii as J,
|
|
4303
|
+
si as K,
|
|
4304
|
+
ui as L,
|
|
4305
|
+
g as M,
|
|
4306
|
+
oi as N,
|
|
4307
|
+
ci as O,
|
|
4308
|
+
Jt as S,
|
|
4309
|
+
hi as _,
|
|
4277
4310
|
pe as a,
|
|
4278
|
-
|
|
4311
|
+
li as b,
|
|
4279
4312
|
fe as c,
|
|
4280
|
-
|
|
4281
|
-
|
|
4313
|
+
W as d,
|
|
4314
|
+
gn as e,
|
|
4282
4315
|
H as f,
|
|
4283
4316
|
Mt as g,
|
|
4284
4317
|
ee as h,
|
|
4285
|
-
|
|
4318
|
+
Qt as i,
|
|
4286
4319
|
le as j,
|
|
4287
4320
|
te as k,
|
|
4288
|
-
|
|
4321
|
+
qn as l,
|
|
4289
4322
|
He as m,
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4323
|
+
N as n,
|
|
4324
|
+
jt as o,
|
|
4325
|
+
ti as p,
|
|
4293
4326
|
Ct as q,
|
|
4294
4327
|
Re as r,
|
|
4295
4328
|
rt as s,
|
|
4296
4329
|
it as t,
|
|
4297
|
-
|
|
4298
|
-
|
|
4330
|
+
ai as u,
|
|
4331
|
+
Jn as v,
|
|
4299
4332
|
X as w,
|
|
4300
|
-
|
|
4333
|
+
ei as x,
|
|
4301
4334
|
Ut as y,
|
|
4302
|
-
|
|
4335
|
+
Yn as z
|
|
4303
4336
|
};
|