@everymatrix/casino-lobby 1.62.4 → 1.63.1

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 (95) hide show
  1. package/components/{CasinoCalendar-zRo_9Za0.js → CasinoCalendar-CNMPPqgx.js} +1285 -1469
  2. package/components/{CasinoCalendar-CinFtvuW.js → CasinoCalendar-DF0Pr_uv.js} +1025 -1209
  3. package/components/CasinoCalendar-DoxssdOG.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-qkwXMyxI.js → CasinoCalendarDailyDetails-305OBzqh.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Cn37GUIj.cjs → CasinoCalendarDailyDetails-DUp41baV.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DL8uHwSN.js → CasinoCalendarDailyDetails-OB1lJeYE.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Bo9evLEj.cjs → CasinoCalendarDailyItem-B-DrlkeE.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DoK3veTp.js → CasinoCalendarDailyItem-D51VouvS.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DcqDKyz5.js → CasinoCalendarDailyItem-O-Ka4MG6.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-BBVXEukg.js → CasinoCategoriesSlider-BRS5bbYT.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-n2yKGzdi.cjs → CasinoCategoriesSlider-BiaZvSw4.cjs} +1 -1
  12. package/components/{CasinoCategoriesSlider-YxbN9BpC.js → CasinoCategoriesSlider-Bte1Sqxk.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-CPX65G1M.cjs → CasinoCollectionsProviders-CMAAQr-q.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-BvaxV9cb.js → CasinoCollectionsProviders-eQakUMn6.js} +1 -1
  15. package/components/{CasinoCollectionsProviders-Q0qcn7b_.js → CasinoCollectionsProviders-kaCgm3e1.js} +1 -1
  16. package/components/{CasinoFavoritesSection-Cd6MZupk.js → CasinoFavoritesSection-B2bVaaP6.js} +2 -2
  17. package/components/{CasinoFavoritesSection-xJDOrF1U.cjs → CasinoFavoritesSection-CzigR-dL.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-UQwc5GZl.js → CasinoFavoritesSection-hUEe-Tf0.js} +2 -2
  19. package/components/{CasinoFilter-DbcntrTg.js → CasinoFilter-CE3HGSQ0.js} +1 -1
  20. package/components/{CasinoFilter-DhiwjMr2.cjs → CasinoFilter-CaXIhjO3.cjs} +1 -1
  21. package/components/{CasinoFilter-ChsEa9Bx.js → CasinoFilter-g1NekVQ2.js} +1 -1
  22. package/components/CasinoGameThumbnail-DCRwj3vq.js +4360 -0
  23. package/components/CasinoGameThumbnail-DUG_Uqdj.js +4376 -0
  24. package/components/CasinoGameThumbnail-ODsH-VZ2.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-cBmXlPvr.js → CasinoGamesCategorySection-CLNhR4hD.js} +5 -5
  26. package/components/CasinoGamesCategorySection-CsL3VdHS.cjs +1 -0
  27. package/components/{CasinoGamesCategorySection-BR2fAhuE.js → CasinoGamesCategorySection-l-jRCUnZ.js} +5 -5
  28. package/components/CasinoJackpotBanner-BGP5NlAK.cjs +1 -0
  29. package/components/CasinoJackpotBanner-DiFabula.js +806 -0
  30. package/components/CasinoJackpotBanner-DnctL7sJ.js +810 -0
  31. package/components/{CasinoLastPlayedSection-DVxFmxMo.js → CasinoLastPlayedSection-BO-V6sRP.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-BNxagQvQ.js → CasinoLastPlayedSection-Ce3mzuku.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-BOI5jZer.cjs → CasinoLastPlayedSection-WTRz13SW.cjs} +1 -1
  34. package/components/CasinoLobby-CbK-afWM.cjs +1 -0
  35. package/components/CasinoLobby-CoHmXJCL.js +2001 -0
  36. package/components/CasinoLobby-zjNcK2iE.js +2001 -0
  37. package/components/{CasinoMostPlayedSection-BHHfXpGE.js → CasinoMostPlayedSection-CJg1aY33.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-BVW9W67v.js → CasinoMostPlayedSection-Di8djDRq.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-BcCGC9g9.cjs → CasinoMostPlayedSection-fwCxYxEp.cjs} +1 -1
  40. package/components/{CasinoMyGames-D24uWAzu.cjs → CasinoMyGames-5EDtkMnj.cjs} +1 -1
  41. package/components/{CasinoMyGames-D-icoklv.js → CasinoMyGames-C2kQ8Kej.js} +4 -4
  42. package/components/{CasinoMyGames-C701AMQV.js → CasinoMyGames-D5jH8lu_.js} +4 -4
  43. package/components/{CasinoPage-S3VM_WgK.js → CasinoPage-BgHbGm-g.js} +817 -776
  44. package/components/CasinoPage-DYbiUa8_.cjs +1 -0
  45. package/components/{CasinoPage-Ch58J2dv.js → CasinoPage-Dc9zsqhK.js} +815 -774
  46. package/components/{CasinoRandomGame-CbQvQHMi.js → CasinoRandomGame-BB4A3Me6.js} +1 -1
  47. package/components/{CasinoRandomGame-neIdOgUC.js → CasinoRandomGame-BalTtz4n.js} +1 -1
  48. package/components/{CasinoRandomGame-D4bGW7wH.cjs → CasinoRandomGame-qzNaZ__f.cjs} +1 -1
  49. package/components/CasinoSearch-DEbU_mnO.cjs +1 -0
  50. package/components/{CasinoSearch-7Ub5S3Xz.js → CasinoSearch-KJl38A6K.js} +335 -306
  51. package/components/{CasinoSearch-DqwsOjH4.js → CasinoSearch-_Q2V5zZj.js} +319 -290
  52. package/components/{CasinoSlider-TfFHBss2.js → CasinoSlider-CCs2pkhA.js} +15 -15
  53. package/components/{CasinoSlider-CotyciEv.cjs → CasinoSlider-Q3CLkzHo.cjs} +1 -1
  54. package/components/{CasinoSlider-DGETBGTm.js → CasinoSlider-VfpP1c2C.js} +15 -15
  55. package/components/{CasinoSort-B-2h6Htw.js → CasinoSort-BFlIPfWc.js} +1 -1
  56. package/components/{CasinoSort-Cmgp5JM5.js → CasinoSort-BRX2Xq-L.js} +1 -1
  57. package/components/{CasinoSort-X6V8pABW.cjs → CasinoSort-Ds5Gxm-O.cjs} +1 -1
  58. package/components/CasinoWinners-B_hz9jpe.cjs +1 -0
  59. package/components/CasinoWinners-DMV8Yt40.js +983 -0
  60. package/components/CasinoWinners-j5Ay-YXI.js +981 -0
  61. package/components/{GeneralAnimationLoading-B1-7gNLR.js → GeneralAnimationLoading-7OFxqSZ5.js} +1 -1
  62. package/components/{GeneralAnimationLoading-BV3DII71.js → GeneralAnimationLoading-BdfUf0_9.js} +1 -1
  63. package/components/{GeneralAnimationLoading-DasE8cAb.cjs → GeneralAnimationLoading-cgso8Mxu.cjs} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-BYqESYAt.js} +6 -1
  69. package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-QQFB7p9f.js} +6 -1
  70. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-cxzdDqDs.cjs} +6 -1
  71. package/stencil/{index-ab3202d6-c7Vf1NJ1.cjs → index-ab3202d6-4wRb7_uS.cjs} +1 -1
  72. package/stencil/{index-ab3202d6-9zuW-dLG.js → index-ab3202d6-ClNgaMg-.js} +1 -1
  73. package/stencil/{index-ab3202d6-CGVciVSL.js → index-ab3202d6-CvVYHCZs.js} +1 -1
  74. package/components/CasinoCalendar-B4GcXKnc.cjs +0 -22
  75. package/components/CasinoGamePage-C7LOIY6s.js +0 -4240
  76. package/components/CasinoGamePage-CmF8v1Cv.cjs +0 -18
  77. package/components/CasinoGamePage-DccB7M76.js +0 -4219
  78. package/components/CasinoGameThumbnail-BtO5lRYS.cjs +0 -38
  79. package/components/CasinoGameThumbnail-CZYWQzTY.js +0 -1836
  80. package/components/CasinoGameThumbnail-DZFIn3jP.js +0 -1852
  81. package/components/CasinoGamesCategorySection-CrrqpZDw.cjs +0 -1
  82. package/components/CasinoJackpotBanner-BhgV3UvA.js +0 -698
  83. package/components/CasinoJackpotBanner-CkVmxLVH.js +0 -694
  84. package/components/CasinoJackpotBanner-D5DqHlAR.cjs +0 -1
  85. package/components/CasinoLobby-BbG0IOww.js +0 -2445
  86. package/components/CasinoLobby-Dw7hk99v.js +0 -2445
  87. package/components/CasinoLobby-FeJfp1Qi.cjs +0 -1
  88. package/components/CasinoModal-7GCtnm_K.cjs +0 -1
  89. package/components/CasinoModal-DRoX6zuP.js +0 -368
  90. package/components/CasinoModal-DTJpGGWW.js +0 -368
  91. package/components/CasinoPage-CL8oluns.cjs +0 -1
  92. package/components/CasinoSearch-CPESM7xA.cjs +0 -1
  93. package/components/CasinoWinners-BSQs3S54.js +0 -980
  94. package/components/CasinoWinners-CuaTZjz4.cjs +0 -1
  95. package/components/CasinoWinners-CyDC7j5x.js +0 -978
