@everymatrix/casino-page-nd 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/components/CasinoCalendar-4gqh3tjm.js +544 -0
  2. package/components/CasinoCalendar-D-jt46wW.js +542 -0
  3. package/components/CasinoCalendar-ynlHjTfj.cjs +2 -0
  4. package/components/{CasinoCalendarDailyDetails-B9Svmn08.js → CasinoCalendarDailyDetails-BgcvH9nK.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-BzANjMYK.js → CasinoCalendarDailyDetails-Cbe8pC7J.js} +104 -104
  6. package/components/CasinoCalendarDailyDetails-DuVZISBD.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-Ddwevbwg.js → CasinoCalendarDailyItem-COIhg8yV.js} +118 -118
  8. package/components/CasinoCalendarDailyItem-XIp0Lg7p.cjs +1 -0
  9. package/components/{CasinoCalendarDailyItem-Csh2ZNEb.js → CasinoCalendarDailyItem-fVTVyUL4.js} +115 -115
  10. package/components/{CasinoCollectionsProviders-Bz4Qwgcy.js → CasinoCollectionsProviders-BEPYwCWn.js} +99 -99
  11. package/components/{CasinoCollectionsProviders-B-rxzUHS.js → CasinoCollectionsProviders-DhMmNofL.js} +89 -89
  12. package/components/CasinoCollectionsProviders-re4bKhyh.cjs +1 -0
  13. package/components/CasinoFavoritesSectionNd-BYye_OqX.cjs +1 -0
  14. package/components/{CasinoFavoritesSectionNd-OgOa7MBa.js → CasinoFavoritesSectionNd-DIChCUWH.js} +43 -43
  15. package/components/{CasinoFavoritesSectionNd-Doh425U1.js → CasinoFavoritesSectionNd-DehWpE4C.js} +29 -29
  16. package/components/{CasinoFilter-F9z7t5pe.js → CasinoFilter-BBPXUROy.js} +248 -247
  17. package/components/CasinoFilter-hJQjaIWk.cjs +1 -0
  18. package/components/{CasinoFilter-BOPSPGn4.js → CasinoFilter-vZxw-pSX.js} +226 -227
  19. package/components/CasinoGameThumbnailNd-BrnCxDF0.js +1841 -0
  20. package/components/CasinoGameThumbnailNd-BvM0R6oS.cjs +30 -0
  21. package/components/CasinoGameThumbnailNd-CBW5XULX.js +1825 -0
  22. package/components/CasinoGamesCategorySectionNd-CZEde4tc.js +4569 -0
  23. package/components/CasinoGamesCategorySectionNd-DBlWbwZr.cjs +1 -0
  24. package/components/CasinoGamesCategorySectionNd-Dzj5UiL6.js +4602 -0
  25. package/components/{CasinoJackpotBanner-Djh5d5I0.js → CasinoJackpotBanner-CMoIV2Qg.js} +148 -148
  26. package/components/{CasinoJackpotBanner-D-liS_Me.js → CasinoJackpotBanner-D0X5L0Fz.js} +148 -148
  27. package/components/CasinoJackpotBanner-D48QAlyM.cjs +1 -0
  28. package/components/CasinoLastPlayedSectionNd-Dbai7XXg.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-CDt_OWWF.js → CasinoLastPlayedSectionNd-Hz1MGr2w.js} +67 -68
  30. package/components/{CasinoLastPlayedSectionNd-DNewZ65k.js → CasinoLastPlayedSectionNd-Nm8QJSvi.js} +68 -69
  31. package/components/{CasinoMostPlayedSectionNd-CqVf2pf-.js → CasinoMostPlayedSectionNd-C2TOAcIX.js} +81 -82
  32. package/components/{CasinoMostPlayedSectionNd-BPJRi-mx.js → CasinoMostPlayedSectionNd-D78ro-LI.js} +90 -91
  33. package/components/CasinoMostPlayedSectionNd-DIPIP9gt.cjs +1 -0
  34. package/components/CasinoMyGamesNd-B1sfMK3_.cjs +1 -0
  35. package/components/{CasinoMyGamesNd-PlQpeD0V.js → CasinoMyGamesNd-Bb9JdqMU.js} +186 -187
  36. package/components/{CasinoMyGamesNd-4iJsQUyK.js → CasinoMyGamesNd-CZlSlxbH.js} +187 -188
  37. package/components/CasinoPageNd-CcSCHl8E.js +8898 -0
  38. package/components/CasinoPageNd-DF8VWpzm.cjs +18 -0
  39. package/components/CasinoPageNd-V8GTyc-d.js +8943 -0
  40. package/components/{CasinoRandomGame-BqY01xC4.js → CasinoRandomGame-Bu7BMO6x.js} +119 -119
  41. package/components/{CasinoRandomGame-OSVl6dyi.js → CasinoRandomGame-DNDiY5mi.js} +118 -118
  42. package/components/CasinoRandomGame-r6IDCjxz.cjs +2 -0
  43. package/components/{CasinoSearchNd-CxPW28Eu.js → CasinoSearchNd--A3r1bol.js} +137 -137
  44. package/components/{CasinoSearchNd-2oH02fm7.js → CasinoSearchNd-C-c2kfaz.js} +116 -116
  45. package/components/CasinoSearchNd-tkeQa-4D.cjs +1 -0
  46. package/components/{CasinoSort-gHx_6Htf.js → CasinoSort-BsnJnnBd.js} +105 -104
  47. package/components/CasinoSort-C5B5VrQK.cjs +1 -0
  48. package/components/{CasinoSort-ChNfSlPO.js → CasinoSort-DTg6GMDm.js} +106 -107
  49. package/components/{CasinoWinners-CQd0AWVY.js → CasinoWinners-9UUZl0zW.js} +88 -89
  50. package/components/{CasinoWinners-CJLTqoB5.js → CasinoWinners-HHekahwS.js} +86 -87
  51. package/components/CasinoWinners-l7SjMLq0.cjs +1 -0
  52. package/components/{GeneralAnimationLoading-khf0HKjf.js → GeneralAnimationLoading-BpIMzIUb.js} +23 -23
  53. package/components/GeneralAnimationLoading-BrpKZCf6.cjs +1 -0
  54. package/components/{GeneralAnimationLoading-DrJIjWen.js → GeneralAnimationLoading-DoHKm0vp.js} +22 -22
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +7 -7
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/casino-calendar-BQRTF7DC.js +16 -0
  59. package/lazy/casino-calendar-DB45ET5Y.js +16 -0
  60. package/lazy/{casino-calendar-daily-details-Bs78gyMV.js → casino-calendar-daily-details-B3jG_5mi.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-DgAlT_Jk.cjs → casino-calendar-daily-details-CKXIPC61.cjs} +1 -1
  62. package/lazy/{casino-calendar-daily-details-DbdU0n9_.js → casino-calendar-daily-details-fOo4pKjF.js} +1 -1
  63. package/lazy/{casino-calendar-daily-item-UAvUvm5x.cjs → casino-calendar-daily-item-B8FmTb3F.cjs} +1 -1
  64. package/lazy/{casino-calendar-daily-item-BZGfz8IW.js → casino-calendar-daily-item-DmJBggBQ.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-BzQVDuqP.js → casino-calendar-daily-item-yhApzywX.js} +1 -1
  66. package/lazy/casino-calendar-rFYhy_Rl.cjs +1 -0
  67. package/lazy/{casino-collections-providers-__jGk8Bi.js → casino-collections-providers-BlhsWNQs.js} +1 -1
  68. package/lazy/{casino-collections-providers-DEpXDWUW.cjs → casino-collections-providers-CQ-LhgQh.cjs} +1 -1
  69. package/lazy/{casino-collections-providers-DHPnDwqI.js → casino-collections-providers-Dzem7JVX.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-DTHR_WoG.js → casino-favorites-section-nd-DDvn91GT.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-C6rFw4hJ.js → casino-favorites-section-nd-DoV8dzTW.js} +1 -1
  72. package/lazy/{casino-favorites-section-nd--WmlZh9C.cjs → casino-favorites-section-nd-HqHu0HXh.cjs} +1 -1
  73. package/lazy/{casino-filter-D_OJZ711.cjs → casino-filter-Bg9zWxnh.cjs} +1 -1
  74. package/lazy/{casino-filter-sujGI1Sw.js → casino-filter-DWdpcqGK.js} +1 -1
  75. package/lazy/{casino-filter-947plBW0.js → casino-filter-DZSIuJ8Z.js} +1 -1
  76. package/lazy/casino-game-thumbnail-nd-B4bWjPVs.js +16 -0
  77. package/lazy/casino-game-thumbnail-nd-BKZQlZH2.cjs +1 -0
  78. package/lazy/casino-game-thumbnail-nd-CLvJa_O7.js +16 -0
  79. package/lazy/{casino-calendar-W25gPujL.js → casino-games-category-section-nd-Chv9dRqL.js} +2 -2
  80. package/lazy/{casino-calendar-BQ3kWu0l.js → casino-games-category-section-nd-DTurm4m5.js} +2 -2
  81. package/lazy/{casino-calendar-C-GiLu3p.cjs → casino-games-category-section-nd-avQYtfSL.cjs} +1 -1
  82. package/lazy/{casino-jackpot-banner-C6PN_r6L.js → casino-jackpot-banner-DK2dZVQ4.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-aWzFMQtT.cjs → casino-jackpot-banner-Dgw_f8Kx.cjs} +1 -1
  84. package/lazy/{casino-jackpot-banner-CUQV4cSc.js → casino-jackpot-banner-sjsSpjbL.js} +1 -1
  85. package/lazy/{casino-last-played-section-nd-BPs_q57i.js → casino-last-played-section-nd-B8RCGi5D.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Z1Eqkg-W.js → casino-last-played-section-nd-BzPSdKqZ.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-DrB-yi_x.cjs → casino-last-played-section-nd-DMzSMctM.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-vNEsmYNv.js → casino-most-played-section-nd-BW_W-IY8.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-CsO2-tH-.cjs → casino-most-played-section-nd-DxVaDgWi.cjs} +1 -1
  90. package/lazy/{casino-most-played-section-nd-UW_M18NT.js → casino-most-played-section-nd-MVRS6dcI.js} +1 -1
  91. package/lazy/{casino-my-games-nd-wnfXxA4K.js → casino-my-games-nd-BOMVCSi5.js} +1 -1
  92. package/lazy/{casino-my-games-nd-BgkBJ625.cjs → casino-my-games-nd-G5Q2qOzF.cjs} +1 -1
  93. package/lazy/{casino-my-games-nd-DsN_8Hh5.js → casino-my-games-nd-_lXUBvel.js} +1 -1
  94. package/lazy/{casino-play-random-game-DtfZNoGc.js → casino-play-random-game-BWZurtgT.js} +1 -1
  95. package/lazy/{casino-play-random-game-BwP_PyGn.js → casino-play-random-game-CFCxse5b.js} +1 -1
  96. package/lazy/{casino-play-random-game-B_ZqJC9O.cjs → casino-play-random-game-pwqgQVLV.cjs} +1 -1
  97. package/lazy/{casino-random-game-C8MfHXaa.js → casino-random-game-BEz7yTkT.js} +1 -1
  98. package/lazy/{casino-random-game-DFRc-OVf.js → casino-random-game-BcGWBzT2.js} +1 -1
  99. package/lazy/{casino-random-game-eOSEDGdT.cjs → casino-random-game-hBRg0fFp.cjs} +1 -1
  100. package/lazy/{casino-search-nd-DK7NClj7.js → casino-search-nd-BREKygXT.js} +1 -1
  101. package/lazy/{casino-search-nd-0h3RFpG5.js → casino-search-nd-W95Lk6BP.js} +1 -1
  102. package/lazy/{casino-search-nd-B4IMeGRL.cjs → casino-search-nd-a6cCkhdf.cjs} +1 -1
  103. package/lazy/{casino-sort-DnvZL0xh.cjs → casino-sort-CIdKBJtJ.cjs} +1 -1
  104. package/lazy/{casino-sort-DHWqDjlb.js → casino-sort-Co9nWF48.js} +1 -1
  105. package/lazy/{casino-sort-DCo8rI3E.js → casino-sort-DRc59Y-x.js} +1 -1
  106. package/lazy/{casino-winners-CNIy3lxn.js → casino-winners-Bs8a8MNm.js} +1 -1
  107. package/lazy/{casino-winners-D-kl8Pt9.cjs → casino-winners-DCjacxAF.cjs} +1 -1
  108. package/lazy/{casino-winners-wudr0jE1.js → casino-winners-DuIhnL7J.js} +1 -1
  109. package/lazy/{general-animation-loading-BEnsNW2g.js → general-animation-loading-BCRRr9R1.js} +1 -1
  110. package/lazy/{general-animation-loading-D03DfjDc.cjs → general-animation-loading-BN__VtW2.cjs} +1 -1
  111. package/lazy/{general-animation-loading-B3lvSOkP.js → general-animation-loading-BsaF5Ej3.js} +1 -1
  112. package/package.json +1 -1
  113. package/stencil/{casino-play-random-game-lwEwVdAM.js → casino-play-random-game-BOPRTiwD.js} +2 -2
  114. package/stencil/{casino-play-random-game-DyQoGWi6.cjs → casino-play-random-game-CoPqwq78.cjs} +1 -1
  115. package/stencil/{casino-play-random-game-ViBhO659.js → casino-play-random-game-yO-x2QjR.js} +2 -2
  116. package/stencil/{casino-play-random-game_2-CDiEK5Rt.js → casino-play-random-game_2-BxaCgNIB.js} +92 -64
  117. package/stencil/{casino-play-random-game_2-C4f-74R0.js → casino-play-random-game_2-CIEKYYQF.js} +91 -64
  118. package/stencil/{casino-play-random-game_2-C64foLSL.cjs → casino-play-random-game_2-DXgBuAeq.cjs} +3 -3
  119. package/components/CasinoCalendar-BELrT2lA.js +0 -5071
  120. package/components/CasinoCalendar-BpwU4Nrb.js +0 -5110
  121. package/components/CasinoCalendar-DrrajltR.cjs +0 -19
  122. package/components/CasinoCalendarDailyDetails-lmz3Ug1c.cjs +0 -1
  123. package/components/CasinoCalendarDailyItem-DmRnSMf5.cjs +0 -1
  124. package/components/CasinoCollectionsProviders-C5rH3HrT.cjs +0 -1
  125. package/components/CasinoFavoritesSectionNd-BELSdOTJ.cjs +0 -1
  126. package/components/CasinoFilter-BkWQ4KgW.cjs +0 -1
  127. package/components/CasinoGameThumbnailNd-BR1mn9ZI.js +0 -3121
  128. package/components/CasinoGameThumbnailNd-CuVwgwvD.js +0 -3105
  129. package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +0 -30
  130. package/components/CasinoGamesCategorySectionNd-BdsjIQ7s.cjs +0 -1
  131. package/components/CasinoGamesCategorySectionNd-K7o3qVk7.js +0 -3292
  132. package/components/CasinoGamesCategorySectionNd-hFAHZgTC.js +0 -3325
  133. package/components/CasinoJackpotBanner-DKGuifD8.cjs +0 -1
  134. package/components/CasinoLastPlayedSectionNd-BnKRy68b.cjs +0 -1
  135. package/components/CasinoMostPlayedSectionNd-6Hm3k1kM.cjs +0 -1
  136. package/components/CasinoMyGamesNd-y1vPuFt-.cjs +0 -1
  137. package/components/CasinoPageNd-BBi0HzpA.js +0 -4364
  138. package/components/CasinoPageNd-D5mGix6W.cjs +0 -1
  139. package/components/CasinoPageNd-DSKsK40E.js +0 -4345
  140. package/components/CasinoRandomGame-BqszKIRI.cjs +0 -2
  141. package/components/CasinoSearchNd-BONwYpjU.cjs +0 -1
  142. package/components/CasinoSort-D9yqS_K_.cjs +0 -1
  143. package/components/CasinoWinners-BNaYIdgc.cjs +0 -1
  144. package/components/GeneralAnimationLoading-dlrAfGeC.cjs +0 -1
  145. package/lazy/casino-game-thumbnail-nd-C6m6nRiR.js +0 -16
  146. package/lazy/casino-game-thumbnail-nd-C_3atSCn.cjs +0 -1
  147. package/lazy/casino-game-thumbnail-nd-TwbY9jp9.js +0 -16
  148. package/lazy/casino-games-category-section-nd-B5EKRtdm.cjs +0 -1
  149. package/lazy/casino-games-category-section-nd-CS53a63I.js +0 -16
  150. package/lazy/casino-games-category-section-nd-Dcf6QgfF.js +0 -16
