@everymatrix/casino-page-nd 1.53.12 → 1.54.0
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-pVz7jYqi.js → CasinoCalendar-B2vomzsf.js} +1205 -1166
- package/components/CasinoCalendar-CDVrxyQe.cjs +6 -0
- package/components/CasinoCalendarDailyDetails-7zAb7BF9.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-D7GkfhmR.js → CasinoCalendarDailyDetails-BCGdQSNl.js} +1 -1
- package/components/CasinoCalendarDailyItem-4YHj0r9V.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-CU9qMJji.js → CasinoCalendarDailyItem-BzgTjc6A.js} +1 -1
- package/components/CasinoCollectionsProviders-D4MAEEgW.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DxgdPTXN.js → CasinoCollectionsProviders-D6rovYy_.js} +242 -237
- package/components/CasinoFavoritesSectionNd-CbF2hHrz.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-B8EIXq01.js → CasinoFavoritesSectionNd-INQg8msA.js} +3 -3
- package/components/{CasinoFilter-C67EHGOs.js → CasinoFilter-BHlBiPqY.js} +54 -53
- package/components/CasinoFilter-BPHXroGh.cjs +1 -0
- package/components/{CasinoGameThumbnailNd-Dj9aITsK.js → CasinoGameThumbnailNd-4Vul04z-.js} +872 -856
- package/components/CasinoGameThumbnailNd-DX3_1UUn.cjs +39 -0
- package/components/CasinoGamesCategorySectionNd-CThuz0lZ.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-OZ2HaGrH.js → CasinoGamesCategorySectionNd-I0eWiZjs.js} +674 -643
- package/components/CasinoJackpotBanner-3tJsMybK.cjs +1 -0
- package/components/{CasinoJackpotBanner-BRQqqpK8.js → CasinoJackpotBanner-B2cH0DUh.js} +157 -153
- package/components/{CasinoLastPlayedSectionNd--_9buYZx.js → CasinoLastPlayedSectionNd-BSzJtQMf.js} +2 -2
- package/components/CasinoLastPlayedSectionNd-Msd6Q6lK.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-umJpV9lP.js → CasinoMostPlayedSectionNd-BP3wHHRU.js} +2 -2
- package/components/CasinoMostPlayedSectionNd-DbiLqqdm.cjs +1 -0
- package/components/CasinoMyGamesNd-B_-UbmIL.cjs +1 -0
- package/components/{CasinoMyGamesNd-Bosn4XLW.js → CasinoMyGamesNd-csZCp6GQ.js} +69 -68
- package/components/{CasinoPageNd-C2EI24cS.js → CasinoPageNd-BOEmR8fM.js} +343 -340
- package/components/CasinoPageNd-BgvDysBY.cjs +1 -0
- package/components/{CasinoRandomGame-BpYrX4Cp.js → CasinoRandomGame-6VOnC82y.js} +247 -231
- package/components/CasinoRandomGame-JdeKkDQP.cjs +2 -0
- package/components/{CasinoSearchNd-CmTarxBK.js → CasinoSearchNd-But6VEIj.js} +194 -192
- package/components/CasinoSearchNd-ClCSeV0E.cjs +1 -0
- package/components/CasinoSort-DBYruc_n.cjs +1 -0
- package/components/{CasinoSort-bFOcp6J4.js → CasinoSort-Du-XHuIh.js} +3 -2
- package/components/CasinoWinners-BUUOGc9x.cjs +1 -0
- package/components/{CasinoWinners-BUoqMo1a.js → CasinoWinners-D8QknKKW.js} +148 -146
- package/components/{GeneralAnimationLoading-CC5IRZHm.js → GeneralAnimationLoading-B16w9fAI.js} +1 -1
- package/components/GeneralAnimationLoading-BnTkXHOJ.cjs +1 -0
- package/es2015/casino-page-nd.cjs +1 -0
- package/es2015/casino-page-nd.js +16 -0
- package/package.json +19 -12
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CdK9RTmU.js} +62 -44
- package/stencil/casino-play-random-game-D5-NhS5J.cjs +371 -0
- package/stencil/{index-47910d1c-CWwDm8i3.js → index-47910d1c-BJIxkb-p.js} +238 -222
- package/stencil/index-47910d1c-CDXxJ6XN.cjs +1 -0
- package/esnext/casino-page-nd.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Te, $ as Se, S as We, i as Ae, f as j, c as Ie, s as
|
|
1
|
+
import { a as Te, $ as Se, S as We, i as Ae, f as j, c as Ie, s as Ve, b as Je, e as c, d as M, D as be, j as R, n as Ne, r as B, v as i, I as ye, E as J, w as l, x as ze, m as Ee, u as W, B as A, q as we, H as Ue, C as De } from "./CasinoCalendar-B2vomzsf.js";
|
|
2
2
|
function Ce(n, e) {
|
|
3
3
|
Te(n, e);
|
|
4
4
|
}
|
|
@@ -44,58 +44,58 @@ const Le = {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
function He(n) {
|
|
47
|
-
|
|
47
|
+
Je(n, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.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--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
48
48
|
}
|
|
49
49
|
function xe(n, e, t) {
|
|
50
50
|
const s = n.slice();
|
|
51
51
|
return s[48] = e[t], s[50] = t, s;
|
|
52
52
|
}
|
|
53
53
|
function Me(n) {
|
|
54
|
-
let e, t, s, r, p, o,
|
|
55
|
-
function
|
|
54
|
+
let e, t, s, r, p, o, C, w, f, L, v, T, S, b, I;
|
|
55
|
+
function m(d, x) {
|
|
56
56
|
return (
|
|
57
57
|
/*tabletView*/
|
|
58
58
|
d[5] ? Pe : qe
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
let
|
|
61
|
+
let h = m(n), g = h(n);
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
e = c("div"), t = c("div"), s = c("div"), r = c("div"), p = B(), o = c("div"),
|
|
65
|
-
n[6] + ")"), i(o, "class", "displayContainer"),
|
|
66
|
-
n[11]) || i(
|
|
64
|
+
e = c("div"), t = c("div"), s = c("div"), r = c("div"), p = B(), o = c("div"), g.c(), C = B(), w = c("div"), f = c("img"), i(r, "class", "vendorLogo"), ye(r, "background-image", "url(" + /*vendorIcon*/
|
|
65
|
+
n[6] + ")"), i(o, "class", "displayContainer"), J(f.src, L = /*titleLogoImg*/
|
|
66
|
+
n[11]) || i(f, "src", L), i(f, "alt", ""), i(w, "class", "title"), i(s, "class", v = "mainWrapper " + /*visualstructure*/
|
|
67
67
|
n[0] + " " + /*mobileView*/
|
|
68
68
|
(n[4] && !/*tabletView*/
|
|
69
69
|
n[5] ? "mobile" : (
|
|
70
70
|
/*tabletView*/
|
|
71
71
|
n[5] ? "tablet" : ""
|
|
72
|
-
))),
|
|
72
|
+
))), ye(s, "background", "url(" + /*backgroundImg*/
|
|
73
73
|
n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", T = /*displayNone*/
|
|
74
74
|
n[12] ? "DisplayNone" : ""), i(e, "part", S = /*displayNone*/
|
|
75
75
|
n[12] ? "DisplayNone" : "");
|
|
76
76
|
},
|
|
77
77
|
m(d, x) {
|
|
78
|
-
M(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o),
|
|
78
|
+
M(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o), g.m(o, null), l(s, C), l(s, w), l(w, f), b || (I = ze(
|
|
79
79
|
t,
|
|
80
80
|
"click",
|
|
81
81
|
/*click_handler*/
|
|
82
82
|
n[31]
|
|
83
|
-
),
|
|
83
|
+
), b = !0);
|
|
84
84
|
},
|
|
85
85
|
p(d, x) {
|
|
86
86
|
x[0] & /*vendorIcon*/
|
|
87
|
-
64 &&
|
|
88
|
-
d[6] + ")"),
|
|
89
|
-
2048 && !
|
|
90
|
-
d[11]) && i(
|
|
91
|
-
49 &&
|
|
87
|
+
64 && ye(r, "background-image", "url(" + /*vendorIcon*/
|
|
88
|
+
d[6] + ")"), h === (h = m(d)) && g ? g.p(d, x) : (g.d(1), g = h(d), g && (g.c(), g.m(o, null))), x[0] & /*titleLogoImg*/
|
|
89
|
+
2048 && !J(f.src, L = /*titleLogoImg*/
|
|
90
|
+
d[11]) && i(f, "src", L), x[0] & /*visualstructure, mobileView, tabletView*/
|
|
91
|
+
49 && v !== (v = "mainWrapper " + /*visualstructure*/
|
|
92
92
|
d[0] + " " + /*mobileView*/
|
|
93
93
|
(d[4] && !/*tabletView*/
|
|
94
94
|
d[5] ? "mobile" : (
|
|
95
95
|
/*tabletView*/
|
|
96
96
|
d[5] ? "tablet" : ""
|
|
97
|
-
))) && i(s, "class",
|
|
98
|
-
1024 &&
|
|
97
|
+
))) && i(s, "class", v), x[0] & /*backgroundImg*/
|
|
98
|
+
1024 && ye(s, "background", "url(" + /*backgroundImg*/
|
|
99
99
|
d[10] + ")"), x[0] & /*displayNone*/
|
|
100
100
|
4096 && T !== (T = /*displayNone*/
|
|
101
101
|
d[12] ? "DisplayNone" : "") && i(e, "class", T), x[0] & /*displayNone*/
|
|
@@ -103,7 +103,7 @@ function Me(n) {
|
|
|
103
103
|
d[12] ? "DisplayNone" : "") && i(e, "part", S);
|
|
104
104
|
},
|
|
105
105
|
d(d) {
|
|
106
|
-
d && R(e),
|
|
106
|
+
d && R(e), g.d(), b = !1, I();
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -116,7 +116,7 @@ function Re(n) {
|
|
|
116
116
|
m(t, s) {
|
|
117
117
|
M(t, e, s);
|
|
118
118
|
},
|
|
119
|
-
p:
|
|
119
|
+
p: be,
|
|
120
120
|
d(t) {
|
|
121
121
|
t && R(e);
|
|
122
122
|
}
|
|
@@ -131,110 +131,110 @@ function Oe(n) {
|
|
|
131
131
|
m(t, s) {
|
|
132
132
|
M(t, e, s);
|
|
133
133
|
},
|
|
134
|
-
p:
|
|
134
|
+
p: be,
|
|
135
135
|
d(t) {
|
|
136
136
|
t && R(e);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
function Pe(n) {
|
|
141
|
-
let e, t, s, r, p, o,
|
|
141
|
+
let e, t, s, r, p, o, C = (
|
|
142
142
|
/*formattedLabels*/
|
|
143
143
|
n[8][0] + ""
|
|
144
|
-
),
|
|
144
|
+
), w, f, L, v = (
|
|
145
145
|
/*formattedJackpotValues*/
|
|
146
146
|
n[7][0] + ""
|
|
147
|
-
), T, S,
|
|
147
|
+
), T, S, b, I, m, h, g, d, x, O, P = (
|
|
148
148
|
/*formattedLabels*/
|
|
149
149
|
n[8][1] + ""
|
|
150
|
-
), $,
|
|
150
|
+
), $, E, H, Y = (
|
|
151
151
|
/*formattedJackpotValues*/
|
|
152
152
|
n[7][1] + ""
|
|
153
|
-
), ee, re, K, te,
|
|
153
|
+
), ee, re, K, te, N, z, U, q, V, ae, F, ie = (
|
|
154
154
|
/*formattedLabels*/
|
|
155
155
|
n[8][2] + ""
|
|
156
156
|
), ce, G, ne, le = (
|
|
157
157
|
/*formattedJackpotValues*/
|
|
158
158
|
n[7][2] + ""
|
|
159
|
-
), oe,
|
|
159
|
+
), oe, ue, Q, de, ge, X, Z, D, a, u, _ = (
|
|
160
160
|
/*formattedLabels*/
|
|
161
161
|
n[8][3] + ""
|
|
162
|
-
),
|
|
162
|
+
), pe, se, fe, me = (
|
|
163
163
|
/*formattedJackpotValues*/
|
|
164
164
|
n[7][3] + ""
|
|
165
|
-
), ve, ke,
|
|
165
|
+
), ve, ke, he, _e;
|
|
166
166
|
return {
|
|
167
167
|
c() {
|
|
168
|
-
e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"),
|
|
168
|
+
e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), w = W(C), f = c("span"), L = c("span"), T = W(v), S = B(), b = c("span"), I = W(
|
|
169
169
|
/*currency*/
|
|
170
170
|
n[1]
|
|
171
|
-
),
|
|
171
|
+
), m = B(), h = c("div"), g = c("div"), d = c("img"), O = c("span"), $ = W(P), E = c("span"), H = c("span"), ee = W(Y), re = B(), K = c("span"), te = W(
|
|
172
172
|
/*currency*/
|
|
173
173
|
n[1]
|
|
174
|
-
),
|
|
174
|
+
), N = B(), z = c("div"), U = c("div"), q = c("div"), V = c("img"), F = c("span"), ce = W(ie), G = c("span"), ne = c("span"), oe = W(le), ue = B(), Q = c("span"), de = W(
|
|
175
175
|
/*currency*/
|
|
176
176
|
n[1]
|
|
177
|
-
), ge = B(), X = c("div"), Z = c("div"),
|
|
177
|
+
), ge = B(), X = c("div"), Z = c("div"), D = c("img"), u = c("span"), pe = W(_), se = c("span"), fe = c("span"), ve = W(me), ke = B(), he = c("span"), _e = W(
|
|
178
178
|
/*currency*/
|
|
179
179
|
n[1]
|
|
180
|
-
), i(r, "class", "displayCardIcon"),
|
|
181
|
-
n[9][0]) || i(r, "src", p), i(r, "alt", ""), i(o, "class", "cardLabel"), i(s, "class", "iconWrapper"), i(
|
|
182
|
-
n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(
|
|
183
|
-
n[9][2]) || i(
|
|
184
|
-
n[9][3]) || i(
|
|
180
|
+
), i(r, "class", "displayCardIcon"), J(r.src, p = /*caticons*/
|
|
181
|
+
n[9][0]) || i(r, "src", p), i(r, "alt", ""), i(o, "class", "cardLabel"), i(s, "class", "iconWrapper"), i(L, "class", "jackpotValue"), i(b, "class", "jackpot-currency"), i(f, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(d, "class", "displayCardIcon"), J(d.src, x = /*caticons*/
|
|
182
|
+
n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(g, "class", "iconWrapper"), i(H, "class", "jackpotValue"), i(K, "class", "jackpot-currency"), i(E, "class", "cardTextWrapper"), i(h, "class", "displayCard"), i(e, "class", "pairWrapper"), i(V, "class", "displayCardIcon"), J(V.src, ae = /*caticons*/
|
|
183
|
+
n[9][2]) || i(V, "src", ae), i(V, "alt", ""), i(F, "class", "cardLabel"), i(q, "class", "iconWrapper"), i(ne, "class", "jackpotValue"), i(Q, "class", "jackpot-currency"), i(G, "class", "cardTextWrapper"), i(U, "class", "displayCard"), i(D, "class", "displayCardIcon"), J(D.src, a = /*caticons*/
|
|
184
|
+
n[9][3]) || i(D, "src", a), i(D, "alt", ""), i(u, "class", "cardLabel"), i(Z, "class", "iconWrapper"), i(fe, "class", "jackpotValue"), i(he, "class", "jackpot-currency"), i(se, "class", "cardTextWrapper"), i(X, "class", "displayCard"), i(z, "class", "pairWrapper");
|
|
185
185
|
},
|
|
186
|
-
m(
|
|
187
|
-
M(
|
|
186
|
+
m(y, k) {
|
|
187
|
+
M(y, e, k), l(e, t), l(t, s), l(s, r), l(s, o), l(o, w), l(t, f), l(f, L), l(L, T), l(f, S), l(f, b), l(b, I), l(e, m), l(e, h), l(h, g), l(g, d), l(g, O), l(O, $), l(h, E), l(E, H), l(H, ee), l(E, re), l(E, K), l(K, te), M(y, N, k), M(y, z, k), l(z, U), l(U, q), l(q, V), l(q, F), l(F, ce), l(U, G), l(G, ne), l(ne, oe), l(G, ue), l(G, Q), l(Q, de), l(z, ge), l(z, X), l(X, Z), l(Z, D), l(Z, u), l(u, pe), l(X, se), l(se, fe), l(fe, ve), l(se, ke), l(se, he), l(he, _e);
|
|
188
188
|
},
|
|
189
|
-
p(
|
|
190
|
-
|
|
191
|
-
512 && !
|
|
192
|
-
|
|
193
|
-
256 &&
|
|
194
|
-
|
|
195
|
-
128 &&
|
|
196
|
-
|
|
197
|
-
2 &&
|
|
198
|
-
|
|
189
|
+
p(y, k) {
|
|
190
|
+
k[0] & /*caticons*/
|
|
191
|
+
512 && !J(r.src, p = /*caticons*/
|
|
192
|
+
y[9][0]) && i(r, "src", p), k[0] & /*formattedLabels*/
|
|
193
|
+
256 && C !== (C = /*formattedLabels*/
|
|
194
|
+
y[8][0] + "") && A(w, C), k[0] & /*formattedJackpotValues*/
|
|
195
|
+
128 && v !== (v = /*formattedJackpotValues*/
|
|
196
|
+
y[7][0] + "") && A(T, v), k[0] & /*currency*/
|
|
197
|
+
2 && A(
|
|
198
|
+
I,
|
|
199
199
|
/*currency*/
|
|
200
|
-
|
|
201
|
-
),
|
|
202
|
-
512 && !
|
|
203
|
-
|
|
200
|
+
y[1]
|
|
201
|
+
), k[0] & /*caticons*/
|
|
202
|
+
512 && !J(d.src, x = /*caticons*/
|
|
203
|
+
y[9][1]) && i(d, "src", x), k[0] & /*formattedLabels*/
|
|
204
204
|
256 && P !== (P = /*formattedLabels*/
|
|
205
|
-
|
|
205
|
+
y[8][1] + "") && A($, P), k[0] & /*formattedJackpotValues*/
|
|
206
206
|
128 && Y !== (Y = /*formattedJackpotValues*/
|
|
207
|
-
|
|
208
|
-
2 &&
|
|
207
|
+
y[7][1] + "") && A(ee, Y), k[0] & /*currency*/
|
|
208
|
+
2 && A(
|
|
209
209
|
te,
|
|
210
210
|
/*currency*/
|
|
211
|
-
|
|
212
|
-
),
|
|
213
|
-
512 && !V
|
|
214
|
-
|
|
211
|
+
y[1]
|
|
212
|
+
), k[0] & /*caticons*/
|
|
213
|
+
512 && !J(V.src, ae = /*caticons*/
|
|
214
|
+
y[9][2]) && i(V, "src", ae), k[0] & /*formattedLabels*/
|
|
215
215
|
256 && ie !== (ie = /*formattedLabels*/
|
|
216
|
-
|
|
216
|
+
y[8][2] + "") && A(ce, ie), k[0] & /*formattedJackpotValues*/
|
|
217
217
|
128 && le !== (le = /*formattedJackpotValues*/
|
|
218
|
-
|
|
219
|
-
2 &&
|
|
218
|
+
y[7][2] + "") && A(oe, le), k[0] & /*currency*/
|
|
219
|
+
2 && A(
|
|
220
220
|
de,
|
|
221
221
|
/*currency*/
|
|
222
|
-
|
|
223
|
-
),
|
|
224
|
-
512 && !
|
|
225
|
-
|
|
226
|
-
256 &&
|
|
227
|
-
|
|
228
|
-
128 &&
|
|
229
|
-
|
|
230
|
-
2 &&
|
|
222
|
+
y[1]
|
|
223
|
+
), k[0] & /*caticons*/
|
|
224
|
+
512 && !J(D.src, a = /*caticons*/
|
|
225
|
+
y[9][3]) && i(D, "src", a), k[0] & /*formattedLabels*/
|
|
226
|
+
256 && _ !== (_ = /*formattedLabels*/
|
|
227
|
+
y[8][3] + "") && A(pe, _), k[0] & /*formattedJackpotValues*/
|
|
228
|
+
128 && me !== (me = /*formattedJackpotValues*/
|
|
229
|
+
y[7][3] + "") && A(ve, me), k[0] & /*currency*/
|
|
230
|
+
2 && A(
|
|
231
231
|
_e,
|
|
232
232
|
/*currency*/
|
|
233
|
-
|
|
233
|
+
y[1]
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
|
-
d(
|
|
237
|
-
|
|
236
|
+
d(y) {
|
|
237
|
+
y && (R(e), R(N), R(z));
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
@@ -246,7 +246,7 @@ function qe(n) {
|
|
|
246
246
|
c() {
|
|
247
247
|
for (let r = 0; r < s.length; r += 1)
|
|
248
248
|
s[r].c();
|
|
249
|
-
e =
|
|
249
|
+
e = Ue();
|
|
250
250
|
},
|
|
251
251
|
m(r, p) {
|
|
252
252
|
for (let o = 0; o < s.length; o += 1)
|
|
@@ -259,8 +259,8 @@ function qe(n) {
|
|
|
259
259
|
t = we(Array(4));
|
|
260
260
|
let o;
|
|
261
261
|
for (o = 0; o < t.length; o += 1) {
|
|
262
|
-
const
|
|
263
|
-
s[o] ? s[o].p(
|
|
262
|
+
const C = xe(r, t, o);
|
|
263
|
+
s[o] ? s[o].p(C, p) : (s[o] = je(C), s[o].c(), s[o].m(e.parentNode, e));
|
|
264
264
|
}
|
|
265
265
|
for (; o < s.length; o += 1)
|
|
266
266
|
s[o].d(1);
|
|
@@ -268,57 +268,59 @@ function qe(n) {
|
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
d(r) {
|
|
271
|
-
r && R(e),
|
|
271
|
+
r && R(e), De(s, r);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
function je(n) {
|
|
276
|
+
var I;
|
|
276
277
|
let e, t, s, r, p, o = (
|
|
277
278
|
/*formattedLabels*/
|
|
278
279
|
n[8][
|
|
279
280
|
/*i*/
|
|
280
281
|
n[50]
|
|
281
282
|
] + ""
|
|
282
|
-
),
|
|
283
|
+
), C, w, f, L = (
|
|
283
284
|
/*formattedJackpotValues*/
|
|
284
|
-
(n[7][
|
|
285
|
+
((I = n[7][
|
|
285
286
|
/*i*/
|
|
286
287
|
n[50]
|
|
287
|
-
]
|
|
288
|
-
),
|
|
288
|
+
]) != null ? I : "") + ""
|
|
289
|
+
), v, T, S, b;
|
|
289
290
|
return {
|
|
290
291
|
c() {
|
|
291
|
-
e = c("div"), t = c("div"), s = c("img"), p = c("span"),
|
|
292
|
+
e = c("div"), t = c("div"), s = c("img"), p = c("span"), C = W(o), w = c("span"), f = c("span"), v = W(L), T = B(), S = c("span"), b = W(
|
|
292
293
|
/*currency*/
|
|
293
294
|
n[1]
|
|
294
|
-
), i(s, "class", "displayCardIcon"),
|
|
295
|
+
), i(s, "class", "displayCardIcon"), J(s.src, r = /*caticons*/
|
|
295
296
|
n[9][
|
|
296
297
|
/*i*/
|
|
297
298
|
n[50]
|
|
298
|
-
]) || i(s, "src", r), i(s, "alt", ""), i(p, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(
|
|
299
|
+
]) || i(s, "src", r), i(s, "alt", ""), i(p, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(f, "class", "jackpotValue"), i(S, "class", "jackpot-currency"), i(w, "class", "cardTextWrapper"), i(e, "class", "displayCard");
|
|
299
300
|
},
|
|
300
|
-
m(m,
|
|
301
|
-
M(m, e,
|
|
301
|
+
m(m, h) {
|
|
302
|
+
M(m, e, h), l(e, t), l(t, s), l(t, p), l(p, C), l(e, w), l(w, f), l(f, v), l(w, T), l(w, S), l(S, b);
|
|
302
303
|
},
|
|
303
|
-
p(m,
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
p(m, h) {
|
|
305
|
+
var g;
|
|
306
|
+
h[0] & /*caticons*/
|
|
307
|
+
512 && !J(s.src, r = /*caticons*/
|
|
306
308
|
m[9][
|
|
307
309
|
/*i*/
|
|
308
310
|
m[50]
|
|
309
|
-
]) && i(s, "src", r),
|
|
311
|
+
]) && i(s, "src", r), h[0] & /*formattedLabels*/
|
|
310
312
|
256 && o !== (o = /*formattedLabels*/
|
|
311
313
|
m[8][
|
|
312
314
|
/*i*/
|
|
313
315
|
m[50]
|
|
314
|
-
] + "") &&
|
|
315
|
-
128 &&
|
|
316
|
-
(m[7][
|
|
316
|
+
] + "") && A(C, o), h[0] & /*formattedJackpotValues*/
|
|
317
|
+
128 && L !== (L = /*formattedJackpotValues*/
|
|
318
|
+
((g = m[7][
|
|
317
319
|
/*i*/
|
|
318
320
|
m[50]
|
|
319
|
-
]
|
|
320
|
-
2 &&
|
|
321
|
-
|
|
321
|
+
]) != null ? g : "") + "") && A(v, L), h[0] & /*currency*/
|
|
322
|
+
2 && A(
|
|
323
|
+
b,
|
|
322
324
|
/*currency*/
|
|
323
325
|
m[1]
|
|
324
326
|
);
|
|
@@ -350,49 +352,51 @@ function Fe(n) {
|
|
|
350
352
|
p(p, o) {
|
|
351
353
|
s === (s = t(p)) && r ? r.p(p, o) : (r.d(1), r = s(p), r && (r.c(), r.m(e, null)));
|
|
352
354
|
},
|
|
353
|
-
i:
|
|
354
|
-
o:
|
|
355
|
+
i: be,
|
|
356
|
+
o: be,
|
|
355
357
|
d(p) {
|
|
356
358
|
p && R(e), r.d(), n[32](null);
|
|
357
359
|
}
|
|
358
360
|
};
|
|
359
361
|
}
|
|
360
362
|
function Ge(n, e, t) {
|
|
361
|
-
let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2:
|
|
363
|
+
let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: w = "" } = e, { iconlabels: f = "" } = e, { backgroundsrc: L = "" } = e, { currency: v = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: S = "" } = e, { lang: b = "en" } = e, { clientstyling: I = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: h = "" } = e, { endpoint: g = "" } = e, { gameid: d = "" } = e, x = window.navigator.userAgent, O = !1, P = !1, $ = "", E = [], H = [], Y = [], ee = [], re = [], K = "", te = "", N, z = !1, U = !0, q = !1, V;
|
|
362
364
|
const ae = () => {
|
|
363
|
-
fetch(
|
|
364
|
-
Object.keys(
|
|
365
|
-
Ce(
|
|
365
|
+
fetch(h).then((u) => u.json()).then((u) => {
|
|
366
|
+
Object.keys(u).forEach((_) => {
|
|
367
|
+
Ce(_, u[_]);
|
|
366
368
|
});
|
|
367
|
-
}).catch((
|
|
368
|
-
console.log(
|
|
369
|
+
}).catch((u) => {
|
|
370
|
+
console.log(u);
|
|
369
371
|
});
|
|
370
372
|
};
|
|
371
373
|
Object.keys(Le).forEach((a) => {
|
|
372
374
|
Ce(a, Le[a]);
|
|
373
375
|
});
|
|
374
376
|
const F = ["typeSpread", "typeLeft"], ie = (a) => {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
+
var _;
|
|
378
|
+
const u = (_ = a == null ? void 0 : a.items[0]) == null ? void 0 : _.additionalData;
|
|
379
|
+
u && Object.values(u).forEach((pe) => E.push(+pe));
|
|
377
380
|
}, ce = (a) => {
|
|
378
|
-
|
|
381
|
+
var u;
|
|
382
|
+
t(6, $ = ((u = a == null ? void 0 : a.items[0]) == null ? void 0 : u.vendorLogo) || "");
|
|
379
383
|
}, G = () => {
|
|
380
|
-
if (
|
|
381
|
-
let a = new URL(`${
|
|
382
|
-
a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language",
|
|
383
|
-
t(3,
|
|
384
|
-
}).catch((
|
|
385
|
-
t(13, q = !0), t(3,
|
|
384
|
+
if (g && b && v) {
|
|
385
|
+
let a = new URL(`${g}/v1/casino/jackpots`);
|
|
386
|
+
a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language", b), a.searchParams.append("additionalDataCurrency", v), fetch(a.href).then((u) => u.json().then((_) => {
|
|
387
|
+
t(3, U = !1), V = _, H.includes(d) && (ie(V), ce(V));
|
|
388
|
+
}).catch((_) => {
|
|
389
|
+
t(13, q = !0), t(3, U = !1), console.error(_);
|
|
386
390
|
}));
|
|
387
391
|
}
|
|
388
392
|
}, ne = () => {
|
|
389
|
-
let a = new URL(`${
|
|
390
|
-
fetch(a.href).then((
|
|
391
|
-
t(30, H =
|
|
393
|
+
let a = new URL(`${g}/v1/casino/jackpots/config`);
|
|
394
|
+
fetch(a.href).then((u) => u.json()).then((u) => {
|
|
395
|
+
t(30, H = u.egtJackpotIds.map((_) => _));
|
|
392
396
|
});
|
|
393
397
|
}, le = () => {
|
|
394
|
-
t(4, O =
|
|
395
|
-
}, oe = (a) => a.map((
|
|
398
|
+
t(4, O = Ee(x) && window.innerHeight / window.innerWidth > 1), t(5, P = ue()), E.length !== 0 && t(7, Y = oe(E)), t(8, ee = f ? f.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), F.includes(s.trim()) ? t(0, s = s.trim()) : (console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${F[0]}"`), t(0, s = F[0])), t(10, K = T && O && !P ? T : L), t(11, te = S), t(9, re = [p, o, C, w]);
|
|
399
|
+
}, oe = (a) => a.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), ue = () => {
|
|
396
400
|
const a = window.innerHeight / window.innerWidth;
|
|
397
401
|
return 0.75 < a && a < 1.6;
|
|
398
402
|
}, Q = () => {
|
|
@@ -402,47 +406,47 @@ function Ge(n, e, t) {
|
|
|
402
406
|
});
|
|
403
407
|
}, de = () => {
|
|
404
408
|
let a = document.createElement("style");
|
|
405
|
-
a.innerHTML =
|
|
409
|
+
a.innerHTML = I, N.appendChild(a);
|
|
406
410
|
}, ge = () => {
|
|
407
|
-
t(12,
|
|
408
|
-
let a = new URL(
|
|
409
|
-
fetch(a.href).then((
|
|
410
|
-
|
|
411
|
+
t(12, z = !0);
|
|
412
|
+
let a = new URL(m), u = document.createElement("style");
|
|
413
|
+
fetch(a.href).then((_) => _.text()).then((_) => {
|
|
414
|
+
u.innerHTML = _, setTimeout(
|
|
411
415
|
() => {
|
|
412
|
-
|
|
416
|
+
N.appendChild(u);
|
|
413
417
|
},
|
|
414
418
|
1
|
|
415
419
|
), setTimeout(
|
|
416
420
|
() => {
|
|
417
|
-
t(12,
|
|
421
|
+
t(12, z = !1);
|
|
418
422
|
},
|
|
419
423
|
500
|
|
420
424
|
);
|
|
421
425
|
});
|
|
422
426
|
}, X = () => {
|
|
423
|
-
Be(
|
|
427
|
+
Be(b);
|
|
424
428
|
}, Z = () => Q();
|
|
425
|
-
function
|
|
426
|
-
|
|
427
|
-
|
|
429
|
+
function D(a) {
|
|
430
|
+
Ne[a ? "unshift" : "push"](() => {
|
|
431
|
+
N = a, t(2, N);
|
|
428
432
|
});
|
|
429
433
|
}
|
|
430
434
|
return n.$$set = (a) => {
|
|
431
|
-
"visualstructure" in a && t(0, s = a.visualstructure), "title" in a && t(15, r = a.title), "caticon0" in a && t(16, p = a.caticon0), "caticon1" in a && t(17, o = a.caticon1), "caticon2" in a && t(18,
|
|
435
|
+
"visualstructure" in a && t(0, s = a.visualstructure), "title" in a && t(15, r = a.title), "caticon0" in a && t(16, p = a.caticon0), "caticon1" in a && t(17, o = a.caticon1), "caticon2" in a && t(18, C = a.caticon2), "caticon3" in a && t(19, w = a.caticon3), "iconlabels" in a && t(20, f = a.iconlabels), "backgroundsrc" in a && t(21, L = a.backgroundsrc), "currency" in a && t(1, v = a.currency), "backgroundsrcmobile" in a && t(22, T = a.backgroundsrcmobile), "titlelogopath" in a && t(23, S = a.titlelogopath), "lang" in a && t(24, b = a.lang), "clientstyling" in a && t(25, I = a.clientstyling), "clientstylingurl" in a && t(26, m = a.clientstylingurl), "translationurl" in a && t(27, h = a.translationurl), "endpoint" in a && t(28, g = a.endpoint), "gameid" in a && t(29, d = a.gameid);
|
|
432
436
|
}, n.$$.update = () => {
|
|
433
437
|
n.$$.dirty[0] & /*endpoint*/
|
|
434
|
-
268435456 &&
|
|
435
|
-
33554436 &&
|
|
436
|
-
67108868 &&
|
|
437
|
-
1358954498 &&
|
|
438
|
-
16777226 &&
|
|
439
|
-
16777216 &&
|
|
440
|
-
134217728 &&
|
|
438
|
+
268435456 && g && ne(), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
439
|
+
33554436 && N && I && de(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
440
|
+
67108868 && N && m && ge(), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
|
|
441
|
+
1358954498 && g && b && v && H.length > 0 && G(), n.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
442
|
+
16777226 && v && b && !U && le(), n.$$.dirty[0] & /*lang*/
|
|
443
|
+
16777216 && b && X(), n.$$.dirty[0] & /*translationurl*/
|
|
444
|
+
134217728 && h && ae();
|
|
441
445
|
}, [
|
|
442
446
|
s,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
447
|
+
v,
|
|
448
|
+
N,
|
|
449
|
+
U,
|
|
446
450
|
O,
|
|
447
451
|
P,
|
|
448
452
|
$,
|
|
@@ -451,27 +455,27 @@ function Ge(n, e, t) {
|
|
|
451
455
|
re,
|
|
452
456
|
K,
|
|
453
457
|
te,
|
|
454
|
-
|
|
458
|
+
z,
|
|
455
459
|
q,
|
|
456
460
|
Q,
|
|
457
461
|
r,
|
|
458
462
|
p,
|
|
459
463
|
o,
|
|
460
|
-
w,
|
|
461
|
-
_,
|
|
462
|
-
u,
|
|
463
464
|
C,
|
|
465
|
+
w,
|
|
466
|
+
f,
|
|
467
|
+
L,
|
|
464
468
|
T,
|
|
465
469
|
S,
|
|
466
|
-
|
|
470
|
+
b,
|
|
471
|
+
I,
|
|
467
472
|
m,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
f,
|
|
473
|
+
h,
|
|
474
|
+
g,
|
|
471
475
|
d,
|
|
472
476
|
H,
|
|
473
477
|
Z,
|
|
474
|
-
|
|
478
|
+
D
|
|
475
479
|
];
|
|
476
480
|
}
|
|
477
481
|
class Ye extends We {
|
|
@@ -481,7 +485,7 @@ class Ye extends We {
|
|
|
481
485
|
e,
|
|
482
486
|
Ge,
|
|
483
487
|
Fe,
|
|
484
|
-
|
|
488
|
+
Ve,
|
|
485
489
|
{
|
|
486
490
|
visualstructure: 0,
|
|
487
491
|
title: 15,
|
package/components/{CasinoLastPlayedSectionNd--_9buYZx.js → CasinoLastPlayedSectionNd-BSzJtQMf.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as te, $ as ae, S as se, i as ne, f as l, c as ie, s as le, b as re, e as L, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, P as n, u as ue, B as ge, F as me, Q as de } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSectionNd-
|
|
1
|
+
import { a as te, $ as ae, S as se, i as ne, f as l, c as ie, s as le, b as re, e as L, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, P as n, u as ue, B as ge, F as me, Q as de } from "./CasinoCalendar-B2vomzsf.js";
|
|
2
|
+
import "./CasinoFavoritesSectionNd-INQg8msA.js";
|
|
3
3
|
function I(s, e) {
|
|
4
4
|
te(s, e);
|
|
5
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CDVrxyQe.cjs");require("./CasinoFavoritesSectionNd-CbF2hHrz.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const O={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-w4ziup","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(s,i){t.insert(s,e,i)},p(s,i){i[0]&16&&t.set_custom_element_data(e,"session",s[4]),i[0]&32&&t.set_custom_element_data(e,"userid",s[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",s[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",s[1]),i[0]&8&&t.set_custom_element_data(e,"lang",s[3]),i[0]&4&&t.set_custom_element_data(e,"currency",s[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",s[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function x(n){let e,s=n[19]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(s),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&524288&&s!==(s=o[19]("noRecentGames")+"")&&t.set_data(i,s)},d(o){o&&t.detach(e)}}}function $(n){let e,s;function i(c,d){return c[18]?x:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),s=t.element("div"),l.c(),t.attr(s,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(c,d){t.insert(c,e,d),t.append(e,s),l.m(s,null),n[25](e)},p(c,d){o===(o=i(c))&&l?l.p(c,d):(l.d(1),l=o(c),l&&(l.c(),l.m(s,null)))},i:t.noop,o:t.noop,d(c){c&&t.detach(e),l.d(),n[25](null)}}}function ee(n,e,s){let i;t.component_subscribe(n,t.$format,a=>s(19,i=a));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:c=""}=e,{lang:d=""}=e,{session:R=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:q="false"}=e,{integratedgameframedesktop:G="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:M=""}=e,{visiblegames:L=""}=e,{favorites:T=""}=e,{lastplayedperiod:k="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:P=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:S="true"}=e,{fetchviaevent:E="true"}=e,U=window.navigator.userAgent,D=!1,w=[],F,f;const Y=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(m=>{z(m,r[m])})}).catch(r=>{console.log(r)})};Object.keys(O).forEach(a=>{z(a,O[a])});const H=()=>new Promise((a,r)=>{let m=new URL(`${o}/v1/player/${h}/games/last-played`);m.searchParams.append("unique",S),m.searchParams.append("limit",P),m.searchParams.append("order",C),m.searchParams.append("period",k),t.getDevice(U)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),F=v?m:m.href,fetch(F).then(u=>u.json()).then(u=>{u.items=u.items.filter(K=>{let N=!0;return K.gameCode=="OddsMatrix2"&&(u.count--,N=!1),N}),a(u),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:u},window.location.href)}).catch(u=>{console.error(u),r(u)})}),I=()=>{H().then(a=>{if(a.count>0){let r=[];a.items.forEach(m=>{let g=new URL(`${o}/v1/casino/games/${m.gameId}`);g.searchParams.append("datasource",l),v?r.push(fetch(g.href).then(u=>u.json())):r.push(fetch(g.href).then(u=>u.json()))}),Promise.all(r).then(m=>{w=m.filter(g=>!("error"in g)).map(g=>g[0]),j==="true"&&(w=w.slice(0,JSON.parse(L))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else s(18,D=!0)})},J=()=>{Q(d)},V=()=>{let a=document.createElement("style");a.innerHTML=_,f.appendChild(a)},Z=()=>{let a=document.createElement("style");fetch(new URL(y)).then(r=>r.text()).then(r=>{a.innerHTML=r,setTimeout(()=>{f.appendChild(a)},1)})};function B(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(17,f)})}return n.$$set=a=>{"endpoint"in a&&s(0,o=a.endpoint),"datasource"in a&&s(1,l=a.datasource),"currency"in a&&s(2,c=a.currency),"lang"in a&&s(3,d=a.lang),"session"in a&&s(4,R=a.session),"userid"in a&&s(5,h=a.userid),"clientstyling"in a&&s(6,_=a.clientstyling),"clientstylingurl"in a&&s(7,y=a.clientstylingurl),"translationurl"in a&&s(20,b=a.translationurl),"livecasino"in a&&s(8,v=a.livecasino),"integratedgameframemobile"in a&&s(9,q=a.integratedgameframemobile),"integratedgameframedesktop"in a&&s(10,G=a.integratedgameframedesktop),"gamepagemodalurl"in a&&s(11,A=a.gamepagemodalurl),"showgamename"in a&&s(12,M=a.showgamename),"visiblegames"in a&&s(13,L=a.visiblegames),"favorites"in a&&s(14,T=a.favorites),"lastplayedperiod"in a&&s(21,k=a.lastplayedperiod),"lastplayedorder"in a&&s(22,C=a.lastplayedorder),"lastplayedlimit"in a&&s(23,P=a.lastplayedlimit),"casinomygames"in a&&s(15,j=a.casinomygames),"lastplayedunique"in a&&s(24,S=a.lastplayedunique),"fetchviaevent"in a&&s(16,E=a.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&I(),n.$$.dirty[0]&1048576&&b&&Y(),n.$$.dirty[0]&131136&&_&&f&&V(),n.$$.dirty[0]&131200&&y&&f&&Z(),n.$$.dirty[0]&8&&d&&J()},[o,l,c,d,R,h,_,y,v,q,G,A,M,L,T,j,E,f,D,i,b,k,C,P,S,B]}class p extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(p,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=p;
|