@everymatrix/casino-page 1.94.4 → 1.94.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/{CasinoCalendar-DXmj98AB.js → CasinoCalendar-DoiSP2I7.js} +19 -19
- package/components/{CasinoCalendar-DqP3Cysp.js → CasinoCalendar-_CWLjC1Y.js} +19 -19
- package/components/{CasinoCalendarDailyDetails-DIen21Fe.js → CasinoCalendarDailyDetails-B_8f8qzU.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-621A__zS.js → CasinoCalendarDailyDetails-DNbGCFHk.js} +45 -45
- package/components/{CasinoCalendarDailyItem-WCLAkEnu.js → CasinoCalendarDailyItem-CqS8Ln6p.js} +35 -35
- package/components/{CasinoCalendarDailyItem-BZgZ3jhq.js → CasinoCalendarDailyItem-Cvbbh3vk.js} +35 -35
- package/components/{CasinoCollectionsProviders-CWeYR2Ao.js → CasinoCollectionsProviders-BA0B8THH.js} +84 -84
- package/components/{CasinoCollectionsProviders-BXHqYSkw.js → CasinoCollectionsProviders-BTgMKpir.js} +81 -81
- package/components/{CasinoFavoritesSection-A-stNx7b.js → CasinoFavoritesSection-8MiofleI.js} +23 -23
- package/components/{CasinoFavoritesSection-BpQaBAfD.js → CasinoFavoritesSection-Cmmacvha.js} +28 -28
- package/components/{CasinoFilter-AtELhw0q.js → CasinoFilter-COdEoLjO.js} +54 -54
- package/components/{CasinoFilter-Ep-1aHBW.js → CasinoFilter-TtmhdKfx.js} +54 -54
- package/components/{CasinoGameThumbnail-B2rvqzGF.js → CasinoGameThumbnail-N0cDXPXp.js} +43 -43
- package/components/{CasinoGameThumbnail-yvoS-FXw.js → CasinoGameThumbnail-pwrLIXix.js} +43 -43
- package/components/{CasinoGamesCategorySection-WWvsmfN6.js → CasinoGamesCategorySection-BYHWSV0p.js} +82 -82
- package/components/{CasinoGamesCategorySection-L7A5ckSQ.js → CasinoGamesCategorySection-C66IQnHS.js} +82 -82
- package/components/{CasinoJackpotBanner-D5TNhB7R.js → CasinoJackpotBanner-CY7oG81S.js} +102 -102
- package/components/{CasinoJackpotBanner-DQYoBFkM.js → CasinoJackpotBanner-D425xvs0.js} +134 -134
- package/components/{CasinoLastPlayedSection-OL36Gf5P.js → CasinoLastPlayedSection-BqU5YDmM.js} +19 -19
- package/components/{CasinoLastPlayedSection-BwHfhSFr.js → CasinoLastPlayedSection-De8G3raR.js} +23 -23
- package/components/{CasinoMostPlayedSection-CbC_qSd0.js → CasinoMostPlayedSection-CV7AJd8z.js} +18 -18
- package/components/{CasinoMostPlayedSection-DPuLlvKC.js → CasinoMostPlayedSection-W9-m-sR8.js} +31 -31
- package/components/{CasinoMyGames-BY904RCr.js → CasinoMyGames-DFMmpy81.js} +28 -28
- package/components/{CasinoMyGames-DpRxmYKT.js → CasinoMyGames-D_KzlM9N.js} +29 -29
- package/components/{CasinoPage-DXAgic7W.js → CasinoPage-D4PlCd03.js} +62 -62
- package/components/{CasinoPage-D0eRWB-t.js → CasinoPage-mjm62-7D.js} +62 -62
- package/components/{CasinoRandomGame-B8vL-5gJ.js → CasinoRandomGame-BdAsD-Ea.js} +32 -32
- package/components/{CasinoRandomGame-BANvvYkV.js → CasinoRandomGame-DVm9BGzt.js} +31 -31
- package/components/{CasinoSearch-ClgozDDU.js → CasinoSearch-CBwcnKDo.js} +57 -57
- package/components/{CasinoSearch-CMimr3Yp.js → CasinoSearch-CO236ngV.js} +55 -55
- package/components/{CasinoSort-DJCf2JhB.js → CasinoSort-CHqs-Ttt.js} +44 -44
- package/components/{CasinoSort-Bk94gjFr.js → CasinoSort-H2zd8iw-.js} +60 -60
- package/components/{CasinoWinners-XsftlRN4.js → CasinoWinners-C5vj7iay.js} +83 -83
- package/components/{CasinoWinners-DTDqEmAo.js → CasinoWinners-D_coj2DG.js} +84 -84
- package/components/{GeneralAnimationLoading-DCsTntBi.js → GeneralAnimationLoading-B4pGZ94-.js} +6 -6
- package/components/{GeneralAnimationLoading-DnUQlQFu.js → GeneralAnimationLoading-BkgOGtdu.js} +7 -7
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ var ue = (t, e, a) => new Promise((n, r) => {
|
|
|
14
14
|
}, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
|
|
15
15
|
i((a = a.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import "./CasinoGamesCategorySection-
|
|
17
|
+
import { c as Ve, b as Je, S as Ze, w as Ye, G as Ke, r as L, e as Xe, A as he, n as j, F as Qe, f as g, N as de, x as I, d as b, z as U, o as k, P as N, T as me, s as ae, i as $e, D as et, M as q, U as H, g as fe, q as ge, m as tt, p as Te, L as u, I as at, J as nt, K as rt, j as ot, a as st } from "./CasinoPage-mjm62-7D.js";
|
|
18
|
+
import "./CasinoGamesCategorySection-C66IQnHS.js";
|
|
19
19
|
function pe(t, e) {
|
|
20
20
|
Ve(t, e);
|
|
21
21
|
}
|
|
@@ -240,7 +240,7 @@ function ut(t, e) {
|
|
|
240
240
|
return a.getTime() < n.getTime();
|
|
241
241
|
}
|
|
242
242
|
function ht(t) {
|
|
243
|
-
|
|
243
|
+
Xe(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
244
244
|
}
|
|
245
245
|
function _e(t, e, a) {
|
|
246
246
|
const n = t.slice();
|
|
@@ -301,7 +301,7 @@ function dt(t) {
|
|
|
301
301
|
);
|
|
302
302
|
return {
|
|
303
303
|
c() {
|
|
304
|
-
i && i.c(), e =
|
|
304
|
+
i && i.c(), e = N(), a = k("div"), c && c.c(), n = N(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
305
305
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
306
306
|
},
|
|
307
307
|
m(h, f) {
|
|
@@ -374,7 +374,7 @@ function gt(t) {
|
|
|
374
374
|
);
|
|
375
375
|
return {
|
|
376
376
|
c() {
|
|
377
|
-
n && n.c(), e =
|
|
377
|
+
n && n.c(), e = N(), r && r.c(), a = Te();
|
|
378
378
|
},
|
|
379
379
|
m(l, s) {
|
|
380
380
|
n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
|
|
@@ -421,7 +421,7 @@ function ye(t) {
|
|
|
421
421
|
);
|
|
422
422
|
return {
|
|
423
423
|
c() {
|
|
424
|
-
e = k("div"), i && i.c(), a =
|
|
424
|
+
e = k("div"), i && i.c(), a = N(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
425
425
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
426
426
|
},
|
|
427
427
|
m(c, m) {
|
|
@@ -583,7 +583,7 @@ function Ce(t) {
|
|
|
583
583
|
I(d, e, p);
|
|
584
584
|
},
|
|
585
585
|
p(d, p) {
|
|
586
|
-
var
|
|
586
|
+
var E;
|
|
587
587
|
p[0] & /*endpoint*/
|
|
588
588
|
1 && u(
|
|
589
589
|
e,
|
|
@@ -626,7 +626,7 @@ function Ce(t) {
|
|
|
626
626
|
8192 && s !== (s = /*game*/
|
|
627
627
|
d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
628
628
|
8192 && i !== (i = /*game*/
|
|
629
|
-
((
|
|
629
|
+
((E = d[55].advancedTags) == null ? void 0 : E.length) > 0 && /*addGameTag*/
|
|
630
630
|
d[25](
|
|
631
631
|
/*game*/
|
|
632
632
|
d[55].advancedTags
|
|
@@ -705,7 +705,7 @@ function Fe(t) {
|
|
|
705
705
|
);
|
|
706
706
|
return {
|
|
707
707
|
c() {
|
|
708
|
-
e = k("div"), f && f.c(), a =
|
|
708
|
+
e = k("div"), f && f.c(), a = N(), n = k("p"), l = H(r), s = N(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
709
709
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
710
710
|
},
|
|
711
711
|
m(w, d) {
|
|
@@ -741,7 +741,7 @@ function Le(t) {
|
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
function pt(t) {
|
|
744
|
-
let e, a, n, r, l, s, i, c, m, h, f, w, d, p,
|
|
744
|
+
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, E, P, M, J, B, W, v = (
|
|
745
745
|
/*cancelbutton*/
|
|
746
746
|
t[9] === "true" && we(t)
|
|
747
747
|
);
|
|
@@ -751,10 +751,10 @@ function pt(t) {
|
|
|
751
751
|
_[18] ? mt : dt
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
|
-
let
|
|
754
|
+
let A = D(t), R = A(t);
|
|
755
755
|
return {
|
|
756
756
|
c() {
|
|
757
|
-
e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l =
|
|
757
|
+
e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = k("input"), c = N(), m = k("span"), h = me("svg"), f = me("path"), d = N(), v && v.c(), E = N(), P = k("div"), J = N(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
758
758
|
t[21]("placeHolderSearchGames")), g(s, "maxlength", St), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
759
759
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
760
760
|
(t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -769,7 +769,7 @@ function pt(t) {
|
|
|
769
769
|
s,
|
|
770
770
|
/*searchValue*/
|
|
771
771
|
t[14]
|
|
772
|
-
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e,
|
|
772
|
+
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, E), b(e, P), b(e, J), R.m(e, null), t[38](e), B || (W = [
|
|
773
773
|
U(
|
|
774
774
|
s,
|
|
775
775
|
"input",
|
|
@@ -800,7 +800,7 @@ function pt(t) {
|
|
|
800
800
|
/*handleOverlay*/
|
|
801
801
|
t[24]
|
|
802
802
|
)
|
|
803
|
-
],
|
|
803
|
+
], B = !0);
|
|
804
804
|
},
|
|
805
805
|
p(_, T) {
|
|
806
806
|
T[0] & /*$_*/
|
|
@@ -819,12 +819,12 @@ function pt(t) {
|
|
|
819
819
|
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
820
820
|
(_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
|
|
821
821
|
512 && M !== (M = /*cancelbutton*/
|
|
822
|
-
_[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M),
|
|
822
|
+
_[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), A === (A = D(_)) && R ? R.p(_, T) : (R.d(1), R = A(_), R && (R.c(), R.m(e, null)));
|
|
823
823
|
},
|
|
824
824
|
i: he,
|
|
825
825
|
o: he,
|
|
826
826
|
d(_) {
|
|
827
|
-
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null),
|
|
827
|
+
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), B = !1, Qe(W);
|
|
828
828
|
}
|
|
829
829
|
};
|
|
830
830
|
}
|
|
@@ -832,9 +832,9 @@ let St = 50;
|
|
|
832
832
|
function bt(t, e, a) {
|
|
833
833
|
let n;
|
|
834
834
|
$e(t, st, (o) => a(21, n = o));
|
|
835
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl:
|
|
835
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: E = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: B } = e, W = window.navigator.userAgent, v = [], D = [], A = {}, R = "", _, T = !0, Z = !1, z = !1, x, K = !1, X, Q, re = [], je;
|
|
836
836
|
const Ie = () => {
|
|
837
|
-
fetch(
|
|
837
|
+
fetch(E).then((S) => S.json()).then((S) => {
|
|
838
838
|
Object.keys(S).forEach((y) => {
|
|
839
839
|
pe(y, S[y]);
|
|
840
840
|
});
|
|
@@ -846,9 +846,9 @@ function bt(t, e, a) {
|
|
|
846
846
|
pe(o, Se[o]);
|
|
847
847
|
});
|
|
848
848
|
const oe = (o) => {
|
|
849
|
-
o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19,
|
|
849
|
+
o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
|
|
850
850
|
}, se = () => {
|
|
851
|
-
if (a(16, T = !1), a(17,
|
|
851
|
+
if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
|
|
852
852
|
a(13, v = []);
|
|
853
853
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
854
854
|
o && (S = o.split(","));
|
|
@@ -856,46 +856,46 @@ function bt(t, e, a) {
|
|
|
856
856
|
if (F > 0) {
|
|
857
857
|
for (C = 0; C < F; C++) {
|
|
858
858
|
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
859
|
-
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(
|
|
859
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(ze(G, S[C]));
|
|
860
860
|
}
|
|
861
861
|
Promise.all(y).then((G) => {
|
|
862
862
|
G = G.filter(function(O) {
|
|
863
863
|
return !!O;
|
|
864
|
-
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ?
|
|
864
|
+
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
|
|
865
865
|
}).catch((G) => {
|
|
866
|
-
|
|
866
|
+
Y("searchError", "SearchWidget");
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
ce(
|
|
871
|
-
},
|
|
870
|
+
ce(Z), Y("searchAttempt", "SearchWidget"), Y("SearchInitialized", "SearchWidget");
|
|
871
|
+
}, Y = (o, S) => {
|
|
872
872
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
873
873
|
}, Ge = () => {
|
|
874
874
|
M != "true" && $();
|
|
875
875
|
}, De = (o) => new Promise((S, y) => {
|
|
876
|
-
a(18,
|
|
877
|
-
a(18,
|
|
876
|
+
a(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
877
|
+
a(18, z = !1), S(C);
|
|
878
878
|
}).catch((C) => {
|
|
879
|
-
a(18,
|
|
879
|
+
a(18, z = !1), console.error(C), y(C);
|
|
880
880
|
});
|
|
881
|
-
}),
|
|
882
|
-
a(18,
|
|
883
|
-
a(18,
|
|
881
|
+
}), ze = (o, S) => new Promise((y, C) => {
|
|
882
|
+
a(18, z = !0), S && Object.keys(A).indexOf(S) >= 0 ? (a(18, z = !1), y(A[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
883
|
+
a(18, z = !1), F.error || (A[F[0].gameId] = F[0]), y(F[0]);
|
|
884
884
|
}).catch((F) => {
|
|
885
|
-
a(18,
|
|
885
|
+
a(18, z = !1), console.error(F), C(F);
|
|
886
886
|
});
|
|
887
|
-
}),
|
|
887
|
+
}), Ne = () => {
|
|
888
888
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
889
|
-
a(18,
|
|
889
|
+
a(18, z = !0);
|
|
890
890
|
let S = {
|
|
891
891
|
method: "GET",
|
|
892
|
-
headers: { "X-SessionID":
|
|
892
|
+
headers: { "X-SessionID": X }
|
|
893
893
|
};
|
|
894
894
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
895
|
-
a(18,
|
|
895
|
+
a(18, z = !1), re = y.items.map((C) => C.id);
|
|
896
896
|
});
|
|
897
|
-
},
|
|
898
|
-
a(33,
|
|
897
|
+
}, Ee = () => {
|
|
898
|
+
a(33, K = !0), a(19, X = s), a(20, Q = i);
|
|
899
899
|
}, le = (o) => re.findIndex((S) => S == o) !== -1, Pe = (o) => {
|
|
900
900
|
if ((o == null ? void 0 : o.length) === 0)
|
|
901
901
|
return "";
|
|
@@ -911,7 +911,7 @@ function bt(t, e, a) {
|
|
|
911
911
|
D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
912
912
|
}
|
|
913
913
|
}, $ = () => {
|
|
914
|
-
a(14, R = ""), a(16, T = !0), a(18,
|
|
914
|
+
a(14, R = ""), a(16, T = !0), a(18, z = !1), a(13, v = []), a(17, Z = !1), ce(Z);
|
|
915
915
|
}, ie = () => {
|
|
916
916
|
a(14, R = ""), _.focus();
|
|
917
917
|
}, ce = (o) => {
|
|
@@ -924,7 +924,7 @@ function bt(t, e, a) {
|
|
|
924
924
|
);
|
|
925
925
|
}, Me = () => {
|
|
926
926
|
lt(c);
|
|
927
|
-
},
|
|
927
|
+
}, Ae = it(() => ue(this, null, function* () {
|
|
928
928
|
if (R.length >= 2) {
|
|
929
929
|
const o = new URL(`${r}/v1/casino/games`);
|
|
930
930
|
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), De(o).then((S) => {
|
|
@@ -936,7 +936,7 @@ function bt(t, e, a) {
|
|
|
936
936
|
et(() => (window.addEventListener("message", oe, !1), () => {
|
|
937
937
|
window.removeEventListener("message", oe);
|
|
938
938
|
}));
|
|
939
|
-
function
|
|
939
|
+
function Be() {
|
|
940
940
|
R = this.value, a(14, R);
|
|
941
941
|
}
|
|
942
942
|
function Oe(o) {
|
|
@@ -951,18 +951,18 @@ function bt(t, e, a) {
|
|
|
951
951
|
});
|
|
952
952
|
}
|
|
953
953
|
return t.$$set = (o) => {
|
|
954
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32,
|
|
954
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, E = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, B = o.mbsource);
|
|
955
955
|
}, t.$$.update = () => {
|
|
956
956
|
t.$$.dirty[0] & /*lang*/
|
|
957
957
|
2 && c && Me(), t.$$.dirty[1] & /*translationurl*/
|
|
958
|
-
2 &&
|
|
958
|
+
2 && E && Ie(), t.$$.dirty[0] & /*session*/
|
|
959
959
|
1073741824 | t.$$.dirty[1] & /*userid*/
|
|
960
|
-
1 && s && i &&
|
|
960
|
+
1 && s && i && Ee(), t.$$.dirty[0] & /*showfavorites*/
|
|
961
961
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
962
|
-
4 && P &&
|
|
962
|
+
4 && P && K && Ne(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
963
963
|
4100 && m && x && at(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
964
964
|
4104 && h && x && nt(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
965
|
-
6144 && x && rt(x, `${
|
|
965
|
+
6144 && x && rt(x, `${B}.Style`, je);
|
|
966
966
|
}, [
|
|
967
967
|
r,
|
|
968
968
|
c,
|
|
@@ -975,15 +975,15 @@ function bt(t, e, a) {
|
|
|
975
975
|
P,
|
|
976
976
|
M,
|
|
977
977
|
J,
|
|
978
|
-
|
|
978
|
+
B,
|
|
979
979
|
x,
|
|
980
980
|
v,
|
|
981
981
|
R,
|
|
982
982
|
_,
|
|
983
983
|
T,
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
984
|
+
Z,
|
|
985
|
+
z,
|
|
986
|
+
X,
|
|
987
987
|
Q,
|
|
988
988
|
n,
|
|
989
989
|
W,
|
|
@@ -992,27 +992,27 @@ function bt(t, e, a) {
|
|
|
992
992
|
Pe,
|
|
993
993
|
$,
|
|
994
994
|
ie,
|
|
995
|
-
|
|
995
|
+
Ae,
|
|
996
996
|
l,
|
|
997
997
|
s,
|
|
998
998
|
i,
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
999
|
+
E,
|
|
1000
|
+
K,
|
|
1001
|
+
Be,
|
|
1002
1002
|
Oe,
|
|
1003
1003
|
qe,
|
|
1004
1004
|
He,
|
|
1005
1005
|
We
|
|
1006
1006
|
];
|
|
1007
1007
|
}
|
|
1008
|
-
class _t extends
|
|
1008
|
+
class _t extends Ze {
|
|
1009
1009
|
constructor(e) {
|
|
1010
|
-
super(),
|
|
1010
|
+
super(), Ye(
|
|
1011
1011
|
this,
|
|
1012
1012
|
e,
|
|
1013
1013
|
bt,
|
|
1014
1014
|
pt,
|
|
1015
|
-
|
|
1015
|
+
Ke,
|
|
1016
1016
|
{
|
|
1017
1017
|
endpoint: 0,
|
|
1018
1018
|
datasource: 29,
|