@everymatrix/casino-page-nd 1.55.0 → 1.56.2

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 (95) hide show
  1. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-B72qCmVu.js} +366 -305
  2. package/components/{CasinoCalendar-hlupOGnG.cjs → CasinoCalendar-BYA6uJQI.cjs} +17 -4
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-B_WI7Mt3.js} +442 -381
  4. package/components/CasinoCalendarDailyDetails-C6UIzboP.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-C7w893Od.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-D6TvS_Uw.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-Brbbja83.js +306 -0
  8. package/components/CasinoCalendarDailyItem-Dn4fP4pR.js +306 -0
  9. package/components/CasinoCalendarDailyItem-thGDWh2Q.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-8ZQ44tRK.js} +30 -28
  11. package/components/CasinoCollectionsProviders-BVnxWKQ2.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-C_PrWYCC.js} +29 -27
  13. package/components/CasinoFavoritesSectionNd-CQCLvjg0.js +446 -0
  14. package/components/CasinoFavoritesSectionNd-D0uxeFMF.js +446 -0
  15. package/components/CasinoFavoritesSectionNd-DruLKFit.cjs +1 -0
  16. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-D-mxzzEe.js} +63 -59
  17. package/components/{CasinoFilter-Dca8BAHj.cjs → CasinoFilter-DccaWSTr.cjs} +1 -1
  18. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-Dy3YLxDF.js} +65 -61
  19. package/components/CasinoGameThumbnailNd-B8JRjL-K.js +4360 -0
  20. package/components/CasinoGameThumbnailNd-BH0MIxp8.js +4344 -0
  21. package/components/CasinoGameThumbnailNd-CkE5llqF.cjs +39 -0
  22. package/components/CasinoGamesCategorySectionNd-BAKacraj.js +3063 -0
  23. package/components/CasinoGamesCategorySectionNd-BAw_qUGw.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-BgeZaX3s.js → CasinoGamesCategorySectionNd-s5oua2PM.js} +1118 -1112
  25. package/components/CasinoJackpotBanner-Ck34M8Rn.js +688 -0
  26. package/components/CasinoJackpotBanner-DBgKc4Vm.js +692 -0
  27. package/components/CasinoJackpotBanner-jRgsElNl.cjs +1 -0
  28. package/components/CasinoLastPlayedSectionNd-C5AZiudZ.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-CxJcyDWz.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-nO4muZUi.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-6T1QffJK.js → CasinoMostPlayedSectionNd-47uLbFny.js} +175 -166
  32. package/components/CasinoMostPlayedSectionNd-B5NQpnpQ.cjs +1 -0
  33. package/components/{CasinoMostPlayedSectionNd-BZLYBtpa.js → CasinoMostPlayedSectionNd-YoUF3qH_.js} +175 -166
  34. package/components/CasinoMyGamesNd-B1mqR1iV.cjs +1 -0
  35. package/components/{CasinoMyGamesNd-C1mKXnRw.js → CasinoMyGamesNd-D7ECNSVx.js} +500 -466
  36. package/components/{CasinoMyGamesNd-ddeJWUGs.js → CasinoMyGamesNd-DsKldyeX.js} +506 -472
  37. package/components/CasinoPageNd-1_im-1pg.cjs +1 -0
  38. package/components/{CasinoPageNd-C2L_-oKQ.js → CasinoPageNd-Celr6stC.js} +1313 -1150
  39. package/components/{CasinoPageNd-tLjlJcsj.js → CasinoPageNd-DG9eHxjS.js} +1310 -1147
  40. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-B-xXZGGd.js} +28 -26
  41. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-BvuuUTa2.cjs} +2 -2
  42. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-CJFo5sac.js} +27 -25
  43. package/components/CasinoSearchNd-DcMWXQsy.cjs +1 -0
  44. package/components/{CasinoSearchNd-DQqoQRhE.js → CasinoSearchNd-DnYIShqN.js} +484 -474
  45. package/components/{CasinoSearchNd-CG9DW_9F.js → CasinoSearchNd-TwDFmePv.js} +444 -434
  46. package/components/{CasinoSort-D05yyakn.js → CasinoSort-B9N4OdAh.js} +21 -20
  47. package/components/CasinoSort-CHjWMDyt.cjs +1 -0
  48. package/components/{CasinoSort-B6tKDPof.js → CasinoSort-aie8VxYZ.js} +21 -20
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-CTQkjPOu.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DEKSrQmC.js} +55 -53
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-DNTO27qv.js} +53 -51
  52. package/components/GeneralAnimationLoading-45G5WFWJ.js +84 -0
  53. package/components/GeneralAnimationLoading-BTVnRCeI.js +84 -0
  54. package/components/GeneralAnimationLoading-exiETQWf.cjs +1 -0
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-B9yaAMOE.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-BTXyM5es.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  62. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  63. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  64. package/stencil/{index-eac6b960-Dvyvd5zP.js → index-510a6ba4-CzpWs0jf.js} +185 -200
  65. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  66. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  67. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  68. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  69. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  70. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  71. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  72. package/components/CasinoFavoritesSectionNd-247dKDFC.cjs +0 -1
  73. package/components/CasinoFavoritesSectionNd-CuDySzEb.js +0 -439
  74. package/components/CasinoFavoritesSectionNd-pNJTskAC.js +0 -439
  75. package/components/CasinoGameThumbnailNd-BfWisWyd.cjs +0 -39
  76. package/components/CasinoGameThumbnailNd-D2UjvU5o.js +0 -4395
  77. package/components/CasinoGameThumbnailNd-DZ5EJquh.js +0 -4411
  78. package/components/CasinoGamesCategorySectionNd-B-A_G5UN.cjs +0 -1
  79. package/components/CasinoGamesCategorySectionNd-ma7TF55B.js +0 -3003
  80. package/components/CasinoJackpotBanner-BIHc0ZJN.js +0 -690
  81. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  82. package/components/CasinoJackpotBanner-rIlKc9yB.js +0 -686
  83. package/components/CasinoLastPlayedSectionNd-5kInnaFM.js +0 -566
  84. package/components/CasinoLastPlayedSectionNd-BvnsjzpW.cjs +0 -1
  85. package/components/CasinoLastPlayedSectionNd-D5LPHn4E.js +0 -566
  86. package/components/CasinoMostPlayedSectionNd-BTglRQ5Z.cjs +0 -1
  87. package/components/CasinoMyGamesNd-Cy4rvXQw.cjs +0 -1
  88. package/components/CasinoPageNd-CRr4o1nm.cjs +0 -1
  89. package/components/CasinoSearchNd-BFH_Q8-4.cjs +0 -1
  90. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  91. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  92. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  93. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  94. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  95. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -1,566 +0,0 @@
