@everymatrix/casino-last-played-section 1.63.3 → 1.64.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/components/{CasinoFilter-zzTGuKnt.js → CasinoFilter-CZl1cztJ.js} +127 -127
  2. package/components/{CasinoFilter-BmGWsU7J.cjs → CasinoFilter-WNFrQkQJ.cjs} +3 -3
  3. package/components/{CasinoFilter-BaHdkFc-.js → CasinoFilter-fITDy2f1.js} +145 -145
  4. package/components/{CasinoGameThumbnail-p_DehSQt.js → CasinoGameThumbnail-BS8fymkb.js} +3 -3
  5. package/components/{CasinoGameThumbnail-bKMb_6p8.js → CasinoGameThumbnail-BaX6mLdw.js} +3 -3
  6. package/components/{CasinoGameThumbnail-BIwoogeE.cjs → CasinoGameThumbnail-CYDuVrC6.cjs} +2 -2
  7. package/components/CasinoGamesCategorySection-BDUHWpRS.js +3202 -0
  8. package/components/CasinoGamesCategorySection-CpdlukEH.js +3170 -0
  9. package/components/CasinoGamesCategorySection-DBm-ji0G.cjs +1 -0
  10. package/components/{CasinoLastPlayedSection-BIkn7pwJ.js → CasinoLastPlayedSection-CH5DuMiv.js} +2 -2
  11. package/components/{CasinoLastPlayedSection-j-ZTcugy.js → CasinoLastPlayedSection-CmgTWJBH.js} +2 -2
  12. package/components/{CasinoLastPlayedSection-DpvYFdAb.cjs → CasinoLastPlayedSection-DAquwuPT.cjs} +1 -1
  13. package/components/{CasinoSort-BTwDwT8n.js → CasinoSort-C9ECfUlx.js} +43 -43
  14. package/components/{CasinoSort-Ci8TaT8M.cjs → CasinoSort-C_DOIYQz.cjs} +1 -1
  15. package/components/{CasinoSort-BqED6YEv.js → CasinoSort-b4vaEPet.js} +43 -43
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +1 -1
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
  21. package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  22. package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
  23. package/stencil/{ui-image-DOq1UP31.cjs → ui-image-CMb1eK44.cjs} +1 -1
  24. package/stencil/{ui-image-BKZJyaUM.js → ui-image-CQQDA5b0.js} +1 -1
  25. package/stencil/{ui-image-DQIj0E8g.js → ui-image-CmwNU-jf.js} +1 -1
  26. package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  27. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  28. package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  29. package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
  30. package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
  31. package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  32. package/components/CasinoGamesCategorySection-ABW92PkC.js +0 -3139
  33. package/components/CasinoGamesCategorySection-BiKUI0XW.js +0 -3170
  34. package/components/CasinoGamesCategorySection-DrteWwgg.cjs +0 -1
  35. package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
