@everymatrix/casino-lobby 1.77.0 → 1.77.2

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 (104) hide show
  1. package/components/{CasinoCalendar-2Cpj6Bg6.js → CasinoCalendar-Dxl0GZ3V.js} +2 -2
  2. package/components/{CasinoCalendar-DV_HGN_d.cjs → CasinoCalendar-l9GnvvJt.cjs} +1 -1
  3. package/components/{CasinoCalendar-CMIWRUUm.js → CasinoCalendar-uF_NF6m7.js} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-XuqvF6i3.cjs → CasinoCalendarDailyDetails-5fca8ybY.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-DA7MIM93.js → CasinoCalendarDailyDetails-CkFGHBr1.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-B5krFnaT.js → CasinoCalendarDailyDetails-D2EcpVsk.js} +2 -2
  7. package/components/{CasinoCalendarDailyItem-DY2ge_ta.js → CasinoCalendarDailyItem-BjMHq8z0.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-BAJJIvIo.js → CasinoCalendarDailyItem-CJ4Y1TDs.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-Q79--gB8.cjs → CasinoCalendarDailyItem-CtrwuSMm.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-Bj5sxBdL.cjs → CasinoCategoriesSlider-CsJ_SF6Z.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-D8ihGze3.js → CasinoCategoriesSlider-D4K2b7AX.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-QFkK1VfK.js → CasinoCategoriesSlider-Dw9WFkz4.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-KSxevvZ5.js → CasinoCollectionsProviders-BN0zNeS7.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-CyhsgC2q.cjs → CasinoCollectionsProviders-C3QOX3KF.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-4Z4WIkbN.js → CasinoCollectionsProviders-DjFfFkmU.js} +1 -1
  16. package/components/{CasinoFavoritesSection-CnKvlpHj.cjs → CasinoFavoritesSection-C_SVbyBn.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-CeH7gEs_.js → CasinoFavoritesSection-DFYpAORF.js} +2 -2
  18. package/components/{CasinoFavoritesSection-CH6RKYbI.js → CasinoFavoritesSection-DjSYlAHs.js} +2 -2
  19. package/components/{CasinoFilter-BDFP3doT.cjs → CasinoFilter-B7H2bJ-G.cjs} +1 -1
  20. package/components/{CasinoFilter-DqvsdQLm.js → CasinoFilter-Bgc2OX7A.js} +1 -1
  21. package/components/{CasinoFilter-nIExzBTm.js → CasinoFilter-D0wftMel.js} +1 -1
  22. package/components/{CasinoGameThumbnail-Dnb_EWII.cjs → CasinoGameThumbnail-BCV2_lP-.cjs} +1 -1
  23. package/components/{CasinoGameThumbnail-vXzpFK6B.js → CasinoGameThumbnail-DAeRoqVl.js} +2 -2
  24. package/components/{CasinoGameThumbnail-DmAXBgdw.js → CasinoGameThumbnail-DDj9LrBn.js} +2 -2
  25. package/components/{CasinoGamesCategorySection-CCMbufvI.js → CasinoGamesCategorySection-BZ4VTmC0.js} +5 -5
  26. package/components/{CasinoGamesCategorySection-D8p1YH47.js → CasinoGamesCategorySection-CxjrZ9Mg.js} +5 -5
  27. package/components/{CasinoGamesCategorySection-i3CzEe6V.cjs → CasinoGamesCategorySection-D9w4jWch.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-uWhhU8zz.js → CasinoJackpotBanner-TsNpk7MF.js} +2 -2
  29. package/components/{CasinoJackpotBanner-EKq86n9z.js → CasinoJackpotBanner-VCXNOk6T.js} +2 -2
  30. package/components/{CasinoJackpotBanner-C2pEv1Zb.cjs → CasinoJackpotBanner-yvjEOEuA.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-Cz43Ntm0.js → CasinoLastPlayedSection-BlnAstfd.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-D6dhMSFC.js → CasinoLastPlayedSection-CReBS3dw.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-Bkk9ZJWU.cjs → CasinoLastPlayedSection-CqanYCAJ.cjs} +1 -1
  34. package/components/{CasinoLobby-CxgUhhrv.cjs → CasinoLobby-Cn2Otkkj.cjs} +1 -1
  35. package/components/{CasinoLobby-C5W8yGx8.js → CasinoLobby-DXkNhPwn.js} +3 -3
  36. package/components/{CasinoLobby-pKt5iffv.js → CasinoLobby-i6iK4grU.js} +3 -3
  37. package/components/{CasinoMostPlayedSection-CrpSf7Wm.js → CasinoMostPlayedSection-B07bcZSb.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-WUT01RfM.js → CasinoMostPlayedSection-C__zgZB_.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-D2dgTPLO.cjs → CasinoMostPlayedSection-gUjt91qe.cjs} +1 -1
  40. package/components/{CasinoMyGames-D4hswNh4.js → CasinoMyGames-BjpVKSGM.js} +4 -4
  41. package/components/{CasinoMyGames-BySluNi7.cjs → CasinoMyGames-BrR9nn1l.cjs} +1 -1
  42. package/components/{CasinoMyGames-CXvY2HgK.js → CasinoMyGames-jJWJoluY.js} +4 -4
  43. package/components/{CasinoPage-CXQGupl1.cjs → CasinoPage-CpQErNFc.cjs} +1 -1
  44. package/components/{CasinoPage-DJbF4jd3.js → CasinoPage-DbA-NMXP.js} +11 -11
  45. package/components/{CasinoPage-CYgZ9Y3j.js → CasinoPage-yGjlByzR.js} +11 -11
  46. package/components/{CasinoRandomGame-C0LeVa_K.js → CasinoRandomGame-BWebIH8V.js} +1 -1
  47. package/components/{CasinoRandomGame-KqxBje-s.js → CasinoRandomGame-CSrB_Zq2.js} +1 -1
  48. package/components/{CasinoRandomGame-CN0ZsyT7.cjs → CasinoRandomGame-DJnB5Fhm.cjs} +1 -1
  49. package/components/{CasinoSearch-BSZXyGpW.js → CasinoSearch-CcHIKzRN.js} +3 -3
  50. package/components/{CasinoSearch-Bh_3dc9h.js → CasinoSearch-CwADZYFB.js} +3 -3
  51. package/components/{CasinoSearch-DKPZ8_Iy.cjs → CasinoSearch-DcUqk5L0.cjs} +1 -1
  52. package/components/{CasinoSlider-B8GaaNuP.js → CasinoSlider-CJpeC5z_.js} +1 -1
  53. package/components/{CasinoSlider-DbyJ57E6.cjs → CasinoSlider-Ctpht2Hg.cjs} +1 -1
  54. package/components/{CasinoSlider-CBsaRkSG.js → CasinoSlider-D40zgViI.js} +1 -1
  55. package/components/{CasinoSort-DUnBFMEc.js → CasinoSort-CMZayycI.js} +1 -1
  56. package/components/{CasinoSort-DdVCJHJU.js → CasinoSort-CydlqJP8.js} +1 -1
  57. package/components/{CasinoSort-5CSg7HAS.cjs → CasinoSort-DjCxKlZJ.cjs} +1 -1
  58. package/components/{CasinoWinners-BO9ep3XD.js → CasinoWinners-B-qcd_Bf.js} +2 -2
  59. package/components/{CasinoWinners-4uQChe2F.cjs → CasinoWinners-Cqmnci0O.cjs} +1 -1
  60. package/components/{CasinoWinners-D9hsy2fX.js → CasinoWinners-DcqEgS6B.js} +2 -2
  61. package/components/{GeneralAnimationLoading-DKWSPDDc.js → GeneralAnimationLoading-C8aWcUd_.js} +1 -1
  62. package/components/{GeneralAnimationLoading-DpT91_iF.cjs → GeneralAnimationLoading-Cjhmg9V_.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-yNj1-Ym_.js → GeneralAnimationLoading-Oqx65Onk.js} +1 -1
  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-3OLT0AIG.js +25 -0
  69. package/stencil/casino-play-random-game-BnjMAnCB.js +7 -0
  70. package/stencil/casino-play-random-game-CHpLVsre.cjs +1 -0
  71. package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_3-5Bmo5OfX.js} +156 -67
  72. package/stencil/casino-play-random-game_3-BPrURzZF.cjs +432 -0
  73. package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_3-DbmTGjC1.js} +156 -67
  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/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
  81. package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
  82. package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
  83. package/stencil/ui-image-CVrTqLhl.js +25 -0
  84. package/stencil/ui-image-Cd2KxMB7.cjs +1 -0
  85. package/stencil/ui-image-adPxpjgH.js +7 -0
  86. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-B21W_djK.js} +2 -2
  87. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  88. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-VgK3B8gQ.js} +2 -2
  89. package/stencil/casino-play-random-game-BmY8ENyy.js +0 -25
  90. package/stencil/casino-play-random-game-Ct16KgVH.cjs +0 -1
  91. package/stencil/casino-play-random-game-rSOIFZ4R.js +0 -7
  92. package/stencil/casino-play-random-game_2-BJVoDn1D.cjs +0 -432
  93. package/stencil/index-328e660d-Cex2hzsG.js +0 -576
  94. package/stencil/index-328e660d-Dti9H7_B.js +0 -560
  95. package/stencil/index-328e660d-MaaYKutI.cjs +0 -1
  96. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  97. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  98. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  99. package/stencil/ui-image-2_i-_1cj.js +0 -25
  100. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
  101. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
  102. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
  103. package/stencil/ui-image-bN_3pDWc.js +0 -7
  104. package/stencil/ui-image-eY8BEG3a.cjs +0 -1
