@everymatrix/casino-page-nd 1.74.6 → 1.74.7

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 (23) hide show
  1. package/components/{CasinoFavoritesSectionNd-_cQ5xRiv.js → CasinoFavoritesSectionNd-BR7oOoVZ.js} +145 -126
  2. package/components/CasinoFavoritesSectionNd-BzY-Mtdp.cjs +1 -0
  3. package/components/{CasinoFavoritesSectionNd-Dzg8AjIh.js → CasinoFavoritesSectionNd-Lv9Hbd67.js} +145 -126
  4. package/components/{CasinoLastPlayedSectionNd-DPsD96pl.js → CasinoLastPlayedSectionNd-B7ILz7Tr.js} +76 -65
  5. package/components/CasinoLastPlayedSectionNd-BTMGK-OG.cjs +1 -0
  6. package/components/{CasinoLastPlayedSectionNd-B0SywtOD.js → CasinoLastPlayedSectionNd-Br6Qozif.js} +76 -65
  7. package/components/{CasinoMostPlayedSectionNd-BLdrRJN3.js → CasinoMostPlayedSectionNd-CzTAA-j5.js} +37 -26
  8. package/components/CasinoMostPlayedSectionNd-DKanuBTP.cjs +1 -0
  9. package/components/{CasinoMostPlayedSectionNd-RDJQtjfP.js → CasinoMostPlayedSectionNd-Ddr8HXvD.js} +37 -26
  10. package/components/CasinoMyGamesNd-ByT7FAHN.cjs +1 -0
  11. package/components/{CasinoMyGamesNd-B6Y-CQn4.js → CasinoMyGamesNd-DWshTl9h.js} +527 -494
  12. package/components/{CasinoMyGamesNd-DRW6wUxl.js → CasinoMyGamesNd-VhA9CIHu.js} +527 -494
  13. package/components/{CasinoPageNd-C_8U853c.js → CasinoPageNd-CsBateb3.js} +2 -2
  14. package/components/{CasinoPageNd-BXM3LqAa.cjs → CasinoPageNd-DFXaFT4e.cjs} +1 -1
  15. package/components/{CasinoPageNd-Cpz1P4Jg.js → CasinoPageNd-l4tqQHry.js} +2 -2
  16. package/es2015/casino-page-nd.cjs +1 -1
  17. package/es2015/casino-page-nd.js +1 -1
  18. package/esnext/casino-page-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFavoritesSectionNd-4vIlan3H.cjs +0 -1
  21. package/components/CasinoLastPlayedSectionNd-Bqsq8N1n.cjs +0 -1
  22. package/components/CasinoMostPlayedSectionNd-Bfmipga7.cjs +0 -1
  23. package/components/CasinoMyGamesNd-EsRtwVbW.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, H as i, x as de, E as fe, J as he, P as ye } from "./CasinoCalendar-BVD-g7V2.js";
