@everymatrix/casino-lobby 1.74.5 → 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 (26) hide show
  1. package/components/CasinoFavoritesSection-BQm3vLN4.cjs +1 -0
  2. package/components/{CasinoFavoritesSection-TIV1czkm.js → CasinoFavoritesSection-Cv6jIUlD.js} +148 -129
  3. package/components/{CasinoFavoritesSection-BrDVkqoo.js → CasinoFavoritesSection-DvljpfJ3.js} +148 -129
  4. package/components/{CasinoLastPlayedSection-05WcjInA.js → CasinoLastPlayedSection-B7Zksu4A.js} +81 -70
  5. package/components/{CasinoLastPlayedSection-2dzzLJg7.js → CasinoLastPlayedSection-BvLbRXcm.js} +81 -70
  6. package/components/CasinoLastPlayedSection-DbfXEbef.cjs +1 -0
  7. package/components/{CasinoLobby-BRfuQSO0.js → CasinoLobby-BN2EJtl2.js} +1 -1
  8. package/components/{CasinoLobby-ClPDUIJt.js → CasinoLobby-D8qvx3h6.js} +1 -1
  9. package/components/{CasinoLobby-JSJInF6U.cjs → CasinoLobby-nUsTGR-H.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-uF4ETOcE.js → CasinoMostPlayedSection-Bol1_zkd.js} +37 -26
  11. package/components/CasinoMostPlayedSection-Du_UlvPc.cjs +1 -0
  12. package/components/{CasinoMostPlayedSection-DxBSgyMT.js → CasinoMostPlayedSection-ts0YqE3Q.js} +37 -26
  13. package/components/{CasinoMyGames-B6ln9L94.js → CasinoMyGames-D9v-iYaj.js} +533 -500
  14. package/components/CasinoMyGames-DqGcye1D.cjs +1 -0
  15. package/components/{CasinoMyGames-DGnMt9aq.js → CasinoMyGames-a2l-w517.js} +533 -500
  16. package/components/{CasinoPage-v8AoEQF6.cjs → CasinoPage-BOiAVVXu.cjs} +1 -1
  17. package/components/{CasinoPage-DbgjV5io.js → CasinoPage-C9nOimHH.js} +2 -2
  18. package/components/{CasinoPage-Dj1alLLK.js → CasinoPage-KebAtIf2.js} +2 -2
  19. package/es2015/casino-lobby.cjs +1 -1
  20. package/es2015/casino-lobby.js +1 -1
  21. package/esnext/casino-lobby.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoFavoritesSection-D5WvqjAF.cjs +0 -1
  24. package/components/CasinoLastPlayedSection-B4FQNNgv.cjs +0 -1
  25. package/components/CasinoMostPlayedSection-CZrQrXCB.cjs +0 -1
  26. package/components/CasinoMyGames-BNEMfelm.cjs +0 -1
@@ -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, N as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-FUyH3So6.js";
2
- import "./CasinoFavoritesSection-TIV1czkm.js";
2
+ import "./CasinoFavoritesSection-Cv6jIUlD.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-BGhJ1cEV.cjs");require("./CasinoFavoritesSection-BQm3vLN4.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"),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,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(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(_=>_.json())):m.push(fetch(g.href).then(_=>_.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;
@@ -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, N as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-BMDbprh6.js";
2
- import "./CasinoFavoritesSection-BrDVkqoo.js";
2
+ import "./CasinoFavoritesSection-DvljpfJ3.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();