@everymatrix/casino-lobby 1.72.1 → 1.73.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.
Files changed (60) hide show
  1. package/components/{CasinoCalendar-DaqInWFB.js → CasinoCalendar-BxCFWVMO.js} +4 -4
  2. package/components/{CasinoCalendar-D8285A_4.js → CasinoCalendar-cecf3yV9.js} +4 -4
  3. package/components/{CasinoCalendarDailyDetails-D17fJmHk.js → CasinoCalendarDailyDetails-9M3Wc-65.js} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-Bawf2lVh.js → CasinoCalendarDailyDetails-BenTRCF-.js} +1 -1
  5. package/components/{CasinoCalendarDailyItem-CNU2dbWb.js → CasinoCalendarDailyItem--eOkU17z.js} +1 -1
  6. package/components/{CasinoCalendarDailyItem-C-jXPiMc.js → CasinoCalendarDailyItem-a6X6lpVV.js} +1 -1
  7. package/components/{CasinoCategoriesSlider-CeLXgUCx.js → CasinoCategoriesSlider-DTXP5MCD.js} +2 -2
  8. package/components/{CasinoCategoriesSlider-DH7-Jx22.js → CasinoCategoriesSlider-cVm1UEVZ.js} +2 -2
  9. package/components/{CasinoCollectionsProviders-BMYO5_oZ.js → CasinoCollectionsProviders-BxI7WaY-.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-BvTs6B-x.js → CasinoCollectionsProviders-kbD1J4nL.js} +1 -1
  11. package/components/{CasinoFavoritesSection-C70AjovE.js → CasinoFavoritesSection-CC2FWkDe.js} +2 -2
  12. package/components/{CasinoFavoritesSection-BKqd6QPI.js → CasinoFavoritesSection-COL7maO6.js} +2 -2
  13. package/components/{CasinoFavoritesSection-XYINNBSA.cjs → CasinoFavoritesSection-f8yiTIJQ.cjs} +1 -1
  14. package/components/{CasinoFilter-dnkB-x_S.js → CasinoFilter-8cIt8X5M.js} +1 -1
  15. package/components/{CasinoFilter-BcJ-9hhc.js → CasinoFilter-Z8P4TCHb.js} +1 -1
  16. package/components/{CasinoGameThumbnail-fh7soJLK.js → CasinoGameThumbnail-4b8r0cT9.js} +2 -2
  17. package/components/{CasinoGameThumbnail-DhG_1DP9.cjs → CasinoGameThumbnail-8aXbWXN_.cjs} +1 -1
  18. package/components/{CasinoGameThumbnail-DoFtJNVa.js → CasinoGameThumbnail-DzaTuQ47.js} +2 -2
  19. package/components/{CasinoGamesCategorySection-CR3TsCIr.cjs → CasinoGamesCategorySection-BQutphJy.cjs} +1 -1
  20. package/components/{CasinoGamesCategorySection-BUme-Htd.js → CasinoGamesCategorySection-Dw5wr4Nu.js} +5 -5
  21. package/components/{CasinoGamesCategorySection-DvtiqWF7.js → CasinoGamesCategorySection-SoYJu5Gt.js} +5 -5
  22. package/components/CasinoJackpotBanner-BI4BRDQ5.js +812 -0
  23. package/components/CasinoJackpotBanner-Bo3DtwGk.cjs +1 -0
  24. package/components/CasinoJackpotBanner-Cuk9Hinn.js +808 -0
  25. package/components/{CasinoLastPlayedSection-Rb4msFL_.js → CasinoLastPlayedSection-BMlvUb-p.js} +2 -2
  26. package/components/{CasinoLastPlayedSection-oGkfGBwG.js → CasinoLastPlayedSection-CT0io6jK.js} +2 -2
  27. package/components/{CasinoLastPlayedSection-1yhfRFjo.cjs → CasinoLastPlayedSection-DK5pVGi_.cjs} +1 -1
  28. package/components/{CasinoLobby-aB9f0zFp.cjs → CasinoLobby-BPICPjDy.cjs} +1 -1
  29. package/components/{CasinoLobby-DnWoXtXL.js → CasinoLobby-Cdzdqgtt.js} +3 -3
  30. package/components/{CasinoLobby-CQ3V0-l_.js → CasinoLobby-CuPEEjz6.js} +3 -3
  31. package/components/{CasinoMostPlayedSection-BVvh0OQ0.js → CasinoMostPlayedSection-BiJuBAns.js} +2 -2
  32. package/components/{CasinoMostPlayedSection-CZOxOZVF.cjs → CasinoMostPlayedSection-CRAI7pbg.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-CckjcAvV.js → CasinoMostPlayedSection-DoiaQ9-H.js} +2 -2
  34. package/components/{CasinoMyGames-DMeOP0Ir.cjs → CasinoMyGames--Zd_0i6N.cjs} +1 -1
  35. package/components/{CasinoMyGames-BUX8JdRW.js → CasinoMyGames-ChpeH2aN.js} +4 -4
  36. package/components/{CasinoMyGames-DBk0qpL0.js → CasinoMyGames-evCuPqC7.js} +4 -4
  37. package/components/{CasinoPage-CTQ4pjz5.js → CasinoPage-Bpsx45sY.js} +1305 -1280
  38. package/components/CasinoPage-Di5TLiS3.cjs +1 -0
  39. package/components/{CasinoPage-963K0qkA.js → CasinoPage-DxcKIEYX.js} +979 -954
  40. package/components/{CasinoRandomGame-DR9ShIKc.js → CasinoRandomGame-DtRLPA4l.js} +1 -1
  41. package/components/{CasinoRandomGame-DdY0LMqV.js → CasinoRandomGame-fGHWpPMz.js} +1 -1
  42. package/components/{CasinoSearch-O8BFfuMh.js → CasinoSearch-C4egv7cj.js} +3 -3
  43. package/components/{CasinoSearch-BFj2WAB3.js → CasinoSearch-CYCrFdK6.js} +3 -3
  44. package/components/{CasinoSearch-D41XnJOo.cjs → CasinoSearch-DqU2OnNm.cjs} +1 -1
  45. package/components/{CasinoSlider-zDcdSGZI.js → CasinoSlider-Bc4XHMvA.js} +1 -1
  46. package/components/{CasinoSlider-DxPhvmx5.js → CasinoSlider-BnZNKO4Z.js} +1 -1
  47. package/components/{CasinoSort-Bv9Xm47a.js → CasinoSort-C3XYwVvu.js} +1 -1
  48. package/components/{CasinoSort-BqIqZPtn.js → CasinoSort-Cpl8-mZs.js} +1 -1
  49. package/components/{CasinoWinners-CkNCqfiv.js → CasinoWinners-CbLarqtW.js} +2 -2
  50. package/components/{CasinoWinners-C9LGaZlh.js → CasinoWinners-CnyEfY3y.js} +2 -2
  51. package/components/{GeneralAnimationLoading-Dnw96YoY.js → GeneralAnimationLoading-Cu3EumIG.js} +1 -1
  52. package/components/{GeneralAnimationLoading-oBd_asJT.js → GeneralAnimationLoading-qJGhyr02.js} +1 -1
  53. package/es2015/casino-lobby.cjs +1 -1
  54. package/es2015/casino-lobby.js +1 -1
  55. package/esnext/casino-lobby.js +1 -1
  56. package/package.json +1 -1
  57. package/components/CasinoJackpotBanner-Afzkq4td.js +0 -810
  58. package/components/CasinoJackpotBanner-SH08_0Ad.cjs +0 -1
  59. package/components/CasinoJackpotBanner-THaCe8Q8.js +0 -806
  60. package/components/CasinoPage-DBbBQIRX.cjs +0 -1
