@everymatrix/casino-page-nd 1.54.4 → 1.54.8
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-C6a9eFaO.cjs +6 -0
- package/components/CasinoCalendar-DDVrqLgy.js +5038 -0
- package/components/{CasinoCalendar-pVz7jYqi.js → CasinoCalendar-bbQ7XQxy.js} +472 -480
- package/components/{CasinoCalendarDailyDetails-D7GkfhmR.js → CasinoCalendarDailyDetails-CHDDIjz6.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CjEpB1kl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-qtzYJYlV.js +701 -0
- package/components/{CasinoCalendarDailyItem-CU9qMJji.js → CasinoCalendarDailyItem-Cp39gR0b.js} +46 -46
- package/components/CasinoCalendarDailyItem-DT6c5ba5.js +315 -0
- package/components/CasinoCalendarDailyItem-DbAPROfK.cjs +1 -0
- package/components/CasinoCollectionsProviders-Bat7vjFP.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DxgdPTXN.js → CasinoCollectionsProviders-D0OxJ4mu.js} +54 -54
- package/components/CasinoCollectionsProviders-DFS4nF-f.js +664 -0
- package/components/CasinoFavoritesSectionNd-C-mlwUPF.js +439 -0
- package/components/CasinoFavoritesSectionNd-CAzeF_7i.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-B8EIXq01.js → CasinoFavoritesSectionNd-JRM9DmH3.js} +16 -16
- package/components/CasinoFilter-CcnQf7Ao.js +634 -0
- package/components/CasinoFilter-DzZ9jegE.cjs +1 -0
- package/components/{CasinoFilter-C67EHGOs.js → CasinoFilter-eRlmpVPT.js} +55 -55
- package/components/CasinoGameThumbnailNd-C-oDcBm6.js +4411 -0
- package/components/{CasinoGameThumbnailNd-Dj9aITsK.js → CasinoGameThumbnailNd-DkpEv-Ct.js} +63 -63
- package/components/CasinoGameThumbnailNd-PO04kmzB.cjs +39 -0
- package/components/{CasinoGamesCategorySectionNd-OZ2HaGrH.js → CasinoGamesCategorySectionNd-BeEANQ42.js} +598 -578
- package/components/CasinoGamesCategorySectionNd-CgmxjdqR.cjs +1 -0
- package/components/CasinoGamesCategorySectionNd-DZM4fSnF.js +3003 -0
- package/components/{CasinoJackpotBanner-BRQqqpK8.js → CasinoJackpotBanner-BW3UHeqB.js} +68 -68
- package/components/CasinoJackpotBanner-DyviT8PE.cjs +1 -0
- package/components/CasinoJackpotBanner-PNsV-XdJ.js +618 -0
- package/components/CasinoLastPlayedSectionNd-Bii3bkmh.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd--_9buYZx.js → CasinoLastPlayedSectionNd-Bu825sC-.js} +26 -26
- package/components/CasinoLastPlayedSectionNd-_a-9_9CB.js +566 -0
- package/components/{CasinoMostPlayedSectionNd-umJpV9lP.js → CasinoMostPlayedSectionNd-Bc1CtL3u.js} +32 -32
- package/components/CasinoMostPlayedSectionNd-BeyWzGzL.cjs +1 -0
- package/components/CasinoMostPlayedSectionNd-XrqY9Z0s.js +583 -0
- package/components/{CasinoMyGamesNd-Bosn4XLW.js → CasinoMyGamesNd-5Lcn0-GF.js} +42 -42
- package/components/CasinoMyGamesNd-Bu5gXn9P.js +1317 -0
- package/components/CasinoMyGamesNd-DjSqNSVm.cjs +1 -0
- package/components/CasinoPageNd-BMjB-SDR.js +3548 -0
- package/components/CasinoPageNd-BYE3mgQK.cjs +1 -0
- package/components/{CasinoPageNd-C2EI24cS.js → CasinoPageNd-Cif8W7r5.js} +124 -124
- package/components/CasinoRandomGame-CJ-AjCzR.cjs +2 -0
- package/components/{CasinoRandomGame-BpYrX4Cp.js → CasinoRandomGame-kyYvcZEe.js} +56 -56
- package/components/CasinoRandomGame-pjgjdiS0.js +668 -0
- package/components/CasinoSearchNd-CjA2LSbG.js +1072 -0
- package/components/{CasinoSearchNd-CmTarxBK.js → CasinoSearchNd-DZxa74P3.js} +69 -69
- package/components/CasinoSearchNd-KpuwtpF8.cjs +1 -0
- package/components/CasinoSort-1r13Ud33.cjs +1 -0
- package/components/CasinoSort-CnCgPeXg.js +432 -0
- package/components/{CasinoSort-bFOcp6J4.js → CasinoSort-cgSZzSk9.js} +16 -16
- package/components/CasinoWinners-C__0hS-V.cjs +1 -0
- package/components/{CasinoWinners-BUoqMo1a.js → CasinoWinners-D5G-uBAw.js} +75 -75
- package/components/CasinoWinners-DrSn3Xk6.js +971 -0
- package/components/GeneralAnimationLoading-CLCqZfpz.cjs +1 -0
- package/components/{GeneralAnimationLoading-CC5IRZHm.js → GeneralAnimationLoading-DZ8DpeOD.js} +8 -8
- package/components/GeneralAnimationLoading-Oq6jfcwG.js +75 -0
- package/es2015/casino-page-nd.cjs +1 -0
- package/es2015/casino-page-nd.js +16 -0
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as He, $ as qe, S as We, i as Oe,
|
|
2
|
-
import "./CasinoGamesCategorySectionNd-
|
|
3
|
-
import { h as Q } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { a as He, $ as qe, S as We, i as Oe, s as Ue, f as T, b as Ve, n as le, d as E, M as Je, r as f, R as ie, h as j, p as S, A as J, j as y, B as N, E as ce, Q as ee, k as Ze, o as Ye, m as q, q as W, C as ue, v as he, w as Ke, F as ye, P as h, I as Xe, J as Qe } from "./CasinoCalendar-bbQ7XQxy.js";
|
|
2
|
+
import "./CasinoGamesCategorySectionNd-DZM4fSnF.js";
|
|
3
|
+
import { h as Q } from "./CasinoGameThumbnailNd-DkpEv-Ct.js";
|
|
4
4
|
function de(a, e) {
|
|
5
5
|
He(a, e);
|
|
6
6
|
}
|
|
@@ -191,7 +191,7 @@ const me = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
function et(a) {
|
|
194
|
-
|
|
194
|
+
Ve(a, "svelte-2xbwo7", "*,*::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:30px 40px;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;margin-bottom:20px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-white, #FFF);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));padding-right:28px}.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{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px 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:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E))}.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}");
|
|
195
195
|
}
|
|
196
196
|
function ge(a, e, t) {
|
|
197
197
|
const n = a.slice();
|
|
@@ -204,7 +204,7 @@ function fe(a) {
|
|
|
204
204
|
), n, r, l, s;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = y("small"), n =
|
|
207
|
+
e = y("small"), n = W(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
208
208
|
(a[12] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
@@ -218,7 +218,7 @@ function fe(a) {
|
|
|
218
218
|
p(i, c) {
|
|
219
219
|
c[0] & /*$_*/
|
|
220
220
|
1048576 && t !== (t = /*$_*/
|
|
221
|
-
i[20]("cancel") + "") &&
|
|
221
|
+
i[20]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
|
|
222
222
|
4096 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
223
|
(i[12] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
@@ -250,7 +250,7 @@ function tt(a) {
|
|
|
250
250
|
);
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
253
|
-
i && i.c(), e =
|
|
253
|
+
i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), m && m.c(), f(t, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
254
254
|
(a[16] == !0 ? "" : "NotVisible"));
|
|
255
255
|
},
|
|
256
256
|
m(u, g) {
|
|
@@ -276,7 +276,7 @@ function at(a) {
|
|
|
276
276
|
), n;
|
|
277
277
|
return {
|
|
278
278
|
c() {
|
|
279
|
-
e = y("p"), n =
|
|
279
|
+
e = y("p"), n = W(t), f(e, "class", "LoadingContent");
|
|
280
280
|
},
|
|
281
281
|
m(r, l) {
|
|
282
282
|
j(r, e, l), S(e, n);
|
|
@@ -284,7 +284,7 @@ function at(a) {
|
|
|
284
284
|
p(r, l) {
|
|
285
285
|
l[0] & /*$_*/
|
|
286
286
|
1048576 && t !== (t = /*$_*/
|
|
287
|
-
r[20]("loading") + "") &&
|
|
287
|
+
r[20]("loading") + "") && q(n, t);
|
|
288
288
|
},
|
|
289
289
|
d(r) {
|
|
290
290
|
r && E(e);
|
|
@@ -298,7 +298,7 @@ function nt(a) {
|
|
|
298
298
|
), n;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = y("p"), n =
|
|
301
|
+
e = y("p"), n = W(t), f(e, "class", "SearchMessage");
|
|
302
302
|
},
|
|
303
303
|
m(r, l) {
|
|
304
304
|
j(r, e, l), S(e, n);
|
|
@@ -306,7 +306,7 @@ function nt(a) {
|
|
|
306
306
|
p(r, l) {
|
|
307
307
|
l[0] & /*$_*/
|
|
308
308
|
1048576 && t !== (t = /*$_*/
|
|
309
|
-
r[20]("searchResult") + "") &&
|
|
309
|
+
r[20]("searchResult") + "") && q(n, t);
|
|
310
310
|
},
|
|
311
311
|
d(r) {
|
|
312
312
|
r && E(e);
|
|
@@ -323,7 +323,7 @@ function rt(a) {
|
|
|
323
323
|
);
|
|
324
324
|
return {
|
|
325
325
|
c() {
|
|
326
|
-
n && n.c(), e =
|
|
326
|
+
n && n.c(), e = N(), r && r.c(), t = ye();
|
|
327
327
|
},
|
|
328
328
|
m(l, s) {
|
|
329
329
|
n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
|
|
@@ -345,7 +345,7 @@ function pe(a) {
|
|
|
345
345
|
), n;
|
|
346
346
|
return {
|
|
347
347
|
c() {
|
|
348
|
-
e = y("p"), n =
|
|
348
|
+
e = y("p"), n = W(t), f(e, "class", "SearchMessage");
|
|
349
349
|
},
|
|
350
350
|
m(r, l) {
|
|
351
351
|
j(r, e, l), S(e, n);
|
|
@@ -353,7 +353,7 @@ function pe(a) {
|
|
|
353
353
|
p(r, l) {
|
|
354
354
|
l[0] & /*$_*/
|
|
355
355
|
1048576 && t !== (t = /*$_*/
|
|
356
|
-
r[20]("recentSearch") + "") &&
|
|
356
|
+
r[20]("recentSearch") + "") && q(n, t);
|
|
357
357
|
},
|
|
358
358
|
d(r) {
|
|
359
359
|
r && E(e);
|
|
@@ -370,7 +370,7 @@ function _e(a) {
|
|
|
370
370
|
);
|
|
371
371
|
return {
|
|
372
372
|
c() {
|
|
373
|
-
e = y("div"), i && i.c(), t =
|
|
373
|
+
e = y("div"), i && i.c(), t = N(), n = y("p"), l = W(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
374
374
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
375
375
|
},
|
|
376
376
|
m(c, m) {
|
|
@@ -380,7 +380,7 @@ function _e(a) {
|
|
|
380
380
|
/*notfoundicon*/
|
|
381
381
|
c[10] === "true" ? i || (i = Se(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
382
382
|
1048576 && r !== (r = /*$_*/
|
|
383
|
-
c[20]("noRecentSearches") + "") &&
|
|
383
|
+
c[20]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
|
|
384
384
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
385
385
|
(c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
386
386
|
},
|
|
@@ -439,7 +439,7 @@ function we(a) {
|
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
441
|
d(r) {
|
|
442
|
-
r && E(e),
|
|
442
|
+
r && E(e), Ke(n, r);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
445
|
}
|
|
@@ -641,7 +641,7 @@ function ve(a) {
|
|
|
641
641
|
);
|
|
642
642
|
return {
|
|
643
643
|
c() {
|
|
644
|
-
e = y("div"), g && g.c(), t =
|
|
644
|
+
e = y("div"), g && g.c(), t = N(), n = y("p"), l = W(r), s = N(), i = y("p"), m = W(c), f(n, "class", "SearchMessage"), f(e, "class", u = "ResultsContainerError " + /*notfoundicon*/
|
|
645
645
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
646
646
|
},
|
|
647
647
|
m(k, d) {
|
|
@@ -651,9 +651,9 @@ function ve(a) {
|
|
|
651
651
|
/*notfoundicon*/
|
|
652
652
|
k[10] === "true" ? g || (g = ke(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
653
653
|
1048576 && r !== (r = /*$_*/
|
|
654
|
-
k[20]("notFound") + "") &&
|
|
654
|
+
k[20]("notFound") + "") && q(l, r), d[0] & /*$_*/
|
|
655
655
|
1048576 && c !== (c = /*$_*/
|
|
656
|
-
k[20]("notFoundText") + "") &&
|
|
656
|
+
k[20]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
|
|
657
657
|
1024 && u !== (u = "ResultsContainerError " + /*notfoundicon*/
|
|
658
658
|
(k[10] == "true" ? "WithIcon" : "")) && f(e, "class", u);
|
|
659
659
|
},
|
|
@@ -677,7 +677,7 @@ function ke(a) {
|
|
|
677
677
|
};
|
|
678
678
|
}
|
|
679
679
|
function ot(a) {
|
|
680
|
-
let e, t, n, r, l, s, i, c, m, u, g, k, d, _, A,
|
|
680
|
+
let e, t, n, r, l, s, i, c, m, u, g, k, d, _, A, P, M, U, B, x, v = (
|
|
681
681
|
/*cancelbutton*/
|
|
682
682
|
a[9] === "true" && fe(a)
|
|
683
683
|
);
|
|
@@ -687,14 +687,14 @@ function ot(a) {
|
|
|
687
687
|
b[17] ? at : tt
|
|
688
688
|
);
|
|
689
689
|
}
|
|
690
|
-
let
|
|
690
|
+
let I = O(a), L = I(a);
|
|
691
691
|
return {
|
|
692
692
|
c() {
|
|
693
|
-
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l =
|
|
693
|
+
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), u = ce("svg"), g = ce("path"), d = N(), v && v.c(), A = N(), P = y("div"), U = N(), L.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
694
694
|
a[20]("placeHolderSearchGames")), f(s, "maxlength", st), 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(u, "width", "11"), f(u, "height", "11"), f(u, "fill", "none"), f(u, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", k = "SearchClearButton " + /*cancelbutton*/
|
|
695
695
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
696
696
|
(a[11].length != 0 ? "" : "NotVisible")), f(n, "class", _ = "Search " + /*searchCancelled*/
|
|
697
|
-
(a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(
|
|
697
|
+
(a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(P, "class", M = /*cancelbutton*/
|
|
698
698
|
a[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ee(
|
|
699
699
|
/*userAgent*/
|
|
700
700
|
a[21]
|
|
@@ -705,7 +705,7 @@ function ot(a) {
|
|
|
705
705
|
s,
|
|
706
706
|
/*searchValue*/
|
|
707
707
|
a[11]
|
|
708
|
-
), a[33](s), S(n, c), S(n, m), S(m, u), S(u, g), S(n, d), v && v.m(n, null), S(e, A), S(e,
|
|
708
|
+
), a[33](s), S(n, c), S(n, m), S(m, u), S(u, g), S(n, d), v && v.m(n, null), S(e, A), S(e, P), S(e, U), L.m(e, null), a[36](e), B || (x = [
|
|
709
709
|
J(
|
|
710
710
|
s,
|
|
711
711
|
"input",
|
|
@@ -725,7 +725,7 @@ function ot(a) {
|
|
|
725
725
|
a[34]
|
|
726
726
|
),
|
|
727
727
|
J(
|
|
728
|
-
|
|
728
|
+
P,
|
|
729
729
|
"click",
|
|
730
730
|
/*handleOverlay*/
|
|
731
731
|
a[23]
|
|
@@ -749,20 +749,20 @@ function ot(a) {
|
|
|
749
749
|
4096 && _ !== (_ = "Search " + /*searchCancelled*/
|
|
750
750
|
(b[12] ? "" : "SearchAnimation")) && f(n, "class", _), F[0] & /*cancelbutton*/
|
|
751
751
|
512 && M !== (M = /*cancelbutton*/
|
|
752
|
-
b[9] != "true" ? "OverlayCancel" : "") && f(
|
|
752
|
+
b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), I === (I = O(b)) && L ? L.p(b, F) : (L.d(1), L = I(b), L && (L.c(), L.m(e, null)));
|
|
753
753
|
},
|
|
754
|
-
i:
|
|
755
|
-
o:
|
|
754
|
+
i: le,
|
|
755
|
+
o: le,
|
|
756
756
|
d(b) {
|
|
757
|
-
b && E(e), a[33](null), v && v.d(), L.d(), a[36](null), B = !1,
|
|
757
|
+
b && E(e), a[33](null), v && v.d(), L.d(), a[36](null), B = !1, Je(x);
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
}
|
|
761
761
|
let st = 50;
|
|
762
762
|
function lt(a, e, t) {
|
|
763
763
|
let n;
|
|
764
|
-
|
|
765
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: _ = "true" } = e, { translationurl: A = "" } = e, { showfavorites:
|
|
764
|
+
Ze(a, Qe, (o) => t(20, n = o));
|
|
765
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: _ = "true" } = e, { translationurl: A = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, B = window.navigator.userAgent, x = [], v = [], O = {}, I = "", L, b = !0, F = !1, z = !1, D, Z = !1, Y, K, te = [];
|
|
766
766
|
const Re = () => {
|
|
767
767
|
fetch(A).then((p) => p.json()).then((p) => {
|
|
768
768
|
Object.keys(p).forEach((w) => {
|
|
@@ -776,23 +776,23 @@ function lt(a, e, t) {
|
|
|
776
776
|
de(o, me[o]);
|
|
777
777
|
});
|
|
778
778
|
const ae = (o) => {
|
|
779
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
779
|
+
o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(18, Y = o.data.session), t(19, K = o.data.userid), t(31, Z = !0)), o.data.type == "CategoryChange" && X();
|
|
780
780
|
}, ne = () => {
|
|
781
|
-
if (t(12, b = !1), t(16, F = !0), r && l && c &&
|
|
782
|
-
t(14,
|
|
781
|
+
if (t(12, b = !1), t(16, F = !0), r && l && c && I.length < 2) {
|
|
782
|
+
t(14, x = []);
|
|
783
783
|
let o = localStorage.getItem("searchedGamesWds_casino"), p = [];
|
|
784
784
|
o && (p = o.split(","));
|
|
785
785
|
let w = [], R = 0, C = p.length;
|
|
786
786
|
if (C > 0) {
|
|
787
787
|
for (R = 0; R < C; R++) {
|
|
788
|
-
let
|
|
789
|
-
|
|
788
|
+
let G = new URL(`${r}/v1/casino/games/${p[R]}`);
|
|
789
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ee(B)), w.push(Le(G, p[R]));
|
|
790
790
|
}
|
|
791
|
-
Promise.all(w).then((
|
|
792
|
-
|
|
791
|
+
Promise.all(w).then((G) => {
|
|
792
|
+
G = G.filter(function(H) {
|
|
793
793
|
return !!H;
|
|
794
|
-
}), t(14,
|
|
795
|
-
}).catch((
|
|
794
|
+
}), t(14, x = G.map((H) => (H.isFavorite = re(H.id), H))), x.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
|
|
795
|
+
}).catch((G) => {
|
|
796
796
|
V("searchError", "SearchWidget");
|
|
797
797
|
});
|
|
798
798
|
}
|
|
@@ -824,25 +824,25 @@ function lt(a, e, t) {
|
|
|
824
824
|
fetch(o.href, p).then((w) => w.json()).then((w) => {
|
|
825
825
|
t(17, z = !1), te = w.items.map((R) => R.id);
|
|
826
826
|
});
|
|
827
|
-
},
|
|
827
|
+
}, Ee = () => {
|
|
828
828
|
t(31, Z = !0), t(18, Y = s), t(19, K = i);
|
|
829
|
-
}, re = (o) => te.findIndex((p) => p == o) !== -1,
|
|
829
|
+
}, re = (o) => te.findIndex((p) => p == o) !== -1, je = (o) => {
|
|
830
830
|
if (o?.length === 0) return "";
|
|
831
831
|
let p, w = 99999999999, R;
|
|
832
832
|
const C = new Date(Date.now());
|
|
833
|
-
return o.forEach((
|
|
834
|
-
const De = new Date(
|
|
833
|
+
return o.forEach((G, H) => {
|
|
834
|
+
const De = new Date(G.schedules[0].startTime), $ = new Date(G.schedules[0].endTime);
|
|
835
835
|
Q($).diff(C) < w && (w = Q($).diff(C), R = H), Q(C).isAfter(De) && Q(C).isBefore($) && (p = o[R].name);
|
|
836
836
|
}), p;
|
|
837
|
-
},
|
|
837
|
+
}, Ie = (o) => {
|
|
838
838
|
if (v = localStorage.getItem("searchedGamesWds_casino"), v ? v = v.split(",") : v = [], v.indexOf(o) === -1) {
|
|
839
839
|
let p;
|
|
840
840
|
v.unshift(o), p = v.join(","), localStorage.setItem("searchedGamesWds_casino", p);
|
|
841
841
|
}
|
|
842
842
|
}, X = () => {
|
|
843
|
-
t(11,
|
|
843
|
+
t(11, I = ""), t(12, b = !0), t(17, z = !1), t(14, x = []), t(16, F = !1), se(F);
|
|
844
844
|
}, oe = () => {
|
|
845
|
-
t(11,
|
|
845
|
+
t(11, I = ""), L.focus();
|
|
846
846
|
}, se = (o) => {
|
|
847
847
|
window.postMessage(
|
|
848
848
|
{
|
|
@@ -851,12 +851,12 @@ function lt(a, e, t) {
|
|
|
851
851
|
},
|
|
852
852
|
window.location.href
|
|
853
853
|
);
|
|
854
|
-
},
|
|
854
|
+
}, Ge = () => {
|
|
855
855
|
$e(c);
|
|
856
856
|
}, ze = () => {
|
|
857
857
|
let o = document.createElement("style");
|
|
858
858
|
o.innerHTML = m, D.appendChild(o);
|
|
859
|
-
},
|
|
859
|
+
}, Ne = () => {
|
|
860
860
|
let o = new URL(u), p = document.createElement("style");
|
|
861
861
|
fetch(o.href).then((w) => w.text()).then((w) => {
|
|
862
862
|
p.innerHTML = w, setTimeout(
|
|
@@ -867,13 +867,13 @@ function lt(a, e, t) {
|
|
|
867
867
|
);
|
|
868
868
|
});
|
|
869
869
|
};
|
|
870
|
-
|
|
870
|
+
Ye(() => (window.addEventListener("message", ae, !1), () => {
|
|
871
871
|
window.removeEventListener("message", ae);
|
|
872
872
|
}));
|
|
873
|
-
function
|
|
874
|
-
|
|
873
|
+
function Pe() {
|
|
874
|
+
I = this.value, t(11, I);
|
|
875
875
|
}
|
|
876
|
-
function
|
|
876
|
+
function xe(o) {
|
|
877
877
|
ue[o ? "unshift" : "push"](() => {
|
|
878
878
|
L = o, t(15, L);
|
|
879
879
|
});
|
|
@@ -885,25 +885,25 @@ function lt(a, e, t) {
|
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
887
|
return a.$$set = (o) => {
|
|
888
|
-
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(27, l = o.datasource), "session" in o && t(28, s = o.session), "userid" in o && t(29, i = o.userid), "lang" in o && t(1, c = o.lang), "clientstyling" in o && t(2, m = o.clientstyling), "clientstylingurl" in o && t(3, u = o.clientstylingurl), "integratedgameframedesktop" in o && t(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(5, k = o.integratedgameframemobile), "showgamename" in o && t(6, d = o.showgamename), "gamepagemodalurl" in o && t(7, _ = o.gamepagemodalurl), "translationurl" in o && t(30, A = o.translationurl), "showfavorites" in o && t(8,
|
|
888
|
+
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(27, l = o.datasource), "session" in o && t(28, s = o.session), "userid" in o && t(29, i = o.userid), "lang" in o && t(1, c = o.lang), "clientstyling" in o && t(2, m = o.clientstyling), "clientstylingurl" in o && t(3, u = o.clientstylingurl), "integratedgameframedesktop" in o && t(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(5, k = o.integratedgameframemobile), "showgamename" in o && t(6, d = o.showgamename), "gamepagemodalurl" in o && t(7, _ = o.gamepagemodalurl), "translationurl" in o && t(30, A = o.translationurl), "showfavorites" in o && t(8, P = o.showfavorites), "cancelbutton" in o && t(9, M = o.cancelbutton), "notfoundicon" in o && t(10, U = o.notfoundicon);
|
|
889
889
|
}, a.$$.update = () => {
|
|
890
890
|
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
891
891
|
134223875)
|
|
892
|
-
if (
|
|
892
|
+
if (I.length >= 2) {
|
|
893
893
|
const o = new URL(`${r}/v1/casino/games`);
|
|
894
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ee(B)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${
|
|
895
|
-
t(14,
|
|
894
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ee(B)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${I}`), Fe(o).then((p) => {
|
|
895
|
+
t(14, x = p.items.map((w) => (w.isFavorite = re(w.id), w)));
|
|
896
896
|
});
|
|
897
897
|
} else
|
|
898
898
|
b || ne();
|
|
899
899
|
a.$$.dirty[0] & /*lang*/
|
|
900
|
-
2 && c &&
|
|
900
|
+
2 && c && Ge(), a.$$.dirty[0] & /*translationurl*/
|
|
901
901
|
1073741824 && A && Re(), a.$$.dirty[0] & /*session, userid*/
|
|
902
|
-
805306368 && s && i &&
|
|
902
|
+
805306368 && s && i && Ee(), a.$$.dirty[0] & /*showfavorites*/
|
|
903
903
|
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
904
|
-
1 &&
|
|
904
|
+
1 && P && Z && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
905
905
|
8196 && m && D && ze(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
906
|
-
8200 && u && D &&
|
|
906
|
+
8200 && u && D && Ne();
|
|
907
907
|
}, [
|
|
908
908
|
r,
|
|
909
909
|
c,
|
|
@@ -913,13 +913,13 @@ function lt(a, e, t) {
|
|
|
913
913
|
k,
|
|
914
914
|
d,
|
|
915
915
|
_,
|
|
916
|
-
|
|
916
|
+
P,
|
|
917
917
|
M,
|
|
918
918
|
U,
|
|
919
|
-
|
|
919
|
+
I,
|
|
920
920
|
b,
|
|
921
921
|
D,
|
|
922
|
-
|
|
922
|
+
x,
|
|
923
923
|
L,
|
|
924
924
|
F,
|
|
925
925
|
z,
|
|
@@ -929,7 +929,7 @@ function lt(a, e, t) {
|
|
|
929
929
|
B,
|
|
930
930
|
ne,
|
|
931
931
|
Ce,
|
|
932
|
-
|
|
932
|
+
je,
|
|
933
933
|
X,
|
|
934
934
|
oe,
|
|
935
935
|
l,
|
|
@@ -937,8 +937,8 @@ function lt(a, e, t) {
|
|
|
937
937
|
i,
|
|
938
938
|
A,
|
|
939
939
|
Z,
|
|
940
|
-
Ne,
|
|
941
940
|
Pe,
|
|
941
|
+
xe,
|
|
942
942
|
Me,
|
|
943
943
|
Ae,
|
|
944
944
|
Be
|
|
@@ -951,7 +951,7 @@ class it extends We {
|
|
|
951
951
|
e,
|
|
952
952
|
lt,
|
|
953
953
|
ot,
|
|
954
|
-
|
|
954
|
+
Ue,
|
|
955
955
|
{
|
|
956
956
|
endpoint: 0,
|
|
957
957
|
datasource: 27,
|
|
@@ -1064,7 +1064,7 @@ class it extends We {
|
|
|
1064
1064
|
this.$$set({ notfoundicon: e }), T();
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
|
-
|
|
1067
|
+
Xe(it, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
|
|
1068
1068
|
export {
|
|
1069
1069
|
it as default
|
|
1070
1070
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C6a9eFaO.cjs");require("./CasinoGamesCategorySectionNd-CgmxjdqR.cjs");const q=require("./CasinoGameThumbnailNd-PO04kmzB.cjs");function K(n,t){e.addMessages(n,t)}function Ce(n){e.$locale.set(n)}const X={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:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",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 Fe(n){e.append_styles(n,"svelte-2xbwo7","*,*::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:30px 40px;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;margin-bottom:20px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-white, #FFF);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));padding-right:28px}.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{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px 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:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E))}.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 Q(n,t,a){const r=n.slice();return r[53]=t[a],r}function $(n){let t,a=n[20]("cancel")+"",r,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="SearchCancelButton "+(n[12]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[35]),i=!0)},p(c,u){u[0]&1048576&&a!==(a=c[20]("cancel")+"")&&e.set_data(r,a),u[0]&4096&&s!==(s="SearchCancelButton "+(c[12]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Le(n){let t,a,r,s;function i(d,g){if(d[16]==!0&&d[11].length<2)return Ee;if(d[14].length!=0)return je}let l=i(n),c=l&&l(n),u=n[12]===!1&&ne(n),m=n[11].length>=2&&n[14].length==0&&oe(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),m&&m.c(),e.attr(a,"class",s="SearchResultsContainer "+(n[16]==!0?"":"NotVisible"))},m(d,g){c&&c.m(d,g),e.insert(d,t,g),e.insert(d,a,g),u&&u.m(a,null),e.append(a,r),m&&m.m(a,null)},p(d,g){l===(l=i(d))&&c?c.p(d,g):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[12]===!1?u?u.p(d,g):(u=ne(d),u.c(),u.m(a,r)):u&&(u.d(1),u=null),d[11].length>=2&&d[14].length==0?m?m.p(d,g):(m=oe(d),m.c(),m.m(a,null)):m&&(m.d(1),m=null),g[0]&65536&&s!==(s="SearchResultsContainer "+(d[16]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},d(d){d&&(e.detach(t),e.detach(a)),c&&c.d(d),u&&u.d(),m&&m.d()}}}function Te(n){let t,a=n[20]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","LoadingContent")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("loading")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function je(n){let t,a=n[20]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Ee(n){let t,a,r=n[14].length!==0&&ee(n),s=n[14].length==0&&te(n);return{c(){r&&r.c(),t=e.space(),s&&s.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),s&&s.m(i,l),e.insert(i,a,l)},p(i,l){i[14].length!==0?r?r.p(i,l):(r=ee(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[14].length==0?s?s.p(i,l):(s=te(i),s.c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),s&&s.d(i)}}}function ee(n){let t,a=n[20]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function te(n){let t,a,r,s=n[20]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ae();return{c(){t=e.element("div"),c&&c.c(),a=e.space(),r=e.element("p"),i=e.text(s),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(u,m){e.insert(u,t,m),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,m){u[10]==="true"?c||(c=ae(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),m[0]&1048576&&s!==(s=u[20]("noRecentSearches")+"")&&e.set_data(i,s),m[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ae(n){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(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function ne(n){let t,a=e.ensure_array_like(n[14]),r=[];for(let s=0;s<a.length;s+=1)r[s]=re(Q(n,a,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();t=e.empty()},m(s,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(s,i);e.insert(s,t,i)},p(s,i){if(i[0]&17580543){a=e.ensure_array_like(s[14]);let l;for(l=0;l<a.length;l+=1){const c=Q(s,a,l);r[l]?r[l].p(c,i):(r[l]=re(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=a.length}},d(s){s&&e.detach(t),e.destroy_each(r,s)}}}function re(n){let t,a,r,s,i,l,c,u,m,d,g,w;return{c(){var h;t=e.element("casino-game-thumbnail-nd"),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"session",n[18]),e.set_custom_element_data(t,"userid",n[19]),e.set_custom_element_data(t,"favorites",n[8]),e.set_custom_element_data(t,"lang",n[1]),e.set_custom_element_data(t,"gamethumbnail",a=n[53].thumbnail),e.set_custom_element_data(t,"gamename",r=n[53].name),e.set_custom_element_data(t,"gamevendor",s=n[53].vendor.name),e.set_custom_element_data(t,"gameLaunchUrl",i=n[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=n[53].isNew),e.set_custom_element_data(t,"gametag",c=((h=n[53].advancedTags)==null?void 0:h.length)>0&&n[24](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",m=n[53].id),e.set_custom_element_data(t,"showgamename",n[6]),e.set_custom_element_data(t,"gamefunmode",d=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",g=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",w=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[4]),e.set_custom_element_data(t,"integratedgameframemobile",n[5]),e.set_custom_element_data(t,"clientstyling",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[3]),e.set_custom_element_data(t,"gamepagemodalurl",n[7])},m(h,p){e.insert(h,t,p)},p(h,p){var T;p[0]&1&&e.set_custom_element_data(t,"endpoint",h[0]),p[0]&262144&&e.set_custom_element_data(t,"session",h[18]),p[0]&524288&&e.set_custom_element_data(t,"userid",h[19]),p[0]&256&&e.set_custom_element_data(t,"favorites",h[8]),p[0]&2&&e.set_custom_element_data(t,"lang",h[1]),p[0]&16384&&a!==(a=h[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),p[0]&16384&&r!==(r=h[53].name)&&e.set_custom_element_data(t,"gamename",r),p[0]&16384&&s!==(s=h[53].vendor.name)&&e.set_custom_element_data(t,"gamevendor",s),p[0]&16384&&i!==(i=h[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),p[0]&16384&&l!==(l=h[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),p[0]&16384&&c!==(c=((T=h[53].advancedTags)==null?void 0:T.length)>0&&h[24](h[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),p[0]&16384&&u!==(u=h[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),p[0]&16384&&m!==(m=h[53].id)&&e.set_custom_element_data(t,"gameid",m),p[0]&64&&e.set_custom_element_data(t,"showgamename",h[6]),p[0]&16384&&d!==(d=h[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),p[0]&16384&&g!==(g=h[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",g),p[0]&16384&&w!==(w=h[53].details?h[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",w),p[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",h[4]),p[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",h[5]),p[0]&4&&e.set_custom_element_data(t,"clientstyling",h[2]),p[0]&8&&e.set_custom_element_data(t,"clientstylingurl",h[3]),p[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",h[7])},d(h){h&&e.detach(t)}}}function oe(n){let t,a,r,s=n[20]("notFound")+"",i,l,c,u=n[20]("notFoundText")+"",m,d,g=n[10]==="true"&&se();return{c(){t=e.element("div"),g&&g.c(),a=e.space(),r=e.element("p"),i=e.text(s),l=e.space(),c=e.element("p"),m=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(w,h){e.insert(w,t,h),g&&g.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,m)},p(w,h){w[10]==="true"?g||(g=se(),g.c(),g.m(t,a)):g&&(g.d(1),g=null),h[0]&1048576&&s!==(s=w[20]("notFound")+"")&&e.set_data(i,s),h[0]&1048576&&u!==(u=w[20]("notFoundText")+"")&&e.set_data(m,u),h[0]&1024&&d!==(d="ResultsContainerError "+(w[10]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(w){w&&e.detach(t),g&&g.d()}}}function se(n){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(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function Ge(n){let t,a,r,s,i,l,c,u,m,d,g,w,h,p,T,j,G,P,I,E,b=n[9]==="true"&&$(n);function N(S,y){return S[17]?Te:Le}let C=N(n),R=C(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),s=e.element("div"),s.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>',i=e.space(),l=e.element("input"),u=e.space(),m=e.element("span"),d=e.svg_element("svg"),g=e.svg_element("path"),h=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),R.c(),e.attr(s,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[20]("placeHolderSearchGames")),e.attr(l,"maxlength",Ie),e.attr(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(g,"stroke","#717171"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"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(m,"class",w="SearchClearButton "+(n[9]!="true"?"WithoutCancel":"")+" "+(n[11].length!=0?"":"NotVisible")),e.attr(r,"class",p="Search "+(n[12]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(j,"class",G=n[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[21])!=="PC"?"":"Desktop")+" CasinoSearch")},m(S,y){e.insert(S,t,y),e.append(t,a),e.append(a,r),e.append(r,s),e.append(r,i),e.append(r,l),e.set_input_value(l,n[11]),n[33](l),e.append(r,u),e.append(r,m),e.append(m,d),e.append(d,g),e.append(r,h),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),R.m(t,null),n[36](t),I||(E=[e.listen(l,"input",n[32]),e.listen(l,"focus",n[22]),e.listen(m,"click",n[34]),e.listen(j,"click",n[23])],I=!0)},p(S,y){y[0]&1048576&&c!==(c=S[20]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),y[0]&2048&&l.value!==S[11]&&e.set_input_value(l,S[11]),y[0]&2560&&w!==(w="SearchClearButton "+(S[9]!="true"?"WithoutCancel":"")+" "+(S[11].length!=0?"":"NotVisible"))&&e.attr(m,"class",w),S[9]==="true"?b?b.p(S,y):(b=$(S),b.c(),b.m(r,null)):b&&(b.d(1),b=null),y[0]&4096&&p!==(p="Search "+(S[12]?"":"SearchAnimation"))&&e.attr(r,"class",p),y[0]&512&&G!==(G=S[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",G),C===(C=N(S))&&R?R.p(S,y):(R.d(1),R=C(S),R&&(R.c(),R.m(t,null)))},i:e.noop,o:e.noop,d(S){S&&e.detach(t),n[33](null),b&&b.d(),R.d(),n[36](null),I=!1,e.run_all(E)}}}let Ie=50;function xe(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(20,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:w="false"}=t,{showgamename:h=""}=t,{gamepagemodalurl:p="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:P="false"}=t,I=window.navigator.userAgent,E=[],b=[],N={},C="",R,S=!0,y=!1,L=!1,x,D=!1,A,B,O=[];const ie=()=>{fetch(T).then(f=>f.json()).then(f=>{Object.keys(f).forEach(_=>{K(_,f[_])})}).catch(f=>{console.log(f)})};Object.keys(X).forEach(o=>{K(o,X[o])});const U=o=>{o.data&&o.data.type=="SearchedItemClicked"&&fe(o.data.gameId),o.data.type=="UserSessionID"&&(a(18,A=o.data.session),a(19,B=o.data.userid),a(31,D=!0)),o.data.type=="CategoryChange"&&H()},V=()=>{if(a(12,S=!1),a(16,y=!0),s&&i&&u&&C.length<2){a(14,E=[]);let o=localStorage.getItem("searchedGamesWds_casino"),f=[];o&&(f=o.split(","));let _=[],v=0,k=f.length;if(k>0){for(v=0;v<k;v++){let F=new URL(`${s}/v1/casino/games/${f[v]}`);F.searchParams.append("language",u),F.searchParams.append("datasource",i),F.searchParams.append("platform",e.getDevice(I)),_.push(de(F,f[v]))}Promise.all(_).then(F=>{F=F.filter(function(z){return!!z}),a(14,E=F.map(z=>(z.isFavorite=J(z.id),z))),E.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(F=>{M("searchError","SearchWidget")})}}Y(y),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,f)=>{typeof gtag=="function"&>ag("event",o,{context:f})},ce=()=>{G!="true"&&H()},ue=o=>new Promise((f,_)=>{a(17,L=!0),fetch(o.href).then(v=>v.json()).then(v=>{a(17,L=!1),f(v)}).catch(v=>{a(17,L=!1),console.error(v),_(v)})}),de=(o,f)=>new Promise((_,v)=>{a(17,L=!0),f&&Object.keys(N).indexOf(f)>=0?(a(17,L=!1),_(N[f])):fetch(o).then(k=>k.json()).then(k=>{a(17,L=!1),k.error||(N[k[0].gameId]=k[0]),_(k[0])}).catch(k=>{a(17,L=!1),console.error(k),v(k)})}),he=()=>{const o=new URL(`${s}/v1/player/${B}/favorites/`);a(17,L=!0);let f={method:"GET",headers:{"X-SessionID":A}};fetch(o.href,f).then(_=>_.json()).then(_=>{a(17,L=!1),O=_.items.map(v=>v.id)})},me=()=>{a(31,D=!0),a(18,A=l),a(19,B=c)},J=o=>O.findIndex(f=>f==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let f,_=99999999999,v;const k=new Date(Date.now());return o.forEach((F,z)=>{const Re=new Date(F.schedules[0].startTime),W=new Date(F.schedules[0].endTime);q.hooks(W).diff(k)<_&&(_=q.hooks(W).diff(k),v=z),q.hooks(k).isAfter(Re)&&q.hooks(k).isBefore(W)&&(f=o[v].name)}),f},fe=o=>{if(b=localStorage.getItem("searchedGamesWds_casino"),b?b=b.split(","):b=[],b.indexOf(o)===-1){let f;b.unshift(o),f=b.join(","),localStorage.setItem("searchedGamesWds_casino",f)}},H=()=>{a(11,C=""),a(12,S=!0),a(17,L=!1),a(14,E=[]),a(16,y=!1),Y(y)},Z=()=>{a(11,C=""),R.focus()},Y=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},pe=()=>{Ce(u)},_e=()=>{let o=document.createElement("style");o.innerHTML=m,x.appendChild(o)},Se=()=>{let o=new URL(d),f=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{f.innerHTML=_,setTimeout(()=>{x.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));function be(){C=this.value,a(11,C)}function we(o){e.binding_callbacks[o?"unshift":"push"](()=>{R=o,a(15,R)})}const ve=()=>Z(),ke=()=>H();function ye(o){e.binding_callbacks[o?"unshift":"push"](()=>{x=o,a(13,x)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(27,i=o.datasource),"session"in o&&a(28,l=o.session),"userid"in o&&a(29,c=o.userid),"lang"in o&&a(1,u=o.lang),"clientstyling"in o&&a(2,m=o.clientstyling),"clientstylingurl"in o&&a(3,d=o.clientstylingurl),"integratedgameframedesktop"in o&&a(4,g=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(5,w=o.integratedgameframemobile),"showgamename"in o&&a(6,h=o.showgamename),"gamepagemodalurl"in o&&a(7,p=o.gamepagemodalurl),"translationurl"in o&&a(30,T=o.translationurl),"showfavorites"in o&&a(8,j=o.showfavorites),"cancelbutton"in o&&a(9,G=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon)},n.$$.update=()=>{if(n.$$.dirty[0]&134223875)if(C.length>=2){const o=new URL(`${s}/v1/casino/games`);o.searchParams.append("datasource",i),o.searchParams.append("expand","vendor"),o.searchParams.append("platform",e.getDevice(I)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${C}`),ue(o).then(f=>{a(14,E=f.items.map(_=>(_.isFavorite=J(_.id),_)))})}else S||V();n.$$.dirty[0]&2&&u&&pe(),n.$$.dirty[0]&1073741824&&T&&ie(),n.$$.dirty[0]&805306368&&l&&c&&me(),n.$$.dirty[0]&256|n.$$.dirty[1]&1&&j&&D&&he(),n.$$.dirty[0]&8196&&m&&x&&_e(),n.$$.dirty[0]&8200&&d&&x&&Se()},[s,u,m,d,g,w,h,p,j,G,P,C,S,x,E,R,y,L,A,B,r,I,V,ce,ge,H,Z,i,l,c,T,D,be,we,ve,ke,ye]}class le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,xe,Ge,e.safe_not_equal,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},Fe,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[27]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}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[30]}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()}}e.create_custom_element(le,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{}},[],[],!0);exports.default=le;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-C6a9eFaO.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function D(e,r){t.addMessages(e,r)}const E={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-kh3a1g",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function j(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,d,m,c,y,g,S,w=e[4]("sortby")+"",h,A,_,I,z=(e[3]||e[4]("all"))+"",M,O,k,v,C,F,N,a,i,b,H,L,T,Z=t.ensure_array_like(Object.values(e[5])),f=[];for(let p=0;p<Z.length;p+=1)f[p]=P(j(e,Z,p));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),d=t.svg_element("path"),m=t.svg_element("path"),c=t.svg_element("path"),y=t.space(),g=t.element("div"),S=t.element("span"),h=t.text(w),A=t.space(),_=t.element("div"),I=t.element("span"),M=t.text(z),O=t.space(),k=t.element("span"),v=t.svg_element("svg"),C=t.svg_element("path"),a=t.space(),i=t.element("div"),b=t.element("ul");for(let p=0;p<f.length;p+=1)f[p].c();t.attr(d,"id","Path_5267"),t.attr(d,"data-name","Path 5267"),t.attr(d,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(d,"transform","translate(-206.448 0)"),t.attr(d,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(c,"id","Path_5269"),t.attr(c,"data-name","Path 5269"),t.attr(c,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(c,"transform","translate(-412.896 0)"),t.attr(c,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(S,"class","SorterName"),t.attr(_,"class","SorterValueContainer"),t.attr(g,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(v,"xmlns","http://www.w3.org/2000/svg"),t.attr(v,"width","14"),t.attr(v,"height","6.835"),t.attr(v,"viewBox","0 0 14 6.835"),t.attr(k,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(b,"class","SorterDropdown"),t.attr(i,"class",H="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(p,x){t.insert(p,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,d),t.append(s,m),t.append(s,c),t.append(o,y),t.append(o,g),t.append(g,S),t.append(S,h),t.append(g,A),t.append(g,_),t.append(_,I),t.append(I,M),t.append(n,O),t.append(n,k),t.append(k,v),t.append(v,C),t.append(r,a),t.append(r,i),t.append(i,b);for(let u=0;u<f.length;u+=1)f[u]&&f[u].m(b,null);L||(T=t.listen(n,"click",e[13]),L=!0)},p(p,x){if(x&16&&w!==(w=p[4]("sortby")+"")&&t.set_data(h,w),x&24&&z!==(z=(p[3]||p[4]("all"))+"")&&t.set_data(M,z),x&2&&F!==(F="TriangleInactive "+(p[1]?"TriangleActive":""))&&t.attr(k,"class",F),x&2&&N!==(N="SorterSelector "+(p[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),x&120){Z=t.ensure_array_like(Object.values(p[5]));let u;for(u=0;u<Z.length;u+=1){const B=j(p,Z,u);f[u]?f[u].p(B,x):(f[u]=P(B),f[u].c(),f[u].m(b,null))}for(;u<f.length;u+=1)f[u].d(1);f.length=Z.length}x&2&&H!==(H="SorterDropdownContainer "+(p[1]?"SorterOpen":""))&&t.attr(i,"class",H)},d(p){p&&t.detach(r),t.destroy_each(f,p),L=!1,T()}}}function P(e){let r,n,o,l,s,d,m,c,y,g,S;function w(){return e[14](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),d=t.element("span"),m=t.space(),c=t.element("span"),c.textContent=`${e[23]}`,y=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(d,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(h,A){t.insert(h,r,A),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,d),t.append(n,m),t.append(n,c),t.append(r,y),g||(S=t.listen(o,"click",w),g=!0)},p(h,A){e=h,A&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(h){h&&t.detach(r),g=!1,S()}}}function U(e){let r;function n(s,d){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,d){t.insert(s,r,d),l&&l.m(r,null),e[15](r)},p(s,[d]){o===(o=n(s))&&l?l.p(s,d):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[15](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:d=""}=r,{clientstylingurl:m=""}=r,{categoryid:c=""}=r,y,g=!1,S=!0,w="",h="All";V({withLocale:"en",translations:{}});const A=()=>{fetch(s).then(i=>i.json()).then(i=>{Object.keys(i).forEach(b=>{D(b,i[b])})}).catch(i=>{console.log(i)})};Object.keys(E).forEach(a=>{D(a,E[a])});const _={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},I=()=>{let a=document.createElement("style");a.innerHTML=d,y.appendChild(a)},z=()=>{let a=document.createElement("style");fetch(new URL(m)).then(i=>i.text()).then(i=>{a.innerHTML=i,setTimeout(()=>{y.appendChild(a)},1)})},M=()=>{var i;n(3,h="All"),n(2,S=!1),n(1,g=!1);let a=(i=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:i[c];a?n(3,h=a):n(3,h="All"),n(3,h=_[a])},O=a=>{n(3,h=a);let i=localStorage.getItem("vendorSortingBy");w=a;for(let b in _)if(_[b]===a){w=b;break}i==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:w})):(i=JSON.parse(i),i[c]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(i))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:c},window.location.href),n(1,g=!g)},k=()=>{n(1,g=!g),window.postMessage({type:"SortingOpened"},window.location.href)},v=a=>{a.data.type=="FilterOpened"&&n(1,g=!1)};t.onMount(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}));const C=()=>k(),F=a=>O(a);function N(a){t.binding_callbacks[a?"unshift":"push"](()=>{y=a,n(0,y)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,d=a.clientstyling),"clientstylingurl"in a&&n(11,m=a.clientstylingurl),"categoryid"in a&&n(12,c=a.categoryid)},e.$$.update=()=>{e.$$.dirty&4096&&c&&M(),e.$$.dirty&1025&&d&&y&&I(),e.$$.dirty&2049&&m&&y&&z(),e.$$.dirty&512&&s&&A()},[y,g,S,h,o,_,O,k,l,s,d,m,c,C,F,N]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{}},[],[],!0);exports.default=R;
|