@everymatrix/casino-my-games-nd 1.77.31 → 1.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSectionNd-CIaQmLaZ.js → CasinoFavoritesSectionNd-B2vN2iFX.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-BXf5dIxF.cjs → CasinoFavoritesSectionNd-BUaKjoO4.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-Bw_mCask.js} +1 -1
- package/components/{CasinoFilter-C0HjHa4h.cjs → CasinoFilter-Cm2ICJ1X.cjs} +1 -1
- package/components/{CasinoFilter-Do8RpGVV.js → CasinoFilter-Dh_yhRlA.js} +1 -1
- package/components/{CasinoFilter-C9-vbAdr.js → CasinoFilter-DtlQfqch.js} +1 -1
- package/components/{CasinoGameThumbnailNd-CIzMLSSe.js → CasinoGameThumbnailNd-C97dIDDq.js} +2 -2
- package/components/{CasinoGameThumbnailNd-aSAssa6M.cjs → CasinoGameThumbnailNd-CaSur76Z.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-Bfc5gihp.js → CasinoGameThumbnailNd-Dpxfkkmy.js} +2 -2
- package/components/{CasinoGamesCategorySectionNd-ByRcEXhY.js → CasinoGamesCategorySectionNd-Bjfrcs3t.js} +71 -67
- package/components/{CasinoGamesCategorySectionNd-DTFGyINc.cjs → CasinoGamesCategorySectionNd-C1r8G9VA.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-Dc_wSU_N.js → CasinoGamesCategorySectionNd-D8TYK36I.js} +63 -59
- package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-Ch-nBb6J.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-Cjm32r96.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-DAFL_LHx.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BJCj9z1f.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-Bxzamt8Y.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-D4YXi-PX.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CYQuetAd.js → CasinoMyGamesNd-ClAWs6ka.js} +5 -5
- package/components/{CasinoMyGamesNd-CT2PNyPj.cjs → CasinoMyGamesNd-NJKvnFcD.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Dzi-kA2k.js → CasinoMyGamesNd-bu06PG7L.js} +5 -5
- package/components/{CasinoSort-C1FHS127.js → CasinoSort-B8lr2Aq8.js} +1 -1
- package/components/{CasinoSort-Cij3MZNh.js → CasinoSort-CFTb0eg3.js} +1 -1
- package/components/{CasinoSort-CzuM3yRC.cjs → CasinoSort-C_Q47OHK.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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as Oa, $ as Ba, S as
|
|
2
|
-
import { p as Ee, i as ve, g as ii } from "./CasinoFilter-
|
|
3
|
-
import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { b as Oa, $ as Ba, S as Ha, i as Va, s as qa, f as z, c as Wa, n as pe, d as k, e as G, g as C, k as h, h as Ya, K as Ja, o as Ka, j as oe, G as K, q as w, v as V, p as D, w as T, l as se, L as _a, E as n, M as pa, m as Xa, t as Za, u as $, z as Qa, A as xa, B as $a, C as ei, D as ai } from "./CasinoFavoritesSectionNd-B2vN2iFX.js";
|
|
2
|
+
import { p as Ee, i as ve, g as ii } from "./CasinoFilter-Dh_yhRlA.js";
|
|
3
|
+
import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-Dpxfkkmy.js";
|
|
4
4
|
function $e(i, e) {
|
|
5
5
|
Oa(i, e);
|
|
6
6
|
}
|
|
@@ -218,7 +218,7 @@ if (typeof window < "u") {
|
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
};
|
|
221
|
-
customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-
|
|
221
|
+
customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-Dpxfkkmy.js").then((e) => e.C).then(({ default: e }) => {
|
|
222
222
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
@@ -234,7 +234,7 @@ if (typeof window < "u") {
|
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
-
customElements.define = i(customElements.define), import("./CasinoFilter-
|
|
237
|
+
customElements.define = i(customElements.define), import("./CasinoFilter-Dh_yhRlA.js").then((e) => e.C).then(({ default: e }) => {
|
|
238
238
|
!customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -250,7 +250,7 @@ if (typeof window < "u") {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
|
-
customElements.define = i(customElements.define), import("./CasinoSort-
|
|
253
|
+
customElements.define = i(customElements.define), import("./CasinoSort-CFTb0eg3.js").then(({ default: e }) => {
|
|
254
254
|
!customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
|
|
255
255
|
});
|
|
256
256
|
}
|
|
@@ -320,7 +320,7 @@ function ri(i) {
|
|
|
320
320
|
let c = m(i), u = c(i);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
323
|
-
e = C("div"), a = C("div"), r.c(), t =
|
|
323
|
+
e = C("div"), a = C("div"), r.c(), t = V(), u.c(), h(a, "class", "CasinoGamesHeader Searched " + (ve(
|
|
324
324
|
/*userAgent*/
|
|
325
325
|
i[44]
|
|
326
326
|
) ? "CasinoGamesHeaderMobile" : "")), h(e, "class", "CasinoGamesContainer");
|
|
@@ -378,7 +378,7 @@ function ci(i) {
|
|
|
378
378
|
let m = r(i), c = m(i);
|
|
379
379
|
return {
|
|
380
380
|
c() {
|
|
381
|
-
e = C("div"), s && s.c(), a =
|
|
381
|
+
e = C("div"), s && s.c(), a = V(), t = C("ul"), c.c(), h(t, "class", o = /*favoriteGamesData*/
|
|
382
382
|
(i[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(e, "class", "CasinoGamesContainer");
|
|
383
383
|
},
|
|
384
384
|
m(u, f) {
|
|
@@ -413,7 +413,7 @@ function gi(i) {
|
|
|
413
413
|
let s = o(i), r = s(i);
|
|
414
414
|
return {
|
|
415
415
|
c() {
|
|
416
|
-
e = C("div"), t && t.c(), a =
|
|
416
|
+
e = C("div"), t && t.c(), a = V(), r.c(), h(e, "class", "CasinoGamesContainer");
|
|
417
417
|
},
|
|
418
418
|
m(m, c) {
|
|
419
419
|
G(m, e, c), t && t.m(e, null), w(e, a), r.m(e, null);
|
|
@@ -437,7 +437,7 @@ function ta(i) {
|
|
|
437
437
|
), u, f;
|
|
438
438
|
return {
|
|
439
439
|
c() {
|
|
440
|
-
e = C("div"), a = C("h3"), o =
|
|
440
|
+
e = C("div"), a = C("h3"), o = T(t), s = V(), r = C("span"), m = T("("), u = T(c), f = T(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
441
441
|
},
|
|
442
442
|
m(p, b) {
|
|
443
443
|
G(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);
|
|
@@ -461,7 +461,7 @@ function di(i) {
|
|
|
461
461
|
), t;
|
|
462
462
|
return {
|
|
463
463
|
c() {
|
|
464
|
-
e = C("p"), t =
|
|
464
|
+
e = C("p"), t = T(a);
|
|
465
465
|
},
|
|
466
466
|
m(o, s) {
|
|
467
467
|
G(o, e, s), w(e, t);
|
|
@@ -547,7 +547,7 @@ function oa(i) {
|
|
|
547
547
|
let U = d(i)(i);
|
|
548
548
|
return {
|
|
549
549
|
c() {
|
|
550
|
-
e = C("p"), a = $("svg"), t = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f =
|
|
550
|
+
e = C("p"), a = $("svg"), t = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f = V(), p = C("span"), M = T(b), I = V(), U.c(), g = V(), 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 " + (ve(
|
|
551
551
|
/*userAgent*/
|
|
552
552
|
i[44]
|
|
553
553
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
@@ -572,7 +572,7 @@ function hi(i) {
|
|
|
572
572
|
), t;
|
|
573
573
|
return {
|
|
574
574
|
c() {
|
|
575
|
-
e = C("span"), t =
|
|
575
|
+
e = C("span"), t = T(a), h(e, "class", "NoFavoriteText");
|
|
576
576
|
},
|
|
577
577
|
m(o, s) {
|
|
578
578
|
G(o, e, s), w(e, t);
|
|
@@ -594,7 +594,7 @@ function _i(i) {
|
|
|
594
594
|
), t;
|
|
595
595
|
return {
|
|
596
596
|
c() {
|
|
597
|
-
e = C("span"), t =
|
|
597
|
+
e = C("span"), t = T(a), h(e, "class", "NoFavoriteText");
|
|
598
598
|
},
|
|
599
599
|
m(o, s) {
|
|
600
600
|
G(o, e, s), w(e, t);
|
|
@@ -1294,7 +1294,7 @@ function ca(i) {
|
|
|
1294
1294
|
let u = c(i), f = u(i);
|
|
1295
1295
|
return {
|
|
1296
1296
|
c() {
|
|
1297
|
-
e = C("div"), a = C("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 =
|
|
1297
|
+
e = C("div"), a = C("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 = V(), o = C("h3"), r = T(s), m = V(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
1298
1298
|
},
|
|
1299
1299
|
m(p, b) {
|
|
1300
1300
|
G(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);
|
|
@@ -1320,7 +1320,7 @@ function wi(i) {
|
|
|
1320
1320
|
);
|
|
1321
1321
|
return {
|
|
1322
1322
|
c() {
|
|
1323
|
-
e = C("div"), o && o.c(), a =
|
|
1323
|
+
e = C("div"), o && o.c(), a = V(), s && s.c(), h(e, "class", t = /*addfilterselector*/
|
|
1324
1324
|
i[1] == "true" && /*usesinglevendorfilter*/
|
|
1325
1325
|
i[22] === "false" && /*addsortingselector*/
|
|
1326
1326
|
i[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
|
|
@@ -1353,7 +1353,7 @@ function yi(i) {
|
|
|
1353
1353
|
), m, c, u, f;
|
|
1354
1354
|
return {
|
|
1355
1355
|
c() {
|
|
1356
|
-
e = C("a"), a = C("span"), o =
|
|
1356
|
+
e = C("a"), a = C("span"), o = T(t), s = T(" ("), m = T(r), c = T(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
|
|
1357
1357
|
},
|
|
1358
1358
|
m(p, b) {
|
|
1359
1359
|
G(p, e, b), w(e, a), w(a, o), w(a, s), w(a, m), w(a, c), u || (f = Za(
|
|
@@ -1592,7 +1592,7 @@ function ki(i) {
|
|
|
1592
1592
|
), t;
|
|
1593
1593
|
return {
|
|
1594
1594
|
c() {
|
|
1595
|
-
e = C("p"), t =
|
|
1595
|
+
e = C("p"), t = T(a), h(e, "class", "NoSearchResults");
|
|
1596
1596
|
},
|
|
1597
1597
|
m(o, s) {
|
|
1598
1598
|
G(o, e, s), w(e, t);
|
|
@@ -1991,7 +1991,7 @@ function Fi(i) {
|
|
|
1991
1991
|
), t;
|
|
1992
1992
|
return {
|
|
1993
1993
|
c() {
|
|
1994
|
-
e = C("h3"), t =
|
|
1994
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
1995
1995
|
},
|
|
1996
1996
|
m(o, s) {
|
|
1997
1997
|
G(o, e, s), w(e, t);
|
|
@@ -2013,7 +2013,7 @@ function zi(i) {
|
|
|
2013
2013
|
), t;
|
|
2014
2014
|
return {
|
|
2015
2015
|
c() {
|
|
2016
|
-
e = C("h3"), t =
|
|
2016
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
2017
2017
|
},
|
|
2018
2018
|
m(o, s) {
|
|
2019
2019
|
G(o, e, s), w(e, t);
|
|
@@ -2035,7 +2035,7 @@ function Mi(i) {
|
|
|
2035
2035
|
), t;
|
|
2036
2036
|
return {
|
|
2037
2037
|
c() {
|
|
2038
|
-
e = C("h3"), t =
|
|
2038
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
2039
2039
|
},
|
|
2040
2040
|
m(o, s) {
|
|
2041
2041
|
G(o, e, s), w(e, t);
|
|
@@ -2081,7 +2081,7 @@ function Ei(i) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
return {
|
|
2083
2083
|
c() {
|
|
2084
|
-
s && s.c(), e =
|
|
2084
|
+
s && s.c(), e = V(), a = C("ul");
|
|
2085
2085
|
for (let c = 0; c < t.length; c += 1)
|
|
2086
2086
|
t[c].c();
|
|
2087
2087
|
h(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
|
|
@@ -2114,7 +2114,7 @@ function fa(i) {
|
|
|
2114
2114
|
), t;
|
|
2115
2115
|
return {
|
|
2116
2116
|
c() {
|
|
2117
|
-
e = C("p"), t =
|
|
2117
|
+
e = C("p"), t = T(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
|
|
2118
2118
|
/*userAgent*/
|
|
2119
2119
|
i[44]
|
|
2120
2120
|
) ? "NoRecentSearchesMobile" : ""));
|
|
@@ -2454,7 +2454,7 @@ let Li = 0;
|
|
|
2454
2454
|
function ji(i, e, a) {
|
|
2455
2455
|
let t;
|
|
2456
2456
|
Ya(i, ai, (l) => a(43, t = l));
|
|
2457
|
-
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: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, je = !1, Ce, Se, W = !0, Ye = window.navigator.userAgent,
|
|
2457
|
+
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: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, je = !1, Ce, Se, W = !0, Ye = window.navigator.userAgent, P, F = [], Q = !0, ae = 40, Y = !1, Fe = !1, me = !1, Te = !1, Pe = !0, ce = !1, ge, De, de, ue = !1, q, ze = !1, fe = new Array(1e4), he = {}, Ue = "", ie = "", Me, Oe, N, O = [], Ie = new AbortController(), te = { items: [], count: 0, name: "" };
|
|
2458
2458
|
const va = () => {
|
|
2459
2459
|
fetch(M).then((_) => _.json()).then((_) => {
|
|
2460
2460
|
Object.keys(_).forEach((y) => {
|
|
@@ -2491,7 +2491,7 @@ function ji(i, e, a) {
|
|
|
2491
2491
|
});
|
|
2492
2492
|
} else
|
|
2493
2493
|
N = [];
|
|
2494
|
-
g === "FAVORITES" &&
|
|
2494
|
+
g === "FAVORITES" && Ve(N), y(N);
|
|
2495
2495
|
}).catch((S) => {
|
|
2496
2496
|
console.error(S), R(S);
|
|
2497
2497
|
});
|
|
@@ -2507,8 +2507,8 @@ function ji(i, e, a) {
|
|
|
2507
2507
|
return new Promise((A, E) => {
|
|
2508
2508
|
fetch(y, R).then((S) => S.json()).then((S) => {
|
|
2509
2509
|
if (a(25, Z = !1), N = [], S) {
|
|
2510
|
-
S.items?.forEach((
|
|
2511
|
-
|
|
2510
|
+
S.items?.forEach((H) => {
|
|
2511
|
+
H.gameModel && (N.push(H), O.includes(H.id) || O.push(H.id));
|
|
2512
2512
|
});
|
|
2513
2513
|
const L = Ee(N)?.length;
|
|
2514
2514
|
window.postMessage({
|
|
@@ -2517,7 +2517,7 @@ function ji(i, e, a) {
|
|
|
2517
2517
|
});
|
|
2518
2518
|
} else
|
|
2519
2519
|
N = [];
|
|
2520
|
-
g === "FAVORITES" &&
|
|
2520
|
+
g === "FAVORITES" && Ve(N), F.forEach((L) => {
|
|
2521
2521
|
L.isFavorite = B(L.id);
|
|
2522
2522
|
});
|
|
2523
2523
|
let J = F;
|
|
@@ -2531,25 +2531,29 @@ function ji(i, e, a) {
|
|
|
2531
2531
|
const A = Ie.signal;
|
|
2532
2532
|
a(25, Z = !0);
|
|
2533
2533
|
let E = "", S = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2534
|
-
const
|
|
2534
|
+
const H = Ge === "true" ? "*" : l;
|
|
2535
2535
|
return (l.match(/\$/g) || []).length > 1 ? (E = l.split("$").slice(0, 2).join("$"), S = new URL(`${o}/v1/casino/groups/${s}/${E}/subGroups`)) : S = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
|
|
2536
|
-
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", ii(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${y})`), S.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[
|
|
2536
|
+
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", ii(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${y})`), S.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[H]?.length)
|
|
2537
2537
|
if (Ge === "true" || W === !1 && ue === !1) {
|
|
2538
|
-
let
|
|
2539
|
-
a(34, Te = !0), J[
|
|
2540
|
-
|
|
2541
|
-
}), S.searchParams.append("filter", `${
|
|
2538
|
+
let j = "";
|
|
2539
|
+
a(34, Te = !0), J[H].forEach((x) => {
|
|
2540
|
+
j = j + (j ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
|
|
2541
|
+
}), S.searchParams.append("filter", `${j}`);
|
|
2542
2542
|
} else
|
|
2543
2543
|
a(34, Te = !1);
|
|
2544
|
-
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (S.searchParams.append("sortedField", `games(${L[l]})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (S.searchParams.append("sortedField", `games(${ie})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${ie})`))), fetch(S, { signal: A }).then((
|
|
2545
|
-
|
|
2544
|
+
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (S.searchParams.append("sortedField", `games(${L[l]})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (S.searchParams.append("sortedField", `games(${ie})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${ie})`))), fetch(S, { signal: A }).then((j) => {
|
|
2545
|
+
if (!j.ok)
|
|
2546
|
+
throw j.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${j.status}`);
|
|
2547
|
+
return j.json();
|
|
2548
|
+
}).then((j) => {
|
|
2549
|
+
A.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (j = j.items.filter((x) => {
|
|
2546
2550
|
if (x.id == l)
|
|
2547
2551
|
return x;
|
|
2548
|
-
})[0]), a(54, Oe = !0), a(26, je = !1), De =
|
|
2552
|
+
})[0]), a(54, Oe = !0), a(26, je = !1), De = j.games.total, R && j.games.items.forEach((x) => {
|
|
2549
2553
|
x.isFavorite = B(x.id);
|
|
2550
|
-
}), a(36, ce = !0), Da(
|
|
2551
|
-
}).catch((
|
|
2552
|
-
|
|
2554
|
+
}), a(36, ce = !0), Da(j));
|
|
2555
|
+
}).catch((j) => {
|
|
2556
|
+
j.name !== "AbortError" && (a(26, je = !0), console.error(j), Ua(j));
|
|
2553
2557
|
}).finally(() => {
|
|
2554
2558
|
wa();
|
|
2555
2559
|
});
|
|
@@ -2567,15 +2571,15 @@ function ji(i, e, a) {
|
|
|
2567
2571
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2568
2572
|
}, ya = (l, _, y) => {
|
|
2569
2573
|
l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +y), _e(l, 0, +_).then((R) => {
|
|
2570
|
-
a(28,
|
|
2574
|
+
a(28, P = R), a(29, F = P.games.items), F && F.forEach((A) => {
|
|
2571
2575
|
A.isFavorite = B(A.id);
|
|
2572
2576
|
});
|
|
2573
2577
|
}));
|
|
2574
|
-
},
|
|
2578
|
+
}, He = (l) => {
|
|
2575
2579
|
if (l.data)
|
|
2576
2580
|
switch (l.data.type) {
|
|
2577
2581
|
case "MostPlayedData":
|
|
2578
|
-
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28,
|
|
2582
|
+
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28, P = {
|
|
2579
2583
|
id: "MOSTPLAYED",
|
|
2580
2584
|
name: "Most Played Games",
|
|
2581
2585
|
games: {
|
|
@@ -2588,7 +2592,7 @@ function ji(i, e, a) {
|
|
|
2588
2592
|
})), a(25, Z = !1);
|
|
2589
2593
|
break;
|
|
2590
2594
|
case "LastPlayedData":
|
|
2591
|
-
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28,
|
|
2595
|
+
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28, P = {
|
|
2592
2596
|
id: "LASTPLAYED",
|
|
2593
2597
|
name: "Last Played Games",
|
|
2594
2598
|
games: {
|
|
@@ -2615,7 +2619,7 @@ function ji(i, e, a) {
|
|
|
2615
2619
|
break;
|
|
2616
2620
|
case `CategoryData_${g}`:
|
|
2617
2621
|
a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
|
2618
|
-
a(28,
|
|
2622
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !!(De <= l.data.visiblegames && W)), F && F.forEach((y) => {
|
|
2619
2623
|
y.isFavorite = B(y.id);
|
|
2620
2624
|
});
|
|
2621
2625
|
});
|
|
@@ -2625,7 +2629,7 @@ function ji(i, e, a) {
|
|
|
2625
2629
|
break;
|
|
2626
2630
|
case "ApplySorter":
|
|
2627
2631
|
a(0, g = l.data.itemId), ie = l.data.sortBy, _e(g, 0, ae).then((_) => {
|
|
2628
|
-
a(28,
|
|
2632
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !1);
|
|
2629
2633
|
});
|
|
2630
2634
|
break;
|
|
2631
2635
|
case "CategoryUpdate":
|
|
@@ -2646,7 +2650,7 @@ function ji(i, e, a) {
|
|
|
2646
2650
|
}
|
|
2647
2651
|
}, Xe = (l, _ = !1) => {
|
|
2648
2652
|
a(31, Y = !1), a(27, W = Ne === "true"), a(33, me = !1), ze = !0, a(36, ce = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, Q = !1), le !== "true" && (!N && m && Be(m, c), _e(g, 0, ae).then((y) => {
|
|
2649
|
-
a(28,
|
|
2653
|
+
a(28, P = y), a(29, F = P.games.items);
|
|
2650
2654
|
}).finally(
|
|
2651
2655
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2652
2656
|
if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2667,7 +2671,7 @@ function ji(i, e, a) {
|
|
|
2667
2671
|
}
|
|
2668
2672
|
));
|
|
2669
2673
|
}, ka = () => {
|
|
2670
|
-
|
|
2674
|
+
P && (a(29, F = P.games.items), F.forEach((l) => {
|
|
2671
2675
|
l.isFavorite = B(l.id);
|
|
2672
2676
|
}));
|
|
2673
2677
|
}, B = (l) => N?.some((_) => _.id === l) ?? !1;
|
|
@@ -2722,10 +2726,10 @@ function ji(i, e, a) {
|
|
|
2722
2726
|
g === "FAVORITES" && (window.postMessage({
|
|
2723
2727
|
type: "UpdateFavoritesCount",
|
|
2724
2728
|
favoriteGamesLength: A
|
|
2725
|
-
}),
|
|
2729
|
+
}), Ve(N));
|
|
2726
2730
|
}).catch((R) => {
|
|
2727
2731
|
console.error(R);
|
|
2728
|
-
}),
|
|
2732
|
+
}), Ve = (l) => {
|
|
2729
2733
|
if (!l)
|
|
2730
2734
|
return;
|
|
2731
2735
|
let _;
|
|
@@ -2734,7 +2738,7 @@ function ji(i, e, a) {
|
|
|
2734
2738
|
}), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
|
|
2735
2739
|
}, Sa = (l) => {
|
|
2736
2740
|
ae += 1, a(36, ce = !0), ae <= De && _e(l, Li, ae).then((_) => {
|
|
2737
|
-
a(28,
|
|
2741
|
+
a(28, P = _), P.games.items.length > F.length && (a(29, F = P.games.items), F.forEach((y) => {
|
|
2738
2742
|
y.isFavorite = B(y.id);
|
|
2739
2743
|
})), a(36, ce = !1);
|
|
2740
2744
|
});
|
|
@@ -2745,8 +2749,8 @@ function ji(i, e, a) {
|
|
|
2745
2749
|
let y = "", R = 999999999999, A;
|
|
2746
2750
|
const E = new Date(Date.now());
|
|
2747
2751
|
return _.forEach((S, J) => {
|
|
2748
|
-
const L = new Date(S.schedules[0].startTime),
|
|
2749
|
-
xe(new Date(
|
|
2752
|
+
const L = new Date(S.schedules[0].startTime), H = new Date(S.schedules[0].endTime);
|
|
2753
|
+
xe(new Date(H), new Date(E)) < R && (R = xe(new Date(H), new Date(E)), A = J), ni(new Date(E), new Date(L)) && ti(new Date(E), new Date(H)) && (y = _[A].name);
|
|
2750
2754
|
}), y;
|
|
2751
2755
|
}, Qe = (l) => {
|
|
2752
2756
|
a(30, Q = !1), window.postMessage(
|
|
@@ -2783,15 +2787,15 @@ function ji(i, e, a) {
|
|
|
2783
2787
|
};
|
|
2784
2788
|
Ja(() => {
|
|
2785
2789
|
Je?.disconnect();
|
|
2786
|
-
}), Ka(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message",
|
|
2787
|
-
window.removeEventListener("message",
|
|
2790
|
+
}), Ka(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message", He, !1), () => {
|
|
2791
|
+
window.removeEventListener("message", He), window.removeEventListener("visibilitychange", He);
|
|
2788
2792
|
}));
|
|
2789
2793
|
function Ra(l) {
|
|
2790
2794
|
oe[l ? "unshift" : "push"](() => {
|
|
2791
2795
|
de = l, a(38, de);
|
|
2792
2796
|
});
|
|
2793
2797
|
}
|
|
2794
|
-
const Aa = (l) => Qe(
|
|
2798
|
+
const Aa = (l) => Qe(P.id);
|
|
2795
2799
|
function Na(l, _) {
|
|
2796
2800
|
oe[l ? "unshift" : "push"](() => {
|
|
2797
2801
|
fe[_] = l, a(24, fe);
|
|
@@ -2861,7 +2865,7 @@ function ji(i, e, a) {
|
|
|
2861
2865
|
Z,
|
|
2862
2866
|
je,
|
|
2863
2867
|
W,
|
|
2864
|
-
|
|
2868
|
+
P,
|
|
2865
2869
|
F,
|
|
2866
2870
|
Q,
|
|
2867
2871
|
Y,
|
|
@@ -2897,9 +2901,9 @@ function ji(i, e, a) {
|
|
|
2897
2901
|
Pa
|
|
2898
2902
|
];
|
|
2899
2903
|
}
|
|
2900
|
-
class Ti extends
|
|
2904
|
+
class Ti extends Ha {
|
|
2901
2905
|
constructor(e) {
|
|
2902
|
-
super(),
|
|
2906
|
+
super(), Va(
|
|
2903
2907
|
this,
|
|
2904
2908
|
e,
|
|
2905
2909
|
ji,
|
package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-Ch-nBb6J.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BXf5dIxF.cjs"),Q=require("./CasinoFilter-C0HjHa4h.cjs");function z(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function X(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function p(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function x(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function $(n){let e,a;function i(u,d){return u[20]?x:p}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function ee(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:F=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent,E=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",C),m.searchParams.append("order",S),m.searchParams.append("period",L),Q.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,E=!0)})},Z=()=>{W(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,F=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,S=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,F,P,N,j,D,g,E,i,L,S,C,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BUaKjoO4.cjs"),Q=require("./CasinoFilter-Cm2ICJ1X.cjs");function z(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function X(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function p(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function x(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function $(n){let e,a;function i(u,d){return u[20]?x:p}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function ee(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:F=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent,E=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",C),m.searchParams.append("order",S),m.searchParams.append("period",L),Q.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,E=!0)})},Z=()=>{W(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,F=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,S=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,F,P,N,j,D,g,E,i,L,S,C,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-Cjm32r96.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-Bw_mCask.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-DtlQfqch.js";
|
|
3
3
|
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-DAFL_LHx.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-B2vN2iFX.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-Dh_yhRlA.js";
|
|
3
3
|
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BJCj9z1f.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, q as K, g as P, k as M, h as ie, o as oe, j as le, p as re, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, q as K, g as P, k as M, h as ie, o as oe, j as le, p as re, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-B2vN2iFX.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-Dh_yhRlA.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-Bxzamt8Y.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, q as K, g as P, k as M, h as ie, o as oe, j as le, p as re, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, q as K, g as P, k as M, h as ie, o as oe, j as le, p as re, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-Bw_mCask.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-DtlQfqch.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-D4YXi-PX.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BXf5dIxF.cjs"),V=require("./CasinoFilter-C0HjHa4h.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{W(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,j,h,y,b,v,w,M,L,A,F,N,O,G,P,E,c,T,i,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BUaKjoO4.cjs"),V=require("./CasinoFilter-Cm2ICJ1X.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{W(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,j,h,y,b,v,w,M,L,A,F,N,O,G,P,E,c,T,i,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|