@everymatrix/casino-lobby 1.57.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-BU2gZgoA.js → CasinoCalendar-BWZKTjt3.js} +931 -953
- package/components/{CasinoCalendar-BYhP1252.js → CasinoCalendar-CEPKCmvL.js} +903 -925
- package/components/CasinoCalendar-YzaZrGBf.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-zomrPGwC.js → CasinoCalendarDailyDetails-BZxw5rrd.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-BvbgM2tY.js → CasinoCalendarDailyDetails-C4rdfT96.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DkbuLEg5.cjs → CasinoCalendarDailyDetails-CneP-8H4.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BCuBW8Ar.js → CasinoCalendarDailyItem-B3mEEjHA.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DO4dUNpH.js → CasinoCalendarDailyItem-DAH0pKrw.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DX_5vyqn.cjs → CasinoCalendarDailyItem-yxm1jout.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BOJ1THEs.js → CasinoCategoriesSlider-Dd33-jys.js} +65 -65
- package/components/CasinoCategoriesSlider-DozoHOzF.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BXOmh9s8.js → CasinoCategoriesSlider-t9Ea10Xr.js} +66 -66
- package/components/{CasinoCollectionsProviders-BFNXK0mZ.cjs → CasinoCollectionsProviders-CBiEhbus.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CRAmbMuu.js → CasinoCollectionsProviders-DAgGlzwM.js} +77 -77
- package/components/{CasinoCollectionsProviders-BX_dEzdy.js → CasinoCollectionsProviders-bmfbt1iI.js} +75 -75
- package/components/{CasinoFavoritesSection-DkMuV4ev.js → CasinoFavoritesSection-B9pa_5wC.js} +26 -26
- package/components/{CasinoFavoritesSection-BpiA2iBc.js → CasinoFavoritesSection-Dm0Ylorq.js} +26 -26
- package/components/{CasinoFavoritesSection-21RKmDna.cjs → CasinoFavoritesSection-n_i25VDL.cjs} +1 -1
- package/components/CasinoFilter-B7H_n_MD.cjs +1 -0
- package/components/{CasinoFilter-BtQon8od.js → CasinoFilter-BTP1X8zp.js} +246 -247
- package/components/{CasinoFilter-Du7IqNdv.js → CasinoFilter-BaCM2CFg.js} +235 -234
- package/components/{CasinoGamePage-D6WlJtbq.cjs → CasinoGamePage-CIvFWln2.cjs} +6 -6
- package/components/{CasinoGamePage-CAR8Lbbu.js → CasinoGamePage-DSk7OmI2.js} +1271 -1282
- package/components/{CasinoGamePage-SkHZ0J32.js → CasinoGamePage-jh3dkrf4.js} +914 -925
- package/components/{CasinoGameThumbnail-C5zpCoxS.js → CasinoGameThumbnail-BXCu7VY7.js} +353 -369
- package/components/{CasinoGameThumbnail-C8-30qgE.js → CasinoGameThumbnail-Mnpd_s_M.js} +281 -265
- package/components/{CasinoGameThumbnail-CX3_s0pB.cjs → CasinoGameThumbnail-uCJn0tBq.cjs} +7 -7
- package/components/{CasinoGamesCategorySection-CXHto_G8.cjs → CasinoGamesCategorySection-BBfNK7Mo.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-tBfZtEqo.js → CasinoGamesCategorySection-BU3JMFcx.js} +245 -245
- package/components/{CasinoGamesCategorySection-DGep1gpT.js → CasinoGamesCategorySection-dyyrntic.js} +245 -245
- package/components/{CasinoJackpotBanner-B6za0Zjf.js → CasinoJackpotBanner-7unbFH4I.js} +72 -72
- package/components/{CasinoJackpotBanner-DVU6U9lr.js → CasinoJackpotBanner-BvW5shKI.js} +79 -79
- package/components/{CasinoJackpotBanner-CRGjJl2y.cjs → CasinoJackpotBanner-RjyciaDJ.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-w-DOhWFY.js → CasinoLastPlayedSection--cJ8dS0F.js} +43 -43
- package/components/{CasinoLastPlayedSection-grLc4PdV.js → CasinoLastPlayedSection-BtSsd68j.js} +43 -43
- package/components/{CasinoLastPlayedSection-DuDTrTEV.cjs → CasinoLastPlayedSection-YmqYIIYS.cjs} +1 -1
- package/components/{CasinoLobby-C_dHD756.js → CasinoLobby--nSc5THC.js} +45 -45
- package/components/{CasinoLobby-7M5tWyyJ.cjs → CasinoLobby-BUcjKu4u.cjs} +1 -1
- package/components/{CasinoLobby-CJaplwul.js → CasinoLobby-DngFRvmY.js} +47 -47
- package/components/{CasinoModal-BEa4Ij-6.js → CasinoModal-88yfZulM.js} +41 -41
- package/components/{CasinoModal-35QTkTq-.cjs → CasinoModal-Ce5Pthg0.cjs} +1 -1
- package/components/{CasinoModal-CFbQNGPR.js → CasinoModal-D9_hs2c9.js} +41 -41
- package/components/{CasinoMostPlayedSection-CSKQtJpR.js → CasinoMostPlayedSection-BldCqqK1.js} +50 -50
- package/components/{CasinoMostPlayedSection-CXjNel4O.js → CasinoMostPlayedSection-CvX-e31F.js} +50 -50
- package/components/{CasinoMostPlayedSection-BlcQlzEc.cjs → CasinoMostPlayedSection-DI5TANog.cjs} +1 -1
- package/components/{CasinoMyGames-5jrRlRZ3.js → CasinoMyGames-CJm9ApZ8.js} +50 -50
- package/components/{CasinoMyGames-28VFQfos.js → CasinoMyGames-CNSxKFTG.js} +53 -53
- package/components/{CasinoMyGames-CPwnBj_e.cjs → CasinoMyGames-DQEE59aC.cjs} +1 -1
- package/components/{CasinoPage-BelcpcFg.js → CasinoPage-DeZ_xrWS.js} +91 -91
- package/components/{CasinoPage-Dx4ipUxr.js → CasinoPage-Renb8OYu.js} +91 -91
- package/components/{CasinoPage-CpV6CfKv.cjs → CasinoPage-_d_6nEdh.cjs} +1 -1
- package/components/{CasinoRandomGame-DcHbcmu8.js → CasinoRandomGame-8kMXdgrA.js} +64 -64
- package/components/{CasinoRandomGame-Njs6ODWp.js → CasinoRandomGame-CaLII6na.js} +63 -63
- package/components/{CasinoRandomGame-DnwNz2Jt.cjs → CasinoRandomGame-CjLDPmJh.cjs} +1 -1
- package/components/{CasinoSearch-Cv1lRhic.cjs → CasinoSearch-Cf4ivtxM.cjs} +1 -1
- package/components/{CasinoSearch-Biq528Xd.js → CasinoSearch-ISBqoS_l.js} +72 -72
- package/components/{CasinoSearch-BbORpTNK.js → CasinoSearch-eN8ZAKdn.js} +72 -72
- package/components/{CasinoSlider-BiIS2-lS.cjs → CasinoSlider-BqOuFEE1.cjs} +1 -1
- package/components/{CasinoSlider-BbRVIW35.js → CasinoSlider-DLY4ZBJR.js} +65 -65
- package/components/{CasinoSlider-BpVYjfEZ.js → CasinoSlider-DTLHID6G.js} +74 -74
- package/components/{CasinoSort-BIiSCydQ.js → CasinoSort-BNFUwAYT.js} +110 -111
- package/components/{CasinoSort-ClDrkZcs.cjs → CasinoSort-BpUmCYRy.cjs} +1 -1
- package/components/{CasinoSort-BCZs_7vq.js → CasinoSort-DKL_qMEQ.js} +104 -103
- package/components/{CasinoWinners-D9QEbcwQ.js → CasinoWinners-BoSyqMDy.js} +157 -157
- package/components/{CasinoWinners-fcmQdKZx.js → CasinoWinners-Czg0Gq3N.js} +148 -148
- package/components/{CasinoWinners-CNAN8Ko7.cjs → CasinoWinners-DRdsN9K_.cjs} +1 -1
- package/components/{GeneralAnimationLoading-dlh-TGCV.cjs → GeneralAnimationLoading-CVr2zyUi.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BEyM9jr_.js → GeneralAnimationLoading-DL8bFxE7.js} +16 -16
- package/components/{GeneralAnimationLoading-uTgCxIjZ.js → GeneralAnimationLoading-swHQRr7H.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
- package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
- package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
- package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
- package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
- package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
- package/components/CasinoCalendar-pDYRKcjG.cjs +0 -22
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +0 -1
- package/components/CasinoFilter-D06f7IqM.cjs +0 -1
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
- package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
- package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $ as H, U as be, a as we, S as _e, i as Ge,
|
|
1
|
+
import { $ as H, U as be, a as we, S as _e, i as Ge, s as Re, f as v, b as xe, d as x, t as O, c as J, g as ke, e as ve, h as k, p as h, A as D, j as w, B as F, r as u, k as Me, o as Ce, u as Fe, x as Le, y as Se, z as Te, N as We, C as V, n as je, E as Y, m as L, q as S, Q as Ne, v as K, w as ze, D as Q, R as Be, I as Ie, J as Je, K as De, L as Pe, M as Ae } from "./CasinoCalendar-BWZKTjt3.js";
|
|
2
2
|
function He({ withLocale: a, translations: e }) {
|
|
3
3
|
H.subscribe((t) => {
|
|
4
4
|
t == null && (be.set(e), H.set(a));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function X(a, e) {
|
|
8
8
|
we(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Oe(a) {
|
|
11
11
|
H.set(a);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Z = {
|
|
14
14
|
en: {
|
|
15
15
|
playRandomGame: "Play a random game",
|
|
16
16
|
randomGameLoading: "Selecting ...",
|
|
@@ -85,7 +85,7 @@ const Q = {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
function Ue(a) {
|
|
88
|
-
|
|
88
|
+
xe(a, "svelte-fd0a5p", "*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}");
|
|
89
89
|
}
|
|
90
90
|
function $(a, e, t) {
|
|
91
91
|
const n = a.slice();
|
|
@@ -97,7 +97,7 @@ function te(a) {
|
|
|
97
97
|
const p = (
|
|
98
98
|
/*#slots*/
|
|
99
99
|
a[23].close
|
|
100
|
-
), g =
|
|
100
|
+
), g = Fe(
|
|
101
101
|
p,
|
|
102
102
|
a,
|
|
103
103
|
/*$$scope*/
|
|
@@ -116,7 +116,7 @@ function te(a) {
|
|
|
116
116
|
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = F(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
117
117
|
},
|
|
118
118
|
m(r, b) {
|
|
119
|
-
|
|
119
|
+
k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = D(
|
|
120
120
|
n,
|
|
121
121
|
"click",
|
|
122
122
|
/*closeModal*/
|
|
@@ -125,19 +125,19 @@ function te(a) {
|
|
|
125
125
|
},
|
|
126
126
|
p(r, b) {
|
|
127
127
|
g && g.p && (!s || b[0] & /*$$scope*/
|
|
128
|
-
4194304) &&
|
|
128
|
+
4194304) && Le(
|
|
129
129
|
g,
|
|
130
130
|
p,
|
|
131
131
|
r,
|
|
132
132
|
/*$$scope*/
|
|
133
133
|
r[22],
|
|
134
|
-
s ?
|
|
134
|
+
s ? Te(
|
|
135
135
|
p,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
r[22],
|
|
138
138
|
b,
|
|
139
139
|
Ee
|
|
140
|
-
) :
|
|
140
|
+
) : Se(
|
|
141
141
|
/*$$scope*/
|
|
142
142
|
r[22]
|
|
143
143
|
),
|
|
@@ -151,7 +151,7 @@ function te(a) {
|
|
|
151
151
|
O(o, r), s = !1;
|
|
152
152
|
},
|
|
153
153
|
d(r) {
|
|
154
|
-
r &&
|
|
154
|
+
r && x(e), o && o.d(r), d.d(), c = !1, f();
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -162,11 +162,11 @@ function qe(a) {
|
|
|
162
162
|
e = Y("svg"), t = Y("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");
|
|
163
163
|
},
|
|
164
164
|
m(n, l) {
|
|
165
|
-
|
|
165
|
+
k(n, e, l), h(e, t);
|
|
166
166
|
},
|
|
167
|
-
p:
|
|
167
|
+
p: je,
|
|
168
168
|
d(n) {
|
|
169
|
-
n &&
|
|
169
|
+
n && x(e);
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
@@ -177,23 +177,23 @@ function Ve(a) {
|
|
|
177
177
|
), n;
|
|
178
178
|
return {
|
|
179
179
|
c() {
|
|
180
|
-
e = w("p"), n =
|
|
180
|
+
e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
181
181
|
},
|
|
182
182
|
m(l, s) {
|
|
183
|
-
|
|
183
|
+
k(l, e, s), h(e, n);
|
|
184
184
|
},
|
|
185
185
|
p(l, s) {
|
|
186
186
|
s[0] & /*$_*/
|
|
187
187
|
512 && t !== (t = /*$_*/
|
|
188
|
-
l[9]("noGames") + "") &&
|
|
188
|
+
l[9]("noGames") + "") && L(n, t);
|
|
189
189
|
},
|
|
190
190
|
d(l) {
|
|
191
|
-
l &&
|
|
191
|
+
l && x(e);
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
function Ye(a) {
|
|
196
|
-
let e, t, n, l, s =
|
|
196
|
+
let e, t, n, l, s = K(
|
|
197
197
|
/*gamesToShow*/
|
|
198
198
|
a[4]
|
|
199
199
|
), c = [];
|
|
@@ -202,7 +202,7 @@ function Ye(a) {
|
|
|
202
202
|
function f(o, _) {
|
|
203
203
|
return (
|
|
204
204
|
/*animationDone*/
|
|
205
|
-
o[6] ?
|
|
205
|
+
o[6] ? Qe : Ke
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
let p = f(a), g = p(a);
|
|
@@ -214,7 +214,7 @@ function Ye(a) {
|
|
|
214
214
|
l = F(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
215
215
|
},
|
|
216
216
|
m(o, _) {
|
|
217
|
-
|
|
217
|
+
k(o, e, _), h(e, t), h(t, n);
|
|
218
218
|
for (let m = 0; m < c.length; m += 1)
|
|
219
219
|
c[m] && c[m].m(n, null);
|
|
220
220
|
a[24](n), h(e, l), g.m(e, null);
|
|
@@ -222,7 +222,7 @@ function Ye(a) {
|
|
|
222
222
|
p(o, _) {
|
|
223
223
|
if (_[0] & /*gamesToShow*/
|
|
224
224
|
16) {
|
|
225
|
-
s =
|
|
225
|
+
s = K(
|
|
226
226
|
/*gamesToShow*/
|
|
227
227
|
o[4]
|
|
228
228
|
);
|
|
@@ -238,7 +238,7 @@ function Ye(a) {
|
|
|
238
238
|
p === (p = f(o)) && g ? g.p(o, _) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
|
|
239
239
|
},
|
|
240
240
|
d(o) {
|
|
241
|
-
o &&
|
|
241
|
+
o && x(e), ze(c, o), a[24](null), g.d();
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
}
|
|
@@ -246,17 +246,17 @@ function ae(a) {
|
|
|
246
246
|
let e, t, n, l, s, c;
|
|
247
247
|
return {
|
|
248
248
|
c() {
|
|
249
|
-
e = w("div"), t = w("img"), c = F(), u(t, "class", "RandomGameImage"),
|
|
249
|
+
e = w("div"), t = w("img"), c = F(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
|
|
250
250
|
a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
|
|
251
251
|
a[41].name), u(t, "title", s = /*game*/
|
|
252
252
|
a[41].name), u(e, "class", "item");
|
|
253
253
|
},
|
|
254
254
|
m(f, p) {
|
|
255
|
-
|
|
255
|
+
k(f, e, p), h(e, t), h(e, c);
|
|
256
256
|
},
|
|
257
257
|
p(f, p) {
|
|
258
258
|
p[0] & /*gamesToShow*/
|
|
259
|
-
16 && !
|
|
259
|
+
16 && !Q(t.src, n = /*game*/
|
|
260
260
|
f[41].thumbnail) && u(t, "src", n), p[0] & /*gamesToShow*/
|
|
261
261
|
16 && l !== (l = /*game*/
|
|
262
262
|
f[41].name) && u(t, "alt", l), p[0] & /*gamesToShow*/
|
|
@@ -264,33 +264,33 @@ function ae(a) {
|
|
|
264
264
|
f[41].name) && u(t, "title", s);
|
|
265
265
|
},
|
|
266
266
|
d(f) {
|
|
267
|
-
f &&
|
|
267
|
+
f && x(e);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Ke(a) {
|
|
272
272
|
let e, t = (
|
|
273
273
|
/*$_*/
|
|
274
274
|
a[9]("randomGameLoading") + ""
|
|
275
275
|
), n;
|
|
276
276
|
return {
|
|
277
277
|
c() {
|
|
278
|
-
e = w("p"), n =
|
|
278
|
+
e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
279
279
|
},
|
|
280
280
|
m(l, s) {
|
|
281
|
-
|
|
281
|
+
k(l, e, s), h(e, n);
|
|
282
282
|
},
|
|
283
283
|
p(l, s) {
|
|
284
284
|
s[0] & /*$_*/
|
|
285
285
|
512 && t !== (t = /*$_*/
|
|
286
|
-
l[9]("randomGameLoading") + "") &&
|
|
286
|
+
l[9]("randomGameLoading") + "") && L(n, t);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && x(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Qe(a) {
|
|
294
294
|
let e, t, n, l, s = (
|
|
295
295
|
/*randomGame*/
|
|
296
296
|
a[3].name + ""
|
|
@@ -304,10 +304,10 @@ function Ze(a) {
|
|
|
304
304
|
return {
|
|
305
305
|
c() {
|
|
306
306
|
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));}
|
|
307
|
-
</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 = F(), n = w("div"), l = w("p"), c =
|
|
307
|
+
</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 = F(), n = w("div"), l = w("p"), c = S(s), f = F(), p = w("p"), o = S(g), _ = F(), m = w("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
308
308
|
},
|
|
309
309
|
m(R, G) {
|
|
310
|
-
|
|
310
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (T = [
|
|
311
311
|
D(
|
|
312
312
|
e,
|
|
313
313
|
"click",
|
|
@@ -325,61 +325,61 @@ function Ze(a) {
|
|
|
325
325
|
p(R, G) {
|
|
326
326
|
G[0] & /*randomGame*/
|
|
327
327
|
8 && s !== (s = /*randomGame*/
|
|
328
|
-
R[3].name + "") &&
|
|
328
|
+
R[3].name + "") && L(c, s), G[0] & /*randomGame*/
|
|
329
329
|
8 && g !== (g = /*randomGame*/
|
|
330
|
-
R[3].vendor.name + "") &&
|
|
330
|
+
R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
|
|
331
331
|
512 && d !== (d = /*$_*/
|
|
332
|
-
R[9]("playNowRandomGame") + "") &&
|
|
332
|
+
R[9]("playNowRandomGame") + "") && L(r, d);
|
|
333
333
|
},
|
|
334
334
|
d(R) {
|
|
335
|
-
R && (
|
|
335
|
+
R && (x(e), x(t), x(n)), b = !1, Be(T);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Xe(a) {
|
|
340
340
|
let e, t = (
|
|
341
341
|
/*$_*/
|
|
342
342
|
a[9]("playRandomGame") + ""
|
|
343
343
|
), n;
|
|
344
344
|
return {
|
|
345
345
|
c() {
|
|
346
|
-
e = w("span"), n =
|
|
346
|
+
e = w("span"), n = S(t), u(e, "class", "RandomButtonText");
|
|
347
347
|
},
|
|
348
348
|
m(l, s) {
|
|
349
|
-
|
|
349
|
+
k(l, e, s), h(e, n);
|
|
350
350
|
},
|
|
351
351
|
p(l, s) {
|
|
352
352
|
s[0] & /*$_*/
|
|
353
353
|
512 && t !== (t = /*$_*/
|
|
354
|
-
l[9]("playRandomGame") + "") &&
|
|
354
|
+
l[9]("playRandomGame") + "") && L(n, t);
|
|
355
355
|
},
|
|
356
356
|
d(l) {
|
|
357
|
-
l &&
|
|
357
|
+
l && x(e);
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ze(a) {
|
|
362
362
|
let e, t;
|
|
363
363
|
return {
|
|
364
364
|
c() {
|
|
365
|
-
e = w("span"), t =
|
|
365
|
+
e = w("span"), t = S(
|
|
366
366
|
/*buttontext*/
|
|
367
367
|
a[1]
|
|
368
368
|
), u(e, "class", "RandomButtonText");
|
|
369
369
|
},
|
|
370
370
|
m(n, l) {
|
|
371
|
-
|
|
371
|
+
k(n, e, l), h(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(n, l) {
|
|
374
374
|
l[0] & /*buttontext*/
|
|
375
|
-
2 &&
|
|
375
|
+
2 && L(
|
|
376
376
|
t,
|
|
377
377
|
/*buttontext*/
|
|
378
378
|
n[1]
|
|
379
379
|
);
|
|
380
380
|
},
|
|
381
381
|
d(n) {
|
|
382
|
-
n &&
|
|
382
|
+
n && x(e);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
}
|
|
@@ -393,10 +393,10 @@ function $e(a) {
|
|
|
393
393
|
/*buttontext*/
|
|
394
394
|
r[1]
|
|
395
395
|
)
|
|
396
|
-
return
|
|
396
|
+
return Ze;
|
|
397
397
|
if (!/*buttontext*/
|
|
398
398
|
r[1])
|
|
399
|
-
return
|
|
399
|
+
return Xe;
|
|
400
400
|
}
|
|
401
401
|
let m = _(a), d = m && m(a);
|
|
402
402
|
return {
|
|
@@ -404,7 +404,7 @@ function $e(a) {
|
|
|
404
404
|
e = w("div"), o && o.c(), t = F(), n = w("div"), l = w("button"), d && d.c(), s = F(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
405
405
|
},
|
|
406
406
|
m(r, b) {
|
|
407
|
-
|
|
407
|
+
k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
|
|
408
408
|
a[0], a[28](e), f = !0, p || (g = D(
|
|
409
409
|
l,
|
|
410
410
|
"click",
|
|
@@ -415,7 +415,7 @@ function $e(a) {
|
|
|
415
415
|
p(r, b) {
|
|
416
416
|
/*show*/
|
|
417
417
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
418
|
-
32 && J(o, 1)) : (o = te(r), o.c(), J(o, 1), o.m(e, t)) : o && (
|
|
418
|
+
32 && J(o, 1)) : (o = te(r), o.c(), J(o, 1), o.m(e, t)) : o && (ke(), O(o, 1, 1, () => {
|
|
419
419
|
o = null;
|
|
420
420
|
}), ve()), m === (m = _(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
|
|
421
421
|
1) && (c.innerHTML = /*randombuttonicon*/
|
|
@@ -428,30 +428,30 @@ function $e(a) {
|
|
|
428
428
|
O(o), f = !1;
|
|
429
429
|
},
|
|
430
430
|
d(r) {
|
|
431
|
-
r &&
|
|
431
|
+
r && x(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
function et(a, e, t) {
|
|
436
436
|
let n;
|
|
437
|
-
Me(a,
|
|
437
|
+
Me(a, Ae, (i) => t(9, n = i));
|
|
438
438
|
let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: T } = e, R = [], G = "", W, N = !1, P = !1, B = !1, ne = window.navigator.userAgent, M, j, U, I, E = null;
|
|
439
439
|
He({ withLocale: "en", translations: {} });
|
|
440
440
|
const oe = () => {
|
|
441
441
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
442
442
|
Object.keys(y).forEach((C) => {
|
|
443
|
-
|
|
443
|
+
X(C, y[C]);
|
|
444
444
|
});
|
|
445
445
|
}).catch((y) => {
|
|
446
446
|
console.log(y);
|
|
447
447
|
});
|
|
448
448
|
};
|
|
449
|
-
Object.keys(
|
|
450
|
-
|
|
449
|
+
Object.keys(Z).forEach((i) => {
|
|
450
|
+
X(i, Z[i]);
|
|
451
451
|
});
|
|
452
452
|
const le = () => {
|
|
453
453
|
let i = new URL(`${c}/v1/casino/games`);
|
|
454
|
-
i.searchParams.append("platform",
|
|
454
|
+
i.searchParams.append("platform", We(ne)), i.searchParams.append("datasource", f), 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) => {
|
|
455
455
|
R = y.items, R.length ? (t(4, W = ie(R.slice(0, 19))), t(7, B = !0)) : (t(4, W = []), t(7, B = !1));
|
|
456
456
|
}).catch((y) => {
|
|
457
457
|
console.log(y), t(7, B = !1);
|
|
@@ -460,7 +460,7 @@ function et(a, e, t) {
|
|
|
460
460
|
const y = se(i);
|
|
461
461
|
return y.concat(y);
|
|
462
462
|
}, re = async () => {
|
|
463
|
-
await
|
|
463
|
+
await Ne(), I = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[I]), U = j.children[I];
|
|
464
464
|
}, A = async () => {
|
|
465
465
|
t(6, P = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await re();
|
|
466
466
|
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (U.offsetHeight + y) * I, he = [
|
|
@@ -519,9 +519,9 @@ function et(a, e, t) {
|
|
|
519
519
|
65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
|
|
520
520
|
131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
521
521
|
24576 && c && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
522
|
-
262148 && d && M &&
|
|
523
|
-
524292 && r && M &&
|
|
524
|
-
2097156 && M &&
|
|
522
|
+
262148 && d && M && Ie(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
|
+
524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
524
|
+
2097156 && M && De(M, `${T}.Style`);
|
|
525
525
|
}, [
|
|
526
526
|
o,
|
|
527
527
|
_,
|
|
@@ -561,7 +561,7 @@ class tt extends _e {
|
|
|
561
561
|
e,
|
|
562
562
|
et,
|
|
563
563
|
$e,
|
|
564
|
-
|
|
564
|
+
Re,
|
|
565
565
|
{
|
|
566
566
|
endpoint: 13,
|
|
567
567
|
datasource: 14,
|
|
@@ -646,7 +646,7 @@ class tt extends _e {
|
|
|
646
646
|
this.$$set({ mbsource: e }), v();
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
|
|
649
|
+
Pe(tt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
650
650
|
export {
|
|
651
651
|
tt as default
|
|
652
652
|
};
|