@everymatrix/casino-lobby 1.94.20 → 1.94.21
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-wema5m1L.js → CasinoCalendar-BSSrHXNQ.js} +35 -35
- package/components/{CasinoCalendar-DiGa7WOB.js → CasinoCalendar-BjySUHyZ.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-DaL1s4RB.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +21 -21
- package/components/{CasinoCalendarDailyDetails-B78-hZrg.js → CasinoCalendarDailyDetails-DhX-usiB.js} +34 -34
- package/components/{CasinoCalendarDailyItem-CKLi-qk3.js → CasinoCalendarDailyItem-CA5M4JX2.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BsriuRI8.js → CasinoCalendarDailyItem-CMjiC6kY.js} +36 -36
- package/components/{CasinoCategoriesSlider-Iuvnu1yi.js → CasinoCategoriesSlider-DEc0M4Jn.js} +19 -19
- package/components/{CasinoCategoriesSlider-BAEkLZ0a.js → CasinoCategoriesSlider-DmIIvJxr.js} +19 -19
- package/components/{CasinoCollectionsProviders-06lJHA-8.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +76 -76
- package/components/{CasinoCollectionsProviders-b1UyeEfY.js → CasinoCollectionsProviders-CmZnRhGO.js} +65 -65
- package/components/{CasinoFavoritesSection-gL0wYg3v.js → CasinoFavoritesSection-B5IloH92.js} +34 -34
- package/components/{CasinoFavoritesSection-BfLobvVM.js → CasinoFavoritesSection-NizzPczK.js} +34 -34
- package/components/{CasinoFilter-BdBt4Qeo.js → CasinoFilter-C4hPyQNk.js} +80 -80
- package/components/{CasinoFilter-BUlBYglD.js → CasinoFilter-UrtcDtAa.js} +79 -79
- package/components/{CasinoGameThumbnail-C1HOULby.js → CasinoGameThumbnail-Cu4ldhfo.js} +41 -41
- package/components/{CasinoGameThumbnail-DQNWwhYO.js → CasinoGameThumbnail-DkOf6fv3.js} +41 -41
- package/components/{CasinoGamesCategorySection-DzL6ClvR.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
- package/components/{CasinoGamesCategorySection-BsJoa-RE.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
- package/components/{CasinoJackpotBanner-DK02E4Sv.js → CasinoJackpotBanner-Czp2f53o.js} +79 -79
- package/components/{CasinoJackpotBanner-B9qX5ktZ.js → CasinoJackpotBanner-g0vrCtzB.js} +90 -90
- package/components/{CasinoLastPlayedSection-Bxhbdeg0.js → CasinoLastPlayedSection-BeXbhcJS.js} +41 -41
- package/components/{CasinoLastPlayedSection-CN4xtkfy.js → CasinoLastPlayedSection-DIOQytk1.js} +41 -41
- package/components/{CasinoLobby-CDOhHuQr.js → CasinoLobby-CmAf2BJ4.js} +59 -59
- package/components/{CasinoLobby-BQYyPma8.js → CasinoLobby-DlkT0ycq.js} +59 -59
- package/components/{CasinoMostPlayedSection-BuDxxWXc.js → CasinoMostPlayedSection-BdNavRAR.js} +41 -41
- package/components/{CasinoMostPlayedSection-xRqqFbB7.js → CasinoMostPlayedSection-CsYfyBz6.js} +41 -41
- package/components/{CasinoMyGames-CWYRptxX.js → CasinoMyGames-DXHLKn-b.js} +25 -25
- package/components/{CasinoMyGames-BHLUBVSx.js → CasinoMyGames-DquSH-8S.js} +23 -23
- package/components/{CasinoPage-C4ZeYvz2.js → CasinoPage-6DlUJdNB.js} +292 -292
- package/components/{CasinoPage-CBj_iE-2.js → CasinoPage-BMNjtSeY.js} +10 -10
- package/components/{CasinoRandomGame-Dv6CwM7x.js → CasinoRandomGame-CZbhowv3.js} +80 -80
- package/components/{CasinoRandomGame-BukwpxIJ.js → CasinoRandomGame-CmSz_YAA.js} +80 -80
- package/components/{CasinoSearch-D6tEGZOG.js → CasinoSearch-DaPqNPP0.js} +46 -46
- package/components/{CasinoSearch--OaOk05f.js → CasinoSearch-YX2fRFUd.js} +46 -46
- package/components/{CasinoSlider-CCcpCTws.js → CasinoSlider-BtDxtbI7.js} +70 -70
- package/components/{CasinoSlider-CC8wtxbN.js → CasinoSlider-C2_jk1q5.js} +74 -74
- package/components/{CasinoSort-Bb1Gdwb6.js → CasinoSort-8w8Vz2RT.js} +58 -58
- package/components/{CasinoSort-DrC7Ps-6.js → CasinoSort-k10aVq_3.js} +36 -36
- package/components/{CasinoWinners-BuAQ_2Ui.js → CasinoWinners-CYwfUKUr.js} +106 -106
- package/components/{CasinoWinners-DqHxxM8I.js → CasinoWinners-Ck4zkyiP.js} +112 -112
- package/components/{GeneralAnimationLoading-DARF2mD5.js → GeneralAnimationLoading-CULwno4n.js} +9 -9
- package/components/{GeneralAnimationLoading-CsDYexjL.js → GeneralAnimationLoading-XCOgxsu9.js} +5 -5
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var re = (a, e, i) => new Promise((s, r) => {
|
|
|
14
14
|
}, c = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, l);
|
|
15
15
|
c((i = i.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
17
|
+
import { v as Ke, w as Dt, a as Ot, S as Nt, i as Tt, s as Rt, f as g, b as zt, d as w, x as J, y as Y, z as be, c as v, e as k, g as At, A as bt, B as Wt, o as qt, n as ee, k as z, l as t, m as C, C as G, u as Qi, h as Fe, j as Ve, D as ye, E as Ge, F as Ie, G as _e, H as Zi, I as Xi, J as Ut, K as Yt, L as xi, M as V, N as Ht, O as Jt, P as Vt, Q as Kt, R as Qt, T as Zt, U as Xt, p as xt, q as $t, r as ea, t as ia, $ as ta } from "./CasinoLobby-CmAf2BJ4.js";
|
|
18
18
|
import "../stencil/casino-play-random-game-BZvQcwmI.js";
|
|
19
19
|
import "../stencil/ui-skeleton-DgkQtSrH.js";
|
|
20
20
|
function aa({ withLocale: a, translations: e }) {
|
|
@@ -284,7 +284,7 @@ if (typeof window != "undefined") {
|
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
|
-
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-
|
|
287
|
+
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-C6V4Owht.js").then((e) => e.C).then(({ default: e }) => {
|
|
288
288
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
289
289
|
});
|
|
290
290
|
}
|
|
@@ -300,7 +300,7 @@ if (typeof window != "undefined") {
|
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
|
-
customElements.define = a(customElements.define), import("./CasinoRandomGame-
|
|
303
|
+
customElements.define = a(customElements.define), import("./CasinoRandomGame-CZbhowv3.js").then(({ default: e }) => {
|
|
304
304
|
!customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
|
|
305
305
|
});
|
|
306
306
|
}
|
|
@@ -316,7 +316,7 @@ if (typeof window != "undefined") {
|
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
|
-
customElements.define = a(customElements.define), import("./CasinoWinners-
|
|
319
|
+
customElements.define = a(customElements.define), import("./CasinoWinners-Ck4zkyiP.js").then((e) => e.C).then(({ default: e }) => {
|
|
320
320
|
!customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
|
|
321
321
|
});
|
|
322
322
|
}
|
|
@@ -332,7 +332,7 @@ if (typeof window != "undefined") {
|
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
|
-
customElements.define = a(customElements.define), import("./CasinoJackpotBanner-
|
|
335
|
+
customElements.define = a(customElements.define), import("./CasinoJackpotBanner-g0vrCtzB.js").then(({ default: e }) => {
|
|
336
336
|
!customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
|
|
337
337
|
});
|
|
338
338
|
}
|
|
@@ -348,7 +348,7 @@ if (typeof window != "undefined") {
|
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-
|
|
351
|
+
customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-Bk2Q_dKh.js").then(({ default: e }) => {
|
|
352
352
|
!customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
|
|
353
353
|
});
|
|
354
354
|
}
|
|
@@ -364,7 +364,7 @@ if (typeof window != "undefined") {
|
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
|
-
customElements.define = a(customElements.define), import("./CasinoMyGames-
|
|
367
|
+
customElements.define = a(customElements.define), import("./CasinoMyGames-DXHLKn-b.js").then(({ default: e }) => {
|
|
368
368
|
!customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
|
|
369
369
|
});
|
|
370
370
|
}
|
|
@@ -380,7 +380,7 @@ if (typeof window != "undefined") {
|
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
382
|
};
|
|
383
|
-
customElements.define = a(customElements.define), import("./CasinoSearch
|
|
383
|
+
customElements.define = a(customElements.define), import("./CasinoSearch-YX2fRFUd.js").then(({ default: e }) => {
|
|
384
384
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
385
385
|
});
|
|
386
386
|
}
|
|
@@ -396,7 +396,7 @@ if (typeof window != "undefined") {
|
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
customElements.define = a(customElements.define), import("./CasinoCalendar-
|
|
399
|
+
customElements.define = a(customElements.define), import("./CasinoCalendar-BSSrHXNQ.js").then(({ default: e }) => {
|
|
400
400
|
!customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
|
|
401
401
|
});
|
|
402
402
|
}
|
|
@@ -412,7 +412,7 @@ if (typeof window != "undefined") {
|
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
};
|
|
415
|
-
customElements.define = a(customElements.define), import("./CasinoFilter-
|
|
415
|
+
customElements.define = a(customElements.define), import("./CasinoFilter-C4hPyQNk.js").then(({ default: e }) => {
|
|
416
416
|
!customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
|
|
417
417
|
});
|
|
418
418
|
}
|
|
@@ -5,22 +5,22 @@ var H = (a, e, t) => new Promise((n, l) => {
|
|
|
5
5
|
} catch (f) {
|
|
6
6
|
l(f);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, c = (g) => {
|
|
9
9
|
try {
|
|
10
10
|
p(t.throw(g));
|
|
11
11
|
} catch (f) {
|
|
12
12
|
l(f);
|
|
13
13
|
}
|
|
14
|
-
}, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r,
|
|
14
|
+
}, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, c);
|
|
15
15
|
p((t = t.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
17
|
+
import { v as E, w as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, x as O, y as P, G as Me, z as Fe, c as k, m as h, M as J, e as w, C, k as u, g as Ce, o as Le, O as Se, P as We, Q as Te, R as je, h as Ne, j as V, E as L, F as S, u as Be, I as Z, Z as ze, n as Ie, a0 as K, Y as Q, K as Pe, p as Je, q as Ae, r as De, t as He, $ as Ee } from "./CasinoLobby-CmAf2BJ4.js";
|
|
18
18
|
function Oe({ withLocale: a, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
20
|
t == null && (_e.set(e), E.set(a));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function X(a, e) {
|
|
24
24
|
Ge(a, e);
|
|
25
25
|
}
|
|
26
26
|
function Ue(a) {
|
|
@@ -100,16 +100,16 @@ const $ = {
|
|
|
100
100
|
noGames: "There are no random games to play"
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
-
function
|
|
103
|
+
function Ye(a) {
|
|
104
104
|
ve(a, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
105
105
|
}
|
|
106
106
|
function ee(a, e, t) {
|
|
107
107
|
const n = a.slice();
|
|
108
108
|
return n[41] = e[t], n;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const qe = (a) => ({}), te = (a) => ({});
|
|
111
111
|
function ae(a) {
|
|
112
|
-
let e, t, n, l, r,
|
|
112
|
+
let e, t, n, l, r, c, p;
|
|
113
113
|
const g = (
|
|
114
114
|
/*#slots*/
|
|
115
115
|
a[23].close
|
|
@@ -119,25 +119,25 @@ function ae(a) {
|
|
|
119
119
|
/*$$scope*/
|
|
120
120
|
a[22],
|
|
121
121
|
te
|
|
122
|
-
), o = f ||
|
|
122
|
+
), o = f || Ve();
|
|
123
123
|
function _(s, b) {
|
|
124
124
|
return (
|
|
125
125
|
/*hasRandomGames*/
|
|
126
|
-
s[7] ?
|
|
126
|
+
s[7] ? Ke : Ze
|
|
127
127
|
);
|
|
128
128
|
}
|
|
129
|
-
let m = _(a),
|
|
129
|
+
let m = _(a), d = m(a);
|
|
130
130
|
return {
|
|
131
131
|
c() {
|
|
132
|
-
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l =
|
|
132
|
+
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
133
133
|
},
|
|
134
134
|
m(s, b) {
|
|
135
|
-
k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l),
|
|
135
|
+
k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), r = !0, c || (p = J(
|
|
136
136
|
n,
|
|
137
137
|
"click",
|
|
138
138
|
/*closeModal*/
|
|
139
139
|
a[12]
|
|
140
|
-
),
|
|
140
|
+
), c = !0);
|
|
141
141
|
},
|
|
142
142
|
p(s, b) {
|
|
143
143
|
f && f.p && (!r || b[0] & /*$$scope*/
|
|
@@ -152,13 +152,13 @@ function ae(a) {
|
|
|
152
152
|
/*$$scope*/
|
|
153
153
|
s[22],
|
|
154
154
|
b,
|
|
155
|
-
|
|
155
|
+
qe
|
|
156
156
|
) : Te(
|
|
157
157
|
/*$$scope*/
|
|
158
158
|
s[22]
|
|
159
159
|
),
|
|
160
160
|
te
|
|
161
|
-
), m === (m = _(s)) &&
|
|
161
|
+
), m === (m = _(s)) && d ? d.p(s, b) : (d.d(1), d = m(s), d && (d.c(), d.m(t, null)));
|
|
162
162
|
},
|
|
163
163
|
i(s) {
|
|
164
164
|
r || (P(o, s), r = !0);
|
|
@@ -167,15 +167,15 @@ function ae(a) {
|
|
|
167
167
|
O(o, s), r = !1;
|
|
168
168
|
},
|
|
169
169
|
d(s) {
|
|
170
|
-
s && x(e), o && o.d(s),
|
|
170
|
+
s && x(e), o && o.d(s), d.d(), c = !1, p();
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ve(a) {
|
|
175
175
|
let e, t;
|
|
176
176
|
return {
|
|
177
177
|
c() {
|
|
178
|
-
e =
|
|
178
|
+
e = K("svg"), t = K("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
179
179
|
},
|
|
180
180
|
m(n, l) {
|
|
181
181
|
k(n, e, l), h(e, t);
|
|
@@ -201,38 +201,38 @@ function Ze(a) {
|
|
|
201
201
|
p(l, r) {
|
|
202
202
|
r[0] & /*$_*/
|
|
203
203
|
512 && t !== (t = /*$_*/
|
|
204
|
-
l[9]("noGames") + "") &&
|
|
204
|
+
l[9]("noGames") + "") && L(n, t);
|
|
205
205
|
},
|
|
206
206
|
d(l) {
|
|
207
207
|
l && x(e);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ke(a) {
|
|
212
212
|
let e, t, n, l, r = Z(
|
|
213
213
|
/*gamesToShow*/
|
|
214
214
|
a[4]
|
|
215
|
-
),
|
|
215
|
+
), c = [];
|
|
216
216
|
for (let o = 0; o < r.length; o += 1)
|
|
217
|
-
|
|
217
|
+
c[o] = ne(ee(a, r, o));
|
|
218
218
|
function p(o, _) {
|
|
219
219
|
return (
|
|
220
220
|
/*animationDone*/
|
|
221
|
-
o[6] ?
|
|
221
|
+
o[6] ? Xe : Qe
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
224
|
let g = p(a), f = g(a);
|
|
225
225
|
return {
|
|
226
226
|
c() {
|
|
227
227
|
e = w("div"), t = w("main"), n = w("div");
|
|
228
|
-
for (let o = 0; o <
|
|
229
|
-
|
|
230
|
-
l =
|
|
228
|
+
for (let o = 0; o < c.length; o += 1)
|
|
229
|
+
c[o].c();
|
|
230
|
+
l = C(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
231
231
|
},
|
|
232
232
|
m(o, _) {
|
|
233
233
|
k(o, e, _), h(e, t), h(t, n);
|
|
234
|
-
for (let m = 0; m <
|
|
235
|
-
|
|
234
|
+
for (let m = 0; m < c.length; m += 1)
|
|
235
|
+
c[m] && c[m].m(n, null);
|
|
236
236
|
a[24](n), h(e, l), f.m(e, null);
|
|
237
237
|
},
|
|
238
238
|
p(o, _) {
|
|
@@ -244,35 +244,35 @@ function Xe(a) {
|
|
|
244
244
|
);
|
|
245
245
|
let m;
|
|
246
246
|
for (m = 0; m < r.length; m += 1) {
|
|
247
|
-
const
|
|
248
|
-
|
|
247
|
+
const d = ee(o, r, m);
|
|
248
|
+
c[m] ? c[m].p(d, _) : (c[m] = ne(d), c[m].c(), c[m].m(n, null));
|
|
249
249
|
}
|
|
250
|
-
for (; m <
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
for (; m < c.length; m += 1)
|
|
251
|
+
c[m].d(1);
|
|
252
|
+
c.length = r.length;
|
|
253
253
|
}
|
|
254
254
|
g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
|
|
255
255
|
},
|
|
256
256
|
d(o) {
|
|
257
|
-
o && x(e), ze(
|
|
257
|
+
o && x(e), ze(c, o), a[24](null), f.d();
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
function ne(a) {
|
|
262
|
-
let e, t, n, l, r,
|
|
262
|
+
let e, t, n, l, r, c;
|
|
263
263
|
return {
|
|
264
264
|
c() {
|
|
265
|
-
e = w("div"), t = w("img"),
|
|
265
|
+
e = w("div"), t = w("img"), c = C(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
|
|
266
266
|
a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
|
|
267
267
|
a[41].name), u(t, "title", r = /*game*/
|
|
268
268
|
a[41].name), u(e, "class", "item");
|
|
269
269
|
},
|
|
270
270
|
m(p, g) {
|
|
271
|
-
k(p, e, g), h(e, t), h(e,
|
|
271
|
+
k(p, e, g), h(e, t), h(e, c);
|
|
272
272
|
},
|
|
273
273
|
p(p, g) {
|
|
274
274
|
g[0] & /*gamesToShow*/
|
|
275
|
-
16 && !
|
|
275
|
+
16 && !Q(t.src, n = /*game*/
|
|
276
276
|
p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
|
|
277
277
|
16 && l !== (l = /*game*/
|
|
278
278
|
p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
|
|
@@ -284,7 +284,7 @@ function ne(a) {
|
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Qe(a) {
|
|
288
288
|
let e, t = (
|
|
289
289
|
/*$_*/
|
|
290
290
|
a[9]("randomGameLoading") + ""
|
|
@@ -299,31 +299,31 @@ function Ke(a) {
|
|
|
299
299
|
p(l, r) {
|
|
300
300
|
r[0] & /*$_*/
|
|
301
301
|
512 && t !== (t = /*$_*/
|
|
302
|
-
l[9]("randomGameLoading") + "") &&
|
|
302
|
+
l[9]("randomGameLoading") + "") && L(n, t);
|
|
303
303
|
},
|
|
304
304
|
d(l) {
|
|
305
305
|
l && x(e);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Xe(a) {
|
|
310
310
|
let e, t, n, l, r = (
|
|
311
311
|
/*randomGame*/
|
|
312
312
|
a[3].name + ""
|
|
313
|
-
),
|
|
313
|
+
), c, p, g, f = (
|
|
314
314
|
/*randomGame*/
|
|
315
315
|
a[3].vendor.name + ""
|
|
316
|
-
), o, _, m,
|
|
316
|
+
), o, _, m, d = (
|
|
317
317
|
/*$_*/
|
|
318
318
|
a[9]("playNowRandomGame") + ""
|
|
319
319
|
), s, b, W;
|
|
320
320
|
return {
|
|
321
321
|
c() {
|
|
322
322
|
e = w("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
323
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t =
|
|
323
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"), c = S(r), p = C(), g = w("p"), o = S(f), _ = C(), m = w("button"), s = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
324
324
|
},
|
|
325
325
|
m(R, G) {
|
|
326
|
-
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l,
|
|
326
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, p), h(n, g), h(g, o), h(n, _), h(n, m), h(m, s), b || (W = [
|
|
327
327
|
J(
|
|
328
328
|
e,
|
|
329
329
|
"click",
|
|
@@ -341,11 +341,11 @@ function Qe(a) {
|
|
|
341
341
|
p(R, G) {
|
|
342
342
|
G[0] & /*randomGame*/
|
|
343
343
|
8 && r !== (r = /*randomGame*/
|
|
344
|
-
R[3].name + "") &&
|
|
344
|
+
R[3].name + "") && L(c, r), G[0] & /*randomGame*/
|
|
345
345
|
8 && f !== (f = /*randomGame*/
|
|
346
|
-
R[3].vendor.name + "") &&
|
|
347
|
-
512 &&
|
|
348
|
-
R[9]("playNowRandomGame") + "") &&
|
|
346
|
+
R[3].vendor.name + "") && L(o, f), G[0] & /*$_*/
|
|
347
|
+
512 && d !== (d = /*$_*/
|
|
348
|
+
R[9]("playNowRandomGame") + "") && L(s, d);
|
|
349
349
|
},
|
|
350
350
|
d(R) {
|
|
351
351
|
R && (x(e), x(t), x(n)), b = !1, Pe(W);
|
|
@@ -367,7 +367,7 @@ function $e(a) {
|
|
|
367
367
|
p(l, r) {
|
|
368
368
|
r[0] & /*$_*/
|
|
369
369
|
512 && t !== (t = /*$_*/
|
|
370
|
-
l[9]("playRandomGame") + "") &&
|
|
370
|
+
l[9]("playRandomGame") + "") && L(n, t);
|
|
371
371
|
},
|
|
372
372
|
d(l) {
|
|
373
373
|
l && x(e);
|
|
@@ -388,7 +388,7 @@ function et(a) {
|
|
|
388
388
|
},
|
|
389
389
|
p(n, l) {
|
|
390
390
|
l[0] & /*buttontext*/
|
|
391
|
-
2 &&
|
|
391
|
+
2 && L(
|
|
392
392
|
t,
|
|
393
393
|
/*buttontext*/
|
|
394
394
|
n[1]
|
|
@@ -400,7 +400,7 @@ function et(a) {
|
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
402
|
function tt(a) {
|
|
403
|
-
let e, t, n, l, r,
|
|
403
|
+
let e, t, n, l, r, c, p, g, f, o = (
|
|
404
404
|
/*show*/
|
|
405
405
|
a[5] && ae(a)
|
|
406
406
|
);
|
|
@@ -414,13 +414,13 @@ function tt(a) {
|
|
|
414
414
|
s[1])
|
|
415
415
|
return $e;
|
|
416
416
|
}
|
|
417
|
-
let m = _(a),
|
|
417
|
+
let m = _(a), d = m && m(a);
|
|
418
418
|
return {
|
|
419
419
|
c() {
|
|
420
|
-
e = w("div"), o && o.c(), t =
|
|
420
|
+
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"), d && d.c(), r = C(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
421
421
|
},
|
|
422
422
|
m(s, b) {
|
|
423
|
-
k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l),
|
|
423
|
+
k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, r), h(l, c), c.innerHTML = /*randombuttonicon*/
|
|
424
424
|
a[0], a[28](e), p = !0, g || (f = J(
|
|
425
425
|
l,
|
|
426
426
|
"click",
|
|
@@ -433,8 +433,8 @@ function tt(a) {
|
|
|
433
433
|
s[5] ? o ? (o.p(s, b), b[0] & /*show*/
|
|
434
434
|
32 && P(o, 1)) : (o = ae(s), o.c(), P(o, 1), o.m(e, t)) : o && (Me(), O(o, 1, 1, () => {
|
|
435
435
|
o = null;
|
|
436
|
-
}), Fe()), m === (m = _(s)) &&
|
|
437
|
-
1) && (
|
|
436
|
+
}), Fe()), m === (m = _(s)) && d ? d.p(s, b) : (d && d.d(1), d = m && m(s), d && (d.c(), d.m(l, r))), (!p || b[0] & /*randombuttonicon*/
|
|
437
|
+
1) && (c.innerHTML = /*randombuttonicon*/
|
|
438
438
|
s[0]);
|
|
439
439
|
},
|
|
440
440
|
i(s) {
|
|
@@ -444,36 +444,36 @@ function tt(a) {
|
|
|
444
444
|
O(o), p = !1;
|
|
445
445
|
},
|
|
446
446
|
d(s) {
|
|
447
|
-
s && x(e), o && o.d(),
|
|
447
|
+
s && x(e), o && o.d(), d && d.d(), a[28](null), g = !1, f();
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
451
|
function at(a, e, t) {
|
|
452
452
|
let n;
|
|
453
|
-
|
|
454
|
-
let { $$slots: l = {}, $$scope: r } = e, { endpoint:
|
|
453
|
+
Ce(a, Ee, (i) => t(9, n = i));
|
|
454
|
+
let { $$slots: l = {}, $$scope: r } = e, { endpoint: c = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", T, N = !1, A = !1, z = !1, oe = window.navigator.userAgent, M, j, U, I, le, Y = null;
|
|
455
455
|
Oe({ withLocale: "en", translations: {} });
|
|
456
456
|
const ie = () => {
|
|
457
457
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
458
458
|
Object.keys(y).forEach((F) => {
|
|
459
|
-
|
|
459
|
+
X(F, y[F]);
|
|
460
460
|
});
|
|
461
461
|
}).catch((y) => {
|
|
462
462
|
console.log(y);
|
|
463
463
|
});
|
|
464
464
|
};
|
|
465
465
|
Object.keys($).forEach((i) => {
|
|
466
|
-
|
|
466
|
+
X(i, $[i]);
|
|
467
467
|
});
|
|
468
468
|
const re = () => {
|
|
469
|
-
let i = new URL(`${
|
|
469
|
+
let i = new URL(`${c}/v1/casino/games`);
|
|
470
470
|
i.searchParams.append("platform", Ne(oe)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
|
|
471
471
|
R = y.items, R.length ? (t(4, T = se(R.slice(0, 19))), t(7, z = !0)) : (t(4, T = []), t(7, z = !1));
|
|
472
472
|
}).catch((y) => {
|
|
473
473
|
console.log(y), t(7, z = !1);
|
|
474
474
|
});
|
|
475
475
|
}, se = (i) => {
|
|
476
|
-
const y =
|
|
476
|
+
const y = ce(i);
|
|
477
477
|
return y.concat(y);
|
|
478
478
|
}, me = () => H(this, null, function* () {
|
|
479
479
|
yield Be(), I = Math.floor(Math.random() * (T.length / 2)) + T.length / 2, t(3, G = T[I]), U = j.children[I];
|
|
@@ -490,16 +490,16 @@ function at(a, e, t) {
|
|
|
490
490
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
491
491
|
fill: "forwards"
|
|
492
492
|
};
|
|
493
|
-
|
|
493
|
+
Y = j.animate(be, we), Y.onfinish = () => {
|
|
494
494
|
t(6, A = !0);
|
|
495
495
|
};
|
|
496
|
-
}),
|
|
496
|
+
}), ce = (i) => {
|
|
497
497
|
const y = structuredClone(i);
|
|
498
498
|
let F = y.length, B;
|
|
499
499
|
for (; F != 0; )
|
|
500
500
|
B = Math.floor(Math.random() * F), F--, [y[F], y[B]] = [y[B], y[F]];
|
|
501
501
|
return y;
|
|
502
|
-
},
|
|
502
|
+
}, q = () => {
|
|
503
503
|
window.postMessage(
|
|
504
504
|
{
|
|
505
505
|
type: g,
|
|
@@ -510,32 +510,32 @@ function at(a, e, t) {
|
|
|
510
510
|
context: "RandomGameWidget",
|
|
511
511
|
gameId: `${G.gId || G.id}`
|
|
512
512
|
});
|
|
513
|
-
},
|
|
513
|
+
}, de = () => {
|
|
514
514
|
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
515
515
|
}, ue = () => {
|
|
516
516
|
Ue(f);
|
|
517
517
|
};
|
|
518
|
-
|
|
518
|
+
Le(() => () => {
|
|
519
519
|
});
|
|
520
520
|
function ge(i) {
|
|
521
|
-
|
|
521
|
+
V[i ? "unshift" : "push"](() => {
|
|
522
522
|
j = i, t(8, j);
|
|
523
523
|
});
|
|
524
524
|
}
|
|
525
|
-
const fe = () => D(), pe = () =>
|
|
525
|
+
const fe = () => D(), pe = () => q(), he = () => D();
|
|
526
526
|
function ye(i) {
|
|
527
|
-
|
|
527
|
+
V[i ? "unshift" : "push"](() => {
|
|
528
528
|
M = i, t(2, M);
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
531
|
return a.$$set = (i) => {
|
|
532
|
-
"endpoint" in i && t(13,
|
|
532
|
+
"endpoint" in i && t(13, c = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, d = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
|
|
533
533
|
}, a.$$.update = () => {
|
|
534
534
|
a.$$.dirty[0] & /*lang*/
|
|
535
535
|
65536 && f && ue(), a.$$.dirty[0] & /*translationurl*/
|
|
536
536
|
131072 && m && ie(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
537
|
-
24576 &&
|
|
538
|
-
262148 &&
|
|
537
|
+
24576 && c && p && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
538
|
+
262148 && d && M && Je(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
539
539
|
524292 && s && M && Ae(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
540
540
|
2097156 && M && De(M, `${W}.Style`, le);
|
|
541
541
|
}, [
|
|
@@ -550,14 +550,14 @@ function at(a, e, t) {
|
|
|
550
550
|
j,
|
|
551
551
|
n,
|
|
552
552
|
D,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
553
|
+
q,
|
|
554
|
+
de,
|
|
555
|
+
c,
|
|
556
556
|
p,
|
|
557
557
|
g,
|
|
558
558
|
f,
|
|
559
559
|
m,
|
|
560
|
-
|
|
560
|
+
d,
|
|
561
561
|
s,
|
|
562
562
|
b,
|
|
563
563
|
W,
|
|
@@ -591,7 +591,7 @@ class nt extends Re {
|
|
|
591
591
|
filteredrandomgamecategories: 20,
|
|
592
592
|
mbsource: 21
|
|
593
593
|
},
|
|
594
|
-
|
|
594
|
+
Ye,
|
|
595
595
|
[-1, -1]
|
|
596
596
|
);
|
|
597
597
|
}
|