@everymatrix/casino-lobby 1.63.2 → 1.64.0
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-CNMPPqgx.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-DoxssdOG.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-DF0Pr_uv.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-O-Ka4MG6.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-D51VouvS.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Bte1Sqxk.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-BRS5bbYT.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/CasinoCollectionsProviders-DCfKtqH3.js +653 -0
- package/components/{CasinoCollectionsProviders-eQakUMn6.js → CasinoCollectionsProviders-QF8UYQEH.js} +181 -182
- package/components/{CasinoFavoritesSection-CB9LB0WP.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-CqX1dQbA.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-tN5tvnAA.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-CaXIhjO3.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-CE3HGSQ0.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-g1NekVQ2.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-ODsH-VZ2.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-DUG_Uqdj.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-DCRwj3vq.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DnctL7sJ.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-DiFabula.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BGP5NlAK.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-LnAsl4Vq.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-CxFhGWih.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-DYe3Koqg.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CFE_jBY7.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DeIv0o2d.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-BLrjptUT.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-CcmxfoNH.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-zfcQ4N68.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-CsLVF6jp.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-BICHn490.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-D2JlK2FG.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-Dsb7hsCV.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-BKIXFpTy.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-DldDXHiD.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-BB4A3Me6.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-qzNaZ__f.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BalTtz4n.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-CzQKu674.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-GuiyA6qP.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch-BunxlPeC.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-CCs2pkhA.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BRX2Xq-L.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-Ds5Gxm-O.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-BFlIPfWc.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/CasinoWinners-CJI2fDKO.js +978 -0
- package/components/CasinoWinners-CvtwPY7V.js +996 -0
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-cgso8Mxu.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-7OFxqSZ5.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-BdfUf0_9.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-CYB9UUHg.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-BSTP7sZO.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-305OBzqh.js +0 -694
- package/components/CasinoCalendarDailyDetails-DUp41baV.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-OB1lJeYE.js +0 -694
- package/components/CasinoCalendarDailyItem-B-DrlkeE.cjs +0 -1
- package/components/CasinoCategoriesSlider-BiaZvSw4.cjs +0 -1
- package/components/CasinoCollectionsProviders-CMAAQr-q.cjs +0 -1
- package/components/CasinoCollectionsProviders-kaCgm3e1.js +0 -654
- package/components/CasinoGamesCategorySection-C3vEnV4u.cjs +0 -1
- package/components/CasinoGamesCategorySection-Zo8E4vzJ.js +0 -3170
- package/components/CasinoGamesCategorySection-duJpxi3h.js +0 -3139
- package/components/CasinoLobby-ByANgzRN.cjs +0 -1
- package/components/CasinoSlider-Q3CLkzHo.cjs +0 -1
- package/components/CasinoSlider-VfpP1c2C.js +0 -797
- package/components/CasinoWinners-B_hz9jpe.cjs +0 -1
- package/components/CasinoWinners-DMV8Yt40.js +0 -983
- package/components/CasinoWinners-j5Ay-YXI.js +0 -981
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j,
|
|
2
|
-
import { d as rt } from "./CasinoGameThumbnail-
|
|
3
|
-
import "./CasinoGamesCategorySection-
|
|
1
|
+
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, O as Ye, r as f, R as he, h as I, p as b, A as Y, j as R, B as z, F as de, M as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as ge, w as Qe, U as Le, E as u, H as $e, I as et, J as tt, K as at, L as nt } from "./CasinoCalendar-IdM-lXMG.js";
|
|
2
|
+
import { d as rt } from "./CasinoGameThumbnail-CXKT4Qo5.js";
|
|
3
|
+
import "./CasinoGamesCategorySection-DFvVele9.js";
|
|
4
4
|
function fe(t, e) {
|
|
5
5
|
He(t, e);
|
|
6
6
|
}
|
|
@@ -238,7 +238,7 @@ function _e(t) {
|
|
|
238
238
|
(t[13] ? "NotVisible" : ""));
|
|
239
239
|
},
|
|
240
240
|
m(i, c) {
|
|
241
|
-
|
|
241
|
+
I(i, e, c), b(e, n), l || (s = Y(
|
|
242
242
|
e,
|
|
243
243
|
"click",
|
|
244
244
|
/*click_handler_1*/
|
|
@@ -282,11 +282,11 @@ function ct(t) {
|
|
|
282
282
|
);
|
|
283
283
|
return {
|
|
284
284
|
c() {
|
|
285
|
-
i && i.c(), e =
|
|
285
|
+
i && i.c(), e = z(), a = R("div"), c && c.c(), n = z(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
286
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
287
287
|
},
|
|
288
288
|
m(h, g) {
|
|
289
|
-
i && i.m(h, g),
|
|
289
|
+
i && i.m(h, g), I(h, e, g), I(h, a, g), c && c.m(a, null), b(a, n), m && m.m(a, null);
|
|
290
290
|
},
|
|
291
291
|
p(h, g) {
|
|
292
292
|
s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
@@ -311,7 +311,7 @@ function ut(t) {
|
|
|
311
311
|
e = R("p"), n = H(a), f(e, "class", "LoadingContent");
|
|
312
312
|
},
|
|
313
313
|
m(r, l) {
|
|
314
|
-
|
|
314
|
+
I(r, e, l), b(e, n);
|
|
315
315
|
},
|
|
316
316
|
p(r, l) {
|
|
317
317
|
l[0] & /*$_*/
|
|
@@ -333,7 +333,7 @@ function ht(t) {
|
|
|
333
333
|
e = R("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
334
334
|
},
|
|
335
335
|
m(r, l) {
|
|
336
|
-
|
|
336
|
+
I(r, e, l), b(e, n);
|
|
337
337
|
},
|
|
338
338
|
p(r, l) {
|
|
339
339
|
l[0] & /*$_*/
|
|
@@ -355,10 +355,10 @@ function dt(t) {
|
|
|
355
355
|
);
|
|
356
356
|
return {
|
|
357
357
|
c() {
|
|
358
|
-
n && n.c(), e =
|
|
358
|
+
n && n.c(), e = z(), r && r.c(), a = Le();
|
|
359
359
|
},
|
|
360
360
|
m(l, s) {
|
|
361
|
-
n && n.m(l, s),
|
|
361
|
+
n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
|
|
362
362
|
},
|
|
363
363
|
p(l, s) {
|
|
364
364
|
/*searchArray*/
|
|
@@ -380,7 +380,7 @@ function we(t) {
|
|
|
380
380
|
e = R("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
381
381
|
},
|
|
382
382
|
m(r, l) {
|
|
383
|
-
|
|
383
|
+
I(r, e, l), b(e, n);
|
|
384
384
|
},
|
|
385
385
|
p(r, l) {
|
|
386
386
|
l[0] & /*$_*/
|
|
@@ -402,11 +402,11 @@ function ve(t) {
|
|
|
402
402
|
);
|
|
403
403
|
return {
|
|
404
404
|
c() {
|
|
405
|
-
e = R("div"), i && i.c(), a =
|
|
405
|
+
e = R("div"), i && i.c(), a = z(), n = R("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
406
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
407
407
|
},
|
|
408
408
|
m(c, m) {
|
|
409
|
-
|
|
409
|
+
I(c, e, m), i && i.m(e, null), b(e, a), b(e, n), b(n, l);
|
|
410
410
|
},
|
|
411
411
|
p(c, m) {
|
|
412
412
|
/*notfoundicon*/
|
|
@@ -428,7 +428,7 @@ function ye(t) {
|
|
|
428
428
|
e = R("div"), e.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>', f(e, "class", "SearchErrorIcon");
|
|
429
429
|
},
|
|
430
430
|
m(a, n) {
|
|
431
|
-
|
|
431
|
+
I(a, e, n);
|
|
432
432
|
},
|
|
433
433
|
d(a) {
|
|
434
434
|
a && j(e);
|
|
@@ -451,7 +451,7 @@ function ke(t) {
|
|
|
451
451
|
m(r, l) {
|
|
452
452
|
for (let s = 0; s < n.length; s += 1)
|
|
453
453
|
n[s] && n[s].m(r, l);
|
|
454
|
-
|
|
454
|
+
I(r, e, l);
|
|
455
455
|
},
|
|
456
456
|
p(r, l) {
|
|
457
457
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
@@ -560,7 +560,7 @@ function Re(t) {
|
|
|
560
560
|
);
|
|
561
561
|
},
|
|
562
562
|
m(d, p) {
|
|
563
|
-
|
|
563
|
+
I(d, e, p);
|
|
564
564
|
},
|
|
565
565
|
p(d, p) {
|
|
566
566
|
p[0] & /*endpoint*/
|
|
@@ -684,11 +684,11 @@ function Ce(t) {
|
|
|
684
684
|
);
|
|
685
685
|
return {
|
|
686
686
|
c() {
|
|
687
|
-
e = R("div"), g && g.c(), a =
|
|
687
|
+
e = R("div"), g && g.c(), a = z(), n = R("p"), l = H(r), s = z(), i = R("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
688
688
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
689
689
|
},
|
|
690
690
|
m(w, d) {
|
|
691
|
-
|
|
691
|
+
I(w, e, d), g && g.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
|
|
692
692
|
},
|
|
693
693
|
p(w, d) {
|
|
694
694
|
/*notfoundicon*/
|
|
@@ -712,7 +712,7 @@ function Fe(t) {
|
|
|
712
712
|
e = R("div"), e.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>', f(e, "class", "SearchErrorIcon");
|
|
713
713
|
},
|
|
714
714
|
m(a, n) {
|
|
715
|
-
|
|
715
|
+
I(a, e, n);
|
|
716
716
|
},
|
|
717
717
|
d(a) {
|
|
718
718
|
a && j(e);
|
|
@@ -720,35 +720,35 @@ function Fe(t) {
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function mt(t) {
|
|
723
|
-
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B,
|
|
723
|
+
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, N, x, V, A, W, v = (
|
|
724
724
|
/*cancelbutton*/
|
|
725
725
|
t[9] === "true" && _e(t)
|
|
726
726
|
);
|
|
727
|
-
function
|
|
727
|
+
function G(_, T) {
|
|
728
728
|
return (
|
|
729
729
|
/*isLoading*/
|
|
730
730
|
_[18] ? ut : ct
|
|
731
731
|
);
|
|
732
732
|
}
|
|
733
|
-
let M =
|
|
733
|
+
let M = G(t), k = M(t);
|
|
734
734
|
return {
|
|
735
735
|
c() {
|
|
736
|
-
e = R("div"), a = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l =
|
|
736
|
+
e = R("div"), a = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = R("input"), c = z(), m = R("span"), h = de("svg"), g = de("path"), d = z(), v && v.c(), B = z(), N = R("div"), V = z(), k.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
737
737
|
t[21]("placeHolderSearchGames")), f(s, "maxlength", gt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
738
738
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
739
739
|
(t[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
740
|
-
(t[13] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(
|
|
740
|
+
(t[13] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(N, "class", x = /*cancelbutton*/
|
|
741
741
|
t[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ae(
|
|
742
742
|
/*userAgent*/
|
|
743
743
|
t[22]
|
|
744
744
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
745
745
|
},
|
|
746
746
|
m(_, T) {
|
|
747
|
-
|
|
747
|
+
I(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
|
|
748
748
|
s,
|
|
749
749
|
/*searchValue*/
|
|
750
750
|
t[12]
|
|
751
|
-
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e,
|
|
751
|
+
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e, N), b(e, V), k.m(e, null), t[37](e), A || (W = [
|
|
752
752
|
Y(
|
|
753
753
|
s,
|
|
754
754
|
"input",
|
|
@@ -768,7 +768,7 @@ function mt(t) {
|
|
|
768
768
|
t[35]
|
|
769
769
|
),
|
|
770
770
|
Y(
|
|
771
|
-
|
|
771
|
+
N,
|
|
772
772
|
"click",
|
|
773
773
|
/*handleOverlay*/
|
|
774
774
|
t[24]
|
|
@@ -792,7 +792,7 @@ function mt(t) {
|
|
|
792
792
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
793
793
|
(_[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
794
794
|
512 && x !== (x = /*cancelbutton*/
|
|
795
|
-
_[9] != "true" ? "OverlayCancel" : "") && f(
|
|
795
|
+
_[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = G(_)) && k ? k.p(_, T) : (k.d(1), k = M(_), k && (k.c(), k.m(e, null)));
|
|
796
796
|
},
|
|
797
797
|
i: ue,
|
|
798
798
|
o: ue,
|
|
@@ -805,7 +805,7 @@ let gt = 50;
|
|
|
805
805
|
function ft(t, e, a) {
|
|
806
806
|
let n;
|
|
807
807
|
Ke(t, nt, (o) => a(21, n = o));
|
|
808
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites:
|
|
808
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], M = {}, k = "", _, T = !0, J = !1, D = !1, P, K = !1, X, Q, re = [];
|
|
809
809
|
const Te = () => {
|
|
810
810
|
fetch(B).then((S) => S.json()).then((S) => {
|
|
811
811
|
Object.keys(S).forEach((y) => {
|
|
@@ -819,7 +819,7 @@ function ft(t, e, a) {
|
|
|
819
819
|
fe(o, pe[o]);
|
|
820
820
|
});
|
|
821
821
|
const oe = (o) => {
|
|
822
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
822
|
+
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
|
|
823
823
|
}, se = () => {
|
|
824
824
|
if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
|
|
825
825
|
a(15, v = []);
|
|
@@ -828,14 +828,14 @@ function ft(t, e, a) {
|
|
|
828
828
|
let y = [], C = 0, F = S.length;
|
|
829
829
|
if (F > 0) {
|
|
830
830
|
for (C = 0; C < F; C++) {
|
|
831
|
-
let
|
|
832
|
-
|
|
831
|
+
let E = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
832
|
+
E.searchParams.append("language", c), E.searchParams.append("datasource", l), E.searchParams.append("platform", ae(W)), y.push(Ee(E, S[C]));
|
|
833
833
|
}
|
|
834
|
-
Promise.all(y).then((
|
|
835
|
-
|
|
834
|
+
Promise.all(y).then((E) => {
|
|
835
|
+
E = E.filter(function(O) {
|
|
836
836
|
return !!O;
|
|
837
|
-
}), a(15, v =
|
|
838
|
-
}).catch((
|
|
837
|
+
}), a(15, v = E.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
838
|
+
}).catch((E) => {
|
|
839
839
|
Z("searchError", "SearchWidget");
|
|
840
840
|
});
|
|
841
841
|
}
|
|
@@ -845,19 +845,19 @@ function ft(t, e, a) {
|
|
|
845
845
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
846
846
|
}, je = () => {
|
|
847
847
|
x != "true" && $();
|
|
848
|
-
},
|
|
848
|
+
}, Ie = (o) => new Promise((S, y) => {
|
|
849
849
|
a(18, D = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
850
850
|
a(18, D = !1), S(C);
|
|
851
851
|
}).catch((C) => {
|
|
852
852
|
a(18, D = !1), console.error(C), y(C);
|
|
853
853
|
});
|
|
854
|
-
}),
|
|
854
|
+
}), Ee = (o, S) => new Promise((y, C) => {
|
|
855
855
|
a(18, D = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, D = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
856
856
|
a(18, D = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
|
|
857
857
|
}).catch((F) => {
|
|
858
858
|
a(18, D = !1), console.error(F), C(F);
|
|
859
859
|
});
|
|
860
|
-
}),
|
|
860
|
+
}), Ge = () => {
|
|
861
861
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
862
862
|
a(18, D = !0);
|
|
863
863
|
let S = {
|
|
@@ -869,19 +869,19 @@ function ft(t, e, a) {
|
|
|
869
869
|
});
|
|
870
870
|
}, De = () => {
|
|
871
871
|
a(32, K = !0), a(19, X = s), a(20, Q = i);
|
|
872
|
-
}, le = (o) => re.findIndex((S) => S == o) !== -1,
|
|
872
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, ze = (o) => {
|
|
873
873
|
if (o?.length === 0)
|
|
874
874
|
return "";
|
|
875
875
|
let S, y = 99999999999, C;
|
|
876
876
|
const F = new Date(Date.now());
|
|
877
|
-
return o.forEach((
|
|
878
|
-
const qe = new Date(
|
|
877
|
+
return o.forEach((E, O) => {
|
|
878
|
+
const qe = new Date(E.schedules[0].startTime), te = new Date(E.schedules[0].endTime);
|
|
879
879
|
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
|
|
880
880
|
}), S;
|
|
881
|
-
},
|
|
882
|
-
if (
|
|
881
|
+
}, Ne = (o) => {
|
|
882
|
+
if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
|
|
883
883
|
let S;
|
|
884
|
-
|
|
884
|
+
G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
885
885
|
}
|
|
886
886
|
}, $ = () => {
|
|
887
887
|
a(12, k = ""), a(13, T = !0), a(18, D = !1), a(15, v = []), a(17, J = !1), ce(J);
|
|
@@ -916,13 +916,13 @@ function ft(t, e, a) {
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
return t.$$set = (o) => {
|
|
919
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(31, B = o.translationurl), "showfavorites" in o && a(8,
|
|
919
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(31, B = o.translationurl), "showfavorites" in o && a(8, N = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
920
920
|
}, t.$$.update = () => {
|
|
921
921
|
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
922
922
|
268447747)
|
|
923
923
|
if (k.length >= 2) {
|
|
924
924
|
const o = new URL(`${r}/v1/casino/games`);
|
|
925
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${k}`),
|
|
925
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${k}`), Ie(o).then((S) => {
|
|
926
926
|
rt("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
927
927
|
});
|
|
928
928
|
} else
|
|
@@ -932,7 +932,7 @@ function ft(t, e, a) {
|
|
|
932
932
|
1 && B && Te(), t.$$.dirty[0] & /*session, userid*/
|
|
933
933
|
1610612736 && s && i && De(), t.$$.dirty[0] & /*showfavorites*/
|
|
934
934
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
935
|
-
2 &&
|
|
935
|
+
2 && N && K && Ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
936
936
|
16388 && m && P && $e(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
937
937
|
16392 && h && P && et(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
938
938
|
18432 && P && tt(P, `${A}.Style`);
|
|
@@ -945,7 +945,7 @@ function ft(t, e, a) {
|
|
|
945
945
|
w,
|
|
946
946
|
d,
|
|
947
947
|
p,
|
|
948
|
-
|
|
948
|
+
N,
|
|
949
949
|
x,
|
|
950
950
|
V,
|
|
951
951
|
A,
|
|
@@ -962,7 +962,7 @@ function ft(t, e, a) {
|
|
|
962
962
|
W,
|
|
963
963
|
se,
|
|
964
964
|
je,
|
|
965
|
-
|
|
965
|
+
ze,
|
|
966
966
|
$,
|
|
967
967
|
ie,
|
|
968
968
|
l,
|