@everymatrix/casino-my-games-nd 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/CasinoFavoritesSectionNd-B2O5ZJ7U.js +465 -0
  2. package/components/CasinoFavoritesSectionNd-C_IhNI6X.js +465 -0
  3. package/components/CasinoFavoritesSectionNd-Cdy5njPd.cjs +1 -0
  4. package/components/CasinoFilter-BHp-ceif.js +644 -0
  5. package/components/CasinoFilter-BxbOeQca.cjs +1 -0
  6. package/components/CasinoFilter-CZ5MibUb.js +645 -0
  7. package/components/CasinoGameThumbnailNd-CvwOiPVg.cjs +30 -0
  8. package/components/CasinoGameThumbnailNd-DF51S3O0.js +1825 -0
  9. package/components/CasinoGameThumbnailNd-DoWO2XT4.js +1841 -0
  10. package/components/CasinoGamesCategorySectionNd-BCRe5jM4.cjs +1 -0
  11. package/components/CasinoGamesCategorySectionNd-COK29j6T.js +4644 -0
  12. package/components/CasinoGamesCategorySectionNd-o6TspFsQ.js +4611 -0
  13. package/components/{CasinoLastPlayedSectionNd-BNqrgb0a.js → CasinoLastPlayedSectionNd-7Wrhf-Cs.js} +71 -72
  14. package/components/{CasinoLastPlayedSectionNd-BlqDt6rh.js → CasinoLastPlayedSectionNd-DLZwmT_F.js} +71 -72
  15. package/components/CasinoLastPlayedSectionNd-DZ6Cs4tA.cjs +1 -0
  16. package/components/CasinoMostPlayedSectionNd-D3f36lEH.cjs +1 -0
  17. package/components/{CasinoMostPlayedSectionNd-BBa-HSUH.js → CasinoMostPlayedSectionNd-DTY09L5X.js} +92 -93
  18. package/components/{CasinoMostPlayedSectionNd-cnY_XdFa.js → CasinoMostPlayedSectionNd-EUGxyFvb.js} +92 -93
  19. package/components/CasinoMyGamesNd-BpPfnub_.cjs +18 -0
  20. package/components/CasinoMyGamesNd-DXMMIiZf.js +5854 -0
  21. package/components/CasinoMyGamesNd-L5aDat7v.js +5811 -0
  22. package/components/{CasinoSort-1CGgZmtY.js → CasinoSort-Bt1yZsWS.js} +103 -103
  23. package/components/{CasinoSort-DnexQ1Yk.js → CasinoSort-CivOK-Iv.js} +102 -102
  24. package/components/CasinoSort-CxMfIVPn.cjs +1 -0
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +7 -7
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoFavoritesSectionNd-BeNK2H3t.cjs +0 -3
  30. package/components/CasinoFavoritesSectionNd-CW_9L0KX.js +0 -4402
  31. package/components/CasinoFavoritesSectionNd-Df7AsFyl.js +0 -4365
  32. package/components/CasinoFilter-B5ctcxIi.js +0 -1185
  33. package/components/CasinoFilter-BAF26Qks.cjs +0 -16
  34. package/components/CasinoFilter-CkDqcbsE.js +0 -1184
  35. package/components/CasinoGameThumbnailNd-BC4qO6Wv.cjs +0 -30
  36. package/components/CasinoGameThumbnailNd-Cf0yYAlm.js +0 -3122
  37. package/components/CasinoGameThumbnailNd-krS0hcHc.js +0 -3106
  38. package/components/CasinoGamesCategorySectionNd--26wgDSA.js +0 -3371
  39. package/components/CasinoGamesCategorySectionNd-CAPj_mei.cjs +0 -1
  40. package/components/CasinoGamesCategorySectionNd-CcHVOCjP.js +0 -3338
  41. package/components/CasinoLastPlayedSectionNd-BiN-eLjS.cjs +0 -1
  42. package/components/CasinoMostPlayedSectionNd-xhyYFecB.cjs +0 -1
  43. package/components/CasinoMyGamesNd-BuINvDGu.js +0 -1351
  44. package/components/CasinoMyGamesNd-CteUrSBV.js +0 -1350
  45. package/components/CasinoMyGamesNd-DOYU176c.cjs +0 -1
  46. package/components/CasinoSort-ChRHQzFr.cjs +0 -1
