@everymatrix/casino-page 1.62.4 → 1.63.1
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/CasinoJackpotBanner-B1ZkOilK.js +806 -0
- package/components/CasinoJackpotBanner-DjgSy20d.js +810 -0
- package/components/CasinoJackpotBanner-DuplLyPb.cjs +1 -0
- package/components/{CasinoPage-DDdhRz6Q.js → CasinoPage-BDauzXlJ.js} +809 -768
- package/components/CasinoPage-BdCOTWuA.cjs +1 -0
- package/components/{CasinoPage-CKrcKOmV.js → CasinoPage-pYd64Fx_.js} +811 -770
- package/components/CasinoSearch-BjOsd8e_.cjs +1 -0
- package/components/{CasinoSearch-2NuwT4lb.js → CasinoSearch-Bs-XYAKI.js} +318 -288
- package/components/{CasinoSearch-CHg0rwkf.js → CasinoSearch-D41Q1etS.js} +334 -304
- package/components/CasinoWinners-CPM46iQH.cjs +1 -0
- package/components/CasinoWinners-Cbji1sSG.js +983 -0
- package/components/CasinoWinners-CsFLhIyp.js +981 -0
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-BYqESYAt.js} +6 -1
- package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-QQFB7p9f.js} +6 -1
- package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-cxzdDqDs.cjs} +6 -1
- package/stencil/{index-ab3202d6-c7Vf1NJ1.cjs → index-ab3202d6-4wRb7_uS.cjs} +1 -1
- package/stencil/{index-ab3202d6-9zuW-dLG.js → index-ab3202d6-ClNgaMg-.js} +1 -1
- package/stencil/{index-ab3202d6-CGVciVSL.js → index-ab3202d6-CvVYHCZs.js} +1 -1
- package/components/CasinoJackpotBanner-D-y0s9ns.js +0 -698
- package/components/CasinoJackpotBanner-DB3hCH6n.cjs +0 -1
- package/components/CasinoJackpotBanner-DQa_nx8f.js +0 -694
- package/components/CasinoPage-Ckh1Glx2.cjs +0 -1
- package/components/CasinoSearch-BLz1Gq5a.cjs +0 -1
- package/components/CasinoWinners-CORvXpCo.cjs +0 -1
- package/components/CasinoWinners-Dtd2EmXL.js +0 -980
- package/components/CasinoWinners-a1zCEXCJ.js +0 -978
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as
|
|
1
|
+
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, O as Ye, r as f, T as he, h as G, p as b, A as Y, j as R, B as D, F as de, R as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as ge, w as Qe, G as Le, E as u, J as $e, K as et, L as tt, M as at, N as nt } from "./CasinoCalendar-DmZ5Xi52.js";
|
|
2
|
+
import { d as rt } from "./CasinoGameThumbnail-Dkl7cTyw.js";
|
|
3
3
|
import "./CasinoGamesCategorySection-jHgAtm-u.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
4
|
+
function fe(t, e) {
|
|
5
|
+
He(t, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function ot(t) {
|
|
8
|
+
We.set(t);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const pe = {
|
|
11
11
|
en: {
|
|
12
12
|
recentSearch: "Recent search",
|
|
13
13
|
placeHolderSearchGames: "Search for Games",
|
|
@@ -190,35 +190,65 @@ const ge = {
|
|
|
190
190
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function ne(t) {
|
|
194
|
+
"@babel/helpers - typeof";
|
|
195
|
+
return ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
196
|
+
return typeof e;
|
|
197
|
+
} : function(e) {
|
|
198
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
199
|
+
}, ne(t);
|
|
195
200
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
198
|
-
|
|
201
|
+
function ee(t, e) {
|
|
202
|
+
if (e.length < t)
|
|
203
|
+
throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
199
204
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
205
|
+
function U(t) {
|
|
206
|
+
ee(1, arguments);
|
|
207
|
+
var e = Object.prototype.toString.call(t);
|
|
208
|
+
return t instanceof Date || ne(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
209
|
+
}
|
|
210
|
+
function Se(t, e) {
|
|
211
|
+
return ee(2, arguments), U(t).getTime() - U(e).getTime();
|
|
212
|
+
}
|
|
213
|
+
function st(t, e) {
|
|
214
|
+
ee(2, arguments);
|
|
215
|
+
var a = U(t), n = U(e);
|
|
216
|
+
return a.getTime() > n.getTime();
|
|
217
|
+
}
|
|
218
|
+
function lt(t, e) {
|
|
219
|
+
ee(2, arguments);
|
|
220
|
+
var a = U(t), n = U(e);
|
|
221
|
+
return a.getTime() < n.getTime();
|
|
222
|
+
}
|
|
223
|
+
function it(t) {
|
|
224
|
+
Ze(t, "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}");
|
|
225
|
+
}
|
|
226
|
+
function be(t, e, a) {
|
|
227
|
+
const n = t.slice();
|
|
228
|
+
return n[53] = e[a], n;
|
|
229
|
+
}
|
|
230
|
+
function _e(t) {
|
|
231
|
+
let e, a = (
|
|
202
232
|
/*$_*/
|
|
203
|
-
|
|
233
|
+
t[21]("cancel") + ""
|
|
204
234
|
), n, r, l, s;
|
|
205
235
|
return {
|
|
206
236
|
c() {
|
|
207
|
-
e = R("small"), n = H(
|
|
208
|
-
(
|
|
237
|
+
e = R("small"), n = H(a), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
238
|
+
(t[13] ? "NotVisible" : ""));
|
|
209
239
|
},
|
|
210
240
|
m(i, c) {
|
|
211
|
-
G(i, e, c),
|
|
241
|
+
G(i, e, c), b(e, n), l || (s = Y(
|
|
212
242
|
e,
|
|
213
243
|
"click",
|
|
214
244
|
/*click_handler_1*/
|
|
215
|
-
|
|
245
|
+
t[36]
|
|
216
246
|
), l = !0);
|
|
217
247
|
},
|
|
218
248
|
p(i, c) {
|
|
219
249
|
c[0] & /*$_*/
|
|
220
|
-
2097152 &&
|
|
221
|
-
i[21]("cancel") + "") && q(n,
|
|
250
|
+
2097152 && a !== (a = /*$_*/
|
|
251
|
+
i[21]("cancel") + "") && q(n, a), c[0] & /*searchCancelled*/
|
|
222
252
|
8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
253
|
(i[13] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
254
|
},
|
|
@@ -227,160 +257,160 @@ function pe(a) {
|
|
|
227
257
|
}
|
|
228
258
|
};
|
|
229
259
|
}
|
|
230
|
-
function
|
|
231
|
-
let e,
|
|
260
|
+
function ct(t) {
|
|
261
|
+
let e, a, n, r;
|
|
232
262
|
function l(h, g) {
|
|
233
263
|
if (
|
|
234
264
|
/*searchActive*/
|
|
235
265
|
h[17] == !0 && /*searchValue*/
|
|
236
266
|
h[12].length < 2
|
|
237
267
|
)
|
|
238
|
-
return
|
|
268
|
+
return dt;
|
|
239
269
|
if (
|
|
240
270
|
/*searchArray*/
|
|
241
271
|
h[15].length != 0
|
|
242
272
|
)
|
|
243
|
-
return
|
|
273
|
+
return ht;
|
|
244
274
|
}
|
|
245
|
-
let s = l(
|
|
275
|
+
let s = l(t), i = s && s(t), c = (
|
|
246
276
|
/*searchCancelled*/
|
|
247
|
-
|
|
277
|
+
t[13] === !1 && ke(t)
|
|
248
278
|
), m = (
|
|
249
279
|
/*searchValue*/
|
|
250
|
-
|
|
251
|
-
|
|
280
|
+
t[12].length >= 2 && /*searchArray*/
|
|
281
|
+
t[15].length == 0 && Ce(t)
|
|
252
282
|
);
|
|
253
283
|
return {
|
|
254
284
|
c() {
|
|
255
|
-
i && i.c(), e =
|
|
256
|
-
(
|
|
285
|
+
i && i.c(), e = D(), a = R("div"), c && c.c(), n = D(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
|
+
(t[17] == !0 ? "" : "NotVisible"));
|
|
257
287
|
},
|
|
258
288
|
m(h, g) {
|
|
259
|
-
i && i.m(h, g), G(h, e, g), G(h,
|
|
289
|
+
i && i.m(h, g), G(h, e, g), G(h, a, g), c && c.m(a, null), b(a, n), m && m.m(a, null);
|
|
260
290
|
},
|
|
261
291
|
p(h, g) {
|
|
262
292
|
s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
263
|
-
h[13] === !1 ? c ? c.p(h, g) : (c =
|
|
293
|
+
h[13] === !1 ? c ? c.p(h, g) : (c = ke(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
264
294
|
h[12].length >= 2 && /*searchArray*/
|
|
265
|
-
h[15].length == 0 ? m ? m.p(h, g) : (m =
|
|
295
|
+
h[15].length == 0 ? m ? m.p(h, g) : (m = Ce(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), g[0] & /*searchActive*/
|
|
266
296
|
131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
267
|
-
(h[17] == !0 ? "" : "NotVisible")) && f(
|
|
297
|
+
(h[17] == !0 ? "" : "NotVisible")) && f(a, "class", r);
|
|
268
298
|
},
|
|
269
299
|
d(h) {
|
|
270
|
-
h && (j(e), j(
|
|
300
|
+
h && (j(e), j(a)), i && i.d(h), c && c.d(), m && m.d();
|
|
271
301
|
}
|
|
272
302
|
};
|
|
273
303
|
}
|
|
274
|
-
function
|
|
275
|
-
let e,
|
|
304
|
+
function ut(t) {
|
|
305
|
+
let e, a = (
|
|
276
306
|
/*$_*/
|
|
277
|
-
|
|
307
|
+
t[21]("loading") + ""
|
|
278
308
|
), n;
|
|
279
309
|
return {
|
|
280
310
|
c() {
|
|
281
|
-
e = R("p"), n = H(
|
|
311
|
+
e = R("p"), n = H(a), f(e, "class", "LoadingContent");
|
|
282
312
|
},
|
|
283
313
|
m(r, l) {
|
|
284
|
-
G(r, e, l),
|
|
314
|
+
G(r, e, l), b(e, n);
|
|
285
315
|
},
|
|
286
316
|
p(r, l) {
|
|
287
317
|
l[0] & /*$_*/
|
|
288
|
-
2097152 &&
|
|
289
|
-
r[21]("loading") + "") && q(n,
|
|
318
|
+
2097152 && a !== (a = /*$_*/
|
|
319
|
+
r[21]("loading") + "") && q(n, a);
|
|
290
320
|
},
|
|
291
321
|
d(r) {
|
|
292
322
|
r && j(e);
|
|
293
323
|
}
|
|
294
324
|
};
|
|
295
325
|
}
|
|
296
|
-
function
|
|
297
|
-
let e,
|
|
326
|
+
function ht(t) {
|
|
327
|
+
let e, a = (
|
|
298
328
|
/*$_*/
|
|
299
|
-
|
|
329
|
+
t[21]("searchResult") + ""
|
|
300
330
|
), n;
|
|
301
331
|
return {
|
|
302
332
|
c() {
|
|
303
|
-
e = R("p"), n = H(
|
|
333
|
+
e = R("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
304
334
|
},
|
|
305
335
|
m(r, l) {
|
|
306
|
-
G(r, e, l),
|
|
336
|
+
G(r, e, l), b(e, n);
|
|
307
337
|
},
|
|
308
338
|
p(r, l) {
|
|
309
339
|
l[0] & /*$_*/
|
|
310
|
-
2097152 &&
|
|
311
|
-
r[21]("searchResult") + "") && q(n,
|
|
340
|
+
2097152 && a !== (a = /*$_*/
|
|
341
|
+
r[21]("searchResult") + "") && q(n, a);
|
|
312
342
|
},
|
|
313
343
|
d(r) {
|
|
314
344
|
r && j(e);
|
|
315
345
|
}
|
|
316
346
|
};
|
|
317
347
|
}
|
|
318
|
-
function
|
|
319
|
-
let e,
|
|
348
|
+
function dt(t) {
|
|
349
|
+
let e, a, n = (
|
|
320
350
|
/*searchArray*/
|
|
321
|
-
|
|
351
|
+
t[15].length !== 0 && we(t)
|
|
322
352
|
), r = (
|
|
323
353
|
/*searchArray*/
|
|
324
|
-
|
|
354
|
+
t[15].length == 0 && ve(t)
|
|
325
355
|
);
|
|
326
356
|
return {
|
|
327
357
|
c() {
|
|
328
|
-
n && n.c(), e =
|
|
358
|
+
n && n.c(), e = D(), r && r.c(), a = Le();
|
|
329
359
|
},
|
|
330
360
|
m(l, s) {
|
|
331
|
-
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l,
|
|
361
|
+
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l, a, s);
|
|
332
362
|
},
|
|
333
363
|
p(l, s) {
|
|
334
364
|
/*searchArray*/
|
|
335
|
-
l[15].length !== 0 ? n ? n.p(l, s) : (n =
|
|
336
|
-
l[15].length == 0 ? r ? r.p(l, s) : (r =
|
|
365
|
+
l[15].length !== 0 ? n ? n.p(l, s) : (n = we(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
366
|
+
l[15].length == 0 ? r ? r.p(l, s) : (r = ve(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
|
|
337
367
|
},
|
|
338
368
|
d(l) {
|
|
339
|
-
l && (j(e), j(
|
|
369
|
+
l && (j(e), j(a)), n && n.d(l), r && r.d(l);
|
|
340
370
|
}
|
|
341
371
|
};
|
|
342
372
|
}
|
|
343
|
-
function
|
|
344
|
-
let e,
|
|
373
|
+
function we(t) {
|
|
374
|
+
let e, a = (
|
|
345
375
|
/*$_*/
|
|
346
|
-
|
|
376
|
+
t[21]("recentSearch") + ""
|
|
347
377
|
), n;
|
|
348
378
|
return {
|
|
349
379
|
c() {
|
|
350
|
-
e = R("p"), n = H(
|
|
380
|
+
e = R("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
351
381
|
},
|
|
352
382
|
m(r, l) {
|
|
353
|
-
G(r, e, l),
|
|
383
|
+
G(r, e, l), b(e, n);
|
|
354
384
|
},
|
|
355
385
|
p(r, l) {
|
|
356
386
|
l[0] & /*$_*/
|
|
357
|
-
2097152 &&
|
|
358
|
-
r[21]("recentSearch") + "") && q(n,
|
|
387
|
+
2097152 && a !== (a = /*$_*/
|
|
388
|
+
r[21]("recentSearch") + "") && q(n, a);
|
|
359
389
|
},
|
|
360
390
|
d(r) {
|
|
361
391
|
r && j(e);
|
|
362
392
|
}
|
|
363
393
|
};
|
|
364
394
|
}
|
|
365
|
-
function
|
|
366
|
-
let e,
|
|
395
|
+
function ve(t) {
|
|
396
|
+
let e, a, n, r = (
|
|
367
397
|
/*$_*/
|
|
368
|
-
|
|
398
|
+
t[21]("noRecentSearches") + ""
|
|
369
399
|
), l, s, i = (
|
|
370
400
|
/*notfoundicon*/
|
|
371
|
-
|
|
401
|
+
t[10] === "true" && ye()
|
|
372
402
|
);
|
|
373
403
|
return {
|
|
374
404
|
c() {
|
|
375
|
-
e = R("div"), i && i.c(),
|
|
376
|
-
(
|
|
405
|
+
e = R("div"), i && i.c(), a = D(), n = R("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
|
+
(t[10] == "true" ? "WithIcon" : ""));
|
|
377
407
|
},
|
|
378
408
|
m(c, m) {
|
|
379
|
-
G(c, e, m), i && i.m(e, null),
|
|
409
|
+
G(c, e, m), i && i.m(e, null), b(e, a), b(e, n), b(n, l);
|
|
380
410
|
},
|
|
381
411
|
p(c, m) {
|
|
382
412
|
/*notfoundicon*/
|
|
383
|
-
c[10] === "true" ? i || (i =
|
|
413
|
+
c[10] === "true" ? i || (i = ye(), i.c(), i.m(e, a)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
384
414
|
2097152 && r !== (r = /*$_*/
|
|
385
415
|
c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
|
|
386
416
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
@@ -391,32 +421,32 @@ function _e(a) {
|
|
|
391
421
|
}
|
|
392
422
|
};
|
|
393
423
|
}
|
|
394
|
-
function
|
|
424
|
+
function ye(t) {
|
|
395
425
|
let e;
|
|
396
426
|
return {
|
|
397
427
|
c() {
|
|
398
428
|
e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
399
429
|
},
|
|
400
|
-
m(
|
|
401
|
-
G(
|
|
430
|
+
m(a, n) {
|
|
431
|
+
G(a, e, n);
|
|
402
432
|
},
|
|
403
|
-
d(
|
|
404
|
-
|
|
433
|
+
d(a) {
|
|
434
|
+
a && j(e);
|
|
405
435
|
}
|
|
406
436
|
};
|
|
407
437
|
}
|
|
408
|
-
function
|
|
409
|
-
let e,
|
|
438
|
+
function ke(t) {
|
|
439
|
+
let e, a = ge(
|
|
410
440
|
/*searchArray*/
|
|
411
|
-
|
|
441
|
+
t[15]
|
|
412
442
|
), n = [];
|
|
413
|
-
for (let r = 0; r <
|
|
414
|
-
n[r] =
|
|
443
|
+
for (let r = 0; r < a.length; r += 1)
|
|
444
|
+
n[r] = Re(be(t, a, r));
|
|
415
445
|
return {
|
|
416
446
|
c() {
|
|
417
447
|
for (let r = 0; r < n.length; r += 1)
|
|
418
448
|
n[r].c();
|
|
419
|
-
e =
|
|
449
|
+
e = Le();
|
|
420
450
|
},
|
|
421
451
|
m(r, l) {
|
|
422
452
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -426,107 +456,107 @@ function we(a) {
|
|
|
426
456
|
p(r, l) {
|
|
427
457
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
428
458
|
35162623) {
|
|
429
|
-
|
|
459
|
+
a = ge(
|
|
430
460
|
/*searchArray*/
|
|
431
461
|
r[15]
|
|
432
462
|
);
|
|
433
463
|
let s;
|
|
434
|
-
for (s = 0; s <
|
|
435
|
-
const i =
|
|
436
|
-
n[s] ? n[s].p(i, l) : (n[s] =
|
|
464
|
+
for (s = 0; s < a.length; s += 1) {
|
|
465
|
+
const i = be(r, a, s);
|
|
466
|
+
n[s] ? n[s].p(i, l) : (n[s] = Re(i), n[s].c(), n[s].m(e.parentNode, e));
|
|
437
467
|
}
|
|
438
468
|
for (; s < n.length; s += 1)
|
|
439
469
|
n[s].d(1);
|
|
440
|
-
n.length =
|
|
470
|
+
n.length = a.length;
|
|
441
471
|
}
|
|
442
472
|
},
|
|
443
473
|
d(r) {
|
|
444
|
-
r && j(e),
|
|
474
|
+
r && j(e), Qe(n, r);
|
|
445
475
|
}
|
|
446
476
|
};
|
|
447
477
|
}
|
|
448
|
-
function
|
|
449
|
-
let e,
|
|
478
|
+
function Re(t) {
|
|
479
|
+
let e, a, n, r, l, s, i, c, m, h, g, w;
|
|
450
480
|
return {
|
|
451
481
|
c() {
|
|
452
482
|
e = R("casino-game-thumbnail"), u(
|
|
453
483
|
e,
|
|
454
484
|
"endpoint",
|
|
455
485
|
/*endpoint*/
|
|
456
|
-
|
|
486
|
+
t[0]
|
|
457
487
|
), u(
|
|
458
488
|
e,
|
|
459
489
|
"session",
|
|
460
490
|
/*sessionID*/
|
|
461
|
-
|
|
491
|
+
t[19]
|
|
462
492
|
), u(
|
|
463
493
|
e,
|
|
464
494
|
"userid",
|
|
465
495
|
/*playerID*/
|
|
466
|
-
|
|
496
|
+
t[20]
|
|
467
497
|
), u(
|
|
468
498
|
e,
|
|
469
499
|
"favorites",
|
|
470
500
|
/*showfavorites*/
|
|
471
|
-
|
|
501
|
+
t[8]
|
|
472
502
|
), u(
|
|
473
503
|
e,
|
|
474
504
|
"lang",
|
|
475
505
|
/*lang*/
|
|
476
|
-
|
|
477
|
-
), u(e, "gamethumbnail",
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
506
|
+
t[1]
|
|
507
|
+
), u(e, "gamethumbnail", a = /*game*/
|
|
508
|
+
t[53].thumbnail), u(e, "gamename", n = /*game*/
|
|
509
|
+
t[53].name), u(e, "gamevendor", r = /*game*/
|
|
510
|
+
t[53].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
|
|
511
|
+
t[53].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
512
|
+
t[53].isNew), u(e, "gametag", i = /*game*/
|
|
513
|
+
t[53].advancedTags?.length > 0 && /*addGameTag*/
|
|
514
|
+
t[25](
|
|
485
515
|
/*game*/
|
|
486
|
-
|
|
516
|
+
t[53].advancedTags
|
|
487
517
|
)), u(e, "gamecellsize", c = /*game*/
|
|
488
|
-
|
|
489
|
-
|
|
518
|
+
t[53].cellSize), u(e, "gameid", m = /*game*/
|
|
519
|
+
t[53].id), u(
|
|
490
520
|
e,
|
|
491
521
|
"showgamename",
|
|
492
522
|
/*showgamename*/
|
|
493
|
-
|
|
523
|
+
t[6]
|
|
494
524
|
), u(e, "gamefunmode", h = /*game*/
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
525
|
+
t[53].hasFunMode), u(e, "gamefavorite", g = /*game*/
|
|
526
|
+
t[53].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
|
|
527
|
+
t[53].details ? (
|
|
498
528
|
/*game*/
|
|
499
|
-
|
|
529
|
+
t[53].launchUrl
|
|
500
530
|
) : ""), u(
|
|
501
531
|
e,
|
|
502
532
|
"integratedgameframedesktop",
|
|
503
533
|
/*integratedgameframedesktop*/
|
|
504
|
-
|
|
534
|
+
t[4]
|
|
505
535
|
), u(
|
|
506
536
|
e,
|
|
507
537
|
"mbsource",
|
|
508
538
|
/*mbsource*/
|
|
509
|
-
|
|
539
|
+
t[11]
|
|
510
540
|
), u(
|
|
511
541
|
e,
|
|
512
542
|
"integratedgameframemobile",
|
|
513
543
|
/*integratedgameframemobile*/
|
|
514
|
-
|
|
544
|
+
t[5]
|
|
515
545
|
), u(
|
|
516
546
|
e,
|
|
517
547
|
"clientstyling",
|
|
518
548
|
/*clientstyling*/
|
|
519
|
-
|
|
549
|
+
t[2]
|
|
520
550
|
), u(
|
|
521
551
|
e,
|
|
522
552
|
"clientstylingurl",
|
|
523
553
|
/*clientstylingurl*/
|
|
524
|
-
|
|
554
|
+
t[3]
|
|
525
555
|
), u(
|
|
526
556
|
e,
|
|
527
557
|
"gamepagemodalurl",
|
|
528
558
|
/*gamepagemodalurl*/
|
|
529
|
-
|
|
559
|
+
t[7]
|
|
530
560
|
);
|
|
531
561
|
},
|
|
532
562
|
m(d, p) {
|
|
@@ -564,8 +594,8 @@ function ve(a) {
|
|
|
564
594
|
/*lang*/
|
|
565
595
|
d[1]
|
|
566
596
|
), p[0] & /*searchArray*/
|
|
567
|
-
32768 &&
|
|
568
|
-
d[53].thumbnail) && u(e, "gamethumbnail",
|
|
597
|
+
32768 && a !== (a = /*game*/
|
|
598
|
+
d[53].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
|
|
569
599
|
32768 && n !== (n = /*game*/
|
|
570
600
|
d[53].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
571
601
|
32768 && r !== (r = /*game*/
|
|
@@ -641,28 +671,28 @@ function ve(a) {
|
|
|
641
671
|
}
|
|
642
672
|
};
|
|
643
673
|
}
|
|
644
|
-
function
|
|
645
|
-
let e,
|
|
674
|
+
function Ce(t) {
|
|
675
|
+
let e, a, n, r = (
|
|
646
676
|
/*$_*/
|
|
647
|
-
|
|
677
|
+
t[21]("notFound") + ""
|
|
648
678
|
), l, s, i, c = (
|
|
649
679
|
/*$_*/
|
|
650
|
-
|
|
680
|
+
t[21]("notFoundText") + ""
|
|
651
681
|
), m, h, g = (
|
|
652
682
|
/*notfoundicon*/
|
|
653
|
-
|
|
683
|
+
t[10] === "true" && Fe()
|
|
654
684
|
);
|
|
655
685
|
return {
|
|
656
686
|
c() {
|
|
657
|
-
e = R("div"), g && g.c(),
|
|
658
|
-
(
|
|
687
|
+
e = R("div"), g && g.c(), a = D(), n = R("p"), l = H(r), s = D(), i = R("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
688
|
+
(t[10] == "true" ? "WithIcon" : ""));
|
|
659
689
|
},
|
|
660
690
|
m(w, d) {
|
|
661
|
-
G(w, e, d), g && g.m(e, null),
|
|
691
|
+
G(w, e, d), g && g.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
|
|
662
692
|
},
|
|
663
693
|
p(w, d) {
|
|
664
694
|
/*notfoundicon*/
|
|
665
|
-
w[10] === "true" ? g || (g =
|
|
695
|
+
w[10] === "true" ? g || (g = Fe(), g.c(), g.m(e, a)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
666
696
|
2097152 && r !== (r = /*$_*/
|
|
667
697
|
w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
|
|
668
698
|
2097152 && c !== (c = /*$_*/
|
|
@@ -675,189 +705,189 @@ function ke(a) {
|
|
|
675
705
|
}
|
|
676
706
|
};
|
|
677
707
|
}
|
|
678
|
-
function
|
|
708
|
+
function Fe(t) {
|
|
679
709
|
let e;
|
|
680
710
|
return {
|
|
681
711
|
c() {
|
|
682
712
|
e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
683
713
|
},
|
|
684
|
-
m(
|
|
685
|
-
G(
|
|
714
|
+
m(a, n) {
|
|
715
|
+
G(a, e, n);
|
|
686
716
|
},
|
|
687
|
-
d(
|
|
688
|
-
|
|
717
|
+
d(a) {
|
|
718
|
+
a && j(e);
|
|
689
719
|
}
|
|
690
720
|
};
|
|
691
721
|
}
|
|
692
|
-
function
|
|
693
|
-
let e,
|
|
722
|
+
function mt(t) {
|
|
723
|
+
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, N, x, V, A, W, v = (
|
|
694
724
|
/*cancelbutton*/
|
|
695
|
-
|
|
725
|
+
t[9] === "true" && _e(t)
|
|
696
726
|
);
|
|
697
|
-
function
|
|
727
|
+
function E(_, T) {
|
|
698
728
|
return (
|
|
699
729
|
/*isLoading*/
|
|
700
|
-
|
|
730
|
+
_[18] ? ut : ct
|
|
701
731
|
);
|
|
702
732
|
}
|
|
703
|
-
let
|
|
733
|
+
let M = E(t), k = M(t);
|
|
704
734
|
return {
|
|
705
735
|
c() {
|
|
706
|
-
e = R("div"),
|
|
707
|
-
|
|
708
|
-
(
|
|
709
|
-
(
|
|
710
|
-
(
|
|
711
|
-
|
|
736
|
+
e = R("div"), a = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = D(), s = R("input"), c = D(), m = R("span"), h = de("svg"), g = de("path"), d = D(), v && v.c(), B = D(), N = R("div"), V = D(), k.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
737
|
+
t[21]("placeHolderSearchGames")), f(s, "maxlength", gt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
738
|
+
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
739
|
+
(t[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
740
|
+
(t[13] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(N, "class", x = /*cancelbutton*/
|
|
741
|
+
t[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ae(
|
|
712
742
|
/*userAgent*/
|
|
713
|
-
|
|
743
|
+
t[22]
|
|
714
744
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
715
745
|
},
|
|
716
|
-
m(
|
|
717
|
-
G(
|
|
746
|
+
m(_, T) {
|
|
747
|
+
G(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
|
|
718
748
|
s,
|
|
719
749
|
/*searchValue*/
|
|
720
|
-
|
|
721
|
-
),
|
|
722
|
-
|
|
750
|
+
t[12]
|
|
751
|
+
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e, N), b(e, V), k.m(e, null), t[37](e), A || (W = [
|
|
752
|
+
Y(
|
|
723
753
|
s,
|
|
724
754
|
"input",
|
|
725
755
|
/*input_input_handler*/
|
|
726
|
-
|
|
756
|
+
t[33]
|
|
727
757
|
),
|
|
728
|
-
|
|
758
|
+
Y(
|
|
729
759
|
s,
|
|
730
760
|
"focus",
|
|
731
761
|
/*onFocus*/
|
|
732
|
-
|
|
762
|
+
t[23]
|
|
733
763
|
),
|
|
734
|
-
|
|
764
|
+
Y(
|
|
735
765
|
m,
|
|
736
766
|
"click",
|
|
737
767
|
/*click_handler*/
|
|
738
|
-
|
|
768
|
+
t[35]
|
|
739
769
|
),
|
|
740
|
-
|
|
741
|
-
|
|
770
|
+
Y(
|
|
771
|
+
N,
|
|
742
772
|
"click",
|
|
743
773
|
/*handleOverlay*/
|
|
744
|
-
|
|
774
|
+
t[24]
|
|
745
775
|
)
|
|
746
776
|
], A = !0);
|
|
747
777
|
},
|
|
748
|
-
p(
|
|
778
|
+
p(_, T) {
|
|
749
779
|
T[0] & /*$_*/
|
|
750
780
|
2097152 && i !== (i = /*$_*/
|
|
751
|
-
|
|
781
|
+
_[21]("placeHolderSearchGames")) && f(s, "placeholder", i), T[0] & /*searchValue*/
|
|
752
782
|
4096 && s.value !== /*searchValue*/
|
|
753
|
-
|
|
783
|
+
_[12] && he(
|
|
754
784
|
s,
|
|
755
785
|
/*searchValue*/
|
|
756
|
-
|
|
786
|
+
_[12]
|
|
757
787
|
), T[0] & /*cancelbutton, searchValue*/
|
|
758
788
|
4608 && w !== (w = "SearchClearButton " + /*cancelbutton*/
|
|
759
|
-
(
|
|
760
|
-
(
|
|
761
|
-
|
|
789
|
+
(_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
790
|
+
(_[12].length != 0 ? "" : "NotVisible")) && f(m, "class", w), /*cancelbutton*/
|
|
791
|
+
_[9] === "true" ? v ? v.p(_, T) : (v = _e(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
|
|
762
792
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
763
|
-
(
|
|
764
|
-
512 &&
|
|
765
|
-
|
|
793
|
+
(_[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
794
|
+
512 && x !== (x = /*cancelbutton*/
|
|
795
|
+
_[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = E(_)) && k ? k.p(_, T) : (k.d(1), k = M(_), k && (k.c(), k.m(e, null)));
|
|
766
796
|
},
|
|
767
|
-
i:
|
|
768
|
-
o:
|
|
769
|
-
d(
|
|
770
|
-
|
|
797
|
+
i: ue,
|
|
798
|
+
o: ue,
|
|
799
|
+
d(_) {
|
|
800
|
+
_ && j(e), t[34](null), v && v.d(), k.d(), t[37](null), A = !1, Ye(W);
|
|
771
801
|
}
|
|
772
802
|
};
|
|
773
803
|
}
|
|
774
|
-
let
|
|
775
|
-
function
|
|
804
|
+
let gt = 50;
|
|
805
|
+
function ft(t, e, a) {
|
|
776
806
|
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:
|
|
779
|
-
const
|
|
780
|
-
fetch(
|
|
781
|
-
Object.keys(S).forEach((
|
|
782
|
-
|
|
807
|
+
Ke(t, nt, (o) => a(21, n = o));
|
|
808
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], E = [], M = {}, k = "", _, T = !0, J = !1, z = !1, P, K = !1, X, Q, re = [];
|
|
809
|
+
const Te = () => {
|
|
810
|
+
fetch(B).then((S) => S.json()).then((S) => {
|
|
811
|
+
Object.keys(S).forEach((y) => {
|
|
812
|
+
fe(y, S[y]);
|
|
783
813
|
});
|
|
784
814
|
}).catch((S) => {
|
|
785
815
|
console.log(S);
|
|
786
816
|
});
|
|
787
817
|
};
|
|
788
|
-
Object.keys(
|
|
789
|
-
|
|
818
|
+
Object.keys(pe).forEach((o) => {
|
|
819
|
+
fe(o, pe[o]);
|
|
790
820
|
});
|
|
791
|
-
const
|
|
792
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
793
|
-
},
|
|
794
|
-
if (
|
|
795
|
-
|
|
821
|
+
const oe = (o) => {
|
|
822
|
+
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
|
|
823
|
+
}, se = () => {
|
|
824
|
+
if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
|
|
825
|
+
a(15, v = []);
|
|
796
826
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
797
827
|
o && (S = o.split(","));
|
|
798
|
-
let
|
|
828
|
+
let y = [], C = 0, F = S.length;
|
|
799
829
|
if (F > 0) {
|
|
800
830
|
for (C = 0; C < F; C++) {
|
|
801
|
-
let
|
|
802
|
-
|
|
831
|
+
let I = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
832
|
+
I.searchParams.append("language", c), I.searchParams.append("datasource", l), I.searchParams.append("platform", ae(W)), y.push(Ie(I, S[C]));
|
|
803
833
|
}
|
|
804
|
-
Promise.all(
|
|
805
|
-
|
|
834
|
+
Promise.all(y).then((I) => {
|
|
835
|
+
I = I.filter(function(O) {
|
|
806
836
|
return !!O;
|
|
807
|
-
}),
|
|
808
|
-
}).catch((
|
|
809
|
-
|
|
837
|
+
}), a(15, v = I.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
838
|
+
}).catch((I) => {
|
|
839
|
+
Z("searchError", "SearchWidget");
|
|
810
840
|
});
|
|
811
841
|
}
|
|
812
842
|
}
|
|
813
|
-
|
|
814
|
-
},
|
|
843
|
+
ce(J), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
|
|
844
|
+
}, Z = (o, S) => {
|
|
815
845
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
816
|
-
},
|
|
817
|
-
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
|
|
846
|
+
}, je = () => {
|
|
847
|
+
x != "true" && $();
|
|
848
|
+
}, Ge = (o) => new Promise((S, y) => {
|
|
849
|
+
a(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
850
|
+
a(18, z = !1), S(C);
|
|
821
851
|
}).catch((C) => {
|
|
822
|
-
|
|
852
|
+
a(18, z = !1), console.error(C), y(C);
|
|
823
853
|
});
|
|
824
|
-
}),
|
|
825
|
-
|
|
826
|
-
|
|
854
|
+
}), Ie = (o, S) => new Promise((y, C) => {
|
|
855
|
+
a(18, z = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, z = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
856
|
+
a(18, z = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
|
|
827
857
|
}).catch((F) => {
|
|
828
|
-
|
|
858
|
+
a(18, z = !1), console.error(F), C(F);
|
|
829
859
|
});
|
|
830
|
-
}),
|
|
831
|
-
const o = new URL(`${r}/v1/player/${
|
|
832
|
-
|
|
860
|
+
}), Ee = () => {
|
|
861
|
+
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
862
|
+
a(18, z = !0);
|
|
833
863
|
let S = {
|
|
834
864
|
method: "GET",
|
|
835
|
-
headers: { "X-SessionID":
|
|
865
|
+
headers: { "X-SessionID": X }
|
|
836
866
|
};
|
|
837
|
-
fetch(o.href, S).then((
|
|
838
|
-
|
|
867
|
+
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
868
|
+
a(18, z = !1), re = y.items.map((C) => C.id);
|
|
839
869
|
});
|
|
840
|
-
},
|
|
841
|
-
|
|
842
|
-
},
|
|
870
|
+
}, ze = () => {
|
|
871
|
+
a(32, K = !0), a(19, X = s), a(20, Q = i);
|
|
872
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, De = (o) => {
|
|
843
873
|
if (o?.length === 0)
|
|
844
874
|
return "";
|
|
845
|
-
let S,
|
|
875
|
+
let S, y = 99999999999, C;
|
|
846
876
|
const F = new Date(Date.now());
|
|
847
|
-
return o.forEach((
|
|
848
|
-
const
|
|
849
|
-
|
|
877
|
+
return o.forEach((I, O) => {
|
|
878
|
+
const qe = new Date(I.schedules[0].startTime), te = new Date(I.schedules[0].endTime);
|
|
879
|
+
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
|
|
850
880
|
}), S;
|
|
851
|
-
},
|
|
852
|
-
if (
|
|
881
|
+
}, Ne = (o) => {
|
|
882
|
+
if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
|
|
853
883
|
let S;
|
|
854
|
-
|
|
884
|
+
E.unshift(o), S = E.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
855
885
|
}
|
|
856
|
-
},
|
|
857
|
-
|
|
858
|
-
},
|
|
859
|
-
|
|
860
|
-
},
|
|
886
|
+
}, $ = () => {
|
|
887
|
+
a(12, k = ""), a(13, T = !0), a(18, z = !1), a(15, v = []), a(17, J = !1), ce(J);
|
|
888
|
+
}, ie = () => {
|
|
889
|
+
a(12, k = ""), _.focus();
|
|
890
|
+
}, ce = (o) => {
|
|
861
891
|
window.postMessage(
|
|
862
892
|
{
|
|
863
893
|
type: o === !0 ? "searchActive" : "searchCancelled",
|
|
@@ -865,47 +895,47 @@ function ut(a, e, t) {
|
|
|
865
895
|
},
|
|
866
896
|
window.location.href
|
|
867
897
|
);
|
|
868
|
-
},
|
|
869
|
-
|
|
898
|
+
}, Pe = () => {
|
|
899
|
+
ot(c);
|
|
870
900
|
};
|
|
871
|
-
|
|
872
|
-
window.removeEventListener("message",
|
|
901
|
+
Xe(() => (window.addEventListener("message", oe, !1), () => {
|
|
902
|
+
window.removeEventListener("message", oe);
|
|
873
903
|
}));
|
|
874
|
-
function
|
|
875
|
-
|
|
904
|
+
function xe() {
|
|
905
|
+
k = this.value, a(12, k);
|
|
876
906
|
}
|
|
877
|
-
function
|
|
878
|
-
|
|
879
|
-
|
|
907
|
+
function Me(o) {
|
|
908
|
+
me[o ? "unshift" : "push"](() => {
|
|
909
|
+
_ = o, a(16, _);
|
|
880
910
|
});
|
|
881
911
|
}
|
|
882
|
-
const
|
|
883
|
-
function
|
|
884
|
-
|
|
885
|
-
|
|
912
|
+
const Be = () => ie(), Ae = () => $();
|
|
913
|
+
function Oe(o) {
|
|
914
|
+
me[o ? "unshift" : "push"](() => {
|
|
915
|
+
P = o, a(14, P);
|
|
886
916
|
});
|
|
887
917
|
}
|
|
888
|
-
return
|
|
889
|
-
"endpoint" in o &&
|
|
890
|
-
},
|
|
891
|
-
if (
|
|
918
|
+
return t.$$set = (o) => {
|
|
919
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(31, B = o.translationurl), "showfavorites" in o && a(8, N = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
920
|
+
}, t.$$.update = () => {
|
|
921
|
+
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
892
922
|
268447747)
|
|
893
|
-
if (
|
|
923
|
+
if (k.length >= 2) {
|
|
894
924
|
const o = new URL(`${r}/v1/casino/games`);
|
|
895
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform",
|
|
896
|
-
|
|
925
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${k}`), Ge(o).then((S) => {
|
|
926
|
+
rt("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
897
927
|
});
|
|
898
928
|
} else
|
|
899
|
-
T ||
|
|
900
|
-
|
|
901
|
-
2 && c &&
|
|
902
|
-
1 &&
|
|
903
|
-
1610612736 && s && i &&
|
|
904
|
-
256 |
|
|
905
|
-
2 &&
|
|
906
|
-
16388 && m &&
|
|
907
|
-
16392 && h &&
|
|
908
|
-
18432 &&
|
|
929
|
+
T || se();
|
|
930
|
+
t.$$.dirty[0] & /*lang*/
|
|
931
|
+
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
932
|
+
1 && B && Te(), t.$$.dirty[0] & /*session, userid*/
|
|
933
|
+
1610612736 && s && i && ze(), t.$$.dirty[0] & /*showfavorites*/
|
|
934
|
+
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
935
|
+
2 && N && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
936
|
+
16388 && m && P && $e(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
937
|
+
16392 && h && P && et(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
938
|
+
18432 && P && tt(P, `${A}.Style`);
|
|
909
939
|
}, [
|
|
910
940
|
r,
|
|
911
941
|
c,
|
|
@@ -915,46 +945,46 @@ function ut(a, e, t) {
|
|
|
915
945
|
w,
|
|
916
946
|
d,
|
|
917
947
|
p,
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
948
|
+
N,
|
|
949
|
+
x,
|
|
950
|
+
V,
|
|
921
951
|
A,
|
|
922
|
-
|
|
952
|
+
k,
|
|
923
953
|
T,
|
|
924
|
-
|
|
954
|
+
P,
|
|
925
955
|
v,
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
K,
|
|
956
|
+
_,
|
|
957
|
+
J,
|
|
958
|
+
z,
|
|
930
959
|
X,
|
|
960
|
+
Q,
|
|
931
961
|
n,
|
|
932
962
|
W,
|
|
933
|
-
re,
|
|
934
|
-
Fe,
|
|
935
|
-
ze,
|
|
936
|
-
Q,
|
|
937
963
|
se,
|
|
964
|
+
je,
|
|
965
|
+
De,
|
|
966
|
+
$,
|
|
967
|
+
ie,
|
|
938
968
|
l,
|
|
939
969
|
s,
|
|
940
970
|
i,
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
Ne,
|
|
944
|
-
Pe,
|
|
971
|
+
B,
|
|
972
|
+
K,
|
|
945
973
|
xe,
|
|
946
974
|
Me,
|
|
947
|
-
Be
|
|
975
|
+
Be,
|
|
976
|
+
Ae,
|
|
977
|
+
Oe
|
|
948
978
|
];
|
|
949
979
|
}
|
|
950
|
-
class
|
|
980
|
+
class pt extends Ue {
|
|
951
981
|
constructor(e) {
|
|
952
|
-
super(),
|
|
982
|
+
super(), Ve(
|
|
953
983
|
this,
|
|
954
984
|
e,
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
985
|
+
ft,
|
|
986
|
+
mt,
|
|
987
|
+
Je,
|
|
958
988
|
{
|
|
959
989
|
endpoint: 0,
|
|
960
990
|
datasource: 28,
|
|
@@ -973,7 +1003,7 @@ class ht extends qe {
|
|
|
973
1003
|
notfoundicon: 10,
|
|
974
1004
|
mbsource: 11
|
|
975
1005
|
},
|
|
976
|
-
|
|
1006
|
+
it,
|
|
977
1007
|
[-1, -1]
|
|
978
1008
|
);
|
|
979
1009
|
}
|
|
@@ -1074,7 +1104,7 @@ class ht extends qe {
|
|
|
1074
1104
|
this.$$set({ mbsource: e }), L();
|
|
1075
1105
|
}
|
|
1076
1106
|
}
|
|
1077
|
-
|
|
1107
|
+
at(pt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1078
1108
|
export {
|
|
1079
|
-
|
|
1109
|
+
pt as default
|
|
1080
1110
|
};
|