@@ -1,698 +0,0 @@
1
- import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as w, b as Ve, n as ve, d as H, h as F, j as r, o as Ee, Z as ze, C as Ue, r as o, I as _e, D as V, E as y, p as n, A as Ne, B as O, l as Re, v as Ce, w as Be, G as Me, m as A, q as I, J as Oe, K as De, L as Pe, M as qe } from "./CasinoCalendar-zRo_9Za0.js";
2
- import "../stencil/ui-image-CYB9UUHg.js";
3
- function Le(a, e) {
4
- xe(a, e);
5
- }
6
- function He(a) {
7
- We.set(a);
8
- }
9
- const je = {
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 Fe(a) {
48
- Ve(a, "svelte-hxpfl0", ':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, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
49
- }
50
- function Se(a, e, i) {
51
- const l = a.slice();
52
- return l[53] = e[i], l[55] = i, l;
53
- }
54
- function Ge(a) {
55
- let e, i, l, s, u, c, C, k, h, L, b, W, J;
56
- function _(d, m) {
57
- return (
58
- /*tabletView*/
59
- d[6] ? Ze : Qe
60
- );
61
- }
62
- let S = _(a), g = S(a);
63
- return {
64
- c() {
65
- e = r("div"), i = r("div"), l = r("div"), s = r("div"), u = O(), c = r("div"), g.c(), C = O(), k = r("div"), h = r("ui-image"), o(s, "class", "vendorLogo"), _e(s, "background-image", "url(" + /*vendorIcon*/
66
- a[7] + ")"), o(c, "class", "displayContainer"), V(h.src, L = /*titleLogoImg*/
67
- a[12]) || y(h, "src", L), y(h, "alt", ""), o(k, "class", "title"), o(l, "class", b = "mainWrapper " + /*visualstructure*/
68
- a[0] + " " + /*mobileView*/
69
- (a[5] && !/*tabletView*/
70
- a[6] ? "mobile" : (
71
- /*tabletView*/
72
- a[6] ? "tablet" : ""
73
- ))), _e(l, "background", "url(" + /*backgroundImg*/
74
- a[11] + ")"), o(i, "class", "jackpotBanner"), o(e, "class", "");
75
- },
76
- m(d, m) {
77
- F(d, e, m), n(e, i), n(i, l), n(l, s), n(l, u), n(l, c), g.m(c, null), n(l, C), n(l, k), n(k, h), W || (J = Ne(
78
- i,
79
- "click",
80
- /*click_handler*/
81
- a[33]
82
- ), W = !0);
83
- },
84
- p(d, m) {
85
- m[0] & /*vendorIcon*/
86
- 128 && _e(s, "background-image", "url(" + /*vendorIcon*/
87
- d[7] + ")"), S === (S = _(d)) && g ? g.p(d, m) : (g.d(1), g = S(d), g && (g.c(), g.m(c, null))), m[0] & /*titleLogoImg*/
88
- 4096 && !V(h.src, L = /*titleLogoImg*/
89
- d[12]) && y(h, "src", L), m[0] & /*visualstructure, mobileView, tabletView*/
90
- 97 && b !== (b = "mainWrapper " + /*visualstructure*/
91
- d[0] + " " + /*mobileView*/
92
- (d[5] && !/*tabletView*/
93
- d[6] ? "mobile" : (
94
- /*tabletView*/
95
- d[6] ? "tablet" : ""
96
- ))) && o(l, "class", b), m[0] & /*backgroundImg*/
97
- 2048 && _e(l, "background", "url(" + /*backgroundImg*/
98
- d[11] + ")");
99
- },
100
- d(d) {
101
- d && H(e), g.d(), W = !1, J();
102
- }
103
- };
104
- }
105
- function Ke(a) {
106
- let e;
107
- return {
108
- c() {
109
- e = r("div"), o(e, "class", "LoadingSpinner");
110
- },
111
- m(i, l) {
112
- F(i, e, l);
113
- },
114
- p: ve,
115
- d(i) {
116
- i && H(e);
117
- }
118
- };
119
- }
120
- function Ye(a) {
121
- let e;
122
- return {
123
- c() {
124
- e = r("p"), e.textContent = "500 Server error";
125
- },
126
- m(i, l) {
127
- F(i, e, l);
128
- },
129
- p: ve,
130
- d(i) {
131
- i && H(e);
132
- }
133
- };
134
- }
135
- function Ze(a) {
136
- let e, i, l, s, u, c, C = (
137
- /*formattedLabels*/
138
- a[9][0] + ""
139
- ), k, h, L, b = (
140
- /*realtimeupdate*/
141
- (a[2] === "true" ? (
142
- /*updatedJackpotValues*/
143
- a[14][0]
144
- ) : (
145
- /*formattedJackpotValues*/
146
- a[8][0]
147
- )) + ""
148
- ), W, J, _, S, g, d, m, T, D, P, ae = (
149
- /*formattedLabels*/
150
- a[9][1] + ""
151
- ), Q, U, X, G = (
152
- /*realtimeupdate*/
153
- (a[2] === "true" ? (
154
- /*updatedJackpotValues*/
155
- a[14][1]
156
- ) : (
157
- /*formattedJackpotValues*/
158
- a[8][1]
159
- )) + ""
160
- ), K, ue, $, ie, ne, N, x, R, E, Y, z, q = (
161
- /*formattedLabels*/
162
- a[9][2] + ""
163
- ), ge, B, le, se = (
164
- /*realtimeupdate*/
165
- (a[2] === "true" ? (
166
- /*updatedJackpotValues*/
167
- a[14][2]
168
- ) : (
169
- /*formattedJackpotValues*/
170
- a[8][2]
171
- )) + ""
172
- ), pe, he, re, ce, ye, ee, Z, M, te, oe, de = (
173
- /*formattedLabels*/
174
- a[9][3] + ""
175
- ), fe, t, p, j = (
176
- /*realtimeupdate*/
177
- (a[2] === "true" ? (
178
- /*updatedJackpotValues*/
179
- a[14][3]
180
- ) : (
181
- /*formattedJackpotValues*/
182
- a[8][3]
183
- )) + ""
184
- ), me, we, be, ke;
185
- return {
186
- c() {
187
- e = r("div"), i = r("div"), l = r("div"), s = r("ui-image"), c = r("span"), k = I(C), h = r("span"), L = r("span"), W = I(b), J = O(), _ = r("span"), S = I(
188
- /*currency*/
189
- a[1]
190
- ), g = O(), d = r("div"), m = r("div"), T = r("ui-image"), P = r("span"), Q = I(ae), U = r("span"), X = r("span"), K = I(G), ue = O(), $ = r("span"), ie = I(
191
- /*currency*/
192
- a[1]
193
- ), ne = O(), N = r("div"), x = r("div"), R = r("div"), E = r("ui-image"), z = r("span"), ge = I(q), B = r("span"), le = r("span"), pe = I(se), he = O(), re = r("span"), ce = I(
194
- /*currency*/
195
- a[1]
196
- ), ye = O(), ee = r("div"), Z = r("div"), M = r("ui-image"), oe = r("span"), fe = I(de), t = r("span"), p = r("span"), me = I(j), we = O(), be = r("span"), ke = I(
197
- /*currency*/
198
- a[1]
199
- ), y(s, "class", "displayCardIcon"), V(s.src, u = /*caticons*/
200
- a[10][0]) || y(s, "src", u), y(s, "alt", ""), o(c, "class", "cardLabel"), o(l, "class", "iconWrapper"), o(L, "class", "jackpotValue"), o(_, "class", "jackpot-currency"), o(h, "class", "cardTextWrapper"), o(i, "class", "displayCard"), y(T, "class", "displayCardIcon"), V(T.src, D = /*caticons*/
201
- a[10][1]) || y(T, "src", D), y(T, "alt", ""), o(P, "class", "cardLabel"), o(m, "class", "iconWrapper"), o(X, "class", "jackpotValue"), o($, "class", "jackpot-currency"), o(U, "class", "cardTextWrapper"), o(d, "class", "displayCard"), o(e, "class", "pairWrapper"), y(E, "class", "displayCardIcon"), V(E.src, Y = /*caticons*/
202
- a[10][2]) || y(E, "src", Y), y(E, "alt", ""), o(z, "class", "cardLabel"), o(R, "class", "iconWrapper"), o(le, "class", "jackpotValue"), o(re, "class", "jackpot-currency"), o(B, "class", "cardTextWrapper"), o(x, "class", "displayCard"), y(M, "class", "displayCardIcon"), V(M.src, te = /*caticons*/
203
- a[10][3]) || y(M, "src", te), y(M, "alt", ""), o(oe, "class", "cardLabel"), o(Z, "class", "iconWrapper"), o(p, "class", "jackpotValue"), o(be, "class", "jackpot-currency"), o(t, "class", "cardTextWrapper"), o(ee, "class", "displayCard"), o(N, "class", "pairWrapper");
204
- },
205
- m(f, v) {
206
- F(f, e, v), n(e, i), n(i, l), n(l, s), n(l, c), n(c, k), n(i, h), n(h, L), n(L, W), n(h, J), n(h, _), n(_, S), n(e, g), n(e, d), n(d, m), n(m, T), n(m, P), n(P, Q), n(d, U), n(U, X), n(X, K), n(U, ue), n(U, $), n($, ie), F(f, ne, v), F(f, N, v), n(N, x), n(x, R), n(R, E), n(R, z), n(z, ge), n(x, B), n(B, le), n(le, pe), n(B, he), n(B, re), n(re, ce), n(N, ye), n(N, ee), n(ee, Z), n(Z, M), n(Z, oe), n(oe, fe), n(ee, t), n(t, p), n(p, me), n(t, we), n(t, be), n(be, ke);
207
- },
208
- p(f, v) {
209
- v[0] & /*caticons*/
210
- 1024 && !V(s.src, u = /*caticons*/
211
- f[10][0]) && y(s, "src", u), v[0] & /*formattedLabels*/
212
- 512 && C !== (C = /*formattedLabels*/
213
- f[9][0] + "") && A(k, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
214
- 16644 && b !== (b = /*realtimeupdate*/
215
- (f[2] === "true" ? (
216
- /*updatedJackpotValues*/
217
- f[14][0]
218
- ) : (
219
- /*formattedJackpotValues*/
220
- f[8][0]
221
- )) + "") && A(W, b), v[0] & /*currency*/
222
- 2 && A(
223
- S,
224
- /*currency*/
225
- f[1]
226
- ), v[0] & /*caticons*/
227
- 1024 && !V(T.src, D = /*caticons*/
228
- f[10][1]) && y(T, "src", D), v[0] & /*formattedLabels*/
229
- 512 && ae !== (ae = /*formattedLabels*/
230
- f[9][1] + "") && A(Q, ae), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
231
- 16644 && G !== (G = /*realtimeupdate*/
232
- (f[2] === "true" ? (
233
- /*updatedJackpotValues*/
234
- f[14][1]
235
- ) : (
236
- /*formattedJackpotValues*/
237
- f[8][1]
238
- )) + "") && A(K, G), v[0] & /*currency*/
239
- 2 && A(
240
- ie,
241
- /*currency*/
242
- f[1]
243
- ), v[0] & /*caticons*/
244
- 1024 && !V(E.src, Y = /*caticons*/
245
- f[10][2]) && y(E, "src", Y), v[0] & /*formattedLabels*/
246
- 512 && q !== (q = /*formattedLabels*/
247
- f[9][2] + "") && A(ge, q), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
248
- 16644 && se !== (se = /*realtimeupdate*/
249
- (f[2] === "true" ? (
250
- /*updatedJackpotValues*/
251
- f[14][2]
252
- ) : (
253
- /*formattedJackpotValues*/
254
- f[8][2]
255
- )) + "") && A(pe, se), v[0] & /*currency*/
256
- 2 && A(
257
- ce,
258
- /*currency*/
259
- f[1]
260
- ), v[0] & /*caticons*/
261
- 1024 && !V(M.src, te = /*caticons*/
262
- f[10][3]) && y(M, "src", te), v[0] & /*formattedLabels*/
263
- 512 && de !== (de = /*formattedLabels*/
264
- f[9][3] + "") && A(fe, de), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
265
- 16644 && j !== (j = /*realtimeupdate*/
266
- (f[2] === "true" ? (
267
- /*updatedJackpotValues*/
268
- f[14][3]
269
- ) : (
270
- /*formattedJackpotValues*/
271
- f[8][3]
272
- )) + "") && A(me, j), v[0] & /*currency*/
273
- 2 && A(
274
- ke,
275
- /*currency*/
276
- f[1]
277
- );
278
- },
279
- d(f) {
280
- f && (H(e), H(ne), H(N));
281
- }
282
- };
283
- }
284
- function Qe(a) {
285
- let e, i = Ce(Array(4)), l = [];
286
- for (let s = 0; s < i.length; s += 1)
287
- l[s] = Te(Se(a, i, s));
288
- return {
289
- c() {
290
- for (let s = 0; s < l.length; s += 1)
291
- l[s].c();
292
- e = Me();
293
- },
294
- m(s, u) {
295
- for (let c = 0; c < l.length; c += 1)
296
- l[c] && l[c].m(s, u);
297
- F(s, e, u);
298
- },
299
- p(s, u) {
300
- if (u[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
301
- 18182) {
302
- i = Ce(Array(4));
303
- let c;
304
- for (c = 0; c < i.length; c += 1) {
305
- const C = Se(s, i, c);
306
- l[c] ? l[c].p(C, u) : (l[c] = Te(C), l[c].c(), l[c].m(e.parentNode, e));
307
- }
308
- for (; c < l.length; c += 1)
309
- l[c].d(1);
310
- l.length = i.length;
311
- }
312
- },
313
- d(s) {
314
- s && H(e), Be(l, s);
315
- }
316
- };
317
- }
318
- function Te(a) {
319
- var S;
320
- let e, i, l, s, u, c = (
321
- /*formattedLabels*/
322
- a[9][
323
- /*i*/
324
- a[55]
325
- ] + ""
326
- ), C, k, h, L = (
327
- /*realtimeupdate*/
328
- (a[2] === "true" ? (
329
- /*updatedJackpotValues*/
330
- a[14][
331
- /*i*/
332
- a[55]
333
- ]
334
- ) : (
335
- /*formattedJackpotValues*/
336
- (S = a[8][
337
- /*i*/
338
- a[55]
339
- ]) != null ? S : ""
340
- )) + ""
341
- ), b, W, J, _;
342
- return {
343
- c() {
344
- e = r("div"), i = r("div"), l = r("ui-image"), u = r("span"), C = I(c), k = r("span"), h = r("span"), b = I(L), W = O(), J = r("span"), _ = I(
345
- /*currency*/
346
- a[1]
347
- ), y(l, "class", "displayCardIcon"), V(l.src, s = /*caticons*/
348
- a[10][
349
- /*i*/
350
- a[55]
351
- ]) || y(l, "src", s), y(l, "alt", ""), o(u, "class", "cardLabel"), o(i, "class", "iconWrapper"), o(h, "class", "jackpotValue"), o(J, "class", "jackpot-currency"), o(k, "class", "cardTextWrapper"), o(e, "class", "displayCard");
352
- },
353
- m(g, d) {
354
- F(g, e, d), n(e, i), n(i, l), n(i, u), n(u, C), n(e, k), n(k, h), n(h, b), n(k, W), n(k, J), n(J, _);
355
- },
356
- p(g, d) {
357
- var m;
358
- d[0] & /*caticons*/
359
- 1024 && !V(l.src, s = /*caticons*/
360
- g[10][
361
- /*i*/
362
- g[55]
363
- ]) && y(l, "src", s), d[0] & /*formattedLabels*/
364
- 512 && c !== (c = /*formattedLabels*/
365
- g[9][
366
- /*i*/
367
- g[55]
368
- ] + "") && A(C, c), d[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
369
- 16644 && L !== (L = /*realtimeupdate*/
370
- (g[2] === "true" ? (
371
- /*updatedJackpotValues*/
372
- g[14][
373
- /*i*/
374
- g[55]
375
- ]
376
- ) : (
377
- /*formattedJackpotValues*/
378
- (m = g[8][
379
- /*i*/
380
- g[55]
381
- ]) != null ? m : ""
382
- )) + "") && A(b, L), d[0] & /*currency*/
383
- 2 && A(
384
- _,
385
- /*currency*/
386
- g[1]
387
- );
388
- },
389
- d(g) {
390
- g && H(e);
391
- }
392
- };
393
- }
394
- function Xe(a) {
395
- let e;
396
- function i(u, c) {
397
- return (
398
- /*hasErrors*/
399
- u[13] ? Ye : (
400
- /*isLoading*/
401
- u[4] ? Ke : Ge
402
- )
403
- );
404
- }
405
- let l = i(a), s = l(a);
406
- return {
407
- c() {
408
- e = r("div"), s.c();
409
- },
410
- m(u, c) {
411
- F(u, e, c), s.m(e, null), a[34](e);
412
- },
413
- p(u, c) {
414
- l === (l = i(u)) && s ? s.p(u, c) : (s.d(1), s = l(u), s && (s.c(), s.m(e, null)));
415
- },
416
- i: ve,
417
- o: ve,
418
- d(u) {
419
- u && H(e), s.d(), a[34](null);
420
- }
421
- };
422
- }
423
- function $e(a, e, i) {
424
- let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: c = "" } = e, { caticon2: C = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: J = "" } = e, { lang: _ = "en" } = e, { clientstyling: S = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: T = "" } = e, { mbsource: D } = e, { realtimeupdate: P = "false" } = e, ae = window.navigator.userAgent, Q = !1, U = !1, X = "", G = [], K = [], ue = [], $ = [], ie = [], ne = "", N = "", x, R = !0, E = !1, Y, z = null, q = [];
425
- const ge = () => {
426
- fetch(d).then((p) => p.json()).then((p) => {
427
- Object.keys(p).forEach((j) => {
428
- Le(j, p[j]);
429
- });
430
- }).catch((p) => {
431
- console.log(p);
432
- });
433
- };
434
- Object.keys(je).forEach((t) => {
435
- Le(t, je[t]);
436
- });
437
- const B = ["typeSpread", "typeLeft"], le = (t) => {
438
- var j;
439
- const p = (j = t == null ? void 0 : t.items[0]) == null ? void 0 : j.additionalData;
440
- p && Object.values(p).forEach((me) => G.push(+me));
441
- }, se = (t) => {
442
- var p;
443
- i(7, X = ((p = t == null ? void 0 : t.items[0]) == null ? void 0 : p.vendorLogo) || "");
444
- }, pe = () => {
445
- if (m && _ && b) {
446
- let t = new URL(`${m}/v1/casino/jackpots`);
447
- t.searchParams.append("filter", `id=${T}`), t.searchParams.append("language", _), t.searchParams.append("additionalDataCurrency", b), fetch(t.href).then((p) => p.json().then((j) => {
448
- i(4, R = !1), Y = j, K.includes(T) && (le(Y), se(Y));
449
- }).catch((j) => {
450
- i(13, E = !0), i(4, R = !1), console.error(j);
451
- }).finally(() => {
452
- he();
453
- }));
454
- }
455
- }, he = () => {
456
- const t = x.getRootNode().host;
457
- t.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: t } }));
458
- }, re = () => {
459
- let t = new URL(`${m}/v1/casino/jackpots/config`);
460
- fetch(t.href).then((p) => p.json()).then((p) => {
461
- i(32, K = p.egtJackpotIds.map((j) => j));
462
- });
463
- }, ce = () => {
464
- i(5, Q = Re(ae) && window.innerHeight / window.innerWidth > 1), i(6, U = ee()), G.length !== 0 && i(8, ue = ye(G)), i(9, $ = h ? h.split(",").map((t) => t.trim().toUpperCase()) : new Array(4).fill("")), B.includes(l.trim()) ? i(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`), i(0, l = B[0])), i(11, ne = W && Q && !U ? W : L), i(12, N = J), i(10, ie = [u, c, C, k]);
465
- }, ye = (t) => t.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), ee = () => {
466
- const t = window.innerHeight / window.innerWidth;
467
- return 0.75 < t && t < 1.6;
468
- }, Z = () => {
469
- window.postMessage({ type: "JackpotBannerClicked", gameid: T }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
470
- context: "JackpotBanner",
471
- gameId: `${T}`
472
- });
473
- }, M = () => {
474
- He(_);
475
- }, te = (t) => {
476
- const p = JSON.parse(t.data);
477
- if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === T) {
478
- const j = Number(p.data.jackpotAlias.split("_")[1]) - 1;
479
- i(14, q[j] = p.data.data[`${b}`].balance.toString(), q);
480
- }
481
- }, oe = () => {
482
- P === "true" && (ce(), i(14, q = ["", "", "", ""]), z = new EventSource(`${m}/v1/encoder/jackpot/*/update`), z.addEventListener("message", te));
483
- };
484
- Ee(() => () => {
485
- }), ze(() => {
486
- z && (z.removeEventListener("message", te), z.close(), z = null);
487
- });
488
- const de = () => Z();
489
- function fe(t) {
490
- Ue[t ? "unshift" : "push"](() => {
491
- x = t, i(3, x);
492
- });
493
- }
494
- return a.$$set = (t) => {
495
- "visualstructure" in t && i(0, l = t.visualstructure), "title" in t && i(16, s = t.title), "caticon0" in t && i(17, u = t.caticon0), "caticon1" in t && i(18, c = t.caticon1), "caticon2" in t && i(19, C = t.caticon2), "caticon3" in t && i(20, k = t.caticon3), "iconlabels" in t && i(21, h = t.iconlabels), "backgroundsrc" in t && i(22, L = t.backgroundsrc), "currency" in t && i(1, b = t.currency), "backgroundsrcmobile" in t && i(23, W = t.backgroundsrcmobile), "titlelogopath" in t && i(24, J = t.titlelogopath), "lang" in t && i(25, _ = t.lang), "clientstyling" in t && i(26, S = t.clientstyling), "clientstylingurl" in t && i(27, g = t.clientstylingurl), "translationurl" in t && i(28, d = t.translationurl), "endpoint" in t && i(29, m = t.endpoint), "gameid" in t && i(30, T = t.gameid), "mbsource" in t && i(31, D = t.mbsource), "realtimeupdate" in t && i(2, P = t.realtimeupdate);
496
- }, a.$$.update = () => {
497
- a.$$.dirty[0] & /*endpoint*/
498
- 536870912 && m && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
499
- 67108872 && S && x && Oe(x, S), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
500
- 134217736 && g && x && De(x, g), a.$$.dirty[0] & /*customStylingContainer*/
501
- 8 | a.$$.dirty[1] & /*mbsource*/
502
- 1 && D && x && Pe(x, `${D}.Style`), a.$$.dirty[0] & /*endpoint, lang, currency*/
503
- 570425346 | a.$$.dirty[1] & /*validGameIds*/
504
- 2 && m && _ && b && K.length > 0 && pe(), a.$$.dirty[0] & /*currency, lang, isLoading*/
505
- 33554450 && b && _ && !R && ce(), a.$$.dirty[0] & /*lang*/
506
- 33554432 && _ && M(), a.$$.dirty[0] & /*translationurl*/
507
- 268435456 && d && ge(), a.$$.dirty[0] & /*realtimeupdate*/
508
- 4 && P && oe();
509
- }, [
510
- l,
511
- b,
512
- P,
513
- x,
514
- R,
515
- Q,
516
- U,
517
- X,
518
- ue,
519
- $,
520
- ie,
521
- ne,
522
- N,
523
- E,
524
- q,
525
- Z,
526
- s,
527
- u,
528
- c,
529
- C,
530
- k,
531
- h,
532
- L,
533
- W,
534
- J,
535
- _,
536
- S,
537
- g,
538
- d,
539
- m,
540
- T,
541
- D,
542
- K,
543
- de,
544
- fe
545
- ];
546
- }
547
- class et extends Ae {
548
- constructor(e) {
549
- super(), Ie(
550
- this,
551
- e,
552
- $e,
553
- Xe,
554
- Je,
555
- {
556
- visualstructure: 0,
557
- title: 16,
558
- caticon0: 17,
559
- caticon1: 18,
560
- caticon2: 19,
561
- caticon3: 20,
562
- iconlabels: 21,
563
- backgroundsrc: 22,
564
- currency: 1,
565
- backgroundsrcmobile: 23,
566
- titlelogopath: 24,
567
- lang: 25,
568
- clientstyling: 26,
569
- clientstylingurl: 27,
570
- translationurl: 28,
571
- endpoint: 29,
572
- gameid: 30,
573
- mbsource: 31,
574
- realtimeupdate: 2
575
- },
576
- Fe,
577
- [-1, -1]
578
- );
579
- }
580
- get visualstructure() {
581
- return this.$$.ctx[0];
582
- }
583
- set visualstructure(e) {
584
- this.$$set({ visualstructure: e }), w();
585
- }
586
- get title() {
587
- return this.$$.ctx[16];
588
- }
589
- set title(e) {
590
- this.$$set({ title: e }), w();
591
- }
592
- get caticon0() {
593
- return this.$$.ctx[17];
594
- }
595
- set caticon0(e) {
596
- this.$$set({ caticon0: e }), w();
597
- }
598
- get caticon1() {
599
- return this.$$.ctx[18];
600
- }
601
- set caticon1(e) {
602
- this.$$set({ caticon1: e }), w();
603
- }
604
- get caticon2() {
605
- return this.$$.ctx[19];
606
- }
607
- set caticon2(e) {
608
- this.$$set({ caticon2: e }), w();
609
- }
610
- get caticon3() {
611
- return this.$$.ctx[20];
612
- }
613
- set caticon3(e) {
614
- this.$$set({ caticon3: e }), w();
615
- }
616
- get iconlabels() {
617
- return this.$$.ctx[21];
618
- }
619
- set iconlabels(e) {
620
- this.$$set({ iconlabels: e }), w();
621
- }
622
- get backgroundsrc() {
623
- return this.$$.ctx[22];
624
- }
625
- set backgroundsrc(e) {
626
- this.$$set({ backgroundsrc: e }), w();
627
- }
628
- get currency() {
629
- return this.$$.ctx[1];
630
- }
631
- set currency(e) {
632
- this.$$set({ currency: e }), w();
633
- }
634
- get backgroundsrcmobile() {
635
- return this.$$.ctx[23];
636
- }
637
- set backgroundsrcmobile(e) {
638
- this.$$set({ backgroundsrcmobile: e }), w();
639
- }
640
- get titlelogopath() {
641
- return this.$$.ctx[24];
642
- }
643
- set titlelogopath(e) {
644
- this.$$set({ titlelogopath: e }), w();
645
- }
646
- get lang() {
647
- return this.$$.ctx[25];
648
- }
649
- set lang(e) {
650
- this.$$set({ lang: e }), w();
651
- }
652
- get clientstyling() {
653
- return this.$$.ctx[26];
654
- }
655
- set clientstyling(e) {
656
- this.$$set({ clientstyling: e }), w();
657
- }
658
- get clientstylingurl() {
659
- return this.$$.ctx[27];
660
- }
661
- set clientstylingurl(e) {
662
- this.$$set({ clientstylingurl: e }), w();
663
- }
664
- get translationurl() {
665
- return this.$$.ctx[28];
666
- }
667
- set translationurl(e) {
668
- this.$$set({ translationurl: e }), w();
669
- }
670
- get endpoint() {
671
- return this.$$.ctx[29];
672
- }
673
- set endpoint(e) {
674
- this.$$set({ endpoint: e }), w();
675
- }
676
- get gameid() {
677
- return this.$$.ctx[30];
678
- }
679
- set gameid(e) {
680
- this.$$set({ gameid: e }), w();
681
- }
682
- get mbsource() {
683
- return this.$$.ctx[31];
684
- }
685
- set mbsource(e) {
686
- this.$$set({ mbsource: e }), w();
687
- }
688
- get realtimeupdate() {
689
- return this.$$.ctx[2];
690
- }
691
- set realtimeupdate(e) {
692
- this.$$set({ realtimeupdate: e }), w();
693
- }
694
- }
695
- qe(et, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
696
- export {
697
- et as default
698
- };