@everymatrix/casino-page-nd 1.86.4 → 1.86.6

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 (139) hide show
  1. package/components/{CasinoCalendar-Bm4Lrrtm.js → CasinoCalendar-BELrT2lA.js} +839 -818
  2. package/components/{CasinoCalendar-ByWHfhRn.js → CasinoCalendar-BpwU4Nrb.js} +1008 -987
  3. package/components/CasinoCalendar-DrrajltR.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-n6jBlg2T.js → CasinoCalendarDailyDetails-B9Svmn08.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-BVfLOa4A.js → CasinoCalendarDailyDetails-BzANjMYK.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-BrGRzv2U.cjs → CasinoCalendarDailyDetails-lmz3Ug1c.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-qOEc-G6f.js → CasinoCalendarDailyItem-Csh2ZNEb.js} +39 -39
  8. package/components/{CasinoCalendarDailyItem-iUB7PzIf.js → CasinoCalendarDailyItem-Ddwevbwg.js} +36 -36
  9. package/components/{CasinoCalendarDailyItem-WjewL2ob.cjs → CasinoCalendarDailyItem-DmRnSMf5.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-Dx4zCq2K.js → CasinoCollectionsProviders-B-rxzUHS.js} +65 -65
  11. package/components/{CasinoCollectionsProviders-DgcP1agN.js → CasinoCollectionsProviders-Bz4Qwgcy.js} +68 -68
  12. package/components/{CasinoCollectionsProviders-CE_OqghK.cjs → CasinoCollectionsProviders-C5rH3HrT.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-VVi6dhHR.js → CasinoFavoritesSectionNd-BG6pm2Zc.js} +34 -34
  14. package/components/{CasinoFavoritesSectionNd-CBwBAifE.cjs → CasinoFavoritesSectionNd-BLXqyURj.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-BcrN5yYg.js → CasinoFavoritesSectionNd-BSBUjl98.js} +29 -29
  16. package/components/{CasinoFilter-GODsv8MA.js → CasinoFilter-BOPSPGn4.js} +236 -235
  17. package/components/CasinoFilter-BkWQ4KgW.cjs +1 -0
  18. package/components/{CasinoFilter-BPNzF2-9.js → CasinoFilter-F9z7t5pe.js} +253 -254
  19. package/components/{CasinoGameThumbnailNd-CDh3o3Px.js → CasinoGameThumbnailNd-BJOwb878.js} +85 -87
  20. package/components/{CasinoGameThumbnailNd-4EguqFH3.js → CasinoGameThumbnailNd-BhMXUEuY.js} +86 -88
  21. package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +30 -0
  22. package/components/{CasinoGamesCategorySectionNd-Bitnf3Pu.js → CasinoGamesCategorySectionNd-4Y9j2CTp.js} +195 -195
  23. package/components/{CasinoGamesCategorySectionNd-B4fdeIY9.js → CasinoGamesCategorySectionNd-CcIA7A2_.js} +148 -148
  24. package/components/{CasinoGamesCategorySectionNd-B3T9EqGO.cjs → CasinoGamesCategorySectionNd-DFjizJHZ.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner-_CDv0aAO.js → CasinoJackpotBanner-D-liS_Me.js} +58 -58
  26. package/components/{CasinoJackpotBanner-CpY0RIAN.cjs → CasinoJackpotBanner-DKGuifD8.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner-DxI1Soob.js → CasinoJackpotBanner-Djh5d5I0.js} +103 -103
  28. package/components/{CasinoLastPlayedSectionNd-ZjEf9Lub.js → CasinoLastPlayedSectionNd-B-qpM121.js} +41 -41
  29. package/components/{CasinoLastPlayedSectionNd-DILnGtUX.js → CasinoLastPlayedSectionNd-C2_p1XnX.js} +34 -34
  30. package/components/{CasinoLastPlayedSectionNd-D6WgYR0j.cjs → CasinoLastPlayedSectionNd-vCZFhZlA.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-BFsRD6rg.js → CasinoMostPlayedSectionNd-BPgmDns2.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-DCkQETsB.js → CasinoMostPlayedSectionNd-CzImrQ3h.js} +42 -42
  33. package/components/{CasinoMostPlayedSectionNd-Dcah-s5J.cjs → CasinoMostPlayedSectionNd-uB4-C_na.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-DakvkCd4.js → CasinoMyGamesNd-Bop6WAH3.js} +51 -51
  35. package/components/{CasinoMyGamesNd-Dr1esI6B.cjs → CasinoMyGamesNd-C-1cL3yu.cjs} +1 -1
  36. package/components/{CasinoMyGamesNd-DVztrMUD.js → CasinoMyGamesNd-CKRn9fvF.js} +53 -53
  37. package/components/{CasinoPageNd-CtsRxoGA.cjs → CasinoPageNd-AVCfA1IM.cjs} +1 -1
  38. package/components/{CasinoPageNd-DIDp5-by.js → CasinoPageNd-C6N29yee.js} +114 -114
  39. package/components/{CasinoPageNd-CAmff4ks.js → CasinoPageNd-DwyUEhz5.js} +114 -114
  40. package/components/{CasinoRandomGame-DupyUmXZ.js → CasinoRandomGame-BqY01xC4.js} +49 -49
  41. package/components/{CasinoRandomGame-Cx-bJyHF.cjs → CasinoRandomGame-BqszKIRI.cjs} +1 -1
  42. package/components/{CasinoRandomGame-Ya0-kjW3.js → CasinoRandomGame-OSVl6dyi.js} +58 -58
  43. package/components/{CasinoSearchNd-_IxI7aTr.js → CasinoSearchNd-Bkbd55Uy.js} +93 -93
  44. package/components/{CasinoSearchNd-CzKi_y0F.js → CasinoSearchNd-KS2rbEcX.js} +68 -68
  45. package/components/{CasinoSearchNd-DBINiuQe.cjs → CasinoSearchNd-ik5X5b1Y.cjs} +1 -1
  46. package/components/{CasinoSort-Dz1RRrMf.js → CasinoSort-ChNfSlPO.js} +108 -107
  47. package/components/{CasinoSort-Caqiz1jb.cjs → CasinoSort-D9yqS_K_.cjs} +1 -1
  48. package/components/{CasinoSort-D4-79NkE.js → CasinoSort-gHx_6Htf.js} +116 -117
  49. package/components/{CasinoWinners-S62TcwVW.js → CasinoWinners--Sn5RpG3.js} +150 -150
  50. package/components/{CasinoWinners-Dj8YtrUs.js → CasinoWinners-BXqKa3QL.js} +159 -159
  51. package/components/{CasinoWinners-DSBGPuPN.cjs → CasinoWinners-DGEdj61G.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-CtToe_XL.js → GeneralAnimationLoading-DrJIjWen.js} +10 -10
  53. package/components/{GeneralAnimationLoading-I-XkjtJ7.cjs → GeneralAnimationLoading-dlrAfGeC.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-BKRrPWfZ.js → GeneralAnimationLoading-khf0HKjf.js} +8 -8
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/{casino-calendar-BVsUqaIU.js → casino-calendar-BQ3kWu0l.js} +1 -1
  59. package/lazy/{casino-calendar-BzvJgsBA.cjs → casino-calendar-C-GiLu3p.cjs} +1 -1
  60. package/lazy/{casino-calendar-CkOgn3Ly.js → casino-calendar-W25gPujL.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-C74_KqKf.js → casino-calendar-daily-details-Bs78gyMV.js} +1 -1
  62. package/lazy/{casino-calendar-daily-details-Cp4G0xrK.js → casino-calendar-daily-details-DbdU0n9_.js} +1 -1
  63. package/lazy/{casino-calendar-daily-details-C-yZwYqm.cjs → casino-calendar-daily-details-DgAlT_Jk.cjs} +1 -1
  64. package/lazy/{casino-calendar-daily-item-COsZF3LN.js → casino-calendar-daily-item-BZGfz8IW.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-De_8-g2U.js → casino-calendar-daily-item-BzQVDuqP.js} +1 -1
  66. package/lazy/{casino-calendar-daily-item-CM76g2hB.cjs → casino-calendar-daily-item-UAvUvm5x.cjs} +1 -1
  67. package/lazy/{casino-collections-providers-_udE1nic.cjs → casino-collections-providers-DEpXDWUW.cjs} +1 -1
  68. package/lazy/{casino-collections-providers-C-oWXqvx.js → casino-collections-providers-DHPnDwqI.js} +1 -1
  69. package/lazy/{casino-collections-providers-GSAJHZfo.js → casino-collections-providers-__jGk8Bi.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-CNAQsPSR.cjs → casino-favorites-section-nd-BhI8Zirm.cjs} +1 -1
  71. package/lazy/{casino-favorites-section-nd-Wut-nWn_.js → casino-favorites-section-nd-CA-sShLT.js} +1 -1
  72. package/lazy/{casino-favorites-section-nd-Bu97BsFO.js → casino-favorites-section-nd-DgsE3inV.js} +1 -1
  73. package/lazy/{casino-filter-p8s4Ev-q.js → casino-filter-947plBW0.js} +1 -1
  74. package/lazy/{casino-filter-Cu8mCz8z.cjs → casino-filter-D_OJZ711.cjs} +1 -1
  75. package/lazy/{casino-filter-BbM4e8Z-.js → casino-filter-sujGI1Sw.js} +1 -1
  76. package/lazy/{casino-game-thumbnail-nd-Hk8Brx71.js → casino-game-thumbnail-nd-BRX8CtFL.js} +1 -1
  77. package/lazy/{casino-game-thumbnail-nd-CIBMBNg-.cjs → casino-game-thumbnail-nd-BxXa51lv.cjs} +1 -1
  78. package/lazy/{casino-game-thumbnail-nd-XQcgV7Rq.js → casino-game-thumbnail-nd-N5nWpTDy.js} +1 -1
  79. package/lazy/{casino-games-category-section-nd-6V6kudTB.cjs → casino-games-category-section-nd-BmDDmO6k.cjs} +1 -1
  80. package/lazy/{casino-games-category-section-nd-D7xpZr13.js → casino-games-category-section-nd-CbFAe4SQ.js} +1 -1
  81. package/lazy/{casino-games-category-section-nd-CS-rV9vA.js → casino-games-category-section-nd-CoFLpfgi.js} +1 -1
  82. package/lazy/{casino-jackpot-banner-CO3pGOGN.js → casino-jackpot-banner-C6PN_r6L.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-qnL_8tIe.js → casino-jackpot-banner-CUQV4cSc.js} +1 -1
  84. package/lazy/{casino-jackpot-banner-BupiG5Nh.cjs → casino-jackpot-banner-aWzFMQtT.cjs} +1 -1
  85. package/lazy/{casino-last-played-section-nd-DFjTSSJn.js → casino-last-played-section-nd-C8Muv-kQ.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Dmkrm8ZK.js → casino-last-played-section-nd-DRDk-3RU.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-CUScRJ-x.cjs → casino-last-played-section-nd-s6pPWeNP.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-Cp17yThr.cjs → casino-most-played-section-nd-B5XtMtEZ.cjs} +1 -1
  89. package/lazy/{casino-most-played-section-nd-hH18ouWZ.js → casino-most-played-section-nd-CDI47ytS.js} +1 -1
  90. package/lazy/{casino-most-played-section-nd-Ci70TBbw.js → casino-most-played-section-nd-CFFQjWF1.js} +1 -1
  91. package/lazy/{casino-my-games-nd-CzPnr9l7.cjs → casino-my-games-nd-2gWCduhh.cjs} +1 -1
  92. package/lazy/{casino-my-games-nd-DRZweCta.js → casino-my-games-nd-C38wNBeh.js} +1 -1
  93. package/lazy/{casino-my-games-nd-hvX2eLRh.js → casino-my-games-nd-DA1cUHJd.js} +1 -1
  94. package/lazy/casino-play-random-game-BgvQt_9c.js +577 -0
  95. package/lazy/casino-play-random-game-BlG2E9dd.cjs +1 -0
  96. package/lazy/casino-play-random-game-CWiaE6SD.js +561 -0
  97. package/lazy/{casino-random-game-r-wQst_d.js → casino-random-game-C8MfHXaa.js} +1 -1
  98. package/lazy/{casino-random-game-CyBJhSH7.js → casino-random-game-DFRc-OVf.js} +1 -1
  99. package/lazy/{casino-random-game-BmMXqcbM.cjs → casino-random-game-eOSEDGdT.cjs} +1 -1
  100. package/lazy/{casino-search-nd-CNAcfg2r.js → casino-search-nd-1gebmJnT.js} +1 -1
  101. package/lazy/{casino-search-nd-gg0w4vux.js → casino-search-nd-D2pb2tim.js} +1 -1
  102. package/lazy/{casino-search-nd-DKaUj1i2.cjs → casino-search-nd-D8GPyMVJ.cjs} +1 -1
  103. package/lazy/{casino-sort-Bx2aQuUK.js → casino-sort-DCo8rI3E.js} +1 -1
  104. package/lazy/{casino-sort-BKklUPDo.js → casino-sort-DHWqDjlb.js} +1 -1
  105. package/lazy/{casino-sort-CCno3ipr.cjs → casino-sort-DnvZL0xh.cjs} +1 -1
  106. package/lazy/{casino-winners-B0n34FoS.js → casino-winners-CDoQxoRf.js} +1 -1
  107. package/lazy/{casino-winners-458Tv1RX.cjs → casino-winners-DwTj0vSa.cjs} +1 -1
  108. package/lazy/{casino-winners-CE-uhZFG.js → casino-winners-qCV1DXuS.js} +1 -1
  109. package/lazy/{general-animation-loading-D6M6KKYv.js → general-animation-loading-B3lvSOkP.js} +1 -1
  110. package/lazy/{general-animation-loading-Cwhkcowg.js → general-animation-loading-BEnsNW2g.js} +1 -1
  111. package/lazy/{general-animation-loading-Dy_gOrpe.cjs → general-animation-loading-D03DfjDc.cjs} +1 -1
  112. package/lazy/ui-image-B7I7ijf1.cjs +1 -0
  113. package/lazy/ui-image-CbDOUZoh.js +558 -0
  114. package/lazy/ui-image-Cg1Yec7y.js +542 -0
  115. package/package.json +1 -1
  116. package/stencil/{casino-play-random-game-BPHg-wwI.js → casino-play-random-game-BgPgrR13.js} +2 -2
  117. package/stencil/{casino-play-random-game-wpfDaw4g.js → casino-play-random-game-BiGMkSw_.js} +2 -2
  118. package/stencil/{casino-play-random-game-BcohHg_0.cjs → casino-play-random-game-Cy_f5K43.cjs} +1 -1
  119. package/stencil/{casino-play-random-game_2-Dv6kzWTc.cjs → casino-play-random-game_2-BZDqAOHM.cjs} +2 -2
  120. package/stencil/{casino-play-random-game_2-BUw70A1i.js → casino-play-random-game_2-D-e9crBu.js} +2 -2
  121. package/stencil/{casino-play-random-game_2-bikyjIaX.js → casino-play-random-game_2-NeDOlhPe.js} +2 -2
  122. package/stencil/{ui-image-CSuy5bpN.js → ui-image-CeUOY7QN.js} +1 -1
  123. package/stencil/{ui-image-CQWGNNGc.cjs → ui-image-D9jjPnnA.cjs} +1 -1
  124. package/stencil/{ui-image-Zbm_3sxB.js → ui-image-Da7NRAu7.js} +1 -1
  125. package/stencil/{ui-image-b7b48fe5-CywcOOGm.cjs → ui-image-b7b48fe5-BdId4SMU.cjs} +1 -1
  126. package/stencil/{ui-image-b7b48fe5-Fgk1PZOw.js → ui-image-b7b48fe5-CMO5mvIM.js} +1 -1
  127. package/stencil/{ui-image-b7b48fe5-Ky03rONE.js → ui-image-b7b48fe5-ClSc4k9k.js} +1 -1
  128. package/stencil/{ui-image_2-CeB6oMH1.js → ui-image_2-Be-VuTP3.js} +2 -2
  129. package/stencil/{ui-image_2-C8RZBimL.cjs → ui-image_2-CgvJomOn.cjs} +1 -1
  130. package/stencil/{ui-image_2-CRHieNTj.js → ui-image_2-FUyfOVWg.js} +2 -2
  131. package/components/CasinoCalendar-QdrtgbVd.cjs +0 -19
  132. package/components/CasinoFilter-DS84IIIS.cjs +0 -1
  133. package/components/CasinoGameThumbnailNd--Aw1dM5B.cjs +0 -30
  134. package/lazy/casino-play-random-game-B946wSUG.cjs +0 -1
  135. package/lazy/casino-play-random-game-B9d_FNr8.js +0 -577
  136. package/lazy/casino-play-random-game-DZRO0wGO.js +0 -561
  137. package/lazy/ui-image-BF1pPO3W.cjs +0 -1
  138. package/lazy/ui-image-BccypVCC.js +0 -542
  139. package/lazy/ui-image-DKuCd_RQ.js +0 -558
