@everymatrix/casino-lobby 1.41.0 → 1.42.69

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 (165) hide show
  1. package/components/CasinoCalendar-BQx5-rlk.cjs +9 -0
  2. package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
  3. package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
  4. package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
  5. package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
  6. package/components/CasinoCalendar-wabXB62Y.js +5174 -0
  7. package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
  8. package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
  9. package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
  10. package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
  11. package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
  12. package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
  13. package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
  14. package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
  15. package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
  16. package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
  17. package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
  18. package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
  19. package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
  20. package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
  21. package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
  22. package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
  23. package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
  24. package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
  25. package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
  26. package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
  27. package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
  28. package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
  29. package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
  30. package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
  31. package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
  32. package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
  33. package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
  34. package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
  35. package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
  36. package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
  37. package/components/CasinoFilter-B9sKxzVS.js +620 -0
  38. package/components/CasinoFilter-CMVqOmbG.js +619 -0
  39. package/components/CasinoFilter-Cf00T9dk.js +620 -0
  40. package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
  41. package/components/CasinoFilter-DD3HMkSy.js +619 -0
  42. package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
  43. package/components/CasinoGamePage-BundiLLb.js +4266 -0
  44. package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
  45. package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
  46. package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
  47. package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
  48. package/components/CasinoGamePage-yVND0I7w.js +4287 -0
  49. package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
  50. package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
  51. package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
  52. package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
  53. package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
  54. package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
  55. package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
  56. package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
  57. package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
  58. package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
  59. package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
  60. package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
  61. package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
  62. package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
  63. package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
  64. package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
  65. package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
  66. package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
  67. package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
  68. package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
  69. package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
  70. package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
  71. package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
  72. package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
  73. package/components/CasinoLobby-AFKKESbR.cjs +1 -0
  74. package/components/CasinoLobby-CHvuexFs.js +2315 -0
  75. package/components/CasinoLobby-ClhYpfUU.js +2315 -0
  76. package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
  77. package/components/CasinoLobby-hrKaH7qN.js +2315 -0
  78. package/components/CasinoLobby-ouSesgdC.js +2315 -0
  79. package/components/CasinoModal-BIVMlWQX.js +359 -0
  80. package/components/CasinoModal-BYKM2vRV.cjs +1 -0
  81. package/components/CasinoModal-C3wpERtX.js +359 -0
  82. package/components/CasinoModal-Cabai4o3.js +359 -0
  83. package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
  84. package/components/CasinoModal-Dw_y4THL.js +359 -0
  85. package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
  86. package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
  87. package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
  88. package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
  89. package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
  90. package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
  91. package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
  92. package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
  93. package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
  94. package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
  95. package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
  96. package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
  97. package/components/CasinoPage-BGO7Qjz8.js +3535 -0
  98. package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
  99. package/components/CasinoPage-Ccz2mt9L.js +3535 -0
  100. package/components/CasinoPage-D4SKFGBe.cjs +1 -0
  101. package/components/CasinoPage-DLYXRAgH.js +3538 -0
  102. package/components/CasinoPage-OtILzfbb.js +3538 -0
  103. package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
  104. package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
  105. package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
  106. package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
  107. package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
  108. package/components/CasinoRandomGame-HLWP49DK.js +658 -0
  109. package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
  110. package/components/CasinoSearch-BMZWS8yv.js +1058 -0
  111. package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
  112. package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
  113. package/components/CasinoSearch-CbqN_jyR.js +1058 -0
  114. package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
  115. package/components/CasinoSlider-BOVT94iB.js +794 -0
  116. package/components/CasinoSlider-BSHGeAYd.js +788 -0
  117. package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
  118. package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
  119. package/components/CasinoSlider-CrHKe4Xk.js +803 -0
  120. package/components/CasinoSlider-Cxh3sOkP.js +797 -0
  121. package/components/CasinoSort-BOWrHLh_.js +420 -0
  122. package/components/CasinoSort-BwnNTnFA.js +420 -0
  123. package/components/CasinoSort-DTw1r10v.js +419 -0
  124. package/components/CasinoSort-DWtBvm9D.cjs +1 -0
  125. package/components/CasinoSort-LblMuLP4.js +419 -0
  126. package/components/CasinoSort-hnzXlXWX.cjs +1 -0
  127. package/components/CasinoWinners-C9izX5Hz.js +955 -0
  128. package/components/CasinoWinners-CO3x7y86.js +955 -0
  129. package/components/CasinoWinners-CZWuAxEs.js +953 -0
  130. package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
  131. package/components/CasinoWinners-DOucg2Bq.js +953 -0
  132. package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
  133. package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
  134. package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
  135. package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
  136. package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
  137. package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
  138. package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
  139. package/es2015/casino-lobby.cjs +1 -0
  140. package/es2015/casino-lobby.js +16 -0
  141. package/esnext/casino-lobby.js +14 -0
  142. package/package.json +19 -34
  143. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  144. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  145. package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
  146. package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
  147. package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
  148. package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
  149. package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
  150. package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
  151. package/CHANGELOG.md +0 -39
  152. package/README.md +0 -0
  153. package/dist/casino-lobby.js +0 -33
  154. package/dist/casino-lobby.js.map +0 -1
  155. package/documentation.md +0 -176
  156. package/index.html +0 -50
  157. package/index.js +0 -1
  158. package/public/favicon.png +0 -0
  159. package/public/reset.css +0 -48
  160. package/rollup.config.js +0 -67
  161. package/src/CasinoLobby.svelte +0 -454
  162. package/src/i18n.js +0 -25
  163. package/src/index.ts +0 -4
  164. package/stories/CasinoLobby.stories.js +0 -13
  165. package/tsconfig.json +0 -6
