@everymatrix/casino-my-games-nd 1.77.19 → 1.77.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoFavoritesSectionNd-BVC1650M.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-BW053lHx.js} +1159 -1129
- package/components/{CasinoFavoritesSectionNd-CIaQmLaZ.js → CasinoFavoritesSectionNd-nG2ynMJJ.js} +1123 -1093
- package/components/{CasinoFilter-Do8RpGVV.js → CasinoFilter-BNyX6f2y.js} +157 -225
- package/components/CasinoFilter-D_bF3IJE.cjs +3 -0
- package/components/{CasinoFilter-C9-vbAdr.js → CasinoFilter-Dj714vut.js} +239 -309
- package/components/{CasinoGameThumbnailNd-Bfc5gihp.js → CasinoGameThumbnailNd-CWjsIAeY.js} +3 -3
- package/components/{CasinoGameThumbnailNd-aSAssa6M.cjs → CasinoGameThumbnailNd-Dd3kp87R.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-CIzMLSSe.js → CasinoGameThumbnailNd-o2OCgL48.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-Dc_wSU_N.js → CasinoGamesCategorySectionNd-BpWe-6bs.js} +60 -60
- package/components/{CasinoGamesCategorySectionNd-ByRcEXhY.js → CasinoGamesCategorySectionNd-CLedgRK9.js} +127 -127
- package/components/{CasinoGamesCategorySectionNd-DTFGyINc.cjs → CasinoGamesCategorySectionNd-upR5fOZe.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-5jzzfUzp.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-BJ4ENstr.js} +36 -36
- package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-C6RqMd30.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BSTtmAYL.js} +26 -26
- package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-DDcuJkEU.js} +26 -26
- package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-se3ZyDIi.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Dzi-kA2k.js → CasinoMyGamesNd-CsLusGyl.js} +21 -21
- package/components/{CasinoMyGamesNd-CT2PNyPj.cjs → CasinoMyGamesNd-D_u-w13U.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CYQuetAd.js → CasinoMyGamesNd-LmN1UL9A.js} +23 -23
- package/components/{CasinoSort-Cij3MZNh.js → CasinoSort-CE2_DwIO.js} +13 -13
- package/components/{CasinoSort-C1FHS127.js → CasinoSort-DG_n7paF.js} +13 -13
- package/components/{CasinoSort-CzuM3yRC.cjs → CasinoSort-DTc5vM44.cjs} +1 -1
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
- package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BXf5dIxF.cjs +0 -3
- package/components/CasinoFilter-C0HjHa4h.cjs +0 -16
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
|
@@ -14,14 +14,14 @@ var Ne = (i, e, a) => new Promise((t, o) => {
|
|
|
14
14
|
}, m = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(s, r);
|
|
15
15
|
m((a = a.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { p as
|
|
19
|
-
import { d as ia, i as oi, a as si } from "./CasinoGameThumbnailNd-
|
|
17
|
+
import { e as Ha, $ as Va, S as qa, i as Wa, s as Ya, f as z, g as Ja, n as be, h as G, j as C, k as S, p as h, l as Ka, N as Xa, o as Za, m as le, J as Z, v as w, y as W, u as D, z as j, q as re, O as wa, H as n, P as ya, r as Qa, w as xa, x as ae, C as $a, D as ei, E as ai, F as ii, G as ni } from "./CasinoFavoritesSectionNd-BW053lHx.js";
|
|
18
|
+
import { p as je, i as we, g as ti } from "./CasinoFilter-BNyX6f2y.js";
|
|
19
|
+
import { d as ia, i as oi, a as si } from "./CasinoGameThumbnailNd-o2OCgL48.js";
|
|
20
20
|
function na(i, e) {
|
|
21
|
-
|
|
21
|
+
Ha(i, e);
|
|
22
22
|
}
|
|
23
23
|
function li(i) {
|
|
24
|
-
|
|
24
|
+
Va.set(i);
|
|
25
25
|
}
|
|
26
26
|
const ta = {
|
|
27
27
|
en: {
|
|
@@ -234,7 +234,7 @@ if (typeof window != "undefined") {
|
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
-
customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-
|
|
237
|
+
customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-o2OCgL48.js").then((e) => e.C).then(({ default: e }) => {
|
|
238
238
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -250,7 +250,7 @@ if (typeof window != "undefined") {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
|
-
customElements.define = i(customElements.define), import("./CasinoFilter-
|
|
253
|
+
customElements.define = i(customElements.define), import("./CasinoFilter-BNyX6f2y.js").then((e) => e.C).then(({ default: e }) => {
|
|
254
254
|
!customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
|
|
255
255
|
});
|
|
256
256
|
}
|
|
@@ -266,7 +266,7 @@ if (typeof window != "undefined") {
|
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
-
customElements.define = i(customElements.define), import("./CasinoSort-
|
|
269
|
+
customElements.define = i(customElements.define), import("./CasinoSort-DG_n7paF.js").then(({ default: e }) => {
|
|
270
270
|
!customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -330,7 +330,7 @@ function ci(i) {
|
|
|
330
330
|
function m(f, p) {
|
|
331
331
|
return (
|
|
332
332
|
/*shownCategoryData*/
|
|
333
|
-
f[29] ?
|
|
333
|
+
f[29] ? Ai : Ri
|
|
334
334
|
);
|
|
335
335
|
}
|
|
336
336
|
let c = m(i), u = c(i);
|
|
@@ -357,7 +357,7 @@ function gi(i) {
|
|
|
357
357
|
function a(s, r) {
|
|
358
358
|
return (
|
|
359
359
|
/*presentFilters*/
|
|
360
|
-
s[34] ?
|
|
360
|
+
s[34] ? ji : Ni
|
|
361
361
|
);
|
|
362
362
|
}
|
|
363
363
|
let t = a(i), o = t(i);
|
|
@@ -453,7 +453,7 @@ function ra(i) {
|
|
|
453
453
|
), u, f;
|
|
454
454
|
return {
|
|
455
455
|
c() {
|
|
456
|
-
e = S("div"), a = S("h3"), o =
|
|
456
|
+
e = S("div"), a = S("h3"), o = j(t), s = W(), r = S("span"), m = j("("), u = j(c), f = j(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
457
457
|
},
|
|
458
458
|
m(p, b) {
|
|
459
459
|
C(p, e, b), w(e, a), w(a, o), w(a, s), w(a, r), w(r, m), w(r, u), w(r, f), i[59](a);
|
|
@@ -477,7 +477,7 @@ function fi(i) {
|
|
|
477
477
|
), t;
|
|
478
478
|
return {
|
|
479
479
|
c() {
|
|
480
|
-
e = S("p"), t =
|
|
480
|
+
e = S("p"), t = j(a);
|
|
481
481
|
},
|
|
482
482
|
m(o, s) {
|
|
483
483
|
C(o, e, s), w(e, t);
|
|
@@ -563,7 +563,7 @@ function ma(i) {
|
|
|
563
563
|
let U = d(i)(i);
|
|
564
564
|
return {
|
|
565
565
|
c() {
|
|
566
|
-
e = S("p"), a = ae("svg"), t = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), c = ae("path"), u = ae("path"), f = W(), p = S("span"), M =
|
|
566
|
+
e = S("p"), a = ae("svg"), t = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), c = ae("path"), u = ae("path"), f = W(), p = S("span"), M = j(b), I = W(), U.c(), g = W(), h(t, "x", "1"), h(t, "y", "18.053"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emw--color-gray-150, #828282)"), h(t, "stroke-width", "1.5"), h(o, "x", "106.737"), h(o, "y", "56.737"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(r, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(r, "fill", "var(--emw--color-gray-150, #828282)"), h(m, "d", "M78 43h11v13H78V43z"), h(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(u, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(u, "stroke-width", "1.5"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(a, "width", "198"), h(a, "height", "148"), h(a, "viewBox", "0 0 198 148"), h(a, "fill", "none"), h(a, "xmlns", "http://www.w3.org/2000/svg"), h(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(e, "class", "NoFavoriteGames " + (we(
|
|
567
567
|
/*userAgent*/
|
|
568
568
|
i[44]
|
|
569
569
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
@@ -588,7 +588,7 @@ function pi(i) {
|
|
|
588
588
|
), t;
|
|
589
589
|
return {
|
|
590
590
|
c() {
|
|
591
|
-
e = S("span"), t =
|
|
591
|
+
e = S("span"), t = j(a), h(e, "class", "NoFavoriteText");
|
|
592
592
|
},
|
|
593
593
|
m(o, s) {
|
|
594
594
|
C(o, e, s), w(e, t);
|
|
@@ -610,7 +610,7 @@ function vi(i) {
|
|
|
610
610
|
), t;
|
|
611
611
|
return {
|
|
612
612
|
c() {
|
|
613
|
-
e = S("span"), t =
|
|
613
|
+
e = S("span"), t = j(a), h(e, "class", "NoFavoriteText");
|
|
614
614
|
},
|
|
615
615
|
m(o, s) {
|
|
616
616
|
C(o, e, s), w(e, t);
|
|
@@ -1314,7 +1314,7 @@ function fa(i) {
|
|
|
1314
1314
|
let u = c(i), f = u(i);
|
|
1315
1315
|
return {
|
|
1316
1316
|
c() {
|
|
1317
|
-
e = S("div"), a = S("span"), a.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', t = W(), o = S("h3"), r =
|
|
1317
|
+
e = S("div"), a = S("span"), a.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', t = W(), o = S("h3"), r = j(s), m = W(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
1318
1318
|
},
|
|
1319
1319
|
m(p, b) {
|
|
1320
1320
|
C(p, e, b), w(e, a), w(e, t), w(e, o), w(o, r), i[55](o), w(e, m), f.m(e, null);
|
|
@@ -1373,7 +1373,7 @@ function Gi(i) {
|
|
|
1373
1373
|
), m, c, u, f;
|
|
1374
1374
|
return {
|
|
1375
1375
|
c() {
|
|
1376
|
-
e = S("a"), a = S("span"), o =
|
|
1376
|
+
e = S("a"), a = S("span"), o = j(t), s = j(" ("), m = j(r), c = j(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
|
|
1377
1377
|
},
|
|
1378
1378
|
m(p, b) {
|
|
1379
1379
|
C(p, e, b), w(e, a), w(a, o), w(a, s), w(a, m), w(a, c), u || (f = xa(
|
|
@@ -1612,7 +1612,7 @@ function Ci(i) {
|
|
|
1612
1612
|
), t;
|
|
1613
1613
|
return {
|
|
1614
1614
|
c() {
|
|
1615
|
-
e = S("p"), t =
|
|
1615
|
+
e = S("p"), t = j(a), h(e, "class", "NoSearchResults");
|
|
1616
1616
|
},
|
|
1617
1617
|
m(o, s) {
|
|
1618
1618
|
C(o, e, s), w(e, t);
|
|
@@ -2011,7 +2011,7 @@ function Mi(i) {
|
|
|
2011
2011
|
), t;
|
|
2012
2012
|
return {
|
|
2013
2013
|
c() {
|
|
2014
|
-
e = S("h3"), t =
|
|
2014
|
+
e = S("h3"), t = j(a), h(e, "class", "StatusText");
|
|
2015
2015
|
},
|
|
2016
2016
|
m(o, s) {
|
|
2017
2017
|
C(o, e, s), w(e, t);
|
|
@@ -2033,7 +2033,7 @@ function Ii(i) {
|
|
|
2033
2033
|
), t;
|
|
2034
2034
|
return {
|
|
2035
2035
|
c() {
|
|
2036
|
-
e = S("h3"), t =
|
|
2036
|
+
e = S("h3"), t = j(a), h(e, "class", "StatusText");
|
|
2037
2037
|
},
|
|
2038
2038
|
m(o, s) {
|
|
2039
2039
|
C(o, e, s), w(e, t);
|
|
@@ -2055,7 +2055,7 @@ function Ei(i) {
|
|
|
2055
2055
|
), t;
|
|
2056
2056
|
return {
|
|
2057
2057
|
c() {
|
|
2058
|
-
e = S("h3"), t =
|
|
2058
|
+
e = S("h3"), t = j(a), h(e, "class", "StatusText");
|
|
2059
2059
|
},
|
|
2060
2060
|
m(o, s) {
|
|
2061
2061
|
C(o, e, s), w(e, t);
|
|
@@ -2070,7 +2070,7 @@ function Ei(i) {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
};
|
|
2072
2072
|
}
|
|
2073
|
-
function
|
|
2073
|
+
function Ri(i) {
|
|
2074
2074
|
let e;
|
|
2075
2075
|
return {
|
|
2076
2076
|
c() {
|
|
@@ -2085,7 +2085,7 @@ function Ai(i) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
};
|
|
2087
2087
|
}
|
|
2088
|
-
function
|
|
2088
|
+
function Ai(i) {
|
|
2089
2089
|
let e, a, t = [], o = /* @__PURE__ */ new Map(), s = !/*showItems*/
|
|
2090
2090
|
i[35] && va(i), r = re(
|
|
2091
2091
|
/*shownCategoryData*/
|
|
@@ -2134,7 +2134,7 @@ function va(i) {
|
|
|
2134
2134
|
), t;
|
|
2135
2135
|
return {
|
|
2136
2136
|
c() {
|
|
2137
|
-
e = S("p"), t =
|
|
2137
|
+
e = S("p"), t = j(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (we(
|
|
2138
2138
|
/*userAgent*/
|
|
2139
2139
|
i[44]
|
|
2140
2140
|
) ? "NoRecentSearchesMobile" : ""));
|
|
@@ -2426,7 +2426,7 @@ function Ni(i) {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
};
|
|
2428
2428
|
}
|
|
2429
|
-
function
|
|
2429
|
+
function ji(i) {
|
|
2430
2430
|
let e;
|
|
2431
2431
|
return {
|
|
2432
2432
|
c() {
|
|
@@ -2440,7 +2440,7 @@ function Li(i) {
|
|
|
2440
2440
|
}
|
|
2441
2441
|
};
|
|
2442
2442
|
}
|
|
2443
|
-
function
|
|
2443
|
+
function Li(i) {
|
|
2444
2444
|
let e;
|
|
2445
2445
|
function a(s, r) {
|
|
2446
2446
|
return (
|
|
@@ -2470,11 +2470,11 @@ function ji(i) {
|
|
|
2470
2470
|
};
|
|
2471
2471
|
}
|
|
2472
2472
|
const ie = "game-tile-";
|
|
2473
|
-
let
|
|
2474
|
-
function
|
|
2473
|
+
let Pi = 0;
|
|
2474
|
+
function Ti(i, e, a) {
|
|
2475
2475
|
let t;
|
|
2476
2476
|
Ka(i, ni, (l) => a(43, t = l));
|
|
2477
|
-
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: O = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: Q = "false" } = e, { casinomygames: me = "false" } = e, { addfilterselector: ye = "false" } = e, { addsortingselector: ke = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage:
|
|
2477
|
+
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: O = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: Q = "false" } = e, { casinomygames: me = "false" } = e, { addfilterselector: ye = "false" } = e, { addsortingselector: ke = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage: Le = "casino" } = e, { actionevent: Pe = "CategoryChange" } = e, { displayedgamecount: Ge = "10" } = e, { showallbuttongamescount: Ce = "10" } = e, { lobbyscreen: Te = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, ze, K = !0, Ze = window.navigator.userAgent, L, F = [], $ = !0, ne = 40, X = !1, Me = !1, ge = !1, Oe = !1, Be = !0, de = !1, ue, He, fe, he = !1, Y, Ie = !1, _e = new Array(1e4), pe = {}, Ve = "", te = "", Ee, qe, R, B = [], Re = new AbortController(), oe = { items: [], count: 0, name: "" };
|
|
2478
2478
|
const ka = () => {
|
|
2479
2479
|
fetch(M).then((_) => _.json()).then((_) => {
|
|
2480
2480
|
Object.keys(_).forEach((y) => {
|
|
@@ -2487,7 +2487,7 @@ function Pi(i, e, a) {
|
|
|
2487
2487
|
Object.keys(ta).forEach((l) => {
|
|
2488
2488
|
na(l, ta[l]);
|
|
2489
2489
|
}), typeof document.hidden != "undefined" ? Ee = "hidden" : typeof document.msHidden != "undefined" ? Ee = "msHidden" : typeof document.webkitHidden != "undefined" && (Ee = "webkitHidden");
|
|
2490
|
-
let
|
|
2490
|
+
let Ae = new IntersectionObserver((l) => {
|
|
2491
2491
|
l.forEach((_) => Ne(this, null, function* () {
|
|
2492
2492
|
let y = _.target.gameid, E = _.target.elems_index;
|
|
2493
2493
|
_.isIntersecting ? (E * 1.2 > ne && Ia(g), a(40, pe[y] = 1, pe)) : a(40, pe[y] = 0, pe);
|
|
@@ -2500,19 +2500,19 @@ function Pi(i, e, a) {
|
|
|
2500
2500
|
method: "GET",
|
|
2501
2501
|
headers: { "X-SessionID": l }
|
|
2502
2502
|
}).then((k) => k.json()).then((k) => {
|
|
2503
|
-
var J,
|
|
2504
|
-
if (
|
|
2503
|
+
var J, P;
|
|
2504
|
+
if (R = [], k) {
|
|
2505
2505
|
(J = k.items) == null || J.forEach((q) => {
|
|
2506
|
-
q.gameModel && (
|
|
2506
|
+
q.gameModel && (R.push(q), B.includes(q.id) || B.push(q.id));
|
|
2507
2507
|
});
|
|
2508
|
-
const
|
|
2508
|
+
const V = (P = je(R)) == null ? void 0 : P.length;
|
|
2509
2509
|
window.postMessage({
|
|
2510
2510
|
type: "UpdateFavoritesCount",
|
|
2511
|
-
favoriteGamesLength:
|
|
2511
|
+
favoriteGamesLength: V
|
|
2512
2512
|
});
|
|
2513
2513
|
} else
|
|
2514
|
-
|
|
2515
|
-
g === "FAVORITES" && Je(
|
|
2514
|
+
R = [];
|
|
2515
|
+
g === "FAVORITES" && Je(R), y(R);
|
|
2516
2516
|
}).catch((k) => {
|
|
2517
2517
|
console.error(k), E(k);
|
|
2518
2518
|
});
|
|
@@ -2525,80 +2525,80 @@ function Pi(i, e, a) {
|
|
|
2525
2525
|
method: "GET",
|
|
2526
2526
|
headers: { "X-SessionID": l }
|
|
2527
2527
|
};
|
|
2528
|
-
return new Promise((N,
|
|
2528
|
+
return new Promise((N, A) => {
|
|
2529
2529
|
fetch(y, E).then((k) => k.json()).then((k) => {
|
|
2530
|
-
var
|
|
2531
|
-
if (a(25, x = !1),
|
|
2532
|
-
(
|
|
2533
|
-
se.gameModel && (
|
|
2530
|
+
var P, V;
|
|
2531
|
+
if (a(25, x = !1), R = [], k) {
|
|
2532
|
+
(P = k.items) == null || P.forEach((se) => {
|
|
2533
|
+
se.gameModel && (R.push(se), B.includes(se.id) || B.push(se.id));
|
|
2534
2534
|
});
|
|
2535
|
-
const q = (
|
|
2535
|
+
const q = (V = je(R)) == null ? void 0 : V.length;
|
|
2536
2536
|
window.postMessage({
|
|
2537
2537
|
type: "UpdateFavoritesCount",
|
|
2538
2538
|
favoriteGamesLength: q
|
|
2539
2539
|
});
|
|
2540
2540
|
} else
|
|
2541
|
-
|
|
2542
|
-
g === "FAVORITES" && Je(
|
|
2543
|
-
q.isFavorite =
|
|
2541
|
+
R = [];
|
|
2542
|
+
g === "FAVORITES" && Je(R), F.forEach((q) => {
|
|
2543
|
+
q.isFavorite = H(q.id);
|
|
2544
2544
|
});
|
|
2545
2545
|
let J = F;
|
|
2546
|
-
a(29, F = void 0), a(29, F = J), N(
|
|
2546
|
+
a(29, F = void 0), a(29, F = J), N(R);
|
|
2547
2547
|
}).catch((k) => {
|
|
2548
|
-
console.error(k),
|
|
2548
|
+
console.error(k), A(k);
|
|
2549
2549
|
});
|
|
2550
2550
|
});
|
|
2551
2551
|
}, Qe = (l, _, y, E) => {
|
|
2552
|
-
|
|
2553
|
-
const N =
|
|
2552
|
+
Re && Re.abort(), Re = new AbortController();
|
|
2553
|
+
const N = Re.signal;
|
|
2554
2554
|
a(25, x = !0);
|
|
2555
|
-
let
|
|
2556
|
-
const
|
|
2557
|
-
return (l.match(/\$/g) || []).length > 1 ? (
|
|
2555
|
+
let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), P = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2556
|
+
const V = Se === "true" ? "*" : l;
|
|
2557
|
+
return (l.match(/\$/g) || []).length > 1 ? (A = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${A}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, se) => {
|
|
2558
2558
|
var aa;
|
|
2559
|
-
if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ti(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${y})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[
|
|
2559
|
+
if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ti(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${y})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[V]) != null && aa.length))
|
|
2560
2560
|
if (Se === "true" || K === !1 && he === !1) {
|
|
2561
|
-
let
|
|
2562
|
-
a(34, Oe = !0), J[
|
|
2563
|
-
|
|
2564
|
-
}), k.searchParams.append("filter", `${
|
|
2561
|
+
let T = "";
|
|
2562
|
+
a(34, Oe = !0), J[V].forEach((ee) => {
|
|
2563
|
+
T = T + (T ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
|
|
2564
|
+
}), k.searchParams.append("filter", `${T}`);
|
|
2565
2565
|
} else
|
|
2566
2566
|
a(34, Oe = !1);
|
|
2567
|
-
|
|
2568
|
-
N.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (
|
|
2567
|
+
P && (P[l] ? P[l] && P[l] != "All" && (P[l] == "isNew" || P[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${P[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${P[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: N }).then((T) => T.json()).then((T) => {
|
|
2568
|
+
N.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (T = T.items.filter((ee) => {
|
|
2569
2569
|
if (ee.id == l)
|
|
2570
2570
|
return ee;
|
|
2571
|
-
})[0]), a(54, qe = !0), a(26, Ue = !1),
|
|
2572
|
-
ee.isFavorite =
|
|
2573
|
-
}), a(36, de = !0), q(
|
|
2574
|
-
}).catch((
|
|
2575
|
-
|
|
2571
|
+
})[0]), a(54, qe = !0), a(26, Ue = !1), He = T.games.total, E && T.games.items.forEach((ee) => {
|
|
2572
|
+
ee.isFavorite = H(ee.id);
|
|
2573
|
+
}), a(36, de = !0), q(T));
|
|
2574
|
+
}).catch((T) => {
|
|
2575
|
+
T.name !== "AbortError" && (a(26, Ue = !0), console.error(T), se(T));
|
|
2576
2576
|
}).finally(() => {
|
|
2577
2577
|
Ca();
|
|
2578
2578
|
});
|
|
2579
2579
|
});
|
|
2580
2580
|
}, ve = (l, _, y) => new Promise((E, N) => {
|
|
2581
|
-
u == "true" ? Ga(m, c).then((
|
|
2582
|
-
Qe(l, _, y,
|
|
2581
|
+
u == "true" ? Ga(m, c).then((A) => {
|
|
2582
|
+
Qe(l, _, y, A).then((k) => {
|
|
2583
2583
|
E(k);
|
|
2584
2584
|
});
|
|
2585
|
-
}) : Qe(l, _, y, null).then((
|
|
2586
|
-
E(
|
|
2585
|
+
}) : Qe(l, _, y, null).then((A) => {
|
|
2586
|
+
E(A);
|
|
2587
2587
|
});
|
|
2588
2588
|
}), Ca = () => {
|
|
2589
2589
|
const l = Y.getRootNode().host;
|
|
2590
2590
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2591
2591
|
}, Sa = (l, _, y) => {
|
|
2592
2592
|
l !== "" && (a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, a(30, $ = +_ > +y), ve(l, 0, +_).then((E) => {
|
|
2593
|
-
a(28,
|
|
2594
|
-
N.isFavorite =
|
|
2593
|
+
a(28, L = E), a(29, F = L.games.items), F && F.forEach((N) => {
|
|
2594
|
+
N.isFavorite = H(N.id);
|
|
2595
2595
|
});
|
|
2596
2596
|
}));
|
|
2597
2597
|
}, Ye = (l) => {
|
|
2598
2598
|
if (l.data)
|
|
2599
2599
|
switch (l.data.type) {
|
|
2600
2600
|
case "MostPlayedData":
|
|
2601
|
-
g == "MOSTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.mostPlayedGames), a(28,
|
|
2601
|
+
g == "MOSTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.mostPlayedGames), a(28, L = {
|
|
2602
2602
|
id: "MOSTPLAYED",
|
|
2603
2603
|
name: "Most Played Games",
|
|
2604
2604
|
games: {
|
|
@@ -2607,11 +2607,11 @@ function Pi(i, e, a) {
|
|
|
2607
2607
|
items: l.data.mostPlayedGames
|
|
2608
2608
|
}
|
|
2609
2609
|
}), F && F.forEach((_) => {
|
|
2610
|
-
_.isFavorite =
|
|
2610
|
+
_.isFavorite = H(_.id);
|
|
2611
2611
|
})), a(25, x = !1);
|
|
2612
2612
|
break;
|
|
2613
2613
|
case "LastPlayedData":
|
|
2614
|
-
g == "LASTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.lastPlayedGames), a(28,
|
|
2614
|
+
g == "LASTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.lastPlayedGames), a(28, L = {
|
|
2615
2615
|
id: "LASTPLAYED",
|
|
2616
2616
|
name: "Last Played Games",
|
|
2617
2617
|
games: {
|
|
@@ -2620,26 +2620,26 @@ function Pi(i, e, a) {
|
|
|
2620
2620
|
items: l.data.lastPlayedGames
|
|
2621
2621
|
}
|
|
2622
2622
|
}), F && F.forEach((_) => {
|
|
2623
|
-
_.isFavorite =
|
|
2623
|
+
_.isFavorite = H(_.id);
|
|
2624
2624
|
})), a(25, x = !1);
|
|
2625
2625
|
break;
|
|
2626
2626
|
case "RecentSearchData":
|
|
2627
2627
|
a(31, X = !0), a(32, Me = !0), l.data.searchData.length > 0 ? (a(29, F = l.data.searchData), a(35, Be = !0), F && F.forEach((_) => {
|
|
2628
|
-
_.isFavorite =
|
|
2628
|
+
_.isFavorite = H(_.id);
|
|
2629
2629
|
})) : (a(29, F = []), a(35, Be = !1));
|
|
2630
2630
|
break;
|
|
2631
2631
|
case "OutOfRecentSearches":
|
|
2632
2632
|
a(31, X = !1), a(32, Me = !1);
|
|
2633
2633
|
break;
|
|
2634
2634
|
case "SearchData":
|
|
2635
|
-
a(31, X = !0), a(32, Me = !1), a(29, F = l.data.searchData.items || []), a(33, ge = !0), l.data.receivedFavoriteResults && (
|
|
2636
|
-
_.isFavorite =
|
|
2635
|
+
a(31, X = !0), a(32, Me = !1), a(29, F = l.data.searchData.items || []), a(33, ge = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), F && F.forEach((_) => {
|
|
2636
|
+
_.isFavorite = H(_.id);
|
|
2637
2637
|
});
|
|
2638
2638
|
break;
|
|
2639
2639
|
case `CategoryData_${g}`:
|
|
2640
2640
|
a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, ve(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
|
2641
|
-
a(28,
|
|
2642
|
-
y.isFavorite =
|
|
2641
|
+
a(28, L = _), a(29, F = L.games.items), a(30, $ = !!(He <= l.data.visiblegames && K)), F && F.forEach((y) => {
|
|
2642
|
+
y.isFavorite = H(y.id);
|
|
2643
2643
|
});
|
|
2644
2644
|
});
|
|
2645
2645
|
break;
|
|
@@ -2648,7 +2648,7 @@ function Pi(i, e, a) {
|
|
|
2648
2648
|
break;
|
|
2649
2649
|
case "ApplySorter":
|
|
2650
2650
|
a(0, g = l.data.itemId), te = l.data.sortBy, ve(g, 0, ne).then((_) => {
|
|
2651
|
-
a(28,
|
|
2651
|
+
a(28, L = _), a(29, F = L.games.items), a(30, $ = !1);
|
|
2652
2652
|
});
|
|
2653
2653
|
break;
|
|
2654
2654
|
case "CategoryUpdate":
|
|
@@ -2668,8 +2668,8 @@ function Pi(i, e, a) {
|
|
|
2668
2668
|
break;
|
|
2669
2669
|
}
|
|
2670
2670
|
}, xe = (l, _ = !1) => {
|
|
2671
|
-
a(31, X = !1), a(27, K =
|
|
2672
|
-
a(28,
|
|
2671
|
+
a(31, X = !1), a(27, K = Te === "true"), a(33, ge = !1), Ie = !0, a(36, de = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, $ = !1), me !== "true" && (!R && m && We(m, c), ve(g, 0, ne).then((y) => {
|
|
2672
|
+
a(28, L = y), a(29, F = L.games.items);
|
|
2673
2673
|
}).finally(
|
|
2674
2674
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2675
2675
|
if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2690,12 +2690,12 @@ function Pi(i, e, a) {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
));
|
|
2692
2692
|
}, Fa = () => {
|
|
2693
|
-
|
|
2694
|
-
l.isFavorite =
|
|
2693
|
+
L && (a(29, F = L.games.items), F.forEach((l) => {
|
|
2694
|
+
l.isFavorite = H(l.id);
|
|
2695
2695
|
}));
|
|
2696
|
-
},
|
|
2696
|
+
}, H = (l) => {
|
|
2697
2697
|
var _;
|
|
2698
|
-
return (_ =
|
|
2698
|
+
return (_ = R == null ? void 0 : R.some((y) => y.id === l)) != null ? _ : !1;
|
|
2699
2699
|
};
|
|
2700
2700
|
let za = (l, _, y) => Ne(this, null, function* () {
|
|
2701
2701
|
yield $e(l, _), B.includes(y) || B.push(y);
|
|
@@ -2708,14 +2708,14 @@ function Pi(i, e, a) {
|
|
|
2708
2708
|
},
|
|
2709
2709
|
body: JSON.stringify({ items: B })
|
|
2710
2710
|
};
|
|
2711
|
-
fetch(l, N).then((
|
|
2711
|
+
fetch(l, N).then((A) => A.json()).then((A) => {
|
|
2712
2712
|
window.postMessage({ type: `AddFavoriteThumbnail_${y}` }, window.location.href), window.postMessage({
|
|
2713
2713
|
type: "UpdateFavoredList",
|
|
2714
2714
|
url: l,
|
|
2715
2715
|
sessionID: _
|
|
2716
2716
|
});
|
|
2717
|
-
}).catch((
|
|
2718
|
-
console.error("Err",
|
|
2717
|
+
}).catch((A) => {
|
|
2718
|
+
console.error("Err", A);
|
|
2719
2719
|
});
|
|
2720
2720
|
});
|
|
2721
2721
|
const Ma = (l, _, y) => {
|
|
@@ -2740,17 +2740,17 @@ function Pi(i, e, a) {
|
|
|
2740
2740
|
method: "GET",
|
|
2741
2741
|
headers: { "X-SessionID": _ }
|
|
2742
2742
|
}).then((E) => E.json()).then((E) => {
|
|
2743
|
-
var
|
|
2744
|
-
|
|
2743
|
+
var A;
|
|
2744
|
+
R = E.items, ce ? (R.forEach((k) => {
|
|
2745
2745
|
B.includes(k.id) || B.push(k.id);
|
|
2746
|
-
}), Fa()) :
|
|
2747
|
-
k.isFavorite =
|
|
2746
|
+
}), Fa()) : R.forEach((k) => {
|
|
2747
|
+
k.isFavorite = H(k.id);
|
|
2748
2748
|
});
|
|
2749
|
-
const N = (
|
|
2749
|
+
const N = (A = je(R)) == null ? void 0 : A.length;
|
|
2750
2750
|
g === "FAVORITES" && (window.postMessage({
|
|
2751
2751
|
type: "UpdateFavoritesCount",
|
|
2752
2752
|
favoriteGamesLength: N
|
|
2753
|
-
}), Je(
|
|
2753
|
+
}), Je(R));
|
|
2754
2754
|
}).catch((E) => {
|
|
2755
2755
|
console.error(E);
|
|
2756
2756
|
});
|
|
@@ -2760,11 +2760,11 @@ function Pi(i, e, a) {
|
|
|
2760
2760
|
let _;
|
|
2761
2761
|
_ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((y) => {
|
|
2762
2762
|
y.gameModel && (y.gameModel.isFavorite = !0);
|
|
2763
|
-
}), a(42, oe.items =
|
|
2763
|
+
}), a(42, oe.items = je(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
|
|
2764
2764
|
}, Ia = (l) => {
|
|
2765
|
-
ne += 1, a(36, de = !0), ne <=
|
|
2766
|
-
a(28,
|
|
2767
|
-
y.isFavorite =
|
|
2765
|
+
ne += 1, a(36, de = !0), ne <= He && ve(l, Pi, ne).then((_) => {
|
|
2766
|
+
a(28, L = _), L.games.items.length > F.length && (a(29, F = L.games.items), F.forEach((y) => {
|
|
2767
|
+
y.isFavorite = H(y.id);
|
|
2768
2768
|
})), a(36, de = !1);
|
|
2769
2769
|
});
|
|
2770
2770
|
}, Ea = (l) => {
|
|
@@ -2772,21 +2772,21 @@ function Pi(i, e, a) {
|
|
|
2772
2772
|
if ((_ == null ? void 0 : _.length) === 0)
|
|
2773
2773
|
return "";
|
|
2774
2774
|
let y = "", E = 999999999999, N;
|
|
2775
|
-
const
|
|
2775
|
+
const A = new Date(Date.now());
|
|
2776
2776
|
return _.forEach((k, J) => {
|
|
2777
|
-
const
|
|
2778
|
-
ia(new Date(
|
|
2777
|
+
const P = new Date(k.schedules[0].startTime), V = new Date(k.schedules[0].endTime);
|
|
2778
|
+
ia(new Date(V), new Date(A)) < E && (E = ia(new Date(V), new Date(A)), N = J), oi(new Date(A), new Date(P)) && si(new Date(A), new Date(V)) && (y = _[N].name);
|
|
2779
2779
|
}), y;
|
|
2780
2780
|
}, ea = (l) => {
|
|
2781
2781
|
a(30, $ = !1), window.postMessage(
|
|
2782
2782
|
{
|
|
2783
|
-
type: `${
|
|
2783
|
+
type: `${Pe}`,
|
|
2784
2784
|
itemId: l,
|
|
2785
|
-
showallpage:
|
|
2785
|
+
showallpage: Le
|
|
2786
2786
|
},
|
|
2787
2787
|
window.location.href
|
|
2788
2788
|
);
|
|
2789
|
-
},
|
|
2789
|
+
}, Ra = () => {
|
|
2790
2790
|
switch (g) {
|
|
2791
2791
|
case "FAVORITES":
|
|
2792
2792
|
c && m && a(39, he = !0);
|
|
@@ -2801,27 +2801,27 @@ function Pi(i, e, a) {
|
|
|
2801
2801
|
xe(g, !0);
|
|
2802
2802
|
break;
|
|
2803
2803
|
}
|
|
2804
|
-
},
|
|
2805
|
-
document[Ee] ? a(41,
|
|
2804
|
+
}, Aa = () => {
|
|
2805
|
+
document[Ee] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
|
|
2806
2806
|
}, Na = () => {
|
|
2807
2807
|
Ie && _e.forEach((l, _) => {
|
|
2808
|
-
l && (l.elems_index = _,
|
|
2808
|
+
l && (l.elems_index = _, Ae.observe(l));
|
|
2809
2809
|
});
|
|
2810
|
-
},
|
|
2810
|
+
}, ja = () => {
|
|
2811
2811
|
li(r);
|
|
2812
2812
|
};
|
|
2813
2813
|
Xa(() => {
|
|
2814
|
-
|
|
2815
|
-
}), Za(() => (window.addEventListener("visibilitychange", (l) =>
|
|
2814
|
+
Ae == null || Ae.disconnect();
|
|
2815
|
+
}), Za(() => (window.addEventListener("visibilitychange", (l) => Aa()), window.addEventListener("message", Ye, !1), () => {
|
|
2816
2816
|
window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
|
|
2817
2817
|
}));
|
|
2818
|
-
function
|
|
2818
|
+
function La(l) {
|
|
2819
2819
|
le[l ? "unshift" : "push"](() => {
|
|
2820
2820
|
fe = l, a(38, fe);
|
|
2821
2821
|
});
|
|
2822
2822
|
}
|
|
2823
|
-
const
|
|
2824
|
-
function
|
|
2823
|
+
const Pa = (l) => ea(L.id);
|
|
2824
|
+
function Ta(l, _) {
|
|
2825
2825
|
le[l ? "unshift" : "push"](() => {
|
|
2826
2826
|
_e[_] = l, a(24, _e);
|
|
2827
2827
|
});
|
|
@@ -2847,16 +2847,16 @@ function Pi(i, e, a) {
|
|
|
2847
2847
|
});
|
|
2848
2848
|
}
|
|
2849
2849
|
return i.$$set = (l) => {
|
|
2850
|
-
"endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, c = l.userid), "favorites" in l && a(8, u = l.favorites), "mbsource" in l && a(9, f = l.mbsource), "clientstyling" in l && a(10, p = l.clientstyling), "clientstylingurl" in l && a(11, b = l.clientstylingurl), "translationurl" in l && a(12, M = l.translationurl), "currency" in l && a(13, I = l.currency), "categoryid" in l && a(0, g = l.categoryid), "showgamename" in l && a(14, d = l.showgamename), "livecasino" in l && a(15, O = l.livecasino), "gamepagemodalurl" in l && a(16, U = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, v = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, Q = l.integratedgameframemobile), "casinomygames" in l && a(19, me = l.casinomygames), "addfilterselector" in l && a(1, ye = l.addfilterselector), "addsortingselector" in l && a(2, ke = l.addsortingselector), "filterbylogo" in l && a(20, Ke = l.filterbylogo), "casinogamesgridslider" in l && a(21, Xe = l.casinogamesgridslider), "fetchviaevent" in l && a(47, ce = l.fetchviaevent), "showallpage" in l && a(48,
|
|
2850
|
+
"endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, c = l.userid), "favorites" in l && a(8, u = l.favorites), "mbsource" in l && a(9, f = l.mbsource), "clientstyling" in l && a(10, p = l.clientstyling), "clientstylingurl" in l && a(11, b = l.clientstylingurl), "translationurl" in l && a(12, M = l.translationurl), "currency" in l && a(13, I = l.currency), "categoryid" in l && a(0, g = l.categoryid), "showgamename" in l && a(14, d = l.showgamename), "livecasino" in l && a(15, O = l.livecasino), "gamepagemodalurl" in l && a(16, U = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, v = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, Q = l.integratedgameframemobile), "casinomygames" in l && a(19, me = l.casinomygames), "addfilterselector" in l && a(1, ye = l.addfilterselector), "addsortingselector" in l && a(2, ke = l.addsortingselector), "filterbylogo" in l && a(20, Ke = l.filterbylogo), "casinogamesgridslider" in l && a(21, Xe = l.casinogamesgridslider), "fetchviaevent" in l && a(47, ce = l.fetchviaevent), "showallpage" in l && a(48, Le = l.showallpage), "actionevent" in l && a(49, Pe = l.actionevent), "displayedgamecount" in l && a(50, Ge = l.displayedgamecount), "showallbuttongamescount" in l && a(51, Ce = l.showallbuttongamescount), "lobbyscreen" in l && a(52, Te = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
|
|
2851
2851
|
}, i.$$.update = () => {
|
|
2852
2852
|
i.$$.dirty[0] & /*lang*/
|
|
2853
|
-
32 && r &&
|
|
2853
|
+
32 && r && ja(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
|
2854
2854
|
57 | i.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
|
|
2855
2855
|
1638400 && (ce === "false" || ce === "") && o && r && g && s && Ge && Ce && Sa(g, Ge, Ce), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
|
|
2856
2856
|
456 && u === "true" && o && m && c && We(m, c), i.$$.dirty[0] & /*thumbnailContainer*/
|
|
2857
2857
|
16777216 | i.$$.dirty[1] & /*dataloaded*/
|
|
2858
2858
|
8388608 && qe && _e && Na(), i.$$.dirty[0] & /*lang, categoryid*/
|
|
2859
|
-
33 && r && g &&
|
|
2859
|
+
33 && r && g && Ra(), i.$$.dirty[0] & /*translationurl*/
|
|
2860
2860
|
4096 && M && ka(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2861
2861
|
8389632 && p && Y && $a(Y, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2862
2862
|
8390656 && b && Y && ei(Y, b), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -2890,7 +2890,7 @@ function Pi(i, e, a) {
|
|
|
2890
2890
|
x,
|
|
2891
2891
|
Ue,
|
|
2892
2892
|
K,
|
|
2893
|
-
|
|
2893
|
+
L,
|
|
2894
2894
|
F,
|
|
2895
2895
|
$,
|
|
2896
2896
|
X,
|
|
@@ -2903,23 +2903,23 @@ function Pi(i, e, a) {
|
|
|
2903
2903
|
fe,
|
|
2904
2904
|
he,
|
|
2905
2905
|
pe,
|
|
2906
|
-
|
|
2906
|
+
Ve,
|
|
2907
2907
|
oe,
|
|
2908
2908
|
t,
|
|
2909
2909
|
Ze,
|
|
2910
2910
|
Ea,
|
|
2911
2911
|
ea,
|
|
2912
2912
|
ce,
|
|
2913
|
-
|
|
2914
|
-
|
|
2913
|
+
Le,
|
|
2914
|
+
Pe,
|
|
2915
2915
|
Ge,
|
|
2916
2916
|
Ce,
|
|
2917
|
-
|
|
2917
|
+
Te,
|
|
2918
2918
|
De,
|
|
2919
2919
|
qe,
|
|
2920
|
-
|
|
2921
|
-
Ta,
|
|
2920
|
+
La,
|
|
2922
2921
|
Pa,
|
|
2922
|
+
Ta,
|
|
2923
2923
|
Da,
|
|
2924
2924
|
Ua,
|
|
2925
2925
|
Oa,
|
|
@@ -2931,8 +2931,8 @@ class Di extends qa {
|
|
|
2931
2931
|
super(), Wa(
|
|
2932
2932
|
this,
|
|
2933
2933
|
e,
|
|
2934
|
-
|
|
2935
|
-
|
|
2934
|
+
Ti,
|
|
2935
|
+
Li,
|
|
2936
2936
|
Ya,
|
|
2937
2937
|
{
|
|
2938
2938
|
endpoint: 3,
|