@everymatrix/casino-page-nd 1.76.1 → 1.76.3

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 (85) hide show
  1. package/components/{CasinoCalendar-C16IdsHZ.js → CasinoCalendar-BJMgw_ul.js} +987 -1001
  2. package/components/{CasinoCalendar-tQ-xBcqx.js → CasinoCalendar-BZvurYRm.js} +1049 -1063
  3. package/components/CasinoCalendar-BrGEOev6.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-cFvRLWdH.js → CasinoCalendarDailyDetails-BU31ddcn.js} +75 -75
  5. package/components/{CasinoCalendarDailyDetails-CgoKqhjo.js → CasinoCalendarDailyDetails-Bl7ypxzN.js} +75 -75
  6. package/components/CasinoCalendarDailyDetails-eJ6ubWjE.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-DI-1ITRX.js → CasinoCalendarDailyItem-CvSpZrmu.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-7tLgGXVN.js → CasinoCalendarDailyItem-CxLQYuak.js} +6 -6
  9. package/components/{CasinoCalendarDailyItem-DDxm8zW-.cjs → CasinoCalendarDailyItem-_cjlHf0N.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-bN2TA3kg.cjs → CasinoCollectionsProviders-5cKh14sW.cjs} +1 -1
  11. package/components/{CasinoCollectionsProviders-D0Ci0tdQ.js → CasinoCollectionsProviders-BKjC3Dll.js} +4 -4
  12. package/components/{CasinoCollectionsProviders-BIouDw0I.js → CasinoCollectionsProviders-D1oZCxII.js} +4 -4
  13. package/components/{CasinoFavoritesSectionNd-BT5lFC_7.js → CasinoFavoritesSectionNd-8cnxisHz.js} +6 -6
  14. package/components/{CasinoFavoritesSectionNd-CfcAfEu5.js → CasinoFavoritesSectionNd-RikJSCeU.js} +6 -6
  15. package/components/{CasinoFavoritesSectionNd-C0M-bwnU.cjs → CasinoFavoritesSectionNd-xCDnRIBo.cjs} +1 -1
  16. package/components/CasinoFilter-CMWczDxl.cjs +1 -0
  17. package/components/{CasinoFilter-DO1QwYDX.js → CasinoFilter-CpN8VBQT.js} +253 -254
  18. package/components/{CasinoFilter-CWK2afv5.js → CasinoFilter-DoVSWm0j.js} +225 -224
  19. package/components/{CasinoGameThumbnailNd-pna6A51I.js → CasinoGameThumbnailNd-CxKK2d8g.js} +651 -651
  20. package/components/{CasinoGameThumbnailNd-BrIWoP9e.cjs → CasinoGameThumbnailNd-DWm0Co5l.cjs} +6 -6
  21. package/components/{CasinoGameThumbnailNd-Be0lvvrm.js → CasinoGameThumbnailNd-hRxqPl6m.js} +653 -653
  22. package/components/{CasinoGamesCategorySectionNd-CcKrG5Zn.js → CasinoGamesCategorySectionNd-CQHYJnaK.js} +14 -14
  23. package/components/CasinoGamesCategorySectionNd-CyO-Lnhk.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-CjSGVQeM.js → CasinoGamesCategorySectionNd-ES6cmHRt.js} +14 -14
  25. package/components/{CasinoJackpotBanner-C_XNICzh.js → CasinoJackpotBanner-BF6IK__m.js} +8 -8
  26. package/components/{CasinoJackpotBanner-DOMmSfuo.js → CasinoJackpotBanner-CKOC4kPD.js} +8 -8
  27. package/components/{CasinoJackpotBanner-lEjxb1_O.cjs → CasinoJackpotBanner-Cy3toHGG.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CLG8gom8.js → CasinoLastPlayedSectionNd-BuVU8LsT.js} +6 -6
  29. package/components/{CasinoLastPlayedSectionNd-CUmSm6d0.js → CasinoLastPlayedSectionNd-C9ZEl4Xe.js} +6 -6
  30. package/components/{CasinoLastPlayedSectionNd-GCZeCpMH.cjs → CasinoLastPlayedSectionNd-Cnw72Sq1.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-BiyhyXkr.cjs → CasinoMostPlayedSectionNd-C-B4fMHH.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-CbmHTqtE.js → CasinoMostPlayedSectionNd-WuDOctYr.js} +7 -7
  33. package/components/{CasinoMostPlayedSectionNd-Cg3aAy-F.js → CasinoMostPlayedSectionNd-dw-xDD14.js} +7 -7
  34. package/components/{CasinoMyGamesNd-HEtxQEgx.cjs → CasinoMyGamesNd-BElNwMcc.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-BPMtnvNM.js → CasinoMyGamesNd-BYXvBjlI.js} +9 -9
  36. package/components/{CasinoMyGamesNd-hVfS8dP2.js → CasinoMyGamesNd-rT_me2gN.js} +9 -9
  37. package/components/{CasinoPageNd-BWOUeVmS.cjs → CasinoPageNd-BE61li85.cjs} +1 -1
  38. package/components/{CasinoPageNd-4LHjpUm2.js → CasinoPageNd-BOoqkONp.js} +14 -14
  39. package/components/{CasinoPageNd-DAJsiMzB.js → CasinoPageNd-Dd9u52NP.js} +14 -14
  40. package/components/{CasinoRandomGame-plUlE4Mq.cjs → CasinoRandomGame-B4nhuWiG.cjs} +2 -2
  41. package/components/{CasinoRandomGame-DHV-GxTO.js → CasinoRandomGame-BzKdcQuo.js} +83 -83
  42. package/components/{CasinoRandomGame-C9vlLsVS.js → CasinoRandomGame-Dw22tqKC.js} +12 -12
  43. package/components/{CasinoSearchNd-BW4IVXTv.js → CasinoSearchNd-B7b38khb.js} +6 -6
  44. package/components/{CasinoSearchNd-Dc8rq8WD.cjs → CasinoSearchNd-CGlPvE2L.cjs} +1 -1
  45. package/components/{CasinoSearchNd-k5FCvdiY.js → CasinoSearchNd-DzJCvFUm.js} +6 -6
  46. package/components/{CasinoSort-BIE4VRkH.js → CasinoSort-BEr7geK9.js} +94 -93
  47. package/components/{CasinoSort-CffZXJlZ.cjs → CasinoSort-BxHJWqxB.cjs} +1 -1
  48. package/components/{CasinoSort-0vLlX3yy.js → CasinoSort-C-rTkPj_.js} +102 -103
  49. package/components/{CasinoWinners-C2nFAwMV.js → CasinoWinners-BPYURlfI.js} +116 -116
  50. package/components/{CasinoWinners-apJlqYc0.cjs → CasinoWinners-Bi_sWsfT.cjs} +1 -1
  51. package/components/{CasinoWinners-DxckjwIT.js → CasinoWinners-HvTMtG-7.js} +116 -116
  52. package/components/{GeneralAnimationLoading-9OuKuAPk.cjs → GeneralAnimationLoading-CiwQU6cW.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-BWXlJEed.js → GeneralAnimationLoading-DAmLKs8K.js} +7 -7
  54. package/components/{GeneralAnimationLoading-CXOZ4shP.js → GeneralAnimationLoading-JyE104ZT.js} +7 -7
  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/package.json +1 -1
  59. package/stencil/{casino-play-random-game-tRq8ENhu.js → casino-play-random-game-CeqgxQQ8.js} +1 -1
  60. package/stencil/{casino-play-random-game-BvVl4mN1.cjs → casino-play-random-game-DqmvddFD.cjs} +1 -1
  61. package/stencil/{casino-play-random-game-mz161iYA.js → casino-play-random-game-NYwu_uka.js} +1 -1
  62. package/stencil/{casino-play-random-game_2-DVELgSp-.cjs → casino-play-random-game_2-BxEiwCaH.cjs} +2 -2
  63. package/stencil/{casino-play-random-game_2-BBqDze0C.js → casino-play-random-game_2-CO_ycbvG.js} +2 -2
  64. package/stencil/{casino-play-random-game_2-BoSB4X57.js → casino-play-random-game_2-OLkBGlKQ.js} +2 -2
  65. package/stencil/{index-328e660d-BUOKdOvn.js → index-328e660d-CgCMs0nk.js} +195 -195
  66. package/stencil/{index-328e660d-O5RXzgXA.js → index-328e660d-DIiqSVTN.js} +186 -186
  67. package/stencil/index-328e660d-pKNw3-4H.cjs +1 -0
  68. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  69. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  70. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  71. package/stencil/{ui-image-BVrts8cF.js → ui-image-C97RBXAN.js} +1 -1
  72. package/stencil/{ui-image-DohHkgFU.cjs → ui-image-_f0jfQLW.cjs} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  76. package/stencil/{ui-image-D4FGRsM7.js → ui-image-y3L1k9l0.js} +1 -1
  77. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
  78. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  79. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
  80. package/components/CasinoCalendar-CvCT6hLv.cjs +0 -19
  81. package/components/CasinoCalendarDailyDetails-nhOj3ay3.cjs +0 -1
  82. package/components/CasinoFilter-RhvFc0XR.cjs +0 -1
  83. package/components/CasinoGamesCategorySectionNd-CWdFpxkx.cjs +0 -1
  84. package/stencil/index-328e660d-04xW6326.cjs +0 -1
  85. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,4 +1,4 @@
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-C16IdsHZ.js";
1
+ import { S as u, i as f, f as c, c as m, s as g, b as y, e as p, d as h, G as d, j as b, o as v, n as x, p as _, q as S, r as k } from "./CasinoCalendar-BZvurYRm.js";
2
2
  function C(t) {
3
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)}}");
4
4
  }
