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