@@ -1,3170 +0,0 @@
1
- var Le = (n, a, i) => new Promise((t, s) => {
2
- var l = (u) => {
3
- try {
4
- c(i.next(u));
5
- } catch (g) {
6
- s(g);
7
- }
8
- }, m = (u) => {
9
- try {
10
- c(i.throw(u));
11
- } catch (g) {
12
- s(g);
13
- }
14
- }, c = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(l, m);
15
- c((i = i.apply(n, a)).next());
16
- });
17
- import { a as Ha, $ as Va, S as Ba, i as qa, s as Wa, f as E, b as Ya, n as be, d as y, j as S, l as C, h, p as Ja, I as Ka, q as Xa, w as Za, J as Ke, x as se, u as Z, k, m as Y, v as ve, g as O, o as D, y as le, K as wa, e as o, L as ka, z as Qa, r as xa, B as $, C as $a, D as ei, E as ai, F as ii, G as ni } from "./CasinoFilter-BaHdkFc-.js";
18
- import { h as Re } from "./CasinoGameThumbnail-bKMb_6p8.js";
19
- function na(n, a) {
20
- Ha(n, a);
21
- }
22
- function ti(n) {
23
- Va.set(n);
24
- }
25
- const ta = {
26
- en: {
27
- showMore: "More",
28
- viewAll: "Show all",
29
- searchedItems: "Search result",
30
- recentSearchedItems: "Recently searched",
31
- favorites: "Favorites",
32
- noRecentSearch: "No search started yet. Simply search for a game.",
33
- noResults: "Sorry, no results found. Please try again.",
34
- noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
35
- noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
36
- noFavoritesTitle: "You do not have any favored games yet.",
37
- waiting: "Waiting",
38
- 500: "500 Error - Internal Server Error.",
39
- 404: "404 Error - No result found."
40
- },
41
- "zh-hk": {
42
- showMore: "更多的",
43
- viewAll: "顯示所有",
44
- searchedItems: "搜索結果",
45
- recentSearchedItems: "最近搜索過",
46
- favorites: "收藏夹",
47
- noRecentSearch: "尚未開始搜索。 只需搜索遊戲。",
48
- noResults: "抱歉,沒有找到結果。 請再試一次。",
49
- noFavoritesMobile: "您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",
50
- noFavorites: "您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",
51
- noFavoritesTitle: "您還沒有任何喜歡的遊戲。",
52
- waiting: "等待",
53
- 500: "500 錯誤 - 內部伺服器錯誤。",
54
- 404: "404 錯誤 - 找不到結果。"
55
- },
56
- de: {
57
- showMore: "Mehr",
58
- viewAll: "Alle anzeigen",
59
- searchedItems: "Ergebnis suchen",
60
- recentSearchedItems: "Zuletzt gesucht",
61
- noRecentSearch: "Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",
62
- noResults: "Sorry, no results found. Please try again.",
63
- noFavoritesMobile: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
64
- noFavorites: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
65
- noFavoritesTitle: "You do not have any favored games yet.",
66
- waiting: "Waiting",
67
- 500: "500 Fehler - Interner Serverfehler.",
68
- 404: "404 Fehler - Kein Ergebnis gefunden."
69
- },
70
- it: {
71
- showMore: "Altro",
72
- viewAll: "Mostra tutto",
73
- searchedItems: "risultato",
74
- recentSearchedItems: "Ricerche recenti",
75
- noRecentSearch: "Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",
76
- noResults: "Spiacenti, nessun risultato. Si prega di riprovare.",
77
- 500: "Errore 500 - Errore interno del server.",
78
- 404: "Errore 404 - Nessun risultato trovato."
79
- },
80
- fr: {
81
- showMore: "Plus de",
82
- viewAll: "Afficher tous",
83
- searchedItems: "Recherche du resultat",
84
- recentSearchedItems: "Recherches récentes",
85
- favorites: "Favoris",
86
- noRecentSearch: "Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",
87
- noResults: "Désolé , aucun résultat trouvé.veuillez réessayer.",
88
- noFavoritesMobile: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",
89
- noFavorites: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",
90
- noFavoritesTitle: "Vous n'avez pas encore de jeux favoris.",
91
- waiting: "Attente",
92
- 500: "Erreur 500 - Erreur interne du serveur.",
93
- 404: "Erreur 404 - Aucun résultat trouvé."
94
- },
95
- es: {
96
- showMore: "Más",
97
- viewAll: "Mostrar todas",
98
- searchedItems: "Resultado de busqueda",
99
- recentSearchedItems: "Buscado recientemente",
100
- favorites: "Favoritos",
101
- noRecentSearch: "Aún no inicia busqueda. Solo busque un juego",
102
- noResults: "Disculpe",
103
- noFavoritesMobile: "Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",
104
- noFavorites: "Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",
105
- noFavoritesTitle: "No tiene juegos Favoritos aún",
106
- waiting: "Cargando",
107
- 500: "Error 500 - Error interno del servidor.",
108
- 404: "Error 404 - No se encontró ningún resultado."
109
- },
110
- tr: {
111
- showMore: "Daha fazla",
112
- viewAll: "Hepsini göster",
113
- searchedItems: "Arama sonucu",
114
- recentSearchedItems: "Son Aranan Öğeler",
115
- noRecentSearch: "Henüz arama başlamadı. Sadece bir oyun arayın.",
116
- noResults: "Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",
117
- favorites: "Favoriler",
118
- noFavoritesMobile: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
119
- noFavorites: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
120
- noFavoritesTitle: "Henüz favori oyunlarınız yok.",
121
- waiting: "Bekleniyor",
122
- 500: "500 Hatası - Dahili Sunucu Hatası.",
123
- 404: "404 Hatası - Sonuç bulunamadı."
124
- },
125
- ru: {
126
- showMore: "Показать больше",
127
- viewAll: "Посмотреть все",
128
- searchedItems: "Искомые товары",
129
- recentSearchedItems: "Недавние поисковые запросы",
130
- noRecentSearch: "Поиск еще не начался. Просто найдите игру.",
131
- noResults: "Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",
132
- 500: "Ошибка 500 - Внутренняя ошибка сервера.",
133
- 404: "Ошибка 404 - Результат не найден."
134
- },
135
- ro: {
136
- showMore: "Arata mai mult",
137
- viewAll: "Vezi toate",
138
- searchedItems: "Rezultatele cautarii",
139
- recentSearchedItems: "Cautari recente",
140
- favorites: "Favorite",
141
- noRecentSearch: "Nici o căutare nu a început încă. Pur și simplu căutați un joc.",
142
- noResults: "Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",
143
- noFavoritesMobile: "Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",
144
- noFavorites: "Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",
145
- noFavoritesTitle: "Nu aveți încă niciun joc preferat.",
146
- waiting: "Aşteptare",
147
- 500: "Eroare 500 - Eroare internă de server.",
148
- 404: "Eroare 404 - Nu a fost găsit niciun rezultat."
149
- },
150
- hr: {
151
- showMore: "Više",
152
- viewAll: "Prikaži sve",
153
- searchedItems: "Rezultat pretrage",
154
- recentSearchedItems: "Nedavno pretraživano",
155
- noRecentSearch: "Još nije započela pretraga. Jednostavno pretražite igru.",
156
- noResults: "Žao nema rezultata",
157
- favorites: "Favoriti",
158
- noFavoritesMobile: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
159
- noFavorites: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
160
- noFavoritesTitle: "Još nemate nijednu omiljenu igru.",
161
- waiting: "Čekanje",
162
- 500: "Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",
163
- 404: "Pogreška 404 - Rezultat nije pronađen."
164
- },
165
- hu: {
166
- showMore: "Több",
167
- viewAll: "Az összes megjelenítése",
168
- searchedItems: "Keresés eredménye",
169
- recentSearchedItems: "Legutóbb keresett",
170
- noRecentSearch: "A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",
171
- noResults: "Sajnos nincs találat. Kérjük próbálja újra.",
172
- 500: "500-as hiba - Belső szerverhiba.",
173
- 404: "404-es hiba - Nem található eredmény."
174
- },
175
- pl: {
176
- showMore: "Więcej",
177
- viewAll: "Pokaż wszystkie",
178
- searchedItems: "Wynik wyszukiwania",
179
- recentSearchedItems: "Ostatnio wyszukiwane",
180
- noRecentSearch: "Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",
181
- noResults: "Przepraszamy, brak wyników. Prosimy spróbować ponownie.",
182
- 500: "Błąd 500 - Wewnętrzny błąd serwera.",
183
- 404: "Błąd 404 - Nie znaleziono wyniku."
184
- },
185
- pt: {
186
- showMore: "Mais",
187
- viewAll: "Mostre tudo",
188
- searchedItems: "Resultado da pesquisa",
189
- recentSearchedItems: "Pesquisado recentemente",
190
- favorites: "Favorito",
191
- noRecentSearch: "Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",
192
- noResults: "Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",
193
- noFavoritesMobile: "Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",
194
- noFavorites: "Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",
195
- noFavoritesTitle: "Você ainda não tem nenhum jogo favorito.",
196
- waiting: "Aguardando",
197
- 500: "Erro 500 - Erro interno do servidor.",
198
- 404: "Erro 404 - Nenhum resultado encontrado."
199
- },
200
- sl: {
201
- showMore: "Več",
202
- viewAll: "Prikaži vse",
203
- searchedItems: "Rezultati iskanja",
204
- recentSearchedItems: "Nedavno iskanje",
205
- noRecentSearch: "Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",
206
- noResults: "Oprostite, ni rezultata. Prosimo poizkusite ponovno.",
207
- 500: "Napaka 500 - Notranja napaka strežnika.",
208
- 404: "Napaka 404 - Rezultat ni bil najden."
209
- },
210
- sr: {
211
- showMore: "Više",
212
- viewAll: "Prikaži sve",
213
- searchedItems: "Pretraži rezultat",
214
- recentSearchedItems: "Zadnja pretraga",
215
- noRecentSearch: "Još nije pokrenuta pretraga. Jednostavno pretraži igre.",
216
- noResults: "Žao nam je, nema pogodaka. Pokušaj ponovo.",
217
- 500: "Грешка 500 - Интерна грешка сервера.",
218
- 404: "Грешка 404 - Резултат није пронађен."
219
- },
220
- "pt-br": {
221
- noResults: "Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",
222
- noFavoritesMobile: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
223
- noFavorites: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
224
- noFavoritesTitle: "Você ainda não tem jogos selecionados como favoritos",
225
- waiting: "Esperando",
226
- 500: "Erro 500 - Erro interno do servidor.",
227
- 404: "Erro 404 - Nenhum resultado encontrado."
228
- },
229
- "es-mx": {
230
- showMore: "Mostrar más",
231
- viewAll: "Mostrar todo",
232
- searchedItems: "Resultados de búsqueda",
233
- recentSearchedItems: "Búsquedas recientes",
234
- favorites: "Favoritos",
235
- noRecentSearch: "No ha realizado alguna búsqueda. Simplemente busque algún juego",
236
- noResults: "Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",
237
- noFavoritesMobile: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
238
- noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
239
- noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
240
- waiting: "Esperando",
241
- 500: "Error 500 - Error interno del servidor.",
242
- 404: "Error 404 - No se encontró ningún resultado."
243
- },
244
- "en-us": {
245
- showMore: "More",
246
- viewAll: "Show all",
247
- searchedItems: "Search result",
248
- recentSearchedItems: "Recently searched",
249
- favorites: "Favorites",
250
- noRecentSearch: "No search started yet. Simply search for a game.",
251
- noResults: "Sorry, no results found. Please try again.",
252
- noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
253
- noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
254
- noFavoritesTitle: "You do not have any favored games yet.",
255
- waiting: "Waiting",
256
- 500: "500 Error - Internal Server Error.",
257
- 404: "404 Error - No result found."
258
- }
259
- };
260
- if (typeof window != "undefined") {
261
- let n = function(a) {
262
- return function(...i) {
263
- try {
264
- return a.apply(this, i);
265
- } catch (t) {
266
- if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
267
- return !1;
268
- throw t;
269
- }
270
- };
271
- };
272
- customElements.define = n(customElements.define), import("./CasinoGameThumbnail-bKMb_6p8.js").then((a) => a.C).then(({ default: a }) => {
273
- !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
274
- });
275
- }
276
- if (typeof window != "undefined") {
277
- let n = function(a) {
278
- return function(...i) {
279
- try {
280
- return a.apply(this, i);
281
- } catch (t) {
282
- if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
283
- return !1;
284
- throw t;
285
- }
286
- };
287
- };
288
- customElements.define = n(customElements.define), import("./CasinoFilter-BaHdkFc-.js").then((a) => a.N).then(({ default: a }) => {
289
- !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
290
- });
291
- }
292
- if (typeof window != "undefined") {
293
- let n = function(a) {
294
- return function(...i) {
295
- try {
296
- return a.apply(this, i);
297
- } catch (t) {
298
- if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
299
- return !1;
300
- throw t;
301
- }
302
- };
303
- };
304
- customElements.define = n(customElements.define), import("./CasinoSort-BqED6YEv.js").then(({ default: a }) => {
305
- !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
306
- });
307
- }
308
- function oi(n) {
309
- Ya(n, "svelte-1lthy3i", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring: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));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}');
310
- }
311
- function oa(n, a, i) {
312
- const t = n.slice();
313
- return t[95] = a[i], t[97] = i, t;
314
- }
315
- function sa(n, a, i) {
316
- const t = n.slice();
317
- return t[95] = a[i], t[98] = a, t[97] = i, t;
318
- }
319
- function la(n, a, i) {
320
- const t = n.slice();
321
- return t[95] = a[i], t[97] = i, t;
322
- }
323
- function si(n) {
324
- let a;
325
- function i(l, m) {
326
- if (
327
- /*categoryData*/
328
- l[28]
329
- )
330
- return ui;
331
- if (
332
- /*showFavGamesCategory*/
333
- l[39]
334
- )
335
- return mi;
336
- }
337
- let t = i(n), s = t && t(n);
338
- return {
339
- c() {
340
- a = C("div"), s && s.c();
341
- },
342
- m(l, m) {
343
- S(l, a, m), s && s.m(a, null);
344
- },
345
- p(l, m) {
346
- t === (t = i(l)) && s ? s.p(l, m) : (s && s.d(1), s = t && t(l), s && (s.c(), s.m(a, null)));
347
- },
348
- d(l) {
349
- l && y(a), s && s.d();
350
- }
351
- };
352
- }
353
- function li(n) {
354
- let a, i, t;
355
- function s(_, b) {
356
- return (
357
- /*recentSearched*/
358
- _[32] ? Mi : (
359
- /*shownCategoryData*/
360
- _[29].length ? Gi : Ci
361
- )
362
- );
363
- }
364
- let l = s(n), m = l(n);
365
- function c(_, b) {
366
- return (
367
- /*shownCategoryData*/
368
- _[29] ? Ei : zi
369
- );
370
- }
371
- let u = c(n), g = u(n);
372
- return {
373
- c() {
374
- a = C("div"), i = C("div"), m.c(), t = Y(), g.c(), h(i, "class", "CasinoGamesHeader Searched " + (ve(
375
- /*userAgent*/
376
- n[44]
377
- ) ? "CasinoGamesHeaderMobile" : "")), h(a, "class", "CasinoGamesContainer");
378
- },
379
- m(_, b) {
380
- S(_, a, b), k(a, i), m.m(i, null), k(a, t), g.m(a, null);
381
- },
382
- p(_, b) {
383
- l === (l = s(_)) && m ? m.p(_, b) : (m.d(1), m = l(_), m && (m.c(), m.m(i, null))), u === (u = c(_)) && g ? g.p(_, b) : (g.d(1), g = u(_), g && (g.c(), g.m(a, null)));
384
- },
385
- d(_) {
386
- _ && y(a), m.d(), g.d();
387
- }
388
- };
389
- }
390
- function ri(n) {
391
- let a;
392
- function i(l, m) {
393
- return (
394
- /*presentFilters*/
395
- l[34] ? Ii : Ni
396
- );
397
- }
398
- let t = i(n), s = t(n);
399
- return {
400
- c() {
401
- s.c(), a = Z();
402
- },
403
- m(l, m) {
404
- s.m(l, m), S(l, a, m);
405
- },
406
- p(l, m) {
407
- t === (t = i(l)) && s ? s.p(l, m) : (s.d(1), s = t(l), s && (s.c(), s.m(a.parentNode, a)));
408
- },
409
- d(l) {
410
- l && y(a), s.d(l);
411
- }
412
- };
413
- }
414
- function mi(n) {
415
- let a, i, t, s, l = (
416
- /*casinomygames*/
417
- n[18] !== "true" && ra(n)
418
- );
419
- function m(g, _) {
420
- return (
421
- /*isLoading*/
422
- g[25] && !/*isLazyLoading*/
423
- g[36] ? gi : (
424
- /*favoriteGamesData*/
425
- g[42] ? fi : ci
426
- )
427
- );
428
- }
429
- let c = m(n), u = c(n);
430
- return {
431
- c() {
432
- a = C("div"), l && l.c(), i = Y(), t = C("ul"), u.c(), h(t, "class", s = /*favoriteGamesData*/
433
- (n[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(a, "class", "CasinoGamesContainer");
434
- },
435
- m(g, _) {
436
- S(g, a, _), l && l.m(a, null), k(a, i), k(a, t), u.m(t, null), n[60](t);
437
- },
438
- p(g, _) {
439
- /*casinomygames*/
440
- g[18] !== "true" ? l ? l.p(g, _) : (l = ra(g), l.c(), l.m(a, i)) : l && (l.d(1), l = null), c === (c = m(g)) && u ? u.p(g, _) : (u.d(1), u = c(g), u && (u.c(), u.m(t, null))), _[1] & /*favoriteGamesData*/
441
- 2048 && s !== (s = /*favoriteGamesData*/
442
- (g[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && h(t, "class", s);
443
- },
444
- d(g) {
445
- g && y(a), l && l.d(), u.d(), n[60](null);
446
- }
447
- };
448
- }
449
- function ui(n) {
450
- let a, i, t = (
451
- /*casinomygames*/
452
- n[18] !== "true" && da(n)
453
- );
454
- function s(c, u) {
455
- return (
456
- /*isLoading*/
457
- c[25] && !/*isLazyLoading*/
458
- c[36] ? Si : (
459
- /*shownCategoryData*/
460
- c[29].length !== 0 ? yi : ki
461
- )
462
- );
463
- }
464
- let l = s(n), m = l(n);
465
- return {
466
- c() {
467
- a = C("div"), t && t.c(), i = Y(), m.c(), h(a, "class", "CasinoGamesContainer");
468
- },
469
- m(c, u) {
470
- S(c, a, u), t && t.m(a, null), k(a, i), m.m(a, null);
471
- },
472
- p(c, u) {
473
- /*casinomygames*/
474
- c[18] !== "true" ? t ? t.p(c, u) : (t = da(c), t.c(), t.m(a, i)) : t && (t.d(1), t = null), l === (l = s(c)) && m ? m.p(c, u) : (m.d(1), m = l(c), m && (m.c(), m.m(a, null)));
475
- },
476
- d(c) {
477
- c && y(a), t && t.d(), m.d();
478
- }
479
- };
480
- }
481
- function ra(n) {
482
- let a, i, t = (
483
- /*$_*/
484
- n[43]("favorites") + ""
485
- ), s, l, m, c, u = (
486
- /*favoriteGamesData*/
487
- n[42].items.length + ""
488
- ), g, _;
489
- return {
490
- c() {
491
- a = C("div"), i = C("h3"), s = D(t), l = Y(), m = C("span"), c = D("("), g = D(u), _ = D(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
492
- },
493
- m(b, F) {
494
- S(b, a, F), k(a, i), k(i, s), k(i, l), k(i, m), k(m, c), k(m, g), k(m, _), n[59](i);
495
- },
496
- p(b, F) {
497
- F[1] & /*$_*/
498
- 4096 && t !== (t = /*$_*/
499
- b[43]("favorites") + "") && O(s, t), F[1] & /*favoriteGamesData*/
500
- 2048 && u !== (u = /*favoriteGamesData*/
501
- b[42].items.length + "") && O(g, u);
502
- },
503
- d(b) {
504
- b && y(a), n[59](null);
505
- }
506
- };
507
- }
508
- function ci(n) {
509
- let a, i = (
510
- /*$_*/
511
- n[43]("waiting") + ""
512
- ), t;
513
- return {
514
- c() {
515
- a = C("p"), t = D(i);
516
- },
517
- m(s, l) {
518
- S(s, a, l), k(a, t);
519
- },
520
- p(s, l) {
521
- l[1] & /*$_*/
522
- 4096 && i !== (i = /*$_*/
523
- s[43]("waiting") + "") && O(t, i);
524
- },
525
- d(s) {
526
- s && y(a);
527
- }
528
- };
529
- }
530
- function fi(n) {
531
- let a, i = le(
532
- /*favoriteGamesData*/
533
- n[42].items
534
- ), t = [];
535
- for (let l = 0; l < i.length; l += 1)
536
- t[l] = ga(oa(n, i, l));
537
- let s = null;
538
- return i.length || (s = ma(n)), {
539
- c() {
540
- for (let l = 0; l < t.length; l += 1)
541
- t[l].c();
542
- a = Z(), s && s.c();
543
- },
544
- m(l, m) {
545
- for (let c = 0; c < t.length; c += 1)
546
- t[c] && t[c].m(l, m);
547
- S(l, a, m), s && s.m(l, m);
548
- },
549
- p(l, m) {
550
- if (m[0] & /*session, userid, lang, mbsource, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
551
- 2359273 | m[1] & /*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
552
- 32512) {
553
- i = le(
554
- /*favoriteGamesData*/
555
- l[42].items
556
- );
557
- let c;
558
- for (c = 0; c < i.length; c += 1) {
559
- const u = oa(l, i, c);
560
- t[c] ? t[c].p(u, m) : (t[c] = ga(u), t[c].c(), t[c].m(a.parentNode, a));
561
- }
562
- for (; c < t.length; c += 1)
563
- t[c].d(1);
564
- t.length = i.length, !i.length && s ? s.p(l, m) : i.length ? s && (s.d(1), s = null) : (s = ma(l), s.c(), s.m(a.parentNode, a));
565
- }
566
- },
567
- d(l) {
568
- l && y(a), Qa(t, l), s && s.d(l);
569
- }
570
- };
571
- }
572
- function gi(n) {
573
- let a;
574
- return {
575
- c() {
576
- a = C("div"), h(a, "class", "lds-dual-ring");
577
- },
578
- m(i, t) {
579
- S(i, a, t);
580
- },
581
- p: be,
582
- d(i) {
583
- i && y(a);
584
- }
585
- };
586
- }
587
- function ma(n) {
588
- let a, i, t, s, l, m, c, u, g, _, b, F = (
589
- /*$_*/
590
- n[43]("noFavoritesTitle") + ""
591
- ), N, w, d;
592
- function f(v, V) {
593
- return ve(
594
- /*userAgent*/
595
- v[44]
596
- ) ? hi : di;
597
- }
598
- let R = f(n)(n);
599
- return {
600
- c() {
601
- a = C("p"), i = $("svg"), t = $("rect"), s = $("rect"), l = $("circle"), m = $("path"), c = $("path"), u = $("path"), g = $("path"), _ = Y(), b = C("span"), N = D(F), w = Y(), R.c(), d = Y(), h(t, "x", "1"), h(t, "y", "18.053"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emw--color-gray-150, #828282)"), h(t, "stroke-width", "1.5"), h(s, "x", "106.737"), h(s, "y", "56.737"), h(s, "width", "90.263"), h(s, "height", "90.263"), h(s, "rx", "12"), h(s, "stroke", "var(--emw--color-gray-150, #828282)"), h(s, "stroke-width", "1.5"), h(l, "cx", "70.5"), h(l, "cy", "32.237"), h(l, "r", "31.487"), h(l, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(l, "stroke-width", "1.5"), h(l, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(c, "d", "M78 43h11v13H78V43z"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(b, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
602
- /*userAgent*/
603
- n[44]
604
- ) ? "NoFavoriteGamesMobile" : ""));
605
- },
606
- m(v, V) {
607
- S(v, a, V), k(a, i), k(i, t), k(i, s), k(i, l), k(i, m), k(i, c), k(i, u), k(i, g), k(a, _), k(a, b), k(b, N), k(a, w), R.m(a, null), k(a, d);
608
- },
609
- p(v, V) {
610
- V[1] & /*$_*/
611
- 4096 && F !== (F = /*$_*/
612
- v[43]("noFavoritesTitle") + "") && O(N, F), R.p(v, V);
613
- },
614
- d(v) {
615
- v && y(a), R.d();
616
- }
617
- };
618
- }
619
- function di(n) {
620
- let a, i = (
621
- /*$_*/
622
- n[43]("noFavorites") + ""
623
- ), t;
624
- return {
625
- c() {
626
- a = C("span"), t = D(i), h(a, "class", "NoFavoriteText");
627
- },
628
- m(s, l) {
629
- S(s, a, l), k(a, t);
630
- },
631
- p(s, l) {
632
- l[1] & /*$_*/
633
- 4096 && i !== (i = /*$_*/
634
- s[43]("noFavorites") + "") && O(t, i);
635
- },
636
- d(s) {
637
- s && y(a);
638
- }
639
- };
640
- }
641
- function hi(n) {
642
- let a, i = (
643
- /*$_*/
644
- n[43]("noFavoritesMobile") + ""
645
- ), t;
646
- return {
647
- c() {
648
- a = C("span"), t = D(i), h(a, "class", "NoFavoriteText");
649
- },
650
- m(s, l) {
651
- S(s, a, l), k(a, t);
652
- },
653
- p(s, l) {
654
- l[1] & /*$_*/
655
- 4096 && i !== (i = /*$_*/
656
- s[43]("noFavoritesMobile") + "") && O(t, i);
657
- },
658
- d(s) {
659
- s && y(a);
660
- }
661
- };
662
- }
663
- function ua(n) {
664
- let a, i = (
665
- /*gameprops*/
666
- n[95].gameModel.isFavorite && ca(n)
667
- );
668
- return {
669
- c() {
670
- i && i.c(), a = Z();
671
- },
672
- m(t, s) {
673
- i && i.m(t, s), S(t, a, s);
674
- },
675
- p(t, s) {
676
- /*gameprops*/
677
- t[95].gameModel.isFavorite ? i ? i.p(t, s) : (i = ca(t), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
678
- },
679
- d(t) {
680
- t && y(a), i && i.d(t);
681
- }
682
- };
683
- }
684
- function ca(n) {
685
- let a, i = _i(n);
686
- return {
687
- c() {
688
- i && i.c(), a = Z();
689
- },
690
- m(t, s) {
691
- i && i.m(t, s), S(t, a, s);
692
- },
693
- p(t, s) {
694
- i.p(t, s);
695
- },
696
- d(t) {
697
- t && y(a), i && i.d(t);
698
- }
699
- };
700
- }
701
- function _i(n) {
702
- let a, i, t;
703
- function s(c, u) {
704
- if (u[1] & /*favoriteGamesData*/
705
- 2048 && (i = null), a == null && (a = !!ve(
706
- /*userAgent*/
707
- c[44]
708
- )), a)
709
- return bi;
710
- if (i == null && (i = !!/*gameprops*/
711
- c[95].gameModel.platform.includes("PC")), i)
712
- return pi;
713
- }
714
- let l = s(n, [-1, -1, -1, -1]), m = l && l(n);
715
- return {
716
- c() {
717
- m && m.c(), t = Z();
718
- },
719
- m(c, u) {
720
- m && m.m(c, u), S(c, t, u);
721
- },
722
- p(c, u) {
723
- l === (l = s(c, u)) && m ? m.p(c, u) : (m && m.d(1), m = l && l(c), m && (m.c(), m.m(t.parentNode, t)));
724
- },
725
- d(c) {
726
- c && y(t), m && m.d(c);
727
- }
728
- };
729
- }
730
- function pi(n) {
731
- let a, i, t, s, l, m, c, u, g, _, b, F, N, w;
732
- return {
733
- c() {
734
- var d, f, T;
735
- a = C("casino-game-thumbnail"), o(a, "class", i = "" + (ee + /*gameprops*/
736
- (n[95].cellSize ? (
737
- /*gameprops*/
738
- n[95].cellSize
739
- ) : "1x1"))), o(
740
- a,
741
- "session",
742
- /*session*/
743
- n[6]
744
- ), o(
745
- a,
746
- "userid",
747
- /*userid*/
748
- n[7]
749
- ), o(
750
- a,
751
- "lang",
752
- /*lang*/
753
- n[5]
754
- ), o(
755
- a,
756
- "translationurl",
757
- /*translationurl*/
758
- n[11]
759
- ), o(
760
- a,
761
- "favorites",
762
- /*favorites*/
763
- n[8]
764
- ), o(
765
- a,
766
- "categoryid",
767
- /*categoryid*/
768
- n[0]
769
- ), o(a, "gamethumbnail", t = /*gameprops*/
770
- n[95].gameModel.thumbnail), o(a, "gamename", s = /*gameprops*/
771
- n[95].gameModel.name), o(a, "gamevendor", l = /*gameprops*/
772
- n[95].gameModel.vendor.displayName), o(a, "gameLaunchUrl", m = /*gameprops*/
773
- n[95].launchUrl), o(a, "gameisnew", c = /*gameprops*/
774
- (f = (d = n[95]) == null ? void 0 : d.gameModel) == null ? void 0 : f.isNew), o(a, "gametag", u = /*addGameTag*/
775
- n[45](
776
- /*gameprops*/
777
- (T = n[95].gameModel) == null ? void 0 : T.advancedTags
778
- )), o(a, "gamecellsize", g = /*gameprops*/
779
- n[95].cellSize), o(a, "gameid", _ = /*gameprops*/
780
- n[95].gameModel.id), o(a, "gamefunmode", b = /*gameprops*/
781
- n[95].gameModel.hasFunMode), o(
782
- a,
783
- "showgamename",
784
- /*showgamename*/
785
- n[13]
786
- ), o(a, "gamefavorite", F = /*gameprops*/
787
- n[95].gameModel.isFavorite), o(
788
- a,
789
- "showfavoredcategory",
790
- /*showFavGamesCategory*/
791
- n[39]
792
- ), o(a, "connectlive", N = /*intersectingIndexes*/
793
- n[40][
794
- /*gameprops*/
795
- n[95].id
796
- ] == 1 ? "connect" : "disconnect"), o(
797
- a,
798
- "visibilityconnect",
799
- /*visibilityconnect*/
800
- n[41]
801
- ), o(
802
- a,
803
- "mbsource",
804
- /*mbsource*/
805
- n[21]
806
- ), o(
807
- a,
808
- "currency",
809
- /*currency*/
810
- n[12]
811
- ), o(a, "livelobbyendpoint", w = /*gameprops*/
812
- n[95].gameModel.details ? (
813
- /*gameprops*/
814
- n[95].gameModel.launchUrl
815
- ) : ""), o(
816
- a,
817
- "clientstyling",
818
- /*clientstyling*/
819
- n[9]
820
- ), o(
821
- a,
822
- "clientstylingurl",
823
- /*clientstylingurl*/
824
- n[10]
825
- ), o(
826
- a,
827
- "endpoint",
828
- /*endpoint*/
829
- n[3]
830
- ), o(
831
- a,
832
- "livecasino",
833
- /*livecasino*/
834
- n[14]
835
- ), o(
836
- a,
837
- "gamepagemodalurl",
838
- /*gamepagemodalurl*/
839
- n[15]
840
- ), o(
841
- a,
842
- "integratedgameframedesktop",
843
- /*integratedgameframedesktop*/
844
- n[16]
845
- ), o(
846
- a,
847
- "integratedgameframemobile",
848
- /*integratedgameframemobile*/
849
- n[17]
850
- );
851
- },
852
- m(d, f) {
853
- S(d, a, f);
854
- },
855
- p(d, f) {
856
- var T, R, v;
857
- f[1] & /*favoriteGamesData*/
858
- 2048 && i !== (i = "" + (ee + /*gameprops*/
859
- (d[95].cellSize ? (
860
- /*gameprops*/
861
- d[95].cellSize
862
- ) : "1x1"))) && o(a, "class", i), f[0] & /*session*/
863
- 64 && o(
864
- a,
865
- "session",
866
- /*session*/
867
- d[6]
868
- ), f[0] & /*userid*/
869
- 128 && o(
870
- a,
871
- "userid",
872
- /*userid*/
873
- d[7]
874
- ), f[0] & /*lang*/
875
- 32 && o(
876
- a,
877
- "lang",
878
- /*lang*/
879
- d[5]
880
- ), f[0] & /*translationurl*/
881
- 2048 && o(
882
- a,
883
- "translationurl",
884
- /*translationurl*/
885
- d[11]
886
- ), f[0] & /*favorites*/
887
- 256 && o(
888
- a,
889
- "favorites",
890
- /*favorites*/
891
- d[8]
892
- ), f[0] & /*categoryid*/
893
- 1 && o(
894
- a,
895
- "categoryid",
896
- /*categoryid*/
897
- d[0]
898
- ), f[1] & /*favoriteGamesData*/
899
- 2048 && t !== (t = /*gameprops*/
900
- d[95].gameModel.thumbnail) && o(a, "gamethumbnail", t), f[1] & /*favoriteGamesData*/
901
- 2048 && s !== (s = /*gameprops*/
902
- d[95].gameModel.name) && o(a, "gamename", s), f[1] & /*favoriteGamesData*/
903
- 2048 && l !== (l = /*gameprops*/
904
- d[95].gameModel.vendor.displayName) && o(a, "gamevendor", l), f[1] & /*favoriteGamesData*/
905
- 2048 && m !== (m = /*gameprops*/
906
- d[95].launchUrl) && o(a, "gameLaunchUrl", m), f[1] & /*favoriteGamesData*/
907
- 2048 && c !== (c = /*gameprops*/
908
- (R = (T = d[95]) == null ? void 0 : T.gameModel) == null ? void 0 : R.isNew) && o(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
909
- 2048 && u !== (u = /*addGameTag*/
910
- d[45](
911
- /*gameprops*/
912
- (v = d[95].gameModel) == null ? void 0 : v.advancedTags
913
- )) && o(a, "gametag", u), f[1] & /*favoriteGamesData*/
914
- 2048 && g !== (g = /*gameprops*/
915
- d[95].cellSize) && o(a, "gamecellsize", g), f[1] & /*favoriteGamesData*/
916
- 2048 && _ !== (_ = /*gameprops*/
917
- d[95].gameModel.id) && o(a, "gameid", _), f[1] & /*favoriteGamesData*/
918
- 2048 && b !== (b = /*gameprops*/
919
- d[95].gameModel.hasFunMode) && o(a, "gamefunmode", b), f[0] & /*showgamename*/
920
- 8192 && o(
921
- a,
922
- "showgamename",
923
- /*showgamename*/
924
- d[13]
925
- ), f[1] & /*favoriteGamesData*/
926
- 2048 && F !== (F = /*gameprops*/
927
- d[95].gameModel.isFavorite) && o(a, "gamefavorite", F), f[1] & /*showFavGamesCategory*/
928
- 256 && o(
929
- a,
930
- "showfavoredcategory",
931
- /*showFavGamesCategory*/
932
- d[39]
933
- ), f[1] & /*intersectingIndexes, favoriteGamesData*/
934
- 2560 && N !== (N = /*intersectingIndexes*/
935
- d[40][
936
- /*gameprops*/
937
- d[95].id
938
- ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", N), f[1] & /*visibilityconnect*/
939
- 1024 && o(
940
- a,
941
- "visibilityconnect",
942
- /*visibilityconnect*/
943
- d[41]
944
- ), f[0] & /*mbsource*/
945
- 2097152 && o(
946
- a,
947
- "mbsource",
948
- /*mbsource*/
949
- d[21]
950
- ), f[0] & /*currency*/
951
- 4096 && o(
952
- a,
953
- "currency",
954
- /*currency*/
955
- d[12]
956
- ), f[1] & /*favoriteGamesData*/
957
- 2048 && w !== (w = /*gameprops*/
958
- d[95].gameModel.details ? (
959
- /*gameprops*/
960
- d[95].gameModel.launchUrl
961
- ) : "") && o(a, "livelobbyendpoint", w), f[0] & /*clientstyling*/
962
- 512 && o(
963
- a,
964
- "clientstyling",
965
- /*clientstyling*/
966
- d[9]
967
- ), f[0] & /*clientstylingurl*/
968
- 1024 && o(
969
- a,
970
- "clientstylingurl",
971
- /*clientstylingurl*/
972
- d[10]
973
- ), f[0] & /*endpoint*/
974
- 8 && o(
975
- a,
976
- "endpoint",
977
- /*endpoint*/
978
- d[3]
979
- ), f[0] & /*livecasino*/
980
- 16384 && o(
981
- a,
982
- "livecasino",
983
- /*livecasino*/
984
- d[14]
985
- ), f[0] & /*gamepagemodalurl*/
986
- 32768 && o(
987
- a,
988
- "gamepagemodalurl",
989
- /*gamepagemodalurl*/
990
- d[15]
991
- ), f[0] & /*integratedgameframedesktop*/
992
- 65536 && o(
993
- a,
994
- "integratedgameframedesktop",
995
- /*integratedgameframedesktop*/
996
- d[16]
997
- ), f[0] & /*integratedgameframemobile*/
998
- 131072 && o(
999
- a,
1000
- "integratedgameframemobile",
1001
- /*integratedgameframemobile*/
1002
- d[17]
1003
- );
1004
- },
1005
- d(d) {
1006
- d && y(a);
1007
- }
1008
- };
1009
- }
1010
- function bi(n) {
1011
- let a = (
1012
- /*gameprops*/
1013
- n[95].gameModel.platform.includes("iPad") || /*gameprops*/
1014
- n[95].gameModel.platform.includes("iPhone") || /*gameprops*/
1015
- n[95].gameModel.platform.includes("Android")
1016
- ), i, t = a && fa(n);
1017
- return {
1018
- c() {
1019
- t && t.c(), i = Z();
1020
- },
1021
- m(s, l) {
1022
- t && t.m(s, l), S(s, i, l);
1023
- },
1024
- p(s, l) {
1025
- l[1] & /*favoriteGamesData*/
1026
- 2048 && (a = /*gameprops*/
1027
- s[95].gameModel.platform.includes("iPad") || /*gameprops*/
1028
- s[95].gameModel.platform.includes("iPhone") || /*gameprops*/
1029
- s[95].gameModel.platform.includes("Android")), a ? t ? t.p(s, l) : (t = fa(s), t.c(), t.m(i.parentNode, i)) : t && (t.d(1), t = null);
1030
- },
1031
- d(s) {
1032
- s && y(i), t && t.d(s);
1033
- }
1034
- };
1035
- }
1036
- function fa(n) {
1037
- let a, i, t, s, l, m, c, u, g, _, b, F, N, w;
1038
- return {
1039
- c() {
1040
- var d, f;
1041
- a = C("casino-game-thumbnail"), o(a, "class", i = "" + (ee + /*gameprops*/
1042
- (n[95].cellSize ? (
1043
- /*gameprops*/
1044
- n[95].cellSize
1045
- ) : "1x1"))), o(
1046
- a,
1047
- "session",
1048
- /*session*/
1049
- n[6]
1050
- ), o(
1051
- a,
1052
- "userid",
1053
- /*userid*/
1054
- n[7]
1055
- ), o(
1056
- a,
1057
- "lang",
1058
- /*lang*/
1059
- n[5]
1060
- ), o(
1061
- a,
1062
- "mbsource",
1063
- /*mbsource*/
1064
- n[21]
1065
- ), o(
1066
- a,
1067
- "favorites",
1068
- /*favorites*/
1069
- n[8]
1070
- ), o(
1071
- a,
1072
- "categoryid",
1073
- /*categoryid*/
1074
- n[0]
1075
- ), o(a, "gamethumbnail", t = /*gameprops*/
1076
- n[95].gameModel.thumbnail), o(a, "gamename", s = /*gameprops*/
1077
- n[95].gameModel.name), o(a, "gamevendor", l = /*gameprops*/
1078
- n[95].gameModel.vendor.displayName), o(a, "gameLaunchUrl", m = /*gameprops*/
1079
- n[95].launchUrl), o(a, "gameisnew", c = /*gameprops*/
1080
- (d = n[95].gameModel) == null ? void 0 : d.isNew), o(a, "gametag", u = /*addGameTag*/
1081
- n[45](
1082
- /*gameprops*/
1083
- (f = n[95].gameModel) == null ? void 0 : f.advancedTags
1084
- )), o(a, "gamecellsize", g = /*gameprops*/
1085
- n[95].cellSize), o(a, "gameid", _ = /*gameprops*/
1086
- n[95].gameModel.id), o(a, "gamefunmode", b = /*gameprops*/
1087
- n[95].gameModel.hasFunMode), o(
1088
- a,
1089
- "showgamename",
1090
- /*showgamename*/
1091
- n[13]
1092
- ), o(a, "gamefavorite", F = /*gameprops*/
1093
- n[95].gameModel.isFavorite), o(
1094
- a,
1095
- "showfavoredcategory",
1096
- /*showFavGamesCategory*/
1097
- n[39]
1098
- ), o(a, "connectlive", N = /*intersectingIndexes*/
1099
- n[40][
1100
- /*gameprops*/
1101
- n[95].id
1102
- ] == 1 ? "connect" : "disconnect"), o(
1103
- a,
1104
- "visibilityconnect",
1105
- /*visibilityconnect*/
1106
- n[41]
1107
- ), o(
1108
- a,
1109
- "translationurl",
1110
- /*translationurl*/
1111
- n[11]
1112
- ), o(
1113
- a,
1114
- "currency",
1115
- /*currency*/
1116
- n[12]
1117
- ), o(a, "livelobbyendpoint", w = /*gameprops*/
1118
- n[95].gameModel.details ? (
1119
- /*gameprops*/
1120
- n[95].gameModel.launchUrl
1121
- ) : ""), o(
1122
- a,
1123
- "clientstyling",
1124
- /*clientstyling*/
1125
- n[9]
1126
- ), o(
1127
- a,
1128
- "clientstylingurl",
1129
- /*clientstylingurl*/
1130
- n[10]
1131
- ), o(
1132
- a,
1133
- "endpoint",
1134
- /*endpoint*/
1135
- n[3]
1136
- ), o(
1137
- a,
1138
- "livecasino",
1139
- /*livecasino*/
1140
- n[14]
1141
- ), o(
1142
- a,
1143
- "gamepagemodalurl",
1144
- /*gamepagemodalurl*/
1145
- n[15]
1146
- ), o(
1147
- a,
1148
- "integratedgameframedesktop",
1149
- /*integratedgameframedesktop*/
1150
- n[16]
1151
- ), o(
1152
- a,
1153
- "integratedgameframemobile",
1154
- /*integratedgameframemobile*/
1155
- n[17]
1156
- );
1157
- },
1158
- m(d, f) {
1159
- S(d, a, f);
1160
- },
1161
- p(d, f) {
1162
- var T, R;
1163
- f[1] & /*favoriteGamesData*/
1164
- 2048 && i !== (i = "" + (ee + /*gameprops*/
1165
- (d[95].cellSize ? (
1166
- /*gameprops*/
1167
- d[95].cellSize
1168
- ) : "1x1"))) && o(a, "class", i), f[0] & /*session*/
1169
- 64 && o(
1170
- a,
1171
- "session",
1172
- /*session*/
1173
- d[6]
1174
- ), f[0] & /*userid*/
1175
- 128 && o(
1176
- a,
1177
- "userid",
1178
- /*userid*/
1179
- d[7]
1180
- ), f[0] & /*lang*/
1181
- 32 && o(
1182
- a,
1183
- "lang",
1184
- /*lang*/
1185
- d[5]
1186
- ), f[0] & /*mbsource*/
1187
- 2097152 && o(
1188
- a,
1189
- "mbsource",
1190
- /*mbsource*/
1191
- d[21]
1192
- ), f[0] & /*favorites*/
1193
- 256 && o(
1194
- a,
1195
- "favorites",
1196
- /*favorites*/
1197
- d[8]
1198
- ), f[0] & /*categoryid*/
1199
- 1 && o(
1200
- a,
1201
- "categoryid",
1202
- /*categoryid*/
1203
- d[0]
1204
- ), f[1] & /*favoriteGamesData*/
1205
- 2048 && t !== (t = /*gameprops*/
1206
- d[95].gameModel.thumbnail) && o(a, "gamethumbnail", t), f[1] & /*favoriteGamesData*/
1207
- 2048 && s !== (s = /*gameprops*/
1208
- d[95].gameModel.name) && o(a, "gamename", s), f[1] & /*favoriteGamesData*/
1209
- 2048 && l !== (l = /*gameprops*/
1210
- d[95].gameModel.vendor.displayName) && o(a, "gamevendor", l), f[1] & /*favoriteGamesData*/
1211
- 2048 && m !== (m = /*gameprops*/
1212
- d[95].launchUrl) && o(a, "gameLaunchUrl", m), f[1] & /*favoriteGamesData*/
1213
- 2048 && c !== (c = /*gameprops*/
1214
- (T = d[95].gameModel) == null ? void 0 : T.isNew) && o(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
1215
- 2048 && u !== (u = /*addGameTag*/
1216
- d[45](
1217
- /*gameprops*/
1218
- (R = d[95].gameModel) == null ? void 0 : R.advancedTags
1219
- )) && o(a, "gametag", u), f[1] & /*favoriteGamesData*/
1220
- 2048 && g !== (g = /*gameprops*/
1221
- d[95].cellSize) && o(a, "gamecellsize", g), f[1] & /*favoriteGamesData*/
1222
- 2048 && _ !== (_ = /*gameprops*/
1223
- d[95].gameModel.id) && o(a, "gameid", _), f[1] & /*favoriteGamesData*/
1224
- 2048 && b !== (b = /*gameprops*/
1225
- d[95].gameModel.hasFunMode) && o(a, "gamefunmode", b), f[0] & /*showgamename*/
1226
- 8192 && o(
1227
- a,
1228
- "showgamename",
1229
- /*showgamename*/
1230
- d[13]
1231
- ), f[1] & /*favoriteGamesData*/
1232
- 2048 && F !== (F = /*gameprops*/
1233
- d[95].gameModel.isFavorite) && o(a, "gamefavorite", F), f[1] & /*showFavGamesCategory*/
1234
- 256 && o(
1235
- a,
1236
- "showfavoredcategory",
1237
- /*showFavGamesCategory*/
1238
- d[39]
1239
- ), f[1] & /*intersectingIndexes, favoriteGamesData*/
1240
- 2560 && N !== (N = /*intersectingIndexes*/
1241
- d[40][
1242
- /*gameprops*/
1243
- d[95].id
1244
- ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", N), f[1] & /*visibilityconnect*/
1245
- 1024 && o(
1246
- a,
1247
- "visibilityconnect",
1248
- /*visibilityconnect*/
1249
- d[41]
1250
- ), f[0] & /*translationurl*/
1251
- 2048 && o(
1252
- a,
1253
- "translationurl",
1254
- /*translationurl*/
1255
- d[11]
1256
- ), f[0] & /*currency*/
1257
- 4096 && o(
1258
- a,
1259
- "currency",
1260
- /*currency*/
1261
- d[12]
1262
- ), f[1] & /*favoriteGamesData*/
1263
- 2048 && w !== (w = /*gameprops*/
1264
- d[95].gameModel.details ? (
1265
- /*gameprops*/
1266
- d[95].gameModel.launchUrl
1267
- ) : "") && o(a, "livelobbyendpoint", w), f[0] & /*clientstyling*/
1268
- 512 && o(
1269
- a,
1270
- "clientstyling",
1271
- /*clientstyling*/
1272
- d[9]
1273
- ), f[0] & /*clientstylingurl*/
1274
- 1024 && o(
1275
- a,
1276
- "clientstylingurl",
1277
- /*clientstylingurl*/
1278
- d[10]
1279
- ), f[0] & /*endpoint*/
1280
- 8 && o(
1281
- a,
1282
- "endpoint",
1283
- /*endpoint*/
1284
- d[3]
1285
- ), f[0] & /*livecasino*/
1286
- 16384 && o(
1287
- a,
1288
- "livecasino",
1289
- /*livecasino*/
1290
- d[14]
1291
- ), f[0] & /*gamepagemodalurl*/
1292
- 32768 && o(
1293
- a,
1294
- "gamepagemodalurl",
1295
- /*gamepagemodalurl*/
1296
- d[15]
1297
- ), f[0] & /*integratedgameframedesktop*/
1298
- 65536 && o(
1299
- a,
1300
- "integratedgameframedesktop",
1301
- /*integratedgameframedesktop*/
1302
- d[16]
1303
- ), f[0] & /*integratedgameframemobile*/
1304
- 131072 && o(
1305
- a,
1306
- "integratedgameframemobile",
1307
- /*integratedgameframemobile*/
1308
- d[17]
1309
- );
1310
- },
1311
- d(d) {
1312
- d && y(a);
1313
- }
1314
- };
1315
- }
1316
- function ga(n) {
1317
- let a, i = (
1318
- /*gameprops*/
1319
- n[95].gameModel && ua(n)
1320
- );
1321
- return {
1322
- c() {
1323
- i && i.c(), a = Z();
1324
- },
1325
- m(t, s) {
1326
- i && i.m(t, s), S(t, a, s);
1327
- },
1328
- p(t, s) {
1329
- /*gameprops*/
1330
- t[95].gameModel ? i ? i.p(t, s) : (i = ua(t), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
1331
- },
1332
- d(t) {
1333
- t && y(a), i && i.d(t);
1334
- }
1335
- };
1336
- }
1337
- function da(n) {
1338
- let a, i, t = (
1339
- /*categoryData*/
1340
- n[28].name + ""
1341
- ), s, l;
1342
- function m(g, _) {
1343
- return (
1344
- /*lobbyView*/
1345
- g[27] && !/*showLoadCategory*/
1346
- g[30] ? wi : vi
1347
- );
1348
- }
1349
- let c = m(n), u = c(n);
1350
- return {
1351
- c() {
1352
- a = C("div"), i = C("h3"), s = D(t), l = Y(), u.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1353
- },
1354
- m(g, _) {
1355
- S(g, a, _), k(a, i), k(i, s), n[55](i), k(a, l), u.m(a, null);
1356
- },
1357
- p(g, _) {
1358
- _[0] & /*categoryData*/
1359
- 268435456 && t !== (t = /*categoryData*/
1360
- g[28].name + "") && O(s, t), c === (c = m(g)) && u ? u.p(g, _) : (u.d(1), u = c(g), u && (u.c(), u.m(a, null)));
1361
- },
1362
- d(g) {
1363
- g && y(a), n[55](null), u.d();
1364
- }
1365
- };
1366
- }
1367
- function vi(n) {
1368
- let a, i, t, s = (
1369
- /*addfilterselector*/
1370
- n[1] == "true" && /*usesinglevendorfilter*/
1371
- n[22] === "false" && ha(n)
1372
- ), l = (
1373
- /*addsortingselector*/
1374
- n[2] == "true" && _a(n)
1375
- );
1376
- return {
1377
- c() {
1378
- a = C("div"), s && s.c(), i = Y(), l && l.c(), h(a, "class", t = /*addfilterselector*/
1379
- n[1] == "true" && /*usesinglevendorfilter*/
1380
- n[22] === "false" && /*addsortingselector*/
1381
- n[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
1382
- },
1383
- m(m, c) {
1384
- S(m, a, c), s && s.m(a, null), k(a, i), l && l.m(a, null);
1385
- },
1386
- p(m, c) {
1387
- /*addfilterselector*/
1388
- m[1] == "true" && /*usesinglevendorfilter*/
1389
- m[22] === "false" ? s ? s.p(m, c) : (s = ha(m), s.c(), s.m(a, i)) : s && (s.d(1), s = null), /*addsortingselector*/
1390
- m[2] == "true" ? l ? l.p(m, c) : (l = _a(m), l.c(), l.m(a, null)) : l && (l.d(1), l = null), c[0] & /*addfilterselector, usesinglevendorfilter, addsortingselector*/
1391
- 4194310 && t !== (t = /*addfilterselector*/
1392
- m[1] == "true" && /*usesinglevendorfilter*/
1393
- m[22] === "false" && /*addsortingselector*/
1394
- m[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer") && h(a, "class", t);
1395
- },
1396
- d(m) {
1397
- m && y(a), s && s.d(), l && l.d();
1398
- }
1399
- };
1400
- }
1401
- function wi(n) {
1402
- let a, i, t = (
1403
- /*$_*/
1404
- n[43]("viewAll") + ""
1405
- ), s, l, m = (
1406
- /*categoryData*/
1407
- n[28].games.total + ""
1408
- ), c, u, g, _;
1409
- return {
1410
- c() {
1411
- a = C("a"), i = C("span"), s = D(t), l = D(" ("), c = D(m), u = D(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1412
- },
1413
- m(b, F) {
1414
- S(b, a, F), k(a, i), k(i, s), k(i, l), k(i, c), k(i, u), g || (_ = xa(
1415
- a,
1416
- "click",
1417
- /*click_handler*/
1418
- n[56]
1419
- ), g = !0);
1420
- },
1421
- p(b, F) {
1422
- F[1] & /*$_*/
1423
- 4096 && t !== (t = /*$_*/
1424
- b[43]("viewAll") + "") && O(s, t), F[0] & /*categoryData*/
1425
- 268435456 && m !== (m = /*categoryData*/
1426
- b[28].games.total + "") && O(c, m);
1427
- },
1428
- d(b) {
1429
- b && y(a), g = !1, _();
1430
- }
1431
- };
1432
- }
1433
- function ha(n) {
1434
- let a;
1435
- return {
1436
- c() {
1437
- a = C("casino-filter"), o(
1438
- a,
1439
- "clientstylingurl",
1440
- /*clientstylingurl*/
1441
- n[10]
1442
- ), o(
1443
- a,
1444
- "clientstyling",
1445
- /*clientstyling*/
1446
- n[9]
1447
- ), o(
1448
- a,
1449
- "endpoint",
1450
- /*endpoint*/
1451
- n[3]
1452
- ), o(
1453
- a,
1454
- "datasource",
1455
- /*datasource*/
1456
- n[4]
1457
- ), o(
1458
- a,
1459
- "lang",
1460
- /*lang*/
1461
- n[5]
1462
- ), o(
1463
- a,
1464
- "categoryid",
1465
- /*categoryid*/
1466
- n[0]
1467
- ), o(
1468
- a,
1469
- "mbsource",
1470
- /*mbsource*/
1471
- n[21]
1472
- ), o(
1473
- a,
1474
- "addfilterselector",
1475
- /*addfilterselector*/
1476
- n[1]
1477
- ), o(
1478
- a,
1479
- "addsortingselector",
1480
- /*addsortingselector*/
1481
- n[2]
1482
- ), o(
1483
- a,
1484
- "filterbylogo",
1485
- /*filterbylogo*/
1486
- n[19]
1487
- );
1488
- },
1489
- m(i, t) {
1490
- S(i, a, t);
1491
- },
1492
- p(i, t) {
1493
- t[0] & /*clientstylingurl*/
1494
- 1024 && o(
1495
- a,
1496
- "clientstylingurl",
1497
- /*clientstylingurl*/
1498
- i[10]
1499
- ), t[0] & /*clientstyling*/
1500
- 512 && o(
1501
- a,
1502
- "clientstyling",
1503
- /*clientstyling*/
1504
- i[9]
1505
- ), t[0] & /*endpoint*/
1506
- 8 && o(
1507
- a,
1508
- "endpoint",
1509
- /*endpoint*/
1510
- i[3]
1511
- ), t[0] & /*datasource*/
1512
- 16 && o(
1513
- a,
1514
- "datasource",
1515
- /*datasource*/
1516
- i[4]
1517
- ), t[0] & /*lang*/
1518
- 32 && o(
1519
- a,
1520
- "lang",
1521
- /*lang*/
1522
- i[5]
1523
- ), t[0] & /*categoryid*/
1524
- 1 && o(
1525
- a,
1526
- "categoryid",
1527
- /*categoryid*/
1528
- i[0]
1529
- ), t[0] & /*mbsource*/
1530
- 2097152 && o(
1531
- a,
1532
- "mbsource",
1533
- /*mbsource*/
1534
- i[21]
1535
- ), t[0] & /*addfilterselector*/
1536
- 2 && o(
1537
- a,
1538
- "addfilterselector",
1539
- /*addfilterselector*/
1540
- i[1]
1541
- ), t[0] & /*addsortingselector*/
1542
- 4 && o(
1543
- a,
1544
- "addsortingselector",
1545
- /*addsortingselector*/
1546
- i[2]
1547
- ), t[0] & /*filterbylogo*/
1548
- 524288 && o(
1549
- a,
1550
- "filterbylogo",
1551
- /*filterbylogo*/
1552
- i[19]
1553
- );
1554
- },
1555
- d(i) {
1556
- i && y(a);
1557
- }
1558
- };
1559
- }
1560
- function _a(n) {
1561
- let a;
1562
- return {
1563
- c() {
1564
- a = C("casino-sort"), o(
1565
- a,
1566
- "clientstylingurl",
1567
- /*clientstylingurl*/
1568
- n[10]
1569
- ), o(
1570
- a,
1571
- "clientstyling",
1572
- /*clientstyling*/
1573
- n[9]
1574
- ), o(
1575
- a,
1576
- "lang",
1577
- /*lang*/
1578
- n[5]
1579
- ), o(
1580
- a,
1581
- "mbsource",
1582
- /*mbsource*/
1583
- n[21]
1584
- ), o(
1585
- a,
1586
- "categoryid",
1587
- /*categoryid*/
1588
- n[0]
1589
- ), o(
1590
- a,
1591
- "addsortingselector",
1592
- /*addsortingselector*/
1593
- n[2]
1594
- );
1595
- },
1596
- m(i, t) {
1597
- S(i, a, t);
1598
- },
1599
- p(i, t) {
1600
- t[0] & /*clientstylingurl*/
1601
- 1024 && o(
1602
- a,
1603
- "clientstylingurl",
1604
- /*clientstylingurl*/
1605
- i[10]
1606
- ), t[0] & /*clientstyling*/
1607
- 512 && o(
1608
- a,
1609
- "clientstyling",
1610
- /*clientstyling*/
1611
- i[9]
1612
- ), t[0] & /*lang*/
1613
- 32 && o(
1614
- a,
1615
- "lang",
1616
- /*lang*/
1617
- i[5]
1618
- ), t[0] & /*mbsource*/
1619
- 2097152 && o(
1620
- a,
1621
- "mbsource",
1622
- /*mbsource*/
1623
- i[21]
1624
- ), t[0] & /*categoryid*/
1625
- 1 && o(
1626
- a,
1627
- "categoryid",
1628
- /*categoryid*/
1629
- i[0]
1630
- ), t[0] & /*addsortingselector*/
1631
- 4 && o(
1632
- a,
1633
- "addsortingselector",
1634
- /*addsortingselector*/
1635
- i[2]
1636
- );
1637
- },
1638
- d(i) {
1639
- i && y(a);
1640
- }
1641
- };
1642
- }
1643
- function ki(n) {
1644
- let a, i = (
1645
- /*$_*/
1646
- n[43]("noResults") + ""
1647
- ), t;
1648
- return {
1649
- c() {
1650
- a = C("p"), t = D(i), h(a, "class", "NoSearchResults");
1651
- },
1652
- m(s, l) {
1653
- S(s, a, l), k(a, t);
1654
- },
1655
- p(s, l) {
1656
- l[1] & /*$_*/
1657
- 4096 && i !== (i = /*$_*/
1658
- s[43]("noResults") + "") && O(t, i);
1659
- },
1660
- d(s) {
1661
- s && y(a);
1662
- }
1663
- };
1664
- }
1665
- function yi(n) {
1666
- let a, i = [], t = /* @__PURE__ */ new Map(), s, l = le(
1667
- /*shownCategoryData*/
1668
- n[29]
1669
- );
1670
- const m = (c) => (
1671
- /*gameprops*/
1672
- c[95].id
1673
- );
1674
- for (let c = 0; c < l.length; c += 1) {
1675
- let u = sa(n, l, c), g = m(u);
1676
- t.set(g, i[c] = pa(g, u));
1677
- }
1678
- return {
1679
- c() {
1680
- a = C("ul");
1681
- for (let c = 0; c < i.length; c += 1)
1682
- i[c].c();
1683
- h(a, "class", s = /*favoriteGamesData*/
1684
- (n[42].items.length === 0 && /*showFavGamesCategory*/
1685
- n[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1686
- (n[27] && /*casinogamesgridslider*/
1687
- n[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
1688
- },
1689
- m(c, u) {
1690
- S(c, a, u);
1691
- for (let g = 0; g < i.length; g += 1)
1692
- i[g] && i[g].m(a, null);
1693
- n[58](a);
1694
- },
1695
- p(c, u) {
1696
- u[0] & /*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, mbsource, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/
1697
- 557055977 | u[1] & /*addGameTag, intersectingIndexes, visibilityconnect*/
1698
- 17920 && (l = le(
1699
- /*shownCategoryData*/
1700
- c[29]
1701
- ), i = wa(i, u, m, 1, c, l, t, a, ka, pa, null, sa)), u[0] & /*lobbyView, casinogamesgridslider*/
1702
- 135266304 | u[1] & /*favoriteGamesData, showFavGamesCategory*/
1703
- 2304 && s !== (s = /*favoriteGamesData*/
1704
- (c[42].items.length === 0 && /*showFavGamesCategory*/
1705
- c[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1706
- (c[27] && /*casinogamesgridslider*/
1707
- c[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && h(a, "class", s);
1708
- },
1709
- d(c) {
1710
- c && y(a);
1711
- for (let u = 0; u < i.length; u += 1)
1712
- i[u].d();
1713
- n[58](null);
1714
- }
1715
- };
1716
- }
1717
- function Si(n) {
1718
- let a;
1719
- return {
1720
- c() {
1721
- a = C("div"), h(a, "class", "lds-dual-ring");
1722
- },
1723
- m(i, t) {
1724
- S(i, a, t);
1725
- },
1726
- p: be,
1727
- d(i) {
1728
- i && y(a);
1729
- }
1730
- };
1731
- }
1732
- function Fi(n) {
1733
- let a, i, t, s, l, m, c, u, g, _, b, F, N, w, d = (
1734
- /*index*/
1735
- n[97]
1736
- );
1737
- const f = () => (
1738
- /*casino_game_thumbnail_binding*/
1739
- n[57](a, d)
1740
- ), T = () => (
1741
- /*casino_game_thumbnail_binding*/
1742
- n[57](null, d)
1743
- );
1744
- return {
1745
- c() {
1746
- a = C("casino-game-thumbnail"), o(
1747
- a,
1748
- "session",
1749
- /*session*/
1750
- n[6]
1751
- ), o(
1752
- a,
1753
- "userid",
1754
- /*userid*/
1755
- n[7]
1756
- ), o(
1757
- a,
1758
- "lang",
1759
- /*lang*/
1760
- n[5]
1761
- ), o(a, "class", i = "" + (ee + /*gameprops*/
1762
- (n[95].cellSize ? (
1763
- /*gameprops*/
1764
- n[95].cellSize
1765
- ) : "1x1"))), o(
1766
- a,
1767
- "favorites",
1768
- /*favorites*/
1769
- n[8]
1770
- ), o(
1771
- a,
1772
- "categoryid",
1773
- /*categoryid*/
1774
- n[0]
1775
- ), o(a, "gamethumbnail", t = /*gameprops*/
1776
- n[95].thumbnail), o(a, "gamename", s = /*gameprops*/
1777
- n[95].name), o(a, "gamevendor", l = /*gameprops*/
1778
- n[95].vendor.displayName), o(a, "gameLaunchUrl", m = /*gameprops*/
1779
- n[95].launchUrl), o(a, "gameisnew", c = /*gameprops*/
1780
- n[95].isNew), o(a, "gametag", u = /*addGameTag*/
1781
- n[45](
1782
- /*gameprops*/
1783
- n[95].advancedTags
1784
- )), o(a, "gamecellsize", g = /*gameprops*/
1785
- n[95].cellSize), o(a, "gameid", _ = /*gameprops*/
1786
- n[95].id), o(a, "gamefunmode", b = /*gameprops*/
1787
- n[95].hasFunMode), o(a, "gamefavorite", F = /*gameprops*/
1788
- n[95].isFavorite), o(
1789
- a,
1790
- "translationurl",
1791
- /*translationurl*/
1792
- n[11]
1793
- ), o(
1794
- a,
1795
- "showgamename",
1796
- /*showgamename*/
1797
- n[13]
1798
- ), o(
1799
- a,
1800
- "mbsource",
1801
- /*mbsource*/
1802
- n[21]
1803
- ), o(a, "connectlive", N = /*intersectingIndexes*/
1804
- n[40][
1805
- /*gameprops*/
1806
- n[95].id
1807
- ] == 1 ? "connect" : "disconnect"), o(
1808
- a,
1809
- "visibilityconnect",
1810
- /*visibilityconnect*/
1811
- n[41]
1812
- ), o(
1813
- a,
1814
- "currency",
1815
- /*currency*/
1816
- n[12]
1817
- ), o(a, "livelobbyendpoint", w = /*gameprops*/
1818
- n[95].details ? (
1819
- /*gameprops*/
1820
- n[95].href
1821
- ) : ""), o(
1822
- a,
1823
- "clientstyling",
1824
- /*clientstyling*/
1825
- n[9]
1826
- ), o(
1827
- a,
1828
- "clientstylingurl",
1829
- /*clientstylingurl*/
1830
- n[10]
1831
- ), o(
1832
- a,
1833
- "endpoint",
1834
- /*endpoint*/
1835
- n[3]
1836
- ), o(
1837
- a,
1838
- "livecasino",
1839
- /*livecasino*/
1840
- n[14]
1841
- ), o(
1842
- a,
1843
- "gamepagemodalurl",
1844
- /*gamepagemodalurl*/
1845
- n[15]
1846
- ), o(
1847
- a,
1848
- "integratedgameframedesktop",
1849
- /*integratedgameframedesktop*/
1850
- n[16]
1851
- ), o(
1852
- a,
1853
- "integratedgameframemobile",
1854
- /*integratedgameframemobile*/
1855
- n[17]
1856
- ), o(
1857
- a,
1858
- "casinogamesgridslider",
1859
- /*casinogamesgridslider*/
1860
- n[20]
1861
- );
1862
- },
1863
- m(R, v) {
1864
- S(R, a, v), f();
1865
- },
1866
- p(R, v) {
1867
- n = R, v[0] & /*session*/
1868
- 64 && o(
1869
- a,
1870
- "session",
1871
- /*session*/
1872
- n[6]
1873
- ), v[0] & /*userid*/
1874
- 128 && o(
1875
- a,
1876
- "userid",
1877
- /*userid*/
1878
- n[7]
1879
- ), v[0] & /*lang*/
1880
- 32 && o(
1881
- a,
1882
- "lang",
1883
- /*lang*/
1884
- n[5]
1885
- ), v[0] & /*shownCategoryData*/
1886
- 536870912 && i !== (i = "" + (ee + /*gameprops*/
1887
- (n[95].cellSize ? (
1888
- /*gameprops*/
1889
- n[95].cellSize
1890
- ) : "1x1"))) && o(a, "class", i), v[0] & /*favorites*/
1891
- 256 && o(
1892
- a,
1893
- "favorites",
1894
- /*favorites*/
1895
- n[8]
1896
- ), v[0] & /*categoryid*/
1897
- 1 && o(
1898
- a,
1899
- "categoryid",
1900
- /*categoryid*/
1901
- n[0]
1902
- ), v[0] & /*shownCategoryData*/
1903
- 536870912 && t !== (t = /*gameprops*/
1904
- n[95].thumbnail) && o(a, "gamethumbnail", t), v[0] & /*shownCategoryData*/
1905
- 536870912 && s !== (s = /*gameprops*/
1906
- n[95].name) && o(a, "gamename", s), v[0] & /*shownCategoryData*/
1907
- 536870912 && l !== (l = /*gameprops*/
1908
- n[95].vendor.displayName) && o(a, "gamevendor", l), v[0] & /*shownCategoryData*/
1909
- 536870912 && m !== (m = /*gameprops*/
1910
- n[95].launchUrl) && o(a, "gameLaunchUrl", m), v[0] & /*shownCategoryData*/
1911
- 536870912 && c !== (c = /*gameprops*/
1912
- n[95].isNew) && o(a, "gameisnew", c), v[0] & /*shownCategoryData*/
1913
- 536870912 && u !== (u = /*addGameTag*/
1914
- n[45](
1915
- /*gameprops*/
1916
- n[95].advancedTags
1917
- )) && o(a, "gametag", u), v[0] & /*shownCategoryData*/
1918
- 536870912 && g !== (g = /*gameprops*/
1919
- n[95].cellSize) && o(a, "gamecellsize", g), v[0] & /*shownCategoryData*/
1920
- 536870912 && _ !== (_ = /*gameprops*/
1921
- n[95].id) && o(a, "gameid", _), v[0] & /*shownCategoryData*/
1922
- 536870912 && b !== (b = /*gameprops*/
1923
- n[95].hasFunMode) && o(a, "gamefunmode", b), v[0] & /*shownCategoryData*/
1924
- 536870912 && F !== (F = /*gameprops*/
1925
- n[95].isFavorite) && o(a, "gamefavorite", F), v[0] & /*translationurl*/
1926
- 2048 && o(
1927
- a,
1928
- "translationurl",
1929
- /*translationurl*/
1930
- n[11]
1931
- ), v[0] & /*showgamename*/
1932
- 8192 && o(
1933
- a,
1934
- "showgamename",
1935
- /*showgamename*/
1936
- n[13]
1937
- ), v[0] & /*mbsource*/
1938
- 2097152 && o(
1939
- a,
1940
- "mbsource",
1941
- /*mbsource*/
1942
- n[21]
1943
- ), v[0] & /*shownCategoryData*/
1944
- 536870912 | v[1] & /*intersectingIndexes*/
1945
- 512 && N !== (N = /*intersectingIndexes*/
1946
- n[40][
1947
- /*gameprops*/
1948
- n[95].id
1949
- ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", N), v[1] & /*visibilityconnect*/
1950
- 1024 && o(
1951
- a,
1952
- "visibilityconnect",
1953
- /*visibilityconnect*/
1954
- n[41]
1955
- ), v[0] & /*currency*/
1956
- 4096 && o(
1957
- a,
1958
- "currency",
1959
- /*currency*/
1960
- n[12]
1961
- ), v[0] & /*shownCategoryData*/
1962
- 536870912 && w !== (w = /*gameprops*/
1963
- n[95].details ? (
1964
- /*gameprops*/
1965
- n[95].href
1966
- ) : "") && o(a, "livelobbyendpoint", w), v[0] & /*clientstyling*/
1967
- 512 && o(
1968
- a,
1969
- "clientstyling",
1970
- /*clientstyling*/
1971
- n[9]
1972
- ), v[0] & /*clientstylingurl*/
1973
- 1024 && o(
1974
- a,
1975
- "clientstylingurl",
1976
- /*clientstylingurl*/
1977
- n[10]
1978
- ), v[0] & /*endpoint*/
1979
- 8 && o(
1980
- a,
1981
- "endpoint",
1982
- /*endpoint*/
1983
- n[3]
1984
- ), v[0] & /*livecasino*/
1985
- 16384 && o(
1986
- a,
1987
- "livecasino",
1988
- /*livecasino*/
1989
- n[14]
1990
- ), v[0] & /*gamepagemodalurl*/
1991
- 32768 && o(
1992
- a,
1993
- "gamepagemodalurl",
1994
- /*gamepagemodalurl*/
1995
- n[15]
1996
- ), v[0] & /*integratedgameframedesktop*/
1997
- 65536 && o(
1998
- a,
1999
- "integratedgameframedesktop",
2000
- /*integratedgameframedesktop*/
2001
- n[16]
2002
- ), v[0] & /*integratedgameframemobile*/
2003
- 131072 && o(
2004
- a,
2005
- "integratedgameframemobile",
2006
- /*integratedgameframemobile*/
2007
- n[17]
2008
- ), v[0] & /*casinogamesgridslider*/
2009
- 1048576 && o(
2010
- a,
2011
- "casinogamesgridslider",
2012
- /*casinogamesgridslider*/
2013
- n[20]
2014
- ), d !== /*index*/
2015
- n[97] && (T(), d = /*index*/
2016
- n[97], f());
2017
- },
2018
- d(R) {
2019
- R && y(a), T();
2020
- }
2021
- };
2022
- }
2023
- function pa(n, a) {
2024
- let i, t, s = Fi(a);
2025
- return {
2026
- key: n,
2027
- first: null,
2028
- c() {
2029
- i = Z(), s && s.c(), t = Z(), this.first = i;
2030
- },
2031
- m(l, m) {
2032
- S(l, i, m), s && s.m(l, m), S(l, t, m);
2033
- },
2034
- p(l, m) {
2035
- a = l, s.p(a, m);
2036
- },
2037
- d(l) {
2038
- l && (y(i), y(t)), s && s.d(l);
2039
- }
2040
- };
2041
- }
2042
- function Gi(n) {
2043
- let a, i = (
2044
- /*$_*/
2045
- n[43]("searchedItems") + ""
2046
- ), t;
2047
- return {
2048
- c() {
2049
- a = C("h3"), t = D(i), h(a, "class", "StatusText");
2050
- },
2051
- m(s, l) {
2052
- S(s, a, l), k(a, t);
2053
- },
2054
- p(s, l) {
2055
- l[1] & /*$_*/
2056
- 4096 && i !== (i = /*$_*/
2057
- s[43]("searchedItems") + "") && O(t, i);
2058
- },
2059
- d(s) {
2060
- s && y(a);
2061
- }
2062
- };
2063
- }
2064
- function Ci(n) {
2065
- let a, i = (
2066
- /*$_*/
2067
- n[43]("noResults") + ""
2068
- ), t;
2069
- return {
2070
- c() {
2071
- a = C("h3"), t = D(i), h(a, "class", "StatusText");
2072
- },
2073
- m(s, l) {
2074
- S(s, a, l), k(a, t);
2075
- },
2076
- p(s, l) {
2077
- l[1] & /*$_*/
2078
- 4096 && i !== (i = /*$_*/
2079
- s[43]("noResults") + "") && O(t, i);
2080
- },
2081
- d(s) {
2082
- s && y(a);
2083
- }
2084
- };
2085
- }
2086
- function Mi(n) {
2087
- let a, i = (
2088
- /*$_*/
2089
- n[43]("recentSearchedItems") + ""
2090
- ), t;
2091
- return {
2092
- c() {
2093
- a = C("h3"), t = D(i), h(a, "class", "StatusText");
2094
- },
2095
- m(s, l) {
2096
- S(s, a, l), k(a, t);
2097
- },
2098
- p(s, l) {
2099
- l[1] & /*$_*/
2100
- 4096 && i !== (i = /*$_*/
2101
- s[43]("recentSearchedItems") + "") && O(t, i);
2102
- },
2103
- d(s) {
2104
- s && y(a);
2105
- }
2106
- };
2107
- }
2108
- function zi(n) {
2109
- let a;
2110
- return {
2111
- c() {
2112
- a = C("p"), a.textContent = "Waiting", h(a, "class", "SearchWaiting");
2113
- },
2114
- m(i, t) {
2115
- S(i, a, t);
2116
- },
2117
- p: be,
2118
- d(i) {
2119
- i && y(a);
2120
- }
2121
- };
2122
- }
2123
- function Ei(n) {
2124
- let a, i, t = [], s = /* @__PURE__ */ new Map(), l = !/*showItems*/
2125
- n[35] && ba(n), m = le(
2126
- /*shownCategoryData*/
2127
- n[29]
2128
- );
2129
- const c = (u) => (
2130
- /*gameprops*/
2131
- u[95].id
2132
- );
2133
- for (let u = 0; u < m.length; u += 1) {
2134
- let g = la(n, m, u), _ = c(g);
2135
- s.set(_, t[u] = va(_, g));
2136
- }
2137
- return {
2138
- c() {
2139
- l && l.c(), a = Y(), i = C("ul");
2140
- for (let u = 0; u < t.length; u += 1)
2141
- t[u].c();
2142
- h(i, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
2143
- },
2144
- m(u, g) {
2145
- l && l.m(u, g), S(u, a, g), S(u, i, g);
2146
- for (let _ = 0; _ < t.length; _ += 1)
2147
- t[_] && t[_].m(i, null);
2148
- },
2149
- p(u, g) {
2150
- /*showItems*/
2151
- u[35] ? l && (l.d(1), l = null) : l ? l.p(u, g) : (l = ba(u), l.c(), l.m(a.parentNode, a)), g[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, mbsource, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
2152
- 539230185 | g[1] & /*searchItem, addGameTag*/
2153
- 16388 && (m = le(
2154
- /*shownCategoryData*/
2155
- u[29]
2156
- ), t = wa(t, g, c, 1, u, m, s, i, ka, va, null, la));
2157
- },
2158
- d(u) {
2159
- u && (y(a), y(i)), l && l.d(u);
2160
- for (let g = 0; g < t.length; g += 1)
2161
- t[g].d();
2162
- }
2163
- };
2164
- }
2165
- function ba(n) {
2166
- let a, i = (
2167
- /*$_*/
2168
- n[43]("noRecentSearch") + ""
2169
- ), t;
2170
- return {
2171
- c() {
2172
- a = C("p"), t = D(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2173
- /*userAgent*/
2174
- n[44]
2175
- ) ? "NoRecentSearchesMobile" : ""));
2176
- },
2177
- m(s, l) {
2178
- S(s, a, l), k(a, t);
2179
- },
2180
- p(s, l) {
2181
- l[1] & /*$_*/
2182
- 4096 && i !== (i = /*$_*/
2183
- s[43]("noRecentSearch") + "") && O(t, i);
2184
- },
2185
- d(s) {
2186
- s && y(a);
2187
- }
2188
- };
2189
- }
2190
- function va(n, a) {
2191
- let i, t, s, l, m, c, u, g, _, b, F, N, w;
2192
- return {
2193
- key: n,
2194
- first: null,
2195
- c() {
2196
- var d;
2197
- i = C("casino-game-thumbnail"), o(i, "class", t = "" + (ee + /*gameprops*/
2198
- (a[95].cellSize ? (
2199
- /*gameprops*/
2200
- a[95].cellSize
2201
- ) : "1x1"))), o(
2202
- i,
2203
- "session",
2204
- /*session*/
2205
- a[6]
2206
- ), o(
2207
- i,
2208
- "userid",
2209
- /*userid*/
2210
- a[7]
2211
- ), o(
2212
- i,
2213
- "lang",
2214
- /*lang*/
2215
- a[5]
2216
- ), o(
2217
- i,
2218
- "searchitem",
2219
- /*searchItem*/
2220
- a[33]
2221
- ), o(
2222
- i,
2223
- "favorites",
2224
- /*favorites*/
2225
- a[8]
2226
- ), o(
2227
- i,
2228
- "categoryid",
2229
- /*categoryid*/
2230
- a[0]
2231
- ), o(i, "gamethumbnail", s = /*gameprops*/
2232
- a[95].thumbnail), o(i, "gamename", l = /*gameprops*/
2233
- a[95].name), o(i, "gamevendor", m = /*gameprops*/
2234
- a[95].vendor.displayName), o(i, "gameLaunchUrl", c = /*gameprops*/
2235
- a[95].launchUrl), o(i, "gameisnew", u = /*gameprops*/
2236
- (d = a[95]) == null ? void 0 : d.isNew), o(i, "gametag", g = /*addGameTag*/
2237
- a[45](
2238
- /*gameprops*/
2239
- a[95].advancedTags
2240
- )), o(i, "gamecellsize", _ = /*gameprops*/
2241
- a[95].cellSize), o(i, "gameid", b = /*gameprops*/
2242
- a[95].id), o(i, "gamefunmode", F = /*gameprops*/
2243
- a[95].hasFunMode), o(
2244
- i,
2245
- "mbsource",
2246
- /*mbsource*/
2247
- a[21]
2248
- ), o(
2249
- i,
2250
- "showgamename",
2251
- /*showgamename*/
2252
- a[13]
2253
- ), o(
2254
- i,
2255
- "translationurl",
2256
- /*translationurl*/
2257
- a[11]
2258
- ), o(i, "gamefavorite", N = /*gameprops*/
2259
- a[95].isFavorite), o(
2260
- i,
2261
- "currency",
2262
- /*currency*/
2263
- a[12]
2264
- ), o(i, "livelobbyendpoint", w = /*gameprops*/
2265
- a[95].details ? (
2266
- /*gameprops*/
2267
- a[95].href
2268
- ) : ""), o(
2269
- i,
2270
- "clientstyling",
2271
- /*clientstyling*/
2272
- a[9]
2273
- ), o(
2274
- i,
2275
- "clientstylingurl",
2276
- /*clientstylingurl*/
2277
- a[10]
2278
- ), o(
2279
- i,
2280
- "endpoint",
2281
- /*endpoint*/
2282
- a[3]
2283
- ), o(
2284
- i,
2285
- "livecasino",
2286
- /*livecasino*/
2287
- a[14]
2288
- ), o(
2289
- i,
2290
- "gamepagemodalurl",
2291
- /*gamepagemodalurl*/
2292
- a[15]
2293
- ), o(
2294
- i,
2295
- "integratedgameframedesktop",
2296
- /*integratedgameframedesktop*/
2297
- a[16]
2298
- ), o(
2299
- i,
2300
- "integratedgameframemobile",
2301
- /*integratedgameframemobile*/
2302
- a[17]
2303
- ), this.first = i;
2304
- },
2305
- m(d, f) {
2306
- S(d, i, f);
2307
- },
2308
- p(d, f) {
2309
- var T;
2310
- a = d, f[0] & /*shownCategoryData*/
2311
- 536870912 && t !== (t = "" + (ee + /*gameprops*/
2312
- (a[95].cellSize ? (
2313
- /*gameprops*/
2314
- a[95].cellSize
2315
- ) : "1x1"))) && o(i, "class", t), f[0] & /*session*/
2316
- 64 && o(
2317
- i,
2318
- "session",
2319
- /*session*/
2320
- a[6]
2321
- ), f[0] & /*userid*/
2322
- 128 && o(
2323
- i,
2324
- "userid",
2325
- /*userid*/
2326
- a[7]
2327
- ), f[0] & /*lang*/
2328
- 32 && o(
2329
- i,
2330
- "lang",
2331
- /*lang*/
2332
- a[5]
2333
- ), f[1] & /*searchItem*/
2334
- 4 && o(
2335
- i,
2336
- "searchitem",
2337
- /*searchItem*/
2338
- a[33]
2339
- ), f[0] & /*favorites*/
2340
- 256 && o(
2341
- i,
2342
- "favorites",
2343
- /*favorites*/
2344
- a[8]
2345
- ), f[0] & /*categoryid*/
2346
- 1 && o(
2347
- i,
2348
- "categoryid",
2349
- /*categoryid*/
2350
- a[0]
2351
- ), f[0] & /*shownCategoryData*/
2352
- 536870912 && s !== (s = /*gameprops*/
2353
- a[95].thumbnail) && o(i, "gamethumbnail", s), f[0] & /*shownCategoryData*/
2354
- 536870912 && l !== (l = /*gameprops*/
2355
- a[95].name) && o(i, "gamename", l), f[0] & /*shownCategoryData*/
2356
- 536870912 && m !== (m = /*gameprops*/
2357
- a[95].vendor.displayName) && o(i, "gamevendor", m), f[0] & /*shownCategoryData*/
2358
- 536870912 && c !== (c = /*gameprops*/
2359
- a[95].launchUrl) && o(i, "gameLaunchUrl", c), f[0] & /*shownCategoryData*/
2360
- 536870912 && u !== (u = /*gameprops*/
2361
- (T = a[95]) == null ? void 0 : T.isNew) && o(i, "gameisnew", u), f[0] & /*shownCategoryData*/
2362
- 536870912 && g !== (g = /*addGameTag*/
2363
- a[45](
2364
- /*gameprops*/
2365
- a[95].advancedTags
2366
- )) && o(i, "gametag", g), f[0] & /*shownCategoryData*/
2367
- 536870912 && _ !== (_ = /*gameprops*/
2368
- a[95].cellSize) && o(i, "gamecellsize", _), f[0] & /*shownCategoryData*/
2369
- 536870912 && b !== (b = /*gameprops*/
2370
- a[95].id) && o(i, "gameid", b), f[0] & /*shownCategoryData*/
2371
- 536870912 && F !== (F = /*gameprops*/
2372
- a[95].hasFunMode) && o(i, "gamefunmode", F), f[0] & /*mbsource*/
2373
- 2097152 && o(
2374
- i,
2375
- "mbsource",
2376
- /*mbsource*/
2377
- a[21]
2378
- ), f[0] & /*showgamename*/
2379
- 8192 && o(
2380
- i,
2381
- "showgamename",
2382
- /*showgamename*/
2383
- a[13]
2384
- ), f[0] & /*translationurl*/
2385
- 2048 && o(
2386
- i,
2387
- "translationurl",
2388
- /*translationurl*/
2389
- a[11]
2390
- ), f[0] & /*shownCategoryData*/
2391
- 536870912 && N !== (N = /*gameprops*/
2392
- a[95].isFavorite) && o(i, "gamefavorite", N), f[0] & /*currency*/
2393
- 4096 && o(
2394
- i,
2395
- "currency",
2396
- /*currency*/
2397
- a[12]
2398
- ), f[0] & /*shownCategoryData*/
2399
- 536870912 && w !== (w = /*gameprops*/
2400
- a[95].details ? (
2401
- /*gameprops*/
2402
- a[95].href
2403
- ) : "") && o(i, "livelobbyendpoint", w), f[0] & /*clientstyling*/
2404
- 512 && o(
2405
- i,
2406
- "clientstyling",
2407
- /*clientstyling*/
2408
- a[9]
2409
- ), f[0] & /*clientstylingurl*/
2410
- 1024 && o(
2411
- i,
2412
- "clientstylingurl",
2413
- /*clientstylingurl*/
2414
- a[10]
2415
- ), f[0] & /*endpoint*/
2416
- 8 && o(
2417
- i,
2418
- "endpoint",
2419
- /*endpoint*/
2420
- a[3]
2421
- ), f[0] & /*livecasino*/
2422
- 16384 && o(
2423
- i,
2424
- "livecasino",
2425
- /*livecasino*/
2426
- a[14]
2427
- ), f[0] & /*gamepagemodalurl*/
2428
- 32768 && o(
2429
- i,
2430
- "gamepagemodalurl",
2431
- /*gamepagemodalurl*/
2432
- a[15]
2433
- ), f[0] & /*integratedgameframedesktop*/
2434
- 65536 && o(
2435
- i,
2436
- "integratedgameframedesktop",
2437
- /*integratedgameframedesktop*/
2438
- a[16]
2439
- ), f[0] & /*integratedgameframemobile*/
2440
- 131072 && o(
2441
- i,
2442
- "integratedgameframemobile",
2443
- /*integratedgameframemobile*/
2444
- a[17]
2445
- );
2446
- },
2447
- d(d) {
2448
- d && y(i);
2449
- }
2450
- };
2451
- }
2452
- function Ni(n) {
2453
- let a, i = (
2454
- /*$_*/
2455
- n[43]("500") + ""
2456
- );
2457
- return {
2458
- c() {
2459
- a = C("p"), h(a, "class", "SearchLoading");
2460
- },
2461
- m(t, s) {
2462
- S(t, a, s), a.innerHTML = i;
2463
- },
2464
- p(t, s) {
2465
- s[1] & /*$_*/
2466
- 4096 && i !== (i = /*$_*/
2467
- t[43]("500") + "") && (a.innerHTML = i);
2468
- },
2469
- d(t) {
2470
- t && y(a);
2471
- }
2472
- };
2473
- }
2474
- function Ii(n) {
2475
- let a, i = (
2476
- /*$_*/
2477
- n[43]("404") + ""
2478
- );
2479
- return {
2480
- c() {
2481
- a = C("p"), h(a, "class", "SearchLoading");
2482
- },
2483
- m(t, s) {
2484
- S(t, a, s), a.innerHTML = i;
2485
- },
2486
- p(t, s) {
2487
- s[1] & /*$_*/
2488
- 4096 && i !== (i = /*$_*/
2489
- t[43]("404") + "") && (a.innerHTML = i);
2490
- },
2491
- d(t) {
2492
- t && y(a);
2493
- }
2494
- };
2495
- }
2496
- function ji(n) {
2497
- let a;
2498
- function i(l, m) {
2499
- return (
2500
- /*hasErrors*/
2501
- l[26] ? ri : (
2502
- /*searched*/
2503
- l[31] ? li : si
2504
- )
2505
- );
2506
- }
2507
- let t = i(n), s = t(n);
2508
- return {
2509
- c() {
2510
- a = C("div"), s.c(), h(a, "class", "CasinoGamesCategorySectionContainer");
2511
- },
2512
- m(l, m) {
2513
- S(l, a, m), s.m(a, null), n[61](a);
2514
- },
2515
- p(l, m) {
2516
- t === (t = i(l)) && s ? s.p(l, m) : (s.d(1), s = t(l), s && (s.c(), s.m(a, null)));
2517
- },
2518
- i: be,
2519
- o: be,
2520
- d(l) {
2521
- l && y(a), s.d(), n[61](null);
2522
- }
2523
- };
2524
- }
2525
- const ee = "game-tile-";
2526
- let Ai = 0;
2527
- function Li(n, a, i) {
2528
- let t;
2529
- Ja(n, ni, (r) => i(43, t = r));
2530
- let { endpoint: s = "" } = a, { datasource: l = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: _ = "" } = a, { clientstylingurl: b = "" } = a, { translationurl: F = "" } = a, { currency: N = "" } = a, { categoryid: w = "" } = a, { showgamename: d = "" } = a, { livecasino: f = "false" } = a, { gamepagemodalurl: T = "true" } = a, { integratedgameframedesktop: R = "false" } = a, { integratedgameframemobile: v = "false" } = a, { casinomygames: V = "false" } = a, { addfilterselector: we = "false" } = a, { addsortingselector: ke = "false" } = a, { filterbylogo: Xe = "" } = a, { casinogamesgridslider: Ze = "false" } = a, { fetchviaevent: re = "false" } = a, { showallpage: Te = "casino" } = a, { actionevent: Pe = "CategoryChange" } = a, { displayedgamecount: ye = "10" } = a, { showallbuttongamescount: Se = "10" } = a, { mbsource: De } = a, { lobbyscreen: Fe = "true" } = a, { usesinglevendorfilter: Ge = "false" } = a, { visiblegames: Ue = "10" } = a, Q = !0, Oe = !1, Ce, Me, J = !0, Qe = window.navigator.userAgent, j, M = [], x = !0, ae = 40, K = !1, ze = !1, xe = !1, me = !1, Ee = !1, He = !0, ue = !1, ce, Ve, fe, ge = !1, B, Ne = !1, de = new Array(1e4), he = {}, Be = "", ie = "", Ie, qe, U, q = [], je = new AbortController(), te = { items: [], count: 0, name: "" };
2531
- const ya = () => {
2532
- fetch(F).then((p) => p.json()).then((p) => {
2533
- Object.keys(p).forEach((G) => {
2534
- na(G, p[G]);
2535
- });
2536
- }).catch((p) => {
2537
- console.log(p);
2538
- });
2539
- };
2540
- Object.keys(ta).forEach((r) => {
2541
- na(r, ta[r]);
2542
- }), typeof document.hidden != "undefined" ? Ie = "hidden" : typeof document.msHidden != "undefined" ? Ie = "msHidden" : typeof document.webkitHidden != "undefined" && (Ie = "webkitHidden");
2543
- let Ae = new IntersectionObserver((r) => {
2544
- r.forEach((p) => Le(this, null, function* () {
2545
- let G = p.target.gameid, I = p.target.elems_index;
2546
- p.isIntersecting ? (I * 1.2 > ae && za(w), i(40, he[G] = 1, he)) : i(40, he[G] = 0, he);
2547
- }));
2548
- });
2549
- const We = (r, p) => {
2550
- let G = `${s}/v1/player/${p}/favorites/`;
2551
- i(25, Q = !0);
2552
- let I = {
2553
- method: "GET",
2554
- headers: { "X-SessionID": r }
2555
- };
2556
- return new Promise((P, z) => {
2557
- fetch(G, I).then((A) => A.json()).then((A) => {
2558
- var ne;
2559
- if (i(25, Q = !1), U = [], A) {
2560
- A.items.forEach((oe) => {
2561
- oe.gameModel && (U.push(oe), q.includes(oe.id) || q.push(oe.id));
2562
- });
2563
- const W = (ne = Ke(U)) == null ? void 0 : ne.length;
2564
- window.postMessage({
2565
- type: "UpdateFavoritesCount",
2566
- favoriteGamesLength: W
2567
- });
2568
- } else
2569
- U = [];
2570
- w === "FAVORITES" && ea(U), M.forEach((W) => {
2571
- W.isFavorite = X(W.id);
2572
- });
2573
- let H = M;
2574
- i(29, M = void 0), i(29, M = H), P(U);
2575
- }).catch((A) => {
2576
- console.error(A), z(A);
2577
- });
2578
- });
2579
- }, _e = (r, p, G) => {
2580
- je && je.abort(), je = new AbortController();
2581
- const I = je.signal;
2582
- i(25, Q = !0);
2583
- let P = "", z = "", A = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), H = JSON.parse(localStorage.getItem("vendorSortingBy"));
2584
- const ne = Ge === "true" ? "*" : r;
2585
- return (r.match(/\$/g) || []).length > 1 ? (P = r.split("$").slice(0, 2).join("$"), z = new URL(`${s}/v1/casino/groups/${l}/${P}/subGroups`)) : z = new URL(`${s}/v1/casino/groups/${l}/${r}`), new Promise((W, oe) => {
2586
- var ia;
2587
- if (z.searchParams.delete("pagination"), z.searchParams.append("expand", "games(vendor)"), z.searchParams.append("fields", "id,name,games"), z.searchParams.append("platform", Za(Qe)), z.searchParams.append("pagination", `games(offset=${p},limit=${G})`), z.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), A && ((ia = A[ne]) != null && ia.length))
2588
- if (Ge === "true" || J === !1 && ge === !1) {
2589
- let L = "";
2590
- i(34, Ee = !0), A[ne].forEach((pe) => {
2591
- L = L + (L ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2592
- }), z.searchParams.append("filter", `${L}`);
2593
- } else
2594
- i(34, Ee = !1);
2595
- H && (H[r] ? H[r] && H[r] != "All" && (H[r] == "isNew" || H[r] == "advancedTags(name(hot))" ? (z.searchParams.append("sortedField", `games(${H[r]})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${H[r]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (z.searchParams.append("sortedField", `games(${ie})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${ie})`))), fetch(z, { signal: I }).then((L) => {
2596
- if (!L.ok)
2597
- throw L.status === 404 && i(34, Ee = !0), Error(`HTTP error code: ${L.status}`);
2598
- return L.json();
2599
- }).then((L) => {
2600
- I.aborted || (i(25, Q = !1), (r.match(/\$/g) || []).length > 1 && (L = L.items.filter((pe) => {
2601
- if (pe.id == r)
2602
- return pe;
2603
- })[0]), i(54, qe = !0), i(26, Oe = !1), Ve = L == null ? void 0 : L.games.total, i(36, ue = !0), W(L));
2604
- }).catch((L) => {
2605
- L.name !== "AbortError" && (i(26, Oe = !0), console.error(L), oe(L));
2606
- }).finally(() => {
2607
- Sa();
2608
- });
2609
- });
2610
- }, Sa = () => {
2611
- const r = B.getRootNode().host;
2612
- r.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: r } }));
2613
- }, Fa = (r, p, G) => {
2614
- r !== "" && (i(31, K = !1), i(27, J = !0), i(1, we = "false"), i(2, ke = "false"), i(33, me = !1), Ne = !1, i(30, x = +p > +G), _e(r, 0, +p).then((I) => {
2615
- i(28, j = I), i(29, M = j.games.items), M && M.forEach((P) => {
2616
- P.isFavorite = X(P.id);
2617
- });
2618
- }));
2619
- }, Ye = (r) => {
2620
- if (r.data)
2621
- switch (r.data.type) {
2622
- case "MostPlayedData":
2623
- w == "MOSTPLAYED" && (i(31, K = !1), i(27, J = !1), i(30, x = !1), i(29, M = r.data.mostPlayedGames), i(28, j = {
2624
- id: "MOSTPLAYED",
2625
- name: "Most Played Games",
2626
- games: {
2627
- count: r.data.mostPlayedGames.length,
2628
- total: r.data.mostPlayedGames.length,
2629
- items: r.data.mostPlayedGames
2630
- }
2631
- })), i(25, Q = !1);
2632
- break;
2633
- case "LastPlayedData":
2634
- w == "LASTPLAYED" && (i(31, K = !1), i(27, J = !1), i(30, x = !1), i(29, M = r.data.lastPlayedGames), i(28, j = {
2635
- id: "LASTPLAYED",
2636
- name: "Last Played Games",
2637
- games: {
2638
- count: r.data.lastPlayedGames.length,
2639
- total: r.data.lastPlayedGames.length,
2640
- items: r.data.lastPlayedGames
2641
- }
2642
- })), i(25, Q = !1);
2643
- break;
2644
- case "CustomOperatorData":
2645
- r.data.operatordetail;
2646
- break;
2647
- case "RecentSearchData":
2648
- i(31, K = !0), i(32, ze = !0), r.data.searchData.length > 0 ? (i(29, M = r.data.searchData), i(35, He = !0), M && M.forEach((p) => {
2649
- p.isFavorite = X(p.id);
2650
- })) : (i(29, M = []), i(35, He = !1));
2651
- break;
2652
- case "OutOfRecentSearches":
2653
- i(31, K = !1), i(32, ze = !1);
2654
- break;
2655
- case "SearchData":
2656
- i(31, K = !0), i(32, ze = !1), i(29, M = r.data.searchData.items || []), i(33, me = !0), r.data.receivedFavoriteResults && (U = r.data.receivedFavoriteResults.items), M && M.forEach((p) => {
2657
- p.isFavorite = X(p.id);
2658
- });
2659
- break;
2660
- case `CategoryData_${w}`:
2661
- i(31, K = !1), i(27, J = !0), i(1, we = "false"), i(2, ke = "false"), i(33, me = !1), Ne = !1, _e(r.data.categoryId, 0, r.data.visiblegames).then((p) => {
2662
- i(28, j = p), i(29, M = j.games.items), i(30, x = !!(Ve <= r.data.visiblegames && J)), M && M.forEach((G) => {
2663
- G.isFavorite = X(G.id);
2664
- });
2665
- });
2666
- break;
2667
- case "CategoryChange":
2668
- ae = 20;
2669
- break;
2670
- case "ApplySorter":
2671
- i(0, w = r.data.itemId), ie = r.data.sortBy, _e(w, 0, ae).then((p) => {
2672
- i(28, j = p), i(29, M = j.games.items), i(30, x = !1);
2673
- });
2674
- break;
2675
- case "CategoryUpdate":
2676
- $e(r.data.itemId);
2677
- break;
2678
- case `SetUnfavoredGame${w}`:
2679
- Ma(`${s}/v1/player/${u}/favorites`, c, r.data.id);
2680
- break;
2681
- case `SetFavoredGame${w}`:
2682
- Ca(`${s}/v1/player/${u}/favorites`, c, r.data.id);
2683
- break;
2684
- case "UserSessionID":
2685
- Ce = r.data.session, Me = r.data.userID, g == "true" && Me && Me.length && Ce && Ce.length > 0 && We(Ce, Me);
2686
- break;
2687
- case "UpdateFavoredList":
2688
- w === "FAVORITES" && Je(r.data.url, r.data.sessionID);
2689
- break;
2690
- }
2691
- }, $e = (r) => {
2692
- i(31, K = !1), i(27, J = Fe === "true"), i(33, me = !1), Ne = !0, i(36, ue = !1), i(0, w = r), w !== "MOSTPLAYED" && i(30, x = !1), V !== "true" && (U || We(c, u), _e(w, 0, ae).then((p) => {
2693
- var G;
2694
- i(28, j = p), (G = j == null ? void 0 : j.games) == null || G.items.forEach((I) => {
2695
- I.isFavorite = X(I.id);
2696
- }), i(29, M = j == null ? void 0 : j.games.items), (M == null ? void 0 : M.length) < 10 && e.data.origin == !1 && (xe = !0, setTimeout(
2697
- () => {
2698
- window.postMessage({ type: "WidgetTopReference", scrollTop: xe }, window.location.href);
2699
- },
2700
- 500
2701
- ));
2702
- }).finally(() => {
2703
- J && window.postMessage(
2704
- {
2705
- type: `CategoryData_${w}`,
2706
- categoryId: w,
2707
- visiblegames: Ue
2708
- },
2709
- window.location.href
2710
- );
2711
- }));
2712
- }, Ga = () => {
2713
- j && (i(29, M = j.games.items), M.forEach((r) => {
2714
- r.isFavorite = X(r.id);
2715
- }));
2716
- }, X = (r) => {
2717
- var p;
2718
- return (p = U == null ? void 0 : U.some((G) => G.id === r)) != null ? p : !1;
2719
- };
2720
- let Ca = (r, p, G) => Le(this, null, function* () {
2721
- yield Je(r, p), q.includes(G) || q.push(G);
2722
- let P = {
2723
- method: "POST",
2724
- headers: {
2725
- "X-SessionID": p,
2726
- "Content-Type": "application/json",
2727
- Accept: "application/json"
2728
- },
2729
- body: JSON.stringify({ items: q })
2730
- };
2731
- fetch(r, P).then((z) => z.json()).then(() => {
2732
- window.postMessage({ type: `AddFavoriteThumbnail_${G}` }, window.location.href);
2733
- }).catch((z) => {
2734
- console.error("Err", z);
2735
- });
2736
- });
2737
- const Ma = (r, p, G) => {
2738
- let I = {
2739
- method: "DELETE",
2740
- headers: { "X-SessionID": p }
2741
- };
2742
- fetch(`${r}/${G}`, I).then((P) => P.json()).then(() => {
2743
- window.postMessage(
2744
- {
2745
- type: `RemoveFavoriteThumbnail_${G}`
2746
- },
2747
- window.location.href
2748
- ), Je(r, p);
2749
- }), q.includes(G) && (q = q.filter((P) => P != G));
2750
- }, Je = (r, p) => Le(this, null, function* () {
2751
- return fetch(r, {
2752
- method: "GET",
2753
- headers: { "X-SessionID": p }
2754
- }).then((I) => I.json()).then((I) => {
2755
- var z;
2756
- U = I.items, re ? (U.forEach((A) => {
2757
- q.includes(A.id) || q.push(A.id);
2758
- }), Ga()) : U.forEach((A) => {
2759
- A.isFavorite = X(A.id);
2760
- });
2761
- const P = (z = Ke(U)) == null ? void 0 : z.length;
2762
- w === "FAVORITES" && (window.postMessage({
2763
- type: "UpdateFavoritesCount",
2764
- favoriteGamesLength: P
2765
- }), ea(U));
2766
- }).catch((I) => {
2767
- console.error(I);
2768
- });
2769
- }), ea = (r) => {
2770
- if (!r)
2771
- return;
2772
- let p;
2773
- p = (r == null ? void 0 : r.items) || r || [], p.length > 0 && p.forEach((G) => {
2774
- G.gameModel && (G.gameModel.isFavorite = !0);
2775
- }), i(42, te.items = Ke(p, te.items), te), i(42, te.name = "Favorites", te), i(25, Q = !1);
2776
- }, za = (r) => {
2777
- ae += 1, i(36, ue = !0), ae <= Ve && _e(r, Ai, ae).then((p) => {
2778
- i(28, j = p), j.games.items.length > M.length && (i(29, M = j.games.items), M.forEach((G) => {
2779
- G.isFavorite = X(G.id);
2780
- })), i(36, ue = !1);
2781
- });
2782
- }, Ea = (r) => {
2783
- const p = r != null ? r : [];
2784
- if ((p == null ? void 0 : p.length) === 0)
2785
- return "";
2786
- let G = "", I = 999999999999, P;
2787
- const z = new Date(Date.now());
2788
- return p.forEach((A, H) => {
2789
- const ne = new Date(A.schedules[0].startTime), W = new Date(A.schedules[0].endTime);
2790
- Re(W).diff(z) < I && (I = Re(W).diff(z), P = H), Re(z).isAfter(ne) && Re(z).isBefore(W) && (G = p[P].name);
2791
- }), G;
2792
- }, aa = (r) => {
2793
- i(30, x = !1), window.postMessage(
2794
- {
2795
- type: `${Pe}`,
2796
- itemId: r,
2797
- showallpage: Te
2798
- },
2799
- window.location.href
2800
- );
2801
- }, Na = () => {
2802
- switch (w) {
2803
- case "FAVORITES":
2804
- u && c && i(39, ge = !0);
2805
- break;
2806
- case "MOSTPLAYED":
2807
- V === "false" && u && c && i(39, ge = !1);
2808
- break;
2809
- case "LASTPLAYED":
2810
- V === "false" && u && c && i(39, ge = !1);
2811
- break;
2812
- default:
2813
- $e(w);
2814
- break;
2815
- }
2816
- }, Ia = () => {
2817
- document[Ie] ? i(41, Be = "disconnect") : i(41, Be = "connect");
2818
- }, ja = () => {
2819
- Ne && de.forEach((r, p) => {
2820
- r && (r.elems_index = p, Ae.observe(r));
2821
- });
2822
- }, Aa = () => {
2823
- ti(m);
2824
- };
2825
- Ka(() => {
2826
- Ae == null || Ae.disconnect();
2827
- }), Xa(() => (window.addEventListener("visibilitychange", (r) => Ia()), window.addEventListener("message", Ye, !1), () => {
2828
- window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
2829
- }));
2830
- function La(r) {
2831
- se[r ? "unshift" : "push"](() => {
2832
- fe = r, i(38, fe);
2833
- });
2834
- }
2835
- const Ra = (r) => aa(j.id);
2836
- function Ta(r, p) {
2837
- se[r ? "unshift" : "push"](() => {
2838
- de[p] = r, i(24, de);
2839
- });
2840
- }
2841
- function Pa(r) {
2842
- se[r ? "unshift" : "push"](() => {
2843
- ce = r, i(37, ce);
2844
- });
2845
- }
2846
- function Da(r) {
2847
- se[r ? "unshift" : "push"](() => {
2848
- fe = r, i(38, fe);
2849
- });
2850
- }
2851
- function Ua(r) {
2852
- se[r ? "unshift" : "push"](() => {
2853
- ce = r, i(37, ce);
2854
- });
2855
- }
2856
- function Oa(r) {
2857
- se[r ? "unshift" : "push"](() => {
2858
- B = r, i(23, B);
2859
- });
2860
- }
2861
- return n.$$set = (r) => {
2862
- "endpoint" in r && i(3, s = r.endpoint), "datasource" in r && i(4, l = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, c = r.session), "userid" in r && i(7, u = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, _ = r.clientstyling), "clientstylingurl" in r && i(10, b = r.clientstylingurl), "translationurl" in r && i(11, F = r.translationurl), "currency" in r && i(12, N = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, d = r.showgamename), "livecasino" in r && i(14, f = r.livecasino), "gamepagemodalurl" in r && i(15, T = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, R = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, v = r.integratedgameframemobile), "casinomygames" in r && i(18, V = r.casinomygames), "addfilterselector" in r && i(1, we = r.addfilterselector), "addsortingselector" in r && i(2, ke = r.addsortingselector), "filterbylogo" in r && i(19, Xe = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ze = r.casinogamesgridslider), "fetchviaevent" in r && i(47, re = r.fetchviaevent), "showallpage" in r && i(48, Te = r.showallpage), "actionevent" in r && i(49, Pe = r.actionevent), "displayedgamecount" in r && i(50, ye = r.displayedgamecount), "showallbuttongamescount" in r && i(51, Se = r.showallbuttongamescount), "mbsource" in r && i(21, De = r.mbsource), "lobbyscreen" in r && i(52, Fe = r.lobbyscreen), "usesinglevendorfilter" in r && i(22, Ge = r.usesinglevendorfilter), "visiblegames" in r && i(53, Ue = r.visiblegames);
2863
- }, n.$$.update = () => {
2864
- n.$$.dirty[0] & /*lang*/
2865
- 32 && m && Aa(), n.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2866
- 57 | n.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2867
- 1638400 && (re === "false" || re === "") && s && m && w && l && ye && Se && Fa(w, ye, Se), n.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2868
- 456 && g === "true" && s && c && u && We(c, u), n.$$.dirty[0] & /*thumbnailContainer*/
2869
- 16777216 | n.$$.dirty[1] & /*dataloaded*/
2870
- 8388608 && qe && de && ja(), n.$$.dirty[0] & /*lang, categoryid*/
2871
- 33 | n.$$.dirty[1] & /*lobbyscreen*/
2872
- 2097152 && Fe && m && w && Na(), n.$$.dirty[0] & /*translationurl*/
2873
- 2048 && F && ya(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2874
- 8389120 && _ && B && $a(B, _), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2875
- 8389632 && b && B && ei(B, b), n.$$.dirty[0] & /*customStylingContainer, mbsource*/
2876
- 10485760 && B && ai(B, `${De}.Style`);
2877
- }, [
2878
- w,
2879
- we,
2880
- ke,
2881
- s,
2882
- l,
2883
- m,
2884
- c,
2885
- u,
2886
- g,
2887
- _,
2888
- b,
2889
- F,
2890
- N,
2891
- d,
2892
- f,
2893
- T,
2894
- R,
2895
- v,
2896
- V,
2897
- Xe,
2898
- Ze,
2899
- De,
2900
- Ge,
2901
- B,
2902
- de,
2903
- Q,
2904
- Oe,
2905
- J,
2906
- j,
2907
- M,
2908
- x,
2909
- K,
2910
- ze,
2911
- me,
2912
- Ee,
2913
- He,
2914
- ue,
2915
- ce,
2916
- fe,
2917
- ge,
2918
- he,
2919
- Be,
2920
- te,
2921
- t,
2922
- Qe,
2923
- Ea,
2924
- aa,
2925
- re,
2926
- Te,
2927
- Pe,
2928
- ye,
2929
- Se,
2930
- Fe,
2931
- Ue,
2932
- qe,
2933
- La,
2934
- Ra,
2935
- Ta,
2936
- Pa,
2937
- Da,
2938
- Ua,
2939
- Oa
2940
- ];
2941
- }
2942
- class Ri extends Ba {
2943
- constructor(a) {
2944
- super(), qa(
2945
- this,
2946
- a,
2947
- Li,
2948
- ji,
2949
- Wa,
2950
- {
2951
- endpoint: 3,
2952
- datasource: 4,
2953
- lang: 5,
2954
- session: 6,
2955
- userid: 7,
2956
- favorites: 8,
2957
- clientstyling: 9,
2958
- clientstylingurl: 10,
2959
- translationurl: 11,
2960
- currency: 12,
2961
- categoryid: 0,
2962
- showgamename: 13,
2963
- livecasino: 14,
2964
- gamepagemodalurl: 15,
2965
- integratedgameframedesktop: 16,
2966
- integratedgameframemobile: 17,
2967
- casinomygames: 18,
2968
- addfilterselector: 1,
2969
- addsortingselector: 2,
2970
- filterbylogo: 19,
2971
- casinogamesgridslider: 20,
2972
- fetchviaevent: 47,
2973
- showallpage: 48,
2974
- actionevent: 49,
2975
- displayedgamecount: 50,
2976
- showallbuttongamescount: 51,
2977
- mbsource: 21,
2978
- lobbyscreen: 52,
2979
- usesinglevendorfilter: 22,
2980
- visiblegames: 53
2981
- },
2982
- oi,
2983
- [-1, -1, -1, -1]
2984
- );
2985
- }
2986
- get endpoint() {
2987
- return this.$$.ctx[3];
2988
- }
2989
- set endpoint(a) {
2990
- this.$$set({ endpoint: a }), E();
2991
- }
2992
- get datasource() {
2993
- return this.$$.ctx[4];
2994
- }
2995
- set datasource(a) {
2996
- this.$$set({ datasource: a }), E();
2997
- }
2998
- get lang() {
2999
- return this.$$.ctx[5];
3000
- }
3001
- set lang(a) {
3002
- this.$$set({ lang: a }), E();
3003
- }
3004
- get session() {
3005
- return this.$$.ctx[6];
3006
- }
3007
- set session(a) {
3008
- this.$$set({ session: a }), E();
3009
- }
3010
- get userid() {
3011
- return this.$$.ctx[7];
3012
- }
3013
- set userid(a) {
3014
- this.$$set({ userid: a }), E();
3015
- }
3016
- get favorites() {
3017
- return this.$$.ctx[8];
3018
- }
3019
- set favorites(a) {
3020
- this.$$set({ favorites: a }), E();
3021
- }
3022
- get clientstyling() {
3023
- return this.$$.ctx[9];
3024
- }
3025
- set clientstyling(a) {
3026
- this.$$set({ clientstyling: a }), E();
3027
- }
3028
- get clientstylingurl() {
3029
- return this.$$.ctx[10];
3030
- }
3031
- set clientstylingurl(a) {
3032
- this.$$set({ clientstylingurl: a }), E();
3033
- }
3034
- get translationurl() {
3035
- return this.$$.ctx[11];
3036
- }
3037
- set translationurl(a) {
3038
- this.$$set({ translationurl: a }), E();
3039
- }
3040
- get currency() {
3041
- return this.$$.ctx[12];
3042
- }
3043
- set currency(a) {
3044
- this.$$set({ currency: a }), E();
3045
- }
3046
- get categoryid() {
3047
- return this.$$.ctx[0];
3048
- }
3049
- set categoryid(a) {
3050
- this.$$set({ categoryid: a }), E();
3051
- }
3052
- get showgamename() {
3053
- return this.$$.ctx[13];
3054
- }
3055
- set showgamename(a) {
3056
- this.$$set({ showgamename: a }), E();
3057
- }
3058
- get livecasino() {
3059
- return this.$$.ctx[14];
3060
- }
3061
- set livecasino(a) {
3062
- this.$$set({ livecasino: a }), E();
3063
- }
3064
- get gamepagemodalurl() {
3065
- return this.$$.ctx[15];
3066
- }
3067
- set gamepagemodalurl(a) {
3068
- this.$$set({ gamepagemodalurl: a }), E();
3069
- }
3070
- get integratedgameframedesktop() {
3071
- return this.$$.ctx[16];
3072
- }
3073
- set integratedgameframedesktop(a) {
3074
- this.$$set({ integratedgameframedesktop: a }), E();
3075
- }
3076
- get integratedgameframemobile() {
3077
- return this.$$.ctx[17];
3078
- }
3079
- set integratedgameframemobile(a) {
3080
- this.$$set({ integratedgameframemobile: a }), E();
3081
- }
3082
- get casinomygames() {
3083
- return this.$$.ctx[18];
3084
- }
3085
- set casinomygames(a) {
3086
- this.$$set({ casinomygames: a }), E();
3087
- }
3088
- get addfilterselector() {
3089
- return this.$$.ctx[1];
3090
- }
3091
- set addfilterselector(a) {
3092
- this.$$set({ addfilterselector: a }), E();
3093
- }
3094
- get addsortingselector() {
3095
- return this.$$.ctx[2];
3096
- }
3097
- set addsortingselector(a) {
3098
- this.$$set({ addsortingselector: a }), E();
3099
- }
3100
- get filterbylogo() {
3101
- return this.$$.ctx[19];
3102
- }
3103
- set filterbylogo(a) {
3104
- this.$$set({ filterbylogo: a }), E();
3105
- }
3106
- get casinogamesgridslider() {
3107
- return this.$$.ctx[20];
3108
- }
3109
- set casinogamesgridslider(a) {
3110
- this.$$set({ casinogamesgridslider: a }), E();
3111
- }
3112
- get fetchviaevent() {
3113
- return this.$$.ctx[47];
3114
- }
3115
- set fetchviaevent(a) {
3116
- this.$$set({ fetchviaevent: a }), E();
3117
- }
3118
- get showallpage() {
3119
- return this.$$.ctx[48];
3120
- }
3121
- set showallpage(a) {
3122
- this.$$set({ showallpage: a }), E();
3123
- }
3124
- get actionevent() {
3125
- return this.$$.ctx[49];
3126
- }
3127
- set actionevent(a) {
3128
- this.$$set({ actionevent: a }), E();
3129
- }
3130
- get displayedgamecount() {
3131
- return this.$$.ctx[50];
3132
- }
3133
- set displayedgamecount(a) {
3134
- this.$$set({ displayedgamecount: a }), E();
3135
- }
3136
- get showallbuttongamescount() {
3137
- return this.$$.ctx[51];
3138
- }
3139
- set showallbuttongamescount(a) {
3140
- this.$$set({ showallbuttongamescount: a }), E();
3141
- }
3142
- get mbsource() {
3143
- return this.$$.ctx[21];
3144
- }
3145
- set mbsource(a) {
3146
- this.$$set({ mbsource: a }), E();
3147
- }
3148
- get lobbyscreen() {
3149
- return this.$$.ctx[52];
3150
- }
3151
- set lobbyscreen(a) {
3152
- this.$$set({ lobbyscreen: a }), E();
3153
- }
3154
- get usesinglevendorfilter() {
3155
- return this.$$.ctx[22];
3156
- }
3157
- set usesinglevendorfilter(a) {
3158
- this.$$set({ usesinglevendorfilter: a }), E();
3159
- }
3160
- get visiblegames() {
3161
- return this.$$.ctx[53];
3162
- }
3163
- set visiblegames(a) {
3164
- this.$$set({ visiblegames: a }), E();
3165
- }
3166
- }
3167
- ii(Ri, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, mbsource: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
3168
- export {
3169
- Ri as default
3170
- };