@@ -0,0 +1,86 @@
1
+ import { r as n, h as t, H as r, g as a } from "./index-242ac81a-BqeIndhr.js";
2
+ const h = ".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}", o = h, d = class {
3
+ constructor(e) {
4
+ n(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;
5
+ }
6
+ onSrcChange() {
7
+ this.loading !== "eager" && (this.imgLoaded = !1, this.hasStarted = !1, (typeof window == "undefined" || !("IntersectionObserver" in window)) && this.beginLoad());
8
+ }
9
+ onLoadingChange(e, i) {
10
+ e !== i && (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()));
11
+ }
12
+ componentDidLoad() {
13
+ this.loading !== "eager" && this.setupObserver();
14
+ }
15
+ disconnectedCallback() {
16
+ this.cleanupObserver(), this.detachImgHandlers();
17
+ }
18
+ canUseIO() {
19
+ return typeof window != "undefined" && "IntersectionObserver" in window;
20
+ }
21
+ setupObserver() {
22
+ if (this.loading !== "eager") {
23
+ if (!this.canUseIO()) {
24
+ this.beginLoad();
25
+ return;
26
+ }
27
+ this.io = new IntersectionObserver((e) => {
28
+ var i;
29
+ for (const s of e)
30
+ if (s.isIntersecting) {
31
+ this.beginLoad(), (i = this.io) === null || i === void 0 || i.unobserve(s.target), this.cleanupObserver();
32
+ break;
33
+ }
34
+ }, { root: null, rootMargin: this.detectDistance, threshold: 0 }), this.io.observe(this.el);
35
+ }
36
+ }
37
+ cleanupObserver() {
38
+ var e;
39
+ (e = this.io) === null || e === void 0 || e.disconnect(), this.io = void 0;
40
+ }
41
+ wireOnceHandlers() {
42
+ this.imgEl && (this.detachImgHandlers(), this._onLoad = () => {
43
+ var e;
44
+ this.currentSrc && (!((e = this.imgEl) === null || e === void 0) && e.currentSrc) && !this.imgEl.currentSrc.includes(this.currentSrc) || (this.imgLoaded = !0);
45
+ }, this._onError = () => {
46
+ console.error("Load image failed:", this.src);
47
+ }, this.imgEl.addEventListener("load", this._onLoad, { once: !0 }), this.imgEl.addEventListener("error", this._onError, { once: !0 }));
48
+ }
49
+ detachImgHandlers() {
50
+ 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);
51
+ }
52
+ beginLoad() {
53
+ if (!this.hasStarted && this.imgEl && this.src) {
54
+ if (this.hasStarted = !0, this.wireOnceHandlers(), this.imgEl.complete && this.imgEl.naturalWidth > 0) {
55
+ this.imgLoaded = !0;
56
+ return;
57
+ }
58
+ this.currentSrc = this.src, this.imgEl.src = this.src, this.imgEl.complete && this.imgEl.naturalWidth > 0 && (this.imgLoaded = !0);
59
+ }
60
+ }
61
+ get showSkeleton() {
62
+ return this.loading !== "eager" && !this.imgLoaded;
63
+ }
64
+ renderEager() {
65
+ return t(r, { class: "HostContainer" }, t("img", { src: this.src, decoding: "async", style: this.styles, class: "UiContainer Visible", alt: this.alt, width: this.width, height: this.height, loading: "eager" }));
66
+ }
67
+ renderLazy() {
68
+ return t(r, { class: "HostContainer", "aria-busy": this.imgLoaded ? "false" : "true" }, this.showSkeleton && t("ui-skeleton", { class: "UiContainer", structure: "image", width: "100%", height: "100%" }), t("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" }));
69
+ }
70
+ render() {
71
+ return this.loading === "eager" ? this.renderEager() : this.renderLazy();
72
+ }
73
+ get el() {
74
+ return a(this);
75
+ }
76
+ static get watchers() {
77
+ return {
78
+ src: ["onSrcChange"],
79
+ loading: ["onLoadingChange"]
80
+ };
81
+ }
82
+ };
83
+ d.style = o;
84
+ export {
85
+ d as U
86
+ };
@@ -0,0 +1,25 @@
1
+ var s = (r, a, e) => new Promise((g, n) => {
2
+ var m = (t) => {
3
+ try {
4
+ i(e.next(t));
5
+ } catch (o) {
6
+ n(o);
7
+ }
8
+ }, u = (t) => {
9
+ try {
10
+ i(e.throw(t));
11
+ } catch (o) {
12
+ n(o);
13
+ }
14
+ }, i = (t) => t.done ? g(t.value) : Promise.resolve(t.value).then(m, u);
15
+ i((e = e.apply(r, a)).next());
16
+ });
17
+ import { b as c, p as l } from "./index-242ac81a-BqeIndhr.js";
18
+ import { a as d } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
+ var h = () => {
20
+ const r = import.meta.url, a = {};
21
+ return r !== "" && (a.resourcesUrl = new URL(".", r).href), l(a);
22
+ };
23
+ h().then((r) => s(void 0, null, function* () {
24
+ return yield d(), c([["ui-image_2", [[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"] }]]]], r);
25
+ }));
@@ -0,0 +1 @@
1
+ "use strict";var c=(t,r,i)=>new Promise((d,s)=>{var g=e=>{try{n(i.next(e))}catch(a){s(a)}},l=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,l);n((i=i.apply(t,r)).next())});const u=require("./index-242ac81a-CjjM4VND.cjs"),m=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-Cd2KxMB7.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield m.globalScripts$1(),u.bootstrapLazy([["ui-image_2",[[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"]}]]]],t)}));
@@ -0,0 +1,7 @@
1
+ import { b as a, p as e } from "./index-242ac81a-CI4JxPRf.js";
2
+ import { a as i } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
+ var o = () => {
4
+ const t = import.meta.url, r = {};
5
+ return t !== "" && (r.resourcesUrl = new URL(".", t).href), e(r);
6
+ };
7
+ o().then(async (t) => (await i(), a([["ui-image_2", [[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"] }]]]], t)));
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-b7b48fe5-D6iig_uN.js";
2
- import { r, h as t, H as n } from "./index-97d17652-CCFHkzJw.js";
1
+ import { U as m } from "./ui-image-2ff23cd5-D0rXudCW.js";
2
+ import { r, h as t, H as n } from "./index-242ac81a-CI4JxPRf.js";
3
3
  const s = ":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)}}", a = s, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.stylingValue = {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-DG83WzAo.cjs"),t=require("./index-97d17652-BhLhk_xz.cjs"),s=":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)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-2ff23cd5-BHGIWJop.cjs"),t=require("./index-242ac81a-CjjM4VND.cjs"),s=":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)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
2
  :host {
3
3
  --emw-skeleton-logo-width: ${this.stylingValue.width};
4
4
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-b7b48fe5-ByRuJtdE.js";
2
- import { r, h as t, H as n } from "./index-97d17652--F7PvMq9.js";
1
+ import { U as m } from "./ui-image-2ff23cd5-DCLQ0SIO.js";
2
+ import { r, h as t, H as n } from "./index-242ac81a-BqeIndhr.js";
3
3
  const s = ":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)}}", a = s, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.stylingValue = {
@@ -1,25 +0,0 @@
1
- var l = (i, a, t) => new Promise((s, o) => {
2
- var c = (n) => {
3
- try {
4
- e(t.next(n));
5
- } catch (r) {
6
- o(r);
7
- }
8
- }, g = (n) => {
9
- try {
10
- e(t.throw(n));
11
- } catch (r) {
12
- o(r);
13
- }
14
- }, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
15
- e((t = t.apply(i, a)).next());
16
- });
17
- import { b as m, p as u } from "./index-328e660d-Cex2hzsG.js";
18
- import { g as d } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
- var h = () => {
20
- const i = import.meta.url, a = {};
21
- return i !== "" && (a.resourcesUrl = new URL(".", i).href), u(a);
22
- };
23
- h().then((i) => l(void 0, null, function* () {
24
- return yield d(), m([["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"] }]]]], i);
25
- }));
@@ -1 +0,0 @@
1
- "use strict";var c=(e,i,t)=>new Promise((u,l)=>{var m=n=>{try{a(t.next(n))}catch(r){l(r)}},d=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(m,d);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-MaaYKutI.cjs"),g=require("./app-globals-0f993ce5-4b17CI_n.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-Ct16KgVH.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 g.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,7 +0,0 @@
1
- import { b as a, p as t } from "./index-328e660d-Dti9H7_B.js";
2
- import { g as e } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
- var r = () => {
4
- const n = import.meta.url, i = {};
5
- return n !== "" && (i.resourcesUrl = new URL(".", n).href), t(i);
6
- };
7
- r().then(async (n) => (await e(), a([["casino-play-random-game_2", [[1, "casino-play-random-game", { endpoint: [513], datasource: [513], language: [513], specificCategory: [513, "specific-category"], iconVisible: [513, "icon-visible"], iconVisibleOnAnim: [513, "icon-visible-on-anim"], launchByGameCard: [513, "launch-by-game-card"], mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], hasErrors: [32], isLoading: [32], gamesToShow: [32], selectedGame: [32], animationDone: [32], animationStarted: [32] }, null, { endpoint: ["watchEndpoint"], datasource: ["watchEndpoint"], language: ["watchEndpoint"], translationUrl: ["handleNewTranslations"], iconVisible: ["handleIsIconVisible"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], n)));