@everymatrix/casino-lobby 1.63.3 → 1.64.1
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-Csi0tXv8.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-B7GhaaB1.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-7kqLzYIJ.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CdwDeUzc.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-D4LBBsWH.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BbBtM28b.js → CasinoCollectionsProviders-DCfKtqH3.js} +118 -118
- package/components/{CasinoCollectionsProviders-Bpb7sM1P.js → CasinoCollectionsProviders-QF8UYQEH.js} +122 -122
- package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-jbZAMnJ7.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-BN4Wtk2h.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-Ct-8nr2l.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-BgaKFGIJ.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CDstK8Y3.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-CiaYYLXu.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DX2K3Sso.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-C5x3Mdln.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BjEKJiKG.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DgtwB0LY.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-p0ilcCTC.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-CI_0ECL-.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CseOv8Yj.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DG6dQueF.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-DkMxb2tp.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-Y7GkBB4c.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-DgjP9n0o.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-bw2jzPSz.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-iW34NgHs.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-lcaVAF4Y.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-DlCmgNUk.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-NFQopbTN.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-D1nj7ju_.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-DX--_O5S.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-D5rbkfAP.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BjmFZ_DM.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-DZXW71Hu.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-CVPUjeCK.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch--VdAWMEG.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-8av7ygLi.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BJup_vct.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-CV4P6WUH.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-Dn39QhX6.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/{CasinoWinners-DY-XeuDT.js → CasinoWinners-CJI2fDKO.js} +151 -151
- package/components/{CasinoWinners-BceQ59PS.js → CasinoWinners-CvtwPY7V.js} +157 -157
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-B-qNTlQZ.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bu3UyKqx.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-HRytW6Io.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.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-BovhUzXq.js +0 -694
- package/components/CasinoCalendarDailyDetails-DRn6XNlS.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-MY6BRTWf.js +0 -694
- package/components/CasinoCalendarDailyItem-i0FRrjoK.cjs +0 -1
- package/components/CasinoCategoriesSlider-DltcuPbJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +0 -1
- package/components/CasinoGamesCategorySection-8tZbstvF.cjs +0 -1
- package/components/CasinoGamesCategorySection-DJohdErr.js +0 -3139
- package/components/CasinoGamesCategorySection-Dovm2bNV.js +0 -3170
- package/components/CasinoLobby-BxdCeX3T.cjs +0 -1
- package/components/CasinoSlider-DpYcXyrl.js +0 -797
- package/components/CasinoSlider-chctBr3W.cjs +0 -1
- package/components/CasinoWinners-DMlbI9Rh.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 Jt(e, this, qt, 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, qn = !!Number.isSafeInteger, Jn = qn ? 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, Jn(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) => {
|
|
@@ -4514,7 +4514,7 @@ if (typeof window < "u") {
|
|
|
4514
4514
|
}
|
|
4515
4515
|
};
|
|
4516
4516
|
};
|
|
4517
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4517
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Nhcvxsh6.js").then(({ default: t }) => {
|
|
4518
4518
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4519
4519
|
});
|
|
4520
4520
|
}
|
|
@@ -4530,13 +4530,13 @@ if (typeof window < "u") {
|
|
|
4530
4530
|
}
|
|
4531
4531
|
};
|
|
4532
4532
|
};
|
|
4533
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4533
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-s-bZS2Jp.js").then(({ default: t }) => {
|
|
4534
4534
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4535
4535
|
});
|
|
4536
4536
|
}
|
|
4537
4537
|
function Yi(e) {
|
|
4538
|
-
wr(e, "svelte-
|
|
4539
|
-
}.LoadingSpinner.svelte-
|
|
4538
|
+
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
|
|
4539
|
+
}.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)}}`);
|
|
4540
4540
|
}
|
|
4541
4541
|
function It(e, t, r) {
|
|
4542
4542
|
const n = e.slice();
|
|
@@ -4548,10 +4548,10 @@ function Ki(e) {
|
|
|
4548
4548
|
e[6]
|
|
4549
4549
|
), o = [];
|
|
4550
4550
|
for (let s = 0; s < i.length; s += 1)
|
|
4551
|
-
o[s] =
|
|
4551
|
+
o[s] = Lt(It(e, i, s));
|
|
4552
4552
|
let a = (
|
|
4553
4553
|
/*calendarModalOpened*/
|
|
4554
|
-
e[11] == !0 &&
|
|
4554
|
+
e[11] == !0 && Ct(e)
|
|
4555
4555
|
);
|
|
4556
4556
|
return {
|
|
4557
4557
|
c() {
|
|
@@ -4559,7 +4559,7 @@ function Ki(e) {
|
|
|
4559
4559
|
for (let s = 0; s < o.length; s += 1)
|
|
4560
4560
|
o[s].c();
|
|
4561
4561
|
r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
4562
|
-
(e[10] ? "Mobile" : "") + " svelte-
|
|
4562
|
+
(e[10] ? "Mobile" : "") + " svelte-5u3c97");
|
|
4563
4563
|
},
|
|
4564
4564
|
m(s, l) {
|
|
4565
4565
|
k(s, t, l);
|
|
@@ -4577,19 +4577,19 @@ function Ki(e) {
|
|
|
4577
4577
|
let u;
|
|
4578
4578
|
for (u = 0; u < i.length; u += 1) {
|
|
4579
4579
|
const h = It(s, i, u);
|
|
4580
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4580
|
+
o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
|
|
4581
4581
|
}
|
|
4582
4582
|
for (; u < o.length; u += 1)
|
|
4583
4583
|
o[u].d(1);
|
|
4584
4584
|
o.length = i.length;
|
|
4585
4585
|
}
|
|
4586
4586
|
/*calendarModalOpened*/
|
|
4587
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4587
|
+
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*/
|
|
4588
4588
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4589
|
-
(s[10] ? "Mobile" : "") + " svelte-
|
|
4589
|
+
(s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
|
|
4590
4590
|
},
|
|
4591
4591
|
d(s) {
|
|
4592
|
-
s && U(t),
|
|
4592
|
+
s && U(t), Br(o, s), a && a.d();
|
|
4593
4593
|
}
|
|
4594
4594
|
};
|
|
4595
4595
|
}
|
|
@@ -4597,12 +4597,12 @@ function eo(e) {
|
|
|
4597
4597
|
let t;
|
|
4598
4598
|
return {
|
|
4599
4599
|
c() {
|
|
4600
|
-
t = $("div"), j(t, "class", "LoadingSpinner svelte-
|
|
4600
|
+
t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
|
|
4601
4601
|
},
|
|
4602
4602
|
m(r, n) {
|
|
4603
4603
|
k(r, t, n);
|
|
4604
4604
|
},
|
|
4605
|
-
p:
|
|
4605
|
+
p: P,
|
|
4606
4606
|
d(r) {
|
|
4607
4607
|
r && U(t);
|
|
4608
4608
|
}
|
|
@@ -4615,7 +4615,7 @@ function to(e) {
|
|
|
4615
4615
|
), n;
|
|
4616
4616
|
return {
|
|
4617
4617
|
c() {
|
|
4618
|
-
t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-
|
|
4618
|
+
t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
|
|
4619
4619
|
},
|
|
4620
4620
|
m(i, o) {
|
|
4621
4621
|
k(i, t, o), we(t, n);
|
|
@@ -4630,7 +4630,7 @@ function to(e) {
|
|
|
4630
4630
|
}
|
|
4631
4631
|
};
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Lt(e) {
|
|
4634
4634
|
let t, r, n, i, o, a;
|
|
4635
4635
|
return {
|
|
4636
4636
|
c() {
|
|
@@ -4669,7 +4669,7 @@ function Ct(e) {
|
|
|
4669
4669
|
"translationurl",
|
|
4670
4670
|
/*translationurl*/
|
|
4671
4671
|
e[3]
|
|
4672
|
-
), d(t, "class", "svelte-
|
|
4672
|
+
), d(t, "class", "svelte-5u3c97");
|
|
4673
4673
|
},
|
|
4674
4674
|
m(s, l) {
|
|
4675
4675
|
k(s, t, l);
|
|
@@ -4722,7 +4722,7 @@ function Ct(e) {
|
|
|
4722
4722
|
}
|
|
4723
4723
|
};
|
|
4724
4724
|
}
|
|
4725
|
-
function
|
|
4725
|
+
function Ct(e) {
|
|
4726
4726
|
let t, r, n, i, o, a, s, l;
|
|
4727
4727
|
return {
|
|
4728
4728
|
c() {
|
|
@@ -4775,7 +4775,7 @@ function Lt(e) {
|
|
|
4775
4775
|
"translationurl",
|
|
4776
4776
|
/*translationurl*/
|
|
4777
4777
|
e[3]
|
|
4778
|
-
), d(r, "class", "svelte-
|
|
4778
|
+
), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
4779
4779
|
},
|
|
4780
4780
|
m(u, h) {
|
|
4781
4781
|
k(u, t, h), we(t, r);
|
|
@@ -4870,7 +4870,7 @@ function ro(e) {
|
|
|
4870
4870
|
let n = r(e), i = n && n(e);
|
|
4871
4871
|
return {
|
|
4872
4872
|
c() {
|
|
4873
|
-
t = $("div"), i && i.c(), j(t, "class", "svelte-
|
|
4873
|
+
t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
|
|
4874
4874
|
},
|
|
4875
4875
|
m(o, a) {
|
|
4876
4876
|
k(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4878,8 +4878,8 @@ function ro(e) {
|
|
|
4878
4878
|
p(o, [a]) {
|
|
4879
4879
|
n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
4880
4880
|
},
|
|
4881
|
-
i:
|
|
4882
|
-
o:
|
|
4881
|
+
i: P,
|
|
4882
|
+
o: P,
|
|
4883
4883
|
d(o) {
|
|
4884
4884
|
o && U(t), i && i.d(), e[16](null);
|
|
4885
4885
|
}
|
|
@@ -4889,7 +4889,7 @@ function no(e, t, r) {
|
|
|
4889
4889
|
let n;
|
|
4890
4890
|
Sr(e, Wi, (p) => r(12, n = p));
|
|
4891
4891
|
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;
|
|
4892
|
-
const
|
|
4892
|
+
const C = () => {
|
|
4893
4893
|
Ji(s);
|
|
4894
4894
|
};
|
|
4895
4895
|
Object.keys(Ot).forEach((p) => {
|
|
@@ -4898,19 +4898,19 @@ function no(e, t, r) {
|
|
|
4898
4898
|
const O = () => {
|
|
4899
4899
|
let p = h;
|
|
4900
4900
|
if (p)
|
|
4901
|
-
return fetch(p).then((
|
|
4902
|
-
Object.keys(
|
|
4903
|
-
At(G,
|
|
4901
|
+
return fetch(p).then((L) => L.json()).then((L) => {
|
|
4902
|
+
Object.keys(L).forEach((G) => {
|
|
4903
|
+
At(G, L[G]);
|
|
4904
4904
|
});
|
|
4905
|
-
}).catch((
|
|
4906
|
-
console.log(
|
|
4905
|
+
}).catch((L) => {
|
|
4906
|
+
console.log(L);
|
|
4907
4907
|
});
|
|
4908
4908
|
}, N = () => {
|
|
4909
4909
|
r(8, g = !0);
|
|
4910
4910
|
let p = new URL(`${i}/${s}/daily-calendar`);
|
|
4911
4911
|
p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
|
|
4912
|
-
let
|
|
4913
|
-
|
|
4912
|
+
let L = zi(H);
|
|
4913
|
+
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) => {
|
|
4914
4914
|
r(6, m = G);
|
|
4915
4915
|
}).catch((G) => {
|
|
4916
4916
|
console.log(G), r(9, S = !0);
|
|
@@ -4922,7 +4922,7 @@ function no(e, t, r) {
|
|
|
4922
4922
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
|
4923
4923
|
}, I = () => {
|
|
4924
4924
|
N();
|
|
4925
|
-
},
|
|
4925
|
+
}, B = (p) => {
|
|
4926
4926
|
p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
|
|
4927
4927
|
{
|
|
4928
4928
|
type: "ShowModal",
|
|
@@ -4935,8 +4935,8 @@ function no(e, t, r) {
|
|
|
4935
4935
|
data: m[b]?.dailyEvents
|
|
4936
4936
|
})), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
|
|
4937
4937
|
};
|
|
4938
|
-
|
|
4939
|
-
window.removeEventListener("message",
|
|
4938
|
+
Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
|
|
4939
|
+
window.removeEventListener("message", B);
|
|
4940
4940
|
}));
|
|
4941
4941
|
function z(p) {
|
|
4942
4942
|
Ue[p ? "unshift" : "push"](() => {
|
|
@@ -4951,7 +4951,7 @@ function no(e, t, r) {
|
|
|
4951
4951
|
34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4952
4952
|
36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4953
4953
|
48 && c && qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4954
|
-
1 && s &&
|
|
4954
|
+
1 && s && C(), e.$$.dirty & /*lang, translationurl*/
|
|
4955
4955
|
9 && s && h && O();
|
|
4956
4956
|
}, [
|
|
4957
4957
|
s,
|
|
@@ -4973,7 +4973,7 @@ function no(e, t, r) {
|
|
|
4973
4973
|
z
|
|
4974
4974
|
];
|
|
4975
4975
|
}
|
|
4976
|
-
class
|
|
4976
|
+
class vr extends jr {
|
|
4977
4977
|
constructor(t) {
|
|
4978
4978
|
super(), Gr(
|
|
4979
4979
|
this,
|
|
@@ -5043,10 +5043,10 @@ class _r extends jr {
|
|
|
5043
5043
|
this.$$set({ mbsource: t }), M();
|
|
5044
5044
|
}
|
|
5045
5045
|
}
|
|
5046
|
-
Fr(
|
|
5047
|
-
const
|
|
5046
|
+
Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5047
|
+
const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5048
5048
|
__proto__: null,
|
|
5049
|
-
default:
|
|
5049
|
+
default: vr
|
|
5050
5050
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5051
5051
|
export {
|
|
5052
5052
|
ne as $,
|
|
@@ -5055,47 +5055,47 @@ export {
|
|
|
5055
5055
|
Ue as C,
|
|
5056
5056
|
io as D,
|
|
5057
5057
|
d as E,
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5058
|
+
Pr as F,
|
|
5059
|
+
mo as G,
|
|
5060
|
+
Zi as H,
|
|
5061
|
+
Qi as I,
|
|
5062
|
+
qi as J,
|
|
5063
|
+
Fr as K,
|
|
5064
|
+
Wi as L,
|
|
5065
|
+
zi as M,
|
|
5066
|
+
_o as N,
|
|
5067
|
+
X as O,
|
|
5068
|
+
fo as P,
|
|
5069
|
+
ce as Q,
|
|
5070
|
+
po as R,
|
|
5071
5071
|
jr as S,
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5072
|
+
bo as T,
|
|
5073
|
+
ho as U,
|
|
5074
|
+
yo as V,
|
|
5075
|
+
go as W,
|
|
5076
|
+
To as X,
|
|
5077
|
+
wo as Y,
|
|
5078
|
+
xo as Z,
|
|
5079
|
+
Ho as _,
|
|
5080
5080
|
pr as a,
|
|
5081
|
-
|
|
5081
|
+
lo as a0,
|
|
5082
5082
|
So as a1,
|
|
5083
5083
|
Se as a2,
|
|
5084
|
-
|
|
5084
|
+
Bo as a3,
|
|
5085
5085
|
wr as b,
|
|
5086
5086
|
Ft as c,
|
|
5087
5087
|
U as d,
|
|
5088
5088
|
Eo as e,
|
|
5089
5089
|
M as f,
|
|
5090
|
-
|
|
5090
|
+
vo as g,
|
|
5091
5091
|
k as h,
|
|
5092
5092
|
Gr as i,
|
|
5093
5093
|
$ as j,
|
|
5094
5094
|
Sr as k,
|
|
5095
|
-
|
|
5095
|
+
_r as l,
|
|
5096
5096
|
Ir as m,
|
|
5097
|
-
|
|
5098
|
-
|
|
5097
|
+
P as n,
|
|
5098
|
+
Cr as o,
|
|
5099
5099
|
we as p,
|
|
5100
5100
|
nt as q,
|
|
5101
5101
|
j as r,
|
|
@@ -5103,7 +5103,7 @@ export {
|
|
|
5103
5103
|
Rr as t,
|
|
5104
5104
|
oo as u,
|
|
5105
5105
|
ut as v,
|
|
5106
|
-
|
|
5106
|
+
Br as w,
|
|
5107
5107
|
ao as x,
|
|
5108
5108
|
uo as y,
|
|
5109
5109
|
so as z
|