@everymatrix/casino-most-played-section-nd 1.94.61 → 1.94.63
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/{CasinoFilter-DRRmtZ-5.cjs → CasinoFilter-BCqfWdNd.cjs} +1 -1
- package/components/{CasinoFilter-CCHLAPic.js → CasinoFilter-CUCCva61.js} +1 -1
- package/components/{CasinoFilter-BPStt98_.js → CasinoFilter-Cw78xqfj.js} +1 -1
- package/components/{CasinoGameThumbnailNd-CQtvuBE2.cjs → CasinoGameThumbnailNd-B5jIvPMA.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-B90oh36a.js → CasinoGameThumbnailNd-Bd9DV68i.js} +2 -2
- package/components/{CasinoGameThumbnailNd-D5CvlfED.js → CasinoGameThumbnailNd-w8mj7Xg0.js} +2 -2
- package/components/{CasinoGamesCategorySectionNd-Dr9t6NQK.js → CasinoGamesCategorySectionNd-CAEXQfqB.js} +117 -117
- package/components/{CasinoGamesCategorySectionNd-Colf3nJo.js → CasinoGamesCategorySectionNd-fpGYFzN3.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-B9zvbQNX.cjs → CasinoGamesCategorySectionNd-n_mXfyBL.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-D9Jozc7Y.js → CasinoMostPlayedSectionNd-BcuHOj9o.js} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dkhw6T1t.cjs → CasinoMostPlayedSectionNd-CNoJzO2X.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DjJksw2U.js → CasinoMostPlayedSectionNd-CqkBVyfk.js} +1 -1
- package/components/{CasinoSort-BHxOw4CR.cjs → CasinoSort-CE2taUdY.cjs} +1 -1
- package/components/{CasinoSort-D5nC3giF.js → CasinoSort-CaYk4KjH.js} +1 -1
- package/components/{CasinoSort-Bf_AFniE.js → CasinoSort-MpOWHmcW.js} +1 -1
- package/es2015/casino-most-played-section-nd.cjs +1 -1
- package/es2015/casino-most-played-section-nd.js +1 -1
- package/esnext/casino-most-played-section-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Ft, $ as zt, S as Dt, i as Ot, f as z, s as Nt, c as Et, b as Pt, n as fe, d as S, e as M, g as k, h as G, j as B, k as v, l as It, o as At, m as Ut, p as Lt, q as da, r as Ce, t as re, u as Ie, v as Rt, w as j, x as I, y as Me, z as Za, A as o, B as xa, C as jt, D as Fa, E as Wt, F as ce, G as Yt, H as qt, I as Ht, J as Vt } from "./CasinoMostPlayedSectionNd-
|
|
1
|
+
import { a as Ft, $ as zt, S as Dt, i as Ot, f as z, s as Nt, c as Et, b as Pt, n as fe, d as S, e as M, g as k, h as G, j as B, k as v, l as It, o as At, m as Ut, p as Lt, q as da, r as Ce, t as re, u as Ie, v as Rt, w as j, x as I, y as Me, z as Za, A as o, B as xa, C as jt, D as Fa, E as Wt, F as ce, G as Yt, H as qt, I as Ht, J as Vt } from "./CasinoMostPlayedSectionNd-BcuHOj9o.js";
|
|
2
2
|
function Bt(t, e) {
|
|
3
3
|
Ft(t, e);
|
|
4
4
|
}
|
|
@@ -407,28 +407,28 @@ function xe(t, e) {
|
|
|
407
407
|
var g = $e(), h = pe((a = (n = (i = (r = e?.weekStartsOn) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && i !== void 0 ? i : g.weekStartsOn) !== null && n !== void 0 ? n : (c = g.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
408
408
|
if (!(h >= 0 && h <= 6))
|
|
409
409
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
410
|
-
var p = R(t),
|
|
410
|
+
var p = R(t), b = p.getUTCDay(), y = (b < h ? 7 : 0) + b - h;
|
|
411
411
|
return p.setUTCDate(p.getUTCDate() - y), p.setUTCHours(0, 0, 0, 0), p;
|
|
412
412
|
}
|
|
413
413
|
function et(t, e) {
|
|
414
414
|
var a, n, i, r, s, l, c, f;
|
|
415
415
|
A(1, arguments);
|
|
416
|
-
var g = R(t), h = g.getUTCFullYear(), p = $e(),
|
|
417
|
-
if (!(
|
|
416
|
+
var g = R(t), h = g.getUTCFullYear(), p = $e(), b = pe((a = (n = (i = (r = e?.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && i !== void 0 ? i : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = p.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
417
|
+
if (!(b >= 1 && b <= 7))
|
|
418
418
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
419
419
|
var y = /* @__PURE__ */ new Date(0);
|
|
420
|
-
y.setUTCFullYear(h + 1, 0,
|
|
420
|
+
y.setUTCFullYear(h + 1, 0, b), y.setUTCHours(0, 0, 0, 0);
|
|
421
421
|
var D = xe(y, e), m = /* @__PURE__ */ new Date(0);
|
|
422
|
-
m.setUTCFullYear(h, 0,
|
|
422
|
+
m.setUTCFullYear(h, 0, b), m.setUTCHours(0, 0, 0, 0);
|
|
423
423
|
var d = xe(m, e);
|
|
424
424
|
return g.getTime() >= D.getTime() ? h + 1 : g.getTime() >= d.getTime() ? h : h - 1;
|
|
425
425
|
}
|
|
426
426
|
function sn(t, e) {
|
|
427
427
|
var a, n, i, r, s, l, c, f;
|
|
428
428
|
A(1, arguments);
|
|
429
|
-
var g = $e(), h = pe((a = (n = (i = (r = e?.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && i !== void 0 ? i : g.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = g.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = et(t, e),
|
|
430
|
-
|
|
431
|
-
var y = xe(
|
|
429
|
+
var g = $e(), h = pe((a = (n = (i = (r = e?.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && i !== void 0 ? i : g.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = g.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = et(t, e), b = /* @__PURE__ */ new Date(0);
|
|
430
|
+
b.setUTCFullYear(p, 0, h), b.setUTCHours(0, 0, 0, 0);
|
|
431
|
+
var y = xe(b, e);
|
|
432
432
|
return y;
|
|
433
433
|
}
|
|
434
434
|
var ln = 6048e5;
|
|
@@ -1206,7 +1206,7 @@ var pn = {
|
|
|
1206
1206
|
one: "almost 1 year",
|
|
1207
1207
|
other: "almost {{count}} years"
|
|
1208
1208
|
}
|
|
1209
|
-
},
|
|
1209
|
+
}, wn = function(e, a, n) {
|
|
1210
1210
|
var i, r = pn[e];
|
|
1211
1211
|
return typeof r == "string" ? i = r : a === 1 ? i = r.one : i = r.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
|
|
1212
1212
|
};
|
|
@@ -1216,7 +1216,7 @@ function fa(t) {
|
|
|
1216
1216
|
return n;
|
|
1217
1217
|
};
|
|
1218
1218
|
}
|
|
1219
|
-
var
|
|
1219
|
+
var bn = {
|
|
1220
1220
|
full: "EEEE, MMMM do, y",
|
|
1221
1221
|
long: "MMMM do, y",
|
|
1222
1222
|
medium: "MMM d, y",
|
|
@@ -1233,7 +1233,7 @@ var wn = {
|
|
|
1233
1233
|
short: "{{date}}, {{time}}"
|
|
1234
1234
|
}, kn = {
|
|
1235
1235
|
date: fa({
|
|
1236
|
-
formats:
|
|
1236
|
+
formats: bn,
|
|
1237
1237
|
defaultWidth: "full"
|
|
1238
1238
|
}),
|
|
1239
1239
|
time: fa({
|
|
@@ -1516,7 +1516,7 @@ var An = /^(\d+)(th|st|nd|rd)?/i, Un = /\d+/i, Ln = {
|
|
|
1516
1516
|
})
|
|
1517
1517
|
}, Qn = {
|
|
1518
1518
|
code: "en-US",
|
|
1519
|
-
formatDistance:
|
|
1519
|
+
formatDistance: wn,
|
|
1520
1520
|
formatLong: kn,
|
|
1521
1521
|
formatRelative: Sn,
|
|
1522
1522
|
localize: Nn,
|
|
@@ -1527,13 +1527,13 @@ var An = /^(\d+)(th|st|nd|rd)?/i, Un = /\d+/i, Ln = {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
}, Kn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Zn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, xn = /^'([^]*?)'?$/, $n = /''/g, ei = /[a-zA-Z]/;
|
|
1529
1529
|
function Ii(t, e, a) {
|
|
1530
|
-
var n, i, r, s, l, c, f, g, h, p,
|
|
1530
|
+
var n, i, r, s, l, c, f, g, h, p, b, y, D, m;
|
|
1531
1531
|
A(2, arguments);
|
|
1532
1532
|
var d = String(e), W = $e(), U = (n = (i = void 0) !== null && i !== void 0 ? i : W.locale) !== null && n !== void 0 ? n : Qn, q = pe((r = (s = (l = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && l !== void 0 ? l : W.firstWeekContainsDate) !== null && s !== void 0 ? s : (f = W.locale) === null || f === void 0 || (g = f.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
|
|
1533
1533
|
if (!(q >= 1 && q <= 7))
|
|
1534
1534
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1535
|
-
var
|
|
1536
|
-
if (!(
|
|
1535
|
+
var we = pe((h = (p = (b = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && b !== void 0 ? b : W.weekStartsOn) !== null && p !== void 0 ? p : (D = W.locale) === null || D === void 0 || (m = D.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
1536
|
+
if (!(we >= 0 && we <= 6))
|
|
1537
1537
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1538
1538
|
if (!U.localize)
|
|
1539
1539
|
throw new RangeError("locale must contain localize property");
|
|
@@ -1542,9 +1542,9 @@ function Ii(t, e, a) {
|
|
|
1542
1542
|
var K = R(t);
|
|
1543
1543
|
if (!$t(K))
|
|
1544
1544
|
throw new RangeError("Invalid time value");
|
|
1545
|
-
var
|
|
1545
|
+
var be = Zt(K), _e = en(K, be), Ae = {
|
|
1546
1546
|
firstWeekContainsDate: q,
|
|
1547
|
-
weekStartsOn:
|
|
1547
|
+
weekStartsOn: we,
|
|
1548
1548
|
locale: U,
|
|
1549
1549
|
_originalDate: K
|
|
1550
1550
|
}, Ue = d.match(Zn).map(function(P) {
|
|
@@ -1602,7 +1602,7 @@ if (typeof window < "u") {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
1604
|
};
|
|
1605
|
-
customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-
|
|
1605
|
+
customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-Bd9DV68i.js").then(({ default: e }) => {
|
|
1606
1606
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
@@ -1618,7 +1618,7 @@ if (typeof window < "u") {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
};
|
|
1620
1620
|
};
|
|
1621
|
-
customElements.define = t(customElements.define), import("./CasinoFilter-
|
|
1621
|
+
customElements.define = t(customElements.define), import("./CasinoFilter-CUCCva61.js").then(({ default: e }) => {
|
|
1622
1622
|
!customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
|
|
1623
1623
|
});
|
|
1624
1624
|
}
|
|
@@ -1634,7 +1634,7 @@ if (typeof window < "u") {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
1636
1636
|
};
|
|
1637
|
-
customElements.define = t(customElements.define), import("./CasinoSort-
|
|
1637
|
+
customElements.define = t(customElements.define), import("./CasinoSort-CaYk4KjH.js").then(({ default: e }) => {
|
|
1638
1638
|
!customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
|
|
1639
1639
|
});
|
|
1640
1640
|
}
|
|
@@ -1916,7 +1916,7 @@ function Ra(t) {
|
|
|
1916
1916
|
let e, a, n, i, r, s, l, c, f, g, h, p = (
|
|
1917
1917
|
/*$_*/
|
|
1918
1918
|
t[42]("noFavoritesTitle") + ""
|
|
1919
|
-
),
|
|
1919
|
+
), b, y, D;
|
|
1920
1920
|
function m(U, q) {
|
|
1921
1921
|
return Ie(
|
|
1922
1922
|
/*userAgent*/
|
|
@@ -1926,18 +1926,18 @@ function Ra(t) {
|
|
|
1926
1926
|
let W = m(t)(t);
|
|
1927
1927
|
return {
|
|
1928
1928
|
c() {
|
|
1929
|
-
e = G("p"), a = ce("svg"), n = ce("rect"), i = ce("rect"), r = ce("circle"), s = ce("path"), l = ce("path"), c = ce("path"), f = ce("path"), g = B(), h = G("span"),
|
|
1929
|
+
e = G("p"), a = ce("svg"), n = ce("rect"), i = ce("rect"), r = ce("circle"), s = ce("path"), l = ce("path"), c = ce("path"), f = ce("path"), g = B(), h = G("span"), b = I(p), y = B(), W.c(), D = B(), v(n, "x", "1"), v(n, "y", "18.053"), v(n, "width", "90.263"), v(n, "height", "90.263"), v(n, "rx", "12"), v(n, "stroke", "var(--emw--color-gray-150, #828282)"), v(n, "stroke-width", "1.5"), v(i, "x", "106.737"), v(i, "y", "56.737"), v(i, "width", "90.263"), v(i, "height", "90.263"), v(i, "rx", "12"), v(i, "stroke", "var(--emw--color-gray-150, #828282)"), v(i, "stroke-width", "1.5"), v(r, "cx", "70.5"), v(r, "cy", "32.237"), v(r, "r", "31.487"), v(r, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(r, "stroke-width", "1.5"), v(r, "stroke-dasharray", "5 0"), v(s, "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"), v(s, "fill", "var(--emw--color-gray-150, #828282)"), v(l, "d", "M78 43h11v13H78V43z"), v(l, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(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"), v(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(c, "stroke-linecap", "round"), v(c, "stroke-linejoin", "round"), v(f, "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"), v(f, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(f, "stroke-width", "1.5"), v(f, "stroke-linecap", "round"), v(f, "stroke-linejoin", "round"), v(a, "width", "198"), v(a, "height", "148"), v(a, "viewBox", "0 0 198 148"), v(a, "fill", "none"), v(a, "xmlns", "http://www.w3.org/2000/svg"), v(h, "class", "NoFavoriteText NoFavoriteTextHighlight"), v(e, "class", "NoFavoriteGames " + (Ie(
|
|
1930
1930
|
/*userAgent*/
|
|
1931
1931
|
t[43]
|
|
1932
1932
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
1933
1933
|
},
|
|
1934
1934
|
m(U, q) {
|
|
1935
|
-
M(U, e, q), k(e, a), k(a, n), k(a, i), k(a, r), k(a, s), k(a, l), k(a, c), k(a, f), k(e, g), k(e, h), k(h,
|
|
1935
|
+
M(U, e, q), k(e, a), k(a, n), k(a, i), k(a, r), k(a, s), k(a, l), k(a, c), k(a, f), k(e, g), k(e, h), k(h, b), k(e, y), W.m(e, null), k(e, D);
|
|
1936
1936
|
},
|
|
1937
1937
|
p(U, q) {
|
|
1938
1938
|
q[1] & /*$_*/
|
|
1939
1939
|
2048 && p !== (p = /*$_*/
|
|
1940
|
-
U[42]("noFavoritesTitle") + "") && j(
|
|
1940
|
+
U[42]("noFavoritesTitle") + "") && j(b, p), W.p(U, q);
|
|
1941
1941
|
},
|
|
1942
1942
|
d(U) {
|
|
1943
1943
|
U && S(e), W.d();
|
|
@@ -2056,7 +2056,7 @@ function hi(t) {
|
|
|
2056
2056
|
};
|
|
2057
2057
|
}
|
|
2058
2058
|
function vi(t) {
|
|
2059
|
-
let e, a, n, i, r, s, l, c, f, g, h, p,
|
|
2059
|
+
let e, a, n, i, r, s, l, c, f, g, h, p, b, y, D;
|
|
2060
2060
|
return {
|
|
2061
2061
|
c() {
|
|
2062
2062
|
e = G("casino-game-thumbnail-nd"), o(e, "class", a = "" + (ge + /*gameprops*/
|
|
@@ -2114,7 +2114,7 @@ function vi(t) {
|
|
|
2114
2114
|
"showgamename",
|
|
2115
2115
|
/*showgamename*/
|
|
2116
2116
|
t[15]
|
|
2117
|
-
), o(e, "gamefavorite",
|
|
2117
|
+
), o(e, "gamefavorite", b = /*gameprops*/
|
|
2118
2118
|
t[106].gameModel.isFavorite), o(
|
|
2119
2119
|
e,
|
|
2120
2120
|
"showfavoredcategory",
|
|
@@ -2263,8 +2263,8 @@ function vi(t) {
|
|
|
2263
2263
|
/*showgamename*/
|
|
2264
2264
|
m[15]
|
|
2265
2265
|
), d[1] & /*favoriteGamesData*/
|
|
2266
|
-
1024 &&
|
|
2267
|
-
m[106].gameModel.isFavorite) && o(e, "gamefavorite",
|
|
2266
|
+
1024 && b !== (b = /*gameprops*/
|
|
2267
|
+
m[106].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
|
|
2268
2268
|
128 && o(
|
|
2269
2269
|
e,
|
|
2270
2270
|
"showfavoredcategory",
|
|
@@ -2380,7 +2380,7 @@ function pi(t) {
|
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
2382
2382
|
function Ya(t) {
|
|
2383
|
-
let e, a, n, i, r, s, l, c, f, g, h, p,
|
|
2383
|
+
let e, a, n, i, r, s, l, c, f, g, h, p, b, y, D;
|
|
2384
2384
|
return {
|
|
2385
2385
|
c() {
|
|
2386
2386
|
e = G("casino-game-thumbnail-nd"), o(e, "class", a = "" + (ge + /*gameprops*/
|
|
@@ -2433,7 +2433,7 @@ function Ya(t) {
|
|
|
2433
2433
|
"showgamename",
|
|
2434
2434
|
/*showgamename*/
|
|
2435
2435
|
t[15]
|
|
2436
|
-
), o(e, "gamefavorite",
|
|
2436
|
+
), o(e, "gamefavorite", b = /*gameprops*/
|
|
2437
2437
|
t[106].gameModel.isFavorite), o(
|
|
2438
2438
|
e,
|
|
2439
2439
|
"showfavoredcategory",
|
|
@@ -2581,8 +2581,8 @@ function Ya(t) {
|
|
|
2581
2581
|
/*showgamename*/
|
|
2582
2582
|
m[15]
|
|
2583
2583
|
), d[1] & /*favoriteGamesData*/
|
|
2584
|
-
1024 &&
|
|
2585
|
-
m[106].gameModel.isFavorite) && o(e, "gamefavorite",
|
|
2584
|
+
1024 && b !== (b = /*gameprops*/
|
|
2585
|
+
m[106].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
|
|
2586
2586
|
128 && o(
|
|
2587
2587
|
e,
|
|
2588
2588
|
"showfavoredcategory",
|
|
@@ -2703,18 +2703,18 @@ function Ha(t) {
|
|
|
2703
2703
|
/*categoryData*/
|
|
2704
2704
|
t[28].name + ""
|
|
2705
2705
|
), r, s;
|
|
2706
|
-
function l(
|
|
2706
|
+
function l(b, y) {
|
|
2707
2707
|
return (
|
|
2708
2708
|
/*categoryData*/
|
|
2709
|
-
|
|
2709
|
+
b[28].icon ? bi : wi
|
|
2710
2710
|
);
|
|
2711
2711
|
}
|
|
2712
2712
|
let c = l(t), f = c(t);
|
|
2713
|
-
function g(
|
|
2713
|
+
function g(b, y) {
|
|
2714
2714
|
return (
|
|
2715
2715
|
/*lobbyView*/
|
|
2716
|
-
|
|
2717
|
-
|
|
2716
|
+
b[27] && /*showLoadCategory*/
|
|
2717
|
+
b[30] ? yi : _i
|
|
2718
2718
|
);
|
|
2719
2719
|
}
|
|
2720
2720
|
let h = g(t), p = h(t);
|
|
@@ -2722,20 +2722,20 @@ function Ha(t) {
|
|
|
2722
2722
|
c() {
|
|
2723
2723
|
e = G("div"), f.c(), a = B(), n = G("h3"), r = I(i), s = B(), p.c(), v(n, "class", "CategoryName"), v(e, "class", "CasinoGamesHeader");
|
|
2724
2724
|
},
|
|
2725
|
-
m(
|
|
2726
|
-
M(
|
|
2725
|
+
m(b, y) {
|
|
2726
|
+
M(b, e, y), f.m(e, null), k(e, a), k(e, n), k(n, r), t[58](n), k(e, s), p.m(e, null);
|
|
2727
2727
|
},
|
|
2728
|
-
p(
|
|
2729
|
-
c === (c = l(
|
|
2728
|
+
p(b, y) {
|
|
2729
|
+
c === (c = l(b)) && f ? f.p(b, y) : (f.d(1), f = c(b), f && (f.c(), f.m(e, a))), y[0] & /*categoryData*/
|
|
2730
2730
|
268435456 && i !== (i = /*categoryData*/
|
|
2731
|
-
|
|
2731
|
+
b[28].name + "") && j(r, i), h === (h = g(b)) && p ? p.p(b, y) : (p.d(1), p = h(b), p && (p.c(), p.m(e, null)));
|
|
2732
2732
|
},
|
|
2733
|
-
d(
|
|
2734
|
-
|
|
2733
|
+
d(b) {
|
|
2734
|
+
b && S(e), f.d(), t[58](null), p.d();
|
|
2735
2735
|
}
|
|
2736
2736
|
};
|
|
2737
2737
|
}
|
|
2738
|
-
function
|
|
2738
|
+
function wi(t) {
|
|
2739
2739
|
let e;
|
|
2740
2740
|
return {
|
|
2741
2741
|
c() {
|
|
@@ -2750,7 +2750,7 @@ function bi(t) {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function bi(t) {
|
|
2754
2754
|
let e, a;
|
|
2755
2755
|
return {
|
|
2756
2756
|
c() {
|
|
@@ -3136,7 +3136,7 @@ function Si(t) {
|
|
|
3136
3136
|
};
|
|
3137
3137
|
}
|
|
3138
3138
|
function Mi(t) {
|
|
3139
|
-
let e, a, n, i, r, s, l, c, f, g, h, p,
|
|
3139
|
+
let e, a, n, i, r, s, l, c, f, g, h, p, b, y, D;
|
|
3140
3140
|
return {
|
|
3141
3141
|
c() {
|
|
3142
3142
|
e = G("casino-game-thumbnail-nd"), o(e, "gamethumbnail", a = /*gameprops*/
|
|
@@ -3184,7 +3184,7 @@ function Mi(t) {
|
|
|
3184
3184
|
)), o(e, "gamecellsize", g = /*gameprops*/
|
|
3185
3185
|
t[106].cellSize), o(e, "gameid", h = /*gameprops*/
|
|
3186
3186
|
t[106]?.id), o(e, "gamefunmode", p = /*gameprops*/
|
|
3187
|
-
t[106].hasFunMode), o(e, "gamefavorite",
|
|
3187
|
+
t[106].hasFunMode), o(e, "gamefavorite", b = /*gameprops*/
|
|
3188
3188
|
t[106].isFavorite), o(
|
|
3189
3189
|
e,
|
|
3190
3190
|
"translationurl",
|
|
@@ -3331,8 +3331,8 @@ function Mi(t) {
|
|
|
3331
3331
|
m[106]?.id) && o(e, "gameid", h), d[0] & /*shownCategoryData*/
|
|
3332
3332
|
536870912 && p !== (p = /*gameprops*/
|
|
3333
3333
|
m[106].hasFunMode) && o(e, "gamefunmode", p), d[0] & /*shownCategoryData*/
|
|
3334
|
-
536870912 &&
|
|
3335
|
-
m[106].isFavorite) && o(e, "gamefavorite",
|
|
3334
|
+
536870912 && b !== (b = /*gameprops*/
|
|
3335
|
+
m[106].isFavorite) && o(e, "gamefavorite", b), d[0] & /*translationurl*/
|
|
3336
3336
|
4096 && o(
|
|
3337
3337
|
e,
|
|
3338
3338
|
"translationurl",
|
|
@@ -3601,7 +3601,7 @@ function Ja(t) {
|
|
|
3601
3601
|
};
|
|
3602
3602
|
}
|
|
3603
3603
|
function Qa(t, e) {
|
|
3604
|
-
let a, n, i, r, s, l, c, f, g, h, p,
|
|
3604
|
+
let a, n, i, r, s, l, c, f, g, h, p, b, y, D;
|
|
3605
3605
|
return {
|
|
3606
3606
|
key: t,
|
|
3607
3607
|
first: null,
|
|
@@ -3655,7 +3655,7 @@ function Qa(t, e) {
|
|
|
3655
3655
|
e[106].advancedTags
|
|
3656
3656
|
)), o(a, "gamecellsize", h = /*gameprops*/
|
|
3657
3657
|
e[106].cellSize), o(a, "gameid", p = /*gameprops*/
|
|
3658
|
-
e[106]?.id), o(a, "gamefunmode",
|
|
3658
|
+
e[106]?.id), o(a, "gamefunmode", b = /*gameprops*/
|
|
3659
3659
|
e[106].hasFunMode), o(
|
|
3660
3660
|
a,
|
|
3661
3661
|
"showgamename",
|
|
@@ -3793,8 +3793,8 @@ function Qa(t, e) {
|
|
|
3793
3793
|
e[106].cellSize) && o(a, "gamecellsize", h), d[0] & /*shownCategoryData*/
|
|
3794
3794
|
536870912 && p !== (p = /*gameprops*/
|
|
3795
3795
|
e[106]?.id) && o(a, "gameid", p), d[0] & /*shownCategoryData*/
|
|
3796
|
-
536870912 &&
|
|
3797
|
-
e[106].hasFunMode) && o(a, "gamefunmode",
|
|
3796
|
+
536870912 && b !== (b = /*gameprops*/
|
|
3797
|
+
e[106].hasFunMode) && o(a, "gamefunmode", b), d[0] & /*showgamename*/
|
|
3798
3798
|
32768 && o(
|
|
3799
3799
|
a,
|
|
3800
3800
|
"showgamename",
|
|
@@ -3944,28 +3944,28 @@ const ge = "game-tile-";
|
|
|
3944
3944
|
function Ei(t, e, a) {
|
|
3945
3945
|
let n;
|
|
3946
3946
|
It(t, Yt, (u) => a(42, n = u));
|
|
3947
|
-
let { endpoint: i = "" } = e, { datasource: r = "" } = e, { lang: s = "" } = e, { session: l = "" } = e, { userid: c = "" } = e, { favorites: f = "" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl:
|
|
3947
|
+
let { endpoint: i = "" } = e, { datasource: r = "" } = e, { lang: s = "" } = e, { session: l = "" } = e, { userid: c = "" } = e, { favorites: f = "" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: b = "" } = e, { currency: y = "" } = e, { allowsingleclickgameentry: D = "false" } = e, { categoryid: m = "" } = e, { showgamename: d = "" } = e, { livecasino: W = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: q = "false" } = e, { integratedgameframemobile: we = "false" } = e, { casinomygames: K = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: _e = "false" } = e, { filterbylogo: Ae = "" } = e, { casinogamesgridslider: Ue = "false" } = e, { fetchviaevent: P = "false" } = e, { showallpage: H = "casino" } = e, { actionevent: oe = "CategoryChange" } = e, { displayedgamecount: Le = "10" } = e, { showallbuttongamescount: Re = "10" } = e, { lobbyscreen: ea = "true" } = e, { usesinglevendorfilter: aa = "false" } = e, { visiblegames: je = "10" } = e, { customizesectionicon: ta = "true" } = e, { requiredicon: na = "false" } = e, se = !0, ye = !1, ia, ra, ee = !0, ga = window.navigator.userAgent, X, E = [], We = {}, le = !0, oa = Math.max(Number(je), 1) || 10, ae = !1, Ye = !1, Ge = !1, sa = !0, la = !1, Te, ha, Fe, ze = !1, J, De, nt, it = {}, ua = "", va = "", qe, V = null, te, Oe = !1, ma = !1, Y, Z = [], He = new AbortController(), Ve = new AbortController(), ke = { items: [], count: 0, name: "" };
|
|
3948
3948
|
const ca = (u) => {
|
|
3949
|
-
Object.keys(u).forEach((
|
|
3950
|
-
Bt(
|
|
3949
|
+
Object.keys(u).forEach((w) => {
|
|
3950
|
+
Bt(w, u[w]);
|
|
3951
3951
|
});
|
|
3952
3952
|
}, rt = () => {
|
|
3953
|
-
fetch(
|
|
3954
|
-
ca(
|
|
3955
|
-
}).catch((
|
|
3956
|
-
console.log(
|
|
3953
|
+
fetch(b).then((w) => w.json()).then((w) => {
|
|
3954
|
+
ca(w);
|
|
3955
|
+
}).catch((w) => {
|
|
3956
|
+
console.log(w);
|
|
3957
3957
|
});
|
|
3958
3958
|
};
|
|
3959
3959
|
ca(Jt), typeof document.hidden < "u" ? qe = "hidden" : typeof document.msHidden < "u" ? qe = "msHidden" : typeof document.webkitHidden < "u" && (qe = "webkitHidden");
|
|
3960
|
-
const Ne = (u,
|
|
3960
|
+
const Ne = (u, w, T) => {
|
|
3961
3961
|
Ve && Ve.abort(), Ve = new AbortController();
|
|
3962
3962
|
const N = Ve.signal, { handleLoading: _ = !1, updateShownCategory: C = !1 } = T || {};
|
|
3963
3963
|
return new Promise((F, L) => {
|
|
3964
|
-
if (!u || !
|
|
3964
|
+
if (!u || !w) {
|
|
3965
3965
|
F([]);
|
|
3966
3966
|
return;
|
|
3967
3967
|
}
|
|
3968
|
-
const ne = `${i}/v1/player/${
|
|
3968
|
+
const ne = `${i}/v1/player/${w}/favorites`, ue = {
|
|
3969
3969
|
method: "GET",
|
|
3970
3970
|
headers: { "X-SessionID": u },
|
|
3971
3971
|
signal: N
|
|
@@ -3992,10 +3992,10 @@ function Ei(t, e, a) {
|
|
|
3992
3992
|
_ && a(25, se = !1);
|
|
3993
3993
|
});
|
|
3994
3994
|
});
|
|
3995
|
-
}, ot = ({ endpoint: u, datasource:
|
|
3995
|
+
}, ot = ({ endpoint: u, datasource: w, categoryid: T, offset: N, limit: _, lang: C, userAgent: F, vendorFilters: L, vendorSort: ne, usesinglevendorfilter: ue, lobbyView: x, showFavGamesCategory: ie, sortedBy: me }) => {
|
|
3996
3996
|
const St = N, Mt = _ ?? 40;
|
|
3997
3997
|
let Ma = T, Q;
|
|
3998
|
-
(T && T.match(/\$/g) || []).length > 1 ? (Ma = T.split("$").slice(0, 2).join("$"), Q = new URL(`${u}/v1/casino/groups/${
|
|
3998
|
+
(T && T.match(/\$/g) || []).length > 1 ? (Ma = T.split("$").slice(0, 2).join("$"), Q = new URL(`${u}/v1/casino/groups/${w}/${Ma}/subGroups`)) : Q = new URL(`${u}/v1/casino/groups/${w}/${T}`), Q.searchParams.set("expand", "games(vendor)"), Q.searchParams.set("platform", Rt(F)), Q.searchParams.set("pagination", `games(offset=${St},limit=${Mt})`), Q.searchParams.set("language", C);
|
|
3999
3999
|
let Ga = "id,name,games";
|
|
4000
4000
|
ta === "true" && (Ga += ",icon"), Q.searchParams.append("fields", Ga);
|
|
4001
4001
|
const Ta = ue === "true" ? "*" : T;
|
|
@@ -4005,22 +4005,22 @@ function Ei(t, e, a) {
|
|
|
4005
4005
|
}
|
|
4006
4006
|
const Qe = ne?.[T] && ne[T] !== "All" ? ne[T] : me && me !== "All" ? me : null;
|
|
4007
4007
|
return Qe && (Q.searchParams.set("sortedField", `games(${Qe})`), (Qe === "isNew" || Qe === "advancedTags(name(hot))") && Q.searchParams.set("orderBy", "DES")), Q;
|
|
4008
|
-
}, Be = (u,
|
|
4008
|
+
}, Be = (u, w, T) => {
|
|
4009
4009
|
He && He.abort(), He = new AbortController();
|
|
4010
4010
|
const N = He.signal;
|
|
4011
|
-
return a(25, se = !0), window.postMessage({ type: "CategoryVendors", categoryid:
|
|
4011
|
+
return a(25, se = !0), window.postMessage({ type: "CategoryVendors", categoryid: w }, window.location.href), new Promise((_, C) => {
|
|
4012
4012
|
fetch(u, { signal: N }).then((F) => {
|
|
4013
4013
|
if (!F.ok)
|
|
4014
4014
|
throw F.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${F.status}`);
|
|
4015
4015
|
return F.json();
|
|
4016
4016
|
}).then((F) => {
|
|
4017
4017
|
if (!N.aborted) {
|
|
4018
|
-
if (a(25, se = !1), a(26, ye = !1), (
|
|
4018
|
+
if (a(25, se = !1), a(26, ye = !1), (w && w.match(/\$/g) || []).length > 1 && (F = Array.isArray(F?.items) ? F.items.find((L) => L.id === w) ?? F : F), F == null) {
|
|
4019
4019
|
a(26, ye = !0), C(new Error("Category not found"));
|
|
4020
4020
|
return;
|
|
4021
4021
|
}
|
|
4022
4022
|
if (F.games == null || typeof F.games != "object") {
|
|
4023
|
-
a(26, ye = !0), C(new Error("Category games data missing"));
|
|
4023
|
+
a(26, ye = !0), C(new Error("Category games data missing")), window.postMessage({ type: "CategoryDataMissing" }, window.location.href);
|
|
4024
4024
|
return;
|
|
4025
4025
|
}
|
|
4026
4026
|
ha = F?.games?.total ?? 0, T && Array.isArray(F?.games?.items) && F.games.items.forEach((L) => {
|
|
@@ -4033,12 +4033,12 @@ function Ei(t, e, a) {
|
|
|
4033
4033
|
st();
|
|
4034
4034
|
});
|
|
4035
4035
|
});
|
|
4036
|
-
}, Xe = (u,
|
|
4036
|
+
}, Xe = (u, w, T) => new Promise((N, _) => {
|
|
4037
4037
|
const C = Pa(localStorage.getItem("vendorFiltersByCategory")), F = Pa(localStorage.getItem("vendorSortingBy")), L = ot({
|
|
4038
4038
|
endpoint: i,
|
|
4039
4039
|
datasource: r,
|
|
4040
4040
|
categoryid: u,
|
|
4041
|
-
offset:
|
|
4041
|
+
offset: w,
|
|
4042
4042
|
limit: T,
|
|
4043
4043
|
lang: s,
|
|
4044
4044
|
userAgent: ga,
|
|
@@ -4055,7 +4055,7 @@ function Ei(t, e, a) {
|
|
|
4055
4055
|
}), Je = (u) => {
|
|
4056
4056
|
if (u == null)
|
|
4057
4057
|
return;
|
|
4058
|
-
const
|
|
4058
|
+
const w = u.games != null ? u : {
|
|
4059
4059
|
...u,
|
|
4060
4060
|
games: {
|
|
4061
4061
|
count: 0,
|
|
@@ -4064,14 +4064,14 @@ function Ei(t, e, a) {
|
|
|
4064
4064
|
pages: null
|
|
4065
4065
|
}
|
|
4066
4066
|
};
|
|
4067
|
-
a(28, X =
|
|
4067
|
+
a(28, X = w), a(29, E = X?.games?.items?.filter((T) => !!T) ?? []), We[X.id] = X?.games?.pages?.next ?? null;
|
|
4068
4068
|
}, st = () => {
|
|
4069
4069
|
if (!J)
|
|
4070
4070
|
return;
|
|
4071
4071
|
const u = J.getRootNode().host;
|
|
4072
4072
|
u.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: u } }));
|
|
4073
|
-
}, lt = (u,
|
|
4074
|
-
u !== "" && (a(31, ae = !1), a(27, ee = !0), a(1,
|
|
4073
|
+
}, lt = (u, w, T) => {
|
|
4074
|
+
u !== "" && (a(31, ae = !1), a(27, ee = !0), a(1, be = "false"), a(2, _e = "false"), a(33, Ge = !1), a(30, le = +w > +T), Xe(u, 0, +w).then(Je));
|
|
4075
4075
|
}, pa = (u) => {
|
|
4076
4076
|
if (!(!u.data || u.data == null))
|
|
4077
4077
|
switch (u.data.type) {
|
|
@@ -4125,7 +4125,7 @@ function Ei(t, e, a) {
|
|
|
4125
4125
|
});
|
|
4126
4126
|
break;
|
|
4127
4127
|
case `CategoryData_${m}`:
|
|
4128
|
-
a(31, ae = !1), a(27, ee = !0), a(1,
|
|
4128
|
+
a(31, ae = !1), a(27, ee = !0), a(1, be = "false"), a(2, _e = "false"), a(33, Ge = !1), Xe(u.data?.categoryId, 0, u.data?.visiblegames).then(Je).finally(() => {
|
|
4129
4129
|
a(30, le = !(ha <= u.data?.visiblegames && ee));
|
|
4130
4130
|
});
|
|
4131
4131
|
break;
|
|
@@ -4138,7 +4138,7 @@ function Ei(t, e, a) {
|
|
|
4138
4138
|
});
|
|
4139
4139
|
break;
|
|
4140
4140
|
case "CategoryUpdate":
|
|
4141
|
-
|
|
4141
|
+
wa(u.data?.itemId);
|
|
4142
4142
|
break;
|
|
4143
4143
|
case `SetUnfavoredGame${m}`:
|
|
4144
4144
|
mt(`${i}/v1/player/${c}/favorites`, l, u.data?.id);
|
|
@@ -4148,18 +4148,18 @@ function Ei(t, e, a) {
|
|
|
4148
4148
|
break;
|
|
4149
4149
|
case "UserSessionID":
|
|
4150
4150
|
ia = u.data?.session, ra = u.data?.userID;
|
|
4151
|
-
const
|
|
4152
|
-
|
|
4151
|
+
const w = f === "true", T = typeof ra == "string" && ra.length > 0, N = typeof ia == "string" && ia.length > 0;
|
|
4152
|
+
w && T && N && Ne(l, c, {
|
|
4153
4153
|
handleLoading: !0,
|
|
4154
4154
|
updateShownCategory: !0
|
|
4155
4155
|
});
|
|
4156
4156
|
break;
|
|
4157
4157
|
case "UpdateFavoredList":
|
|
4158
|
-
m === "FAVORITES" &&
|
|
4158
|
+
m === "FAVORITES" && ba(u.data?.url, u.data?.sessionID);
|
|
4159
4159
|
break;
|
|
4160
4160
|
}
|
|
4161
|
-
},
|
|
4162
|
-
Sa(), a(31, ae = !1), a(27, ee = ea === "true"), a(33, Ge = !1), a(35, la = !1), a(0, m = u), m !== "MOSTPLAYED" && !
|
|
4161
|
+
}, wa = (u, w = !1) => {
|
|
4162
|
+
Sa(), a(31, ae = !1), a(27, ee = ea === "true"), a(33, Ge = !1), a(35, la = !1), a(0, m = u), m !== "MOSTPLAYED" && !w && a(30, le = !1), K !== "true" && (!Y && l && Ne(l, c, {
|
|
4163
4163
|
handleLoading: !0,
|
|
4164
4164
|
updateShownCategory: !0
|
|
4165
4165
|
}), Xe(m, 0, oa).then(Je).finally(() => {
|
|
@@ -4172,12 +4172,12 @@ function Ei(t, e, a) {
|
|
|
4172
4172
|
window.location.href
|
|
4173
4173
|
) : Ca();
|
|
4174
4174
|
}));
|
|
4175
|
-
}, he = (u) => Y?.some((
|
|
4176
|
-
await
|
|
4175
|
+
}, he = (u) => Y?.some((w) => w.id === u) ?? !1, ut = async (u, w, T) => {
|
|
4176
|
+
await ba(u, w), Z.includes(T) || Z.push(T);
|
|
4177
4177
|
let _ = {
|
|
4178
4178
|
method: "POST",
|
|
4179
4179
|
headers: {
|
|
4180
|
-
"X-SessionID":
|
|
4180
|
+
"X-SessionID": w,
|
|
4181
4181
|
"Content-Type": "application/json",
|
|
4182
4182
|
Accept: "application/json"
|
|
4183
4183
|
},
|
|
@@ -4187,15 +4187,15 @@ function Ei(t, e, a) {
|
|
|
4187
4187
|
window.postMessage({ type: `AddFavoriteThumbnail_${T}` }, window.location.href), window.postMessage({
|
|
4188
4188
|
type: "UpdateFavoredList",
|
|
4189
4189
|
url: u,
|
|
4190
|
-
sessionID:
|
|
4190
|
+
sessionID: w
|
|
4191
4191
|
});
|
|
4192
4192
|
}).catch((C) => {
|
|
4193
4193
|
console.error("Err", C);
|
|
4194
4194
|
});
|
|
4195
|
-
}, mt = (u,
|
|
4195
|
+
}, mt = (u, w, T) => {
|
|
4196
4196
|
let N = {
|
|
4197
4197
|
method: "DELETE",
|
|
4198
|
-
headers: { "X-SessionID":
|
|
4198
|
+
headers: { "X-SessionID": w }
|
|
4199
4199
|
};
|
|
4200
4200
|
fetch(`${u}/${T}`, N).then((_) => _.json()).then(() => {
|
|
4201
4201
|
window.postMessage(
|
|
@@ -4206,12 +4206,12 @@ function Ei(t, e, a) {
|
|
|
4206
4206
|
), window.postMessage({
|
|
4207
4207
|
type: "UpdateFavoredList",
|
|
4208
4208
|
url: u,
|
|
4209
|
-
sessionID:
|
|
4209
|
+
sessionID: w
|
|
4210
4210
|
});
|
|
4211
4211
|
}), Z.includes(T) && (Z = Z.filter((_) => _ != T));
|
|
4212
|
-
},
|
|
4212
|
+
}, ba = async (u, w) => fetch(u, {
|
|
4213
4213
|
method: "GET",
|
|
4214
|
-
headers: { "X-SessionID":
|
|
4214
|
+
headers: { "X-SessionID": w }
|
|
4215
4215
|
}).then((N) => N.json()).then((N) => {
|
|
4216
4216
|
Y = Array.isArray(N?.items) ? N.items : [], P ? Y.forEach((C) => {
|
|
4217
4217
|
Z.includes(C?.id) || Z.push(C?.id);
|
|
@@ -4228,30 +4228,30 @@ function Ei(t, e, a) {
|
|
|
4228
4228
|
}), _a = (u) => {
|
|
4229
4229
|
if (!u)
|
|
4230
4230
|
return;
|
|
4231
|
-
let
|
|
4232
|
-
|
|
4231
|
+
let w;
|
|
4232
|
+
w = u?.items || u || [], w.length > 0 && w.forEach((T) => {
|
|
4233
4233
|
T.gameModel && (T.gameModel.isFavorite = !0);
|
|
4234
|
-
}), a(41, ke.items = da(
|
|
4235
|
-
}, ct = (u) => new Promise((
|
|
4234
|
+
}), a(41, ke.items = da(w, ke.items), ke), a(41, ke.name = "Favorites", ke), a(25, se = !1);
|
|
4235
|
+
}, ct = (u) => new Promise((w, T) => {
|
|
4236
4236
|
if (!We[u])
|
|
4237
|
-
return X && X.id === u && E.length >= (X?.games?.total ?? 0) ?
|
|
4237
|
+
return X && X.id === u && E.length >= (X?.games?.total ?? 0) ? w($.END) : w($.MORE);
|
|
4238
4238
|
const N = new URL(We[u]), _ = (C) => {
|
|
4239
|
-
a(29, E = [...E, ...C?.games?.items ?? []].filter((F) => !!F)), We[u] = C?.games?.pages?.next ?? null, E.length < (C?.games?.total ?? 0) ?
|
|
4239
|
+
a(29, E = [...E, ...C?.games?.items ?? []].filter((F) => !!F)), We[u] = C?.games?.pages?.next ?? null, E.length < (C?.games?.total ?? 0) ? w($.MORE) : w($.END);
|
|
4240
4240
|
};
|
|
4241
4241
|
f == "true" ? Ne(l, c).then((C) => {
|
|
4242
|
-
Be(N, u, C).then(_).catch(() =>
|
|
4243
|
-
}).catch(() =>
|
|
4242
|
+
Be(N, u, C).then(_).catch(() => w($.END));
|
|
4243
|
+
}).catch(() => w($.END)) : Be(N, u, null).then(_).catch(() => w($.END));
|
|
4244
4244
|
}), dt = (u) => {
|
|
4245
|
-
const
|
|
4246
|
-
if (
|
|
4245
|
+
const w = u ?? [];
|
|
4246
|
+
if (w?.length === 0)
|
|
4247
4247
|
return "";
|
|
4248
4248
|
let T = "", N = 999999999999, _;
|
|
4249
4249
|
const C = new Date(Date.now());
|
|
4250
|
-
return
|
|
4250
|
+
return w.forEach((F, L) => {
|
|
4251
4251
|
if (!Array.isArray(F?.schedules) || F.schedules.length === 0)
|
|
4252
4252
|
return;
|
|
4253
4253
|
const ne = new Date(F.schedules[0].startTime), ue = new Date(F.schedules[0].endTime);
|
|
4254
|
-
za(new Date(ue), new Date(C)) < N && (N = za(new Date(ue), new Date(C)), _ = L), ti(new Date(C), new Date(ne)) && ni(new Date(C), new Date(ue)) && _ !== void 0 &&
|
|
4254
|
+
za(new Date(ue), new Date(C)) < N && (N = za(new Date(ue), new Date(C)), _ = L), ti(new Date(C), new Date(ne)) && ni(new Date(C), new Date(ue)) && _ !== void 0 && w[_] && (T = w[_].name);
|
|
4255
4255
|
}), T;
|
|
4256
4256
|
}, ft = (u) => na !== "true" ? void 0 : Object.values(u ?? {}).pop(), ya = (u) => {
|
|
4257
4257
|
a(30, le = !1), window.postMessage(
|
|
@@ -4274,15 +4274,15 @@ function Ei(t, e, a) {
|
|
|
4274
4274
|
K === "false" && c && l && a(38, ze = !1);
|
|
4275
4275
|
break;
|
|
4276
4276
|
default:
|
|
4277
|
-
|
|
4277
|
+
wa(m, !0);
|
|
4278
4278
|
break;
|
|
4279
4279
|
}
|
|
4280
4280
|
}, ka = () => {
|
|
4281
4281
|
document[qe] ? a(39, ua = "disconnect") : a(39, ua = "connect");
|
|
4282
4282
|
}, ht = () => {
|
|
4283
4283
|
V && (te?.disconnect(), te = new IntersectionObserver((u) => {
|
|
4284
|
-
Oe || ma || u?.[0]?.isIntersecting && V && (Oe = !0, te?.unobserve(V), ct(m).then((
|
|
4285
|
-
|
|
4284
|
+
Oe || ma || u?.[0]?.isIntersecting && V && (Oe = !0, te?.unobserve(V), ct(m).then((w) => {
|
|
4285
|
+
w === $.MORE && (Oe = !1, V && te?.observe(V)), w === $.END && (ma = !0, te?.disconnect());
|
|
4286
4286
|
}));
|
|
4287
4287
|
}), te.observe(V));
|
|
4288
4288
|
}, Ca = () => {
|
|
@@ -4302,8 +4302,8 @@ function Ei(t, e, a) {
|
|
|
4302
4302
|
Fe = u, a(37, Fe);
|
|
4303
4303
|
});
|
|
4304
4304
|
}
|
|
4305
|
-
const
|
|
4306
|
-
function
|
|
4305
|
+
const wt = (u) => ya(X.id);
|
|
4306
|
+
function bt(u) {
|
|
4307
4307
|
Ce[u ? "unshift" : "push"](() => {
|
|
4308
4308
|
Te = u, a(36, Te);
|
|
4309
4309
|
});
|
|
@@ -4329,7 +4329,7 @@ function Ei(t, e, a) {
|
|
|
4329
4329
|
});
|
|
4330
4330
|
}
|
|
4331
4331
|
return t.$$set = (u) => {
|
|
4332
|
-
"endpoint" in u && a(3, i = u.endpoint), "datasource" in u && a(4, r = u.datasource), "lang" in u && a(5, s = u.lang), "session" in u && a(6, l = u.session), "userid" in u && a(7, c = u.userid), "favorites" in u && a(8, f = u.favorites), "mbsource" in u && a(9, g = u.mbsource), "clientstyling" in u && a(10, h = u.clientstyling), "clientstylingurl" in u && a(11, p = u.clientstylingurl), "translationurl" in u && a(12,
|
|
4332
|
+
"endpoint" in u && a(3, i = u.endpoint), "datasource" in u && a(4, r = u.datasource), "lang" in u && a(5, s = u.lang), "session" in u && a(6, l = u.session), "userid" in u && a(7, c = u.userid), "favorites" in u && a(8, f = u.favorites), "mbsource" in u && a(9, g = u.mbsource), "clientstyling" in u && a(10, h = u.clientstyling), "clientstylingurl" in u && a(11, p = u.clientstylingurl), "translationurl" in u && a(12, b = u.translationurl), "currency" in u && a(13, y = u.currency), "allowsingleclickgameentry" in u && a(14, D = u.allowsingleclickgameentry), "categoryid" in u && a(0, m = u.categoryid), "showgamename" in u && a(15, d = u.showgamename), "livecasino" in u && a(16, W = u.livecasino), "gamepagemodalurl" in u && a(17, U = u.gamepagemodalurl), "integratedgameframedesktop" in u && a(18, q = u.integratedgameframedesktop), "integratedgameframemobile" in u && a(19, we = u.integratedgameframemobile), "casinomygames" in u && a(20, K = u.casinomygames), "addfilterselector" in u && a(1, be = u.addfilterselector), "addsortingselector" in u && a(2, _e = u.addsortingselector), "filterbylogo" in u && a(21, Ae = u.filterbylogo), "casinogamesgridslider" in u && a(22, Ue = u.casinogamesgridslider), "fetchviaevent" in u && a(48, P = u.fetchviaevent), "showallpage" in u && a(49, H = u.showallpage), "actionevent" in u && a(50, oe = u.actionevent), "displayedgamecount" in u && a(51, Le = u.displayedgamecount), "showallbuttongamescount" in u && a(52, Re = u.showallbuttongamescount), "lobbyscreen" in u && a(53, ea = u.lobbyscreen), "usesinglevendorfilter" in u && a(23, aa = u.usesinglevendorfilter), "visiblegames" in u && a(54, je = u.visiblegames), "customizesectionicon" in u && a(55, ta = u.customizesectionicon), "requiredicon" in u && a(56, na = u.requiredicon);
|
|
4333
4333
|
}, t.$$.update = () => {
|
|
4334
4334
|
t.$$.dirty[0] & /*lang*/
|
|
4335
4335
|
32 && s && vt(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
|
@@ -4340,15 +4340,15 @@ function Ei(t, e, a) {
|
|
|
4340
4340
|
updateShownCategory: !0
|
|
4341
4341
|
}), t.$$.dirty[0] & /*lang, categoryid*/
|
|
4342
4342
|
33 && s && m && gt(), t.$$.dirty[0] & /*translationurl*/
|
|
4343
|
-
4096 &&
|
|
4343
|
+
4096 && b && rt(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4344
4344
|
16778240 && h && J && qt(J, h), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4345
4345
|
16779264 && p && J && Ht(J, p), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4346
4346
|
16777728 | t.$$.dirty[1] & /*styleSubscription*/
|
|
4347
4347
|
67108864 && g && J && a(57, De = Vt(J, `${g}.Style`, De, !0)), t.$$.dirty[0] & /*mbsource, translationurl*/
|
|
4348
|
-
4608 && g && !
|
|
4348
|
+
4608 && g && !b && Lt(`${g}.Translation`, nt, ca);
|
|
4349
4349
|
}, [
|
|
4350
4350
|
m,
|
|
4351
|
-
|
|
4351
|
+
be,
|
|
4352
4352
|
_e,
|
|
4353
4353
|
i,
|
|
4354
4354
|
r,
|
|
@@ -4359,14 +4359,14 @@ function Ei(t, e, a) {
|
|
|
4359
4359
|
g,
|
|
4360
4360
|
h,
|
|
4361
4361
|
p,
|
|
4362
|
-
|
|
4362
|
+
b,
|
|
4363
4363
|
y,
|
|
4364
4364
|
D,
|
|
4365
4365
|
d,
|
|
4366
4366
|
W,
|
|
4367
4367
|
U,
|
|
4368
4368
|
q,
|
|
4369
|
-
|
|
4369
|
+
we,
|
|
4370
4370
|
K,
|
|
4371
4371
|
Ae,
|
|
4372
4372
|
Ue,
|
|
@@ -4406,8 +4406,8 @@ function Ei(t, e, a) {
|
|
|
4406
4406
|
na,
|
|
4407
4407
|
De,
|
|
4408
4408
|
pt,
|
|
4409
|
-
bt,
|
|
4410
4409
|
wt,
|
|
4410
|
+
bt,
|
|
4411
4411
|
_t,
|
|
4412
4412
|
yt,
|
|
4413
4413
|
kt,
|