@everymatrix/casino-page 1.56.0 → 1.56.3
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-DwKH1vl3.js → CasinoCalendar-Beb-D9v5.js} +1182 -1157
- package/components/{CasinoCalendar-tMtCN0uW.js → CasinoCalendar-qVpbXj-D.js} +931 -906
- package/components/CasinoCalendar-zkVoyaEl.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-B1yNq5WP.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BP_ANGdX.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CehhK4Vt.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DE7Q_O2x.js → CasinoCalendarDailyItem-BLMalLZx.js} +41 -41
- package/components/{CasinoCalendarDailyItem-C08Z_td-.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Cf-elj80.js → CasinoCalendarDailyItem-DlHg6exr.js} +41 -41
- package/components/{CasinoCollectionsProviders-Yt2ApEP5.js → CasinoCollectionsProviders-BU9Vdk7f.js} +257 -267
- package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DoRepmON.js → CasinoCollectionsProviders-KxO7bWw9.js} +260 -270
- package/components/{CasinoFavoritesSection-M3wz4Hsn.js → CasinoFavoritesSection-BLcFCYkL.js} +30 -30
- package/components/{CasinoFavoritesSection-eK-e7FeC.cjs → CasinoFavoritesSection-Bt1qroiI.cjs} +1 -1
- package/components/{CasinoFavoritesSection-UtUw8bHl.js → CasinoFavoritesSection-DfWNsUcD.js} +30 -30
- package/components/{CasinoFilter-Cb7FySTm.js → CasinoFilter-5P8W2ayY.js} +236 -233
- package/components/CasinoFilter-BLgXtVi-.cjs +1 -0
- package/components/{CasinoFilter-BbKgy4VX.js → CasinoFilter-EmKNpmwo.js} +247 -242
- package/components/{CasinoGameThumbnail-BokqjU_3.js → CasinoGameThumbnail-B-j-s0zl.js} +1288 -1337
- package/components/{CasinoGameThumbnail-BZ8OnqL9.js → CasinoGameThumbnail-DLV5eXt3.js} +1233 -1282
- package/components/CasinoGameThumbnail-kYpO7OYd.cjs +47 -0
- package/components/{CasinoGamesCategorySection-BtYQ_Cmz.cjs → CasinoGamesCategorySection-C7wNGeVf.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-mejOW_4O.js → CasinoGamesCategorySection-CGLL37Ll.js} +355 -348
- package/components/{CasinoGamesCategorySection-CeuGEQJP.js → CasinoGamesCategorySection-DxdFkiK0.js} +256 -249
- package/components/{CasinoJackpotBanner-BaqwOwIt.js → CasinoJackpotBanner-CJWjyexm.js} +81 -81
- package/components/{CasinoJackpotBanner-Dnu1YGvy.js → CasinoJackpotBanner-DquJdUya.js} +88 -88
- package/components/{CasinoJackpotBanner-DZZsX8IW.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BSbuszLI.js → CasinoLastPlayedSection-C1fXqsNf.js} +35 -35
- package/components/{CasinoLastPlayedSection-1vrPgQaO.cjs → CasinoLastPlayedSection-D3rQ6OIZ.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-D1gqQwzF.js → CasinoLastPlayedSection-Mwvag7Ds.js} +35 -35
- package/components/{CasinoMostPlayedSection-CgUwp5nt.js → CasinoMostPlayedSection-BjERkNCF.js} +46 -46
- package/components/{CasinoMostPlayedSection-DtSDqrXG.cjs → CasinoMostPlayedSection-CbOy3yAA.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-jWqnrmjv.js → CasinoMostPlayedSection-T3x41wRX.js} +46 -46
- package/components/{CasinoMyGames-BRGZxXY6.js → CasinoMyGames-5bW8Sgi5.js} +51 -47
- package/components/{CasinoMyGames-CPWV0sSu.cjs → CasinoMyGames-C_M_zFT2.cjs} +1 -1
- package/components/{CasinoMyGames-DrnKvqrj.js → CasinoMyGames-DCFnCBZ5.js} +53 -49
- package/components/{CasinoPage-CP0TDj2s.js → CasinoPage-AJMpJvaQ.js} +120 -116
- package/components/{CasinoPage-BxqUNSyB.cjs → CasinoPage-DMaRihI_.cjs} +1 -1
- package/components/{CasinoPage-oah0JVVU.js → CasinoPage-YB6CY7ON.js} +122 -118
- package/components/{CasinoRandomGame-D9BEuIS2.js → CasinoRandomGame-B9Eg9Cv4.js} +77 -75
- package/components/{CasinoRandomGame-B2FGgsW1.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
- package/components/{CasinoRandomGame-T1GVZYOt.js → CasinoRandomGame-DR6TctHg.js} +78 -76
- package/components/{CasinoSearch-BX1qMF6U.js → CasinoSearch-Bjfocy3y.js} +93 -90
- package/components/{CasinoSearch-Cfj0uLun.js → CasinoSearch-Bx4-nMU3.js} +91 -88
- package/components/{CasinoSearch-DvRie_tr.cjs → CasinoSearch-CpBhzpsK.cjs} +1 -1
- package/components/{CasinoSort-BmkqSaqQ.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
- package/components/{CasinoSort-DykEVPy1.js → CasinoSort-BygFei5r.js} +103 -103
- package/components/{CasinoSort-BwNRVsYT.js → CasinoSort-DvLkFtIz.js} +111 -109
- package/components/{CasinoWinners-Dn6mLcJT.js → CasinoWinners-BZEiqOuZ.js} +162 -160
- package/components/{CasinoWinners-4fX-Jkcx.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
- package/components/{CasinoWinners-DbNw8Ecj.js → CasinoWinners-tsFI0Qkd.js} +160 -158
- package/components/{GeneralAnimationLoading-D4L1aOk8.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
- package/components/{GeneralAnimationLoading-C3AulHDZ.js → GeneralAnimationLoading-Bfdh1dfh.js} +16 -16
- package/components/{GeneralAnimationLoading-CKfD84TR.js → GeneralAnimationLoading-g0jjajHE.js} +16 -16
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-BUWW4Xzj.cjs +0 -6
- package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +0 -1
- package/components/CasinoFilter-BYz1zKUs.cjs +0 -1
- package/components/CasinoGameThumbnail-10TTv4CH.cjs +0 -47
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as H,
|
|
1
|
+
import { $ as H, P as be, a as we, S as _e, i as Ge, f as v, c as Re, s as xe, b as ke, e as w, w as F, y as u, d as x, z as h, A as P, h as J, t as O, g as ve, j as k, k as Me, o as Ce, l as Fe, u as Le, B as Se, C as Te, D as We, n as je, R as Ne, q, r as ze, m as Be, J as Y, G as Ie, x as L, E as S, v as X, F as Je, H as Z, I as Pe, V as De, N as Ae } from "./CasinoCalendar-qVpbXj-D.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 K(a, e) {
|
|
8
8
|
we(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Oe(a) {
|
|
@@ -84,30 +84,30 @@ const Q = {
|
|
|
84
84
|
noGames: "There are no random games to play"
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
function
|
|
88
|
-
|
|
87
|
+
function Ee(a) {
|
|
88
|
+
ke(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();
|
|
92
92
|
return n[41] = e[t], n;
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const Ue = (a) => ({}), ee = (a) => ({});
|
|
95
95
|
function te(a) {
|
|
96
96
|
let e, t, n, l, s, c, f;
|
|
97
97
|
const p = (
|
|
98
98
|
/*#slots*/
|
|
99
99
|
a[23].close
|
|
100
|
-
), g =
|
|
100
|
+
), g = Le(
|
|
101
101
|
p,
|
|
102
102
|
a,
|
|
103
103
|
/*$$scope*/
|
|
104
104
|
a[22],
|
|
105
105
|
ee
|
|
106
|
-
), o = g ||
|
|
106
|
+
), o = g || Ve();
|
|
107
107
|
function _(r, b) {
|
|
108
108
|
return (
|
|
109
109
|
/*hasRandomGames*/
|
|
110
|
-
r[7] ? Ye :
|
|
110
|
+
r[7] ? Ye : qe
|
|
111
111
|
);
|
|
112
112
|
}
|
|
113
113
|
let m = _(a), d = m(a);
|
|
@@ -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
|
+
x(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 = P(
|
|
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) && Se(
|
|
129
129
|
g,
|
|
130
130
|
p,
|
|
131
131
|
r,
|
|
132
132
|
/*$$scope*/
|
|
133
133
|
r[22],
|
|
134
|
-
s ?
|
|
134
|
+
s ? We(
|
|
135
135
|
p,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
r[22],
|
|
138
138
|
b,
|
|
139
|
-
|
|
140
|
-
) :
|
|
139
|
+
Ue
|
|
140
|
+
) : Te(
|
|
141
141
|
/*$$scope*/
|
|
142
142
|
r[22]
|
|
143
143
|
),
|
|
@@ -151,44 +151,44 @@ function te(a) {
|
|
|
151
151
|
O(o, r), s = !1;
|
|
152
152
|
},
|
|
153
153
|
d(r) {
|
|
154
|
-
r &&
|
|
154
|
+
r && k(e), o && o.d(r), d.d(), c = !1, f();
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Ve(a) {
|
|
159
159
|
let e, t;
|
|
160
160
|
return {
|
|
161
161
|
c() {
|
|
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
|
+
x(n, e, l), h(e, t);
|
|
166
166
|
},
|
|
167
|
-
p:
|
|
167
|
+
p: Ie,
|
|
168
168
|
d(n) {
|
|
169
|
-
n &&
|
|
169
|
+
n && k(e);
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function qe(a) {
|
|
174
174
|
let e, t = (
|
|
175
175
|
/*$_*/
|
|
176
176
|
a[9]("noGames") + ""
|
|
177
177
|
), n;
|
|
178
178
|
return {
|
|
179
179
|
c() {
|
|
180
|
-
e = w("p"), n =
|
|
180
|
+
e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
|
|
181
181
|
},
|
|
182
182
|
m(l, s) {
|
|
183
|
-
|
|
183
|
+
x(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") + "") && S(n, t);
|
|
189
189
|
},
|
|
190
190
|
d(l) {
|
|
191
|
-
l &&
|
|
191
|
+
l && k(e);
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
@@ -202,7 +202,7 @@ function Ye(a) {
|
|
|
202
202
|
function f(o, _) {
|
|
203
203
|
return (
|
|
204
204
|
/*animationDone*/
|
|
205
|
-
o[6] ?
|
|
205
|
+
o[6] ? Ze : Xe
|
|
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
|
+
x(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);
|
|
@@ -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 && k(e), Je(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"), Z(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
|
+
x(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 && !Z(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,7 +264,7 @@ function ae(a) {
|
|
|
264
264
|
f[41].name) && u(t, "title", s);
|
|
265
265
|
},
|
|
266
266
|
d(f) {
|
|
267
|
-
f &&
|
|
267
|
+
f && k(e);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
@@ -275,22 +275,22 @@ function Xe(a) {
|
|
|
275
275
|
), n;
|
|
276
276
|
return {
|
|
277
277
|
c() {
|
|
278
|
-
e = w("p"), n =
|
|
278
|
+
e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
|
|
279
279
|
},
|
|
280
280
|
m(l, s) {
|
|
281
|
-
|
|
281
|
+
x(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") + "") && S(n, t);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && k(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ze(a) {
|
|
294
294
|
let e, t, n, l, s = (
|
|
295
295
|
/*randomGame*/
|
|
296
296
|
a[3].name + ""
|
|
@@ -304,10 +304,10 @@ function Ke(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 = L(s), f = F(), p = w("p"), o = L(g), _ = F(), m = w("button"), r = L(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
|
+
x(R, e, G), x(R, t, G), x(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
|
P(
|
|
312
312
|
e,
|
|
313
313
|
"click",
|
|
@@ -325,36 +325,36 @@ function Ke(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 + "") && S(c, s), G[0] & /*randomGame*/
|
|
329
329
|
8 && g !== (g = /*randomGame*/
|
|
330
|
-
R[3].vendor.name + "") &&
|
|
330
|
+
R[3].vendor.name + "") && S(o, g), G[0] & /*$_*/
|
|
331
331
|
512 && d !== (d = /*$_*/
|
|
332
|
-
R[9]("playNowRandomGame") + "") &&
|
|
332
|
+
R[9]("playNowRandomGame") + "") && S(r, d);
|
|
333
333
|
},
|
|
334
334
|
d(R) {
|
|
335
|
-
R && (
|
|
335
|
+
R && (k(e), k(t), k(n)), b = !1, Ae(T);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Ke(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 = L(t), u(e, "class", "RandomButtonText");
|
|
347
347
|
},
|
|
348
348
|
m(l, s) {
|
|
349
|
-
|
|
349
|
+
x(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") + "") && S(n, t);
|
|
355
355
|
},
|
|
356
356
|
d(l) {
|
|
357
|
-
l &&
|
|
357
|
+
l && k(e);
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
@@ -362,24 +362,24 @@ function Qe(a) {
|
|
|
362
362
|
let e, t;
|
|
363
363
|
return {
|
|
364
364
|
c() {
|
|
365
|
-
e = w("span"), t =
|
|
365
|
+
e = w("span"), t = L(
|
|
366
366
|
/*buttontext*/
|
|
367
367
|
a[1]
|
|
368
368
|
), u(e, "class", "RandomButtonText");
|
|
369
369
|
},
|
|
370
370
|
m(n, l) {
|
|
371
|
-
|
|
371
|
+
x(n, e, l), h(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(n, l) {
|
|
374
374
|
l[0] & /*buttontext*/
|
|
375
|
-
2 &&
|
|
375
|
+
2 && S(
|
|
376
376
|
t,
|
|
377
377
|
/*buttontext*/
|
|
378
378
|
n[1]
|
|
379
379
|
);
|
|
380
380
|
},
|
|
381
381
|
d(n) {
|
|
382
|
-
n &&
|
|
382
|
+
n && k(e);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
}
|
|
@@ -392,9 +392,11 @@ function $e(a) {
|
|
|
392
392
|
if (
|
|
393
393
|
/*buttontext*/
|
|
394
394
|
r[1]
|
|
395
|
-
)
|
|
395
|
+
)
|
|
396
|
+
return Qe;
|
|
396
397
|
if (!/*buttontext*/
|
|
397
|
-
r[1])
|
|
398
|
+
r[1])
|
|
399
|
+
return Ke;
|
|
398
400
|
}
|
|
399
401
|
let m = _(a), d = m && m(a);
|
|
400
402
|
return {
|
|
@@ -402,7 +404,7 @@ function $e(a) {
|
|
|
402
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");
|
|
403
405
|
},
|
|
404
406
|
m(r, b) {
|
|
405
|
-
|
|
407
|
+
x(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*/
|
|
406
408
|
a[0], a[28](e), f = !0, p || (g = P(
|
|
407
409
|
l,
|
|
408
410
|
"click",
|
|
@@ -413,9 +415,9 @@ function $e(a) {
|
|
|
413
415
|
p(r, b) {
|
|
414
416
|
/*show*/
|
|
415
417
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
416
|
-
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 && (je(), O(o, 1, 1, () => {
|
|
417
419
|
o = null;
|
|
418
|
-
}),
|
|
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*/
|
|
419
421
|
1) && (c.innerHTML = /*randombuttonicon*/
|
|
420
422
|
r[0]);
|
|
421
423
|
},
|
|
@@ -426,30 +428,30 @@ function $e(a) {
|
|
|
426
428
|
O(o), f = !1;
|
|
427
429
|
},
|
|
428
430
|
d(r) {
|
|
429
|
-
r &&
|
|
431
|
+
r && k(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
|
|
430
432
|
}
|
|
431
433
|
};
|
|
432
434
|
}
|
|
433
435
|
function et(a, e, t) {
|
|
434
436
|
let n;
|
|
435
|
-
|
|
436
|
-
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, D = !1, B = !1, ne = window.navigator.userAgent, M, j,
|
|
437
|
+
Me(a, Pe, (i) => t(9, n = i));
|
|
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, D = !1, B = !1, ne = window.navigator.userAgent, M, j, E, I, U = null;
|
|
437
439
|
He({ withLocale: "en", translations: {} });
|
|
438
440
|
const oe = () => {
|
|
439
441
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
440
442
|
Object.keys(y).forEach((C) => {
|
|
441
|
-
|
|
443
|
+
K(C, y[C]);
|
|
442
444
|
});
|
|
443
445
|
}).catch((y) => {
|
|
444
446
|
console.log(y);
|
|
445
447
|
});
|
|
446
448
|
};
|
|
447
449
|
Object.keys(Q).forEach((i) => {
|
|
448
|
-
|
|
450
|
+
K(i, Q[i]);
|
|
449
451
|
});
|
|
450
452
|
const le = () => {
|
|
451
453
|
let i = new URL(`${c}/v1/casino/games`);
|
|
452
|
-
i.searchParams.append("platform",
|
|
454
|
+
i.searchParams.append("platform", Ne(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) => {
|
|
453
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));
|
|
454
456
|
}).catch((y) => {
|
|
455
457
|
console.log(y), t(7, B = !1);
|
|
@@ -458,10 +460,10 @@ function et(a, e, t) {
|
|
|
458
460
|
const y = se(i);
|
|
459
461
|
return y.concat(y);
|
|
460
462
|
}, re = async () => {
|
|
461
|
-
await
|
|
463
|
+
await De(), I = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[I]), E = j.children[I];
|
|
462
464
|
}, A = async () => {
|
|
463
465
|
t(6, D = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await re();
|
|
464
|
-
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (
|
|
466
|
+
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (E.offsetHeight + y) * I, he = [
|
|
465
467
|
{ transform: "translateX(0px)" },
|
|
466
468
|
{ filter: "blur(5px)" },
|
|
467
469
|
{
|
|
@@ -472,7 +474,7 @@ function et(a, e, t) {
|
|
|
472
474
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
473
475
|
fill: "forwards"
|
|
474
476
|
};
|
|
475
|
-
|
|
477
|
+
U = j.animate(he, ye), U.onfinish = () => {
|
|
476
478
|
t(6, D = !0);
|
|
477
479
|
};
|
|
478
480
|
}, se = (i) => {
|
|
@@ -481,7 +483,7 @@ function et(a, e, t) {
|
|
|
481
483
|
for (; C != 0; )
|
|
482
484
|
z = Math.floor(Math.random() * C), C--, [y[C], y[z]] = [y[z], y[C]];
|
|
483
485
|
return y;
|
|
484
|
-
},
|
|
486
|
+
}, V = () => {
|
|
485
487
|
window.postMessage(
|
|
486
488
|
{
|
|
487
489
|
type: p,
|
|
@@ -497,16 +499,16 @@ function et(a, e, t) {
|
|
|
497
499
|
}, de = () => {
|
|
498
500
|
Oe(g);
|
|
499
501
|
};
|
|
500
|
-
|
|
502
|
+
Ce(() => () => {
|
|
501
503
|
});
|
|
502
504
|
function ce(i) {
|
|
503
|
-
|
|
505
|
+
q[i ? "unshift" : "push"](() => {
|
|
504
506
|
j = i, t(8, j);
|
|
505
507
|
});
|
|
506
508
|
}
|
|
507
|
-
const ue = () => A(), ge = () =>
|
|
509
|
+
const ue = () => A(), ge = () => V(), fe = () => A();
|
|
508
510
|
function pe(i) {
|
|
509
|
-
|
|
511
|
+
q[i ? "unshift" : "push"](() => {
|
|
510
512
|
M = i, t(2, M);
|
|
511
513
|
});
|
|
512
514
|
}
|
|
@@ -517,9 +519,9 @@ function et(a, e, t) {
|
|
|
517
519
|
65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
|
|
518
520
|
131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
519
521
|
24576 && c && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
520
|
-
262148 && d && M &&
|
|
521
|
-
524292 && r && M &&
|
|
522
|
-
2097156 && M &&
|
|
522
|
+
262148 && d && M && ze(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
|
+
524292 && r && M && Fe(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
524
|
+
2097156 && M && Be(M, `${T}.Style`);
|
|
523
525
|
}, [
|
|
524
526
|
o,
|
|
525
527
|
_,
|
|
@@ -532,7 +534,7 @@ function et(a, e, t) {
|
|
|
532
534
|
j,
|
|
533
535
|
n,
|
|
534
536
|
A,
|
|
535
|
-
|
|
537
|
+
V,
|
|
536
538
|
me,
|
|
537
539
|
c,
|
|
538
540
|
f,
|
|
@@ -559,7 +561,7 @@ class tt extends _e {
|
|
|
559
561
|
e,
|
|
560
562
|
et,
|
|
561
563
|
$e,
|
|
562
|
-
|
|
564
|
+
xe,
|
|
563
565
|
{
|
|
564
566
|
endpoint: 13,
|
|
565
567
|
datasource: 14,
|
|
@@ -573,7 +575,7 @@ class tt extends _e {
|
|
|
573
575
|
filteredrandomgamecategories: 20,
|
|
574
576
|
mbsource: 21
|
|
575
577
|
},
|
|
576
|
-
|
|
578
|
+
Ee,
|
|
577
579
|
[-1, -1]
|
|
578
580
|
);
|
|
579
581
|
}
|
|
@@ -644,7 +646,7 @@ class tt extends _e {
|
|
|
644
646
|
this.$$set({ mbsource: e }), v();
|
|
645
647
|
}
|
|
646
648
|
}
|
|
647
|
-
|
|
649
|
+
Re(tt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
648
650
|
export {
|
|
649
651
|
tt as default
|
|
650
652
|
};
|