@@ -1,8 +1,8 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-DtfZNoGc.js";
2
- const y = () => {
1
+ import { r as p, c as f, h as a, g as y, H as b } from "../lazy/casino-play-random-game-BWZurtgT.js";
2
+ const x = () => {
3
3
  let e = window.navigator.userAgent;
4
4
  return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
5
- }, b = "en", r = {
5
+ }, k = "en", m = {
6
6
  en: {
7
7
  error: "Error",
8
8
  randomGameLoading: "Loading ...",
@@ -45,49 +45,76 @@ const y = () => {
45
45
  playNowRandomGame: "Şimdi Oyna",
46
46
  spinRandomGame: "DEĞİŞTİR"
47
47
  }
48
- }, l = (e) => new Promise((n) => {
49
- fetch(e).then((a) => a.json()).then((a) => {
50
- c(a), n(!0);
48
+ }, c = (e) => new Promise((n) => {
49
+ fetch(e).then((t) => t.json()).then((t) => {
50
+ w(t), n(!0);
51
51
  });
52
- }), s = (e, n) => {
53
- const a = n;
54
- return r[a !== void 0 && a in r ? a : b][e];
55
- }, c = (e) => {
52
+ }), d = (e, n) => {
53
+ const t = n;
54
+ return m[t !== void 0 && t in m ? t : k][e];
55
+ }, w = (e) => {
56
56
  Object.keys(e).forEach((n) => {
57
- r[n] || (r[n] = {});
58
- for (let a in e[n])
59
- r[n][a] = e[n][a];
57
+ m[n] || (m[n] = {});
58
+ for (let t in e[n])
59
+ m[n][t] = e[n][t];
60
60
  });
61
- };
62
- function m(e, n) {
61
+ }, l = "__WIDGET_GLOBAL_STYLE_CACHE__";
62
+ function g(e, n) {
63
63
  if (e) {
64
- const a = document.createElement("style");
65
- a.innerHTML = n, e.appendChild(a);
64
+ const t = document.createElement("style");
65
+ t.innerHTML = n, e.appendChild(t);
66
66
  }
67
67
  }
68
- function d(e, n) {
68
+ function u(e, n) {
69
69
  if (!e || !n)
70
70
  return;
71
- const a = new URL(n);
72
- fetch(a.href).then((i) => i.text()).then((i) => {
71
+ const t = new URL(n);
72
+ fetch(t.href).then((i) => i.text()).then((i) => {
73
73
  const o = document.createElement("style");
74
74
  o.innerHTML = i, e && e.appendChild(o);
75
75
  }).catch((i) => {
76
76
  console.error("There was an error while trying to load client styling from URL", i);
77
77
  });
78
78
  }
79
- function x(e, n, a) {
80
- if (window.emMessageBus) {
81
- const i = document.createElement("style");
82
- window.emMessageBus.subscribe(n, (o) => {
83
- i.innerHTML = o, e && e.appendChild(i);
79
+ function G(e, n, t, i = !1) {
80
+ if (!window.emMessageBus)
81
+ return;
82
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
83
+ return t = v(e, n), t;
84
+ window[l] || (window[l] = {}), t = R(e, n);
85
+ const r = t.unsubscribe.bind(t), s = () => {
86
+ if (window[l][n]) {
87
+ const h = window[l][n];
88
+ h.refCount > 1 ? h.refCount = h.refCount - 1 : delete window[l][n];
89
+ }
90
+ r();
91
+ };
92
+ return t.unsubscribe = s, t;
93
+ }
94
+ function v(e, n) {
95
+ const t = document.createElement("style");
96
+ return window.emMessageBus.subscribe(n, (i) => {
97
+ e && (t.innerHTML = i, e.appendChild(t));
98
+ });
99
+ }
100
+ function R(e, n) {
101
+ return window.emMessageBus.subscribe(n, (t) => {
102
+ if (!e)
103
+ return;
104
+ const i = e.getRootNode(), o = window[l];
105
+ let r = o[n]?.sheet;
106
+ r ? o[n].refCount = o[n].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(t), o[n] = {
107
+ sheet: r,
108
+ refCount: 1
84
109
  });
85
- }
110
+ const s = i.adoptedStyleSheets || [];
111
+ s.includes(r) || (i.adoptedStyleSheets = [...s, r]);
112
+ });
86
113
  }
87
- function k(e, n, a) {
88
- return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
114
+ function S(e, n, t) {
115
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, t)), n;
89
116
  }
90
- const G = `:host {
117
+ const C = `:host {
91
118
  display: block;
92
119
  font-family: inherit;
93
120
  -webkit-transform: translate3d(0, 0, 0);
@@ -464,12 +491,12 @@ const G = `:host {
464
491
  width: 70px;
465
492
  height: 85px;
466
493
  }
467
- }`, v = G, R = class {
494
+ }`, L = C, V = class {
468
495
  constructor(e) {
469
- h(this, e), this.dataLoaded = p(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
470
- let a = n.length, i;
471
- for (; a !== 0; )
472
- i = Math.floor(Math.random() * a), a--, [n[a], n[i]] = [n[i], n[a]];
496
+ p(this, e), this.dataLoaded = f(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
497
+ let t = n.length, i;
498
+ for (; t !== 0; )
499
+ i = Math.floor(Math.random() * t), t--, [n[t], n[i]] = [n[i], n[t]];
473
500
  return n;
474
501
  }, this.endpoint = void 0, this.datasource = void 0, this.language = "en", this.specificCategory = "", this.iconVisible = "", this.iconVisibleOnAnim = "", this.launchByGameCard = "", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.hasErrors = !1, this.isLoading = !0, this.gamesToShow = void 0, this.selectedGame = null, this.animationDone = !1, this.animationStarted = !1;
475
502
  }
@@ -477,7 +504,7 @@ const G = `:host {
477
504
  e && e != n && this.endpoint && this.fetchGameList();
478
505
  }
479
506
  handleNewTranslations() {
480
- this.isLoading = !0, l(this.translationUrl).then(() => {
507
+ this.isLoading = !0, c(this.translationUrl).then(() => {
481
508
  this.isLoading = !1;
482
509
  });
483
510
  }
@@ -485,31 +512,31 @@ const G = `:host {
485
512
  this.iconVisibility = this.iconVisible === "true";
486
513
  }
487
514
  handleClientStylingChange(e, n) {
488
- e != n && m(this.stylingContainer, this.clientStyling);
515
+ e != n && g(this.stylingContainer, this.clientStyling);
489
516
  }
490
517
  handleClientStylingChangeURL(e, n) {
491
- e != n && this.clientStylingUrl && d(this.stylingContainer, this.clientStylingUrl);
518
+ e != n && this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl);
492
519
  }
493
520
  connectedCallback() {
494
521
  this.handleIsIconVisible();
495
522
  }
496
523
  componentWillLoad() {
497
- if (this.translationUrl.length > 2 && l(this.translationUrl), !this.translationUrl && this.mbSource && window.emMessageBus != null && k(`${this.mbSource}.Translation`, this.translationSubscription, c), this.endpoint && this.language && this.datasource)
524
+ if (this.translationUrl.length > 2 && c(this.translationUrl), !this.translationUrl && this.mbSource && window.emMessageBus != null && S(`${this.mbSource}.Translation`, this.translationSubscription, w), this.endpoint && this.language && this.datasource)
498
525
  return this.fetchGameList();
499
526
  }
500
527
  componentDidLoad() {
501
- window.emMessageBus != null ? x(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && m(this.stylingContainer, this.clientStyling), this.clientStylingUrl && d(this.stylingContainer, this.clientStylingUrl));
528
+ window.emMessageBus != null ? G(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl));
502
529
  }
503
530
  disconnectedCallback() {
504
531
  this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.translationSubscription && this.translationSubscription.unsubscribe();
505
532
  }
506
533
  fetchGameList() {
507
534
  let e = new URL(`${this.endpoint}/v1/casino/games`);
508
- return e.searchParams.append("platform", y()), e.searchParams.append("datasource", this.datasource), e.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"), e.searchParams.append("expand", "vendor"), e.searchParams.append("pagination", "offset=0,limit=423"), e.searchParams.append("language", this.language), this.specificCategory && e.searchParams.append("filter", `categories(id=${this.specificCategory})`), new Promise((n, a) => {
535
+ return e.searchParams.append("platform", x()), e.searchParams.append("datasource", this.datasource), e.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"), e.searchParams.append("expand", "vendor"), e.searchParams.append("pagination", "offset=0,limit=423"), e.searchParams.append("language", this.language), this.specificCategory && e.searchParams.append("filter", `categories(id=${this.specificCategory})`), new Promise((n, t) => {
509
536
  this.isLoading = !0, fetch(e.href).then((i) => i.json()).then((i) => {
510
537
  this.gamesToShow = this.setUpGames(i?.items), n(!0);
511
538
  }).catch((i) => {
512
- console.error(i), this.hasErrors = !0, a(i);
539
+ console.error(i), this.hasErrors = !0, t(i);
513
540
  }).finally(() => {
514
541
  this.isLoading = !1, this.dataLoaded.emit({
515
542
  target: this.host
@@ -537,18 +564,18 @@ const G = `:host {
537
564
  }
538
565
  animateGames() {
539
566
  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();
540
- const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), a = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth, o = (a + n) * this.selectedGameIndex + // Width of game cards up to the selected
541
- a / 2 - // Additional half card width to center to the selected game
542
- i / 2, g = [
567
+ const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), t = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth, o = (t + n) * this.selectedGameIndex + // Width of game cards up to the selected
568
+ t / 2 - // Additional half card width to center to the selected game
569
+ i / 2, r = [
543
570
  { transform: "translateX(0px)", scale: 1 },
544
571
  { scale: 0.75 },
545
572
  { transform: `translateX(-${o}px)`, scale: 1 }
546
- ], u = {
573
+ ], s = {
547
574
  duration: 3e3,
548
575
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
549
576
  fill: "forwards"
550
577
  };
551
- this.animation = this.gameContainer.animate(g, u), this.animation.onfinish = () => {
578
+ this.animation = this.gameContainer.animate(r, s), this.animation.onfinish = () => {
552
579
  this.animationDone = !0, this.selectedGameEl.classList.add("TheRandomGame"), this.selectedGame = this.gamesToShow[this.selectedGameIndex];
553
580
  };
554
581
  }
@@ -563,17 +590,17 @@ const G = `:host {
563
590
  });
564
591
  }
565
592
  renderGameDetails() {
566
- 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() }, s("spinRandomGame", this.language)), !this.launchByGameCard && t("button", { class: "RandomButton On", onClick: () => this.playGame() }, s("playNowRandomGame", this.language))));
593
+ return a("div", { class: "RandomButtonsWrapper" }, a("div", { class: "RandomGameDetails" }, a("span", { class: "RandomGameTitle" }, this.selectedGame.name), a("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), a("div", { class: "RandomButtons" }, a("button", { class: "RandomButton On", onClick: () => this.respin() }, d("spinRandomGame", this.language)), !this.launchByGameCard && a("button", { class: "RandomButton On", onClick: () => this.playGame() }, d("playNowRandomGame", this.language))));
567
594
  }
568
595
  renderSkeleton() {
569
- const e = Array.from({ length: 5 }, (n, a) => t("div", { class: "RandomGameCard", key: a }, t("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
570
- return t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer" }, e));
596
+ const e = Array.from({ length: 5 }, (n, t) => a("div", { class: "RandomGameCard", key: t }, a("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
597
+ return a("div", { class: "RandomGameWrapper" }, a("div", { class: "GameContainerGradient" }), a("div", { class: "GamesContainer" }, e));
571
598
  }
572
599
  render() {
573
- return t("div", { key: "a1e3f626fea9bcd6a351f1769675e11b21ac8fbd", ref: (e) => this.stylingContainer = e }, this.hasErrors ? t("div", { class: "RandomGameError" }, t("div", { class: "Title" }, s("error", this.language))) : this.isLoading ? this.renderSkeleton() : t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, n) => t("div", { class: "RandomGameCard", key: n, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, t("div", { class: "RandomGameVendor" }, e.vendor.name), t("img", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name }), this.selectedGame && this.selectedGameIndex === n && 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() }, s("playRandomGame", this.language))))));
600
+ return a("div", { key: "a1e3f626fea9bcd6a351f1769675e11b21ac8fbd", ref: (e) => this.stylingContainer = e }, this.hasErrors ? a("div", { class: "RandomGameError" }, a("div", { class: "Title" }, d("error", this.language))) : this.isLoading ? this.renderSkeleton() : a("div", { class: "RandomGameWrapper" }, a("div", { class: "GameContainerGradient" }), a("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, n) => a("div", { class: "RandomGameCard", key: n, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, a("div", { class: "RandomGameVendor" }, e.vendor.name), a("img", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name }), this.selectedGame && this.selectedGameIndex === n && this.renderGameDetails()))), a("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, a("div", { class: "ButtonContainer" }, this.iconVisibility && a("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, a("div", { class: "QustionMark" }, "?"), a("div", { class: "HexagonMarkShadow" }), a("div", { class: "HexagonMark" })), !this.animationStarted && a("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, d("playRandomGame", this.language))))));
574
601
  }
575
602
  get host() {
576
- return w(this);
603
+ return y(this);
577
604
  }
578
605
  static get watchers() {
579
606
  return {
@@ -587,10 +614,10 @@ const G = `:host {
587
614
  };
588
615
  }
589
616
  };
590
- R.style = v;
591
- const S = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", C = S, V = class {
617
+ V.style = L;
618
+ const B = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", T = B, F = class {
592
619
  constructor(e) {
593
- h(this, e), this.stylingValue = {
620
+ p(this, e), this.stylingValue = {
594
621
  width: this.handleStylingProps(this.width),
595
622
  height: this.handleStylingProps(this.height),
596
623
  borderRadius: this.handleStylingProps(this.borderRadius),
@@ -635,22 +662,22 @@ const S = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
635
662
  }
636
663
  }
637
664
  renderLogo() {
638
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
665
+ return a("div", { class: "SkeletonContainer" }, a("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
639
666
  }
640
667
  renderImage() {
641
- return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
668
+ return a("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
642
669
  }
643
670
  renderTitle() {
644
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
671
+ return a("div", { class: "SkeletonContainer" }, a("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
645
672
  }
646
673
  renderText() {
647
- return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, n) => t("div", { key: n, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
674
+ return a("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, n) => a("div", { key: n, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
648
675
  }
649
676
  renderRectangle() {
650
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
677
+ return a("div", { class: "SkeletonContainer" }, a("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
651
678
  }
652
679
  renderCircle() {
653
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
680
+ return a("div", { class: "SkeletonContainer" }, a("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
654
681
  }
655
682
  render() {
656
683
  let e = "";
@@ -730,7 +757,7 @@ const S = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
730
757
  default:
731
758
  e = "";
732
759
  }
733
- return t(f, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
760
+ return a(b, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, a("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
734
761
  }
735
762
  static get watchers() {
736
763
  return {
@@ -738,8 +765,8 @@ const S = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
738
765
  };
739
766
  }
740
767
  };
741
- V.style = C;
768
+ F.style = T;
742
769
  export {
743
- R as casino_play_random_game,
744
- V as ui_skeleton
770
+ V as casino_play_random_game,
771
+ F as ui_skeleton
745
772
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-B_ZqJC9O.cjs"),w=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},f="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{h(a),n(!0)})}),s=(e,n)=>{const a=n;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(n=>{r[n]||(r[n]={});for(let a in e[n])r[n][a]=e[n][a]})};function m(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function d(e,n){if(!e||!n)return;const a=new URL(n);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function y(e,n,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(n,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),n}const x=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-pwqgQVLV.cjs"),y=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},b="en",d={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},c=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{p(a),n(!0)})}),h=(e,n)=>{const a=n;return d[a!==void 0&&a in d?a:b][e]},p=e=>{Object.keys(e).forEach(n=>{d[n]||(d[n]={});for(let a in e[n])d[n][a]=e[n][a]})},m="__WIDGET_GLOBAL_STYLE_CACHE__";function g(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function u(e,n){if(!e||!n)return;const a=new URL(n);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function x(e,n,a,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return a=k(e,n),a;window[m]||(window[m]={}),a=G(e,n);const r=a.unsubscribe.bind(a),s=()=>{if(window[m][n]){const l=window[m][n];l.refCount>1?l.refCount=l.refCount-1:delete window[m][n]}r()};return a.unsubscribe=s,a}function k(e,n){const a=document.createElement("style");return window.emMessageBus.subscribe(n,i=>{e&&(a.innerHTML=i,e.appendChild(a))})}function G(e,n){return window.emMessageBus.subscribe(n,a=>{var l;if(!e)return;const i=e.getRootNode(),o=window[m];let r=(l=o[n])==null?void 0:l.sheet;r?o[n].refCount=o[n].refCount+1:(r=new CSSStyleSheet,r.replaceSync(a),o[n]={sheet:r,refCount:1});const s=i.adoptedStyleSheets||[];s.includes(r)||(i.adoptedStyleSheets=[...s,r])})}function v(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),n}const R=`:host {
2
2
  display: block;
3
3
  font-family: inherit;
4
4
  -webkit-transform: translate3d(0, 0, 0);
@@ -375,7 +375,7 @@
375
375
  width: 70px;
376
376
  height: 85px;
377
377
  }
378
- }`,k=x,c=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",w()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){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();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+n)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",v=G,g=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,S=R,w=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,c(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&g(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&c(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&v(`${this.mbSource}.Translation`,this.translationSubscription,p),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?x(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&g(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",y()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){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();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+n)*this.selectedGameIndex+a/2-i/2,r=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],s={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(r,s),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},h("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},h("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},h("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},h("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};w.style=S;const C=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",L=C,f=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
379
379
  :host {
380
380
  --emw-skeleton-logo-width: ${this.stylingValue.width};
381
381
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -429,4 +429,4 @@
429
429
  :host {
430
430
  --emw-skeleton-circle-size: ${this.stylingValue.size};
431
431
  }
432
- `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
432
+ `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};f.style=L;exports.casino_play_random_game=w;exports.ui_skeleton=f;