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