@everymatrix/casino-most-played-section 1.45.0 → 1.45.3

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