@everymatrix/casino-lobby 1.76.14 → 1.77.1

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 (110) hide show
  1. package/components/{CasinoCalendar-BZlbzIin.js → CasinoCalendar-Dxl0GZ3V.js} +1035 -1014
  2. package/components/CasinoCalendar-l9GnvvJt.cjs +19 -0
  3. package/components/{CasinoCalendar-CZ62CEJ3.js → CasinoCalendar-uF_NF6m7.js} +860 -839
  4. package/components/{CasinoCalendarDailyDetails-DJyHVqld.cjs → CasinoCalendarDailyDetails-5fca8ybY.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-DOG0EpeI.js → CasinoCalendarDailyDetails-CkFGHBr1.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-BRGaLc7D.js → CasinoCalendarDailyDetails-D2EcpVsk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-CJYNZGM1.js → CasinoCalendarDailyItem-BjMHq8z0.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-BEPClsAB.js → CasinoCalendarDailyItem-CJ4Y1TDs.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BMfgPOSR.cjs → CasinoCalendarDailyItem-CtrwuSMm.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-CsJ_SF6Z.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-Bhi0fD1k.js → CasinoCategoriesSlider-D4K2b7AX.js} +72 -72
  12. package/components/{CasinoCategoriesSlider-DmZ4rtlg.js → CasinoCategoriesSlider-Dw9WFkz4.js} +73 -73
  13. package/components/{CasinoCollectionsProviders-DV_3RnLx.js → CasinoCollectionsProviders-BN0zNeS7.js} +64 -64
  14. package/components/{CasinoCollectionsProviders-GzxnaRrd.cjs → CasinoCollectionsProviders-C3QOX3KF.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-CjD1H3N4.js → CasinoCollectionsProviders-DjFfFkmU.js} +77 -77
  16. package/components/{CasinoFavoritesSection-BElzuDwz.cjs → CasinoFavoritesSection-C_SVbyBn.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-DDJYibde.js → CasinoFavoritesSection-DFYpAORF.js} +18 -18
  18. package/components/{CasinoFavoritesSection-4mBWb0-n.js → CasinoFavoritesSection-DjSYlAHs.js} +18 -18
  19. package/components/CasinoFilter-B7H2bJ-G.cjs +1 -0
  20. package/components/{CasinoFilter-CQFSugx3.js → CasinoFilter-Bgc2OX7A.js} +244 -245
  21. package/components/{CasinoFilter-C2w5IDsC.js → CasinoFilter-D0wftMel.js} +225 -224
  22. package/components/CasinoGameThumbnail-BCV2_lP-.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-BkCWJCGK.js → CasinoGameThumbnail-DAeRoqVl.js} +1253 -1269
  24. package/components/{CasinoGameThumbnail-BPsK9FK6.js → CasinoGameThumbnail-DDj9LrBn.js} +778 -762
  25. package/components/{CasinoGamesCategorySection-D7gSnBvl.js → CasinoGamesCategorySection-BZ4VTmC0.js} +301 -301
  26. package/components/{CasinoGamesCategorySection-COgOuQ6S.js → CasinoGamesCategorySection-CxjrZ9Mg.js} +300 -300
  27. package/components/{CasinoGamesCategorySection-uIPANdh1.cjs → CasinoGamesCategorySection-D9w4jWch.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-Cge3PP3w.js → CasinoJackpotBanner-TsNpk7MF.js} +83 -83
  29. package/components/{CasinoJackpotBanner-C7zgGg5_.js → CasinoJackpotBanner-VCXNOk6T.js} +88 -88
  30. package/components/{CasinoJackpotBanner-BaH4sE4J.cjs → CasinoJackpotBanner-yvjEOEuA.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection--ZH8kFO7.js → CasinoLastPlayedSection-BlnAstfd.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-DPZgK1Rw.js → CasinoLastPlayedSection-CReBS3dw.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-D1i9Uh1L.cjs → CasinoLastPlayedSection-CqanYCAJ.cjs} +1 -1
  34. package/components/{CasinoLobby-Cld3efkW.cjs → CasinoLobby-Cn2Otkkj.cjs} +1 -1
  35. package/components/{CasinoLobby-DAIJPyhU.js → CasinoLobby-DXkNhPwn.js} +59 -59
  36. package/components/{CasinoLobby-FylWUKW8.js → CasinoLobby-i6iK4grU.js} +59 -59
  37. package/components/{CasinoMostPlayedSection-D3gP_VmS.js → CasinoMostPlayedSection-B07bcZSb.js} +46 -46
  38. package/components/{CasinoMostPlayedSection-DwsGi9fQ.js → CasinoMostPlayedSection-C__zgZB_.js} +46 -46
  39. package/components/{CasinoMostPlayedSection-BlFmw7ae.cjs → CasinoMostPlayedSection-gUjt91qe.cjs} +1 -1
  40. package/components/{CasinoMyGames-BQRS1iPf.js → CasinoMyGames-BjpVKSGM.js} +28 -28
  41. package/components/{CasinoMyGames-Ct_tK7Dl.cjs → CasinoMyGames-BrR9nn1l.cjs} +1 -1
  42. package/components/{CasinoMyGames--eHlRDLw.js → CasinoMyGames-jJWJoluY.js} +28 -28
  43. package/components/{CasinoPage-y4mwVBLI.cjs → CasinoPage-CpQErNFc.cjs} +1 -1
  44. package/components/{CasinoPage-Cimk4LJj.js → CasinoPage-DbA-NMXP.js} +124 -124
  45. package/components/{CasinoPage-DzY_luPG.js → CasinoPage-yGjlByzR.js} +110 -110
  46. package/components/{CasinoRandomGame-DGh3E5ZN.js → CasinoRandomGame-BWebIH8V.js} +56 -56
  47. package/components/{CasinoRandomGame-BqJ8e7yR.js → CasinoRandomGame-CSrB_Zq2.js} +57 -57
  48. package/components/{CasinoRandomGame-48hm2zQ7.cjs → CasinoRandomGame-DJnB5Fhm.cjs} +1 -1
  49. package/components/{CasinoSearch-Bjt2LYdz.js → CasinoSearch-CcHIKzRN.js} +98 -98
  50. package/components/{CasinoSearch-CyA3ODoz.js → CasinoSearch-CwADZYFB.js} +95 -95
  51. package/components/{CasinoSearch-Dztg2BnM.cjs → CasinoSearch-DcUqk5L0.cjs} +1 -1
  52. package/components/{CasinoSlider-DwtTNiYj.js → CasinoSlider-CJpeC5z_.js} +87 -87
  53. package/components/{CasinoSlider-BlA6YGt9.cjs → CasinoSlider-Ctpht2Hg.cjs} +1 -1
  54. package/components/{CasinoSlider-DVgo3Nc7.js → CasinoSlider-D40zgViI.js} +86 -86
  55. package/components/{CasinoSort-BR8fSbAb.js → CasinoSort-CMZayycI.js} +103 -102
  56. package/components/{CasinoSort-8a3TBNjG.js → CasinoSort-CydlqJP8.js} +111 -112
  57. package/components/{CasinoSort-BctECC7t.cjs → CasinoSort-DjCxKlZJ.cjs} +1 -1
  58. package/components/{CasinoWinners-CGG37Toh.js → CasinoWinners-B-qcd_Bf.js} +152 -152
  59. package/components/{CasinoWinners-B7DAQBQw.cjs → CasinoWinners-Cqmnci0O.cjs} +1 -1
  60. package/components/{CasinoWinners-Z2hNzLpn.js → CasinoWinners-DcqEgS6B.js} +145 -145
  61. package/components/{GeneralAnimationLoading-C96Qoq2Z.js → GeneralAnimationLoading-C8aWcUd_.js} +16 -16
  62. package/components/{GeneralAnimationLoading-C_p3gPuh.cjs → GeneralAnimationLoading-Cjhmg9V_.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-DKWROEgu.js → GeneralAnimationLoading-Oqx65Onk.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-CYUXdZj7.js → casino-play-random-game-3OLT0AIG.js} +1 -1
  69. package/stencil/{casino-play-random-game-ywb1c71b.js → casino-play-random-game-BnjMAnCB.js} +1 -1
  70. package/stencil/{casino-play-random-game-BBAN6qZv.cjs → casino-play-random-game-CHpLVsre.cjs} +1 -1
  71. package/stencil/{casino-play-random-game_3-DPJnqamY.js → casino-play-random-game_3-5Bmo5OfX.js} +2 -2
  72. package/stencil/{casino-play-random-game_3-BAcddQtP.cjs → casino-play-random-game_3-BPrURzZF.cjs} +2 -2
  73. package/stencil/{casino-play-random-game_3-wK2KnqF2.js → casino-play-random-game_3-DbmTGjC1.js} +2 -2
  74. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  75. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  76. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  77. package/stencil/index-27b314b8-B6-HIs2Q.cjs +1 -0
  78. package/stencil/index-27b314b8-DWbdQG1d.js +565 -0
  79. package/stencil/index-27b314b8-rkjLfQe1.js +581 -0
  80. package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
  81. package/stencil/index-b2193545-Dxw-xjac.js +503 -0
  82. package/stencil/index-b2193545-TbRClz6K.js +519 -0
  83. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BHGIWJop.cjs} +1 -1
  84. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-D0rXudCW.js} +1 -1
  85. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-DCLQ0SIO.js} +1 -1
  86. package/stencil/{ui-image-f_pO_wKA.js → ui-image-CVrTqLhl.js} +1 -1
  87. package/stencil/{ui-image-BW6fTlRA.cjs → ui-image-Cd2KxMB7.cjs} +1 -1
  88. package/stencil/{ui-image-CkpZfL9y.js → ui-image-adPxpjgH.js} +1 -1
  89. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-B21W_djK.js} +2 -2
  90. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  91. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-VgK3B8gQ.js} +2 -2
  92. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CSMUbPcJ.js} +2 -2
  93. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-CiszU04_.js} +2 -2
  94. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
  95. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
  96. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
  97. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
  98. package/components/CasinoCalendar-Ckv0A9rH.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-C96NA08s.cjs +0 -1
  100. package/components/CasinoFilter-Di50Udn3.cjs +0 -1
  101. package/components/CasinoGameThumbnail-CjDBp8Vy.cjs +0 -47
  102. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  103. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  104. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  105. package/stencil/index-27b314b8-B9Z1iOB7.cjs +0 -1
  106. package/stencil/index-27b314b8-CXVYGv5J.js +0 -581
  107. package/stencil/index-27b314b8-VBAz23AH.js +0 -565
  108. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
  109. package/stencil/index-b2193545-D_cUvAA-.js +0 -519
  110. package/stencil/index-b2193545-kN0z2MLt.js +0 -503
