@everymatrix/casino-lobby 1.56.0 → 1.56.2
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-_T8fa3tA.js → CasinoCalendar-8h5qdaaJ.js} +1018 -956
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-D9zXfDS4.js} +988 -926
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-D0Kx4qhT.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-DFwCqTfY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-C62RswBp.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DTqfqF2k.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BhsSLM-H.js} +66 -66
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-CCCss88T.js} +65 -65
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js} +72 -70
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-B7jL1xWi.js} +70 -68
- package/components/{CasinoCollectionsProviders-fHbyEo_l.cjs → CasinoCollectionsProviders-DdI8afJV.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-8fm71dF4.js} +28 -28
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-C0iLu9Sw.js} +28 -28
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-DrmyxOK7.cjs} +1 -1
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-BTgsR3X2.js} +241 -238
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-m6_88uQv.js} +252 -247
- package/components/CasinoGamePage-CkvljoIb.js +4249 -0
- package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-DAv8OZV8.js} +1645 -1692
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-B4KIog_7.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-BMm5Xl4k.js} +374 -353
- package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-BSklauO4.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-DUDDLFW2.js} +255 -248
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-XWxil8vo.js} +334 -327
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-6WZPbIyJ.js} +79 -79
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-Bu16yaAe.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-BT4kxVP1.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-DFUMCS3n.js} +43 -43
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-cjUgoZnI.cjs} +1 -1
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-CRIb8E4f.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-Di0-vjQH.js} +45 -45
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-DrBFK5gG.js} +47 -47
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-Ce9u8B9n.js} +41 -41
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-DMOewty4.js} +41 -41
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js} +50 -50
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-0CUDyeW1.js} +53 -49
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-DQaVeSFh.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-DTWGCs0t.js} +54 -50
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-BFAkKTIr.js} +90 -86
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-CYfqznpn.js} +90 -86
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-Dn8IgsJW.cjs} +1 -1
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-CwNUHn-I.js} +66 -64
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-qSedkhdM.js} +66 -64
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-58Bbs2ly.js} +78 -75
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-Itb9Lu5Z.js} +78 -75
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BBo1-Yix.js} +65 -65
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BLhtuqXM.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-CBEUIj6Q.js} +105 -105
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-DDFUPoRE.js} +113 -111
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-C9LcOp1b.js} +155 -153
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-wjNHmiu9.js} +160 -158
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-D4V5ml6G.js} +16 -16
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-DXg7Sgve.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- 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-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-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- 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
package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as _e, $ as be, S as Ce, i as ye,
|
|
1
|
+
import { a as _e, $ as be, S as Ce, i as ye, f as L, c as we, s as Se, b as ke, e as b, d as j, G as z, j as x, k as Ge, o as Pe, l as Le, p as Me, q as J, r as je, m as xe, v as H, x as I, w as F, y as f, R as Fe, z as _, T as Te, E as R, F as oe, A as O, U as ze, L as N, I as He, H as A, V as Oe } from "./CasinoCalendar-8h5qdaaJ.js";
|
|
2
2
|
function X(t, e) {
|
|
3
3
|
_e(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Ae(t) {
|
|
6
6
|
be.set(t);
|
|
7
7
|
}
|
|
8
8
|
const Y = {
|
|
@@ -102,8 +102,8 @@ const Y = {
|
|
|
102
102
|
loading: "Loading, please wait ..."
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
function
|
|
106
|
-
|
|
105
|
+
function Be(t) {
|
|
106
|
+
ke(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function Q(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -127,7 +127,7 @@ function Ne(t) {
|
|
|
127
127
|
/*numberOfSlides*/
|
|
128
128
|
t[8] > /*numberOfVisibleSlides*/
|
|
129
129
|
t[9] && ee(t)
|
|
130
|
-
), g =
|
|
130
|
+
), g = H(
|
|
131
131
|
/*gameCategories*/
|
|
132
132
|
t[3]
|
|
133
133
|
), m = [];
|
|
@@ -135,10 +135,10 @@ function Ne(t) {
|
|
|
135
135
|
m[a] = le(Q(t, g, a));
|
|
136
136
|
return {
|
|
137
137
|
c() {
|
|
138
|
-
e = b("div"), i = b("div"), n = b("p"), r =
|
|
138
|
+
e = b("div"), i = b("div"), n = b("p"), r = I(l), d = F(), c && c.c(), C = F(), v = b("div");
|
|
139
139
|
for (let a = 0; a < m.length; a += 1)
|
|
140
140
|
m[a].c();
|
|
141
|
-
f(n, "class", "Title"), f(i, "class", "CategoriesHeader"), f(v, "class", "CategoriesSlider"),
|
|
141
|
+
f(n, "class", "Title"), f(i, "class", "CategoriesHeader"), f(v, "class", "CategoriesSlider"), Fe(() => (
|
|
142
142
|
/*div1_elementresize_handler*/
|
|
143
143
|
t[28].call(v)
|
|
144
144
|
)), f(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -146,10 +146,10 @@ function Ne(t) {
|
|
|
146
146
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
147
147
|
},
|
|
148
148
|
m(a, S) {
|
|
149
|
-
|
|
149
|
+
j(a, e, S), _(e, i), _(i, n), _(n, r), _(i, d), c && c.m(i, null), _(e, C), _(e, v);
|
|
150
150
|
for (let s = 0; s < m.length; s += 1)
|
|
151
151
|
m[s] && m[s].m(v, null);
|
|
152
|
-
t[27](v), w =
|
|
152
|
+
t[27](v), w = Te(
|
|
153
153
|
v,
|
|
154
154
|
/*div1_elementresize_handler*/
|
|
155
155
|
t[28].bind(v)
|
|
@@ -164,11 +164,11 @@ function Ne(t) {
|
|
|
164
164
|
) : (
|
|
165
165
|
/*$_*/
|
|
166
166
|
a[11]("collections")
|
|
167
|
-
)) + "") &&
|
|
167
|
+
)) + "") && R(r, l), /*numberOfSlides*/
|
|
168
168
|
a[8] > /*numberOfVisibleSlides*/
|
|
169
169
|
a[9] ? c ? c.p(a, S) : (c = ee(a), c.c(), c.m(i, null)) : c && (c.d(1), c = null), S[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
170
170
|
49166) {
|
|
171
|
-
g =
|
|
171
|
+
g = H(
|
|
172
172
|
/*gameCategories*/
|
|
173
173
|
a[3]
|
|
174
174
|
);
|
|
@@ -187,7 +187,7 @@ function Ne(t) {
|
|
|
187
187
|
(a[0] === "vendor" ? "Providers" : "Collections")) && f(e, "class", u);
|
|
188
188
|
},
|
|
189
189
|
d(a) {
|
|
190
|
-
a &&
|
|
190
|
+
a && x(e), c && c.d(), oe(m, a), t[27](null), w();
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
}
|
|
@@ -198,11 +198,11 @@ function Ie(t) {
|
|
|
198
198
|
e = b("div"), f(e, "class", "LoadingSpinner");
|
|
199
199
|
},
|
|
200
200
|
m(i, n) {
|
|
201
|
-
|
|
201
|
+
j(i, e, n);
|
|
202
202
|
},
|
|
203
203
|
p: z,
|
|
204
204
|
d(i) {
|
|
205
|
-
i &&
|
|
205
|
+
i && x(e);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
@@ -210,17 +210,17 @@ function ee(t) {
|
|
|
210
210
|
let e, i, n, l, r, d;
|
|
211
211
|
return {
|
|
212
212
|
c() {
|
|
213
|
-
e = b("div"), i = b("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n =
|
|
213
|
+
e = b("div"), i = b("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), l = b("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', f(e, "class", "ButtonsContainer");
|
|
214
214
|
},
|
|
215
215
|
m(C, v) {
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
j(C, e, v), _(e, i), _(e, n), _(e, l), r || (d = [
|
|
217
|
+
O(
|
|
218
218
|
i,
|
|
219
219
|
"click",
|
|
220
220
|
/*click_handler*/
|
|
221
221
|
t[23]
|
|
222
222
|
),
|
|
223
|
-
|
|
223
|
+
O(
|
|
224
224
|
l,
|
|
225
225
|
"click",
|
|
226
226
|
/*click_handler_1*/
|
|
@@ -230,7 +230,7 @@ function ee(t) {
|
|
|
230
230
|
},
|
|
231
231
|
p: z,
|
|
232
232
|
d(C) {
|
|
233
|
-
C &&
|
|
233
|
+
C && x(e), r = !1, ze(d);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
@@ -241,18 +241,18 @@ function Re(t) {
|
|
|
241
241
|
), n;
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
e = b("p"), n =
|
|
244
|
+
e = b("p"), n = I(i), f(e, "class", "CategorySlideTitle");
|
|
245
245
|
},
|
|
246
246
|
m(l, r) {
|
|
247
|
-
|
|
247
|
+
j(l, e, r), _(e, n);
|
|
248
248
|
},
|
|
249
249
|
p(l, r) {
|
|
250
250
|
r[0] & /*gameCategories*/
|
|
251
251
|
8 && i !== (i = /*category*/
|
|
252
|
-
l[41].name + "") &&
|
|
252
|
+
l[41].name + "") && R(n, i);
|
|
253
253
|
},
|
|
254
254
|
d(l) {
|
|
255
|
-
l &&
|
|
255
|
+
l && x(e);
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
@@ -260,22 +260,22 @@ function Ue(t) {
|
|
|
260
260
|
let e, i, n;
|
|
261
261
|
return {
|
|
262
262
|
c() {
|
|
263
|
-
e = b("img"), f(e, "class", "CategorySlideLogo"),
|
|
263
|
+
e = b("img"), f(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
|
|
264
264
|
t[41].icon) || f(e, "src", i), f(e, "alt", n = /*category*/
|
|
265
265
|
t[41].name + " icon");
|
|
266
266
|
},
|
|
267
267
|
m(l, r) {
|
|
268
|
-
|
|
268
|
+
j(l, e, r);
|
|
269
269
|
},
|
|
270
270
|
p(l, r) {
|
|
271
271
|
r[0] & /*gameCategories*/
|
|
272
|
-
8 && !
|
|
272
|
+
8 && !A(e.src, i = /*category*/
|
|
273
273
|
l[41].icon) && f(e, "src", i), r[0] & /*gameCategories*/
|
|
274
274
|
8 && n !== (n = /*category*/
|
|
275
275
|
l[41].name + " icon") && f(e, "alt", n);
|
|
276
276
|
},
|
|
277
277
|
d(l) {
|
|
278
|
-
l &&
|
|
278
|
+
l && x(e);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
}
|
|
@@ -286,21 +286,21 @@ function te(t) {
|
|
|
286
286
|
), n, l;
|
|
287
287
|
return {
|
|
288
288
|
c() {
|
|
289
|
-
e = b("p"), n =
|
|
289
|
+
e = b("p"), n = I(i), f(e, "title", l = /*game*/
|
|
290
290
|
t[44].name);
|
|
291
291
|
},
|
|
292
292
|
m(r, d) {
|
|
293
|
-
|
|
293
|
+
j(r, e, d), _(e, n);
|
|
294
294
|
},
|
|
295
295
|
p(r, d) {
|
|
296
296
|
d[0] & /*gameCategories*/
|
|
297
297
|
8 && i !== (i = /*game*/
|
|
298
|
-
r[44].name + "") &&
|
|
298
|
+
r[44].name + "") && R(n, i), d[0] & /*gameCategories*/
|
|
299
299
|
8 && l !== (l = /*game*/
|
|
300
300
|
r[44].name) && f(e, "title", l);
|
|
301
301
|
},
|
|
302
302
|
d(r) {
|
|
303
|
-
r &&
|
|
303
|
+
r && x(e);
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
306
|
}
|
|
@@ -321,23 +321,23 @@ function ie(t) {
|
|
|
321
321
|
);
|
|
322
322
|
return {
|
|
323
323
|
c() {
|
|
324
|
-
e = b("div"), i = b("img"), r =
|
|
324
|
+
e = b("div"), i = b("img"), r = F(), u && u.c(), d = F(), f(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
|
|
325
325
|
t[44].defaultThumbnail) || f(i, "src", n), f(i, "alt", l = /*game*/
|
|
326
326
|
t[44].name), f(e, "class", "CategorySlideGames");
|
|
327
327
|
},
|
|
328
328
|
m(c, g) {
|
|
329
|
-
|
|
329
|
+
j(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), C || (v = O(i, "click", Oe(w)), C = !0);
|
|
330
330
|
},
|
|
331
331
|
p(c, g) {
|
|
332
332
|
t = c, g[0] & /*gameCategories*/
|
|
333
|
-
8 && !
|
|
333
|
+
8 && !A(i.src, n = /*game*/
|
|
334
334
|
t[44].defaultThumbnail) && f(i, "src", n), g[0] & /*gameCategories*/
|
|
335
335
|
8 && l !== (l = /*game*/
|
|
336
336
|
t[44].name) && f(i, "alt", l), /*collectionprovidersgamenames*/
|
|
337
337
|
t[2] == "true" ? u ? u.p(t, g) : (u = te(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
|
|
338
338
|
},
|
|
339
339
|
d(c) {
|
|
340
|
-
c &&
|
|
340
|
+
c && x(e), u && u.d(), C = !1, v();
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
}
|
|
@@ -347,13 +347,15 @@ function le(t) {
|
|
|
347
347
|
if (
|
|
348
348
|
/*titletype*/
|
|
349
349
|
s[1] == "logo"
|
|
350
|
-
)
|
|
350
|
+
)
|
|
351
|
+
return Ue;
|
|
351
352
|
if (
|
|
352
353
|
/*titletype*/
|
|
353
354
|
s[1] == "title"
|
|
354
|
-
)
|
|
355
|
+
)
|
|
356
|
+
return Re;
|
|
355
357
|
}
|
|
356
|
-
let c = u(t), g = c && c(t), m =
|
|
358
|
+
let c = u(t), g = c && c(t), m = H(
|
|
357
359
|
/*category*/
|
|
358
360
|
t[41].games
|
|
359
361
|
), a = [];
|
|
@@ -370,23 +372,23 @@ function le(t) {
|
|
|
370
372
|
}
|
|
371
373
|
return {
|
|
372
374
|
c() {
|
|
373
|
-
e = b("div"), i = b("div"), n = b("div"), g && g.c(), l =
|
|
375
|
+
e = b("div"), i = b("div"), n = b("div"), g && g.c(), l = F(), r = b("div");
|
|
374
376
|
for (let s = 0; s < a.length; s += 1)
|
|
375
377
|
a[s].c();
|
|
376
|
-
C =
|
|
378
|
+
C = F(), f(n, "class", "CategorySlideTopContainer"), f(r, "class", "CategorySlideGameContainer"), f(i, "class", d = "CategorySlide " + /*category*/
|
|
377
379
|
(t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
|
|
378
380
|
t[41]?.background + ")"), N(i, "background-size", "cover"), f(e, "class", "CategoriesSliderWrapper Animation");
|
|
379
381
|
},
|
|
380
382
|
m(s, h) {
|
|
381
|
-
|
|
383
|
+
j(s, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, l), _(i, r);
|
|
382
384
|
for (let p = 0; p < a.length; p += 1)
|
|
383
385
|
a[p] && a[p].m(r, null);
|
|
384
|
-
_(e, C), v || (w =
|
|
386
|
+
_(e, C), v || (w = O(i, "click", S), v = !0);
|
|
385
387
|
},
|
|
386
388
|
p(s, h) {
|
|
387
389
|
if (t = s, c === (c = u(t)) && g ? g.p(t, h) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
388
390
|
16396) {
|
|
389
|
-
m =
|
|
391
|
+
m = H(
|
|
390
392
|
/*category*/
|
|
391
393
|
t[41].games
|
|
392
394
|
);
|
|
@@ -406,7 +408,7 @@ function le(t) {
|
|
|
406
408
|
t[41]?.background + ")");
|
|
407
409
|
},
|
|
408
410
|
d(s) {
|
|
409
|
-
s &&
|
|
411
|
+
s && x(e), g && g.d(), oe(a, s), v = !1, w();
|
|
410
412
|
}
|
|
411
413
|
};
|
|
412
414
|
}
|
|
@@ -424,7 +426,7 @@ function Ve(t) {
|
|
|
424
426
|
e = b("div"), l.c();
|
|
425
427
|
},
|
|
426
428
|
m(r, d) {
|
|
427
|
-
|
|
429
|
+
j(r, e, d), l.m(e, null), t[29](e);
|
|
428
430
|
},
|
|
429
431
|
p(r, d) {
|
|
430
432
|
n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
@@ -432,14 +434,14 @@ function Ve(t) {
|
|
|
432
434
|
i: z,
|
|
433
435
|
o: z,
|
|
434
436
|
d(r) {
|
|
435
|
-
r &&
|
|
437
|
+
r && x(e), l.d(), t[29](null);
|
|
436
438
|
}
|
|
437
439
|
};
|
|
438
440
|
}
|
|
439
441
|
function We(t, e, i) {
|
|
440
442
|
let n;
|
|
441
|
-
|
|
442
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], S = !0, s, h = 0, p = 0, G = 0, U,
|
|
443
|
+
Ge(t, He, (o) => i(11, n = o));
|
|
444
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], S = !0, s, h = 0, p = 0, G = 0, U, B, M, ne = window.navigator.userAgent, V, T = 0;
|
|
443
445
|
const re = () => {
|
|
444
446
|
fetch(c).then((y) => y.json()).then((y) => {
|
|
445
447
|
Object.keys(y).forEach((P) => {
|
|
@@ -467,16 +469,16 @@ function We(t, e, i) {
|
|
|
467
469
|
}))), i(8, p = a.length);
|
|
468
470
|
});
|
|
469
471
|
}, W = (o) => {
|
|
470
|
-
|
|
472
|
+
B = [...s.children], B.forEach((y, P) => {
|
|
471
473
|
y.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
472
|
-
}), U =
|
|
474
|
+
}), U = B[0].getBoundingClientRect().width, se();
|
|
473
475
|
}, se = () => {
|
|
474
|
-
i(9, G = Math.floor(
|
|
476
|
+
i(9, G = Math.floor(T / U));
|
|
475
477
|
}, q = () => {
|
|
476
478
|
W(h);
|
|
477
|
-
}, D = () => {
|
|
478
|
-
h === 0 ? h = p - G : h - G < -1 ? h = 0 : h--, q();
|
|
479
479
|
}, E = () => {
|
|
480
|
+
h === 0 ? h = p - G : h - G < -1 ? h = 0 : h--, q();
|
|
481
|
+
}, D = () => {
|
|
480
482
|
h === p - G ? h = 0 : p - G < h + 1 ? h = p - G : h++, q();
|
|
481
483
|
}, K = (o, y, P, k) => {
|
|
482
484
|
window.postMessage(
|
|
@@ -492,7 +494,7 @@ function We(t, e, i) {
|
|
|
492
494
|
context: "CollectionsProviders",
|
|
493
495
|
gameName: `${P}`
|
|
494
496
|
});
|
|
495
|
-
},
|
|
497
|
+
}, Z = (o) => {
|
|
496
498
|
window.postMessage(
|
|
497
499
|
{
|
|
498
500
|
type: "OpenCollectionsProvidersCategory",
|
|
@@ -501,21 +503,21 @@ function We(t, e, i) {
|
|
|
501
503
|
window.location.href
|
|
502
504
|
);
|
|
503
505
|
}, ce = () => {
|
|
504
|
-
|
|
506
|
+
Ae(d);
|
|
505
507
|
};
|
|
506
|
-
|
|
508
|
+
Pe(() => (i(10, V = Me(ne)), () => {
|
|
507
509
|
}));
|
|
508
|
-
const de = () =>
|
|
510
|
+
const de = () => E(), ge = () => D(), ue = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), me = (o) => Z(o.id);
|
|
509
511
|
function fe(o) {
|
|
510
|
-
|
|
512
|
+
J[o ? "unshift" : "push"](() => {
|
|
511
513
|
s = o, i(4, s);
|
|
512
514
|
});
|
|
513
515
|
}
|
|
514
516
|
function pe() {
|
|
515
|
-
|
|
517
|
+
T = this.clientWidth, i(6, T);
|
|
516
518
|
}
|
|
517
519
|
function he(o) {
|
|
518
|
-
|
|
520
|
+
J[o ? "unshift" : "push"](() => {
|
|
519
521
|
M = o, i(5, M);
|
|
520
522
|
});
|
|
521
523
|
}
|
|
@@ -524,11 +526,11 @@ function We(t, e, i) {
|
|
|
524
526
|
}, t.$$.update = () => {
|
|
525
527
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
526
528
|
458752 && l && r && d && ae(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
|
527
|
-
88 &&
|
|
529
|
+
88 && T && a && s && W(), t.$$.dirty[0] & /*lang*/
|
|
528
530
|
262144 && d && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
529
|
-
524320 && w && M &&
|
|
530
|
-
1048608 && u && M &&
|
|
531
|
-
4194336 && M &&
|
|
531
|
+
524320 && w && M && je(M, w), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
532
|
+
1048608 && u && M && Le(M, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
533
|
+
4194336 && M && xe(M, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
532
534
|
2097152 && c && re();
|
|
533
535
|
}, [
|
|
534
536
|
C,
|
|
@@ -537,16 +539,16 @@ function We(t, e, i) {
|
|
|
537
539
|
a,
|
|
538
540
|
s,
|
|
539
541
|
M,
|
|
540
|
-
|
|
542
|
+
T,
|
|
541
543
|
S,
|
|
542
544
|
p,
|
|
543
545
|
G,
|
|
544
546
|
V,
|
|
545
547
|
n,
|
|
546
|
-
D,
|
|
547
548
|
E,
|
|
549
|
+
D,
|
|
548
550
|
K,
|
|
549
|
-
|
|
551
|
+
Z,
|
|
550
552
|
l,
|
|
551
553
|
r,
|
|
552
554
|
d,
|
|
@@ -570,7 +572,7 @@ class qe extends Ce {
|
|
|
570
572
|
e,
|
|
571
573
|
We,
|
|
572
574
|
Ve,
|
|
573
|
-
|
|
575
|
+
Se,
|
|
574
576
|
{
|
|
575
577
|
endpoint: 16,
|
|
576
578
|
datasource: 17,
|
|
@@ -583,7 +585,7 @@ class qe extends Ce {
|
|
|
583
585
|
collectionprovidersgamenames: 2,
|
|
584
586
|
mbsource: 22
|
|
585
587
|
},
|
|
586
|
-
|
|
588
|
+
Be,
|
|
587
589
|
[-1, -1]
|
|
588
590
|
);
|
|
589
591
|
}
|
|
@@ -648,7 +650,7 @@ class qe extends Ce {
|
|
|
648
650
|
this.$$set({ mbsource: e }), L();
|
|
649
651
|
}
|
|
650
652
|
}
|
|
651
|
-
|
|
653
|
+
we(qe, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
652
654
|
export {
|
|
653
655
|
qe as default
|
|
654
656
|
};
|