@everymatrix/casino-lobby 1.63.1 → 1.63.2
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-hUEe-Tf0.js → CasinoFavoritesSection-CB9LB0WP.js} +1 -1
- package/components/{CasinoFavoritesSection-B2bVaaP6.js → CasinoFavoritesSection-CqX1dQbA.js} +1 -1
- package/components/{CasinoFavoritesSection-CzigR-dL.cjs → CasinoFavoritesSection-tN5tvnAA.cjs} +1 -1
- package/components/CasinoGamesCategorySection-C3vEnV4u.cjs +1 -0
- package/components/{CasinoGamesCategorySection-CLNhR4hD.js → CasinoGamesCategorySection-Zo8E4vzJ.js} +189 -189
- package/components/{CasinoGamesCategorySection-l-jRCUnZ.js → CasinoGamesCategorySection-duJpxi3h.js} +1 -1
- package/components/{CasinoLastPlayedSection-Ce3mzuku.js → CasinoLastPlayedSection-CxFhGWih.js} +1 -1
- package/components/{CasinoLastPlayedSection-WTRz13SW.cjs → CasinoLastPlayedSection-DYe3Koqg.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BO-V6sRP.js → CasinoLastPlayedSection-LnAsl4Vq.js} +1 -1
- package/components/{CasinoLobby-CbK-afWM.cjs → CasinoLobby-ByANgzRN.cjs} +1 -1
- package/components/{CasinoLobby-zjNcK2iE.js → CasinoLobby-CFE_jBY7.js} +1 -1
- package/components/{CasinoLobby-CoHmXJCL.js → CasinoLobby-DeIv0o2d.js} +1 -1
- package/components/{CasinoMostPlayedSection-Di8djDRq.js → CasinoMostPlayedSection-BLrjptUT.js} +1 -1
- package/components/{CasinoMostPlayedSection-CJg1aY33.js → CasinoMostPlayedSection-CcmxfoNH.js} +1 -1
- package/components/{CasinoMostPlayedSection-fwCxYxEp.cjs → CasinoMostPlayedSection-zfcQ4N68.cjs} +1 -1
- package/components/{CasinoMyGames-D5jH8lu_.js → CasinoMyGames-BICHn490.js} +3 -3
- package/components/{CasinoMyGames-5EDtkMnj.cjs → CasinoMyGames-CsLVF6jp.cjs} +1 -1
- package/components/{CasinoMyGames-C2kQ8Kej.js → CasinoMyGames-D2JlK2FG.js} +3 -3
- package/components/{CasinoPage-Dc9zsqhK.js → CasinoPage-BKIXFpTy.js} +1637 -1637
- package/components/CasinoPage-DldDXHiD.cjs +1 -0
- package/components/{CasinoPage-BgHbGm-g.js → CasinoPage-Dsb7hsCV.js} +1600 -1600
- package/components/{CasinoSearch-_Q2V5zZj.js → CasinoSearch-BunxlPeC.js} +33 -33
- package/components/{CasinoSearch-KJl38A6K.js → CasinoSearch-CzQKu674.js} +33 -33
- package/components/CasinoSearch-GuiyA6qP.cjs +1 -0
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGamesCategorySection-CsL3VdHS.cjs +0 -1
- package/components/CasinoPage-DYbiUa8_.cjs +0 -1
- package/components/CasinoSearch-DEbU_mnO.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, R as Ye, r as f, V as he, h as G, p as b, A as Y, j as R, B as
|
|
1
|
+
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, R as Ye, r as f, V as he, h as G, p as b, A as Y, j as R, B as N, F as de, O as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as ge, w as Qe, G as Le, E as u, J as $e, K as et, L as tt, M as at, N as nt } from "./CasinoCalendar-DF0Pr_uv.js";
|
|
2
2
|
import { d as rt } from "./CasinoGameThumbnail-DCRwj3vq.js";
|
|
3
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
+
import "./CasinoGamesCategorySection-duJpxi3h.js";
|
|
4
4
|
function fe(t, e) {
|
|
5
5
|
He(t, e);
|
|
6
6
|
}
|
|
@@ -221,7 +221,7 @@ function lt(t, e) {
|
|
|
221
221
|
return a.getTime() < n.getTime();
|
|
222
222
|
}
|
|
223
223
|
function it(t) {
|
|
224
|
-
Ze(t, "svelte-
|
|
224
|
+
Ze(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}");
|
|
225
225
|
}
|
|
226
226
|
function be(t, e, a) {
|
|
227
227
|
const n = t.slice();
|
|
@@ -282,7 +282,7 @@ function ct(t) {
|
|
|
282
282
|
);
|
|
283
283
|
return {
|
|
284
284
|
c() {
|
|
285
|
-
i && i.c(), e =
|
|
285
|
+
i && i.c(), e = N(), a = R("div"), c && c.c(), n = N(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
286
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
287
287
|
},
|
|
288
288
|
m(h, g) {
|
|
@@ -355,7 +355,7 @@ function dt(t) {
|
|
|
355
355
|
);
|
|
356
356
|
return {
|
|
357
357
|
c() {
|
|
358
|
-
n && n.c(), e =
|
|
358
|
+
n && n.c(), e = N(), r && r.c(), a = Le();
|
|
359
359
|
},
|
|
360
360
|
m(l, s) {
|
|
361
361
|
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l, a, s);
|
|
@@ -402,7 +402,7 @@ function ve(t) {
|
|
|
402
402
|
);
|
|
403
403
|
return {
|
|
404
404
|
c() {
|
|
405
|
-
e = R("div"), i && i.c(), a =
|
|
405
|
+
e = R("div"), i && i.c(), a = N(), n = R("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
406
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
407
407
|
},
|
|
408
408
|
m(c, m) {
|
|
@@ -684,7 +684,7 @@ function Ce(t) {
|
|
|
684
684
|
);
|
|
685
685
|
return {
|
|
686
686
|
c() {
|
|
687
|
-
e = R("div"), g && g.c(), a =
|
|
687
|
+
e = R("div"), g && g.c(), a = N(), n = R("p"), l = H(r), s = N(), i = R("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
688
688
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
689
689
|
},
|
|
690
690
|
m(w, d) {
|
|
@@ -720,7 +720,7 @@ function Fe(t) {
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function mt(t) {
|
|
723
|
-
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B,
|
|
723
|
+
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, z, x, V, A, W, v = (
|
|
724
724
|
/*cancelbutton*/
|
|
725
725
|
t[9] === "true" && _e(t)
|
|
726
726
|
);
|
|
@@ -733,11 +733,11 @@ function mt(t) {
|
|
|
733
733
|
let M = E(t), k = M(t);
|
|
734
734
|
return {
|
|
735
735
|
c() {
|
|
736
|
-
e = R("div"), a = R("div"), n = R("div"), r = R("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 =
|
|
736
|
+
e = R("div"), a = R("div"), n = R("div"), r = R("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 = R("input"), c = N(), m = R("span"), h = de("svg"), g = de("path"), d = N(), v && v.c(), B = N(), z = R("div"), V = N(), k.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
737
737
|
t[21]("placeHolderSearchGames")), f(s, "maxlength", gt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
738
738
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
739
739
|
(t[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
740
|
-
(t[13] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(
|
|
740
|
+
(t[13] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(z, "class", x = /*cancelbutton*/
|
|
741
741
|
t[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ae(
|
|
742
742
|
/*userAgent*/
|
|
743
743
|
t[22]
|
|
@@ -748,7 +748,7 @@ function mt(t) {
|
|
|
748
748
|
s,
|
|
749
749
|
/*searchValue*/
|
|
750
750
|
t[12]
|
|
751
|
-
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e,
|
|
751
|
+
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e, z), b(e, V), k.m(e, null), t[37](e), A || (W = [
|
|
752
752
|
Y(
|
|
753
753
|
s,
|
|
754
754
|
"input",
|
|
@@ -768,7 +768,7 @@ function mt(t) {
|
|
|
768
768
|
t[35]
|
|
769
769
|
),
|
|
770
770
|
Y(
|
|
771
|
-
|
|
771
|
+
z,
|
|
772
772
|
"click",
|
|
773
773
|
/*handleOverlay*/
|
|
774
774
|
t[24]
|
|
@@ -792,7 +792,7 @@ function mt(t) {
|
|
|
792
792
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
793
793
|
(_[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
794
794
|
512 && x !== (x = /*cancelbutton*/
|
|
795
|
-
_[9] != "true" ? "OverlayCancel" : "") && f(
|
|
795
|
+
_[9] != "true" ? "OverlayCancel" : "") && f(z, "class", x), M === (M = E(_)) && k ? k.p(_, T) : (k.d(1), k = M(_), k && (k.c(), k.m(e, null)));
|
|
796
796
|
},
|
|
797
797
|
i: ue,
|
|
798
798
|
o: ue,
|
|
@@ -805,7 +805,7 @@ let gt = 50;
|
|
|
805
805
|
function ft(t, e, a) {
|
|
806
806
|
let n;
|
|
807
807
|
Ke(t, nt, (o) => a(21, n = o));
|
|
808
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites:
|
|
808
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: z = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], E = [], M = {}, k = "", _, T = !0, J = !1, D = !1, P, K = !1, X, Q, re = [];
|
|
809
809
|
const Te = () => {
|
|
810
810
|
fetch(B).then((S) => S.json()).then((S) => {
|
|
811
811
|
Object.keys(S).forEach((y) => {
|
|
@@ -819,7 +819,7 @@ function ft(t, e, a) {
|
|
|
819
819
|
fe(o, pe[o]);
|
|
820
820
|
});
|
|
821
821
|
const oe = (o) => {
|
|
822
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
822
|
+
o.data && o.data.type == "SearchedItemClicked" && ze(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
|
|
823
823
|
}, se = () => {
|
|
824
824
|
if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
|
|
825
825
|
a(15, v = []);
|
|
@@ -846,30 +846,30 @@ function ft(t, e, a) {
|
|
|
846
846
|
}, je = () => {
|
|
847
847
|
x != "true" && $();
|
|
848
848
|
}, Ge = (o) => new Promise((S, y) => {
|
|
849
|
-
a(18,
|
|
850
|
-
a(18,
|
|
849
|
+
a(18, D = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
850
|
+
a(18, D = !1), S(C);
|
|
851
851
|
}).catch((C) => {
|
|
852
|
-
a(18,
|
|
852
|
+
a(18, D = !1), console.error(C), y(C);
|
|
853
853
|
});
|
|
854
854
|
}), Ie = (o, S) => new Promise((y, C) => {
|
|
855
|
-
a(18,
|
|
856
|
-
a(18,
|
|
855
|
+
a(18, D = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, D = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
856
|
+
a(18, D = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
|
|
857
857
|
}).catch((F) => {
|
|
858
|
-
a(18,
|
|
858
|
+
a(18, D = !1), console.error(F), C(F);
|
|
859
859
|
});
|
|
860
860
|
}), Ee = () => {
|
|
861
861
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
862
|
-
a(18,
|
|
862
|
+
a(18, D = !0);
|
|
863
863
|
let S = {
|
|
864
864
|
method: "GET",
|
|
865
865
|
headers: { "X-SessionID": X }
|
|
866
866
|
};
|
|
867
867
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
868
|
-
a(18,
|
|
868
|
+
a(18, D = !1), re = y.items.map((C) => C.id);
|
|
869
869
|
});
|
|
870
|
-
},
|
|
870
|
+
}, De = () => {
|
|
871
871
|
a(32, K = !0), a(19, X = s), a(20, Q = i);
|
|
872
|
-
}, le = (o) => re.findIndex((S) => S == o) !== -1,
|
|
872
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, Ne = (o) => {
|
|
873
873
|
if (o?.length === 0)
|
|
874
874
|
return "";
|
|
875
875
|
let S, y = 99999999999, C;
|
|
@@ -878,13 +878,13 @@ function ft(t, e, a) {
|
|
|
878
878
|
const qe = new Date(I.schedules[0].startTime), te = new Date(I.schedules[0].endTime);
|
|
879
879
|
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
|
|
880
880
|
}), S;
|
|
881
|
-
},
|
|
881
|
+
}, ze = (o) => {
|
|
882
882
|
if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
|
|
883
883
|
let S;
|
|
884
884
|
E.unshift(o), S = E.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
885
885
|
}
|
|
886
886
|
}, $ = () => {
|
|
887
|
-
a(12, k = ""), a(13, T = !0), a(18,
|
|
887
|
+
a(12, k = ""), a(13, T = !0), a(18, D = !1), a(15, v = []), a(17, J = !1), ce(J);
|
|
888
888
|
}, ie = () => {
|
|
889
889
|
a(12, k = ""), _.focus();
|
|
890
890
|
}, ce = (o) => {
|
|
@@ -916,7 +916,7 @@ function ft(t, e, a) {
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
return t.$$set = (o) => {
|
|
919
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, 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, g = 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(31, B = o.translationurl), "showfavorites" in o && a(8,
|
|
919
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, 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, g = 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(31, B = o.translationurl), "showfavorites" in o && a(8, z = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
920
920
|
}, t.$$.update = () => {
|
|
921
921
|
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
922
922
|
268447747)
|
|
@@ -930,9 +930,9 @@ function ft(t, e, a) {
|
|
|
930
930
|
t.$$.dirty[0] & /*lang*/
|
|
931
931
|
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
932
932
|
1 && B && Te(), t.$$.dirty[0] & /*session, userid*/
|
|
933
|
-
1610612736 && s && i &&
|
|
933
|
+
1610612736 && s && i && De(), t.$$.dirty[0] & /*showfavorites*/
|
|
934
934
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
935
|
-
2 &&
|
|
935
|
+
2 && z && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
936
936
|
16388 && m && P && $e(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
937
937
|
16392 && h && P && et(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
938
938
|
18432 && P && tt(P, `${A}.Style`);
|
|
@@ -945,7 +945,7 @@ function ft(t, e, a) {
|
|
|
945
945
|
w,
|
|
946
946
|
d,
|
|
947
947
|
p,
|
|
948
|
-
|
|
948
|
+
z,
|
|
949
949
|
x,
|
|
950
950
|
V,
|
|
951
951
|
A,
|
|
@@ -955,14 +955,14 @@ function ft(t, e, a) {
|
|
|
955
955
|
v,
|
|
956
956
|
_,
|
|
957
957
|
J,
|
|
958
|
-
|
|
958
|
+
D,
|
|
959
959
|
X,
|
|
960
960
|
Q,
|
|
961
961
|
n,
|
|
962
962
|
W,
|
|
963
963
|
se,
|
|
964
964
|
je,
|
|
965
|
-
|
|
965
|
+
Ne,
|
|
966
966
|
$,
|
|
967
967
|
ie,
|
|
968
968
|
l,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, R as Ye, r as g, V as he, h as G, p as b, A as Y, j as R, B as
|
|
1
|
+
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, R as Ye, r as g, V as he, h as G, p as b, A as Y, j as R, B as N, F as de, O as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as fe, w as Qe, G as Le, E as u, J as $e, K as et, L as tt, M as at, N as nt } from "./CasinoCalendar-CNMPPqgx.js";
|
|
2
2
|
import { d as rt } from "./CasinoGameThumbnail-DUG_Uqdj.js";
|
|
3
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
+
import "./CasinoGamesCategorySection-Zo8E4vzJ.js";
|
|
4
4
|
function ge(t, e) {
|
|
5
5
|
He(t, e);
|
|
6
6
|
}
|
|
@@ -221,7 +221,7 @@ function lt(t, e) {
|
|
|
221
221
|
return a.getTime() < n.getTime();
|
|
222
222
|
}
|
|
223
223
|
function it(t) {
|
|
224
|
-
Ze(t, "svelte-
|
|
224
|
+
Ze(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}");
|
|
225
225
|
}
|
|
226
226
|
function be(t, e, a) {
|
|
227
227
|
const n = t.slice();
|
|
@@ -282,7 +282,7 @@ function ct(t) {
|
|
|
282
282
|
);
|
|
283
283
|
return {
|
|
284
284
|
c() {
|
|
285
|
-
i && i.c(), e =
|
|
285
|
+
i && i.c(), e = N(), a = R("div"), c && c.c(), n = N(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
286
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
287
287
|
},
|
|
288
288
|
m(h, f) {
|
|
@@ -355,7 +355,7 @@ function dt(t) {
|
|
|
355
355
|
);
|
|
356
356
|
return {
|
|
357
357
|
c() {
|
|
358
|
-
n && n.c(), e =
|
|
358
|
+
n && n.c(), e = N(), r && r.c(), a = Le();
|
|
359
359
|
},
|
|
360
360
|
m(l, s) {
|
|
361
361
|
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l, a, s);
|
|
@@ -402,7 +402,7 @@ function ve(t) {
|
|
|
402
402
|
);
|
|
403
403
|
return {
|
|
404
404
|
c() {
|
|
405
|
-
e = R("div"), i && i.c(), a =
|
|
405
|
+
e = R("div"), i && i.c(), a = N(), n = R("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
406
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
407
407
|
},
|
|
408
408
|
m(c, m) {
|
|
@@ -564,7 +564,7 @@ function Re(t) {
|
|
|
564
564
|
G(d, e, p);
|
|
565
565
|
},
|
|
566
566
|
p(d, p) {
|
|
567
|
-
var
|
|
567
|
+
var z;
|
|
568
568
|
p[0] & /*endpoint*/
|
|
569
569
|
1 && u(
|
|
570
570
|
e,
|
|
@@ -607,7 +607,7 @@ function Re(t) {
|
|
|
607
607
|
32768 && s !== (s = /*game*/
|
|
608
608
|
d[53].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
609
609
|
32768 && i !== (i = /*game*/
|
|
610
|
-
((
|
|
610
|
+
((z = d[53].advancedTags) == null ? void 0 : z.length) > 0 && /*addGameTag*/
|
|
611
611
|
d[25](
|
|
612
612
|
/*game*/
|
|
613
613
|
d[53].advancedTags
|
|
@@ -686,7 +686,7 @@ function Ce(t) {
|
|
|
686
686
|
);
|
|
687
687
|
return {
|
|
688
688
|
c() {
|
|
689
|
-
e = R("div"), f && f.c(), a =
|
|
689
|
+
e = R("div"), f && f.c(), a = N(), n = R("p"), l = H(r), s = N(), i = R("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
690
690
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
691
691
|
},
|
|
692
692
|
m(w, d) {
|
|
@@ -722,7 +722,7 @@ function Fe(t) {
|
|
|
722
722
|
};
|
|
723
723
|
}
|
|
724
724
|
function mt(t) {
|
|
725
|
-
let e, a, n, r, l, s, i, c, m, h, f, w, d, p,
|
|
725
|
+
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, z, P, M, V, A, W, v = (
|
|
726
726
|
/*cancelbutton*/
|
|
727
727
|
t[9] === "true" && _e(t)
|
|
728
728
|
);
|
|
@@ -735,7 +735,7 @@ function mt(t) {
|
|
|
735
735
|
let B = E(t), k = B(t);
|
|
736
736
|
return {
|
|
737
737
|
c() {
|
|
738
|
-
e = R("div"), a = R("div"), n = R("div"), r = R("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 =
|
|
738
|
+
e = R("div"), a = R("div"), n = R("div"), r = R("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 = R("input"), c = N(), m = R("span"), h = de("svg"), f = de("path"), d = N(), v && v.c(), z = N(), P = R("div"), V = N(), k.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
739
739
|
t[21]("placeHolderSearchGames")), g(s, "maxlength", ft), 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*/
|
|
740
740
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
741
741
|
(t[12].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -750,7 +750,7 @@ function mt(t) {
|
|
|
750
750
|
s,
|
|
751
751
|
/*searchValue*/
|
|
752
752
|
t[12]
|
|
753
|
-
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e,
|
|
753
|
+
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, z), b(e, P), b(e, V), k.m(e, null), t[37](e), A || (W = [
|
|
754
754
|
Y(
|
|
755
755
|
s,
|
|
756
756
|
"input",
|
|
@@ -807,9 +807,9 @@ let ft = 50;
|
|
|
807
807
|
function gt(t, e, a) {
|
|
808
808
|
let n;
|
|
809
809
|
Ke(t, nt, (o) => a(21, n = o));
|
|
810
|
-
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:
|
|
810
|
+
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: z = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], E = [], B = {}, k = "", _, T = !0, J = !1, D = !1, x, K = !1, X, Q, re = [];
|
|
811
811
|
const Te = () => {
|
|
812
|
-
fetch(
|
|
812
|
+
fetch(z).then((S) => S.json()).then((S) => {
|
|
813
813
|
Object.keys(S).forEach((y) => {
|
|
814
814
|
ge(y, S[y]);
|
|
815
815
|
});
|
|
@@ -821,7 +821,7 @@ function gt(t, e, a) {
|
|
|
821
821
|
ge(o, pe[o]);
|
|
822
822
|
});
|
|
823
823
|
const oe = (o) => {
|
|
824
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
824
|
+
o.data && o.data.type == "SearchedItemClicked" && ze(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
|
|
825
825
|
}, se = () => {
|
|
826
826
|
if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
|
|
827
827
|
a(15, v = []);
|
|
@@ -848,30 +848,30 @@ function gt(t, e, a) {
|
|
|
848
848
|
}, je = () => {
|
|
849
849
|
M != "true" && $();
|
|
850
850
|
}, Ge = (o) => new Promise((S, y) => {
|
|
851
|
-
a(18,
|
|
852
|
-
a(18,
|
|
851
|
+
a(18, D = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
852
|
+
a(18, D = !1), S(C);
|
|
853
853
|
}).catch((C) => {
|
|
854
|
-
a(18,
|
|
854
|
+
a(18, D = !1), console.error(C), y(C);
|
|
855
855
|
});
|
|
856
856
|
}), Ie = (o, S) => new Promise((y, C) => {
|
|
857
|
-
a(18,
|
|
858
|
-
a(18,
|
|
857
|
+
a(18, D = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, D = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
858
|
+
a(18, D = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
|
|
859
859
|
}).catch((F) => {
|
|
860
|
-
a(18,
|
|
860
|
+
a(18, D = !1), console.error(F), C(F);
|
|
861
861
|
});
|
|
862
862
|
}), Ee = () => {
|
|
863
863
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
864
|
-
a(18,
|
|
864
|
+
a(18, D = !0);
|
|
865
865
|
let S = {
|
|
866
866
|
method: "GET",
|
|
867
867
|
headers: { "X-SessionID": X }
|
|
868
868
|
};
|
|
869
869
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
870
|
-
a(18,
|
|
870
|
+
a(18, D = !1), re = y.items.map((C) => C.id);
|
|
871
871
|
});
|
|
872
|
-
},
|
|
872
|
+
}, De = () => {
|
|
873
873
|
a(32, K = !0), a(19, X = s), a(20, Q = i);
|
|
874
|
-
}, le = (o) => re.findIndex((S) => S == o) !== -1,
|
|
874
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, Ne = (o) => {
|
|
875
875
|
if ((o == null ? void 0 : o.length) === 0)
|
|
876
876
|
return "";
|
|
877
877
|
let S, y = 99999999999, C;
|
|
@@ -880,13 +880,13 @@ function gt(t, e, a) {
|
|
|
880
880
|
const qe = new Date(I.schedules[0].startTime), te = new Date(I.schedules[0].endTime);
|
|
881
881
|
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
|
|
882
882
|
}), S;
|
|
883
|
-
},
|
|
883
|
+
}, ze = (o) => {
|
|
884
884
|
if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
|
|
885
885
|
let S;
|
|
886
886
|
E.unshift(o), S = E.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
887
887
|
}
|
|
888
888
|
}, $ = () => {
|
|
889
|
-
a(12, k = ""), a(13, T = !0), a(18,
|
|
889
|
+
a(12, k = ""), a(13, T = !0), a(18, D = !1), a(15, v = []), a(17, J = !1), ce(J);
|
|
890
890
|
}, ie = () => {
|
|
891
891
|
a(12, k = ""), _.focus();
|
|
892
892
|
}, ce = (o) => {
|
|
@@ -918,7 +918,7 @@ function gt(t, e, a) {
|
|
|
918
918
|
});
|
|
919
919
|
}
|
|
920
920
|
return t.$$set = (o) => {
|
|
921
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, 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(31,
|
|
921
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, 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(31, z = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
922
922
|
}, t.$$.update = () => {
|
|
923
923
|
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
924
924
|
268447747)
|
|
@@ -931,8 +931,8 @@ function gt(t, e, a) {
|
|
|
931
931
|
T || se();
|
|
932
932
|
t.$$.dirty[0] & /*lang*/
|
|
933
933
|
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
934
|
-
1 &&
|
|
935
|
-
1610612736 && s && i &&
|
|
934
|
+
1 && z && Te(), t.$$.dirty[0] & /*session, userid*/
|
|
935
|
+
1610612736 && s && i && De(), t.$$.dirty[0] & /*showfavorites*/
|
|
936
936
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
937
937
|
2 && P && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
938
938
|
16388 && m && x && $e(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -957,20 +957,20 @@ function gt(t, e, a) {
|
|
|
957
957
|
v,
|
|
958
958
|
_,
|
|
959
959
|
J,
|
|
960
|
-
|
|
960
|
+
D,
|
|
961
961
|
X,
|
|
962
962
|
Q,
|
|
963
963
|
n,
|
|
964
964
|
W,
|
|
965
965
|
se,
|
|
966
966
|
je,
|
|
967
|
-
|
|
967
|
+
Ne,
|
|
968
968
|
$,
|
|
969
969
|
ie,
|
|
970
970
|
l,
|
|
971
971
|
s,
|
|
972
972
|
i,
|
|
973
|
-
|
|
973
|
+
z,
|
|
974
974
|
K,
|
|
975
975
|
xe,
|
|
976
976
|
Me,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DoxssdOG.cjs"),Le=require("./CasinoGameThumbnail-ODsH-VZ2.cjs");require("./CasinoGamesCategorySection-C3vEnV4u.cjs");function $(a,t){e.addMessages(a,t)}function Te(a){e.$locale.set(a)}const ee={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function V(a){"@babel/helpers - typeof";return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(a)}function W(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function x(a){W(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||V(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function te(a,t){return W(2,arguments),x(a).getTime()-x(t).getTime()}function je(a,t){W(2,arguments);var n=x(a),r=x(t);return n.getTime()>r.getTime()}function De(a,t){W(2,arguments);var n=x(a),r=x(t);return n.getTime()<r.getTime()}function Ge(a){e.append_styles(a,"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}")}function ae(a,t,n){const r=a.slice();return r[53]=t[n],r}function ne(a){let t,n=a[21]("cancel")+"",r,o,i,l;return{c(){t=e.element("small"),r=e.text(n),e.attr(t,"class",o="SearchCancelButton "+(a[13]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",a[36]),i=!0)},p(c,u){u[0]&2097152&&n!==(n=c[21]("cancel")+"")&&e.set_data(r,n),u[0]&8192&&o!==(o="SearchCancelButton "+(c[13]?"NotVisible":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),i=!1,l()}}}function Ie(a){let t,n,r,o;function i(d,f){if(d[17]==!0&&d[12].length<2)return Ne;if(d[15].length!=0)return ze}let l=i(a),c=l&&l(a),u=a[13]===!1&&le(a),h=a[12].length>=2&&a[15].length==0&&ce(a);return{c(){c&&c.c(),t=e.space(),n=e.element("div"),u&&u.c(),r=e.space(),h&&h.c(),e.attr(n,"class",o="SearchResultsContainer "+(a[17]==!0?"":"NotVisible"))},m(d,f){c&&c.m(d,f),e.insert(d,t,f),e.insert(d,n,f),u&&u.m(n,null),e.append(n,r),h&&h.m(n,null)},p(d,f){l===(l=i(d))&&c?c.p(d,f):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[13]===!1?u?u.p(d,f):(u=le(d),u.c(),u.m(n,r)):u&&(u.d(1),u=null),d[12].length>=2&&d[15].length==0?h?h.p(d,f):(h=ce(d),h.c(),h.m(n,null)):h&&(h.d(1),h=null),f[0]&131072&&o!==(o="SearchResultsContainer "+(d[17]==!0?"":"NotVisible"))&&e.attr(n,"class",o)},d(d){d&&(e.detach(t),e.detach(n)),c&&c.d(d),u&&u.d(),h&&h.d()}}}function Ee(a){let t,n=a[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","LoadingContent")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("loading")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function ze(a){let t,n=a[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("searchResult")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function Ne(a){let t,n,r=a[15].length!==0&&re(a),o=a[15].length==0&&oe(a);return{c(){r&&r.c(),t=e.space(),o&&o.c(),n=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),o&&o.m(i,l),e.insert(i,n,l)},p(i,l){i[15].length!==0?r?r.p(i,l):(r=re(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?o?o.p(i,l):(o=oe(i),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(i){i&&(e.detach(t),e.detach(n)),r&&r.d(i),o&&o.d(i)}}}function re(a){let t,n=a[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("recentSearch")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function oe(a){let t,n,r,o=a[21]("noRecentSearches")+"",i,l,c=a[10]==="true"&&se();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),r=e.element("p"),i=e.text(o),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(u,h){e.insert(u,t,h),c&&c.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i)},p(u,h){u[10]==="true"?c||(c=se(),c.c(),c.m(t,n)):c&&(c.d(1),c=null),h[0]&2097152&&o!==(o=u[21]("noRecentSearches")+"")&&e.set_data(i,o),h[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function se(a){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function le(a){let t,n=e.ensure_array_like(a[15]),r=[];for(let o=0;o<n.length;o+=1)r[o]=ie(ae(a,n,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();t=e.empty()},m(o,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(o,i);e.insert(o,t,i)},p(o,i){if(i[0]&35162623){n=e.ensure_array_like(o[15]);let l;for(l=0;l<n.length;l+=1){const c=ae(o,n,l);r[l]?r[l].p(c,i):(r[l]=ie(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=n.length}},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function ie(a){let t,n,r,o,i,l,c,u,h,d,f,S;return{c(){var m;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",a[0]),e.set_custom_element_data(t,"session",a[19]),e.set_custom_element_data(t,"userid",a[20]),e.set_custom_element_data(t,"favorites",a[8]),e.set_custom_element_data(t,"lang",a[1]),e.set_custom_element_data(t,"gamethumbnail",n=a[53].thumbnail),e.set_custom_element_data(t,"gamename",r=a[53].name),e.set_custom_element_data(t,"gamevendor",o=a[53].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=a[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=a[53].isNew),e.set_custom_element_data(t,"gametag",c=((m=a[53].advancedTags)==null?void 0:m.length)>0&&a[25](a[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=a[53].cellSize),e.set_custom_element_data(t,"gameid",h=a[53].id),e.set_custom_element_data(t,"showgamename",a[6]),e.set_custom_element_data(t,"gamefunmode",d=a[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=a[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=a[53].details?a[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",a[4]),e.set_custom_element_data(t,"mbsource",a[11]),e.set_custom_element_data(t,"integratedgameframemobile",a[5]),e.set_custom_element_data(t,"clientstyling",a[2]),e.set_custom_element_data(t,"clientstylingurl",a[3]),e.set_custom_element_data(t,"gamepagemodalurl",a[7])},m(m,g){e.insert(m,t,g)},p(m,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",m[0]),g[0]&524288&&e.set_custom_element_data(t,"session",m[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",m[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",m[8]),g[0]&2&&e.set_custom_element_data(t,"lang",m[1]),g[0]&32768&&n!==(n=m[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),g[0]&32768&&r!==(r=m[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&o!==(o=m[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",o),g[0]&32768&&i!==(i=m[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=m[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((T=m[53].advancedTags)==null?void 0:T.length)>0&&m[25](m[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=m[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&h!==(h=m[53].id)&&e.set_custom_element_data(t,"gameid",h),g[0]&64&&e.set_custom_element_data(t,"showgamename",m[6]),g[0]&32768&&d!==(d=m[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),g[0]&32768&&f!==(f=m[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&32768&&S!==(S=m[53].details?m[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",m[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",m[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",m[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",m[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",m[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",m[7])},d(m){m&&e.detach(t)}}}function ce(a){let t,n,r,o=a[21]("notFound")+"",i,l,c,u=a[21]("notFoundText")+"",h,d,f=a[10]==="true"&&ue();return{c(){t=e.element("div"),f&&f.c(),n=e.space(),r=e.element("p"),i=e.text(o),l=e.space(),c=e.element("p"),h=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(S,m){e.insert(S,t,m),f&&f.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,h)},p(S,m){S[10]==="true"?f||(f=ue(),f.c(),f.m(t,n)):f&&(f.d(1),f=null),m[0]&2097152&&o!==(o=S[21]("notFound")+"")&&e.set_data(i,o),m[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(h,u),m[0]&1024&&d!==(d="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(S){S&&e.detach(t),f&&f.d()}}}function ue(a){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function xe(a){let t,n,r,o,i,l,c,u,h,d,f,S,m,g,T,j,G,P,E,N,b=a[9]==="true"&&ne(a);function F(_,C){return _[18]?Ee:Ie}let I=F(a),v=I(a);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("div"),o=e.element("div"),o.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>',i=e.space(),l=e.element("input"),u=e.space(),h=e.element("span"),d=e.svg_element("svg"),f=e.svg_element("path"),m=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),v.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=a[21]("placeHolderSearchGames")),e.attr(l,"maxlength",Pe),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(d,"width","11"),e.attr(d,"height","11"),e.attr(d,"fill","none"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class",S="SearchClearButton "+(a[9]!="true"?"WithoutCancel":"")+" "+(a[12].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(a[13]?"":"SearchAnimation")),e.attr(n,"class","SearchWrap"),e.attr(j,"class",G=a[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(a[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,C){e.insert(_,t,C),e.append(t,n),e.append(n,r),e.append(r,o),e.append(r,i),e.append(r,l),e.set_input_value(l,a[12]),a[34](l),e.append(r,u),e.append(r,h),e.append(h,d),e.append(d,f),e.append(r,m),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),v.m(t,null),a[37](t),E||(N=[e.listen(l,"input",a[33]),e.listen(l,"focus",a[23]),e.listen(h,"click",a[35]),e.listen(j,"click",a[24])],E=!0)},p(_,C){C[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),C[0]&4096&&l.value!==_[12]&&e.set_input_value(l,_[12]),C[0]&4608&&S!==(S="SearchClearButton "+(_[9]!="true"?"WithoutCancel":"")+" "+(_[12].length!=0?"":"NotVisible"))&&e.attr(h,"class",S),_[9]==="true"?b?b.p(_,C):(b=ne(_),b.c(),b.m(r,null)):b&&(b.d(1),b=null),C[0]&8192&&g!==(g="Search "+(_[13]?"":"SearchAnimation"))&&e.attr(r,"class",g),C[0]&512&&G!==(G=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",G),I===(I=F(_))&&v?v.p(_,C):(v.d(1),v=I(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),a[34](null),b&&b.d(),v.d(),a[37](null),E=!1,e.run_all(N)}}}let Pe=50;function Me(a,t,n){let r;e.component_subscribe(a,e.$format,s=>n(21,r=s));let{endpoint:o=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:P="false"}=t,{mbsource:E}=t,N=window.navigator.userAgent,b=[],F=[],I={},v="",_,C=!0,M=!1,L=!1,D,q=!1,A,O,J=[];const me=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{$(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(ee).forEach(s=>{$(s,ee[s])});const Z=s=>{s.data&&s.data.type=="SearchedItemClicked"&&be(s.data.gameId),s.data.type=="UserSessionID"&&(n(19,A=s.data.session),n(20,O=s.data.userid),n(32,q=!0)),s.data.type=="CategoryChange"&&H()},Y=()=>{if(n(13,C=!1),n(17,M=!0),o&&i&&u&&v.length<2){n(15,b=[]);let s=localStorage.getItem("searchedGamesWds_casino"),p=[];s&&(p=s.split(","));let w=[],y=0,k=p.length;if(k>0){for(y=0;y<k;y++){let R=new URL(`${o}/v1/casino/games/${p[y]}`);R.searchParams.append("language",u),R.searchParams.append("datasource",i),R.searchParams.append("platform",e.getDevice(N)),w.push(ge(R,p[y]))}Promise.all(w).then(R=>{R=R.filter(function(z){return!!z}),n(15,b=R.map(z=>(z.isFavorite=X(z.id),z))),b.length?B("searchSuccess","SearchWidget"):B("searchFail","SearchWidget")}).catch(R=>{B("searchError","SearchWidget")})}}Q(M),B("searchAttempt","SearchWidget"),B("SearchInitialized","SearchWidget")},B=(s,p)=>{typeof gtag=="function"&>ag("event",s,{context:p})},he=()=>{G!="true"&&H()},fe=s=>new Promise((p,w)=>{n(18,L=!0),fetch(s.href).then(y=>y.json()).then(y=>{n(18,L=!1),p(y)}).catch(y=>{n(18,L=!1),console.error(y),w(y)})}),ge=(s,p)=>new Promise((w,y)=>{n(18,L=!0),p&&Object.keys(I).indexOf(p)>=0?(n(18,L=!1),w(I[p])):fetch(s).then(k=>k.json()).then(k=>{n(18,L=!1),k.error||(I[k[0].gameId]=k[0]),w(k[0])}).catch(k=>{n(18,L=!1),console.error(k),y(k)})}),pe=()=>{const s=new URL(`${o}/v1/player/${O}/favorites/`);n(18,L=!0);let p={method:"GET",headers:{"X-SessionID":A}};fetch(s.href,p).then(w=>w.json()).then(w=>{n(18,L=!1),J=w.items.map(y=>y.id)})},_e=()=>{n(32,q=!0),n(19,A=l),n(20,O=c)},X=s=>J.findIndex(p=>p==s)!==-1,Se=s=>{if((s==null?void 0:s.length)===0)return"";let p,w=99999999999,y;const k=new Date(Date.now());return s.forEach((R,z)=>{const Fe=new Date(R.schedules[0].startTime),U=new Date(R.schedules[0].endTime);te(new Date(U),new Date(k))<w&&(w=te(new Date(U),new Date(k)),y=z),je(new Date(k),new Date(Fe))&&De(new Date(k),new Date(U))&&(p=s[y].name)}),p},be=s=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(s)===-1){let p;F.unshift(s),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},H=()=>{n(12,v=""),n(13,C=!0),n(18,L=!1),n(15,b=[]),n(17,M=!1),Q(M)},K=()=>{n(12,v=""),_.focus()},Q=s=>{window.postMessage({type:s===!0?"searchActive":"searchCancelled",searchStatus:s},window.location.href)},we=()=>{Te(u)};e.onMount(()=>(window.addEventListener("message",Z,!1),()=>{window.removeEventListener("message",Z)}));function ve(){v=this.value,n(12,v)}function ye(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(16,_)})}const ke=()=>K(),Ce=()=>H();function Re(s){e.binding_callbacks[s?"unshift":"push"](()=>{D=s,n(14,D)})}return a.$$set=s=>{"endpoint"in s&&n(0,o=s.endpoint),"datasource"in s&&n(28,i=s.datasource),"session"in s&&n(29,l=s.session),"userid"in s&&n(30,c=s.userid),"lang"in s&&n(1,u=s.lang),"clientstyling"in s&&n(2,h=s.clientstyling),"clientstylingurl"in s&&n(3,d=s.clientstylingurl),"integratedgameframedesktop"in s&&n(4,f=s.integratedgameframedesktop),"integratedgameframemobile"in s&&n(5,S=s.integratedgameframemobile),"showgamename"in s&&n(6,m=s.showgamename),"gamepagemodalurl"in s&&n(7,g=s.gamepagemodalurl),"translationurl"in s&&n(31,T=s.translationurl),"showfavorites"in s&&n(8,j=s.showfavorites),"cancelbutton"in s&&n(9,G=s.cancelbutton),"notfoundicon"in s&&n(10,P=s.notfoundicon),"mbsource"in s&&n(11,E=s.mbsource)},a.$$.update=()=>{if(a.$$.dirty[0]&268447747)if(v.length>=2){const s=new URL(`${o}/v1/casino/games`);s.searchParams.append("datasource",i),s.searchParams.append("expand","vendor"),s.searchParams.append("platform",e.getDevice(N)),s.searchParams.append("language",u),s.searchParams.append("pagination","offset=0,limit=30"),s.searchParams.append("filter",`name=${v}`),fe(s).then(p=>{Le.dispatchCustomEvent("game_search",{searchValue:v}),n(15,b=p.items.map(w=>(w.isFavorite=X(w.id),w)))})}else C||Y();a.$$.dirty[0]&2&&u&&we(),a.$$.dirty[1]&1&&T&&me(),a.$$.dirty[0]&1610612736&&l&&c&&_e(),a.$$.dirty[0]&256|a.$$.dirty[1]&2&&j&&q&&pe(),a.$$.dirty[0]&16388&&h&&D&&e.setClientStyling(D,h),a.$$.dirty[0]&16392&&d&&D&&e.setClientStylingURL(D,d),a.$$.dirty[0]&18432&&D&&e.setStreamStyling(D,`${E}.Style`)},[o,u,h,d,f,S,m,g,j,G,P,E,v,C,D,b,_,M,L,A,O,r,N,Y,he,Se,H,K,i,l,c,T,q,ve,ye,ke,Ce,Re]}class de extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Me,xe,e.safe_not_equal,{endpoint:0,datasource:28,session:29,userid:30,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:31,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},Ge,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[28]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(de,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=de;
|
package/es2015/casino-lobby.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-ByANgzRN.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
|
package/es2015/casino-lobby.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoLobby-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoLobby-DeIv0o2d.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-lobby.js
CHANGED