@everymatrix/casino-page-nd 1.63.3 → 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-nljhPH7y.cjs → CasinoCalendar-B7HDzCMK.cjs} +4 -4
- package/components/{CasinoCalendar-BeZncquz.js → CasinoCalendar-Vkb-R-ZX.js} +114 -114
- package/components/{CasinoCalendar-CXqShP9K.js → CasinoCalendar-gzR0syWU.js} +200 -200
- package/components/CasinoCalendarDailyDetails-BSQbzcGH.js +567 -0
- package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Cf_NBcOX.js +567 -0
- package/components/{CasinoCalendarDailyItem-CxNvFRRJ.js → CasinoCalendarDailyItem-CQSuNZtl.js} +45 -45
- package/components/CasinoCalendarDailyItem-DcM708OO.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-1co5UCOc.js → CasinoCalendarDailyItem-Dn5Go7LC.js} +45 -45
- package/components/CasinoCollectionsProviders-58EKJRFt.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Ddznc9st.js → CasinoCollectionsProviders-C2HckLP0.js} +106 -106
- package/components/{CasinoCollectionsProviders-DQ-lUWZN.js → CasinoCollectionsProviders-CQOBEpAZ.js} +113 -113
- package/components/{CasinoFavoritesSectionNd-BlWT4iui.js → CasinoFavoritesSectionNd-B6fsgOs7.js} +23 -23
- package/components/{CasinoFavoritesSectionNd-D_ZYhOj7.cjs → CasinoFavoritesSectionNd-CYL77qZa.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BnTeesk0.js → CasinoFavoritesSectionNd-DPAWixea.js} +23 -23
- package/components/{CasinoFilter-DffsJWQu.js → CasinoFilter-Bgdgnv7e.js} +115 -115
- package/components/{CasinoFilter-BZvjOUNz.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
- package/components/{CasinoFilter-Bhzt3ud6.js → CasinoFilter-DcGO-ipH.js} +112 -112
- package/components/{CasinoGameThumbnailNd-2nTIk4n4.js → CasinoGameThumbnailNd-BDbD2umK.js} +31 -31
- package/components/CasinoGameThumbnailNd-DmBLLFq_.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-D0SQKFnz.js → CasinoGameThumbnailNd-aQNB3bNo.js} +33 -33
- package/components/CasinoGamesCategorySectionNd-BYwes68y.js +3145 -0
- package/components/CasinoGamesCategorySectionNd-Be7Qfn5c.js +3116 -0
- package/components/CasinoGamesCategorySectionNd-CIA0TRVM.cjs +1 -0
- package/components/{CasinoJackpotBanner-CqOh2dMq.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CLIfQAnS.js → CasinoJackpotBanner-CzYBUhxU.js} +91 -91
- package/components/{CasinoJackpotBanner-QiQ-hf00.js → CasinoJackpotBanner-emlytO5A.js} +98 -98
- package/components/{CasinoLastPlayedSectionNd-BHzCZOJx.js → CasinoLastPlayedSectionNd-BBeTLhUX.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-DVOECVV8.js → CasinoLastPlayedSectionNd-CnwubYqY.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-C39qJ_Mh.cjs → CasinoLastPlayedSectionNd-Dz1oo9A7.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd--1nAaEYW.js → CasinoMostPlayedSectionNd-BP0YRpR5.js} +19 -19
- package/components/{CasinoMostPlayedSectionNd-DW8ig7K8.js → CasinoMostPlayedSectionNd-CWFe1luB.js} +19 -19
- package/components/{CasinoMostPlayedSectionNd-CnKNCtdP.cjs → CasinoMostPlayedSectionNd-VqMAMreI.cjs} +1 -1
- package/components/{CasinoMyGamesNd-oMRVUeFr.cjs → CasinoMyGamesNd-B0dh_VBU.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Co0fk_f0.js → CasinoMyGamesNd-DWe9uLSc.js} +54 -54
- package/components/{CasinoMyGamesNd-Cqr5TpEC.js → CasinoMyGamesNd-Dh-2ja5Q.js} +55 -55
- package/components/{CasinoPageNd-DE8xKd2z.js → CasinoPageNd-Ci8h6Hqc.js} +196 -196
- package/components/{CasinoPageNd-CBdWKcW1.js → CasinoPageNd-ClNrytzb.js} +193 -193
- package/components/{CasinoPageNd-bejASavu.cjs → CasinoPageNd-D2tPM5Eu.cjs} +1 -1
- package/components/{CasinoRandomGame-DmhidQ0r.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
- package/components/{CasinoRandomGame-BmbrklCB.js → CasinoRandomGame-DCljkb0K.js} +70 -70
- package/components/{CasinoRandomGame-Bk1JbUlj.js → CasinoRandomGame-SWOJ-rEc.js} +70 -70
- package/components/{CasinoSearchNd-BBMct-vQ.js → CasinoSearchNd--4cyW0U2.js} +82 -82
- package/components/{CasinoSearchNd-TBWaspGM.js → CasinoSearchNd-CvkmSIOX.js} +82 -82
- package/components/CasinoSearchNd-DEuvcjXU.cjs +1 -0
- package/components/{CasinoSort-JdpRMlFB.js → CasinoSort-CFb0U8jb.js} +32 -32
- package/components/{CasinoSort-Dd8ZEIdO.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
- package/components/{CasinoSort-BwF_FapK.js → CasinoSort-DfH2maWJ.js} +32 -32
- package/components/CasinoWinners-C9tJh4_L.cjs +1 -0
- package/components/{CasinoWinners-DndMyplw.js → CasinoWinners-D02DDUiQ.js} +131 -131
- package/components/{CasinoWinners-BQNqPkDs.js → CasinoWinners-DB-fwvGm.js} +132 -132
- package/components/{GeneralAnimationLoading-C8QANCXC.js → GeneralAnimationLoading-B2emFg0o.js} +6 -6
- package/components/{GeneralAnimationLoading-Cw3xHMcW.js → GeneralAnimationLoading-DCyTdaug.js} +6 -6
- package/components/{GeneralAnimationLoading-D60kNPCe.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.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-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.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-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-D8MUjPhD.js +0 -694
- package/components/CasinoCalendarDailyDetails-DciPEtlc.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-DjHQLxKC.js +0 -694
- package/components/CasinoCalendarDailyItem-8n79Y5xW.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwF-EeBd.cjs +0 -1
- package/components/CasinoGameThumbnailNd-CysHD59z.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BrJqpr90.js +0 -3111
- package/components/CasinoGamesCategorySectionNd-DblhITZq.js +0 -3140
- package/components/CasinoGamesCategorySectionNd-sKNU4Uaa.cjs +0 -1
- package/components/CasinoSearchNd-Dzr5VYDU.cjs +0 -1
- package/components/CasinoWinners-jQ69UTS2.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Be, $ as He, S as qe, i as We, s as Oe, f as L, b as Ue, n as le, d as
|
|
2
|
-
import "./CasinoGamesCategorySectionNd-
|
|
3
|
-
import { d as de, i as tt, a as at } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { a as Be, $ as He, S as qe, i as We, s as Oe, f as L, b as Ue, n as le, d as I, M as Ve, r as f, Q as ie, h as j, p as S, A as Z, j as y, B as N, F as ce, P as ee, k as Je, o as Ze, m as B, q as H, C as ue, v as he, w as Ye, T as Re, E as u, H as Ke, I as Qe, J as Xe, K as $e, L as et } from "./CasinoCalendar-gzR0syWU.js";
|
|
2
|
+
import "./CasinoGamesCategorySectionNd-Be7Qfn5c.js";
|
|
3
|
+
import { d as de, i as tt, a as at } from "./CasinoGameThumbnailNd-aQNB3bNo.js";
|
|
4
4
|
function me(a, e) {
|
|
5
5
|
Be(a, e);
|
|
6
6
|
}
|
|
@@ -191,7 +191,7 @@ const ge = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
function rt(a) {
|
|
194
|
-
Ue(a, "svelte-
|
|
194
|
+
Ue(a, "svelte-abbrgk", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);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{background:var(--emw--color-primary, #194127);padding-right:28px}.SearchInput:focus-visible{outline-width:0}.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:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .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();
|
|
@@ -208,7 +208,7 @@ function pe(a) {
|
|
|
208
208
|
(a[13] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
211
|
-
|
|
211
|
+
j(i, e, c), S(e, n), l || (s = Z(
|
|
212
212
|
e,
|
|
213
213
|
"click",
|
|
214
214
|
/*click_handler_1*/
|
|
@@ -223,7 +223,7 @@ function pe(a) {
|
|
|
223
223
|
(i[13] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
225
225
|
d(i) {
|
|
226
|
-
i &&
|
|
226
|
+
i && I(e), l = !1, s();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -256,7 +256,7 @@ function ot(a) {
|
|
|
256
256
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
257
257
|
},
|
|
258
258
|
m(h, m) {
|
|
259
|
-
i && i.m(h, m),
|
|
259
|
+
i && i.m(h, m), j(h, e, m), j(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
|
|
260
260
|
},
|
|
261
261
|
p(h, m) {
|
|
262
262
|
s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
@@ -267,7 +267,7 @@ function ot(a) {
|
|
|
267
267
|
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
|
|
268
268
|
},
|
|
269
269
|
d(h) {
|
|
270
|
-
h && (
|
|
270
|
+
h && (I(e), I(t)), i && i.d(h), c && c.d(), g && g.d();
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
}
|
|
@@ -281,7 +281,7 @@ function st(a) {
|
|
|
281
281
|
e = y("p"), n = H(t), f(e, "class", "LoadingContent");
|
|
282
282
|
},
|
|
283
283
|
m(r, l) {
|
|
284
|
-
|
|
284
|
+
j(r, e, l), S(e, n);
|
|
285
285
|
},
|
|
286
286
|
p(r, l) {
|
|
287
287
|
l[0] & /*$_*/
|
|
@@ -289,7 +289,7 @@ function st(a) {
|
|
|
289
289
|
r[21]("loading") + "") && B(n, t);
|
|
290
290
|
},
|
|
291
291
|
d(r) {
|
|
292
|
-
r &&
|
|
292
|
+
r && I(e);
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
}
|
|
@@ -303,7 +303,7 @@ function lt(a) {
|
|
|
303
303
|
e = y("p"), n = H(t), f(e, "class", "SearchMessage");
|
|
304
304
|
},
|
|
305
305
|
m(r, l) {
|
|
306
|
-
|
|
306
|
+
j(r, e, l), S(e, n);
|
|
307
307
|
},
|
|
308
308
|
p(r, l) {
|
|
309
309
|
l[0] & /*$_*/
|
|
@@ -311,7 +311,7 @@ function lt(a) {
|
|
|
311
311
|
r[21]("searchResult") + "") && B(n, t);
|
|
312
312
|
},
|
|
313
313
|
d(r) {
|
|
314
|
-
r &&
|
|
314
|
+
r && I(e);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
@@ -328,7 +328,7 @@ function it(a) {
|
|
|
328
328
|
n && n.c(), e = N(), r && r.c(), t = Re();
|
|
329
329
|
},
|
|
330
330
|
m(l, s) {
|
|
331
|
-
n && n.m(l, s),
|
|
331
|
+
n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
|
|
332
332
|
},
|
|
333
333
|
p(l, s) {
|
|
334
334
|
/*searchArray*/
|
|
@@ -336,7 +336,7 @@ function it(a) {
|
|
|
336
336
|
l[15].length == 0 ? r ? r.p(l, s) : (r = Se(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
337
337
|
},
|
|
338
338
|
d(l) {
|
|
339
|
-
l && (
|
|
339
|
+
l && (I(e), I(t)), n && n.d(l), r && r.d(l);
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
}
|
|
@@ -350,7 +350,7 @@ function _e(a) {
|
|
|
350
350
|
e = y("p"), n = H(t), f(e, "class", "SearchMessage");
|
|
351
351
|
},
|
|
352
352
|
m(r, l) {
|
|
353
|
-
|
|
353
|
+
j(r, e, l), S(e, n);
|
|
354
354
|
},
|
|
355
355
|
p(r, l) {
|
|
356
356
|
l[0] & /*$_*/
|
|
@@ -358,7 +358,7 @@ function _e(a) {
|
|
|
358
358
|
r[21]("recentSearch") + "") && B(n, t);
|
|
359
359
|
},
|
|
360
360
|
d(r) {
|
|
361
|
-
r &&
|
|
361
|
+
r && I(e);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
}
|
|
@@ -376,7 +376,7 @@ function Se(a) {
|
|
|
376
376
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
377
377
|
},
|
|
378
378
|
m(c, g) {
|
|
379
|
-
|
|
379
|
+
j(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
|
|
380
380
|
},
|
|
381
381
|
p(c, g) {
|
|
382
382
|
/*notfoundicon*/
|
|
@@ -387,7 +387,7 @@ function Se(a) {
|
|
|
387
387
|
(c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
388
388
|
},
|
|
389
389
|
d(c) {
|
|
390
|
-
c &&
|
|
390
|
+
c && I(e), i && i.d();
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
@@ -398,10 +398,10 @@ function we(a) {
|
|
|
398
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");
|
|
399
399
|
},
|
|
400
400
|
m(t, n) {
|
|
401
|
-
|
|
401
|
+
j(t, e, n);
|
|
402
402
|
},
|
|
403
403
|
d(t) {
|
|
404
|
-
t &&
|
|
404
|
+
t && I(e);
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
@@ -421,7 +421,7 @@ function be(a) {
|
|
|
421
421
|
m(r, l) {
|
|
422
422
|
for (let s = 0; s < n.length; s += 1)
|
|
423
423
|
n[s] && n[s].m(r, l);
|
|
424
|
-
|
|
424
|
+
j(r, e, l);
|
|
425
425
|
},
|
|
426
426
|
p(r, l) {
|
|
427
427
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
|
|
@@ -441,7 +441,7 @@ function be(a) {
|
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
d(r) {
|
|
444
|
-
r &&
|
|
444
|
+
r && I(e), Ye(n, r);
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
}
|
|
@@ -530,7 +530,7 @@ function ve(a) {
|
|
|
530
530
|
);
|
|
531
531
|
},
|
|
532
532
|
m(d, p) {
|
|
533
|
-
|
|
533
|
+
j(d, e, p);
|
|
534
534
|
},
|
|
535
535
|
p(d, p) {
|
|
536
536
|
p[0] & /*endpoint*/
|
|
@@ -637,7 +637,7 @@ function ve(a) {
|
|
|
637
637
|
);
|
|
638
638
|
},
|
|
639
639
|
d(d) {
|
|
640
|
-
d &&
|
|
640
|
+
d && I(e);
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
643
|
}
|
|
@@ -658,7 +658,7 @@ function ke(a) {
|
|
|
658
658
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
659
659
|
},
|
|
660
660
|
m(b, d) {
|
|
661
|
-
|
|
661
|
+
j(b, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
|
|
662
662
|
},
|
|
663
663
|
p(b, d) {
|
|
664
664
|
/*notfoundicon*/
|
|
@@ -671,7 +671,7 @@ function ke(a) {
|
|
|
671
671
|
(b[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
|
|
672
672
|
},
|
|
673
673
|
d(b) {
|
|
674
|
-
b &&
|
|
674
|
+
b && I(e), m && m.d();
|
|
675
675
|
}
|
|
676
676
|
};
|
|
677
677
|
}
|
|
@@ -682,43 +682,43 @@ function ye(a) {
|
|
|
682
682
|
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
683
|
},
|
|
684
684
|
m(t, n) {
|
|
685
|
-
|
|
685
|
+
j(t, e, n);
|
|
686
686
|
},
|
|
687
687
|
d(t) {
|
|
688
|
-
t &&
|
|
688
|
+
t && I(e);
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
function ct(a) {
|
|
693
|
-
let e, t, n, r, l, s, i, c, g, h, m, b, d, p, U,
|
|
693
|
+
let e, t, n, r, l, s, i, c, g, h, m, b, d, p, U, P, M, q, W, O, v = (
|
|
694
694
|
/*cancelbutton*/
|
|
695
695
|
a[10] === "true" && pe(a)
|
|
696
696
|
);
|
|
697
|
-
function
|
|
697
|
+
function E(w, T) {
|
|
698
698
|
return (
|
|
699
699
|
/*isLoading*/
|
|
700
700
|
w[18] ? st : ot
|
|
701
701
|
);
|
|
702
702
|
}
|
|
703
|
-
let
|
|
703
|
+
let x = E(a), R = x(a);
|
|
704
704
|
return {
|
|
705
705
|
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="#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(), g = y("span"), h = ce("svg"), m = ce("path"), d = N(), v && v.c(), U = N(),
|
|
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="#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(), g = y("span"), h = ce("svg"), m = ce("path"), d = N(), v && v.c(), U = N(), P = y("div"), q = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
707
707
|
a[21]("placeHolderSearchGames")), f(s, "maxlength", ut), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "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(g, "class", b = "SearchClearButton " + /*cancelbutton*/
|
|
708
708
|
(a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
709
709
|
(a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
710
|
-
(a[13] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(
|
|
710
|
+
(a[13] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(P, "class", M = /*cancelbutton*/
|
|
711
711
|
a[10] != "true" ? "OverlayCancel" : ""), f(e, "class", (ee(
|
|
712
712
|
/*userAgent*/
|
|
713
713
|
a[22]
|
|
714
714
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
715
715
|
},
|
|
716
716
|
m(w, T) {
|
|
717
|
-
|
|
717
|
+
j(w, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ie(
|
|
718
718
|
s,
|
|
719
719
|
/*searchValue*/
|
|
720
720
|
a[12]
|
|
721
|
-
), a[34](s), S(n, c), S(n, g), S(g, h), S(h, m), S(n, d), v && v.m(n, null), S(e, U), S(e,
|
|
721
|
+
), a[34](s), S(n, c), S(n, g), S(g, h), S(h, m), S(n, d), v && v.m(n, null), S(e, U), S(e, P), S(e, q), R.m(e, null), a[37](e), W || (O = [
|
|
722
722
|
Z(
|
|
723
723
|
s,
|
|
724
724
|
"input",
|
|
@@ -738,7 +738,7 @@ function ct(a) {
|
|
|
738
738
|
a[35]
|
|
739
739
|
),
|
|
740
740
|
Z(
|
|
741
|
-
|
|
741
|
+
P,
|
|
742
742
|
"click",
|
|
743
743
|
/*handleOverlay*/
|
|
744
744
|
a[24]
|
|
@@ -761,13 +761,13 @@ function ct(a) {
|
|
|
761
761
|
w[10] === "true" ? v ? v.p(w, T) : (v = pe(w), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
|
|
762
762
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
763
763
|
(w[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
764
|
-
1024 &&
|
|
765
|
-
w[10] != "true" ? "OverlayCancel" : "") && f(
|
|
764
|
+
1024 && M !== (M = /*cancelbutton*/
|
|
765
|
+
w[10] != "true" ? "OverlayCancel" : "") && f(P, "class", M), x === (x = E(w)) && R ? R.p(w, T) : (R.d(1), R = x(w), R && (R.c(), R.m(e, null)));
|
|
766
766
|
},
|
|
767
767
|
i: le,
|
|
768
768
|
o: le,
|
|
769
769
|
d(w) {
|
|
770
|
-
w &&
|
|
770
|
+
w && I(e), a[34](null), v && v.d(), R.d(), a[37](null), W = !1, Ve(O);
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
773
|
}
|
|
@@ -775,9 +775,9 @@ let ut = 50;
|
|
|
775
775
|
function ht(a, e, t) {
|
|
776
776
|
let n;
|
|
777
777
|
Je(a, et, (o) => t(21, n = o));
|
|
778
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: U = "true" } = e, { translationurl:
|
|
778
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: U = "true" } = e, { translationurl: P = "" } = e, { showfavorites: M = "" } = e, { cancelbutton: q = "true" } = e, { notfoundicon: W = "false" } = e, O = window.navigator.userAgent, v = [], E = [], x = {}, R = "", w, T = !0, V = !1, z = !1, D, Y = !1, K, Q, te = [];
|
|
779
779
|
const Ce = () => {
|
|
780
|
-
fetch(
|
|
780
|
+
fetch(P).then((_) => _.json()).then((_) => {
|
|
781
781
|
Object.keys(_).forEach((k) => {
|
|
782
782
|
me(k, _[k]);
|
|
783
783
|
});
|
|
@@ -789,7 +789,7 @@ function ht(a, e, t) {
|
|
|
789
789
|
me(o, ge[o]);
|
|
790
790
|
});
|
|
791
791
|
const ae = (o) => {
|
|
792
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
792
|
+
o.data && o.data.type == "SearchedItemClicked" && Ee(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, Q = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && X();
|
|
793
793
|
}, ne = () => {
|
|
794
794
|
if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
|
|
795
795
|
t(15, v = []);
|
|
@@ -798,14 +798,14 @@ function ht(a, e, t) {
|
|
|
798
798
|
let k = [], C = 0, F = _.length;
|
|
799
799
|
if (F > 0) {
|
|
800
800
|
for (C = 0; C < F; C++) {
|
|
801
|
-
let
|
|
802
|
-
|
|
801
|
+
let G = new URL(`${r}/v1/casino/games/${_[C]}`);
|
|
802
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ee(O)), k.push(Te(G, _[C]));
|
|
803
803
|
}
|
|
804
|
-
Promise.all(k).then((
|
|
805
|
-
|
|
804
|
+
Promise.all(k).then((G) => {
|
|
805
|
+
G = G.filter(function(A) {
|
|
806
806
|
return !!A;
|
|
807
|
-
}), t(15, v =
|
|
808
|
-
}).catch((
|
|
807
|
+
}), t(15, v = G.map((A) => (A.isFavorite = re(A.id), A))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
|
|
808
|
+
}).catch((G) => {
|
|
809
809
|
J("searchError", "SearchWidget");
|
|
810
810
|
});
|
|
811
811
|
}
|
|
@@ -814,7 +814,7 @@ function ht(a, e, t) {
|
|
|
814
814
|
}, J = (o, _) => {
|
|
815
815
|
typeof gtag == "function" && gtag("event", o, { context: _ });
|
|
816
816
|
}, Fe = () => {
|
|
817
|
-
q != "true" &&
|
|
817
|
+
q != "true" && X();
|
|
818
818
|
}, Le = (o) => new Promise((_, k) => {
|
|
819
819
|
t(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
820
820
|
t(18, z = !1), _(C);
|
|
@@ -822,13 +822,13 @@ function ht(a, e, t) {
|
|
|
822
822
|
t(18, z = !1), console.error(C), k(C);
|
|
823
823
|
});
|
|
824
824
|
}), Te = (o, _) => new Promise((k, C) => {
|
|
825
|
-
t(18, z = !0), _ && Object.keys(
|
|
826
|
-
t(18, z = !1), F.error || (
|
|
825
|
+
t(18, z = !0), _ && Object.keys(x).indexOf(_) >= 0 ? (t(18, z = !1), k(x[_])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
826
|
+
t(18, z = !1), F.error || (x[F[0].gameId] = F[0]), k(F[0]);
|
|
827
827
|
}).catch((F) => {
|
|
828
828
|
t(18, z = !1), console.error(F), C(F);
|
|
829
829
|
});
|
|
830
|
-
}),
|
|
831
|
-
const o = new URL(`${r}/v1/player/${
|
|
830
|
+
}), Ie = () => {
|
|
831
|
+
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
832
832
|
t(18, z = !0);
|
|
833
833
|
let _ = {
|
|
834
834
|
method: "GET",
|
|
@@ -837,23 +837,23 @@ function ht(a, e, t) {
|
|
|
837
837
|
fetch(o.href, _).then((k) => k.json()).then((k) => {
|
|
838
838
|
t(18, z = !1), te = k.items.map((C) => C.id);
|
|
839
839
|
});
|
|
840
|
-
},
|
|
841
|
-
t(32, Y = !0), t(19, K = s), t(20,
|
|
842
|
-
}, re = (o) => te.findIndex((_) => _ == o) !== -1,
|
|
840
|
+
}, je = () => {
|
|
841
|
+
t(32, Y = !0), t(19, K = s), t(20, Q = i);
|
|
842
|
+
}, re = (o) => te.findIndex((_) => _ == o) !== -1, Ge = (o) => {
|
|
843
843
|
if (o?.length === 0)
|
|
844
844
|
return "";
|
|
845
845
|
let _, k = 99999999999, C;
|
|
846
846
|
const F = new Date(Date.now());
|
|
847
|
-
return o.forEach((
|
|
848
|
-
const Ae = new Date(
|
|
847
|
+
return o.forEach((G, A) => {
|
|
848
|
+
const Ae = new Date(G.schedules[0].startTime), $ = new Date(G.schedules[0].endTime);
|
|
849
849
|
de(new Date($), new Date(F)) < k && (k = de(new Date($), new Date(F)), C = A), tt(new Date(F), new Date(Ae)) && at(new Date(F), new Date($)) && (_ = o[C].name);
|
|
850
850
|
}), _;
|
|
851
|
-
},
|
|
852
|
-
if (
|
|
851
|
+
}, Ee = (o) => {
|
|
852
|
+
if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
|
|
853
853
|
let _;
|
|
854
|
-
|
|
854
|
+
E.unshift(o), _ = E.join(","), localStorage.setItem("searchedGamesWds_casino", _);
|
|
855
855
|
}
|
|
856
|
-
},
|
|
856
|
+
}, X = () => {
|
|
857
857
|
t(12, R = ""), t(13, T = !0), t(18, z = !1), t(15, v = []), t(17, V = !1), se(V);
|
|
858
858
|
}, oe = () => {
|
|
859
859
|
t(12, R = ""), w.focus();
|
|
@@ -874,19 +874,19 @@ function ht(a, e, t) {
|
|
|
874
874
|
function Ne() {
|
|
875
875
|
R = this.value, t(12, R);
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function Pe(o) {
|
|
878
878
|
ue[o ? "unshift" : "push"](() => {
|
|
879
879
|
w = o, t(16, w);
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
const
|
|
883
|
-
function
|
|
882
|
+
const De = () => oe(), Me = () => X();
|
|
883
|
+
function xe(o) {
|
|
884
884
|
ue[o ? "unshift" : "push"](() => {
|
|
885
|
-
|
|
885
|
+
D = o, t(14, D);
|
|
886
886
|
});
|
|
887
887
|
}
|
|
888
888
|
return a.$$set = (o) => {
|
|
889
|
-
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(28, l = o.datasource), "session" in o && t(29, s = o.session), "userid" in o && t(30, i = o.userid), "lang" in o && t(1, c = o.lang), "mbsource" in o && t(2, g = o.mbsource), "clientstyling" in o && t(3, h = o.clientstyling), "clientstylingurl" in o && t(4, m = o.clientstylingurl), "integratedgameframedesktop" in o && t(5, b = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(6, d = o.integratedgameframemobile), "showgamename" in o && t(7, p = o.showgamename), "gamepagemodalurl" in o && t(8, U = o.gamepagemodalurl), "translationurl" in o && t(31,
|
|
889
|
+
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(28, l = o.datasource), "session" in o && t(29, s = o.session), "userid" in o && t(30, i = o.userid), "lang" in o && t(1, c = o.lang), "mbsource" in o && t(2, g = o.mbsource), "clientstyling" in o && t(3, h = o.clientstyling), "clientstylingurl" in o && t(4, m = o.clientstylingurl), "integratedgameframedesktop" in o && t(5, b = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(6, d = o.integratedgameframemobile), "showgamename" in o && t(7, p = o.showgamename), "gamepagemodalurl" in o && t(8, U = o.gamepagemodalurl), "translationurl" in o && t(31, P = o.translationurl), "showfavorites" in o && t(9, M = o.showfavorites), "cancelbutton" in o && t(10, q = o.cancelbutton), "notfoundicon" in o && t(11, W = o.notfoundicon);
|
|
890
890
|
}, a.$$.update = () => {
|
|
891
891
|
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
892
892
|
268447747)
|
|
@@ -899,13 +899,13 @@ function ht(a, e, t) {
|
|
|
899
899
|
T || ne();
|
|
900
900
|
a.$$.dirty[0] & /*lang*/
|
|
901
901
|
2 && c && ze(), a.$$.dirty[1] & /*translationurl*/
|
|
902
|
-
1 &&
|
|
903
|
-
1610612736 && s && i &&
|
|
902
|
+
1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
|
|
903
|
+
1610612736 && s && i && je(), a.$$.dirty[0] & /*showfavorites*/
|
|
904
904
|
512 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
905
|
-
2 &&
|
|
906
|
-
16392 && h &&
|
|
907
|
-
16400 && m &&
|
|
908
|
-
16388 && g &&
|
|
905
|
+
2 && M && Y && Ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
906
|
+
16392 && h && D && Ke(D, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
907
|
+
16400 && m && D && Qe(D, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
908
|
+
16388 && g && D && Xe(D, `${g}.Style`);
|
|
909
909
|
}, [
|
|
910
910
|
r,
|
|
911
911
|
c,
|
|
@@ -916,35 +916,35 @@ function ht(a, e, t) {
|
|
|
916
916
|
d,
|
|
917
917
|
p,
|
|
918
918
|
U,
|
|
919
|
-
|
|
919
|
+
M,
|
|
920
920
|
q,
|
|
921
921
|
W,
|
|
922
922
|
R,
|
|
923
923
|
T,
|
|
924
|
-
|
|
924
|
+
D,
|
|
925
925
|
v,
|
|
926
926
|
w,
|
|
927
927
|
V,
|
|
928
928
|
z,
|
|
929
929
|
K,
|
|
930
|
-
|
|
930
|
+
Q,
|
|
931
931
|
n,
|
|
932
932
|
O,
|
|
933
933
|
ne,
|
|
934
934
|
Fe,
|
|
935
|
-
|
|
936
|
-
|
|
935
|
+
Ge,
|
|
936
|
+
X,
|
|
937
937
|
oe,
|
|
938
938
|
l,
|
|
939
939
|
s,
|
|
940
940
|
i,
|
|
941
|
-
|
|
941
|
+
P,
|
|
942
942
|
Y,
|
|
943
943
|
Ne,
|
|
944
|
-
De,
|
|
945
944
|
Pe,
|
|
946
|
-
|
|
947
|
-
Me
|
|
945
|
+
De,
|
|
946
|
+
Me,
|
|
947
|
+
xe
|
|
948
948
|
];
|
|
949
949
|
}
|
|
950
950
|
class dt extends qe {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B7HDzCMK.cjs");require("./CasinoGamesCategorySectionNd-CIA0TRVM.cjs");const W=require("./CasinoGameThumbnailNd-DmBLLFq_.cjs");function X(n,t){e.addMessages(n,t)}function Re(n){e.$locale.set(n)}const Q={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:"İptal:",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 Ce(n){e.append_styles(n,"svelte-abbrgk","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);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{background:var(--emw--color-primary, #194127);padding-right:28px}.SearchInput:focus-visible{outline-width:0}.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:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .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 $(n,t,a){const r=n.slice();return r[53]=t[a],r}function ee(n){let t,a=n[21]("cancel")+"",r,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="SearchCancelButton "+(n[13]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[36]),i=!0)},p(c,u){u[0]&2097152&&a!==(a=c[21]("cancel")+"")&&e.set_data(r,a),u[0]&8192&&s!==(s="SearchCancelButton "+(c[13]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Fe(n){let t,a,r,s;function i(d,m){if(d[17]==!0&&d[12].length<2)return Ie;if(d[15].length!=0)return Te}let l=i(n),c=l&&l(n),u=n[13]===!1&&re(n),f=n[12].length>=2&&n[15].length==0&&oe(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),f&&f.c(),e.attr(a,"class",s="SearchResultsContainer "+(n[17]==!0?"":"NotVisible"))},m(d,m){c&&c.m(d,m),e.insert(d,t,m),e.insert(d,a,m),u&&u.m(a,null),e.append(a,r),f&&f.m(a,null)},p(d,m){l===(l=i(d))&&c?c.p(d,m):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[13]===!1?u?u.p(d,m):(u=re(d),u.c(),u.m(a,r)):u&&(u.d(1),u=null),d[12].length>=2&&d[15].length==0?f?f.p(d,m):(f=oe(d),f.c(),f.m(a,null)):f&&(f.d(1),f=null),m[0]&131072&&s!==(s="SearchResultsContainer "+(d[17]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},d(d){d&&(e.detach(t),e.detach(a)),c&&c.d(d),u&&u.d(),f&&f.d()}}}function Le(n){let t,a=n[21]("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]&2097152&&a!==(a=s[21]("loading")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Te(n){let t,a=n[21]("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]&2097152&&a!==(a=s[21]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Ie(n){let t,a,r=n[15].length!==0&&te(n),s=n[15].length==0&&ae(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[15].length!==0?r?r.p(i,l):(r=te(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=ae(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 te(n){let t,a=n[21]("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]&2097152&&a!==(a=s[21]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function ae(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[11]==="true"&&ne();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[11]=="true"?"WithIcon":""))},m(u,f){e.insert(u,t,f),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,f){u[11]==="true"?c||(c=ne(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),f[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),f[0]&2048&&l!==(l="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ne(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 re(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=se($(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]&35161087){a=e.ensure_array_like(s[15]);let l;for(l=0;l<a.length;l+=1){const c=$(s,a,l);r[l]?r[l].p(c,i):(r[l]=se(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 se(n){let t,a,r,s,i,l,c,u,f,d,m,S;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[19]),e.set_custom_element_data(t,"userid",n[20]),e.set_custom_element_data(t,"favorites",n[9]),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[25](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",f=n[53].id),e.set_custom_element_data(t,"showgamename",n[7]),e.set_custom_element_data(t,"gamefunmode",d=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",m=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[5]),e.set_custom_element_data(t,"integratedgameframemobile",n[6]),e.set_custom_element_data(t,"clientstyling",n[3]),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"gamepagemodalurl",n[8]),e.set_custom_element_data(t,"mbsource",n[2])},m(h,g){e.insert(h,t,g)},p(h,g){var j;g[0]&1&&e.set_custom_element_data(t,"endpoint",h[0]),g[0]&524288&&e.set_custom_element_data(t,"session",h[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",h[20]),g[0]&512&&e.set_custom_element_data(t,"favorites",h[9]),g[0]&2&&e.set_custom_element_data(t,"lang",h[1]),g[0]&32768&&a!==(a=h[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=h[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=h[53].vendor.name)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=h[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=h[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((j=h[53].advancedTags)==null?void 0:j.length)>0&&h[25](h[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=h[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&f!==(f=h[53].id)&&e.set_custom_element_data(t,"gameid",f),g[0]&128&&e.set_custom_element_data(t,"showgamename",h[7]),g[0]&32768&&d!==(d=h[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),g[0]&32768&&m!==(m=h[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",m),g[0]&32768&&S!==(S=h[53].details?h[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&32&&e.set_custom_element_data(t,"integratedgameframedesktop",h[5]),g[0]&64&&e.set_custom_element_data(t,"integratedgameframemobile",h[6]),g[0]&8&&e.set_custom_element_data(t,"clientstyling",h[3]),g[0]&16&&e.set_custom_element_data(t,"clientstylingurl",h[4]),g[0]&256&&e.set_custom_element_data(t,"gamepagemodalurl",h[8]),g[0]&4&&e.set_custom_element_data(t,"mbsource",h[2])},d(h){h&&e.detach(t)}}}function oe(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",f,d,m=n[11]==="true"&&le();return{c(){t=e.element("div"),m&&m.c(),a=e.space(),r=e.element("p"),i=e.text(s),l=e.space(),c=e.element("p"),f=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(n[11]=="true"?"WithIcon":""))},m(S,h){e.insert(S,t,h),m&&m.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,f)},p(S,h){S[11]==="true"?m||(m=le(),m.c(),m.m(t,a)):m&&(m.d(1),m=null),h[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),h[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(f,u),h[0]&2048&&d!==(d="ResultsContainerError "+(S[11]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(S){S&&e.detach(t),m&&m.d()}}}function le(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 je(n){let t,a,r,s,i,l,c,u,f,d,m,S,h,g,j,T,G,N,P,D,b=n[10]==="true"&&ee(n);function F(_,R){return _[18]?Le:Fe}let E=F(n),v=E(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(),f=e.element("span"),d=e.svg_element("svg"),m=e.svg_element("path"),h=e.space(),b&&b.c(),j=e.space(),T=e.element("div"),N=e.space(),v.c(),e.attr(s,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[21]("placeHolderSearchGames")),e.attr(l,"maxlength",Ge),e.attr(m,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(m,"stroke","#717171"),e.attr(m,"stroke-width","2"),e.attr(m,"stroke-linecap","round"),e.attr(m,"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(f,"class",S="SearchClearButton "+(n[10]!="true"?"WithoutCancel":"")+" "+(n[12].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(n[13]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(T,"class",G=n[10]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,R){e.insert(_,t,R),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[12]),n[34](l),e.append(r,u),e.append(r,f),e.append(f,d),e.append(d,m),e.append(r,h),b&&b.m(r,null),e.append(t,j),e.append(t,T),e.append(t,N),v.m(t,null),n[37](t),P||(D=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(f,"click",n[35]),e.listen(T,"click",n[24])],P=!0)},p(_,R){R[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),R[0]&4096&&l.value!==_[12]&&e.set_input_value(l,_[12]),R[0]&5120&&S!==(S="SearchClearButton "+(_[10]!="true"?"WithoutCancel":"")+" "+(_[12].length!=0?"":"NotVisible"))&&e.attr(f,"class",S),_[10]==="true"?b?b.p(_,R):(b=ee(_),b.c(),b.m(r,null)):b&&(b.d(1),b=null),R[0]&8192&&g!==(g="Search "+(_[13]?"":"SearchAnimation"))&&e.attr(r,"class",g),R[0]&1024&&G!==(G=_[10]!="true"?"OverlayCancel":"")&&e.attr(T,"class",G),E===(E=F(_))&&v?v.p(_,R):(v.d(1),v=E(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),n[34](null),b&&b.d(),v.d(),n[37](null),P=!1,e.run_all(D)}}}let Ge=50;function Ee(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(21,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{mbsource:f}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{integratedgameframedesktop:S="false"}=t,{integratedgameframemobile:h="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:j="true"}=t,{translationurl:T=""}=t,{showfavorites:G=""}=t,{cancelbutton:N="true"}=t,{notfoundicon:P="false"}=t,D=window.navigator.userAgent,b=[],F=[],E={},v="",_,R=!0,x=!1,L=!1,I,A=!1,q,B,U=[];const ce=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{X(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(Q).forEach(o=>{X(o,Q[o])});const V=o=>{o.data&&o.data.type=="SearchedItemClicked"&&pe(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,q=o.data.session),a(20,B=o.data.userid),a(32,A=!0)),o.data.type=="CategoryChange"&&H()},J=()=>{if(a(13,R=!1),a(17,x=!0),s&&i&&u&&v.length<2){a(15,b=[]);let o=localStorage.getItem("searchedGamesWds_casino"),p=[];o&&(p=o.split(","));let w=[],k=0,y=p.length;if(y>0){for(k=0;k<y;k++){let C=new URL(`${s}/v1/casino/games/${p[k]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(D)),w.push(he(C,p[k]))}Promise.all(w).then(C=>{C=C.filter(function(z){return!!z}),a(15,b=C.map(z=>(z.isFavorite=Z(z.id),z))),b.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}K(x),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&>ag("event",o,{context:p})},ue=()=>{N!="true"&&H()},de=o=>new Promise((p,w)=>{a(18,L=!0),fetch(o.href).then(k=>k.json()).then(k=>{a(18,L=!1),p(k)}).catch(k=>{a(18,L=!1),console.error(k),w(k)})}),he=(o,p)=>new Promise((w,k)=>{a(18,L=!0),p&&Object.keys(E).indexOf(p)>=0?(a(18,L=!1),w(E[p])):fetch(o).then(y=>y.json()).then(y=>{a(18,L=!1),y.error||(E[y[0].gameId]=y[0]),w(y[0])}).catch(y=>{a(18,L=!1),console.error(y),k(y)})}),me=()=>{const o=new URL(`${s}/v1/player/${B}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":q}};fetch(o.href,p).then(w=>w.json()).then(w=>{a(18,L=!1),U=w.items.map(k=>k.id)})},fe=()=>{a(32,A=!0),a(19,q=l),a(20,B=c)},Z=o=>U.findIndex(p=>p==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let p,w=99999999999,k;const y=new Date(Date.now());return o.forEach((C,z)=>{const ye=new Date(C.schedules[0].startTime),O=new Date(C.schedules[0].endTime);W.differenceInMilliseconds(new Date(O),new Date(y))<w&&(w=W.differenceInMilliseconds(new Date(O),new Date(y)),k=z),W.isAfter(new Date(y),new Date(ye))&&W.isBefore(new Date(y),new Date(O))&&(p=o[k].name)}),p},pe=o=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(o)===-1){let p;F.unshift(o),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},H=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,b=[]),a(17,x=!1),K(x)},Y=()=>{a(12,v=""),_.focus()},K=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},_e=()=>{Re(u)};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));function Se(){v=this.value,a(12,v)}function be(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const we=()=>Y(),ve=()=>H();function ke(o){e.binding_callbacks[o?"unshift":"push"](()=>{I=o,a(14,I)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(28,i=o.datasource),"session"in o&&a(29,l=o.session),"userid"in o&&a(30,c=o.userid),"lang"in o&&a(1,u=o.lang),"mbsource"in o&&a(2,f=o.mbsource),"clientstyling"in o&&a(3,d=o.clientstyling),"clientstylingurl"in o&&a(4,m=o.clientstylingurl),"integratedgameframedesktop"in o&&a(5,S=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(6,h=o.integratedgameframemobile),"showgamename"in o&&a(7,g=o.showgamename),"gamepagemodalurl"in o&&a(8,j=o.gamepagemodalurl),"translationurl"in o&&a(31,T=o.translationurl),"showfavorites"in o&&a(9,G=o.showfavorites),"cancelbutton"in o&&a(10,N=o.cancelbutton),"notfoundicon"in o&&a(11,P=o.notfoundicon)},n.$$.update=()=>{if(n.$$.dirty[0]&268447747)if(v.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(D)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${v}`),de(o).then(p=>{a(15,b=p.items.map(w=>(w.isFavorite=Z(w.id),w)))})}else R||J();n.$$.dirty[0]&2&&u&&_e(),n.$$.dirty[1]&1&&T&&ce(),n.$$.dirty[0]&1610612736&&l&&c&&fe(),n.$$.dirty[0]&512|n.$$.dirty[1]&2&&G&&A&&me(),n.$$.dirty[0]&16392&&d&&I&&e.setClientStyling(I,d),n.$$.dirty[0]&16400&&m&&I&&e.setClientStylingURL(I,m),n.$$.dirty[0]&16388&&f&&I&&e.setStreamStyling(I,`${f}.Style`)},[s,u,f,d,m,S,h,g,j,G,N,P,v,R,I,b,_,x,L,q,B,r,D,J,ue,ge,H,Y,i,l,c,T,A,Se,be,we,ve,ke]}class ie extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ee,je,e.safe_not_equal,{endpoint:0,datasource:28,session:29,userid:30,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:31,showfavorites:9,cancelbutton:10,notfoundicon:11},Ce,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[28]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}}e.create_custom_element(ie,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{}},[],[],!0);exports.default=ie;
|