@everymatrix/casino-lobby 1.54.12 → 1.56.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 (120) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CSMUhfCr.js} +1066 -1022
  3. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-_T8fa3tA.js} +1215 -1171
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-B7jmX0uM.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-DkmZ6uE9.js} +203 -196
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-CFJKyip5.js +654 -0
  14. package/components/CasinoCollectionsProviders-XHUKRCjH.js +659 -0
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-BJKuORXc.js} +138 -131
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-ui8ebJSk.js} +138 -131
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-Cj6Ya1tA.js} +237 -244
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-t6_A4K9e.js} +232 -237
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DH-mxVYx.js} +1012 -1018
  24. package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-DQ1Yd_-1.js} +1004 -1010
  25. package/components/CasinoGameThumbnail-B15M2LaO.js +1829 -0
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/CasinoGameThumbnail-CmtUwom1.js +1845 -0
  28. package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-D9nxbG-c.js} +945 -919
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-lpoHUMLN.js} +855 -829
  31. package/components/CasinoJackpotBanner-COZRcenh.js +692 -0
  32. package/components/CasinoJackpotBanner-DcwCa-Hp.js +688 -0
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-IZ9mars2.js} +143 -134
  36. package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-yetII3tl.js} +143 -134
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-CoCRB4M8.js} +706 -657
  39. package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DOvk4Q1L.js} +706 -657
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/CasinoModal-DDDhdR0c.js +368 -0
  42. package/components/CasinoModal-Dzu3FQyi.js +368 -0
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CGqU9ZQv.js} +171 -162
  45. package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-D0w6a_z2.js} +171 -162
  46. package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-BKqlNnO1.js} +382 -352
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-Dy3IMfzN.js} +389 -359
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-BnrghJel.js} +1207 -1046
  51. package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-DYcUhqdZ.js} +833 -678
  52. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-Cup5oHY3.js} +247 -249
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-Dq7oLh0O.js} +229 -231
  55. package/components/CasinoSearch-B1D8nnr0.cjs +1 -0
  56. package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-DlUwO5L4.js} +385 -378
  57. package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-jV0H_1Yg.js} +442 -435
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/CasinoSlider-ChnKJ8kH.js +797 -0
  60. package/components/CasinoSlider-Ot2uFDD8.js +803 -0
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-BkJBCXPe.js} +354 -351
  65. package/components/CasinoWinners-Bs7Oh-m-.cjs +1 -0
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CBgbYBfP.js} +343 -340
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  75. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  76. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  79. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B7hChP4v.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +0 -1
  83. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +0 -701
  84. package/components/CasinoCalendarDailyItem-1iPwEmjb.js +0 -315
  85. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +0 -315
  86. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +0 -1
  87. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-BQPjVzK8.js +0 -659
  89. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  90. package/components/CasinoCollectionsProviders-CVDFBiI0.js +0 -664
  91. package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
  92. package/components/CasinoFilter-C10Tgn3c.cjs +0 -1
  93. package/components/CasinoGamePage-DOzefHFS.cjs +0 -18
  94. package/components/CasinoGameThumbnail-CWQWsl_s.cjs +0 -38
  95. package/components/CasinoGameThumbnail-D08-4naW.js +0 -1834
  96. package/components/CasinoGameThumbnail-nmpLDgoF.js +0 -1850
  97. package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
  98. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  99. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  100. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  101. package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
  102. package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
  103. package/components/CasinoModal-C1oW3YF4.js +0 -372
  104. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  105. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  106. package/components/CasinoMostPlayedSection-DQ_xJPuX.cjs +0 -1
  107. package/components/CasinoMyGames-B0pWVqCz.cjs +0 -1
  108. package/components/CasinoPage-CoSWrE10.cjs +0 -1
  109. package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
  110. package/components/CasinoSlider-BDjskQjI.cjs +0 -1
  111. package/components/CasinoSlider-BWEc4YT5.js +0 -800
  112. package/components/CasinoSlider-BjpV4pLV.js +0 -806
  113. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  114. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  115. package/components/CasinoSort-DFljh5Sg.js +0 -431
  116. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  117. package/components/GeneralAnimationLoading-BG_QynCK.cjs +0 -1
  118. package/components/GeneralAnimationLoading-CX9baArf.js +0 -75
  119. package/components/GeneralAnimationLoading-DVLCsjn0.js +0 -75
  120. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,614 +0,0 @@
