@everymatrix/casino-lobby 1.54.0 → 1.54.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--_TG0VEV.js → CasinoCalendar-Ic3lq1UY.js} +1039 -1078
- package/components/{CasinoCalendarDailyDetails-BXGq5a2T.js → CasinoCalendarDailyDetails-buDoufAV.js} +1 -1
- package/components/{CasinoCalendarDailyItem-D2aX3lqV.js → CasinoCalendarDailyItem-koPRd703.js} +1 -1
- package/components/{CasinoCategoriesSlider-J5nWaz3g.js → CasinoCategoriesSlider-Bp9JHeM_.js} +3 -3
- package/components/{CasinoCollectionsProviders-CuCFosXw.js → CasinoCollectionsProviders-CrpNb22N.js} +237 -242
- package/components/{CasinoFavoritesSection-y1wno4sj.js → CasinoFavoritesSection-C1XEW6Z6.js} +3 -3
- package/components/{CasinoFilter-Dzg88RIE.js → CasinoFilter-CYZHW74M.js} +53 -54
- package/components/{CasinoGamePage-D6-QXHCi.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
- package/components/{CasinoGameThumbnail-D0H15Csw.js → CasinoGameThumbnail-zLPpnkNm.js} +305 -321
- package/components/{CasinoGamesCategorySection-Cl_p9So4.js → CasinoGamesCategorySection-DMGyKJ-j.js} +1104 -1135
- package/components/{CasinoJackpotBanner-BD8WK4Rz.js → CasinoJackpotBanner-CL7SMQDH.js} +153 -157
- package/components/{CasinoLastPlayedSection-ctqze_4r.js → CasinoLastPlayedSection-Cm6BF1pV.js} +2 -2
- package/components/{CasinoLobby-CXaWKeNB.js → CasinoLobby-1viweb84.js} +13 -13
- package/components/{CasinoModal-BBqGUhwr.js → CasinoModal-z0xixUlG.js} +1 -1
- package/components/{CasinoMostPlayedSection-BeiZTG1A.js → CasinoMostPlayedSection-CA67PY54.js} +2 -2
- package/components/{CasinoMyGames-D_Eo_aAx.js → CasinoMyGames-DvJ46R6O.js} +71 -72
- package/components/{CasinoPage-DcCY3qwb.js → CasinoPage-CNUhctvU.js} +803 -793
- package/components/{CasinoRandomGame-Cv4OhwGN.js → CasinoRandomGame-efA8CEqy.js} +231 -247
- package/components/{CasinoSearch-BXhg9VMw.js → CasinoSearch-CZ5ggDbP.js} +192 -194
- package/components/{CasinoSlider-CWFiUGzM.js → CasinoSlider-BPqJIB5d.js} +209 -215
- package/components/{CasinoSort-PDbvW-vI.js → CasinoSort-CBtcK7i0.js} +2 -3
- package/components/{CasinoWinners-D-uK3YLU.js → CasinoWinners-Db2ivy-R.js} +146 -148
- package/components/{GeneralAnimationLoading-oX4fYtDr.js → GeneralAnimationLoading-DiwFEyef.js} +1 -1
- package/esnext/casino-lobby.js +14 -0
- package/package.json +10 -14
- package/stencil/{casino-play-random-game-CdK9RTmU.js → casino-play-random-game-BrayzMrR.js} +44 -62
- package/stencil/{index-47910d1c-BJIxkb-p.js → index-47910d1c-CWwDm8i3.js} +222 -238
- package/components/CasinoCalendar-Bzrlnxmc.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-H5yaxv9P.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BvYs7mGd.cjs +0 -1
- package/components/CasinoCategoriesSlider-Dj810VWn.cjs +0 -1
- package/components/CasinoCollectionsProviders-CGAhYp6h.cjs +0 -1
- package/components/CasinoFavoritesSection-DSMFNuL7.cjs +0 -1
- package/components/CasinoFilter-DSWjEuYT.cjs +0 -1
- package/components/CasinoGamePage-DR56fBWR.cjs +0 -18
- package/components/CasinoGameThumbnail-Dtr9U58k.cjs +0 -38
- package/components/CasinoGamesCategorySection-BhY8_Szi.cjs +0 -1
- package/components/CasinoJackpotBanner-CNAYdfAP.cjs +0 -1
- package/components/CasinoLastPlayedSection-D4Y31NgL.cjs +0 -1
- package/components/CasinoLobby-DJkqmh-Q.cjs +0 -1
- package/components/CasinoModal-DqY-wVQ9.cjs +0 -1
- package/components/CasinoMostPlayedSection-Dj0QI5j_.cjs +0 -1
- package/components/CasinoMyGames-CHpklmlj.cjs +0 -1
- package/components/CasinoPage-SM6shSGz.cjs +0 -1
- package/components/CasinoRandomGame-Dldt___P.cjs +0 -2
- package/components/CasinoSearch-B4flIPra.cjs +0 -1
- package/components/CasinoSlider-UZ_dMYzs.cjs +0 -1
- package/components/CasinoSort-Cg-ANbV3.cjs +0 -1
- package/components/CasinoWinners-CSBr561I.cjs +0 -1
- package/components/GeneralAnimationLoading-CzSDAjam.cjs +0 -1
- package/es2015/casino-lobby.cjs +0 -1
- package/es2015/casino-lobby.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/casino-play-random-game-D5-NhS5J.cjs +0 -371
- package/stencil/index-47910d1c-CDXxJ6XN.cjs +0 -1
package/components/{CasinoFavoritesSection-y1wno4sj.js → CasinoFavoritesSection-C1XEW6Z6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as E, T as I, S as O, i as U, f as l, c as j, s as V, b as z, e as D, v as B, d as M, D as L, j as R, L as n, n as G } from "./CasinoCalendar
|
|
2
|
-
if (typeof window
|
|
1
|
+
import { $ as E, T as I, S as O, i as U, f as l, c as j, s as V, b as z, e as D, v as B, d as M, D as L, j as R, L as n, n as G } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
+
if (typeof window < "u") {
|
|
3
3
|
let a = function(e) {
|
|
4
4
|
return function(...t) {
|
|
5
5
|
try {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-DMGyKJ-j.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
t == null && (
|
|
1
|
+
import { $ as le, T as fe, a as ge, S as ue, i as me, f as I, c as he, s as Fe, b as be, e as u, d as z, D as re, j as B, k as ye, o as ve, K as we, n as _e, q as ie, G as ee, r as P, u as A, v as o, w as s, x as te, B as j, C as Ce, Q as pe, U as ae, F as ke, E as ne } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
+
function xe({ withLocale: r, translations: e }) {
|
|
3
|
+
le.subscribe((t) => {
|
|
4
|
+
t == null && (fe.set(e), le.set(r));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function oe(r, e) {
|
|
8
|
+
ge(r, e);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const se = {
|
|
11
11
|
en: {
|
|
12
12
|
providers: "Providers:",
|
|
13
13
|
filterby: "Filter by:",
|
|
@@ -117,14 +117,14 @@ const ce = {
|
|
|
117
117
|
clear: "Clear all"
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
function
|
|
121
|
-
|
|
120
|
+
function Se(r) {
|
|
121
|
+
be(r, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ce(r, e, t) {
|
|
124
124
|
const i = r.slice();
|
|
125
125
|
return i[36] = e[t], i[37] = e, i[38] = t, i;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Le(r) {
|
|
128
128
|
let e, t, i, a, c, m, v, w, b = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("filterby") + ""
|
|
@@ -138,15 +138,15 @@ function Ie(r) {
|
|
|
138
138
|
function Y(n, f) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
|
-
n[7] ?
|
|
141
|
+
n[7] ? Ae : Pe
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let G = Y(r), S = G(r), N =
|
|
144
|
+
let G = Y(r), S = G(r), N = ie(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
147
|
), l = [];
|
|
148
148
|
for (let n = 0; n < N.length; n += 1)
|
|
149
|
-
l[n] =
|
|
149
|
+
l[n] = de(ce(r, N, n));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
152
|
e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), c = ee("path"), m = P(), v = u("div"), w = u("span"), g = A(b), _ = P(), y = u("div"), T = u("span"), E = A(k), C = P(), S.c(), d = P(), F = u("span"), h = ee("svg"), D = ee("path"), K = P(), O = u("div"), V = u("ul");
|
|
@@ -192,14 +192,14 @@ function Ie(r) {
|
|
|
192
192
|
16 && x !== (x = "FilterSelector " + /*isFilterActive*/
|
|
193
193
|
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
194
|
8228) {
|
|
195
|
-
N =
|
|
195
|
+
N = ie(
|
|
196
196
|
/*vendorArray*/
|
|
197
197
|
n[5]
|
|
198
198
|
);
|
|
199
199
|
let p;
|
|
200
200
|
for (p = 0; p < N.length; p += 1) {
|
|
201
|
-
const Z =
|
|
202
|
-
l[p] ? l[p].p(Z, f) : (l[p] =
|
|
201
|
+
const Z = ce(n, N, p);
|
|
202
|
+
l[p] ? l[p].p(Z, f) : (l[p] = de(Z), l[p].c(), l[p].m(V, null));
|
|
203
203
|
}
|
|
204
204
|
for (; p < l.length; p += 1)
|
|
205
205
|
l[p].d(1);
|
|
@@ -219,11 +219,11 @@ function Ie(r) {
|
|
|
219
219
|
n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
|
|
220
220
|
},
|
|
221
221
|
d(n) {
|
|
222
|
-
n && B(e), S.d(),
|
|
222
|
+
n && B(e), S.d(), Ce(l, n), q = !1, pe(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ie(r) {
|
|
227
227
|
let e, t = (
|
|
228
228
|
/*$_*/
|
|
229
229
|
r[11]("500") + ""
|
|
@@ -245,7 +245,7 @@ function Pe(r) {
|
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Pe(r) {
|
|
249
249
|
let e, t;
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
@@ -270,7 +270,7 @@ function Ae(r) {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Ae(r) {
|
|
274
274
|
let e, t = (
|
|
275
275
|
/*$_*/
|
|
276
276
|
r[11]("all") + ""
|
|
@@ -292,11 +292,11 @@ function Te(r) {
|
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Te(r) {
|
|
296
296
|
let e, t;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e = u("img"),
|
|
299
|
+
e = u("img"), ne(e.src, t = /*vendor*/
|
|
300
300
|
r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
|
|
301
301
|
},
|
|
302
302
|
m(i, a) {
|
|
@@ -304,7 +304,7 @@ function De(r) {
|
|
|
304
304
|
},
|
|
305
305
|
p(i, a) {
|
|
306
306
|
a[0] & /*vendorArray*/
|
|
307
|
-
32 && !
|
|
307
|
+
32 && !ne(e.src, t = /*vendor*/
|
|
308
308
|
i[36].logo) && o(e, "src", t);
|
|
309
309
|
},
|
|
310
310
|
d(i) {
|
|
@@ -312,7 +312,7 @@ function De(r) {
|
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function De(r) {
|
|
316
316
|
let e, t, i = (
|
|
317
317
|
/*vendor*/
|
|
318
318
|
r[36].name + ""
|
|
@@ -339,7 +339,7 @@ function Oe(r) {
|
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function de(r) {
|
|
343
343
|
let e, t, i, a, c, m, v, w, b, g, _, y;
|
|
344
344
|
function T() {
|
|
345
345
|
r[23].call(
|
|
@@ -363,17 +363,17 @@ function pe(r) {
|
|
|
363
363
|
if (
|
|
364
364
|
/*filterbylogo*/
|
|
365
365
|
F[2] === "false"
|
|
366
|
-
) return
|
|
366
|
+
) return De;
|
|
367
367
|
if (
|
|
368
368
|
/*filterbylogo*/
|
|
369
369
|
F[2] === "true"
|
|
370
|
-
) return
|
|
370
|
+
) return Te;
|
|
371
371
|
}
|
|
372
372
|
let C = E(r), d = C && C(r);
|
|
373
373
|
return {
|
|
374
374
|
c() {
|
|
375
375
|
e = u("li"), t = u("label"), i = u("input"), c = P(), m = u("span"), v = P(), d && d.c(), w = P(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
376
|
-
r[36].name,
|
|
376
|
+
r[36].name, ae(i, i.__value), o(m, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
377
377
|
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
|
|
378
378
|
r[36].name;
|
|
379
379
|
},
|
|
@@ -387,7 +387,7 @@ function pe(r) {
|
|
|
387
387
|
p(F, h) {
|
|
388
388
|
r = F, h[0] & /*vendorArray*/
|
|
389
389
|
32 && a !== (a = /*vendor*/
|
|
390
|
-
r[36].name) && (i.__value = a,
|
|
390
|
+
r[36].name) && (i.__value = a, ae(i, i.__value)), h[0] & /*vendorArray*/
|
|
391
391
|
32 && (i.checked = /*vendor*/
|
|
392
392
|
r[36].isFilterSelected), C === (C = E(r)) && d ? d.p(r, h) : (d && d.d(1), d = C && C(r), d && (d.c(), d.m(t, null))), h[0] & /*filterbylogo*/
|
|
393
393
|
4 && b !== (b = "FilterItem " + /*filterbylogo*/
|
|
@@ -396,19 +396,19 @@ function pe(r) {
|
|
|
396
396
|
r[36].name) && (e.value = g);
|
|
397
397
|
},
|
|
398
398
|
d(F) {
|
|
399
|
-
F && B(e), d && d.d(), _ = !1,
|
|
399
|
+
F && B(e), d && d.d(), _ = !1, pe(y);
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Oe(r) {
|
|
404
404
|
let e;
|
|
405
405
|
function t(c, m) {
|
|
406
406
|
if (
|
|
407
407
|
/*hasErrors*/
|
|
408
408
|
c[10]
|
|
409
|
-
) return
|
|
409
|
+
) return Ie;
|
|
410
410
|
if (!/*isLoading*/
|
|
411
|
-
c[9]) return
|
|
411
|
+
c[9]) return Le;
|
|
412
412
|
}
|
|
413
413
|
let i = t(r), a = i && i(r);
|
|
414
414
|
return {
|
|
@@ -421,29 +421,29 @@ function Ee(r) {
|
|
|
421
421
|
p(c, m) {
|
|
422
422
|
i === (i = t(c)) && a ? a.p(c, m) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
|
|
423
423
|
},
|
|
424
|
-
i:
|
|
425
|
-
o:
|
|
424
|
+
i: re,
|
|
425
|
+
o: re,
|
|
426
426
|
d(c) {
|
|
427
427
|
c && B(e), a && a.d(), r[26](null);
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function Ee(r, e, t) {
|
|
432
432
|
let i;
|
|
433
|
-
|
|
433
|
+
ye(r, ke, (l) => t(11, i = l));
|
|
434
434
|
let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, k = !1, E = window.navigator.userAgent, C = [], d = [], F = {}, h = !1, D = 0, M = !0, x, K = !1;
|
|
435
|
-
|
|
435
|
+
xe({ withLocale: "en", translations: {} });
|
|
436
436
|
const O = () => {
|
|
437
437
|
fetch(v).then((n) => n.json()).then((n) => {
|
|
438
438
|
Object.keys(n).forEach((f) => {
|
|
439
|
-
|
|
439
|
+
oe(f, n[f]);
|
|
440
440
|
});
|
|
441
441
|
}).catch((n) => {
|
|
442
442
|
console.log(n);
|
|
443
443
|
});
|
|
444
444
|
};
|
|
445
|
-
Object.keys(
|
|
446
|
-
|
|
445
|
+
Object.keys(se).forEach((l) => {
|
|
446
|
+
oe(l, se[l]);
|
|
447
447
|
});
|
|
448
448
|
const V = () => {
|
|
449
449
|
let l = document.createElement("style");
|
|
@@ -467,8 +467,7 @@ function Me(r, e, t) {
|
|
|
467
467
|
p = p.items, n(p.items), t(6, d = []);
|
|
468
468
|
let Z = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
469
469
|
p.forEach(($) => {
|
|
470
|
-
|
|
471
|
-
Z || (Z = { currentCategoryId: [] }), ((le = Z[g]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
|
|
470
|
+
Z || (Z = { currentCategoryId: [] }), Z[g]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
|
|
472
471
|
}), t(5, C = p), W();
|
|
473
472
|
}).catch((p) => {
|
|
474
473
|
console.error(p), t(10, K = !0), f(p);
|
|
@@ -484,7 +483,7 @@ function Me(r, e, t) {
|
|
|
484
483
|
t(7, h = d.length === C.length || d.length == 0), t(8, D = d.length);
|
|
485
484
|
}, R = () => {
|
|
486
485
|
const l = new URL(`${a}/v1/casino/vendors`);
|
|
487
|
-
t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform",
|
|
486
|
+
t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform", we(E)), (g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`), J(l);
|
|
488
487
|
}, H = () => {
|
|
489
488
|
t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
|
|
490
489
|
[g]: d.map((l) => l.id)
|
|
@@ -492,7 +491,7 @@ function Me(r, e, t) {
|
|
|
492
491
|
}, q = (l) => {
|
|
493
492
|
l.data.type == "SortingOpened" && t(4, k = !1);
|
|
494
493
|
};
|
|
495
|
-
|
|
494
|
+
ve(() => (window.addEventListener("message", q, !1), () => {
|
|
496
495
|
window.removeEventListener("message", q);
|
|
497
496
|
}));
|
|
498
497
|
const X = () => L();
|
|
@@ -501,7 +500,7 @@ function Me(r, e, t) {
|
|
|
501
500
|
}
|
|
502
501
|
const G = (l) => U(l), S = () => H();
|
|
503
502
|
function N(l) {
|
|
504
|
-
|
|
503
|
+
_e[l ? "unshift" : "push"](() => {
|
|
505
504
|
x = l, t(3, x);
|
|
506
505
|
});
|
|
507
506
|
}
|
|
@@ -543,14 +542,14 @@ function Me(r, e, t) {
|
|
|
543
542
|
N
|
|
544
543
|
];
|
|
545
544
|
}
|
|
546
|
-
class
|
|
545
|
+
class Me extends ue {
|
|
547
546
|
constructor(e) {
|
|
548
|
-
super(),
|
|
547
|
+
super(), me(
|
|
549
548
|
this,
|
|
550
549
|
e,
|
|
551
|
-
Me,
|
|
552
550
|
Ee,
|
|
553
|
-
|
|
551
|
+
Oe,
|
|
552
|
+
Fe,
|
|
554
553
|
{
|
|
555
554
|
endpoint: 15,
|
|
556
555
|
datasource: 16,
|
|
@@ -563,7 +562,7 @@ class Ne extends me {
|
|
|
563
562
|
addsortingselector: 1,
|
|
564
563
|
filterbylogo: 2
|
|
565
564
|
},
|
|
566
|
-
|
|
565
|
+
Se,
|
|
567
566
|
[-1, -1]
|
|
568
567
|
);
|
|
569
568
|
}
|
|
@@ -628,7 +627,7 @@ class Ne extends me {
|
|
|
628
627
|
this.$$set({ filterbylogo: e }), I();
|
|
629
628
|
}
|
|
630
629
|
}
|
|
631
|
-
|
|
630
|
+
he(Me, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
|
|
632
631
|
export {
|
|
633
|
-
|
|
632
|
+
Me as default
|
|
634
633
|
};
|