@everymatrix/casino-favorites-section 1.87.25 → 1.87.27

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