@@ -0,0 +1,812 @@
1
+ import { a as ze, $ as Ne, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as N, h as R, j as s, o as De, W as He, C as Pe, r as o, G as je, D as O, E as b, p as r, A as qe, B as k, l as Ge, v as Te, w as Ke, U as Ye, m as J, q as V, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-BxCFWVMO.js";
2
+ import "../stencil/ui-image-2_i-_1cj.js";
3
+ function We(i, e) {
4
+ ze(i, e);
5
+ }
6
+ function et(i) {
7
+ Ne.set(i);
8
+ }
9
+ const Ae = {
10
+ en: {
11
+ loadingText: "Loading, please wait..."
12
+ },
13
+ "zh-hk": {
14
+ loadingText: "加载请稍候 ..."
15
+ },
16
+ fr: {
17
+ loadingText: "Chargement, veuillez patienter..."
18
+ },
19
+ ro: {
20
+ loadingText: "Se incarca, va rugam asteptati..."
21
+ },
22
+ es: {
23
+ loadingText: "Cargando"
24
+ },
25
+ pt: {
26
+ loadingText: "Carregando, por favor espere..."
27
+ },
28
+ de: {
29
+ loadingText: "Laden, bitte warten..."
30
+ },
31
+ hr: {
32
+ loadingText: "Učitavanje"
33
+ },
34
+ "pt-br": {
35
+ CarregandoText: "Carregando"
36
+ },
37
+ "es-mx": {
38
+ CargandoText: "Cargando, por favor espere…"
39
+ },
40
+ tr: {
41
+ loadingText: "Yükleniyor, lütfen bekleyin..."
42
+ },
43
+ "en-us": {
44
+ loadingText: "Loading, please wait..."
45
+ }
46
+ };
47
+ function tt(i) {
48
+ Me(i, "svelte-w5pa6u", ':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;font-family:inherit}.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 ui-image 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 ui-image 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, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
49
+ }
50
+ function Ie(i, e, t) {
51
+ const a = i.slice();
52
+ return a[56] = e[t], a[58] = t, a;
53
+ }
54
+ function it(i) {
55
+ let e, t, a, n, m, c, L, W, T, v, _, h, I;
56
+ function F(g, u) {
57
+ return (
58
+ /*tabletView*/
59
+ g[8] ? nt : rt
60
+ );
61
+ }
62
+ let j = F(i), p = j(i);
63
+ return {
64
+ c() {
65
+ e = s("div"), t = s("div"), a = s("div"), n = s("div"), m = k(), c = s("div"), p.c(), L = k(), W = s("div"), T = s("ui-image"), o(n, "class", "vendorLogo"), je(n, "background-image", "url(" + /*vendorIcon*/
66
+ i[9] + ")"), o(c, "class", "displayContainer"), O(T.src, v = /*titleLogoImg*/
67
+ i[14]) || b(T, "src", v), b(T, "alt", ""), o(W, "class", "title"), o(a, "class", _ = "mainWrapper " + /*visualstructure*/
68
+ i[0] + " " + /*mobileView*/
69
+ (i[7] && !/*tabletView*/
70
+ i[8] ? "mobile" : (
71
+ /*tabletView*/
72
+ i[8] ? "tablet" : ""
73
+ ))), je(a, "background", "url(" + /*backgroundImg*/
74
+ i[13] + ")"), o(t, "class", "jackpotBanner"), o(e, "class", "");
75
+ },
76
+ m(g, u) {
77
+ R(g, e, u), r(e, t), r(t, a), r(a, n), r(a, m), r(a, c), p.m(c, null), r(a, L), r(a, W), r(W, T), h || (I = qe(
78
+ t,
79
+ "click",
80
+ /*click_handler*/
81
+ i[35]
82
+ ), h = !0);
83
+ },
84
+ p(g, u) {
85
+ u[0] & /*vendorIcon*/
86
+ 512 && je(n, "background-image", "url(" + /*vendorIcon*/
87
+ g[9] + ")"), j === (j = F(g)) && p ? p.p(g, u) : (p.d(1), p = j(g), p && (p.c(), p.m(c, null))), u[0] & /*titleLogoImg*/
88
+ 16384 && !O(T.src, v = /*titleLogoImg*/
89
+ g[14]) && b(T, "src", v), u[0] & /*visualstructure, mobileView, tabletView*/
90
+ 385 && _ !== (_ = "mainWrapper " + /*visualstructure*/
91
+ g[0] + " " + /*mobileView*/
92
+ (g[7] && !/*tabletView*/
93
+ g[8] ? "mobile" : (
94
+ /*tabletView*/
95
+ g[8] ? "tablet" : ""
96
+ ))) && o(a, "class", _), u[0] & /*backgroundImg*/
97
+ 8192 && je(a, "background", "url(" + /*backgroundImg*/
98
+ g[13] + ")");
99
+ },
100
+ d(g) {
101
+ g && N(e), p.d(), h = !1, I();
102
+ }
103
+ };
104
+ }
105
+ function at(i) {
106
+ let e;
107
+ return {
108
+ c() {
109
+ e = s("div"), o(e, "class", "LoadingSpinner");
110
+ },
111
+ m(t, a) {
112
+ R(t, e, a);
113
+ },
114
+ p: Se,
115
+ d(t) {
116
+ t && N(e);
117
+ }
118
+ };
119
+ }
120
+ function lt(i) {
121
+ let e;
122
+ return {
123
+ c() {
124
+ e = s("p"), e.textContent = "500 Server error";
125
+ },
126
+ m(t, a) {
127
+ R(t, e, a);
128
+ },
129
+ p: Se,
130
+ d(t) {
131
+ t && N(e);
132
+ }
133
+ };
134
+ }
135
+ function nt(i) {
136
+ let e, t, a, n, m, c, L, W = (
137
+ /*formattedLabels*/
138
+ i[11][0] + ""
139
+ ), T, v, _, h, I = (
140
+ /*realtimeupdate*/
141
+ (i[2] === "true" ? (
142
+ /*reversedJackpotValues*/
143
+ i[16][0]
144
+ ) : (
145
+ /*formattedJackpotValues*/
146
+ i[10][0]
147
+ )) + ""
148
+ ), F, j, p, g, u, y, E, ne, K, P = (
149
+ /*formattedLabels*/
150
+ i[11][1] + ""
151
+ ), me, ce, M, re, ie = (
152
+ /*realtimeupdate*/
153
+ (i[2] === "true" ? (
154
+ /*reversedJackpotValues*/
155
+ i[16][1]
156
+ ) : (
157
+ /*formattedJackpotValues*/
158
+ i[10][1]
159
+ )) + ""
160
+ ), ae, oe, de, q, Y, Q, S, X, ye, le, D = (
161
+ /*formattedLabels*/
162
+ i[11][2] + ""
163
+ ), Z, ke, H, ue, fe = (
164
+ /*realtimeupdate*/
165
+ (i[2] === "true" ? (
166
+ /*updatedJackpotValues*/
167
+ i[6][2]
168
+ ) : (
169
+ /*formattedJackpotValues*/
170
+ i[10][2]
171
+ )) + ""
172
+ ), he, ve, we, $, ee, G, pe, be, ge, se = (
173
+ /*formattedLabels*/
174
+ i[11][3] + ""
175
+ ), _e, Ce, te, l, f = (
176
+ /*realtimeupdate*/
177
+ (i[2] === "true" ? (
178
+ /*updatedJackpotValues*/
179
+ i[6][3]
180
+ ) : (
181
+ /*formattedJackpotValues*/
182
+ i[10][3]
183
+ )) + ""
184
+ ), A, Le, x = !/*currencylocale*/
185
+ i[3] && Ee(i), B = !/*currencylocale*/
186
+ i[3] && Je(i), U = !/*currencylocale*/
187
+ i[3] && Ve(i), z = !/*currencylocale*/
188
+ i[3] && xe(i);
189
+ return {
190
+ c() {
191
+ e = s("div"), t = s("div"), a = s("div"), n = s("ui-image"), c = k(), L = s("span"), T = V(W), v = k(), _ = s("span"), h = s("span"), F = V(I), j = k(), x && x.c(), p = k(), g = s("div"), u = s("div"), y = s("ui-image"), ne = k(), K = s("span"), me = V(P), ce = k(), M = s("span"), re = s("span"), ae = V(ie), oe = k(), B && B.c(), de = k(), q = s("div"), Y = s("div"), Q = s("div"), S = s("ui-image"), ye = k(), le = s("span"), Z = V(D), ke = k(), H = s("span"), ue = s("span"), he = V(fe), ve = k(), U && U.c(), we = k(), $ = s("div"), ee = s("div"), G = s("ui-image"), be = k(), ge = s("span"), _e = V(se), Ce = k(), te = s("span"), l = s("span"), A = V(f), Le = k(), z && z.c(), b(n, "class", "displayCardIcon"), O(n.src, m = /*caticons*/
192
+ i[12][0]) || b(n, "src", m), b(n, "alt", ""), o(L, "class", "cardLabel"), o(a, "class", "iconWrapper"), o(h, "class", "jackpotValue"), o(_, "class", "cardTextWrapper"), o(t, "class", "displayCard"), b(y, "class", "displayCardIcon"), O(y.src, E = /*caticons*/
193
+ i[12][1]) || b(y, "src", E), b(y, "alt", ""), o(K, "class", "cardLabel"), o(u, "class", "iconWrapper"), o(re, "class", "jackpotValue"), o(M, "class", "cardTextWrapper"), o(g, "class", "displayCard"), o(e, "class", "pairWrapper"), b(S, "class", "displayCardIcon"), O(S.src, X = /*caticons*/
194
+ i[12][2]) || b(S, "src", X), b(S, "alt", ""), o(le, "class", "cardLabel"), o(Q, "class", "iconWrapper"), o(ue, "class", "jackpotValue"), o(H, "class", "cardTextWrapper"), o(Y, "class", "displayCard"), b(G, "class", "displayCardIcon"), O(G.src, pe = /*caticons*/
195
+ i[12][3]) || b(G, "src", pe), b(G, "alt", ""), o(ge, "class", "cardLabel"), o(ee, "class", "iconWrapper"), o(l, "class", "jackpotValue"), o(te, "class", "cardTextWrapper"), o($, "class", "displayCard"), o(q, "class", "pairWrapper");
196
+ },
197
+ m(d, w) {
198
+ R(d, e, w), r(e, t), r(t, a), r(a, n), r(a, c), r(a, L), r(L, T), r(t, v), r(t, _), r(_, h), r(h, F), r(_, j), x && x.m(_, null), r(e, p), r(e, g), r(g, u), r(u, y), r(u, ne), r(u, K), r(K, me), r(g, ce), r(g, M), r(M, re), r(re, ae), r(M, oe), B && B.m(M, null), R(d, de, w), R(d, q, w), r(q, Y), r(Y, Q), r(Q, S), r(Q, ye), r(Q, le), r(le, Z), r(Y, ke), r(Y, H), r(H, ue), r(ue, he), r(H, ve), U && U.m(H, null), r(q, we), r(q, $), r($, ee), r(ee, G), r(ee, be), r(ee, ge), r(ge, _e), r($, Ce), r($, te), r(te, l), r(l, A), r(te, Le), z && z.m(te, null);
199
+ },
200
+ p(d, w) {
201
+ w[0] & /*caticons*/
202
+ 4096 && !O(n.src, m = /*caticons*/
203
+ d[12][0]) && b(n, "src", m), w[0] & /*formattedLabels*/
204
+ 2048 && W !== (W = /*formattedLabels*/
205
+ d[11][0] + "") && J(T, W), w[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
206
+ 66564 && I !== (I = /*realtimeupdate*/
207
+ (d[2] === "true" ? (
208
+ /*reversedJackpotValues*/
209
+ d[16][0]
210
+ ) : (
211
+ /*formattedJackpotValues*/
212
+ d[10][0]
213
+ )) + "") && J(F, I), /*currencylocale*/
214
+ d[3] ? x && (x.d(1), x = null) : x ? x.p(d, w) : (x = Ee(d), x.c(), x.m(_, null)), w[0] & /*caticons*/
215
+ 4096 && !O(y.src, E = /*caticons*/
216
+ d[12][1]) && b(y, "src", E), w[0] & /*formattedLabels*/
217
+ 2048 && P !== (P = /*formattedLabels*/
218
+ d[11][1] + "") && J(me, P), w[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
219
+ 66564 && ie !== (ie = /*realtimeupdate*/
220
+ (d[2] === "true" ? (
221
+ /*reversedJackpotValues*/
222
+ d[16][1]
223
+ ) : (
224
+ /*formattedJackpotValues*/
225
+ d[10][1]
226
+ )) + "") && J(ae, ie), /*currencylocale*/
227
+ d[3] ? B && (B.d(1), B = null) : B ? B.p(d, w) : (B = Je(d), B.c(), B.m(M, null)), w[0] & /*caticons*/
228
+ 4096 && !O(S.src, X = /*caticons*/
229
+ d[12][2]) && b(S, "src", X), w[0] & /*formattedLabels*/
230
+ 2048 && D !== (D = /*formattedLabels*/
231
+ d[11][2] + "") && J(Z, D), w[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
232
+ 1092 && fe !== (fe = /*realtimeupdate*/
233
+ (d[2] === "true" ? (
234
+ /*updatedJackpotValues*/
235
+ d[6][2]
236
+ ) : (
237
+ /*formattedJackpotValues*/
238
+ d[10][2]
239
+ )) + "") && J(he, fe), /*currencylocale*/
240
+ d[3] ? U && (U.d(1), U = null) : U ? U.p(d, w) : (U = Ve(d), U.c(), U.m(H, null)), w[0] & /*caticons*/
241
+ 4096 && !O(G.src, pe = /*caticons*/
242
+ d[12][3]) && b(G, "src", pe), w[0] & /*formattedLabels*/
243
+ 2048 && se !== (se = /*formattedLabels*/
244
+ d[11][3] + "") && J(_e, se), w[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
245
+ 1092 && f !== (f = /*realtimeupdate*/
246
+ (d[2] === "true" ? (
247
+ /*updatedJackpotValues*/
248
+ d[6][3]
249
+ ) : (
250
+ /*formattedJackpotValues*/
251
+ d[10][3]
252
+ )) + "") && J(A, f), /*currencylocale*/
253
+ d[3] ? z && (z.d(1), z = null) : z ? z.p(d, w) : (z = xe(d), z.c(), z.m(te, null));
254
+ },
255
+ d(d) {
256
+ d && (N(e), N(de), N(q)), x && x.d(), B && B.d(), U && U.d(), z && z.d();
257
+ }
258
+ };
259
+ }
260
+ function rt(i) {
261
+ let e, t = Te(Array(4)), a = [];
262
+ for (let n = 0; n < t.length; n += 1)
263
+ a[n] = Ue(Ie(i, t, n));
264
+ return {
265
+ c() {
266
+ for (let n = 0; n < a.length; n += 1)
267
+ a[n].c();
268
+ e = Ye();
269
+ },
270
+ m(n, m) {
271
+ for (let c = 0; c < a.length; c += 1)
272
+ a[c] && a[c].m(n, m);
273
+ R(n, e, m);
274
+ },
275
+ p(n, m) {
276
+ if (m[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
277
+ 72718) {
278
+ t = Te(Array(4));
279
+ let c;
280
+ for (c = 0; c < t.length; c += 1) {
281
+ const L = Ie(n, t, c);
282
+ a[c] ? a[c].p(L, m) : (a[c] = Ue(L), a[c].c(), a[c].m(e.parentNode, e));
283
+ }
284
+ for (; c < a.length; c += 1)
285
+ a[c].d(1);
286
+ a.length = t.length;
287
+ }
288
+ },
289
+ d(n) {
290
+ n && N(e), Ke(a, n);
291
+ }
292
+ };
293
+ }
294
+ function Ee(i) {
295
+ let e, t;
296
+ return {
297
+ c() {
298
+ e = s("span"), t = V(
299
+ /*currency*/
300
+ i[1]
301
+ ), o(e, "class", "jackpot-currency");
302
+ },
303
+ m(a, n) {
304
+ R(a, e, n), r(e, t);
305
+ },
306
+ p(a, n) {
307
+ n[0] & /*currency*/
308
+ 2 && J(
309
+ t,
310
+ /*currency*/
311
+ a[1]
312
+ );
313
+ },
314
+ d(a) {
315
+ a && N(e);
316
+ }
317
+ };
318
+ }
319
+ function Je(i) {
320
+ let e, t;
321
+ return {
322
+ c() {
323
+ e = s("span"), t = V(
324
+ /*currency*/
325
+ i[1]
326
+ ), o(e, "class", "jackpot-currency");
327
+ },
328
+ m(a, n) {
329
+ R(a, e, n), r(e, t);
330
+ },
331
+ p(a, n) {
332
+ n[0] & /*currency*/
333
+ 2 && J(
334
+ t,
335
+ /*currency*/
336
+ a[1]
337
+ );
338
+ },
339
+ d(a) {
340
+ a && N(e);
341
+ }
342
+ };
343
+ }
344
+ function Ve(i) {
345
+ let e, t;
346
+ return {
347
+ c() {
348
+ e = s("span"), t = V(
349
+ /*currency*/
350
+ i[1]
351
+ ), o(e, "class", "jackpot-currency");
352
+ },
353
+ m(a, n) {
354
+ R(a, e, n), r(e, t);
355
+ },
356
+ p(a, n) {
357
+ n[0] & /*currency*/
358
+ 2 && J(
359
+ t,
360
+ /*currency*/
361
+ a[1]
362
+ );
363
+ },
364
+ d(a) {
365
+ a && N(e);
366
+ }
367
+ };
368
+ }
369
+ function xe(i) {
370
+ let e, t;
371
+ return {
372
+ c() {
373
+ e = s("span"), t = V(
374
+ /*currency*/
375
+ i[1]
376
+ ), o(e, "class", "jackpot-currency");
377
+ },
378
+ m(a, n) {
379
+ R(a, e, n), r(e, t);
380
+ },
381
+ p(a, n) {
382
+ n[0] & /*currency*/
383
+ 2 && J(
384
+ t,
385
+ /*currency*/
386
+ a[1]
387
+ );
388
+ },
389
+ d(a) {
390
+ a && N(e);
391
+ }
392
+ };
393
+ }
394
+ function Be(i) {
395
+ let e, t;
396
+ return {
397
+ c() {
398
+ e = s("span"), t = V(
399
+ /*currency*/
400
+ i[1]
401
+ ), o(e, "class", "jackpot-currency");
402
+ },
403
+ m(a, n) {
404
+ R(a, e, n), r(e, t);
405
+ },
406
+ p(a, n) {
407
+ n[0] & /*currency*/
408
+ 2 && J(
409
+ t,
410
+ /*currency*/
411
+ a[1]
412
+ );
413
+ },
414
+ d(a) {
415
+ a && N(e);
416
+ }
417
+ };
418
+ }
419
+ function Ue(i) {
420
+ var g;
421
+ let e, t, a, n, m, c, L = (
422
+ /*formattedLabels*/
423
+ i[11][
424
+ /*i*/
425
+ i[58]
426
+ ] + ""
427
+ ), W, T, v, _, h = (
428
+ /*realtimeupdate*/
429
+ (i[2] === "true" ? (
430
+ /*reversedJackpotValues*/
431
+ i[16][
432
+ /*i*/
433
+ i[58]
434
+ ]
435
+ ) : (
436
+ /*formattedJackpotValues*/
437
+ (g = i[10][
438
+ /*i*/
439
+ i[58]
440
+ ]) != null ? g : ""
441
+ )) + ""
442
+ ), I, F, j, p = !/*currencylocale*/
443
+ i[3] && Be(i);
444
+ return {
445
+ c() {
446
+ e = s("div"), t = s("div"), a = s("ui-image"), m = k(), c = s("span"), W = V(L), T = k(), v = s("span"), _ = s("span"), I = V(h), F = k(), p && p.c(), j = k(), b(a, "class", "displayCardIcon"), O(a.src, n = /*caticons*/
447
+ i[12][
448
+ /*i*/
449
+ i[58]
450
+ ]) || b(a, "src", n), b(a, "alt", ""), o(c, "class", "cardLabel"), o(t, "class", "iconWrapper"), o(_, "class", "jackpotValue"), o(v, "class", "cardTextWrapper"), o(e, "class", "displayCard");
451
+ },
452
+ m(u, y) {
453
+ R(u, e, y), r(e, t), r(t, a), r(t, m), r(t, c), r(c, W), r(e, T), r(e, v), r(v, _), r(_, I), r(v, F), p && p.m(v, null), r(e, j);
454
+ },
455
+ p(u, y) {
456
+ var E;
457
+ y[0] & /*caticons*/
458
+ 4096 && !O(a.src, n = /*caticons*/
459
+ u[12][
460
+ /*i*/
461
+ u[58]
462
+ ]) && b(a, "src", n), y[0] & /*formattedLabels*/
463
+ 2048 && L !== (L = /*formattedLabels*/
464
+ u[11][
465
+ /*i*/
466
+ u[58]
467
+ ] + "") && J(W, L), y[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
468
+ 66564 && h !== (h = /*realtimeupdate*/
469
+ (u[2] === "true" ? (
470
+ /*reversedJackpotValues*/
471
+ u[16][
472
+ /*i*/
473
+ u[58]
474
+ ]
475
+ ) : (
476
+ /*formattedJackpotValues*/
477
+ (E = u[10][
478
+ /*i*/
479
+ u[58]
480
+ ]) != null ? E : ""
481
+ )) + "") && J(I, h), /*currencylocale*/
482
+ u[3] ? p && (p.d(1), p = null) : p ? p.p(u, y) : (p = Be(u), p.c(), p.m(v, null));
483
+ },
484
+ d(u) {
485
+ u && N(e), p && p.d();
486
+ }
487
+ };
488
+ }
489
+ function st(i) {
490
+ let e;
491
+ function t(m, c) {
492
+ return (
493
+ /*hasErrors*/
494
+ m[15] ? lt : (
495
+ /*isLoading*/
496
+ m[5] ? at : it
497
+ )
498
+ );
499
+ }
500
+ let a = t(i), n = a(i);
501
+ return {
502
+ c() {
503
+ e = s("div"), n.c();
504
+ },
505
+ m(m, c) {
506
+ R(m, e, c), n.m(e, null), i[36](e);
507
+ },
508
+ p(m, c) {
509
+ a === (a = t(m)) && n ? n.p(m, c) : (n.d(1), n = a(m), n && (n.c(), n.m(e, null)));
510
+ },
511
+ i: Se,
512
+ o: Se,
513
+ d(m) {
514
+ m && N(e), n.d(), i[36](null);
515
+ }
516
+ };
517
+ }
518
+ function ct(i, e, t) {
519
+ let a, { visualstructure: n = "" } = e, { title: m = "" } = e, { caticon0: c = "" } = e, { caticon1: L = "" } = e, { caticon2: W = "" } = e, { caticon3: T = "" } = e, { iconlabels: v = "" } = e, { backgroundsrc: _ = "" } = e, { currency: h = "" } = e, { backgroundsrcmobile: I = "" } = e, { titlelogopath: F = "" } = e, { lang: j = "en" } = e, { clientstyling: p = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: u = "" } = e, { endpoint: y = "" } = e, { gameid: E = "" } = e, { mbsource: ne } = e, { realtimeupdate: K = "false" } = e, { currencylocale: P = "" } = e, me = window.navigator.userAgent, ce = !1, M = !1, re = "", ie = [], ae = [], oe = [], de = [], q = [], Y = "", Q = "", S, X = !0, ye = !1, le, D = null, Z = [];
520
+ const ke = () => {
521
+ fetch(u).then((f) => f.json()).then((f) => {
522
+ Object.keys(f).forEach((A) => {
523
+ We(A, f[A]);
524
+ });
525
+ }).catch((f) => {
526
+ console.log(f);
527
+ });
528
+ };
529
+ Object.keys(Ae).forEach((l) => {
530
+ We(l, Ae[l]);
531
+ });
532
+ const H = ["typeSpread", "typeLeft"], ue = (l) => {
533
+ var A;
534
+ const f = (A = l == null ? void 0 : l.items[0]) == null ? void 0 : A.additionalData;
535
+ f && Object.values(f).forEach((Le) => ie.push(+Le));
536
+ }, fe = (l) => {
537
+ var f;
538
+ t(9, re = ((f = l == null ? void 0 : l.items[0]) == null ? void 0 : f.vendorLogo) || "");
539
+ }, he = () => {
540
+ if (y && j && h) {
541
+ let l = new URL(`${y}/v1/casino/jackpots`);
542
+ l.searchParams.append("filter", `id=${E}`), l.searchParams.append("language", j), l.searchParams.append("additionalDataCurrency", h), fetch(l.href).then((f) => f.json().then((A) => {
543
+ t(5, X = !1), le = A, ae.includes(E) && (ue(le), fe(le));
544
+ }).catch((A) => {
545
+ t(15, ye = !0), t(5, X = !1), console.error(A);
546
+ }).finally(() => {
547
+ ve();
548
+ }));
549
+ }
550
+ }, ve = () => {
551
+ const l = S.getRootNode().host;
552
+ l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
553
+ }, we = () => {
554
+ let l = new URL(`${y}/v1/casino/jackpots/config`);
555
+ fetch(l.href).then((f) => f.json()).then((f) => {
556
+ t(34, ae = f.egtJackpotIds.map((A) => A));
557
+ });
558
+ }, $ = () => {
559
+ t(7, ce = Ge(me) && window.innerHeight / window.innerWidth > 1), t(8, M = pe()), ie.length !== 0 && (t(10, oe = G(ie)), oe.reverse()), t(11, de = v ? v.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), H.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${H[0]}"`), t(0, n = H[0])), t(13, Y = I && ce && !M ? I : _), t(14, Q = F), t(12, q = [c, L, W, T]);
560
+ }, ee = (l) => Intl.NumberFormat(P, {
561
+ minimumFractionDigits: 2,
562
+ maximumFractionDigits: 2,
563
+ style: "currency",
564
+ currency: h
565
+ }).format(l).replace(/\s/g, ""), G = (l) => P ? l.map((f) => ee(f)) : l.map((f) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(f)), pe = () => {
566
+ const l = window.innerHeight / window.innerWidth;
567
+ return 0.75 < l && l < 1.6;
568
+ }, be = () => {
569
+ window.postMessage({ type: "JackpotBannerClicked", gameid: E }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
570
+ context: "JackpotBanner",
571
+ gameId: `${E}`
572
+ });
573
+ }, ge = () => {
574
+ et(j);
575
+ }, se = (l) => {
576
+ const f = JSON.parse(l.data);
577
+ if (f.success && f.data.messageType === "UpdateEgtJackpotBalance" && f.data.jackpotAlias.split("_")[0] === E) {
578
+ const A = Number(f.data.jackpotAlias.split("_")[1]) - 1;
579
+ t(
580
+ 6,
581
+ Z[A] = P ? ee(f.data.data[`${h}`].balance) : f.data.data[`${h}`].balance.toString(),
582
+ Z
583
+ );
584
+ }
585
+ }, _e = () => {
586
+ K === "true" && ($(), t(6, Z = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", se));
587
+ };
588
+ De(() => () => {
589
+ }), He(() => {
590
+ D && (D.removeEventListener("message", se), D.close(), D = null);
591
+ });
592
+ const Ce = () => be();
593
+ function te(l) {
594
+ Pe[l ? "unshift" : "push"](() => {
595
+ S = l, t(4, S);
596
+ });
597
+ }
598
+ return i.$$set = (l) => {
599
+ "visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, m = l.title), "caticon0" in l && t(19, c = l.caticon0), "caticon1" in l && t(20, L = l.caticon1), "caticon2" in l && t(21, W = l.caticon2), "caticon3" in l && t(22, T = l.caticon3), "iconlabels" in l && t(23, v = l.iconlabels), "backgroundsrc" in l && t(24, _ = l.backgroundsrc), "currency" in l && t(1, h = l.currency), "backgroundsrcmobile" in l && t(25, I = l.backgroundsrcmobile), "titlelogopath" in l && t(26, F = l.titlelogopath), "lang" in l && t(27, j = l.lang), "clientstyling" in l && t(28, p = l.clientstyling), "clientstylingurl" in l && t(29, g = l.clientstylingurl), "translationurl" in l && t(30, u = l.translationurl), "endpoint" in l && t(31, y = l.endpoint), "gameid" in l && t(32, E = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2, K = l.realtimeupdate), "currencylocale" in l && t(3, P = l.currencylocale);
600
+ }, i.$$.update = () => {
601
+ i.$$.dirty[1] & /*endpoint*/
602
+ 1 && y && we(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
603
+ 268435472 && p && S && Qe(S, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
604
+ 536870928 && g && S && Xe(S, g), i.$$.dirty[0] & /*customStylingContainer*/
605
+ 16 | i.$$.dirty[1] & /*mbsource*/
606
+ 4 && ne && S && Ze(S, `${ne}.Style`), i.$$.dirty[0] & /*lang, currency*/
607
+ 134217730 | i.$$.dirty[1] & /*endpoint, validGameIds*/
608
+ 9 && y && j && h && ae.length > 0 && he(), i.$$.dirty[0] & /*currency, lang, isLoading*/
609
+ 134217762 && h && j && !X && $(), i.$$.dirty[0] & /*lang*/
610
+ 134217728 && j && ge(), i.$$.dirty[0] & /*translationurl*/
611
+ 1073741824 && u && ke(), i.$$.dirty[0] & /*realtimeupdate*/
612
+ 4 && K && _e(), i.$$.dirty[0] & /*updatedJackpotValues*/
613
+ 64 && t(16, a = [...Z].reverse());
614
+ }, [
615
+ n,
616
+ h,
617
+ K,
618
+ P,
619
+ S,
620
+ X,
621
+ Z,
622
+ ce,
623
+ M,
624
+ re,
625
+ oe,
626
+ de,
627
+ q,
628
+ Y,
629
+ Q,
630
+ ye,
631
+ a,
632
+ be,
633
+ m,
634
+ c,
635
+ L,
636
+ W,
637
+ T,
638
+ v,
639
+ _,
640
+ I,
641
+ F,
642
+ j,
643
+ p,
644
+ g,
645
+ u,
646
+ y,
647
+ E,
648
+ ne,
649
+ ae,
650
+ Ce,
651
+ te
652
+ ];
653
+ }
654
+ class ot extends Re {
655
+ constructor(e) {
656
+ super(), Fe(
657
+ this,
658
+ e,
659
+ ct,
660
+ st,
661
+ Oe,
662
+ {
663
+ visualstructure: 0,
664
+ title: 18,
665
+ caticon0: 19,
666
+ caticon1: 20,
667
+ caticon2: 21,
668
+ caticon3: 22,
669
+ iconlabels: 23,
670
+ backgroundsrc: 24,
671
+ currency: 1,
672
+ backgroundsrcmobile: 25,
673
+ titlelogopath: 26,
674
+ lang: 27,
675
+ clientstyling: 28,
676
+ clientstylingurl: 29,
677
+ translationurl: 30,
678
+ endpoint: 31,
679
+ gameid: 32,
680
+ mbsource: 33,
681
+ realtimeupdate: 2,
682
+ currencylocale: 3
683
+ },
684
+ tt,
685
+ [-1, -1]
686
+ );
687
+ }
688
+ get visualstructure() {
689
+ return this.$$.ctx[0];
690
+ }
691
+ set visualstructure(e) {
692
+ this.$$set({ visualstructure: e }), C();
693
+ }
694
+ get title() {
695
+ return this.$$.ctx[18];
696
+ }
697
+ set title(e) {
698
+ this.$$set({ title: e }), C();
699
+ }
700
+ get caticon0() {
701
+ return this.$$.ctx[19];
702
+ }
703
+ set caticon0(e) {
704
+ this.$$set({ caticon0: e }), C();
705
+ }
706
+ get caticon1() {
707
+ return this.$$.ctx[20];
708
+ }
709
+ set caticon1(e) {
710
+ this.$$set({ caticon1: e }), C();
711
+ }
712
+ get caticon2() {
713
+ return this.$$.ctx[21];
714
+ }
715
+ set caticon2(e) {
716
+ this.$$set({ caticon2: e }), C();
717
+ }
718
+ get caticon3() {
719
+ return this.$$.ctx[22];
720
+ }
721
+ set caticon3(e) {
722
+ this.$$set({ caticon3: e }), C();
723
+ }
724
+ get iconlabels() {
725
+ return this.$$.ctx[23];
726
+ }
727
+ set iconlabels(e) {
728
+ this.$$set({ iconlabels: e }), C();
729
+ }
730
+ get backgroundsrc() {
731
+ return this.$$.ctx[24];
732
+ }
733
+ set backgroundsrc(e) {
734
+ this.$$set({ backgroundsrc: e }), C();
735
+ }
736
+ get currency() {
737
+ return this.$$.ctx[1];
738
+ }
739
+ set currency(e) {
740
+ this.$$set({ currency: e }), C();
741
+ }
742
+ get backgroundsrcmobile() {
743
+ return this.$$.ctx[25];
744
+ }
745
+ set backgroundsrcmobile(e) {
746
+ this.$$set({ backgroundsrcmobile: e }), C();
747
+ }
748
+ get titlelogopath() {
749
+ return this.$$.ctx[26];
750
+ }
751
+ set titlelogopath(e) {
752
+ this.$$set({ titlelogopath: e }), C();
753
+ }
754
+ get lang() {
755
+ return this.$$.ctx[27];
756
+ }
757
+ set lang(e) {
758
+ this.$$set({ lang: e }), C();
759
+ }
760
+ get clientstyling() {
761
+ return this.$$.ctx[28];
762
+ }
763
+ set clientstyling(e) {
764
+ this.$$set({ clientstyling: e }), C();
765
+ }
766
+ get clientstylingurl() {
767
+ return this.$$.ctx[29];
768
+ }
769
+ set clientstylingurl(e) {
770
+ this.$$set({ clientstylingurl: e }), C();
771
+ }
772
+ get translationurl() {
773
+ return this.$$.ctx[30];
774
+ }
775
+ set translationurl(e) {
776
+ this.$$set({ translationurl: e }), C();
777
+ }
778
+ get endpoint() {
779
+ return this.$$.ctx[31];
780
+ }
781
+ set endpoint(e) {
782
+ this.$$set({ endpoint: e }), C();
783
+ }
784
+ get gameid() {
785
+ return this.$$.ctx[32];
786
+ }
787
+ set gameid(e) {
788
+ this.$$set({ gameid: e }), C();
789
+ }
790
+ get mbsource() {
791
+ return this.$$.ctx[33];
792
+ }
793
+ set mbsource(e) {
794
+ this.$$set({ mbsource: e }), C();
795
+ }
796
+ get realtimeupdate() {
797
+ return this.$$.ctx[2];
798
+ }
799
+ set realtimeupdate(e) {
800
+ this.$$set({ realtimeupdate: e }), C();
801
+ }
802
+ get currencylocale() {
803
+ return this.$$.ctx[3];
804
+ }
805
+ set currencylocale(e) {
806
+ this.$$set({ currencylocale: e }), C();
807
+ }
808
+ }
809
+ $e(ot, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
810
+ export {
811
+ ot as default
812
+ };