@everymatrix/casino-lobby 1.52.6 → 1.53.10

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 (58) hide show
  1. package/components/{CasinoCalendar-0AyYaYr6.js → CasinoCalendar-Ic3lq1UY.js} +1738 -1707
  2. package/components/CasinoCalendarDailyDetails-buDoufAV.js +701 -0
  3. package/components/CasinoCalendarDailyItem-koPRd703.js +315 -0
  4. package/components/{CasinoCategoriesSlider-DZ3Xi2sD.js → CasinoCategoriesSlider-Bp9JHeM_.js} +24 -24
  5. package/components/{CasinoCollectionsProviders-CNZ2cCAe.js → CasinoCollectionsProviders-CrpNb22N.js} +241 -246
  6. package/components/{CasinoFavoritesSection-BBB31zDY.js → CasinoFavoritesSection-C1XEW6Z6.js} +19 -19
  7. package/components/{CasinoFilter-CxB9D2A4.js → CasinoFilter-CYZHW74M.js} +79 -80
  8. package/components/{CasinoGamePage-CDh-e6Wj.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
  9. package/components/{CasinoGameThumbnail-E3DsUeGg.js → CasinoGameThumbnail-zLPpnkNm.js} +469 -465
  10. package/components/{CasinoGamesCategorySection-C_kk0DKd.js → CasinoGamesCategorySection-DMGyKJ-j.js} +1104 -1135
  11. package/components/{CasinoJackpotBanner-DPuhYIS9.js → CasinoJackpotBanner-CL7SMQDH.js} +174 -178
  12. package/components/{CasinoLastPlayedSection-CLnhsvP9.js → CasinoLastPlayedSection-Cm6BF1pV.js} +20 -20
  13. package/components/{CasinoLobby-pjumhRDZ.js → CasinoLobby-DPo1HzH2.js} +56 -56
  14. package/components/{CasinoModal-CDlxjS83.js → CasinoModal-z0xixUlG.js} +66 -66
  15. package/components/{CasinoMostPlayedSection-5-RVoCb-.js → CasinoMostPlayedSection-CA67PY54.js} +26 -26
  16. package/components/{CasinoMyGames-6DZcdRjD.js → CasinoMyGames-DvJ46R6O.js} +72 -73
  17. package/components/{CasinoPage-C4py41GG.js → CasinoPage-CfEe4r2D.js} +812 -815
  18. package/components/{CasinoRandomGame-Cw331FLx.js → CasinoRandomGame-efA8CEqy.js} +232 -248
  19. package/components/{CasinoSearch-D5Ytqppn.js → CasinoSearch-CZ5ggDbP.js} +232 -234
  20. package/components/{CasinoSlider-b2MX1hWZ.js → CasinoSlider-BPqJIB5d.js} +226 -232
  21. package/components/{CasinoSort-ContI1pC.js → CasinoSort-CBtcK7i0.js} +19 -20
  22. package/components/{CasinoWinners-BZNLRgvw.js → CasinoWinners-Db2ivy-R.js} +151 -153
  23. package/components/{GeneralAnimationLoading-C-B40oIV.js → GeneralAnimationLoading-DiwFEyef.js} +3 -3
  24. package/esnext/casino-lobby.js +14 -0
  25. package/package.json +8 -15
  26. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
  27. package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
  28. package/components/CasinoCalendar-aMUXtMPt.cjs +0 -9
  29. package/components/CasinoCalendarDailyDetails-Djpw089y.js +0 -605
  30. package/components/CasinoCalendarDailyDetails-DvaXsJ6J.cjs +0 -1
  31. package/components/CasinoCalendarDailyItem-BNFG5z35.js +0 -220
  32. package/components/CasinoCalendarDailyItem-CMMlKWuC.cjs +0 -1
  33. package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +0 -1
  34. package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +0 -1
  35. package/components/CasinoFavoritesSection-BHrmxWuN.cjs +0 -1
  36. package/components/CasinoFilter-DdhssY81.cjs +0 -1
  37. package/components/CasinoGamePage-D-wyPyQN.cjs +0 -18
  38. package/components/CasinoGameThumbnail-Cy1VrIc2.cjs +0 -38
  39. package/components/CasinoGamesCategorySection-DRTO5RGa.cjs +0 -1
  40. package/components/CasinoJackpotBanner-BlShS5Vc.cjs +0 -1
  41. package/components/CasinoLastPlayedSection-CXT1cjKT.cjs +0 -1
  42. package/components/CasinoLobby-DSzDWiIw.cjs +0 -1
  43. package/components/CasinoModal-BYPHyNGp.cjs +0 -1
  44. package/components/CasinoMostPlayedSection-Bl6GtlIg.cjs +0 -1
  45. package/components/CasinoMyGames-Dk_pu9Qu.cjs +0 -1
  46. package/components/CasinoPage-2oHimQvG.cjs +0 -1
  47. package/components/CasinoRandomGame-BpdxwlFB.cjs +0 -2
  48. package/components/CasinoSearch-BzNr7mJS.cjs +0 -1
  49. package/components/CasinoSlider-GXmtset2.cjs +0 -1
  50. package/components/CasinoSort-Bb3WIr_q.cjs +0 -1
  51. package/components/CasinoWinners-B4eUo0-6.cjs +0 -1
  52. package/components/GeneralAnimationLoading-CtmRY9AI.cjs +0 -1
  53. package/es2015/casino-lobby.cjs +0 -1
  54. package/es2015/casino-lobby.js +0 -16
  55. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  56. package/stencil/casino-play-random-game-CQe5iDJ8.cjs +0 -371
  57. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  58. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -1,4 +1,4 @@
1
- import { S as m, i as h, f as o, c as g, s as y, b as v, e as x, d as b, C as r, j as C, m as _ } from "./CasinoCalendar-0AyYaYr6.js";
1
+ import { S as m, i as h, f as o, c as g, s as y, b as v, e as x, d as b, D as r, j as _, n as C } from "./CasinoCalendar-Ic3lq1UY.js";
2
2
  function L(e) {
3
3
  v(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
@@ -15,7 +15,7 @@ function k(e) {
15
15
  i: r,
16
16
  o: r,
17
17
  d(n) {
18
- n && C(i), e[3](null);
18
+ n && _(i), e[3](null);
19
19
  }
20
20
  };
21
21
  }
@@ -40,7 +40,7 @@ function S(e, i, n) {
40
40
  });
41
41
  };