2
- import "./CasinoFavoritesSectionNd-Dzg8AjIh.js";
2
+ import "./CasinoFavoritesSectionNd-Lv9Hbd67.js";
3
3
  function V(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -73,17 +73,17 @@ function we(s) {
73
73
  e,
74
74
  "favorites",
75
75
  /*favorites*/
76
- s[15]
76
+ s[16]
77
77
  ), i(
78
78
  e,
79
79
  "fetchviaevent",
80
80
  /*fetchviaevent*/
81
- s[17]
81
+ s[18]
82
82
  ), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
83
83
  e,
84
84
  "showgamename",
85
85
  /*showgamename*/
86
- s[13]
86
+ s[14]
87
87
  ), i(
88
88
  e,
89
89
  "clientstyling",
@@ -94,36 +94,41 @@ function we(s) {
94
94
  "clientstylingurl",
95
95
  /*clientstylingurl*/
96
96
  s[8]
97
+ ), i(
98
+ e,
99
+ "translationurl",
100
+ /*translationurl*/
101
+ s[9]
97
102
  ), i(
98
103
  e,
99
104
  "livecasino",
100
105
  /*livecasino*/
101
- s[9]
106
+ s[10]
102
107
  ), i(
103
108
  e,
104
109
  "visiblegames",
105
110
  /*visiblegames*/
106
- s[14]
111
+ s[15]
107
112
  ), i(
108
113
  e,
109
114
  "gamepagemodalurl",
110
115
  /*gamepagemodalurl*/
111
- s[12]
116
+ s[13]
112
117
  ), i(
113
118
  e,
114
119
  "integratedgameframedesktop",
115
120
  /*integratedgameframedesktop*/
116
- s[11]
121
+ s[12]
117
122
  ), i(
118
123
  e,
119
124
  "integratedgameframemobile",
120
125
  /*integratedgameframemobile*/
121
- s[10]
126
+ s[11]
122
127
  ), i(
123
128
  e,
124
129
  "casinomygames",
125
130
  /*casinomygames*/
126
- s[16]
131
+ s[17]
127
132
  ), i(
128
133
  e,
129
134
  "mbsource",
@@ -172,23 +177,23 @@ function we(s) {
172
177
  /*currency*/
173
178
  t[2]
174
179
  ), n[0] & /*favorites*/
175
- 32768 && i(
180
+ 65536 && i(
176
181
  e,
177
182
  "favorites",
178
183
  /*favorites*/
179
- t[15]
184
+ t[16]
180
185
  ), n[0] & /*fetchviaevent*/
181
- 131072 && i(
186
+ 262144 && i(
182
187
  e,
183
188
  "fetchviaevent",
184
189
  /*fetchviaevent*/
185
- t[17]
190
+ t[18]
186
191
  ), n[0] & /*showgamename*/
187
- 8192 && i(
192
+ 16384 && i(
188
193
  e,
189
194
  "showgamename",
190
195
  /*showgamename*/
191
- t[13]
196
+ t[14]
192
197
  ), n[0] & /*clientstyling*/
193
198
  128 && i(
194
199
  e,
@@ -201,42 +206,48 @@ function we(s) {
201
206
  "clientstylingurl",
202
207
  /*clientstylingurl*/
203
208
  t[8]
204
- ), n[0] & /*livecasino*/
209
+ ), n[0] & /*translationurl*/
205
210
  512 && i(
211
+ e,
212
+ "translationurl",
213
+ /*translationurl*/
214
+ t[9]
215
+ ), n[0] & /*livecasino*/
216
+ 1024 && i(
206
217
  e,
207
218
  "livecasino",
208
219
  /*livecasino*/
209
- t[9]
220
+ t[10]
210
221
  ), n[0] & /*visiblegames*/
211
- 16384 && i(
222
+ 32768 && i(
212
223
  e,
213
224
  "visiblegames",
214
225
  /*visiblegames*/
215
- t[14]
226
+ t[15]
216
227
  ), n[0] & /*gamepagemodalurl*/
217
- 4096 && i(
228
+ 8192 && i(
218
229
  e,
219
230
  "gamepagemodalurl",
220
231
  /*gamepagemodalurl*/
221
- t[12]
232
+ t[13]
222
233
  ), n[0] & /*integratedgameframedesktop*/
223
- 2048 && i(
234
+ 4096 && i(
224
235
  e,
225
236
  "integratedgameframedesktop",
226
237
  /*integratedgameframedesktop*/
227
- t[11]
238
+ t[12]
228
239
  ), n[0] & /*integratedgameframemobile*/
229
- 1024 && i(
240
+ 2048 && i(
230
241
  e,
231
242
  "integratedgameframemobile",
232
243
  /*integratedgameframemobile*/
233
- t[10]
244
+ t[11]
234
245
  ), n[0] & /*casinomygames*/
235
- 65536 && i(
246
+ 131072 && i(
236
247
  e,
237
248
  "casinomygames",
238
249
  /*casinomygames*/
239
- t[16]
250
+ t[17]
240
251
  ), n[0] & /*mbsource*/
241
252
  64 && i(
242
253
  e,
@@ -253,7 +264,7 @@ function we(s) {
253
264
  function _e(s) {
254
265
  let e, t = (
255
266
  /*$_*/
256
- s[20]("noRecentGames") + ""
267
+ s[21]("noRecentGames") + ""
257
268
  ), n;
258
269
  return {
259
270
  c() {
@@ -264,8 +275,8 @@ function _e(s) {
264
275
  },
265
276
  p(o, r) {
266
277
  r[0] & /*$_*/
267
- 1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
278
+ 2097152 && t !== (t = /*$_*/
279
+ o[21]("noRecentGames") + "") && fe(n, t);
269
280
  },
270
281
  d(o) {
271
282
  o && D(e);
@@ -277,7 +288,7 @@ function ke(s) {
277
288
  function n(m, d) {
278
289
  return (
279
290
  /*lastPlayedEmpty*/
280
- m[19] ? _e : we
291
+ m[20] ? _e : we
281
292
  );
282
293
  }
283
294
  let o = n(s), r = o(s);
@@ -300,7 +311,7 @@ function ke(s) {
300
311
  }
301
312
  function Pe(s, e, t) {
302
313
  let n;
303
- re(s, he, (a) => t(20, n = a));
314
+ re(s, he, (a) => t(21, n = a));
304
315
  let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, P = [], J, f;
305
316
  const Q = () => {
306
317
  fetch(_).then((g) => g.json()).then((g) => {
@@ -341,28 +352,28 @@ function Pe(s, e, t) {
341
352
  P = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (P = P.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: P }, window.location.href);
342
353
  });
343
354
  } else
344
- t(19, Y = !0);
355
+ t(20, Y = !0);
345
356
  });
346
- }, x = () => {
357
+ }, p = () => {
347
358
  be(d);
348
359
  };
349
360
  oe(() => () => {
350
361
  });
351
- function p(a) {
362
+ function x(a) {
352
363
  me[a ? "unshift" : "push"](() => {
353
- f = a, t(18, f);
364
+ f = a, t(19, f);
354
365
  });
355
366
  }
356
367
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
368
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
358
369
  }, s.$$.update = () => {
359
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
- 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
- 262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
372
+ 512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
+ 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524544 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
+ 524352 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
376
+ 8 && d && p();
366
377
  }, [
367
378
  o,
368
379
  r,
@@ -373,6 +384,7 @@ function Pe(s, e, t) {
373
384
  b,
374
385
  v,
375
386
  w,
387
+ _,
376
388
  k,
377
389
  N,
378
390
  z,
@@ -385,12 +397,11 @@ function Pe(s, e, t) {
385
397
  f,
386
398
  Y,
387
399
  n,
388
- _,
389
400
  C,
390
401
  j,
391
402
  G,
392
403
  q,
393
- p
404
+ x
394
405
  ];
395
406
  }
396
407
  class Le extends ae {
@@ -411,20 +422,20 @@ class Le extends ae {
411
422
  mbsource: 6,
412
423
  clientstyling: 7,
413
424
  clientstylingurl: 8,
414
- translationurl: 21,
415
- livecasino: 9,
416
- integratedgameframemobile: 10,
417
- integratedgameframedesktop: 11,
418
- gamepagemodalurl: 12,
419
- showgamename: 13,
420
- visiblegames: 14,
421
- favorites: 15,
425
+ translationurl: 9,
426
+ livecasino: 10,
427
+ integratedgameframemobile: 11,
428
+ integratedgameframedesktop: 12,
429
+ gamepagemodalurl: 13,
430
+ showgamename: 14,
431
+ visiblegames: 15,
432
+ favorites: 16,
422
433
  lastplayedperiod: 22,
423
434
  lastplayedorder: 23,
424
435
  lastplayedlimit: 24,
425
- casinomygames: 16,
436
+ casinomygames: 17,
426
437
  lastplayedunique: 25,
427
- fetchviaevent: 17
438
+ fetchviaevent: 18
428
439
  },
429
440
  ve,
430
441
  [-1, -1]
@@ -485,49 +496,49 @@ class Le extends ae {
485
496
  this.$$set({ clientstylingurl: e }), l();
486
497
  }
487
498
  get translationurl() {
488
- return this.$$.ctx[21];
499
+ return this.$$.ctx[9];
489
500
  }
490
501
  set translationurl(e) {
491
502
  this.$$set({ translationurl: e }), l();
492
503
  }
493
504
  get livecasino() {
494
- return this.$$.ctx[9];
505
+ return this.$$.ctx[10];
495
506
  }
496
507
  set livecasino(e) {
497
508
  this.$$set({ livecasino: e }), l();
498
509
  }
499
510
  get integratedgameframemobile() {
500
- return this.$$.ctx[10];
511
+ return this.$$.ctx[11];
501
512
  }
502
513
  set integratedgameframemobile(e) {
503
514
  this.$$set({ integratedgameframemobile: e }), l();
504
515
  }
505
516
  get integratedgameframedesktop() {
506
- return this.$$.ctx[11];
517
+ return this.$$.ctx[12];
507
518
  }
508
519
  set integratedgameframedesktop(e) {
509
520
  this.$$set({ integratedgameframedesktop: e }), l();
510
521
  }
511
522
  get gamepagemodalurl() {
512
- return this.$$.ctx[12];
523
+ return this.$$.ctx[13];
513
524
  }
514
525
  set gamepagemodalurl(e) {
515
526
  this.$$set({ gamepagemodalurl: e }), l();
516
527
  }
517
528
  get showgamename() {
518
- return this.$$.ctx[13];
529
+ return this.$$.ctx[14];
519
530
  }
520
531
  set showgamename(e) {
521
532
  this.$$set({ showgamename: e }), l();
522
533
  }
523
534
  get visiblegames() {
524
- return this.$$.ctx[14];
535
+ return this.$$.ctx[15];
525
536
  }
526
537
  set visiblegames(e) {
527
538
  this.$$set({ visiblegames: e }), l();
528
539
  }
529
540
  get favorites() {
530
- return this.$$.ctx[15];
541
+ return this.$$.ctx[16];
531
542
  }
532
543
  set favorites(e) {
533
544
  this.$$set({ favorites: e }), l();
@@ -551,7 +562,7 @@ class Le extends ae {
551
562
  this.$$set({ lastplayedlimit: e }), l();
552
563
  }
553
564
  get casinomygames() {
554
- return this.$$.ctx[16];
565
+ return this.$$.ctx[17];
555
566
  }
556
567
  set casinomygames(e) {
557
568
  this.$$set({ casinomygames: e }), l();
@@ -563,7 +574,7 @@ class Le extends ae {
563
574
  this.$$set({ lastplayedunique: e }), l();
564
575
  }
565
576
  get fetchviaevent() {
566
- return this.$$.ctx[17];
577
+ return this.$$.ctx[18];
567
578
  }
568
579
  set fetchviaevent(e) {
569
580
  this.$$set({ fetchviaevent: e }), l();
@@ -1,5 +1,5 @@
1
1
  import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, l as re, m as me, P as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-CDNIjQ8T.js";
2
- import "./CasinoFavoritesSectionNd-_cQ5xRiv.js";
2
+ import "./CasinoFavoritesSectionNd-BR7oOoVZ.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -108,7 +108,7 @@ function ve(a) {
108
108
  e,
109
109
  "fetchviaevent",
110
110
  /*fetchviaevent*/
111
- a[17]
111
+ a[18]
112
112
  ), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
113
113
  e,
114
114
  "showgamename",
@@ -124,6 +124,11 @@ function ve(a) {
124
124
  "clientstylingurl",
125
125
  /*clientstylingurl*/
126
126
  a[8]
127
+ ), n(
128
+ e,
129
+ "translationurl",
130
+ /*translationurl*/
131
+ a[16]
127
132
  ), n(
128
133
  e,
129
134
  "livecasino",
@@ -153,7 +158,7 @@ function ve(a) {
153
158
  e,
154
159
  "casinomygames",
155
160
  /*casinomygames*/
156
- a[16]
161
+ a[17]
157
162
  ), n(
158
163
  e,
159
164
  "mbsource",
@@ -208,11 +213,11 @@ function ve(a) {
208
213
  /*favorites*/
209
214
  s[15]
210
215
  ), i[0] & /*fetchviaevent*/
211
- 131072 && n(
216
+ 262144 && n(
212
217
  e,
213
218
  "fetchviaevent",
214
219
  /*fetchviaevent*/
215
- s[17]
220
+ s[18]
216
221
  ), i[0] & /*showgamename*/
217
222
  8192 && n(
218
223
  e,
@@ -231,6 +236,12 @@ function ve(a) {
231
236
  "clientstylingurl",
232
237
  /*clientstylingurl*/
233
238
  s[8]
239
+ ), i[0] & /*translationurl*/
240
+ 65536 && n(
241
+ e,
242
+ "translationurl",
243
+ /*translationurl*/
244
+ s[16]
234
245
  ), i[0] & /*livecasino*/
235
246
  512 && n(
236
247
  e,
@@ -262,11 +273,11 @@ function ve(a) {
262
273
  /*integratedgameframemobile*/
263
274
  s[10]
264
275
  ), i[0] & /*casinomygames*/
265
- 65536 && n(
276
+ 131072 && n(
266
277
  e,
267
278
  "casinomygames",
268
279
  /*casinomygames*/
269
- s[16]
280
+ s[17]
270
281
  ), i[0] & /*mbsource*/
271
282
  64 && n(
272
283
  e,
@@ -283,7 +294,7 @@ function ve(a) {
283
294
  function _e(a) {
284
295
  let e, s = (
285
296
  /*$_*/
286
- a[20]("noGames") + ""
297
+ a[21]("noGames") + ""
287
298
  ), i;
288
299
  return {
289
300
  c() {
@@ -294,8 +305,8 @@ function _e(a) {
294
305
  },
295
306
  p(m, r) {
296
307
  r[0] & /*$_*/
297
- 1048576 && s !== (s = /*$_*/
298
- m[20]("noGames") + "") && fe(i, s);
308
+ 2097152 && s !== (s = /*$_*/
309
+ m[21]("noGames") + "") && fe(i, s);
299
310
  },
300
311
  d(m) {
301
312
  m && E(e);
@@ -307,7 +318,7 @@ function Ge(a) {
307
318
  function i(g, c) {
308
319
  return (
309
320
  /*mostPlayedEmpty*/
310
- g[19] ? _e : ve
321
+ g[20] ? _e : ve
311
322
  );
312
323
  }
313
324
  let m = i(a), r = m(a);
@@ -330,7 +341,7 @@ function Ge(a) {
330
341
  }
331
342
  function ke(a, e, s) {
332
343
  let i;
333
- oe(a, he, (t) => s(20, i = t));
344
+ oe(a, he, (t) => s(21, i = t));
334
345
  let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
335
346
  const V = () => {
336
347
  fetch(w).then((o) => o.json()).then((o) => {
@@ -374,7 +385,7 @@ function ke(a, e, s) {
374
385
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
375
386
  });
376
387
  } else
377
- s(19, I = !0);
388
+ s(20, I = !0);
378
389
  });
379
390
  }, Z = () => {
380
391
  ye(c);
@@ -383,18 +394,18 @@ function ke(a, e, s) {
383
394
  });
384
395
  function p(t) {
385
396
  ce[t ? "unshift" : "push"](() => {
386
- u = t, s(18, u);
397
+ u = t, s(19, u);
387
398
  });
388
399
  }
389
400
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
391
402
  }, a.$$.update = () => {
392
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
404
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
- 262272 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
- 262400 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
- 262208 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
- 2097152 && w && V(), a.$$.dirty[0] & /*lang*/
405
+ 524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
+ 524544 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
+ 65536 && w && V(), a.$$.dirty[0] & /*lang*/
398
409
  8 && c && Z();
399
410
  }, [
400
411
  m,
@@ -413,12 +424,12 @@ function ke(a, e, s) {
413
424
  T,
414
425
  j,
415
426
  U,
427
+ w,
416
428
  S,
417
429
  z,
418
430
  u,
419
431
  I,
420
432
  i,
421
- w,
422
433
  C,
423
434
  L,
424
435
  p
@@ -449,11 +460,11 @@ class we extends te {
449
460
  showgamename: 13,
450
461
  visiblegames: 14,
451
462
  favorites: 15,
452
- translationurl: 21,
453
- casinomygames: 16,
463
+ translationurl: 16,
464
+ casinomygames: 17,
454
465
  mostplayedperiod: 22,
455
466
  mostplayedrounds: 23,
456
- fetchviaevent: 17
467
+ fetchviaevent: 18
457
468
  },
458
469
  be,
459
470
  [-1, -1]
@@ -556,13 +567,13 @@ class we extends te {
556
567
  this.$$set({ favorites: e }), l();
557
568
  }
558
569
  get translationurl() {
559
- return this.$$.ctx[21];
570
+ return this.$$.ctx[16];
560
571
  }
561
572
  set translationurl(e) {
562
573
  this.$$set({ translationurl: e }), l();
563
574
  }
564
575
  get casinomygames() {
565
- return this.$$.ctx[16];
576
+ return this.$$.ctx[17];
566
577
  }
567
578
  set casinomygames(e) {
568
579
  this.$$set({ casinomygames: e }), l();
@@ -580,7 +591,7 @@ class we extends te {
580
591
  this.$$set({ mostplayedrounds: e }), l();
581
592
  }
582
593
  get fetchviaevent() {
583
- return this.$$.ctx[17];
594
+ return this.$$.ctx[18];
584
595
  }
585
596
  set fetchviaevent(e) {
586
597
  this.$$set({ fetchviaevent: e }), l();
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B4OJuO_L.cjs");require("./CasinoFavoritesSectionNd-BzY-Mtdp.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={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-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;