@everymatrix/casino-page 1.45.0 → 1.45.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.
Files changed (68) hide show
  1. package/components/{CasinoCalendar-CB1ofynf.js → CasinoCalendar-C_cW3If4.js} +46 -50
  2. package/components/{CasinoCalendar-vHn9JrQC.cjs → CasinoCalendar-nl2iiorT.cjs} +4 -4
  3. package/components/CasinoCalendarDailyDetails-DnM1i-yw.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-DuM1JdXu.js +605 -0
  5. package/components/CasinoCalendarDailyItem-Cu1cJO-o.js +220 -0
  6. package/components/CasinoCalendarDailyItem-wSh0TQmw.cjs +1 -0
  7. package/components/CasinoCollectionsProviders-C5cW1Ynt.cjs +1 -0
  8. package/components/CasinoCollectionsProviders-xxbKg_Ci.js +659 -0
  9. package/components/CasinoFavoritesSection-BxsD_mwb.cjs +1 -0
  10. package/components/{CasinoFavoritesSection-hMG9hz9q.js → CasinoFavoritesSection-inNLndzn.js} +8 -8
  11. package/components/CasinoFilter-Bf-aKCs4.js +628 -0
  12. package/components/CasinoFilter-DsfEPxOV.cjs +1 -0
  13. package/components/CasinoGameThumbnail-B2zKPVWX.js +4404 -0
  14. package/components/CasinoGameThumbnail-D4dpi4pE.cjs +47 -0
  15. package/components/CasinoGamesCategorySection-DYWJz3Kr.js +3018 -0
  16. package/components/CasinoGamesCategorySection-eXV9pLYW.cjs +1 -0
  17. package/components/CasinoJackpotBanner-BbZfAtK7.cjs +1 -0
  18. package/components/CasinoJackpotBanner-DG-gRn5m.js +615 -0
  19. package/components/{CasinoLastPlayedSection-B8Zr5k1T.js → CasinoLastPlayedSection-DIHIwpkO.js} +28 -28
  20. package/components/CasinoLastPlayedSection-r5pOc9-L.cjs +1 -0
  21. package/components/{CasinoMostPlayedSection-BQdqLtzZ.js → CasinoMostPlayedSection-Bwta9L31.js} +61 -61
  22. package/components/CasinoMostPlayedSection-jL-AhnSB.cjs +1 -0
  23. package/components/{CasinoMyGames-Bhvr6lKq.js → CasinoMyGames-CHwKmM7d.js} +389 -389
  24. package/components/CasinoMyGames-D9DeNmGU.cjs +1 -0
  25. package/components/CasinoPage-05ZglU1l.cjs +1 -0
  26. package/components/{CasinoPage-CgFhMjEq.js → CasinoPage-BpIKXaav.js} +1178 -1178
  27. package/components/CasinoRandomGame-CfvXKJmb.cjs +2 -0
  28. package/components/CasinoRandomGame-D8i7LRIG.js +641 -0
  29. package/components/CasinoSearch-CNLDoBng.cjs +1 -0
  30. package/components/CasinoSearch-D3L2Udhc.js +1062 -0
  31. package/components/CasinoSort-DkyKZJ6D.js +425 -0
  32. package/components/CasinoSort-DlxCxisZ.cjs +1 -0
  33. package/components/CasinoWinners-BJz7Z50Z.js +884 -0
  34. package/components/CasinoWinners-DAGGAApV.cjs +1 -0
  35. package/components/GeneralAnimationLoading-CSq5Z70E.js +75 -0
  36. package/components/GeneralAnimationLoading-DkcoDbK8.cjs +1 -0
  37. package/es2015/casino-page.cjs +1 -1
  38. package/es2015/casino-page.js +1 -1
  39. package/package.json +2 -2
  40. package/components/CasinoCalendarDailyDetails-B1hAQY8H.cjs +0 -1
  41. package/components/CasinoCalendarDailyDetails-bj1Bej4W.js +0 -605
  42. package/components/CasinoCalendarDailyItem-B66zpREe.cjs +0 -1
  43. package/components/CasinoCalendarDailyItem-CHLhiVnz.js +0 -220
  44. package/components/CasinoCollectionsProviders-CJjZBVM5.cjs +0 -1
  45. package/components/CasinoCollectionsProviders-yK9CI4Xr.js +0 -659
  46. package/components/CasinoFavoritesSection-CkUOZVVp.cjs +0 -1
  47. package/components/CasinoFilter-C3yO3cL7.cjs +0 -1
  48. package/components/CasinoFilter-D3NwcpvH.js +0 -628
  49. package/components/CasinoGameThumbnail-Cw3-sXvH.cjs +0 -47
  50. package/components/CasinoGameThumbnail-Dg-sThkk.js +0 -4404
  51. package/components/CasinoGamesCategorySection-C-1o8si6.cjs +0 -1
  52. package/components/CasinoGamesCategorySection-DNVY80Ko.js +0 -3022
  53. package/components/CasinoJackpotBanner-D1M-XhZn.cjs +0 -1
  54. package/components/CasinoJackpotBanner-DJ3Owq6H.js +0 -619
  55. package/components/CasinoLastPlayedSection-BLK2LH8q.cjs +0 -1
  56. package/components/CasinoMostPlayedSection-BkYdv4cH.cjs +0 -1
  57. package/components/CasinoMyGames-FFhdK5FP.cjs +0 -1
  58. package/components/CasinoPage-Iz_NYCf0.cjs +0 -1
  59. package/components/CasinoRandomGame-BFI4lApK.js +0 -641
  60. package/components/CasinoRandomGame-C65-z1c0.cjs +0 -2
  61. package/components/CasinoSearch-B_mZUsPg.cjs +0 -1
  62. package/components/CasinoSearch-DBC_u_8Q.js +0 -1066
  63. package/components/CasinoSort-DxFN7PGX.cjs +0 -1
  64. package/components/CasinoSort-aNrhiItx.js +0 -425
  65. package/components/CasinoWinners-DrzapDfQ.cjs +0 -1
  66. package/components/CasinoWinners-DuFK11WC.js +0 -884
  67. package/components/GeneralAnimationLoading-BCO7AGpP.js +0 -75
  68. package/components/GeneralAnimationLoading-ikaVRvKa.cjs +0 -1