@@ -1,30 +1,30 @@
1
- import { S as u, i as f, f as c, c as m, s as g, b as y, e as h, d as p, G as d, j as b, o as v, l as x, m as _, q as S, r as k } from "./CasinoCalendar-BZlbzIin.js";
2
- function C(t) {
3
- y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1
+ import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, H as x, I as _, J as S, K as C } from "./CasinoCalendar-Dxl0GZ3V.js";
2
+ function k(t) {
3
+ g(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
5
5
  function L(t) {
6
6
  let i;
7
7
  return {
8
8
  c() {
9
- i = h("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
9
+ i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
10
  },
11
11
  m(n, l) {
12
- p(n, i, l), t[4](i);
12
+ h(n, i, l), t[4](i);
13
13
  },
14
14
  p: d,
15
15
  i: d,
16
16
  o: d,
17
17
  d(n) {
18
- n && b(i), t[4](null);
18
+ n && y(i), t[4](null);
19
19
  }
20
20
  };
21
21
  }
22
22
  function j(t, i, n) {
23
23
  let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
24
- v(() => () => {
24
+ b(() => () => {
25
25
  });
26
26
  function o(e) {
27
- S[e ? "unshift" : "push"](() => {
27
+ v[e ? "unshift" : "push"](() => {
28
28
  s = e, n(0, s);
29
29
  });
30
30
  }
@@ -32,9 +32,9 @@ function j(t, i, n) {
32
32
  "clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
33
33
  }, t.$$.update = () => {
34
34
  t.$$.dirty & /*clientstyling, customStylingContainer*/
35
- 3 && l && s && k(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
- 5 && a && s && x(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
- 9 && r && s && _(s, `${r}.Style`);
35
+ 3 && l && s && x(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
+ 5 && a && s && _(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
+ 9 && r && s && S(s, `${r}.Style`);
38
38
  }, [
39
39
  s,
40
40
  l,
@@ -43,20 +43,20 @@ function j(t, i, n) {
43
43
  o
44
44
  ];
45
45
  }
46
- class q extends u {
46
+ class w extends u {
47
47
  constructor(i) {
48
48
  super(), f(
49
49
  this,
50
50
  i,
51
51
  j,
52
52
  L,
53
- g,
53
+ m,
54
54
  {
55
55
  clientstyling: 1,
56
56
  clientstylingurl: 2,
57
57
  mbsource: 3
58
58
  },
59
- C
59
+ k
60
60
  );
61
61
  }
62
62
  get clientstyling() {
@@ -78,7 +78,7 @@ class q extends u {
78
78
  this.$$set({ mbsource: i }), c();
79
79
  }
80
80
  }
81
- m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
81
+ C(w, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
82
82
  export {
83
- q as default
83
+ w as default
84
84
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-Ckv0A9rH.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-l9GnvvJt.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
@@ -1,30 +1,30 @@
1
- import { S as u, i as f, f as c, c as m, s as g, b as y, e as h, d as p, G as d, j as b, o as v, l as x, m as _, q as S, r as k } from "./CasinoCalendar-CZ62CEJ3.js";
2
- function C(t) {
3
- y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1
+ import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, H as x, I as _, J as S, K as C } from "./CasinoCalendar-uF_NF6m7.js";
2
+ function k(t) {
3
+ g(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
5
5
  function L(t) {
6
6
  let i;
7
7
  return {
8
8
  c() {
9
- i = h("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
9
+ i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
10
  },
11
11
  m(n, l) {
12
- p(n, i, l), t[4](i);
12
+ h(n, i, l), t[4](i);
13
13
  },
14
14
  p: d,
15
15
  i: d,
16
16
  o: d,
17
17
  d(n) {
18
- n && b(i), t[4](null);
18
+ n && y(i), t[4](null);
19
19
  }
20
20
  };
21
21
  }
22
22
  function j(t, i, n) {
23
23
  let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
24
- v(() => () => {
24
+ b(() => () => {
25
25
  });
26
26
  function o(e) {
27
- S[e ? "unshift" : "push"](() => {
27
+ v[e ? "unshift" : "push"](() => {
28
28
  s = e, n(0, s);
29
29
  });
30
30
  }
@@ -32,9 +32,9 @@ function j(t, i, n) {
32
32
  "clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
33
33
  }, t.$$.update = () => {
34
34
  t.$$.dirty & /*clientstyling, customStylingContainer*/
35
- 3 && l && s && k(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
- 5 && a && s && x(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
- 9 && r && s && _(s, `${r}.Style`);
35
+ 3 && l && s && x(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
+ 5 && a && s && _(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
+ 9 && r && s && S(s, `${r}.Style`);
38
38
  }, [
39
39
  s,
40
40
  l,
@@ -43,20 +43,20 @@ function j(t, i, n) {
43
43
  o
44
44
  ];
45
45
  }
46
- class q extends u {
46
+ class w extends u {
47
47
  constructor(i) {
48
48
  super(), f(
49
49
  this,
50
50
  i,
51
51
  j,
52
52
  L,
53
- g,
53
+ m,
54
54
  {
55
55
  clientstyling: 1,
56
56
  clientstylingurl: 2,
57
57
  mbsource: 3
58
58
  },
59
- C
59
+ k
60
60
  );
61
61
  }
62
62
  get clientstyling() {
@@ -78,7 +78,7 @@ class q extends u {
78
78
  this.$$set({ mbsource: i }), c();
79
79
  }
80
80
  }
81
- m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
81
+ C(w, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
82
82
  export {
83
- q as default
83
+ w as default
84
84
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-Cld3efkW.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-Cn2Otkkj.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLobby-FylWUKW8.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-i6iK4grU.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoLobby-DAIJPyhU.js";
1
+ import { C as s } from "../components/CasinoLobby-DXkNhPwn.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.76.14",
3
+ "version": "1.77.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-lobby.cjs",
6
6
  "module": "esnext/casino-lobby.js",
@@ -14,7 +14,7 @@ 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 d } from "./index-27b314b8-CXVYGv5J.js";
17
+ import { b as m, p as d } from "./index-27b314b8-rkjLfQe1.js";
18
18
  import { g as h } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
19
  var u = () => {
20
20
  const i = import.meta.url, a = {};
@@ -1,4 +1,4 @@
1
- import { b as a, p as t } from "./index-27b314b8-VBAz23AH.js";
1
+ import { b as a, p as t } from "./index-27b314b8-DWbdQG1d.js";
2
2
  import { g as e } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
3
  var r = () => {
4
4
  const n = import.meta.url, i = {};
@@ -1 +1 @@
1
- "use strict";var c=(n,i,t)=>new Promise((d,l)=>{var g=e=>{try{a(t.next(e))}catch(r){l(r)}},m=e=>{try{a(t.throw(e))}catch(r){l(r)}},a=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,m);a((t=t.apply(n,i)).next())});const s=require("./index-27b314b8-B9Z1iOB7.cjs"),u=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-BBAN6qZv.cjs",document.baseURI).href,i={};return n!==""&&(i.resourcesUrl=new URL(".",n).href),s.promiseResolve(i)};h().then(n=>c(exports,null,function*(){return yield u.globalScripts(),s.bootstrapLazy([["casino-play-random-game_3",[[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],imageLoadingType:[32],detectDistance:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}],[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)}));
1
+ "use strict";var c=(n,i,t)=>new Promise((d,l)=>{var g=e=>{try{a(t.next(e))}catch(r){l(r)}},m=e=>{try{a(t.throw(e))}catch(r){l(r)}},a=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,m);a((t=t.apply(n,i)).next())});const s=require("./index-27b314b8-B6-HIs2Q.cjs"),u=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-CHpLVsre.cjs",document.baseURI).href,i={};return n!==""&&(i.resourcesUrl=new URL(".",n).href),s.promiseResolve(i)};h().then(n=>c(exports,null,function*(){return yield u.globalScripts(),s.bootstrapLazy([["casino-play-random-game_3",[[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],imageLoadingType:[32],detectDistance:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}],[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)}));
@@ -1,4 +1,4 @@
1
- import { r as d, c as f, h as t, g, H as l } from "./index-27b314b8-CXVYGv5J.js";
1
+ import { r as d, c as f, h as t, g, H as l } from "./index-27b314b8-rkjLfQe1.js";
2
2
  const w = () => {
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";
@@ -459,7 +459,7 @@ const x = `:host {
459
459
  }
460
460
  }`, v = x, k = class {
461
461
  constructor(e) {
462
- d(this, e), this.dataLoaded = f(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
462
+ d(this, e), this.dataLoaded = f(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
463
463
  let i = n.length, a;
464
464
  for (; i !== 0; )
465
465
  a = Math.floor(Math.random() * i), i--, [n[i], n[a]] = [n[a], n[i]];
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-27b314b8-B9Z1iOB7.cjs"),f=()=>{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",s={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=>{s[a]||(s[a]={});for(let r in i[a])s[a][r]=i[a][r]}),t(!0)})}),o=(e,t)=>{const i=t;return s[i!==void 0&&i in s?i:w][e]};function d(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function h(e,t){const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const r=document.createElement("style");r.innerHTML=a,e&&e.appendChild(r)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function y(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,r=>{a.innerHTML=r,e&&e.appendChild(a)})}}const b=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-27b314b8-B6-HIs2Q.cjs"),f=()=>{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",s={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=>{s[a]||(s[a]={});for(let r in i[a])s[a][r]=i[a][r]}),t(!0)})}),o=(e,t)=>{const i=t;return s[i!==void 0&&i in s?i:w][e]};function d(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function h(e,t){const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const r=document.createElement("style");r.innerHTML=a,e&&e.appendChild(r)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function y(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,r=>{a.innerHTML=r,e&&e.appendChild(a)})}}const b=`: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=b,m=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,this.imageLoadingType="lazy",this.detectDistance="200px"}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&&d(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&h(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(){"IntersectionObserver"in window&&(this.io=new IntersectionObserver(e=>{e.forEach(t=>{var i;t.isIntersecting&&(this.imageLoadingType="eager",(i=this.io)===null||i===void 0||i.unobserve(t.target))})},{root:null,rootMargin:this.detectDistance}),this.io.observe(this.host)),window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&d(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",f()),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,r=(i+t)*this.selectedGameIndex+i/2-a/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${r}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 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()},o("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},o("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:"29fe3535d63177e6d1f30a757bf17b70d89ce386",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},o("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("ui-image",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name,loading:this.imageLoadingType}),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()},o("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"]}}};m.style=x;const v=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",k=v,c=class{constructor(e){n.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const i of e)if(i.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(i.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return n.h(n.Host,{class:"HostContainer"},n.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return n.h(n.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&n.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),n.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return n.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{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)}.Circle{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%}.Text{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)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{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)}.Image{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)}.Logo{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)}}",R=G,g=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:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Title "+(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:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,x=b,m=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,this.imageLoadingType="lazy",this.detectDistance="200px"}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&&d(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&h(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(){"IntersectionObserver"in window&&(this.io=new IntersectionObserver(e=>{e.forEach(t=>{var i;t.isIntersecting&&(this.imageLoadingType="eager",(i=this.io)===null||i===void 0||i.unobserve(t.target))})},{root:null,rootMargin:this.detectDistance}),this.io.observe(this.host)),window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&d(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",f()),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,r=(i+t)*this.selectedGameIndex+i/2-a/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${r}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 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()},o("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},o("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:"29fe3535d63177e6d1f30a757bf17b70d89ce386",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},o("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("ui-image",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name,loading:this.imageLoadingType}),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()},o("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"]}}};m.style=x;const v=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",k=v,c=class{constructor(e){n.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const i of e)if(i.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(i.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return n.h(n.Host,{class:"HostContainer"},n.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return n.h(n.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&n.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),n.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return n.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{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)}.Circle{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%}.Text{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)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{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)}.Image{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)}.Logo{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)}}",R=G,g=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:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Title "+(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:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Circle "+(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};
@@ -1,4 +1,4 @@
1
- import { r as d, c as f, h as t, g, H as l } from "./index-27b314b8-VBAz23AH.js";
1
+ import { r as d, c as f, h as t, g, H as l } from "./index-27b314b8-DWbdQG1d.js";
2
2
  const w = () => {
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";
@@ -459,7 +459,7 @@ const x = `:host {
459
459
  }
460
460
  }`, v = x, k = class {
461
461
  constructor(e) {
462
- d(this, e), this.dataLoaded = f(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
462
+ d(this, e), this.dataLoaded = f(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
463
463
  let i = n.length, a;
464
464
  for (; i !== 0; )
465
465
  a = Math.floor(Math.random() * i), i--, [n[i], n[a]] = [n[a], n[i]];