42
42
  function f(t) {
43
- _[t ? "unshift" : "push"](() => {
43
+ C[t ? "unshift" : "push"](() => {
44
44
  s = t, n(0, s);
45
45
  });
46
46
  }
@@ -0,0 +1,14 @@
1
+ import { C as s } from "../components/CasinoLobby-DPo1HzH2.js";
2
+ function o(t) {
3
+ return function(...n) {
4
+ try {
5
+ return t.apply(this, n);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ }
13
+ customElements.define = o(customElements.define);
14
+ !customElements.get("casino-lobby") && customElements.define("casino-lobby", s.element);
package/package.json CHANGED
@@ -1,28 +1,21 @@
1
+
1
2
  {
2
3
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.52.6",
4
+ "version": "1.53.10",
4
5
  "type": "module",
5
- "main": "es2015/casino-lobby.cjs",
6
- "module": "es2015/casino-lobby.js",
6
+ "main": "esnext/casino-lobby.js",
7
+ "module": "esnext/casino-lobby.js",
7
8
  "exports": {
8
- ".": {
9
- "import": "./es2015/casino-lobby.js",
10
- "require": "./es2015/casino-lobby.cjs"
11
- },
12
9
  "./es2015/casino-lobby.cjs": "./es2015/casino-lobby.cjs"
13
10
  },
14
11
  "files": [
12
+ "components/",
15
13
  "es2015/",
16
- "components",
17
- "stencil"
14
+ "stencil",
15
+ "angular",
16
+ "esnext/"
18
17
  ],
19
18
  "publishConfig": {
20
19
  "access": "public"
21
- },
22
- "dependencies": {
23
- "@everymatrix/casino-categories-slider": "1.45.7",
24
- "@everymatrix/casino-page": "1.45.7",
25
- "@everymatrix/casino-modal": "1.45.7",
26
- "@everymatrix/casino-game-page": "1.45.7"
27
20
  }
28
21
  }
@@ -1,32 +1,14 @@
1
- var p = (n, e, a) => new Promise((t, o) => {
2
- var m = (r) => {
3
- try {
4
- c(a.next(r));
5
- } catch (h) {
6
- o(h);
7
- }
8
- }, d = (r) => {
9
- try {
10
- c(a.throw(r));
11
- } catch (h) {
12
- o(h);
13
- }
14
- }, c = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(m, d);
15
- c((a = a.apply(n, e)).next());
16
- });
17
- import { b as u, p as f, r as w, h as i, g as x } from "./index-eac6b960-DXIu1GM6.js";
18
- import { g as y } from "./app-globals-0f993ce5-D-kw1sls.js";
19
- var G = () => {
1
+ import { b as c, p as h, r as p, h as t, g } from "./index-47910d1c-CWwDm8i3.js";
2
+ import { g as u } from "./app-globals-0f993ce5-D-kw1sls.js";
3
+ var f = () => {
20
4
  const n = import.meta.url, e = {};
21
- return n !== "" && (e.resourcesUrl = new URL(".", n).href), f(e);
5
+ return n !== "" && (e.resourcesUrl = new URL(".", n).href), h(e);
22
6
  };
23
- G().then((n) => p(void 0, null, function* () {
24
- return yield y(), u([["casino-play-random-game", [[1, "casino-play-random-game", { endpoint: [513], datasource: [513], language: [513], specificCategory: [513, "specific-category"], iconVisible: [513, "icon-visible"], iconVisibleOnAnim: [513, "icon-visible-on-anim"], launchByGameCard: [513, "launch-by-game-card"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], hasErrors: [32], limitStylingAppends: [32], isLoading: [32], gamesToShow: [32], selectedGame: [32], animationDone: [32], animationStarted: [32] }, null, { endpoint: ["watchEndpoint"], datasource: ["watchEndpoint"], language: ["watchEndpoint"], translationUrl: ["handleNewTranslations"], iconVisible: ["handleIsIconVisible"] }]]]], n);
25
- }));
26
- const b = () => {
7
+ f().then(async (n) => (await u(), c([["casino-play-random-game", [[1, "casino-play-random-game", { endpoint: [513], datasource: [513], language: [513], specificCategory: [513, "specific-category"], iconVisible: [513, "icon-visible"], iconVisibleOnAnim: [513, "icon-visible-on-anim"], launchByGameCard: [513, "launch-by-game-card"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], hasErrors: [32], limitStylingAppends: [32], isLoading: [32], gamesToShow: [32], selectedGame: [32], animationDone: [32], animationStarted: [32] }, null, { endpoint: ["watchEndpoint"], datasource: ["watchEndpoint"], language: ["watchEndpoint"], translationUrl: ["handleNewTranslations"], iconVisible: ["handleIsIconVisible"] }]]]], n)));
8
+ const w = () => {
27
9
  let n = window.navigator.userAgent;
28
10
  return n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
29
- }, v = "en", l = {
11
+ }, x = "en", r = {
30
12
  en: {
31
13
  error: "Error",
32
14
  randomGameLoading: "Loading ...",
@@ -69,18 +51,18 @@ const b = () => {
69
51
  playNowRandomGame: "Şimdi Oyna",
70
52
  spinRandomGame: "DEĞİŞTİR"
71
53
  }
72
- }, g = (n) => new Promise((e) => {
73
- fetch(n).then((a) => a.json()).then((a) => {
74
- Object.keys(a).forEach((t) => {
75
- l[t] || (l[t] = {});
76
- for (let o in a[t])
77
- l[t][o] = a[t][o];
54
+ }, l = (n) => new Promise((e) => {
55
+ fetch(n).then((i) => i.json()).then((i) => {
56
+ Object.keys(i).forEach((a) => {
57
+ r[a] || (r[a] = {});
58
+ for (let s in i[a])
59
+ r[a][s] = i[a][s];
78
60
  }), e(!0);
79
61
  });
80
- }), s = (n, e) => {
81
- const a = e;
82
- return l[a !== void 0 && a in l ? a : v][n];
83
- }, R = `:host {
62
+ }), o = (n, e) => {
63
+ const i = e;
64
+ return r[i !== void 0 && i in r ? i : x][n];
65
+ }, y = `:host {
84
66
  display: block;
85
67
  font-family: inherit;
86
68
  -webkit-transform: translate3d(0, 0, 0);
@@ -450,30 +432,30 @@ const b = () => {
450
432
  width: 70px;
451
433
  height: 85px;
452
434
  }
453
- }`, k = R, C = class {
435
+ }`, G = y, b = class {
454
436
  constructor(n) {
455
- w(this, n), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
456
- let a = e.length, t;
457
- for (; a !== 0; )
458
- t = Math.floor(Math.random() * a), a--, [e[a], e[t]] = [e[t], e[a]];
437
+ p(this, n), this.language = "en", this.specificCategory = "", this.iconVisible = "", this.iconVisibleOnAnim = "", this.launchByGameCard = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.hasErrors = !1, this.limitStylingAppends = !1, this.isLoading = !0, this.selectedGame = null, this.animationDone = !1, this.animationStarted = !1, this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
438
+ let i = e.length, a;
439
+ for (; i !== 0; )
440
+ a = Math.floor(Math.random() * i), i--, [e[i], e[a]] = [e[a], e[i]];
459
441
  return e;
460
442
  }, this.setClientStyling = () => {
461
443
  let e = document.createElement("style");
462
444
  e.innerHTML = this.clientStyling, this.host.shadowRoot.prepend(e);
463
445
  }, this.setClientStylingURL = () => {
464
- let e = new URL(this.clientStylingUrl), a = document.createElement("style");
465
- fetch(e.href).then((t) => t.text()).then((t) => {
466
- a.innerHTML = t, this.clientStyling = t, setTimeout(() => {
467
- this.host.shadowRoot.prepend(a);
446
+ let e = new URL(this.clientStylingUrl), i = document.createElement("style");
447
+ fetch(e.href).then((a) => a.text()).then((a) => {
448
+ i.innerHTML = a, this.clientStyling = a, setTimeout(() => {
449
+ this.host.shadowRoot.prepend(i);
468
450
  }, 1);
469
451
  });
470
- }, this.endpoint = void 0, this.datasource = void 0, this.language = "en", this.specificCategory = "", this.iconVisible = "", this.iconVisibleOnAnim = "", this.launchByGameCard = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.hasErrors = !1, this.limitStylingAppends = !1, this.isLoading = !0, this.gamesToShow = void 0, this.selectedGame = null, this.animationDone = !1, this.animationStarted = !1;
452
+ };
471
453
  }
472
454
  watchEndpoint(n, e) {
473
455
  n && n != e && this.endpoint && this.fetchGameList();
474
456
  }
475
457
  handleNewTranslations() {
476
- this.isLoading = !0, g(this.translationUrl).then(() => {
458
+ this.isLoading = !0, l(this.translationUrl).then(() => {
477
459
  this.isLoading = !1;
478
460
  });
479
461
  }
@@ -484,7 +466,7 @@ const b = () => {
484
466
  this.handleIsIconVisible();
485
467
  }
486
468
  componentWillLoad() {
487
- if (this.translationUrl.length > 2 && g(this.translationUrl), this.endpoint && this.language && this.datasource)
469
+ if (this.translationUrl.length > 2 && l(this.translationUrl), this.endpoint && this.language && this.datasource)
488
470
  return this.fetchGameList();
489
471
  }
490
472
  componentDidLoad() {
@@ -492,11 +474,11 @@ const b = () => {
492
474
  }
493
475
  fetchGameList() {
494
476
  let n = new URL(`${this.endpoint}/v1/casino/games`);
495
- return n.searchParams.append("platform", b()), n.searchParams.append("datasource", this.datasource), n.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"), n.searchParams.append("expand", "vendor"), n.searchParams.append("pagination", "offset=0,limit=423"), n.searchParams.append("language", this.language), this.specificCategory && n.searchParams.append("filter", `categories(id=${this.specificCategory})`), new Promise((e, a) => {
496
- this.isLoading = !0, fetch(n.href).then((t) => t.json()).then((t) => {
497
- this.gamesToShow = this.setUpGames(t == null ? void 0 : t.items), e(!0);
498
- }).catch((t) => {
499
- console.error(t), this.hasErrors = !0, a(t);
477
+ return n.searchParams.append("platform", w()), n.searchParams.append("datasource", this.datasource), n.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"), n.searchParams.append("expand", "vendor"), n.searchParams.append("pagination", "offset=0,limit=423"), n.searchParams.append("language", this.language), this.specificCategory && n.searchParams.append("filter", `categories(id=${this.specificCategory})`), new Promise((e, i) => {
478
+ this.isLoading = !0, fetch(n.href).then((a) => a.json()).then((a) => {
479
+ this.gamesToShow = this.setUpGames(a?.items), e(!0);
480
+ }).catch((a) => {
481
+ console.error(a), this.hasErrors = !0, i(a);
500
482
  }).finally(() => {
501
483
  this.isLoading = !1;
502
484
  });
@@ -522,12 +504,12 @@ const b = () => {
522
504
  }
523
505
  animateGames() {
524
506
  this.iconVisibility = this.iconVisibleOnAnim === "true", this.animationStarted = !0, this.animationDone = !1, this.animation && this.animation.cancel(), this.selectedGameEl && (this.selectedGameEl.classList.remove("TheRandomGame"), this.selectedGame = null, this.selectedGameIndex = null), this.selectRandomGame();
525
- const n = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), e = parseInt(n, 10), a = this.selectedGameEl.offsetWidth, t = this.gameContainer.offsetWidth, o = (a + e) * this.selectedGameIndex + // Width of game cards up to the selected
526
- a / 2 - // Additional half card width to center to the selected game
527
- t / 2, m = [
507
+ const n = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), e = parseInt(n, 10), i = this.selectedGameEl.offsetWidth, a = this.gameContainer.offsetWidth, s = (i + e) * this.selectedGameIndex + // Width of game cards up to the selected
508
+ i / 2 - // Additional half card width to center to the selected game
509
+ a / 2, m = [
528
510
  { transform: "translateX(0px)", scale: 1 },
529
511
  { scale: 0.75 },
530
- { transform: `translateX(-${o}px)`, scale: 1 }
512
+ { transform: `translateX(-${s}px)`, scale: 1 }
531
513
  ], d = {
532
514
  duration: 3e3,
533
515
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
@@ -548,18 +530,18 @@ const b = () => {
548
530
  });
549
531
  }
550
532
  renderGameDetails() {
551
- return i("div", { class: "RandomButtonsWrapper" }, i("div", { class: "RandomGameDetails" }, i("span", { class: "RandomGameTitle" }, this.selectedGame.name), i("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), i("div", { class: "RandomButtons" }, i("button", { class: "RandomButton On", onClick: () => this.respin() }, s("spinRandomGame", this.language)), !this.launchByGameCard && i("button", { class: "RandomButton On", onClick: () => this.playGame() }, s("playNowRandomGame", this.language))));
533
+ return t("div", { class: "RandomButtonsWrapper" }, t("div", { class: "RandomGameDetails" }, t("span", { class: "RandomGameTitle" }, this.selectedGame.name), t("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), t("div", { class: "RandomButtons" }, t("button", { class: "RandomButton On", onClick: () => this.respin() }, o("spinRandomGame", this.language)), !this.launchByGameCard && t("button", { class: "RandomButton On", onClick: () => this.playGame() }, o("playNowRandomGame", this.language))));
552
534
  }
553
535
  render() {
554
536
  if (this.hasErrors)
555
- return i("div", { class: "RandomGameError" }, i("div", { class: "Title" }, s("error", this.language)));
537
+ return t("div", { class: "RandomGameError" }, t("div", { class: "Title" }, o("error", this.language)));
556
538
  if (this.isLoading)
557
- return i("div", { class: "RandomGameLoading" }, i("div", { class: "Title" }, s("randomGameLoading", this.language)));
539
+ return t("div", { class: "RandomGameLoading" }, t("div", { class: "Title" }, o("randomGameLoading", this.language)));
558
540
  if (!this.isLoading)
559
- return i("div", { class: "RandomGameWrapper" }, i("div", { class: "GameContainerGradient" }), i("div", { class: "GamesContainer", ref: (n) => this.gameContainer = n }, this.gamesToShow && this.gamesToShow.map((n, e) => i("div", { class: "RandomGameCard", key: e, onClick: this.launchByGameCard === "true" ? () => this.playGame() : null }, i("div", { class: "RandomGameVendor" }, n.vendor.name), i("img", { class: "RandomGameImage", src: n.thumbnail, alt: n.name, title: n.name }), this.selectedGame && this.selectedGameIndex === e && this.renderGameDetails()))), i("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, i("div", { class: "ButtonContainer" }, this.iconVisibility && i("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, i("div", { class: "QustionMark" }, "?"), i("div", { class: "HexagonMarkShadow" }), i("div", { class: "HexagonMark" })), !this.animationStarted && i("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, s("playRandomGame", this.language)))));
541
+ return t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer", ref: (n) => this.gameContainer = n }, this.gamesToShow && this.gamesToShow.map((n, e) => t("div", { class: "RandomGameCard", key: e, onClick: this.launchByGameCard === "true" ? () => this.playGame() : null }, t("div", { class: "RandomGameVendor" }, n.vendor.name), t("img", { class: "RandomGameImage", src: n.thumbnail, alt: n.name, title: n.name }), this.selectedGame && this.selectedGameIndex === e && this.renderGameDetails()))), t("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, t("div", { class: "ButtonContainer" }, this.iconVisibility && t("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, t("div", { class: "QustionMark" }, "?"), t("div", { class: "HexagonMarkShadow" }), t("div", { class: "HexagonMark" })), !this.animationStarted && t("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, o("playRandomGame", this.language)))));
560
542
  }
561
543
  get host() {
562
- return x(this);
544
+ return g(this);
563
545
  }
564
546
  static get watchers() {
565
547
  return {
@@ -571,7 +553,7 @@ const b = () => {
571
553
  };
572
554
  }
573
555
  };
574
- C.style = k;
556
+ b.style = G;
575
557
  export {
576
- C as casino_play_random_game
558
+ b as casino_play_random_game
577
559
  };