@@ -0,0 +1,592 @@
1
+ import { a as Se, $ as Te, S as We, i as Ae, f as L, c as Ie, s as Ve, b as De, e as c, d as M, D as ye, j as N, o as Je, n as ze, L as Ue, M as Be, N as Ee, r as U, v as i, I as he, E as D, w as l, x as Me, m as Ne, u as T, B as W, q as Ce, H as Oe, C as Re } from "./CasinoCalendar-wabXB62Y.js";
2
+ function we(n, e) {
3
+ Se(n, e);
4
+ }
5
+ function He(n) {
6
+ Te.set(n);
7
+ }
8
+ const xe = {
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 Pe(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 Le(n, e, t) {
50
+ const r = n.slice();
51
+ return r[46] = e[t], r[48] = t, r;
52
+ }
53
+ function qe(n) {
54
+ let e, t, r, s, d, o, w, _, u, x, b, j, A;
55
+ function v(p, h) {
56
+ return (
57
+ /*tabletView*/
58
+ p[5] ? Ye : Ke
59
+ );
60
+ }
61
+ let g = v(n), f = g(n);
62
+ return {
63
+ c() {
64
+ e = c("div"), t = c("div"), r = c("div"), s = c("div"), d = U(), o = c("div"), f.c(), w = U(), _ = c("div"), u = c("img"), i(s, "class", "vendorLogo"), he(s, "background-image", "url(" + /*vendorIcon*/
65
+ n[6] + ")"), i(o, "class", "displayContainer"), D(u.src, x = /*titleLogoImg*/
66
+ n[11]) || i(u, "src", x), i(u, "alt", ""), i(_, "class", "title"), i(r, "class", b = "mainWrapper " + /*visualstructure*/
67
+ n[0] + " " + /*mobileView*/
68
+ (n[4] && !/*tabletView*/
69
+ n[5] ? "mobile" : (
70
+ /*tabletView*/
71
+ n[5] ? "tablet" : ""
72
+ ))), he(r, "background", "url(" + /*backgroundImg*/
73
+ n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", ""), i(e, "part", "");
74
+ },
75
+ m(p, h) {
76
+ M(p, e, h), l(e, t), l(t, r), l(r, s), l(r, d), l(r, o), f.m(o, null), l(r, w), l(r, _), l(_, u), j || (A = Me(
77
+ t,
78
+ "click",
79
+ /*click_handler*/
80
+ n[30]
81
+ ), j = !0);
82
+ },
83
+ p(p, h) {
84
+ h[0] & /*vendorIcon*/
85
+ 64 && he(s, "background-image", "url(" + /*vendorIcon*/
86
+ p[6] + ")"), g === (g = v(p)) && f ? f.p(p, h) : (f.d(1), f = g(p), f && (f.c(), f.m(o, null))), h[0] & /*titleLogoImg*/
87
+ 2048 && !D(u.src, x = /*titleLogoImg*/
88
+ p[11]) && i(u, "src", x), h[0] & /*visualstructure, mobileView, tabletView*/
89
+ 49 && b !== (b = "mainWrapper " + /*visualstructure*/
90
+ p[0] + " " + /*mobileView*/
91
+ (p[4] && !/*tabletView*/
92
+ p[5] ? "mobile" : (
93
+ /*tabletView*/
94
+ p[5] ? "tablet" : ""
95
+ ))) && i(r, "class", b), h[0] & /*backgroundImg*/
96
+ 1024 && he(r, "background", "url(" + /*backgroundImg*/
97
+ p[10] + ")");
98
+ },
99
+ d(p) {
100
+ p && N(e), f.d(), j = !1, A();
101
+ }
102
+ };
103
+ }
104
+ function Fe(n) {
105
+ let e;
106
+ return {
107
+ c() {
108
+ e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
109
+ },
110
+ m(t, r) {
111
+ M(t, e, r);
112
+ },
113
+ p: ye,
114
+ d(t) {
115
+ t && N(e);
116
+ }
117
+ };
118
+ }
119
+ function Ge(n) {
120
+ let e;
121
+ return {
122
+ c() {
123
+ e = c("p"), e.textContent = "500 Server error";
124
+ },
125
+ m(t, r) {
126
+ M(t, e, r);
127
+ },
128
+ p: ye,
129
+ d(t) {
130
+ t && N(e);
131
+ }
132
+ };
133
+ }
134
+ function Ye(n) {
135
+ let e, t, r, s, d, o, w = (
136
+ /*formattedLabels*/
137
+ n[8][0] + ""
138
+ ), _, u, x, b = (
139
+ /*formattedJackpotValues*/
140
+ n[7][0] + ""
141
+ ), j, A, v, g, f, p, h, S, Y, O, R = (
142
+ /*formattedLabels*/
143
+ n[8][1] + ""
144
+ ), K, J, B, F = (
145
+ /*formattedJackpotValues*/
146
+ n[7][1] + ""
147
+ ), Q, ne, G, X, I, V, H, E, z, P, Z, $ = (
148
+ /*formattedLabels*/
149
+ n[8][2] + ""
150
+ ), le, q, ee, te = (
151
+ /*formattedJackpotValues*/
152
+ n[7][2] + ""
153
+ ), re, se, ae, ce, oe, a, m, C, de, pe, ge = (
154
+ /*formattedLabels*/
155
+ n[8][3] + ""
156
+ ), be, ie, ue, fe = (
157
+ /*formattedJackpotValues*/
158
+ n[7][3] + ""
159
+ ), ve, _e, me, ke;
160
+ return {
161
+ c() {
162
+ e = c("div"), t = c("div"), r = c("div"), s = c("img"), o = c("span"), _ = T(w), u = c("span"), x = c("span"), j = T(b), A = U(), v = c("span"), g = T(
163
+ /*currency*/
164
+ n[1]
165
+ ), f = U(), p = c("div"), h = c("div"), S = c("img"), O = c("span"), K = T(R), J = c("span"), B = c("span"), Q = T(F), ne = U(), G = c("span"), X = T(
166
+ /*currency*/
167
+ n[1]
168
+ ), I = U(), V = c("div"), H = c("div"), E = c("div"), z = c("img"), Z = c("span"), le = T($), q = c("span"), ee = c("span"), re = T(te), se = U(), ae = c("span"), ce = T(
169
+ /*currency*/
170
+ n[1]
171
+ ), oe = U(), a = c("div"), m = c("div"), C = c("img"), pe = c("span"), be = T(ge), ie = c("span"), ue = c("span"), ve = T(fe), _e = U(), me = c("span"), ke = T(
172
+ /*currency*/
173
+ n[1]
174
+ ), i(s, "class", "displayCardIcon"), D(s.src, d = /*caticons*/
175
+ n[9][0]) || i(s, "src", d), i(s, "alt", ""), i(o, "class", "cardLabel"), i(r, "class", "iconWrapper"), i(x, "class", "jackpotValue"), i(v, "class", "jackpot-currency"), i(u, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(S, "class", "displayCardIcon"), D(S.src, Y = /*caticons*/
176
+ n[9][1]) || i(S, "src", Y), i(S, "alt", ""), i(O, "class", "cardLabel"), i(h, "class", "iconWrapper"), i(B, "class", "jackpotValue"), i(G, "class", "jackpot-currency"), i(J, "class", "cardTextWrapper"), i(p, "class", "displayCard"), i(e, "class", "pairWrapper"), i(z, "class", "displayCardIcon"), D(z.src, P = /*caticons*/
177
+ n[9][2]) || i(z, "src", P), i(z, "alt", ""), i(Z, "class", "cardLabel"), i(E, "class", "iconWrapper"), i(ee, "class", "jackpotValue"), i(ae, "class", "jackpot-currency"), i(q, "class", "cardTextWrapper"), i(H, "class", "displayCard"), i(C, "class", "displayCardIcon"), D(C.src, de = /*caticons*/
178
+ n[9][3]) || i(C, "src", de), i(C, "alt", ""), i(pe, "class", "cardLabel"), i(m, "class", "iconWrapper"), i(ue, "class", "jackpotValue"), i(me, "class", "jackpot-currency"), i(ie, "class", "cardTextWrapper"), i(a, "class", "displayCard"), i(V, "class", "pairWrapper");
179
+ },
180
+ m(y, k) {
181
+ M(y, e, k), l(e, t), l(t, r), l(r, s), l(r, o), l(o, _), l(t, u), l(u, x), l(x, j), l(u, A), l(u, v), l(v, g), l(e, f), l(e, p), l(p, h), l(h, S), l(h, O), l(O, K), l(p, J), l(J, B), l(B, Q), l(J, ne), l(J, G), l(G, X), M(y, I, k), M(y, V, k), l(V, H), l(H, E), l(E, z), l(E, Z), l(Z, le), l(H, q), l(q, ee), l(ee, re), l(q, se), l(q, ae), l(ae, ce), l(V, oe), l(V, a), l(a, m), l(m, C), l(m, pe), l(pe, be), l(a, ie), l(ie, ue), l(ue, ve), l(ie, _e), l(ie, me), l(me, ke);
182
+ },
183
+ p(y, k) {
184
+ k[0] & /*caticons*/
185
+ 512 && !D(s.src, d = /*caticons*/
186
+ y[9][0]) && i(s, "src", d), k[0] & /*formattedLabels*/
187
+ 256 && w !== (w = /*formattedLabels*/
188
+ y[8][0] + "") && W(_, w), k[0] & /*formattedJackpotValues*/
189
+ 128 && b !== (b = /*formattedJackpotValues*/
190
+ y[7][0] + "") && W(j, b), k[0] & /*currency*/
191
+ 2 && W(
192
+ g,
193
+ /*currency*/
194
+ y[1]
195
+ ), k[0] & /*caticons*/
196
+ 512 && !D(S.src, Y = /*caticons*/
197
+ y[9][1]) && i(S, "src", Y), k[0] & /*formattedLabels*/
198
+ 256 && R !== (R = /*formattedLabels*/
199
+ y[8][1] + "") && W(K, R), k[0] & /*formattedJackpotValues*/
200
+ 128 && F !== (F = /*formattedJackpotValues*/
201
+ y[7][1] + "") && W(Q, F), k[0] & /*currency*/
202
+ 2 && W(
203
+ X,
204
+ /*currency*/
205
+ y[1]
206
+ ), k[0] & /*caticons*/
207
+ 512 && !D(z.src, P = /*caticons*/
208
+ y[9][2]) && i(z, "src", P), k[0] & /*formattedLabels*/
209
+ 256 && $ !== ($ = /*formattedLabels*/
210
+ y[8][2] + "") && W(le, $), k[0] & /*formattedJackpotValues*/
211
+ 128 && te !== (te = /*formattedJackpotValues*/
212
+ y[7][2] + "") && W(re, te), k[0] & /*currency*/
213
+ 2 && W(
214
+ ce,
215
+ /*currency*/
216
+ y[1]
217
+ ), k[0] & /*caticons*/
218
+ 512 && !D(C.src, de = /*caticons*/
219
+ y[9][3]) && i(C, "src", de), k[0] & /*formattedLabels*/
220
+ 256 && ge !== (ge = /*formattedLabels*/
221
+ y[8][3] + "") && W(be, ge), k[0] & /*formattedJackpotValues*/
222
+ 128 && fe !== (fe = /*formattedJackpotValues*/
223
+ y[7][3] + "") && W(ve, fe), k[0] & /*currency*/
224
+ 2 && W(
225
+ ke,
226
+ /*currency*/
227
+ y[1]
228
+ );
229
+ },
230
+ d(y) {
231
+ y && (N(e), N(I), N(V));
232
+ }
233
+ };
234
+ }
235
+ function Ke(n) {
236
+ let e, t = Ce(Array(4)), r = [];
237
+ for (let s = 0; s < t.length; s += 1)
238
+ r[s] = je(Le(n, t, s));
239
+ return {
240
+ c() {
241
+ for (let s = 0; s < r.length; s += 1)
242
+ r[s].c();
243
+ e = Oe();
244
+ },
245
+ m(s, d) {
246
+ for (let o = 0; o < r.length; o += 1)
247
+ r[o] && r[o].m(s, d);
248
+ M(s, e, d);
249
+ },
250
+ p(s, d) {
251
+ if (d[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
252
+ 898) {
253
+ t = Ce(Array(4));
254
+ let o;
255
+ for (o = 0; o < t.length; o += 1) {
256
+ const w = Le(s, t, o);
257
+ r[o] ? r[o].p(w, d) : (r[o] = je(w), r[o].c(), r[o].m(e.parentNode, e));
258
+ }
259
+ for (; o < r.length; o += 1)
260
+ r[o].d(1);
261
+ r.length = t.length;
262
+ }
263
+ },
264
+ d(s) {
265
+ s && N(e), Re(r, s);
266
+ }
267
+ };
268
+ }
269
+ function je(n) {
270
+ let e, t, r, s, d, o = (
271
+ /*formattedLabels*/
272
+ n[8][
273
+ /*i*/
274
+ n[48]
275
+ ] + ""
276
+ ), w, _, u, x = (
277
+ /*formattedJackpotValues*/
278
+ (n[7][
279
+ /*i*/
280
+ n[48]
281
+ ] ?? "") + ""
282
+ ), b, j, A, v;
283
+ return {
284
+ c() {
285
+ e = c("div"), t = c("div"), r = c("img"), d = c("span"), w = T(o), _ = c("span"), u = c("span"), b = T(x), j = U(), A = c("span"), v = T(
286
+ /*currency*/
287
+ n[1]
288
+ ), i(r, "class", "displayCardIcon"), D(r.src, s = /*caticons*/
289
+ n[9][
290
+ /*i*/
291
+ n[48]
292
+ ]) || i(r, "src", s), i(r, "alt", ""), i(d, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(u, "class", "jackpotValue"), i(A, "class", "jackpot-currency"), i(_, "class", "cardTextWrapper"), i(e, "class", "displayCard");
293
+ },
294
+ m(g, f) {
295
+ M(g, e, f), l(e, t), l(t, r), l(t, d), l(d, w), l(e, _), l(_, u), l(u, b), l(_, j), l(_, A), l(A, v);
296
+ },
297
+ p(g, f) {
298
+ f[0] & /*caticons*/
299
+ 512 && !D(r.src, s = /*caticons*/
300
+ g[9][
301
+ /*i*/
302
+ g[48]
303
+ ]) && i(r, "src", s), f[0] & /*formattedLabels*/
304
+ 256 && o !== (o = /*formattedLabels*/
305
+ g[8][
306
+ /*i*/
307
+ g[48]
308
+ ] + "") && W(w, o), f[0] & /*formattedJackpotValues*/
309
+ 128 && x !== (x = /*formattedJackpotValues*/
310
+ (g[7][
311
+ /*i*/
312
+ g[48]
313
+ ] ?? "") + "") && W(b, x), f[0] & /*currency*/
314
+ 2 && W(
315
+ v,
316
+ /*currency*/
317
+ g[1]
318
+ );
319
+ },
320
+ d(g) {
321
+ g && N(e);
322
+ }
323
+ };
324
+ }
325
+ function Qe(n) {
326
+ let e;
327
+ function t(d, o) {
328
+ return (
329
+ /*hasErrors*/
330
+ d[12] ? Ge : (
331
+ /*isLoading*/
332
+ d[3] ? Fe : qe
333
+ )
334
+ );
335
+ }
336
+ let r = t(n), s = r(n);
337
+ return {
338
+ c() {
339
+ e = c("div"), s.c();
340
+ },
341
+ m(d, o) {
342
+ M(d, e, o), s.m(e, null), n[31](e);
343
+ },
344
+ p(d, o) {
345
+ r === (r = t(d)) && s ? s.p(d, o) : (s.d(1), s = r(d), s && (s.c(), s.m(e, null)));
346
+ },
347
+ i: ye,
348
+ o: ye,
349
+ d(d) {
350
+ d && N(e), s.d(), n[31](null);
351
+ }
352
+ };
353
+ }
354
+ function Xe(n, e, t) {
355
+ let { visualstructure: r = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: _ = "" } = e, { iconlabels: u = "" } = e, { backgroundsrc: x = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: j = "" } = e, { titlelogopath: A = "" } = e, { lang: v = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: p = "" } = e, { endpoint: h = "" } = e, { gameid: S = "" } = e, Y = window.navigator.userAgent, O = !1, R = !1, K = "", J = [], B = [], F = [], Q = [], ne = [], G = "", X = "", I, V = !0, H = !1, E;
356
+ const z = () => {
357
+ fetch(p).then((m) => m.json()).then((m) => {
358
+ Object.keys(m).forEach((C) => {
359
+ we(C, m[C]);
360
+ });
361
+ }).catch((m) => {
362
+ console.log(m);
363
+ });
364
+ };
365
+ Object.keys(xe).forEach((a) => {
366
+ we(a, xe[a]);
367
+ });
368
+ const P = ["typeSpread", "typeLeft"], Z = (a) => {
369
+ const m = a?.items[0]?.additionalData;
370
+ m && Object.values(m).forEach((C) => J.push(+C));
371
+ }, $ = (a) => {
372
+ t(6, K = a?.items[0]?.vendorLogo || "");
373
+ }, le = () => {
374
+ if (h && v && b) {
375
+ let a = new URL(`${h}/v1/casino/jackpots`);
376
+ a.searchParams.append("filter", `id=${S}`), a.searchParams.append("language", v), a.searchParams.append("additionalDataCurrency", b), fetch(a.href).then((m) => m.json().then((C) => {
377
+ t(3, V = !1), E = C, B.includes(S) && (Z(E), $(E));
378
+ }).catch((C) => {
379
+ t(12, H = !0), t(3, V = !1), console.error(C);
380
+ }));
381
+ }
382
+ }, q = () => {
383
+ let a = new URL(`${h}/v1/casino/jackpots/config`);
384
+ fetch(a.href).then((m) => m.json()).then((m) => {
385
+ t(29, B = m.egtJackpotIds.map((C) => C));
386
+ });
387
+ }, ee = () => {
388
+ t(4, O = Ne(Y) && window.innerHeight / window.innerWidth > 1), t(5, R = re()), J.length !== 0 && t(7, F = te(J)), t(8, Q = u ? u.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), P.includes(r.trim()) ? t(0, r = r.trim()) : (console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${P[0]}"`), t(0, r = P[0])), t(10, G = j && O && !R ? j : x), t(11, X = A), t(9, ne = [d, o, w, _]);
389
+ }, te = (a) => a.map((m) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(m)), re = () => {
390
+ const a = window.innerHeight / window.innerWidth;
391
+ return 0.75 < a && a < 1.6;
392
+ }, se = () => {
393
+ window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
394
+ context: "JackpotBanner",
395
+ gameId: `${S}`
396
+ });
397
+ }, ae = () => {
398
+ He(v);
399
+ };
400
+ Je(() => () => {
401
+ });
402
+ const ce = () => se();
403
+ function oe(a) {
404
+ ze[a ? "unshift" : "push"](() => {
405
+ I = a, t(2, I);
406
+ });
407
+ }
408
+ return n.$$set = (a) => {
409
+ "visualstructure" in a && t(0, r = a.visualstructure), "title" in a && t(14, s = a.title), "caticon0" in a && t(15, d = a.caticon0), "caticon1" in a && t(16, o = a.caticon1), "caticon2" in a && t(17, w = a.caticon2), "caticon3" in a && t(18, _ = a.caticon3), "iconlabels" in a && t(19, u = a.iconlabels), "backgroundsrc" in a && t(20, x = a.backgroundsrc), "currency" in a && t(1, b = a.currency), "backgroundsrcmobile" in a && t(21, j = a.backgroundsrcmobile), "titlelogopath" in a && t(22, A = a.titlelogopath), "lang" in a && t(23, v = a.lang), "clientstyling" in a && t(24, g = a.clientstyling), "clientstylingurl" in a && t(25, f = a.clientstylingurl), "translationurl" in a && t(26, p = a.translationurl), "endpoint" in a && t(27, h = a.endpoint), "gameid" in a && t(28, S = a.gameid);
410
+ }, n.$$.update = () => {
411
+ n.$$.dirty[0] & /*endpoint*/
412
+ 134217728 && h && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
413
+ 16777220 && g && I && Ue(I, g), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
414
+ 33554436 && f && I && Be(I), n.$$.dirty[0] & /*customStylingContainer*/
415
+ 4 && I && Ee(I, "Casino.Style"), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
416
+ 679477250 && h && v && b && B.length > 0 && le(), n.$$.dirty[0] & /*currency, lang, isLoading*/
417
+ 8388618 && b && v && !V && ee(), n.$$.dirty[0] & /*lang*/
418
+ 8388608 && v && ae(), n.$$.dirty[0] & /*translationurl*/
419
+ 67108864 && p && z();
420
+ }, [
421
+ r,
422
+ b,
423
+ I,
424
+ V,
425
+ O,
426
+ R,
427
+ K,
428
+ F,
429
+ Q,
430
+ ne,
431
+ G,
432
+ X,
433
+ H,
434
+ se,
435
+ s,
436
+ d,
437
+ o,
438
+ w,
439
+ _,
440
+ u,
441
+ x,
442
+ j,
443
+ A,
444
+ v,
445
+ g,
446
+ f,
447
+ p,
448
+ h,
449
+ S,
450
+ B,
451
+ ce,
452
+ oe
453
+ ];
454
+ }
455
+ class Ze extends We {
456
+ constructor(e) {
457
+ super(), Ae(
458
+ this,
459
+ e,
460
+ Xe,
461
+ Qe,
462
+ Ve,
463
+ {
464
+ visualstructure: 0,
465
+ title: 14,
466
+ caticon0: 15,
467
+ caticon1: 16,
468
+ caticon2: 17,
469
+ caticon3: 18,
470
+ iconlabels: 19,
471
+ backgroundsrc: 20,
472
+ currency: 1,
473
+ backgroundsrcmobile: 21,
474
+ titlelogopath: 22,
475
+ lang: 23,
476
+ clientstyling: 24,
477
+ clientstylingurl: 25,
478
+ translationurl: 26,
479
+ endpoint: 27,
480
+ gameid: 28
481
+ },
482
+ Pe,
483
+ [-1, -1]
484
+ );
485
+ }
486
+ get visualstructure() {
487
+ return this.$$.ctx[0];
488
+ }
489
+ set visualstructure(e) {
490
+ this.$$set({ visualstructure: e }), L();
491
+ }
492
+ get title() {
493
+ return this.$$.ctx[14];
494
+ }
495
+ set title(e) {
496
+ this.$$set({ title: e }), L();
497
+ }
498
+ get caticon0() {
499
+ return this.$$.ctx[15];
500
+ }
501
+ set caticon0(e) {
502
+ this.$$set({ caticon0: e }), L();
503
+ }
504
+ get caticon1() {
505
+ return this.$$.ctx[16];
506
+ }
507
+ set caticon1(e) {
508
+ this.$$set({ caticon1: e }), L();
509
+ }
510
+ get caticon2() {
511
+ return this.$$.ctx[17];
512
+ }
513
+ set caticon2(e) {
514
+ this.$$set({ caticon2: e }), L();
515
+ }
516
+ get caticon3() {
517
+ return this.$$.ctx[18];
518
+ }
519
+ set caticon3(e) {
520
+ this.$$set({ caticon3: e }), L();
521
+ }
522
+ get iconlabels() {
523
+ return this.$$.ctx[19];
524
+ }
525
+ set iconlabels(e) {
526
+ this.$$set({ iconlabels: e }), L();
527
+ }
528
+ get backgroundsrc() {
529
+ return this.$$.ctx[20];
530
+ }
531
+ set backgroundsrc(e) {
532
+ this.$$set({ backgroundsrc: e }), L();
533
+ }
534
+ get currency() {
535
+ return this.$$.ctx[1];
536
+ }
537
+ set currency(e) {
538
+ this.$$set({ currency: e }), L();
539
+ }
540
+ get backgroundsrcmobile() {
541
+ return this.$$.ctx[21];
542
+ }
543
+ set backgroundsrcmobile(e) {
544
+ this.$$set({ backgroundsrcmobile: e }), L();
545
+ }
546
+ get titlelogopath() {
547
+ return this.$$.ctx[22];
548
+ }
549
+ set titlelogopath(e) {
550
+ this.$$set({ titlelogopath: e }), L();
551
+ }
552
+ get lang() {
553
+ return this.$$.ctx[23];
554
+ }
555
+ set lang(e) {
556
+ this.$$set({ lang: e }), L();
557
+ }
558
+ get clientstyling() {
559
+ return this.$$.ctx[24];
560
+ }
561
+ set clientstyling(e) {
562
+ this.$$set({ clientstyling: e }), L();
563
+ }
564
+ get clientstylingurl() {
565
+ return this.$$.ctx[25];
566
+ }
567
+ set clientstylingurl(e) {
568
+ this.$$set({ clientstylingurl: e }), L();
569
+ }
570
+ get translationurl() {
571
+ return this.$$.ctx[26];
572
+ }
573
+ set translationurl(e) {
574
+ this.$$set({ translationurl: e }), L();
575
+ }
576
+ get endpoint() {
577
+ return this.$$.ctx[27];
578
+ }
579
+ set endpoint(e) {
580
+ this.$$set({ endpoint: e }), L();
581
+ }
582
+ get gameid() {
583
+ return this.$$.ctx[28];
584
+ }
585
+ set gameid(e) {
586
+ this.$$set({ gameid: e }), L();
587
+ }
588
+ }
589
+ Ie(Ze, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
590
+ export {
591
+ Ze as default
592
+ };