@everymatrix/casino-page-nd 1.54.6 → 1.54.9
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-pVz7jYqi.js → CasinoCalendar-BzhZkzgP.js} +809 -817
- package/components/CasinoCalendar-D2xyIjnZ.cjs +6 -0
- package/components/CasinoCalendar-DqqWE3PZ.js +5038 -0
- package/components/CasinoCalendarDailyDetails-CNKPmgJW.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-D7GkfhmR.js → CasinoCalendarDailyDetails-DazppRF9.js} +90 -90
- package/components/CasinoCalendarDailyDetails-qLuUx2VZ.js +701 -0
- package/components/{CasinoCalendarDailyItem-CU9qMJji.js → CasinoCalendarDailyItem-DKZuA435.js} +46 -46
- package/components/CasinoCalendarDailyItem-DcdOBbU8.js +315 -0
- package/components/CasinoCalendarDailyItem-Dm-IKJx0.cjs +1 -0
- package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +1 -0
- package/components/CasinoCollectionsProviders-DDg-M4Ky.js +664 -0
- package/components/{CasinoCollectionsProviders-DxgdPTXN.js → CasinoCollectionsProviders-DPXPW7Wb.js} +54 -54
- package/components/CasinoFavoritesSectionNd-BaYSblX2.js +439 -0
- package/components/CasinoFavoritesSectionNd-BseQ6ntB.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-B4ykl07q.js → CasinoFavoritesSectionNd-DPO11eIl.js} +16 -16
- package/components/CasinoFilter-CQA5tRXc.js +634 -0
- package/components/{CasinoFilter-C67EHGOs.js → CasinoFilter-DarCjn7O.js} +55 -55
- package/components/CasinoFilter-bjRSwwQj.cjs +1 -0
- package/components/{CasinoGameThumbnailNd-DHZn2Osv.js → CasinoGameThumbnailNd-C8JF_kRW.js} +62 -62
- package/components/CasinoGameThumbnailNd-CMWvCrxU.js +4411 -0
- package/components/CasinoGameThumbnailNd-M5MyMQqb.cjs +39 -0
- package/components/{CasinoGamesCategorySectionNd-CJ7h1ry6.js → CasinoGamesCategorySectionNd-B7bxi7wJ.js} +164 -172
- package/components/CasinoGamesCategorySectionNd-D97PLCZQ.js +3030 -0
- package/components/CasinoGamesCategorySectionNd-DzkueBMw.cjs +1 -0
- package/components/CasinoJackpotBanner-BzQTQP0g.js +618 -0
- package/components/{CasinoJackpotBanner-BRQqqpK8.js → CasinoJackpotBanner-CyMIq-Hw.js} +68 -68
- package/components/CasinoJackpotBanner-DrH5T9F0.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-D81dvYjX.js → CasinoLastPlayedSectionNd-C-VkTH2C.js} +26 -26
- package/components/CasinoLastPlayedSectionNd-D7cVedev.js +566 -0
- package/components/CasinoLastPlayedSectionNd-K-wgzihy.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-GSWFIazO.js → CasinoMostPlayedSectionNd-DBY9uW22.js} +32 -32
- package/components/CasinoMostPlayedSectionNd-DLd7wPNf.cjs +1 -0
- package/components/CasinoMostPlayedSectionNd-DT0BhU2p.js +583 -0
- package/components/{CasinoMyGamesNd-D90aAPbm.js → CasinoMyGamesNd-BYler1NB.js} +42 -42
- package/components/CasinoMyGamesNd-DQQ8Lo5B.cjs +1 -0
- package/components/CasinoMyGamesNd-tEImAPBs.js +1317 -0
- package/components/{CasinoPageNd-m88rCj8H.js → CasinoPageNd-BCgF9CmR.js} +124 -124
- package/components/CasinoPageNd-BcbPgetl.js +3548 -0
- package/components/CasinoPageNd-CkLDoAux.cjs +1 -0
- package/components/CasinoRandomGame-CGpFFaoE.js +668 -0
- package/components/{CasinoRandomGame-BpYrX4Cp.js → CasinoRandomGame-CWMW9E0i.js} +56 -56
- package/components/CasinoRandomGame-D1NgXW5u.cjs +2 -0
- package/components/CasinoSearchNd-BNECYNN3.cjs +1 -0
- package/components/{CasinoSearchNd-BZW8IoJy.js → CasinoSearchNd-BnS9e06D.js} +69 -69
- package/components/CasinoSearchNd-Dr-tu25u.js +1072 -0
- package/components/CasinoSort-B5j-QwSa.cjs +1 -0
- package/components/CasinoSort-BKXVp_Q-.js +432 -0
- package/components/{CasinoSort-bFOcp6J4.js → CasinoSort-mWbCQ4MJ.js} +16 -16
- package/components/CasinoWinners-Brfa3DHB.js +971 -0
- package/components/{CasinoWinners-BUoqMo1a.js → CasinoWinners-CFPyLxtr.js} +75 -75
- package/components/CasinoWinners-WPMrk6iO.cjs +1 -0
- package/components/{GeneralAnimationLoading-CC5IRZHm.js → GeneralAnimationLoading-CM50RqcF.js} +8 -8
- package/components/GeneralAnimationLoading-DVXxEF3S.js +75 -0
- package/components/GeneralAnimationLoading-DqRALFbY.cjs +1 -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-BrayzMrR.js → casino-play-random-game-CoygOtgn.js} +1 -1
- package/stencil/casino-play-random-game-DjMkr-Sg.cjs +371 -0
- package/stencil/casino-play-random-game-DkjQlTyE.js +577 -0
- package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
- package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
- package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -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-BzhZkzgP.js";
|
|
2
|
+
import "./CasinoGamesCategorySectionNd-B7bxi7wJ.js";
|
|
3
|
+
import { h as Q } from "./CasinoGameThumbnailNd-C8JF_kRW.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
|
};
|