1
- import { a as Te, $ as Se, S as We, i as Ae, s as Ie, f as j, b as De, n as ye, d as R, h as H, j as c, C as Ve, r as i, G as he, D as V, p as l, A as Je, B, v as we, w as Ne, F as ze, m as A, q as I, I as Ue, l as Ee } from "./CasinoCalendar-CKCvu8d9.js";
2
- function Ce(n, e) {
3
- Te(n, e);
4
- }
5
- function Be(n) {
6
- Se.set(n);
7
- }
8
- const Le = {
9
- en: {
10
- loadingText: "Loading, please wait..."
11
- },
12
- "zh-hk": {
13
- loadingText: "加载请稍候 ..."
14
- },
15
- fr: {
16
- loadingText: "Chargement, veuillez patienter..."
17
- },
18
- ro: {
19
- loadingText: "Se incarca, va rugam asteptati..."
20
- },
21
- es: {
22
- loadingText: "Cargando"
23
- },
24
- pt: {
25
- loadingText: "Carregando, por favor espere..."
26
- },
27
- de: {
28
- loadingText: "Laden, bitte warten..."
29
- },
30
- hr: {
31
- loadingText: "Učitavanje"
32
- },
33
- "pt-br": {
34
- CarregandoText: "Carregando"
35
- },
36
- "es-mx": {
37
- CargandoText: "Cargando, por favor espere…"
38
- },
39
- tr: {
40
- loadingText: "Yükleniyor, lütfen bekleyin..."
41
- },
42
- "en-us": {
43
- loadingText: "Loading, please wait..."
44
- }
45
- };
46
- function Me(n) {
47
- De(n, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--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)}}');
48
- }
49
- function xe(n, e, t) {
50
- const s = n.slice();
51
- return s[48] = e[t], s[50] = t, s;
52
- }
53
- function Re(n) {
54
- let e, t, s, r, p, o, w, _, u, C, b, T, S, y, m;
55
- function L(d, x) {
56
- return (
57
- /*tabletView*/
58
- d[5] ? Fe : Pe
59
- );
60
- }
61
- let W = L(n), f = W(n);
62
- return {
63
- c() {
64
- e = c("div"), t = c("div"), s = c("div"), r = c("div"), p = B(), o = c("div"), f.c(), w = B(), _ = c("div"), u = c("img"), i(r, "class", "vendorLogo"), he(r, "background-image", "url(" + /*vendorIcon*/
65
- n[6] + ")"), i(o, "class", "displayContainer"), V(u.src, C = /*titleLogoImg*/
66
- n[11]) || i(u, "src", C), i(u, "alt", ""), i(_, "class", "title"), i(s, "class", b = "mainWrapper " + /*visualstructure*/
67
- n[0] + " " + /*mobileView*/
68
- (n[4] && !/*tabletView*/
69
- n[5] ? "mobile" : (
70
- /*tabletView*/
71
- n[5] ? "tablet" : ""
72
- ))), he(s, "background", "url(" + /*backgroundImg*/
73
- n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", T = /*displayNone*/
74
- n[12] ? "DisplayNone" : ""), i(e, "part", S = /*displayNone*/
75
- n[12] ? "DisplayNone" : "");
76
- },
77
- m(d, x) {
78
- H(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o), f.m(o, null), l(s, w), l(s, _), l(_, u), y || (m = Je(
79
- t,
80
- "click",
81
- /*click_handler*/
82
- n[31]
83
- ), y = !0);
84
- },
85
- p(d, x) {
86
- x[0] & /*vendorIcon*/
87
- 64 && he(r, "background-image", "url(" + /*vendorIcon*/
88
- d[6] + ")"), W === (W = L(d)) && f ? f.p(d, x) : (f.d(1), f = W(d), f && (f.c(), f.m(o, null))), x[0] & /*titleLogoImg*/
89
- 2048 && !V(u.src, C = /*titleLogoImg*/
90
- d[11]) && i(u, "src", C), x[0] & /*visualstructure, mobileView, tabletView*/
91
- 49 && b !== (b = "mainWrapper " + /*visualstructure*/
92
- d[0] + " " + /*mobileView*/
93
- (d[4] && !/*tabletView*/
94
- d[5] ? "mobile" : (
95
- /*tabletView*/
96
- d[5] ? "tablet" : ""
97
- ))) && i(s, "class", b), x[0] & /*backgroundImg*/
98
- 1024 && he(s, "background", "url(" + /*backgroundImg*/
99
- d[10] + ")"), x[0] & /*displayNone*/
100
- 4096 && T !== (T = /*displayNone*/
101
- d[12] ? "DisplayNone" : "") && i(e, "class", T), x[0] & /*displayNone*/
102
- 4096 && S !== (S = /*displayNone*/
103
- d[12] ? "DisplayNone" : "") && i(e, "part", S);
104
- },
105
- d(d) {
106
- d && R(e), f.d(), y = !1, m();
107
- }
108
- };
109
- }
110
- function He(n) {
111
- let e;
112
- return {
113
- c() {
114
- e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
115
- },
116
- m(t, s) {
117
- H(t, e, s);
118
- },
119
- p: ye,
120
- d(t) {
121
- t && R(e);
122
- }
123
- };
124
- }
125
- function Oe(n) {
126
- let e;
127
- return {
128
- c() {
129
- e = c("p"), e.textContent = "500 Server error";
130
- },
131
- m(t, s) {
132
- H(t, e, s);
133
- },
134
- p: ye,
135
- d(t) {
136
- t && R(e);
137
- }
138
- };
139
- }
140
- function Fe(n) {
141
- let e, t, s, r, p, o, w = (
142
- /*formattedLabels*/
143
- n[8][0] + ""
144
- ), _, u, C, b = (
145
- /*formattedJackpotValues*/
146
- n[7][0] + ""
147
- ), T, S, y, m, L, W, f, d, x, O, F = (
148
- /*formattedLabels*/
149
- n[8][1] + ""
150
- ), $, z, M, Y = (
151
- /*formattedJackpotValues*/
152
- n[7][1] + ""
153
- ), ee, re, K, te, J, N, U, P, D, ae, q, ie = (
154
- /*formattedLabels*/
155
- n[8][2] + ""
156
- ), ce, G, ne, le = (
157
- /*formattedJackpotValues*/
158
- n[7][2] + ""
159
- ), oe, pe, Q, de, ge, X, Z, E, a, g, k = (
160
- /*formattedLabels*/
161
- n[8][3] + ""
162
- ), be, se, ue, fe = (
163
- /*formattedJackpotValues*/
164
- n[7][3] + ""
165
- ), ve, ke, me, _e;
166
- return {
167
- c() {
168
- e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), _ = I(w), u = c("span"), C = c("span"), T = I(b), S = B(), y = c("span"), m = I(
169
- /*currency*/
170
- n[1]
171
- ), L = B(), W = c("div"), f = c("div"), d = c("img"), O = c("span"), $ = I(F), z = c("span"), M = c("span"), ee = I(Y), re = B(), K = c("span"), te = I(
172
- /*currency*/
173
- n[1]
174
- ), J = B(), N = c("div"), U = c("div"), P = c("div"), D = c("img"), q = c("span"), ce = I(ie), G = c("span"), ne = c("span"), oe = I(le), pe = B(), Q = c("span"), de = I(
175
- /*currency*/
176
- n[1]
177
- ), ge = B(), X = c("div"), Z = c("div"), E = c("img"), g = c("span"), be = I(k), se = c("span"), ue = c("span"), ve = I(fe), ke = B(), me = c("span"), _e = I(
178
- /*currency*/
179
- n[1]
180
- ), i(r, "class", "displayCardIcon"), V(r.src, p = /*caticons*/
181
- n[9][0]) || i(r, "src", p), i(r, "alt", ""), i(o, "class", "cardLabel"), i(s, "class", "iconWrapper"), i(C, "class", "jackpotValue"), i(y, "class", "jackpot-currency"), i(u, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(d, "class", "displayCardIcon"), V(d.src, x = /*caticons*/
182
- n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(f, "class", "iconWrapper"), i(M, "class", "jackpotValue"), i(K, "class", "jackpot-currency"), i(z, "class", "cardTextWrapper"), i(W, "class", "displayCard"), i(e, "class", "pairWrapper"), i(D, "class", "displayCardIcon"), V(D.src, ae = /*caticons*/
183
- n[9][2]) || i(D, "src", ae), i(D, "alt", ""), i(q, "class", "cardLabel"), i(P, "class", "iconWrapper"), i(ne, "class", "jackpotValue"), i(Q, "class", "jackpot-currency"), i(G, "class", "cardTextWrapper"), i(U, "class", "displayCard"), i(E, "class", "displayCardIcon"), V(E.src, a = /*caticons*/
184
- n[9][3]) || i(E, "src", a), i(E, "alt", ""), i(g, "class", "cardLabel"), i(Z, "class", "iconWrapper"), i(ue, "class", "jackpotValue"), i(me, "class", "jackpot-currency"), i(se, "class", "cardTextWrapper"), i(X, "class", "displayCard"), i(N, "class", "pairWrapper");
185
- },
186
- m(h, v) {
187
- H(h, e, v), l(e, t), l(t, s), l(s, r), l(s, o), l(o, _), l(t, u), l(u, C), l(C, T), l(u, S), l(u, y), l(y, m), l(e, L), l(e, W), l(W, f), l(f, d), l(f, O), l(O, $), l(W, z), l(z, M), l(M, ee), l(z, re), l(z, K), l(K, te), H(h, J, v), H(h, N, v), l(N, U), l(U, P), l(P, D), l(P, q), l(q, ce), l(U, G), l(G, ne), l(ne, oe), l(G, pe), l(G, Q), l(Q, de), l(N, ge), l(N, X), l(X, Z), l(Z, E), l(Z, g), l(g, be), l(X, se), l(se, ue), l(ue, ve), l(se, ke), l(se, me), l(me, _e);
188
- },
189
- p(h, v) {
190
- v[0] & /*caticons*/
191
- 512 && !V(r.src, p = /*caticons*/
192
- h[9][0]) && i(r, "src", p), v[0] & /*formattedLabels*/
193
- 256 && w !== (w = /*formattedLabels*/
194
- h[8][0] + "") && A(_, w), v[0] & /*formattedJackpotValues*/
195
- 128 && b !== (b = /*formattedJackpotValues*/
196
- h[7][0] + "") && A(T, b), v[0] & /*currency*/
197
- 2 && A(
198
- m,
199
- /*currency*/
200
- h[1]
201
- ), v[0] & /*caticons*/
202
- 512 && !V(d.src, x = /*caticons*/
203
- h[9][1]) && i(d, "src", x), v[0] & /*formattedLabels*/
204
- 256 && F !== (F = /*formattedLabels*/
205
- h[8][1] + "") && A($, F), v[0] & /*formattedJackpotValues*/
206
- 128 && Y !== (Y = /*formattedJackpotValues*/
207
- h[7][1] + "") && A(ee, Y), v[0] & /*currency*/
208
- 2 && A(
209
- te,
210
- /*currency*/
211
- h[1]
212
- ), v[0] & /*caticons*/
213
- 512 && !V(D.src, ae = /*caticons*/
214
- h[9][2]) && i(D, "src", ae), v[0] & /*formattedLabels*/
215
- 256 && ie !== (ie = /*formattedLabels*/
216
- h[8][2] + "") && A(ce, ie), v[0] & /*formattedJackpotValues*/
217
- 128 && le !== (le = /*formattedJackpotValues*/
218
- h[7][2] + "") && A(oe, le), v[0] & /*currency*/
219
- 2 && A(
220
- de,
221
- /*currency*/
222
- h[1]
223
- ), v[0] & /*caticons*/
224
- 512 && !V(E.src, a = /*caticons*/
225
- h[9][3]) && i(E, "src", a), v[0] & /*formattedLabels*/
226
- 256 && k !== (k = /*formattedLabels*/
227
- h[8][3] + "") && A(be, k), v[0] & /*formattedJackpotValues*/
228
- 128 && fe !== (fe = /*formattedJackpotValues*/
229
- h[7][3] + "") && A(ve, fe), v[0] & /*currency*/
230
- 2 && A(
231
- _e,
232
- /*currency*/
233
- h[1]
234
- );
235
- },
236
- d(h) {
237
- h && (R(e), R(J), R(N));
238
- }
239
- };
240
- }
241
- function Pe(n) {
242
- let e, t = we(Array(4)), s = [];
243
- for (let r = 0; r < t.length; r += 1)
244
- s[r] = je(xe(n, t, r));
245
- return {
246
- c() {
247
- for (let r = 0; r < s.length; r += 1)
248
- s[r].c();
249
- e = ze();
250
- },
251
- m(r, p) {
252
- for (let o = 0; o < s.length; o += 1)
253
- s[o] && s[o].m(r, p);
254
- H(r, e, p);
255
- },
256
- p(r, p) {
257
- if (p[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
258
- 898) {
259
- t = we(Array(4));
260
- let o;
261
- for (o = 0; o < t.length; o += 1) {
262
- const w = xe(r, t, o);
263
- s[o] ? s[o].p(w, p) : (s[o] = je(w), s[o].c(), s[o].m(e.parentNode, e));
264
- }
265
- for (; o < s.length; o += 1)
266
- s[o].d(1);
267
- s.length = t.length;
268
- }
269
- },
270
- d(r) {
271
- r && R(e), Ne(s, r);
272
- }
273
- };
274
- }
275
- function je(n) {
276
- let e, t, s, r, p, o = (
277
- /*formattedLabels*/
278
- n[8][
279
- /*i*/
280
- n[50]
281
- ] + ""
282
- ), w, _, u, C = (
283
- /*formattedJackpotValues*/
284
- (n[7][
285
- /*i*/
286
- n[50]
287
- ] ?? "") + ""
288
- ), b, T, S, y;
289
- return {
290
- c() {
291
- e = c("div"), t = c("div"), s = c("img"), p = c("span"), w = I(o), _ = c("span"), u = c("span"), b = I(C), T = B(), S = c("span"), y = I(
292
- /*currency*/
293
- n[1]
294
- ), i(s, "class", "displayCardIcon"), V(s.src, r = /*caticons*/
295
- n[9][
296
- /*i*/
297
- n[50]
298
- ]) || i(s, "src", r), i(s, "alt", ""), i(p, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(u, "class", "jackpotValue"), i(S, "class", "jackpot-currency"), i(_, "class", "cardTextWrapper"), i(e, "class", "displayCard");
299
- },
300
- m(m, L) {
301
- H(m, e, L), l(e, t), l(t, s), l(t, p), l(p, w), l(e, _), l(_, u), l(u, b), l(_, T), l(_, S), l(S, y);
302
- },
303
- p(m, L) {
304
- L[0] & /*caticons*/
305
- 512 && !V(s.src, r = /*caticons*/
306
- m[9][
307
- /*i*/
308
- m[50]
309
- ]) && i(s, "src", r), L[0] & /*formattedLabels*/
310
- 256 && o !== (o = /*formattedLabels*/
311
- m[8][
312
- /*i*/
313
- m[50]
314
- ] + "") && A(w, o), L[0] & /*formattedJackpotValues*/
315
- 128 && C !== (C = /*formattedJackpotValues*/
316
- (m[7][
317
- /*i*/
318
- m[50]
319
- ] ?? "") + "") && A(b, C), L[0] & /*currency*/
320
- 2 && A(
321
- y,
322
- /*currency*/
323
- m[1]
324
- );
325
- },
326
- d(m) {
327
- m && R(e);
328
- }
329
- };
330
- }
331
- function qe(n) {
332
- let e;
333
- function t(p, o) {
334
- return (
335
- /*hasErrors*/
336
- p[13] ? Oe : (
337
- /*isLoading*/
338
- p[3] ? He : Re
339
- )
340
- );
341
- }
342
- let s = t(n), r = s(n);
343
- return {
344
- c() {
345
- e = c("div"), r.c();
346
- },
347
- m(p, o) {
348
- H(p, e, o), r.m(e, null), n[32](e);
349
- },
350
- p(p, o) {
351
- s === (s = t(p)) && r ? r.p(p, o) : (r.d(1), r = s(p), r && (r.c(), r.m(e, null)));
352
- },
353
- i: ye,
354
- o: ye,
355
- d(p) {
356
- p && R(e), r.d(), n[32](null);
357
- }
358
- };
359
- }
360
- function Ge(n, e, t) {
361
- let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: _ = "" } = e, { iconlabels: u = "" } = e, { backgroundsrc: C = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: S = "" } = e, { lang: y = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: W = "" } = e, { endpoint: f = "" } = e, { gameid: d = "" } = e, x = window.navigator.userAgent, O = !1, F = !1, $ = "", z = [], M = [], Y = [], ee = [], re = [], K = "", te = "", J, N = !1, U = !0, P = !1, D;
362
- const ae = () => {
363
- fetch(W).then((g) => g.json()).then((g) => {
364
- Object.keys(g).forEach((k) => {
365
- Ce(k, g[k]);
366
- });
367
- }).catch((g) => {
368
- console.log(g);
369
- });
370
- };
371
- Object.keys(Le).forEach((a) => {
372
- Ce(a, Le[a]);
373
- });
374
- const q = ["typeSpread", "typeLeft"], ie = (a) => {
375
- const g = a?.items[0]?.additionalData;
376
- g && Object.values(g).forEach((k) => z.push(+k));
377
- }, ce = (a) => {
378
- t(6, $ = a?.items[0]?.vendorLogo || "");
379
- }, G = () => {
380
- if (f && y && b) {
381
- let a = new URL(`${f}/v1/casino/jackpots`);
382
- a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language", y), a.searchParams.append("additionalDataCurrency", b), fetch(a.href).then((g) => g.json().then((k) => {
383
- t(3, U = !1), D = k, M.includes(d) && (ie(D), ce(D));
384
- }).catch((k) => {
385
- t(13, P = !0), t(3, U = !1), console.error(k);
386
- }));
387
- }
388
- }, ne = () => {
389
- let a = new URL(`${f}/v1/casino/jackpots/config`);
390
- fetch(a.href).then((g) => g.json()).then((g) => {
391
- t(30, M = g.egtJackpotIds.map((k) => k));
392
- });
393
- }, le = () => {
394
- t(4, O = Ee(x) && window.innerHeight / window.innerWidth > 1), t(5, F = pe()), z.length !== 0 && t(7, Y = oe(z)), t(8, ee = u ? u.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), q.includes(s.trim()) ? t(0, s = s.trim()) : (console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${q[0]}"`), t(0, s = q[0])), t(10, K = T && O && !F ? T : C), t(11, te = S), t(9, re = [p, o, w, _]);
395
- }, oe = (a) => a.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), pe = () => {
396
- const a = window.innerHeight / window.innerWidth;
397
- return 0.75 < a && a < 1.6;
398
- }, Q = () => {
399
- window.postMessage({ type: "JackpotBannerClicked", gameid: d }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
400
- context: "JackpotBanner",
401
- gameId: `${d}`
402
- });
403
- }, de = () => {
404
- let a = document.createElement("style");
405
- a.innerHTML = m, J.appendChild(a);
406
- }, ge = () => {
407
- t(12, N = !0);
408
- let a = new URL(L), g = document.createElement("style");
409
- fetch(a.href).then((k) => k.text()).then((k) => {
410
- g.innerHTML = k, setTimeout(
411
- () => {
412
- J.appendChild(g);
413
- },
414
- 1
415
- ), setTimeout(
416
- () => {
417
- t(12, N = !1);
418
- },
419
- 500
420
- );
421
- });
422
- }, X = () => {
423
- Be(y);
424
- }, Z = () => Q();
425
- function E(a) {
426
- Ve[a ? "unshift" : "push"](() => {
427
- J = a, t(2, J);
428
- });
429
- }
430
- return n.$$set = (a) => {
431
- "visualstructure" in a && t(0, s = a.visualstructure), "title" in a && t(15, r = a.title), "caticon0" in a && t(16, p = a.caticon0), "caticon1" in a && t(17, o = a.caticon1), "caticon2" in a && t(18, w = a.caticon2), "caticon3" in a && t(19, _ = a.caticon3), "iconlabels" in a && t(20, u = a.iconlabels), "backgroundsrc" in a && t(21, C = a.backgroundsrc), "currency" in a && t(1, b = a.currency), "backgroundsrcmobile" in a && t(22, T = a.backgroundsrcmobile), "titlelogopath" in a && t(23, S = a.titlelogopath), "lang" in a && t(24, y = a.lang), "clientstyling" in a && t(25, m = a.clientstyling), "clientstylingurl" in a && t(26, L = a.clientstylingurl), "translationurl" in a && t(27, W = a.translationurl), "endpoint" in a && t(28, f = a.endpoint), "gameid" in a && t(29, d = a.gameid);
432
- }, n.$$.update = () => {
433
- n.$$.dirty[0] & /*endpoint*/
434
- 268435456 && f && ne(), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
435
- 33554436 && J && m && de(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
436
- 67108868 && J && L && ge(), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
437
- 1358954498 && f && y && b && M.length > 0 && G(), n.$$.dirty[0] & /*currency, lang, isLoading*/
438
- 16777226 && b && y && !U && le(), n.$$.dirty[0] & /*lang*/
439
- 16777216 && y && X(), n.$$.dirty[0] & /*translationurl*/
440
- 134217728 && W && ae();
441
- }, [
442
- s,
443
- b,
444
- J,
445
- U,
446
- O,
447
- F,
448
- $,
449
- Y,
450
- ee,
451
- re,
452
- K,
453
- te,
454
- N,
455
- P,
456
- Q,
457
- r,
458
- p,
459
- o,
460
- w,
461
- _,
462
- u,
463
- C,
464
- T,
465
- S,
466
- y,
467
- m,
468
- L,
469
- W,
470
- f,
471
- d,
472
- M,
473
- Z,
474
- E
475
- ];
476
- }
477
- class Ye extends We {
478
- constructor(e) {
479
- super(), Ae(
480
- this,
481
- e,
482
- Ge,
483
- qe,
484
- Ie,
485
- {
486
- visualstructure: 0,
487
- title: 15,
488
- caticon0: 16,
489
- caticon1: 17,
490
- caticon2: 18,
491
- caticon3: 19,
492
- iconlabels: 20,
493
- backgroundsrc: 21,
494
- currency: 1,
495
- backgroundsrcmobile: 22,
496
- titlelogopath: 23,
497
- lang: 24,
498
- clientstyling: 25,
499
- clientstylingurl: 26,
500
- translationurl: 27,
501
- endpoint: 28,
502
- gameid: 29
503
- },
504
- Me,
505
- [-1, -1]
506
- );
507
- }
508
- get visualstructure() {
509
- return this.$$.ctx[0];
510
- }
511
- set visualstructure(e) {
512
- this.$$set({ visualstructure: e }), j();
513
- }
514
- get title() {
515
- return this.$$.ctx[15];
516
- }
517
- set title(e) {
518
- this.$$set({ title: e }), j();
519
- }
520
- get caticon0() {
521
- return this.$$.ctx[16];
522
- }
523
- set caticon0(e) {
524
- this.$$set({ caticon0: e }), j();
525
- }
526
- get caticon1() {
527
- return this.$$.ctx[17];
528
- }
529
- set caticon1(e) {
530
- this.$$set({ caticon1: e }), j();
531
- }
532
- get caticon2() {
533
- return this.$$.ctx[18];
534
- }
535
- set caticon2(e) {
536
- this.$$set({ caticon2: e }), j();
537
- }
538
- get caticon3() {
539
- return this.$$.ctx[19];
540
- }
541
- set caticon3(e) {
542
- this.$$set({ caticon3: e }), j();
543
- }
544
- get iconlabels() {
545
- return this.$$.ctx[20];
546
- }
547
- set iconlabels(e) {
548
- this.$$set({ iconlabels: e }), j();
549
- }
550
- get backgroundsrc() {
551
- return this.$$.ctx[21];
552
- }
553
- set backgroundsrc(e) {
554
- this.$$set({ backgroundsrc: e }), j();
555
- }
556
- get currency() {
557
- return this.$$.ctx[1];
558
- }
559
- set currency(e) {
560
- this.$$set({ currency: e }), j();
561
- }
562
- get backgroundsrcmobile() {
563
- return this.$$.ctx[22];
564
- }
565
- set backgroundsrcmobile(e) {
566
- this.$$set({ backgroundsrcmobile: e }), j();
567
- }
568
- get titlelogopath() {
569
- return this.$$.ctx[23];
570
- }
571
- set titlelogopath(e) {
572
- this.$$set({ titlelogopath: e }), j();
573
- }
574
- get lang() {
575
- return this.$$.ctx[24];
576
- }
577
- set lang(e) {
578
- this.$$set({ lang: e }), j();
579
- }
580
- get clientstyling() {
581
- return this.$$.ctx[25];
582
- }
583
- set clientstyling(e) {
584
- this.$$set({ clientstyling: e }), j();
585
- }
586
- get clientstylingurl() {
587
- return this.$$.ctx[26];
588
- }
589
- set clientstylingurl(e) {
590
- this.$$set({ clientstylingurl: e }), j();
591
- }
592
- get translationurl() {
593
- return this.$$.ctx[27];
594
- }
595
- set translationurl(e) {
596
- this.$$set({ translationurl: e }), j();
597
- }
598
- get endpoint() {
599
- return this.$$.ctx[28];
600
- }
601
- set endpoint(e) {
602
- this.$$set({ endpoint: e }), j();
603
- }
604
- get gameid() {
605
- return this.$$.ctx[29];
606
- }
607
- set gameid(e) {
608
- this.$$set({ gameid: e }), j();
609
- }
610
- }
611
- Ue(Ye, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
612
- export {
613
- Ye as default
614
- };