@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
@@ -0,0 +1,659 @@
1
+ import { a as ye, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as B, d as x, h as T, j as b, k as Le, o as Me, l as je, C as Q, r as p, v as H, w as ae, m as R, p as v, R as xe, q as U, B as F, T as Te, U as Fe, A, G as I, D as N, V as ze, I as Oe, J as Be, K as He, L as Ae, M as Ne } from "./CasinoCalendar-CSMUhfCr.js";
2
+ function $(t, e) {
3
+ ye(t, e);
4
+ }
5
+ function Ie(t) {
6
+ we.set(t);
7
+ }
8
+ const ee = {
9
+ en: {
10
+ collections: "Game Collections",
11
+ providers: "Game Providers",
12
+ loading: "Loading, please wait ..."
13
+ },
14
+ "zh-hk": {
15
+ collections: "收藏品",
16
+ providers: "供应商",
17
+ loading: "加載請稍候 ..."
18
+ },
19
+ de: {
20
+ collections: "Game Collections",
21
+ providers: "Game Providers",
22
+ loading: "Laden, bitte warten..."
23
+ },
24
+ it: {
25
+ collections: "Game Collections",
26
+ providers: "Game Providers",
27
+ loading: "Loading, please wait ..."
28
+ },
29
+ fr: {
30
+ collections: "Collections",
31
+ providers: "Fournisseurs",
32
+ loading: "Chargement, veuillez patienter ..."
33
+ },
34
+ es: {
35
+ collections: "Colecciones de juegos",
36
+ providers: "Proveedores de juegos",
37
+ loading: "Cargando…"
38
+ },
39
+ el: {
40
+ collections: "Game Collections",
41
+ providers: "Game Providers",
42
+ loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
43
+ },
44
+ tr: {
45
+ collections: "Oyun Koleksiyonları",
46
+ providers: "Oyun Sağlayıcıları",
47
+ loading: "Yükleniyor, lütfen bekleyin..."
48
+ },
49
+ ru: {
50
+ collections: "Game Collections",
51
+ providers: "Game Providers",
52
+ loading: "Loading, please wait ..."
53
+ },
54
+ ro: {
55
+ collections: "Selectie Jocuri",
56
+ providers: "Furnizori",
57
+ loading: "Se încarcă, asteptati ..."
58
+ },
59
+ hr: {
60
+ collections: "Kolekcije igara",
61
+ providers: "Brendovi igara",
62
+ loading: "Učitavam"
63
+ },
64
+ hu: {
65
+ collections: "Game Collections",
66
+ providers: "Game Providers",
67
+ loading: "Betöltés, kérjük várjon..."
68
+ },
69
+ pl: {
70
+ collections: "Game Collections",
71
+ providers: "Game Providers",
72
+ loading: "Loading, please wait ..."
73
+ },
74
+ pt: {
75
+ collections: "Game Collections",
76
+ providers: "Game Providers",
77
+ loading: "Carregando, por favor espere ..."
78
+ },
79
+ sl: {
80
+ collections: "Game Collections",
81
+ providers: "Game Providers",
82
+ loading: "Loading, please wait ..."
83
+ },
84
+ sr: {
85
+ collections: "Game Collections",
86
+ providers: "Game Providers",
87
+ loading: "Loading, please wait ..."
88
+ },
89
+ "pt-br": {
90
+ collections: "Coleções de jogos",
91
+ providers: "Provedores de jogos",
92
+ Loading: "Carregando, por favor espere..."
93
+ },
94
+ "es-mx": {
95
+ collections: "Colecciones de juego",
96
+ providers: "Proveedores de juego",
97
+ Loading: "Cargando, por favor espere..."
98
+ },
99
+ "en-us": {
100
+ collections: "Game Collections",
101
+ providers: "Game Providers",
102
+ loading: "Loading, please wait ..."
103
+ }
104
+ };
105
+ function Re(t) {
106
+ Pe(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ }
108
+ function te(t, e, i) {
109
+ const n = t.slice();
110
+ return n[41] = e[i], n;
111
+ }
112
+ function ie(t, e, i) {
113
+ const n = t.slice();
114
+ return n[44] = e[i], n;
115
+ }
116
+ function Ue(t) {
117
+ let e, i, n, l = (
118
+ /*type*/
119
+ (t[0] == "vendor" ? (
120
+ /*$_*/
121
+ t[11]("providers")
122
+ ) : (
123
+ /*$_*/
124
+ t[11]("collections")
125
+ )) + ""
126
+ ), r, d, C, h, S, u, c = (
127
+ /*numberOfSlides*/
128
+ t[8] > /*numberOfVisibleSlides*/
129
+ t[9] && le(t)
130
+ ), g = H(
131
+ /*gameCategories*/
132
+ t[3]
133
+ ), m = [];
134
+ for (let a = 0; a < g.length; a += 1)
135
+ m[a] = re(te(t, g, a));
136
+ return {
137
+ c() {
138
+ e = b("div"), i = b("div"), n = b("p"), r = U(l), d = F(), c && c.c(), C = F(), h = b("div");
139
+ for (let a = 0; a < m.length; a += 1)
140
+ m[a].c();
141
+ p(n, "class", "Title"), p(i, "class", "CategoriesHeader"), p(h, "class", "CategoriesSlider"), Te(() => (
142
+ /*div1_elementresize_handler*/
143
+ t[28].call(h)
144
+ )), p(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
145
+ (t[10] ? "Mobile" : "") + " " + /*type*/
146
+ (t[0] === "vendor" ? "Providers" : "Collections"));
147
+ },
148
+ m(a, k) {
149
+ T(a, e, k), v(e, i), v(i, n), v(n, r), v(i, d), c && c.m(i, null), v(e, C), v(e, h);
150
+ for (let s = 0; s < m.length; s += 1)
151
+ m[s] && m[s].m(h, null);
152
+ t[27](h), S = xe(
153
+ h,
154
+ /*div1_elementresize_handler*/
155
+ t[28].bind(h)
156
+ );
157
+ },
158
+ p(a, k) {
159
+ if (k[0] & /*type, $_*/
160
+ 2049 && l !== (l = /*type*/
161
+ (a[0] == "vendor" ? (
162
+ /*$_*/
163
+ a[11]("providers")
164
+ ) : (
165
+ /*$_*/
166
+ a[11]("collections")
167
+ )) + "") && R(r, l), /*numberOfSlides*/
168
+ a[8] > /*numberOfVisibleSlides*/
169
+ a[9] ? c ? c.p(a, k) : (c = le(a), c.c(), c.m(i, null)) : c && (c.d(1), c = null), k[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
170
+ 49166) {
171
+ g = H(
172
+ /*gameCategories*/
173
+ a[3]
174
+ );
175
+ let s;
176
+ for (s = 0; s < g.length; s += 1) {
177
+ const f = te(a, g, s);
178
+ m[s] ? m[s].p(f, k) : (m[s] = re(f), m[s].c(), m[s].m(h, null));
179
+ }
180
+ for (; s < m.length; s += 1)
181
+ m[s].d(1);
182
+ m.length = g.length;
183
+ }
184
+ k[0] & /*mobile, type*/
185
+ 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
186
+ (a[10] ? "Mobile" : "") + " " + /*type*/
187
+ (a[0] === "vendor" ? "Providers" : "Collections")) && p(e, "class", u);
188
+ },
189
+ d(a) {
190
+ a && x(e), c && c.d(), ae(m, a), t[27](null), S();
191
+ }
192
+ };
193
+ }
194
+ function Ve(t) {
195
+ let e;
196
+ return {
197
+ c() {
198
+ e = b("div"), p(e, "class", "LoadingSpinner");
199
+ },
200
+ m(i, n) {
201
+ T(i, e, n);
202
+ },
203
+ p: B,
204
+ d(i) {
205
+ i && x(e);
206
+ }
207
+ };
208
+ }
209
+ function le(t) {
210
+ let e, i, n, l, r, d;
211
+ return {
212
+ c() {
213
+ e = b("div"), i = b("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), l = b("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', p(e, "class", "ButtonsContainer");
214
+ },
215
+ m(C, h) {
216
+ T(C, e, h), v(e, i), v(e, n), v(e, l), r || (d = [
217
+ A(
218
+ i,
219
+ "click",
220
+ /*click_handler*/
221
+ t[23]
222
+ ),
223
+ A(
224
+ l,
225
+ "click",
226
+ /*click_handler_1*/
227
+ t[24]
228
+ )
229
+ ], r = !0);
230
+ },
231
+ p: B,
232
+ d(C) {
233
+ C && x(e), r = !1, Fe(d);
234
+ }
235
+ };
236
+ }
237
+ function We(t) {
238
+ let e, i = (
239
+ /*category*/
240
+ t[41].name + ""
241
+ ), n;
242
+ return {
243
+ c() {
244
+ e = b("p"), n = U(i), p(e, "class", "CategorySlideTitle");
245
+ },
246
+ m(l, r) {
247
+ T(l, e, r), v(e, n);
248
+ },
249
+ p(l, r) {
250
+ r[0] & /*gameCategories*/
251
+ 8 && i !== (i = /*category*/
252
+ l[41].name + "") && R(n, i);
253
+ },
254
+ d(l) {
255
+ l && x(e);
256
+ }
257
+ };
258
+ }
259
+ function qe(t) {
260
+ let e, i, n;
261
+ return {
262
+ c() {
263
+ e = b("img"), p(e, "class", "CategorySlideLogo"), N(e.src, i = /*category*/
264
+ t[41].icon) || p(e, "src", i), p(e, "alt", n = /*category*/
265
+ t[41].name + " icon");
266
+ },
267
+ m(l, r) {
268
+ T(l, e, r);
269
+ },
270
+ p(l, r) {
271
+ r[0] & /*gameCategories*/
272
+ 8 && !N(e.src, i = /*category*/
273
+ l[41].icon) && p(e, "src", i), r[0] & /*gameCategories*/
274
+ 8 && n !== (n = /*category*/
275
+ l[41].name + " icon") && p(e, "alt", n);
276
+ },
277
+ d(l) {
278
+ l && x(e);
279
+ }
280
+ };
281
+ }
282
+ function oe(t) {
283
+ let e, i = (
284
+ /*game*/
285
+ t[44].name + ""
286
+ ), n, l;
287
+ return {
288
+ c() {
289
+ e = b("p"), n = U(i), p(e, "title", l = /*game*/
290
+ t[44].name);
291
+ },
292
+ m(r, d) {
293
+ T(r, e, d), v(e, n);
294
+ },
295
+ p(r, d) {
296
+ d[0] & /*gameCategories*/
297
+ 8 && i !== (i = /*game*/
298
+ r[44].name + "") && R(n, i), d[0] & /*gameCategories*/
299
+ 8 && l !== (l = /*game*/
300
+ r[44].name) && p(e, "title", l);
301
+ },
302
+ d(r) {
303
+ r && x(e);
304
+ }
305
+ };
306
+ }
307
+ function ne(t) {
308
+ let e, i, n, l, r, d, C, h;
309
+ function S() {
310
+ return (
311
+ /*click_handler_2*/
312
+ t[25](
313
+ /*game*/
314
+ t[44]
315
+ )
316
+ );
317
+ }
318
+ let u = (
319
+ /*collectionprovidersgamenames*/
320
+ t[2] == "true" && oe(t)
321
+ );
322
+ return {
323
+ c() {
324
+ e = b("div"), i = b("img"), r = F(), u && u.c(), d = F(), p(i, "class", "CategorySlideGameImage"), N(i.src, n = /*game*/
325
+ t[44].defaultThumbnail) || p(i, "src", n), p(i, "alt", l = /*game*/
326
+ t[44].name), p(e, "class", "CategorySlideGames");
327
+ },
328
+ m(c, g) {
329
+ T(c, e, g), v(e, i), v(e, r), u && u.m(e, null), v(e, d), C || (h = A(i, "click", ze(S)), C = !0);
330
+ },
331
+ p(c, g) {
332
+ t = c, g[0] & /*gameCategories*/
333
+ 8 && !N(i.src, n = /*game*/
334
+ t[44].defaultThumbnail) && p(i, "src", n), g[0] & /*gameCategories*/
335
+ 8 && l !== (l = /*game*/
336
+ t[44].name) && p(i, "alt", l), /*collectionprovidersgamenames*/
337
+ t[2] == "true" ? u ? u.p(t, g) : (u = oe(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
338
+ },
339
+ d(c) {
340
+ c && x(e), u && u.d(), C = !1, h();
341
+ }
342
+ };
343
+ }
344
+ function re(t) {
345
+ let e, i, n, l, r, d, C, h, S;
346
+ function u(s, f) {
347
+ if (
348
+ /*titletype*/
349
+ s[1] == "logo"
350
+ ) return qe;
351
+ if (
352
+ /*titletype*/
353
+ s[1] == "title"
354
+ ) return We;
355
+ }
356
+ let c = u(t), g = c && c(t), m = H(
357
+ /*category*/
358
+ t[41].games
359
+ ), a = [];
360
+ for (let s = 0; s < m.length; s += 1)
361
+ a[s] = ne(ie(t, m, s));
362
+ function k() {
363
+ return (
364
+ /*click_handler_3*/
365
+ t[26](
366
+ /*category*/
367
+ t[41]
368
+ )
369
+ );
370
+ }
371
+ return {
372
+ c() {
373
+ var s, f;
374
+ e = b("div"), i = b("div"), n = b("div"), g && g.c(), l = F(), r = b("div");
375
+ for (let _ = 0; _ < a.length; _ += 1)
376
+ a[_].c();
377
+ C = F(), p(n, "class", "CategorySlideTopContainer"), p(r, "class", "CategorySlideGameContainer"), p(i, "class", d = "CategorySlide " + /*category*/
378
+ (((s = t[41]) == null ? void 0 : s.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
379
+ ((f = t[41]) == null ? void 0 : f.background) + ")"), I(i, "background-size", "cover"), p(e, "class", "CategoriesSliderWrapper Animation");
380
+ },
381
+ m(s, f) {
382
+ T(s, e, f), v(e, i), v(i, n), g && g.m(n, null), v(i, l), v(i, r);
383
+ for (let _ = 0; _ < a.length; _ += 1)
384
+ a[_] && a[_].m(r, null);
385
+ v(e, C), h || (S = A(i, "click", k), h = !0);
386
+ },
387
+ p(s, f) {
388
+ var _, P;
389
+ if (t = s, c === (c = u(t)) && g ? g.p(t, f) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(n, null))), f[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
390
+ 16396) {
391
+ m = H(
392
+ /*category*/
393
+ t[41].games
394
+ );
395
+ let y;
396
+ for (y = 0; y < m.length; y += 1) {
397
+ const z = ie(t, m, y);
398
+ a[y] ? a[y].p(z, f) : (a[y] = ne(z), a[y].c(), a[y].m(r, null));
399
+ }
400
+ for (; y < a.length; y += 1)
401
+ a[y].d(1);
402
+ a.length = m.length;
403
+ }
404
+ f[0] & /*gameCategories*/
405
+ 8 && d !== (d = "CategorySlide " + /*category*/
406
+ (((_ = t[41]) == null ? void 0 : _.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && p(i, "class", d), f[0] & /*gameCategories*/
407
+ 8 && I(i, "background-image", "url(" + /*category*/
408
+ ((P = t[41]) == null ? void 0 : P.background) + ")");
409
+ },
410
+ d(s) {
411
+ s && x(e), g && g.d(), ae(a, s), h = !1, S();
412
+ }
413
+ };
414
+ }
415
+ function De(t) {
416
+ let e;
417
+ function i(r, d) {
418
+ return (
419
+ /*isLoading*/
420
+ r[7] ? Ve : Ue
421
+ );
422
+ }
423
+ let n = i(t), l = n(t);
424
+ return {
425
+ c() {
426
+ e = b("div"), l.c();
427
+ },
428
+ m(r, d) {
429
+ T(r, e, d), l.m(e, null), t[29](e);
430
+ },
431
+ p(r, d) {
432
+ n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
433
+ },
434
+ i: B,
435
+ o: B,
436
+ d(r) {
437
+ r && x(e), l.d(), t[29](null);
438
+ }
439
+ };
440
+ }
441
+ function Ee(t, e, i) {
442
+ let n;
443
+ Le(t, Ne, (o) => i(11, n = o));
444
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], k = !0, s, f = 0, _ = 0, P = 0, y, z, j, se = window.navigator.userAgent, V, O = 0;
445
+ const ce = () => {
446
+ fetch(c).then((w) => w.json()).then((w) => {
447
+ Object.keys(w).forEach((L) => {
448
+ $(L, w[L]);
449
+ });
450
+ }).catch((w) => {
451
+ console.log(w);
452
+ });
453
+ };
454
+ Object.keys(ee).forEach((o) => {
455
+ $(o, ee[o]);
456
+ });
457
+ const de = () => {
458
+ const o = new URL(`${l}/v2/casino/groups/${r}`);
459
+ o.searchParams.append("language", d), o.searchParams.append("expand", "games"), fetch(o.href).then((w) => w.json()).then((w) => {
460
+ i(7, k = !1);
461
+ let L = w.items.filter((G) => G.flags == C);
462
+ i(3, a = L.map((G) => {
463
+ var Z, X, Y;
464
+ return {
465
+ id: G.id,
466
+ name: G.name,
467
+ icon: G.icon ? G.icon : (Y = (X = (Z = G.vendors) == null ? void 0 : Z.items[0]) == null ? void 0 : X.subVendors[0]) == null ? void 0 : Y.logo,
468
+ games: G.games.items.slice(0, 4).map((Ce) => Ce),
469
+ background: G.background,
470
+ flag: G.flags
471
+ };
472
+ })), i(8, _ = a.length);
473
+ });
474
+ }, W = (o) => {
475
+ z = [...s.children], z.forEach((w, L) => {
476
+ w.style.transform = `translateX(${100 * (o ? L - o : L)}%)`;
477
+ }), y = z[0].getBoundingClientRect().width, ge();
478
+ }, ge = () => {
479
+ i(9, P = Math.floor(O / y));
480
+ }, q = () => {
481
+ W(f);
482
+ }, D = () => {
483
+ f === 0 ? f = _ - P : f - P < -1 ? f = 0 : f--, q();
484
+ }, E = () => {
485
+ f === _ - P ? f = 0 : _ - P < f + 1 ? f = _ - P : f++, q();
486
+ }, K = (o, w, L, G) => {
487
+ window.postMessage(
488
+ {
489
+ type: "OpenCollectionsProvidersGame",
490
+ gameId: o,
491
+ launchUrl: w,
492
+ gameName: L,
493
+ subVendor: G
494
+ },
495
+ window.location.href
496
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
+ context: "CollectionsProviders",
498
+ gameName: `${L}`
499
+ });
500
+ }, J = (o) => {
501
+ window.postMessage(
502
+ {
503
+ type: "OpenCollectionsProvidersCategory",
504
+ categoryId: o
505
+ },
506
+ window.location.href
507
+ );
508
+ }, ue = () => {
509
+ Ie(d);
510
+ };
511
+ Me(() => (i(10, V = je(se)), () => {
512
+ }));
513
+ const me = () => D(), fe = () => E(), pe = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), he = (o) => J(o.id);
514
+ function ve(o) {
515
+ Q[o ? "unshift" : "push"](() => {
516
+ s = o, i(4, s);
517
+ });
518
+ }
519
+ function _e() {
520
+ O = this.clientWidth, i(6, O);
521
+ }
522
+ function be(o) {
523
+ Q[o ? "unshift" : "push"](() => {
524
+ j = o, i(5, j);
525
+ });
526
+ }
527
+ return t.$$set = (o) => {
528
+ "endpoint" in o && i(16, l = o.endpoint), "datasource" in o && i(17, r = o.datasource), "lang" in o && i(18, d = o.lang), "type" in o && i(0, C = o.type), "titletype" in o && i(1, h = o.titletype), "clientstyling" in o && i(19, S = o.clientstyling), "clientstylingurl" in o && i(20, u = o.clientstylingurl), "translationurl" in o && i(21, c = o.translationurl), "collectionprovidersgamenames" in o && i(2, g = o.collectionprovidersgamenames), "mbsource" in o && i(22, m = o.mbsource);
529
+ }, t.$$.update = () => {
530
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
531
+ 458752 && l && r && d && de(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
532
+ 88 && O && a && s && W(), t.$$.dirty[0] & /*lang*/
533
+ 262144 && d && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
534
+ 524320 && S && j && Oe(j, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
535
+ 1048608 && u && j && Be(j, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
536
+ 4194336 && j && He(j, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
537
+ 2097152 && c && ce();
538
+ }, [
539
+ C,
540
+ h,
541
+ g,
542
+ a,
543
+ s,
544
+ j,
545
+ O,
546
+ k,
547
+ _,
548
+ P,
549
+ V,
550
+ n,
551
+ D,
552
+ E,
553
+ K,
554
+ J,
555
+ l,
556
+ r,
557
+ d,
558
+ S,
559
+ u,
560
+ c,
561
+ m,
562
+ me,
563
+ fe,
564
+ pe,
565
+ he,
566
+ ve,
567
+ _e,
568
+ be
569
+ ];
570
+ }
571
+ class Ke extends Se {
572
+ constructor(e) {
573
+ super(), ke(
574
+ this,
575
+ e,
576
+ Ee,
577
+ De,
578
+ Ge,
579
+ {
580
+ endpoint: 16,
581
+ datasource: 17,
582
+ lang: 18,
583
+ type: 0,
584
+ titletype: 1,
585
+ clientstyling: 19,
586
+ clientstylingurl: 20,
587
+ translationurl: 21,
588
+ collectionprovidersgamenames: 2,
589
+ mbsource: 22
590
+ },
591
+ Re,
592
+ [-1, -1]
593
+ );
594
+ }
595
+ get endpoint() {
596
+ return this.$$.ctx[16];
597
+ }
598
+ set endpoint(e) {
599
+ this.$$set({ endpoint: e }), M();
600
+ }
601
+ get datasource() {
602
+ return this.$$.ctx[17];
603
+ }
604
+ set datasource(e) {
605
+ this.$$set({ datasource: e }), M();
606
+ }
607
+ get lang() {
608
+ return this.$$.ctx[18];
609
+ }
610
+ set lang(e) {
611
+ this.$$set({ lang: e }), M();
612
+ }
613
+ get type() {
614
+ return this.$$.ctx[0];
615
+ }
616
+ set type(e) {
617
+ this.$$set({ type: e }), M();
618
+ }
619
+ get titletype() {
620
+ return this.$$.ctx[1];
621
+ }
622
+ set titletype(e) {
623
+ this.$$set({ titletype: e }), M();
624
+ }
625
+ get clientstyling() {
626
+ return this.$$.ctx[19];
627
+ }
628
+ set clientstyling(e) {
629
+ this.$$set({ clientstyling: e }), M();
630
+ }
631
+ get clientstylingurl() {
632
+ return this.$$.ctx[20];
633
+ }
634
+ set clientstylingurl(e) {
635
+ this.$$set({ clientstylingurl: e }), M();
636
+ }
637
+ get translationurl() {
638
+ return this.$$.ctx[21];
639
+ }
640
+ set translationurl(e) {
641
+ this.$$set({ translationurl: e }), M();
642
+ }
643
+ get collectionprovidersgamenames() {
644
+ return this.$$.ctx[2];
645
+ }
646
+ set collectionprovidersgamenames(e) {
647
+ this.$$set({ collectionprovidersgamenames: e }), M();
648
+ }
649
+ get mbsource() {
650
+ return this.$$.ctx[22];
651
+ }
652
+ set mbsource(e) {
653
+ this.$$set({ mbsource: e }), M();
654
+ }
655
+ }
656
+ Ae(Ke, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
657
+ export {
658
+ Ke as default
659
+ };