@@ -6,10 +6,10 @@ 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,
@@ -24,7 +24,7 @@ function j(t, i, n) {
24
24
  v(() => () => {
25
25
  });
26
26
  function o(e) {
27
- S[e ? "unshift" : "push"](() => {
27
+ x[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 && _(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
+ 5 && a && s && S(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
+ 9 && r && s && k(s, `${r}.Style`);
38
38
  }, [
39
39
  s,
40
40
  l,
@@ -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/CasinoPageNd-BWOUeVmS.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",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/CasinoPageNd-BE61li85.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPageNd-DAJsiMzB.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPageNd-Dd9u52NP.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page-nd") && customElements.define("casino-page-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoPageNd-4LHjpUm2.js";
1
+ import { C as s } from "../components/CasinoPageNd-BOoqkONp.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page-nd",
3
- "version": "1.76.1",
3
+ "version": "1.76.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page-nd.cjs",
6
6
  "module": "esnext/casino-page-nd.js",
@@ -1,4 +1,4 @@
1
- import { b as a, p as t } from "./index-328e660d-O5RXzgXA.js";
1
+ import { b as a, p as t } from "./index-328e660d-DIiqSVTN.js";
2
2
  import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
3
  var r = () => {
4
4
  const n = import.meta.url, i = {};
@@ -1 +1 @@
1
- "use strict";var c=(e,i,t)=>new Promise((u,l)=>{var d=n=>{try{a(t.next(n))}catch(r){l(r)}},g=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(d,g);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-04xW6326.cjs"),m=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-BvVl4mN1.cjs",document.baseURI).href,i={};return e!==""&&(i.resourcesUrl=new URL(".",e).href),s.promiseResolve(i)};h().then(e=>c(exports,null,function*(){return yield m.globalScripts(),s.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"]}]]]],e)}));
1
+ "use strict";var c=(e,i,t)=>new Promise((u,l)=>{var d=n=>{try{a(t.next(n))}catch(r){l(r)}},g=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(d,g);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-pKNw3-4H.cjs"),m=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-DqmvddFD.cjs",document.baseURI).href,i={};return e!==""&&(i.resourcesUrl=new URL(".",e).href),s.promiseResolve(i)};h().then(e=>c(exports,null,function*(){return yield m.globalScripts(),s.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"]}]]]],e)}));
@@ -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 u } from "./index-328e660d-BUOKdOvn.js";
17
+ import { b as m, p as u } from "./index-328e660d-CgCMs0nk.js";
18
18
  import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
19
19
  var h = () => {
20
20
  const i = import.meta.url, a = {};
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-328e660d-04xW6326.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:"Rasgele 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){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("./index-328e660d-pKNw3-4H.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:"Rasgele 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){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:"ccc1e77093402e72a300ded18465085c182fbd79",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}.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)}}",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:"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=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:"ccc1e77093402e72a300ded18465085c182fbd79",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}.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)}}",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:"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 h, c as u, h as n, g as p, H as w } from "./index-328e660d-O5RXzgXA.js";
1
+ import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-DIiqSVTN.js";
2
2
  const f = () => {
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 b = `:host {
459
459
  }
460
460
  }`, k = b, G = class {
461
461
  constructor(e) {
462
- h(this, e), this.dataLoaded = u(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
462
+ h(this, e), this.dataLoaded = u(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
463
463
  let i = t.length, a;
464
464
  for (; i !== 0; )
465
465
  a = Math.floor(Math.random() * i), i--, [t[i], t[a]] = [t[a], t[i]];
@@ -1,4 +1,4 @@
1
- import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-BUOKdOvn.js";
1
+ import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-CgCMs0nk.js";
2
2
  const f = () => {
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 b = `:host {
459
459
  }
460
460
  }`, k = b, G = class {
461
461
  constructor(e) {
462
- h(this, e), this.dataLoaded = u(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
462
+ h(this, e), this.dataLoaded = u(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
463
463
  let i = t.length, a;
464
464
  for (; i !== 0; )
465
465
  a = Math.floor(Math.random() * i), i--, [t[i], t[a]] = [t[a], t[i]];