@everymatrix/casino-lobby 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-_T8fa3tA.js → CasinoCalendar-8h5qdaaJ.js} +1018 -956
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-D9zXfDS4.js} +988 -926
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-D0Kx4qhT.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-DFwCqTfY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-C62RswBp.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DTqfqF2k.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BhsSLM-H.js} +66 -66
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-CCCss88T.js} +65 -65
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js} +72 -70
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-B7jL1xWi.js} +70 -68
- package/components/{CasinoCollectionsProviders-fHbyEo_l.cjs → CasinoCollectionsProviders-DdI8afJV.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-8fm71dF4.js} +28 -28
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-C0iLu9Sw.js} +28 -28
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-DrmyxOK7.cjs} +1 -1
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-BTgsR3X2.js} +241 -238
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-m6_88uQv.js} +252 -247
- package/components/CasinoGamePage-CkvljoIb.js +4249 -0
- package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-DAv8OZV8.js} +1645 -1692
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-B4KIog_7.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-BMm5Xl4k.js} +374 -353
- package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-BSklauO4.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-DUDDLFW2.js} +255 -248
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-XWxil8vo.js} +334 -327
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-6WZPbIyJ.js} +79 -79
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-Bu16yaAe.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-BT4kxVP1.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-DFUMCS3n.js} +43 -43
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-cjUgoZnI.cjs} +1 -1
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-CRIb8E4f.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-Di0-vjQH.js} +45 -45
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-DrBFK5gG.js} +47 -47
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-Ce9u8B9n.js} +41 -41
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-DMOewty4.js} +41 -41
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js} +50 -50
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-0CUDyeW1.js} +53 -49
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-DQaVeSFh.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-DTWGCs0t.js} +54 -50
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-BFAkKTIr.js} +90 -86
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-CYfqznpn.js} +90 -86
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-Dn8IgsJW.cjs} +1 -1
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-CwNUHn-I.js} +66 -64
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-qSedkhdM.js} +66 -64
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-58Bbs2ly.js} +78 -75
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-Itb9Lu5Z.js} +78 -75
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BBo1-Yix.js} +65 -65
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BLhtuqXM.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-CBEUIj6Q.js} +105 -105
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-DDFUPoRE.js} +113 -111
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-C9LcOp1b.js} +155 -153
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-wjNHmiu9.js} +160 -158
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-D4V5ml6G.js} +16 -16
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-DXg7Sgve.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- 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-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Ae, $ as Oe, S as qe, i as He,
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as $ } from "./CasinoGamePage-
|
|
1
|
+
import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, X as ce, A as Z, G as ue, j as z, U as Je, k as Ze, o as Xe, l as Ye, x as q, E as H, q as he, r as Ke, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-D9zXfDS4.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-XWxil8vo.js";
|
|
3
|
+
import { h as $ } from "./CasinoGamePage-CkvljoIb.js";
|
|
4
4
|
function me(a, e) {
|
|
5
5
|
Ae(a, e);
|
|
6
6
|
}
|
|
@@ -191,7 +191,7 @@ const ge = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
function at(a) {
|
|
194
|
-
|
|
194
|
+
Ve(a, "svelte-8vixmz", "*,*::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 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;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;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin: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-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
195
195
|
}
|
|
196
196
|
function fe(a, e, t) {
|
|
197
197
|
const n = a.slice();
|
|
@@ -204,11 +204,11 @@ function pe(a) {
|
|
|
204
204
|
), n, r, l, s;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = y("small"), n =
|
|
207
|
+
e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
208
208
|
(a[13] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
211
|
-
|
|
211
|
+
j(i, e, c), _(e, n), l || (s = Z(
|
|
212
212
|
e,
|
|
213
213
|
"click",
|
|
214
214
|
/*click_handler_1*/
|
|
@@ -218,12 +218,12 @@ function pe(a) {
|
|
|
218
218
|
p(i, c) {
|
|
219
219
|
c[0] & /*$_*/
|
|
220
220
|
2097152 && t !== (t = /*$_*/
|
|
221
|
-
i[21]("cancel") + "") &&
|
|
221
|
+
i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
|
|
222
222
|
8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
223
|
(i[13] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
225
225
|
d(i) {
|
|
226
|
-
i &&
|
|
226
|
+
i && z(e), l = !1, s();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -234,11 +234,13 @@ function nt(a) {
|
|
|
234
234
|
/*searchActive*/
|
|
235
235
|
h[17] == !0 && /*searchValue*/
|
|
236
236
|
h[12].length < 2
|
|
237
|
-
)
|
|
237
|
+
)
|
|
238
|
+
return st;
|
|
238
239
|
if (
|
|
239
240
|
/*searchArray*/
|
|
240
241
|
h[15].length != 0
|
|
241
|
-
)
|
|
242
|
+
)
|
|
243
|
+
return ot;
|
|
242
244
|
}
|
|
243
245
|
let s = l(a), i = s && s(a), c = (
|
|
244
246
|
/*searchCancelled*/
|
|
@@ -254,7 +256,7 @@ function nt(a) {
|
|
|
254
256
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
255
257
|
},
|
|
256
258
|
m(h, g) {
|
|
257
|
-
i && i.m(h, g),
|
|
259
|
+
i && i.m(h, g), j(h, e, g), j(h, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
|
|
258
260
|
},
|
|
259
261
|
p(h, g) {
|
|
260
262
|
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*/
|
|
@@ -265,7 +267,7 @@ function nt(a) {
|
|
|
265
267
|
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
|
|
266
268
|
},
|
|
267
269
|
d(h) {
|
|
268
|
-
h && (
|
|
270
|
+
h && (z(e), z(t)), i && i.d(h), c && c.d(), m && m.d();
|
|
269
271
|
}
|
|
270
272
|
};
|
|
271
273
|
}
|
|
@@ -276,18 +278,18 @@ function rt(a) {
|
|
|
276
278
|
), n;
|
|
277
279
|
return {
|
|
278
280
|
c() {
|
|
279
|
-
e = y("p"), n =
|
|
281
|
+
e = y("p"), n = q(t), f(e, "class", "LoadingContent");
|
|
280
282
|
},
|
|
281
283
|
m(r, l) {
|
|
282
|
-
|
|
284
|
+
j(r, e, l), _(e, n);
|
|
283
285
|
},
|
|
284
286
|
p(r, l) {
|
|
285
287
|
l[0] & /*$_*/
|
|
286
288
|
2097152 && t !== (t = /*$_*/
|
|
287
|
-
r[21]("loading") + "") &&
|
|
289
|
+
r[21]("loading") + "") && H(n, t);
|
|
288
290
|
},
|
|
289
291
|
d(r) {
|
|
290
|
-
r &&
|
|
292
|
+
r && z(e);
|
|
291
293
|
}
|
|
292
294
|
};
|
|
293
295
|
}
|
|
@@ -298,18 +300,18 @@ function ot(a) {
|
|
|
298
300
|
), n;
|
|
299
301
|
return {
|
|
300
302
|
c() {
|
|
301
|
-
e = y("p"), n =
|
|
303
|
+
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
302
304
|
},
|
|
303
305
|
m(r, l) {
|
|
304
|
-
|
|
306
|
+
j(r, e, l), _(e, n);
|
|
305
307
|
},
|
|
306
308
|
p(r, l) {
|
|
307
309
|
l[0] & /*$_*/
|
|
308
310
|
2097152 && t !== (t = /*$_*/
|
|
309
|
-
r[21]("searchResult") + "") &&
|
|
311
|
+
r[21]("searchResult") + "") && H(n, t);
|
|
310
312
|
},
|
|
311
313
|
d(r) {
|
|
312
|
-
r &&
|
|
314
|
+
r && z(e);
|
|
313
315
|
}
|
|
314
316
|
};
|
|
315
317
|
}
|
|
@@ -326,7 +328,7 @@ function st(a) {
|
|
|
326
328
|
n && n.c(), e = N(), r && r.c(), t = Re();
|
|
327
329
|
},
|
|
328
330
|
m(l, s) {
|
|
329
|
-
n && n.m(l, s),
|
|
331
|
+
n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
|
|
330
332
|
},
|
|
331
333
|
p(l, s) {
|
|
332
334
|
/*searchArray*/
|
|
@@ -334,7 +336,7 @@ function st(a) {
|
|
|
334
336
|
l[15].length == 0 ? r ? r.p(l, s) : (r = _e(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
335
337
|
},
|
|
336
338
|
d(l) {
|
|
337
|
-
l && (
|
|
339
|
+
l && (z(e), z(t)), n && n.d(l), r && r.d(l);
|
|
338
340
|
}
|
|
339
341
|
};
|
|
340
342
|
}
|
|
@@ -345,18 +347,18 @@ function Se(a) {
|
|
|
345
347
|
), n;
|
|
346
348
|
return {
|
|
347
349
|
c() {
|
|
348
|
-
e = y("p"), n =
|
|
350
|
+
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
349
351
|
},
|
|
350
352
|
m(r, l) {
|
|
351
|
-
|
|
353
|
+
j(r, e, l), _(e, n);
|
|
352
354
|
},
|
|
353
355
|
p(r, l) {
|
|
354
356
|
l[0] & /*$_*/
|
|
355
357
|
2097152 && t !== (t = /*$_*/
|
|
356
|
-
r[21]("recentSearch") + "") &&
|
|
358
|
+
r[21]("recentSearch") + "") && H(n, t);
|
|
357
359
|
},
|
|
358
360
|
d(r) {
|
|
359
|
-
r &&
|
|
361
|
+
r && z(e);
|
|
360
362
|
}
|
|
361
363
|
};
|
|
362
364
|
}
|
|
@@ -370,22 +372,22 @@ function _e(a) {
|
|
|
370
372
|
);
|
|
371
373
|
return {
|
|
372
374
|
c() {
|
|
373
|
-
e = y("div"), i && i.c(), t = N(), n = y("p"), l =
|
|
375
|
+
e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
374
376
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
375
377
|
},
|
|
376
378
|
m(c, m) {
|
|
377
|
-
|
|
379
|
+
j(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
|
|
378
380
|
},
|
|
379
381
|
p(c, m) {
|
|
380
382
|
/*notfoundicon*/
|
|
381
383
|
c[10] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
382
384
|
2097152 && r !== (r = /*$_*/
|
|
383
|
-
c[21]("noRecentSearches") + "") &&
|
|
385
|
+
c[21]("noRecentSearches") + "") && H(l, r), m[0] & /*notfoundicon*/
|
|
384
386
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
385
387
|
(c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
386
388
|
},
|
|
387
389
|
d(c) {
|
|
388
|
-
c &&
|
|
390
|
+
c && z(e), i && i.d();
|
|
389
391
|
}
|
|
390
392
|
};
|
|
391
393
|
}
|
|
@@ -396,10 +398,10 @@ function be(a) {
|
|
|
396
398
|
e = y("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");
|
|
397
399
|
},
|
|
398
400
|
m(t, n) {
|
|
399
|
-
|
|
401
|
+
j(t, e, n);
|
|
400
402
|
},
|
|
401
403
|
d(t) {
|
|
402
|
-
t &&
|
|
404
|
+
t && z(e);
|
|
403
405
|
}
|
|
404
406
|
};
|
|
405
407
|
}
|
|
@@ -419,7 +421,7 @@ function we(a) {
|
|
|
419
421
|
m(r, l) {
|
|
420
422
|
for (let s = 0; s < n.length; s += 1)
|
|
421
423
|
n[s] && n[s].m(r, l);
|
|
422
|
-
|
|
424
|
+
j(r, e, l);
|
|
423
425
|
},
|
|
424
426
|
p(r, l) {
|
|
425
427
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
@@ -439,7 +441,7 @@ function we(a) {
|
|
|
439
441
|
}
|
|
440
442
|
},
|
|
441
443
|
d(r) {
|
|
442
|
-
r &&
|
|
444
|
+
r && z(e), $e(n, r);
|
|
443
445
|
}
|
|
444
446
|
};
|
|
445
447
|
}
|
|
@@ -529,7 +531,7 @@ function ve(a) {
|
|
|
529
531
|
);
|
|
530
532
|
},
|
|
531
533
|
m(d, p) {
|
|
532
|
-
|
|
534
|
+
j(d, e, p);
|
|
533
535
|
},
|
|
534
536
|
p(d, p) {
|
|
535
537
|
var P;
|
|
@@ -637,7 +639,7 @@ function ve(a) {
|
|
|
637
639
|
);
|
|
638
640
|
},
|
|
639
641
|
d(d) {
|
|
640
|
-
d &&
|
|
642
|
+
d && z(e);
|
|
641
643
|
}
|
|
642
644
|
};
|
|
643
645
|
}
|
|
@@ -654,24 +656,24 @@ function ke(a) {
|
|
|
654
656
|
);
|
|
655
657
|
return {
|
|
656
658
|
c() {
|
|
657
|
-
e = y("div"), g && g.c(), t = N(), n = y("p"), l =
|
|
659
|
+
e = y("div"), g && g.c(), t = N(), n = y("p"), l = q(r), s = N(), i = y("p"), m = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
658
660
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
659
661
|
},
|
|
660
662
|
m(w, d) {
|
|
661
|
-
|
|
663
|
+
j(w, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
|
|
662
664
|
},
|
|
663
665
|
p(w, d) {
|
|
664
666
|
/*notfoundicon*/
|
|
665
667
|
w[10] === "true" ? g || (g = ye(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
666
668
|
2097152 && r !== (r = /*$_*/
|
|
667
|
-
w[21]("notFound") + "") &&
|
|
669
|
+
w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
|
|
668
670
|
2097152 && c !== (c = /*$_*/
|
|
669
|
-
w[21]("notFoundText") + "") &&
|
|
671
|
+
w[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
|
|
670
672
|
1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
671
673
|
(w[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
|
|
672
674
|
},
|
|
673
675
|
d(w) {
|
|
674
|
-
w &&
|
|
676
|
+
w && z(e), g && g.d();
|
|
675
677
|
}
|
|
676
678
|
};
|
|
677
679
|
}
|
|
@@ -682,10 +684,10 @@ function ye(a) {
|
|
|
682
684
|
e = y("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");
|
|
683
685
|
},
|
|
684
686
|
m(t, n) {
|
|
685
|
-
|
|
687
|
+
j(t, e, n);
|
|
686
688
|
},
|
|
687
689
|
d(t) {
|
|
688
|
-
t &&
|
|
690
|
+
t && z(e);
|
|
689
691
|
}
|
|
690
692
|
};
|
|
691
693
|
}
|
|
@@ -694,16 +696,16 @@ function lt(a) {
|
|
|
694
696
|
/*cancelbutton*/
|
|
695
697
|
a[9] === "true" && pe(a)
|
|
696
698
|
);
|
|
697
|
-
function
|
|
699
|
+
function I(b, T) {
|
|
698
700
|
return (
|
|
699
701
|
/*isLoading*/
|
|
700
702
|
b[18] ? rt : nt
|
|
701
703
|
);
|
|
702
704
|
}
|
|
703
|
-
let D =
|
|
705
|
+
let D = I(a), R = D(a);
|
|
704
706
|
return {
|
|
705
707
|
c() {
|
|
706
|
-
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="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), h =
|
|
708
|
+
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="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), h = ie("svg"), g = ie("path"), d = N(), v && v.c(), P = N(), x = y("div"), U = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
707
709
|
a[21]("placeHolderSearchGames")), f(s, "maxlength", it), 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*/
|
|
708
710
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
709
711
|
(a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -714,7 +716,7 @@ function lt(a) {
|
|
|
714
716
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
715
717
|
},
|
|
716
718
|
m(b, T) {
|
|
717
|
-
|
|
719
|
+
j(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
|
|
718
720
|
s,
|
|
719
721
|
/*searchValue*/
|
|
720
722
|
a[12]
|
|
@@ -762,20 +764,20 @@ function lt(a) {
|
|
|
762
764
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
763
765
|
(b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
764
766
|
512 && B !== (B = /*cancelbutton*/
|
|
765
|
-
b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", B), D === (D =
|
|
767
|
+
b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", B), D === (D = I(b)) && R ? R.p(b, T) : (R.d(1), R = D(b), R && (R.c(), R.m(e, null)));
|
|
766
768
|
},
|
|
767
|
-
i:
|
|
768
|
-
o:
|
|
769
|
+
i: ue,
|
|
770
|
+
o: ue,
|
|
769
771
|
d(b) {
|
|
770
|
-
b &&
|
|
772
|
+
b && z(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Je(W);
|
|
771
773
|
}
|
|
772
774
|
};
|
|
773
775
|
}
|
|
774
776
|
let it = 50;
|
|
775
777
|
function ct(a, e, t) {
|
|
776
778
|
let n;
|
|
777
|
-
|
|
778
|
-
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: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [],
|
|
779
|
+
Ze(a, et, (o) => t(21, n = o));
|
|
780
|
+
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: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], D = {}, R = "", b, T = !0, V = !1, E = !1, M, X = !1, Y, K, ae = [];
|
|
779
781
|
const Ce = () => {
|
|
780
782
|
fetch(P).then((S) => S.json()).then((S) => {
|
|
781
783
|
Object.keys(S).forEach((k) => {
|
|
@@ -789,7 +791,7 @@ function ct(a, e, t) {
|
|
|
789
791
|
me(o, ge[o]);
|
|
790
792
|
});
|
|
791
793
|
const ne = (o) => {
|
|
792
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
794
|
+
o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, Y = o.data.session), t(20, K = o.data.userid), t(32, X = !0)), o.data.type == "CategoryChange" && Q();
|
|
793
795
|
}, re = () => {
|
|
794
796
|
if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
|
|
795
797
|
t(15, v = []);
|
|
@@ -798,14 +800,14 @@ function ct(a, e, t) {
|
|
|
798
800
|
let k = [], C = 0, F = S.length;
|
|
799
801
|
if (F > 0) {
|
|
800
802
|
for (C = 0; C < F; C++) {
|
|
801
|
-
let
|
|
802
|
-
|
|
803
|
+
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
804
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", te(W)), k.push(Te(G, S[C]));
|
|
803
805
|
}
|
|
804
|
-
Promise.all(k).then((
|
|
805
|
-
|
|
806
|
+
Promise.all(k).then((G) => {
|
|
807
|
+
G = G.filter(function(O) {
|
|
806
808
|
return !!O;
|
|
807
|
-
}), t(15, v =
|
|
808
|
-
}).catch((
|
|
809
|
+
}), t(15, v = G.map((O) => (O.isFavorite = oe(O.id), O))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
|
|
810
|
+
}).catch((G) => {
|
|
809
811
|
J("searchError", "SearchWidget");
|
|
810
812
|
});
|
|
811
813
|
}
|
|
@@ -837,20 +839,21 @@ function ct(a, e, t) {
|
|
|
837
839
|
fetch(o.href, S).then((k) => k.json()).then((k) => {
|
|
838
840
|
t(18, E = !1), ae = k.items.map((C) => C.id);
|
|
839
841
|
});
|
|
840
|
-
},
|
|
842
|
+
}, ze = () => {
|
|
841
843
|
t(32, X = !0), t(19, Y = s), t(20, K = i);
|
|
842
|
-
}, oe = (o) => ae.findIndex((S) => S == o) !== -1,
|
|
843
|
-
if ((o == null ? void 0 : o.length) === 0)
|
|
844
|
+
}, oe = (o) => ae.findIndex((S) => S == o) !== -1, Ge = (o) => {
|
|
845
|
+
if ((o == null ? void 0 : o.length) === 0)
|
|
846
|
+
return "";
|
|
844
847
|
let S, k = 99999999999, C;
|
|
845
848
|
const F = new Date(Date.now());
|
|
846
|
-
return o.forEach((
|
|
847
|
-
const De = new Date(
|
|
849
|
+
return o.forEach((G, O) => {
|
|
850
|
+
const De = new Date(G.schedules[0].startTime), ee = new Date(G.schedules[0].endTime);
|
|
848
851
|
$(ee).diff(F) < k && (k = $(ee).diff(F), C = O), $(F).isAfter(De) && $(F).isBefore(ee) && (S = o[C].name);
|
|
849
852
|
}), S;
|
|
850
|
-
},
|
|
851
|
-
if (
|
|
853
|
+
}, Ie = (o) => {
|
|
854
|
+
if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(o) === -1) {
|
|
852
855
|
let S;
|
|
853
|
-
|
|
856
|
+
I.unshift(o), S = I.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
854
857
|
}
|
|
855
858
|
}, Q = () => {
|
|
856
859
|
t(12, R = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
|
|
@@ -867,7 +870,7 @@ function ct(a, e, t) {
|
|
|
867
870
|
}, Ee = () => {
|
|
868
871
|
tt(c);
|
|
869
872
|
};
|
|
870
|
-
|
|
873
|
+
Xe(() => (window.addEventListener("message", ne, !1), () => {
|
|
871
874
|
window.removeEventListener("message", ne);
|
|
872
875
|
}));
|
|
873
876
|
function Ne() {
|
|
@@ -899,11 +902,11 @@ function ct(a, e, t) {
|
|
|
899
902
|
a.$$.dirty[0] & /*lang*/
|
|
900
903
|
2 && c && Ee(), a.$$.dirty[1] & /*translationurl*/
|
|
901
904
|
1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
|
|
902
|
-
1610612736 && s && i &&
|
|
905
|
+
1610612736 && s && i && ze(), a.$$.dirty[0] & /*showfavorites*/
|
|
903
906
|
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
904
907
|
2 && x && X && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
905
|
-
16388 && m && M &&
|
|
906
|
-
16392 && h && M &&
|
|
908
|
+
16388 && m && M && Ke(M, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
909
|
+
16392 && h && M && Ye(M, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
907
910
|
18432 && M && Qe(M, `${A}.Style`);
|
|
908
911
|
}, [
|
|
909
912
|
r,
|
|
@@ -931,7 +934,7 @@ function ct(a, e, t) {
|
|
|
931
934
|
W,
|
|
932
935
|
re,
|
|
933
936
|
Fe,
|
|
934
|
-
|
|
937
|
+
Ge,
|
|
935
938
|
Q,
|
|
936
939
|
se,
|
|
937
940
|
l,
|
|
@@ -953,7 +956,7 @@ class ut extends qe {
|
|
|
953
956
|
e,
|
|
954
957
|
ct,
|
|
955
958
|
lt,
|
|
956
|
-
|
|
959
|
+
Ue,
|
|
957
960
|
{
|
|
958
961
|
endpoint: 0,
|
|
959
962
|
datasource: 28,
|
|
@@ -1073,7 +1076,7 @@ class ut extends qe {
|
|
|
1073
1076
|
this.$$set({ mbsource: e }), L();
|
|
1074
1077
|
}
|
|
1075
1078
|
}
|
|
1076
|
-
|
|
1079
|
+
We(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1077
1080
|
export {
|
|
1078
1081
|
ut as default
|
|
1079
1082
|
};
|