@@ -0,0 +1,542 @@
1
+ const fe = "ui-image", ue = (
2
+ /* ui-image */
3
+ { hydratedSelectorName: "hydrated" }
4
+ );
5
+ var de = Object.defineProperty, ve = (e, t) => {
6
+ for (var n in t)
7
+ de(e, n, { get: t[n], enumerable: !0 });
8
+ }, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), Ve = (e, t) => B.set(t.$lazyInstance$ = e, t), ge = (e, t) => {
9
+ const n = {
10
+ $flags$: 0,
11
+ $hostElement$: e,
12
+ $cmpMeta$: t,
13
+ $instanceValues$: /* @__PURE__ */ new Map()
14
+ };
15
+ return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
16
+ }, F = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), pe = (e, t, n) => {
17
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
+ if (!r)
19
+ return;
20
+ const a = O.get(r);
21
+ if (a)
22
+ return a[s];
23
+ {
24
+ const l = ($) => (O.set(r, $), $[s]);
25
+ switch (r) {
26
+ case "ui-image_2":
27
+ return import(
28
+ /* webpackMode: "lazy" */
29
+ "../stencil/ui-image_2-Be-VuTP3.js"
30
+ ).then(l, k);
31
+ }
32
+ }
33
+ return import(
34
+ /* @vite-ignore */
35
+ /* webpackInclude: /\.entry\.js$/ */
36
+ /* webpackExclude: /\.system\.entry\.js$/ */
37
+ /* webpackMode: "lazy" */
38
+ `./${r}.entry.js`
39
+ ).then((l) => (O.set(r, l), l[s]), k);
40
+ }, _ = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", L = typeof window < "u" ? window : {}, m = L.document || { head: {} }, p = {
41
+ $flags$: 0,
42
+ $resourcesUrl$: "",
43
+ jmp: (e) => e(),
44
+ raf: (e) => requestAnimationFrame(e),
45
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
46
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
47
+ ce: (e, t) => new CustomEvent(e, t)
48
+ }, ye = (e) => Promise.resolve(e), me = /* @__PURE__ */ (() => {
49
+ try {
50
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
+ } catch {
52
+ }
53
+ return !1;
54
+ })(), w = !1, D = [], Q = [], Se = (e, t) => (n) => {
55
+ e.push(n), w || (w = !0, p.$flags$ & 4 ? z(I) : p.raf(I));
56
+ }, W = (e) => {
57
+ for (let t = 0; t < e.length; t++)
58
+ try {
59
+ e[t](performance.now());
60
+ } catch (n) {
61
+ k(n);
62
+ }
63
+ e.length = 0;
64
+ }, I = () => {
65
+ W(D), W(Q), (w = D.length > 0) && p.raf(I);
66
+ }, z = (e) => ye().then(e), Ee = /* @__PURE__ */ Se(Q), M = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
67
+ function Z(e) {
68
+ var t, n, s;
69
+ return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
70
+ }
71
+ var ke = {};
72
+ ve(ke, {
73
+ err: () => R,
74
+ map: () => be,
75
+ ok: () => U,
76
+ unwrap: () => xe,
77
+ unwrapErr: () => Pe
78
+ });
79
+ var U = (e) => ({
80
+ isOk: !0,
81
+ isErr: !1,
82
+ value: e
83
+ }), R = (e) => ({
84
+ isOk: !1,
85
+ isErr: !0,
86
+ value: e
87
+ });
88
+ function be(e, t) {
89
+ if (e.isOk) {
90
+ const n = t(e.value);
91
+ return n instanceof Promise ? n.then((s) => U(s)) : U(n);
92
+ }
93
+ if (e.isErr) {
94
+ const n = e.value;
95
+ return R(n);
96
+ }
97
+ throw "should never get here";
98
+ }
99
+ var xe = (e) => {
100
+ if (e.isOk)
101
+ return e.value;
102
+ throw e.value;
103
+ }, Pe = (e) => {
104
+ if (e.isErr)
105
+ return e.value;
106
+ throw e.value;
107
+ }, S = (e, t = "") => () => {
108
+ }, Te = (e, t) => () => {
109
+ }, _e = (e, t, ...n) => {
110
+ let s = null, r = null, a = !1, l = !1;
111
+ const $ = [], i = (c) => {
112
+ for (let f = 0; f < c.length; f++)
113
+ s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !C(s)) && (s = String(s)), a && l ? $[$.length - 1].$text$ += s : $.push(a ? H(null, s) : s), l = a);
114
+ };
115
+ if (i(n), t) {
116
+ t.key && (r = t.key);
117
+ {
118
+ const c = t.className || t.class;
119
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
120
+ }
121
+ }
122
+ const o = H(e, null);
123
+ return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = r, o;
124
+ }, H = (e, t) => {
125
+ const n = {
126
+ $flags$: 0,
127
+ $tag$: e,
128
+ $text$: t,
129
+ $elm$: null,
130
+ $children$: null
131
+ };
132
+ return n.$attrs$ = null, n.$key$ = null, n;
133
+ }, Ae = {}, Le = (e) => e && e.$tag$ === Ae, je = (e, t) => e != null && !C(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => E(e).$hostElement$, Oe = (e, t, n) => {
134
+ const s = p.ce(t, n);
135
+ return e.dispatchEvent(s), s;
136
+ }, G = /* @__PURE__ */ new WeakMap(), we = (e, t, n) => {
137
+ let s = _.get(e);
138
+ me && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
139
+ }, Ie = (e, t, n) => {
140
+ var s;
141
+ const r = N(t), a = _.get(r);
142
+ if (e = e.nodeType === 11 ? e : m, a)
143
+ if (typeof a == "string") {
144
+ e = e.head || e;
145
+ let l = G.get(e), $;
146
+ if (l || G.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
147
+ {
148
+ $ = m.createElement("style"), $.innerHTML = a;
149
+ const i = (s = p.$nonce$) != null ? s : Z(m);
150
+ i != null && $.setAttribute("nonce", i), e.insertBefore($, e.querySelector("link"));
151
+ }
152
+ t.$flags$ & 4 && ($.innerHTML += K), l && l.add(r);
153
+ }
154
+ } else
155
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
+ return r;
157
+ }, Ue = (e) => {
158
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
159
+ Ie(
160
+ n.getRootNode(),
161
+ t
162
+ ), s();
163
+ }, N = (e, t) => "sc-" + e.$tagName$, X = (e, t, n, s, r, a) => {
164
+ if (n !== s) {
165
+ let l = F(e, t), $ = t.toLowerCase();
166
+ if (t === "class") {
167
+ const i = e.classList, o = Y(n), c = Y(s);
168
+ i.remove(...o.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !o.includes(f)));
169
+ } else if (t === "style") {
170
+ for (const i in n)
171
+ (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
172
+ for (const i in s)
173
+ (!n || s[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
174
+ } else if (t !== "key")
175
+ if (t === "ref")
176
+ s && s(e);
177
+ else if (!l && t[0] === "o" && t[1] === "n") {
178
+ if (t[2] === "-" ? t = t.slice(3) : F(L, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
179
+ const i = t.endsWith(V);
180
+ t = t.replace(Be, ""), n && p.rel(e, t, n, i), s && p.ael(e, t, s, i);
181
+ }
182
+ } else {
183
+ const i = C(s);
184
+ if ((l || i && s !== null) && !r)
185
+ try {
186
+ if (e.tagName.includes("-"))
187
+ e[t] = s;
188
+ else {
189
+ const o = s ?? "";
190
+ t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
191
+ }
192
+ } catch {
193
+ }
194
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
195
+ }
196
+ }
197
+ }, He = /\s/, Y = (e) => e ? e.split(He) : [], V = "Capture", Be = new RegExp(V + "$"), ee = (e, t, n) => {
198
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || M, a = t.$attrs$ || M;
199
+ for (const l of J(Object.keys(r)))
200
+ l in a || X(s, l, r[l], void 0, n, t.$flags$);
201
+ for (const l of J(Object.keys(a)))
202
+ X(s, l, r[l], a[l], n, t.$flags$);
203
+ };
204
+ function J(e) {
205
+ return e.includes("ref") ? (
206
+ // we need to sort these to ensure that `'ref'` is the last attr
207
+ [...e.filter((t) => t !== "ref"), "ref"]
208
+ ) : (
209
+ // no need to sort, return the original array
210
+ e
211
+ );
212
+ }
213
+ var te, se = !1, A = (e, t, n, s) => {
214
+ const r = t.$children$[n];
215
+ let a = 0, l, $;
216
+ if (r.$text$ !== null)
217
+ l = r.$elm$ = m.createTextNode(r.$text$);
218
+ else if (l = r.$elm$ = m.createElement(
219
+ r.$tag$
220
+ ), ee(null, r, se), r.$children$)
221
+ for (a = 0; a < r.$children$.length; ++a)
222
+ $ = A(e, r, a), $ && l.appendChild($);
223
+ return l["s-hn"] = te, l;
224
+ }, ne = (e, t, n, s, r, a) => {
225
+ let l = e, $;
226
+ for (; r <= a; ++r)
227
+ s[r] && ($ = A(null, n, r), $ && (s[r].$elm$ = $, T(l, $, t)));
228
+ }, re = (e, t, n) => {
229
+ for (let s = t; s <= n; ++s) {
230
+ const r = e[s];
231
+ if (r) {
232
+ const a = r.$elm$;
233
+ le(r), a && a.remove();
234
+ }
235
+ }
236
+ }, ze = (e, t, n, s, r = !1) => {
237
+ let a = 0, l = 0, $ = 0, i = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, h;
238
+ for (; a <= o && l <= u; )
239
+ if (c == null)
240
+ c = t[++a];
241
+ else if (f == null)
242
+ f = t[--o];
243
+ else if (d == null)
244
+ d = s[++l];
245
+ else if (v == null)
246
+ v = s[--u];
247
+ else if (P(c, d, r))
248
+ b(c, d, r), c = t[++a], d = s[++l];
249
+ else if (P(f, v, r))
250
+ b(f, v, r), f = t[--o], v = s[--u];
251
+ else if (P(c, v, r))
252
+ b(c, v, r), T(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
253
+ else if (P(f, d, r))
254
+ b(f, d, r), T(e, f.$elm$, c.$elm$), f = t[--o], d = s[++l];
255
+ else {
256
+ for ($ = -1, i = a; i <= o; ++i)
257
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
258
+ $ = i;
259
+ break;
260
+ }
261
+ $ >= 0 ? (h = t[$], h.$tag$ !== d.$tag$ ? g = A(t && t[l], n, $) : (b(h, d, r), t[$] = void 0, g = h.$elm$), d = s[++l]) : (g = A(t && t[l], n, l), d = s[++l]), g && T(c.$elm$.parentNode, g, c.$elm$);
262
+ }
263
+ a > o ? ne(
264
+ e,
265
+ s[u + 1] == null ? null : s[u + 1].$elm$,
266
+ n,
267
+ s,
268
+ l,
269
+ u
270
+ ) : l > u && re(t, a, o);
271
+ }, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
272
+ const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
273
+ l === null ? (ee(e, t, se), r !== null && a !== null ? ze(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
274
+ }, le = (e) => {
275
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
276
+ }, T = (e, t, n) => e?.insertBefore(t, n), Ce = (e, t, n = !1) => {
277
+ const s = e.$hostElement$, r = e.$vnode$ || H(null, null), a = Le(t) ? t : _e(null, null, t);
278
+ if (te = s.tagName, n && a.$attrs$)
279
+ for (const l of Object.keys(a.$attrs$))
280
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
281
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, b(r, a, n);
282
+ }, ae = (e, t) => {
283
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
284
+ }, q = (e, t) => {
285
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
286
+ e.$flags$ |= 512;
287
+ return;
288
+ }
289
+ return ae(e, e.$ancestorComponent$), Ee(() => qe(e, t));
290
+ }, qe = (e, t) => {
291
+ const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
292
+ if (!r)
293
+ throw new Error(
294
+ `Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
295
+ );
296
+ let a;
297
+ return s(), Fe(a, () => We(e, r, t));
298
+ }, Fe = (e, t) => De(e) ? e.then(t).catch((n) => {
299
+ console.error(n), t();
300
+ }) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = async (e, t, n) => {
301
+ var s;
302
+ const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
303
+ n && Ue(e);
304
+ const $ = S("render", e.$cmpMeta$.$tagName$);
305
+ Me(e, t, r, n), l && (l.map((i) => i()), r["s-rc"] = void 0), $(), a();
306
+ {
307
+ const i = (s = r["s-p"]) != null ? s : [], o = () => Ge(e);
308
+ i.length === 0 ? o() : (Promise.all(i).then(o), e.$flags$ |= 4, i.length = 0);
309
+ }
310
+ }, Me = (e, t, n, s) => {
311
+ try {
312
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, s);
313
+ } catch (r) {
314
+ k(r, e.$hostElement$);
315
+ }
316
+ return null;
317
+ }, Ge = (e) => {
318
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
319
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, $e(n), Xe(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
320
+ }, ie = (e) => {
321
+ $e(m.documentElement), z(() => Oe(L, "appload", { detail: { namespace: fe } }));
322
+ }, Xe = (e, t, n) => {
323
+ if (e && e[t])
324
+ try {
325
+ return e[t](n);
326
+ } catch (s) {
327
+ k(s);
328
+ }
329
+ }, $e = (e) => {
330
+ var t;
331
+ return e.classList.add((t = ue.hydratedSelectorName) != null ? t : "hydrated");
332
+ }, Ye = (e, t) => E(e).$instanceValues$.get(t), Je = (e, t, n, s) => {
333
+ const r = E(e);
334
+ if (!r)
335
+ throw new Error(
336
+ `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
337
+ );
338
+ const a = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, i = r.$lazyInstance$;
339
+ n = je(n, s.$members$[t][0]);
340
+ const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
341
+ if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), i)) {
342
+ if (s.$watchers$ && $ & 128) {
343
+ const f = s.$watchers$[t];
344
+ f && f.map((u) => {
345
+ try {
346
+ i[u](n, l, t);
347
+ } catch (d) {
348
+ k(d, a);
349
+ }
350
+ });
351
+ }
352
+ ($ & 18) === 2 && q(r, !1);
353
+ }
354
+ }, oe = (e, t, n) => {
355
+ var s, r;
356
+ const a = e.prototype;
357
+ if (t.$members$ || t.$watchers$ || e.watchers) {
358
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
359
+ const l = Object.entries((s = t.$members$) != null ? s : {});
360
+ if (l.map(([$, [i]]) => {
361
+ (i & 31 || n & 2 && i & 32) && Object.defineProperty(a, $, {
362
+ get() {
363
+ return Ye(this, $);
364
+ },
365
+ set(o) {
366
+ Je(this, $, o, t);
367
+ },
368
+ configurable: !0,
369
+ enumerable: !0
370
+ });
371
+ }), n & 1) {
372
+ const $ = /* @__PURE__ */ new Map();
373
+ a.attributeChangedCallback = function(i, o, c) {
374
+ p.jmp(() => {
375
+ var f;
376
+ const u = $.get(i);
377
+ if (this.hasOwnProperty(u))
378
+ c = this[u], delete this[u];
379
+ else {
380
+ if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
381
+ return;
382
+ if (u == null) {
383
+ const d = E(this), v = d?.$flags$;
384
+ if (v && !(v & 8) && v & 128 && c !== o) {
385
+ const g = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[i];
386
+ h?.forEach((y) => {
387
+ g[y] != null && g[y].call(g, c, o, i);
388
+ });
389
+ }
390
+ return;
391
+ }
392
+ }
393
+ this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
394
+ });
395
+ }, e.observedAttributes = Array.from(
396
+ /* @__PURE__ */ new Set([
397
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
398
+ ...l.filter(
399
+ ([i, o]) => o[0] & 15
400
+ /* HasAttribute */
401
+ ).map(([i, o]) => {
402
+ const c = o[1] || i;
403
+ return $.set(c, i), c;
404
+ })
405
+ ])
406
+ );
407
+ }
408
+ }
409
+ return e;
410
+ }, Ke = async (e, t, n, s) => {
411
+ let r;
412
+ if (!(t.$flags$ & 32)) {
413
+ if (t.$flags$ |= 32, n.$lazyBundleId$) {
414
+ const i = pe(n);
415
+ if (i && "then" in i) {
416
+ const c = Te();
417
+ r = await i, c();
418
+ } else
419
+ r = i;
420
+ if (!r)
421
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
422
+ r.isProxied || (n.$watchers$ = r.watchers, oe(
423
+ r,
424
+ n,
425
+ 2
426
+ /* proxyState */
427
+ ), r.isProxied = !0);
428
+ const o = S("createInstance", n.$tagName$);
429
+ t.$flags$ |= 8;
430
+ try {
431
+ new r(t);
432
+ } catch (c) {
433
+ k(c);
434
+ }
435
+ t.$flags$ &= -9, t.$flags$ |= 128, o();
436
+ } else {
437
+ r = e.constructor;
438
+ const i = e.localName;
439
+ customElements.whenDefined(i).then(
440
+ () => t.$flags$ |= 128
441
+ /* isWatchReady */
442
+ );
443
+ }
444
+ if (r && r.style) {
445
+ let i;
446
+ typeof r.style == "string" && (i = r.style);
447
+ const o = N(n);
448
+ if (!_.has(o)) {
449
+ const c = S("registerStyles", n.$tagName$);
450
+ we(o, i, !!(n.$flags$ & 1)), c();
451
+ }
452
+ }
453
+ }
454
+ const a = t.$ancestorComponent$, l = () => q(t, !0);
455
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
456
+ }, Qe = (e) => {
457
+ }, Ze = (e) => {
458
+ if (!(p.$flags$ & 1)) {
459
+ const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
460
+ if (t.$flags$ & 1)
461
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
462
+ else {
463
+ t.$flags$ |= 1;
464
+ {
465
+ let r = e;
466
+ for (; r = r.parentNode || r.host; )
467
+ if (r["s-p"]) {
468
+ ae(t, t.$ancestorComponent$ = r);
469
+ break;
470
+ }
471
+ }
472
+ n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
473
+ if (a & 31 && e.hasOwnProperty(r)) {
474
+ const l = e[r];
475
+ delete e[r], e[r] = l;
476
+ }
477
+ }), Ke(e, t, n);
478
+ }
479
+ s();
480
+ }
481
+ }, Re = (e) => {
482
+ }, Ne = async (e) => {
483
+ if (!(p.$flags$ & 1)) {
484
+ const t = E(e);
485
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
486
+ }
487
+ }, tt = (e, t = {}) => {
488
+ var n;
489
+ const s = S(), r = [], a = t.exclude || [], l = L.customElements, $ = m.head, i = /* @__PURE__ */ $.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
490
+ let f, u = !0;
491
+ Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
492
+ let d = !1;
493
+ if (e.map((v) => {
494
+ v[1].map((g) => {
495
+ var h;
496
+ const y = {
497
+ $flags$: g[0],
498
+ $tagName$: g[1],
499
+ $members$: g[2],
500
+ $listeners$: g[3]
501
+ };
502
+ y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (h = g[4]) != null ? h : {};
503
+ const x = y.$tagName$, ce = class extends HTMLElement {
504
+ // StencilLazyHost
505
+ constructor(j) {
506
+ super(j), this.hasRegisteredEventListeners = !1, j = this, ge(j, y);
507
+ }
508
+ connectedCallback() {
509
+ E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => Ze(this));
510
+ }
511
+ disconnectedCallback() {
512
+ p.jmp(() => Ne(this));
513
+ }
514
+ componentOnReady() {
515
+ return E(this).$onReadyPromise$;
516
+ }
517
+ };
518
+ y.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
519
+ x,
520
+ oe(
521
+ ce,
522
+ y,
523
+ 1
524
+ /* isElementConstructor */
525
+ )
526
+ ));
527
+ });
528
+ }), r.length > 0 && (d && (o.textContent += K), o.textContent += r.sort() + he, o.innerHTML.length)) {
529
+ o.setAttribute("data-styles", "");
530
+ const v = (n = p.$nonce$) != null ? n : Z(m);
531
+ v != null && o.setAttribute("nonce", v), $.insertBefore(o, i ? i.nextSibling : $.firstChild);
532
+ }
533
+ u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ie, 30)), s();
534
+ };
535
+ export {
536
+ Ae as H,
537
+ tt as b,
538
+ et as g,
539
+ _e as h,
540
+ ye as p,
541
+ Ve as r
542
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page-nd",
3
- "version": "1.86.4",
3
+ "version": "1.86.6",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page-nd.cjs",
6
6
  "module": "esnext/casino-page-nd.js",
@@ -14,8 +14,8 @@ var l = (i, a, t) => new Promise((s, o) => {
14
14
  }, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
15
15
  e((t = t.apply(i, a)).next());
16
16
  });
