@everymatrix/casino-page-nd 1.76.12 → 1.76.14
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-D_FT39Q4.js → CasinoCalendar-BpmBQMqg.js} +835 -856
- package/components/CasinoCalendar-CzrlHwD6.cjs +19 -0
- package/components/{CasinoCalendar-BeFhOf4A.js → CasinoCalendar-DIKM6-FX.js} +992 -1013
- package/components/{CasinoCalendarDailyDetails-BDQiZCqX.js → CasinoCalendarDailyDetails-B2rPnr-r.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-9IYOPuFc.js → CasinoCalendarDailyDetails-CR3HaDXZ.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-C27NHVH_.cjs → CasinoCalendarDailyDetails-Db4V8lzv.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BqL5H57o.cjs → CasinoCalendarDailyItem-BYf0S582.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CrFZVw0F.js → CasinoCalendarDailyItem-BtpO8qS-.js} +39 -39
- package/components/{CasinoCalendarDailyItem-BamgaFUp.js → CasinoCalendarDailyItem-EtfFPL69.js} +39 -39
- package/components/{CasinoCollectionsProviders-DY6wwYQ5.js → CasinoCollectionsProviders-CGHuHGKJ.js} +39 -39
- package/components/{CasinoCollectionsProviders-DL8SGKDA.js → CasinoCollectionsProviders-DRvdCXk8.js} +65 -65
- package/components/{CasinoCollectionsProviders-DuN6pZVH.cjs → CasinoCollectionsProviders-zDF0lel_.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-ClCXq3fI.js → CasinoFavoritesSectionNd-D_iRqzx7.js} +48 -40
- package/components/{CasinoFavoritesSectionNd-h53SK3bH.js → CasinoFavoritesSectionNd-Vth9qKYe.js} +48 -40
- package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +1 -0
- package/components/CasinoFilter-BVW1b78L.cjs +1 -0
- package/components/{CasinoFilter-4Wzk9riO.js → CasinoFilter-DzWurkh4.js} +235 -236
- package/components/{CasinoFilter-x0Wt4ZXS.js → CasinoFilter-PMuyKrfM.js} +253 -252
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-CP63nfPC.js → CasinoGameThumbnailNd-Bew7sNHs.js} +66 -64
- package/components/{CasinoGameThumbnailNd-c5C6hrLn.js → CasinoGameThumbnailNd-a3JP2Y65.js} +66 -64
- package/components/{CasinoGamesCategorySectionNd-1n7W_2Jo.js → CasinoGamesCategorySectionNd-BViAsj82.js} +251 -243
- package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-Ag5Tj4JP.js → CasinoGamesCategorySectionNd-Dmc0zltf.js} +238 -230
- package/components/{CasinoJackpotBanner-DqTHDpRn.js → CasinoJackpotBanner-BqnIz0Jh.js} +60 -60
- package/components/{CasinoJackpotBanner-Di723weh.js → CasinoJackpotBanner-BvlsWFl7.js} +103 -103
- package/components/{CasinoJackpotBanner-BwX1dP1o.cjs → CasinoJackpotBanner-DVQ8suFI.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-C1brYuWY.js → CasinoLastPlayedSectionNd-DP2wNqqR.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-CnIteVfC.js → CasinoLastPlayedSectionNd-DgT1mzLh.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-Brc-gVCH.cjs → CasinoLastPlayedSectionNd-jre5mCnw.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-J9_utOkU.js → CasinoMostPlayedSectionNd-B60c74Nx.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-jqn46xP5.js → CasinoMostPlayedSectionNd-BDbP0dVK.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-CCDktQG1.cjs → CasinoMostPlayedSectionNd-C9EPOuC_.cjs} +1 -1
- package/components/CasinoMyGamesNd-Bhufp11n.cjs +1 -0
- package/components/{CasinoMyGamesNd-DFpwDkNI.js → CasinoMyGamesNd-DMqZrYBo.js} +28 -28
- package/components/{CasinoMyGamesNd-DXPTD3HX.js → CasinoMyGamesNd-VCvq-Ujh.js} +28 -28
- package/components/{CasinoPageNd-Cze-S-Q4.js → CasinoPageNd-BvQvfzbo.js} +1079 -1140
- package/components/CasinoPageNd-D34CwHfP.cjs +1 -0
- package/components/{CasinoPageNd-DKTkgLVP.js → CasinoPageNd-DA7qMS-l.js} +1161 -1222
- package/components/{CasinoRandomGame-CC2nBqKg.js → CasinoRandomGame-BPjl3Vyt.js} +57 -57
- package/components/{CasinoRandomGame-DJL8U-gh.js → CasinoRandomGame-Dbm27S1o.js} +58 -58
- package/components/{CasinoRandomGame-CxZ9BOdC.cjs → CasinoRandomGame-Er_WDp3Q.cjs} +1 -1
- package/components/{CasinoSearchNd-mdR2jyDR.cjs → CasinoSearchNd-CNcdxlUR.cjs} +1 -1
- package/components/{CasinoSearchNd-C1Ci58C8.js → CasinoSearchNd-DW1Pw7-Q.js} +80 -80
- package/components/{CasinoSearchNd-BtjkElM4.js → CasinoSearchNd-Dk2PKhWq.js} +82 -82
- package/components/{CasinoSort-CiX0dz1y.js → CasinoSort-CkIWjxkg.js} +115 -114
- package/components/{CasinoSort-BXkq0BBq.cjs → CasinoSort-T5gzvKTb.cjs} +1 -1
- package/components/{CasinoSort-Cy2ctqyz.js → CasinoSort-zIeABc70.js} +107 -108
- package/components/{CasinoWinners-Cd5X-I3l.js → CasinoWinners-BdPKRRdb.js} +162 -162
- package/components/{CasinoWinners-eDycJCzQ.cjs → CasinoWinners-DSywKe-Y.cjs} +1 -1
- package/components/{CasinoWinners-DvBTAsd5.js → CasinoWinners-iRjkvip2.js} +153 -153
- package/components/{GeneralAnimationLoading-CGEL9clS.cjs → GeneralAnimationLoading-BxgOtrDA.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DLOb23yL.js → GeneralAnimationLoading-D0OVj1dQ.js} +10 -10
- package/components/{GeneralAnimationLoading-to_WYHvJ.js → GeneralAnimationLoading-DzWSt2Rd.js} +10 -10
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-CUpRDmsd.js +29 -0
- package/stencil/casino-play-random-game-Cn7_43lQ.js +11 -0
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +1 -0
- package/stencil/{casino-play-random-game_2-BGE-oMV1.js → casino-play-random-game_3-B7x6w4BA.js} +155 -66
- package/stencil/{casino-play-random-game_2-EAIMj5kG.js → casino-play-random-game_3-D2RbqU-v.js} +155 -66
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +432 -0
- package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-27b314b8-9-rvsddy.js +566 -0
- package/stencil/index-27b314b8-CCprWmCo.js +582 -0
- package/stencil/index-27b314b8-DoR1KfK8.cjs +1 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-Bj3y-YhF.js → ui-image-BqbNkjGg.js} +1 -1
- package/stencil/{ui-image-SXcjABMO.cjs → ui-image-CNN86Aho.cjs} +1 -1
- package/stencil/{ui-image-BTT8PTe6.js → ui-image-_f0XGSO2.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/components/CasinoCalendar-1EiuG4ja.cjs +0 -19
- package/components/CasinoFavoritesSectionNd-DAjCrR4l.cjs +0 -1
- package/components/CasinoFilter-Da1iRlYf.cjs +0 -1
- package/components/CasinoGameThumbnailNd-CZW4Modc.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-B7V05VGS.cjs +0 -1
- package/components/CasinoMyGamesNd-QHx_1u38.cjs +0 -1
- package/components/CasinoPageNd-DJdd4UsG.cjs +0 -1
- package/stencil/casino-play-random-game-7Jiz5qZy.cjs +0 -1
- package/stencil/casino-play-random-game-CDzPSKby.js +0 -7
- package/stencil/casino-play-random-game-FWimws-s.js +0 -25
- package/stencil/casino-play-random-game_2-CsaKuS_m.cjs +0 -432
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-328e660d-CV2Ft9VG.js +0 -560
- package/stencil/index-328e660d-CX4nYxdf.js +0 -576
- package/stencil/index-328e660d-rQhlf25X.cjs +0 -1
package/components/{CasinoCollectionsProviders-DY6wwYQ5.js → CasinoCollectionsProviders-CGHuHGKJ.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M,
|
|
2
|
-
function
|
|
1
|
+
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, c as Se, b as ke, e as y, d as x, H as T, k as j, l as Ge, m as Pe, o as Le, n as Me, p as xe, q as je, u as Y, r as Fe, w as B, y as R, x as F, z as m, A as b, F as I, G as ne, B as z, M as Te, L as N, J as H, N as Be } from "./CasinoCalendar-BpmBQMqg.js";
|
|
2
|
+
function Q(t, e) {
|
|
3
3
|
be(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function ze(t) {
|
|
6
6
|
Ce.set(t);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const D = {
|
|
9
9
|
en: {
|
|
10
10
|
collections: "Game Collections",
|
|
11
11
|
providers: "Game Providers",
|
|
@@ -102,8 +102,8 @@ const Q = {
|
|
|
102
102
|
loading: "Loading, please wait ..."
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
function
|
|
106
|
-
|
|
105
|
+
function He(t) {
|
|
106
|
+
ke(t, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function $(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -113,7 +113,7 @@ function ee(t, e, i) {
|
|
|
113
113
|
const n = t.slice();
|
|
114
114
|
return n[44] = e[i], n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Oe(t) {
|
|
117
117
|
let e, i, n, l = (
|
|
118
118
|
/*type*/
|
|
119
119
|
(t[0] === "vendor" ? (
|
|
@@ -207,13 +207,13 @@ function te(t) {
|
|
|
207
207
|
},
|
|
208
208
|
m(_, C) {
|
|
209
209
|
x(_, e, C), b(e, i), b(e, n), b(e, l), r || (c = [
|
|
210
|
-
|
|
210
|
+
z(
|
|
211
211
|
i,
|
|
212
212
|
"click",
|
|
213
213
|
/*sliderScrollLeft*/
|
|
214
214
|
t[11]
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
z(
|
|
217
217
|
l,
|
|
218
218
|
"click",
|
|
219
219
|
/*sliderScrollRight*/
|
|
@@ -223,7 +223,7 @@ function te(t) {
|
|
|
223
223
|
},
|
|
224
224
|
p: T,
|
|
225
225
|
d(_) {
|
|
226
|
-
_ && j(e), r = !1,
|
|
226
|
+
_ && j(e), r = !1, Te(c);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -253,7 +253,7 @@ function Ne(t) {
|
|
|
253
253
|
let e, i, n;
|
|
254
254
|
return {
|
|
255
255
|
c() {
|
|
256
|
-
e = y("img"), m(e, "class", "CategorySlideLogo"),
|
|
256
|
+
e = y("img"), m(e, "class", "CategorySlideLogo"), H(e.src, i = /*category*/
|
|
257
257
|
t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
|
|
258
258
|
t[41].name + " icon");
|
|
259
259
|
},
|
|
@@ -262,7 +262,7 @@ function Ne(t) {
|
|
|
262
262
|
},
|
|
263
263
|
p(l, r) {
|
|
264
264
|
r[0] & /*gameCategories*/
|
|
265
|
-
8 && !
|
|
265
|
+
8 && !H(e.src, i = /*category*/
|
|
266
266
|
l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
|
|
267
267
|
8 && n !== (n = /*category*/
|
|
268
268
|
l[41].name + " icon") && m(e, "alt", n);
|
|
@@ -314,16 +314,16 @@ function oe(t) {
|
|
|
314
314
|
);
|
|
315
315
|
return {
|
|
316
316
|
c() {
|
|
317
|
-
e = y("div"), i = y("img"), r = F(), s && s.c(), c = F(), m(i, "class", "CategorySlideGameImage"),
|
|
317
|
+
e = y("div"), i = y("img"), r = F(), s && s.c(), c = F(), m(i, "class", "CategorySlideGameImage"), H(i.src, n = /*game*/
|
|
318
318
|
t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
|
|
319
319
|
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
320
|
},
|
|
321
321
|
m(f, a) {
|
|
322
|
-
x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C =
|
|
322
|
+
x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C = z(i, "click", Be(S)), _ = !0);
|
|
323
323
|
},
|
|
324
324
|
p(f, a) {
|
|
325
325
|
t = f, a[0] & /*gameCategories*/
|
|
326
|
-
8 && !
|
|
326
|
+
8 && !H(i.src, n = /*game*/
|
|
327
327
|
t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
|
|
328
328
|
8 && l !== (l = /*game*/
|
|
329
329
|
t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
|
|
@@ -376,7 +376,7 @@ function le(t) {
|
|
|
376
376
|
x(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
|
|
377
377
|
for (let p = 0; p < g.length; p += 1)
|
|
378
378
|
g[p] && g[p].m(r, null);
|
|
379
|
-
b(e, _), C || (S =
|
|
379
|
+
b(e, _), C || (S = z(i, "click", h), C = !0);
|
|
380
380
|
},
|
|
381
381
|
p(u, v) {
|
|
382
382
|
if (t = u, f === (f = s(t)) && a ? a.p(t, v) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), v[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
@@ -405,12 +405,12 @@ function le(t) {
|
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Re(t) {
|
|
409
409
|
let e;
|
|
410
410
|
function i(r, c) {
|
|
411
411
|
return (
|
|
412
412
|
/*isLoading*/
|
|
413
|
-
r[6] ? Ae :
|
|
413
|
+
r[6] ? Ae : Oe
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
let n = i(t), l = n(t);
|
|
@@ -431,21 +431,21 @@ function Ie(t) {
|
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Ie(t, e, i) {
|
|
435
435
|
let n;
|
|
436
|
-
|
|
437
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U,
|
|
436
|
+
Ge(t, Pe, (o) => i(10, n = o));
|
|
437
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U, O, q = 0, A = 50, E = !1, G, re = window.navigator.userAgent, V;
|
|
438
438
|
const ae = () => {
|
|
439
439
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
440
440
|
Object.keys(w).forEach((P) => {
|
|
441
|
-
|
|
441
|
+
Q(P, w[P]);
|
|
442
442
|
});
|
|
443
443
|
}).catch((w) => {
|
|
444
444
|
console.log(w);
|
|
445
445
|
});
|
|
446
446
|
};
|
|
447
|
-
Object.keys(
|
|
448
|
-
|
|
447
|
+
Object.keys(D).forEach((o) => {
|
|
448
|
+
Q(o, D[o]);
|
|
449
449
|
});
|
|
450
450
|
const W = () => {
|
|
451
451
|
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
@@ -464,18 +464,18 @@ function Re(t, e, i) {
|
|
|
464
464
|
}, se = () => {
|
|
465
465
|
const o = G.getRootNode().host;
|
|
466
466
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
467
|
-
},
|
|
468
|
-
|
|
467
|
+
}, J = (o) => {
|
|
468
|
+
O = [...u.children], O.forEach((w, P) => {
|
|
469
469
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
470
|
-
}), U =
|
|
470
|
+
}), U = O[0]?.getBoundingClientRect().width, de();
|
|
471
471
|
}, de = () => {
|
|
472
472
|
i(8, k = Math.floor(u.clientWidth / U));
|
|
473
|
-
},
|
|
474
|
-
|
|
473
|
+
}, K = () => {
|
|
474
|
+
J(v);
|
|
475
475
|
}, ce = () => {
|
|
476
|
-
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--,
|
|
476
|
+
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--, K();
|
|
477
477
|
}, ge = () => {
|
|
478
|
-
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++,
|
|
478
|
+
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++, K();
|
|
479
479
|
}, Z = (o, w, P, L) => {
|
|
480
480
|
window.postMessage(
|
|
481
481
|
{
|
|
@@ -499,9 +499,9 @@ function Re(t, e, i) {
|
|
|
499
499
|
window.location.href
|
|
500
500
|
);
|
|
501
501
|
}, ue = () => {
|
|
502
|
-
|
|
502
|
+
ze(c);
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
Le(() => (i(9, V = Me(re)), () => {
|
|
505
505
|
}));
|
|
506
506
|
const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
|
|
507
507
|
function pe(o) {
|
|
@@ -519,10 +519,10 @@ function Re(t, e, i) {
|
|
|
519
519
|
}, t.$$.update = () => {
|
|
520
520
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
521
521
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
522
|
-
24 && g && u &&
|
|
522
|
+
24 && g && u && J(), t.$$.dirty[0] & /*lang*/
|
|
523
523
|
131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
524
|
-
262176 && S && G &&
|
|
525
|
-
524320 && s && G &&
|
|
524
|
+
262176 && S && G && xe(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
525
|
+
524320 && s && G && je(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
526
526
|
2097184 && G && Fe(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
527
527
|
1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
|
|
528
528
|
4194304 && E && W();
|
|
@@ -561,8 +561,8 @@ class Ue extends ye {
|
|
|
561
561
|
super(), _e(
|
|
562
562
|
this,
|
|
563
563
|
e,
|
|
564
|
-
Re,
|
|
565
564
|
Ie,
|
|
565
|
+
Re,
|
|
566
566
|
we,
|
|
567
567
|
{
|
|
568
568
|
endpoint: 15,
|
|
@@ -576,7 +576,7 @@ class Ue extends ye {
|
|
|
576
576
|
collectionprovidersgamenames: 2,
|
|
577
577
|
mbsource: 21
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
He,
|
|
580
580
|
[-1, -1]
|
|
581
581
|
);
|
|
582
582
|
}
|
|
@@ -641,7 +641,7 @@ class Ue extends ye {
|
|
|
641
641
|
this.$$set({ mbsource: e }), M();
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
Se(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
645
645
|
export {
|
|
646
646
|
Ue as default
|
|
647
647
|
};
|
package/components/{CasinoCollectionsProviders-DL8SGKDA.js → CasinoCollectionsProviders-DRvdCXk8.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M,
|
|
1
|
+
import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, c as Pe, b as Le, e as y, d as j, H as z, k as F, l as Me, m as xe, o as je, n as Fe, p as Te, q as Be, u as $, r as ze, w as H, y as I, x as T, z as m, A as v, F as U, G as se, B as O, M as He, L as R, J as A, N as Oe } from "./CasinoCalendar-DIKM6-FX.js";
|
|
2
2
|
function ee(t, e) {
|
|
3
3
|
_e(t, e);
|
|
4
4
|
}
|
|
@@ -103,7 +103,7 @@ const te = {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
function Ee(t) {
|
|
106
|
-
|
|
106
|
+
Le(t, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function ie(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -127,7 +127,7 @@ function Ne(t) {
|
|
|
127
127
|
/*numberOfSlides*/
|
|
128
128
|
t[7] > /*numberOfVisibleSlides*/
|
|
129
129
|
t[8] && le(t)
|
|
130
|
-
), f =
|
|
130
|
+
), f = H(
|
|
131
131
|
/*gameCategories*/
|
|
132
132
|
t[3]
|
|
133
133
|
), a = [];
|
|
@@ -135,7 +135,7 @@ function Ne(t) {
|
|
|
135
135
|
a[d] = ae(ie(t, f, d));
|
|
136
136
|
return {
|
|
137
137
|
c() {
|
|
138
|
-
e = y("div"), i = y("div"), n = y("p"), r =
|
|
138
|
+
e = y("div"), i = y("div"), n = y("p"), r = I(l), c = T(), s && s.c(), _ = T(), b = y("div");
|
|
139
139
|
for (let d = 0; d < a.length; d += 1)
|
|
140
140
|
a[d].c();
|
|
141
141
|
m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(b, "class", "CategoriesSlider"), m(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -143,7 +143,7 @@ function Ne(t) {
|
|
|
143
143
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
144
144
|
},
|
|
145
145
|
m(d, g) {
|
|
146
|
-
|
|
146
|
+
j(d, e, g), v(e, i), v(i, n), v(n, r), v(i, c), s && s.m(i, null), v(e, _), v(e, b);
|
|
147
147
|
for (let h = 0; h < a.length; h += 1)
|
|
148
148
|
a[h] && a[h].m(b, null);
|
|
149
149
|
t[25](b);
|
|
@@ -157,11 +157,11 @@ function Ne(t) {
|
|
|
157
157
|
) : (
|
|
158
158
|
/*$_*/
|
|
159
159
|
d[10]("collections")
|
|
160
|
-
)) + "") &&
|
|
160
|
+
)) + "") && U(r, l), /*numberOfSlides*/
|
|
161
161
|
d[7] > /*numberOfVisibleSlides*/
|
|
162
162
|
d[8] ? s ? s.p(d, g) : (s = le(d), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
163
163
|
24590) {
|
|
164
|
-
f =
|
|
164
|
+
f = H(
|
|
165
165
|
/*gameCategories*/
|
|
166
166
|
d[3]
|
|
167
167
|
);
|
|
@@ -180,22 +180,22 @@ function Ne(t) {
|
|
|
180
180
|
(d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", k);
|
|
181
181
|
},
|
|
182
182
|
d(d) {
|
|
183
|
-
d &&
|
|
183
|
+
d && F(e), s && s.d(), se(a, d), t[25](null);
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Re(t) {
|
|
188
188
|
let e;
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
191
191
|
e = y("div"), m(e, "class", "LoadingSpinner");
|
|
192
192
|
},
|
|
193
193
|
m(i, n) {
|
|
194
|
-
|
|
194
|
+
j(i, e, n);
|
|
195
195
|
},
|
|
196
|
-
p:
|
|
196
|
+
p: z,
|
|
197
197
|
d(i) {
|
|
198
|
-
i &&
|
|
198
|
+
i && F(e);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
}
|
|
@@ -206,14 +206,14 @@ function le(t) {
|
|
|
206
206
|
e = y("div"), i = y("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 = T(), l = y("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>', m(e, "class", "ButtonsContainer");
|
|
207
207
|
},
|
|
208
208
|
m(_, b) {
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
j(_, e, b), v(e, i), v(e, n), v(e, l), r || (c = [
|
|
210
|
+
O(
|
|
211
211
|
i,
|
|
212
212
|
"click",
|
|
213
213
|
/*sliderScrollLeft*/
|
|
214
214
|
t[11]
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
O(
|
|
217
217
|
l,
|
|
218
218
|
"click",
|
|
219
219
|
/*sliderScrollRight*/
|
|
@@ -221,31 +221,31 @@ function le(t) {
|
|
|
221
221
|
)
|
|
222
222
|
], r = !0);
|
|
223
223
|
},
|
|
224
|
-
p:
|
|
224
|
+
p: z,
|
|
225
225
|
d(_) {
|
|
226
|
-
_ &&
|
|
226
|
+
_ && F(e), r = !1, He(c);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ie(t) {
|
|
231
231
|
let e, i = (
|
|
232
232
|
/*category*/
|
|
233
233
|
t[41].name + ""
|
|
234
234
|
), n;
|
|
235
235
|
return {
|
|
236
236
|
c() {
|
|
237
|
-
e = y("p"), n =
|
|
237
|
+
e = y("p"), n = I(i), m(e, "class", "CategorySlideTitle");
|
|
238
238
|
},
|
|
239
239
|
m(l, r) {
|
|
240
|
-
|
|
240
|
+
j(l, e, r), v(e, n);
|
|
241
241
|
},
|
|
242
242
|
p(l, r) {
|
|
243
243
|
r[0] & /*gameCategories*/
|
|
244
244
|
8 && i !== (i = /*category*/
|
|
245
|
-
l[41].name + "") &&
|
|
245
|
+
l[41].name + "") && U(n, i);
|
|
246
246
|
},
|
|
247
247
|
d(l) {
|
|
248
|
-
l &&
|
|
248
|
+
l && F(e);
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
}
|
|
@@ -258,7 +258,7 @@ function Ue(t) {
|
|
|
258
258
|
t[41].name + " icon");
|
|
259
259
|
},
|
|
260
260
|
m(l, r) {
|
|
261
|
-
|
|
261
|
+
j(l, e, r);
|
|
262
262
|
},
|
|
263
263
|
p(l, r) {
|
|
264
264
|
r[0] & /*gameCategories*/
|
|
@@ -268,7 +268,7 @@ function Ue(t) {
|
|
|
268
268
|
l[41].name + " icon") && m(e, "alt", n);
|
|
269
269
|
},
|
|
270
270
|
d(l) {
|
|
271
|
-
l &&
|
|
271
|
+
l && F(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -279,21 +279,21 @@ function ne(t) {
|
|
|
279
279
|
), n, l;
|
|
280
280
|
return {
|
|
281
281
|
c() {
|
|
282
|
-
e = y("p"), n =
|
|
282
|
+
e = y("p"), n = I(i), m(e, "title", l = /*game*/
|
|
283
283
|
t[44].name);
|
|
284
284
|
},
|
|
285
285
|
m(r, c) {
|
|
286
|
-
|
|
286
|
+
j(r, e, c), v(e, n);
|
|
287
287
|
},
|
|
288
288
|
p(r, c) {
|
|
289
289
|
c[0] & /*gameCategories*/
|
|
290
290
|
8 && i !== (i = /*game*/
|
|
291
|
-
r[44].name + "") &&
|
|
291
|
+
r[44].name + "") && U(n, i), c[0] & /*gameCategories*/
|
|
292
292
|
8 && l !== (l = /*game*/
|
|
293
293
|
r[44].name) && m(e, "title", l);
|
|
294
294
|
},
|
|
295
295
|
d(r) {
|
|
296
|
-
r &&
|
|
296
|
+
r && F(e);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
}
|
|
@@ -319,7 +319,7 @@ function re(t) {
|
|
|
319
319
|
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
320
|
},
|
|
321
321
|
m(f, a) {
|
|
322
|
-
|
|
322
|
+
j(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, c), _ || (b = O(i, "click", Oe(k)), _ = !0);
|
|
323
323
|
},
|
|
324
324
|
p(f, a) {
|
|
325
325
|
t = f, a[0] & /*gameCategories*/
|
|
@@ -330,7 +330,7 @@ function re(t) {
|
|
|
330
330
|
t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
|
|
331
331
|
},
|
|
332
332
|
d(f) {
|
|
333
|
-
f &&
|
|
333
|
+
f && F(e), s && s.d(), _ = !1, b();
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
}
|
|
@@ -346,9 +346,9 @@ function ae(t) {
|
|
|
346
346
|
/*titletype*/
|
|
347
347
|
u[1] === "title"
|
|
348
348
|
)
|
|
349
|
-
return
|
|
349
|
+
return Ie;
|
|
350
350
|
}
|
|
351
|
-
let f = s(t), a = f && f(t), d =
|
|
351
|
+
let f = s(t), a = f && f(t), d = H(
|
|
352
352
|
/*category*/
|
|
353
353
|
t[41].games
|
|
354
354
|
), g = [];
|
|
@@ -370,20 +370,20 @@ function ae(t) {
|
|
|
370
370
|
for (let C = 0; C < g.length; C += 1)
|
|
371
371
|
g[C].c();
|
|
372
372
|
_ = T(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
|
|
373
|
-
(((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")),
|
|
374
|
-
((p = t[41]) == null ? void 0 : p.background) + ")"),
|
|
373
|
+
(((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), R(i, "background-image", "url(" + /*category*/
|
|
374
|
+
((p = t[41]) == null ? void 0 : p.background) + ")"), R(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
375
375
|
},
|
|
376
376
|
m(u, p) {
|
|
377
|
-
|
|
377
|
+
j(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
|
|
378
378
|
for (let C = 0; C < g.length; C += 1)
|
|
379
379
|
g[C] && g[C].m(r, null);
|
|
380
|
-
v(e, _), b || (k =
|
|
380
|
+
v(e, _), b || (k = O(i, "click", h), b = !0);
|
|
381
381
|
},
|
|
382
382
|
p(u, p) {
|
|
383
383
|
var C, P;
|
|
384
384
|
if (t = u, f === (f = s(t)) && a ? a.p(t, p) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), p[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
385
385
|
8204) {
|
|
386
|
-
d =
|
|
386
|
+
d = H(
|
|
387
387
|
/*category*/
|
|
388
388
|
t[41].games
|
|
389
389
|
);
|
|
@@ -399,11 +399,11 @@ function ae(t) {
|
|
|
399
399
|
p[0] & /*gameCategories*/
|
|
400
400
|
8 && c !== (c = "CategorySlide " + /*category*/
|
|
401
401
|
(((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), p[0] & /*gameCategories*/
|
|
402
|
-
8 &&
|
|
402
|
+
8 && R(i, "background-image", "url(" + /*category*/
|
|
403
403
|
((P = t[41]) == null ? void 0 : P.background) + ")");
|
|
404
404
|
},
|
|
405
405
|
d(u) {
|
|
406
|
-
u &&
|
|
406
|
+
u && F(e), a && a.d(), se(g, u), b = !1, k();
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
}
|
|
@@ -412,7 +412,7 @@ function qe(t) {
|
|
|
412
412
|
function i(r, c) {
|
|
413
413
|
return (
|
|
414
414
|
/*isLoading*/
|
|
415
|
-
r[6] ?
|
|
415
|
+
r[6] ? Re : Ne
|
|
416
416
|
);
|
|
417
417
|
}
|
|
418
418
|
let n = i(t), l = n(t);
|
|
@@ -421,26 +421,26 @@ function qe(t) {
|
|
|
421
421
|
e = y("div"), l.c();
|
|
422
422
|
},
|
|
423
423
|
m(r, c) {
|
|
424
|
-
|
|
424
|
+
j(r, e, c), l.m(e, null), t[26](e);
|
|
425
425
|
},
|
|
426
426
|
p(r, c) {
|
|
427
427
|
n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
428
428
|
},
|
|
429
|
-
i:
|
|
430
|
-
o:
|
|
429
|
+
i: z,
|
|
430
|
+
o: z,
|
|
431
431
|
d(r) {
|
|
432
|
-
r &&
|
|
432
|
+
r && F(e), l.d(), t[26](null);
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
function Ve(t, e, i) {
|
|
437
437
|
let n;
|
|
438
|
-
|
|
438
|
+
Me(t, xe, (o) => i(10, n = o));
|
|
439
439
|
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, p = 0, C = 0, P = 0, S, B, q = 0, E = 50, N = !1, L, de = window.navigator.userAgent, V;
|
|
440
440
|
const ce = () => {
|
|
441
441
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
442
|
-
Object.keys(w).forEach((
|
|
443
|
-
ee(
|
|
442
|
+
Object.keys(w).forEach((x) => {
|
|
443
|
+
ee(x, w[x]);
|
|
444
444
|
});
|
|
445
445
|
}).catch((w) => {
|
|
446
446
|
console.log(w);
|
|
@@ -453,48 +453,48 @@ function Ve(t, e, i) {
|
|
|
453
453
|
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
454
454
|
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
|
|
455
455
|
i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
|
|
456
|
-
let
|
|
457
|
-
var Y,
|
|
456
|
+
let x = w.items.map((G) => {
|
|
457
|
+
var Y, Q, D;
|
|
458
458
|
return {
|
|
459
459
|
id: G.id,
|
|
460
460
|
name: G.name,
|
|
461
|
-
icon: G.icon ? G.icon : (
|
|
461
|
+
icon: G.icon ? G.icon : (D = (Q = (Y = G.vendors) == null ? void 0 : Y.items[0]) == null ? void 0 : Q.subVendors[0]) == null ? void 0 : D.logo,
|
|
462
462
|
games: G.games.items.slice(0, 4).map((ye) => ye),
|
|
463
463
|
background: G.background,
|
|
464
464
|
flag: G.flags
|
|
465
465
|
};
|
|
466
466
|
});
|
|
467
|
-
i(3, g = [...g, ...
|
|
467
|
+
i(3, g = [...g, ...x]), i(7, C = g.length), ge();
|
|
468
468
|
});
|
|
469
469
|
}, ge = () => {
|
|
470
470
|
const o = L.getRootNode().host;
|
|
471
471
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
472
|
-
},
|
|
472
|
+
}, J = (o) => {
|
|
473
473
|
var w;
|
|
474
|
-
B = [...u.children], B.forEach((
|
|
475
|
-
|
|
474
|
+
B = [...u.children], B.forEach((x, G) => {
|
|
475
|
+
x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
|
|
476
476
|
}), S = (w = B[0]) == null ? void 0 : w.getBoundingClientRect().width, ue();
|
|
477
477
|
}, ue = () => {
|
|
478
478
|
i(8, P = Math.floor(u.clientWidth / S));
|
|
479
|
-
},
|
|
480
|
-
|
|
479
|
+
}, K = () => {
|
|
480
|
+
J(p);
|
|
481
481
|
}, me = () => {
|
|
482
|
-
p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--,
|
|
482
|
+
p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--, K();
|
|
483
483
|
}, fe = () => {
|
|
484
|
-
p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++,
|
|
485
|
-
}, Z = (o, w,
|
|
484
|
+
p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++, K();
|
|
485
|
+
}, Z = (o, w, x, G) => {
|
|
486
486
|
window.postMessage(
|
|
487
487
|
{
|
|
488
488
|
type: "OpenCollectionsProvidersGame",
|
|
489
489
|
gameId: o,
|
|
490
490
|
launchUrl: w,
|
|
491
|
-
gameName:
|
|
491
|
+
gameName: x,
|
|
492
492
|
subVendor: G
|
|
493
493
|
},
|
|
494
494
|
window.location.href
|
|
495
495
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
496
496
|
context: "CollectionsProviders",
|
|
497
|
-
gameName: `${
|
|
497
|
+
gameName: `${x}`
|
|
498
498
|
});
|
|
499
499
|
}, X = (o) => {
|
|
500
500
|
window.postMessage(
|
|
@@ -507,7 +507,7 @@ function Ve(t, e, i) {
|
|
|
507
507
|
}, pe = () => {
|
|
508
508
|
Ae(c);
|
|
509
509
|
};
|
|
510
|
-
|
|
510
|
+
je(() => (i(9, V = Fe(de)), () => {
|
|
511
511
|
}));
|
|
512
512
|
const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
|
|
513
513
|
function be(o) {
|
|
@@ -525,11 +525,11 @@ function Ve(t, e, i) {
|
|
|
525
525
|
}, t.$$.update = () => {
|
|
526
526
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
527
527
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
528
|
-
24 && g && u &&
|
|
528
|
+
24 && g && u && J(), t.$$.dirty[0] & /*lang*/
|
|
529
529
|
131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
530
530
|
262176 && k && L && Te(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
531
531
|
524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
532
|
-
2097184 && L &&
|
|
532
|
+
2097184 && L && ze(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
533
533
|
1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
|
|
534
534
|
4194304 && N && W();
|
|
535
535
|
}, [
|
|
@@ -647,7 +647,7 @@ class We extends Se {
|
|
|
647
647
|
this.$$set({ mbsource: e }), M();
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
|
|
650
|
+
Pe(We, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
651
651
|
export {
|
|
652
652
|
We as default
|
|
653
653
|
};
|