@everymatrix/casino-page-nd 1.76.14 → 1.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
- package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
- package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
- package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
- package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
- package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
- package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
- package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
- package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
- package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
- package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
- package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
- package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
- package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
- package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
- package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
- package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
- package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
- package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
- package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
- package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
- package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
- package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
- package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
- package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
- package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
- package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
- package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
- package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
- package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
- package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
- package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
- package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
- package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
- package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
- package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
- package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
- package/components/CasinoWinners-DiN0im-f.cjs +1 -0
- package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
- package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
- package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
- package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/casino-calendar-6neds2oy.js +16 -0
- package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
- package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
- package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
- package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
- package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
- package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
- package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
- package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
- package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
- package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
- package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
- package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
- package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
- package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
- package/lazy/casino-filter-C-pmSjXr.js +16 -0
- package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
- package/lazy/casino-filter-Cj7_L9pL.js +16 -0
- package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
- package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
- package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
- package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
- package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
- package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
- package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
- package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
- package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
- package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
- package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
- package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
- package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
- package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
- package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
- package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
- package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
- package/lazy/casino-play-random-game--i81UNg_.js +566 -0
- package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
- package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
- package/lazy/casino-random-game-CrCiwriJ.js +16 -0
- package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
- package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
- package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
- package/lazy/casino-search-nd-C9BJPr43.js +16 -0
- package/lazy/casino-search-nd-CwQvpchn.js +16 -0
- package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
- package/lazy/casino-sort-CAbAJiMw.js +16 -0
- package/lazy/casino-sort-DvKa_qwq.js +16 -0
- package/lazy/casino-winners-B_gD0IFb.js +16 -0
- package/lazy/casino-winners-C7YkitCv.cjs +1 -0
- package/lazy/casino-winners-SrWXp94E.js +16 -0
- package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
- package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
- package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
- package/lazy/ui-image-BAx5XP4T.js +554 -0
- package/lazy/ui-image-q7RKTAnB.js +538 -0
- package/lazy/ui-image-xAOmP7KP.cjs +1 -0
- package/package.json +3 -2
- package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
- package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
- package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
- package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
- package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
- package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
- package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
- package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
- package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
- package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
- package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
- package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
- package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
- package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
- package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
- package/components/CasinoFilter-BVW1b78L.cjs +0 -1
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
- package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
- package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
- package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
- package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
- package/stencil/index-242ac81a-Czg480dJ.js +0 -554
- package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
- package/stencil/index-27b314b8-9-rvsddy.js +0 -566
- package/stencil/index-27b314b8-CCprWmCo.js +0 -582
- package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
|
@@ -1,432 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-27b314b8-DoR1KfK8.cjs"),f=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},w="en",s={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{s[a]||(s[a]={});for(let r in i[a])s[a][r]=i[a][r]}),t(!0)})}),o=(e,t)=>{const i=t;return s[i!==void 0&&i in s?i:w][e]};function d(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function h(e,t){const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const r=document.createElement("style");r.innerHTML=a,e&&e.appendChild(r)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function y(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,r=>{a.innerHTML=r,e&&e.appendChild(a)})}}const b=`:host {
|
|
2
|
-
display: block;
|
|
3
|
-
font-family: inherit;
|
|
4
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
5
|
-
transform: translate3d(0, 0, 0);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host * {
|
|
9
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
10
|
-
transform: translate3d(0, 0, 0);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.RandomGameWrapper {
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: var(--emw--size-4x-medium, 700px);
|
|
16
|
-
background: transparent;
|
|
17
|
-
position: relative;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.GameContainerGradient {
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 10%;
|
|
24
|
-
left: -5px;
|
|
25
|
-
width: 100vw;
|
|
26
|
-
height: 80%;
|
|
27
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.5) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.5) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
filter: blur(10px);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.GamesContainer {
|
|
34
|
-
display: flex;
|
|
35
|
-
height: var(--emw--size-4x-medium, 600px);
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
flex-wrap: nowrap;
|
|
38
|
-
justify-content: flex-start;
|
|
39
|
-
align-items: center;
|
|
40
|
-
align-content: flex-start;
|
|
41
|
-
gap: var(--emw--spacing-large, 20px);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.RandomGameCard {
|
|
45
|
-
position: relative;
|
|
46
|
-
width: var(--emw--size-3x-medium, 300px);
|
|
47
|
-
height: var(--emw--size-4x-medium, 420px);
|
|
48
|
-
border-radius: var(--emw--border-radius-large, 10px);
|
|
49
|
-
top: 8%;
|
|
50
|
-
filter: blur(5px);
|
|
51
|
-
}
|
|
52
|
-
.RandomGameCard .RandomGameVendor {
|
|
53
|
-
position: absolute;
|
|
54
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
55
|
-
bottom: var(--emw--spacing-small-minus, 10px);
|
|
56
|
-
left: var(--emw--spacing-small-minus, 10px);
|
|
57
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.TheRandomGame {
|
|
61
|
-
animation-name: ZoomFadeIn;
|
|
62
|
-
animation-duration: 0.5s;
|
|
63
|
-
animation-fill-mode: forwards;
|
|
64
|
-
-webkit-animation-name: ZoomFadeIn;
|
|
65
|
-
-webkit-animation-duration: 0.5s;
|
|
66
|
-
-webkit-animation-fill-mode: forwards;
|
|
67
|
-
opacity: 1;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
filter: blur(0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.RandomGameImage {
|
|
73
|
-
width: inherit;
|
|
74
|
-
height: inherit;
|
|
75
|
-
object-fit: cover;
|
|
76
|
-
border-radius: var(--emw--border-radius-large, 10px);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.RandomGameDetails {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: row;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
align-items: center;
|
|
84
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
85
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
86
|
-
width: 100%;
|
|
87
|
-
}
|
|
88
|
-
.RandomGameDetails .RandomGameTitle {
|
|
89
|
-
line-height: 18px;
|
|
90
|
-
margin: 5px 0;
|
|
91
|
-
}
|
|
92
|
-
.RandomGameDetails .RandomGameInfo {
|
|
93
|
-
border-radius: 50%;
|
|
94
|
-
width: var(--emw--spacing-medium, 16px);
|
|
95
|
-
height: var(--emw--spacing-medium, 16px);
|
|
96
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
97
|
-
font-weight: var(--emw--font-weight-normal, 400);
|
|
98
|
-
border: solid 1px var(--emw--color-typography, #FFFFFF);
|
|
99
|
-
text-align: center;
|
|
100
|
-
margin: var(--emw--spacing-2x-small, 4px) 0;
|
|
101
|
-
line-height: 14px;
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
}
|
|
104
|
-
.RandomGameDetails .RandomGamePlay {
|
|
105
|
-
background: var(--emw--color-primary, #4bd004);
|
|
106
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
107
|
-
border: none;
|
|
108
|
-
border-radius: var(--emw--border-radius-medium, 5px);
|
|
109
|
-
width: 200px;
|
|
110
|
-
height: 40px;
|
|
111
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.ButtonWrapper {
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: 50%;
|
|
118
|
-
left: 50%;
|
|
119
|
-
transform: translate(-50%, -50%);
|
|
120
|
-
z-index: 20;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.ButtonContainer {
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
justify-content: center;
|
|
127
|
-
align-items: center;
|
|
128
|
-
gap: 10px;
|
|
129
|
-
width: 100%;
|
|
130
|
-
position: relative;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ButtonIcon {
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
justify-content: center;
|
|
137
|
-
align-items: center;
|
|
138
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.QustionMark {
|
|
142
|
-
position: absolute;
|
|
143
|
-
font-family: sans-serif;
|
|
144
|
-
font-size: 120px;
|
|
145
|
-
font-weight: 900;
|
|
146
|
-
color: color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 10%);
|
|
147
|
-
text-shadow: 0px 12px 0px color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 50%);
|
|
148
|
-
left: 50%;
|
|
149
|
-
top: -20%;
|
|
150
|
-
transform: translateX(-50%);
|
|
151
|
-
z-index: 10;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.HexagonMarkShadow {
|
|
155
|
-
width: 100px;
|
|
156
|
-
height: 115px;
|
|
157
|
-
display: flex;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
align-items: center;
|
|
160
|
-
background: color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 70%);
|
|
161
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.HexagonMark {
|
|
165
|
-
position: absolute;
|
|
166
|
-
width: var(--emw--size-medium, 90px);
|
|
167
|
-
height: 105px;
|
|
168
|
-
background: linear-gradient(to bottom, color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 20%) 0%, var(--emw--categories-color-secondary, var(--emw--color-secondary, #eeac4a)) 100%);
|
|
169
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.RandomButtons {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-direction: row;
|
|
175
|
-
justify-content: center;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
178
|
-
width: 100%;
|
|
179
|
-
position: relative;
|
|
180
|
-
z-index: 10;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.RandomButton {
|
|
184
|
-
font-size: var(--emw--font-size-large, 12px);
|
|
185
|
-
text-transform: uppercase;
|
|
186
|
-
width: max-content;
|
|
187
|
-
border-radius: var(--emw--button-border-radius, 10px);
|
|
188
|
-
padding: var(--emw--spacing-large, 20px) var(--emw--spacing-2x-large, 40px);
|
|
189
|
-
border: solid 3px var(--emw--button-border-color, #063B17);
|
|
190
|
-
color: var(--emw--button-text-color, #FFFFFF);
|
|
191
|
-
opacity: 1;
|
|
192
|
-
animation: ButtonEffect 3s linear infinite;
|
|
193
|
-
background-image: linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E), black 30%), var(--emw--color-primary, #22B04E));
|
|
194
|
-
background-size: 300% 100%;
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
position: relative;
|
|
197
|
-
z-index: 10;
|
|
198
|
-
}
|
|
199
|
-
.RandomButton:hover {
|
|
200
|
-
opacity: 0.8;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.HideAnimation {
|
|
204
|
-
filter: blur(5px);
|
|
205
|
-
animation: AnimateButton 0.2s forwards;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.Flip {
|
|
209
|
-
animation-name: Flip, Blur;
|
|
210
|
-
animation-duration: 0.75s, 3s;
|
|
211
|
-
animation-iteration-count: infinite, 1;
|
|
212
|
-
-webkit-animation-name: Flip, Blur;
|
|
213
|
-
-webkit-animation-duration: 0.75s, 3s;
|
|
214
|
-
-webkit-animation-iteration-count: infinite, 1;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@keyframes ButtonEffect {
|
|
218
|
-
0% {
|
|
219
|
-
background-position: 0% 50%;
|
|
220
|
-
}
|
|
221
|
-
33% {
|
|
222
|
-
background-position: 100% 50%;
|
|
223
|
-
}
|
|
224
|
-
66% {
|
|
225
|
-
background-position: 200% 50%;
|
|
226
|
-
}
|
|
227
|
-
100% {
|
|
228
|
-
background-position: 300% 50%;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
@keyframes ZoomFadeIn {
|
|
232
|
-
0% {
|
|
233
|
-
transform: scale(0.2) translateY(0);
|
|
234
|
-
filter: blur(5px);
|
|
235
|
-
opacity: 0.3;
|
|
236
|
-
}
|
|
237
|
-
50% {
|
|
238
|
-
transform: scale(1.1) translateY(-30px);
|
|
239
|
-
filter: blur(2px);
|
|
240
|
-
opacity: 0.7;
|
|
241
|
-
}
|
|
242
|
-
100% {
|
|
243
|
-
transform: scale(1) translateY(-30px);
|
|
244
|
-
filter: blur(0px);
|
|
245
|
-
opacity: 1;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
@keyframes AnimateButton {
|
|
249
|
-
0% {
|
|
250
|
-
opacity: 0.7;
|
|
251
|
-
}
|
|
252
|
-
50% {
|
|
253
|
-
opacity: 0.4;
|
|
254
|
-
}
|
|
255
|
-
100% {
|
|
256
|
-
opacity: 0;
|
|
257
|
-
display: none;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
@keyframes Flip {
|
|
261
|
-
0% {
|
|
262
|
-
transform: rotateY(0deg);
|
|
263
|
-
}
|
|
264
|
-
50% {
|
|
265
|
-
transform: rotateY(180deg);
|
|
266
|
-
}
|
|
267
|
-
100% {
|
|
268
|
-
transform: rotateY(360deg);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
@keyframes Blur {
|
|
272
|
-
0% {
|
|
273
|
-
filter: blur(0);
|
|
274
|
-
}
|
|
275
|
-
50% {
|
|
276
|
-
filter: blur(1px);
|
|
277
|
-
}
|
|
278
|
-
100% {
|
|
279
|
-
filter: blur(3px);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
@media screen and (max-width: 480px) {
|
|
283
|
-
.RandomButtons .RandomButton {
|
|
284
|
-
font-size: var(--emw--font-size-medium, 12px);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
@container (max-width: 475px) {
|
|
288
|
-
.GamesContainer {
|
|
289
|
-
height: inherit;
|
|
290
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
291
|
-
}
|
|
292
|
-
.RandomGameWrapper {
|
|
293
|
-
width: 100%;
|
|
294
|
-
height: 300px;
|
|
295
|
-
overflow: hidden;
|
|
296
|
-
background: transparent;
|
|
297
|
-
position: relative;
|
|
298
|
-
}
|
|
299
|
-
.GameContainerGradient {
|
|
300
|
-
position: absolute;
|
|
301
|
-
top: 10%;
|
|
302
|
-
left: -5px;
|
|
303
|
-
width: 100vw;
|
|
304
|
-
height: 80%;
|
|
305
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.2) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.2) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
306
|
-
pointer-events: none;
|
|
307
|
-
z-index: 1;
|
|
308
|
-
filter: blur(5px);
|
|
309
|
-
}
|
|
310
|
-
.RandomGameCard {
|
|
311
|
-
width: 100px;
|
|
312
|
-
height: 150px;
|
|
313
|
-
top: 0%;
|
|
314
|
-
border-radius: var(--emw--border-radius-medium, 4px);
|
|
315
|
-
filter: blur(5px);
|
|
316
|
-
}
|
|
317
|
-
.RandomGameImage {
|
|
318
|
-
width: 102px;
|
|
319
|
-
height: inherit;
|
|
320
|
-
top: 0%;
|
|
321
|
-
}
|
|
322
|
-
.RandomGameDetails {
|
|
323
|
-
font-size: 14px;
|
|
324
|
-
width: 100%;
|
|
325
|
-
}
|
|
326
|
-
.RandomGameDetails .RandomGameTitle {
|
|
327
|
-
margin: 5px 0;
|
|
328
|
-
line-height: 18px;
|
|
329
|
-
width: 75%;
|
|
330
|
-
}
|
|
331
|
-
.RandomGameDetails .RandomGameInfo {
|
|
332
|
-
border-radius: 50%;
|
|
333
|
-
width: 16px;
|
|
334
|
-
height: 16px;
|
|
335
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
336
|
-
line-height: 14px;
|
|
337
|
-
}
|
|
338
|
-
.RandomGameDetails .RandomGamePlay {
|
|
339
|
-
background: var(--emw--color-primary, #52d004);
|
|
340
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
341
|
-
border: none;
|
|
342
|
-
border-radius: 5px;
|
|
343
|
-
width: 200px;
|
|
344
|
-
height: 40px;
|
|
345
|
-
font-size: 14px;
|
|
346
|
-
cursor: pointer;
|
|
347
|
-
}
|
|
348
|
-
.RandomGameCard .RandomGameVendor {
|
|
349
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
350
|
-
bottom: 5px;
|
|
351
|
-
right: 5px;
|
|
352
|
-
}
|
|
353
|
-
.RandomButtons {
|
|
354
|
-
display: flex;
|
|
355
|
-
flex-direction: column;
|
|
356
|
-
justify-content: center;
|
|
357
|
-
align-items: center;
|
|
358
|
-
gap: 5px;
|
|
359
|
-
width: 100%;
|
|
360
|
-
}
|
|
361
|
-
.RandomButton {
|
|
362
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
363
|
-
padding: 10px 15px;
|
|
364
|
-
border: solid 1px var(--emw--button-border-color, #063B17);
|
|
365
|
-
}
|
|
366
|
-
.QustionMark {
|
|
367
|
-
font-size: 100px;
|
|
368
|
-
font-weight: 700;
|
|
369
|
-
}
|
|
370
|
-
.HexagonMarkShadow {
|
|
371
|
-
width: 80px;
|
|
372
|
-
height: 95px;
|
|
373
|
-
}
|
|
374
|
-
.HexagonMark {
|
|
375
|
-
width: 70px;
|
|
376
|
-
height: 85px;
|
|
377
|
-
}
|
|
378
|
-
}`,x=b,m=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1,this.imageLoadingType="lazy",this.detectDistance="200px"}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&d(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){"IntersectionObserver"in window&&(this.io=new IntersectionObserver(e=>{e.forEach(t=>{var i;t.isIntersecting&&(this.imageLoadingType="eager",(i=this.io)===null||i===void 0||i.unobserve(t.target))})},{root:null,rootMargin:this.detectDistance}),this.io.observe(this.host)),window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&d(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",f()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((t,i)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,r=(i+t)*this.selectedGameIndex+i/2-a/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${r}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("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"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},o("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},o("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"29fe3535d63177e6d1f30a757bf17b70d89ce386",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},o("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("ui-image",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name,loading:this.imageLoadingType}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},o("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};m.style=x;const v=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",k=v,c=class{constructor(e){n.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const i of e)if(i.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(i.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return n.h(n.Host,{class:"HostContainer"},n.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return n.h(n.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&n.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),n.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return n.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",R=G,g=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
379
|
-
:host {
|
|
380
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
381
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
382
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
383
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
384
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
385
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
386
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
387
|
-
}
|
|
388
|
-
`;break;case"image":e=`
|
|
389
|
-
:host {
|
|
390
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
391
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
392
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
393
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
394
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
395
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
396
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
397
|
-
}
|
|
398
|
-
`;break;case"title":e=`
|
|
399
|
-
:host {
|
|
400
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
401
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
402
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
403
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
404
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
405
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
406
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
407
|
-
}
|
|
408
|
-
`;break;case"text":e=`
|
|
409
|
-
:host {
|
|
410
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
411
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
412
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
413
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
414
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
415
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
416
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
417
|
-
}
|
|
418
|
-
`;break;case"rectangle":e=`
|
|
419
|
-
:host {
|
|
420
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
421
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
422
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
423
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
424
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
425
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
426
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
427
|
-
}
|
|
428
|
-
`;break;case"circle":e=`
|
|
429
|
-
:host {
|
|
430
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
431
|
-
}
|
|
432
|
-
`;break;default:e=""}return n.h(n.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},n.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=R;exports.casino_play_random_game=m;exports.ui_image=c;exports.ui_skeleton=g;
|