17
- import { b as m, p as u } from "../lazy/casino-play-random-game-B9d_FNr8.js";
18
- import { s as f } from "../lazy/casino-play-random-game-B9d_FNr8.js";
17
+ import { b as m, p as u } from "../lazy/casino-play-random-game-BgvQt_9c.js";
18
+ import { s as f } from "../lazy/casino-play-random-game-BgvQt_9c.js";
19
19
  import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
20
20
  var h = () => {
21
21
  const i = import.meta.url, a = {};
@@ -1,5 +1,5 @@
1
- import { b as a, p as t } from "../lazy/casino-play-random-game-DZRO0wGO.js";
2
- import { s as g } from "../lazy/casino-play-random-game-DZRO0wGO.js";
1
+ import { b as a, p as t } from "../lazy/casino-play-random-game-CWiaE6SD.js";
2
+ import { s as g } from "../lazy/casino-play-random-game-CWiaE6SD.js";
3
3
  import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
4
4
  var r = () => {
5
5
  const n = import.meta.url, i = {};
@@ -1 +1 @@
1
- "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-B946wSUG.cjs"),d=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,p=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-BcohHg_0.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[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"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
1
+ "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-BlG2E9dd.cjs"),d=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,p=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-Cy_f5K43.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[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"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-B946wSUG.cjs"),p=()=>{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"},w="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(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{r[a]||(r[a]={});for(let o in i[a])r[a][o]=i[a][o]}),t(!0)})}),s=(e,t)=>{const i=t;return r[i!==void 0&&i in r?i:w][e]};function m(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function d(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const o=document.createElement("style");o.innerHTML=a,e&&e.appendChild(o)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function f(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,o=>{a.innerHTML=o,e&&e.appendChild(a)})}}const y=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-BlG2E9dd.cjs"),p=()=>{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"},w="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(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{r[a]||(r[a]={});for(let o in i[a])r[a][o]=i[a][o]}),t(!0)})}),s=(e,t)=>{const i=t;return r[i!==void 0&&i in r?i:w][e]};function m(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function d(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const o=document.createElement("style");o.innerHTML=a,e&&e.appendChild(o)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function f(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,o=>{a.innerHTML=o,e&&e.appendChild(a)})}}const y=`: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
- }`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},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,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(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()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),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((t,i)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}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"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),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 n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;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)}}",k=b,c=class{constructor(e){n.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,t){t!==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 n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},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,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(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()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),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((t,i)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}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"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),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 n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;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)}}",k=b,c=class{constructor(e){n.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,t){t!==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 n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.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};