@@ -0,0 +1,615 @@
1
+ import { I 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 R, C as be, j as H, l as Ne, m as ze, q as B, u as i, G as ye, D as J, v as l, w as Ue, r as W, A, p as Ce, F as Ee, B as De } from "./CasinoCalendar-C_cW3If4.js";
2
+ function we(n, e) {
3
+ Te(n, e);
4
+ }
5
+ function Be(n) {
6
+ Se.set(n);
7
+ }
8
+ const Le = {
9
+ en: {
10
+ loadingText: "Loading, please wait..."
11
+ },
12
+ "zh-hk": {
13
+ loadingText: "加载请稍候 ..."
14
+ },
15
+ fr: {
16
+ loadingText: "Chargement, veuillez patienter..."
17
+ },
18
+ ro: {
19
+ loadingText: "Se incarca, va rugam asteptati..."
20
+ },
21
+ es: {
22
+ loadingText: "Cargando"
23
+ },
24
+ pt: {
25
+ loadingText: "Carregando, por favor espere..."
26
+ },
27
+ de: {
28
+ loadingText: "Laden, bitte warten..."
29
+ },
30
+ hr: {
31
+ loadingText: "Učitavanje"
32
+ },
33
+ "pt-br": {
34
+ CarregandoText: "Carregando"
35
+ },
36
+ "es-mx": {
37
+ CargandoText: "Cargando, por favor espere…"
38
+ },
39
+ tr: {
40
+ loadingText: "Yükleniyor, lütfen bekleyin..."
41
+ }
42
+ };
43
+ function Me(n) {
44
+ Je(n, "svelte-ac3ra7", ':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(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
45
+ }
46
+ function xe(n, e, t) {
47
+ const s = n.slice();
48
+ return s[48] = e[t], s[50] = t, s;
49
+ }
50
+ function Re(n) {
51
+ let e, t, s, r, p, o, w, C, f, L, v, T, S, b, I;
52
+ function m(d, x) {
53
+ return (
54
+ /*tabletView*/
55
+ d[5] ? Fe : Pe
56
+ );
57
+ }
58
+ let h = m(n), g = h(n);
59
+ return {
60
+ c() {
61
+ e = c("div"), t = c("div"), s = c("div"), r = c("div"), p = B(), o = c("div"), g.c(), w = B(), C = c("div"), f = c("img"), i(r, "class", "vendorLogo"), ye(r, "background-image", "url(" + /*vendorIcon*/
62
+ n[6] + ")"), i(o, "class", "displayContainer"), J(f.src, L = /*titleLogoImg*/
63
+ n[11]) || i(f, "src", L), i(f, "alt", ""), i(C, "class", "title"), i(s, "class", v = "mainWrapper " + /*visualstructure*/
64
+ n[0] + " " + /*mobileView*/
65
+ (n[4] && !/*tabletView*/
66
+ n[5] ? "mobile" : (
67
+ /*tabletView*/
68
+ n[5] ? "tablet" : ""
69
+ ))), ye(s, "background", "url(" + /*backgroundImg*/
70
+ n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", T = /*displayNone*/
71
+ n[12] ? "DisplayNone" : ""), i(e, "part", S = /*displayNone*/
72
+ n[12] ? "DisplayNone" : "");
73
+ },
74
+ m(d, x) {
75
+ R(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o), g.m(o, null), l(s, w), l(s, C), l(C, f), b || (I = Ue(
76
+ t,
77
+ "click",
78
+ /*click_handler*/
79
+ n[31]
80
+ ), b = !0);
81
+ },
82
+ p(d, x) {
83
+ x[0] & /*vendorIcon*/
84
+ 64 && ye(r, "background-image", "url(" + /*vendorIcon*/
85
+ 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*/
86
+ 2048 && !J(f.src, L = /*titleLogoImg*/
87
+ d[11]) && i(f, "src", L), x[0] & /*visualstructure, mobileView, tabletView*/
88
+ 49 && v !== (v = "mainWrapper " + /*visualstructure*/
89
+ d[0] + " " + /*mobileView*/
90
+ (d[4] && !/*tabletView*/
91
+ d[5] ? "mobile" : (
92
+ /*tabletView*/
93
+ d[5] ? "tablet" : ""
94
+ ))) && i(s, "class", v), x[0] & /*backgroundImg*/
95
+ 1024 && ye(s, "background", "url(" + /*backgroundImg*/
96
+ d[10] + ")"), x[0] & /*displayNone*/
97
+ 4096 && T !== (T = /*displayNone*/
98
+ d[12] ? "DisplayNone" : "") && i(e, "class", T), x[0] & /*displayNone*/
99
+ 4096 && S !== (S = /*displayNone*/
100
+ d[12] ? "DisplayNone" : "") && i(e, "part", S);
101
+ },
102
+ d(d) {
103
+ d && H(e), g.d(), b = !1, I();
104
+ }
105
+ };
106
+ }
107
+ function He(n) {
108
+ let e;
109
+ return {
110
+ c() {
111
+ e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
112
+ },
113
+ m(t, s) {
114
+ R(t, e, s);
115
+ },
116
+ p: be,
117
+ d(t) {
118
+ t && H(e);
119
+ }
120
+ };
121
+ }
122
+ function Oe(n) {
123
+ let e;
124
+ return {
125
+ c() {
126
+ e = c("p"), e.textContent = "500 Server error";
127
+ },
128
+ m(t, s) {
129
+ R(t, e, s);
130
+ },
131
+ p: be,
132
+ d(t) {
133
+ t && H(e);
134
+ }
135
+ };
136
+ }
137
+ function Fe(n) {
138
+ let e, t, s, r, p, o, w = (
139
+ /*formattedLabels*/
140
+ n[8][0] + ""
141
+ ), C, f, L, v = (
142
+ /*formattedJackpotValues*/
143
+ n[7][0] + ""
144
+ ), T, S, b, I, m, h, g, d, x, O, F = (
145
+ /*formattedLabels*/
146
+ n[8][1] + ""
147
+ ), $, U, M, Y = (
148
+ /*formattedJackpotValues*/
149
+ n[7][1] + ""
150
+ ), ee, re, K, te, N, z, E, P, V, ae, q, ie = (
151
+ /*formattedLabels*/
152
+ n[8][2] + ""
153
+ ), ce, G, ne, le = (
154
+ /*formattedJackpotValues*/
155
+ n[7][2] + ""
156
+ ), oe, ue, Q, de, ge, X, Z, D, a, u, _ = (
157
+ /*formattedLabels*/
158
+ n[8][3] + ""
159
+ ), pe, se, fe, me = (
160
+ /*formattedJackpotValues*/
161
+ n[7][3] + ""
162
+ ), ve, ke, he, _e;
163
+ return {
164
+ c() {
165
+ e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), C = W(w), f = c("span"), L = c("span"), T = W(v), S = B(), b = c("span"), I = W(
166
+ /*currency*/
167
+ n[1]
168
+ ), m = B(), h = c("div"), g = c("div"), d = c("img"), O = c("span"), $ = W(F), U = c("span"), M = c("span"), ee = W(Y), re = B(), K = c("span"), te = W(
169
+ /*currency*/
170
+ n[1]
171
+ ), N = B(), z = c("div"), E = c("div"), P = c("div"), V = c("img"), q = c("span"), ce = W(ie), G = c("span"), ne = c("span"), oe = W(le), ue = B(), Q = c("span"), de = W(
172
+ /*currency*/
173
+ n[1]
174
+ ), 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(
175
+ /*currency*/
176
+ n[1]
177
+ ), i(r, "class", "displayCardIcon"), J(r.src, p = /*caticons*/
178
+ 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*/
179
+ n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(g, "class", "iconWrapper"), i(M, "class", "jackpotValue"), i(K, "class", "jackpot-currency"), i(U, "class", "cardTextWrapper"), i(h, "class", "displayCard"), i(e, "class", "pairWrapper"), i(V, "class", "displayCardIcon"), J(V.src, ae = /*caticons*/
180
+ n[9][2]) || i(V, "src", ae), i(V, "alt", ""), i(q, "class", "cardLabel"), i(P, "class", "iconWrapper"), i(ne, "class", "jackpotValue"), i(Q, "class", "jackpot-currency"), i(G, "class", "cardTextWrapper"), i(E, "class", "displayCard"), i(D, "class", "displayCardIcon"), J(D.src, a = /*caticons*/
181
+ 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");
182
+ },
183
+ m(y, k) {
184
+ R(y, e, k), l(e, t), l(t, s), l(s, r), l(s, o), l(o, C), 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, U), l(U, M), l(M, ee), l(U, re), l(U, K), l(K, te), R(y, N, k), R(y, z, k), l(z, E), l(E, P), l(P, V), l(P, q), l(q, ce), l(E, 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);
185
+ },
186
+ p(y, k) {
187
+ k[0] & /*caticons*/
188
+ 512 && !J(r.src, p = /*caticons*/
189
+ y[9][0]) && i(r, "src", p), k[0] & /*formattedLabels*/
190
+ 256 && w !== (w = /*formattedLabels*/
191
+ y[8][0] + "") && A(C, w), k[0] & /*formattedJackpotValues*/
192
+ 128 && v !== (v = /*formattedJackpotValues*/
193
+ y[7][0] + "") && A(T, v), k[0] & /*currency*/
194
+ 2 && A(
195
+ I,
196
+ /*currency*/
197
+ y[1]
198
+ ), k[0] & /*caticons*/
199
+ 512 && !J(d.src, x = /*caticons*/
200
+ y[9][1]) && i(d, "src", x), k[0] & /*formattedLabels*/
201
+ 256 && F !== (F = /*formattedLabels*/
202
+ y[8][1] + "") && A($, F), k[0] & /*formattedJackpotValues*/
203
+ 128 && Y !== (Y = /*formattedJackpotValues*/
204
+ y[7][1] + "") && A(ee, Y), k[0] & /*currency*/
205
+ 2 && A(
206
+ te,
207
+ /*currency*/
208
+ y[1]
209
+ ), k[0] & /*caticons*/
210
+ 512 && !J(V.src, ae = /*caticons*/
211
+ y[9][2]) && i(V, "src", ae), k[0] & /*formattedLabels*/
212
+ 256 && ie !== (ie = /*formattedLabels*/
213
+ y[8][2] + "") && A(ce, ie), k[0] & /*formattedJackpotValues*/
214
+ 128 && le !== (le = /*formattedJackpotValues*/
215
+ y[7][2] + "") && A(oe, le), k[0] & /*currency*/
216
+ 2 && A(
217
+ de,
218
+ /*currency*/
219
+ y[1]
220
+ ), k[0] & /*caticons*/
221
+ 512 && !J(D.src, a = /*caticons*/
222
+ y[9][3]) && i(D, "src", a), k[0] & /*formattedLabels*/
223
+ 256 && _ !== (_ = /*formattedLabels*/
224
+ y[8][3] + "") && A(pe, _), k[0] & /*formattedJackpotValues*/
225
+ 128 && me !== (me = /*formattedJackpotValues*/
226
+ y[7][3] + "") && A(ve, me), k[0] & /*currency*/
227
+ 2 && A(
228
+ _e,
229
+ /*currency*/
230
+ y[1]
231
+ );
232
+ },
233
+ d(y) {
234
+ y && (H(e), H(N), H(z));
235
+ }
236
+ };
237
+ }
238
+ function Pe(n) {
239
+ let e, t = Ce(Array(4)), s = [];
240
+ for (let r = 0; r < t.length; r += 1)
241
+ s[r] = je(xe(n, t, r));
242
+ return {
243
+ c() {
244
+ for (let r = 0; r < s.length; r += 1)
245
+ s[r].c();
246
+ e = Ee();
247
+ },
248
+ m(r, p) {
249
+ for (let o = 0; o < s.length; o += 1)
250
+ s[o] && s[o].m(r, p);
251
+ R(r, e, p);
252
+ },
253
+ p(r, p) {
254
+ if (p[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
255
+ 898) {
256
+ t = Ce(Array(4));
257
+ let o;
258
+ for (o = 0; o < t.length; o += 1) {
259
+ const w = xe(r, t, o);
260
+ s[o] ? s[o].p(w, p) : (s[o] = je(w), s[o].c(), s[o].m(e.parentNode, e));
261
+ }
262
+ for (; o < s.length; o += 1)
263
+ s[o].d(1);
264
+ s.length = t.length;
265
+ }
266
+ },
267
+ d(r) {
268
+ r && H(e), De(s, r);
269
+ }
270
+ };
271
+ }
272
+ function je(n) {
273
+ var I;
274
+ let e, t, s, r, p, o = (
275
+ /*formattedLabels*/
276
+ n[8][
277
+ /*i*/
278
+ n[50]
279
+ ] + ""
280
+ ), w, C, f, L = (
281
+ /*formattedJackpotValues*/
282
+ ((I = n[7][
283
+ /*i*/
284
+ n[50]
285
+ ]) != null ? I : "") + ""
286
+ ), v, T, S, b;
287
+ return {
288
+ c() {
289
+ e = c("div"), t = c("div"), s = c("img"), p = c("span"), w = W(o), C = c("span"), f = c("span"), v = W(L), T = B(), S = c("span"), b = W(
290
+ /*currency*/
291
+ n[1]
292
+ ), i(s, "class", "displayCardIcon"), J(s.src, r = /*caticons*/
293
+ n[9][
294
+ /*i*/
295
+ n[50]
296
+ ]) || 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(C, "class", "cardTextWrapper"), i(e, "class", "displayCard");
297
+ },
298
+ m(m, h) {
299
+ R(m, e, h), l(e, t), l(t, s), l(t, p), l(p, w), l(e, C), l(C, f), l(f, v), l(C, T), l(C, S), l(S, b);
300
+ },
301
+ p(m, h) {
302
+ var g;
303
+ h[0] & /*caticons*/
304
+ 512 && !J(s.src, r = /*caticons*/
305
+ m[9][
306
+ /*i*/
307
+ m[50]
308
+ ]) && i(s, "src", r), h[0] & /*formattedLabels*/
309
+ 256 && o !== (o = /*formattedLabels*/
310
+ m[8][
311
+ /*i*/
312
+ m[50]
313
+ ] + "") && A(w, o), h[0] & /*formattedJackpotValues*/
314
+ 128 && L !== (L = /*formattedJackpotValues*/
315
+ ((g = m[7][
316
+ /*i*/
317
+ m[50]
318
+ ]) != null ? g : "") + "") && A(v, L), h[0] & /*currency*/
319
+ 2 && A(
320
+ b,
321
+ /*currency*/
322
+ m[1]
323
+ );
324
+ },
325
+ d(m) {
326
+ m && H(e);
327
+ }
328
+ };
329
+ }
330
+ function qe(n) {
331
+ let e;
332
+ function t(p, o) {
333
+ return (
334
+ /*hasErrors*/
335
+ p[13] ? Oe : (
336
+ /*isLoading*/
337
+ p[3] ? He : Re
338
+ )
339
+ );
340
+ }
341
+ let s = t(n), r = s(n);
342
+ return {
343
+ c() {
344
+ e = c("div"), r.c();
345
+ },
346
+ m(p, o) {
347
+ R(p, e, o), r.m(e, null), n[32](e);
348
+ },
349
+ p(p, o) {
350
+ s === (s = t(p)) && r ? r.p(p, o) : (r.d(1), r = s(p), r && (r.c(), r.m(e, null)));
351
+ },
352
+ i: be,
353
+ o: be,
354
+ d(p) {
355
+ p && H(e), r.d(), n[32](null);
356
+ }
357
+ };
358
+ }
359
+ function Ge(n, e, t) {
360
+ let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: C = "" } = 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, F = !1, $ = "", U = [], M = [], Y = [], ee = [], re = [], K = "", te = "", N, z = !1, E = !0, P = !1, V;
361
+ const ae = () => {
362
+ fetch(h).then((u) => u.json()).then((u) => {
363
+ Object.keys(u).forEach((_) => {
364
+ we(_, u[_]);
365
+ });
366
+ }).catch((u) => {
367
+ console.log(u);
368
+ });
369
+ };
370
+ Object.keys(Le).forEach((a) => {
371
+ we(a, Le[a]);
372
+ });
373
+ const q = ["typeSpread", "typeLeft"], ie = (a) => {
374
+ var _;
375
+ const u = (_ = a == null ? void 0 : a.items[0]) == null ? void 0 : _.additionalData;
376
+ u && Object.values(u).forEach((pe) => U.push(+pe));
377
+ }, ce = (a) => {
378
+ var u;
379
+ t(6, $ = ((u = a == null ? void 0 : a.items[0]) == null ? void 0 : u.vendorLogo) || "");
380
+ }, G = () => {
381
+ if (g && b && v) {
382
+ let a = new URL(`${g}/v1/casino/jackpots`);
383
+ a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language", b), a.searchParams.append("additionalDataCurrency", v), fetch(a.href).then((u) => u.json().then((_) => {
384
+ t(3, E = !1), V = _, M.includes(d) && (ie(V), ce(V));
385
+ }).catch((_) => {
386
+ t(13, P = !0), t(3, E = !1), console.error(_);
387
+ }));
388
+ }
389
+ }, ne = () => {
390
+ let a = new URL(`${g}/v1/casino/jackpots/config`);
391
+ fetch(a.href).then((u) => u.json()).then((u) => {
392
+ t(30, M = u.egtJackpotIds.map((_) => _));
393
+ });
394
+ }, le = () => {
395
+ t(4, O = Ne(x) && window.innerHeight / window.innerWidth > 1), t(5, F = ue()), U.length !== 0 && t(7, Y = oe(U)), t(8, ee = f ? f.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), q.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 "${q[0]}"`), t(0, s = q[0])), t(10, K = T && O && !F ? T : L), t(11, te = S), t(9, re = [p, o, w, C]);
396
+ }, oe = (a) => a.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), ue = () => {
397
+ const a = window.innerHeight / window.innerWidth;
398
+ return 0.75 < a && a < 1.6;
399
+ }, Q = () => {
400
+ window.postMessage({ type: "JackpotBannerClicked", gameid: d }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
401
+ context: "JackpotBanner",
402
+ gameId: `${d}`
403
+ });
404
+ }, de = () => {
405
+ let a = document.createElement("style");
406
+ a.innerHTML = I, N.appendChild(a);
407
+ }, ge = () => {
408
+ t(12, z = !0);
409
+ let a = new URL(m), u = document.createElement("style");
410
+ fetch(a.href).then((_) => _.text()).then((_) => {
411
+ u.innerHTML = _, setTimeout(
412
+ () => {
413
+ N.appendChild(u);
414
+ },
415
+ 1
416
+ ), setTimeout(
417
+ () => {
418
+ t(12, z = !1);
419
+ },
420
+ 500
421
+ );
422
+ });
423
+ }, X = () => {
424
+ Be(b);
425
+ }, Z = () => Q();
426
+ function D(a) {
427
+ ze[a ? "unshift" : "push"](() => {
428
+ N = a, t(2, N);
429
+ });
430
+ }
431
+ return n.$$set = (a) => {
432
+ "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, w = a.caticon2), "caticon3" in a && t(19, C = 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);
433
+ }, n.$$.update = () => {
434
+ n.$$.dirty[0] & /*endpoint*/
435
+ 268435456 && g && ne(), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
436
+ 33554436 && N && I && de(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
437
+ 67108868 && N && m && ge(), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
438
+ 1358954498 && g && b && v && M.length > 0 && G(), n.$$.dirty[0] & /*currency, lang, isLoading*/
439
+ 16777226 && v && b && !E && le(), n.$$.dirty[0] & /*lang*/
440
+ 16777216 && b && X(), n.$$.dirty[0] & /*translationurl*/
441
+ 134217728 && h && ae();
442
+ }, [
443
+ s,
444
+ v,
445
+ N,
446
+ E,
447
+ O,
448
+ F,
449
+ $,
450
+ Y,
451
+ ee,
452
+ re,
453
+ K,
454
+ te,
455
+ z,
456
+ P,
457
+ Q,
458
+ r,
459
+ p,
460
+ o,
461
+ w,
462
+ C,
463
+ f,
464
+ L,
465
+ T,
466
+ S,
467
+ b,
468
+ I,
469
+ m,
470
+ h,
471
+ g,
472
+ d,
473
+ M,
474
+ Z,
475
+ D
476
+ ];
477
+ }
478
+ class Ye extends We {
479
+ constructor(e) {
480
+ super(), Ae(
481
+ this,
482
+ e,
483
+ Ge,
484
+ qe,
485
+ Ve,
486
+ {
487
+ visualstructure: 0,
488
+ title: 15,
489
+ caticon0: 16,
490
+ caticon1: 17,
491
+ caticon2: 18,
492
+ caticon3: 19,
493
+ iconlabels: 20,
494
+ backgroundsrc: 21,
495
+ currency: 1,
496
+ backgroundsrcmobile: 22,
497
+ titlelogopath: 23,
498
+ lang: 24,
499
+ clientstyling: 25,
500
+ clientstylingurl: 26,
501
+ translationurl: 27,
502
+ endpoint: 28,
503
+ gameid: 29
504
+ },
505
+ Me,
506
+ [-1, -1]
507
+ );
508
+ }
509
+ get visualstructure() {
510
+ return this.$$.ctx[0];
511
+ }
512
+ set visualstructure(e) {
513
+ this.$$set({ visualstructure: e }), j();
514
+ }
515
+ get title() {
516
+ return this.$$.ctx[15];
517
+ }
518
+ set title(e) {
519
+ this.$$set({ title: e }), j();
520
+ }
521
+ get caticon0() {
522
+ return this.$$.ctx[16];
523
+ }
524
+ set caticon0(e) {
525
+ this.$$set({ caticon0: e }), j();
526
+ }
527
+ get caticon1() {
528
+ return this.$$.ctx[17];
529
+ }
530
+ set caticon1(e) {
531
+ this.$$set({ caticon1: e }), j();
532
+ }
533
+ get caticon2() {
534
+ return this.$$.ctx[18];
535
+ }
536
+ set caticon2(e) {
537
+ this.$$set({ caticon2: e }), j();
538
+ }
539
+ get caticon3() {
540
+ return this.$$.ctx[19];
541
+ }
542
+ set caticon3(e) {
543
+ this.$$set({ caticon3: e }), j();
544
+ }
545
+ get iconlabels() {
546
+ return this.$$.ctx[20];
547
+ }
548
+ set iconlabels(e) {
549
+ this.$$set({ iconlabels: e }), j();
550
+ }
551
+ get backgroundsrc() {
552
+ return this.$$.ctx[21];
553
+ }
554
+ set backgroundsrc(e) {
555
+ this.$$set({ backgroundsrc: e }), j();
556
+ }
557
+ get currency() {
558
+ return this.$$.ctx[1];
559
+ }
560
+ set currency(e) {
561
+ this.$$set({ currency: e }), j();
562
+ }
563
+ get backgroundsrcmobile() {
564
+ return this.$$.ctx[22];
565
+ }
566
+ set backgroundsrcmobile(e) {
567
+ this.$$set({ backgroundsrcmobile: e }), j();
568
+ }
569
+ get titlelogopath() {
570
+ return this.$$.ctx[23];
571
+ }
572
+ set titlelogopath(e) {
573
+ this.$$set({ titlelogopath: e }), j();
574
+ }
575
+ get lang() {
576
+ return this.$$.ctx[24];
577
+ }
578
+ set lang(e) {
579
+ this.$$set({ lang: e }), j();
580
+ }
581
+ get clientstyling() {
582
+ return this.$$.ctx[25];
583
+ }
584
+ set clientstyling(e) {
585
+ this.$$set({ clientstyling: e }), j();
586
+ }
587
+ get clientstylingurl() {
588
+ return this.$$.ctx[26];
589
+ }
590
+ set clientstylingurl(e) {
591
+ this.$$set({ clientstylingurl: e }), j();
592
+ }
593
+ get translationurl() {
594
+ return this.$$.ctx[27];
595
+ }
596
+ set translationurl(e) {
597
+ this.$$set({ translationurl: e }), j();
598
+ }
599
+ get endpoint() {
600
+ return this.$$.ctx[28];
601
+ }
602
+ set endpoint(e) {
603
+ this.$$set({ endpoint: e }), j();
604
+ }
605
+ get gameid() {
606
+ return this.$$.ctx[29];
607
+ }
608
+ set gameid(e) {
609
+ this.$$set({ gameid: e }), j();
610
+ }
611
+ }
612
+ Ie(Ye, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
613
+ export {
614
+ Ye as default
615
+ };