1
- import { a as te, $ as ae, S as se, i as ne, f as l, c as ie, s as le, b as re, e as L, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, T as n, u as ue, B as ge, F as me, U as de } from "./CasinoCalendar-Dp2YIBXE.js";
2
- import "./CasinoFavoritesSectionNd-CuDySzEb.js";
3
- function I(s, e) {
4
- te(s, e);
5
- }
6
- function fe(s) {
7
- ae.set(s);
8
- }
9
- const J = {
10
- en: {
11
- noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
- },
13
- de: {
14
- noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
15
- },
16
- es: {
17
- noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
18
- },
19
- hr: {
20
- noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
21
- },
22
- "pt-br": {
23
- noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
24
- },
25
- "es-mx": {
26
- noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
27
- },
28
- tr: {
29
- noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
30
- },
31
- "en-us": {
32
- noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
33
- }
34
- };
35
- function he(s) {
36
- re(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
- }
38
- function ye(s) {
39
- let e;
40
- return {
41
- c() {
42
- e = L("casino-games-category-section-nd"), n(
43
- e,
44
- "session",
45
- /*session*/
46
- s[4]
47
- ), n(
48
- e,
49
- "userid",
50
- /*userid*/
51
- s[5]
52
- ), n(
53
- e,
54
- "endpoint",
55
- /*endpoint*/
56
- s[0]
57
- ), n(
58
- e,
59
- "datasource",
60
- /*datasource*/
61
- s[1]
62
- ), n(
63
- e,
64
- "lang",
65
- /*lang*/
66
- s[3]
67
- ), n(
68
- e,
69
- "currency",
70
- /*currency*/
71
- s[2]
72
- ), n(
73
- e,
74
- "favorites",
75
- /*favorites*/
76
- s[14]
77
- ), n(
78
- e,
79
- "fetchviaevent",
80
- /*fetchviaevent*/
81
- s[16]
82
- ), n(e, "categoryid", "LASTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
83
- e,
84
- "showgamename",
85
- /*showgamename*/
86
- s[12]
87
- ), n(
88
- e,
89
- "clientstyling",
90
- /*clientstyling*/
91
- s[6]
92
- ), n(
93
- e,
94
- "clientstylingurl",
95
- /*clientstylingurl*/
96
- s[7]
97
- ), n(
98
- e,
99
- "livecasino",
100
- /*livecasino*/
101
- s[8]
102
- ), n(
103
- e,
104
- "visiblegames",
105
- /*visiblegames*/
106
- s[13]
107
- ), n(
108
- e,
109
- "gamepagemodalurl",
110
- /*gamepagemodalurl*/
111
- s[11]
112
- ), n(
113
- e,
114
- "integratedgameframedesktop",
115
- /*integratedgameframedesktop*/
116
- s[10]
117
- ), n(
118
- e,
119
- "integratedgameframemobile",
120
- /*integratedgameframemobile*/
121
- s[9]
122
- ), n(
123
- e,
124
- "casinomygames",
125
- /*casinomygames*/
126
- s[15]
127
- );
128
- },
129
- m(a, i) {
130
- A(a, e, i);
131
- },
132
- p(a, i) {
133
- i[0] & /*session*/
134
- 16 && n(
135
- e,
136
- "session",
137
- /*session*/
138
- a[4]
139
- ), i[0] & /*userid*/
140
- 32 && n(
141
- e,
142
- "userid",
143
- /*userid*/
144
- a[5]
145
- ), i[0] & /*endpoint*/
146
- 1 && n(
147
- e,
148
- "endpoint",
149
- /*endpoint*/
150
- a[0]
151
- ), i[0] & /*datasource*/
152
- 2 && n(
153
- e,
154
- "datasource",
155
- /*datasource*/
156
- a[1]
157
- ), i[0] & /*lang*/
158
- 8 && n(
159
- e,
160
- "lang",
161
- /*lang*/
162
- a[3]
163
- ), i[0] & /*currency*/
164
- 4 && n(
165
- e,
166
- "currency",
167
- /*currency*/
168
- a[2]
169
- ), i[0] & /*favorites*/
170
- 16384 && n(
171
- e,
172
- "favorites",
173
- /*favorites*/
174
- a[14]
175
- ), i[0] & /*fetchviaevent*/
176
- 65536 && n(
177
- e,
178
- "fetchviaevent",
179
- /*fetchviaevent*/
180
- a[16]
181
- ), i[0] & /*showgamename*/
182
- 4096 && n(
183
- e,
184
- "showgamename",
185
- /*showgamename*/
186
- a[12]
187
- ), i[0] & /*clientstyling*/
188
- 64 && n(
189
- e,
190
- "clientstyling",
191
- /*clientstyling*/
192
- a[6]
193
- ), i[0] & /*clientstylingurl*/
194
- 128 && n(
195
- e,
196
- "clientstylingurl",
197
- /*clientstylingurl*/
198
- a[7]
199
- ), i[0] & /*livecasino*/
200
- 256 && n(
201
- e,
202
- "livecasino",
203
- /*livecasino*/
204
- a[8]
205
- ), i[0] & /*visiblegames*/
206
- 8192 && n(
207
- e,
208
- "visiblegames",
209
- /*visiblegames*/
210
- a[13]
211
- ), i[0] & /*gamepagemodalurl*/
212
- 2048 && n(
213
- e,
214
- "gamepagemodalurl",
215
- /*gamepagemodalurl*/
216
- a[11]
217
- ), i[0] & /*integratedgameframedesktop*/
218
- 1024 && n(
219
- e,
220
- "integratedgameframedesktop",
221
- /*integratedgameframedesktop*/
222
- a[10]
223
- ), i[0] & /*integratedgameframemobile*/
224
- 512 && n(
225
- e,
226
- "integratedgameframemobile",
227
- /*integratedgameframemobile*/
228
- a[9]
229
- ), i[0] & /*casinomygames*/
230
- 32768 && n(
231
- e,
232
- "casinomygames",
233
- /*casinomygames*/
234
- a[15]
235
- );
236
- },
237
- d(a) {
238
- a && M(e);
239
- }
240
- };
241
- }
242
- function be(s) {
243
- let e, a = (
244
- /*$_*/
245
- s[19]("noRecentGames") + ""
246
- ), i;
247
- return {
248
- c() {
249
- e = L("p"), i = ue(a), q(e, "class", "SearchLoading");
250
- },
251
- m(o, r) {
252
- A(o, e, r), B(e, i);
253
- },
254
- p(o, r) {
255
- r[0] & /*$_*/
256
- 524288 && a !== (a = /*$_*/
257
- o[19]("noRecentGames") + "") && ge(i, a);
258
- },
259
- d(o) {
260
- o && M(e);
261
- }
262
- };
263
- }
264
- function ve(s) {
265
- let e, a;
266
- function i(m, d) {
267
- return (
268
- /*lastPlayedEmpty*/
269
- m[18] ? be : ye
270
- );
271
- }
272
- let o = i(s), r = o(s);
273
- return {
274
- c() {
275
- e = L("div"), a = L("div"), r.c(), q(a, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
276
- },
277
- m(m, d) {
278
- A(m, e, d), B(e, a), r.m(a, null), s[25](e);
279
- },
280
- p(m, d) {
281
- o === (o = i(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
282
- },
283
- i: H,
284
- o: H,
285
- d(m) {
286
- m && M(e), r.d(), s[25](null);
287
- }
288
- };
289
- }
290
- function we(s, e, a) {
291
- let i;
292
- oe(s, me, (t) => a(19, i = t));
293
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: T = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: D = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: N = "" } = e, { visiblegames: P = "" } = e, { favorites: z = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: U = "true" } = e, V = window.navigator.userAgent, O = !1, k = [], Y, h;
294
- const Z = () => {
295
- fetch(w).then((c) => c.json()).then((c) => {
296
- Object.keys(c).forEach((u) => {
297
- I(u, c[u]);
298
- });
299
- }).catch((c) => {
300
- console.log(c);
301
- });
302
- };
303
- Object.keys(J).forEach((t) => {
304
- I(t, J[t]);
305
- });
306
- const K = () => new Promise((t, c) => {
307
- let u = new URL(`${o}/v1/player/${y}/games/last-played`);
308
- u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", C), de(V) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), Y = _ ? u : u.href, fetch(Y).then((g) => g.json()).then((g) => {
309
- g.items = g.items.filter((ee) => {
310
- let p = !0;
311
- return ee.gameCode == "OddsMatrix2" && (g.count--, p = !1), p;
312
- }), t(g), window.postMessage(
313
- {
314
- type: "AddNewCategory",
315
- category: { name: "Last Played", id: "LASTPLAYED" }
316
- },
317
- window.location.href
318
- ), window.postMessage({ type: "LastPlayedGames", data: g }, window.location.href);
319
- }).catch((g) => {
320
- console.error(g), c(g);
321
- });
322
- }), Q = () => {
323
- K().then((t) => {
324
- if (t.count > 0) {
325
- let c = [];
326
- t.items.forEach((u) => {
327
- let f = new URL(`${o}/v1/casino/games/${u.gameId}`);
328
- f.searchParams.append("datasource", r), _ ? c.push(fetch(f.href).then((g) => g.json())) : c.push(fetch(f.href).then((g) => g.json()));
329
- }), Promise.all(c).then((u) => {
330
- k = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
331
- });
332
- } else
333
- a(18, O = !0);
334
- });
335
- }, W = () => {
336
- fe(d);
337
- }, X = () => {
338
- let t = document.createElement("style");
339
- t.innerHTML = b, h.appendChild(t);
340
- }, x = () => {
341
- let t = document.createElement("style");
342
- fetch(new URL(v)).then((c) => c.text()).then((c) => {
343
- t.innerHTML = c, setTimeout(
344
- () => {
345
- h.appendChild(t);
346
- },
347
- 1
348
- );
349
- });
350
- };
351
- function $(t) {
352
- ce[t ? "unshift" : "push"](() => {
353
- h = t, a(17, h);
354
- });
355
- }
356
- return s.$$set = (t) => {
357
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, T = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, D = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, E = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, F = t.gamepagemodalurl), "showgamename" in t && a(12, N = t.showgamename), "visiblegames" in t && a(13, P = t.visiblegames), "favorites" in t && a(14, z = t.favorites), "lastplayedperiod" in t && a(21, C = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, U = t.fetchviaevent);
358
- }, s.$$.update = () => {
359
- s.$$.dirty[0] & /*endpoint, userid, lang*/
360
- 41 && o && y && d && Q(), s.$$.dirty[0] & /*translationurl*/
361
- 1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 131136 && b && h && X(), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 131200 && v && h && x(), s.$$.dirty[0] & /*lang*/
364
- 8 && d && W();
365
- }, [
366
- o,
367
- r,
368
- m,
369
- d,
370
- T,
371
- y,
372
- b,
373
- v,
374
- _,
375
- D,
376
- E,
377
- F,
378
- N,
379
- P,
380
- z,
381
- R,
382
- U,
383
- h,
384
- O,
385
- i,
386
- w,
387
- C,
388
- j,
389
- S,
390
- G,
391
- $
392
- ];
393
- }
394
- class _e extends se {
395
- constructor(e) {
396
- super(), ne(
397
- this,
398
- e,
399
- we,
400
- ve,
401
- le,
402
- {
403
- endpoint: 0,
404
- datasource: 1,
405
- currency: 2,
406
- lang: 3,
407
- session: 4,
408
- userid: 5,
409
- clientstyling: 6,
410
- clientstylingurl: 7,
411
- translationurl: 20,
412
- livecasino: 8,
413
- integratedgameframemobile: 9,
414
- integratedgameframedesktop: 10,
415
- gamepagemodalurl: 11,
416
- showgamename: 12,
417
- visiblegames: 13,
418
- favorites: 14,
419
- lastplayedperiod: 21,
420
- lastplayedorder: 22,
421
- lastplayedlimit: 23,
422
- casinomygames: 15,
423
- lastplayedunique: 24,
424
- fetchviaevent: 16
425
- },
426
- he,
427
- [-1, -1]
428
- );
429
- }
430
- get endpoint() {
431
- return this.$$.ctx[0];
432
- }
433
- set endpoint(e) {
434
- this.$$set({ endpoint: e }), l();
435
- }
436
- get datasource() {
437
- return this.$$.ctx[1];
438
- }
439
- set datasource(e) {
440
- this.$$set({ datasource: e }), l();
441
- }
442
- get currency() {
443
- return this.$$.ctx[2];
444
- }
445
- set currency(e) {
446
- this.$$set({ currency: e }), l();
447
- }
448
- get lang() {
449
- return this.$$.ctx[3];
450
- }
451
- set lang(e) {
452
- this.$$set({ lang: e }), l();
453
- }
454
- get session() {
455
- return this.$$.ctx[4];
456
- }
457
- set session(e) {
458
- this.$$set({ session: e }), l();
459
- }
460
- get userid() {
461
- return this.$$.ctx[5];
462
- }
463
- set userid(e) {
464
- this.$$set({ userid: e }), l();
465
- }
466
- get clientstyling() {
467
- return this.$$.ctx[6];
468
- }
469
- set clientstyling(e) {
470
- this.$$set({ clientstyling: e }), l();
471
- }
472
- get clientstylingurl() {
473
- return this.$$.ctx[7];
474
- }
475
- set clientstylingurl(e) {
476
- this.$$set({ clientstylingurl: e }), l();
477
- }
478
- get translationurl() {
479
- return this.$$.ctx[20];
480
- }
481
- set translationurl(e) {
482
- this.$$set({ translationurl: e }), l();
483
- }
484
- get livecasino() {
485
- return this.$$.ctx[8];
486
- }
487
- set livecasino(e) {
488
- this.$$set({ livecasino: e }), l();
489
- }
490
- get integratedgameframemobile() {
491
- return this.$$.ctx[9];
492
- }
493
- set integratedgameframemobile(e) {
494
- this.$$set({ integratedgameframemobile: e }), l();
495
- }
496
- get integratedgameframedesktop() {
497
- return this.$$.ctx[10];
498
- }
499
- set integratedgameframedesktop(e) {
500
- this.$$set({ integratedgameframedesktop: e }), l();
501
- }
502
- get gamepagemodalurl() {
503
- return this.$$.ctx[11];
504
- }
505
- set gamepagemodalurl(e) {
506
- this.$$set({ gamepagemodalurl: e }), l();
507
- }
508
- get showgamename() {
509
- return this.$$.ctx[12];
510
- }
511
- set showgamename(e) {
512
- this.$$set({ showgamename: e }), l();
513
- }
514
- get visiblegames() {
515
- return this.$$.ctx[13];
516
- }
517
- set visiblegames(e) {
518
- this.$$set({ visiblegames: e }), l();
519
- }
520
- get favorites() {
521
- return this.$$.ctx[14];
522
- }
523
- set favorites(e) {
524
- this.$$set({ favorites: e }), l();
525
- }
526
- get lastplayedperiod() {
527
- return this.$$.ctx[21];
528
- }
529
- set lastplayedperiod(e) {
530
- this.$$set({ lastplayedperiod: e }), l();
531
- }
532
- get lastplayedorder() {
533
- return this.$$.ctx[22];
534
- }
535
- set lastplayedorder(e) {
536
- this.$$set({ lastplayedorder: e }), l();
537
- }
538
- get lastplayedlimit() {
539
- return this.$$.ctx[23];
540
- }
541
- set lastplayedlimit(e) {
542
- this.$$set({ lastplayedlimit: e }), l();
543
- }
544
- get casinomygames() {
545
- return this.$$.ctx[15];
546
- }
547
- set casinomygames(e) {
548
- this.$$set({ casinomygames: e }), l();
549
- }
550
- get lastplayedunique() {
551
- return this.$$.ctx[24];
552
- }
553
- set lastplayedunique(e) {
554
- this.$$set({ lastplayedunique: e }), l();
555
- }
556
- get fetchviaevent() {
557
- return this.$$.ctx[16];
558
- }
559
- set fetchviaevent(e) {
560
- this.$$set({ fetchviaevent: e }), l();
561
- }
562
- }
563
- ie(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
564
- export {
565
- _e as default
566
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-hlupOGnG.cjs");require("./CasinoFavoritesSectionNd-247dKDFC.cjs");function D(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const R={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-14zqglz","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[19]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&524288&&a!==(a=o[19]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[18]?Z:X}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),m.m(a,null),n[23](e)},p(r,c){o===(o=i(r))&&m?m.p(r,c):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[23](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(19,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{livecasino:b="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:S="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:A=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:w=""}=e,{casinomygames:N="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:T="true"}=e,q=window.navigator.userAgent;const z=()=>{fetch(w).then(l=>l.json()).then(l=>{Object.keys(l).forEach(u=>{D(u,l[u])})}).catch(l=>{console.log(l)})};Object.keys(R).forEach(s=>{D(s,R[s])});let G=[],F,O=!1,f;const H=s=>{let l=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",P);let u=s.device;return u?u==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),F=b?l:l.href,new Promise((d,_)=>{fetch(F).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let p=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,p=!1),p}),d(g)}).catch(g=>{console.error(g),_(g)})})},I=()=>{H({limit:100,device:t.getDevice(q),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(u=>{let d=new URL(`${o}/v1/casino/games/${u.gameId}`);d.searchParams.append("datasource",m),b?l.push(fetch(d.href).then(_=>_.json())):l.push(fetch(d.href).then(_=>_.json()))}),Promise.all(l).then(u=>{G=u.filter(d=>!("error"in d)).map(d=>d[0]),N==="true"&&(G=G.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)})}else a(18,O=!0)})},J=()=>{V(c)},Y=()=>{let s=document.createElement("style");s.innerHTML=y,f.appendChild(s)},B=()=>{let s=document.createElement("style");fetch(new URL(v)).then(l=>l.text()).then(l=>{s.innerHTML=l,setTimeout(()=>{f.appendChild(s)},1)})};function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,a(17,f)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"clientstyling"in s&&a(6,y=s.clientstyling),"clientstylingurl"in s&&a(7,v=s.clientstylingurl),"livecasino"in s&&a(8,b=s.livecasino),"integratedgameframemobile"in s&&a(9,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,S=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,A=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"translationurl"in s&&a(20,w=s.translationurl),"casinomygames"in s&&a(15,N=s.casinomygames),"mostplayedperiod"in s&&a(21,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(22,C=s.mostplayedrounds),"fetchviaevent"in s&&a(16,T=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&c&&I(),n.$$.dirty[0]&131136&&y&&f&&Y(),n.$$.dirty[0]&131200&&v&&f&&B(),n.$$.dirty[0]&1048576&&w&&z(),n.$$.dirty[0]&8&&c&&J()},[o,m,r,c,j,h,y,v,b,L,S,M,A,k,E,N,T,f,O,i,w,P,C,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-hlupOGnG.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const z={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-247dKDFC.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-BvnsjzpW.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-BTglRQ5Z.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function ne(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,d,i,r,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Z(R(s,o,u));function y(u,f){if(u[25]=="Favorites")return de;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();d=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",r="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,d),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=R(u,o,c);m[c]?m[c].p(b,f):(m[c]=Z(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&r!==(r="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",r)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function I(s){let e,a=s[29]("favorites")+"",l,d,i,r,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),d=t.space(),i=t.element("span"),r=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,d),t.append(e,i),t.append(i,r),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function J(s){let e,a=s[29]("mostPlayed")+"",l,d,i,r;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",d="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(r=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&d!==(d="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",d)},d(o){o&&t.detach(e),i=!1,r()}}}function V(s){let e,a=s[29]("recentlyPlayed")+"",l,d,i,r,o;return{c(){e=t.element("button"),l=t.text(a),d=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,d),r||(o=t.listen(e,"click",s[34]),r=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),r=!1,o()}}}function Z(s){let e,a,l,d=s[43]=="Favorites"&&I(s),i=s[43]=="MostPlayed"&&J(s),r=s[43]=="LastPlayed"&&V(s);return{c(){d&&d.c(),e=t.space(),i&&i.c(),a=t.space(),r&&r.c(),l=t.empty()},m(o,m){d&&d.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),r&&r.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?d?d.p(o,m):(d=I(o),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=J(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?r?r.p(o,m):(r=V(o),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),d&&d.d(o),i&&i.d(o),r&&r.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section-nd"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,r){if(i[17])return ie}let l=a(s),d=l&&l(s);return{c(){e=t.element("div"),d&&d.c()},m(i,r){t.insert(i,e,r),d&&d.m(e,null),s[35](e)},p(i,r){l===(l=a(i))&&d?d.p(i,r):(d&&d.d(1),d=l&&l(i),d&&(d.c(),d.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),d&&d.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:d=""}=e,{session:i=""}=e,{endpoint:r=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:E=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:C=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:B="false"}=e,{lastplayedperiod:A="Last30Days"}=e,{mostplayedperiod:j="Last30Days"}=e,{lastplayedorder:q=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:S="true"}=e,{mostplayedrounds:T=""}=e,Q=window.navigator.userAgent,p,F="",N=!1,v=["","",""],G="0";se({withLocale:"en",translations:{}});const W=()=>{fetch(C).then(h=>h.json()).then(h=>{Object.keys(h).forEach(k=>{U(k,h[k])})}).catch(h=>{console.log(h)})};Object.keys(z).forEach(n=>{U(n,z[n])});const L=n=>{F!==n&&a(25,F=n)},X=()=>{a(25,F=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},H=n=>{var h,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(28,G=n.data.favoriteGamesLength):a(28,G=(k=(h=n.data.listOfFavoritesGames)==null?void 0:h.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(26,N=t.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const $=()=>L("Favorites"),ee=()=>L("MostPlayed"),te=()=>L("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,d=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,r=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,E=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=n.integratedgameframemobile),"translationurl"in n&&a(31,C=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,B=n.casinomygames),"lastplayedperiod"in n&&a(18,A=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,j=n.mostplayedperiod),"lastplayedorder"in n&&a(20,q=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,S=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&114716&&r&&o&&m&&P&&w&&M&&X(),s.$$.dirty[1]&1&&C&&W(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[d,i,r,o,m,y,g,_,u,f,c,b,E,O,P,w,M,B,A,j,q,D,S,T,p,F,N,v,G,l,L,C,$,ee,te,ae]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;