@everymatrix/casino-page 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.
- package/components/{CasinoCalendar-BEFWuyZL.cjs → CasinoCalendar-BYV7Jkb3.cjs} +1 -1
- package/components/{CasinoCalendar-nkrznZpo.js → CasinoCalendar-C87haj_O.js} +2 -2
- package/components/{CasinoCalendar-OJZrTCla.js → CasinoCalendar-Dl5rdRDv.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-D-PrPj8s.js → CasinoCalendarDailyDetails-Cc4iwCGm.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-Jxs5L-1T.js → CasinoCalendarDailyDetails-D3VBYPtA.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-B0uEWbbt.cjs → CasinoCalendarDailyDetails-twhKWee5.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BJHwZkKJ.cjs → CasinoCalendarDailyItem-CBrK-0Cg.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DrZ46wZq.js → CasinoCalendarDailyItem-Cf02HaSu.js} +2 -2
- package/components/{CasinoCalendarDailyItem-D24LBmnc.js → CasinoCalendarDailyItem-DP7arIWF.js} +2 -2
- package/components/{CasinoCollectionsProviders-DBLRCWWo.js → CasinoCollectionsProviders-BO_QPAkQ.js} +1 -1
- package/components/{CasinoCollectionsProviders-CTlOHOW4.js → CasinoCollectionsProviders-DodWHT-n.js} +1 -1
- package/components/{CasinoCollectionsProviders-CzBxsowK.cjs → CasinoCollectionsProviders-Dy5oZRij.cjs} +1 -1
- package/components/{CasinoFavoritesSection-Bii3n309.cjs → CasinoFavoritesSection-0ld0leDz.cjs} +1 -1
- package/components/{CasinoFavoritesSection-D7yYQwFM.js → CasinoFavoritesSection-3ztqm6wj.js} +2 -2
- package/components/{CasinoFavoritesSection-BB3vwdI6.js → CasinoFavoritesSection-DHhGCYbk.js} +2 -2
- package/components/{CasinoFilter-CTkRb1UC.js → CasinoFilter-BiFRqe6s.js} +1 -1
- package/components/{CasinoFilter-5hTa8CKw.js → CasinoFilter-Cxp3z_JJ.js} +1 -1
- package/components/{CasinoFilter-BAo8wmWH.cjs → CasinoFilter-DN6wvGFG.cjs} +1 -1
- package/components/{CasinoGameThumbnail-CFBYoiMW.js → CasinoGameThumbnail-BGqs-yiN.js} +2 -2
- package/components/{CasinoGameThumbnail-Bzj5m3wW.cjs → CasinoGameThumbnail-Cn50Mnpa.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BHB8fvqJ.js → CasinoGameThumbnail-D1NHRqNC.js} +2 -2
- package/components/{CasinoGamesCategorySection-G4F1PaID.js → CasinoGamesCategorySection-B9MO1cr6.js} +5 -5
- package/components/{CasinoGamesCategorySection-CiyP6kX_.cjs → CasinoGamesCategorySection-CCD9iKBk.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DIzrrgBt.js → CasinoGamesCategorySection-CLPYePZG.js} +5 -5
- package/components/{CasinoJackpotBanner-DBer4LlE.cjs → CasinoJackpotBanner-3c1xcQqD.cjs} +1 -1
- package/components/{CasinoJackpotBanner-C51E4rGA.js → CasinoJackpotBanner-Bv5mPRE0.js} +2 -2
- package/components/{CasinoJackpotBanner-CTxmfDSK.js → CasinoJackpotBanner-CzIO2X74.js} +2 -2
- package/components/{CasinoLastPlayedSection-DKluSauU.cjs → CasinoLastPlayedSection-CZvMrFF0.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-B0mXeAxm.js → CasinoLastPlayedSection-CvZ8t98Q.js} +2 -2
- package/components/{CasinoLastPlayedSection-BEdPMbdX.js → CasinoLastPlayedSection-D9_JyaUG.js} +2 -2
- package/components/{CasinoMostPlayedSection-C3oLlKeK.cjs → CasinoMostPlayedSection-8i1-se03.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BWWmYlad.js → CasinoMostPlayedSection-B6UYCrK1.js} +2 -2
- package/components/{CasinoMostPlayedSection-CQcg23Mh.js → CasinoMostPlayedSection-BWHSFIl9.js} +2 -2
- package/components/{CasinoMyGames-PH9lFwYB.cjs → CasinoMyGames-CCybLX9d.cjs} +1 -1
- package/components/{CasinoMyGames-DjCeMiOi.js → CasinoMyGames-GXbEOUz0.js} +4 -4
- package/components/{CasinoMyGames-DgaCGZZY.js → CasinoMyGames-XuUh0Iw1.js} +4 -4
- package/components/{CasinoPage-Dfa5MIJN.cjs → CasinoPage-AT7RLDJ9.cjs} +1 -1
- package/components/{CasinoPage-ZArp5o29.js → CasinoPage-DxFN_yZb.js} +11 -11
- package/components/{CasinoPage-Naj-FYxv.js → CasinoPage-Tt4Yn1a3.js} +11 -11
- package/components/{CasinoRandomGame-BAEkb2tu.js → CasinoRandomGame-Be_OC1nS.js} +1 -1
- package/components/{CasinoRandomGame-KabCqklE.cjs → CasinoRandomGame-C-olALcp.cjs} +1 -1
- package/components/{CasinoRandomGame-BmMyshhG.js → CasinoRandomGame-Do9Ry6mX.js} +1 -1
- package/components/{CasinoSearch-BM_P0O72.cjs → CasinoSearch-BxbK1vfB.cjs} +1 -1
- package/components/{CasinoSearch-D7_wWPS-.js → CasinoSearch-C1MuxfEt.js} +3 -3
- package/components/{CasinoSearch-NtaZKgg0.js → CasinoSearch-C6_uloxT.js} +3 -3
- package/components/{CasinoSort-DuhCSjcj.js → CasinoSort-CFXBcyqN.js} +1 -1
- package/components/{CasinoSort-Bq2rlwaB.js → CasinoSort-CVx2JF6c.js} +1 -1
- package/components/{CasinoSort-DoQJjcDE.cjs → CasinoSort-CXseP4mp.cjs} +1 -1
- package/components/{CasinoWinners-D7mQLu0o.cjs → CasinoWinners-D_veH7OJ.cjs} +1 -1
- package/components/{CasinoWinners-DrPaYn8M.js → CasinoWinners-PplSTWYp.js} +2 -2
- package/components/{CasinoWinners-BW3nKr2t.js → CasinoWinners-Se8Tt2Fa.js} +2 -2
- package/components/{GeneralAnimationLoading-BK4eHT2E.js → GeneralAnimationLoading-BG-JznT6.js} +1 -1
- package/components/{GeneralAnimationLoading-BlaU9rOM.js → GeneralAnimationLoading-Begig657.js} +1 -1
- package/components/{GeneralAnimationLoading-QrfZPZRh.cjs → GeneralAnimationLoading-BySVl_wz.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-3OLT0AIG.js +25 -0
- package/stencil/casino-play-random-game-BnjMAnCB.js +7 -0
- package/stencil/casino-play-random-game-DTTdIJJ3.cjs +1 -0
- package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_3-5Bmo5OfX.js} +156 -67
- package/stencil/casino-play-random-game_3-BPrURzZF.cjs +432 -0
- package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_3-DbmTGjC1.js} +156 -67
- package/stencil/index-242ac81a-BqeIndhr.js +554 -0
- package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
- package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
- package/stencil/index-27b314b8-B6-HIs2Q.cjs +1 -0
- package/stencil/index-27b314b8-DWbdQG1d.js +565 -0
- package/stencil/index-27b314b8-rkjLfQe1.js +581 -0
- package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
- package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
- package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
- package/stencil/ui-image-CVrTqLhl.js +25 -0
- package/stencil/ui-image-Cd2KxMB7.cjs +1 -0
- package/stencil/ui-image-adPxpjgH.js +7 -0
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-B21W_djK.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-VgK3B8gQ.js} +2 -2
- package/stencil/casino-play-random-game-BmY8ENyy.js +0 -25
- package/stencil/casino-play-random-game-X98kjjp6.cjs +0 -1
- package/stencil/casino-play-random-game-rSOIFZ4R.js +0 -7
- package/stencil/casino-play-random-game_2-BJVoDn1D.cjs +0 -432
- package/stencil/index-328e660d-Cex2hzsG.js +0 -576
- package/stencil/index-328e660d-Dti9H7_B.js +0 -560
- package/stencil/index-328e660d-MaaYKutI.cjs +0 -1
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/ui-image-2_i-_1cj.js +0 -25
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
- package/stencil/ui-image-bN_3pDWc.js +0 -7
- package/stencil/ui-image-eY8BEG3a.cjs +0 -1
package/components/{GeneralAnimationLoading-QrfZPZRh.cjs → GeneralAnimationLoading-BySVl_wz.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-BYV7Jkb3.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;
|
package/es2015/casino-page.cjs
CHANGED
|
@@ -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/CasinoPage-
|
|
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/CasinoPage-AT7RLDJ9.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}
|
package/es2015/casino-page.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoPage-Tt4Yn1a3.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-page") && customElements.define("casino-page", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-page.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
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 d } from "./index-27b314b8-rkjLfQe1.js";
|
|
18
|
+
import { g as h } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
|
+
var u = () => {
|
|
20
|
+
const i = import.meta.url, a = {};
|
|
21
|
+
return i !== "" && (a.resourcesUrl = new URL(".", i).href), d(a);
|
|
22
|
+
};
|
|
23
|
+
u().then((i) => l(void 0, null, function* () {
|
|
24
|
+
return yield h(), m([["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"] }]]]], i);
|
|
25
|
+
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { b as a, p as t } from "./index-27b314b8-DWbdQG1d.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_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)));
|
|
@@ -0,0 +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)}},u=e=>{try{a(t.throw(e))}catch(r){l(r)}},a=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,u);a((t=t.apply(n,i)).next())});const s=require("./index-27b314b8-B6-HIs2Q.cjs"),m=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-DTTdIJJ3.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 m.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)}));
|
package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_3-5Bmo5OfX.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
const
|
|
1
|
+
import { r as d, c as f, h as t, g, H as l } from "./index-27b314b8-rkjLfQe1.js";
|
|
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";
|
|
5
|
-
}, y = "en",
|
|
5
|
+
}, y = "en", s = {
|
|
6
6
|
en: {
|
|
7
7
|
error: "Error",
|
|
8
8
|
randomGameLoading: "Loading ...",
|
|
@@ -41,46 +41,46 @@ const f = () => {
|
|
|
41
41
|
tr: {
|
|
42
42
|
error: "Hata",
|
|
43
43
|
randomGameLoading: "Yükleniyor...",
|
|
44
|
-
playRandomGame: "
|
|
44
|
+
playRandomGame: "Rastgele Bir Oyun Oyna",
|
|
45
45
|
playNowRandomGame: "Şimdi Oyna",
|
|
46
46
|
spinRandomGame: "DEĞİŞTİR"
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, m = (e) => new Promise((n) => {
|
|
49
49
|
fetch(e).then((i) => i.json()).then((i) => {
|
|
50
50
|
Object.keys(i).forEach((a) => {
|
|
51
|
-
|
|
52
|
-
for (let
|
|
53
|
-
|
|
54
|
-
}),
|
|
51
|
+
s[a] || (s[a] = {});
|
|
52
|
+
for (let r in i[a])
|
|
53
|
+
s[a][r] = i[a][r];
|
|
54
|
+
}), n(!0);
|
|
55
55
|
});
|
|
56
|
-
}),
|
|
57
|
-
const i =
|
|
58
|
-
return
|
|
56
|
+
}), o = (e, n) => {
|
|
57
|
+
const i = n;
|
|
58
|
+
return s[i !== void 0 && i in s ? i : y][e];
|
|
59
59
|
};
|
|
60
|
-
function
|
|
60
|
+
function h(e, n) {
|
|
61
61
|
if (e) {
|
|
62
62
|
const i = document.createElement("style");
|
|
63
|
-
i.innerHTML =
|
|
63
|
+
i.innerHTML = n, e.appendChild(i);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const i = new URL(
|
|
66
|
+
function c(e, n) {
|
|
67
|
+
const i = new URL(n);
|
|
68
68
|
fetch(i.href).then((a) => a.text()).then((a) => {
|
|
69
|
-
const
|
|
70
|
-
|
|
69
|
+
const r = document.createElement("style");
|
|
70
|
+
r.innerHTML = a, e && e.appendChild(r);
|
|
71
71
|
}).catch((a) => {
|
|
72
72
|
console.error("There was an error while trying to load client styling from URL", a);
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function b(e, n, i) {
|
|
76
76
|
if (window.emMessageBus) {
|
|
77
77
|
const a = document.createElement("style");
|
|
78
|
-
window.emMessageBus.subscribe(
|
|
79
|
-
a.innerHTML =
|
|
78
|
+
window.emMessageBus.subscribe(n, (r) => {
|
|
79
|
+
a.innerHTML = r, e && e.appendChild(a);
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const x = `:host {
|
|
84
84
|
display: block;
|
|
85
85
|
font-family: inherit;
|
|
86
86
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -457,50 +457,56 @@ const b = `:host {
|
|
|
457
457
|
width: 70px;
|
|
458
458
|
height: 85px;
|
|
459
459
|
}
|
|
460
|
-
}`,
|
|
460
|
+
}`, v = x, k = class {
|
|
461
461
|
constructor(e) {
|
|
462
|
-
|
|
463
|
-
let i =
|
|
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
|
+
let i = n.length, a;
|
|
464
464
|
for (; i !== 0; )
|
|
465
|
-
a = Math.floor(Math.random() * i), i--, [
|
|
466
|
-
return
|
|
467
|
-
}, 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;
|
|
465
|
+
a = Math.floor(Math.random() * i), i--, [n[i], n[a]] = [n[a], n[i]];
|
|
466
|
+
return n;
|
|
467
|
+
}, 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";
|
|
468
468
|
}
|
|
469
|
-
watchEndpoint(e,
|
|
470
|
-
e && e !=
|
|
469
|
+
watchEndpoint(e, n) {
|
|
470
|
+
e && e != n && this.endpoint && this.fetchGameList();
|
|
471
471
|
}
|
|
472
472
|
handleNewTranslations() {
|
|
473
|
-
this.isLoading = !0,
|
|
473
|
+
this.isLoading = !0, m(this.translationUrl).then(() => {
|
|
474
474
|
this.isLoading = !1;
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
handleIsIconVisible() {
|
|
478
478
|
this.iconVisibility = this.iconVisible === "true";
|
|
479
479
|
}
|
|
480
|
-
handleClientStylingChange(e,
|
|
481
|
-
e !=
|
|
480
|
+
handleClientStylingChange(e, n) {
|
|
481
|
+
e != n && h(this.stylingContainer, this.clientStyling);
|
|
482
482
|
}
|
|
483
|
-
handleClientStylingChangeURL(e,
|
|
484
|
-
e !=
|
|
483
|
+
handleClientStylingChangeURL(e, n) {
|
|
484
|
+
e != n && this.clientStylingUrl && c(this.stylingContainer, this.clientStylingUrl);
|
|
485
485
|
}
|
|
486
486
|
connectedCallback() {
|
|
487
487
|
this.handleIsIconVisible();
|
|
488
488
|
}
|
|
489
489
|
componentWillLoad() {
|
|
490
|
-
if (this.translationUrl.length > 2 &&
|
|
490
|
+
if (this.translationUrl.length > 2 && m(this.translationUrl), this.endpoint && this.language && this.datasource)
|
|
491
491
|
return this.fetchGameList();
|
|
492
492
|
}
|
|
493
493
|
componentDidLoad() {
|
|
494
|
-
|
|
494
|
+
"IntersectionObserver" in window && (this.io = new IntersectionObserver((e) => {
|
|
495
|
+
e.forEach((n) => {
|
|
496
|
+
var i;
|
|
497
|
+
n.isIntersecting && (this.imageLoadingType = "eager", (i = this.io) === null || i === void 0 || i.unobserve(n.target));
|
|
498
|
+
});
|
|
499
|
+
}, { root: null, rootMargin: this.detectDistance }), this.io.observe(this.host)), window.emMessageBus != null ? b(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && h(this.stylingContainer, this.clientStyling), this.clientStylingUrl && c(this.stylingContainer, this.clientStylingUrl));
|
|
495
500
|
}
|
|
496
501
|
disconnectedCallback() {
|
|
497
|
-
|
|
502
|
+
var e;
|
|
503
|
+
(e = this.io) === null || e === void 0 || e.disconnect(), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
498
504
|
}
|
|
499
505
|
fetchGameList() {
|
|
500
506
|
let e = new URL(`${this.endpoint}/v1/casino/games`);
|
|
501
|
-
return e.searchParams.append("platform",
|
|
507
|
+
return e.searchParams.append("platform", w()), e.searchParams.append("datasource", this.datasource), e.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"), e.searchParams.append("expand", "vendor"), e.searchParams.append("pagination", "offset=0,limit=423"), e.searchParams.append("language", this.language), this.specificCategory && e.searchParams.append("filter", `categories(id=${this.specificCategory})`), new Promise((n, i) => {
|
|
502
508
|
this.isLoading = !0, fetch(e.href).then((a) => a.json()).then((a) => {
|
|
503
|
-
this.gamesToShow = this.setUpGames(a == null ? void 0 : a.items),
|
|
509
|
+
this.gamesToShow = this.setUpGames(a == null ? void 0 : a.items), n(!0);
|
|
504
510
|
}).catch((a) => {
|
|
505
511
|
console.error(a), this.hasErrors = !0, i(a);
|
|
506
512
|
}).finally(() => {
|
|
@@ -511,8 +517,8 @@ const b = `:host {
|
|
|
511
517
|
});
|
|
512
518
|
}
|
|
513
519
|
setUpGames(e) {
|
|
514
|
-
const
|
|
515
|
-
return
|
|
520
|
+
const n = this.shuffle(e).slice(0, 40);
|
|
521
|
+
return n.concat(n);
|
|
516
522
|
}
|
|
517
523
|
selectRandomGame() {
|
|
518
524
|
const e = this.gamesToShow.length / 2;
|
|
@@ -530,18 +536,18 @@ const b = `:host {
|
|
|
530
536
|
}
|
|
531
537
|
animateGames() {
|
|
532
538
|
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();
|
|
533
|
-
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),
|
|
539
|
+
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), i = this.selectedGameEl.offsetWidth, a = this.gameContainer.offsetWidth, r = (i + n) * this.selectedGameIndex + // Width of game cards up to the selected
|
|
534
540
|
i / 2 - // Additional half card width to center to the selected game
|
|
535
|
-
a / 2,
|
|
541
|
+
a / 2, u = [
|
|
536
542
|
{ transform: "translateX(0px)", scale: 1 },
|
|
537
543
|
{ scale: 0.75 },
|
|
538
|
-
{ transform: `translateX(-${
|
|
539
|
-
],
|
|
544
|
+
{ transform: `translateX(-${r}px)`, scale: 1 }
|
|
545
|
+
], p = {
|
|
540
546
|
duration: 3e3,
|
|
541
547
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
542
548
|
fill: "forwards"
|
|
543
549
|
};
|
|
544
|
-
this.animation = this.gameContainer.animate(
|
|
550
|
+
this.animation = this.gameContainer.animate(u, p), this.animation.onfinish = () => {
|
|
545
551
|
this.animationDone = !0, this.selectedGameEl.classList.add("TheRandomGame"), this.selectedGame = this.gamesToShow[this.selectedGameIndex];
|
|
546
552
|
};
|
|
547
553
|
}
|
|
@@ -556,17 +562,17 @@ const b = `:host {
|
|
|
556
562
|
});
|
|
557
563
|
}
|
|
558
564
|
renderGameDetails() {
|
|
559
|
-
return
|
|
565
|
+
return t("div", { class: "RandomButtonsWrapper" }, t("div", { class: "RandomGameDetails" }, t("span", { class: "RandomGameTitle" }, this.selectedGame.name), t("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), t("div", { class: "RandomButtons" }, t("button", { class: "RandomButton On", onClick: () => this.respin() }, o("spinRandomGame", this.language)), !this.launchByGameCard && t("button", { class: "RandomButton On", onClick: () => this.playGame() }, o("playNowRandomGame", this.language))));
|
|
560
566
|
}
|
|
561
567
|
renderSkeleton() {
|
|
562
|
-
const e = Array.from({ length: 5 }, (
|
|
563
|
-
return
|
|
568
|
+
const e = Array.from({ length: 5 }, (n, i) => t("div", { class: "RandomGameCard", key: i }, t("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
|
|
569
|
+
return t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer" }, e));
|
|
564
570
|
}
|
|
565
571
|
render() {
|
|
566
|
-
return
|
|
572
|
+
return t("div", { key: "29fe3535d63177e6d1f30a757bf17b70d89ce386", ref: (e) => this.stylingContainer = e }, this.hasErrors ? t("div", { class: "RandomGameError" }, t("div", { class: "Title" }, o("error", this.language))) : this.isLoading ? this.renderSkeleton() : t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, n) => t("div", { class: "RandomGameCard", key: n, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, t("div", { class: "RandomGameVendor" }, e.vendor.name), t("ui-image", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name, loading: this.imageLoadingType }), this.selectedGame && this.selectedGameIndex === n && this.renderGameDetails()))), t("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, t("div", { class: "ButtonContainer" }, this.iconVisibility && t("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, t("div", { class: "QustionMark" }, "?"), t("div", { class: "HexagonMarkShadow" }), t("div", { class: "HexagonMark" })), !this.animationStarted && t("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, o("playRandomGame", this.language))))));
|
|
567
573
|
}
|
|
568
574
|
get host() {
|
|
569
|
-
return
|
|
575
|
+
return g(this);
|
|
570
576
|
}
|
|
571
577
|
static get watchers() {
|
|
572
578
|
return {
|
|
@@ -580,10 +586,92 @@ const b = `:host {
|
|
|
580
586
|
};
|
|
581
587
|
}
|
|
582
588
|
};
|
|
583
|
-
|
|
584
|
-
const
|
|
589
|
+
k.style = v;
|
|
590
|
+
const G = ".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}", R = G, S = class {
|
|
591
|
+
constructor(e) {
|
|
592
|
+
d(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;
|
|
593
|
+
}
|
|
594
|
+
onSrcChange() {
|
|
595
|
+
this.loading !== "eager" && (this.imgLoaded = !1, this.hasStarted = !1, (typeof window == "undefined" || !("IntersectionObserver" in window)) && this.beginLoad());
|
|
596
|
+
}
|
|
597
|
+
onLoadingChange(e, n) {
|
|
598
|
+
e !== n && (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()));
|
|
599
|
+
}
|
|
600
|
+
componentDidLoad() {
|
|
601
|
+
this.loading !== "eager" && this.setupObserver();
|
|
602
|
+
}
|
|
603
|
+
disconnectedCallback() {
|
|
604
|
+
this.cleanupObserver(), this.detachImgHandlers();
|
|
605
|
+
}
|
|
606
|
+
canUseIO() {
|
|
607
|
+
return typeof window != "undefined" && "IntersectionObserver" in window;
|
|
608
|
+
}
|
|
609
|
+
setupObserver() {
|
|
610
|
+
if (this.loading !== "eager") {
|
|
611
|
+
if (!this.canUseIO()) {
|
|
612
|
+
this.beginLoad();
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
this.io = new IntersectionObserver((e) => {
|
|
616
|
+
var n;
|
|
617
|
+
for (const i of e)
|
|
618
|
+
if (i.isIntersecting) {
|
|
619
|
+
this.beginLoad(), (n = this.io) === null || n === void 0 || n.unobserve(i.target), this.cleanupObserver();
|
|
620
|
+
break;
|
|
621
|
+
}
|
|
622
|
+
}, { root: null, rootMargin: this.detectDistance, threshold: 0 }), this.io.observe(this.el);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
cleanupObserver() {
|
|
626
|
+
var e;
|
|
627
|
+
(e = this.io) === null || e === void 0 || e.disconnect(), this.io = void 0;
|
|
628
|
+
}
|
|
629
|
+
wireOnceHandlers() {
|
|
630
|
+
this.imgEl && (this.detachImgHandlers(), this._onLoad = () => {
|
|
631
|
+
var e;
|
|
632
|
+
this.currentSrc && (!((e = this.imgEl) === null || e === void 0) && e.currentSrc) && !this.imgEl.currentSrc.includes(this.currentSrc) || (this.imgLoaded = !0);
|
|
633
|
+
}, this._onError = () => {
|
|
634
|
+
console.error("Load image failed:", this.src);
|
|
635
|
+
}, this.imgEl.addEventListener("load", this._onLoad, { once: !0 }), this.imgEl.addEventListener("error", this._onError, { once: !0 }));
|
|
636
|
+
}
|
|
637
|
+
detachImgHandlers() {
|
|
638
|
+
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);
|
|
639
|
+
}
|
|
640
|
+
beginLoad() {
|
|
641
|
+
if (!this.hasStarted && this.imgEl && this.src) {
|
|
642
|
+
if (this.hasStarted = !0, this.wireOnceHandlers(), this.imgEl.complete && this.imgEl.naturalWidth > 0) {
|
|
643
|
+
this.imgLoaded = !0;
|
|
644
|
+
return;
|
|
645
|
+
}
|
|
646
|
+
this.currentSrc = this.src, this.imgEl.src = this.src, this.imgEl.complete && this.imgEl.naturalWidth > 0 && (this.imgLoaded = !0);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
get showSkeleton() {
|
|
650
|
+
return this.loading !== "eager" && !this.imgLoaded;
|
|
651
|
+
}
|
|
652
|
+
renderEager() {
|
|
653
|
+
return t(l, { 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" }));
|
|
654
|
+
}
|
|
655
|
+
renderLazy() {
|
|
656
|
+
return t(l, { 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" }));
|
|
657
|
+
}
|
|
658
|
+
render() {
|
|
659
|
+
return this.loading === "eager" ? this.renderEager() : this.renderLazy();
|
|
660
|
+
}
|
|
661
|
+
get el() {
|
|
662
|
+
return g(this);
|
|
663
|
+
}
|
|
664
|
+
static get watchers() {
|
|
665
|
+
return {
|
|
666
|
+
src: ["onSrcChange"],
|
|
667
|
+
loading: ["onLoadingChange"]
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
S.style = R;
|
|
672
|
+
const C = ":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)}}", L = C, E = class {
|
|
585
673
|
constructor(e) {
|
|
586
|
-
|
|
674
|
+
d(this, e), this.stylingValue = {
|
|
587
675
|
width: this.handleStylingProps(this.width),
|
|
588
676
|
height: this.handleStylingProps(this.height),
|
|
589
677
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -594,8 +682,8 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
594
682
|
size: this.handleStylingProps(this.size)
|
|
595
683
|
}, 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%";
|
|
596
684
|
}
|
|
597
|
-
handleStructureChange(e,
|
|
598
|
-
|
|
685
|
+
handleStructureChange(e, n) {
|
|
686
|
+
n !== e && this.handleStructure(e);
|
|
599
687
|
}
|
|
600
688
|
handleStylingProps(e) {
|
|
601
689
|
switch (typeof e) {
|
|
@@ -628,22 +716,22 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
628
716
|
}
|
|
629
717
|
}
|
|
630
718
|
renderLogo() {
|
|
631
|
-
return
|
|
719
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
|
|
632
720
|
}
|
|
633
721
|
renderImage() {
|
|
634
|
-
return
|
|
722
|
+
return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
|
|
635
723
|
}
|
|
636
724
|
renderTitle() {
|
|
637
|
-
return
|
|
725
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
638
726
|
}
|
|
639
727
|
renderText() {
|
|
640
|
-
return
|
|
728
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, n) => t("div", { key: n, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
641
729
|
}
|
|
642
730
|
renderRectangle() {
|
|
643
|
-
return
|
|
731
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
644
732
|
}
|
|
645
733
|
renderCircle() {
|
|
646
|
-
return
|
|
734
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
|
|
647
735
|
}
|
|
648
736
|
render() {
|
|
649
737
|
let e = "";
|
|
@@ -723,7 +811,7 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
723
811
|
default:
|
|
724
812
|
e = "";
|
|
725
813
|
}
|
|
726
|
-
return
|
|
814
|
+
return t(l, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
|
|
727
815
|
}
|
|
728
816
|
static get watchers() {
|
|
729
817
|
return {
|
|
@@ -731,8 +819,9 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
731
819
|
};
|
|
732
820
|
}
|
|
733
821
|
};
|
|
734
|
-
|
|
822
|
+
E.style = L;
|
|
735
823
|
export {
|
|
736
|
-
|
|
737
|
-
S as
|
|
824
|
+
k as casino_play_random_game,
|
|
825
|
+
S as ui_image,
|
|
826
|
+
E as ui_skeleton
|
|
738
827
|
};
|