@everymatrix/casino-page-nd 1.82.0 → 1.83.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/{CasinoPageNd-BVVMCKtp.cjs → CasinoPageNd-C_4XoJm_.cjs} +1 -1
- package/components/{CasinoPageNd-DdWryIwZ.js → CasinoPageNd-Drs9zW1j.js} +1 -1
- package/components/{CasinoPageNd-BMvcjaZw.js → CasinoPageNd-a_TdLk4d.js} +1 -1
- package/components/{CasinoSearchNd-Bk3JMfF4.js → CasinoSearchNd-BijnRe2h.js} +439 -373
- package/components/CasinoSearchNd-CioCA2Qy.cjs +1 -0
- package/components/{CasinoSearchNd-Bzd0q07t.js → CasinoSearchNd-Cw4upIJN.js} +471 -357
- 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/lazy/{casino-search-nd-B-bPED82.js → casino-search-nd-D8pLUXD7.js} +1 -1
- package/lazy/{casino-search-nd-BQXvzoym.cjs → casino-search-nd-DkWE5N7c.cjs} +1 -1
- package/lazy/{casino-search-nd-CsF1w_pt.js → casino-search-nd-UP-Pmlfm.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoSearchNd-XAJ23bXb.cjs +0 -1
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
r(m);
|
|
7
|
-
}
|
|
8
|
-
}, s = (c) => {
|
|
9
|
-
try {
|
|
10
|
-
i(t.throw(c));
|
|
11
|
-
} catch (m) {
|
|
12
|
-
r(m);
|
|
13
|
-
}
|
|
14
|
-
}, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
|
|
15
|
-
i((t = t.apply(a, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { a as qe, $ as We, S as Oe, i as Ue, s as Ve, f as L, b as Je, n as ie, d as I, M as Ze, r as f, Q as ce, h as j, p as S, A as V, j as y, B as N, F as ue, P as ee, k as Ye, o as Ke, m as x, q, C as he, v as de, w as Qe, T as Ce, E as u, H as Xe, I as $e, J as et, K as tt, L as at } from "./CasinoCalendar-B8zCvPQQ.js";
|
|
18
|
-
import "../lazy/casino-game-thumbnail-nd-BBPpDxxb.js";
|
|
19
|
-
import { d as me, i as nt, a as rt } from "./CasinoGameThumbnailNd-BoiI9srr.js";
|
|
20
|
-
function ge(a, e) {
|
|
21
|
-
qe(a, e);
|
|
1
|
+
import { a as Qe, $ as Xe, S as $e, i as et, s as tt, f as L, b as at, n as me, d as T, M as nt, u as f, Q as fe, h as I, q as w, B as J, j as k, C as z, G as pe, P as se, k as rt, l as ot, o as st, p as H, r as q, D as Se, w as _e, x as lt, T as Ge, F as u, I as it, J as ct, K as ut, L as ht } from "./CasinoCalendar-DJM0Q4qp.js";
|
|
2
|
+
import "../lazy/casino-game-thumbnail-nd-DGVO0Nzx.js";
|
|
3
|
+
import { d as we, i as dt, a as gt } from "./CasinoGameThumbnailNd-BJxh83td.js";
|
|
4
|
+
function be(a, e) {
|
|
5
|
+
Qe(a, e);
|
|
22
6
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
7
|
+
function mt(a) {
|
|
8
|
+
Xe.set(a);
|
|
25
9
|
}
|
|
26
|
-
const
|
|
10
|
+
const ve = {
|
|
27
11
|
en: {
|
|
28
12
|
recentSearch: "Recent search",
|
|
29
13
|
placeHolderSearchGames: "Search for Games",
|
|
@@ -205,272 +189,271 @@ const fe = {
|
|
|
205
189
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
206
190
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
207
191
|
}
|
|
208
|
-
},
|
|
192
|
+
}, ft = (a, e) => function(...t) {
|
|
209
193
|
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
210
194
|
a.apply(this, t);
|
|
211
195
|
}, e);
|
|
212
196
|
};
|
|
213
|
-
function
|
|
214
|
-
|
|
197
|
+
function pt(a) {
|
|
198
|
+
at(a, "svelte-1vt65d9", "*,*::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 30px 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)}.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}");
|
|
215
199
|
}
|
|
216
|
-
function
|
|
217
|
-
const
|
|
218
|
-
return
|
|
200
|
+
function ye(a, e, t) {
|
|
201
|
+
const r = a.slice();
|
|
202
|
+
return r[63] = e[t], r;
|
|
219
203
|
}
|
|
220
|
-
function
|
|
204
|
+
function ke(a) {
|
|
221
205
|
let e, t = (
|
|
222
206
|
/*$_*/
|
|
223
207
|
a[21]("cancel") + ""
|
|
224
|
-
),
|
|
208
|
+
), r, o, l, s;
|
|
225
209
|
return {
|
|
226
210
|
c() {
|
|
227
|
-
e =
|
|
211
|
+
e = k("small"), r = q(t), f(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
|
|
228
212
|
(a[16] ? "NotVisible" : ""));
|
|
229
213
|
},
|
|
230
214
|
m(i, c) {
|
|
231
|
-
|
|
215
|
+
I(i, e, c), w(e, r), l || (s = J(
|
|
232
216
|
e,
|
|
233
217
|
"click",
|
|
234
218
|
/*click_handler_1*/
|
|
235
|
-
a[
|
|
219
|
+
a[39]
|
|
236
220
|
), l = !0);
|
|
237
221
|
},
|
|
238
222
|
p(i, c) {
|
|
239
223
|
c[0] & /*$_*/
|
|
240
224
|
2097152 && t !== (t = /*$_*/
|
|
241
|
-
i[21]("cancel") + "") &&
|
|
242
|
-
65536 &&
|
|
243
|
-
(i[16] ? "NotVisible" : "")) && f(e, "class",
|
|
225
|
+
i[21]("cancel") + "") && H(r, t), c[0] & /*searchCancelled*/
|
|
226
|
+
65536 && o !== (o = "SearchCancelButton " + /*searchCancelled*/
|
|
227
|
+
(i[16] ? "NotVisible" : "")) && f(e, "class", o);
|
|
244
228
|
},
|
|
245
229
|
d(i) {
|
|
246
|
-
i &&
|
|
230
|
+
i && T(e), l = !1, s();
|
|
247
231
|
}
|
|
248
232
|
};
|
|
249
233
|
}
|
|
250
|
-
function
|
|
251
|
-
let e, t,
|
|
234
|
+
function St(a) {
|
|
235
|
+
let e, t, r, o;
|
|
252
236
|
function l(h, g) {
|
|
253
237
|
if (
|
|
254
238
|
/*searchActive*/
|
|
255
239
|
h[17] == !0 && /*searchValue*/
|
|
256
240
|
h[14].length < 2
|
|
257
241
|
)
|
|
258
|
-
return
|
|
242
|
+
return bt;
|
|
259
243
|
if (
|
|
260
244
|
/*searchArray*/
|
|
261
245
|
h[13].length != 0
|
|
262
246
|
)
|
|
263
|
-
return
|
|
247
|
+
return wt;
|
|
264
248
|
}
|
|
265
249
|
let s = l(a), i = s && s(a), c = (
|
|
266
250
|
/*searchCancelled*/
|
|
267
|
-
a[16] === !1 &&
|
|
251
|
+
a[16] === !1 && Le(a)
|
|
268
252
|
), m = (
|
|
269
253
|
/*searchValue*/
|
|
270
254
|
a[14].length >= 2 && /*searchArray*/
|
|
271
|
-
a[13].length == 0 &&
|
|
255
|
+
a[13].length == 0 && Ie(a)
|
|
272
256
|
);
|
|
273
257
|
return {
|
|
274
258
|
c() {
|
|
275
|
-
i && i.c(), e =
|
|
259
|
+
i && i.c(), e = z(), t = k("div"), c && c.c(), r = z(), m && m.c(), f(t, "class", o = "SearchResultsContainer " + /*searchActive*/
|
|
276
260
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
277
261
|
},
|
|
278
262
|
m(h, g) {
|
|
279
|
-
i && i.m(h, g),
|
|
263
|
+
i && i.m(h, g), I(h, e, g), I(h, t, g), c && c.m(t, null), w(t, r), m && m.m(t, null);
|
|
280
264
|
},
|
|
281
265
|
p(h, g) {
|
|
282
266
|
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*/
|
|
283
|
-
h[16] === !1 ? c ? c.p(h, g) : (c =
|
|
267
|
+
h[16] === !1 ? c ? c.p(h, g) : (c = Le(h), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
|
|
284
268
|
h[14].length >= 2 && /*searchArray*/
|
|
285
|
-
h[13].length == 0 ? m ? m.p(h, g) : (m =
|
|
286
|
-
131072 &&
|
|
287
|
-
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class",
|
|
269
|
+
h[13].length == 0 ? m ? m.p(h, g) : (m = Ie(h), m.c(), m.m(t, null)) : m && (m.d(1), m = null), g[0] & /*searchActive*/
|
|
270
|
+
131072 && o !== (o = "SearchResultsContainer " + /*searchActive*/
|
|
271
|
+
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class", o);
|
|
288
272
|
},
|
|
289
273
|
d(h) {
|
|
290
|
-
h && (
|
|
274
|
+
h && (T(e), T(t)), i && i.d(h), c && c.d(), m && m.d();
|
|
291
275
|
}
|
|
292
276
|
};
|
|
293
277
|
}
|
|
294
|
-
function
|
|
278
|
+
function _t(a) {
|
|
295
279
|
let e, t = (
|
|
296
280
|
/*$_*/
|
|
297
281
|
a[21]("loading") + ""
|
|
298
|
-
),
|
|
282
|
+
), r;
|
|
299
283
|
return {
|
|
300
284
|
c() {
|
|
301
|
-
e =
|
|
285
|
+
e = k("p"), r = q(t), f(e, "class", "LoadingContent");
|
|
302
286
|
},
|
|
303
|
-
m(
|
|
304
|
-
|
|
287
|
+
m(o, l) {
|
|
288
|
+
I(o, e, l), w(e, r);
|
|
305
289
|
},
|
|
306
|
-
p(
|
|
290
|
+
p(o, l) {
|
|
307
291
|
l[0] & /*$_*/
|
|
308
292
|
2097152 && t !== (t = /*$_*/
|
|
309
|
-
|
|
293
|
+
o[21]("loading") + "") && H(r, t);
|
|
310
294
|
},
|
|
311
|
-
d(
|
|
312
|
-
|
|
295
|
+
d(o) {
|
|
296
|
+
o && T(e);
|
|
313
297
|
}
|
|
314
298
|
};
|
|
315
299
|
}
|
|
316
|
-
function
|
|
300
|
+
function wt(a) {
|
|
317
301
|
let e, t = (
|
|
318
302
|
/*$_*/
|
|
319
303
|
a[21]("searchResult") + ""
|
|
320
|
-
),
|
|
304
|
+
), r;
|
|
321
305
|
return {
|
|
322
306
|
c() {
|
|
323
|
-
e =
|
|
307
|
+
e = k("p"), r = q(t), f(e, "class", "SearchMessage");
|
|
324
308
|
},
|
|
325
|
-
m(
|
|
326
|
-
|
|
309
|
+
m(o, l) {
|
|
310
|
+
I(o, e, l), w(e, r);
|
|
327
311
|
},
|
|
328
|
-
p(
|
|
312
|
+
p(o, l) {
|
|
329
313
|
l[0] & /*$_*/
|
|
330
314
|
2097152 && t !== (t = /*$_*/
|
|
331
|
-
|
|
315
|
+
o[21]("searchResult") + "") && H(r, t);
|
|
332
316
|
},
|
|
333
|
-
d(
|
|
334
|
-
|
|
317
|
+
d(o) {
|
|
318
|
+
o && T(e);
|
|
335
319
|
}
|
|
336
320
|
};
|
|
337
321
|
}
|
|
338
|
-
function
|
|
339
|
-
let e, t,
|
|
322
|
+
function bt(a) {
|
|
323
|
+
let e, t, r = (
|
|
340
324
|
/*searchArray*/
|
|
341
|
-
a[13].length !== 0 &&
|
|
342
|
-
),
|
|
325
|
+
a[13].length !== 0 && Re(a)
|
|
326
|
+
), o = (
|
|
343
327
|
/*searchArray*/
|
|
344
|
-
a[13].length == 0 &&
|
|
328
|
+
a[13].length == 0 && Ce(a)
|
|
345
329
|
);
|
|
346
330
|
return {
|
|
347
331
|
c() {
|
|
348
|
-
|
|
332
|
+
r && r.c(), e = z(), o && o.c(), t = Ge();
|
|
349
333
|
},
|
|
350
334
|
m(l, s) {
|
|
351
|
-
|
|
335
|
+
r && r.m(l, s), I(l, e, s), o && o.m(l, s), I(l, t, s);
|
|
352
336
|
},
|
|
353
337
|
p(l, s) {
|
|
354
338
|
/*searchArray*/
|
|
355
|
-
l[13].length !== 0 ?
|
|
356
|
-
l[13].length == 0 ?
|
|
339
|
+
l[13].length !== 0 ? r ? r.p(l, s) : (r = Re(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
|
|
340
|
+
l[13].length == 0 ? o ? o.p(l, s) : (o = Ce(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
357
341
|
},
|
|
358
342
|
d(l) {
|
|
359
|
-
l && (
|
|
343
|
+
l && (T(e), T(t)), r && r.d(l), o && o.d(l);
|
|
360
344
|
}
|
|
361
345
|
};
|
|
362
346
|
}
|
|
363
|
-
function
|
|
347
|
+
function Re(a) {
|
|
364
348
|
let e, t = (
|
|
365
349
|
/*$_*/
|
|
366
350
|
a[21]("recentSearch") + ""
|
|
367
|
-
),
|
|
351
|
+
), r;
|
|
368
352
|
return {
|
|
369
353
|
c() {
|
|
370
|
-
e =
|
|
354
|
+
e = k("p"), r = q(t), f(e, "class", "SearchMessage");
|
|
371
355
|
},
|
|
372
|
-
m(
|
|
373
|
-
|
|
356
|
+
m(o, l) {
|
|
357
|
+
I(o, e, l), w(e, r);
|
|
374
358
|
},
|
|
375
|
-
p(
|
|
359
|
+
p(o, l) {
|
|
376
360
|
l[0] & /*$_*/
|
|
377
361
|
2097152 && t !== (t = /*$_*/
|
|
378
|
-
|
|
362
|
+
o[21]("recentSearch") + "") && H(r, t);
|
|
379
363
|
},
|
|
380
|
-
d(
|
|
381
|
-
|
|
364
|
+
d(o) {
|
|
365
|
+
o && T(e);
|
|
382
366
|
}
|
|
383
367
|
};
|
|
384
368
|
}
|
|
385
|
-
function
|
|
386
|
-
let e, t,
|
|
369
|
+
function Ce(a) {
|
|
370
|
+
let e, t, r, o = (
|
|
387
371
|
/*$_*/
|
|
388
372
|
a[21]("noRecentSearches") + ""
|
|
389
373
|
), l, s, i = (
|
|
390
374
|
/*notfoundicon*/
|
|
391
|
-
a[11] === "true" &&
|
|
375
|
+
a[11] === "true" && Fe()
|
|
392
376
|
);
|
|
393
377
|
return {
|
|
394
378
|
c() {
|
|
395
|
-
e =
|
|
379
|
+
e = k("div"), i && i.c(), t = z(), r = k("p"), l = q(o), f(r, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
396
380
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
397
381
|
},
|
|
398
382
|
m(c, m) {
|
|
399
|
-
|
|
383
|
+
I(c, e, m), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
|
|
400
384
|
},
|
|
401
385
|
p(c, m) {
|
|
402
386
|
/*notfoundicon*/
|
|
403
|
-
c[11] === "true" ? i || (i =
|
|
404
|
-
2097152 &&
|
|
405
|
-
c[21]("noRecentSearches") + "") &&
|
|
387
|
+
c[11] === "true" ? i || (i = Fe(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
388
|
+
2097152 && o !== (o = /*$_*/
|
|
389
|
+
c[21]("noRecentSearches") + "") && H(l, o), m[0] & /*notfoundicon*/
|
|
406
390
|
2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
407
391
|
(c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
408
392
|
},
|
|
409
393
|
d(c) {
|
|
410
|
-
c &&
|
|
394
|
+
c && T(e), i && i.d();
|
|
411
395
|
}
|
|
412
396
|
};
|
|
413
397
|
}
|
|
414
|
-
function
|
|
398
|
+
function Fe(a) {
|
|
415
399
|
let e;
|
|
416
400
|
return {
|
|
417
401
|
c() {
|
|
418
|
-
e =
|
|
402
|
+
e = k("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");
|
|
419
403
|
},
|
|
420
|
-
m(t,
|
|
421
|
-
|
|
404
|
+
m(t, r) {
|
|
405
|
+
I(t, e, r);
|
|
422
406
|
},
|
|
423
407
|
d(t) {
|
|
424
|
-
t &&
|
|
408
|
+
t && T(e);
|
|
425
409
|
}
|
|
426
410
|
};
|
|
427
411
|
}
|
|
428
|
-
function
|
|
429
|
-
let e, t =
|
|
412
|
+
function Le(a) {
|
|
413
|
+
let e, t = _e(
|
|
430
414
|
/*searchArray*/
|
|
431
415
|
a[13]
|
|
432
|
-
),
|
|
433
|
-
for (let
|
|
434
|
-
|
|
416
|
+
), r = [];
|
|
417
|
+
for (let o = 0; o < t.length; o += 1)
|
|
418
|
+
r[o] = Te(ye(a, t, o));
|
|
435
419
|
return {
|
|
436
420
|
c() {
|
|
437
|
-
for (let
|
|
438
|
-
|
|
439
|
-
e =
|
|
421
|
+
for (let o = 0; o < r.length; o += 1)
|
|
422
|
+
r[o].c();
|
|
423
|
+
e = Ge();
|
|
440
424
|
},
|
|
441
|
-
m(
|
|
442
|
-
for (let s = 0; s <
|
|
443
|
-
|
|
444
|
-
|
|
425
|
+
m(o, l) {
|
|
426
|
+
for (let s = 0; s < r.length; s += 1)
|
|
427
|
+
r[s] && r[s].m(o, l);
|
|
428
|
+
I(o, e, l);
|
|
445
429
|
},
|
|
446
|
-
p(
|
|
430
|
+
p(o, l) {
|
|
447
431
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
|
|
448
432
|
35136511) {
|
|
449
|
-
t =
|
|
433
|
+
t = _e(
|
|
450
434
|
/*searchArray*/
|
|
451
|
-
|
|
435
|
+
o[13]
|
|
452
436
|
);
|
|
453
437
|
let s;
|
|
454
438
|
for (s = 0; s < t.length; s += 1) {
|
|
455
|
-
const i =
|
|
456
|
-
|
|
439
|
+
const i = ye(o, t, s);
|
|
440
|
+
r[s] ? r[s].p(i, l) : (r[s] = Te(i), r[s].c(), r[s].m(e.parentNode, e));
|
|
457
441
|
}
|
|
458
|
-
for (; s <
|
|
459
|
-
|
|
460
|
-
|
|
442
|
+
for (; s < r.length; s += 1)
|
|
443
|
+
r[s].d(1);
|
|
444
|
+
r.length = t.length;
|
|
461
445
|
}
|
|
462
446
|
},
|
|
463
|
-
d(
|
|
464
|
-
|
|
447
|
+
d(o) {
|
|
448
|
+
o && T(e), lt(r, o);
|
|
465
449
|
}
|
|
466
450
|
};
|
|
467
451
|
}
|
|
468
|
-
function
|
|
469
|
-
let e, t,
|
|
452
|
+
function Te(a) {
|
|
453
|
+
let e, t, r, o, l, s, i, c, m, h, g, v;
|
|
470
454
|
return {
|
|
471
455
|
c() {
|
|
472
|
-
|
|
473
|
-
e = y("casino-game-thumbnail-nd"), u(
|
|
456
|
+
e = k("casino-game-thumbnail-nd"), u(
|
|
474
457
|
e,
|
|
475
458
|
"endpoint",
|
|
476
459
|
/*endpoint*/
|
|
@@ -496,28 +479,28 @@ function ke(a) {
|
|
|
496
479
|
/*lang*/
|
|
497
480
|
a[1]
|
|
498
481
|
), u(e, "gamethumbnail", t = /*game*/
|
|
499
|
-
a[
|
|
500
|
-
a[
|
|
501
|
-
a[
|
|
502
|
-
a[
|
|
503
|
-
a[
|
|
504
|
-
|
|
482
|
+
a[63].thumbnail), u(e, "gamename", r = /*game*/
|
|
483
|
+
a[63].name), u(e, "gamevendor", o = /*game*/
|
|
484
|
+
a[63].vendor.name), u(e, "gameLaunchUrl", l = /*game*/
|
|
485
|
+
a[63].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
486
|
+
a[63].isNew), u(e, "gametag", i = /*game*/
|
|
487
|
+
a[63].advancedTags?.length > 0 && /*addGameTag*/
|
|
505
488
|
a[25](
|
|
506
489
|
/*game*/
|
|
507
|
-
a[
|
|
490
|
+
a[63].advancedTags
|
|
508
491
|
)), u(e, "gamecellsize", c = /*game*/
|
|
509
|
-
a[
|
|
510
|
-
a[
|
|
492
|
+
a[63].cellSize), u(e, "gameid", m = /*game*/
|
|
493
|
+
a[63].id), u(
|
|
511
494
|
e,
|
|
512
495
|
"showgamename",
|
|
513
496
|
/*showgamename*/
|
|
514
497
|
a[7]
|
|
515
498
|
), u(e, "gamefunmode", h = /*game*/
|
|
516
|
-
a[
|
|
517
|
-
a[
|
|
518
|
-
a[
|
|
499
|
+
a[63].hasFunMode), u(e, "gamefavorite", g = /*game*/
|
|
500
|
+
a[63].isFavorite), u(e, "livelobbyendpoint", v = /*game*/
|
|
501
|
+
a[63].details ? (
|
|
519
502
|
/*game*/
|
|
520
|
-
a[
|
|
503
|
+
a[63].launchUrl
|
|
521
504
|
) : ""), u(
|
|
522
505
|
e,
|
|
523
506
|
"integratedgameframedesktop",
|
|
@@ -550,107 +533,106 @@ function ke(a) {
|
|
|
550
533
|
a[2]
|
|
551
534
|
);
|
|
552
535
|
},
|
|
553
|
-
m(d,
|
|
554
|
-
|
|
536
|
+
m(d, S) {
|
|
537
|
+
I(d, e, S);
|
|
555
538
|
},
|
|
556
|
-
p(d,
|
|
557
|
-
|
|
558
|
-
p[0] & /*endpoint*/
|
|
539
|
+
p(d, S) {
|
|
540
|
+
S[0] & /*endpoint*/
|
|
559
541
|
1 && u(
|
|
560
542
|
e,
|
|
561
543
|
"endpoint",
|
|
562
544
|
/*endpoint*/
|
|
563
545
|
d[0]
|
|
564
|
-
),
|
|
546
|
+
), S[0] & /*sessionID*/
|
|
565
547
|
524288 && u(
|
|
566
548
|
e,
|
|
567
549
|
"session",
|
|
568
550
|
/*sessionID*/
|
|
569
551
|
d[19]
|
|
570
|
-
),
|
|
552
|
+
), S[0] & /*playerID*/
|
|
571
553
|
1048576 && u(
|
|
572
554
|
e,
|
|
573
555
|
"userid",
|
|
574
556
|
/*playerID*/
|
|
575
557
|
d[20]
|
|
576
|
-
),
|
|
558
|
+
), S[0] & /*showfavorites*/
|
|
577
559
|
512 && u(
|
|
578
560
|
e,
|
|
579
561
|
"favorites",
|
|
580
562
|
/*showfavorites*/
|
|
581
563
|
d[9]
|
|
582
|
-
),
|
|
564
|
+
), S[0] & /*lang*/
|
|
583
565
|
2 && u(
|
|
584
566
|
e,
|
|
585
567
|
"lang",
|
|
586
568
|
/*lang*/
|
|
587
569
|
d[1]
|
|
588
|
-
),
|
|
570
|
+
), S[0] & /*searchArray*/
|
|
589
571
|
8192 && t !== (t = /*game*/
|
|
590
|
-
d[
|
|
591
|
-
8192 && n !== (n = /*game*/
|
|
592
|
-
d[55].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
572
|
+
d[63].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
|
|
593
573
|
8192 && r !== (r = /*game*/
|
|
594
|
-
d[
|
|
574
|
+
d[63].name) && u(e, "gamename", r), S[0] & /*searchArray*/
|
|
575
|
+
8192 && o !== (o = /*game*/
|
|
576
|
+
d[63].vendor.name) && u(e, "gamevendor", o), S[0] & /*searchArray*/
|
|
595
577
|
8192 && l !== (l = /*game*/
|
|
596
|
-
d[
|
|
578
|
+
d[63].launchUrl) && u(e, "gameLaunchUrl", l), S[0] & /*searchArray*/
|
|
597
579
|
8192 && s !== (s = /*game*/
|
|
598
|
-
d[
|
|
580
|
+
d[63].isNew) && u(e, "gameisnew", s), S[0] & /*searchArray*/
|
|
599
581
|
8192 && i !== (i = /*game*/
|
|
600
|
-
|
|
582
|
+
d[63].advancedTags?.length > 0 && /*addGameTag*/
|
|
601
583
|
d[25](
|
|
602
584
|
/*game*/
|
|
603
|
-
d[
|
|
604
|
-
)) && u(e, "gametag", i),
|
|
585
|
+
d[63].advancedTags
|
|
586
|
+
)) && u(e, "gametag", i), S[0] & /*searchArray*/
|
|
605
587
|
8192 && c !== (c = /*game*/
|
|
606
|
-
d[
|
|
588
|
+
d[63].cellSize) && u(e, "gamecellsize", c), S[0] & /*searchArray*/
|
|
607
589
|
8192 && m !== (m = /*game*/
|
|
608
|
-
d[
|
|
590
|
+
d[63].id) && u(e, "gameid", m), S[0] & /*showgamename*/
|
|
609
591
|
128 && u(
|
|
610
592
|
e,
|
|
611
593
|
"showgamename",
|
|
612
594
|
/*showgamename*/
|
|
613
595
|
d[7]
|
|
614
|
-
),
|
|
596
|
+
), S[0] & /*searchArray*/
|
|
615
597
|
8192 && h !== (h = /*game*/
|
|
616
|
-
d[
|
|
598
|
+
d[63].hasFunMode) && u(e, "gamefunmode", h), S[0] & /*searchArray*/
|
|
617
599
|
8192 && g !== (g = /*game*/
|
|
618
|
-
d[
|
|
619
|
-
8192 &&
|
|
620
|
-
d[
|
|
600
|
+
d[63].isFavorite) && u(e, "gamefavorite", g), S[0] & /*searchArray*/
|
|
601
|
+
8192 && v !== (v = /*game*/
|
|
602
|
+
d[63].details ? (
|
|
621
603
|
/*game*/
|
|
622
|
-
d[
|
|
623
|
-
) : "") && u(e, "livelobbyendpoint",
|
|
604
|
+
d[63].launchUrl
|
|
605
|
+
) : "") && u(e, "livelobbyendpoint", v), S[0] & /*integratedgameframedesktop*/
|
|
624
606
|
32 && u(
|
|
625
607
|
e,
|
|
626
608
|
"integratedgameframedesktop",
|
|
627
609
|
/*integratedgameframedesktop*/
|
|
628
610
|
d[5]
|
|
629
|
-
),
|
|
611
|
+
), S[0] & /*integratedgameframemobile*/
|
|
630
612
|
64 && u(
|
|
631
613
|
e,
|
|
632
614
|
"integratedgameframemobile",
|
|
633
615
|
/*integratedgameframemobile*/
|
|
634
616
|
d[6]
|
|
635
|
-
),
|
|
617
|
+
), S[0] & /*clientstyling*/
|
|
636
618
|
8 && u(
|
|
637
619
|
e,
|
|
638
620
|
"clientstyling",
|
|
639
621
|
/*clientstyling*/
|
|
640
622
|
d[3]
|
|
641
|
-
),
|
|
623
|
+
), S[0] & /*clientstylingurl*/
|
|
642
624
|
16 && u(
|
|
643
625
|
e,
|
|
644
626
|
"clientstylingurl",
|
|
645
627
|
/*clientstylingurl*/
|
|
646
628
|
d[4]
|
|
647
|
-
),
|
|
629
|
+
), S[0] & /*gamepagemodalurl*/
|
|
648
630
|
256 && u(
|
|
649
631
|
e,
|
|
650
632
|
"gamepagemodalurl",
|
|
651
633
|
/*gamepagemodalurl*/
|
|
652
634
|
d[8]
|
|
653
|
-
),
|
|
635
|
+
), S[0] & /*mbsource*/
|
|
654
636
|
4 && u(
|
|
655
637
|
e,
|
|
656
638
|
"mbsource",
|
|
@@ -659,12 +641,12 @@ function ke(a) {
|
|
|
659
641
|
);
|
|
660
642
|
},
|
|
661
643
|
d(d) {
|
|
662
|
-
d &&
|
|
644
|
+
d && T(e);
|
|
663
645
|
}
|
|
664
646
|
};
|
|
665
647
|
}
|
|
666
|
-
function
|
|
667
|
-
let e, t,
|
|
648
|
+
function Ie(a) {
|
|
649
|
+
let e, t, r, o = (
|
|
668
650
|
/*$_*/
|
|
669
651
|
a[21]("notFound") + ""
|
|
670
652
|
), l, s, i, c = (
|
|
@@ -672,318 +654,388 @@ function ye(a) {
|
|
|
672
654
|
a[21]("notFoundText") + ""
|
|
673
655
|
), m, h, g = (
|
|
674
656
|
/*notfoundicon*/
|
|
675
|
-
a[11] === "true" &&
|
|
657
|
+
a[11] === "true" && je()
|
|
676
658
|
);
|
|
677
659
|
return {
|
|
678
660
|
c() {
|
|
679
|
-
e =
|
|
661
|
+
e = k("div"), g && g.c(), t = z(), r = k("p"), l = q(o), s = z(), i = k("p"), m = q(c), f(r, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
680
662
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
681
663
|
},
|
|
682
|
-
m(
|
|
683
|
-
|
|
664
|
+
m(v, d) {
|
|
665
|
+
I(v, e, d), g && g.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, m);
|
|
684
666
|
},
|
|
685
|
-
p(
|
|
667
|
+
p(v, d) {
|
|
686
668
|
/*notfoundicon*/
|
|
687
|
-
|
|
688
|
-
2097152 &&
|
|
689
|
-
|
|
669
|
+
v[11] === "true" ? g || (g = je(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
670
|
+
2097152 && o !== (o = /*$_*/
|
|
671
|
+
v[21]("notFound") + "") && H(l, o), d[0] & /*$_*/
|
|
690
672
|
2097152 && c !== (c = /*$_*/
|
|
691
|
-
|
|
673
|
+
v[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
|
|
692
674
|
2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
693
|
-
(
|
|
675
|
+
(v[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
|
|
694
676
|
},
|
|
695
|
-
d(
|
|
696
|
-
|
|
677
|
+
d(v) {
|
|
678
|
+
v && T(e), g && g.d();
|
|
697
679
|
}
|
|
698
680
|
};
|
|
699
681
|
}
|
|
700
|
-
function
|
|
682
|
+
function je(a) {
|
|
701
683
|
let e;
|
|
702
684
|
return {
|
|
703
685
|
c() {
|
|
704
|
-
e =
|
|
686
|
+
e = k("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");
|
|
705
687
|
},
|
|
706
|
-
m(t,
|
|
707
|
-
|
|
688
|
+
m(t, r) {
|
|
689
|
+
I(t, e, r);
|
|
708
690
|
},
|
|
709
691
|
d(t) {
|
|
710
|
-
t &&
|
|
692
|
+
t && T(e);
|
|
711
693
|
}
|
|
712
694
|
};
|
|
713
695
|
}
|
|
714
|
-
function
|
|
715
|
-
let e, t,
|
|
696
|
+
function vt(a) {
|
|
697
|
+
let e, t, r, o, l, s, i, c, m, h, g, v, d, S, Z, N, x, W, U, B, R = (
|
|
716
698
|
/*cancelbutton*/
|
|
717
|
-
a[10] === "true" &&
|
|
699
|
+
a[10] === "true" && ke(a)
|
|
718
700
|
);
|
|
719
|
-
function
|
|
701
|
+
function X(_, j) {
|
|
720
702
|
return (
|
|
721
703
|
/*isLoading*/
|
|
722
|
-
|
|
704
|
+
_[18] ? _t : St
|
|
723
705
|
);
|
|
724
706
|
}
|
|
725
|
-
let
|
|
707
|
+
let A = X(a), C = A(a);
|
|
726
708
|
return {
|
|
727
709
|
c() {
|
|
728
|
-
e =
|
|
729
|
-
a[21]("placeHolderSearchGames")), f(s, "maxlength",
|
|
710
|
+
e = k("div"), t = k("div"), r = k("div"), o = k("div"), o.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 = z(), s = k("input"), c = z(), m = k("span"), h = pe("svg"), g = pe("path"), d = z(), R && R.c(), Z = z(), N = k("div"), W = z(), C.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
711
|
+
a[21]("placeHolderSearchGames")), f(s, "maxlength", Ee), 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", v = "SearchClearButton " + /*cancelbutton*/
|
|
730
712
|
(a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
731
|
-
(a[14].length != 0 ? "" : "NotVisible")), f(
|
|
732
|
-
(a[16] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(
|
|
733
|
-
a[10] != "true" ? "OverlayCancel" : ""), f(e, "class", (
|
|
713
|
+
(a[14].length != 0 ? "" : "NotVisible")), f(r, "class", S = "Search " + /*searchCancelled*/
|
|
714
|
+
(a[16] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(N, "class", x = /*cancelbutton*/
|
|
715
|
+
a[10] != "true" ? "OverlayCancel" : ""), f(e, "class", (se(
|
|
734
716
|
/*userAgent*/
|
|
735
717
|
a[22]
|
|
736
718
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
737
719
|
},
|
|
738
|
-
m(
|
|
739
|
-
|
|
720
|
+
m(_, j) {
|
|
721
|
+
I(_, e, j), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), fe(
|
|
740
722
|
s,
|
|
741
723
|
/*searchValue*/
|
|
742
724
|
a[14]
|
|
743
|
-
), a[
|
|
744
|
-
|
|
725
|
+
), a[37](s), w(r, c), w(r, m), w(m, h), w(h, g), w(r, d), R && R.m(r, null), w(e, Z), w(e, N), w(e, W), C.m(e, null), a[40](e), U || (B = [
|
|
726
|
+
J(
|
|
745
727
|
s,
|
|
746
728
|
"input",
|
|
747
729
|
/*input_input_handler*/
|
|
748
|
-
a[
|
|
730
|
+
a[36]
|
|
749
731
|
),
|
|
750
|
-
|
|
732
|
+
J(
|
|
751
733
|
s,
|
|
752
734
|
"focus",
|
|
753
735
|
/*onFocus*/
|
|
754
736
|
a[23]
|
|
755
737
|
),
|
|
756
|
-
|
|
738
|
+
J(
|
|
757
739
|
s,
|
|
758
740
|
"input",
|
|
759
741
|
/*handleSearchInput*/
|
|
760
742
|
a[28]
|
|
761
743
|
),
|
|
762
|
-
|
|
744
|
+
J(
|
|
763
745
|
m,
|
|
764
746
|
"click",
|
|
765
747
|
/*click_handler*/
|
|
766
|
-
a[
|
|
748
|
+
a[38]
|
|
767
749
|
),
|
|
768
|
-
|
|
769
|
-
|
|
750
|
+
J(
|
|
751
|
+
N,
|
|
770
752
|
"click",
|
|
771
753
|
/*handleOverlay*/
|
|
772
754
|
a[24]
|
|
773
755
|
)
|
|
774
|
-
],
|
|
756
|
+
], U = !0);
|
|
775
757
|
},
|
|
776
|
-
p(
|
|
777
|
-
|
|
758
|
+
p(_, j) {
|
|
759
|
+
j[0] & /*$_*/
|
|
778
760
|
2097152 && i !== (i = /*$_*/
|
|
779
|
-
|
|
761
|
+
_[21]("placeHolderSearchGames")) && f(s, "placeholder", i), j[0] & /*searchValue*/
|
|
780
762
|
16384 && s.value !== /*searchValue*/
|
|
781
|
-
|
|
763
|
+
_[14] && fe(
|
|
782
764
|
s,
|
|
783
765
|
/*searchValue*/
|
|
784
|
-
|
|
785
|
-
),
|
|
786
|
-
17408 &&
|
|
787
|
-
(
|
|
788
|
-
(
|
|
789
|
-
|
|
790
|
-
65536 &&
|
|
791
|
-
(
|
|
792
|
-
1024 &&
|
|
793
|
-
|
|
766
|
+
_[14]
|
|
767
|
+
), j[0] & /*cancelbutton, searchValue*/
|
|
768
|
+
17408 && v !== (v = "SearchClearButton " + /*cancelbutton*/
|
|
769
|
+
(_[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
770
|
+
(_[14].length != 0 ? "" : "NotVisible")) && f(m, "class", v), /*cancelbutton*/
|
|
771
|
+
_[10] === "true" ? R ? R.p(_, j) : (R = ke(_), R.c(), R.m(r, null)) : R && (R.d(1), R = null), j[0] & /*searchCancelled*/
|
|
772
|
+
65536 && S !== (S = "Search " + /*searchCancelled*/
|
|
773
|
+
(_[16] ? "" : "SearchAnimation")) && f(r, "class", S), j[0] & /*cancelbutton*/
|
|
774
|
+
1024 && x !== (x = /*cancelbutton*/
|
|
775
|
+
_[10] != "true" ? "OverlayCancel" : "") && f(N, "class", x), A === (A = X(_)) && C ? C.p(_, j) : (C.d(1), C = A(_), C && (C.c(), C.m(e, null)));
|
|
794
776
|
},
|
|
795
|
-
i:
|
|
796
|
-
o:
|
|
797
|
-
d(
|
|
798
|
-
|
|
777
|
+
i: me,
|
|
778
|
+
o: me,
|
|
779
|
+
d(_) {
|
|
780
|
+
_ && T(e), a[37](null), R && R.d(), C.d(), a[40](null), U = !1, nt(B);
|
|
799
781
|
}
|
|
800
782
|
};
|
|
801
783
|
}
|
|
802
|
-
let
|
|
803
|
-
function
|
|
804
|
-
let
|
|
805
|
-
|
|
806
|
-
let { endpoint:
|
|
807
|
-
const
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
784
|
+
let Ee = 50;
|
|
785
|
+
function yt(a, e, t) {
|
|
786
|
+
let r;
|
|
787
|
+
rt(a, ot, (n) => t(21, r = n));
|
|
788
|
+
let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: m } = e, { clientstyling: h = "" } = e, { clientstylingurl: g = "" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: S = "" } = e, { gamepagemodalurl: Z = "true" } = e, { translationurl: N = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: W = "true" } = e, { notfoundicon: U = "false" } = e, { controlchannel: B = "casino-search" } = e, { allowedorigins: R = window.location.origin } = e;
|
|
789
|
+
const X = () => (R || "").split(",").map((n) => n.trim()).filter(Boolean);
|
|
790
|
+
let A = window.navigator.userAgent, C = [], _ = [], j = {}, P = "", Y, $ = !0, D = !1, E = !1, M, ee = !1, te, ae, le = [];
|
|
791
|
+
const ze = () => {
|
|
792
|
+
fetch(N).then((p) => p.json()).then((p) => {
|
|
793
|
+
Object.keys(p).forEach((b) => {
|
|
794
|
+
be(b, p[b]);
|
|
811
795
|
});
|
|
812
|
-
}).catch((
|
|
813
|
-
console.log(
|
|
796
|
+
}).catch((p) => {
|
|
797
|
+
console.log(p);
|
|
814
798
|
});
|
|
815
799
|
};
|
|
816
|
-
Object.keys(
|
|
817
|
-
|
|
800
|
+
Object.keys(ve).forEach((n) => {
|
|
801
|
+
be(n, ve[n]);
|
|
818
802
|
});
|
|
819
|
-
const
|
|
820
|
-
|
|
803
|
+
const ie = (n) => {
|
|
804
|
+
n.data && n.data.type == "SearchedItemClicked" && He(n.data.gameId), n.data.type == "UserSessionID" && (t(19, te = n.data.session), t(20, ae = n.data.userid), t(35, ee = !0)), n.data.type == "CategoryChange" && Q();
|
|
805
|
+
try {
|
|
806
|
+
const p = n.origin === window.location.origin, b = X();
|
|
807
|
+
if (!(p || b.length > 0 && b.includes(n.origin)) || !n.data || n.data.channel !== B)
|
|
808
|
+
return;
|
|
809
|
+
switch (n.data.type) {
|
|
810
|
+
case "OpenSearch":
|
|
811
|
+
re();
|
|
812
|
+
break;
|
|
813
|
+
case "CloseSearch":
|
|
814
|
+
ce();
|
|
815
|
+
break;
|
|
816
|
+
case "ToggleSearch":
|
|
817
|
+
Ne();
|
|
818
|
+
break;
|
|
819
|
+
case "SetSearchQuery":
|
|
820
|
+
Pe(String(n.data.value ?? ""));
|
|
821
|
+
break;
|
|
822
|
+
}
|
|
823
|
+
} catch {
|
|
824
|
+
}
|
|
821
825
|
}, ne = () => {
|
|
822
|
-
if (t(16,
|
|
823
|
-
t(13,
|
|
824
|
-
let
|
|
825
|
-
|
|
826
|
-
let
|
|
826
|
+
if (t(16, $ = !1), t(17, D = !0), o && l && c && P.length < 2) {
|
|
827
|
+
t(13, C = []);
|
|
828
|
+
let n = localStorage.getItem("searchedGamesWds_casino"), p = [];
|
|
829
|
+
n && (p = n.split(","));
|
|
830
|
+
let b = [], y = 0, F = p.length;
|
|
827
831
|
if (F > 0) {
|
|
828
|
-
for (
|
|
829
|
-
let G = new URL(`${
|
|
830
|
-
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform",
|
|
832
|
+
for (y = 0; y < F; y++) {
|
|
833
|
+
let G = new URL(`${o}/v1/casino/games/${p[y]}`);
|
|
834
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", se(A)), b.push(xe(G, p[y]));
|
|
831
835
|
}
|
|
832
|
-
Promise.all(
|
|
833
|
-
G = G.filter(function(
|
|
834
|
-
return !!
|
|
835
|
-
}), t(13,
|
|
836
|
+
Promise.all(b).then((G) => {
|
|
837
|
+
G = G.filter(function(O) {
|
|
838
|
+
return !!O;
|
|
839
|
+
}), t(13, C = G.map((O) => (O.isFavorite = ue(O.id), O))), C.length ? K("searchSuccess", "SearchWidget") : K("searchFail", "SearchWidget");
|
|
836
840
|
}).catch((G) => {
|
|
837
|
-
|
|
841
|
+
K("searchError", "SearchWidget");
|
|
838
842
|
});
|
|
839
843
|
}
|
|
840
844
|
}
|
|
841
|
-
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
845
|
+
de(D), K("searchAttempt", "SearchWidget"), K("SearchInitialized", "SearchWidget");
|
|
846
|
+
};
|
|
847
|
+
function re() {
|
|
848
|
+
D || (ne(), requestAnimationFrame(() => Y?.focus()), V({ type: "SearchOpen" }));
|
|
849
|
+
}
|
|
850
|
+
function ce() {
|
|
851
|
+
D && (Q(), V({ type: "SearchClose" }));
|
|
852
|
+
}
|
|
853
|
+
function Ne() {
|
|
854
|
+
D ? ce() : re();
|
|
855
|
+
}
|
|
856
|
+
function Pe(n) {
|
|
857
|
+
t(14, P = (n ?? "").slice(0, Ee)), D || re(), ge();
|
|
858
|
+
}
|
|
859
|
+
const K = (n, p) => {
|
|
860
|
+
typeof gtag == "function" && gtag("event", n, { context: p });
|
|
861
|
+
}, De = () => {
|
|
862
|
+
W != "true" && Q();
|
|
863
|
+
}, Me = (n) => new Promise((p, b) => {
|
|
864
|
+
t(18, E = !0), fetch(n.href).then((y) => y.json()).then((y) => {
|
|
865
|
+
t(18, E = !1), p(y);
|
|
866
|
+
}).catch((y) => {
|
|
867
|
+
t(18, E = !1), console.error(y);
|
|
868
|
+
try {
|
|
869
|
+
V({
|
|
870
|
+
type: "SearchError",
|
|
871
|
+
message: String(y)
|
|
872
|
+
});
|
|
873
|
+
} catch {
|
|
874
|
+
}
|
|
875
|
+
b(y);
|
|
851
876
|
});
|
|
852
|
-
}),
|
|
853
|
-
t(18,
|
|
854
|
-
t(18,
|
|
877
|
+
}), xe = (n, p) => new Promise((b, y) => {
|
|
878
|
+
t(18, E = !0), p && Object.keys(j).indexOf(p) >= 0 ? (t(18, E = !1), b(j[p])) : fetch(n).then((F) => F.json()).then((F) => {
|
|
879
|
+
t(18, E = !1), F.error || (j[F[0].gameId] = F[0]), b(F[0]);
|
|
855
880
|
}).catch((F) => {
|
|
856
|
-
t(18,
|
|
881
|
+
t(18, E = !1), console.error(F);
|
|
882
|
+
try {
|
|
883
|
+
V({
|
|
884
|
+
type: "SearchError",
|
|
885
|
+
message: String(F)
|
|
886
|
+
});
|
|
887
|
+
} catch {
|
|
888
|
+
}
|
|
889
|
+
y(F);
|
|
857
890
|
});
|
|
858
|
-
}),
|
|
859
|
-
const
|
|
860
|
-
t(18,
|
|
861
|
-
let
|
|
891
|
+
}), Ae = () => {
|
|
892
|
+
const n = new URL(`${o}/v1/player/${ae}/favorites/`);
|
|
893
|
+
t(18, E = !0);
|
|
894
|
+
let p = {
|
|
862
895
|
method: "GET",
|
|
863
|
-
headers: { "X-SessionID":
|
|
896
|
+
headers: { "X-SessionID": te }
|
|
864
897
|
};
|
|
865
|
-
fetch(
|
|
866
|
-
t(18,
|
|
898
|
+
fetch(n.href, p).then((b) => b.json()).then((b) => {
|
|
899
|
+
t(18, E = !1), le = b.items.map((y) => y.id);
|
|
867
900
|
});
|
|
868
|
-
},
|
|
869
|
-
t(
|
|
870
|
-
},
|
|
871
|
-
if (
|
|
901
|
+
}, Be = () => {
|
|
902
|
+
t(35, ee = !0), t(19, te = s), t(20, ae = i);
|
|
903
|
+
}, ue = (n) => le.findIndex((p) => p == n) !== -1, Oe = (n) => {
|
|
904
|
+
if (n?.length === 0)
|
|
872
905
|
return "";
|
|
873
|
-
let
|
|
906
|
+
let p, b = 99999999999, y;
|
|
874
907
|
const F = new Date(Date.now());
|
|
875
|
-
return
|
|
876
|
-
const
|
|
877
|
-
|
|
878
|
-
}),
|
|
879
|
-
},
|
|
880
|
-
if (
|
|
881
|
-
let
|
|
882
|
-
|
|
908
|
+
return n.forEach((G, O) => {
|
|
909
|
+
const Ke = new Date(G.schedules[0].startTime), oe = new Date(G.schedules[0].endTime);
|
|
910
|
+
we(new Date(oe), new Date(F)) < b && (b = we(new Date(oe), new Date(F)), y = O), dt(new Date(F), new Date(Ke)) && gt(new Date(F), new Date(oe)) && (p = n[y].name);
|
|
911
|
+
}), p;
|
|
912
|
+
}, He = (n) => {
|
|
913
|
+
if (_ = localStorage.getItem("searchedGamesWds_casino"), _ ? _ = _.split(",") : _ = [], _.indexOf(n) === -1) {
|
|
914
|
+
let p;
|
|
915
|
+
_.unshift(n), p = _.join(","), localStorage.setItem("searchedGamesWds_casino", p);
|
|
883
916
|
}
|
|
884
|
-
},
|
|
885
|
-
t(14,
|
|
886
|
-
},
|
|
887
|
-
t(14,
|
|
888
|
-
},
|
|
917
|
+
}, Q = () => {
|
|
918
|
+
t(14, P = ""), t(16, $ = !0), t(18, E = !1), t(13, C = []), t(17, D = !1), de(D);
|
|
919
|
+
}, he = () => {
|
|
920
|
+
t(14, P = ""), Y.focus();
|
|
921
|
+
}, de = (n) => {
|
|
889
922
|
window.postMessage(
|
|
890
923
|
{
|
|
891
|
-
type:
|
|
892
|
-
searchStatus:
|
|
924
|
+
type: n === !0 ? "searchActive" : "searchCancelled",
|
|
925
|
+
searchStatus: n
|
|
893
926
|
},
|
|
894
927
|
window.location.href
|
|
895
|
-
)
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
928
|
+
), V({
|
|
929
|
+
type: n ? "SearchOpen" : "SearchClose"
|
|
930
|
+
});
|
|
931
|
+
};
|
|
932
|
+
function V(n) {
|
|
933
|
+
try {
|
|
934
|
+
const p = { channel: B, ...n };
|
|
935
|
+
window.postMessage(p, window.location.href);
|
|
936
|
+
} catch {
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
const qe = () => {
|
|
940
|
+
mt(c);
|
|
941
|
+
}, ge = async () => {
|
|
942
|
+
if (P.length >= 2) {
|
|
943
|
+
const n = new URL(`${o}/v1/casino/games`);
|
|
944
|
+
n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", se(A)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${P}`), Me(n).then((p) => {
|
|
945
|
+
t(13, C = p.items.map((b) => (b.isFavorite = ue(b.id), b)));
|
|
946
|
+
try {
|
|
947
|
+
V({
|
|
948
|
+
type: "SearchResults",
|
|
949
|
+
count: C.length
|
|
950
|
+
});
|
|
951
|
+
} catch {
|
|
952
|
+
}
|
|
903
953
|
});
|
|
904
954
|
} else
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
window.removeEventListener("message",
|
|
955
|
+
$ || ne();
|
|
956
|
+
}, We = ft(ge, 500);
|
|
957
|
+
st(() => (window.addEventListener("message", ie, !1), () => {
|
|
958
|
+
window.removeEventListener("message", ie);
|
|
909
959
|
}));
|
|
910
|
-
function
|
|
911
|
-
|
|
960
|
+
function Ue() {
|
|
961
|
+
P = this.value, t(14, P);
|
|
912
962
|
}
|
|
913
|
-
function
|
|
914
|
-
|
|
915
|
-
|
|
963
|
+
function Ve(n) {
|
|
964
|
+
Se[n ? "unshift" : "push"](() => {
|
|
965
|
+
Y = n, t(15, Y);
|
|
916
966
|
});
|
|
917
967
|
}
|
|
918
|
-
const
|
|
919
|
-
function
|
|
920
|
-
|
|
921
|
-
|
|
968
|
+
const Je = () => he(), Ze = () => Q();
|
|
969
|
+
function Ye(n) {
|
|
970
|
+
Se[n ? "unshift" : "push"](() => {
|
|
971
|
+
M = n, t(12, M);
|
|
922
972
|
});
|
|
923
973
|
}
|
|
924
|
-
return a.$$set = (
|
|
925
|
-
"endpoint" in
|
|
974
|
+
return a.$$set = (n) => {
|
|
975
|
+
"endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(29, l = n.datasource), "session" in n && t(30, s = n.session), "userid" in n && t(31, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, m = n.mbsource), "clientstyling" in n && t(3, h = n.clientstyling), "clientstylingurl" in n && t(4, g = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, v = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, d = n.integratedgameframemobile), "showgamename" in n && t(7, S = n.showgamename), "gamepagemodalurl" in n && t(8, Z = n.gamepagemodalurl), "translationurl" in n && t(32, N = n.translationurl), "showfavorites" in n && t(9, x = n.showfavorites), "cancelbutton" in n && t(10, W = n.cancelbutton), "notfoundicon" in n && t(11, U = n.notfoundicon), "controlchannel" in n && t(33, B = n.controlchannel), "allowedorigins" in n && t(34, R = n.allowedorigins);
|
|
926
976
|
}, a.$$.update = () => {
|
|
927
977
|
a.$$.dirty[0] & /*lang*/
|
|
928
|
-
2 && c &&
|
|
929
|
-
2 &&
|
|
978
|
+
2 && c && qe(), a.$$.dirty[1] & /*translationurl*/
|
|
979
|
+
2 && N && ze(), a.$$.dirty[0] & /*session*/
|
|
930
980
|
1073741824 | a.$$.dirty[1] & /*userid*/
|
|
931
|
-
1 && s && i &&
|
|
981
|
+
1 && s && i && Be(), a.$$.dirty[0] & /*showfavorites*/
|
|
932
982
|
512 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
933
|
-
|
|
934
|
-
4104 && h &&
|
|
935
|
-
4112 && g &&
|
|
936
|
-
4100 && m &&
|
|
983
|
+
16 && x && ee && Ae(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
984
|
+
4104 && h && M && it(M, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
985
|
+
4112 && g && M && ct(M, g), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
986
|
+
4100 && m && M && ut(M, `${m}.Style`);
|
|
937
987
|
}, [
|
|
938
|
-
|
|
988
|
+
o,
|
|
939
989
|
c,
|
|
940
990
|
m,
|
|
941
991
|
h,
|
|
942
992
|
g,
|
|
943
|
-
|
|
993
|
+
v,
|
|
944
994
|
d,
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
995
|
+
S,
|
|
996
|
+
Z,
|
|
997
|
+
x,
|
|
948
998
|
W,
|
|
949
|
-
O,
|
|
950
|
-
D,
|
|
951
|
-
v,
|
|
952
|
-
R,
|
|
953
|
-
w,
|
|
954
|
-
T,
|
|
955
|
-
J,
|
|
956
|
-
z,
|
|
957
|
-
K,
|
|
958
|
-
Q,
|
|
959
|
-
n,
|
|
960
999
|
U,
|
|
1000
|
+
M,
|
|
1001
|
+
C,
|
|
1002
|
+
P,
|
|
1003
|
+
Y,
|
|
1004
|
+
$,
|
|
1005
|
+
D,
|
|
1006
|
+
E,
|
|
1007
|
+
te,
|
|
1008
|
+
ae,
|
|
1009
|
+
r,
|
|
1010
|
+
A,
|
|
961
1011
|
ne,
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
1012
|
+
De,
|
|
1013
|
+
Oe,
|
|
1014
|
+
Q,
|
|
1015
|
+
he,
|
|
1016
|
+
We,
|
|
967
1017
|
l,
|
|
968
1018
|
s,
|
|
969
1019
|
i,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
1020
|
+
N,
|
|
1021
|
+
B,
|
|
1022
|
+
R,
|
|
1023
|
+
ee,
|
|
1024
|
+
Ue,
|
|
1025
|
+
Ve,
|
|
1026
|
+
Je,
|
|
1027
|
+
Ze,
|
|
1028
|
+
Ye
|
|
977
1029
|
];
|
|
978
1030
|
}
|
|
979
|
-
class
|
|
1031
|
+
class kt extends $e {
|
|
980
1032
|
constructor(e) {
|
|
981
|
-
super(),
|
|
1033
|
+
super(), et(
|
|
982
1034
|
this,
|
|
983
1035
|
e,
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1036
|
+
yt,
|
|
1037
|
+
vt,
|
|
1038
|
+
tt,
|
|
987
1039
|
{
|
|
988
1040
|
endpoint: 0,
|
|
989
1041
|
datasource: 29,
|
|
@@ -1000,10 +1052,12 @@ class ft extends Oe {
|
|
|
1000
1052
|
translationurl: 32,
|
|
1001
1053
|
showfavorites: 9,
|
|
1002
1054
|
cancelbutton: 10,
|
|
1003
|
-
notfoundicon: 11
|
|
1055
|
+
notfoundicon: 11,
|
|
1056
|
+
controlchannel: 33,
|
|
1057
|
+
allowedorigins: 34
|
|
1004
1058
|
},
|
|
1005
|
-
|
|
1006
|
-
[-1, -1]
|
|
1059
|
+
pt,
|
|
1060
|
+
[-1, -1, -1]
|
|
1007
1061
|
);
|
|
1008
1062
|
}
|
|
1009
1063
|
get endpoint() {
|
|
@@ -1102,8 +1156,20 @@ class ft extends Oe {
|
|
|
1102
1156
|
set notfoundicon(e) {
|
|
1103
1157
|
this.$$set({ notfoundicon: e }), L();
|
|
1104
1158
|
}
|
|
1159
|
+
get controlchannel() {
|
|
1160
|
+
return this.$$.ctx[33];
|
|
1161
|
+
}
|
|
1162
|
+
set controlchannel(e) {
|
|
1163
|
+
this.$$set({ controlchannel: e }), L();
|
|
1164
|
+
}
|
|
1165
|
+
get allowedorigins() {
|
|
1166
|
+
return this.$$.ctx[34];
|
|
1167
|
+
}
|
|
1168
|
+
set allowedorigins(e) {
|
|
1169
|
+
this.$$set({ allowedorigins: e }), L();
|
|
1170
|
+
}
|
|
1105
1171
|
}
|
|
1106
|
-
|
|
1172
|
+
ht(kt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {} }, [], [], !0);
|
|
1107
1173
|
export {
|
|
1108
|
-
|
|
1174
|
+
kt as default
|
|
1109
1175
|
};
|