@@ -0,0 +1,4644 @@
1
+ var Be = (t, e, a) => new Promise((n, i) => {
2
+ var r = (m) => {
3
+ try {
4
+ u(a.next(m));
5
+ } catch (c) {
6
+ i(c);
7
+ }
8
+ }, s = (m) => {
9
+ try {
10
+ u(a.throw(m));
11
+ } catch (c) {
12
+ i(c);
13
+ }
14
+ }, u = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(r, s);
15
+ u((a = a.apply(t, e)).next());
16
+ });
17
+ import { q as _t, $ as bt, S as wt, i as yt, s as kt, f as O, b as Ct, n as ke, d as G, c as F, e as T, g as v, t as St, z as Mt, o as Gt, u as Ft, A as Xe, j as we, B as oe, r as M, C as x, D as Ne, x as Tt, v as V, w as A, E as Ce, F as Wa, h as o, G as Ya, H as zt, I as wa, J as Ot, K as ue, k as Dt, l as Et, m as Pt, p as Nt, y as It } from "./CasinoMyGamesNd-DXMMIiZf.js";
18
+ function Ut(t, e) {
19
+ _t(t, e);
20
+ }
21
+ function Rt(t) {
22
+ bt.set(t);
23
+ }
24
+ const Lt = {
25
+ en: {
26
+ showMore: "More",
27
+ viewAll: "Show all",
28
+ searchedItems: "Search result",
29
+ recentSearchedItems: "Recently searched",
30
+ favorites: "Favorites",
31
+ noRecentSearch: "No search started yet. Simply search for a game.",
32
+ noResults: "Sorry, no results found. Please try again.",
33
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
34
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
35
+ noFavoritesTitle: "You do not have any favored games yet.",
36
+ waiting: "Waiting",
37
+ playNow: "Start now!",
38
+ new: "NEW",
39
+ hot: "Hot",
40
+ opens: "Opens",
41
+ full: "table full - bet behind",
42
+ dealer: "Dealer"
43
+ },
44
+ "zh-hk": {
45
+ showMore: "更多的",
46
+ viewAll: "顯示所有",
47
+ searchedItems: "搜索結果",
48
+ recentSearchedItems: "最近搜索過",
49
+ favorites: "收藏夹",
50
+ noRecentSearch: "尚未開始搜索。 只需搜索遊戲。",
51
+ noResults: "抱歉,沒有找到結果。 請再試一次。",
52
+ noFavoritesMobile: "您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",
53
+ noFavorites: "您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",
54
+ noFavoritesTitle: "您還沒有任何喜歡的遊戲。",
55
+ waiting: "等待",
56
+ playNow: "現在開始!",
57
+ new: "新的",
58
+ hot: "熱的",
59
+ opens: "打開",
60
+ full: "滿桌 - 下注",
61
+ dealer: "經銷商"
62
+ },
63
+ de: {
64
+ showMore: "Mehr",
65
+ viewAll: "Alle anzeigen",
66
+ searchedItems: "Ergebnis suchen",
67
+ recentSearchedItems: "Zuletzt gesucht",
68
+ noRecentSearch: "Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",
69
+ noResults: "Sorry, no results found. Please try again.",
70
+ noFavoritesMobile: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
71
+ noFavorites: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
72
+ noFavoritesTitle: "You do not have any favored games yet.",
73
+ waiting: "Waiting",
74
+ playNow: "Jetzt beginnen!",
75
+ new: "NEU",
76
+ hot: "Hot",
77
+ opens: "Öffnet",
78
+ full: "full - bet behind",
79
+ dealer: "Dealer"
80
+ },
81
+ it: {
82
+ showMore: "Altro",
83
+ viewAll: "Mostra tutto",
84
+ searchedItems: "risultato",
85
+ recentSearchedItems: "Ricerche recenti",
86
+ noRecentSearch: "Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",
87
+ noResults: "Spiacenti, nessun risultato. Si prega di riprovare.",
88
+ playNow: "Inizia ora!",
89
+ new: "NOVITÀ",
90
+ hot: "HOT",
91
+ opens: "Opens",
92
+ full: "table full - bet behind",
93
+ dealer: "Dealer"
94
+ },
95
+ fr: {
96
+ showMore: "Plus de",
97
+ viewAll: "Afficher tous",
98
+ searchedItems: "Recherche du resultat",
99
+ recentSearchedItems: "Recherches récentes",
100
+ favorites: "Favoris",
101
+ noRecentSearch: "Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",
102
+ noResults: "Désolé , aucun résultat trouvé.veuillez réessayer.",
103
+ noFavoritesMobile: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",
104
+ 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",
105
+ noFavoritesTitle: "Vous n'avez pas encore de jeux favoris.",
106
+ waiting: "Attente",
107
+ playNow: "Commencez maintenant",
108
+ new: "Nouveau",
109
+ hot: "Chaud",
110
+ opens: "Ouvre",
111
+ full: "Table pleine - pari derrière",
112
+ dealer: "Concessionnaire"
113
+ },
114
+ es: {
115
+ showMore: "Más",
116
+ viewAll: "Mostrar todas",
117
+ searchedItems: "Resultado de busqueda",
118
+ recentSearchedItems: "Buscado recientemente",
119
+ favorites: "Favoritos",
120
+ noRecentSearch: "Aún no inicia busqueda. Solo busque un juego",
121
+ noResults: "Disculpe",
122
+ noFavoritesMobile: "Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",
123
+ noFavorites: "Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",
124
+ noFavoritesTitle: "No tiene juegos Favoritos aún",
125
+ waiting: "Cargando",
126
+ playNow: "Juega ahora!",
127
+ new: "NUEVO",
128
+ hot: "HOT",
129
+ opens: "Abiertas",
130
+ full: "Mesa llena - Apostar de pie",
131
+ dealer: "Dealer"
132
+ },
133
+ tr: {
134
+ showMore: "Daha fazla",
135
+ viewAll: "Hepsini göster",
136
+ searchedItems: "Arama sonucu",
137
+ recentSearchedItems: "Son Aranan Öğeler",
138
+ noRecentSearch: "Henüz arama başlamadı. Sadece bir oyun arayın.",
139
+ noResults: "Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",
140
+ favorites: "Favoriler",
141
+ noFavoritesMobile: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
142
+ noFavorites: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
143
+ noFavoritesTitle: "Henüz favori oyunlarınız yok.",
144
+ waiting: "Bekleniyor",
145
+ playNow: "ŞİMDİ OYNA",
146
+ new: "YENİ",
147
+ hot: "Sıcak",
148
+ opens: "Açılıyor",
149
+ full: "masa dolu - arkadan bahis",
150
+ dealer: "Krupiye"
151
+ },
152
+ ru: {
153
+ showMore: "Показать больше",
154
+ viewAll: "Посмотреть все",
155
+ searchedItems: "Искомые товары",
156
+ recentSearchedItems: "Недавние поисковые запросы",
157
+ noRecentSearch: "Поиск еще не начался. Просто найдите игру.",
158
+ noResults: "Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",
159
+ playNow: "Играть сейчас",
160
+ new: "НОВАЯ",
161
+ hot: "ГОРЯЧЕЙ",
162
+ opens: "Opens",
163
+ full: "table full - bet behind",
164
+ dealer: "Dealer"
165
+ },
166
+ ro: {
167
+ showMore: "Arata mai mult",
168
+ viewAll: "Vezi toate",
169
+ searchedItems: "Rezultatele cautarii",
170
+ recentSearchedItems: "Cautari recente",
171
+ favorites: "Favorite",
172
+ noRecentSearch: "Nici o căutare nu a început încă. Pur și simplu căutați un joc.",
173
+ noResults: "Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",
174
+ noFavoritesMobile: "Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",
175
+ noFavorites: "Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",
176
+ noFavoritesTitle: "Nu aveți încă niciun joc preferat.",
177
+ waiting: "Aşteptare",
178
+ playNow: "Joaca acum",
179
+ new: "NOU",
180
+ hot: "POPULAR",
181
+ opens: "Opens",
182
+ full: "table full - bet behind",
183
+ dealer: "Dealer"
184
+ },
185
+ hr: {
186
+ showMore: "Više",
187
+ viewAll: "Prikaži sve",
188
+ searchedItems: "Rezultat pretrage",
189
+ recentSearchedItems: "Nedavno pretraživano",
190
+ noRecentSearch: "Još nije započela pretraga. Jednostavno pretražite igru.",
191
+ noResults: "Žao nema rezultata",
192
+ favorites: "Favoriti",
193
+ noFavoritesMobile: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
194
+ noFavorites: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
195
+ noFavoritesTitle: "Još nemate nijednu omiljenu igru.",
196
+ waiting: "Čekanje",
197
+ playNow: "Igraj",
198
+ new: "NOVO",
199
+ hot: "Hot",
200
+ opens: "Otvara se",
201
+ full: "stol pun - uložite iza",
202
+ dealer: "Djelitelj"
203
+ },
204
+ hu: {
205
+ showMore: "Több",
206
+ viewAll: "Az összes megjelenítése",
207
+ searchedItems: "Keresés eredménye",
208
+ recentSearchedItems: "Legutóbb keresett",
209
+ noRecentSearch: "A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",
210
+ noResults: "Sajnos nincs találat. Kérjük próbálja újra.",
211
+ playNow: "Játsszon most!",
212
+ new: "ÚJ",
213
+ hot: "Hot",
214
+ opens: "Opens",
215
+ full: "table full - bet behind",
216
+ dealer: "Dealer"
217
+ },
218
+ pl: {
219
+ showMore: "Więcej",
220
+ viewAll: "Pokaż wszystkie",
221
+ searchedItems: "Wynik wyszukiwania",
222
+ recentSearchedItems: "Ostatnio wyszukiwane",
223
+ noRecentSearch: "Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",
224
+ noResults: "Przepraszamy, brak wyników. Prosimy spróbować ponownie.",
225
+ playNow: "Rozpocznij teraz!",
226
+ new: "NOWOŚĆ",
227
+ hot: "Hot",
228
+ opens: "Opens",
229
+ full: "table full - bet behind",
230
+ dealer: "Dealer"
231
+ },
232
+ pt: {
233
+ showMore: "Mais",
234
+ viewAll: "Mostre tudo",
235
+ searchedItems: "Resultado da pesquisa",
236
+ recentSearchedItems: "Pesquisado recentemente",
237
+ favorites: "Favorito",
238
+ noRecentSearch: "Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",
239
+ noResults: "Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",
240
+ noFavoritesMobile: "Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",
241
+ noFavorites: "Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",
242
+ noFavoritesTitle: "Você ainda não tem nenhum jogo favorito.",
243
+ waiting: "Aguardando",
244
+ playNow: "Comece agora!",
245
+ new: "NOVO",
246
+ hot: "Hot",
247
+ opens: "Abrir",
248
+ full: "Mesa cheia - aposta atrás",
249
+ dealer: "Dealer"
250
+ },
251
+ sl: {
252
+ showMore: "Več",
253
+ viewAll: "Prikaži vse",
254
+ searchedItems: "Rezultati iskanja",
255
+ recentSearchedItems: "Nedavno iskanje",
256
+ noRecentSearch: "Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",
257
+ noResults: "Oprostite, ni rezultata. Prosimo poizkusite ponovno.",
258
+ playNow: "Začnite zdaj!",
259
+ new: "NOVO",
260
+ hot: "Vroče",
261
+ opens: "Opens",
262
+ full: "table full - bet behind",
263
+ dealer: "Dealer"
264
+ },
265
+ sr: {
266
+ showMore: "Više",
267
+ viewAll: "Prikaži sve",
268
+ searchedItems: "Pretraži rezultat",
269
+ recentSearchedItems: "Zadnja pretraga",
270
+ noRecentSearch: "Još nije pokrenuta pretraga. Jednostavno pretraži igre.",
271
+ noResults: "Žao nam je, nema pogodaka. Pokušaj ponovo.",
272
+ playNow: "Započnite sada!",
273
+ new: "NOVO",
274
+ hot: "Vruće",
275
+ opens: "Opens",
276
+ full: "table full - bet behind",
277
+ dealer: "Dealer"
278
+ },
279
+ "pt-br": {
280
+ noResults: "Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",
281
+ noFavoritesMobile: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
282
+ noFavorites: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
283
+ noFavoritesTitle: "Você ainda não tem jogos selecionados como favoritos",
284
+ waiting: "Esperando",
285
+ playNow: "Comece agora!",
286
+ new: "NOVOS",
287
+ hot: "Popular",
288
+ opens: "Abre",
289
+ full: "mesa completa-aposte seguindo",
290
+ dealer: "Dealer"
291
+ },
292
+ "es-mx": {
293
+ showMore: "Mostrar más",
294
+ viewAll: "Mostrar todo",
295
+ searchedItems: "Resultados de búsqueda",
296
+ recentSearchedItems: "Búsquedas recientes",
297
+ favorites: "Favoritos",
298
+ noRecentSearch: "No ha realizado alguna búsqueda. Simplemente busque algún juego",
299
+ noResults: "Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",
300
+ noFavoritesMobile: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
301
+ noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
302
+ noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
303
+ waiting: "Esperando",
304
+ playNow: "Comenzar ahora!",
305
+ new: "NUEVOS",
306
+ hot: "Popular",
307
+ opens: "Abre",
308
+ full: "mesa llena-seguir apuesta",
309
+ dealer: "Dealer"
310
+ },
311
+ "en-us": {
312
+ showMore: "More",
313
+ viewAll: "Show all",
314
+ searchedItems: "Search result",
315
+ recentSearchedItems: "Recently searched",
316
+ favorites: "Favorites",
317
+ noRecentSearch: "No search started yet. Simply search for a game.",
318
+ noResults: "Sorry, no results found. Please try again.",
319
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
320
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
321
+ noFavoritesTitle: "You do not have any favored games yet.",
322
+ waiting: "Waiting",
323
+ playNow: "Start now!",
324
+ new: "NEW",
325
+ hot: "Hot",
326
+ opens: "Opens",
327
+ full: "table full - bet behind",
328
+ dealer: "Dealer"
329
+ }
330
+ };
331
+ function Je(t) {
332
+ "@babel/helpers - typeof";
333
+ return Je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
334
+ return typeof e;
335
+ } : function(e) {
336
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
337
+ }, Je(t);
338
+ }
339
+ function ve(t) {
340
+ if (t === null || t === !0 || t === !1)
341
+ return NaN;
342
+ var e = Number(t);
343
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
344
+ }
345
+ function j(t, e) {
346
+ if (e.length < t)
347
+ throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
348
+ }
349
+ function H(t) {
350
+ j(1, arguments);
351
+ var e = Object.prototype.toString.call(t);
352
+ return t instanceof Date || Je(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
353
+ }
354
+ function At(t, e) {
355
+ j(2, arguments);
356
+ var a = H(t).getTime(), n = ve(e);
357
+ return new Date(a + n);
358
+ }
359
+ var jt = {};
360
+ function Ze() {
361
+ return jt;
362
+ }
363
+ function Wt(t) {
364
+ var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
365
+ return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
366
+ }
367
+ function Yt(t) {
368
+ return j(1, arguments), t instanceof Date || Je(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
369
+ }
370
+ function qt(t) {
371
+ if (j(1, arguments), !Yt(t) && typeof t != "number")
372
+ return !1;
373
+ var e = H(t);
374
+ return !isNaN(Number(e));
375
+ }
376
+ function ya(t, e) {
377
+ return j(2, arguments), H(t).getTime() - H(e).getTime();
378
+ }
379
+ function Ht(t, e) {
380
+ j(2, arguments);
381
+ var a = ve(e);
382
+ return At(t, -a);
383
+ }
384
+ var Vt = 864e5;
385
+ function Bt(t) {
386
+ j(1, arguments);
387
+ var e = H(t), a = e.getTime();
388
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
389
+ var n = e.getTime(), i = a - n;
390
+ return Math.floor(i / Vt) + 1;
391
+ }
392
+ function Qe(t) {
393
+ j(1, arguments);
394
+ var e = 1, a = H(t), n = a.getUTCDay(), i = (n < e ? 7 : 0) + n - e;
395
+ return a.setUTCDate(a.getUTCDate() - i), a.setUTCHours(0, 0, 0, 0), a;
396
+ }
397
+ function qa(t) {
398
+ j(1, arguments);
399
+ var e = H(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
400
+ n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
401
+ var i = Qe(n), r = /* @__PURE__ */ new Date(0);
402
+ r.setUTCFullYear(a, 0, 4), r.setUTCHours(0, 0, 0, 0);
403
+ var s = Qe(r);
404
+ return e.getTime() >= i.getTime() ? a + 1 : e.getTime() >= s.getTime() ? a : a - 1;
405
+ }
406
+ function Xt(t) {
407
+ j(1, arguments);
408
+ var e = qa(t), a = /* @__PURE__ */ new Date(0);
409
+ a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
410
+ var n = Qe(a);
411
+ return n;
412
+ }
413
+ var Jt = 6048e5;
414
+ function Qt(t) {
415
+ j(1, arguments);
416
+ var e = H(t), a = Qe(e).getTime() - Xt(e).getTime();
417
+ return Math.round(a / Jt) + 1;
418
+ }
419
+ function Ke(t, e) {
420
+ var a, n, i, r, s, u, m, c;
421
+ j(1, arguments);
422
+ var g = Ze(), h = ve((a = (n = (i = (r = e == null ? void 0 : e.weekStartsOn) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && i !== void 0 ? i : g.weekStartsOn) !== null && n !== void 0 ? n : (m = g.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
423
+ if (!(h >= 0 && h <= 6))
424
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
425
+ var _ = H(t), b = _.getUTCDay(), k = (b < h ? 7 : 0) + b - h;
426
+ return _.setUTCDate(_.getUTCDate() - k), _.setUTCHours(0, 0, 0, 0), _;
427
+ }
428
+ function Ha(t, e) {
429
+ var a, n, i, r, s, u, m, c;
430
+ j(1, arguments);
431
+ var g = H(t), h = g.getUTCFullYear(), _ = Ze(), b = ve((a = (n = (i = (r = e == null ? void 0 : e.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && i !== void 0 ? i : _.firstWeekContainsDate) !== null && n !== void 0 ? n : (m = _.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
432
+ if (!(b >= 1 && b <= 7))
433
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
434
+ var k = /* @__PURE__ */ new Date(0);
435
+ k.setUTCFullYear(h + 1, 0, b), k.setUTCHours(0, 0, 0, 0);
436
+ var w = Ke(k, e), f = /* @__PURE__ */ new Date(0);
437
+ f.setUTCFullYear(h, 0, b), f.setUTCHours(0, 0, 0, 0);
438
+ var d = Ke(f, e);
439
+ return g.getTime() >= w.getTime() ? h + 1 : g.getTime() >= d.getTime() ? h : h - 1;
440
+ }
441
+ function Kt(t, e) {
442
+ var a, n, i, r, s, u, m, c;
443
+ j(1, arguments);
444
+ var g = Ze(), h = ve((a = (n = (i = (r = e == null ? void 0 : e.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && i !== void 0 ? i : g.firstWeekContainsDate) !== null && n !== void 0 ? n : (m = g.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), _ = Ha(t, e), b = /* @__PURE__ */ new Date(0);
445
+ b.setUTCFullYear(_, 0, h), b.setUTCHours(0, 0, 0, 0);
446
+ var k = Ke(b, e);
447
+ return k;
448
+ }
449
+ var Zt = 6048e5;
450
+ function xt(t, e) {
451
+ j(1, arguments);
452
+ var a = H(t), n = Ke(a, e).getTime() - Kt(a, e).getTime();
453
+ return Math.round(n / Zt) + 1;
454
+ }
455
+ function E(t, e) {
456
+ for (var a = t < 0 ? "-" : "", n = Math.abs(t).toString(); n.length < e; )
457
+ n = "0" + n;
458
+ return a + n;
459
+ }
460
+ var me = {
461
+ // Year
462
+ y: function(e, a) {
463
+ var n = e.getUTCFullYear(), i = n > 0 ? n : 1 - n;
464
+ return E(a === "yy" ? i % 100 : i, a.length);
465
+ },
466
+ // Month
467
+ M: function(e, a) {
468
+ var n = e.getUTCMonth();
469
+ return a === "M" ? String(n + 1) : E(n + 1, 2);
470
+ },
471
+ // Day of the month
472
+ d: function(e, a) {
473
+ return E(e.getUTCDate(), a.length);
474
+ },
475
+ // AM or PM
476
+ a: function(e, a) {
477
+ var n = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
478
+ switch (a) {
479
+ case "a":
480
+ case "aa":
481
+ return n.toUpperCase();
482
+ case "aaa":
483
+ return n;
484
+ case "aaaaa":
485
+ return n[0];
486
+ case "aaaa":
487
+ default:
488
+ return n === "am" ? "a.m." : "p.m.";
489
+ }
490
+ },
491
+ // Hour [1-12]
492
+ h: function(e, a) {
493
+ return E(e.getUTCHours() % 12 || 12, a.length);
494
+ },
495
+ // Hour [0-23]
496
+ H: function(e, a) {
497
+ return E(e.getUTCHours(), a.length);
498
+ },
499
+ // Minute
500
+ m: function(e, a) {
501
+ return E(e.getUTCMinutes(), a.length);
502
+ },
503
+ // Second
504
+ s: function(e, a) {
505
+ return E(e.getUTCSeconds(), a.length);
506
+ },
507
+ // Fraction of second
508
+ S: function(e, a) {
509
+ var n = a.length, i = e.getUTCMilliseconds(), r = Math.floor(i * Math.pow(10, n - 3));
510
+ return E(r, a.length);
511
+ }
512
+ }, ye = {
513
+ midnight: "midnight",
514
+ noon: "noon",
515
+ morning: "morning",
516
+ afternoon: "afternoon",
517
+ evening: "evening",
518
+ night: "night"
519
+ }, $t = {
520
+ // Era
521
+ G: function(e, a, n) {
522
+ var i = e.getUTCFullYear() > 0 ? 1 : 0;
523
+ switch (a) {
524
+ case "G":
525
+ case "GG":
526
+ case "GGG":
527
+ return n.era(i, {
528
+ width: "abbreviated"
529
+ });
530
+ case "GGGGG":
531
+ return n.era(i, {
532
+ width: "narrow"
533
+ });
534
+ case "GGGG":
535
+ default:
536
+ return n.era(i, {
537
+ width: "wide"
538
+ });
539
+ }
540
+ },
541
+ // Year
542
+ y: function(e, a, n) {
543
+ if (a === "yo") {
544
+ var i = e.getUTCFullYear(), r = i > 0 ? i : 1 - i;
545
+ return n.ordinalNumber(r, {
546
+ unit: "year"
547
+ });
548
+ }
549
+ return me.y(e, a);
550
+ },
551
+ // Local week-numbering year
552
+ Y: function(e, a, n, i) {
553
+ var r = Ha(e, i), s = r > 0 ? r : 1 - r;
554
+ if (a === "YY") {
555
+ var u = s % 100;
556
+ return E(u, 2);
557
+ }
558
+ return a === "Yo" ? n.ordinalNumber(s, {
559
+ unit: "year"
560
+ }) : E(s, a.length);
561
+ },
562
+ // ISO week-numbering year
563
+ R: function(e, a) {
564
+ var n = qa(e);
565
+ return E(n, a.length);
566
+ },
567
+ // Extended year. This is a single number designating the year of this calendar system.
568
+ // The main difference between `y` and `u` localizers are B.C. years:
569
+ // | Year | `y` | `u` |
570
+ // |------|-----|-----|
571
+ // | AC 1 | 1 | 1 |
572
+ // | BC 1 | 1 | 0 |
573
+ // | BC 2 | 2 | -1 |
574
+ // Also `yy` always returns the last two digits of a year,
575
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
576
+ u: function(e, a) {
577
+ var n = e.getUTCFullYear();
578
+ return E(n, a.length);
579
+ },
580
+ // Quarter
581
+ Q: function(e, a, n) {
582
+ var i = Math.ceil((e.getUTCMonth() + 1) / 3);
583
+ switch (a) {
584
+ case "Q":
585
+ return String(i);
586
+ case "QQ":
587
+ return E(i, 2);
588
+ case "Qo":
589
+ return n.ordinalNumber(i, {
590
+ unit: "quarter"
591
+ });
592
+ case "QQQ":
593
+ return n.quarter(i, {
594
+ width: "abbreviated",
595
+ context: "formatting"
596
+ });
597
+ case "QQQQQ":
598
+ return n.quarter(i, {
599
+ width: "narrow",
600
+ context: "formatting"
601
+ });
602
+ case "QQQQ":
603
+ default:
604
+ return n.quarter(i, {
605
+ width: "wide",
606
+ context: "formatting"
607
+ });
608
+ }
609
+ },
610
+ // Stand-alone quarter
611
+ q: function(e, a, n) {
612
+ var i = Math.ceil((e.getUTCMonth() + 1) / 3);
613
+ switch (a) {
614
+ case "q":
615
+ return String(i);
616
+ case "qq":
617
+ return E(i, 2);
618
+ case "qo":
619
+ return n.ordinalNumber(i, {
620
+ unit: "quarter"
621
+ });
622
+ case "qqq":
623
+ return n.quarter(i, {
624
+ width: "abbreviated",
625
+ context: "standalone"
626
+ });
627
+ case "qqqqq":
628
+ return n.quarter(i, {
629
+ width: "narrow",
630
+ context: "standalone"
631
+ });
632
+ case "qqqq":
633
+ default:
634
+ return n.quarter(i, {
635
+ width: "wide",
636
+ context: "standalone"
637
+ });
638
+ }
639
+ },
640
+ // Month
641
+ M: function(e, a, n) {
642
+ var i = e.getUTCMonth();
643
+ switch (a) {
644
+ case "M":
645
+ case "MM":
646
+ return me.M(e, a);
647
+ case "Mo":
648
+ return n.ordinalNumber(i + 1, {
649
+ unit: "month"
650
+ });
651
+ case "MMM":
652
+ return n.month(i, {
653
+ width: "abbreviated",
654
+ context: "formatting"
655
+ });
656
+ case "MMMMM":
657
+ return n.month(i, {
658
+ width: "narrow",
659
+ context: "formatting"
660
+ });
661
+ case "MMMM":
662
+ default:
663
+ return n.month(i, {
664
+ width: "wide",
665
+ context: "formatting"
666
+ });
667
+ }
668
+ },
669
+ // Stand-alone month
670
+ L: function(e, a, n) {
671
+ var i = e.getUTCMonth();
672
+ switch (a) {
673
+ case "L":
674
+ return String(i + 1);
675
+ case "LL":
676
+ return E(i + 1, 2);
677
+ case "Lo":
678
+ return n.ordinalNumber(i + 1, {
679
+ unit: "month"
680
+ });
681
+ case "LLL":
682
+ return n.month(i, {
683
+ width: "abbreviated",
684
+ context: "standalone"
685
+ });
686
+ case "LLLLL":
687
+ return n.month(i, {
688
+ width: "narrow",
689
+ context: "standalone"
690
+ });
691
+ case "LLLL":
692
+ default:
693
+ return n.month(i, {
694
+ width: "wide",
695
+ context: "standalone"
696
+ });
697
+ }
698
+ },
699
+ // Local week of year
700
+ w: function(e, a, n, i) {
701
+ var r = xt(e, i);
702
+ return a === "wo" ? n.ordinalNumber(r, {
703
+ unit: "week"
704
+ }) : E(r, a.length);
705
+ },
706
+ // ISO week of year
707
+ I: function(e, a, n) {
708
+ var i = Qt(e);
709
+ return a === "Io" ? n.ordinalNumber(i, {
710
+ unit: "week"
711
+ }) : E(i, a.length);
712
+ },
713
+ // Day of the month
714
+ d: function(e, a, n) {
715
+ return a === "do" ? n.ordinalNumber(e.getUTCDate(), {
716
+ unit: "date"
717
+ }) : me.d(e, a);
718
+ },
719
+ // Day of year
720
+ D: function(e, a, n) {
721
+ var i = Bt(e);
722
+ return a === "Do" ? n.ordinalNumber(i, {
723
+ unit: "dayOfYear"
724
+ }) : E(i, a.length);
725
+ },
726
+ // Day of week
727
+ E: function(e, a, n) {
728
+ var i = e.getUTCDay();
729
+ switch (a) {
730
+ case "E":
731
+ case "EE":
732
+ case "EEE":
733
+ return n.day(i, {
734
+ width: "abbreviated",
735
+ context: "formatting"
736
+ });
737
+ case "EEEEE":
738
+ return n.day(i, {
739
+ width: "narrow",
740
+ context: "formatting"
741
+ });
742
+ case "EEEEEE":
743
+ return n.day(i, {
744
+ width: "short",
745
+ context: "formatting"
746
+ });
747
+ case "EEEE":
748
+ default:
749
+ return n.day(i, {
750
+ width: "wide",
751
+ context: "formatting"
752
+ });
753
+ }
754
+ },
755
+ // Local day of week
756
+ e: function(e, a, n, i) {
757
+ var r = e.getUTCDay(), s = (r - i.weekStartsOn + 8) % 7 || 7;
758
+ switch (a) {
759
+ case "e":
760
+ return String(s);
761
+ case "ee":
762
+ return E(s, 2);
763
+ case "eo":
764
+ return n.ordinalNumber(s, {
765
+ unit: "day"
766
+ });
767
+ case "eee":
768
+ return n.day(r, {
769
+ width: "abbreviated",
770
+ context: "formatting"
771
+ });
772
+ case "eeeee":
773
+ return n.day(r, {
774
+ width: "narrow",
775
+ context: "formatting"
776
+ });
777
+ case "eeeeee":
778
+ return n.day(r, {
779
+ width: "short",
780
+ context: "formatting"
781
+ });
782
+ case "eeee":
783
+ default:
784
+ return n.day(r, {
785
+ width: "wide",
786
+ context: "formatting"
787
+ });
788
+ }
789
+ },
790
+ // Stand-alone local day of week
791
+ c: function(e, a, n, i) {
792
+ var r = e.getUTCDay(), s = (r - i.weekStartsOn + 8) % 7 || 7;
793
+ switch (a) {
794
+ case "c":
795
+ return String(s);
796
+ case "cc":
797
+ return E(s, a.length);
798
+ case "co":
799
+ return n.ordinalNumber(s, {
800
+ unit: "day"
801
+ });
802
+ case "ccc":
803
+ return n.day(r, {
804
+ width: "abbreviated",
805
+ context: "standalone"
806
+ });
807
+ case "ccccc":
808
+ return n.day(r, {
809
+ width: "narrow",
810
+ context: "standalone"
811
+ });
812
+ case "cccccc":
813
+ return n.day(r, {
814
+ width: "short",
815
+ context: "standalone"
816
+ });
817
+ case "cccc":
818
+ default:
819
+ return n.day(r, {
820
+ width: "wide",
821
+ context: "standalone"
822
+ });
823
+ }
824
+ },
825
+ // ISO day of week
826
+ i: function(e, a, n) {
827
+ var i = e.getUTCDay(), r = i === 0 ? 7 : i;
828
+ switch (a) {
829
+ case "i":
830
+ return String(r);
831
+ case "ii":
832
+ return E(r, a.length);
833
+ case "io":
834
+ return n.ordinalNumber(r, {
835
+ unit: "day"
836
+ });
837
+ case "iii":
838
+ return n.day(i, {
839
+ width: "abbreviated",
840
+ context: "formatting"
841
+ });
842
+ case "iiiii":
843
+ return n.day(i, {
844
+ width: "narrow",
845
+ context: "formatting"
846
+ });
847
+ case "iiiiii":
848
+ return n.day(i, {
849
+ width: "short",
850
+ context: "formatting"
851
+ });
852
+ case "iiii":
853
+ default:
854
+ return n.day(i, {
855
+ width: "wide",
856
+ context: "formatting"
857
+ });
858
+ }
859
+ },
860
+ // AM or PM
861
+ a: function(e, a, n) {
862
+ var i = e.getUTCHours(), r = i / 12 >= 1 ? "pm" : "am";
863
+ switch (a) {
864
+ case "a":
865
+ case "aa":
866
+ return n.dayPeriod(r, {
867
+ width: "abbreviated",
868
+ context: "formatting"
869
+ });
870
+ case "aaa":
871
+ return n.dayPeriod(r, {
872
+ width: "abbreviated",
873
+ context: "formatting"
874
+ }).toLowerCase();
875
+ case "aaaaa":
876
+ return n.dayPeriod(r, {
877
+ width: "narrow",
878
+ context: "formatting"
879
+ });
880
+ case "aaaa":
881
+ default:
882
+ return n.dayPeriod(r, {
883
+ width: "wide",
884
+ context: "formatting"
885
+ });
886
+ }
887
+ },
888
+ // AM, PM, midnight, noon
889
+ b: function(e, a, n) {
890
+ var i = e.getUTCHours(), r;
891
+ switch (i === 12 ? r = ye.noon : i === 0 ? r = ye.midnight : r = i / 12 >= 1 ? "pm" : "am", a) {
892
+ case "b":
893
+ case "bb":
894
+ return n.dayPeriod(r, {
895
+ width: "abbreviated",
896
+ context: "formatting"
897
+ });
898
+ case "bbb":
899
+ return n.dayPeriod(r, {
900
+ width: "abbreviated",
901
+ context: "formatting"
902
+ }).toLowerCase();
903
+ case "bbbbb":
904
+ return n.dayPeriod(r, {
905
+ width: "narrow",
906
+ context: "formatting"
907
+ });
908
+ case "bbbb":
909
+ default:
910
+ return n.dayPeriod(r, {
911
+ width: "wide",
912
+ context: "formatting"
913
+ });
914
+ }
915
+ },
916
+ // in the morning, in the afternoon, in the evening, at night
917
+ B: function(e, a, n) {
918
+ var i = e.getUTCHours(), r;
919
+ switch (i >= 17 ? r = ye.evening : i >= 12 ? r = ye.afternoon : i >= 4 ? r = ye.morning : r = ye.night, a) {
920
+ case "B":
921
+ case "BB":
922
+ case "BBB":
923
+ return n.dayPeriod(r, {
924
+ width: "abbreviated",
925
+ context: "formatting"
926
+ });
927
+ case "BBBBB":
928
+ return n.dayPeriod(r, {
929
+ width: "narrow",
930
+ context: "formatting"
931
+ });
932
+ case "BBBB":
933
+ default:
934
+ return n.dayPeriod(r, {
935
+ width: "wide",
936
+ context: "formatting"
937
+ });
938
+ }
939
+ },
940
+ // Hour [1-12]
941
+ h: function(e, a, n) {
942
+ if (a === "ho") {
943
+ var i = e.getUTCHours() % 12;
944
+ return i === 0 && (i = 12), n.ordinalNumber(i, {
945
+ unit: "hour"
946
+ });
947
+ }
948
+ return me.h(e, a);
949
+ },
950
+ // Hour [0-23]
951
+ H: function(e, a, n) {
952
+ return a === "Ho" ? n.ordinalNumber(e.getUTCHours(), {
953
+ unit: "hour"
954
+ }) : me.H(e, a);
955
+ },
956
+ // Hour [0-11]
957
+ K: function(e, a, n) {
958
+ var i = e.getUTCHours() % 12;
959
+ return a === "Ko" ? n.ordinalNumber(i, {
960
+ unit: "hour"
961
+ }) : E(i, a.length);
962
+ },
963
+ // Hour [1-24]
964
+ k: function(e, a, n) {
965
+ var i = e.getUTCHours();
966
+ return i === 0 && (i = 24), a === "ko" ? n.ordinalNumber(i, {
967
+ unit: "hour"
968
+ }) : E(i, a.length);
969
+ },
970
+ // Minute
971
+ m: function(e, a, n) {
972
+ return a === "mo" ? n.ordinalNumber(e.getUTCMinutes(), {
973
+ unit: "minute"
974
+ }) : me.m(e, a);
975
+ },
976
+ // Second
977
+ s: function(e, a, n) {
978
+ return a === "so" ? n.ordinalNumber(e.getUTCSeconds(), {
979
+ unit: "second"
980
+ }) : me.s(e, a);
981
+ },
982
+ // Fraction of second
983
+ S: function(e, a) {
984
+ return me.S(e, a);
985
+ },
986
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
987
+ X: function(e, a, n, i) {
988
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
989
+ if (s === 0)
990
+ return "Z";
991
+ switch (a) {
992
+ case "X":
993
+ return Ca(s);
994
+ case "XXXX":
995
+ case "XX":
996
+ return he(s);
997
+ case "XXXXX":
998
+ case "XXX":
999
+ default:
1000
+ return he(s, ":");
1001
+ }
1002
+ },
1003
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1004
+ x: function(e, a, n, i) {
1005
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
1006
+ switch (a) {
1007
+ case "x":
1008
+ return Ca(s);
1009
+ case "xxxx":
1010
+ case "xx":
1011
+ return he(s);
1012
+ case "xxxxx":
1013
+ case "xxx":
1014
+ default:
1015
+ return he(s, ":");
1016
+ }
1017
+ },
1018
+ // Timezone (GMT)
1019
+ O: function(e, a, n, i) {
1020
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
1021
+ switch (a) {
1022
+ case "O":
1023
+ case "OO":
1024
+ case "OOO":
1025
+ return "GMT" + ka(s, ":");
1026
+ case "OOOO":
1027
+ default:
1028
+ return "GMT" + he(s, ":");
1029
+ }
1030
+ },
1031
+ // Timezone (specific non-location)
1032
+ z: function(e, a, n, i) {
1033
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
1034
+ switch (a) {
1035
+ case "z":
1036
+ case "zz":
1037
+ case "zzz":
1038
+ return "GMT" + ka(s, ":");
1039
+ case "zzzz":
1040
+ default:
1041
+ return "GMT" + he(s, ":");
1042
+ }
1043
+ },
1044
+ // Seconds timestamp
1045
+ t: function(e, a, n, i) {
1046
+ var r = i._originalDate || e, s = Math.floor(r.getTime() / 1e3);
1047
+ return E(s, a.length);
1048
+ },
1049
+ // Milliseconds timestamp
1050
+ T: function(e, a, n, i) {
1051
+ var r = i._originalDate || e, s = r.getTime();
1052
+ return E(s, a.length);
1053
+ }
1054
+ };
1055
+ function ka(t, e) {
1056
+ var a = t > 0 ? "-" : "+", n = Math.abs(t), i = Math.floor(n / 60), r = n % 60;
1057
+ if (r === 0)
1058
+ return a + String(i);
1059
+ var s = e;
1060
+ return a + String(i) + s + E(r, 2);
1061
+ }
1062
+ function Ca(t, e) {
1063
+ if (t % 60 === 0) {
1064
+ var a = t > 0 ? "-" : "+";
1065
+ return a + E(Math.abs(t) / 60, 2);
1066
+ }
1067
+ return he(t, e);
1068
+ }
1069
+ function he(t, e) {
1070
+ var a = e || "", n = t > 0 ? "-" : "+", i = Math.abs(t), r = E(Math.floor(i / 60), 2), s = E(i % 60, 2);
1071
+ return n + r + a + s;
1072
+ }
1073
+ var Sa = function(e, a) {
1074
+ switch (e) {
1075
+ case "P":
1076
+ return a.date({
1077
+ width: "short"
1078
+ });
1079
+ case "PP":
1080
+ return a.date({
1081
+ width: "medium"
1082
+ });
1083
+ case "PPP":
1084
+ return a.date({
1085
+ width: "long"
1086
+ });
1087
+ case "PPPP":
1088
+ default:
1089
+ return a.date({
1090
+ width: "full"
1091
+ });
1092
+ }
1093
+ }, Va = function(e, a) {
1094
+ switch (e) {
1095
+ case "p":
1096
+ return a.time({
1097
+ width: "short"
1098
+ });
1099
+ case "pp":
1100
+ return a.time({
1101
+ width: "medium"
1102
+ });
1103
+ case "ppp":
1104
+ return a.time({
1105
+ width: "long"
1106
+ });
1107
+ case "pppp":
1108
+ default:
1109
+ return a.time({
1110
+ width: "full"
1111
+ });
1112
+ }
1113
+ }, en = function(e, a) {
1114
+ var n = e.match(/(P+)(p+)?/) || [], i = n[1], r = n[2];
1115
+ if (!r)
1116
+ return Sa(e, a);
1117
+ var s;
1118
+ switch (i) {
1119
+ case "P":
1120
+ s = a.dateTime({
1121
+ width: "short"
1122
+ });
1123
+ break;
1124
+ case "PP":
1125
+ s = a.dateTime({
1126
+ width: "medium"
1127
+ });
1128
+ break;
1129
+ case "PPP":
1130
+ s = a.dateTime({
1131
+ width: "long"
1132
+ });
1133
+ break;
1134
+ case "PPPP":
1135
+ default:
1136
+ s = a.dateTime({
1137
+ width: "full"
1138
+ });
1139
+ break;
1140
+ }
1141
+ return s.replace("{{date}}", Sa(i, a)).replace("{{time}}", Va(r, a));
1142
+ }, an = {
1143
+ p: Va,
1144
+ P: en
1145
+ }, tn = ["D", "DD"], nn = ["YY", "YYYY"];
1146
+ function rn(t) {
1147
+ return tn.indexOf(t) !== -1;
1148
+ }
1149
+ function on(t) {
1150
+ return nn.indexOf(t) !== -1;
1151
+ }
1152
+ function Ma(t, e, a) {
1153
+ if (t === "YYYY")
1154
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1155
+ if (t === "YY")
1156
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1157
+ if (t === "D")
1158
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1159
+ if (t === "DD")
1160
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1161
+ }
1162
+ var sn = {
1163
+ lessThanXSeconds: {
1164
+ one: "less than a second",
1165
+ other: "less than {{count}} seconds"
1166
+ },
1167
+ xSeconds: {
1168
+ one: "1 second",
1169
+ other: "{{count}} seconds"
1170
+ },
1171
+ halfAMinute: "half a minute",
1172
+ lessThanXMinutes: {
1173
+ one: "less than a minute",
1174
+ other: "less than {{count}} minutes"
1175
+ },
1176
+ xMinutes: {
1177
+ one: "1 minute",
1178
+ other: "{{count}} minutes"
1179
+ },
1180
+ aboutXHours: {
1181
+ one: "about 1 hour",
1182
+ other: "about {{count}} hours"
1183
+ },
1184
+ xHours: {
1185
+ one: "1 hour",
1186
+ other: "{{count}} hours"
1187
+ },
1188
+ xDays: {
1189
+ one: "1 day",
1190
+ other: "{{count}} days"
1191
+ },
1192
+ aboutXWeeks: {
1193
+ one: "about 1 week",
1194
+ other: "about {{count}} weeks"
1195
+ },
1196
+ xWeeks: {
1197
+ one: "1 week",
1198
+ other: "{{count}} weeks"
1199
+ },
1200
+ aboutXMonths: {
1201
+ one: "about 1 month",
1202
+ other: "about {{count}} months"
1203
+ },
1204
+ xMonths: {
1205
+ one: "1 month",
1206
+ other: "{{count}} months"
1207
+ },
1208
+ aboutXYears: {
1209
+ one: "about 1 year",
1210
+ other: "about {{count}} years"
1211
+ },
1212
+ xYears: {
1213
+ one: "1 year",
1214
+ other: "{{count}} years"
1215
+ },
1216
+ overXYears: {
1217
+ one: "over 1 year",
1218
+ other: "over {{count}} years"
1219
+ },
1220
+ almostXYears: {
1221
+ one: "almost 1 year",
1222
+ other: "almost {{count}} years"
1223
+ }
1224
+ }, ln = function(e, a, n) {
1225
+ var i, r = sn[e];
1226
+ return typeof r == "string" ? i = r : a === 1 ? i = r.one : i = r.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
1227
+ };
1228
+ function da(t) {
1229
+ return function() {
1230
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
1231
+ return n;
1232
+ };
1233
+ }
1234
+ var un = {
1235
+ full: "EEEE, MMMM do, y",
1236
+ long: "MMMM do, y",
1237
+ medium: "MMM d, y",
1238
+ short: "MM/dd/yyyy"
1239
+ }, mn = {
1240
+ full: "h:mm:ss a zzzz",
1241
+ long: "h:mm:ss a z",
1242
+ medium: "h:mm:ss a",
1243
+ short: "h:mm a"
1244
+ }, cn = {
1245
+ full: "{{date}} 'at' {{time}}",
1246
+ long: "{{date}} 'at' {{time}}",
1247
+ medium: "{{date}}, {{time}}",
1248
+ short: "{{date}}, {{time}}"
1249
+ }, dn = {
1250
+ date: da({
1251
+ formats: un,
1252
+ defaultWidth: "full"
1253
+ }),
1254
+ time: da({
1255
+ formats: mn,
1256
+ defaultWidth: "full"
1257
+ }),
1258
+ dateTime: da({
1259
+ formats: cn,
1260
+ defaultWidth: "full"
1261
+ })
1262
+ }, fn = {
1263
+ lastWeek: "'last' eeee 'at' p",
1264
+ yesterday: "'yesterday at' p",
1265
+ today: "'today at' p",
1266
+ tomorrow: "'tomorrow at' p",
1267
+ nextWeek: "eeee 'at' p",
1268
+ other: "P"
1269
+ }, gn = function(e, a, n, i) {
1270
+ return fn[e];
1271
+ };
1272
+ function Ee(t) {
1273
+ return function(e, a) {
1274
+ var n = a != null && a.context ? String(a.context) : "standalone", i;
1275
+ if (n === "formatting" && t.formattingValues) {
1276
+ var r = t.defaultFormattingWidth || t.defaultWidth, s = a != null && a.width ? String(a.width) : r;
1277
+ i = t.formattingValues[s] || t.formattingValues[r];
1278
+ } else {
1279
+ var u = t.defaultWidth, m = a != null && a.width ? String(a.width) : t.defaultWidth;
1280
+ i = t.values[m] || t.values[u];
1281
+ }
1282
+ var c = t.argumentCallback ? t.argumentCallback(e) : e;
1283
+ return i[c];
1284
+ };
1285
+ }
1286
+ var hn = {
1287
+ narrow: ["B", "A"],
1288
+ abbreviated: ["BC", "AD"],
1289
+ wide: ["Before Christ", "Anno Domini"]
1290
+ }, vn = {
1291
+ narrow: ["1", "2", "3", "4"],
1292
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1293
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1294
+ }, pn = {
1295
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1296
+ abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
1297
+ wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
1298
+ }, _n = {
1299
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
1300
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1301
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
1302
+ wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1303
+ }, bn = {
1304
+ narrow: {
1305
+ am: "a",
1306
+ pm: "p",
1307
+ midnight: "mi",
1308
+ noon: "n",
1309
+ morning: "morning",
1310
+ afternoon: "afternoon",
1311
+ evening: "evening",
1312
+ night: "night"
1313
+ },
1314
+ abbreviated: {
1315
+ am: "AM",
1316
+ pm: "PM",
1317
+ midnight: "midnight",
1318
+ noon: "noon",
1319
+ morning: "morning",
1320
+ afternoon: "afternoon",
1321
+ evening: "evening",
1322
+ night: "night"
1323
+ },
1324
+ wide: {
1325
+ am: "a.m.",
1326
+ pm: "p.m.",
1327
+ midnight: "midnight",
1328
+ noon: "noon",
1329
+ morning: "morning",
1330
+ afternoon: "afternoon",
1331
+ evening: "evening",
1332
+ night: "night"
1333
+ }
1334
+ }, wn = {
1335
+ narrow: {
1336
+ am: "a",
1337
+ pm: "p",
1338
+ midnight: "mi",
1339
+ noon: "n",
1340
+ morning: "in the morning",
1341
+ afternoon: "in the afternoon",
1342
+ evening: "in the evening",
1343
+ night: "at night"
1344
+ },
1345
+ abbreviated: {
1346
+ am: "AM",
1347
+ pm: "PM",
1348
+ midnight: "midnight",
1349
+ noon: "noon",
1350
+ morning: "in the morning",
1351
+ afternoon: "in the afternoon",
1352
+ evening: "in the evening",
1353
+ night: "at night"
1354
+ },
1355
+ wide: {
1356
+ am: "a.m.",
1357
+ pm: "p.m.",
1358
+ midnight: "midnight",
1359
+ noon: "noon",
1360
+ morning: "in the morning",
1361
+ afternoon: "in the afternoon",
1362
+ evening: "in the evening",
1363
+ night: "at night"
1364
+ }
1365
+ }, yn = function(e, a) {
1366
+ var n = Number(e), i = n % 100;
1367
+ if (i > 20 || i < 10)
1368
+ switch (i % 10) {
1369
+ case 1:
1370
+ return n + "st";
1371
+ case 2:
1372
+ return n + "nd";
1373
+ case 3:
1374
+ return n + "rd";
1375
+ }
1376
+ return n + "th";
1377
+ }, kn = {
1378
+ ordinalNumber: yn,
1379
+ era: Ee({
1380
+ values: hn,
1381
+ defaultWidth: "wide"
1382
+ }),
1383
+ quarter: Ee({
1384
+ values: vn,
1385
+ defaultWidth: "wide",
1386
+ argumentCallback: function(e) {
1387
+ return e - 1;
1388
+ }
1389
+ }),
1390
+ month: Ee({
1391
+ values: pn,
1392
+ defaultWidth: "wide"
1393
+ }),
1394
+ day: Ee({
1395
+ values: _n,
1396
+ defaultWidth: "wide"
1397
+ }),
1398
+ dayPeriod: Ee({
1399
+ values: bn,
1400
+ defaultWidth: "wide",
1401
+ formattingValues: wn,
1402
+ defaultFormattingWidth: "wide"
1403
+ })
1404
+ };
1405
+ function Pe(t) {
1406
+ return function(e) {
1407
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, i = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], r = e.match(i);
1408
+ if (!r)
1409
+ return null;
1410
+ var s = r[0], u = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], m = Array.isArray(u) ? Sn(u, function(h) {
1411
+ return h.test(s);
1412
+ }) : Cn(u, function(h) {
1413
+ return h.test(s);
1414
+ }), c;
1415
+ c = t.valueCallback ? t.valueCallback(m) : m, c = a.valueCallback ? a.valueCallback(c) : c;
1416
+ var g = e.slice(s.length);
1417
+ return {
1418
+ value: c,
1419
+ rest: g
1420
+ };
1421
+ };
1422
+ }
1423
+ function Cn(t, e) {
1424
+ for (var a in t)
1425
+ if (t.hasOwnProperty(a) && e(t[a]))
1426
+ return a;
1427
+ }
1428
+ function Sn(t, e) {
1429
+ for (var a = 0; a < t.length; a++)
1430
+ if (e(t[a]))
1431
+ return a;
1432
+ }
1433
+ function Mn(t) {
1434
+ return function(e) {
1435
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.match(t.matchPattern);
1436
+ if (!n)
1437
+ return null;
1438
+ var i = n[0], r = e.match(t.parsePattern);
1439
+ if (!r)
1440
+ return null;
1441
+ var s = t.valueCallback ? t.valueCallback(r[0]) : r[0];
1442
+ s = a.valueCallback ? a.valueCallback(s) : s;
1443
+ var u = e.slice(i.length);
1444
+ return {
1445
+ value: s,
1446
+ rest: u
1447
+ };
1448
+ };
1449
+ }
1450
+ var Gn = /^(\d+)(th|st|nd|rd)?/i, Fn = /\d+/i, Tn = {
1451
+ narrow: /^(b|a)/i,
1452
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1453
+ wide: /^(before christ|before common era|anno domini|common era)/i
1454
+ }, zn = {
1455
+ any: [/^b/i, /^(a|c)/i]
1456
+ }, On = {
1457
+ narrow: /^[1234]/i,
1458
+ abbreviated: /^q[1234]/i,
1459
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1460
+ }, Dn = {
1461
+ any: [/1/i, /2/i, /3/i, /4/i]
1462
+ }, En = {
1463
+ narrow: /^[jfmasond]/i,
1464
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1465
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1466
+ }, Pn = {
1467
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
1468
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
1469
+ }, Nn = {
1470
+ narrow: /^[smtwf]/i,
1471
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1472
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1473
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1474
+ }, In = {
1475
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1476
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1477
+ }, Un = {
1478
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1479
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1480
+ }, Rn = {
1481
+ any: {
1482
+ am: /^a/i,
1483
+ pm: /^p/i,
1484
+ midnight: /^mi/i,
1485
+ noon: /^no/i,
1486
+ morning: /morning/i,
1487
+ afternoon: /afternoon/i,
1488
+ evening: /evening/i,
1489
+ night: /night/i
1490
+ }
1491
+ }, Ln = {
1492
+ ordinalNumber: Mn({
1493
+ matchPattern: Gn,
1494
+ parsePattern: Fn,
1495
+ valueCallback: function(e) {
1496
+ return parseInt(e, 10);
1497
+ }
1498
+ }),
1499
+ era: Pe({
1500
+ matchPatterns: Tn,
1501
+ defaultMatchWidth: "wide",
1502
+ parsePatterns: zn,
1503
+ defaultParseWidth: "any"
1504
+ }),
1505
+ quarter: Pe({
1506
+ matchPatterns: On,
1507
+ defaultMatchWidth: "wide",
1508
+ parsePatterns: Dn,
1509
+ defaultParseWidth: "any",
1510
+ valueCallback: function(e) {
1511
+ return e + 1;
1512
+ }
1513
+ }),
1514
+ month: Pe({
1515
+ matchPatterns: En,
1516
+ defaultMatchWidth: "wide",
1517
+ parsePatterns: Pn,
1518
+ defaultParseWidth: "any"
1519
+ }),
1520
+ day: Pe({
1521
+ matchPatterns: Nn,
1522
+ defaultMatchWidth: "wide",
1523
+ parsePatterns: In,
1524
+ defaultParseWidth: "any"
1525
+ }),
1526
+ dayPeriod: Pe({
1527
+ matchPatterns: Un,
1528
+ defaultMatchWidth: "any",
1529
+ parsePatterns: Rn,
1530
+ defaultParseWidth: "any"
1531
+ })
1532
+ }, An = {
1533
+ code: "en-US",
1534
+ formatDistance: ln,
1535
+ formatLong: dn,
1536
+ formatRelative: gn,
1537
+ localize: kn,
1538
+ match: Ln,
1539
+ options: {
1540
+ weekStartsOn: 0,
1541
+ firstWeekContainsDate: 1
1542
+ }
1543
+ }, jn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Wn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Yn = /^'([^]*?)'?$/, qn = /''/g, Hn = /[a-zA-Z]/;
1544
+ function Ti(t, e, a) {
1545
+ var n, i, r, s, u, m, c, g, h, _, b, k, w, f;
1546
+ j(2, arguments);
1547
+ var d = String(e), P = Ze(), z = (n = (i = void 0) !== null && i !== void 0 ? i : P.locale) !== null && n !== void 0 ? n : An, y = ve((r = (s = (u = (m = void 0) !== null && m !== void 0 ? m : void 0) !== null && u !== void 0 ? u : P.firstWeekContainsDate) !== null && s !== void 0 ? s : (c = P.locale) === null || c === void 0 || (g = c.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
1548
+ if (!(y >= 1 && y <= 7))
1549
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1550
+ var B = ve((h = (_ = (b = (k = void 0) !== null && k !== void 0 ? k : void 0) !== null && b !== void 0 ? b : P.weekStartsOn) !== null && _ !== void 0 ? _ : (w = P.locale) === null || w === void 0 || (f = w.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && h !== void 0 ? h : 0);
1551
+ if (!(B >= 0 && B <= 6))
1552
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1553
+ if (!z.localize)
1554
+ throw new RangeError("locale must contain localize property");
1555
+ if (!z.formatLong)
1556
+ throw new RangeError("locale must contain formatLong property");
1557
+ var ae = H(t);
1558
+ if (!qt(ae))
1559
+ throw new RangeError("Invalid time value");
1560
+ var pe = Wt(ae), Ie = Ht(ae, pe), Ue = {
1561
+ firstWeekContainsDate: y,
1562
+ weekStartsOn: B,
1563
+ locale: z,
1564
+ _originalDate: ae
1565
+ }, de = d.match(Wn).map(function(W) {
1566
+ var X = W[0];
1567
+ if (X === "p" || X === "P") {
1568
+ var te = an[X];
1569
+ return te(W, z.formatLong);
1570
+ }
1571
+ return W;
1572
+ }).join("").match(jn).map(function(W) {
1573
+ if (W === "''")
1574
+ return "'";
1575
+ var X = W[0];
1576
+ if (X === "'")
1577
+ return Vn(W);
1578
+ var te = $t[X];
1579
+ if (te)
1580
+ return on(W) && Ma(W, e, String(t)), rn(W) && Ma(W, e, String(t)), te(Ie, W, z.localize, Ue);
1581
+ if (X.match(Hn))
1582
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + X + "`");
1583
+ return W;
1584
+ }).join("");
1585
+ return de;
1586
+ }
1587
+ function Vn(t) {
1588
+ var e = t.match(Yn);
1589
+ return e ? e[1].replace(qn, "'") : t;
1590
+ }
1591
+ function Bn(t, e) {
1592
+ j(2, arguments);
1593
+ var a = H(t), n = H(e);
1594
+ return a.getTime() > n.getTime();
1595
+ }
1596
+ function Xn(t, e) {
1597
+ j(2, arguments);
1598
+ var a = H(t), n = H(e);
1599
+ return a.getTime() < n.getTime();
1600
+ }
1601
+ if (typeof window != "undefined") {
1602
+ let t = function(e) {
1603
+ return function(...a) {
1604
+ try {
1605
+ return e.apply(this, a);
1606
+ } catch (n) {
1607
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1608
+ return !1;
1609
+ throw n;
1610
+ }
1611
+ };
1612
+ };
1613
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-DoWO2XT4.js").then(({ default: e }) => {
1614
+ !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
1615
+ });
1616
+ }
1617
+ if (typeof window != "undefined") {
1618
+ let t = function(e) {
1619
+ return function(...a) {
1620
+ try {
1621
+ return e.apply(this, a);
1622
+ } catch (n) {
1623
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1624
+ return !1;
1625
+ throw n;
1626
+ }
1627
+ };
1628
+ };
1629
+ customElements.define = t(customElements.define), import("./CasinoFilter-CZ5MibUb.js").then(({ default: e }) => {
1630
+ !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
1631
+ });
1632
+ }
1633
+ if (typeof window != "undefined") {
1634
+ let t = function(e) {
1635
+ return function(...a) {
1636
+ try {
1637
+ return e.apply(this, a);
1638
+ } catch (n) {
1639
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1640
+ return !1;
1641
+ throw n;
1642
+ }
1643
+ };
1644
+ };
1645
+ customElements.define = t(customElements.define), import("./CasinoSort-CivOK-Iv.js").then(({ default: e }) => {
1646
+ !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
1647
+ });
1648
+ }
1649
+ function Jn(t) {
1650
+ Ct(t, "svelte-3d5n3f", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw--casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw--casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName,.GameContainer.CasinoGamesGridSlider .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 10px)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{gap:2px}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, #22B04E);border-color:var(--emw--casino-color-primary, #22B04E) transparent var(--emw--casino-color-primary, #22B04E);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw--casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}');
1651
+ }
1652
+ function Ga(t, e, a) {
1653
+ const n = t.slice();
1654
+ return n[100] = e[a], n[102] = a, n;
1655
+ }
1656
+ function Fa(t, e, a) {
1657
+ const n = t.slice();
1658
+ return n[100] = e[a], n[103] = e, n[102] = a, n;
1659
+ }
1660
+ function Ta(t, e, a) {
1661
+ const n = t.slice();
1662
+ return n[100] = e[a], n[102] = a, n;
1663
+ }
1664
+ function Qn(t) {
1665
+ let e;
1666
+ function a(r, s) {
1667
+ if (
1668
+ /*categoryData*/
1669
+ r[28]
1670
+ )
1671
+ return $n;
1672
+ if (
1673
+ /*showFavGamesCategory*/
1674
+ r[39]
1675
+ )
1676
+ return xn;
1677
+ }
1678
+ let n = a(t), i = n && n(t);
1679
+ return {
1680
+ c() {
1681
+ e = T("div"), i && i.c();
1682
+ },
1683
+ m(r, s) {
1684
+ F(r, e, s), i && i.m(e, null);
1685
+ },
1686
+ p(r, s) {
1687
+ n === (n = a(r)) && i ? i.p(r, s) : (i && i.d(1), i = n && n(r), i && (i.c(), i.m(e, null)));
1688
+ },
1689
+ d(r) {
1690
+ r && G(e), i && i.d();
1691
+ }
1692
+ };
1693
+ }
1694
+ function Kn(t) {
1695
+ let e, a, n;
1696
+ function i(g, h) {
1697
+ return (
1698
+ /*recentSearched*/
1699
+ g[32] ? _i : (
1700
+ /*shownCategoryData*/
1701
+ g[29].length ? vi : pi
1702
+ )
1703
+ );
1704
+ }
1705
+ let r = i(t), s = r(t);
1706
+ function u(g, h) {
1707
+ return (
1708
+ /*shownCategoryData*/
1709
+ g[29] ? wi : bi
1710
+ );
1711
+ }
1712
+ let m = u(t), c = m(t);
1713
+ return {
1714
+ c() {
1715
+ e = T("div"), a = T("div"), s.c(), n = x(), c.c(), v(a, "class", "CasinoGamesHeader Searched " + (Ne(
1716
+ /*userAgent*/
1717
+ t[44]
1718
+ ) ? "CasinoGamesHeaderMobile" : "")), v(e, "class", "CasinoGamesContainer");
1719
+ },
1720
+ m(g, h) {
1721
+ F(g, e, h), M(e, a), s.m(a, null), M(e, n), c.m(e, null);
1722
+ },
1723
+ p(g, h) {
1724
+ r === (r = i(g)) && s ? s.p(g, h) : (s.d(1), s = r(g), s && (s.c(), s.m(a, null))), m === (m = u(g)) && c ? c.p(g, h) : (c.d(1), c = m(g), c && (c.c(), c.m(e, null)));
1725
+ },
1726
+ d(g) {
1727
+ g && G(e), s.d(), c.d();
1728
+ }
1729
+ };
1730
+ }
1731
+ function Zn(t) {
1732
+ let e;
1733
+ function a(r, s) {
1734
+ return (
1735
+ /*presentFilters*/
1736
+ r[34] ? ki : yi
1737
+ );
1738
+ }
1739
+ let n = a(t), i = n(t);
1740
+ return {
1741
+ c() {
1742
+ i.c(), e = oe();
1743
+ },
1744
+ m(r, s) {
1745
+ i.m(r, s), F(r, e, s);
1746
+ },
1747
+ p(r, s) {
1748
+ n !== (n = a(r)) && (i.d(1), i = n(r), i && (i.c(), i.m(e.parentNode, e)));
1749
+ },
1750
+ d(r) {
1751
+ r && G(e), i.d(r);
1752
+ }
1753
+ };
1754
+ }
1755
+ function xn(t) {
1756
+ let e, a, n, i, r = (
1757
+ /*casinomygames*/
1758
+ t[19] !== "true" && za(t)
1759
+ );
1760
+ function s(c, g) {
1761
+ return (
1762
+ /*isLoading*/
1763
+ c[25] && !/*isLazyLoading*/
1764
+ c[36] ? ti : (
1765
+ /*favoriteGamesData*/
1766
+ c[42] ? ai : ei
1767
+ )
1768
+ );
1769
+ }
1770
+ let u = s(t), m = u(t);
1771
+ return {
1772
+ c() {
1773
+ e = T("div"), r && r.c(), a = x(), n = T("ul"), m.c(), v(n, "class", i = /*favoriteGamesData*/
1774
+ (t[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), v(e, "class", "CasinoGamesContainer");
1775
+ },
1776
+ m(c, g) {
1777
+ F(c, e, g), r && r.m(e, null), M(e, a), M(e, n), m.m(n, null), t[63](n);
1778
+ },
1779
+ p(c, g) {
1780
+ /*casinomygames*/
1781
+ c[19] !== "true" ? r ? r.p(c, g) : (r = za(c), r.c(), r.m(e, a)) : r && (r.d(1), r = null), u === (u = s(c)) && m ? m.p(c, g) : (m.d(1), m = u(c), m && (m.c(), m.m(n, null))), g[1] & /*favoriteGamesData*/
1782
+ 2048 && i !== (i = /*favoriteGamesData*/
1783
+ (c[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && v(n, "class", i);
1784
+ },
1785
+ d(c) {
1786
+ c && G(e), r && r.d(), m.d(), t[63](null);
1787
+ }
1788
+ };
1789
+ }
1790
+ function $n(t) {
1791
+ let e, a, n = (
1792
+ /*casinomygames*/
1793
+ t[19] !== "true" && Ia(t)
1794
+ );
1795
+ function i(u, m) {
1796
+ return (
1797
+ /*isLoading*/
1798
+ u[25] && !/*isLazyLoading*/
1799
+ u[36] ? gi : (
1800
+ /*shownCategoryData*/
1801
+ u[29].length !== 0 ? fi : di
1802
+ )
1803
+ );
1804
+ }
1805
+ let r = i(t), s = r(t);
1806
+ return {
1807
+ c() {
1808
+ e = T("div"), n && n.c(), a = x(), s.c(), v(e, "class", "CasinoGamesContainer");
1809
+ },
1810
+ m(u, m) {
1811
+ F(u, e, m), n && n.m(e, null), M(e, a), s.m(e, null);
1812
+ },
1813
+ p(u, m) {
1814
+ /*casinomygames*/
1815
+ u[19] !== "true" ? n ? n.p(u, m) : (n = Ia(u), n.c(), n.m(e, a)) : n && (n.d(1), n = null), r === (r = i(u)) && s ? s.p(u, m) : (s.d(1), s = r(u), s && (s.c(), s.m(e, null)));
1816
+ },
1817
+ d(u) {
1818
+ u && G(e), n && n.d(), s.d();
1819
+ }
1820
+ };
1821
+ }
1822
+ function za(t) {
1823
+ let e, a, n = (
1824
+ /*$_*/
1825
+ t[43]("favorites") + ""
1826
+ ), i, r, s, u, m = (
1827
+ /*favoriteGamesData*/
1828
+ t[42].items.length + ""
1829
+ ), c, g;
1830
+ return {
1831
+ c() {
1832
+ e = T("div"), a = T("h3"), i = A(n), r = x(), s = T("span"), u = A("("), c = A(m), g = A(")"), v(s, "class", "CategoryFavName"), v(a, "class", "CategoryName"), v(e, "class", "CasinoGamesHeader");
1833
+ },
1834
+ m(h, _) {
1835
+ F(h, e, _), M(e, a), M(a, i), M(a, r), M(a, s), M(s, u), M(s, c), M(s, g), t[62](a);
1836
+ },
1837
+ p(h, _) {
1838
+ _[1] & /*$_*/
1839
+ 4096 && n !== (n = /*$_*/
1840
+ h[43]("favorites") + "") && V(i, n), _[1] & /*favoriteGamesData*/
1841
+ 2048 && m !== (m = /*favoriteGamesData*/
1842
+ h[42].items.length + "") && V(c, m);
1843
+ },
1844
+ d(h) {
1845
+ h && G(e), t[62](null);
1846
+ }
1847
+ };
1848
+ }
1849
+ function ei(t) {
1850
+ let e, a = (
1851
+ /*$_*/
1852
+ t[43]("waiting") + ""
1853
+ ), n;
1854
+ return {
1855
+ c() {
1856
+ e = T("p"), n = A(a);
1857
+ },
1858
+ m(i, r) {
1859
+ F(i, e, r), M(e, n);
1860
+ },
1861
+ p(i, r) {
1862
+ r[1] & /*$_*/
1863
+ 4096 && a !== (a = /*$_*/
1864
+ i[43]("waiting") + "") && V(n, a);
1865
+ },
1866
+ d(i) {
1867
+ i && G(e);
1868
+ }
1869
+ };
1870
+ }
1871
+ function ai(t) {
1872
+ let e, a = Ce(
1873
+ /*favoriteGamesData*/
1874
+ t[42].items
1875
+ ), n = [];
1876
+ for (let r = 0; r < a.length; r += 1)
1877
+ n[r] = Na(Ga(t, a, r));
1878
+ let i = null;
1879
+ return a.length || (i = Oa(t)), {
1880
+ c() {
1881
+ for (let r = 0; r < n.length; r += 1)
1882
+ n[r].c();
1883
+ e = oe(), i && i.c();
1884
+ },
1885
+ m(r, s) {
1886
+ for (let u = 0; u < n.length; u += 1)
1887
+ n[u] && n[u].m(r, s);
1888
+ F(r, e, s), i && i.m(r, s);
1889
+ },
1890
+ p(r, s) {
1891
+ if (s[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, mbsource*/
1892
+ 524265 | s[1] & /*favoriteGamesData, getRequiredIcon, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
1893
+ 65280) {
1894
+ a = Ce(
1895
+ /*favoriteGamesData*/
1896
+ r[42].items
1897
+ );
1898
+ let u;
1899
+ for (u = 0; u < a.length; u += 1) {
1900
+ const m = Ga(r, a, u);
1901
+ n[u] ? n[u].p(m, s) : (n[u] = Na(m), n[u].c(), n[u].m(e.parentNode, e));
1902
+ }
1903
+ for (; u < n.length; u += 1)
1904
+ n[u].d(1);
1905
+ n.length = a.length, !a.length && i ? i.p(r, s) : a.length ? i && (i.d(1), i = null) : (i = Oa(r), i.c(), i.m(e.parentNode, e));
1906
+ }
1907
+ },
1908
+ d(r) {
1909
+ r && G(e), zt(n, r), i && i.d(r);
1910
+ }
1911
+ };
1912
+ }
1913
+ function ti(t) {
1914
+ let e;
1915
+ return {
1916
+ c() {
1917
+ e = T("div"), v(e, "class", "lds-dual-ring");
1918
+ },
1919
+ m(a, n) {
1920
+ F(a, e, n);
1921
+ },
1922
+ p: ke,
1923
+ d(a) {
1924
+ a && G(e);
1925
+ }
1926
+ };
1927
+ }
1928
+ function Oa(t) {
1929
+ let e, a, n, i, r, s, u, m, c, g, h, _ = (
1930
+ /*$_*/
1931
+ t[43]("noFavoritesTitle") + ""
1932
+ ), b, k, w;
1933
+ function f(z, y) {
1934
+ return Ne(
1935
+ /*userAgent*/
1936
+ z[44]
1937
+ ) ? ii : ni;
1938
+ }
1939
+ let P = f(t)(t);
1940
+ return {
1941
+ c() {
1942
+ e = T("p"), a = ue("svg"), n = ue("rect"), i = ue("rect"), r = ue("circle"), s = ue("path"), u = ue("path"), m = ue("path"), c = ue("path"), g = x(), h = T("span"), b = A(_), k = x(), P.c(), w = x(), v(n, "x", "1"), v(n, "y", "18.053"), v(n, "width", "90.263"), v(n, "height", "90.263"), v(n, "rx", "12"), v(n, "stroke", "var(--emw--color-gray-150, #828282)"), v(n, "stroke-width", "1.5"), v(i, "x", "106.737"), v(i, "y", "56.737"), v(i, "width", "90.263"), v(i, "height", "90.263"), v(i, "rx", "12"), v(i, "stroke", "var(--emw--color-gray-150, #828282)"), v(i, "stroke-width", "1.5"), v(r, "cx", "70.5"), v(r, "cy", "32.237"), v(r, "r", "31.487"), v(r, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(r, "stroke-width", "1.5"), v(r, "stroke-dasharray", "5 0"), v(s, "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"), v(s, "fill", "var(--emw--color-gray-150, #828282)"), v(u, "d", "M78 43h11v13H78V43z"), v(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "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"), v(m, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "stroke-linecap", "round"), v(m, "stroke-linejoin", "round"), v(c, "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"), v(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(c, "stroke-width", "1.5"), v(c, "stroke-linecap", "round"), v(c, "stroke-linejoin", "round"), v(a, "width", "198"), v(a, "height", "148"), v(a, "viewBox", "0 0 198 148"), v(a, "fill", "none"), v(a, "xmlns", "http://www.w3.org/2000/svg"), v(h, "class", "NoFavoriteText NoFavoriteTextHighlight"), v(e, "class", "NoFavoriteGames " + (Ne(
1943
+ /*userAgent*/
1944
+ t[44]
1945
+ ) ? "NoFavoriteGamesMobile" : ""));
1946
+ },
1947
+ m(z, y) {
1948
+ F(z, e, y), M(e, a), M(a, n), M(a, i), M(a, r), M(a, s), M(a, u), M(a, m), M(a, c), M(e, g), M(e, h), M(h, b), M(e, k), P.m(e, null), M(e, w);
1949
+ },
1950
+ p(z, y) {
1951
+ y[1] & /*$_*/
1952
+ 4096 && _ !== (_ = /*$_*/
1953
+ z[43]("noFavoritesTitle") + "") && V(b, _), P.p(z, y);
1954
+ },
1955
+ d(z) {
1956
+ z && G(e), P.d();
1957
+ }
1958
+ };
1959
+ }
1960
+ function ni(t) {
1961
+ let e, a = (
1962
+ /*$_*/
1963
+ t[43]("noFavorites") + ""
1964
+ ), n;
1965
+ return {
1966
+ c() {
1967
+ e = T("span"), n = A(a), v(e, "class", "NoFavoriteText");
1968
+ },
1969
+ m(i, r) {
1970
+ F(i, e, r), M(e, n);
1971
+ },
1972
+ p(i, r) {
1973
+ r[1] & /*$_*/
1974
+ 4096 && a !== (a = /*$_*/
1975
+ i[43]("noFavorites") + "") && V(n, a);
1976
+ },
1977
+ d(i) {
1978
+ i && G(e);
1979
+ }
1980
+ };
1981
+ }
1982
+ function ii(t) {
1983
+ let e, a = (
1984
+ /*$_*/
1985
+ t[43]("noFavoritesMobile") + ""
1986
+ ), n;
1987
+ return {
1988
+ c() {
1989
+ e = T("span"), n = A(a), v(e, "class", "NoFavoriteText");
1990
+ },
1991
+ m(i, r) {
1992
+ F(i, e, r), M(e, n);
1993
+ },
1994
+ p(i, r) {
1995
+ r[1] & /*$_*/
1996
+ 4096 && a !== (a = /*$_*/
1997
+ i[43]("noFavoritesMobile") + "") && V(n, a);
1998
+ },
1999
+ d(i) {
2000
+ i && G(e);
2001
+ }
2002
+ };
2003
+ }
2004
+ function Da(t) {
2005
+ let e, a = (
2006
+ /*gameprops*/
2007
+ t[100].gameModel.isFavorite && Ea(t)
2008
+ );
2009
+ return {
2010
+ c() {
2011
+ a && a.c(), e = oe();
2012
+ },
2013
+ m(n, i) {
2014
+ a && a.m(n, i), F(n, e, i);
2015
+ },
2016
+ p(n, i) {
2017
+ /*gameprops*/
2018
+ n[100].gameModel.isFavorite ? a ? a.p(n, i) : (a = Ea(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
2019
+ },
2020
+ d(n) {
2021
+ n && G(e), a && a.d(n);
2022
+ }
2023
+ };
2024
+ }
2025
+ function Ea(t) {
2026
+ let e, a = ri(t);
2027
+ return {
2028
+ c() {
2029
+ a && a.c(), e = oe();
2030
+ },
2031
+ m(n, i) {
2032
+ a && a.m(n, i), F(n, e, i);
2033
+ },
2034
+ p(n, i) {
2035
+ a.p(n, i);
2036
+ },
2037
+ d(n) {
2038
+ n && G(e), a && a.d(n);
2039
+ }
2040
+ };
2041
+ }
2042
+ function ri(t) {
2043
+ let e, a, n;
2044
+ function i(u, m) {
2045
+ if (m[1] & /*favoriteGamesData*/
2046
+ 2048 && (a = null), e == null && (e = !!Ne(
2047
+ /*userAgent*/
2048
+ u[44]
2049
+ )), e)
2050
+ return si;
2051
+ if (a == null && (a = !!/*gameprops*/
2052
+ u[100].gameModel.platform.includes("PC")), a)
2053
+ return oi;
2054
+ }
2055
+ let r = i(t, [-1, -1, -1, -1]), s = r && r(t);
2056
+ return {
2057
+ c() {
2058
+ s && s.c(), n = oe();
2059
+ },
2060
+ m(u, m) {
2061
+ s && s.m(u, m), F(u, n, m);
2062
+ },
2063
+ p(u, m) {
2064
+ r === (r = i(u, m)) && s ? s.p(u, m) : (s && s.d(1), s = r && r(u), s && (s.c(), s.m(n.parentNode, n)));
2065
+ },
2066
+ d(u) {
2067
+ u && G(n), s && s.d(u);
2068
+ }
2069
+ };
2070
+ }
2071
+ function oi(t) {
2072
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w;
2073
+ return {
2074
+ c() {
2075
+ var f, d;
2076
+ e = T("casino-game-thumbnail-nd"), o(e, "class", a = "" + (ce + /*gameprops*/
2077
+ (t[100].cellSize ? (
2078
+ /*gameprops*/
2079
+ t[100].cellSize
2080
+ ) : "1x1"))), o(
2081
+ e,
2082
+ "session",
2083
+ /*session*/
2084
+ t[6]
2085
+ ), o(
2086
+ e,
2087
+ "userid",
2088
+ /*userid*/
2089
+ t[7]
2090
+ ), o(
2091
+ e,
2092
+ "lang",
2093
+ /*lang*/
2094
+ t[5]
2095
+ ), o(
2096
+ e,
2097
+ "translationurl",
2098
+ /*translationurl*/
2099
+ t[12]
2100
+ ), o(
2101
+ e,
2102
+ "favorites",
2103
+ /*favorites*/
2104
+ t[8]
2105
+ ), o(
2106
+ e,
2107
+ "categoryid",
2108
+ /*categoryid*/
2109
+ t[0]
2110
+ ), o(e, "gamethumbnail", n = /*gameprops*/
2111
+ t[100].gameModel.thumbnail), o(e, "icon", i = /*getRequiredIcon*/
2112
+ t[46](
2113
+ /*gameprops*/
2114
+ (f = t[100]) == null ? void 0 : f.icons
2115
+ )), o(e, "gamename", r = /*gameprops*/
2116
+ t[100].gameModel.name), o(e, "gamevendor", s = /*gameprops*/
2117
+ t[100].gameModel.vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
2118
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
2119
+ t[100].gameModel.isNew), o(e, "gametag", c = /*addGameTag*/
2120
+ t[45](
2121
+ /*gameprops*/
2122
+ (d = t[100].gameModel) == null ? void 0 : d.advancedTags
2123
+ )), o(e, "gamecellsize", g = /*gameprops*/
2124
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
2125
+ t[100].gameModel.id), o(e, "gamefunmode", _ = /*gameprops*/
2126
+ t[100].gameModel.hasFunMode), o(
2127
+ e,
2128
+ "showgamename",
2129
+ /*showgamename*/
2130
+ t[14]
2131
+ ), o(e, "gamefavorite", b = /*gameprops*/
2132
+ t[100].gameModel.isFavorite), o(
2133
+ e,
2134
+ "showfavoredcategory",
2135
+ /*showFavGamesCategory*/
2136
+ t[39]
2137
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
2138
+ t[40][
2139
+ /*gameprops*/
2140
+ t[100].id
2141
+ ] == 1 ? "connect" : "disconnect"), o(
2142
+ e,
2143
+ "visibilityconnect",
2144
+ /*visibilityconnect*/
2145
+ t[41]
2146
+ ), o(
2147
+ e,
2148
+ "currency",
2149
+ /*currency*/
2150
+ t[13]
2151
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
2152
+ t[100].gameModel.details ? (
2153
+ /*gameprops*/
2154
+ t[100].gameModel.launchUrl
2155
+ ) : ""), o(
2156
+ e,
2157
+ "clientstyling",
2158
+ /*clientstyling*/
2159
+ t[10]
2160
+ ), o(
2161
+ e,
2162
+ "clientstylingurl",
2163
+ /*clientstylingurl*/
2164
+ t[11]
2165
+ ), o(
2166
+ e,
2167
+ "endpoint",
2168
+ /*endpoint*/
2169
+ t[3]
2170
+ ), o(
2171
+ e,
2172
+ "livecasino",
2173
+ /*livecasino*/
2174
+ t[15]
2175
+ ), o(
2176
+ e,
2177
+ "gamepagemodalurl",
2178
+ /*gamepagemodalurl*/
2179
+ t[16]
2180
+ ), o(
2181
+ e,
2182
+ "integratedgameframedesktop",
2183
+ /*integratedgameframedesktop*/
2184
+ t[17]
2185
+ ), o(
2186
+ e,
2187
+ "integratedgameframemobile",
2188
+ /*integratedgameframemobile*/
2189
+ t[18]
2190
+ ), o(
2191
+ e,
2192
+ "mbsource",
2193
+ /*mbsource*/
2194
+ t[9]
2195
+ );
2196
+ },
2197
+ m(f, d) {
2198
+ F(f, e, d);
2199
+ },
2200
+ p(f, d) {
2201
+ var P, z;
2202
+ d[1] & /*favoriteGamesData*/
2203
+ 2048 && a !== (a = "" + (ce + /*gameprops*/
2204
+ (f[100].cellSize ? (
2205
+ /*gameprops*/
2206
+ f[100].cellSize
2207
+ ) : "1x1"))) && o(e, "class", a), d[0] & /*session*/
2208
+ 64 && o(
2209
+ e,
2210
+ "session",
2211
+ /*session*/
2212
+ f[6]
2213
+ ), d[0] & /*userid*/
2214
+ 128 && o(
2215
+ e,
2216
+ "userid",
2217
+ /*userid*/
2218
+ f[7]
2219
+ ), d[0] & /*lang*/
2220
+ 32 && o(
2221
+ e,
2222
+ "lang",
2223
+ /*lang*/
2224
+ f[5]
2225
+ ), d[0] & /*translationurl*/
2226
+ 4096 && o(
2227
+ e,
2228
+ "translationurl",
2229
+ /*translationurl*/
2230
+ f[12]
2231
+ ), d[0] & /*favorites*/
2232
+ 256 && o(
2233
+ e,
2234
+ "favorites",
2235
+ /*favorites*/
2236
+ f[8]
2237
+ ), d[0] & /*categoryid*/
2238
+ 1 && o(
2239
+ e,
2240
+ "categoryid",
2241
+ /*categoryid*/
2242
+ f[0]
2243
+ ), d[1] & /*favoriteGamesData*/
2244
+ 2048 && n !== (n = /*gameprops*/
2245
+ f[100].gameModel.thumbnail) && o(e, "gamethumbnail", n), d[1] & /*favoriteGamesData*/
2246
+ 2048 && i !== (i = /*getRequiredIcon*/
2247
+ f[46](
2248
+ /*gameprops*/
2249
+ (P = f[100]) == null ? void 0 : P.icons
2250
+ )) && o(e, "icon", i), d[1] & /*favoriteGamesData*/
2251
+ 2048 && r !== (r = /*gameprops*/
2252
+ f[100].gameModel.name) && o(e, "gamename", r), d[1] & /*favoriteGamesData*/
2253
+ 2048 && s !== (s = /*gameprops*/
2254
+ f[100].gameModel.vendor.logo) && o(e, "gamevendor", s), d[1] & /*favoriteGamesData*/
2255
+ 2048 && u !== (u = /*gameprops*/
2256
+ f[100].launchUrl) && o(e, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
2257
+ 2048 && m !== (m = /*gameprops*/
2258
+ f[100].gameModel.isNew) && o(e, "gameisnew", m), d[1] & /*favoriteGamesData*/
2259
+ 2048 && c !== (c = /*addGameTag*/
2260
+ f[45](
2261
+ /*gameprops*/
2262
+ (z = f[100].gameModel) == null ? void 0 : z.advancedTags
2263
+ )) && o(e, "gametag", c), d[1] & /*favoriteGamesData*/
2264
+ 2048 && g !== (g = /*gameprops*/
2265
+ f[100].cellSize) && o(e, "gamecellsize", g), d[1] & /*favoriteGamesData*/
2266
+ 2048 && h !== (h = /*gameprops*/
2267
+ f[100].gameModel.id) && o(e, "gameid", h), d[1] & /*favoriteGamesData*/
2268
+ 2048 && _ !== (_ = /*gameprops*/
2269
+ f[100].gameModel.hasFunMode) && o(e, "gamefunmode", _), d[0] & /*showgamename*/
2270
+ 16384 && o(
2271
+ e,
2272
+ "showgamename",
2273
+ /*showgamename*/
2274
+ f[14]
2275
+ ), d[1] & /*favoriteGamesData*/
2276
+ 2048 && b !== (b = /*gameprops*/
2277
+ f[100].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
2278
+ 256 && o(
2279
+ e,
2280
+ "showfavoredcategory",
2281
+ /*showFavGamesCategory*/
2282
+ f[39]
2283
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
2284
+ 2560 && k !== (k = /*intersectingIndexes*/
2285
+ f[40][
2286
+ /*gameprops*/
2287
+ f[100].id
2288
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), d[1] & /*visibilityconnect*/
2289
+ 1024 && o(
2290
+ e,
2291
+ "visibilityconnect",
2292
+ /*visibilityconnect*/
2293
+ f[41]
2294
+ ), d[0] & /*currency*/
2295
+ 8192 && o(
2296
+ e,
2297
+ "currency",
2298
+ /*currency*/
2299
+ f[13]
2300
+ ), d[1] & /*favoriteGamesData*/
2301
+ 2048 && w !== (w = /*gameprops*/
2302
+ f[100].gameModel.details ? (
2303
+ /*gameprops*/
2304
+ f[100].gameModel.launchUrl
2305
+ ) : "") && o(e, "livelobbyendpoint", w), d[0] & /*clientstyling*/
2306
+ 1024 && o(
2307
+ e,
2308
+ "clientstyling",
2309
+ /*clientstyling*/
2310
+ f[10]
2311
+ ), d[0] & /*clientstylingurl*/
2312
+ 2048 && o(
2313
+ e,
2314
+ "clientstylingurl",
2315
+ /*clientstylingurl*/
2316
+ f[11]
2317
+ ), d[0] & /*endpoint*/
2318
+ 8 && o(
2319
+ e,
2320
+ "endpoint",
2321
+ /*endpoint*/
2322
+ f[3]
2323
+ ), d[0] & /*livecasino*/
2324
+ 32768 && o(
2325
+ e,
2326
+ "livecasino",
2327
+ /*livecasino*/
2328
+ f[15]
2329
+ ), d[0] & /*gamepagemodalurl*/
2330
+ 65536 && o(
2331
+ e,
2332
+ "gamepagemodalurl",
2333
+ /*gamepagemodalurl*/
2334
+ f[16]
2335
+ ), d[0] & /*integratedgameframedesktop*/
2336
+ 131072 && o(
2337
+ e,
2338
+ "integratedgameframedesktop",
2339
+ /*integratedgameframedesktop*/
2340
+ f[17]
2341
+ ), d[0] & /*integratedgameframemobile*/
2342
+ 262144 && o(
2343
+ e,
2344
+ "integratedgameframemobile",
2345
+ /*integratedgameframemobile*/
2346
+ f[18]
2347
+ ), d[0] & /*mbsource*/
2348
+ 512 && o(
2349
+ e,
2350
+ "mbsource",
2351
+ /*mbsource*/
2352
+ f[9]
2353
+ );
2354
+ },
2355
+ d(f) {
2356
+ f && G(e);
2357
+ }
2358
+ };
2359
+ }
2360
+ function si(t) {
2361
+ let e = (
2362
+ /*gameprops*/
2363
+ t[100].gameModel.platform.includes("iPad") || /*gameprops*/
2364
+ t[100].gameModel.platform.includes("iPhone") || /*gameprops*/
2365
+ t[100].gameModel.platform.includes("Android")
2366
+ ), a, n = e && Pa(t);
2367
+ return {
2368
+ c() {
2369
+ n && n.c(), a = oe();
2370
+ },
2371
+ m(i, r) {
2372
+ n && n.m(i, r), F(i, a, r);
2373
+ },
2374
+ p(i, r) {
2375
+ r[1] & /*favoriteGamesData*/
2376
+ 2048 && (e = /*gameprops*/
2377
+ i[100].gameModel.platform.includes("iPad") || /*gameprops*/
2378
+ i[100].gameModel.platform.includes("iPhone") || /*gameprops*/
2379
+ i[100].gameModel.platform.includes("Android")), e ? n ? n.p(i, r) : (n = Pa(i), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
2380
+ },
2381
+ d(i) {
2382
+ i && G(a), n && n.d(i);
2383
+ }
2384
+ };
2385
+ }
2386
+ function Pa(t) {
2387
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w;
2388
+ return {
2389
+ c() {
2390
+ var f, d;
2391
+ e = T("casino-game-thumbnail-nd"), o(e, "class", a = "" + (ce + /*gameprops*/
2392
+ (t[100].cellSize ? (
2393
+ /*gameprops*/
2394
+ t[100].cellSize
2395
+ ) : "1x1"))), o(
2396
+ e,
2397
+ "session",
2398
+ /*session*/
2399
+ t[6]
2400
+ ), o(
2401
+ e,
2402
+ "userid",
2403
+ /*userid*/
2404
+ t[7]
2405
+ ), o(
2406
+ e,
2407
+ "lang",
2408
+ /*lang*/
2409
+ t[5]
2410
+ ), o(
2411
+ e,
2412
+ "favorites",
2413
+ /*favorites*/
2414
+ t[8]
2415
+ ), o(
2416
+ e,
2417
+ "categoryid",
2418
+ /*categoryid*/
2419
+ t[0]
2420
+ ), o(e, "gamethumbnail", n = /*gameprops*/
2421
+ t[100].gameModel.thumbnail), o(e, "icon", i = /*getRequiredIcon*/
2422
+ t[46](
2423
+ /*gameprops*/
2424
+ (f = t[100]) == null ? void 0 : f.icons
2425
+ )), o(e, "gamename", r = /*gameprops*/
2426
+ t[100].gameModel.name), o(e, "gamevendor", s = /*gameprops*/
2427
+ t[100].gameModel.vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
2428
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
2429
+ t[100].gameModel.isNew), o(e, "gametag", c = /*addGameTag*/
2430
+ t[45](
2431
+ /*gameprops*/
2432
+ (d = t[100].gameModel) == null ? void 0 : d.advancedTags
2433
+ )), o(e, "gamecellsize", g = /*gameprops*/
2434
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
2435
+ t[100].gameModel.id), o(e, "gamefunmode", _ = /*gameprops*/
2436
+ t[100].gameModel.hasFunMode), o(
2437
+ e,
2438
+ "showgamename",
2439
+ /*showgamename*/
2440
+ t[14]
2441
+ ), o(e, "gamefavorite", b = /*gameprops*/
2442
+ t[100].gameModel.isFavorite), o(
2443
+ e,
2444
+ "showfavoredcategory",
2445
+ /*showFavGamesCategory*/
2446
+ t[39]
2447
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
2448
+ t[40][
2449
+ /*gameprops*/
2450
+ t[100].id
2451
+ ] == 1 ? "connect" : "disconnect"), o(
2452
+ e,
2453
+ "visibilityconnect",
2454
+ /*visibilityconnect*/
2455
+ t[41]
2456
+ ), o(
2457
+ e,
2458
+ "translationurl",
2459
+ /*translationurl*/
2460
+ t[12]
2461
+ ), o(
2462
+ e,
2463
+ "currency",
2464
+ /*currency*/
2465
+ t[13]
2466
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
2467
+ t[100].gameModel.details ? (
2468
+ /*gameprops*/
2469
+ t[100].gameModel.launchUrl
2470
+ ) : ""), o(
2471
+ e,
2472
+ "clientstyling",
2473
+ /*clientstyling*/
2474
+ t[10]
2475
+ ), o(
2476
+ e,
2477
+ "clientstylingurl",
2478
+ /*clientstylingurl*/
2479
+ t[11]
2480
+ ), o(
2481
+ e,
2482
+ "endpoint",
2483
+ /*endpoint*/
2484
+ t[3]
2485
+ ), o(
2486
+ e,
2487
+ "livecasino",
2488
+ /*livecasino*/
2489
+ t[15]
2490
+ ), o(
2491
+ e,
2492
+ "gamepagemodalurl",
2493
+ /*gamepagemodalurl*/
2494
+ t[16]
2495
+ ), o(
2496
+ e,
2497
+ "integratedgameframedesktop",
2498
+ /*integratedgameframedesktop*/
2499
+ t[17]
2500
+ ), o(
2501
+ e,
2502
+ "integratedgameframemobile",
2503
+ /*integratedgameframemobile*/
2504
+ t[18]
2505
+ ), o(
2506
+ e,
2507
+ "mbsource",
2508
+ /*mbsource*/
2509
+ t[9]
2510
+ );
2511
+ },
2512
+ m(f, d) {
2513
+ F(f, e, d);
2514
+ },
2515
+ p(f, d) {
2516
+ var P, z;
2517
+ d[1] & /*favoriteGamesData*/
2518
+ 2048 && a !== (a = "" + (ce + /*gameprops*/
2519
+ (f[100].cellSize ? (
2520
+ /*gameprops*/
2521
+ f[100].cellSize
2522
+ ) : "1x1"))) && o(e, "class", a), d[0] & /*session*/
2523
+ 64 && o(
2524
+ e,
2525
+ "session",
2526
+ /*session*/
2527
+ f[6]
2528
+ ), d[0] & /*userid*/
2529
+ 128 && o(
2530
+ e,
2531
+ "userid",
2532
+ /*userid*/
2533
+ f[7]
2534
+ ), d[0] & /*lang*/
2535
+ 32 && o(
2536
+ e,
2537
+ "lang",
2538
+ /*lang*/
2539
+ f[5]
2540
+ ), d[0] & /*favorites*/
2541
+ 256 && o(
2542
+ e,
2543
+ "favorites",
2544
+ /*favorites*/
2545
+ f[8]
2546
+ ), d[0] & /*categoryid*/
2547
+ 1 && o(
2548
+ e,
2549
+ "categoryid",
2550
+ /*categoryid*/
2551
+ f[0]
2552
+ ), d[1] & /*favoriteGamesData*/
2553
+ 2048 && n !== (n = /*gameprops*/
2554
+ f[100].gameModel.thumbnail) && o(e, "gamethumbnail", n), d[1] & /*favoriteGamesData*/
2555
+ 2048 && i !== (i = /*getRequiredIcon*/
2556
+ f[46](
2557
+ /*gameprops*/
2558
+ (P = f[100]) == null ? void 0 : P.icons
2559
+ )) && o(e, "icon", i), d[1] & /*favoriteGamesData*/
2560
+ 2048 && r !== (r = /*gameprops*/
2561
+ f[100].gameModel.name) && o(e, "gamename", r), d[1] & /*favoriteGamesData*/
2562
+ 2048 && s !== (s = /*gameprops*/
2563
+ f[100].gameModel.vendor.logo) && o(e, "gamevendor", s), d[1] & /*favoriteGamesData*/
2564
+ 2048 && u !== (u = /*gameprops*/
2565
+ f[100].launchUrl) && o(e, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
2566
+ 2048 && m !== (m = /*gameprops*/
2567
+ f[100].gameModel.isNew) && o(e, "gameisnew", m), d[1] & /*favoriteGamesData*/
2568
+ 2048 && c !== (c = /*addGameTag*/
2569
+ f[45](
2570
+ /*gameprops*/
2571
+ (z = f[100].gameModel) == null ? void 0 : z.advancedTags
2572
+ )) && o(e, "gametag", c), d[1] & /*favoriteGamesData*/
2573
+ 2048 && g !== (g = /*gameprops*/
2574
+ f[100].cellSize) && o(e, "gamecellsize", g), d[1] & /*favoriteGamesData*/
2575
+ 2048 && h !== (h = /*gameprops*/
2576
+ f[100].gameModel.id) && o(e, "gameid", h), d[1] & /*favoriteGamesData*/
2577
+ 2048 && _ !== (_ = /*gameprops*/
2578
+ f[100].gameModel.hasFunMode) && o(e, "gamefunmode", _), d[0] & /*showgamename*/
2579
+ 16384 && o(
2580
+ e,
2581
+ "showgamename",
2582
+ /*showgamename*/
2583
+ f[14]
2584
+ ), d[1] & /*favoriteGamesData*/
2585
+ 2048 && b !== (b = /*gameprops*/
2586
+ f[100].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
2587
+ 256 && o(
2588
+ e,
2589
+ "showfavoredcategory",
2590
+ /*showFavGamesCategory*/
2591
+ f[39]
2592
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
2593
+ 2560 && k !== (k = /*intersectingIndexes*/
2594
+ f[40][
2595
+ /*gameprops*/
2596
+ f[100].id
2597
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), d[1] & /*visibilityconnect*/
2598
+ 1024 && o(
2599
+ e,
2600
+ "visibilityconnect",
2601
+ /*visibilityconnect*/
2602
+ f[41]
2603
+ ), d[0] & /*translationurl*/
2604
+ 4096 && o(
2605
+ e,
2606
+ "translationurl",
2607
+ /*translationurl*/
2608
+ f[12]
2609
+ ), d[0] & /*currency*/
2610
+ 8192 && o(
2611
+ e,
2612
+ "currency",
2613
+ /*currency*/
2614
+ f[13]
2615
+ ), d[1] & /*favoriteGamesData*/
2616
+ 2048 && w !== (w = /*gameprops*/
2617
+ f[100].gameModel.details ? (
2618
+ /*gameprops*/
2619
+ f[100].gameModel.launchUrl
2620
+ ) : "") && o(e, "livelobbyendpoint", w), d[0] & /*clientstyling*/
2621
+ 1024 && o(
2622
+ e,
2623
+ "clientstyling",
2624
+ /*clientstyling*/
2625
+ f[10]
2626
+ ), d[0] & /*clientstylingurl*/
2627
+ 2048 && o(
2628
+ e,
2629
+ "clientstylingurl",
2630
+ /*clientstylingurl*/
2631
+ f[11]
2632
+ ), d[0] & /*endpoint*/
2633
+ 8 && o(
2634
+ e,
2635
+ "endpoint",
2636
+ /*endpoint*/
2637
+ f[3]
2638
+ ), d[0] & /*livecasino*/
2639
+ 32768 && o(
2640
+ e,
2641
+ "livecasino",
2642
+ /*livecasino*/
2643
+ f[15]
2644
+ ), d[0] & /*gamepagemodalurl*/
2645
+ 65536 && o(
2646
+ e,
2647
+ "gamepagemodalurl",
2648
+ /*gamepagemodalurl*/
2649
+ f[16]
2650
+ ), d[0] & /*integratedgameframedesktop*/
2651
+ 131072 && o(
2652
+ e,
2653
+ "integratedgameframedesktop",
2654
+ /*integratedgameframedesktop*/
2655
+ f[17]
2656
+ ), d[0] & /*integratedgameframemobile*/
2657
+ 262144 && o(
2658
+ e,
2659
+ "integratedgameframemobile",
2660
+ /*integratedgameframemobile*/
2661
+ f[18]
2662
+ ), d[0] & /*mbsource*/
2663
+ 512 && o(
2664
+ e,
2665
+ "mbsource",
2666
+ /*mbsource*/
2667
+ f[9]
2668
+ );
2669
+ },
2670
+ d(f) {
2671
+ f && G(e);
2672
+ }
2673
+ };
2674
+ }
2675
+ function Na(t) {
2676
+ let e, a = (
2677
+ /*gameprops*/
2678
+ t[100].gameModel && Da(t)
2679
+ );
2680
+ return {
2681
+ c() {
2682
+ a && a.c(), e = oe();
2683
+ },
2684
+ m(n, i) {
2685
+ a && a.m(n, i), F(n, e, i);
2686
+ },
2687
+ p(n, i) {
2688
+ /*gameprops*/
2689
+ n[100].gameModel ? a ? a.p(n, i) : (a = Da(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
2690
+ },
2691
+ d(n) {
2692
+ n && G(e), a && a.d(n);
2693
+ }
2694
+ };
2695
+ }
2696
+ function Ia(t) {
2697
+ let e, a, n, i = (
2698
+ /*categoryData*/
2699
+ t[28].name + ""
2700
+ ), r, s;
2701
+ function u(b, k) {
2702
+ return (
2703
+ /*categoryData*/
2704
+ b[28].icon ? ui : li
2705
+ );
2706
+ }
2707
+ let m = u(t), c = m(t);
2708
+ function g(b, k) {
2709
+ return (
2710
+ /*lobbyView*/
2711
+ b[27] && /*showLoadCategory*/
2712
+ b[30] ? ci : mi
2713
+ );
2714
+ }
2715
+ let h = g(t), _ = h(t);
2716
+ return {
2717
+ c() {
2718
+ e = T("div"), c.c(), a = x(), n = T("h3"), r = A(i), s = x(), _.c(), v(n, "class", "CategoryName"), v(e, "class", "CasinoGamesHeader");
2719
+ },
2720
+ m(b, k) {
2721
+ F(b, e, k), c.m(e, null), M(e, a), M(e, n), M(n, r), t[58](n), M(e, s), _.m(e, null);
2722
+ },
2723
+ p(b, k) {
2724
+ m === (m = u(b)) && c ? c.p(b, k) : (c.d(1), c = m(b), c && (c.c(), c.m(e, a))), k[0] & /*categoryData*/
2725
+ 268435456 && i !== (i = /*categoryData*/
2726
+ b[28].name + "") && V(r, i), h === (h = g(b)) && _ ? _.p(b, k) : (_.d(1), _ = h(b), _ && (_.c(), _.m(e, null)));
2727
+ },
2728
+ d(b) {
2729
+ b && G(e), c.d(), t[58](null), _.d();
2730
+ }
2731
+ };
2732
+ }
2733
+ function li(t) {
2734
+ let e;
2735
+ return {
2736
+ c() {
2737
+ e = T("span"), e.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', v(e, "class", "CategoryIcon");
2738
+ },
2739
+ m(a, n) {
2740
+ F(a, e, n);
2741
+ },
2742
+ p: ke,
2743
+ d(a) {
2744
+ a && G(e);
2745
+ }
2746
+ };
2747
+ }
2748
+ function ui(t) {
2749
+ let e, a;
2750
+ return {
2751
+ c() {
2752
+ e = T("img"), wa(e.src, a = /*categoryData*/
2753
+ t[28].icon) || v(e, "src", a), v(e, "alt", "Category Icon");
2754
+ },
2755
+ m(n, i) {
2756
+ F(n, e, i);
2757
+ },
2758
+ p(n, i) {
2759
+ i[0] & /*categoryData*/
2760
+ 268435456 && !wa(e.src, a = /*categoryData*/
2761
+ n[28].icon) && v(e, "src", a);
2762
+ },
2763
+ d(n) {
2764
+ n && G(e);
2765
+ }
2766
+ };
2767
+ }
2768
+ function mi(t) {
2769
+ let e, a, n, i = (
2770
+ /*addfilterselector*/
2771
+ t[1] == "true" && /*usesinglevendorfilter*/
2772
+ t[22] === "false" && Ua(t)
2773
+ ), r = (
2774
+ /*addsortingselector*/
2775
+ t[2] == "true" && Ra(t)
2776
+ );
2777
+ return {
2778
+ c() {
2779
+ e = T("div"), i && i.c(), a = x(), r && r.c(), v(e, "class", n = /*addfilterselector*/
2780
+ t[1] == "true" && /*usesinglevendorfilter*/
2781
+ t[22] === "false" && /*addsortingselector*/
2782
+ t[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
2783
+ },
2784
+ m(s, u) {
2785
+ F(s, e, u), i && i.m(e, null), M(e, a), r && r.m(e, null);
2786
+ },
2787
+ p(s, u) {
2788
+ /*addfilterselector*/
2789
+ s[1] == "true" && /*usesinglevendorfilter*/
2790
+ s[22] === "false" ? i ? i.p(s, u) : (i = Ua(s), i.c(), i.m(e, a)) : i && (i.d(1), i = null), /*addsortingselector*/
2791
+ s[2] == "true" ? r ? r.p(s, u) : (r = Ra(s), r.c(), r.m(e, null)) : r && (r.d(1), r = null), u[0] & /*addfilterselector, usesinglevendorfilter, addsortingselector*/
2792
+ 4194310 && n !== (n = /*addfilterselector*/
2793
+ s[1] == "true" && /*usesinglevendorfilter*/
2794
+ s[22] === "false" && /*addsortingselector*/
2795
+ s[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer") && v(e, "class", n);
2796
+ },
2797
+ d(s) {
2798
+ s && G(e), i && i.d(), r && r.d();
2799
+ }
2800
+ };
2801
+ }
2802
+ function ci(t) {
2803
+ let e, a, n = (
2804
+ /*$_*/
2805
+ t[43]("viewAll") + ""
2806
+ ), i, r, s = (
2807
+ /*categoryData*/
2808
+ t[28].games.total + ""
2809
+ ), u, m, c, g;
2810
+ return {
2811
+ c() {
2812
+ e = T("a"), a = T("span"), i = A(n), r = A(" ("), u = A(s), m = A(")"), v(a, "class", "CategoryLoadMore"), v(e, "class", "CategoryNameLink");
2813
+ },
2814
+ m(h, _) {
2815
+ F(h, e, _), M(e, a), M(a, i), M(a, r), M(a, u), M(a, m), c || (g = Ot(
2816
+ e,
2817
+ "click",
2818
+ /*click_handler*/
2819
+ t[59]
2820
+ ), c = !0);
2821
+ },
2822
+ p(h, _) {
2823
+ _[1] & /*$_*/
2824
+ 4096 && n !== (n = /*$_*/
2825
+ h[43]("viewAll") + "") && V(i, n), _[0] & /*categoryData*/
2826
+ 268435456 && s !== (s = /*categoryData*/
2827
+ h[28].games.total + "") && V(u, s);
2828
+ },
2829
+ d(h) {
2830
+ h && G(e), c = !1, g();
2831
+ }
2832
+ };
2833
+ }
2834
+ function Ua(t) {
2835
+ let e;
2836
+ return {
2837
+ c() {
2838
+ e = T("casino-filter"), o(
2839
+ e,
2840
+ "clientstylingurl",
2841
+ /*clientstylingurl*/
2842
+ t[11]
2843
+ ), o(
2844
+ e,
2845
+ "clientstyling",
2846
+ /*clientstyling*/
2847
+ t[10]
2848
+ ), o(
2849
+ e,
2850
+ "endpoint",
2851
+ /*endpoint*/
2852
+ t[3]
2853
+ ), o(
2854
+ e,
2855
+ "datasource",
2856
+ /*datasource*/
2857
+ t[4]
2858
+ ), o(
2859
+ e,
2860
+ "lang",
2861
+ /*lang*/
2862
+ t[5]
2863
+ ), o(
2864
+ e,
2865
+ "categoryid",
2866
+ /*categoryid*/
2867
+ t[0]
2868
+ ), o(
2869
+ e,
2870
+ "addfilterselector",
2871
+ /*addfilterselector*/
2872
+ t[1]
2873
+ ), o(
2874
+ e,
2875
+ "addsortingselector",
2876
+ /*addsortingselector*/
2877
+ t[2]
2878
+ ), o(
2879
+ e,
2880
+ "filterbylogo",
2881
+ /*filterbylogo*/
2882
+ t[20]
2883
+ ), o(
2884
+ e,
2885
+ "mbsource",
2886
+ /*mbsource*/
2887
+ t[9]
2888
+ );
2889
+ },
2890
+ m(a, n) {
2891
+ F(a, e, n);
2892
+ },
2893
+ p(a, n) {
2894
+ n[0] & /*clientstylingurl*/
2895
+ 2048 && o(
2896
+ e,
2897
+ "clientstylingurl",
2898
+ /*clientstylingurl*/
2899
+ a[11]
2900
+ ), n[0] & /*clientstyling*/
2901
+ 1024 && o(
2902
+ e,
2903
+ "clientstyling",
2904
+ /*clientstyling*/
2905
+ a[10]
2906
+ ), n[0] & /*endpoint*/
2907
+ 8 && o(
2908
+ e,
2909
+ "endpoint",
2910
+ /*endpoint*/
2911
+ a[3]
2912
+ ), n[0] & /*datasource*/
2913
+ 16 && o(
2914
+ e,
2915
+ "datasource",
2916
+ /*datasource*/
2917
+ a[4]
2918
+ ), n[0] & /*lang*/
2919
+ 32 && o(
2920
+ e,
2921
+ "lang",
2922
+ /*lang*/
2923
+ a[5]
2924
+ ), n[0] & /*categoryid*/
2925
+ 1 && o(
2926
+ e,
2927
+ "categoryid",
2928
+ /*categoryid*/
2929
+ a[0]
2930
+ ), n[0] & /*addfilterselector*/
2931
+ 2 && o(
2932
+ e,
2933
+ "addfilterselector",
2934
+ /*addfilterselector*/
2935
+ a[1]
2936
+ ), n[0] & /*addsortingselector*/
2937
+ 4 && o(
2938
+ e,
2939
+ "addsortingselector",
2940
+ /*addsortingselector*/
2941
+ a[2]
2942
+ ), n[0] & /*filterbylogo*/
2943
+ 1048576 && o(
2944
+ e,
2945
+ "filterbylogo",
2946
+ /*filterbylogo*/
2947
+ a[20]
2948
+ ), n[0] & /*mbsource*/
2949
+ 512 && o(
2950
+ e,
2951
+ "mbsource",
2952
+ /*mbsource*/
2953
+ a[9]
2954
+ );
2955
+ },
2956
+ d(a) {
2957
+ a && G(e);
2958
+ }
2959
+ };
2960
+ }
2961
+ function Ra(t) {
2962
+ let e;
2963
+ return {
2964
+ c() {
2965
+ e = T("casino-sort"), o(
2966
+ e,
2967
+ "clientstylingurl",
2968
+ /*clientstylingurl*/
2969
+ t[11]
2970
+ ), o(
2971
+ e,
2972
+ "clientstyling",
2973
+ /*clientstyling*/
2974
+ t[10]
2975
+ ), o(
2976
+ e,
2977
+ "lang",
2978
+ /*lang*/
2979
+ t[5]
2980
+ ), o(
2981
+ e,
2982
+ "categoryid",
2983
+ /*categoryid*/
2984
+ t[0]
2985
+ ), o(
2986
+ e,
2987
+ "addsortingselector",
2988
+ /*addsortingselector*/
2989
+ t[2]
2990
+ ), o(
2991
+ e,
2992
+ "mbsource",
2993
+ /*mbsource*/
2994
+ t[9]
2995
+ );
2996
+ },
2997
+ m(a, n) {
2998
+ F(a, e, n);
2999
+ },
3000
+ p(a, n) {
3001
+ n[0] & /*clientstylingurl*/
3002
+ 2048 && o(
3003
+ e,
3004
+ "clientstylingurl",
3005
+ /*clientstylingurl*/
3006
+ a[11]
3007
+ ), n[0] & /*clientstyling*/
3008
+ 1024 && o(
3009
+ e,
3010
+ "clientstyling",
3011
+ /*clientstyling*/
3012
+ a[10]
3013
+ ), n[0] & /*lang*/
3014
+ 32 && o(
3015
+ e,
3016
+ "lang",
3017
+ /*lang*/
3018
+ a[5]
3019
+ ), n[0] & /*categoryid*/
3020
+ 1 && o(
3021
+ e,
3022
+ "categoryid",
3023
+ /*categoryid*/
3024
+ a[0]
3025
+ ), n[0] & /*addsortingselector*/
3026
+ 4 && o(
3027
+ e,
3028
+ "addsortingselector",
3029
+ /*addsortingselector*/
3030
+ a[2]
3031
+ ), n[0] & /*mbsource*/
3032
+ 512 && o(
3033
+ e,
3034
+ "mbsource",
3035
+ /*mbsource*/
3036
+ a[9]
3037
+ );
3038
+ },
3039
+ d(a) {
3040
+ a && G(e);
3041
+ }
3042
+ };
3043
+ }
3044
+ function di(t) {
3045
+ let e, a = (
3046
+ /*$_*/
3047
+ t[43]("noResults") + ""
3048
+ ), n;
3049
+ return {
3050
+ c() {
3051
+ e = T("p"), n = A(a), v(e, "class", "NoSearchResults");
3052
+ },
3053
+ m(i, r) {
3054
+ F(i, e, r), M(e, n);
3055
+ },
3056
+ p(i, r) {
3057
+ r[1] & /*$_*/
3058
+ 4096 && a !== (a = /*$_*/
3059
+ i[43]("noResults") + "") && V(n, a);
3060
+ },
3061
+ d(i) {
3062
+ i && G(e);
3063
+ }
3064
+ };
3065
+ }
3066
+ function fi(t) {
3067
+ let e, a = [], n = /* @__PURE__ */ new Map(), i, r = Ce(
3068
+ /*shownCategoryData*/
3069
+ t[29]
3070
+ );
3071
+ const s = (u) => (
3072
+ /*gameprops*/
3073
+ u[100].id
3074
+ );
3075
+ for (let u = 0; u < r.length; u += 1) {
3076
+ let m = Fa(t, r, u), c = s(m);
3077
+ n.set(c, a[u] = La(c, m));
3078
+ }
3079
+ return {
3080
+ c() {
3081
+ e = T("ul");
3082
+ for (let u = 0; u < a.length; u += 1)
3083
+ a[u].c();
3084
+ v(e, "class", i = /*favoriteGamesData*/
3085
+ (t[42].items.length === 0 && /*showFavGamesCategory*/
3086
+ t[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
3087
+ (t[27] && /*casinogamesgridslider*/
3088
+ t[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
3089
+ },
3090
+ m(u, m) {
3091
+ F(u, e, m);
3092
+ for (let c = 0; c < a.length; c += 1)
3093
+ a[c] && a[c].m(e, null);
3094
+ t[61](e);
3095
+ },
3096
+ p(u, m) {
3097
+ m[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, mbsource, thumbnailContainer*/
3098
+ 556269545 | m[1] & /*getRequiredIcon, addGameTag, intersectingIndexes, visibilityconnect*/
3099
+ 50688 && (r = Ce(
3100
+ /*shownCategoryData*/
3101
+ u[29]
3102
+ ), a = Wa(a, m, s, 1, u, r, n, e, Ya, La, null, Fa)), m[0] & /*lobbyView, casinogamesgridslider*/
3103
+ 136314880 | m[1] & /*favoriteGamesData, showFavGamesCategory*/
3104
+ 2304 && i !== (i = /*favoriteGamesData*/
3105
+ (u[42].items.length === 0 && /*showFavGamesCategory*/
3106
+ u[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
3107
+ (u[27] && /*casinogamesgridslider*/
3108
+ u[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && v(e, "class", i);
3109
+ },
3110
+ d(u) {
3111
+ u && G(e);
3112
+ for (let m = 0; m < a.length; m += 1)
3113
+ a[m].d();
3114
+ t[61](null);
3115
+ }
3116
+ };
3117
+ }
3118
+ function gi(t) {
3119
+ let e;
3120
+ return {
3121
+ c() {
3122
+ e = T("div"), v(e, "class", "DualRing");
3123
+ },
3124
+ m(a, n) {
3125
+ F(a, e, n);
3126
+ },
3127
+ p: ke,
3128
+ d(a) {
3129
+ a && G(e);
3130
+ }
3131
+ };
3132
+ }
3133
+ function hi(t) {
3134
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w, f = (
3135
+ /*index*/
3136
+ t[102]
3137
+ );
3138
+ const d = () => (
3139
+ /*casino_game_thumbnail_nd_binding*/
3140
+ t[60](e, f)
3141
+ ), P = () => (
3142
+ /*casino_game_thumbnail_nd_binding*/
3143
+ t[60](null, f)
3144
+ );
3145
+ return {
3146
+ c() {
3147
+ var z;
3148
+ e = T("casino-game-thumbnail-nd"), o(e, "gamethumbnail", a = /*gameprops*/
3149
+ t[100].thumbnail), o(e, "icon", n = /*getRequiredIcon*/
3150
+ t[46](
3151
+ /*gameprops*/
3152
+ (z = t[100]) == null ? void 0 : z.icons
3153
+ )), o(
3154
+ e,
3155
+ "session",
3156
+ /*session*/
3157
+ t[6]
3158
+ ), o(
3159
+ e,
3160
+ "userid",
3161
+ /*userid*/
3162
+ t[7]
3163
+ ), o(
3164
+ e,
3165
+ "lang",
3166
+ /*lang*/
3167
+ t[5]
3168
+ ), o(e, "class", i = "" + (ce + /*gameprops*/
3169
+ (t[100].cellSize ? (
3170
+ /*gameprops*/
3171
+ t[100].cellSize
3172
+ ) : "1x1"))), o(
3173
+ e,
3174
+ "favorites",
3175
+ /*favorites*/
3176
+ t[8]
3177
+ ), o(
3178
+ e,
3179
+ "categoryid",
3180
+ /*categoryid*/
3181
+ t[0]
3182
+ ), o(e, "gamename", r = /*gameprops*/
3183
+ t[100].name), o(e, "gamevendor", s = /*gameprops*/
3184
+ t[100].vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
3185
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
3186
+ t[100].isNew), o(e, "gametag", c = /*addGameTag*/
3187
+ t[45](
3188
+ /*gameprops*/
3189
+ t[100].advancedTags
3190
+ )), o(e, "gamecellsize", g = /*gameprops*/
3191
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
3192
+ t[100].id), o(e, "gamefunmode", _ = /*gameprops*/
3193
+ t[100].hasFunMode), o(e, "gamefavorite", b = /*gameprops*/
3194
+ t[100].isFavorite), o(
3195
+ e,
3196
+ "translationurl",
3197
+ /*translationurl*/
3198
+ t[12]
3199
+ ), o(
3200
+ e,
3201
+ "showgamename",
3202
+ /*showgamename*/
3203
+ t[14]
3204
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
3205
+ t[40][
3206
+ /*gameprops*/
3207
+ t[100].id
3208
+ ] == 1 ? "connect" : "disconnect"), o(
3209
+ e,
3210
+ "visibilityconnect",
3211
+ /*visibilityconnect*/
3212
+ t[41]
3213
+ ), o(
3214
+ e,
3215
+ "currency",
3216
+ /*currency*/
3217
+ t[13]
3218
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
3219
+ t[100].details ? (
3220
+ /*gameprops*/
3221
+ t[100].href
3222
+ ) : ""), o(
3223
+ e,
3224
+ "clientstyling",
3225
+ /*clientstyling*/
3226
+ t[10]
3227
+ ), o(
3228
+ e,
3229
+ "clientstylingurl",
3230
+ /*clientstylingurl*/
3231
+ t[11]
3232
+ ), o(
3233
+ e,
3234
+ "endpoint",
3235
+ /*endpoint*/
3236
+ t[3]
3237
+ ), o(
3238
+ e,
3239
+ "livecasino",
3240
+ /*livecasino*/
3241
+ t[15]
3242
+ ), o(
3243
+ e,
3244
+ "gamepagemodalurl",
3245
+ /*gamepagemodalurl*/
3246
+ t[16]
3247
+ ), o(
3248
+ e,
3249
+ "integratedgameframedesktop",
3250
+ /*integratedgameframedesktop*/
3251
+ t[17]
3252
+ ), o(
3253
+ e,
3254
+ "integratedgameframemobile",
3255
+ /*integratedgameframemobile*/
3256
+ t[18]
3257
+ ), o(
3258
+ e,
3259
+ "casinogamesgridslider",
3260
+ /*casinogamesgridslider*/
3261
+ t[21]
3262
+ ), o(
3263
+ e,
3264
+ "mbsource",
3265
+ /*mbsource*/
3266
+ t[9]
3267
+ );
3268
+ },
3269
+ m(z, y) {
3270
+ F(z, e, y), d();
3271
+ },
3272
+ p(z, y) {
3273
+ var B;
3274
+ t = z, y[0] & /*shownCategoryData*/
3275
+ 536870912 && a !== (a = /*gameprops*/
3276
+ t[100].thumbnail) && o(e, "gamethumbnail", a), y[0] & /*shownCategoryData*/
3277
+ 536870912 && n !== (n = /*getRequiredIcon*/
3278
+ t[46](
3279
+ /*gameprops*/
3280
+ (B = t[100]) == null ? void 0 : B.icons
3281
+ )) && o(e, "icon", n), y[0] & /*session*/
3282
+ 64 && o(
3283
+ e,
3284
+ "session",
3285
+ /*session*/
3286
+ t[6]
3287
+ ), y[0] & /*userid*/
3288
+ 128 && o(
3289
+ e,
3290
+ "userid",
3291
+ /*userid*/
3292
+ t[7]
3293
+ ), y[0] & /*lang*/
3294
+ 32 && o(
3295
+ e,
3296
+ "lang",
3297
+ /*lang*/
3298
+ t[5]
3299
+ ), y[0] & /*shownCategoryData*/
3300
+ 536870912 && i !== (i = "" + (ce + /*gameprops*/
3301
+ (t[100].cellSize ? (
3302
+ /*gameprops*/
3303
+ t[100].cellSize
3304
+ ) : "1x1"))) && o(e, "class", i), y[0] & /*favorites*/
3305
+ 256 && o(
3306
+ e,
3307
+ "favorites",
3308
+ /*favorites*/
3309
+ t[8]
3310
+ ), y[0] & /*categoryid*/
3311
+ 1 && o(
3312
+ e,
3313
+ "categoryid",
3314
+ /*categoryid*/
3315
+ t[0]
3316
+ ), y[0] & /*shownCategoryData*/
3317
+ 536870912 && r !== (r = /*gameprops*/
3318
+ t[100].name) && o(e, "gamename", r), y[0] & /*shownCategoryData*/
3319
+ 536870912 && s !== (s = /*gameprops*/
3320
+ t[100].vendor.logo) && o(e, "gamevendor", s), y[0] & /*shownCategoryData*/
3321
+ 536870912 && u !== (u = /*gameprops*/
3322
+ t[100].launchUrl) && o(e, "gameLaunchUrl", u), y[0] & /*shownCategoryData*/
3323
+ 536870912 && m !== (m = /*gameprops*/
3324
+ t[100].isNew) && o(e, "gameisnew", m), y[0] & /*shownCategoryData*/
3325
+ 536870912 && c !== (c = /*addGameTag*/
3326
+ t[45](
3327
+ /*gameprops*/
3328
+ t[100].advancedTags
3329
+ )) && o(e, "gametag", c), y[0] & /*shownCategoryData*/
3330
+ 536870912 && g !== (g = /*gameprops*/
3331
+ t[100].cellSize) && o(e, "gamecellsize", g), y[0] & /*shownCategoryData*/
3332
+ 536870912 && h !== (h = /*gameprops*/
3333
+ t[100].id) && o(e, "gameid", h), y[0] & /*shownCategoryData*/
3334
+ 536870912 && _ !== (_ = /*gameprops*/
3335
+ t[100].hasFunMode) && o(e, "gamefunmode", _), y[0] & /*shownCategoryData*/
3336
+ 536870912 && b !== (b = /*gameprops*/
3337
+ t[100].isFavorite) && o(e, "gamefavorite", b), y[0] & /*translationurl*/
3338
+ 4096 && o(
3339
+ e,
3340
+ "translationurl",
3341
+ /*translationurl*/
3342
+ t[12]
3343
+ ), y[0] & /*showgamename*/
3344
+ 16384 && o(
3345
+ e,
3346
+ "showgamename",
3347
+ /*showgamename*/
3348
+ t[14]
3349
+ ), y[0] & /*shownCategoryData*/
3350
+ 536870912 | y[1] & /*intersectingIndexes*/
3351
+ 512 && k !== (k = /*intersectingIndexes*/
3352
+ t[40][
3353
+ /*gameprops*/
3354
+ t[100].id
3355
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), y[1] & /*visibilityconnect*/
3356
+ 1024 && o(
3357
+ e,
3358
+ "visibilityconnect",
3359
+ /*visibilityconnect*/
3360
+ t[41]
3361
+ ), y[0] & /*currency*/
3362
+ 8192 && o(
3363
+ e,
3364
+ "currency",
3365
+ /*currency*/
3366
+ t[13]
3367
+ ), y[0] & /*shownCategoryData*/
3368
+ 536870912 && w !== (w = /*gameprops*/
3369
+ t[100].details ? (
3370
+ /*gameprops*/
3371
+ t[100].href
3372
+ ) : "") && o(e, "livelobbyendpoint", w), y[0] & /*clientstyling*/
3373
+ 1024 && o(
3374
+ e,
3375
+ "clientstyling",
3376
+ /*clientstyling*/
3377
+ t[10]
3378
+ ), y[0] & /*clientstylingurl*/
3379
+ 2048 && o(
3380
+ e,
3381
+ "clientstylingurl",
3382
+ /*clientstylingurl*/
3383
+ t[11]
3384
+ ), y[0] & /*endpoint*/
3385
+ 8 && o(
3386
+ e,
3387
+ "endpoint",
3388
+ /*endpoint*/
3389
+ t[3]
3390
+ ), y[0] & /*livecasino*/
3391
+ 32768 && o(
3392
+ e,
3393
+ "livecasino",
3394
+ /*livecasino*/
3395
+ t[15]
3396
+ ), y[0] & /*gamepagemodalurl*/
3397
+ 65536 && o(
3398
+ e,
3399
+ "gamepagemodalurl",
3400
+ /*gamepagemodalurl*/
3401
+ t[16]
3402
+ ), y[0] & /*integratedgameframedesktop*/
3403
+ 131072 && o(
3404
+ e,
3405
+ "integratedgameframedesktop",
3406
+ /*integratedgameframedesktop*/
3407
+ t[17]
3408
+ ), y[0] & /*integratedgameframemobile*/
3409
+ 262144 && o(
3410
+ e,
3411
+ "integratedgameframemobile",
3412
+ /*integratedgameframemobile*/
3413
+ t[18]
3414
+ ), y[0] & /*casinogamesgridslider*/
3415
+ 2097152 && o(
3416
+ e,
3417
+ "casinogamesgridslider",
3418
+ /*casinogamesgridslider*/
3419
+ t[21]
3420
+ ), y[0] & /*mbsource*/
3421
+ 512 && o(
3422
+ e,
3423
+ "mbsource",
3424
+ /*mbsource*/
3425
+ t[9]
3426
+ ), f !== /*index*/
3427
+ t[102] && (P(), f = /*index*/
3428
+ t[102], d());
3429
+ },
3430
+ d(z) {
3431
+ z && G(e), P();
3432
+ }
3433
+ };
3434
+ }
3435
+ function La(t, e) {
3436
+ let a, n, i = hi(e);
3437
+ return {
3438
+ key: t,
3439
+ first: null,
3440
+ c() {
3441
+ a = oe(), i && i.c(), n = oe(), this.first = a;
3442
+ },
3443
+ m(r, s) {
3444
+ F(r, a, s), i && i.m(r, s), F(r, n, s);
3445
+ },
3446
+ p(r, s) {
3447
+ e = r, i.p(e, s);
3448
+ },
3449
+ d(r) {
3450
+ r && (G(a), G(n)), i && i.d(r);
3451
+ }
3452
+ };
3453
+ }
3454
+ function vi(t) {
3455
+ let e, a = (
3456
+ /*$_*/
3457
+ t[43]("searchedItems") + ""
3458
+ ), n;
3459
+ return {
3460
+ c() {
3461
+ e = T("h3"), n = A(a), v(e, "class", "StatusText");
3462
+ },
3463
+ m(i, r) {
3464
+ F(i, e, r), M(e, n);
3465
+ },
3466
+ p(i, r) {
3467
+ r[1] & /*$_*/
3468
+ 4096 && a !== (a = /*$_*/
3469
+ i[43]("searchedItems") + "") && V(n, a);
3470
+ },
3471
+ d(i) {
3472
+ i && G(e);
3473
+ }
3474
+ };
3475
+ }
3476
+ function pi(t) {
3477
+ let e, a = (
3478
+ /*$_*/
3479
+ t[43]("noResults") + ""
3480
+ ), n;
3481
+ return {
3482
+ c() {
3483
+ e = T("h3"), n = A(a), v(e, "class", "StatusText");
3484
+ },
3485
+ m(i, r) {
3486
+ F(i, e, r), M(e, n);
3487
+ },
3488
+ p(i, r) {
3489
+ r[1] & /*$_*/
3490
+ 4096 && a !== (a = /*$_*/
3491
+ i[43]("noResults") + "") && V(n, a);
3492
+ },
3493
+ d(i) {
3494
+ i && G(e);
3495
+ }
3496
+ };
3497
+ }
3498
+ function _i(t) {
3499
+ let e, a = (
3500
+ /*$_*/
3501
+ t[43]("recentSearchedItems") + ""
3502
+ ), n;
3503
+ return {
3504
+ c() {
3505
+ e = T("h3"), n = A(a), v(e, "class", "StatusText");
3506
+ },
3507
+ m(i, r) {
3508
+ F(i, e, r), M(e, n);
3509
+ },
3510
+ p(i, r) {
3511
+ r[1] & /*$_*/
3512
+ 4096 && a !== (a = /*$_*/
3513
+ i[43]("recentSearchedItems") + "") && V(n, a);
3514
+ },
3515
+ d(i) {
3516
+ i && G(e);
3517
+ }
3518
+ };
3519
+ }
3520
+ function bi(t) {
3521
+ let e;
3522
+ return {
3523
+ c() {
3524
+ e = T("p"), e.textContent = "Waiting", v(e, "class", "SearchWaiting");
3525
+ },
3526
+ m(a, n) {
3527
+ F(a, e, n);
3528
+ },
3529
+ p: ke,
3530
+ d(a) {
3531
+ a && G(e);
3532
+ }
3533
+ };
3534
+ }
3535
+ function wi(t) {
3536
+ let e, a, n = [], i = /* @__PURE__ */ new Map(), r = !/*showItems*/
3537
+ t[35] && Aa(t), s = Ce(
3538
+ /*shownCategoryData*/
3539
+ t[29]
3540
+ );
3541
+ const u = (m) => (
3542
+ /*gameprops*/
3543
+ m[100].id
3544
+ );
3545
+ for (let m = 0; m < s.length; m += 1) {
3546
+ let c = Ta(t, s, m), g = u(c);
3547
+ i.set(g, n[m] = ja(g, c));
3548
+ }
3549
+ return {
3550
+ c() {
3551
+ r && r.c(), e = x(), a = T("ul");
3552
+ for (let m = 0; m < n.length; m += 1)
3553
+ n[m].c();
3554
+ v(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
3555
+ },
3556
+ m(m, c) {
3557
+ r && r.m(m, c), F(m, e, c), F(m, a, c);
3558
+ for (let g = 0; g < n.length; g += 1)
3559
+ n[g] && n[g].m(a, null);
3560
+ },
3561
+ p(m, c) {
3562
+ /*showItems*/
3563
+ m[35] ? r && (r.d(1), r = null) : r ? r.p(m, c) : (r = Aa(m), r.c(), r.m(e.parentNode, e)), c[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, mbsource*/
3564
+ 537395177 | c[1] & /*searchItem, getRequiredIcon, addGameTag*/
3565
+ 49156 && (s = Ce(
3566
+ /*shownCategoryData*/
3567
+ m[29]
3568
+ ), n = Wa(n, c, u, 1, m, s, i, a, Ya, ja, null, Ta));
3569
+ },
3570
+ d(m) {
3571
+ m && (G(e), G(a)), r && r.d(m);
3572
+ for (let c = 0; c < n.length; c += 1)
3573
+ n[c].d();
3574
+ }
3575
+ };
3576
+ }
3577
+ function Aa(t) {
3578
+ let e, a = (
3579
+ /*$_*/
3580
+ t[43]("noRecentSearch") + ""
3581
+ ), n;
3582
+ return {
3583
+ c() {
3584
+ e = T("p"), n = A(a), v(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (Ne(
3585
+ /*userAgent*/
3586
+ t[44]
3587
+ ) ? "NoRecentSearchesMobile" : ""));
3588
+ },
3589
+ m(i, r) {
3590
+ F(i, e, r), M(e, n);
3591
+ },
3592
+ p(i, r) {
3593
+ r[1] & /*$_*/
3594
+ 4096 && a !== (a = /*$_*/
3595
+ i[43]("noRecentSearch") + "") && V(n, a);
3596
+ },
3597
+ d(i) {
3598
+ i && G(e);
3599
+ }
3600
+ };
3601
+ }
3602
+ function ja(t, e) {
3603
+ let a, n, i, r, s, u, m, c, g, h, _, b, k, w;
3604
+ return {
3605
+ key: t,
3606
+ first: null,
3607
+ c() {
3608
+ var f;
3609
+ a = T("casino-game-thumbnail-nd"), o(a, "class", n = "" + (ce + /*gameprops*/
3610
+ (e[100].cellSize ? (
3611
+ /*gameprops*/
3612
+ e[100].cellSize
3613
+ ) : "1x1"))), o(
3614
+ a,
3615
+ "session",
3616
+ /*session*/
3617
+ e[6]
3618
+ ), o(
3619
+ a,
3620
+ "userid",
3621
+ /*userid*/
3622
+ e[7]
3623
+ ), o(
3624
+ a,
3625
+ "lang",
3626
+ /*lang*/
3627
+ e[5]
3628
+ ), o(
3629
+ a,
3630
+ "searchitem",
3631
+ /*searchItem*/
3632
+ e[33]
3633
+ ), o(
3634
+ a,
3635
+ "favorites",
3636
+ /*favorites*/
3637
+ e[8]
3638
+ ), o(
3639
+ a,
3640
+ "categoryid",
3641
+ /*categoryid*/
3642
+ e[0]
3643
+ ), o(a, "gamethumbnail", i = /*gameprops*/
3644
+ e[100].thumbnail), o(a, "icon", r = /*getRequiredIcon*/
3645
+ e[46](
3646
+ /*gameprops*/
3647
+ (f = e[100]) == null ? void 0 : f.icons
3648
+ )), o(a, "gamename", s = /*gameprops*/
3649
+ e[100].name), o(a, "gamevendor", u = /*gameprops*/
3650
+ e[100].vendor.logo), o(a, "gameLaunchUrl", m = /*gameprops*/
3651
+ e[100].launchUrl), o(a, "gameisnew", c = /*gameprops*/
3652
+ e[100].isNew), o(a, "gametag", g = /*addGameTag*/
3653
+ e[45](
3654
+ /*gameprops*/
3655
+ e[100].advancedTags
3656
+ )), o(a, "gamecellsize", h = /*gameprops*/
3657
+ e[100].cellSize), o(a, "gameid", _ = /*gameprops*/
3658
+ e[100].id), o(a, "gamefunmode", b = /*gameprops*/
3659
+ e[100].hasFunMode), o(
3660
+ a,
3661
+ "showgamename",
3662
+ /*showgamename*/
3663
+ e[14]
3664
+ ), o(
3665
+ a,
3666
+ "translationurl",
3667
+ /*translationurl*/
3668
+ e[12]
3669
+ ), o(a, "gamefavorite", k = /*gameprops*/
3670
+ e[100].isFavorite), o(
3671
+ a,
3672
+ "currency",
3673
+ /*currency*/
3674
+ e[13]
3675
+ ), o(a, "livelobbyendpoint", w = /*gameprops*/
3676
+ e[100].details ? (
3677
+ /*gameprops*/
3678
+ e[100].href
3679
+ ) : ""), o(
3680
+ a,
3681
+ "clientstyling",
3682
+ /*clientstyling*/
3683
+ e[10]
3684
+ ), o(
3685
+ a,
3686
+ "clientstylingurl",
3687
+ /*clientstylingurl*/
3688
+ e[11]
3689
+ ), o(
3690
+ a,
3691
+ "endpoint",
3692
+ /*endpoint*/
3693
+ e[3]
3694
+ ), o(
3695
+ a,
3696
+ "livecasino",
3697
+ /*livecasino*/
3698
+ e[15]
3699
+ ), o(
3700
+ a,
3701
+ "gamepagemodalurl",
3702
+ /*gamepagemodalurl*/
3703
+ e[16]
3704
+ ), o(
3705
+ a,
3706
+ "integratedgameframedesktop",
3707
+ /*integratedgameframedesktop*/
3708
+ e[17]
3709
+ ), o(
3710
+ a,
3711
+ "integratedgameframemobile",
3712
+ /*integratedgameframemobile*/
3713
+ e[18]
3714
+ ), o(
3715
+ a,
3716
+ "mbsource",
3717
+ /*mbsource*/
3718
+ e[9]
3719
+ ), this.first = a;
3720
+ },
3721
+ m(f, d) {
3722
+ F(f, a, d);
3723
+ },
3724
+ p(f, d) {
3725
+ var P;
3726
+ e = f, d[0] & /*shownCategoryData*/
3727
+ 536870912 && n !== (n = "" + (ce + /*gameprops*/
3728
+ (e[100].cellSize ? (
3729
+ /*gameprops*/
3730
+ e[100].cellSize
3731
+ ) : "1x1"))) && o(a, "class", n), d[0] & /*session*/
3732
+ 64 && o(
3733
+ a,
3734
+ "session",
3735
+ /*session*/
3736
+ e[6]
3737
+ ), d[0] & /*userid*/
3738
+ 128 && o(
3739
+ a,
3740
+ "userid",
3741
+ /*userid*/
3742
+ e[7]
3743
+ ), d[0] & /*lang*/
3744
+ 32 && o(
3745
+ a,
3746
+ "lang",
3747
+ /*lang*/
3748
+ e[5]
3749
+ ), d[1] & /*searchItem*/
3750
+ 4 && o(
3751
+ a,
3752
+ "searchitem",
3753
+ /*searchItem*/
3754
+ e[33]
3755
+ ), d[0] & /*favorites*/
3756
+ 256 && o(
3757
+ a,
3758
+ "favorites",
3759
+ /*favorites*/
3760
+ e[8]
3761
+ ), d[0] & /*categoryid*/
3762
+ 1 && o(
3763
+ a,
3764
+ "categoryid",
3765
+ /*categoryid*/
3766
+ e[0]
3767
+ ), d[0] & /*shownCategoryData*/
3768
+ 536870912 && i !== (i = /*gameprops*/
3769
+ e[100].thumbnail) && o(a, "gamethumbnail", i), d[0] & /*shownCategoryData*/
3770
+ 536870912 && r !== (r = /*getRequiredIcon*/
3771
+ e[46](
3772
+ /*gameprops*/
3773
+ (P = e[100]) == null ? void 0 : P.icons
3774
+ )) && o(a, "icon", r), d[0] & /*shownCategoryData*/
3775
+ 536870912 && s !== (s = /*gameprops*/
3776
+ e[100].name) && o(a, "gamename", s), d[0] & /*shownCategoryData*/
3777
+ 536870912 && u !== (u = /*gameprops*/
3778
+ e[100].vendor.logo) && o(a, "gamevendor", u), d[0] & /*shownCategoryData*/
3779
+ 536870912 && m !== (m = /*gameprops*/
3780
+ e[100].launchUrl) && o(a, "gameLaunchUrl", m), d[0] & /*shownCategoryData*/
3781
+ 536870912 && c !== (c = /*gameprops*/
3782
+ e[100].isNew) && o(a, "gameisnew", c), d[0] & /*shownCategoryData*/
3783
+ 536870912 && g !== (g = /*addGameTag*/
3784
+ e[45](
3785
+ /*gameprops*/
3786
+ e[100].advancedTags
3787
+ )) && o(a, "gametag", g), d[0] & /*shownCategoryData*/
3788
+ 536870912 && h !== (h = /*gameprops*/
3789
+ e[100].cellSize) && o(a, "gamecellsize", h), d[0] & /*shownCategoryData*/
3790
+ 536870912 && _ !== (_ = /*gameprops*/
3791
+ e[100].id) && o(a, "gameid", _), d[0] & /*shownCategoryData*/
3792
+ 536870912 && b !== (b = /*gameprops*/
3793
+ e[100].hasFunMode) && o(a, "gamefunmode", b), d[0] & /*showgamename*/
3794
+ 16384 && o(
3795
+ a,
3796
+ "showgamename",
3797
+ /*showgamename*/
3798
+ e[14]
3799
+ ), d[0] & /*translationurl*/
3800
+ 4096 && o(
3801
+ a,
3802
+ "translationurl",
3803
+ /*translationurl*/
3804
+ e[12]
3805
+ ), d[0] & /*shownCategoryData*/
3806
+ 536870912 && k !== (k = /*gameprops*/
3807
+ e[100].isFavorite) && o(a, "gamefavorite", k), d[0] & /*currency*/
3808
+ 8192 && o(
3809
+ a,
3810
+ "currency",
3811
+ /*currency*/
3812
+ e[13]
3813
+ ), d[0] & /*shownCategoryData*/
3814
+ 536870912 && w !== (w = /*gameprops*/
3815
+ e[100].details ? (
3816
+ /*gameprops*/
3817
+ e[100].href
3818
+ ) : "") && o(a, "livelobbyendpoint", w), d[0] & /*clientstyling*/
3819
+ 1024 && o(
3820
+ a,
3821
+ "clientstyling",
3822
+ /*clientstyling*/
3823
+ e[10]
3824
+ ), d[0] & /*clientstylingurl*/
3825
+ 2048 && o(
3826
+ a,
3827
+ "clientstylingurl",
3828
+ /*clientstylingurl*/
3829
+ e[11]
3830
+ ), d[0] & /*endpoint*/
3831
+ 8 && o(
3832
+ a,
3833
+ "endpoint",
3834
+ /*endpoint*/
3835
+ e[3]
3836
+ ), d[0] & /*livecasino*/
3837
+ 32768 && o(
3838
+ a,
3839
+ "livecasino",
3840
+ /*livecasino*/
3841
+ e[15]
3842
+ ), d[0] & /*gamepagemodalurl*/
3843
+ 65536 && o(
3844
+ a,
3845
+ "gamepagemodalurl",
3846
+ /*gamepagemodalurl*/
3847
+ e[16]
3848
+ ), d[0] & /*integratedgameframedesktop*/
3849
+ 131072 && o(
3850
+ a,
3851
+ "integratedgameframedesktop",
3852
+ /*integratedgameframedesktop*/
3853
+ e[17]
3854
+ ), d[0] & /*integratedgameframemobile*/
3855
+ 262144 && o(
3856
+ a,
3857
+ "integratedgameframemobile",
3858
+ /*integratedgameframemobile*/
3859
+ e[18]
3860
+ ), d[0] & /*mbsource*/
3861
+ 512 && o(
3862
+ a,
3863
+ "mbsource",
3864
+ /*mbsource*/
3865
+ e[9]
3866
+ );
3867
+ },
3868
+ d(f) {
3869
+ f && G(a);
3870
+ }
3871
+ };
3872
+ }
3873
+ function yi(t) {
3874
+ let e;
3875
+ return {
3876
+ c() {
3877
+ e = T("p"), e.textContent = "500 Error - Internal Server Error.", v(e, "class", "SearchLoading");
3878
+ },
3879
+ m(a, n) {
3880
+ F(a, e, n);
3881
+ },
3882
+ d(a) {
3883
+ a && G(e);
3884
+ }
3885
+ };
3886
+ }
3887
+ function ki(t) {
3888
+ let e;
3889
+ return {
3890
+ c() {
3891
+ e = T("p"), e.textContent = "404 Error - No result found.", v(e, "class", "SearchLoading");
3892
+ },
3893
+ m(a, n) {
3894
+ F(a, e, n);
3895
+ },
3896
+ d(a) {
3897
+ a && G(e);
3898
+ }
3899
+ };
3900
+ }
3901
+ function Ci(t) {
3902
+ let e;
3903
+ function a(r, s) {
3904
+ return (
3905
+ /*hasErrors*/
3906
+ r[26] ? Zn : (
3907
+ /*searched*/
3908
+ r[31] ? Kn : Qn
3909
+ )
3910
+ );
3911
+ }
3912
+ let n = a(t), i = n(t);
3913
+ return {
3914
+ c() {
3915
+ e = T("div"), i.c(), v(e, "class", "CasinoGamesCategorySectionContainer");
3916
+ },
3917
+ m(r, s) {
3918
+ F(r, e, s), i.m(e, null), t[64](e);
3919
+ },
3920
+ p(r, s) {
3921
+ n === (n = a(r)) && i ? i.p(r, s) : (i.d(1), i = n(r), i && (i.c(), i.m(e, null)));
3922
+ },
3923
+ i: ke,
3924
+ o: ke,
3925
+ d(r) {
3926
+ r && G(e), i.d(), t[64](null);
3927
+ }
3928
+ };
3929
+ }
3930
+ const ce = "game-tile-";
3931
+ let Si = 0;
3932
+ function Mi(t, e, a) {
3933
+ let n;
3934
+ St(t, It, (l) => a(43, n = l));
3935
+ let { endpoint: i = "" } = e, { datasource: r = "" } = e, { lang: s = "" } = e, { session: u = "" } = e, { userid: m = "" } = e, { favorites: c = "" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: b = "" } = e, { currency: k = "" } = e, { categoryid: w = "" } = e, { showgamename: f = "" } = e, { livecasino: d = "false" } = e, { gamepagemodalurl: P = "true" } = e, { integratedgameframedesktop: z = "false" } = e, { integratedgameframemobile: y = "false" } = e, { casinomygames: B = "false" } = e, { addfilterselector: ae = "false" } = e, { addsortingselector: pe = "false" } = e, { filterbylogo: Ie = "" } = e, { casinogamesgridslider: Ue = "false" } = e, { fetchviaevent: de = "false" } = e, { showallpage: W = "casino" } = e, { actionevent: X = "CategoryChange" } = e, { displayedgamecount: te = "10" } = e, { showallbuttongamescount: Re = "10" } = e, { lobbyscreen: xe = "true" } = e, { usesinglevendorfilter: Le = "false" } = e, { visiblegames: $e = "10" } = e, { customizesectionicon: ea = "true" } = e, { requiredicon: aa = "false" } = e, se = !0, ta = !1, Ae, je, ne = !0, fa = window.navigator.userAgent, Y, D = [], ie = !0, fe = 40, re = !1, We = !1, Se = !1, na = !1, ia = !0, Me = !1, Ge, ra, Fe, Te = !1, $, Xa, Ja, Ye = !1, ze = new Array(1e4), Oe = {}, oa = "", ge = "", qe, sa, I, J = [], He = new AbortController(), _e = { items: [], count: 0, name: "" };
3936
+ const la = (l) => {
3937
+ Object.keys(l).forEach((p) => {
3938
+ Ut(p, l[p]);
3939
+ });
3940
+ }, Qa = () => {
3941
+ fetch(b).then((p) => p.json()).then((p) => {
3942
+ la(p);
3943
+ }).catch((p) => {
3944
+ console.log(p);
3945
+ });
3946
+ };
3947
+ la(Lt), typeof document.hidden != "undefined" ? qe = "hidden" : typeof document.msHidden != "undefined" ? qe = "msHidden" : typeof document.webkitHidden != "undefined" && (qe = "webkitHidden");
3948
+ let Ve = new IntersectionObserver((l) => {
3949
+ l.forEach((p) => Be(this, null, function* () {
3950
+ let C = p.target.gameid, N = p.target.elems_index;
3951
+ p.isIntersecting ? (N * 1.2 > fe && !ie && tt(w), a(40, Oe[C] = 1, Oe)) : a(40, Oe[C] = 0, Oe);
3952
+ }));
3953
+ });
3954
+ const Ka = (l, p) => new Promise((C, N) => {
3955
+ if (l && p) {
3956
+ let R = `${i}/v1/player/${p}/favorites/`;
3957
+ fetch(R, {
3958
+ method: "GET",
3959
+ headers: { "X-SessionID": l }
3960
+ }).then((S) => S.json()).then((S) => {
3961
+ var ee, q;
3962
+ if (I = [], S) {
3963
+ (ee = S.items) == null || ee.forEach((Z) => {
3964
+ Z.gameModel && (I.push(Z), J.includes(Z.id) || J.push(Z.id));
3965
+ });
3966
+ const K = (q = Xe(I)) == null ? void 0 : q.length;
3967
+ window.postMessage({
3968
+ type: "UpdateFavoritesCount",
3969
+ favoriteGamesLength: K
3970
+ });
3971
+ } else
3972
+ I = [];
3973
+ w === "FAVORITES" && ca(I), C(I);
3974
+ }).catch((S) => {
3975
+ console.error(S), N(S);
3976
+ });
3977
+ } else
3978
+ C([]);
3979
+ }), ua = (l, p) => {
3980
+ let C = `${i}/v1/player/${p}/favorites/`;
3981
+ a(25, se = !0);
3982
+ let N = {
3983
+ method: "GET",
3984
+ headers: { "X-SessionID": l }
3985
+ };
3986
+ return new Promise((R, U) => {
3987
+ fetch(C, N).then((S) => S.json()).then((S) => {
3988
+ var q, K;
3989
+ if (a(25, se = !1), I = [], S) {
3990
+ (q = S.items) == null || q.forEach((be) => {
3991
+ be.gameModel && (I.push(be), J.includes(be.id) || J.push(be.id));
3992
+ });
3993
+ const Z = (K = Xe(I)) == null ? void 0 : K.length;
3994
+ window.postMessage({
3995
+ type: "UpdateFavoritesCount",
3996
+ favoriteGamesLength: Z
3997
+ });
3998
+ } else
3999
+ I = [];
4000
+ w === "FAVORITES" && ca(I), D.forEach((Z) => {
4001
+ Z.isFavorite = Q(Z.id);
4002
+ });
4003
+ let ee = D;
4004
+ a(29, D = void 0), a(29, D = ee), R(I);
4005
+ }).catch((S) => {
4006
+ console.error(S), U(S);
4007
+ });
4008
+ });
4009
+ }, ga = (l, p, C, N) => {
4010
+ He && He.abort(), He = new AbortController();
4011
+ const R = He.signal;
4012
+ a(25, se = !0);
4013
+ let U = "", S = "", ee = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), q = JSON.parse(localStorage.getItem("vendorSortingBy"));
4014
+ const K = Le === "true" ? "*" : l, Z = p, be = C != null ? C : 40;
4015
+ return (l.match(/\$/g) || []).length > 1 ? (U = l.split("$").slice(0, 2).join("$"), S = new URL(`${i}/v1/casino/groups/${r}/${U}/subGroups`)) : S = new URL(`${i}/v1/casino/groups/${r}/${l}`), new Promise((vt, pt) => {
4016
+ var ba;
4017
+ S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("platform", Tt(fa)), S.searchParams.append("pagination", `games(offset=${Z},limit=${be})`), S.searchParams.append("language", s);
4018
+ let _a = "id,name,games";
4019
+ if (ea === "true" && (_a += ",icon"), S.searchParams.append("fields", _a), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), ee && ((ba = ee[K]) != null && ba.length))
4020
+ if (Le === "true" || ne === !1 && Te === !1) {
4021
+ let L = "";
4022
+ a(34, na = !0), ee[K].forEach((le) => {
4023
+ L = L + (L ? `,games(vendor(id=${le}))` : `games(vendor(id=${le}))`);
4024
+ }), S.searchParams.append("filter", `${L}`);
4025
+ } else
4026
+ a(34, na = !1);
4027
+ q && (q[l] ? q[l] && q[l] != "All" && (q[l] == "isNew" || q[l] == "advancedTags(name(hot))" ? (S.searchParams.append("sortedField", `games(${q[l]})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${q[l]})`)) : ge && ge != "All" && (ge == "advancedTags(name(hot))" || ge == "isNew" ? (S.searchParams.append("sortedField", `games(${ge})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${ge})`))), fetch(S, { signal: R }).then((L) => {
4028
+ if (!L.ok)
4029
+ throw L.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${L.status}`);
4030
+ return L.json();
4031
+ }).then((L) => {
4032
+ R.aborted || (a(25, se = !1), (l.match(/\$/g) || []).length > 1 && (L = L.items.filter((le) => {
4033
+ if (le.id == l)
4034
+ return le;
4035
+ })[0]), a(57, sa = !0), a(26, ta = !1), ra = L.games.total, N && L.games.items.forEach((le) => {
4036
+ le.isFavorite = Q(le.id);
4037
+ }), a(36, Me = !0), vt(L));
4038
+ }).catch((L) => {
4039
+ L.name !== "AbortError" && (a(26, ta = !0), console.error(L), pt(L));
4040
+ }).finally(() => {
4041
+ Za();
4042
+ });
4043
+ });
4044
+ }, De = (l, p, C) => new Promise((N, R) => {
4045
+ c == "true" ? Ka(u, m).then((U) => {
4046
+ ga(l, p, C, U).then((S) => {
4047
+ N(S);
4048
+ });
4049
+ }) : ga(l, p, C, null).then((U) => {
4050
+ N(U);
4051
+ });
4052
+ }), Za = () => {
4053
+ const l = $.getRootNode().host;
4054
+ l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
4055
+ }, xa = (l, p, C) => {
4056
+ l !== "" && (a(31, re = !1), a(27, ne = !0), a(1, ae = "false"), a(2, pe = "false"), a(33, Se = !1), Ye = !1, a(30, ie = +p > +C), De(l, 0, +p).then((N) => {
4057
+ a(28, Y = N), a(29, D = Y.games.items), D && D.forEach((R) => {
4058
+ R.isFavorite = Q(R.id);
4059
+ });
4060
+ }));
4061
+ }, ma = (l) => {
4062
+ if (l.data)
4063
+ switch (l.data.type) {
4064
+ case "MostPlayedData":
4065
+ w == "MOSTPLAYED" && (a(31, re = !1), a(27, ne = !1), a(30, ie = !1), a(29, D = l.data.mostPlayedGames), a(28, Y = {
4066
+ id: "MOSTPLAYED",
4067
+ name: "Most Played Games",
4068
+ games: {
4069
+ count: l.data.mostPlayedGames.length,
4070
+ total: l.data.mostPlayedGames.length,
4071
+ items: l.data.mostPlayedGames
4072
+ }
4073
+ }), D && D.forEach((p) => {
4074
+ p.isFavorite = Q(p.id);
4075
+ })), a(25, se = !1);
4076
+ break;
4077
+ case "LastPlayedData":
4078
+ w == "LASTPLAYED" && (a(31, re = !1), a(27, ne = !1), a(30, ie = !1), a(29, D = l.data.lastPlayedGames), a(28, Y = {
4079
+ id: "LASTPLAYED",
4080
+ name: "Last Played Games",
4081
+ games: {
4082
+ count: l.data.lastPlayedGames.length,
4083
+ total: l.data.lastPlayedGames.length,
4084
+ items: l.data.lastPlayedGames
4085
+ }
4086
+ }), D && D.forEach((p) => {
4087
+ p.isFavorite = Q(p.id);
4088
+ })), a(25, se = !1);
4089
+ break;
4090
+ case "RecentSearchData":
4091
+ a(31, re = !0), a(32, We = !0), l.data.searchData.length > 0 ? (a(29, D = l.data.searchData), a(35, ia = !0), D && D.forEach((p) => {
4092
+ p.isFavorite = Q(p.id);
4093
+ })) : (a(29, D = []), a(35, ia = !1));
4094
+ break;
4095
+ case "OutOfRecentSearches":
4096
+ a(31, re = !1), a(32, We = !1);
4097
+ break;
4098
+ case "SearchData":
4099
+ a(31, re = !0), a(32, We = !1), a(29, D = l.data.searchData.items || []), a(33, Se = !0), l.data.receivedFavoriteResults && (I = l.data.receivedFavoriteResults.items), D && D.forEach((p) => {
4100
+ p.isFavorite = Q(p.id);
4101
+ });
4102
+ break;
4103
+ case `CategoryData_${w}`:
4104
+ a(31, re = !1), a(27, ne = !0), a(1, ae = "false"), a(2, pe = "false"), a(33, Se = !1), Ye = !1, De(l.data.categoryId, 0, l.data.visiblegames).then((p) => {
4105
+ a(28, Y = p), a(29, D = Y.games.items), a(30, ie = !(ra <= l.data.visiblegames && ne)), D && D.forEach((C) => {
4106
+ C.isFavorite = Q(C.id);
4107
+ });
4108
+ });
4109
+ break;
4110
+ case "CategoryChange":
4111
+ fe = 20;
4112
+ break;
4113
+ case "ApplySorter":
4114
+ a(0, w = l.data.itemId), ge = l.data.sortBy, De(w, 0, fe).then((p) => {
4115
+ a(28, Y = p), a(29, D = Y.games.items), a(30, ie = !1);
4116
+ });
4117
+ break;
4118
+ case "CategoryUpdate":
4119
+ ha(l.data.itemId);
4120
+ break;
4121
+ case `SetUnfavoredGame${w}`:
4122
+ at(`${i}/v1/player/${m}/favorites`, u, l.data.id);
4123
+ break;
4124
+ case `SetFavoredGame${w}`:
4125
+ et(`${i}/v1/player/${m}/favorites`, u, l.data.id);
4126
+ break;
4127
+ case "UserSessionID":
4128
+ Ae = l.data.session, je = l.data.userID, c == "true" && je && je.length && Ae && Ae.length > 0 && ua(Ae, je);
4129
+ break;
4130
+ case "UpdateFavoredList":
4131
+ w === "FAVORITES" && va(l.data.url, l.data.sessionID);
4132
+ break;
4133
+ }
4134
+ }, ha = (l, p = !1) => {
4135
+ a(31, re = !1), a(27, ne = xe === "true"), a(33, Se = !1), Ye = !0, a(36, Me = !1), a(0, w = l), w !== "MOSTPLAYED" && !p && a(30, ie = !1), B !== "true" && (!I && u && ua(u, m), De(w, 0, fe).then((C) => {
4136
+ a(28, Y = C), a(29, D = Y.games.items);
4137
+ }).finally(
4138
+ /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
4139
+ if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
4140
+ scrollTop = true;
4141
+ setTimeout(() => {
4142
+ window.postMessage({ type: 'WidgetTopReference', scrollTop }, window.location.href);
4143
+ }, 500);
4144
+ }*/
4145
+ () => {
4146
+ ne && window.postMessage(
4147
+ {
4148
+ type: `CategoryData_${w}`,
4149
+ categoryId: w,
4150
+ visiblegames: $e
4151
+ },
4152
+ window.location.href
4153
+ );
4154
+ }
4155
+ ));
4156
+ }, $a = () => {
4157
+ Y && (a(29, D = Y.games.items), D.forEach((l) => {
4158
+ l.isFavorite = Q(l.id);
4159
+ }));
4160
+ }, Q = (l) => {
4161
+ var p;
4162
+ return (p = I == null ? void 0 : I.some((C) => C.id === l)) != null ? p : !1;
4163
+ };
4164
+ let et = (l, p, C) => Be(this, null, function* () {
4165
+ yield va(l, p), J.includes(C) || J.push(C);
4166
+ let R = {
4167
+ method: "POST",
4168
+ headers: {
4169
+ "X-SessionID": p,
4170
+ "Content-Type": "application/json",
4171
+ Accept: "application/json"
4172
+ },
4173
+ body: JSON.stringify({ items: J })
4174
+ };
4175
+ fetch(l, R).then((U) => U.json()).then((U) => {
4176
+ window.postMessage({ type: `AddFavoriteThumbnail_${C}` }, window.location.href), window.postMessage({
4177
+ type: "UpdateFavoredList",
4178
+ url: l,
4179
+ sessionID: p
4180
+ });
4181
+ }).catch((U) => {
4182
+ console.error("Err", U);
4183
+ });
4184
+ });
4185
+ const at = (l, p, C) => {
4186
+ let N = {
4187
+ method: "DELETE",
4188
+ headers: { "X-SessionID": p }
4189
+ };
4190
+ fetch(`${l}/${C}`, N).then((R) => R.json()).then(() => {
4191
+ window.postMessage(
4192
+ {
4193
+ type: `RemoveFavoriteThumbnail_${C}`
4194
+ },
4195
+ window.location.href
4196
+ ), window.postMessage({
4197
+ type: "UpdateFavoredList",
4198
+ url: l,
4199
+ sessionID: p
4200
+ });
4201
+ }), J.includes(C) && (J = J.filter((R) => R != C));
4202
+ }, va = (l, p) => Be(this, null, function* () {
4203
+ return fetch(l, {
4204
+ method: "GET",
4205
+ headers: { "X-SessionID": p }
4206
+ }).then((N) => N.json()).then((N) => {
4207
+ var U;
4208
+ I = N.items, de ? (I.forEach((S) => {
4209
+ J.includes(S.id) || J.push(S.id);
4210
+ }), $a()) : I.forEach((S) => {
4211
+ S.isFavorite = Q(S.id);
4212
+ });
4213
+ const R = (U = Xe(I)) == null ? void 0 : U.length;
4214
+ w === "FAVORITES" && (window.postMessage({
4215
+ type: "UpdateFavoritesCount",
4216
+ favoriteGamesLength: R
4217
+ }), ca(I));
4218
+ }).catch((N) => {
4219
+ console.error(N);
4220
+ });
4221
+ }), ca = (l) => {
4222
+ if (!l)
4223
+ return;
4224
+ let p;
4225
+ p = (l == null ? void 0 : l.items) || l || [], p.length > 0 && p.forEach((C) => {
4226
+ C.gameModel && (C.gameModel.isFavorite = !0);
4227
+ }), a(42, _e.items = Xe(p, _e.items), _e), a(42, _e.name = "Favorites", _e), a(25, se = !1);
4228
+ }, tt = (l) => {
4229
+ fe += 1, a(36, Me = !0), fe <= ra && De(l, Si, fe).then((p) => {
4230
+ a(28, Y = p), Y.games.items.length > D.length && (a(29, D = Y.games.items), D.forEach((C) => {
4231
+ C.isFavorite = Q(C.id);
4232
+ })), a(36, Me = !1);
4233
+ });
4234
+ }, nt = (l) => {
4235
+ const p = l != null ? l : [];
4236
+ if ((p == null ? void 0 : p.length) === 0)
4237
+ return "";
4238
+ let C = "", N = 999999999999, R;
4239
+ const U = new Date(Date.now());
4240
+ return p.forEach((S, ee) => {
4241
+ const q = new Date(S.schedules[0].startTime), K = new Date(S.schedules[0].endTime);
4242
+ ya(new Date(K), new Date(U)) < N && (N = ya(new Date(K), new Date(U)), R = ee), Bn(new Date(U), new Date(q)) && Xn(new Date(U), new Date(K)) && (C = p[R].name);
4243
+ }), C;
4244
+ }, it = (l) => aa !== "true" ? void 0 : Object.values(l != null ? l : {}).pop(), pa = (l) => {
4245
+ a(30, ie = !1), window.postMessage(
4246
+ {
4247
+ type: `${X}`,
4248
+ itemId: l,
4249
+ showallpage: W
4250
+ },
4251
+ window.location.href
4252
+ );
4253
+ }, rt = () => {
4254
+ switch (w) {
4255
+ case "FAVORITES":
4256
+ m && u && a(39, Te = !0);
4257
+ break;
4258
+ case "MOSTPLAYED":
4259
+ B === "false" && m && u && a(39, Te = !1);
4260
+ break;
4261
+ case "LASTPLAYED":
4262
+ B === "false" && m && u && a(39, Te = !1);
4263
+ break;
4264
+ default:
4265
+ ha(w, !0);
4266
+ break;
4267
+ }
4268
+ }, ot = () => {
4269
+ document[qe] ? a(41, oa = "disconnect") : a(41, oa = "connect");
4270
+ }, st = () => {
4271
+ Ye && ze.forEach((l, p) => {
4272
+ l && (l.elems_index = p, Ve.observe(l));
4273
+ });
4274
+ }, lt = () => {
4275
+ Rt(s);
4276
+ };
4277
+ Mt(() => {
4278
+ Ve == null || Ve.disconnect();
4279
+ }), Gt(() => (window.addEventListener("visibilitychange", (l) => ot()), window.addEventListener("message", ma, !1), () => {
4280
+ window.removeEventListener("message", ma), window.removeEventListener("visibilitychange", ma);
4281
+ }));
4282
+ function ut(l) {
4283
+ we[l ? "unshift" : "push"](() => {
4284
+ Fe = l, a(38, Fe);
4285
+ });
4286
+ }
4287
+ const mt = (l) => pa(Y.id);
4288
+ function ct(l, p) {
4289
+ we[l ? "unshift" : "push"](() => {
4290
+ ze[p] = l, a(24, ze);
4291
+ });
4292
+ }
4293
+ function dt(l) {
4294
+ we[l ? "unshift" : "push"](() => {
4295
+ Ge = l, a(37, Ge);
4296
+ });
4297
+ }
4298
+ function ft(l) {
4299
+ we[l ? "unshift" : "push"](() => {
4300
+ Fe = l, a(38, Fe);
4301
+ });
4302
+ }
4303
+ function gt(l) {
4304
+ we[l ? "unshift" : "push"](() => {
4305
+ Ge = l, a(37, Ge);
4306
+ });
4307
+ }
4308
+ function ht(l) {
4309
+ we[l ? "unshift" : "push"](() => {
4310
+ $ = l, a(23, $);
4311
+ });
4312
+ }
4313
+ return t.$$set = (l) => {
4314
+ "endpoint" in l && a(3, i = l.endpoint), "datasource" in l && a(4, r = l.datasource), "lang" in l && a(5, s = l.lang), "session" in l && a(6, u = l.session), "userid" in l && a(7, m = l.userid), "favorites" in l && a(8, c = l.favorites), "mbsource" in l && a(9, g = l.mbsource), "clientstyling" in l && a(10, h = l.clientstyling), "clientstylingurl" in l && a(11, _ = l.clientstylingurl), "translationurl" in l && a(12, b = l.translationurl), "currency" in l && a(13, k = l.currency), "categoryid" in l && a(0, w = l.categoryid), "showgamename" in l && a(14, f = l.showgamename), "livecasino" in l && a(15, d = l.livecasino), "gamepagemodalurl" in l && a(16, P = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, z = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, y = l.integratedgameframemobile), "casinomygames" in l && a(19, B = l.casinomygames), "addfilterselector" in l && a(1, ae = l.addfilterselector), "addsortingselector" in l && a(2, pe = l.addsortingselector), "filterbylogo" in l && a(20, Ie = l.filterbylogo), "casinogamesgridslider" in l && a(21, Ue = l.casinogamesgridslider), "fetchviaevent" in l && a(48, de = l.fetchviaevent), "showallpage" in l && a(49, W = l.showallpage), "actionevent" in l && a(50, X = l.actionevent), "displayedgamecount" in l && a(51, te = l.displayedgamecount), "showallbuttongamescount" in l && a(52, Re = l.showallbuttongamescount), "lobbyscreen" in l && a(53, xe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Le = l.usesinglevendorfilter), "visiblegames" in l && a(54, $e = l.visiblegames), "customizesectionicon" in l && a(55, ea = l.customizesectionicon), "requiredicon" in l && a(56, aa = l.requiredicon);
4315
+ }, t.$$.update = () => {
4316
+ t.$$.dirty[0] & /*lang*/
4317
+ 32 && s && lt(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
4318
+ 57 | t.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
4319
+ 3276800 && (de === "false" || de === "") && i && s && w && r && te && Re && xa(w, te, Re), t.$$.dirty[0] & /*favorites, endpoint, session, userid*/
4320
+ 456 && c === "true" && i && u && m && ua(u, m), t.$$.dirty[0] & /*thumbnailContainer*/
4321
+ 16777216 | t.$$.dirty[1] & /*dataloaded*/
4322
+ 67108864 && sa && ze && st(), t.$$.dirty[0] & /*lang, categoryid*/
4323
+ 33 && s && w && rt(), t.$$.dirty[0] & /*translationurl*/
4324
+ 4096 && b && Qa(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4325
+ 8389632 && h && $ && Dt($, h), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4326
+ 8390656 && _ && $ && Et($, _), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
4327
+ 8389120 && g && $ && Pt($, `${g}.Style`, Xa), t.$$.dirty[0] & /*mbsource, translationurl*/
4328
+ 4608 && g && !b && Ft(`${g}.Translation`, Ja, la);
4329
+ }, [
4330
+ w,
4331
+ ae,
4332
+ pe,
4333
+ i,
4334
+ r,
4335
+ s,
4336
+ u,
4337
+ m,
4338
+ c,
4339
+ g,
4340
+ h,
4341
+ _,
4342
+ b,
4343
+ k,
4344
+ f,
4345
+ d,
4346
+ P,
4347
+ z,
4348
+ y,
4349
+ B,
4350
+ Ie,
4351
+ Ue,
4352
+ Le,
4353
+ $,
4354
+ ze,
4355
+ se,
4356
+ ta,
4357
+ ne,
4358
+ Y,
4359
+ D,
4360
+ ie,
4361
+ re,
4362
+ We,
4363
+ Se,
4364
+ na,
4365
+ ia,
4366
+ Me,
4367
+ Ge,
4368
+ Fe,
4369
+ Te,
4370
+ Oe,
4371
+ oa,
4372
+ _e,
4373
+ n,
4374
+ fa,
4375
+ nt,
4376
+ it,
4377
+ pa,
4378
+ de,
4379
+ W,
4380
+ X,
4381
+ te,
4382
+ Re,
4383
+ xe,
4384
+ $e,
4385
+ ea,
4386
+ aa,
4387
+ sa,
4388
+ ut,
4389
+ mt,
4390
+ ct,
4391
+ dt,
4392
+ ft,
4393
+ gt,
4394
+ ht
4395
+ ];
4396
+ }
4397
+ class Ba extends wt {
4398
+ constructor(e) {
4399
+ super(), yt(
4400
+ this,
4401
+ e,
4402
+ Mi,
4403
+ Ci,
4404
+ kt,
4405
+ {
4406
+ endpoint: 3,
4407
+ datasource: 4,
4408
+ lang: 5,
4409
+ session: 6,
4410
+ userid: 7,
4411
+ favorites: 8,
4412
+ mbsource: 9,
4413
+ clientstyling: 10,
4414
+ clientstylingurl: 11,
4415
+ translationurl: 12,
4416
+ currency: 13,
4417
+ categoryid: 0,
4418
+ showgamename: 14,
4419
+ livecasino: 15,
4420
+ gamepagemodalurl: 16,
4421
+ integratedgameframedesktop: 17,
4422
+ integratedgameframemobile: 18,
4423
+ casinomygames: 19,
4424
+ addfilterselector: 1,
4425
+ addsortingselector: 2,
4426
+ filterbylogo: 20,
4427
+ casinogamesgridslider: 21,
4428
+ fetchviaevent: 48,
4429
+ showallpage: 49,
4430
+ actionevent: 50,
4431
+ displayedgamecount: 51,
4432
+ showallbuttongamescount: 52,
4433
+ lobbyscreen: 53,
4434
+ usesinglevendorfilter: 22,
4435
+ visiblegames: 54,
4436
+ customizesectionicon: 55,
4437
+ requiredicon: 56
4438
+ },
4439
+ Jn,
4440
+ [-1, -1, -1, -1]
4441
+ );
4442
+ }
4443
+ get endpoint() {
4444
+ return this.$$.ctx[3];
4445
+ }
4446
+ set endpoint(e) {
4447
+ this.$$set({ endpoint: e }), O();
4448
+ }
4449
+ get datasource() {
4450
+ return this.$$.ctx[4];
4451
+ }
4452
+ set datasource(e) {
4453
+ this.$$set({ datasource: e }), O();
4454
+ }
4455
+ get lang() {
4456
+ return this.$$.ctx[5];
4457
+ }
4458
+ set lang(e) {
4459
+ this.$$set({ lang: e }), O();
4460
+ }
4461
+ get session() {
4462
+ return this.$$.ctx[6];
4463
+ }
4464
+ set session(e) {
4465
+ this.$$set({ session: e }), O();
4466
+ }
4467
+ get userid() {
4468
+ return this.$$.ctx[7];
4469
+ }
4470
+ set userid(e) {
4471
+ this.$$set({ userid: e }), O();
4472
+ }
4473
+ get favorites() {
4474
+ return this.$$.ctx[8];
4475
+ }
4476
+ set favorites(e) {
4477
+ this.$$set({ favorites: e }), O();
4478
+ }
4479
+ get mbsource() {
4480
+ return this.$$.ctx[9];
4481
+ }
4482
+ set mbsource(e) {
4483
+ this.$$set({ mbsource: e }), O();
4484
+ }
4485
+ get clientstyling() {
4486
+ return this.$$.ctx[10];
4487
+ }
4488
+ set clientstyling(e) {
4489
+ this.$$set({ clientstyling: e }), O();
4490
+ }
4491
+ get clientstylingurl() {
4492
+ return this.$$.ctx[11];
4493
+ }
4494
+ set clientstylingurl(e) {
4495
+ this.$$set({ clientstylingurl: e }), O();
4496
+ }
4497
+ get translationurl() {
4498
+ return this.$$.ctx[12];
4499
+ }
4500
+ set translationurl(e) {
4501
+ this.$$set({ translationurl: e }), O();
4502
+ }
4503
+ get currency() {
4504
+ return this.$$.ctx[13];
4505
+ }
4506
+ set currency(e) {
4507
+ this.$$set({ currency: e }), O();
4508
+ }
4509
+ get categoryid() {
4510
+ return this.$$.ctx[0];
4511
+ }
4512
+ set categoryid(e) {
4513
+ this.$$set({ categoryid: e }), O();
4514
+ }
4515
+ get showgamename() {
4516
+ return this.$$.ctx[14];
4517
+ }
4518
+ set showgamename(e) {
4519
+ this.$$set({ showgamename: e }), O();
4520
+ }
4521
+ get livecasino() {
4522
+ return this.$$.ctx[15];
4523
+ }
4524
+ set livecasino(e) {
4525
+ this.$$set({ livecasino: e }), O();
4526
+ }
4527
+ get gamepagemodalurl() {
4528
+ return this.$$.ctx[16];
4529
+ }
4530
+ set gamepagemodalurl(e) {
4531
+ this.$$set({ gamepagemodalurl: e }), O();
4532
+ }
4533
+ get integratedgameframedesktop() {
4534
+ return this.$$.ctx[17];
4535
+ }
4536
+ set integratedgameframedesktop(e) {
4537
+ this.$$set({ integratedgameframedesktop: e }), O();
4538
+ }
4539
+ get integratedgameframemobile() {
4540
+ return this.$$.ctx[18];
4541
+ }
4542
+ set integratedgameframemobile(e) {
4543
+ this.$$set({ integratedgameframemobile: e }), O();
4544
+ }
4545
+ get casinomygames() {
4546
+ return this.$$.ctx[19];
4547
+ }
4548
+ set casinomygames(e) {
4549
+ this.$$set({ casinomygames: e }), O();
4550
+ }
4551
+ get addfilterselector() {
4552
+ return this.$$.ctx[1];
4553
+ }
4554
+ set addfilterselector(e) {
4555
+ this.$$set({ addfilterselector: e }), O();
4556
+ }
4557
+ get addsortingselector() {
4558
+ return this.$$.ctx[2];
4559
+ }
4560
+ set addsortingselector(e) {
4561
+ this.$$set({ addsortingselector: e }), O();
4562
+ }
4563
+ get filterbylogo() {
4564
+ return this.$$.ctx[20];
4565
+ }
4566
+ set filterbylogo(e) {
4567
+ this.$$set({ filterbylogo: e }), O();
4568
+ }
4569
+ get casinogamesgridslider() {
4570
+ return this.$$.ctx[21];
4571
+ }
4572
+ set casinogamesgridslider(e) {
4573
+ this.$$set({ casinogamesgridslider: e }), O();
4574
+ }
4575
+ get fetchviaevent() {
4576
+ return this.$$.ctx[48];
4577
+ }
4578
+ set fetchviaevent(e) {
4579
+ this.$$set({ fetchviaevent: e }), O();
4580
+ }
4581
+ get showallpage() {
4582
+ return this.$$.ctx[49];
4583
+ }
4584
+ set showallpage(e) {
4585
+ this.$$set({ showallpage: e }), O();
4586
+ }
4587
+ get actionevent() {
4588
+ return this.$$.ctx[50];
4589
+ }
4590
+ set actionevent(e) {
4591
+ this.$$set({ actionevent: e }), O();
4592
+ }
4593
+ get displayedgamecount() {
4594
+ return this.$$.ctx[51];
4595
+ }
4596
+ set displayedgamecount(e) {
4597
+ this.$$set({ displayedgamecount: e }), O();
4598
+ }
4599
+ get showallbuttongamescount() {
4600
+ return this.$$.ctx[52];
4601
+ }
4602
+ set showallbuttongamescount(e) {
4603
+ this.$$set({ showallbuttongamescount: e }), O();
4604
+ }
4605
+ get lobbyscreen() {
4606
+ return this.$$.ctx[53];
4607
+ }
4608
+ set lobbyscreen(e) {
4609
+ this.$$set({ lobbyscreen: e }), O();
4610
+ }
4611
+ get usesinglevendorfilter() {
4612
+ return this.$$.ctx[22];
4613
+ }
4614
+ set usesinglevendorfilter(e) {
4615
+ this.$$set({ usesinglevendorfilter: e }), O();
4616
+ }
4617
+ get visiblegames() {
4618
+ return this.$$.ctx[54];
4619
+ }
4620
+ set visiblegames(e) {
4621
+ this.$$set({ visiblegames: e }), O();
4622
+ }
4623
+ get customizesectionicon() {
4624
+ return this.$$.ctx[55];
4625
+ }
4626
+ set customizesectionicon(e) {
4627
+ this.$$set({ customizesectionicon: e }), O();
4628
+ }
4629
+ get requiredicon() {
4630
+ return this.$$.ctx[56];
4631
+ }
4632
+ set requiredicon(e) {
4633
+ this.$$set({ requiredicon: e }), O();
4634
+ }
4635
+ }
4636
+ Nt(Ba, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {}, customizesectionicon: {}, requiredicon: {} }, [], [], !0);
4637
+ const zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4638
+ __proto__: null,
4639
+ default: Ba
4640
+ }, Symbol.toStringTag, { value: "Module" }));
4641
+ export {
4642
+ zi as C,
4643
+ Ti as f
4644
+ };