@everymatrix/casino-lobby 1.53.0 → 1.53.10
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-0AyYaYr6.js → CasinoCalendar-Ic3lq1UY.js} +1738 -1707
- package/components/CasinoCalendarDailyDetails-buDoufAV.js +701 -0
- package/components/CasinoCalendarDailyItem-koPRd703.js +315 -0
- package/components/{CasinoCategoriesSlider-DZ3Xi2sD.js → CasinoCategoriesSlider-Bp9JHeM_.js} +24 -24
- package/components/{CasinoCollectionsProviders-CNZ2cCAe.js → CasinoCollectionsProviders-CrpNb22N.js} +241 -246
- package/components/{CasinoFavoritesSection-nPP9uMBT.js → CasinoFavoritesSection-C1XEW6Z6.js} +19 -19
- package/components/{CasinoFilter-CxB9D2A4.js → CasinoFilter-CYZHW74M.js} +79 -80
- package/components/{CasinoGamePage-CDh-e6Wj.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
- package/components/{CasinoGameThumbnail-B7A74Vsr.js → CasinoGameThumbnail-zLPpnkNm.js} +342 -358
- package/components/{CasinoGamesCategorySection-DcPbkQ1J.js → CasinoGamesCategorySection-DMGyKJ-j.js} +1104 -1135
- package/components/{CasinoJackpotBanner-DPuhYIS9.js → CasinoJackpotBanner-CL7SMQDH.js} +174 -178
- package/components/{CasinoLastPlayedSection-Bh4HPjN6.js → CasinoLastPlayedSection-Cm6BF1pV.js} +20 -20
- package/components/{CasinoLobby-D9bnqJ-e.js → CasinoLobby-DPo1HzH2.js} +56 -56
- package/components/{CasinoModal-CDlxjS83.js → CasinoModal-z0xixUlG.js} +66 -66
- package/components/{CasinoMostPlayedSection-Dvzz1ZMp.js → CasinoMostPlayedSection-CA67PY54.js} +26 -26
- package/components/{CasinoMyGames-DcQjF0G5.js → CasinoMyGames-DvJ46R6O.js} +72 -73
- package/components/{CasinoPage-HvM3Nh7b.js → CasinoPage-CfEe4r2D.js} +812 -815
- package/components/{CasinoRandomGame-Cw331FLx.js → CasinoRandomGame-efA8CEqy.js} +232 -248
- package/components/{CasinoSearch-DE7Dd1yO.js → CasinoSearch-CZ5ggDbP.js} +232 -234
- package/components/{CasinoSlider-b2MX1hWZ.js → CasinoSlider-BPqJIB5d.js} +226 -232
- package/components/{CasinoSort-ContI1pC.js → CasinoSort-CBtcK7i0.js} +19 -20
- package/components/{CasinoWinners-BZNLRgvw.js → CasinoWinners-Db2ivy-R.js} +151 -153
- package/components/{GeneralAnimationLoading-C-B40oIV.js → GeneralAnimationLoading-DiwFEyef.js} +3 -3
- package/esnext/casino-lobby.js +14 -0
- package/package.json +8 -15
- package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
- package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
- package/components/CasinoCalendar-aMUXtMPt.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-Djpw089y.js +0 -605
- package/components/CasinoCalendarDailyDetails-DvaXsJ6J.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BNFG5z35.js +0 -220
- package/components/CasinoCalendarDailyItem-CMMlKWuC.cjs +0 -1
- package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +0 -1
- package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +0 -1
- package/components/CasinoFavoritesSection-BKjicWtD.cjs +0 -1
- package/components/CasinoFilter-DdhssY81.cjs +0 -1
- package/components/CasinoGamePage-D-wyPyQN.cjs +0 -18
- package/components/CasinoGameThumbnail-DpkiaEqW.cjs +0 -38
- package/components/CasinoGamesCategorySection-Cc1Rm1Na.cjs +0 -1
- package/components/CasinoJackpotBanner-BlShS5Vc.cjs +0 -1
- package/components/CasinoLastPlayedSection-B31ODrlT.cjs +0 -1
- package/components/CasinoLobby-Div4S8Zy.cjs +0 -1
- package/components/CasinoModal-BYPHyNGp.cjs +0 -1
- package/components/CasinoMostPlayedSection-DqIAwpb6.cjs +0 -1
- package/components/CasinoMyGames-BFpFNq0j.cjs +0 -1
- package/components/CasinoPage-DuifBwkY.cjs +0 -1
- package/components/CasinoRandomGame-BpdxwlFB.cjs +0 -2
- package/components/CasinoSearch-Btc8Ivnp.cjs +0 -1
- package/components/CasinoSlider-GXmtset2.cjs +0 -1
- package/components/CasinoSort-Bb3WIr_q.cjs +0 -1
- package/components/CasinoWinners-B4eUo0-6.cjs +0 -1
- package/components/GeneralAnimationLoading-CtmRY9AI.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-CQe5iDJ8.cjs +0 -371
- package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
- package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as ie, S as ne, i as se, f
|
|
1
|
+
import { a0 as ie, S as ne, i as se, f, c as oe, s as le, b as ae, H as re, d as v, h as L, t as B, g as de, j as R, o as ue, p as j, e as W, r as ce, v as r, O, w as F, P as fe, x as ge, y as P, z as A, A as T, a1 as U, l as me, m as I, W as he, n as q, G as x, D as we } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
2
|
function N(n, { delay: e = 0, duration: i = 400, easing: s = ie } = {}) {
|
|
3
3
|
const o = +getComputedStyle(n).opacity;
|
|
4
4
|
return {
|
|
@@ -11,9 +11,9 @@ function N(n, { delay: e = 0, duration: i = 400, easing: s = ie } = {}) {
|
|
|
11
11
|
function _e(n) {
|
|
12
12
|
ae(n, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
|
|
13
13
|
}
|
|
14
|
-
const pe = (n) => ({}),
|
|
15
|
-
function
|
|
16
|
-
let e, i, s, o, a,
|
|
14
|
+
const pe = (n) => ({}), V = (n) => ({});
|
|
15
|
+
function J(n) {
|
|
16
|
+
let e, i, s, o, a, h, k, c, u, p, y;
|
|
17
17
|
const C = (
|
|
18
18
|
/*#slots*/
|
|
19
19
|
n[19].default
|
|
@@ -26,24 +26,24 @@ function V(n) {
|
|
|
26
26
|
), M = (
|
|
27
27
|
/*#slots*/
|
|
28
28
|
n[19].close
|
|
29
|
-
),
|
|
29
|
+
), g = j(
|
|
30
30
|
M,
|
|
31
31
|
n,
|
|
32
32
|
/*$$scope*/
|
|
33
33
|
n[18],
|
|
34
|
-
|
|
35
|
-
),
|
|
34
|
+
V
|
|
35
|
+
), w = g || ye();
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = W("div"), i = W("div"), s = W("div"), d && d.c(), o = ce(), a = W("span"),
|
|
38
|
+
e = W("div"), i = W("div"), s = W("div"), d && d.c(), o = ce(), a = W("span"), w.c(), r(s, "class", "ModalContainer"), r(s, "part", "ModalContainer"), r(a, "class", h = "ModalCloseBtn " + /*haspanicbutton*/
|
|
39
39
|
(n[1] == "true" && /*mobileView*/
|
|
40
|
-
n[3] ? "ModalPanicCloseButton" : "")), r(a, "role", "button"), r(i, "class", "ModalWindow"), r(i, "part", "ModalWindow"), r(i, "id", "Modal"),
|
|
40
|
+
n[3] ? "ModalPanicCloseButton" : "")), r(a, "role", "button"), r(i, "class", "ModalWindow"), r(i, "part", "ModalWindow"), r(i, "id", "Modal"), O(() => (
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
n[21].call(i)
|
|
43
43
|
)), r(e, "part", "CustomStylingContainer");
|
|
44
44
|
},
|
|
45
|
-
m(l,
|
|
46
|
-
v(l, e,
|
|
45
|
+
m(l, m) {
|
|
46
|
+
v(l, e, m), F(e, i), F(i, s), d && d.m(s, null), F(i, o), F(i, a), w.m(a, null), n[20](i), k = fe(
|
|
47
47
|
i,
|
|
48
48
|
/*div1_elementresize_handler*/
|
|
49
49
|
n[21].bind(i)
|
|
@@ -54,9 +54,9 @@ function V(n) {
|
|
|
54
54
|
n[8]
|
|
55
55
|
), p = !0);
|
|
56
56
|
},
|
|
57
|
-
p(l,
|
|
58
|
-
n = l, d && d.p && (!u ||
|
|
59
|
-
262144) &&
|
|
57
|
+
p(l, m) {
|
|
58
|
+
n = l, d && d.p && (!u || m[0] & /*$$scope*/
|
|
59
|
+
262144) && P(
|
|
60
60
|
d,
|
|
61
61
|
C,
|
|
62
62
|
n,
|
|
@@ -66,16 +66,16 @@ function V(n) {
|
|
|
66
66
|
C,
|
|
67
67
|
/*$$scope*/
|
|
68
68
|
n[18],
|
|
69
|
-
|
|
69
|
+
m,
|
|
70
70
|
null
|
|
71
|
-
) :
|
|
71
|
+
) : A(
|
|
72
72
|
/*$$scope*/
|
|
73
73
|
n[18]
|
|
74
74
|
),
|
|
75
75
|
null
|
|
76
|
-
),
|
|
77
|
-
262144) &&
|
|
78
|
-
|
|
76
|
+
), g && g.p && (!u || m[0] & /*$$scope*/
|
|
77
|
+
262144) && P(
|
|
78
|
+
g,
|
|
79
79
|
M,
|
|
80
80
|
n,
|
|
81
81
|
/*$$scope*/
|
|
@@ -84,20 +84,20 @@ function V(n) {
|
|
|
84
84
|
M,
|
|
85
85
|
/*$$scope*/
|
|
86
86
|
n[18],
|
|
87
|
-
|
|
87
|
+
m,
|
|
88
88
|
pe
|
|
89
|
-
) :
|
|
89
|
+
) : A(
|
|
90
90
|
/*$$scope*/
|
|
91
91
|
n[18]
|
|
92
92
|
),
|
|
93
|
-
|
|
94
|
-
), (!u ||
|
|
95
|
-
10 &&
|
|
93
|
+
V
|
|
94
|
+
), (!u || m[0] & /*haspanicbutton, mobileView*/
|
|
95
|
+
10 && h !== (h = "ModalCloseBtn " + /*haspanicbutton*/
|
|
96
96
|
(n[1] == "true" && /*mobileView*/
|
|
97
|
-
n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class",
|
|
97
|
+
n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class", h);
|
|
98
98
|
},
|
|
99
99
|
i(l) {
|
|
100
|
-
u || (L(d, l), L(
|
|
100
|
+
u || (L(d, l), L(w, l), l && O(() => {
|
|
101
101
|
u && (c || (c = U(i, N, { transitionDuration: (
|
|
102
102
|
/*duration*/
|
|
103
103
|
n[0]
|
|
@@ -105,13 +105,13 @@ function V(n) {
|
|
|
105
105
|
}), u = !0);
|
|
106
106
|
},
|
|
107
107
|
o(l) {
|
|
108
|
-
B(d, l), B(
|
|
108
|
+
B(d, l), B(w, l), l && (c || (c = U(i, N, { transitionDuration: (
|
|
109
109
|
/*duration*/
|
|
110
110
|
n[0]
|
|
111
111
|
) }, !1)), c.run(0)), u = !1;
|
|
112
112
|
},
|
|
113
113
|
d(l) {
|
|
114
|
-
l && R(e), d && d.d(l),
|
|
114
|
+
l && R(e), d && d.d(l), w.d(l), n[20](null), k(), l && c && c.end(), n[22](null), p = !1, y();
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
@@ -119,7 +119,7 @@ function ye(n) {
|
|
|
119
119
|
let e, i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
e =
|
|
122
|
+
e = x("svg"), i = x("path"), r(i, "stroke-linecap", "round"), r(i, "stroke-linejoin", "round"), r(i, "stroke-width", "2"), r(i, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
123
123
|
},
|
|
124
124
|
m(s, o) {
|
|
125
125
|
v(s, e, o), F(e, i);
|
|
@@ -133,7 +133,7 @@ function ye(n) {
|
|
|
133
133
|
function Me(n) {
|
|
134
134
|
let e, i, s = (
|
|
135
135
|
/*show*/
|
|
136
|
-
n[7] &&
|
|
136
|
+
n[7] && J(n)
|
|
137
137
|
);
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
@@ -145,7 +145,7 @@ function Me(n) {
|
|
|
145
145
|
p(o, a) {
|
|
146
146
|
/*show*/
|
|
147
147
|
o[7] ? s ? (s.p(o, a), a[0] & /*show*/
|
|
148
|
-
128 && L(s, 1)) : (s =
|
|
148
|
+
128 && L(s, 1)) : (s = J(o), s.c(), L(s, 1), s.m(e.parentNode, e)) : s && (me(), B(s, 1, 1, () => {
|
|
149
149
|
s = null;
|
|
150
150
|
}), de());
|
|
151
151
|
},
|
|
@@ -161,9 +161,9 @@ function Me(n) {
|
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function be(n, e, i) {
|
|
164
|
-
let { $$slots: s = {}, $$scope: o } = e, { duration: a = 350 } = e, { session:
|
|
165
|
-
const
|
|
166
|
-
i(7, S = !1), i(3, l = I(
|
|
164
|
+
let { $$slots: s = {}, $$scope: o } = e, { duration: a = 350 } = e, { session: h = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: p = "" } = e, { endpoint: y = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: g = "false" } = e, w = window.navigator.userAgent, l = !1, m = !1, _, b, D, G, S = !1;
|
|
165
|
+
const K = () => {
|
|
166
|
+
i(7, S = !1), i(3, l = I(w)), window.postMessage(
|
|
167
167
|
{
|
|
168
168
|
type: "ModalClosed",
|
|
169
169
|
gamepagemodalurl: d,
|
|
@@ -172,30 +172,30 @@ function be(n, e, i) {
|
|
|
172
172
|
},
|
|
173
173
|
window.location.href
|
|
174
174
|
);
|
|
175
|
-
},
|
|
176
|
-
if (t.data.type == "ShowModal" && u == t.data.identifier && (i(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type == "ModalClosed" && (
|
|
175
|
+
}, H = (t) => {
|
|
176
|
+
if (t.data.type == "ShowModal" && u == t.data.identifier && (i(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type == "ModalClosed" && (g === "true" || I(w)) && i(7, S = !1), t.data.type === "ShowGameModal" && (i(7, S = !0), window.postMessage(
|
|
177
177
|
{
|
|
178
178
|
type: "GameLaunchID",
|
|
179
179
|
gameId: t.data.gameId
|
|
180
180
|
},
|
|
181
181
|
window.location.href
|
|
182
|
-
),
|
|
182
|
+
), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "OpenGameFrameModal" && (i(7, S = !0), window.postMessage(
|
|
183
183
|
{
|
|
184
184
|
type: "LaunchGameFrame",
|
|
185
185
|
gameId: t.data.gameId,
|
|
186
186
|
gameFunMode: t.data.gamefunmode
|
|
187
187
|
},
|
|
188
188
|
window.location.href
|
|
189
|
-
),
|
|
189
|
+
), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "RequestModalSize") {
|
|
190
190
|
let z = {
|
|
191
191
|
modalWidth: _ ? getComputedStyle(_).width : null,
|
|
192
192
|
modalHeight: _ ? getComputedStyle(_).height : null
|
|
193
193
|
};
|
|
194
194
|
window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
|
|
195
195
|
}
|
|
196
|
-
t.data.type === "GameStateOnResize" && (
|
|
197
|
-
},
|
|
198
|
-
if (
|
|
196
|
+
t.data.type === "GameStateOnResize" && (m = t.data.detailsObtained);
|
|
197
|
+
}, Q = (t) => {
|
|
198
|
+
if (m) {
|
|
199
199
|
let z = {
|
|
200
200
|
modalWidth: getComputedStyle(_).width,
|
|
201
201
|
modalHeight: getComputedStyle(_).height
|
|
@@ -203,7 +203,7 @@ function be(n, e, i) {
|
|
|
203
203
|
window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
|
|
204
204
|
}
|
|
205
205
|
}, X = () => {
|
|
206
|
-
M == "true" && he(y,
|
|
206
|
+
M == "true" && he(y, h).then(
|
|
207
207
|
(t) => {
|
|
208
208
|
t.Guid, t.UserID;
|
|
209
209
|
},
|
|
@@ -216,8 +216,8 @@ function be(n, e, i) {
|
|
|
216
216
|
t.innerHTML = c, b.appendChild(t);
|
|
217
217
|
}, Z = () => {
|
|
218
218
|
let t = new URL(p), z = document.createElement("style");
|
|
219
|
-
fetch(t.href).then((
|
|
220
|
-
z.innerHTML =
|
|
219
|
+
fetch(t.href).then((E) => E.text()).then((E) => {
|
|
220
|
+
z.innerHTML = E, setTimeout(
|
|
221
221
|
() => {
|
|
222
222
|
b.appendChild(z);
|
|
223
223
|
},
|
|
@@ -225,27 +225,27 @@ function be(n, e, i) {
|
|
|
225
225
|
);
|
|
226
226
|
});
|
|
227
227
|
};
|
|
228
|
-
ue(() => (i(3, l = I(
|
|
229
|
-
window.removeEventListener("message",
|
|
228
|
+
ue(() => (i(3, l = I(w)), window.addEventListener("message", H, !1), window.addEventListener("resize", Q, !1), () => {
|
|
229
|
+
window.removeEventListener("message", H), window.removeEventListener("resize", H);
|
|
230
230
|
}));
|
|
231
231
|
function $(t) {
|
|
232
|
-
|
|
232
|
+
q[t ? "unshift" : "push"](() => {
|
|
233
233
|
_ = t, i(4, _);
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
function ee() {
|
|
237
|
-
D = this.clientWidth,
|
|
237
|
+
D = this.clientWidth, G = this.clientHeight, i(5, D), i(6, G);
|
|
238
238
|
}
|
|
239
239
|
function te(t) {
|
|
240
|
-
|
|
240
|
+
q[t ? "unshift" : "push"](() => {
|
|
241
241
|
b = t, i(2, b);
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
return n.$$set = (t) => {
|
|
245
|
-
"duration" in t && i(0, a = t.duration), "session" in t && i(9,
|
|
245
|
+
"duration" in t && i(0, a = t.duration), "session" in t && i(9, h = t.session), "userid" in t && i(10, k = t.userid), "clientstyling" in t && i(11, c = t.clientstyling), "identifier" in t && i(12, u = t.identifier), "clientstylingurl" in t && i(13, p = t.clientstylingurl), "endpoint" in t && i(14, y = t.endpoint), "haspanicbutton" in t && i(1, C = t.haspanicbutton), "gamepagemodalurl" in t && i(15, d = t.gamepagemodalurl), "sessioncheck" in t && i(16, M = t.sessioncheck), "integratedgameframedesktop" in t && i(17, g = t.integratedgameframedesktop), "$$scope" in t && i(18, o = t.$$scope);
|
|
246
246
|
}, n.$$.update = () => {
|
|
247
247
|
n.$$.dirty[0] & /*session, userid, endpoint*/
|
|
248
|
-
17920 &&
|
|
248
|
+
17920 && h && k && y && X(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
249
249
|
2052 && c && b && Y(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
250
250
|
8196 && p && b && Z();
|
|
251
251
|
}, [
|
|
@@ -255,10 +255,10 @@ function be(n, e, i) {
|
|
|
255
255
|
l,
|
|
256
256
|
_,
|
|
257
257
|
D,
|
|
258
|
-
|
|
258
|
+
G,
|
|
259
259
|
S,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
K,
|
|
261
|
+
h,
|
|
262
262
|
k,
|
|
263
263
|
c,
|
|
264
264
|
u,
|
|
@@ -266,7 +266,7 @@ function be(n, e, i) {
|
|
|
266
266
|
y,
|
|
267
267
|
d,
|
|
268
268
|
M,
|
|
269
|
-
|
|
269
|
+
g,
|
|
270
270
|
o,
|
|
271
271
|
s,
|
|
272
272
|
$,
|
|
@@ -303,67 +303,67 @@ class ke extends ne {
|
|
|
303
303
|
return this.$$.ctx[0];
|
|
304
304
|
}
|
|
305
305
|
set duration(e) {
|
|
306
|
-
this.$$set({ duration: e }),
|
|
306
|
+
this.$$set({ duration: e }), f();
|
|
307
307
|
}
|
|
308
308
|
get session() {
|
|
309
309
|
return this.$$.ctx[9];
|
|
310
310
|
}
|
|
311
311
|
set session(e) {
|
|
312
|
-
this.$$set({ session: e }),
|
|
312
|
+
this.$$set({ session: e }), f();
|
|
313
313
|
}
|
|
314
314
|
get userid() {
|
|
315
315
|
return this.$$.ctx[10];
|
|
316
316
|
}
|
|
317
317
|
set userid(e) {
|
|
318
|
-
this.$$set({ userid: e }),
|
|
318
|
+
this.$$set({ userid: e }), f();
|
|
319
319
|
}
|
|
320
320
|
get clientstyling() {
|
|
321
321
|
return this.$$.ctx[11];
|
|
322
322
|
}
|
|
323
323
|
set clientstyling(e) {
|
|
324
|
-
this.$$set({ clientstyling: e }),
|
|
324
|
+
this.$$set({ clientstyling: e }), f();
|
|
325
325
|
}
|
|
326
326
|
get identifier() {
|
|
327
327
|
return this.$$.ctx[12];
|
|
328
328
|
}
|
|
329
329
|
set identifier(e) {
|
|
330
|
-
this.$$set({ identifier: e }),
|
|
330
|
+
this.$$set({ identifier: e }), f();
|
|
331
331
|
}
|
|
332
332
|
get clientstylingurl() {
|
|
333
333
|
return this.$$.ctx[13];
|
|
334
334
|
}
|
|
335
335
|
set clientstylingurl(e) {
|
|
336
|
-
this.$$set({ clientstylingurl: e }),
|
|
336
|
+
this.$$set({ clientstylingurl: e }), f();
|
|
337
337
|
}
|
|
338
338
|
get endpoint() {
|
|
339
339
|
return this.$$.ctx[14];
|
|
340
340
|
}
|
|
341
341
|
set endpoint(e) {
|
|
342
|
-
this.$$set({ endpoint: e }),
|
|
342
|
+
this.$$set({ endpoint: e }), f();
|
|
343
343
|
}
|
|
344
344
|
get haspanicbutton() {
|
|
345
345
|
return this.$$.ctx[1];
|
|
346
346
|
}
|
|
347
347
|
set haspanicbutton(e) {
|
|
348
|
-
this.$$set({ haspanicbutton: e }),
|
|
348
|
+
this.$$set({ haspanicbutton: e }), f();
|
|
349
349
|
}
|
|
350
350
|
get gamepagemodalurl() {
|
|
351
351
|
return this.$$.ctx[15];
|
|
352
352
|
}
|
|
353
353
|
set gamepagemodalurl(e) {
|
|
354
|
-
this.$$set({ gamepagemodalurl: e }),
|
|
354
|
+
this.$$set({ gamepagemodalurl: e }), f();
|
|
355
355
|
}
|
|
356
356
|
get sessioncheck() {
|
|
357
357
|
return this.$$.ctx[16];
|
|
358
358
|
}
|
|
359
359
|
set sessioncheck(e) {
|
|
360
|
-
this.$$set({ sessioncheck: e }),
|
|
360
|
+
this.$$set({ sessioncheck: e }), f();
|
|
361
361
|
}
|
|
362
362
|
get integratedgameframedesktop() {
|
|
363
363
|
return this.$$.ctx[17];
|
|
364
364
|
}
|
|
365
365
|
set integratedgameframedesktop(e) {
|
|
366
|
-
this.$$set({ integratedgameframedesktop: e }),
|
|
366
|
+
this.$$set({ integratedgameframedesktop: e }), f();
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
oe(ke, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {} }, ["default", "close"], [], !0);
|
package/components/{CasinoMostPlayedSection-Dvzz1ZMp.js → CasinoMostPlayedSection-CA67PY54.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, v as S, d as M, w as J, D as H, j as A, k as le, K as me, n as re, L as n, u as ge, B as ce, F as de } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
+
import "./CasinoFavoritesSection-C1XEW6Z6.js";
|
|
3
|
+
function I(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ue(a) {
|
|
7
7
|
te.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -157,7 +157,7 @@ function he(a) {
|
|
|
157
157
|
);
|
|
158
158
|
},
|
|
159
159
|
m(s, i) {
|
|
160
|
-
|
|
160
|
+
M(s, e, i);
|
|
161
161
|
},
|
|
162
162
|
p(s, i) {
|
|
163
163
|
i[0] & /*session*/
|
|
@@ -276,10 +276,10 @@ function ye(a) {
|
|
|
276
276
|
), i;
|
|
277
277
|
return {
|
|
278
278
|
c() {
|
|
279
|
-
e = N("p"), i = ge(s),
|
|
279
|
+
e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
|
|
280
280
|
},
|
|
281
281
|
m(r, m) {
|
|
282
|
-
|
|
282
|
+
M(r, e, m), J(e, i);
|
|
283
283
|
},
|
|
284
284
|
p(r, m) {
|
|
285
285
|
m[0] & /*$_*/
|
|
@@ -302,16 +302,16 @@ function ve(a) {
|
|
|
302
302
|
let r = i(a), m = r(a);
|
|
303
303
|
return {
|
|
304
304
|
c() {
|
|
305
|
-
e = N("div"), s = N("div"), m.c(),
|
|
305
|
+
e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
|
|
306
306
|
},
|
|
307
307
|
m(g, c) {
|
|
308
|
-
|
|
308
|
+
M(g, e, c), J(e, s), m.m(s, null), a[23](e);
|
|
309
309
|
},
|
|
310
310
|
p(g, c) {
|
|
311
311
|
r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
|
|
312
312
|
},
|
|
313
|
-
i:
|
|
314
|
-
o:
|
|
313
|
+
i: H,
|
|
314
|
+
o: H,
|
|
315
315
|
d(g) {
|
|
316
316
|
g && A(e), m.d(), a[23](null);
|
|
317
317
|
}
|
|
@@ -320,20 +320,20 @@ function ve(a) {
|
|
|
320
320
|
function be(a, e, s) {
|
|
321
321
|
let i;
|
|
322
322
|
le(a, de, (t) => s(19, i = t));
|
|
323
|
-
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop:
|
|
324
|
-
const
|
|
325
|
-
fetch(
|
|
323
|
+
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent;
|
|
324
|
+
const Y = () => {
|
|
325
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
326
326
|
Object.keys(o).forEach((d) => {
|
|
327
|
-
|
|
327
|
+
I(d, o[d]);
|
|
328
328
|
});
|
|
329
329
|
}).catch((o) => {
|
|
330
330
|
console.log(o);
|
|
331
331
|
});
|
|
332
332
|
};
|
|
333
|
-
Object.keys(
|
|
334
|
-
|
|
333
|
+
Object.keys(B).forEach((t) => {
|
|
334
|
+
I(t, B[t]);
|
|
335
335
|
});
|
|
336
|
-
let
|
|
336
|
+
let G = [], z, p = !1, h;
|
|
337
337
|
const Q = (t) => {
|
|
338
338
|
let o = new URL(`${r}/v1/player/${v}/games/most-played`);
|
|
339
339
|
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
@@ -341,8 +341,8 @@ function be(a, e, s) {
|
|
|
341
341
|
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((u, y) => {
|
|
342
342
|
fetch(z).then((f) => f.json()).then((f) => {
|
|
343
343
|
f.items = f.items.filter(($) => {
|
|
344
|
-
let
|
|
345
|
-
return $.gameCode == "OddsMatrix2" && (f.count--,
|
|
344
|
+
let q = !0;
|
|
345
|
+
return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
|
|
346
346
|
}), u(f);
|
|
347
347
|
}).catch((f) => {
|
|
348
348
|
console.error(f), y(f);
|
|
@@ -351,7 +351,7 @@ function be(a, e, s) {
|
|
|
351
351
|
}, V = () => {
|
|
352
352
|
Q({
|
|
353
353
|
limit: 100,
|
|
354
|
-
device: me(
|
|
354
|
+
device: me(K),
|
|
355
355
|
rounds: L
|
|
356
356
|
}).then((t) => {
|
|
357
357
|
if (t.count > 0) {
|
|
@@ -360,7 +360,7 @@ function be(a, e, s) {
|
|
|
360
360
|
let u = new URL(`${r}/v1/casino/games/${d.gameId}`);
|
|
361
361
|
u.searchParams.append("datasource", m), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
|
|
362
362
|
}), Promise.all(o).then((d) => {
|
|
363
|
-
|
|
363
|
+
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
364
364
|
});
|
|
365
365
|
} else
|
|
366
366
|
s(18, p = !0);
|
|
@@ -387,13 +387,13 @@ function be(a, e, s) {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
return a.$$set = (t) => {
|
|
390
|
-
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10,
|
|
390
|
+
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, D = t.gamepagemodalurl), "showgamename" in t && s(12, O = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
|
|
391
391
|
}, a.$$.update = () => {
|
|
392
392
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
393
|
41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
394
|
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
395
|
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
396
|
-
1048576 &&
|
|
396
|
+
1048576 && k && Y(), a.$$.dirty[0] & /*lang*/
|
|
397
397
|
8 && c && W();
|
|
398
398
|
}, [
|
|
399
399
|
r,
|
|
@@ -406,9 +406,9 @@ function be(a, e, s) {
|
|
|
406
406
|
_,
|
|
407
407
|
w,
|
|
408
408
|
F,
|
|
409
|
-
O,
|
|
410
409
|
T,
|
|
411
410
|
D,
|
|
411
|
+
O,
|
|
412
412
|
P,
|
|
413
413
|
R,
|
|
414
414
|
C,
|
|
@@ -416,7 +416,7 @@ function be(a, e, s) {
|
|
|
416
416
|
h,
|
|
417
417
|
p,
|
|
418
418
|
i,
|
|
419
|
-
|
|
419
|
+
k,
|
|
420
420
|
j,
|
|
421
421
|
L,
|
|
422
422
|
x
|