@everymatrix/casino-lobby 1.54.3 → 1.54.6
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/{CasinoFavoritesSection-D_VjX8kh.js → CasinoFavoritesSection-D4Du3N5n.js} +1 -1
- package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-C0VvUfCV.js} +690 -690
- package/components/{CasinoGameThumbnail-DuQXK0BS.js → CasinoGameThumbnail-C-zG9Jn9.js} +5 -5
- package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DVd_DDkc.js} +78 -78
- package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-VbQH2qG2.js} +1 -1
- package/components/{CasinoLobby-Bhufm6di.js → CasinoLobby-CSsnpzSn.js} +2 -2
- package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BIXY9riB.js} +1 -1
- package/components/{CasinoMyGames-CT8sf3p5.js → CasinoMyGames-DqRPb7fX.js} +3 -3
- package/components/{CasinoPage-CLrMZJtx.js → CasinoPage-Cm-vD67m.js} +3 -3
- package/components/{CasinoSearch-DuPhm9II.js → CasinoSearch-BEXK-fFP.js} +2 -2
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Ut, $ as Ht, S as Kt, i as Wt, f as L, c as Vt, s as jt, b as Yt, e as y, r as O, u as X, E as $e, v as u, X as et, d as k, w as p, B as Z, D as de, j as R, k as Jt, o as Xt, x as Ae, H as fe, m as U, K as Zt, n as Be, J as Q, q as we, C as bt, F as Qt, N as ce, G as xe } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
-
import { h as tt } from "./CasinoGamePage-
|
|
2
|
+
import { h as tt } from "./CasinoGamePage-C0VvUfCV.js";
|
|
3
3
|
function nt(n, e) {
|
|
4
4
|
Ut(n, e);
|
|
5
5
|
}
|
|
@@ -1076,7 +1076,7 @@ function dn(n) {
|
|
|
1076
1076
|
n[1] && ot(n)
|
|
1077
1077
|
), _ = (
|
|
1078
1078
|
/*gameisnew*/
|
|
1079
|
-
n[7]
|
|
1079
|
+
n[7] && lt(n)
|
|
1080
1080
|
), S = (
|
|
1081
1081
|
/*gametag*/
|
|
1082
1082
|
n[8] && st(n)
|
|
@@ -1167,7 +1167,7 @@ function dn(n) {
|
|
|
1167
1167
|
/*gamevendor*/
|
|
1168
1168
|
c[5]
|
|
1169
1169
|
) : "-") + "") && Z(F, B), /*gameisnew*/
|
|
1170
|
-
c[7]
|
|
1170
|
+
c[7] ? _ ? _.p(c, b) : (_ = lt(c), _.c(), _.m(T, Y)) : _ && (_.d(1), _ = null), /*gametag*/
|
|
1171
1171
|
c[8] ? S ? S.p(c, b) : (S = st(c), S.c(), S.m(T, te)) : S && (S.d(1), S = null), /*livegamedata*/
|
|
1172
1172
|
c[13] ? D ? D.p(c, b) : (D = mt(c), D.c(), D.m(T, null)) : D && (D.d(1), D = null), V === (V = oe(c, b)) && N ? N.p(c, b) : (N && N.d(1), N = V && V(c), N && (N.c(), N.m(H, null))), b[0] & /*livegamedata, isopen, openhours*/
|
|
1173
1173
|
12591104 | b[1] & /*istablefull*/
|
|
@@ -1201,7 +1201,7 @@ const Te = "blackjack", Ee = "roulette", pt = "doubleballroulette", fn = 7, un =
|
|
|
1201
1201
|
function gn(n, e, t) {
|
|
1202
1202
|
let i;
|
|
1203
1203
|
Jt(n, Qt, (a) => t(35, i = a));
|
|
1204
|
-
let { session: r = "" } = e, { userid: o = "" } = e, { lang: l = "en" } = e, { clientstyling: s = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: G = "" } = e, { favorites: w = "" } = e, { gamethumbnail: d = "" } = e, { gamename: h = "" } = e, { gamevendor: f = "" } = e, { gamelaunchurl: B = "" } = e, { gameid: F = "" } = e, { gameisnew: A =
|
|
1204
|
+
let { session: r = "" } = e, { userid: o = "" } = e, { lang: l = "en" } = e, { clientstyling: s = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: G = "" } = e, { favorites: w = "" } = e, { gamethumbnail: d = "" } = e, { gamename: h = "" } = e, { gamevendor: f = "" } = e, { gamelaunchurl: B = "" } = e, { gameid: F = "" } = e, { gameisnew: A = !1 } = e, { gametag: H = "" } = e, { gamefunmode: T = !1 } = e, { gamefavorite: Y = !1 } = e, { gamecellsize: te = "" } = e, { showfavoredcategory: ne = !1 } = e, { showgamename: ae = "" } = e, { currency: E = "" } = e, { gamepagemodalurl: J = "false" } = e, { endpoint: K = "" } = e, { categoryid: P = "" } = e, { livelobbyendpoint: W = "" } = e, { connectlive: I = "" } = e, { visibilityconnect: _ = "" } = e, { integratedgameframedesktop: S = "false" } = e, { integratedgameframemobile: D = "false" } = e, { casinogamesgridslider: oe = "false" } = e, V = !1, N, x = !1, c, b = window.navigator.userAgent, q, v, $, Me, Ge, ve = "HH:mm", ie, Le = {}, le, Pe = [], ze = "EUR", Fe, ye, Ce, se, Ie, _e, ke, ue, Re, Se, Ue, re, De, z = "", me, He, Ne;
|
|
1205
1205
|
const wt = [Te], Ke = [Ee, pt], We = {
|
|
1206
1206
|
"01": "Yellow",
|
|
1207
1207
|
"02": "Blue",
|
|
@@ -1828,7 +1828,7 @@ class pn extends Kt {
|
|
|
1828
1828
|
return this.$$.ctx[61];
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
|
-
Vt(pn, { session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, gamethumbnail: {}, gamename: {}, gamevendor: {}, gamelaunchurl: {}, gameid: {}, gameisnew: {}, gametag: {}, gamefunmode: { type: "Boolean" }, gamefavorite: { type: "Boolean" }, gamecellsize: {}, showfavoredcategory: { type: "Boolean" }, showgamename: {}, currency: {}, gamepagemodalurl: {}, endpoint: {}, categoryid: {}, livelobbyendpoint: {}, connectlive: {}, visibilityconnect: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinogamesgridslider: {} }, [], ["MONEY_WHEEL_COLOR_MAP", "ROULETTE_COLOR_MAP"], !0);
|
|
1831
|
+
Vt(pn, { session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, gamethumbnail: {}, gamename: {}, gamevendor: {}, gamelaunchurl: {}, gameid: {}, gameisnew: { type: "Boolean" }, gametag: {}, gamefunmode: { type: "Boolean" }, gamefavorite: { type: "Boolean" }, gamecellsize: {}, showfavoredcategory: { type: "Boolean" }, showgamename: {}, currency: {}, gamepagemodalurl: {}, endpoint: {}, categoryid: {}, livelobbyendpoint: {}, connectlive: {}, visibilityconnect: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinogamesgridslider: {} }, [], ["MONEY_WHEEL_COLOR_MAP", "ROULETTE_COLOR_MAP"], !0);
|
|
1832
1832
|
export {
|
|
1833
1833
|
pn as default
|
|
1834
1834
|
};
|
package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DVd_DDkc.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as La, $ as Ta, S as Pa, i as Da, f as N, c as Ua, s as Oa, b as Ha, e as C, v as h, d as y, D as _e, j as S, k as Va, o as qa, Y as Oe, K as Wa, n as oe, r as Y, m as ve, w as k, H as Z, F as Ba, u as L, B as H, q as le, Z as fa, _ as ga, L as n, C as Ya, G as
|
|
2
|
-
import { h as Ie } from "./CasinoGamePage-
|
|
1
|
+
import { a as La, $ as Ta, S as Pa, i as Da, f as N, c as Ua, s as Oa, b as Ha, e as C, v as h, d as y, D as _e, j as S, k as Va, o as qa, Y as Oe, K as Wa, n as oe, r as Y, m as ve, w as k, H as Z, F as Ba, u as L, B as H, q as le, Z as fa, _ as ga, L as n, C as Ya, G as $, x as Ja } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
+
import { h as Ie } from "./CasinoGamePage-C0VvUfCV.js";
|
|
3
3
|
function Xe(t, a) {
|
|
4
4
|
La(t, a);
|
|
5
5
|
}
|
|
@@ -217,7 +217,7 @@ if (typeof window < "u") {
|
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
|
-
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-
|
|
220
|
+
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-C-zG9Jn9.js").then(({ default: a }) => {
|
|
221
221
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
|
|
222
222
|
});
|
|
223
223
|
}
|
|
@@ -544,7 +544,7 @@ function aa(t) {
|
|
|
544
544
|
let q = d(t)(t);
|
|
545
545
|
return {
|
|
546
546
|
c() {
|
|
547
|
-
a = C("p"), i =
|
|
547
|
+
a = C("p"), i = $("svg"), o = $("rect"), l = $("rect"), s = $("circle"), m = $("path"), u = $("path"), c = $("path"), g = $("path"), p = Y(), v = C("span"), I = L(G), w = Y(), q.c(), R = Y(), h(o, "x", "1"), h(o, "y", "18.053"), 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(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "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, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "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(m, "fill", "var(--emw--color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), 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, #D0046C))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(g, "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(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
|
|
548
548
|
/*userAgent*/
|
|
549
549
|
t[42]
|
|
550
550
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
@@ -2414,7 +2414,7 @@ let Si = 0;
|
|
|
2414
2414
|
function Fi(t, a, i) {
|
|
2415
2415
|
let o;
|
|
2416
2416
|
Va(t, Ba, (r) => i(41, o = r));
|
|
2417
|
-
let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: R = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: T = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Re = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Ee = !1, Se, Fe,
|
|
2417
|
+
let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: R = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: T = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Re = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Ee = !1, Se, Fe, ee = !0, qe = window.navigator.userAgent, j, z = [], J = !0, ae = 40, K = !1, Ge = !1, We = !1, re = !1, je = !1, Ae = !0, me = !1, ue, Le, ce, fe = !1, ie, Ce = !1, ge = new Array(1e4), de = {}, Te = "", te = "", Me, Pe, O, W = [], ze = new AbortController(), ne = { items: [], count: 0, name: "" };
|
|
2418
2418
|
const da = () => {
|
|
2419
2419
|
fetch(G).then((_) => _.json()).then((_) => {
|
|
2420
2420
|
Object.keys(_).forEach((F) => {
|
|
@@ -2430,7 +2430,7 @@ function Fi(t, a, i) {
|
|
|
2430
2430
|
let ha = new IntersectionObserver((r) => {
|
|
2431
2431
|
r.forEach(async (_) => {
|
|
2432
2432
|
let F = _.target.gameid, E = _.target.elems_index;
|
|
2433
|
-
_.isIntersecting ? (E * 1.2 >
|
|
2433
|
+
_.isIntersecting ? (E * 1.2 > ae && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
|
|
2434
2434
|
});
|
|
2435
2435
|
});
|
|
2436
2436
|
const Be = (r, _) => {
|
|
@@ -2440,61 +2440,61 @@ function Fi(t, a, i) {
|
|
|
2440
2440
|
method: "GET",
|
|
2441
2441
|
headers: { "X-SessionID": r }
|
|
2442
2442
|
};
|
|
2443
|
-
return new Promise((
|
|
2444
|
-
fetch(F, E).then((
|
|
2445
|
-
if (i(23, Q = !1),
|
|
2446
|
-
|
|
2447
|
-
|
|
2443
|
+
return new Promise((A, M) => {
|
|
2444
|
+
fetch(F, E).then((D) => D.json()).then((D) => {
|
|
2445
|
+
if (i(23, Q = !1), O = [], D) {
|
|
2446
|
+
D.items.forEach((B) => {
|
|
2447
|
+
B.gameModel && (O.push(B), W.includes(B.id) || W.push(B.id));
|
|
2448
2448
|
});
|
|
2449
|
-
const
|
|
2449
|
+
const x = Oe(O)?.length;
|
|
2450
2450
|
window.postMessage({
|
|
2451
2451
|
type: "UpdateFavoritesCount",
|
|
2452
|
-
favoriteGamesLength:
|
|
2452
|
+
favoriteGamesLength: x
|
|
2453
2453
|
});
|
|
2454
2454
|
} else
|
|
2455
|
-
|
|
2456
|
-
w === "FAVORITES" && Je(
|
|
2457
|
-
|
|
2455
|
+
O = [];
|
|
2456
|
+
w === "FAVORITES" && Je(O), z.forEach((x) => {
|
|
2457
|
+
x.isFavorite = X(x.id);
|
|
2458
2458
|
});
|
|
2459
2459
|
let V = z;
|
|
2460
|
-
i(27, z = void 0), i(27, z = V),
|
|
2461
|
-
}).catch((
|
|
2462
|
-
console.error(
|
|
2460
|
+
i(27, z = void 0), i(27, z = V), A(O);
|
|
2461
|
+
}).catch((D) => {
|
|
2462
|
+
console.error(D), M(D);
|
|
2463
2463
|
});
|
|
2464
2464
|
});
|
|
2465
2465
|
}, he = (r, _, F) => {
|
|
2466
2466
|
ze && ze.abort(), ze = new AbortController();
|
|
2467
2467
|
const E = ze.signal;
|
|
2468
2468
|
i(23, Q = !0);
|
|
2469
|
-
let
|
|
2470
|
-
return (r.match(/\$/g) || []).length > 1 ? (
|
|
2471
|
-
if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(qe)), M.searchParams.append("pagination", `games(offset=${_},limit=${F})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href),
|
|
2472
|
-
if (
|
|
2473
|
-
let
|
|
2474
|
-
i(32, je = !0),
|
|
2475
|
-
|
|
2476
|
-
}), M.searchParams.append("filter", `${
|
|
2469
|
+
let A = "", M = "", D = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2470
|
+
return (r.match(/\$/g) || []).length > 1 ? (A = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${A}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((x, B) => {
|
|
2471
|
+
if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(qe)), M.searchParams.append("pagination", `games(offset=${_},limit=${F})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), D && D[r])
|
|
2472
|
+
if (D[r].length && ee === !1 && fe === !1) {
|
|
2473
|
+
let U = "";
|
|
2474
|
+
i(32, je = !0), D[r].forEach((pe) => {
|
|
2475
|
+
U = U + (U ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
|
|
2476
|
+
}), M.searchParams.append("filter", `${U}`);
|
|
2477
2477
|
} else
|
|
2478
2478
|
i(32, je = !1);
|
|
2479
|
-
V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) :
|
|
2480
|
-
E.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (
|
|
2479
|
+
V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (M.searchParams.append("sortedField", `games(${te})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${te})`))), fetch(M, { signal: E }).then((U) => U.json()).then((U) => {
|
|
2480
|
+
E.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (U = U.items.filter((pe) => {
|
|
2481
2481
|
if (pe.id == r) return pe;
|
|
2482
|
-
})[0]), i(50, Pe = !0), i(24, Ee = !1), Le =
|
|
2483
|
-
}).catch((
|
|
2484
|
-
|
|
2482
|
+
})[0]), i(50, Pe = !0), i(24, Ee = !1), Le = U.games.total, i(34, me = !0), x(U));
|
|
2483
|
+
}).catch((U) => {
|
|
2484
|
+
U.name !== "AbortError" && (i(24, Ee = !0), console.error(U), B(U));
|
|
2485
2485
|
});
|
|
2486
2486
|
});
|
|
2487
2487
|
}, pa = (r, _, F) => {
|
|
2488
|
-
r !== "" && (i(29, K = !1), i(25,
|
|
2489
|
-
i(26,
|
|
2490
|
-
|
|
2488
|
+
r !== "" && (i(29, K = !1), i(25, ee = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +F), he(r, 0, +_).then((E) => {
|
|
2489
|
+
i(26, j = E), i(27, z = j.games.items), z && z.forEach((A) => {
|
|
2490
|
+
A.isFavorite = X(A.id);
|
|
2491
2491
|
});
|
|
2492
2492
|
}));
|
|
2493
2493
|
}, De = (r) => {
|
|
2494
2494
|
if (r.data)
|
|
2495
2495
|
switch (r.data.type) {
|
|
2496
2496
|
case "MostPlayedData":
|
|
2497
|
-
w == "MOSTPLAYED" && (i(29, K = !1), i(25,
|
|
2497
|
+
w == "MOSTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, j = {
|
|
2498
2498
|
id: "MOSTPLAYED",
|
|
2499
2499
|
name: "Most Played Games",
|
|
2500
2500
|
games: {
|
|
@@ -2505,7 +2505,7 @@ function Fi(t, a, i) {
|
|
|
2505
2505
|
})), i(23, Q = !1);
|
|
2506
2506
|
break;
|
|
2507
2507
|
case "LastPlayedData":
|
|
2508
|
-
w == "LASTPLAYED" && (i(29, K = !1), i(25,
|
|
2508
|
+
w == "LASTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, j = {
|
|
2509
2509
|
id: "LASTPLAYED",
|
|
2510
2510
|
name: "Last Played Games",
|
|
2511
2511
|
games: {
|
|
@@ -2527,23 +2527,23 @@ function Fi(t, a, i) {
|
|
|
2527
2527
|
i(29, K = !1), i(30, Ge = !1);
|
|
2528
2528
|
break;
|
|
2529
2529
|
case "SearchData":
|
|
2530
|
-
i(29, K = !0), i(30, Ge = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (
|
|
2530
|
+
i(29, K = !0), i(30, Ge = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), z && z.forEach((_) => {
|
|
2531
2531
|
_.isFavorite = X(_.id);
|
|
2532
2532
|
});
|
|
2533
2533
|
break;
|
|
2534
2534
|
case `CategoryData_${w}`:
|
|
2535
|
-
i(29, K = !1), i(25,
|
|
2536
|
-
i(26,
|
|
2535
|
+
i(29, K = !1), i(25, ee = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
|
|
2536
|
+
i(26, j = _), i(27, z = j.games.items), Le <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((F) => {
|
|
2537
2537
|
F.isFavorite = X(F.id);
|
|
2538
2538
|
});
|
|
2539
2539
|
});
|
|
2540
2540
|
break;
|
|
2541
2541
|
case "CategoryChange":
|
|
2542
|
-
|
|
2542
|
+
ae = 20;
|
|
2543
2543
|
break;
|
|
2544
2544
|
case "ApplySorter":
|
|
2545
|
-
i(0, w = r.data.itemId),
|
|
2546
|
-
i(26,
|
|
2545
|
+
i(0, w = r.data.itemId), te = r.data.sortBy, he(w, 0, ae).then((_) => {
|
|
2546
|
+
i(26, j = _), i(27, z = j.games.items), i(28, J = !1);
|
|
2547
2547
|
});
|
|
2548
2548
|
break;
|
|
2549
2549
|
case "CategoryUpdate":
|
|
@@ -2563,10 +2563,10 @@ function Fi(t, a, i) {
|
|
|
2563
2563
|
break;
|
|
2564
2564
|
}
|
|
2565
2565
|
}, Ye = (r) => {
|
|
2566
|
-
i(29, K = !1), i(25,
|
|
2567
|
-
i(26,
|
|
2566
|
+
i(29, K = !1), i(25, ee = !1), i(31, re = !1), Ce = !0, i(34, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, J = !1), b !== "true" && he(w, 0, ae).then((_) => {
|
|
2567
|
+
i(26, j = _), j.games.items.forEach((F) => {
|
|
2568
2568
|
F.isFavorite = X(F.id);
|
|
2569
|
-
}), i(27, z =
|
|
2569
|
+
}), i(27, z = j.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
|
|
2570
2570
|
() => {
|
|
2571
2571
|
window.postMessage({ type: "WidgetTopReference", scrollTop: We }, window.location.href);
|
|
2572
2572
|
},
|
|
@@ -2574,13 +2574,13 @@ function Fi(t, a, i) {
|
|
|
2574
2574
|
));
|
|
2575
2575
|
});
|
|
2576
2576
|
}, _a = () => {
|
|
2577
|
-
|
|
2577
|
+
j && (i(27, z = j.games.items), z.forEach((r) => {
|
|
2578
2578
|
r.isFavorite = X(r.id);
|
|
2579
2579
|
}));
|
|
2580
|
-
}, X = (r) =>
|
|
2580
|
+
}, X = (r) => O?.some((_) => _.id === r) ?? !1;
|
|
2581
2581
|
let va = async (r, _, F) => {
|
|
2582
2582
|
await Ue(r, _), W.includes(F) || W.push(F);
|
|
2583
|
-
let
|
|
2583
|
+
let A = {
|
|
2584
2584
|
method: "POST",
|
|
2585
2585
|
headers: {
|
|
2586
2586
|
"X-SessionID": _,
|
|
@@ -2589,7 +2589,7 @@ function Fi(t, a, i) {
|
|
|
2589
2589
|
},
|
|
2590
2590
|
body: JSON.stringify({ items: W })
|
|
2591
2591
|
};
|
|
2592
|
-
fetch(r,
|
|
2592
|
+
fetch(r, A).then((M) => M.json()).then(() => {
|
|
2593
2593
|
window.postMessage({ type: `AddFavoriteThumbnail_${F}` }, window.location.href);
|
|
2594
2594
|
}).catch((M) => {
|
|
2595
2595
|
console.error("Err", M);
|
|
@@ -2600,28 +2600,28 @@ function Fi(t, a, i) {
|
|
|
2600
2600
|
method: "DELETE",
|
|
2601
2601
|
headers: { "X-SessionID": _ }
|
|
2602
2602
|
};
|
|
2603
|
-
fetch(`${r}/${F}`, E).then((
|
|
2603
|
+
fetch(`${r}/${F}`, E).then((A) => A.json()).then(() => {
|
|
2604
2604
|
window.postMessage(
|
|
2605
2605
|
{
|
|
2606
2606
|
type: `RemoveFavoriteThumbnail_${F}`
|
|
2607
2607
|
},
|
|
2608
2608
|
window.location.href
|
|
2609
2609
|
), Ue(r, _);
|
|
2610
|
-
}), W.includes(F) && (W = W.filter((
|
|
2610
|
+
}), W.includes(F) && (W = W.filter((A) => A != F));
|
|
2611
2611
|
}, Ue = async (r, _) => fetch(r, {
|
|
2612
2612
|
method: "GET",
|
|
2613
2613
|
headers: { "X-SessionID": _ }
|
|
2614
2614
|
}).then((E) => E.json()).then((E) => {
|
|
2615
|
-
|
|
2615
|
+
O = E.items, se ? (O.forEach((M) => {
|
|
2616
2616
|
W.includes(M.id) || W.push(M.id);
|
|
2617
|
-
}), _a()) :
|
|
2617
|
+
}), _a()) : O.forEach((M) => {
|
|
2618
2618
|
M.isFavorite = X(M.id);
|
|
2619
2619
|
});
|
|
2620
|
-
const
|
|
2620
|
+
const A = Oe(O)?.length;
|
|
2621
2621
|
w === "FAVORITES" && (window.postMessage({
|
|
2622
2622
|
type: "UpdateFavoritesCount",
|
|
2623
|
-
favoriteGamesLength:
|
|
2624
|
-
}), Je(
|
|
2623
|
+
favoriteGamesLength: A
|
|
2624
|
+
}), Je(O));
|
|
2625
2625
|
}).catch((E) => {
|
|
2626
2626
|
console.error(E);
|
|
2627
2627
|
}), Je = (r) => {
|
|
@@ -2629,22 +2629,22 @@ function Fi(t, a, i) {
|
|
|
2629
2629
|
let _;
|
|
2630
2630
|
_ = r?.items || r || [], _.length > 0 && _.forEach((F) => {
|
|
2631
2631
|
F.gameModel && (F.gameModel.isFavorite = !0);
|
|
2632
|
-
}), i(40,
|
|
2632
|
+
}), i(40, ne.items = Oe(_, ne.items), ne), i(40, ne.name = "Favorites", ne), i(23, Q = !1);
|
|
2633
2633
|
}, wa = (r) => {
|
|
2634
|
-
|
|
2635
|
-
i(26,
|
|
2634
|
+
ae += 1, i(34, me = !0), ae <= Le && he(r, Si, ae).then((_) => {
|
|
2635
|
+
i(26, j = _), j.games.items.length > z.length && (i(27, z = j.games.items), z.forEach((F) => {
|
|
2636
2636
|
F.isFavorite = X(F.id);
|
|
2637
2637
|
})), i(34, me = !1);
|
|
2638
2638
|
});
|
|
2639
2639
|
}, ka = (r) => {
|
|
2640
|
-
|
|
2641
|
-
if (
|
|
2642
|
-
let
|
|
2643
|
-
const
|
|
2644
|
-
return
|
|
2645
|
-
const
|
|
2646
|
-
Ie(B).diff(
|
|
2647
|
-
}),
|
|
2640
|
+
const _ = r ?? [];
|
|
2641
|
+
if (_?.length === 0) return "";
|
|
2642
|
+
let F = "", E = 999999999999, A;
|
|
2643
|
+
const M = new Date(Date.now());
|
|
2644
|
+
return _.forEach((D, V) => {
|
|
2645
|
+
const x = new Date(D.schedules[0].startTime), B = new Date(D.schedules[0].endTime);
|
|
2646
|
+
Ie(B).diff(M) < E && (E = Ie(B).diff(M), A = V), Ie(M).isAfter(x) && Ie(M).isBefore(B) && (F = _[A].name);
|
|
2647
|
+
}), F;
|
|
2648
2648
|
}, Ke = (r) => {
|
|
2649
2649
|
window.postMessage(
|
|
2650
2650
|
{
|
|
@@ -2679,13 +2679,13 @@ function Fi(t, a, i) {
|
|
|
2679
2679
|
Ka(m);
|
|
2680
2680
|
}, Ca = () => {
|
|
2681
2681
|
let r = document.createElement("style");
|
|
2682
|
-
r.innerHTML = p,
|
|
2682
|
+
r.innerHTML = p, ie.appendChild(r);
|
|
2683
2683
|
}, Ma = () => {
|
|
2684
2684
|
let r = new URL(v), _ = document.createElement("style");
|
|
2685
2685
|
fetch(r.href).then((F) => F.text()).then((F) => {
|
|
2686
2686
|
_.innerHTML = F, setTimeout(
|
|
2687
2687
|
() => {
|
|
2688
|
-
|
|
2688
|
+
ie.appendChild(_);
|
|
2689
2689
|
},
|
|
2690
2690
|
1
|
|
2691
2691
|
);
|
|
@@ -2699,7 +2699,7 @@ function Fi(t, a, i) {
|
|
|
2699
2699
|
ce = r, i(36, ce);
|
|
2700
2700
|
});
|
|
2701
2701
|
}
|
|
2702
|
-
const Ia = (r) => Ke(
|
|
2702
|
+
const Ia = (r) => Ke(j.id);
|
|
2703
2703
|
function Na(r, _) {
|
|
2704
2704
|
oe[r ? "unshift" : "push"](() => {
|
|
2705
2705
|
ge[_] = r, i(22, ge);
|
|
@@ -2722,7 +2722,7 @@ function Fi(t, a, i) {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
function Aa(r) {
|
|
2724
2724
|
oe[r ? "unshift" : "push"](() => {
|
|
2725
|
-
|
|
2725
|
+
ie = r, i(21, ie);
|
|
2726
2726
|
});
|
|
2727
2727
|
}
|
|
2728
2728
|
return t.$$set = (r) => {
|
|
@@ -2737,8 +2737,8 @@ function Fi(t, a, i) {
|
|
|
2737
2737
|
524288 && Pe && ge && Fa(), t.$$.dirty[0] & /*lang, categoryid*/
|
|
2738
2738
|
33 && m && w && ya(), t.$$.dirty[0] & /*translationurl*/
|
|
2739
2739
|
2048 && G && da(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2740
|
-
2097664 && p &&
|
|
2741
|
-
2098176 && v &&
|
|
2740
|
+
2097664 && p && ie && Ca(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2741
|
+
2098176 && v && ie && Ma();
|
|
2742
2742
|
}, [
|
|
2743
2743
|
w,
|
|
2744
2744
|
be,
|
|
@@ -2761,12 +2761,12 @@ function Fi(t, a, i) {
|
|
|
2761
2761
|
b,
|
|
2762
2762
|
He,
|
|
2763
2763
|
Ve,
|
|
2764
|
-
|
|
2764
|
+
ie,
|
|
2765
2765
|
ge,
|
|
2766
2766
|
Q,
|
|
2767
2767
|
Ee,
|
|
2768
|
-
|
|
2769
|
-
|
|
2768
|
+
ee,
|
|
2769
|
+
j,
|
|
2770
2770
|
z,
|
|
2771
2771
|
J,
|
|
2772
2772
|
K,
|
|
@@ -2780,7 +2780,7 @@ function Fi(t, a, i) {
|
|
|
2780
2780
|
fe,
|
|
2781
2781
|
de,
|
|
2782
2782
|
Te,
|
|
2783
|
-
|
|
2783
|
+
ne,
|
|
2784
2784
|
o,
|
|
2785
2785
|
qe,
|
|
2786
2786
|
ka,
|
package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-VbQH2qG2.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as te, $ as ae, S as se, i as ie, f as l, c as ne, s as le, b as re, e as k, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, L as i, u as ue, B as ge, F as me, K as de } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
2
|
+
import "./CasinoFavoritesSection-D4Du3N5n.js";
|
|
3
3
|
function I(s, e) {
|
|
4
4
|
te(s, e);
|
|
5
5
|
}
|
|
@@ -35,7 +35,7 @@ if (typeof window < "u") {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
customElements.define = a(customElements.define), import("./CasinoPage-
|
|
38
|
+
customElements.define = a(customElements.define), import("./CasinoPage-Cm-vD67m.js").then(({ default: e }) => {
|
|
39
39
|
!customElements.get("casino-page") && customElements.define("casino-page", e.element);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
@@ -67,7 +67,7 @@ if (typeof window < "u") {
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
customElements.define = a(customElements.define), import("./CasinoGamePage-
|
|
70
|
+
customElements.define = a(customElements.define), import("./CasinoGamePage-C0VvUfCV.js").then((e) => e.C).then(({ default: e }) => {
|
|
71
71
|
!customElements.get("casino-game-page") && customElements.define("casino-game-page", e.element);
|
|
72
72
|
});
|
|
73
73
|
}
|
package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BIXY9riB.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, v as S, d as M, w as J, D as H, j as A, k as le, K as me, n as re, L as n, u as ge, B as ce, F as de } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
2
|
+
import "./CasinoFavoritesSection-D4Du3N5n.js";
|
|
3
3
|
function I(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
@@ -114,7 +114,7 @@ if (typeof window < "u") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-
|
|
117
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-D4Du3N5n.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window < "u") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-
|
|
133
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-VbQH2qG2.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window < "u") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-
|
|
149
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-BIXY9riB.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as ye, T as ai, a as si, S as oi, i as ri, f as u, c as li, s as ci, b as ui, e as C, d as _, t as T, g as x, h as F, j as w, k as fi, m as Nt, o as gi, l as $, K as ke, n as Ct, r as B, L as i, v as X, w as O, u as _e, B as we, D as A, X as jt, F as mi, H as At, q as St, C as di, I as Pt, M as hi, a2 as bi, p as yi, y as ki, z as _i, A as wi } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
2
|
+
import "./CasinoFavoritesSection-D4Du3N5n.js";
|
|
3
3
|
import "../stencil/casino-play-random-game-BrayzMrR.js";
|
|
4
4
|
function pi({ withLocale: n, translations: e }) {
|
|
5
5
|
ye.subscribe((t) => {
|
|
@@ -314,7 +314,7 @@ if (typeof window < "u") {
|
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
-
customElements.define = n(customElements.define), import("./CasinoMyGames-
|
|
317
|
+
customElements.define = n(customElements.define), import("./CasinoMyGames-DqRPb7fX.js").then(({ default: e }) => {
|
|
318
318
|
!customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
|
|
319
319
|
});
|
|
320
320
|
}
|
|
@@ -330,7 +330,7 @@ if (typeof window < "u") {
|
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
|
-
customElements.define = n(customElements.define), import("./CasinoSearch-
|
|
333
|
+
customElements.define = n(customElements.define), import("./CasinoSearch-BEXK-fFP.js").then(({ default: e }) => {
|
|
334
334
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
335
335
|
});
|
|
336
336
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Ae, $ as qe, S as Oe, i as We, f as T, c as Ue, s as Ve, b as Je, e as y, r as N, G as le, v as f, K as ee, d as j, w as _, U as ie, x as J, D as ce, j as G, Q as Ze, k as Ye, o as Ke, u as q, B as O, n as ue, q as he, H as ye, C as Xe, L as h, F as Qe } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as Q } from "./CasinoGamePage-
|
|
2
|
+
import "./CasinoGamesCategorySection-DVd_DDkc.js";
|
|
3
|
+
import { h as Q } from "./CasinoGamePage-C0VvUfCV.js";
|
|
4
4
|
function de(a, e) {
|
|
5
5
|
Ae(a, e);
|
|
6
6
|
}
|
package/esnext/casino-lobby.js
CHANGED