@everymatrix/casino-my-games 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-Cr_1p8p4.js → CasinoFavoritesSection-BGmUeoZr.js} +264 -233
- package/components/CasinoFavoritesSection-Byczc8FW.cjs +16 -0
- package/components/{CasinoFavoritesSection-DIoOe8bF.js → CasinoFavoritesSection-mn2Y-wMO.js} +738 -707
- package/components/{CasinoFilter-96hImlbp.js → CasinoFilter-By_cuoyd.js} +15 -8
- package/components/{CasinoFilter-ClaGlN0C.cjs → CasinoFilter-C-SGDJ8O.cjs} +1 -1
- package/components/{CasinoFilter-BAXN5UNP.js → CasinoFilter-Cp7Swcep.js} +15 -8
- package/components/CasinoGameThumbnail-6efBomSe.cjs +47 -0
- package/components/{CasinoGameThumbnail-C1DChbwh.js → CasinoGameThumbnail-BooCvugN.js} +1156 -1189
- package/components/{CasinoGameThumbnail-Dn6CswCt.js → CasinoGameThumbnail-Dmta-d1M.js} +1354 -1419
- package/components/CasinoGamesCategorySection-BqhHrsuK.cjs +1 -0
- package/components/{CasinoGamesCategorySection-NzZcepd8.js → CasinoGamesCategorySection-Bu_dTPEa.js} +491 -520
- package/components/{CasinoGamesCategorySection-DeAGkwnC.js → CasinoGamesCategorySection-O2rjVVXR.js} +1060 -1089
- package/components/{CasinoLastPlayedSection-B_I73Vkt.js → CasinoLastPlayedSection-3HLLml3J.js} +30 -30
- package/components/CasinoLastPlayedSection-9u45DaRV.cjs +1 -0
- package/components/{CasinoLastPlayedSection-CeiejUws.js → CasinoLastPlayedSection-DQZF8kJs.js} +30 -30
- package/components/{CasinoMostPlayedSection-_49P0UxX.js → CasinoMostPlayedSection-BFJlXfTs.js} +175 -166
- package/components/{CasinoMostPlayedSection-DbS-S-SE.js → CasinoMostPlayedSection-CUd-ZjPt.js} +175 -166
- package/components/CasinoMostPlayedSection-Vx70N4I9.cjs +1 -0
- package/components/{CasinoMyGames-Du_G9Hyo.js → CasinoMyGames-DmBVGmuf.js} +309 -272
- package/components/CasinoMyGames-NUx5fPPt.cjs +1 -0
- package/components/{CasinoMyGames-pVUFXodP.js → CasinoMyGames-a_4oxasE.js} +309 -272
- package/components/{CasinoSort-CUiZIY5-.js → CasinoSort-CtiD1-vN.js} +24 -23
- package/components/{CasinoSort-MYR9vcff.js → CasinoSort-JL68yMUR.js} +27 -26
- package/components/CasinoSort-X28AK_AN.cjs +1 -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/CasinoFavoritesSection-DMJutyCH.cjs +0 -3
- package/components/CasinoGameThumbnail-JxxFkocu.cjs +0 -47
- package/components/CasinoGamesCategorySection-B1748gTc.cjs +0 -1
- package/components/CasinoLastPlayedSection-DOq6X6Tx.cjs +0 -1
- package/components/CasinoMostPlayedSection-BaJ4rHx5.cjs +0 -1
- package/components/CasinoMyGames-DfMMCiRd.cjs +0 -1
- package/components/CasinoSort-CTUub2uF.cjs +0 -1
package/components/{CasinoFavoritesSection-Cr_1p8p4.js → CasinoFavoritesSection-BGmUeoZr.js}
RENAMED
|
@@ -16,7 +16,7 @@ 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 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 Mt(e) {
|
|
@@ -31,7 +31,7 @@ function st(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
35
|
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
37
|
function Rt(e, t) {
|
|
@@ -45,7 +45,8 @@ function $t(e, t, r) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function Ut(e) {
|
|
48
|
-
if (!e)
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -66,7 +67,7 @@ function le(e, t, r) {
|
|
|
66
67
|
function ee(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Yn(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
@@ -79,13 +80,13 @@ function Gt(e) {
|
|
|
79
80
|
function at(e) {
|
|
80
81
|
return document.createTextNode(e);
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function Kn() {
|
|
83
84
|
return at(" ");
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function ei() {
|
|
86
87
|
return at("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function ti(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function Re(e, t, r) {
|
|
@@ -98,17 +99,17 @@ function g(e, t, r) {
|
|
|
98
99
|
function Ft(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
+
function ri(e, t) {
|
|
102
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
104
|
t);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function ni(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function ii(e, t, r) {
|
|
109
110
|
e.classList.toggle(t, !!r);
|
|
110
111
|
}
|
|
111
|
-
class
|
|
112
|
+
class si {
|
|
112
113
|
/**
|
|
113
114
|
* @private
|
|
114
115
|
* @default false
|
|
@@ -192,10 +193,11 @@ function q(e) {
|
|
|
192
193
|
J = e;
|
|
193
194
|
}
|
|
194
195
|
function kt() {
|
|
195
|
-
if (!J)
|
|
196
|
+
if (!J)
|
|
197
|
+
throw new Error("Function called outside component initialization");
|
|
196
198
|
return J;
|
|
197
199
|
}
|
|
198
|
-
function
|
|
200
|
+
function Vt(e) {
|
|
199
201
|
kt().$$.on_mount.push(e);
|
|
200
202
|
}
|
|
201
203
|
const D = [], He = [];
|
|
@@ -221,12 +223,13 @@ function H() {
|
|
|
221
223
|
try {
|
|
222
224
|
for (; $ < D.length; ) {
|
|
223
225
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
226
|
+
$++, q(t), Xt(t.$$);
|
|
225
227
|
}
|
|
226
228
|
} catch (t) {
|
|
227
229
|
throw D.length = 0, $ = 0, t;
|
|
228
230
|
}
|
|
229
|
-
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
231
|
+
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
232
|
+
He.pop()();
|
|
230
233
|
for (let t = 0; t < G.length; t += 1) {
|
|
231
234
|
const r = G[t];
|
|
232
235
|
be.has(r) || (be.add(r), r());
|
|
@@ -237,20 +240,20 @@ function H() {
|
|
|
237
240
|
je.pop()();
|
|
238
241
|
Te = !1, be.clear(), q(e);
|
|
239
242
|
}
|
|
240
|
-
function
|
|
243
|
+
function Xt(e) {
|
|
241
244
|
if (e.fragment !== null) {
|
|
242
245
|
e.update(), X(e.before_update);
|
|
243
246
|
const t = e.dirty;
|
|
244
247
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
248
|
}
|
|
246
249
|
}
|
|
247
|
-
function
|
|
250
|
+
function zt(e) {
|
|
248
251
|
const t = [], r = [];
|
|
249
252
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
250
253
|
}
|
|
251
|
-
const
|
|
254
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
252
255
|
function ht(e, t) {
|
|
253
|
-
e && e.i && (
|
|
256
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
254
257
|
}
|
|
255
258
|
function oi(e) {
|
|
256
259
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
@@ -261,7 +264,8 @@ function ui(e, t) {
|
|
|
261
264
|
function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
262
265
|
let f = e.length, b = s.length, y = f;
|
|
263
266
|
const _ = {};
|
|
264
|
-
for (; y--; )
|
|
267
|
+
for (; y--; )
|
|
268
|
+
_[e[y].key] = y;
|
|
265
269
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
266
270
|
for (y = b; y--; ) {
|
|
267
271
|
const c = m(i, s, y), I = r(c);
|
|
@@ -280,24 +284,25 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
280
284
|
const c = e[f];
|
|
281
285
|
w.has(c.key) || l(c, a);
|
|
282
286
|
}
|
|
283
|
-
for (; b; )
|
|
287
|
+
for (; b; )
|
|
288
|
+
O(T[b - 1]);
|
|
284
289
|
return X(S), T;
|
|
285
290
|
}
|
|
286
|
-
function
|
|
291
|
+
function Zt(e, t, r) {
|
|
287
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
288
293
|
n && n.m(t, r), Se(() => {
|
|
289
294
|
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
290
295
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
291
296
|
}), i.forEach(Se);
|
|
292
297
|
}
|
|
293
|
-
function
|
|
298
|
+
function Qt(e, t) {
|
|
294
299
|
const r = e.$$;
|
|
295
|
-
r.fragment !== null && (
|
|
300
|
+
r.fragment !== null && (zt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
296
301
|
}
|
|
297
|
-
function
|
|
302
|
+
function qt(e, t) {
|
|
298
303
|
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
304
|
}
|
|
300
|
-
function
|
|
305
|
+
function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
301
306
|
const l = J;
|
|
302
307
|
q(e);
|
|
303
308
|
const u = e.$$ = {
|
|
@@ -325,14 +330,14 @@ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
325
330
|
let h = !1;
|
|
326
331
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
327
332
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
333
|
+
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;
|
|
329
334
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
330
335
|
if (t.hydrate) {
|
|
331
336
|
const m = Ft(t.target);
|
|
332
337
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
333
338
|
} else
|
|
334
339
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro && ht(e.$$.fragment),
|
|
340
|
+
t.intro && ht(e.$$.fragment), Zt(e, t.target, t.anchor), H();
|
|
336
341
|
}
|
|
337
342
|
q(l);
|
|
338
343
|
}
|
|
@@ -483,7 +488,7 @@ function se(e, t, r, n) {
|
|
|
483
488
|
return t;
|
|
484
489
|
}
|
|
485
490
|
}
|
|
486
|
-
function
|
|
491
|
+
function Yt(e, t, r, n, i, s) {
|
|
487
492
|
let a = class extends lt {
|
|
488
493
|
constructor() {
|
|
489
494
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -512,7 +517,7 @@ function Jt(e, t, r, n, i, s) {
|
|
|
512
517
|
}), e.element = /** @type {any} */
|
|
513
518
|
a, a;
|
|
514
519
|
}
|
|
515
|
-
class
|
|
520
|
+
class Kt {
|
|
516
521
|
/**
|
|
517
522
|
* ### PRIVATE API
|
|
518
523
|
*
|
|
@@ -531,7 +536,7 @@ class Yt {
|
|
|
531
536
|
$$set = void 0;
|
|
532
537
|
/** @returns {void} */
|
|
533
538
|
$destroy() {
|
|
534
|
-
|
|
539
|
+
Qt(this, 1), this.$destroy = N;
|
|
535
540
|
}
|
|
536
541
|
/**
|
|
537
542
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -556,13 +561,28 @@ class Yt {
|
|
|
556
561
|
this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
562
|
}
|
|
558
563
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
564
|
+
const er = "4";
|
|
565
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
|
566
|
+
/*! *****************************************************************************
|
|
567
|
+
Copyright (c) Microsoft Corporation.
|
|
568
|
+
|
|
569
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
570
|
+
purpose with or without fee is hereby granted.
|
|
571
|
+
|
|
572
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
573
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
574
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
575
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
576
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
577
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
578
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
579
|
+
***************************************************************************** */
|
|
561
580
|
var Be = function(e, t) {
|
|
562
581
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
563
582
|
r.__proto__ = n;
|
|
564
583
|
} || function(r, n) {
|
|
565
|
-
for (var i in n)
|
|
584
|
+
for (var i in n)
|
|
585
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
566
586
|
}, Be(e, t);
|
|
567
587
|
};
|
|
568
588
|
function fe(e, t) {
|
|
@@ -578,14 +598,16 @@ var E = function() {
|
|
|
578
598
|
return E = Object.assign || function(t) {
|
|
579
599
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
580
600
|
r = arguments[n];
|
|
581
|
-
for (var s in r)
|
|
601
|
+
for (var s in r)
|
|
602
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
582
603
|
}
|
|
583
604
|
return t;
|
|
584
605
|
}, E.apply(this, arguments);
|
|
585
606
|
};
|
|
586
|
-
function
|
|
607
|
+
function tr(e, t) {
|
|
587
608
|
var r = {};
|
|
588
|
-
for (var n in e)
|
|
609
|
+
for (var n in e)
|
|
610
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
589
611
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
590
612
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
591
613
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -593,38 +615,44 @@ function er(e, t) {
|
|
|
593
615
|
}
|
|
594
616
|
function li(e) {
|
|
595
617
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
596
|
-
if (r)
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
618
|
+
if (r)
|
|
619
|
+
return r.call(e);
|
|
620
|
+
if (e && typeof e.length == "number")
|
|
621
|
+
return {
|
|
622
|
+
next: function() {
|
|
623
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
624
|
+
}
|
|
625
|
+
};
|
|
602
626
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
603
627
|
}
|
|
604
628
|
function fi(e, t) {
|
|
605
629
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
606
|
-
if (!r)
|
|
630
|
+
if (!r)
|
|
631
|
+
return e;
|
|
607
632
|
var n = r.call(e), i, s = [], a;
|
|
608
633
|
try {
|
|
609
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
634
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
635
|
+
s.push(i.value);
|
|
610
636
|
} catch (o) {
|
|
611
637
|
a = { error: o };
|
|
612
638
|
} finally {
|
|
613
639
|
try {
|
|
614
640
|
i && !i.done && (r = n.return) && r.call(n);
|
|
615
641
|
} finally {
|
|
616
|
-
if (a)
|
|
642
|
+
if (a)
|
|
643
|
+
throw a.error;
|
|
617
644
|
}
|
|
618
645
|
}
|
|
619
646
|
return s;
|
|
620
647
|
}
|
|
621
648
|
function pe(e, t, r) {
|
|
622
|
-
if (r || arguments.length === 2)
|
|
623
|
-
(
|
|
624
|
-
|
|
649
|
+
if (r || arguments.length === 2)
|
|
650
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
651
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
652
|
+
return e.concat(s || t);
|
|
625
653
|
}
|
|
626
654
|
const U = [];
|
|
627
|
-
function
|
|
655
|
+
function rr(e, t) {
|
|
628
656
|
return {
|
|
629
657
|
subscribe: ce(e, t).subscribe
|
|
630
658
|
};
|
|
@@ -660,7 +688,7 @@ function z(e, t, r) {
|
|
|
660
688
|
if (!i.every(Boolean))
|
|
661
689
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
662
690
|
const s = t.length < 2;
|
|
663
|
-
return
|
|
691
|
+
return rr(r, (a, o) => {
|
|
664
692
|
let l = !1;
|
|
665
693
|
const u = [];
|
|
666
694
|
let h = 0, m = N;
|
|
@@ -686,47 +714,47 @@ function z(e, t, r) {
|
|
|
686
714
|
};
|
|
687
715
|
});
|
|
688
716
|
}
|
|
689
|
-
function
|
|
717
|
+
function nr(e) {
|
|
690
718
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
691
719
|
}
|
|
692
|
-
var
|
|
693
|
-
return
|
|
720
|
+
var ir = function(t) {
|
|
721
|
+
return sr(t) && !ar(t);
|
|
694
722
|
};
|
|
695
|
-
function
|
|
723
|
+
function sr(e) {
|
|
696
724
|
return !!e && typeof e == "object";
|
|
697
725
|
}
|
|
698
|
-
function
|
|
726
|
+
function ar(e) {
|
|
699
727
|
var t = Object.prototype.toString.call(e);
|
|
700
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
701
|
-
}
|
|
702
|
-
var ar = typeof Symbol == "function" && Symbol.for, or = ar ? Symbol.for("react.element") : 60103;
|
|
703
|
-
function ur(e) {
|
|
704
|
-
return e.$$typeof === or;
|
|
728
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
|
705
729
|
}
|
|
730
|
+
var or = typeof Symbol == "function" && Symbol.for, ur = or ? Symbol.for("react.element") : 60103;
|
|
706
731
|
function hr(e) {
|
|
732
|
+
return e.$$typeof === ur;
|
|
733
|
+
}
|
|
734
|
+
function lr(e) {
|
|
707
735
|
return Array.isArray(e) ? [] : {};
|
|
708
736
|
}
|
|
709
737
|
function Y(e, t) {
|
|
710
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
738
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(lr(e), e, t) : e;
|
|
711
739
|
}
|
|
712
|
-
function
|
|
740
|
+
function fr(e, t, r) {
|
|
713
741
|
return e.concat(t).map(function(n) {
|
|
714
742
|
return Y(n, r);
|
|
715
743
|
});
|
|
716
744
|
}
|
|
717
|
-
function
|
|
745
|
+
function cr(e, t) {
|
|
718
746
|
if (!t.customMerge)
|
|
719
747
|
return F;
|
|
720
748
|
var r = t.customMerge(e);
|
|
721
749
|
return typeof r == "function" ? r : F;
|
|
722
750
|
}
|
|
723
|
-
function
|
|
751
|
+
function mr(e) {
|
|
724
752
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
725
753
|
return Object.propertyIsEnumerable.call(e, t);
|
|
726
754
|
}) : [];
|
|
727
755
|
}
|
|
728
756
|
function ke(e) {
|
|
729
|
-
return Object.keys(e).concat(
|
|
757
|
+
return Object.keys(e).concat(mr(e));
|
|
730
758
|
}
|
|
731
759
|
function ft(e, t) {
|
|
732
760
|
try {
|
|
@@ -735,21 +763,21 @@ function ft(e, t) {
|
|
|
735
763
|
return !1;
|
|
736
764
|
}
|
|
737
765
|
}
|
|
738
|
-
function
|
|
766
|
+
function gr(e, t) {
|
|
739
767
|
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
740
768
|
}
|
|
741
|
-
function
|
|
769
|
+
function dr(e, t, r) {
|
|
742
770
|
var n = {};
|
|
743
771
|
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
744
772
|
n[i] = Y(e[i], r);
|
|
745
773
|
}), ke(t).forEach(function(i) {
|
|
746
|
-
|
|
774
|
+
gr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
747
775
|
}), n;
|
|
748
776
|
}
|
|
749
777
|
function F(e, t, r) {
|
|
750
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
778
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = Y;
|
|
751
779
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
752
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
780
|
+
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
|
|
753
781
|
}
|
|
754
782
|
F.all = function(t, r) {
|
|
755
783
|
if (!Array.isArray(t))
|
|
@@ -758,20 +786,20 @@ F.all = function(t, r) {
|
|
|
758
786
|
return F(n, i, r);
|
|
759
787
|
}, {});
|
|
760
788
|
};
|
|
761
|
-
var
|
|
762
|
-
const
|
|
789
|
+
var br = F, pr = br;
|
|
790
|
+
const yr = /* @__PURE__ */ nr(pr);
|
|
763
791
|
function ye(e, t) {
|
|
764
|
-
var r = t && t.cache ? t.cache :
|
|
792
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
|
|
765
793
|
return i(e, {
|
|
766
794
|
cache: r,
|
|
767
795
|
serializer: n
|
|
768
796
|
});
|
|
769
797
|
}
|
|
770
|
-
function
|
|
798
|
+
function Er(e) {
|
|
771
799
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
800
|
}
|
|
773
801
|
function ct(e, t, r, n) {
|
|
774
|
-
var i =
|
|
802
|
+
var i = Er(n) ? n : r(n), s = t.get(i);
|
|
775
803
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
776
804
|
}
|
|
777
805
|
function mt(e, t, r) {
|
|
@@ -781,17 +809,17 @@ function mt(e, t, r) {
|
|
|
781
809
|
function $e(e, t, r, n, i) {
|
|
782
810
|
return r.bind(t, e, n, i);
|
|
783
811
|
}
|
|
784
|
-
function
|
|
812
|
+
function vr(e, t) {
|
|
785
813
|
var r = e.length === 1 ? ct : mt;
|
|
786
814
|
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
787
815
|
}
|
|
788
|
-
function
|
|
816
|
+
function _r(e, t) {
|
|
789
817
|
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
790
818
|
}
|
|
791
|
-
function
|
|
819
|
+
function xr(e, t) {
|
|
792
820
|
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
793
821
|
}
|
|
794
|
-
var
|
|
822
|
+
var Hr = function() {
|
|
795
823
|
return JSON.stringify(arguments);
|
|
796
824
|
};
|
|
797
825
|
function Ue() {
|
|
@@ -803,13 +831,13 @@ Ue.prototype.get = function(e) {
|
|
|
803
831
|
Ue.prototype.set = function(e, t) {
|
|
804
832
|
this.cache[e] = t;
|
|
805
833
|
};
|
|
806
|
-
var
|
|
834
|
+
var Tr = {
|
|
807
835
|
create: function() {
|
|
808
836
|
return new Ue();
|
|
809
837
|
}
|
|
810
838
|
}, Ee = {
|
|
811
|
-
variadic:
|
|
812
|
-
monadic:
|
|
839
|
+
variadic: _r,
|
|
840
|
+
monadic: xr
|
|
813
841
|
}, d;
|
|
814
842
|
(function(e) {
|
|
815
843
|
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";
|
|
@@ -825,7 +853,7 @@ var j;
|
|
|
825
853
|
function Ve(e) {
|
|
826
854
|
return e.type === v.literal;
|
|
827
855
|
}
|
|
828
|
-
function
|
|
856
|
+
function Sr(e) {
|
|
829
857
|
return e.type === v.argument;
|
|
830
858
|
}
|
|
831
859
|
function gt(e) {
|
|
@@ -843,7 +871,7 @@ function pt(e) {
|
|
|
843
871
|
function yt(e) {
|
|
844
872
|
return e.type === v.plural;
|
|
845
873
|
}
|
|
846
|
-
function
|
|
874
|
+
function Br(e) {
|
|
847
875
|
return e.type === v.pound;
|
|
848
876
|
}
|
|
849
877
|
function Et(e) {
|
|
@@ -855,10 +883,10 @@ function vt(e) {
|
|
|
855
883
|
function Ae(e) {
|
|
856
884
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
857
885
|
}
|
|
858
|
-
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
859
|
-
function
|
|
886
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
|
887
|
+
function wr(e) {
|
|
860
888
|
var t = {};
|
|
861
|
-
return e.replace(
|
|
889
|
+
return e.replace(Ar, function(r) {
|
|
862
890
|
var n = r.length;
|
|
863
891
|
switch (r[0]) {
|
|
864
892
|
case "G":
|
|
@@ -947,11 +975,11 @@ function Ar(e) {
|
|
|
947
975
|
return "";
|
|
948
976
|
}), t;
|
|
949
977
|
}
|
|
950
|
-
var
|
|
951
|
-
function
|
|
978
|
+
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
979
|
+
function Nr(e) {
|
|
952
980
|
if (e.length === 0)
|
|
953
981
|
throw new Error("Number skeleton cannot be empty");
|
|
954
|
-
for (var t = e.split(
|
|
982
|
+
for (var t = e.split(Pr).filter(function(f) {
|
|
955
983
|
return f.length > 0;
|
|
956
984
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
957
985
|
var s = i[n], a = s.split("/");
|
|
@@ -966,10 +994,10 @@ function Pr(e) {
|
|
|
966
994
|
}
|
|
967
995
|
return r;
|
|
968
996
|
}
|
|
969
|
-
function
|
|
997
|
+
function Or(e) {
|
|
970
998
|
return e.replace(/^(.*?)-/, "");
|
|
971
999
|
}
|
|
972
|
-
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1000
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
973
1001
|
function ze(e) {
|
|
974
1002
|
var t = {};
|
|
975
1003
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
@@ -1016,7 +1044,7 @@ function Tt(e) {
|
|
|
1016
1044
|
};
|
|
1017
1045
|
}
|
|
1018
1046
|
}
|
|
1019
|
-
function
|
|
1047
|
+
function Lr(e) {
|
|
1020
1048
|
var t;
|
|
1021
1049
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1022
1050
|
notation: "engineering"
|
|
@@ -1034,7 +1062,7 @@ function We(e) {
|
|
|
1034
1062
|
var t = {}, r = Tt(e);
|
|
1035
1063
|
return r || t;
|
|
1036
1064
|
}
|
|
1037
|
-
function
|
|
1065
|
+
function Cr(e) {
|
|
1038
1066
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1039
1067
|
var i = n[r];
|
|
1040
1068
|
switch (i.stem) {
|
|
@@ -1058,7 +1086,7 @@ function Lr(e) {
|
|
|
1058
1086
|
continue;
|
|
1059
1087
|
case "measure-unit":
|
|
1060
1088
|
case "unit":
|
|
1061
|
-
t.style = "unit", t.unit =
|
|
1089
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
|
1062
1090
|
continue;
|
|
1063
1091
|
case "compact-short":
|
|
1064
1092
|
case "K":
|
|
@@ -1120,7 +1148,7 @@ function Lr(e) {
|
|
|
1120
1148
|
case "integer-width":
|
|
1121
1149
|
if (i.options.length > 1)
|
|
1122
1150
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1123
|
-
i.options[0].replace(
|
|
1151
|
+
i.options[0].replace(Ir, function(l, u, h, m, f, b) {
|
|
1124
1152
|
if (u)
|
|
1125
1153
|
t.minimumIntegerDigits = h.length;
|
|
1126
1154
|
else {
|
|
@@ -1153,7 +1181,7 @@ function Lr(e) {
|
|
|
1153
1181
|
}
|
|
1154
1182
|
var a = Tt(i.stem);
|
|
1155
1183
|
a && (t = E(E({}, t), a));
|
|
1156
|
-
var o =
|
|
1184
|
+
var o = Lr(i.stem);
|
|
1157
1185
|
o && (t = E(E({}, t), o));
|
|
1158
1186
|
}
|
|
1159
1187
|
return t;
|
|
@@ -2573,22 +2601,23 @@ var ie = {
|
|
|
2573
2601
|
"h"
|
|
2574
2602
|
]
|
|
2575
2603
|
};
|
|
2576
|
-
function
|
|
2604
|
+
function Mr(e, t) {
|
|
2577
2605
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2578
2606
|
var i = e.charAt(n);
|
|
2579
2607
|
if (i === "j") {
|
|
2580
2608
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2581
2609
|
s++, n++;
|
|
2582
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2610
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rr(t);
|
|
2583
2611
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2584
2612
|
r += l;
|
|
2585
2613
|
for (; a-- > 0; )
|
|
2586
2614
|
r = u + r;
|
|
2587
|
-
} else
|
|
2615
|
+
} else
|
|
2616
|
+
i === "J" ? r += "H" : r += i;
|
|
2588
2617
|
}
|
|
2589
2618
|
return r;
|
|
2590
2619
|
}
|
|
2591
|
-
function
|
|
2620
|
+
function Rr(e) {
|
|
2592
2621
|
var t = e.hourCycle;
|
|
2593
2622
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2594
2623
|
e.hourCycles && // @ts-ignore
|
|
@@ -2610,20 +2639,20 @@ function Mr(e) {
|
|
|
2610
2639
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2611
2640
|
return i[0];
|
|
2612
2641
|
}
|
|
2613
|
-
var ve,
|
|
2642
|
+
var ve, $r = new RegExp("^".concat(_t.source, "*")), Ur = new RegExp("".concat(_t.source, "*$"));
|
|
2614
2643
|
function p(e, t) {
|
|
2615
2644
|
return { start: e, end: t };
|
|
2616
2645
|
}
|
|
2617
|
-
var
|
|
2646
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
|
2618
2647
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2619
2648
|
}, we = !0;
|
|
2620
2649
|
try {
|
|
2621
|
-
var
|
|
2622
|
-
we = ((ve =
|
|
2650
|
+
var Wr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2651
|
+
we = ((ve = Wr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2623
2652
|
} catch {
|
|
2624
2653
|
we = !1;
|
|
2625
2654
|
}
|
|
2626
|
-
var Ze =
|
|
2655
|
+
var Ze = Dr ? (
|
|
2627
2656
|
// Native
|
|
2628
2657
|
function(t, r, n) {
|
|
2629
2658
|
return t.startsWith(r, n);
|
|
@@ -2633,7 +2662,7 @@ var Ze = Ur ? (
|
|
|
2633
2662
|
function(t, r, n) {
|
|
2634
2663
|
return t.slice(n, n + r.length) === r;
|
|
2635
2664
|
}
|
|
2636
|
-
), Pe =
|
|
2665
|
+
), Pe = Gr ? String.fromCodePoint : (
|
|
2637
2666
|
// IE11
|
|
2638
2667
|
function() {
|
|
2639
2668
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2647,7 +2676,7 @@ var Ze = Ur ? (
|
|
|
2647
2676
|
}
|
|
2648
2677
|
), Qe = (
|
|
2649
2678
|
// native
|
|
2650
|
-
|
|
2679
|
+
Fr ? Object.fromEntries : (
|
|
2651
2680
|
// Ponyfill
|
|
2652
2681
|
function(t) {
|
|
2653
2682
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2657,7 +2686,7 @@ var Ze = Ur ? (
|
|
|
2657
2686
|
return r;
|
|
2658
2687
|
}
|
|
2659
2688
|
)
|
|
2660
|
-
), St =
|
|
2689
|
+
), St = jr ? (
|
|
2661
2690
|
// Native
|
|
2662
2691
|
function(t, r) {
|
|
2663
2692
|
return t.codePointAt(r);
|
|
@@ -2671,7 +2700,7 @@ var Ze = Ur ? (
|
|
|
2671
2700
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2672
2701
|
}
|
|
2673
2702
|
}
|
|
2674
|
-
),
|
|
2703
|
+
), Zr = kr ? (
|
|
2675
2704
|
// Native
|
|
2676
2705
|
function(t) {
|
|
2677
2706
|
return t.trimStart();
|
|
@@ -2679,9 +2708,9 @@ var Ze = Ur ? (
|
|
|
2679
2708
|
) : (
|
|
2680
2709
|
// Ponyfill
|
|
2681
2710
|
function(t) {
|
|
2682
|
-
return t.replace(
|
|
2711
|
+
return t.replace($r, "");
|
|
2683
2712
|
}
|
|
2684
|
-
),
|
|
2713
|
+
), Qr = Vr ? (
|
|
2685
2714
|
// Native
|
|
2686
2715
|
function(t) {
|
|
2687
2716
|
return t.trimEnd();
|
|
@@ -2689,7 +2718,7 @@ var Ze = Ur ? (
|
|
|
2689
2718
|
) : (
|
|
2690
2719
|
// Ponyfill
|
|
2691
2720
|
function(t) {
|
|
2692
|
-
return t.replace(
|
|
2721
|
+
return t.replace(Ur, "");
|
|
2693
2722
|
}
|
|
2694
2723
|
);
|
|
2695
2724
|
function Bt(e, t) {
|
|
@@ -2708,13 +2737,13 @@ if (we) {
|
|
|
2708
2737
|
Ne = function(t, r) {
|
|
2709
2738
|
for (var n = []; ; ) {
|
|
2710
2739
|
var i = St(t, r);
|
|
2711
|
-
if (i === void 0 || At(i) ||
|
|
2740
|
+
if (i === void 0 || At(i) || Kr(i))
|
|
2712
2741
|
break;
|
|
2713
2742
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2714
2743
|
}
|
|
2715
2744
|
return Pe.apply(void 0, n);
|
|
2716
2745
|
};
|
|
2717
|
-
var
|
|
2746
|
+
var qr = (
|
|
2718
2747
|
/** @class */
|
|
2719
2748
|
function() {
|
|
2720
2749
|
function e(t, r) {
|
|
@@ -2796,7 +2825,7 @@ var Qr = (
|
|
|
2796
2825
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2797
2826
|
}, e.prototype.parseTagName = function() {
|
|
2798
2827
|
var t = this.offset();
|
|
2799
|
-
for (this.bump(); !this.isEOF() &&
|
|
2828
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
|
2800
2829
|
this.bump();
|
|
2801
2830
|
return this.message.slice(t, this.offset());
|
|
2802
2831
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2825,7 +2854,7 @@ var Qr = (
|
|
|
2825
2854
|
};
|
|
2826
2855
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2827
2856
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2828
|
-
!
|
|
2857
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2829
2858
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2830
2859
|
if (this.isEOF() || this.char() !== 39)
|
|
2831
2860
|
return null;
|
|
@@ -2912,7 +2941,7 @@ var Qr = (
|
|
|
2912
2941
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2913
2942
|
if (m.err)
|
|
2914
2943
|
return m;
|
|
2915
|
-
var f =
|
|
2944
|
+
var f = Qr(m.val);
|
|
2916
2945
|
if (f.length === 0)
|
|
2917
2946
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2918
2947
|
var b = p(h, this.clonePosition());
|
|
@@ -2923,7 +2952,7 @@ var Qr = (
|
|
|
2923
2952
|
return y;
|
|
2924
2953
|
var _ = p(i, this.clonePosition());
|
|
2925
2954
|
if (u && Ze(u?.style, "::", 0)) {
|
|
2926
|
-
var T =
|
|
2955
|
+
var T = Zr(u.style.slice(2));
|
|
2927
2956
|
if (o === "number") {
|
|
2928
2957
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2929
2958
|
return m.err ? m : {
|
|
@@ -2934,12 +2963,12 @@ var Qr = (
|
|
|
2934
2963
|
if (T.length === 0)
|
|
2935
2964
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2936
2965
|
var w = T;
|
|
2937
|
-
this.locale && (w =
|
|
2966
|
+
this.locale && (w = Mr(T, this.locale));
|
|
2938
2967
|
var f = {
|
|
2939
2968
|
type: j.dateTime,
|
|
2940
2969
|
pattern: w,
|
|
2941
2970
|
location: u.styleLocation,
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2971
|
+
parsedOptions: this.shouldParseSkeletons ? wr(w) : {}
|
|
2943
2972
|
}, A = o === "date" ? v.date : v.time;
|
|
2944
2973
|
return {
|
|
2945
2974
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3044,7 +3073,7 @@ var Qr = (
|
|
|
3044
3073
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3045
3074
|
var n = [];
|
|
3046
3075
|
try {
|
|
3047
|
-
n =
|
|
3076
|
+
n = Nr(t);
|
|
3048
3077
|
} catch {
|
|
3049
3078
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3050
3079
|
}
|
|
@@ -3053,7 +3082,7 @@ var Qr = (
|
|
|
3053
3082
|
type: j.number,
|
|
3054
3083
|
tokens: n,
|
|
3055
3084
|
location: r,
|
|
3056
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3085
|
+
parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
|
|
3057
3086
|
},
|
|
3058
3087
|
err: null
|
|
3059
3088
|
};
|
|
@@ -3101,7 +3130,7 @@ var Qr = (
|
|
|
3101
3130
|
break;
|
|
3102
3131
|
}
|
|
3103
3132
|
var l = p(i, this.clonePosition());
|
|
3104
|
-
return s ? (a *= n,
|
|
3133
|
+
return s ? (a *= n, zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3105
3134
|
}, e.prototype.offset = function() {
|
|
3106
3135
|
return this.position.offset;
|
|
3107
3136
|
}, e.prototype.isEOF = function() {
|
|
@@ -3170,16 +3199,16 @@ var Qr = (
|
|
|
3170
3199
|
function Oe(e) {
|
|
3171
3200
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3172
3201
|
}
|
|
3173
|
-
function
|
|
3202
|
+
function Jr(e) {
|
|
3174
3203
|
return Oe(e) || e === 47;
|
|
3175
3204
|
}
|
|
3176
|
-
function
|
|
3205
|
+
function Yr(e) {
|
|
3177
3206
|
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;
|
|
3178
3207
|
}
|
|
3179
3208
|
function At(e) {
|
|
3180
3209
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3181
3210
|
}
|
|
3182
|
-
function
|
|
3211
|
+
function Kr(e) {
|
|
3183
3212
|
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;
|
|
3184
3213
|
}
|
|
3185
3214
|
function Ie(e) {
|
|
@@ -3187,12 +3216,13 @@ function Ie(e) {
|
|
|
3187
3216
|
if (delete t.location, pt(t) || yt(t))
|
|
3188
3217
|
for (var r in t.options)
|
|
3189
3218
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3190
|
-
else
|
|
3219
|
+
else
|
|
3220
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3191
3221
|
});
|
|
3192
3222
|
}
|
|
3193
|
-
function
|
|
3223
|
+
function en(e, t) {
|
|
3194
3224
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3195
|
-
var r = new
|
|
3225
|
+
var r = new qr(e, t).parse();
|
|
3196
3226
|
if (r.err) {
|
|
3197
3227
|
var n = SyntaxError(d[r.err.kind]);
|
|
3198
3228
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3224,7 +3254,7 @@ var me = (
|
|
|
3224
3254
|
}
|
|
3225
3255
|
return t;
|
|
3226
3256
|
}(me)
|
|
3227
|
-
),
|
|
3257
|
+
), tn = (
|
|
3228
3258
|
/** @class */
|
|
3229
3259
|
function(e) {
|
|
3230
3260
|
fe(t, e);
|
|
@@ -3233,7 +3263,7 @@ var me = (
|
|
|
3233
3263
|
}
|
|
3234
3264
|
return t;
|
|
3235
3265
|
}(me)
|
|
3236
|
-
),
|
|
3266
|
+
), rn = (
|
|
3237
3267
|
/** @class */
|
|
3238
3268
|
function(e) {
|
|
3239
3269
|
fe(t, e);
|
|
@@ -3246,13 +3276,13 @@ var me = (
|
|
|
3246
3276
|
(function(e) {
|
|
3247
3277
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3248
3278
|
})(B || (B = {}));
|
|
3249
|
-
function
|
|
3279
|
+
function nn(e) {
|
|
3250
3280
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3251
3281
|
var n = t[t.length - 1];
|
|
3252
3282
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3253
3283
|
}, []);
|
|
3254
3284
|
}
|
|
3255
|
-
function
|
|
3285
|
+
function sn(e) {
|
|
3256
3286
|
return typeof e == "function";
|
|
3257
3287
|
}
|
|
3258
3288
|
function ae(e, t, r, n, i, s, a) {
|
|
@@ -3272,7 +3302,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3272
3302
|
});
|
|
3273
3303
|
continue;
|
|
3274
3304
|
}
|
|
3275
|
-
if (
|
|
3305
|
+
if (Br(h)) {
|
|
3276
3306
|
typeof s == "number" && o.push({
|
|
3277
3307
|
type: B.literal,
|
|
3278
3308
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3281,9 +3311,9 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3281
3311
|
}
|
|
3282
3312
|
var m = h.value;
|
|
3283
3313
|
if (!(i && m in i))
|
|
3284
|
-
throw new
|
|
3314
|
+
throw new rn(m, a);
|
|
3285
3315
|
var f = i[m];
|
|
3286
|
-
if (
|
|
3316
|
+
if (Sr(h)) {
|
|
3287
3317
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3288
3318
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3289
3319
|
value: f
|
|
@@ -3316,8 +3346,8 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3316
3346
|
}
|
|
3317
3347
|
if (Et(h)) {
|
|
3318
3348
|
var y = h.children, _ = h.value, T = i[_];
|
|
3319
|
-
if (!
|
|
3320
|
-
throw new
|
|
3349
|
+
if (!sn(T))
|
|
3350
|
+
throw new tn(_, "function", a);
|
|
3321
3351
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3322
3352
|
return x.value;
|
|
3323
3353
|
}));
|
|
@@ -3351,16 +3381,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3351
3381
|
continue;
|
|
3352
3382
|
}
|
|
3353
3383
|
}
|
|
3354
|
-
return
|
|
3384
|
+
return nn(o);
|
|
3355
3385
|
}
|
|
3356
|
-
function
|
|
3386
|
+
function an(e, t) {
|
|
3357
3387
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3358
3388
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3359
3389
|
}, {})) : e;
|
|
3360
3390
|
}
|
|
3361
|
-
function
|
|
3391
|
+
function on(e, t) {
|
|
3362
3392
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3363
|
-
return r[n] =
|
|
3393
|
+
return r[n] = an(e[n], t[n]), r;
|
|
3364
3394
|
}, E({}, e)) : e;
|
|
3365
3395
|
}
|
|
3366
3396
|
function _e(e) {
|
|
@@ -3377,7 +3407,7 @@ function _e(e) {
|
|
|
3377
3407
|
}
|
|
3378
3408
|
};
|
|
3379
3409
|
}
|
|
3380
|
-
function
|
|
3410
|
+
function un(e) {
|
|
3381
3411
|
return e === void 0 && (e = {
|
|
3382
3412
|
number: {},
|
|
3383
3413
|
dateTime: {},
|
|
@@ -3409,7 +3439,7 @@ function on(e) {
|
|
|
3409
3439
|
})
|
|
3410
3440
|
};
|
|
3411
3441
|
}
|
|
3412
|
-
var
|
|
3442
|
+
var hn = (
|
|
3413
3443
|
/** @class */
|
|
3414
3444
|
function() {
|
|
3415
3445
|
function e(t, r, n, i) {
|
|
@@ -3441,13 +3471,13 @@ var un = (
|
|
|
3441
3471
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3442
3472
|
var a = i || {};
|
|
3443
3473
|
a.formatters;
|
|
3444
|
-
var o =
|
|
3474
|
+
var o = tr(a, ["formatters"]);
|
|
3445
3475
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3446
3476
|
} else
|
|
3447
3477
|
this.ast = t;
|
|
3448
3478
|
if (!Array.isArray(this.ast))
|
|
3449
3479
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3450
|
-
this.formats =
|
|
3480
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
|
3451
3481
|
}
|
|
3452
3482
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3453
3483
|
get: function() {
|
|
@@ -3460,7 +3490,7 @@ var un = (
|
|
|
3460
3490
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3461
3491
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3462
3492
|
}
|
|
3463
|
-
}, e.__parse =
|
|
3493
|
+
}, e.__parse = en, e.formats = {
|
|
3464
3494
|
number: {
|
|
3465
3495
|
integer: {
|
|
3466
3496
|
maximumFractionDigits: 0
|
|
@@ -3521,7 +3551,7 @@ var un = (
|
|
|
3521
3551
|
}, e;
|
|
3522
3552
|
}()
|
|
3523
3553
|
);
|
|
3524
|
-
function
|
|
3554
|
+
function ln(e, t) {
|
|
3525
3555
|
if (t == null)
|
|
3526
3556
|
return;
|
|
3527
3557
|
if (t in e)
|
|
@@ -3542,33 +3572,33 @@ function hn(e, t) {
|
|
|
3542
3572
|
n = void 0;
|
|
3543
3573
|
return n;
|
|
3544
3574
|
}
|
|
3545
|
-
const C = {},
|
|
3575
|
+
const C = {}, fn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3546
3576
|
if (t == null)
|
|
3547
3577
|
return;
|
|
3548
3578
|
if (t in C && e in C[t])
|
|
3549
3579
|
return C[t][e];
|
|
3550
3580
|
const r = ge(t);
|
|
3551
3581
|
for (let n = 0; n < r.length; n++) {
|
|
3552
|
-
const i = r[n], s =
|
|
3582
|
+
const i = r[n], s = mn(i, e);
|
|
3553
3583
|
if (s)
|
|
3554
|
-
return
|
|
3584
|
+
return fn(e, t, s);
|
|
3555
3585
|
}
|
|
3556
3586
|
};
|
|
3557
3587
|
let De;
|
|
3558
3588
|
const W = ce({});
|
|
3559
|
-
function
|
|
3589
|
+
function cn(e) {
|
|
3560
3590
|
return De[e] || null;
|
|
3561
3591
|
}
|
|
3562
3592
|
function Pt(e) {
|
|
3563
3593
|
return e in De;
|
|
3564
3594
|
}
|
|
3565
|
-
function
|
|
3595
|
+
function mn(e, t) {
|
|
3566
3596
|
if (!Pt(e))
|
|
3567
3597
|
return null;
|
|
3568
|
-
const r =
|
|
3569
|
-
return
|
|
3598
|
+
const r = cn(e);
|
|
3599
|
+
return ln(r, t);
|
|
3570
3600
|
}
|
|
3571
|
-
function
|
|
3601
|
+
function gn(e) {
|
|
3572
3602
|
if (e == null)
|
|
3573
3603
|
return;
|
|
3574
3604
|
const t = ge(e);
|
|
@@ -3578,8 +3608,8 @@ function mn(e) {
|
|
|
3578
3608
|
return n;
|
|
3579
3609
|
}
|
|
3580
3610
|
}
|
|
3581
|
-
function
|
|
3582
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3611
|
+
function dn(e, ...t) {
|
|
3612
|
+
delete C[e], W.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
|
3583
3613
|
}
|
|
3584
3614
|
z(
|
|
3585
3615
|
[W],
|
|
@@ -3587,13 +3617,13 @@ z(
|
|
|
3587
3617
|
);
|
|
3588
3618
|
W.subscribe((e) => De = e);
|
|
3589
3619
|
const oe = {};
|
|
3590
|
-
function
|
|
3620
|
+
function bn(e, t) {
|
|
3591
3621
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3592
3622
|
}
|
|
3593
3623
|
function Nt(e) {
|
|
3594
3624
|
return oe[e];
|
|
3595
3625
|
}
|
|
3596
|
-
function
|
|
3626
|
+
function pn(e) {
|
|
3597
3627
|
return ge(e).map((t) => {
|
|
3598
3628
|
const r = Nt(t);
|
|
3599
3629
|
return [t, r ? [...r] : []];
|
|
@@ -3607,19 +3637,19 @@ function Le(e) {
|
|
|
3607
3637
|
}
|
|
3608
3638
|
);
|
|
3609
3639
|
}
|
|
3610
|
-
function
|
|
3640
|
+
function yn(e, t) {
|
|
3611
3641
|
return Promise.all(
|
|
3612
|
-
t.map((n) => (
|
|
3613
|
-
).then((n) =>
|
|
3642
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
|
3643
|
+
).then((n) => dn(e, ...n));
|
|
3614
3644
|
}
|
|
3615
3645
|
const Q = {};
|
|
3616
3646
|
function Ot(e) {
|
|
3617
3647
|
if (!Le(e))
|
|
3618
3648
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3619
|
-
const t =
|
|
3649
|
+
const t = pn(e);
|
|
3620
3650
|
return Q[e] = Promise.all(
|
|
3621
3651
|
t.map(
|
|
3622
|
-
([r, n]) =>
|
|
3652
|
+
([r, n]) => yn(r, n)
|
|
3623
3653
|
)
|
|
3624
3654
|
).then(() => {
|
|
3625
3655
|
if (Le(e))
|
|
@@ -3627,7 +3657,7 @@ function Ot(e) {
|
|
|
3627
3657
|
delete Q[e];
|
|
3628
3658
|
}), Q[e];
|
|
3629
3659
|
}
|
|
3630
|
-
const
|
|
3660
|
+
const En = {
|
|
3631
3661
|
number: {
|
|
3632
3662
|
scientific: { notation: "scientific" },
|
|
3633
3663
|
engineering: { notation: "engineering" },
|
|
@@ -3656,26 +3686,26 @@ const yn = {
|
|
|
3656
3686
|
timeZoneName: "short"
|
|
3657
3687
|
}
|
|
3658
3688
|
}
|
|
3659
|
-
},
|
|
3689
|
+
}, vn = {
|
|
3660
3690
|
fallbackLocale: null,
|
|
3661
3691
|
loadingDelay: 200,
|
|
3662
|
-
formats:
|
|
3692
|
+
formats: En,
|
|
3663
3693
|
warnOnMissingMessages: !0,
|
|
3664
3694
|
handleMissingMessage: void 0,
|
|
3665
3695
|
ignoreTag: !0
|
|
3666
|
-
},
|
|
3696
|
+
}, _n = vn;
|
|
3667
3697
|
function V() {
|
|
3668
|
-
return
|
|
3698
|
+
return _n;
|
|
3669
3699
|
}
|
|
3670
3700
|
const xe = ce(!1);
|
|
3671
|
-
var
|
|
3701
|
+
var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
|
3672
3702
|
for (var r in t || (t = {}))
|
|
3673
|
-
|
|
3703
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3674
3704
|
if (Ye)
|
|
3675
3705
|
for (var r of Ye(t))
|
|
3676
|
-
|
|
3706
|
+
Bn.call(t, r) && Ke(e, r, t[r]);
|
|
3677
3707
|
return e;
|
|
3678
|
-
},
|
|
3708
|
+
}, wn = (e, t) => Hn(e, Tn(t));
|
|
3679
3709
|
let Ce;
|
|
3680
3710
|
const ue = ce(null);
|
|
3681
3711
|
function et(e) {
|
|
@@ -3691,8 +3721,8 @@ function R() {
|
|
|
3691
3721
|
ue.subscribe((e) => {
|
|
3692
3722
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3693
3723
|
});
|
|
3694
|
-
const
|
|
3695
|
-
if (e &&
|
|
3724
|
+
const Pn = (e) => {
|
|
3725
|
+
if (e && gn(e) && Le(e)) {
|
|
3696
3726
|
const { loadingDelay: t } = V();
|
|
3697
3727
|
let r;
|
|
3698
3728
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
@@ -3705,8 +3735,8 @@ const wn = (e) => {
|
|
|
3705
3735
|
});
|
|
3706
3736
|
}
|
|
3707
3737
|
return ue.set(e);
|
|
3708
|
-
}, M = An(
|
|
3709
|
-
set:
|
|
3738
|
+
}, M = wn(An({}, ue), {
|
|
3739
|
+
set: Pn
|
|
3710
3740
|
}), de = (e) => {
|
|
3711
3741
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3712
3742
|
return (n) => {
|
|
@@ -3714,7 +3744,7 @@ const wn = (e) => {
|
|
|
3714
3744
|
return i in t ? t[i] : t[i] = e(n);
|
|
3715
3745
|
};
|
|
3716
3746
|
};
|
|
3717
|
-
var
|
|
3747
|
+
var Nn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3718
3748
|
for (var r in t || (t = {}))
|
|
3719
3749
|
It.call(t, r) && tt(e, r, t[r]);
|
|
3720
3750
|
if (he)
|
|
@@ -3735,21 +3765,21 @@ const K = (e, t) => {
|
|
|
3735
3765
|
if (e in r && t in r[e])
|
|
3736
3766
|
return r[e][t];
|
|
3737
3767
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3738
|
-
},
|
|
3768
|
+
}, On = de(
|
|
3739
3769
|
(e) => {
|
|
3740
3770
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3741
3771
|
if (r == null)
|
|
3742
3772
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3743
3773
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3744
3774
|
}
|
|
3745
|
-
),
|
|
3775
|
+
), In = de(
|
|
3746
3776
|
(e) => {
|
|
3747
3777
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3748
3778
|
if (r == null)
|
|
3749
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3750
3780
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3751
3781
|
}
|
|
3752
|
-
),
|
|
3782
|
+
), Ln = de(
|
|
3753
3783
|
(e) => {
|
|
3754
3784
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3755
3785
|
if (r == null)
|
|
@@ -3758,33 +3788,33 @@ const K = (e, t) => {
|
|
|
3758
3788
|
);
|
|
3759
3789
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3760
3790
|
}
|
|
3761
|
-
),
|
|
3791
|
+
), Cn = (e = {}) => {
|
|
3762
3792
|
var t = e, {
|
|
3763
3793
|
locale: r = R()
|
|
3764
3794
|
} = t, n = Z(t, [
|
|
3765
3795
|
"locale"
|
|
3766
3796
|
]);
|
|
3767
|
-
return
|
|
3768
|
-
},
|
|
3797
|
+
return On(Ge({ locale: r }, n));
|
|
3798
|
+
}, Mn = (e = {}) => {
|
|
3769
3799
|
var t = e, {
|
|
3770
3800
|
locale: r = R()
|
|
3771
3801
|
} = t, n = Z(t, [
|
|
3772
3802
|
"locale"
|
|
3773
3803
|
]);
|
|
3774
|
-
return
|
|
3775
|
-
},
|
|
3804
|
+
return In(Ge({ locale: r }, n));
|
|
3805
|
+
}, Rn = (e = {}) => {
|
|
3776
3806
|
var t = e, {
|
|
3777
3807
|
locale: r = R()
|
|
3778
3808
|
} = t, n = Z(t, [
|
|
3779
3809
|
"locale"
|
|
3780
3810
|
]);
|
|
3781
|
-
return
|
|
3782
|
-
},
|
|
3811
|
+
return Ln(Ge({ locale: r }, n));
|
|
3812
|
+
}, $n = de(
|
|
3783
3813
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3784
|
-
(e, t = R()) => new
|
|
3814
|
+
(e, t = R()) => new hn(e, t, V().formats, {
|
|
3785
3815
|
ignoreTag: V().ignoreTag
|
|
3786
3816
|
})
|
|
3787
|
-
),
|
|
3817
|
+
), Un = (e, t = {}) => {
|
|
3788
3818
|
var r, n, i, s;
|
|
3789
3819
|
let a = t;
|
|
3790
3820
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3808,7 +3838,7 @@ const K = (e, t) => {
|
|
|
3808
3838
|
return h;
|
|
3809
3839
|
let m = h;
|
|
3810
3840
|
try {
|
|
3811
|
-
m =
|
|
3841
|
+
m = $n(h, l).format(o);
|
|
3812
3842
|
} catch (f) {
|
|
3813
3843
|
f instanceof Error && console.warn(
|
|
3814
3844
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3816,18 +3846,18 @@ const K = (e, t) => {
|
|
|
3816
3846
|
);
|
|
3817
3847
|
}
|
|
3818
3848
|
return m;
|
|
3819
|
-
},
|
|
3820
|
-
z([M], () => Un);
|
|
3849
|
+
}, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = R()) => wt(e, t), ci = z([M, W], () => Un);
|
|
3821
3850
|
z([M], () => Dn);
|
|
3822
3851
|
z([M], () => Gn);
|
|
3823
|
-
z([M
|
|
3824
|
-
|
|
3852
|
+
z([M], () => Fn);
|
|
3853
|
+
z([M, W], () => jn);
|
|
3854
|
+
function kn(e, t) {
|
|
3825
3855
|
if (e) {
|
|
3826
3856
|
const r = document.createElement("style");
|
|
3827
3857
|
r.innerHTML = t, e.appendChild(r);
|
|
3828
3858
|
}
|
|
3829
3859
|
}
|
|
3830
|
-
function
|
|
3860
|
+
function Vn(e, t) {
|
|
3831
3861
|
const r = new URL(t);
|
|
3832
3862
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3833
3863
|
const i = document.createElement("style");
|
|
@@ -3836,7 +3866,7 @@ function kn(e, t) {
|
|
|
3836
3866
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3837
3867
|
});
|
|
3838
3868
|
}
|
|
3839
|
-
function
|
|
3869
|
+
function Xn(e, t, r) {
|
|
3840
3870
|
if (window.emMessageBus) {
|
|
3841
3871
|
const n = document.createElement("style");
|
|
3842
3872
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3844,7 +3874,7 @@ function Vn(e, t, r) {
|
|
|
3844
3874
|
});
|
|
3845
3875
|
}
|
|
3846
3876
|
}
|
|
3847
|
-
function
|
|
3877
|
+
function zn({ withLocale: e, translations: t }) {
|
|
3848
3878
|
M.subscribe((r) => {
|
|
3849
3879
|
r == null && (W.set(t), M.set(e));
|
|
3850
3880
|
});
|
|
@@ -3861,12 +3891,12 @@ if (typeof window < "u") {
|
|
|
3861
3891
|
}
|
|
3862
3892
|
};
|
|
3863
3893
|
};
|
|
3864
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3894
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Bu_dTPEa.js").then(({ default: t }) => {
|
|
3865
3895
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3866
3896
|
});
|
|
3867
3897
|
}
|
|
3868
|
-
function
|
|
3869
|
-
$t(e, "svelte-
|
|
3898
|
+
function Wn(e) {
|
|
3899
|
+
$t(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))}");
|
|
3870
3900
|
}
|
|
3871
3901
|
function rt(e) {
|
|
3872
3902
|
let t;
|
|
@@ -4083,7 +4113,7 @@ function rt(e) {
|
|
|
4083
4113
|
}
|
|
4084
4114
|
};
|
|
4085
4115
|
}
|
|
4086
|
-
function
|
|
4116
|
+
function Zn(e) {
|
|
4087
4117
|
let t, r = (
|
|
4088
4118
|
/*session*/
|
|
4089
4119
|
e[4] && rt(e)
|
|
@@ -4106,9 +4136,10 @@ function Wn(e) {
|
|
|
4106
4136
|
}
|
|
4107
4137
|
};
|
|
4108
4138
|
}
|
|
4109
|
-
function
|
|
4139
|
+
function Qn(e, t, r) {
|
|
4110
4140
|
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;
|
|
4111
|
-
|
|
4141
|
+
zn({ withLocale: "en", translations: {} }), Vt(() => () => {
|
|
4142
|
+
});
|
|
4112
4143
|
function O(c) {
|
|
4113
4144
|
He[c ? "unshift" : "push"](() => {
|
|
4114
4145
|
x = c, r(18, x);
|
|
@@ -4118,9 +4149,9 @@ function Zn(e, t, r) {
|
|
|
4118
4149
|
"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);
|
|
4119
4150
|
}, e.$$.update = () => {
|
|
4120
4151
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4121
|
-
262208 && u && x &&
|
|
4122
|
-
262272 && h && x &&
|
|
4123
|
-
393216 && x &&
|
|
4152
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4153
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4154
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4124
4155
|
}, [
|
|
4125
4156
|
n,
|
|
4126
4157
|
i,
|
|
@@ -4144,13 +4175,13 @@ function Zn(e, t, r) {
|
|
|
4144
4175
|
O
|
|
4145
4176
|
];
|
|
4146
4177
|
}
|
|
4147
|
-
class Ct extends
|
|
4178
|
+
class Ct extends Kt {
|
|
4148
4179
|
constructor(t) {
|
|
4149
|
-
super(),
|
|
4180
|
+
super(), Jt(
|
|
4150
4181
|
this,
|
|
4151
4182
|
t,
|
|
4183
|
+
Qn,
|
|
4152
4184
|
Zn,
|
|
4153
|
-
Wn,
|
|
4154
4185
|
it,
|
|
4155
4186
|
{
|
|
4156
4187
|
endpoint: 0,
|
|
@@ -4172,7 +4203,7 @@ class Ct extends Yt {
|
|
|
4172
4203
|
fetchviaevent: 16,
|
|
4173
4204
|
mbsource: 17
|
|
4174
4205
|
},
|
|
4175
|
-
|
|
4206
|
+
Wn
|
|
4176
4207
|
);
|
|
4177
4208
|
}
|
|
4178
4209
|
get endpoint() {
|
|
@@ -4284,53 +4315,53 @@ class Ct extends Yt {
|
|
|
4284
4315
|
this.$$set({ mbsource: t }), H();
|
|
4285
4316
|
}
|
|
4286
4317
|
}
|
|
4287
|
-
|
|
4318
|
+
Yt(Ct, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4288
4319
|
const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4289
4320
|
__proto__: null,
|
|
4290
4321
|
default: Ct
|
|
4291
4322
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4292
4323
|
export {
|
|
4293
4324
|
M as $,
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4325
|
+
ti as A,
|
|
4326
|
+
ri as B,
|
|
4327
|
+
Yn as C,
|
|
4297
4328
|
X as D,
|
|
4298
|
-
|
|
4329
|
+
ni as E,
|
|
4299
4330
|
ci as F,
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4331
|
+
qn as G,
|
|
4332
|
+
ii as H,
|
|
4333
|
+
ei as I,
|
|
4334
|
+
si as J,
|
|
4304
4335
|
ai as K,
|
|
4305
4336
|
hi as L,
|
|
4306
4337
|
g as M,
|
|
4307
4338
|
ui as N,
|
|
4308
4339
|
mi as O,
|
|
4309
|
-
|
|
4340
|
+
Kt as S,
|
|
4310
4341
|
li as _,
|
|
4311
4342
|
pe as a,
|
|
4312
4343
|
fi as b,
|
|
4313
4344
|
fe as c,
|
|
4314
4345
|
W as d,
|
|
4315
|
-
|
|
4346
|
+
dn as e,
|
|
4316
4347
|
H as f,
|
|
4317
|
-
|
|
4348
|
+
Yt as g,
|
|
4318
4349
|
$t as h,
|
|
4319
|
-
|
|
4350
|
+
Jt as i,
|
|
4320
4351
|
te as j,
|
|
4321
4352
|
le as k,
|
|
4322
4353
|
ee as l,
|
|
4323
|
-
|
|
4354
|
+
Jn as m,
|
|
4324
4355
|
N as n,
|
|
4325
|
-
|
|
4326
|
-
|
|
4356
|
+
Vt as o,
|
|
4357
|
+
Vn as p,
|
|
4327
4358
|
He as q,
|
|
4328
|
-
|
|
4359
|
+
kn as r,
|
|
4329
4360
|
it as s,
|
|
4330
|
-
|
|
4361
|
+
Xn as t,
|
|
4331
4362
|
oi as u,
|
|
4332
4363
|
Gt as v,
|
|
4333
|
-
|
|
4364
|
+
Kn as w,
|
|
4334
4365
|
at as x,
|
|
4335
4366
|
Re as y,
|
|
4336
4367
|
Rt as z
|