@everymatrix/casino-page 1.63.3 → 1.64.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/{CasinoCalendar-nljhPH7y.cjs → CasinoCalendar-B7HDzCMK.cjs} +4 -4
- package/components/{CasinoCalendar-BeZncquz.js → CasinoCalendar-Vkb-R-ZX.js} +114 -114
- package/components/{CasinoCalendar-CXqShP9K.js → CasinoCalendar-gzR0syWU.js} +200 -200
- package/components/CasinoCalendarDailyDetails-BSQbzcGH.js +567 -0
- package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Cf_NBcOX.js +567 -0
- package/components/{CasinoCalendarDailyItem-CxNvFRRJ.js → CasinoCalendarDailyItem-CQSuNZtl.js} +45 -45
- package/components/CasinoCalendarDailyItem-DcM708OO.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-1co5UCOc.js → CasinoCalendarDailyItem-Dn5Go7LC.js} +45 -45
- package/components/CasinoCollectionsProviders-58EKJRFt.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Ddznc9st.js → CasinoCollectionsProviders-C2HckLP0.js} +106 -106
- package/components/{CasinoCollectionsProviders-DQ-lUWZN.js → CasinoCollectionsProviders-CQOBEpAZ.js} +113 -113
- package/components/{CasinoFavoritesSection-BhVw9fTI.js → CasinoFavoritesSection-CcsvkrzG.js} +23 -23
- package/components/{CasinoFavoritesSection-BskhwCG2.js → CasinoFavoritesSection-DfGJNbB8.js} +23 -23
- package/components/{CasinoFavoritesSection-B5JU_G95.cjs → CasinoFavoritesSection-W3TMRpsu.cjs} +1 -1
- package/components/{CasinoFilter-DffsJWQu.js → CasinoFilter-Bgdgnv7e.js} +115 -115
- package/components/{CasinoFilter-BZvjOUNz.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
- package/components/{CasinoFilter-Bhzt3ud6.js → CasinoFilter-DcGO-ipH.js} +112 -112
- package/components/{CasinoGameThumbnail-CETsOO6r.cjs → CasinoGameThumbnail-COIE0fub.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CE_8NKFQ.js → CasinoGameThumbnail-DXQLodRv.js} +3 -3
- package/components/{CasinoGameThumbnail-nQ4bxAne.js → CasinoGameThumbnail-DiLl5Mrw.js} +3 -3
- package/components/CasinoGamesCategorySection-BG3iYeKb.js +3170 -0
- package/components/CasinoGamesCategorySection-D-NYfWaO.cjs +1 -0
- package/components/CasinoGamesCategorySection-DqEYl0Es.js +3202 -0
- package/components/{CasinoJackpotBanner-CqOh2dMq.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CLIfQAnS.js → CasinoJackpotBanner-CzYBUhxU.js} +91 -91
- package/components/{CasinoJackpotBanner-QiQ-hf00.js → CasinoJackpotBanner-emlytO5A.js} +98 -98
- package/components/{CasinoLastPlayedSection-DVsj0ERs.js → CasinoLastPlayedSection-DlkamFRO.js} +11 -11
- package/components/{CasinoLastPlayedSection-_PDk9mvl.cjs → CasinoLastPlayedSection-ESrwXqVH.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BGX5xL0g.js → CasinoLastPlayedSection-HNf5v3xk.js} +11 -11
- package/components/{CasinoMostPlayedSection-DK66ryn0.js → CasinoMostPlayedSection-Bj52NLlc.js} +19 -19
- package/components/{CasinoMostPlayedSection-C4jaxrRR.cjs → CasinoMostPlayedSection-DnCmD7jr.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-_JLs4XMs.js → CasinoMostPlayedSection-ZxeqcEG3.js} +19 -19
- package/components/{CasinoMyGames-Bt6ErgXD.js → CasinoMyGames-B3n4oh-A.js} +54 -54
- package/components/{CasinoMyGames-Cdc-1_0d.cjs → CasinoMyGames-Ds1zAHP9.cjs} +1 -1
- package/components/{CasinoMyGames-CflxhNav.js → CasinoMyGames-vFSJZHR-.js} +50 -50
- package/components/{CasinoPage-DuqMGBRI.js → CasinoPage-ClUmsk8r.js} +175 -175
- package/components/{CasinoPage-DjqRL5f8.cjs → CasinoPage-Cy-fE9bq.cjs} +1 -1
- package/components/{CasinoPage-DAN37M6o.js → CasinoPage-DXlelFXN.js} +181 -181
- package/components/{CasinoRandomGame-DmhidQ0r.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
- package/components/{CasinoRandomGame-BmbrklCB.js → CasinoRandomGame-DCljkb0K.js} +70 -70
- package/components/{CasinoRandomGame-Bk1JbUlj.js → CasinoRandomGame-SWOJ-rEc.js} +70 -70
- package/components/{CasinoSearch-BKt2MLZ5.js → CasinoSearch-B1cDx372.js} +73 -73
- package/components/{CasinoSearch-BUb1cHOF.cjs → CasinoSearch-CPSvAdm9.cjs} +1 -1
- package/components/{CasinoSearch-K-yv43no.js → CasinoSearch-JYJ0TOYC.js} +75 -75
- package/components/{CasinoSort-JdpRMlFB.js → CasinoSort-CFb0U8jb.js} +32 -32
- package/components/{CasinoSort-Dd8ZEIdO.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
- package/components/{CasinoSort-BwF_FapK.js → CasinoSort-DfH2maWJ.js} +32 -32
- package/components/CasinoWinners-C9tJh4_L.cjs +1 -0
- package/components/{CasinoWinners-DndMyplw.js → CasinoWinners-D02DDUiQ.js} +131 -131
- package/components/{CasinoWinners-BQNqPkDs.js → CasinoWinners-DB-fwvGm.js} +132 -132
- package/components/{GeneralAnimationLoading-C8QANCXC.js → GeneralAnimationLoading-B2emFg0o.js} +6 -6
- package/components/{GeneralAnimationLoading-Cw3xHMcW.js → GeneralAnimationLoading-DCyTdaug.js} +6 -6
- package/components/{GeneralAnimationLoading-D60kNPCe.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-D8MUjPhD.js +0 -694
- package/components/CasinoCalendarDailyDetails-DciPEtlc.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-DjHQLxKC.js +0 -694
- package/components/CasinoCalendarDailyItem-8n79Y5xW.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwF-EeBd.cjs +0 -1
- package/components/CasinoGamesCategorySection-BQ1WL6iu.js +0 -3170
- package/components/CasinoGamesCategorySection-CbwlnTaF.js +0 -3139
- package/components/CasinoGamesCategorySection-qOt4yV-4.cjs +0 -1
- package/components/CasinoWinners-jQ69UTS2.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function P() {
|
|
2
2
|
}
|
|
3
3
|
function Er(e, t) {
|
|
4
4
|
for (const r in t)
|
|
@@ -34,7 +34,7 @@ function Rt(e, ...t) {
|
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
37
|
-
return
|
|
37
|
+
return P;
|
|
38
38
|
}
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -82,7 +82,7 @@ function uo(e) {
|
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
84
|
function lo(e) {
|
|
85
|
-
return e && Se(e.destroy) ? e.destroy :
|
|
85
|
+
return e && Se(e.destroy) ? e.destroy : P;
|
|
86
86
|
}
|
|
87
87
|
function we(e, t) {
|
|
88
88
|
e.appendChild(t);
|
|
@@ -117,14 +117,14 @@ function k(e, t, r) {
|
|
|
117
117
|
function U(e) {
|
|
118
118
|
e.parentNode && e.parentNode.removeChild(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Br(e, t) {
|
|
121
121
|
for (let r = 0; r < e.length; r += 1)
|
|
122
122
|
e[r] && e[r].d(t);
|
|
123
123
|
}
|
|
124
124
|
function $(e) {
|
|
125
125
|
return document.createElement(e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Pr(e) {
|
|
128
128
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
129
129
|
}
|
|
130
130
|
function nt(e) {
|
|
@@ -198,7 +198,7 @@ class yo {
|
|
|
198
198
|
* @returns {void}
|
|
199
199
|
*/
|
|
200
200
|
m(t, r, n = null) {
|
|
201
|
-
this.e || (this.is_svg ? this.e =
|
|
201
|
+
this.e || (this.is_svg ? this.e = Pr(
|
|
202
202
|
/** @type {keyof SVGElementTagNameMap} */
|
|
203
203
|
r.nodeName
|
|
204
204
|
) : this.e = $(
|
|
@@ -237,7 +237,7 @@ class yo {
|
|
|
237
237
|
this.n.forEach(U);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Lr(e) {
|
|
241
241
|
const t = {};
|
|
242
242
|
return e.childNodes.forEach(
|
|
243
243
|
/** @param {Element} node */
|
|
@@ -255,7 +255,7 @@ function Dt() {
|
|
|
255
255
|
throw new Error("Function called outside component initialization");
|
|
256
256
|
return ae;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function Cr(e) {
|
|
259
259
|
Dt().$$.on_mount.push(e);
|
|
260
260
|
}
|
|
261
261
|
function go(e) {
|
|
@@ -268,7 +268,7 @@ let Ge = !1;
|
|
|
268
268
|
function Gt() {
|
|
269
269
|
Ge || (Ge = !0, Ut.then(M));
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function _o() {
|
|
272
272
|
return Gt(), Ut;
|
|
273
273
|
}
|
|
274
274
|
function Fe(e) {
|
|
@@ -314,7 +314,7 @@ function Mr(e) {
|
|
|
314
314
|
}
|
|
315
315
|
const me = /* @__PURE__ */ new Set();
|
|
316
316
|
let V;
|
|
317
|
-
function
|
|
317
|
+
function vo() {
|
|
318
318
|
V = {
|
|
319
319
|
r: 0,
|
|
320
320
|
c: [],
|
|
@@ -357,16 +357,16 @@ function wo(e, t, r, n, i, o, a, s, l, u, h, f) {
|
|
|
357
357
|
const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
|
|
358
358
|
for (b = m; b--; ) {
|
|
359
359
|
const E = f(i, o, b), I = r(E);
|
|
360
|
-
let
|
|
361
|
-
|
|
360
|
+
let B = a.get(I);
|
|
361
|
+
B ? w.push(() => B.p(E, t)) : (B = u(I, E), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
|
|
362
362
|
}
|
|
363
|
-
const
|
|
363
|
+
const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
364
364
|
function N(E) {
|
|
365
365
|
Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
|
|
366
366
|
}
|
|
367
367
|
for (; c && m; ) {
|
|
368
|
-
const E = S[m - 1], I = e[c - 1],
|
|
369
|
-
E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(
|
|
368
|
+
const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
|
|
369
|
+
E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(E) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), N(E)) : (C.add(z), c--) : (l(I, a), c--);
|
|
370
370
|
}
|
|
371
371
|
for (; c--; ) {
|
|
372
372
|
const E = e[c];
|
|
@@ -398,7 +398,7 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
398
398
|
ctx: [],
|
|
399
399
|
// state
|
|
400
400
|
props: o,
|
|
401
|
-
update:
|
|
401
|
+
update: P,
|
|
402
402
|
not_equal: i,
|
|
403
403
|
bound: st(),
|
|
404
404
|
// lifecycle
|
|
@@ -489,7 +489,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
489
489
|
};
|
|
490
490
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
491
491
|
return;
|
|
492
|
-
const t = {}, r =
|
|
492
|
+
const t = {}, r = Lr(this);
|
|
493
493
|
for (const i of this.$$s)
|
|
494
494
|
i in r && (t[i] = [e(i)]);
|
|
495
495
|
for (const i of this.attributes) {
|
|
@@ -624,7 +624,7 @@ class jr {
|
|
|
624
624
|
$$set = void 0;
|
|
625
625
|
/** @returns {void} */
|
|
626
626
|
$destroy() {
|
|
627
|
-
Dr(this, 1), this.$destroy =
|
|
627
|
+
Dr(this, 1), this.$destroy = P;
|
|
628
628
|
}
|
|
629
629
|
/**
|
|
630
630
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -634,7 +634,7 @@ class jr {
|
|
|
634
634
|
*/
|
|
635
635
|
$on(t, r) {
|
|
636
636
|
if (!Se(r))
|
|
637
|
-
return
|
|
637
|
+
return P;
|
|
638
638
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
639
639
|
return n.push(r), () => {
|
|
640
640
|
const i = n.indexOf(r);
|
|
@@ -729,7 +729,7 @@ function kt(e) {
|
|
|
729
729
|
}, r = e(t);
|
|
730
730
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
731
731
|
}
|
|
732
|
-
var
|
|
732
|
+
var Le = kt(function(e) {
|
|
733
733
|
return function(r) {
|
|
734
734
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
735
735
|
` + r.map(function(n, i) {
|
|
@@ -777,7 +777,7 @@ var Te = function() {
|
|
|
777
777
|
try {
|
|
778
778
|
h();
|
|
779
779
|
} catch (g) {
|
|
780
|
-
o = g instanceof
|
|
780
|
+
o = g instanceof Le ? g.errors : [g];
|
|
781
781
|
}
|
|
782
782
|
var f = this._finalizers;
|
|
783
783
|
if (f) {
|
|
@@ -788,7 +788,7 @@ var Te = function() {
|
|
|
788
788
|
try {
|
|
789
789
|
lt(b);
|
|
790
790
|
} catch (g) {
|
|
791
|
-
o = o ?? [], g instanceof
|
|
791
|
+
o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
} catch (g) {
|
|
@@ -803,7 +803,7 @@ var Te = function() {
|
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
if (o)
|
|
806
|
-
throw new
|
|
806
|
+
throw new Le(o);
|
|
807
807
|
}
|
|
808
808
|
}, e.prototype.add = function(t) {
|
|
809
809
|
var r;
|
|
@@ -1176,7 +1176,7 @@ function on(e, t) {
|
|
|
1176
1176
|
subscribe: He(e, t).subscribe
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
|
-
function He(e, t =
|
|
1179
|
+
function He(e, t = P) {
|
|
1180
1180
|
let r;
|
|
1181
1181
|
const n = /* @__PURE__ */ new Set();
|
|
1182
1182
|
function i(s) {
|
|
@@ -1194,9 +1194,9 @@ function He(e, t = B) {
|
|
|
1194
1194
|
function o(s) {
|
|
1195
1195
|
i(s(e));
|
|
1196
1196
|
}
|
|
1197
|
-
function a(s, l =
|
|
1197
|
+
function a(s, l = P) {
|
|
1198
1198
|
const u = [s, l];
|
|
1199
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1199
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
|
|
1200
1200
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1201
1201
|
};
|
|
1202
1202
|
}
|
|
@@ -1210,13 +1210,13 @@ function re(e, t, r) {
|
|
|
1210
1210
|
return on(r, (a, s) => {
|
|
1211
1211
|
let l = !1;
|
|
1212
1212
|
const u = [];
|
|
1213
|
-
let h = 0, f =
|
|
1213
|
+
let h = 0, f = P;
|
|
1214
1214
|
const c = () => {
|
|
1215
1215
|
if (h)
|
|
1216
1216
|
return;
|
|
1217
1217
|
f();
|
|
1218
1218
|
const b = t(n ? u[0] : u, a, s);
|
|
1219
|
-
o ? a(b) : f = Se(b) ? b :
|
|
1219
|
+
o ? a(b) : f = Se(b) ? b : P;
|
|
1220
1220
|
}, m = i.map(
|
|
1221
1221
|
(b, g) => Rt(
|
|
1222
1222
|
b,
|
|
@@ -1305,8 +1305,8 @@ Y.all = function(t, r) {
|
|
|
1305
1305
|
return Y(n, i, r);
|
|
1306
1306
|
}, {});
|
|
1307
1307
|
};
|
|
1308
|
-
var
|
|
1309
|
-
const En = /* @__PURE__ */ sn(
|
|
1308
|
+
var _n = Y, vn = _n;
|
|
1309
|
+
const En = /* @__PURE__ */ sn(vn);
|
|
1310
1310
|
var Ze = function(e, t) {
|
|
1311
1311
|
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1312
1312
|
r.__proto__ = n;
|
|
@@ -1315,7 +1315,7 @@ var Ze = function(e, t) {
|
|
|
1315
1315
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1316
1316
|
}, Ze(e, t);
|
|
1317
1317
|
};
|
|
1318
|
-
function
|
|
1318
|
+
function Be(e, t) {
|
|
1319
1319
|
if (typeof t != "function" && t !== null)
|
|
1320
1320
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1321
1321
|
Ze(e, t);
|
|
@@ -1343,14 +1343,14 @@ function xn(e, t) {
|
|
|
1343
1343
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1344
1344
|
return r;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function Ce(e, t, r) {
|
|
1347
1347
|
if (r || arguments.length === 2)
|
|
1348
1348
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1349
1349
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1350
1350
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1351
1351
|
}
|
|
1352
1352
|
function Ne(e, t) {
|
|
1353
|
-
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer :
|
|
1353
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
|
1354
1354
|
return i(e, {
|
|
1355
1355
|
cache: r,
|
|
1356
1356
|
serializer: n
|
|
@@ -1377,9 +1377,9 @@ function Tn(e, t) {
|
|
|
1377
1377
|
function Hn(e, t) {
|
|
1378
1378
|
return qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1379
1379
|
}
|
|
1380
|
-
var
|
|
1380
|
+
var Bn = function() {
|
|
1381
1381
|
return JSON.stringify(arguments);
|
|
1382
|
-
},
|
|
1382
|
+
}, Pn = (
|
|
1383
1383
|
/** @class */
|
|
1384
1384
|
function() {
|
|
1385
1385
|
function e() {
|
|
@@ -1393,58 +1393,58 @@ var Pn = function() {
|
|
|
1393
1393
|
}()
|
|
1394
1394
|
), An = {
|
|
1395
1395
|
create: function() {
|
|
1396
|
-
return new
|
|
1396
|
+
return new Pn();
|
|
1397
1397
|
}
|
|
1398
1398
|
}, Me = {
|
|
1399
1399
|
variadic: Hn
|
|
1400
|
-
},
|
|
1401
|
-
return
|
|
1400
|
+
}, ve = function() {
|
|
1401
|
+
return ve = Object.assign || function(t) {
|
|
1402
1402
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1403
1403
|
r = arguments[n];
|
|
1404
1404
|
for (var o in r)
|
|
1405
1405
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1406
1406
|
}
|
|
1407
1407
|
return t;
|
|
1408
|
-
},
|
|
1408
|
+
}, ve.apply(this, arguments);
|
|
1409
1409
|
};
|
|
1410
1410
|
var y;
|
|
1411
1411
|
(function(e) {
|
|
1412
1412
|
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";
|
|
1413
1413
|
})(y || (y = {}));
|
|
1414
|
-
var
|
|
1414
|
+
var v;
|
|
1415
1415
|
(function(e) {
|
|
1416
1416
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1417
|
-
})(
|
|
1417
|
+
})(v || (v = {}));
|
|
1418
1418
|
var K;
|
|
1419
1419
|
(function(e) {
|
|
1420
1420
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1421
1421
|
})(K || (K = {}));
|
|
1422
1422
|
function yt(e) {
|
|
1423
|
-
return e.type ===
|
|
1423
|
+
return e.type === v.literal;
|
|
1424
1424
|
}
|
|
1425
1425
|
function On(e) {
|
|
1426
|
-
return e.type ===
|
|
1426
|
+
return e.type === v.argument;
|
|
1427
1427
|
}
|
|
1428
1428
|
function Yt(e) {
|
|
1429
|
-
return e.type ===
|
|
1429
|
+
return e.type === v.number;
|
|
1430
1430
|
}
|
|
1431
1431
|
function Kt(e) {
|
|
1432
|
-
return e.type ===
|
|
1432
|
+
return e.type === v.date;
|
|
1433
1433
|
}
|
|
1434
1434
|
function er(e) {
|
|
1435
|
-
return e.type ===
|
|
1435
|
+
return e.type === v.time;
|
|
1436
1436
|
}
|
|
1437
1437
|
function tr(e) {
|
|
1438
|
-
return e.type ===
|
|
1438
|
+
return e.type === v.select;
|
|
1439
1439
|
}
|
|
1440
1440
|
function rr(e) {
|
|
1441
|
-
return e.type ===
|
|
1441
|
+
return e.type === v.plural;
|
|
1442
1442
|
}
|
|
1443
1443
|
function In(e) {
|
|
1444
|
-
return e.type ===
|
|
1444
|
+
return e.type === v.pound;
|
|
1445
1445
|
}
|
|
1446
1446
|
function nr(e) {
|
|
1447
|
-
return e.type ===
|
|
1447
|
+
return e.type === v.tag;
|
|
1448
1448
|
}
|
|
1449
1449
|
function ir(e) {
|
|
1450
1450
|
return !!(e && typeof e == "object" && e.type === K.number);
|
|
@@ -1452,10 +1452,10 @@ function ir(e) {
|
|
|
1452
1452
|
function Qe(e) {
|
|
1453
1453
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1454
1454
|
}
|
|
1455
|
-
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1456
|
-
function
|
|
1455
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
|
|
1456
|
+
function Cn(e) {
|
|
1457
1457
|
var t = {};
|
|
1458
|
-
return e.replace(
|
|
1458
|
+
return e.replace(Ln, function(r) {
|
|
1459
1459
|
var n = r.length;
|
|
1460
1460
|
switch (r[0]) {
|
|
1461
1461
|
case "G":
|
|
@@ -1577,7 +1577,7 @@ function Rn(e) {
|
|
|
1577
1577
|
return e.replace(/^(.*?)-/, "");
|
|
1578
1578
|
}
|
|
1579
1579
|
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1580
|
-
function
|
|
1580
|
+
function _t(e) {
|
|
1581
1581
|
var t = {};
|
|
1582
1582
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1583
1583
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
@@ -1637,7 +1637,7 @@ function Dn(e) {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
return t;
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1640
|
+
function vt(e) {
|
|
1641
1641
|
var t = {}, r = ur(e);
|
|
1642
1642
|
return r || t;
|
|
1643
1643
|
}
|
|
@@ -1677,12 +1677,12 @@ function Un(e) {
|
|
|
1677
1677
|
continue;
|
|
1678
1678
|
case "scientific":
|
|
1679
1679
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1680
|
-
return x(x({}, l),
|
|
1680
|
+
return x(x({}, l), vt(u));
|
|
1681
1681
|
}, {}));
|
|
1682
1682
|
continue;
|
|
1683
1683
|
case "engineering":
|
|
1684
1684
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1685
|
-
return x(x({}, l),
|
|
1685
|
+
return x(x({}, l), vt(u));
|
|
1686
1686
|
}, {}));
|
|
1687
1687
|
continue;
|
|
1688
1688
|
case "notation-simple":
|
|
@@ -1751,11 +1751,11 @@ function Un(e) {
|
|
|
1751
1751
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1752
1752
|
});
|
|
1753
1753
|
var o = i.options[0];
|
|
1754
|
-
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t),
|
|
1754
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
|
|
1755
1755
|
continue;
|
|
1756
1756
|
}
|
|
1757
1757
|
if (sr.test(i.stem)) {
|
|
1758
|
-
t = x(x({}, t),
|
|
1758
|
+
t = x(x({}, t), _t(i.stem));
|
|
1759
1759
|
continue;
|
|
1760
1760
|
}
|
|
1761
1761
|
var a = ur(i.stem);
|
|
@@ -3219,7 +3219,7 @@ function Fn(e) {
|
|
|
3219
3219
|
return i[0];
|
|
3220
3220
|
}
|
|
3221
3221
|
var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
|
|
3222
|
-
function
|
|
3222
|
+
function _(e, t) {
|
|
3223
3223
|
return { start: e, end: t };
|
|
3224
3224
|
}
|
|
3225
3225
|
var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
|
|
@@ -3346,13 +3346,13 @@ var ti = (
|
|
|
3346
3346
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3347
3347
|
var s = this.clonePosition();
|
|
3348
3348
|
this.bump(), i.push({
|
|
3349
|
-
type:
|
|
3350
|
-
location:
|
|
3349
|
+
type: v.pound,
|
|
3350
|
+
location: _(s, this.clonePosition())
|
|
3351
3351
|
});
|
|
3352
3352
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3353
3353
|
if (n)
|
|
3354
3354
|
break;
|
|
3355
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3355
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3356
3356
|
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3357
3357
|
var a = this.parseTag(t, r);
|
|
3358
3358
|
if (a.err)
|
|
@@ -3374,9 +3374,9 @@ var ti = (
|
|
|
3374
3374
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3375
3375
|
return {
|
|
3376
3376
|
val: {
|
|
3377
|
-
type:
|
|
3377
|
+
type: v.literal,
|
|
3378
3378
|
value: "<".concat(i, "/>"),
|
|
3379
|
-
location:
|
|
3379
|
+
location: _(n, this.clonePosition())
|
|
3380
3380
|
},
|
|
3381
3381
|
err: null
|
|
3382
3382
|
};
|
|
@@ -3387,21 +3387,21 @@ var ti = (
|
|
|
3387
3387
|
var a = o.val, s = this.clonePosition();
|
|
3388
3388
|
if (this.bumpIf("</")) {
|
|
3389
3389
|
if (this.isEOF() || !Ke(this.char()))
|
|
3390
|
-
return this.error(y.INVALID_TAG,
|
|
3390
|
+
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3391
3391
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3392
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3392
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3393
3393
|
val: {
|
|
3394
|
-
type:
|
|
3394
|
+
type: v.tag,
|
|
3395
3395
|
value: i,
|
|
3396
3396
|
children: a,
|
|
3397
|
-
location:
|
|
3397
|
+
location: _(n, this.clonePosition())
|
|
3398
3398
|
},
|
|
3399
3399
|
err: null
|
|
3400
|
-
} : this.error(y.INVALID_TAG,
|
|
3400
|
+
} : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
|
|
3401
3401
|
} else
|
|
3402
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3402
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3403
3403
|
} else
|
|
3404
|
-
return this.error(y.INVALID_TAG,
|
|
3404
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3405
3405
|
}, e.prototype.parseTagName = function() {
|
|
3406
3406
|
var t = this.offset();
|
|
3407
3407
|
for (this.bump(); !this.isEOF() && ni(this.char()); )
|
|
@@ -3426,9 +3426,9 @@ var ti = (
|
|
|
3426
3426
|
}
|
|
3427
3427
|
break;
|
|
3428
3428
|
}
|
|
3429
|
-
var l =
|
|
3429
|
+
var l = _(n, this.clonePosition());
|
|
3430
3430
|
return {
|
|
3431
|
-
val: { type:
|
|
3431
|
+
val: { type: v.literal, value: i, location: l },
|
|
3432
3432
|
err: null
|
|
3433
3433
|
};
|
|
3434
3434
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3476,40 +3476,40 @@ var ti = (
|
|
|
3476
3476
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3477
3477
|
var n = this.clonePosition();
|
|
3478
3478
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3479
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3479
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3480
3480
|
if (this.char() === 125)
|
|
3481
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3481
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3482
3482
|
var i = this.parseIdentifierIfPossible().value;
|
|
3483
3483
|
if (!i)
|
|
3484
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3484
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3485
3485
|
if (this.bumpSpace(), this.isEOF())
|
|
3486
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3486
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3487
3487
|
switch (this.char()) {
|
|
3488
3488
|
case 125:
|
|
3489
3489
|
return this.bump(), {
|
|
3490
3490
|
val: {
|
|
3491
|
-
type:
|
|
3491
|
+
type: v.argument,
|
|
3492
3492
|
// value does not include the opening and closing braces.
|
|
3493
3493
|
value: i,
|
|
3494
|
-
location:
|
|
3494
|
+
location: _(n, this.clonePosition())
|
|
3495
3495
|
},
|
|
3496
3496
|
err: null
|
|
3497
3497
|
};
|
|
3498
3498
|
case 44:
|
|
3499
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3499
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3500
3500
|
default:
|
|
3501
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3501
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3502
3502
|
}
|
|
3503
3503
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3504
3504
|
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3505
3505
|
this.bumpTo(i);
|
|
3506
|
-
var o = this.clonePosition(), a =
|
|
3506
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3507
3507
|
return { value: n, location: a };
|
|
3508
3508
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3509
3509
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3510
3510
|
switch (s) {
|
|
3511
3511
|
case "":
|
|
3512
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3512
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
|
|
3513
3513
|
case "number":
|
|
3514
3514
|
case "date":
|
|
3515
3515
|
case "time": {
|
|
@@ -3522,20 +3522,20 @@ var ti = (
|
|
|
3522
3522
|
return f;
|
|
3523
3523
|
var c = ei(f.val);
|
|
3524
3524
|
if (c.length === 0)
|
|
3525
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3526
|
-
var m =
|
|
3525
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3526
|
+
var m = _(h, this.clonePosition());
|
|
3527
3527
|
u = { style: c, styleLocation: m };
|
|
3528
3528
|
}
|
|
3529
3529
|
var b = this.tryParseArgumentClose(i);
|
|
3530
3530
|
if (b.err)
|
|
3531
3531
|
return b;
|
|
3532
|
-
var g =
|
|
3532
|
+
var g = _(i, this.clonePosition());
|
|
3533
3533
|
if (u && Et(u?.style, "::", 0)) {
|
|
3534
3534
|
var S = Kn(u.style.slice(2));
|
|
3535
3535
|
if (s === "number") {
|
|
3536
3536
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3537
3537
|
return f.err ? f : {
|
|
3538
|
-
val: { type:
|
|
3538
|
+
val: { type: v.number, value: n, location: g, style: f.val },
|
|
3539
3539
|
err: null
|
|
3540
3540
|
};
|
|
3541
3541
|
} else {
|
|
@@ -3547,8 +3547,8 @@ var ti = (
|
|
|
3547
3547
|
type: K.dateTime,
|
|
3548
3548
|
pattern: A,
|
|
3549
3549
|
location: u.styleLocation,
|
|
3550
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3551
|
-
}, H = s === "date" ?
|
|
3550
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(A) : {}
|
|
3551
|
+
}, H = s === "date" ? v.date : v.time;
|
|
3552
3552
|
return {
|
|
3553
3553
|
val: { type: H, value: n, location: g, style: c },
|
|
3554
3554
|
err: null
|
|
@@ -3557,7 +3557,7 @@ var ti = (
|
|
|
3557
3557
|
}
|
|
3558
3558
|
return {
|
|
3559
3559
|
val: {
|
|
3560
|
-
type: s === "number" ?
|
|
3560
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
|
3561
3561
|
value: n,
|
|
3562
3562
|
location: g,
|
|
3563
3563
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3570,28 +3570,28 @@ var ti = (
|
|
|
3570
3570
|
case "select": {
|
|
3571
3571
|
var w = this.clonePosition();
|
|
3572
3572
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3573
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3573
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
|
|
3574
3574
|
this.bumpSpace();
|
|
3575
|
-
var
|
|
3576
|
-
if (s !== "select" &&
|
|
3575
|
+
var C = this.parseIdentifierIfPossible(), O = 0;
|
|
3576
|
+
if (s !== "select" && C.value === "offset") {
|
|
3577
3577
|
if (!this.bumpIf(":"))
|
|
3578
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3578
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3579
3579
|
this.bumpSpace();
|
|
3580
3580
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3581
3581
|
if (f.err)
|
|
3582
3582
|
return f;
|
|
3583
|
-
this.bumpSpace(),
|
|
3583
|
+
this.bumpSpace(), C = this.parseIdentifierIfPossible(), O = f.val;
|
|
3584
3584
|
}
|
|
3585
|
-
var N = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3585
|
+
var N = this.tryParsePluralOrSelectOptions(t, s, r, C);
|
|
3586
3586
|
if (N.err)
|
|
3587
3587
|
return N;
|
|
3588
3588
|
var b = this.tryParseArgumentClose(i);
|
|
3589
3589
|
if (b.err)
|
|
3590
3590
|
return b;
|
|
3591
|
-
var E =
|
|
3591
|
+
var E = _(i, this.clonePosition());
|
|
3592
3592
|
return s === "select" ? {
|
|
3593
3593
|
val: {
|
|
3594
|
-
type:
|
|
3594
|
+
type: v.select,
|
|
3595
3595
|
value: n,
|
|
3596
3596
|
options: xt(N.val),
|
|
3597
3597
|
location: E
|
|
@@ -3599,7 +3599,7 @@ var ti = (
|
|
|
3599
3599
|
err: null
|
|
3600
3600
|
} : {
|
|
3601
3601
|
val: {
|
|
3602
|
-
type:
|
|
3602
|
+
type: v.plural,
|
|
3603
3603
|
value: n,
|
|
3604
3604
|
options: xt(N.val),
|
|
3605
3605
|
offset: O,
|
|
@@ -3610,10 +3610,10 @@ var ti = (
|
|
|
3610
3610
|
};
|
|
3611
3611
|
}
|
|
3612
3612
|
default:
|
|
3613
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3613
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
|
|
3614
3614
|
}
|
|
3615
3615
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3616
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3616
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3617
3617
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3618
3618
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3619
3619
|
var n = this.char();
|
|
@@ -3622,7 +3622,7 @@ var ti = (
|
|
|
3622
3622
|
this.bump();
|
|
3623
3623
|
var i = this.clonePosition();
|
|
3624
3624
|
if (!this.bumpUntil("'"))
|
|
3625
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3625
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3626
3626
|
this.bump();
|
|
3627
3627
|
break;
|
|
3628
3628
|
}
|
|
@@ -3673,7 +3673,7 @@ var ti = (
|
|
|
3673
3673
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3674
3674
|
if (c.err)
|
|
3675
3675
|
return c;
|
|
3676
|
-
h =
|
|
3676
|
+
h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3677
3677
|
} else
|
|
3678
3678
|
break;
|
|
3679
3679
|
}
|
|
@@ -3682,7 +3682,7 @@ var ti = (
|
|
|
3682
3682
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3683
3683
|
var m = this.clonePosition();
|
|
3684
3684
|
if (!this.bumpIf("{"))
|
|
3685
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3685
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3686
3686
|
var b = this.parseMessage(t + 1, r, n);
|
|
3687
3687
|
if (b.err)
|
|
3688
3688
|
return b;
|
|
@@ -3693,11 +3693,11 @@ var ti = (
|
|
|
3693
3693
|
u,
|
|
3694
3694
|
{
|
|
3695
3695
|
value: b.val,
|
|
3696
|
-
location:
|
|
3696
|
+
location: _(m, this.clonePosition())
|
|
3697
3697
|
}
|
|
3698
3698
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3699
3699
|
}
|
|
3700
|
-
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3700
|
+
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3701
3701
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3702
3702
|
var n = 1, i = this.clonePosition();
|
|
3703
3703
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3708,7 +3708,7 @@ var ti = (
|
|
|
3708
3708
|
else
|
|
3709
3709
|
break;
|
|
3710
3710
|
}
|
|
3711
|
-
var l =
|
|
3711
|
+
var l = _(i, this.clonePosition());
|
|
3712
3712
|
return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3713
3713
|
}, e.prototype.offset = function() {
|
|
3714
3714
|
return this.position.offset;
|
|
@@ -3800,7 +3800,7 @@ function et(e) {
|
|
|
3800
3800
|
});
|
|
3801
3801
|
}
|
|
3802
3802
|
function oi(e, t) {
|
|
3803
|
-
t === void 0 && (t = {}), t =
|
|
3803
|
+
t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3804
3804
|
var r = new ti(e, t).parse();
|
|
3805
3805
|
if (r.err) {
|
|
3806
3806
|
var n = SyntaxError(y[r.err.kind]);
|
|
@@ -3812,10 +3812,10 @@ var ee;
|
|
|
3812
3812
|
(function(e) {
|
|
3813
3813
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3814
3814
|
})(ee || (ee = {}));
|
|
3815
|
-
var
|
|
3815
|
+
var Pe = (
|
|
3816
3816
|
/** @class */
|
|
3817
3817
|
function(e) {
|
|
3818
|
-
|
|
3818
|
+
Be(t, e);
|
|
3819
3819
|
function t(r, n, i) {
|
|
3820
3820
|
var o = e.call(this, r) || this;
|
|
3821
3821
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3827,30 +3827,30 @@ var Be = (
|
|
|
3827
3827
|
), wt = (
|
|
3828
3828
|
/** @class */
|
|
3829
3829
|
function(e) {
|
|
3830
|
-
|
|
3830
|
+
Be(t, e);
|
|
3831
3831
|
function t(r, n, i, o) {
|
|
3832
3832
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3833
3833
|
}
|
|
3834
3834
|
return t;
|
|
3835
|
-
}(
|
|
3835
|
+
}(Pe)
|
|
3836
3836
|
), si = (
|
|
3837
3837
|
/** @class */
|
|
3838
3838
|
function(e) {
|
|
3839
|
-
|
|
3839
|
+
Be(t, e);
|
|
3840
3840
|
function t(r, n, i) {
|
|
3841
3841
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3842
3842
|
}
|
|
3843
3843
|
return t;
|
|
3844
|
-
}(
|
|
3844
|
+
}(Pe)
|
|
3845
3845
|
), ai = (
|
|
3846
3846
|
/** @class */
|
|
3847
3847
|
function(e) {
|
|
3848
|
-
|
|
3848
|
+
Be(t, e);
|
|
3849
3849
|
function t(r, n) {
|
|
3850
3850
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3851
3851
|
}
|
|
3852
3852
|
return t;
|
|
3853
|
-
}(
|
|
3853
|
+
}(Pe)
|
|
3854
3854
|
), T;
|
|
3855
3855
|
(function(e) {
|
|
3856
3856
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3948,11 +3948,11 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3948
3948
|
var w = h.options["=".concat(c)];
|
|
3949
3949
|
if (!w) {
|
|
3950
3950
|
if (!Intl.PluralRules)
|
|
3951
|
-
throw new
|
|
3951
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3952
3952
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3953
3953
|
`, ee.MISSING_INTL_API, a);
|
|
3954
|
-
var
|
|
3955
|
-
w = h.options[
|
|
3954
|
+
var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3955
|
+
w = h.options[C] || h.options.other;
|
|
3956
3956
|
}
|
|
3957
3957
|
if (!w)
|
|
3958
3958
|
throw new wt(h.value, c, Object.keys(h.options), a);
|
|
@@ -3995,7 +3995,7 @@ function fi(e) {
|
|
|
3995
3995
|
getNumberFormat: Ne(function() {
|
|
3996
3996
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3997
3997
|
r[n] = arguments[n];
|
|
3998
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3998
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3999
3999
|
}, {
|
|
4000
4000
|
cache: $e(e.number),
|
|
4001
4001
|
strategy: Me.variadic
|
|
@@ -4003,7 +4003,7 @@ function fi(e) {
|
|
|
4003
4003
|
getDateTimeFormat: Ne(function() {
|
|
4004
4004
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4005
4005
|
r[n] = arguments[n];
|
|
4006
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4006
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
4007
4007
|
}, {
|
|
4008
4008
|
cache: $e(e.dateTime),
|
|
4009
4009
|
strategy: Me.variadic
|
|
@@ -4011,7 +4011,7 @@ function fi(e) {
|
|
|
4011
4011
|
getPluralRules: Ne(function() {
|
|
4012
4012
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4013
4013
|
r[n] = arguments[n];
|
|
4014
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4014
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
4015
4015
|
}, {
|
|
4016
4016
|
cache: $e(e.pluralRules),
|
|
4017
4017
|
strategy: Me.variadic
|
|
@@ -4195,14 +4195,14 @@ re(
|
|
|
4195
4195
|
([e]) => Object.keys(e)
|
|
4196
4196
|
);
|
|
4197
4197
|
ce.subscribe((e) => it = e);
|
|
4198
|
-
const
|
|
4199
|
-
function
|
|
4200
|
-
|
|
4198
|
+
const _e = {};
|
|
4199
|
+
function _i(e, t) {
|
|
4200
|
+
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4201
4201
|
}
|
|
4202
4202
|
function mr(e) {
|
|
4203
|
-
return
|
|
4203
|
+
return _e[e];
|
|
4204
4204
|
}
|
|
4205
|
-
function
|
|
4205
|
+
function vi(e) {
|
|
4206
4206
|
return Ae(e).map((t) => {
|
|
4207
4207
|
const r = mr(t);
|
|
4208
4208
|
return [t, r ? [...r] : []];
|
|
@@ -4218,14 +4218,14 @@ function tt(e) {
|
|
|
4218
4218
|
}
|
|
4219
4219
|
function Ei(e, t) {
|
|
4220
4220
|
return Promise.all(
|
|
4221
|
-
t.map((n) => (
|
|
4221
|
+
t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
|
|
4222
4222
|
).then((n) => pr(e, ...n));
|
|
4223
4223
|
}
|
|
4224
4224
|
const oe = {};
|
|
4225
4225
|
function br(e) {
|
|
4226
4226
|
if (!tt(e))
|
|
4227
4227
|
return e in oe ? oe[e] : Promise.resolve();
|
|
4228
|
-
const t =
|
|
4228
|
+
const t = vi(e);
|
|
4229
4229
|
return oe[e] = Promise.all(
|
|
4230
4230
|
t.map(
|
|
4231
4231
|
([r, n]) => Ei(r, n)
|
|
@@ -4277,22 +4277,22 @@ function te() {
|
|
|
4277
4277
|
return wi;
|
|
4278
4278
|
}
|
|
4279
4279
|
const De = He(!1);
|
|
4280
|
-
var Ti = Object.defineProperty, Hi = Object.defineProperties,
|
|
4280
|
+
var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
|
|
4281
4281
|
for (var r in t || (t = {}))
|
|
4282
|
-
|
|
4282
|
+
Pi.call(t, r) && Ht(e, r, t[r]);
|
|
4283
4283
|
if (Tt)
|
|
4284
4284
|
for (var r of Tt(t))
|
|
4285
4285
|
Ai.call(t, r) && Ht(e, r, t[r]);
|
|
4286
4286
|
return e;
|
|
4287
|
-
}, Ii = (e, t) => Hi(e,
|
|
4287
|
+
}, Ii = (e, t) => Hi(e, Bi(t));
|
|
4288
4288
|
let rt;
|
|
4289
4289
|
const Ee = He(null);
|
|
4290
|
-
function
|
|
4290
|
+
function Bt(e) {
|
|
4291
4291
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4292
4292
|
}
|
|
4293
4293
|
function Ae(e, t = te().fallbackLocale) {
|
|
4294
|
-
const r =
|
|
4295
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4294
|
+
const r = Bt(e);
|
|
4295
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4296
4296
|
}
|
|
4297
4297
|
function W() {
|
|
4298
4298
|
return rt ?? void 0;
|
|
@@ -4300,7 +4300,7 @@ function W() {
|
|
|
4300
4300
|
Ee.subscribe((e) => {
|
|
4301
4301
|
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4302
4302
|
});
|
|
4303
|
-
const
|
|
4303
|
+
const Li = (e) => {
|
|
4304
4304
|
if (e && gi(e) && tt(e)) {
|
|
4305
4305
|
const { loadingDelay: t } = te();
|
|
4306
4306
|
let r;
|
|
@@ -4315,7 +4315,7 @@ const Ci = (e) => {
|
|
|
4315
4315
|
}
|
|
4316
4316
|
return Ee.set(e);
|
|
4317
4317
|
}, ne = Ii(Oi({}, Ee), {
|
|
4318
|
-
set:
|
|
4318
|
+
set: Li
|
|
4319
4319
|
}), Oe = (e) => {
|
|
4320
4320
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4321
4321
|
return (n) => {
|
|
@@ -4323,12 +4323,12 @@ const Ci = (e) => {
|
|
|
4323
4323
|
return i in t ? t[i] : t[i] = e(n);
|
|
4324
4324
|
};
|
|
4325
4325
|
};
|
|
4326
|
-
var
|
|
4326
|
+
var Ci = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4327
4327
|
for (var r in t || (t = {}))
|
|
4328
|
-
yr.call(t, r) &&
|
|
4328
|
+
yr.call(t, r) && Pt(e, r, t[r]);
|
|
4329
4329
|
if (xe)
|
|
4330
4330
|
for (var r of xe(t))
|
|
4331
|
-
gr.call(t, r) &&
|
|
4331
|
+
gr.call(t, r) && Pt(e, r, t[r]);
|
|
4332
4332
|
return e;
|
|
4333
4333
|
}, ie = (e, t) => {
|
|
4334
4334
|
var r = {};
|
|
@@ -4431,10 +4431,10 @@ re([ne], () => ki);
|
|
|
4431
4431
|
re([ne], () => Vi);
|
|
4432
4432
|
re([ne, ce], () => Xi);
|
|
4433
4433
|
window.emWidgets = { topic: nn };
|
|
4434
|
-
const
|
|
4434
|
+
const _r = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4435
4435
|
function To(e, t) {
|
|
4436
4436
|
const r = window.navigator.userAgent;
|
|
4437
|
-
return
|
|
4437
|
+
return _r(r) ? t = e.filter((n) => {
|
|
4438
4438
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4439
4439
|
return n;
|
|
4440
4440
|
}) : t = e.filter((n) => {
|
|
@@ -4503,7 +4503,7 @@ if (typeof window < "u") {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
};
|
|
4505
4505
|
};
|
|
4506
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4506
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BSQbzcGH.js").then(({ default: t }) => {
|
|
4507
4507
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4508
4508
|
});
|
|
4509
4509
|
}
|
|
@@ -4519,13 +4519,13 @@ if (typeof window < "u") {
|
|
|
4519
4519
|
}
|
|
4520
4520
|
};
|
|
4521
4521
|
};
|
|
4522
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4522
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Dn5Go7LC.js").then(({ default: t }) => {
|
|
4523
4523
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4524
4524
|
});
|
|
4525
4525
|
}
|
|
4526
4526
|
function Yi(e) {
|
|
4527
|
-
wr(e, "svelte-
|
|
4528
|
-
}.LoadingSpinner.svelte-
|
|
4527
|
+
wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
|
|
4528
|
+
}.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
4529
4529
|
}
|
|
4530
4530
|
function It(e, t, r) {
|
|
4531
4531
|
const n = e.slice();
|
|
@@ -4537,10 +4537,10 @@ function Ki(e) {
|
|
|
4537
4537
|
e[6]
|
|
4538
4538
|
), o = [];
|
|
4539
4539
|
for (let s = 0; s < i.length; s += 1)
|
|
4540
|
-
o[s] =
|
|
4540
|
+
o[s] = Lt(It(e, i, s));
|
|
4541
4541
|
let a = (
|
|
4542
4542
|
/*calendarModalOpened*/
|
|
4543
|
-
e[11] == !0 &&
|
|
4543
|
+
e[11] == !0 && Ct(e)
|
|
4544
4544
|
);
|
|
4545
4545
|
return {
|
|
4546
4546
|
c() {
|
|
@@ -4548,7 +4548,7 @@ function Ki(e) {
|
|
|
4548
4548
|
for (let s = 0; s < o.length; s += 1)
|
|
4549
4549
|
o[s].c();
|
|
4550
4550
|
r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
4551
|
-
(e[10] ? "Mobile" : "") + " svelte-
|
|
4551
|
+
(e[10] ? "Mobile" : "") + " svelte-5u3c97");
|
|
4552
4552
|
},
|
|
4553
4553
|
m(s, l) {
|
|
4554
4554
|
k(s, t, l);
|
|
@@ -4566,19 +4566,19 @@ function Ki(e) {
|
|
|
4566
4566
|
let u;
|
|
4567
4567
|
for (u = 0; u < i.length; u += 1) {
|
|
4568
4568
|
const h = It(s, i, u);
|
|
4569
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4569
|
+
o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
|
|
4570
4570
|
}
|
|
4571
4571
|
for (; u < o.length; u += 1)
|
|
4572
4572
|
o[u].d(1);
|
|
4573
4573
|
o.length = i.length;
|
|
4574
4574
|
}
|
|
4575
4575
|
/*calendarModalOpened*/
|
|
4576
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4576
|
+
s[11] == !0 ? a ? a.p(s, l) : (a = Ct(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
|
|
4577
4577
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4578
|
-
(s[10] ? "Mobile" : "") + " svelte-
|
|
4578
|
+
(s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
|
|
4579
4579
|
},
|
|
4580
4580
|
d(s) {
|
|
4581
|
-
s && U(t),
|
|
4581
|
+
s && U(t), Br(o, s), a && a.d();
|
|
4582
4582
|
}
|
|
4583
4583
|
};
|
|
4584
4584
|
}
|
|
@@ -4586,12 +4586,12 @@ function eo(e) {
|
|
|
4586
4586
|
let t;
|
|
4587
4587
|
return {
|
|
4588
4588
|
c() {
|
|
4589
|
-
t = $("div"), j(t, "class", "LoadingSpinner svelte-
|
|
4589
|
+
t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
|
|
4590
4590
|
},
|
|
4591
4591
|
m(r, n) {
|
|
4592
4592
|
k(r, t, n);
|
|
4593
4593
|
},
|
|
4594
|
-
p:
|
|
4594
|
+
p: P,
|
|
4595
4595
|
d(r) {
|
|
4596
4596
|
r && U(t);
|
|
4597
4597
|
}
|
|
@@ -4604,7 +4604,7 @@ function to(e) {
|
|
|
4604
4604
|
), n;
|
|
4605
4605
|
return {
|
|
4606
4606
|
c() {
|
|
4607
|
-
t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-
|
|
4607
|
+
t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
|
|
4608
4608
|
},
|
|
4609
4609
|
m(i, o) {
|
|
4610
4610
|
k(i, t, o), we(t, n);
|
|
@@ -4619,7 +4619,7 @@ function to(e) {
|
|
|
4619
4619
|
}
|
|
4620
4620
|
};
|
|
4621
4621
|
}
|
|
4622
|
-
function
|
|
4622
|
+
function Lt(e) {
|
|
4623
4623
|
let t, r, n, i, o, a;
|
|
4624
4624
|
return {
|
|
4625
4625
|
c() {
|
|
@@ -4658,7 +4658,7 @@ function Ct(e) {
|
|
|
4658
4658
|
"translationurl",
|
|
4659
4659
|
/*translationurl*/
|
|
4660
4660
|
e[3]
|
|
4661
|
-
), d(t, "class", "svelte-
|
|
4661
|
+
), d(t, "class", "svelte-5u3c97");
|
|
4662
4662
|
},
|
|
4663
4663
|
m(s, l) {
|
|
4664
4664
|
k(s, t, l);
|
|
@@ -4711,7 +4711,7 @@ function Ct(e) {
|
|
|
4711
4711
|
}
|
|
4712
4712
|
};
|
|
4713
4713
|
}
|
|
4714
|
-
function
|
|
4714
|
+
function Ct(e) {
|
|
4715
4715
|
let t, r, n, i, o, a, s, l;
|
|
4716
4716
|
return {
|
|
4717
4717
|
c() {
|
|
@@ -4764,7 +4764,7 @@ function Lt(e) {
|
|
|
4764
4764
|
"translationurl",
|
|
4765
4765
|
/*translationurl*/
|
|
4766
4766
|
e[3]
|
|
4767
|
-
), d(r, "class", "svelte-
|
|
4767
|
+
), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
4768
4768
|
},
|
|
4769
4769
|
m(u, h) {
|
|
4770
4770
|
k(u, t, h), we(t, r);
|
|
@@ -4859,7 +4859,7 @@ function ro(e) {
|
|
|
4859
4859
|
let n = r(e), i = n && n(e);
|
|
4860
4860
|
return {
|
|
4861
4861
|
c() {
|
|
4862
|
-
t = $("div"), i && i.c(), j(t, "class", "svelte-
|
|
4862
|
+
t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
|
|
4863
4863
|
},
|
|
4864
4864
|
m(o, a) {
|
|
4865
4865
|
k(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4867,8 +4867,8 @@ function ro(e) {
|
|
|
4867
4867
|
p(o, [a]) {
|
|
4868
4868
|
n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
4869
4869
|
},
|
|
4870
|
-
i:
|
|
4871
|
-
o:
|
|
4870
|
+
i: P,
|
|
4871
|
+
o: P,
|
|
4872
4872
|
d(o) {
|
|
4873
4873
|
o && U(t), i && i.d(), e[16](null);
|
|
4874
4874
|
}
|
|
@@ -4878,7 +4878,7 @@ function no(e, t, r) {
|
|
|
4878
4878
|
let n;
|
|
4879
4879
|
Sr(e, Wi, (p) => r(12, n = p));
|
|
4880
4880
|
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
|
|
4881
|
-
const
|
|
4881
|
+
const C = () => {
|
|
4882
4882
|
qi(s);
|
|
4883
4883
|
};
|
|
4884
4884
|
Object.keys(Ot).forEach((p) => {
|
|
@@ -4887,19 +4887,19 @@ function no(e, t, r) {
|
|
|
4887
4887
|
const O = () => {
|
|
4888
4888
|
let p = h;
|
|
4889
4889
|
if (p)
|
|
4890
|
-
return fetch(p).then((
|
|
4891
|
-
Object.keys(
|
|
4892
|
-
At(G,
|
|
4890
|
+
return fetch(p).then((L) => L.json()).then((L) => {
|
|
4891
|
+
Object.keys(L).forEach((G) => {
|
|
4892
|
+
At(G, L[G]);
|
|
4893
4893
|
});
|
|
4894
|
-
}).catch((
|
|
4895
|
-
console.log(
|
|
4894
|
+
}).catch((L) => {
|
|
4895
|
+
console.log(L);
|
|
4896
4896
|
});
|
|
4897
4897
|
}, N = () => {
|
|
4898
4898
|
r(8, g = !0);
|
|
4899
4899
|
let p = new URL(`${i}/${s}/daily-calendar`);
|
|
4900
4900
|
p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
|
|
4901
|
-
let
|
|
4902
|
-
|
|
4901
|
+
let L = zi(H);
|
|
4902
|
+
L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
|
|
4903
4903
|
r(6, m = G);
|
|
4904
4904
|
}).catch((G) => {
|
|
4905
4905
|
console.log(G), r(9, S = !0);
|
|
@@ -4911,7 +4911,7 @@ function no(e, t, r) {
|
|
|
4911
4911
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
|
4912
4912
|
}, I = () => {
|
|
4913
4913
|
N();
|
|
4914
|
-
},
|
|
4914
|
+
}, B = (p) => {
|
|
4915
4915
|
p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
|
|
4916
4916
|
{
|
|
4917
4917
|
type: "ShowModal",
|
|
@@ -4924,8 +4924,8 @@ function no(e, t, r) {
|
|
|
4924
4924
|
data: m[b]?.dailyEvents
|
|
4925
4925
|
})), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
|
|
4926
4926
|
};
|
|
4927
|
-
|
|
4928
|
-
window.removeEventListener("message",
|
|
4927
|
+
Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
|
|
4928
|
+
window.removeEventListener("message", B);
|
|
4929
4929
|
}));
|
|
4930
4930
|
function z(p) {
|
|
4931
4931
|
Ue[p ? "unshift" : "push"](() => {
|
|
@@ -4940,7 +4940,7 @@ function no(e, t, r) {
|
|
|
4940
4940
|
34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4941
4941
|
36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4942
4942
|
48 && c && Ji(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4943
|
-
1 && s &&
|
|
4943
|
+
1 && s && C(), e.$$.dirty & /*lang, translationurl*/
|
|
4944
4944
|
9 && s && h && O();
|
|
4945
4945
|
}, [
|
|
4946
4946
|
s,
|
|
@@ -4962,7 +4962,7 @@ function no(e, t, r) {
|
|
|
4962
4962
|
z
|
|
4963
4963
|
];
|
|
4964
4964
|
}
|
|
4965
|
-
class
|
|
4965
|
+
class vr extends jr {
|
|
4966
4966
|
constructor(t) {
|
|
4967
4967
|
super(), Gr(
|
|
4968
4968
|
this,
|
|
@@ -5032,10 +5032,10 @@ class _r extends jr {
|
|
|
5032
5032
|
this.$$set({ mbsource: t }), M();
|
|
5033
5033
|
}
|
|
5034
5034
|
}
|
|
5035
|
-
Fr(
|
|
5035
|
+
Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5036
5036
|
const Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5037
5037
|
__proto__: null,
|
|
5038
|
-
default:
|
|
5038
|
+
default: vr
|
|
5039
5039
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5040
5040
|
export {
|
|
5041
5041
|
ne as $,
|
|
@@ -5044,23 +5044,23 @@ export {
|
|
|
5044
5044
|
Ue as C,
|
|
5045
5045
|
io as D,
|
|
5046
5046
|
d as E,
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5047
|
+
Pr as F,
|
|
5048
|
+
mo as G,
|
|
5049
|
+
Zi as H,
|
|
5050
|
+
Qi as I,
|
|
5051
|
+
Ji as J,
|
|
5052
|
+
Fr as K,
|
|
5053
|
+
Wi as L,
|
|
5054
|
+
X as M,
|
|
5055
|
+
fo as N,
|
|
5056
|
+
ce as O,
|
|
5057
|
+
zi as P,
|
|
5058
|
+
po as Q,
|
|
5059
|
+
bo as R,
|
|
5060
5060
|
jr as S,
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5061
|
+
ho as T,
|
|
5062
|
+
yo as U,
|
|
5063
|
+
_o as V,
|
|
5064
5064
|
go as W,
|
|
5065
5065
|
To as X,
|
|
5066
5066
|
wo as Y,
|
|
@@ -5075,15 +5075,15 @@ export {
|
|
|
5075
5075
|
U as d,
|
|
5076
5076
|
Eo as e,
|
|
5077
5077
|
M as f,
|
|
5078
|
-
|
|
5078
|
+
vo as g,
|
|
5079
5079
|
k as h,
|
|
5080
5080
|
Gr as i,
|
|
5081
5081
|
$ as j,
|
|
5082
5082
|
Sr as k,
|
|
5083
|
-
|
|
5083
|
+
_r as l,
|
|
5084
5084
|
Ir as m,
|
|
5085
|
-
|
|
5086
|
-
|
|
5085
|
+
P as n,
|
|
5086
|
+
Cr as o,
|
|
5087
5087
|
we as p,
|
|
5088
5088
|
nt as q,
|
|
5089
5089
|
j as r,
|
|
@@ -5091,7 +5091,7 @@ export {
|
|
|
5091
5091
|
Rr as t,
|
|
5092
5092
|
oo as u,
|
|
5093
5093
|
ut as v,
|
|
5094
|
-
|
|
5094
|
+
Br as w,
|
|
5095
5095
|
ao as x,
|
|
5096
5096
|
uo as y,
|
|
5097
5097
|
so as z
|