@everymatrix/casino-lobby 1.55.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-BKvw2GLN.js → CasinoCalendar-8h5qdaaJ.js} +331 -269
- package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-D9zXfDS4.js} +416 -354
- package/components/{CasinoCalendar-P6bQ-mxN.cjs → CasinoCalendar-pDYRKcjG.cjs} +18 -5
- package/components/CasinoCalendarDailyDetails-D0Kx4qhT.js +693 -0
- package/components/CasinoCalendarDailyDetails-DFwCqTfY.js +693 -0
- package/components/CasinoCalendarDailyDetails-DkbuLEg5.cjs +1 -0
- package/components/CasinoCalendarDailyItem-C62RswBp.js +306 -0
- package/components/CasinoCalendarDailyItem-DTqfqF2k.js +306 -0
- package/components/CasinoCalendarDailyItem-DX_5vyqn.cjs +1 -0
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-BhsSLM-H.js} +51 -51
- package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-CCCss88T.js} +51 -51
- package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-8BCzbgO7.js} +35 -33
- package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-B7jL1xWi.js} +36 -34
- package/components/CasinoCollectionsProviders-DdI8afJV.cjs +1 -0
- package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-8fm71dF4.js} +35 -34
- package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-C0iLu9Sw.js} +35 -34
- package/components/CasinoFavoritesSection-DrmyxOK7.cjs +1 -0
- package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-BTgsR3X2.js} +63 -59
- package/components/{CasinoFilter-EA285UxQ.cjs → CasinoFilter-D06f7IqM.cjs} +1 -1
- package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-m6_88uQv.js} +65 -61
- package/components/CasinoGamePage-CkvljoIb.js +4249 -0
- package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
- package/components/CasinoGamePage-DAv8OZV8.js +4228 -0
- package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-B4KIog_7.js} +15 -10
- package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-BMm5Xl4k.js} +15 -10
- package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
- package/components/CasinoGamesCategorySection-BSklauO4.cjs +1 -0
- package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-DUDDLFW2.js} +556 -585
- package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-XWxil8vo.js} +1070 -1099
- package/components/CasinoJackpotBanner-6WZPbIyJ.js +692 -0
- package/components/CasinoJackpotBanner-Bu16yaAe.js +688 -0
- package/components/CasinoJackpotBanner-CRGjJl2y.cjs +1 -0
- package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-BT4kxVP1.js} +41 -41
- package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-DFUMCS3n.js} +41 -41
- package/components/CasinoLastPlayedSection-cjUgoZnI.cjs +1 -0
- package/components/CasinoLobby-CRIb8E4f.cjs +1 -0
- package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-Di0-vjQH.js} +327 -308
- package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DrBFK5gG.js} +323 -304
- package/components/CasinoModal-35QTkTq-.cjs +1 -0
- package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-Ce9u8B9n.js} +38 -38
- package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-DMOewty4.js} +38 -38
- package/components/CasinoMostPlayedSection-C1K-DGkZ.cjs +1 -0
- package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CXWjhKax.js} +174 -165
- package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-DAuM-1cc.js} +174 -165
- package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-0CUDyeW1.js} +332 -295
- package/components/CasinoMyGames-DQaVeSFh.cjs +1 -0
- package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-DTWGCs0t.js} +333 -296
- package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-BFAkKTIr.js} +562 -495
- package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-CYfqznpn.js} +694 -627
- package/components/CasinoPage-Dn8IgsJW.cjs +1 -0
- package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-CwNUHn-I.js} +26 -24
- package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +2 -2
- package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-qSedkhdM.js} +25 -23
- package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-58Bbs2ly.js} +52 -49
- package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
- package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-Itb9Lu5Z.js} +52 -49
- package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-BBo1-Yix.js} +107 -107
- package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-BLhtuqXM.js} +88 -88
- package/components/CasinoSlider-BiIS2-lS.cjs +1 -0
- package/components/{CasinoSort-CVwRicsk.js → CasinoSort-CBEUIj6Q.js} +7 -6
- package/components/CasinoSort-ClDrkZcs.cjs +1 -0
- package/components/{CasinoSort-D9KTb90Q.js → CasinoSort-DDFUPoRE.js} +7 -6
- package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-C9LcOp1b.js} +48 -46
- package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-wjNHmiu9.js} +51 -49
- package/components/GeneralAnimationLoading-D4V5ml6G.js +84 -0
- package/components/GeneralAnimationLoading-DXg7Sgve.js +84 -0
- package/components/GeneralAnimationLoading-dlh-TGCV.cjs +1 -0
- 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-B5g4-G4Z.js → casino-play-random-game-B9yaAMOE.js} +55 -30
- package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-BTXyM5es.js} +74 -49
- package/stencil/{casino-play-random-game-CQe5iDJ8.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-eac6b960-Dvyvd5zP.js → index-510a6ba4-CzpWs0jf.js} +185 -200
- package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
- package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
- package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
- package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
- package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
- package/components/CasinoGamePage-DnFlR6PD.js +0 -4296
- package/components/CasinoGamePage-lOejw_q6.js +0 -4275
- package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
- package/components/CasinoJackpotBanner-BdzgC-lW.js +0 -690
- package/components/CasinoJackpotBanner-Dx_3WwEw.js +0 -686
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
- package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
- package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
- package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
- package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
- package/components/CasinoPage-azRHPGyF.cjs +0 -1
- package/components/CasinoSlider-Zgasc58K.cjs +0 -1
- package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
- package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
- package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
- package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
- package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
- package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-8BCzbgO7.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
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,
|
|
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
|
-
ke(t, "svelte-
|
|
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 = [];
|
|
@@ -168,7 +168,7 @@ function Ne(t) {
|
|
|
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
|
);
|
|
@@ -214,13 +214,13 @@ function ee(t) {
|
|
|
214
214
|
},
|
|
215
215
|
m(C, v) {
|
|
216
216
|
j(C, e, v), _(e, i), _(e, n), _(e, l), r || (d = [
|
|
217
|
-
|
|
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*/
|
|
@@ -260,7 +260,7 @@ 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
|
},
|
|
@@ -269,7 +269,7 @@ function Ue(t) {
|
|
|
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);
|
|
@@ -321,16 +321,16 @@ function ie(t) {
|
|
|
321
321
|
);
|
|
322
322
|
return {
|
|
323
323
|
c() {
|
|
324
|
-
e = b("div"), i = b("img"), r = F(), u && u.c(), d = F(), f(i, "class", "CategorySlideGameImage"),
|
|
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
|
-
j(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), C || (v =
|
|
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*/
|
|
@@ -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 = [];
|
|
@@ -381,12 +383,12 @@ function le(t) {
|
|
|
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
|
);
|
|
@@ -438,8 +440,8 @@ function Ve(t) {
|
|
|
438
440
|
}
|
|
439
441
|
function We(t, e, i) {
|
|
440
442
|
let n;
|
|
441
|
-
Ge(t,
|
|
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,17 +469,17 @@ 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
476
|
i(9, G = Math.floor(T / U));
|
|
475
|
-
},
|
|
477
|
+
}, q = () => {
|
|
476
478
|
W(h);
|
|
477
479
|
}, E = () => {
|
|
478
|
-
h === 0 ? h = p - G : h - G < -1 ? h = 0 : h--,
|
|
479
|
-
},
|
|
480
|
-
h === p - G ? h = 0 : p - G < h + 1 ? h = p - G : h++,
|
|
480
|
+
h === 0 ? h = p - G : h - G < -1 ? h = 0 : h--, q();
|
|
481
|
+
}, D = () => {
|
|
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(
|
|
483
485
|
{
|
|
@@ -501,11 +503,11 @@ 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 = () => E(), ge = () =>
|
|
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);
|
|
@@ -544,7 +546,7 @@ function We(t, e, i) {
|
|
|
544
546
|
V,
|
|
545
547
|
n,
|
|
546
548
|
E,
|
|
547
|
-
|
|
549
|
+
D,
|
|
548
550
|
K,
|
|
549
551
|
Z,
|
|
550
552
|
l,
|
|
@@ -563,7 +565,7 @@ function We(t, e, i) {
|
|
|
563
565
|
he
|
|
564
566
|
];
|
|
565
567
|
}
|
|
566
|
-
class
|
|
568
|
+
class qe extends Ce {
|
|
567
569
|
constructor(e) {
|
|
568
570
|
super(), ye(
|
|
569
571
|
this,
|
|
@@ -583,7 +585,7 @@ class De 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 De extends Ce {
|
|
|
648
650
|
this.$$set({ mbsource: e }), L();
|
|
649
651
|
}
|
|
650
652
|
}
|
|
651
|
-
we(
|
|
653
|
+
we(qe, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
652
654
|
export {
|
|
653
|
-
|
|
655
|
+
qe as default
|
|
654
656
|
};
|
package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-B7jL1xWi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ye, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as b, d as x,
|
|
1
|
+
import { a as ye, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as b, d as x, G as O, j as F, k as Me, o as je, l as xe, p as Fe, q as Q, r as Te, m as ze, v as A, x as R, w as T, y as p, R as He, z as v, T as Oe, E as U, F as ae, A as B, U as Ae, L as I, I as Be, H as N, V as Ne } from "./CasinoCalendar-D9zXfDS4.js";
|
|
2
2
|
function $(t, e) {
|
|
3
3
|
ye(t, e);
|
|
4
4
|
}
|
|
@@ -103,7 +103,7 @@ const ee = {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
function Re(t) {
|
|
106
|
-
Le(t, "svelte-
|
|
106
|
+
Le(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 te(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -127,7 +127,7 @@ function Ue(t) {
|
|
|
127
127
|
/*numberOfSlides*/
|
|
128
128
|
t[8] > /*numberOfVisibleSlides*/
|
|
129
129
|
t[9] && le(t)
|
|
130
|
-
), g =
|
|
130
|
+
), g = A(
|
|
131
131
|
/*gameCategories*/
|
|
132
132
|
t[3]
|
|
133
133
|
), m = [];
|
|
@@ -138,7 +138,7 @@ function Ue(t) {
|
|
|
138
138
|
e = b("div"), i = b("div"), n = b("p"), r = R(l), d = T(), c && c.c(), C = T(), h = b("div");
|
|
139
139
|
for (let a = 0; a < m.length; a += 1)
|
|
140
140
|
m[a].c();
|
|
141
|
-
p(n, "class", "Title"), p(i, "class", "CategoriesHeader"), p(h, "class", "CategoriesSlider"),
|
|
141
|
+
p(n, "class", "Title"), p(i, "class", "CategoriesHeader"), p(h, "class", "CategoriesSlider"), He(() => (
|
|
142
142
|
/*div1_elementresize_handler*/
|
|
143
143
|
t[28].call(h)
|
|
144
144
|
)), p(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -149,7 +149,7 @@ function Ue(t) {
|
|
|
149
149
|
x(a, e, k), v(e, i), v(i, n), v(n, r), v(i, d), c && c.m(i, null), v(e, C), v(e, h);
|
|
150
150
|
for (let s = 0; s < m.length; s += 1)
|
|
151
151
|
m[s] && m[s].m(h, null);
|
|
152
|
-
t[27](h), S =
|
|
152
|
+
t[27](h), S = Oe(
|
|
153
153
|
h,
|
|
154
154
|
/*div1_elementresize_handler*/
|
|
155
155
|
t[28].bind(h)
|
|
@@ -168,7 +168,7 @@ function Ue(t) {
|
|
|
168
168
|
a[8] > /*numberOfVisibleSlides*/
|
|
169
169
|
a[9] ? c ? c.p(a, k) : (c = le(a), c.c(), c.m(i, null)) : c && (c.d(1), c = null), k[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
170
170
|
49166) {
|
|
171
|
-
g =
|
|
171
|
+
g = A(
|
|
172
172
|
/*gameCategories*/
|
|
173
173
|
a[3]
|
|
174
174
|
);
|
|
@@ -200,7 +200,7 @@ function Ve(t) {
|
|
|
200
200
|
m(i, n) {
|
|
201
201
|
x(i, e, n);
|
|
202
202
|
},
|
|
203
|
-
p:
|
|
203
|
+
p: O,
|
|
204
204
|
d(i) {
|
|
205
205
|
i && F(e);
|
|
206
206
|
}
|
|
@@ -214,13 +214,13 @@ function le(t) {
|
|
|
214
214
|
},
|
|
215
215
|
m(C, h) {
|
|
216
216
|
x(C, e, h), v(e, i), v(e, n), v(e, l), r || (d = [
|
|
217
|
-
|
|
217
|
+
B(
|
|
218
218
|
i,
|
|
219
219
|
"click",
|
|
220
220
|
/*click_handler*/
|
|
221
221
|
t[23]
|
|
222
222
|
),
|
|
223
|
-
|
|
223
|
+
B(
|
|
224
224
|
l,
|
|
225
225
|
"click",
|
|
226
226
|
/*click_handler_1*/
|
|
@@ -228,9 +228,9 @@ function le(t) {
|
|
|
228
228
|
)
|
|
229
229
|
], r = !0);
|
|
230
230
|
},
|
|
231
|
-
p:
|
|
231
|
+
p: O,
|
|
232
232
|
d(C) {
|
|
233
|
-
C && F(e), r = !1,
|
|
233
|
+
C && F(e), r = !1, Ae(d);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
@@ -256,7 +256,7 @@ function We(t) {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function qe(t) {
|
|
260
260
|
let e, i, n;
|
|
261
261
|
return {
|
|
262
262
|
c() {
|
|
@@ -326,7 +326,7 @@ function ne(t) {
|
|
|
326
326
|
t[44].name), p(e, "class", "CategorySlideGames");
|
|
327
327
|
},
|
|
328
328
|
m(c, g) {
|
|
329
|
-
x(c, e, g), v(e, i), v(e, r), u && u.m(e, null), v(e, d), C || (h =
|
|
329
|
+
x(c, e, g), v(e, i), v(e, r), u && u.m(e, null), v(e, d), C || (h = B(i, "click", Ne(S)), C = !0);
|
|
330
330
|
},
|
|
331
331
|
p(c, g) {
|
|
332
332
|
t = c, g[0] & /*gameCategories*/
|
|
@@ -347,13 +347,15 @@ function re(t) {
|
|
|
347
347
|
if (
|
|
348
348
|
/*titletype*/
|
|
349
349
|
s[1] == "logo"
|
|
350
|
-
)
|
|
350
|
+
)
|
|
351
|
+
return qe;
|
|
351
352
|
if (
|
|
352
353
|
/*titletype*/
|
|
353
354
|
s[1] == "title"
|
|
354
|
-
)
|
|
355
|
+
)
|
|
356
|
+
return We;
|
|
355
357
|
}
|
|
356
|
-
let c = u(t), g = c && c(t), m =
|
|
358
|
+
let c = u(t), g = c && c(t), m = A(
|
|
357
359
|
/*category*/
|
|
358
360
|
t[41].games
|
|
359
361
|
), a = [];
|
|
@@ -382,13 +384,13 @@ function re(t) {
|
|
|
382
384
|
x(s, e, f), v(e, i), v(i, n), g && g.m(n, null), v(i, l), v(i, r);
|
|
383
385
|
for (let _ = 0; _ < a.length; _ += 1)
|
|
384
386
|
a[_] && a[_].m(r, null);
|
|
385
|
-
v(e, C), h || (S =
|
|
387
|
+
v(e, C), h || (S = B(i, "click", k), h = !0);
|
|
386
388
|
},
|
|
387
389
|
p(s, f) {
|
|
388
390
|
var _, P;
|
|
389
391
|
if (t = s, c === (c = u(t)) && g ? g.p(t, f) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(n, null))), f[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
390
392
|
16396) {
|
|
391
|
-
m =
|
|
393
|
+
m = A(
|
|
392
394
|
/*category*/
|
|
393
395
|
t[41].games
|
|
394
396
|
);
|
|
@@ -431,17 +433,17 @@ function Ee(t) {
|
|
|
431
433
|
p(r, d) {
|
|
432
434
|
n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
433
435
|
},
|
|
434
|
-
i:
|
|
435
|
-
o:
|
|
436
|
+
i: O,
|
|
437
|
+
o: O,
|
|
436
438
|
d(r) {
|
|
437
439
|
r && F(e), l.d(), t[29](null);
|
|
438
440
|
}
|
|
439
441
|
};
|
|
440
442
|
}
|
|
441
|
-
function
|
|
443
|
+
function De(t, e, i) {
|
|
442
444
|
let n;
|
|
443
|
-
Me(t,
|
|
444
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], k = !0, s, f = 0, _ = 0, P = 0, y, z, j, se = window.navigator.userAgent, V,
|
|
445
|
+
Me(t, Be, (o) => i(11, n = o));
|
|
446
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], k = !0, s, f = 0, _ = 0, P = 0, y, z, j, se = window.navigator.userAgent, V, H = 0;
|
|
445
447
|
const ce = () => {
|
|
446
448
|
fetch(c).then((w) => w.json()).then((w) => {
|
|
447
449
|
Object.keys(w).forEach((L) => {
|
|
@@ -476,13 +478,13 @@ function qe(t, e, i) {
|
|
|
476
478
|
w.style.transform = `translateX(${100 * (o ? L - o : L)}%)`;
|
|
477
479
|
}), y = z[0].getBoundingClientRect().width, ge();
|
|
478
480
|
}, ge = () => {
|
|
479
|
-
i(9, P = Math.floor(
|
|
480
|
-
},
|
|
481
|
+
i(9, P = Math.floor(H / y));
|
|
482
|
+
}, q = () => {
|
|
481
483
|
W(f);
|
|
482
484
|
}, E = () => {
|
|
483
|
-
f === 0 ? f = _ - P : f - P < -1 ? f = 0 : f--,
|
|
484
|
-
},
|
|
485
|
-
f === _ - P ? f = 0 : _ - P < f + 1 ? f = _ - P : f++,
|
|
485
|
+
f === 0 ? f = _ - P : f - P < -1 ? f = 0 : f--, q();
|
|
486
|
+
}, D = () => {
|
|
487
|
+
f === _ - P ? f = 0 : _ - P < f + 1 ? f = _ - P : f++, q();
|
|
486
488
|
}, K = (o, w, L, G) => {
|
|
487
489
|
window.postMessage(
|
|
488
490
|
{
|
|
@@ -510,14 +512,14 @@ function qe(t, e, i) {
|
|
|
510
512
|
};
|
|
511
513
|
je(() => (i(10, V = Fe(se)), () => {
|
|
512
514
|
}));
|
|
513
|
-
const me = () => E(), fe = () =>
|
|
515
|
+
const me = () => E(), fe = () => D(), pe = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), he = (o) => Z(o.id);
|
|
514
516
|
function ve(o) {
|
|
515
517
|
Q[o ? "unshift" : "push"](() => {
|
|
516
518
|
s = o, i(4, s);
|
|
517
519
|
});
|
|
518
520
|
}
|
|
519
521
|
function _e() {
|
|
520
|
-
|
|
522
|
+
H = this.clientWidth, i(6, H);
|
|
521
523
|
}
|
|
522
524
|
function be(o) {
|
|
523
525
|
Q[o ? "unshift" : "push"](() => {
|
|
@@ -529,7 +531,7 @@ function qe(t, e, i) {
|
|
|
529
531
|
}, t.$$.update = () => {
|
|
530
532
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
531
533
|
458752 && l && r && d && de(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
|
532
|
-
88 &&
|
|
534
|
+
88 && H && a && s && W(), t.$$.dirty[0] & /*lang*/
|
|
533
535
|
262144 && d && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
534
536
|
524320 && S && j && Te(j, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
535
537
|
1048608 && u && j && xe(j, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
@@ -542,14 +544,14 @@ function qe(t, e, i) {
|
|
|
542
544
|
a,
|
|
543
545
|
s,
|
|
544
546
|
j,
|
|
545
|
-
|
|
547
|
+
H,
|
|
546
548
|
k,
|
|
547
549
|
_,
|
|
548
550
|
P,
|
|
549
551
|
V,
|
|
550
552
|
n,
|
|
551
553
|
E,
|
|
552
|
-
|
|
554
|
+
D,
|
|
553
555
|
K,
|
|
554
556
|
Z,
|
|
555
557
|
l,
|
|
@@ -573,7 +575,7 @@ class Ke extends Se {
|
|
|
573
575
|
super(), ke(
|
|
574
576
|
this,
|
|
575
577
|
e,
|
|
576
|
-
|
|
578
|
+
De,
|
|
577
579
|
Ee,
|
|
578
580
|
Pe,
|
|
579
581
|
{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");function N(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const I={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"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)}}')}function R(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,n=(i[0]=="vendor"?i[11]("providers"):i[11]("collections"))+"",a,g,v,h,C,p,c=i[8]>i[9]&&W(i),u=e.ensure_array_like(i[3]),m=[];for(let s=0;s<u.length;s+=1)m[s]=E(R(i,u,s));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(n),g=e.space(),c&&c.c(),v=e.space(),h=e.element("div");for(let s=0;s<m.length;s+=1)m[s].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(h,"class","CategoriesSlider"),e.add_render_callback(()=>i[28].call(h)),e.attr(t,"class",p="CasinoCollectionsProviders "+(i[10]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(s,w){e.insert(s,t,w),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),c&&c.m(l,null),e.append(t,v),e.append(t,h);for(let d=0;d<m.length;d+=1)m[d]&&m[d].m(h,null);i[27](h),C=e.add_iframe_resize_listener(h,i[28].bind(h))},p(s,w){if(w[0]&2049&&n!==(n=(s[0]=="vendor"?s[11]("providers"):s[11]("collections"))+"")&&e.set_data(a,n),s[8]>s[9]?c?c.p(s,w):(c=W(s),c.c(),c.m(l,null)):c&&(c.d(1),c=null),w[0]&49166){u=e.ensure_array_like(s[3]);let d;for(d=0;d<u.length;d+=1){const f=R(s,u,d);m[d]?m[d].p(f,w):(m[d]=E(f),m[d].c(),m[d].m(h,null))}for(;d<m.length;d+=1)m[d].d(1);m.length=u.length}w[0]&1025&&p!==(p="CasinoCollectionsProviders "+(s[10]?"Mobile":"")+" "+(s[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),c&&c.d(),e.destroy_each(m,s),i[27](null),C()}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function W(i){let t,l,r,n,a,g;return{c(){t=e.element("div"),l=e.element("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(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),n=e.element("button"),n.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>',e.attr(t,"class","ButtonsContainer")},m(v,h){e.insert(v,t,h),e.append(t,l),e.append(t,r),e.append(t,n),a||(g=[e.listen(l,"click",i[23]),e.listen(n,"click",i[24])],a=!0)},p:e.noop,d(v){v&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(n,a){e.insert(n,t,a),e.append(t,r)},p(n,a){a[0]&8&&l!==(l=n[41].name+"")&&e.set_data(r,l)},d(n){n&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(n,a){e.insert(n,t,a)},p(n,a){a[0]&8&&!e.src_url_equal(t.src,l=n[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=n[41].name+" icon")&&e.attr(t,"alt",r)},d(n){n&&e.detach(t)}}}function V(i){let t,l=i[44].name+"",r,n;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",n=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&n!==(n=a[44].name)&&e.attr(t,"title",n)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,n,a,g,v,h;function C(){return i[25](i[44])}let p=i[2]=="true"&&V(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),p&&p.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",n=i[44].name),e.attr(t,"class","CategorySlideGames")},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(t,a),p&&p.m(t,null),e.append(t,g),v||(h=e.listen(l,"click",e.stop_propagation(C)),v=!0)},p(c,u){i=c,u[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),u[0]&8&&n!==(n=i[44].name)&&e.attr(l,"alt",n),i[2]=="true"?p?p.p(i,u):(p=V(i),p.c(),p.m(t,g)):p&&(p.d(1),p=null)},d(c){c&&e.detach(t),p&&p.d(),v=!1,h()}}}function E(i){let t,l,r,n,a,g,v,h,C;function p(d,f){if(d[1]=="logo")return ue;if(d[1]=="title")return ge}let c=p(i),u=c&&c(i),m=e.ensure_array_like(i[41].games),s=[];for(let d=0;d<m.length;d+=1)s[d]=D(U(i,m,d));function w(){return i[26](i[41])}return{c(){var d,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),u&&u.c(),n=e.space(),a=e.element("div");for(let _=0;_<s.length;_+=1)s[_].c();v=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((d=i[41])==null?void 0:d.flag[0])=="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(d,f){e.insert(d,t,f),e.append(t,l),e.append(l,r),u&&u.m(r,null),e.append(l,n),e.append(l,a);for(let _=0;_<s.length;_+=1)s[_]&&s[_].m(a,null);e.append(t,v),h||(C=e.listen(l,"click",w),h=!0)},p(d,f){var _,k;if(i=d,c===(c=p(i))&&u?u.p(i,f):(u&&u.d(1),u=c&&c(i),u&&(u.c(),u.m(r,null))),f[0]&16396){m=e.ensure_array_like(i[41].games);let b;for(b=0;b<m.length;b+=1){const L=U(i,m,b);s[b]?s[b].p(L,f):(s[b]=D(L),s[b].c(),s[b].m(a,null))}for(;b<s.length;b+=1)s[b].d(1);s.length=m.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])=="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(d){d&&e.detach(t),u&&u.d(),e.destroy_each(s,d),h=!1,C()}}}function pe(i){let t;function l(a,g){return a[7]?ce:de}let r=l(i),n=r(i);return{c(){t=e.element("div"),n.c()},m(a,g){e.insert(a,t,g),n.m(t,null),i[29](t)},p(a,g){r===(r=l(a))&&n?n.p(a,g):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[29](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,o=>l(11,r=o));let{endpoint:n=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:v=""}=t,{titletype:h=""}=t,{clientstyling:C=""}=t,{clientstylingurl:p=""}=t,{translationurl:c=""}=t,{collectionprovidersgamenames:u=""}=t,{mbsource:m}=t,s=[],w=!0,d,f=0,_=0,k=0,b,L,P,Z=window.navigator.userAgent,j,M=0;const J=()=>{fetch(c).then(y=>y.json()).then(y=>{Object.keys(y).forEach(G=>{N(G,y[G])})}).catch(y=>{console.log(y)})};Object.keys(I).forEach(o=>{N(o,I[o])});const X=()=>{const o=new URL(`${n}/v2/casino/groups/${a}`);o.searchParams.append("language",g),o.searchParams.append("expand","games"),fetch(o.href).then(y=>y.json()).then(y=>{l(7,w=!1);let G=y.items.filter(S=>S.flags==v);l(3,s=G.map(S=>{var B,A,q;return{id:S.id,name:S.name,icon:S.icon?S.icon:(q=(A=(B=S.vendors)==null?void 0:B.items[0])==null?void 0:A.subVendors[0])==null?void 0:q.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}})),l(8,_=s.length)})},x=o=>{L=[...d.children],L.forEach((y,G)=>{y.style.transform=`translateX(${100*(o?G-o:G)}%)`}),b=L[0].getBoundingClientRect().width,Y()},Y=()=>{l(9,k=Math.floor(M/b))},T=()=>{x(f)},F=()=>{f===0?f=_-k:f-k<-1?f=0:f--,T()},z=()=>{f===_-k?f=0:_-k<f+1?f=_-k:f++,T()},O=(o,y,G,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:o,launchUrl:y,gameName:G,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},H=o=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:o},window.location.href)},Q=()=>{ae(g)};e.onMount(()=>(l(10,j=e.isMobile(Z)),()=>{}));const $=()=>F(),ee=()=>z(),te=o=>O(o.gameId,o.launchUrl,o.name,o.subVendor),ie=o=>H(o.id);function le(o){e.binding_callbacks[o?"unshift":"push"](()=>{d=o,l(4,d)})}function ne(){M=this.clientWidth,l(6,M)}function oe(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,l(5,P)})}return i.$$set=o=>{"endpoint"in o&&l(16,n=o.endpoint),"datasource"in o&&l(17,a=o.datasource),"lang"in o&&l(18,g=o.lang),"type"in o&&l(0,v=o.type),"titletype"in o&&l(1,h=o.titletype),"clientstyling"in o&&l(19,C=o.clientstyling),"clientstylingurl"in o&&l(20,p=o.clientstylingurl),"translationurl"in o&&l(21,c=o.translationurl),"collectionprovidersgamenames"in o&&l(2,u=o.collectionprovidersgamenames),"mbsource"in o&&l(22,m=o.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&458752&&n&&a&&g&&X(),i.$$.dirty[0]&88&&M&&s&&d&&x(),i.$$.dirty[0]&262144&&g&&Q(),i.$$.dirty[0]&524320&&C&&P&&e.setClientStyling(P,C),i.$$.dirty[0]&1048608&&p&&P&&e.setClientStylingURL(P,p),i.$$.dirty[0]&4194336&&P&&e.setStreamStyling(P,`${m}.Style`),i.$$.dirty[0]&2097152&&c&&J()},[v,h,u,s,d,P,M,w,_,k,j,r,F,z,O,H,n,a,g,C,p,c,m,$,ee,te,ie,le,ne,oe]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2,mbsource:22},se,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=K;
|